fix: Optimizes items to use default weights. (Part 3) (#2242)

This commit is contained in:
Kamron Batman 2025-07-24 16:21:27 -07:00 • committed by GitHub
parent 2c5441731e
commit 40ba85d7b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
104 changed files with 497 additions and 425 deletions

View file

@ -20,11 +20,9 @@ public partial class Moonstone : Item
private MoonstoneType _type;
[Constructible]
public Moonstone(MoonstoneType type) : base(0xF8B)
{
Weight = 1.0;
_type = type;
}
public Moonstone(MoonstoneType type) : base(0xF8B) => _type = type;
public override double DefaultWeight => 1.0;
public override int LabelNumber => 1041490 + (int)_type;