fix: Optimizes items to use default weights. (Part 4) (#2243)

This commit is contained in:
Kamron Batman 2025-07-24 23:29:29 -07:00 • committed by GitHub
parent 40ba85d7b8
commit fa0b67ec29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
109 changed files with 250 additions and 391 deletions

View file

@ -7,11 +7,9 @@ namespace Server.Items;
public partial class Sand : Item, ICommodity
{
[Constructible]
public Sand(int amount = 1) : base(0x11EA)
{
Stackable = Core.ML;
Weight = 1.0;
}
public Sand(int amount = 1) : base(0x11EA) => Stackable = Core.ML;
public override double DefaultWeight => 1.0;
public override int LabelNumber => 1044626; // sand
int ICommodity.DescriptionNumber => LabelNumber;