fix: Optimizes items to use default weights. (Part 3) (#2242)
This commit is contained in:
parent
2c5441731e
commit
40ba85d7b8
104 changed files with 497 additions and 425 deletions
|
|
@ -10,10 +10,11 @@ public partial class Wool : Item, IDyable
|
|||
public Wool(int amount = 1) : base(0xDF8)
|
||||
{
|
||||
Stackable = true;
|
||||
Weight = 4.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 4.0;
|
||||
|
||||
public bool Dye(Mobile from, DyeTub sender)
|
||||
{
|
||||
if (Deleted)
|
||||
|
|
@ -99,10 +100,11 @@ public partial class TaintedWool : Wool
|
|||
public TaintedWool(int amount = 1) : base(0x101F)
|
||||
{
|
||||
Stackable = true;
|
||||
Weight = 4.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 4.0;
|
||||
|
||||
public override void OnSpun(ISpinningWheel wheel, Mobile from, int hue)
|
||||
{
|
||||
from.AddToBackpack(new DarkYarn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue