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

@ -8,10 +8,16 @@ namespace Server.Items;
public partial class TinkerTools : BaseTool
{
[Constructible]
public TinkerTools() : base(0x1EB8) => Weight = 1.0;
public TinkerTools() : base(0x1EB8)
{
}
[Constructible]
public TinkerTools(int uses) : base(uses, 0x1EB8) => Weight = 1.0;
public TinkerTools(int uses) : base(uses, 0x1EB8)
{
}
public override double DefaultWeight => 1.0;
public override CraftSystem CraftSystem => DefTinkering.CraftSystem;
}
@ -20,10 +26,16 @@ public partial class TinkerTools : BaseTool
public partial class TinkersTools : BaseTool
{
[Constructible]
public TinkersTools() : base(0x1EBC) => Weight = 1.0;
public TinkersTools() : base(0x1EBC)
{
}
[Constructible]
public TinkersTools(int uses) : base(uses, 0x1EBC) => Weight = 1.0;
public TinkersTools(int uses) : base(uses, 0x1EBC)
{
}
public override double DefaultWeight => 1.0;
public override CraftSystem CraftSystem => DefTinkering.CraftSystem;
}
}