fix: Optimizes items to use default weights. (Part 1) (#2240)
This commit is contained in:
parent
c2e44a58f6
commit
2eba2868a6
126 changed files with 1184 additions and 380 deletions
|
|
@ -73,7 +73,11 @@ public partial class EnchantedSextant : Item
|
|||
};
|
||||
|
||||
[Constructible]
|
||||
public EnchantedSextant() : base(0x1058) => Weight = 2.0;
|
||||
public EnchantedSextant() : base(0x1058)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 2.0;
|
||||
|
||||
public override int LabelNumber => 1046226; // an enchanted sextant
|
||||
|
||||
|
|
|
|||
|
|
@ -27,10 +27,11 @@ public partial class HornOfRetreat : Item
|
|||
public HornOfRetreat() : base(0xFC4)
|
||||
{
|
||||
Hue = 0x482;
|
||||
Weight = 1.0;
|
||||
_charges = 10;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1049117; // Horn of Retreat
|
||||
|
||||
public virtual bool ValidateUse(Mobile from) => true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue