Commodity deed updates: added bottles, potions, spell scrolls, zoogifungus. fixed filled hue, removed unnecessary desc prop from ICommodity, pre-aos OSI style labels dont need it.
This commit is contained in:
parent
c9101845f5
commit
15c6828541
36 changed files with 79 additions and 271 deletions
|
|
@ -35,7 +35,7 @@ namespace Server.Items
|
|||
ConfusionBlastGreater
|
||||
}
|
||||
|
||||
public abstract class BasePotion : Item, ICraftable
|
||||
public abstract class BasePotion : Item, ICraftable, ICommodity
|
||||
{
|
||||
private PotionEffect m_PotionEffect;
|
||||
|
||||
|
|
@ -52,6 +52,9 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
int ICommodity.DescriptionNumber { get { return LabelNumber; } }
|
||||
bool ICommodity.IsDeedable { get { return (Core.ML); } }
|
||||
|
||||
public override int LabelNumber{ get{ return 1041314 + (int)m_PotionEffect; } }
|
||||
|
||||
public BasePotion( int itemID, PotionEffect effect ) : base( itemID )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue