fix: Optimizes items to use default weights. (Part 3) (#2242)
This commit is contained in:
parent
2c5441731e
commit
40ba85d7b8
104 changed files with 497 additions and 425 deletions
|
|
@ -18,10 +18,11 @@ public partial class TapestryOfSosaria : Item, ISecurable
|
|||
[Constructible]
|
||||
public TapestryOfSosaria() : base(0x234E)
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1062917; // The Tapestry of Sosaria
|
||||
|
||||
public override void GetContextMenuEntries(Mobile from, ref PooledRefList<ContextMenuEntry> list)
|
||||
|
|
|
|||
|
|
@ -24,10 +24,11 @@ public partial class GingerBreadHouseDeed : BaseAddonDeed
|
|||
[Constructible]
|
||||
public GingerBreadHouseDeed()
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1077394; // a Gingerbread House Deed
|
||||
public override BaseAddon Addon => new GingerBreadHouseAddon();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,9 +8,10 @@ public partial class RedPoinsettia : Item
|
|||
[Constructible]
|
||||
public RedPoinsettia() : base(0x2330)
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
|
|
@ -19,7 +20,8 @@ public partial class WhitePoinsettia : Item
|
|||
[Constructible]
|
||||
public WhitePoinsettia() : base(0x2331)
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,9 +8,10 @@ public partial class BlueSnowflake : Item
|
|||
[Constructible]
|
||||
public BlueSnowflake() : base(0x232E)
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
|
|
@ -19,7 +20,8 @@ public partial class WhiteSnowflake : Item
|
|||
[Constructible]
|
||||
public WhiteSnowflake() : base(0x232F)
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue