fix: Optimizes items to use default weights. (Part 1) (#2240)

This commit is contained in:
Kamron Batman 2025-07-24 14:44:39 -07:00 • committed by GitHub
parent c2e44a58f6
commit 2eba2868a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
126 changed files with 1184 additions and 380 deletions

View file

@ -7,7 +7,11 @@ namespace Server.Items
public partial class GiantReplicaAcorn : Item
{
[Constructible]
public GiantReplicaAcorn() : base(0x2D4A) => Weight = 1.0;
public GiantReplicaAcorn() : base(0x2D4A)
{
}
public override double DefaultWeight => 1.0;
public override int LabelNumber => 1072889; // giant replica acorn
}

View file

@ -7,7 +7,11 @@ namespace Server.Items
public partial class MountedDreadHorn : Item
{
[Constructible]
public MountedDreadHorn() : base(0x3158) => Weight = 1.0;
public MountedDreadHorn() : base(0x3158)
{
}
public override double DefaultWeight => 1.0;
public override int LabelNumber => 1074464; // mounted Dread Horn
}