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

@ -6,11 +6,9 @@ namespace Server.Items;
public partial class PlagueBeastGland : Item
{
[Constructible]
public PlagueBeastGland() : base(0x1CEF)
{
Weight = 1.0;
Hue = 0x6;
}
public PlagueBeastGland() : base(0x1CEF) => Hue = 0x6;
public override double DefaultWeight => 1.0;
public override int LabelNumber => 1153759; // a healthy gland
}

View file

@ -10,9 +10,10 @@ public partial class PlagueBeastInnard : Item, IScissorable, ICarvable
{
Hue = hue;
Movable = false;
Weight = 1.0;
}
public override double DefaultWeight => 1.0;
public PlagueBeastLord Owner => RootParent as PlagueBeastLord;
public override string DefaultName => "plague beast innards";

View file

@ -15,10 +15,11 @@ public partial class PlagueBeastMutationCore : Item, IScissorable
public PlagueBeastMutationCore() : base(0x1CF0)
{
_cut = true;
Weight = 1.0;
Hue = 0x480;
}
public override double DefaultWeight => 1.0;
public override int LabelNumber => 1153760; // a plague beast mutation core
public virtual bool Scissor(Mobile from, Scissors scissors)