Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -65,10 +65,7 @@ namespace Server.Items
|
|||
{
|
||||
private PlayerMobile m_Mobile;
|
||||
|
||||
public LockKarmaEntry(PlayerMobile mobile) : base(mobile.KarmaLocked ? 6197 : 6196, LockRange)
|
||||
{
|
||||
m_Mobile = mobile;
|
||||
}
|
||||
public LockKarmaEntry(PlayerMobile mobile) : base(mobile.KarmaLocked ? 6197 : 6196, LockRange) => m_Mobile = mobile;
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ namespace Server.Items
|
|||
public class WoodenBench : Item
|
||||
{
|
||||
[Constructible]
|
||||
public WoodenBench() : base(0xB2D)
|
||||
{
|
||||
Weight = 6;
|
||||
}
|
||||
public WoodenBench() : base(0xB2D) => Weight = 6;
|
||||
|
||||
public WoodenBench(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ namespace Server.Items
|
|||
public class FancyWoodenChairCushion : Item
|
||||
{
|
||||
[Constructible]
|
||||
public FancyWoodenChairCushion() : base(0xB4F)
|
||||
{
|
||||
Weight = 20.0;
|
||||
}
|
||||
public FancyWoodenChairCushion() : base(0xB4F) => Weight = 20.0;
|
||||
|
||||
public FancyWoodenChairCushion(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -37,10 +34,7 @@ namespace Server.Items
|
|||
public class WoodenChairCushion : Item
|
||||
{
|
||||
[Constructible]
|
||||
public WoodenChairCushion() : base(0xB53)
|
||||
{
|
||||
Weight = 20.0;
|
||||
}
|
||||
public WoodenChairCushion() : base(0xB53) => Weight = 20.0;
|
||||
|
||||
public WoodenChairCushion(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -69,10 +63,7 @@ namespace Server.Items
|
|||
public class WoodenChair : Item
|
||||
{
|
||||
[Constructible]
|
||||
public WoodenChair() : base(0xB57)
|
||||
{
|
||||
Weight = 20.0;
|
||||
}
|
||||
public WoodenChair() : base(0xB57) => Weight = 20.0;
|
||||
|
||||
public WoodenChair(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -101,10 +92,7 @@ namespace Server.Items
|
|||
public class BambooChair : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BambooChair() : base(0xB5B)
|
||||
{
|
||||
Weight = 20.0;
|
||||
}
|
||||
public BambooChair() : base(0xB5B) => Weight = 20.0;
|
||||
|
||||
public BambooChair(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -133,10 +121,7 @@ namespace Server.Items
|
|||
public class StoneChair : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StoneChair() : base(0x1218)
|
||||
{
|
||||
Weight = 20;
|
||||
}
|
||||
public StoneChair() : base(0x1218) => Weight = 20;
|
||||
|
||||
public StoneChair(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -162,10 +147,7 @@ namespace Server.Items
|
|||
public class OrnateElvenChair : Item
|
||||
{
|
||||
[Constructible]
|
||||
public OrnateElvenChair() : base(0x2DE3)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public OrnateElvenChair() : base(0x2DE3) => Weight = 1.0;
|
||||
|
||||
public OrnateElvenChair(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,10 +4,7 @@ namespace Server.Items
|
|||
public class Stool : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Stool() : base(0xA2A)
|
||||
{
|
||||
Weight = 10.0;
|
||||
}
|
||||
public Stool() : base(0xA2A) => Weight = 10.0;
|
||||
|
||||
public Stool(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -35,10 +32,7 @@ namespace Server.Items
|
|||
public class FootStool : Item
|
||||
{
|
||||
[Constructible]
|
||||
public FootStool() : base(0xB5E)
|
||||
{
|
||||
Weight = 6.0;
|
||||
}
|
||||
public FootStool() : base(0xB5E) => Weight = 6.0;
|
||||
|
||||
public FootStool(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ namespace Server.Items
|
|||
public class Throne : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Throne() : base(0xB33)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Throne() : base(0xB33) => Weight = 1.0;
|
||||
|
||||
public Throne(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -37,10 +34,7 @@ namespace Server.Items
|
|||
public class WoodenThrone : Item
|
||||
{
|
||||
[Constructible]
|
||||
public WoodenThrone() : base(0xB2E)
|
||||
{
|
||||
Weight = 15.0;
|
||||
}
|
||||
public WoodenThrone() : base(0xB2E) => Weight = 15.0;
|
||||
|
||||
public WoodenThrone(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,10 +4,7 @@ namespace Server.Items
|
|||
public class DecorativeShield1 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShield1() : base(0x156C)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShield1() : base(0x156C) => Movable = false;
|
||||
|
||||
public DecorativeShield1(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -32,10 +29,7 @@ namespace Server.Items
|
|||
public class DecorativeShield2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShield2() : base(0x156E)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShield2() : base(0x156E) => Movable = false;
|
||||
|
||||
public DecorativeShield2(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -60,10 +54,7 @@ namespace Server.Items
|
|||
public class DecorativeShield3 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShield3() : base(0x1570)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShield3() : base(0x1570) => Movable = false;
|
||||
|
||||
public DecorativeShield3(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -88,10 +79,7 @@ namespace Server.Items
|
|||
public class DecorativeShield4 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShield4() : base(0x1572)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShield4() : base(0x1572) => Movable = false;
|
||||
|
||||
public DecorativeShield4(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -116,10 +104,7 @@ namespace Server.Items
|
|||
public class DecorativeShield5 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShield5() : base(0x1574)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShield5() : base(0x1574) => Movable = false;
|
||||
|
||||
public DecorativeShield5(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -144,10 +129,7 @@ namespace Server.Items
|
|||
public class DecorativeShield6 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShield6() : base(0x1576)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShield6() : base(0x1576) => Movable = false;
|
||||
|
||||
public DecorativeShield6(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -172,10 +154,7 @@ namespace Server.Items
|
|||
public class DecorativeShield7 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShield7() : base(0x1578)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShield7() : base(0x1578) => Movable = false;
|
||||
|
||||
public DecorativeShield7(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -200,10 +179,7 @@ namespace Server.Items
|
|||
public class DecorativeShield8 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShield8() : base(0x157A)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShield8() : base(0x157A) => Movable = false;
|
||||
|
||||
public DecorativeShield8(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -228,10 +204,7 @@ namespace Server.Items
|
|||
public class DecorativeShield9 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShield9() : base(0x157C)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShield9() : base(0x157C) => Movable = false;
|
||||
|
||||
public DecorativeShield9(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -256,10 +229,7 @@ namespace Server.Items
|
|||
public class DecorativeShield10 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShield10() : base(0x157E)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShield10() : base(0x157E) => Movable = false;
|
||||
|
||||
public DecorativeShield10(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -284,10 +254,7 @@ namespace Server.Items
|
|||
public class DecorativeShield11 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShield11() : base(0x1580)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShield11() : base(0x1580) => Movable = false;
|
||||
|
||||
public DecorativeShield11(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -312,10 +279,7 @@ namespace Server.Items
|
|||
public class DecorativeShieldSword1North : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShieldSword1North() : base(Utility.Random(0x1582, 2))
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShieldSword1North() : base(Utility.Random(0x1582, 2)) => Movable = false;
|
||||
|
||||
public DecorativeShieldSword1North(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -340,10 +304,7 @@ namespace Server.Items
|
|||
public class DecorativeShieldSword1West : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShieldSword1West() : base(Utility.Random(0x1634, 2))
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShieldSword1West() : base(Utility.Random(0x1634, 2)) => Movable = false;
|
||||
|
||||
public DecorativeShieldSword1West(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -368,10 +329,7 @@ namespace Server.Items
|
|||
public class DecorativeShieldSword2North : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShieldSword2North() : base(Utility.Random(0x1584, 2))
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShieldSword2North() : base(Utility.Random(0x1584, 2)) => Movable = false;
|
||||
|
||||
public DecorativeShieldSword2North(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -396,10 +354,7 @@ namespace Server.Items
|
|||
public class DecorativeShieldSword2West : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeShieldSword2West() : base(Utility.Random(0x1636, 2))
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeShieldSword2West() : base(Utility.Random(0x1636, 2)) => Movable = false;
|
||||
|
||||
public DecorativeShieldSword2West(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,10 +4,7 @@ namespace Server.Items
|
|||
public class DecorativeBowWest : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeBowWest() : base(Utility.Random(0x155E, 2))
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeBowWest() : base(Utility.Random(0x155E, 2)) => Movable = false;
|
||||
|
||||
public DecorativeBowWest(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -32,10 +29,7 @@ namespace Server.Items
|
|||
public class DecorativeBowNorth : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeBowNorth() : base(Utility.Random(0x155C, 2))
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeBowNorth() : base(Utility.Random(0x155C, 2)) => Movable = false;
|
||||
|
||||
public DecorativeBowNorth(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -60,10 +54,7 @@ namespace Server.Items
|
|||
public class DecorativeAxeNorth : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeAxeNorth() : base(Utility.Random(0x1560, 2))
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeAxeNorth() : base(Utility.Random(0x1560, 2)) => Movable = false;
|
||||
|
||||
public DecorativeAxeNorth(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -88,10 +79,7 @@ namespace Server.Items
|
|||
public class DecorativeAxeWest : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeAxeWest() : base(Utility.Random(0x1562, 2))
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public DecorativeAxeWest() : base(Utility.Random(0x1562, 2)) => Movable = false;
|
||||
|
||||
public DecorativeAxeWest(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,10 +3,7 @@ namespace Server.Items
|
|||
public class LargePainting : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LargePainting() : base(0x0EA0)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public LargePainting() : base(0x0EA0) => Movable = false;
|
||||
|
||||
public LargePainting(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -31,10 +28,7 @@ namespace Server.Items
|
|||
public class WomanPortrait1 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public WomanPortrait1() : base(0x0E9F)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public WomanPortrait1() : base(0x0E9F) => Movable = false;
|
||||
|
||||
public WomanPortrait1(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -59,10 +53,7 @@ namespace Server.Items
|
|||
public class WomanPortrait2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public WomanPortrait2() : base(0x0EE7)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public WomanPortrait2() : base(0x0EE7) => Movable = false;
|
||||
|
||||
public WomanPortrait2(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -87,10 +78,7 @@ namespace Server.Items
|
|||
public class ManPortrait1 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ManPortrait1() : base(0x0EA2)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public ManPortrait1() : base(0x0EA2) => Movable = false;
|
||||
|
||||
public ManPortrait1(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -115,10 +103,7 @@ namespace Server.Items
|
|||
public class ManPortrait2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ManPortrait2() : base(0x0EA3)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public ManPortrait2() : base(0x0EA3) => Movable = false;
|
||||
|
||||
public ManPortrait2(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -143,10 +128,7 @@ namespace Server.Items
|
|||
public class LadyPortrait1 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LadyPortrait1() : base(0x0EA6)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public LadyPortrait1() : base(0x0EA6) => Movable = false;
|
||||
|
||||
public LadyPortrait1(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -171,10 +153,7 @@ namespace Server.Items
|
|||
public class LadyPortrait2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LadyPortrait2() : base(0x0EA7)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public LadyPortrait2() : base(0x0EA7) => Movable = false;
|
||||
|
||||
public LadyPortrait2(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -273,10 +273,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
public static Point3D GetOffset(DoorFacing facing)
|
||||
{
|
||||
return m_Offsets[(int)facing];
|
||||
}
|
||||
public static Point3D GetOffset(DoorFacing facing) => m_Offsets[(int)facing];
|
||||
|
||||
public bool CanClose()
|
||||
{
|
||||
|
|
@ -371,15 +368,9 @@ namespace Server.Items
|
|||
return freeToClose;
|
||||
}
|
||||
|
||||
public virtual bool IsInside(Mobile from)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public virtual bool IsInside(Mobile from) => false;
|
||||
|
||||
public virtual bool UseLocks()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public virtual bool UseLocks() => true;
|
||||
|
||||
public virtual void Use(Mobile from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -152,10 +152,7 @@ namespace Server.Items
|
|||
house.Visits++;
|
||||
}
|
||||
|
||||
public override bool UseLocks()
|
||||
{
|
||||
return FindHouse()?.IsAosRules != true;
|
||||
}
|
||||
public override bool UseLocks() => FindHouse()?.IsAosRules != true;
|
||||
|
||||
public override void Use(Mobile from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ namespace Server.Items
|
|||
{
|
||||
public abstract class BaseFloor : Item
|
||||
{
|
||||
public BaseFloor(int itemID, int count) : base(Utility.Random(itemID, count))
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public BaseFloor(int itemID, int count) : base(Utility.Random(itemID, count)) => Movable = false;
|
||||
|
||||
public BaseFloor(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,10 +3,7 @@ namespace Server.Items
|
|||
public class BarrelLid : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BarrelLid() : base(0x1DB8)
|
||||
{
|
||||
Weight = 2;
|
||||
}
|
||||
public BarrelLid() : base(0x1DB8) => Weight = 2;
|
||||
|
||||
public BarrelLid(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -31,10 +28,7 @@ namespace Server.Items
|
|||
public class BarrelStaves : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BarrelStaves() : base(0x1EB1)
|
||||
{
|
||||
Weight = 1;
|
||||
}
|
||||
public BarrelStaves() : base(0x1EB1) => Weight = 1;
|
||||
|
||||
public BarrelStaves(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -58,10 +52,7 @@ namespace Server.Items
|
|||
public class BarrelHoops : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BarrelHoops() : base(0x1DB7)
|
||||
{
|
||||
Weight = 5;
|
||||
}
|
||||
public BarrelHoops() : base(0x1DB7) => Weight = 5;
|
||||
|
||||
public BarrelHoops(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -87,10 +78,7 @@ namespace Server.Items
|
|||
public class BarrelTap : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BarrelTap() : base(0x1004)
|
||||
{
|
||||
Weight = 1;
|
||||
}
|
||||
public BarrelTap() : base(0x1004) => Weight = 1;
|
||||
|
||||
public BarrelTap(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ namespace Server.Items
|
|||
public class Easle : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Easle() : base(0xF65)
|
||||
{
|
||||
Weight = 25.0;
|
||||
}
|
||||
public Easle() : base(0xF65) => Weight = 25.0;
|
||||
|
||||
public Easle(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ namespace Server.Items
|
|||
public class TallMusicStand : Item
|
||||
{
|
||||
[Constructible]
|
||||
public TallMusicStand() : base(0xEBB)
|
||||
{
|
||||
Weight = 10.0;
|
||||
}
|
||||
public TallMusicStand() : base(0xEBB) => Weight = 10.0;
|
||||
|
||||
public TallMusicStand(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -37,10 +34,7 @@ namespace Server.Items
|
|||
public class ShortMusicStand : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ShortMusicStand() : base(0xEB6)
|
||||
{
|
||||
Weight = 10.0;
|
||||
}
|
||||
public ShortMusicStand() : base(0xEB6) => Weight = 10.0;
|
||||
|
||||
public ShortMusicStand(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,10 +3,7 @@ namespace Server.Items
|
|||
public class Obelisk : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Obelisk() : base(0x1184)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public Obelisk() : base(0x1184) => Movable = false;
|
||||
|
||||
public Obelisk(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ namespace Server.Items
|
|||
public class BambooScreen : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BambooScreen() : base(0x24D0)
|
||||
{
|
||||
Weight = 20.0;
|
||||
}
|
||||
public BambooScreen() : base(0x24D0) => Weight = 20.0;
|
||||
|
||||
public BambooScreen(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -34,10 +31,7 @@ namespace Server.Items
|
|||
public class ShojiScreen : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ShojiScreen() : base(0x24CB)
|
||||
{
|
||||
Weight = 20.0;
|
||||
}
|
||||
public ShojiScreen() : base(0x24CB) => Weight = 20.0;
|
||||
|
||||
public ShojiScreen(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,10 +3,7 @@ namespace Server.Items
|
|||
public class StatueSouth : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueSouth() : base(0x139A)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public StatueSouth() : base(0x139A) => Weight = 10;
|
||||
|
||||
public StatueSouth(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -32,10 +29,7 @@ namespace Server.Items
|
|||
public class StatueSouth2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueSouth2() : base(0x1227)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public StatueSouth2() : base(0x1227) => Weight = 10;
|
||||
|
||||
public StatueSouth2(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -61,10 +55,7 @@ namespace Server.Items
|
|||
public class StatueNorth : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueNorth() : base(0x139B)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public StatueNorth() : base(0x139B) => Weight = 10;
|
||||
|
||||
public StatueNorth(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -90,10 +81,7 @@ namespace Server.Items
|
|||
public class StatueWest : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueWest() : base(0x1226)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public StatueWest() : base(0x1226) => Weight = 10;
|
||||
|
||||
public StatueWest(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -119,10 +107,7 @@ namespace Server.Items
|
|||
public class StatueEast : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueEast() : base(0x139C)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public StatueEast() : base(0x139C) => Weight = 10;
|
||||
|
||||
public StatueEast(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -148,10 +133,7 @@ namespace Server.Items
|
|||
public class StatueEast2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueEast2() : base(0x1224)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public StatueEast2() : base(0x1224) => Weight = 10;
|
||||
|
||||
public StatueEast2(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -177,10 +159,7 @@ namespace Server.Items
|
|||
public class StatueSouthEast : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueSouthEast() : base(0x1225)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public StatueSouthEast() : base(0x1225) => Weight = 10;
|
||||
|
||||
public StatueSouthEast(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -206,10 +185,7 @@ namespace Server.Items
|
|||
public class BustSouth : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BustSouth() : base(0x12CB)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public BustSouth() : base(0x12CB) => Weight = 10;
|
||||
|
||||
public BustSouth(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -235,10 +211,7 @@ namespace Server.Items
|
|||
public class BustEast : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BustEast() : base(0x12CA)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public BustEast() : base(0x12CA) => Weight = 10;
|
||||
|
||||
public BustEast(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -264,10 +237,7 @@ namespace Server.Items
|
|||
public class StatuePegasus : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatuePegasus() : base(0x139D)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public StatuePegasus() : base(0x139D) => Weight = 10;
|
||||
|
||||
public StatuePegasus(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -293,10 +263,7 @@ namespace Server.Items
|
|||
public class StatuePegasus2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatuePegasus2() : base(0x1228)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public StatuePegasus2() : base(0x1228) => Weight = 10;
|
||||
|
||||
public StatuePegasus2(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -322,10 +289,7 @@ namespace Server.Items
|
|||
public class SmallTowerSculpture : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SmallTowerSculpture() : base(0x241A)
|
||||
{
|
||||
Weight = 20.0;
|
||||
}
|
||||
public SmallTowerSculpture() : base(0x241A) => Weight = 20.0;
|
||||
|
||||
public SmallTowerSculpture(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,10 +3,7 @@ namespace Server.Items
|
|||
public class Vase : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Vase() : base(0xB46)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public Vase() : base(0xB46) => Weight = 10;
|
||||
|
||||
public Vase(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -30,10 +27,7 @@ namespace Server.Items
|
|||
public class LargeVase : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LargeVase() : base(0xB45)
|
||||
{
|
||||
Weight = 15;
|
||||
}
|
||||
public LargeVase() : base(0xB45) => Weight = 15;
|
||||
|
||||
public LargeVase(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -57,10 +51,7 @@ namespace Server.Items
|
|||
public class SmallUrn : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SmallUrn() : base(0x241C)
|
||||
{
|
||||
Weight = 20.0;
|
||||
}
|
||||
public SmallUrn() : base(0x241C) => Weight = 20.0;
|
||||
|
||||
public SmallUrn(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,10 +4,7 @@ namespace Server.Items
|
|||
public class RuinedFallenChairA : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RuinedFallenChairA() : base(0xC10)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public RuinedFallenChairA() : base(0xC10) => Movable = false;
|
||||
|
||||
public RuinedFallenChairA(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -32,10 +29,7 @@ namespace Server.Items
|
|||
public class RuinedArmoire : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RuinedArmoire() : base(0xC13)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public RuinedArmoire() : base(0xC13) => Movable = false;
|
||||
|
||||
public RuinedArmoire(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -60,10 +54,7 @@ namespace Server.Items
|
|||
public class RuinedBookcase : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RuinedBookcase() : base(0xC14)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public RuinedBookcase() : base(0xC14) => Movable = false;
|
||||
|
||||
public RuinedBookcase(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -87,10 +78,7 @@ namespace Server.Items
|
|||
public class RuinedBooks : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RuinedBooks() : base(0xC16)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public RuinedBooks() : base(0xC16) => Movable = false;
|
||||
|
||||
public RuinedBooks(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -115,10 +103,7 @@ namespace Server.Items
|
|||
public class CoveredChair : Item
|
||||
{
|
||||
[Constructible]
|
||||
public CoveredChair() : base(0xC17)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public CoveredChair() : base(0xC17) => Movable = false;
|
||||
|
||||
public CoveredChair(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -143,10 +128,7 @@ namespace Server.Items
|
|||
public class RuinedFallenChairB : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RuinedFallenChairB() : base(0xC19)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public RuinedFallenChairB() : base(0xC19) => Movable = false;
|
||||
|
||||
public RuinedFallenChairB(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -171,10 +153,7 @@ namespace Server.Items
|
|||
public class RuinedChair : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RuinedChair() : base(0xC1B)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public RuinedChair() : base(0xC1B) => Movable = false;
|
||||
|
||||
public RuinedChair(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -198,10 +177,7 @@ namespace Server.Items
|
|||
public class RuinedClock : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RuinedClock() : base(0xC1F)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public RuinedClock() : base(0xC1F) => Movable = false;
|
||||
|
||||
public RuinedClock(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -226,10 +202,7 @@ namespace Server.Items
|
|||
public class RuinedDrawers : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RuinedDrawers() : base(0xC24)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public RuinedDrawers() : base(0xC24) => Movable = false;
|
||||
|
||||
public RuinedDrawers(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -253,10 +226,7 @@ namespace Server.Items
|
|||
public class RuinedPainting : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RuinedPainting() : base(0xC2C)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public RuinedPainting() : base(0xC2C) => Movable = false;
|
||||
|
||||
public RuinedPainting(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -281,10 +251,7 @@ namespace Server.Items
|
|||
public class WoodDebris : Item
|
||||
{
|
||||
[Constructible]
|
||||
public WoodDebris() : base(0xC2D)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public WoodDebris() : base(0xC2D) => Movable = false;
|
||||
|
||||
public WoodDebris(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ namespace Server.Items
|
|||
{
|
||||
public abstract class BaseSign : Item
|
||||
{
|
||||
public BaseSign(int dispID) : base(dispID)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public BaseSign(int dispID) : base(dispID) => Movable = false;
|
||||
|
||||
public BaseSign(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,16 +5,10 @@ namespace Server.Items
|
|||
private int m_LabelNumber;
|
||||
|
||||
[Constructible]
|
||||
public LocalizedSign(SignType type, SignFacing facing, int labelNumber) : base(0xB95 + 2 * (int)type + (int)facing)
|
||||
{
|
||||
m_LabelNumber = labelNumber;
|
||||
}
|
||||
public LocalizedSign(SignType type, SignFacing facing, int labelNumber) : base(0xB95 + 2 * (int)type + (int)facing) => m_LabelNumber = labelNumber;
|
||||
|
||||
[Constructible]
|
||||
public LocalizedSign(int itemID, int labelNumber) : base(itemID)
|
||||
{
|
||||
m_LabelNumber = labelNumber;
|
||||
}
|
||||
public LocalizedSign(int itemID, int labelNumber) : base(itemID) => m_LabelNumber = labelNumber;
|
||||
|
||||
public LocalizedSign(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,17 +6,13 @@ namespace Server.Items
|
|||
|
||||
[Constructible]
|
||||
public SubtextSign(SignType type, SignFacing facing, string subtext)
|
||||
: base(type, facing)
|
||||
{
|
||||
: base(type, facing) =>
|
||||
m_Subtext = subtext;
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public SubtextSign(int itemID, string subtext)
|
||||
: base(itemID)
|
||||
{
|
||||
: base(itemID) =>
|
||||
m_Subtext = subtext;
|
||||
}
|
||||
|
||||
public SubtextSign(Serial serial)
|
||||
: base(serial)
|
||||
|
|
|
|||
|
|
@ -4,10 +4,7 @@ namespace Server.Items
|
|||
public class ElegantLowTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ElegantLowTable() : base(0x2819)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public ElegantLowTable() : base(0x2819) => Weight = 1.0;
|
||||
|
||||
public ElegantLowTable(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -32,10 +29,7 @@ namespace Server.Items
|
|||
public class PlainLowTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public PlainLowTable() : base(0x281A)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public PlainLowTable() : base(0x281A) => Weight = 1.0;
|
||||
|
||||
public PlainLowTable(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -61,10 +55,7 @@ namespace Server.Items
|
|||
public class LargeTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LargeTable() : base(0xB90)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public LargeTable() : base(0xB90) => Weight = 1.0;
|
||||
|
||||
public LargeTable(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -93,10 +84,7 @@ namespace Server.Items
|
|||
public class Nightstand : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Nightstand() : base(0xB35)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Nightstand() : base(0xB35) => Weight = 1.0;
|
||||
|
||||
public Nightstand(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -125,10 +113,7 @@ namespace Server.Items
|
|||
public class YewWoodTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public YewWoodTable() : base(0xB8F)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public YewWoodTable() : base(0xB8F) => Weight = 1.0;
|
||||
|
||||
public YewWoodTable(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ namespace Server.Items
|
|||
public class WritingTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public WritingTable() : base(0xB4A)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public WritingTable() : base(0xB4A) => Weight = 1.0;
|
||||
|
||||
public WritingTable(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ namespace Server.Items
|
|||
{
|
||||
public abstract class BaseWall : Item
|
||||
{
|
||||
public BaseWall(int itemID) : base(itemID)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
public BaseWall(int itemID) : base(itemID) => Movable = false;
|
||||
|
||||
public BaseWall(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue