* Fixes stacking, consumption instead of deletion, and a few other minor issues. Server-side only. * Fixes stacking of ore. * Fixes cooking consumption.
This commit is contained in:
parent
f6d5689dee
commit
0d9fe76b2b
4 changed files with 163 additions and 91 deletions
|
|
@ -96,6 +96,10 @@ namespace Server.Items
|
|||
public BaseOre( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
public override bool CanStackWith(Item dropped)
|
||||
{
|
||||
return dropped.Stackable && Stackable && dropped.GetType() == GetType() && dropped.Hue == Hue && dropped.Name == Name && (dropped.Amount + Amount) <= 60000 && dropped != this;
|
||||
}
|
||||
|
||||
public override void AddNameProperty( ObjectPropertyList list )
|
||||
{
|
||||
|
|
@ -698,4 +702,4 @@ namespace Server.Items
|
|||
return new ValoriteIngot();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue