fix: Optimizes items to use default weights. (Part 1) (#2240)
This commit is contained in:
parent
c2e44a58f6
commit
2eba2868a6
126 changed files with 1184 additions and 380 deletions
|
|
@ -8,7 +8,6 @@ public partial class HolidayTimepiece : Clock
|
|||
[Constructible]
|
||||
public HolidayTimepiece() : base(0x1086)
|
||||
{
|
||||
Weight = DefaultWeight;
|
||||
LootType = LootType.Blessed;
|
||||
Layer = Layer.Bracelet;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ public partial class WristWatch : Clock
|
|||
[Constructible]
|
||||
public WristWatch() : base(0x1086)
|
||||
{
|
||||
Weight = DefaultWeight;
|
||||
LootType = LootType.Blessed;
|
||||
Layer = Layer.Bracelet;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items;
|
|||
public partial class GrizzledMareStatuette : BaseImprisonedMobile
|
||||
{
|
||||
[Constructible]
|
||||
public GrizzledMareStatuette() : base(0x2617) => Weight = 1.0;
|
||||
public GrizzledMareStatuette() : base(0x2617)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1074475; // Grizzled Mare Statuette
|
||||
public override BaseCreature Summon => new GrizzledMare();
|
||||
|
|
|
|||
|
|
@ -6,7 +6,11 @@ namespace Server.Items;
|
|||
public partial class MinotaurHedge : Item
|
||||
{
|
||||
[Constructible]
|
||||
public MinotaurHedge() : base(Utility.Random(3215, 4)) => Weight = 1.0;
|
||||
public MinotaurHedge() : base(Utility.Random(3215, 4))
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override string DefaultName => "minotaur hedge";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,5 +6,9 @@ namespace Server.Items;
|
|||
public partial class TormentedChains : Item
|
||||
{
|
||||
[Constructible]
|
||||
public TormentedChains() : base(Utility.Random(6663, 2)) => Weight = 1.0;
|
||||
public TormentedChains() : base(Utility.Random(6663, 2))
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,11 @@ namespace Server.Items;
|
|||
[SerializationGenerator(0)]
|
||||
public partial class StoneAnkhComponent : AddonComponent
|
||||
{
|
||||
public StoneAnkhComponent(int itemID) : base(itemID) => Weight = 1.0;
|
||||
public StoneAnkhComponent(int itemID) : base(itemID)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue