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
|
|
@ -53,7 +53,11 @@ namespace Server.Items
|
|||
public partial class OrnateElvenChair : Item
|
||||
{
|
||||
[Constructible]
|
||||
public OrnateElvenChair() : base(0x2DE3) => Weight = 1.0;
|
||||
public OrnateElvenChair() : base(0x2DE3)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[DynamicFlipping]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,11 @@ namespace Server.Items
|
|||
public partial class Throne : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Throne() : base(0xB33) => Weight = 1.0;
|
||||
public Throne() : base(0xB33)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class GiantReplicaAcorn : Item
|
||||
{
|
||||
[Constructible]
|
||||
public GiantReplicaAcorn() : base(0x2D4A) => Weight = 1.0;
|
||||
public GiantReplicaAcorn() : base(0x2D4A)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1072889; // giant replica acorn
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class MountedDreadHorn : Item
|
||||
{
|
||||
[Constructible]
|
||||
public MountedDreadHorn() : base(0x3158) => Weight = 1.0;
|
||||
public MountedDreadHorn() : base(0x3158)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1074464; // mounted Dread Horn
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class ElegantLowTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ElegantLowTable() : base(0x2819) => Weight = 1.0;
|
||||
public ElegantLowTable() : base(0x2819)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -15,7 +19,11 @@ namespace Server.Items
|
|||
public partial class PlainLowTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public PlainLowTable() : base(0x281A) => Weight = 1.0;
|
||||
public PlainLowTable() : base(0x281A)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -24,7 +32,11 @@ namespace Server.Items
|
|||
public partial class LargeTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LargeTable() : base(0xB90) => Weight = 1.0;
|
||||
public LargeTable() : base(0xB90)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -33,7 +45,11 @@ namespace Server.Items
|
|||
public partial class Nightstand : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Nightstand() : base(0xB35) => Weight = 1.0;
|
||||
public Nightstand() : base(0xB35)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -42,6 +58,10 @@ namespace Server.Items
|
|||
public partial class YewWoodTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public YewWoodTable() : base(0xB8F) => Weight = 1.0;
|
||||
public YewWoodTable() : base(0xB8F)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@ namespace Server.Items
|
|||
public partial class WritingTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public WritingTable() : base(0xB4A) => Weight = 1.0;
|
||||
public WritingTable() : base(0xB4A)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue