Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -561,10 +561,7 @@ namespace Server.Items
|
|||
return false;
|
||||
}
|
||||
|
||||
private string GetNameString()
|
||||
{
|
||||
return Name ?? $"#{LabelNumber}";
|
||||
}
|
||||
private string GetNameString() => Name ?? $"#{LabelNumber}";
|
||||
|
||||
public override void AddNameProperty(ObjectPropertyList list)
|
||||
{
|
||||
|
|
@ -856,10 +853,7 @@ namespace Server.Items
|
|||
flags |= toSet;
|
||||
}
|
||||
|
||||
private static bool GetSaveFlag(SaveFlag flags, SaveFlag toGet)
|
||||
{
|
||||
return (flags & toGet) != 0;
|
||||
}
|
||||
private static bool GetSaveFlag(SaveFlag flags, SaveFlag toGet) => (flags & toGet) != 0;
|
||||
|
||||
[Flags]
|
||||
private enum SaveFlag
|
||||
|
|
|
|||
|
|
@ -31,10 +31,7 @@ namespace Server.Items
|
|||
public class Cloak : BaseCloak, IArcaneEquip
|
||||
{
|
||||
[Constructible]
|
||||
public Cloak(int hue = 0) : base(0x1515, hue)
|
||||
{
|
||||
Weight = 5.0;
|
||||
}
|
||||
public Cloak(int hue = 0) : base(0x1515, hue) => Weight = 5.0;
|
||||
|
||||
public Cloak(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -273,10 +270,7 @@ namespace Server.Items
|
|||
public class FurCape : BaseCloak
|
||||
{
|
||||
[Constructible]
|
||||
public FurCape(int hue = 0) : base(0x230A, hue)
|
||||
{
|
||||
Weight = 4.0;
|
||||
}
|
||||
public FurCape(int hue = 0) : base(0x230A, hue) => Weight = 4.0;
|
||||
|
||||
public FurCape(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -77,10 +77,7 @@ namespace Server.Items
|
|||
public class Kasa : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public Kasa(int hue = 0) : base(0x2798, hue)
|
||||
{
|
||||
Weight = 3.0;
|
||||
}
|
||||
public Kasa(int hue = 0) : base(0x2798, hue) => Weight = 3.0;
|
||||
|
||||
public Kasa(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -114,10 +111,7 @@ namespace Server.Items
|
|||
public class ClothNinjaHood : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public ClothNinjaHood(int hue = 0) : base(0x278F, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public ClothNinjaHood(int hue = 0) : base(0x278F, hue) => Weight = 2.0;
|
||||
|
||||
public ClothNinjaHood(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -151,10 +145,7 @@ namespace Server.Items
|
|||
public class FlowerGarland : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public FlowerGarland(int hue = 0) : base(0x2306, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public FlowerGarland(int hue = 0) : base(0x2306, hue) => Weight = 1.0;
|
||||
|
||||
public FlowerGarland(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -187,10 +178,7 @@ namespace Server.Items
|
|||
public class FloppyHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public FloppyHat(int hue = 0) : base(0x1713, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public FloppyHat(int hue = 0) : base(0x1713, hue) => Weight = 1.0;
|
||||
|
||||
public FloppyHat(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -223,10 +211,7 @@ namespace Server.Items
|
|||
public class WideBrimHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public WideBrimHat(int hue = 0) : base(0x1714, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public WideBrimHat(int hue = 0) : base(0x1714, hue) => Weight = 1.0;
|
||||
|
||||
public WideBrimHat(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -259,10 +244,7 @@ namespace Server.Items
|
|||
public class Cap : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public Cap(int hue = 0) : base(0x1715, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Cap(int hue = 0) : base(0x1715, hue) => Weight = 1.0;
|
||||
|
||||
public Cap(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -295,10 +277,7 @@ namespace Server.Items
|
|||
public class SkullCap : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public SkullCap(int hue = 0) : base(0x1544, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public SkullCap(int hue = 0) : base(0x1544, hue) => Weight = 1.0;
|
||||
|
||||
public SkullCap(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -331,10 +310,7 @@ namespace Server.Items
|
|||
public class Bandana : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public Bandana(int hue = 0) : base(0x1540, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Bandana(int hue = 0) : base(0x1540, hue) => Weight = 1.0;
|
||||
|
||||
public Bandana(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -367,10 +343,7 @@ namespace Server.Items
|
|||
public class BearMask : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public BearMask(int hue = 0) : base(0x1545, hue)
|
||||
{
|
||||
Weight = 5.0;
|
||||
}
|
||||
public BearMask(int hue = 0) : base(0x1545, hue) => Weight = 5.0;
|
||||
|
||||
public BearMask(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -409,10 +382,7 @@ namespace Server.Items
|
|||
public class DeerMask : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public DeerMask(int hue = 0) : base(0x1547, hue)
|
||||
{
|
||||
Weight = 4.0;
|
||||
}
|
||||
public DeerMask(int hue = 0) : base(0x1547, hue) => Weight = 4.0;
|
||||
|
||||
public DeerMask(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -451,10 +421,7 @@ namespace Server.Items
|
|||
public class HornedTribalMask : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public HornedTribalMask(int hue = 0) : base(0x1549, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public HornedTribalMask(int hue = 0) : base(0x1549, hue) => Weight = 2.0;
|
||||
|
||||
public HornedTribalMask(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -493,10 +460,7 @@ namespace Server.Items
|
|||
public class TribalMask : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public TribalMask(int hue = 0) : base(0x154B, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public TribalMask(int hue = 0) : base(0x154B, hue) => Weight = 2.0;
|
||||
|
||||
public TribalMask(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -535,10 +499,7 @@ namespace Server.Items
|
|||
public class TallStrawHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public TallStrawHat(int hue = 0) : base(0x1716, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public TallStrawHat(int hue = 0) : base(0x1716, hue) => Weight = 1.0;
|
||||
|
||||
public TallStrawHat(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -571,10 +532,7 @@ namespace Server.Items
|
|||
public class StrawHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public StrawHat(int hue = 0) : base(0x1717, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public StrawHat(int hue = 0) : base(0x1717, hue) => Weight = 1.0;
|
||||
|
||||
public StrawHat(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -607,10 +565,7 @@ namespace Server.Items
|
|||
public class OrcishKinMask : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public OrcishKinMask(int hue = 0x8A4) : base(0x141B, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public OrcishKinMask(int hue = 0x8A4) : base(0x141B, hue) => Weight = 2.0;
|
||||
|
||||
public OrcishKinMask(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -679,10 +634,7 @@ namespace Server.Items
|
|||
public SavageMask() : this(GetRandomHue()) {}
|
||||
|
||||
[Constructible]
|
||||
public SavageMask(int hue) : base(0x154B, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public SavageMask(int hue) : base(0x154B, hue) => Weight = 2.0;
|
||||
|
||||
public SavageMask(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -734,10 +686,7 @@ namespace Server.Items
|
|||
public class WizardsHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public WizardsHat(int hue = 0) : base(0x1718, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public WizardsHat(int hue = 0) : base(0x1718, hue) => Weight = 1.0;
|
||||
|
||||
public WizardsHat(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -770,10 +719,7 @@ namespace Server.Items
|
|||
public class MagicWizardsHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public MagicWizardsHat(int hue = 0) : base(0x1718, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public MagicWizardsHat(int hue = 0) : base(0x1718, hue) => Weight = 1.0;
|
||||
|
||||
public MagicWizardsHat(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -812,10 +758,7 @@ namespace Server.Items
|
|||
public class Bonnet : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public Bonnet(int hue = 0) : base(0x1719, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Bonnet(int hue = 0) : base(0x1719, hue) => Weight = 1.0;
|
||||
|
||||
public Bonnet(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -848,10 +791,7 @@ namespace Server.Items
|
|||
public class FeatheredHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public FeatheredHat(int hue = 0) : base(0x171A, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public FeatheredHat(int hue = 0) : base(0x171A, hue) => Weight = 1.0;
|
||||
|
||||
public FeatheredHat(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -884,10 +824,7 @@ namespace Server.Items
|
|||
public class TricorneHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public TricorneHat(int hue = 0) : base(0x171B, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public TricorneHat(int hue = 0) : base(0x171B, hue) => Weight = 1.0;
|
||||
|
||||
public TricorneHat(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -920,10 +857,7 @@ namespace Server.Items
|
|||
public class JesterHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public JesterHat(int hue = 0) : base(0x171C, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public JesterHat(int hue = 0) : base(0x171C, hue) => Weight = 1.0;
|
||||
|
||||
public JesterHat(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,10 +29,7 @@ namespace Server.Items
|
|||
public class BodySash : BaseMiddleTorso
|
||||
{
|
||||
[Constructible]
|
||||
public BodySash(int hue = 0) : base(0x1541, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public BodySash(int hue = 0) : base(0x1541, hue) => Weight = 1.0;
|
||||
|
||||
public BodySash(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -57,10 +54,7 @@ namespace Server.Items
|
|||
public class FullApron : BaseMiddleTorso
|
||||
{
|
||||
[Constructible]
|
||||
public FullApron(int hue = 0) : base(0x153d, hue)
|
||||
{
|
||||
Weight = 4.0;
|
||||
}
|
||||
public FullApron(int hue = 0) : base(0x153d, hue) => Weight = 4.0;
|
||||
|
||||
public FullApron(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -85,10 +79,7 @@ namespace Server.Items
|
|||
public class Doublet : BaseMiddleTorso
|
||||
{
|
||||
[Constructible]
|
||||
public Doublet(int hue = 0) : base(0x1F7B, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Doublet(int hue = 0) : base(0x1F7B, hue) => Weight = 2.0;
|
||||
|
||||
public Doublet(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -113,10 +104,7 @@ namespace Server.Items
|
|||
public class Surcoat : BaseMiddleTorso
|
||||
{
|
||||
[Constructible]
|
||||
public Surcoat(int hue = 0) : base(0x1FFD, hue)
|
||||
{
|
||||
Weight = 6.0;
|
||||
}
|
||||
public Surcoat(int hue = 0) : base(0x1FFD, hue) => Weight = 6.0;
|
||||
|
||||
public Surcoat(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -144,10 +132,7 @@ namespace Server.Items
|
|||
public class Tunic : BaseMiddleTorso
|
||||
{
|
||||
[Constructible]
|
||||
public Tunic(int hue = 0) : base(0x1FA1, hue)
|
||||
{
|
||||
Weight = 5.0;
|
||||
}
|
||||
public Tunic(int hue = 0) : base(0x1FA1, hue) => Weight = 5.0;
|
||||
|
||||
public Tunic(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -172,10 +157,7 @@ namespace Server.Items
|
|||
public class FormalShirt : BaseMiddleTorso
|
||||
{
|
||||
[Constructible]
|
||||
public FormalShirt(int hue = 0) : base(0x2310, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public FormalShirt(int hue = 0) : base(0x2310, hue) => Weight = 1.0;
|
||||
|
||||
public FormalShirt(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -203,10 +185,7 @@ namespace Server.Items
|
|||
public class JesterSuit : BaseMiddleTorso
|
||||
{
|
||||
[Constructible]
|
||||
public JesterSuit(int hue = 0) : base(0x1F9F, hue)
|
||||
{
|
||||
Weight = 4.0;
|
||||
}
|
||||
public JesterSuit(int hue = 0) : base(0x1F9F, hue) => Weight = 4.0;
|
||||
|
||||
public JesterSuit(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -231,10 +210,7 @@ namespace Server.Items
|
|||
public class JinBaori : BaseMiddleTorso
|
||||
{
|
||||
[Constructible]
|
||||
public JinBaori(int hue = 0) : base(0x27A1, hue)
|
||||
{
|
||||
Weight = 3.0;
|
||||
}
|
||||
public JinBaori(int hue = 0) : base(0x27A1, hue) => Weight = 3.0;
|
||||
|
||||
public JinBaori(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,10 +29,7 @@ namespace Server.Items
|
|||
public class FurSarong : BaseOuterLegs
|
||||
{
|
||||
[Constructible]
|
||||
public FurSarong(int hue = 0) : base(0x230C, hue)
|
||||
{
|
||||
Weight = 3.0;
|
||||
}
|
||||
public FurSarong(int hue = 0) : base(0x230C, hue) => Weight = 3.0;
|
||||
|
||||
public FurSarong(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -60,10 +57,7 @@ namespace Server.Items
|
|||
public class Skirt : BaseOuterLegs
|
||||
{
|
||||
[Constructible]
|
||||
public Skirt(int hue = 0) : base(0x1516, hue)
|
||||
{
|
||||
Weight = 4.0;
|
||||
}
|
||||
public Skirt(int hue = 0) : base(0x1516, hue) => Weight = 4.0;
|
||||
|
||||
public Skirt(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -88,10 +82,7 @@ namespace Server.Items
|
|||
public class Kilt : BaseOuterLegs
|
||||
{
|
||||
[Constructible]
|
||||
public Kilt(int hue = 0) : base(0x1537, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Kilt(int hue = 0) : base(0x1537, hue) => Weight = 2.0;
|
||||
|
||||
public Kilt(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -116,10 +107,7 @@ namespace Server.Items
|
|||
public class Hakama : BaseOuterLegs
|
||||
{
|
||||
[Constructible]
|
||||
public Hakama(int hue = 0) : base(0x279A, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Hakama(int hue = 0) : base(0x279A, hue) => Weight = 2.0;
|
||||
|
||||
public Hakama(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,10 +32,7 @@ namespace Server.Items
|
|||
public class GildedDress : BaseOuterTorso
|
||||
{
|
||||
[Constructible]
|
||||
public GildedDress(int hue = 0) : base(0x230E, hue)
|
||||
{
|
||||
Weight = 3.0;
|
||||
}
|
||||
public GildedDress(int hue = 0) : base(0x230E, hue) => Weight = 3.0;
|
||||
|
||||
public GildedDress(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -60,10 +57,7 @@ namespace Server.Items
|
|||
public class FancyDress : BaseOuterTorso
|
||||
{
|
||||
[Constructible]
|
||||
public FancyDress(int hue = 0) : base(0x1F00, hue)
|
||||
{
|
||||
Weight = 3.0;
|
||||
}
|
||||
public FancyDress(int hue = 0) : base(0x1F00, hue) => Weight = 3.0;
|
||||
|
||||
public FancyDress(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -447,10 +441,7 @@ namespace Server.Items
|
|||
public class Robe : BaseOuterTorso, IArcaneEquip
|
||||
{
|
||||
[Constructible]
|
||||
public Robe(int hue = 0) : base(0x1F03, hue)
|
||||
{
|
||||
Weight = 3.0;
|
||||
}
|
||||
public Robe(int hue = 0) : base(0x1F03, hue) => Weight = 3.0;
|
||||
|
||||
public Robe(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -608,10 +599,7 @@ namespace Server.Items
|
|||
public class PlainDress : BaseOuterTorso
|
||||
{
|
||||
[Constructible]
|
||||
public PlainDress(int hue = 0) : base(0x1F01, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public PlainDress(int hue = 0) : base(0x1F01, hue) => Weight = 2.0;
|
||||
|
||||
public PlainDress(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -639,10 +627,7 @@ namespace Server.Items
|
|||
public class Kamishimo : BaseOuterTorso
|
||||
{
|
||||
[Constructible]
|
||||
public Kamishimo(int hue = 0) : base(0x2799, hue)
|
||||
{
|
||||
Weight = 3.0;
|
||||
}
|
||||
public Kamishimo(int hue = 0) : base(0x2799, hue) => Weight = 3.0;
|
||||
|
||||
public Kamishimo(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -667,10 +652,7 @@ namespace Server.Items
|
|||
public class HakamaShita : BaseOuterTorso
|
||||
{
|
||||
[Constructible]
|
||||
public HakamaShita(int hue = 0) : base(0x279C, hue)
|
||||
{
|
||||
Weight = 3.0;
|
||||
}
|
||||
public HakamaShita(int hue = 0) : base(0x279C, hue) => Weight = 3.0;
|
||||
|
||||
public HakamaShita(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -695,10 +677,7 @@ namespace Server.Items
|
|||
public class MaleKimono : BaseOuterTorso
|
||||
{
|
||||
[Constructible]
|
||||
public MaleKimono(int hue = 0) : base(0x2782, hue)
|
||||
{
|
||||
Weight = 3.0;
|
||||
}
|
||||
public MaleKimono(int hue = 0) : base(0x2782, hue) => Weight = 3.0;
|
||||
|
||||
public MaleKimono(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -725,10 +704,7 @@ namespace Server.Items
|
|||
public class FemaleKimono : BaseOuterTorso
|
||||
{
|
||||
[Constructible]
|
||||
public FemaleKimono(int hue = 0) : base(0x2783, hue)
|
||||
{
|
||||
Weight = 3.0;
|
||||
}
|
||||
public FemaleKimono(int hue = 0) : base(0x2783, hue) => Weight = 3.0;
|
||||
|
||||
public FemaleKimono(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -755,10 +731,7 @@ namespace Server.Items
|
|||
public class MaleElvenRobe : BaseOuterTorso
|
||||
{
|
||||
[Constructible]
|
||||
public MaleElvenRobe(int hue = 0) : base(0x2FB9, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public MaleElvenRobe(int hue = 0) : base(0x2FB9, hue) => Weight = 2.0;
|
||||
|
||||
public MaleElvenRobe(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -785,10 +758,7 @@ namespace Server.Items
|
|||
public class FemaleElvenRobe : BaseOuterTorso
|
||||
{
|
||||
[Constructible]
|
||||
public FemaleElvenRobe(int hue = 0) : base(0x2FBA, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public FemaleElvenRobe(int hue = 0) : base(0x2FBA, hue) => Weight = 2.0;
|
||||
|
||||
public FemaleElvenRobe(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,10 +29,7 @@ namespace Server.Items
|
|||
public class ShortPants : BasePants
|
||||
{
|
||||
[Constructible]
|
||||
public ShortPants(int hue = 0) : base(0x152E, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public ShortPants(int hue = 0) : base(0x152E, hue) => Weight = 2.0;
|
||||
|
||||
public ShortPants(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -57,10 +54,7 @@ namespace Server.Items
|
|||
public class LongPants : BasePants
|
||||
{
|
||||
[Constructible]
|
||||
public LongPants(int hue = 0) : base(0x1539, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public LongPants(int hue = 0) : base(0x1539, hue) => Weight = 2.0;
|
||||
|
||||
public LongPants(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -85,10 +79,7 @@ namespace Server.Items
|
|||
public class TattsukeHakama : BasePants
|
||||
{
|
||||
[Constructible]
|
||||
public TattsukeHakama(int hue = 0) : base(0x279B, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public TattsukeHakama(int hue = 0) : base(0x279B, hue) => Weight = 2.0;
|
||||
|
||||
public TattsukeHakama(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -113,10 +104,7 @@ namespace Server.Items
|
|||
public class ElvenPants : BasePants
|
||||
{
|
||||
[Constructible]
|
||||
public ElvenPants(int hue = 0) : base(0x2FC3, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public ElvenPants(int hue = 0) : base(0x2FC3, hue) => Weight = 2.0;
|
||||
|
||||
public ElvenPants(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,10 +29,7 @@ namespace Server.Items
|
|||
public class FancyShirt : BaseShirt
|
||||
{
|
||||
[Constructible]
|
||||
public FancyShirt(int hue = 0) : base(0x1EFD, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public FancyShirt(int hue = 0) : base(0x1EFD, hue) => Weight = 2.0;
|
||||
|
||||
public FancyShirt(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -57,10 +54,7 @@ namespace Server.Items
|
|||
public class Shirt : BaseShirt
|
||||
{
|
||||
[Constructible]
|
||||
public Shirt(int hue = 0) : base(0x1517, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Shirt(int hue = 0) : base(0x1517, hue) => Weight = 1.0;
|
||||
|
||||
public Shirt(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -116,10 +110,7 @@ namespace Server.Items
|
|||
public class ElvenShirt : BaseShirt
|
||||
{
|
||||
[Constructible]
|
||||
public ElvenShirt(int hue = 0) : base(0x3175, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public ElvenShirt(int hue = 0) : base(0x3175, hue) => Weight = 2.0;
|
||||
|
||||
public ElvenShirt(Serial serial)
|
||||
: base(serial)
|
||||
|
|
@ -146,10 +137,7 @@ namespace Server.Items
|
|||
public class ElvenDarkShirt : BaseShirt
|
||||
{
|
||||
[Constructible]
|
||||
public ElvenDarkShirt(int hue = 0) : base(0x3176, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public ElvenDarkShirt(int hue = 0) : base(0x3176, hue) => Weight = 2.0;
|
||||
|
||||
public ElvenDarkShirt(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -53,10 +53,7 @@ namespace Server.Items
|
|||
public class FurBoots : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
public FurBoots(int hue = 0) : base(0x2307, hue)
|
||||
{
|
||||
Weight = 3.0;
|
||||
}
|
||||
public FurBoots(int hue = 0) : base(0x2307, hue) => Weight = 3.0;
|
||||
|
||||
public FurBoots(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -81,10 +78,7 @@ namespace Server.Items
|
|||
public class Boots : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
public Boots(int hue = 0) : base(0x170B, hue)
|
||||
{
|
||||
Weight = 3.0;
|
||||
}
|
||||
public Boots(int hue = 0) : base(0x170B, hue) => Weight = 3.0;
|
||||
|
||||
public Boots(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -111,10 +105,7 @@ namespace Server.Items
|
|||
public class ThighBoots : BaseShoes, IArcaneEquip
|
||||
{
|
||||
[Constructible]
|
||||
public ThighBoots(int hue = 0) : base(0x1711, hue)
|
||||
{
|
||||
Weight = 4.0;
|
||||
}
|
||||
public ThighBoots(int hue = 0) : base(0x1711, hue) => Weight = 4.0;
|
||||
|
||||
public ThighBoots(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -237,10 +228,7 @@ namespace Server.Items
|
|||
public class Shoes : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
public Shoes(int hue = 0) : base(0x170F, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Shoes(int hue = 0) : base(0x170F, hue) => Weight = 2.0;
|
||||
|
||||
public Shoes(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -267,10 +255,7 @@ namespace Server.Items
|
|||
public class Sandals : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
public Sandals(int hue = 0) : base(0x170D, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Sandals(int hue = 0) : base(0x170D, hue) => Weight = 1.0;
|
||||
|
||||
public Sandals(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -278,10 +263,7 @@ namespace Server.Items
|
|||
|
||||
public override CraftResource DefaultResource => CraftResource.RegularLeather;
|
||||
|
||||
public override bool Dye(Mobile from, DyeTub sender)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public override bool Dye(Mobile from, DyeTub sender) => false;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
@ -302,10 +284,7 @@ namespace Server.Items
|
|||
public class NinjaTabi : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
public NinjaTabi(int hue = 0) : base(0x2797, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public NinjaTabi(int hue = 0) : base(0x2797, hue) => Weight = 2.0;
|
||||
|
||||
public NinjaTabi(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -330,10 +309,7 @@ namespace Server.Items
|
|||
public class SamuraiTabi : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
public SamuraiTabi(int hue = 0) : base(0x2796, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public SamuraiTabi(int hue = 0) : base(0x2796, hue) => Weight = 2.0;
|
||||
|
||||
public SamuraiTabi(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -358,10 +334,7 @@ namespace Server.Items
|
|||
public class Waraji : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
public Waraji(int hue = 0) : base(0x2796, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Waraji(int hue = 0) : base(0x2796, hue) => Weight = 2.0;
|
||||
|
||||
public Waraji(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -386,10 +359,7 @@ namespace Server.Items
|
|||
public class ElvenBoots : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
public ElvenBoots(int hue = 0) : base(0x2FC4, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public ElvenBoots(int hue = 0) : base(0x2FC4, hue) => Weight = 2.0;
|
||||
|
||||
public ElvenBoots(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -399,10 +369,7 @@ namespace Server.Items
|
|||
|
||||
public override Race RequiredRace => Race.Elf;
|
||||
|
||||
public override bool Dye(Mobile from, DyeTub sender)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public override bool Dye(Mobile from, DyeTub sender) => false;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,10 +29,7 @@ namespace Server.Items
|
|||
public class HalfApron : BaseWaist
|
||||
{
|
||||
[Constructible]
|
||||
public HalfApron(int hue = 0) : base(0x153b, hue)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public HalfApron(int hue = 0) : base(0x153b, hue) => Weight = 2.0;
|
||||
|
||||
public HalfApron(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -57,10 +54,7 @@ namespace Server.Items
|
|||
public class Obi : BaseWaist
|
||||
{
|
||||
[Constructible]
|
||||
public Obi(int hue = 0) : base(0x27A0, hue)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Obi(int hue = 0) : base(0x27A0, hue) => Weight = 1.0;
|
||||
|
||||
public Obi(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -85,10 +79,7 @@ namespace Server.Items
|
|||
public class WoodlandBelt : BaseWaist
|
||||
{
|
||||
[Constructible]
|
||||
public WoodlandBelt(int hue = 0) : base(0x2B68, hue)
|
||||
{
|
||||
Weight = 4.0;
|
||||
}
|
||||
public WoodlandBelt(int hue = 0) : base(0x2B68, hue) => Weight = 4.0;
|
||||
|
||||
public WoodlandBelt(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue