Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -55,15 +55,9 @@ namespace Server.Items
|
|||
private static int[] m_Possible = new int[MaxProperties];
|
||||
private CraftResource m_Resource;
|
||||
|
||||
public BaseRunicTool(CraftResource resource, int itemID) : base(itemID)
|
||||
{
|
||||
m_Resource = resource;
|
||||
}
|
||||
public BaseRunicTool(CraftResource resource, int itemID) : base(itemID) => m_Resource = resource;
|
||||
|
||||
public BaseRunicTool(CraftResource resource, int uses, int itemID) : base(uses, itemID)
|
||||
{
|
||||
m_Resource = resource;
|
||||
}
|
||||
public BaseRunicTool(CraftResource resource, int uses, int itemID) : base(uses, itemID) => m_Resource = resource;
|
||||
|
||||
public BaseRunicTool(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -131,10 +131,7 @@ namespace Server.Items
|
|||
LabelToAffix(m, 1017323, AffixType.Append, ": " + m_UsesRemaining); // Durability
|
||||
}
|
||||
|
||||
public static bool CheckAccessible(Item tool, Mobile m)
|
||||
{
|
||||
return tool.IsChildOf(m) || tool.Parent == m;
|
||||
}
|
||||
public static bool CheckAccessible(Item tool, Mobile m) => tool.IsChildOf(m) || tool.Parent == m;
|
||||
|
||||
public static bool CheckTool(Item tool, Mobile m)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ namespace Server.Items
|
|||
public class DovetailSaw : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public DovetailSaw() : base(0x1028)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public DovetailSaw() : base(0x1028) => Weight = 2.0;
|
||||
|
||||
[Constructible]
|
||||
public DovetailSaw(int uses) : base(uses, 0x1028)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public DovetailSaw(int uses) : base(uses, 0x1028) => Weight = 2.0;
|
||||
|
||||
public DovetailSaw(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,16 +5,10 @@ namespace Server.Items
|
|||
public class DrawKnife : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public DrawKnife() : base(0x10E4)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public DrawKnife() : base(0x10E4) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public DrawKnife(int uses) : base(uses, 0x10E4)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public DrawKnife(int uses) : base(uses, 0x10E4) => Weight = 1.0;
|
||||
|
||||
public DrawKnife(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ namespace Server.Items
|
|||
public class FletcherTools : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public FletcherTools() : base(0x1022)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public FletcherTools() : base(0x1022) => Weight = 2.0;
|
||||
|
||||
[Constructible]
|
||||
public FletcherTools(int uses) : base(uses, 0x1022)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public FletcherTools(int uses) : base(uses, 0x1022) => Weight = 2.0;
|
||||
|
||||
public FletcherTools(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,16 +5,10 @@ namespace Server.Items
|
|||
public class FlourSifter : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public FlourSifter() : base(0x103E)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public FlourSifter() : base(0x103E) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public FlourSifter(int uses) : base(uses, 0x103E)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public FlourSifter(int uses) : base(uses, 0x103E) => Weight = 1.0;
|
||||
|
||||
public FlourSifter(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,16 +5,10 @@ namespace Server.Items
|
|||
public class Froe : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public Froe() : base(0x10E5)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Froe() : base(0x10E5) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public Froe(int uses) : base(uses, 0x10E5)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Froe(int uses) : base(uses, 0x10E5) => Weight = 1.0;
|
||||
|
||||
public Froe(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,16 +5,10 @@ namespace Server.Items
|
|||
public class Hammer : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public Hammer() : base(0x102A)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Hammer() : base(0x102A) => Weight = 2.0;
|
||||
|
||||
[Constructible]
|
||||
public Hammer(int uses) : base(uses, 0x102A)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Hammer(int uses) : base(uses, 0x102A) => Weight = 2.0;
|
||||
|
||||
public Hammer(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,16 +5,10 @@ namespace Server.Items
|
|||
public class Inshave : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public Inshave() : base(0x10E6)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Inshave() : base(0x10E6) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public Inshave(int uses) : base(uses, 0x10E6)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Inshave(int uses) : base(uses, 0x10E6) => Weight = 1.0;
|
||||
|
||||
public Inshave(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ namespace Server.Items
|
|||
public class JointingPlane : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public JointingPlane() : base(0x1030)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public JointingPlane() : base(0x1030) => Weight = 2.0;
|
||||
|
||||
[Constructible]
|
||||
public JointingPlane(int uses) : base(uses, 0x1030)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public JointingPlane(int uses) : base(uses, 0x1030) => Weight = 2.0;
|
||||
|
||||
public JointingPlane(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,16 +5,10 @@ namespace Server.Items
|
|||
public class MalletAndChisel : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public MalletAndChisel() : base(0x12B3)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public MalletAndChisel() : base(0x12B3) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public MalletAndChisel(int uses) : base(uses, 0x12B3)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public MalletAndChisel(int uses) : base(uses, 0x12B3) => Weight = 1.0;
|
||||
|
||||
public MalletAndChisel(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ namespace Server.Items
|
|||
public class MapmakersPen : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public MapmakersPen() : base(0x0FBF)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public MapmakersPen() : base(0x0FBF) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public MapmakersPen(int uses) : base(uses, 0x0FBF)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public MapmakersPen(int uses) : base(uses, 0x0FBF) => Weight = 1.0;
|
||||
|
||||
public MapmakersPen(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,16 +5,10 @@ namespace Server.Items
|
|||
public class MortarPestle : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public MortarPestle() : base(0xE9B)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public MortarPestle() : base(0xE9B) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public MortarPestle(int uses) : base(uses, 0xE9B)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public MortarPestle(int uses) : base(uses, 0xE9B) => Weight = 1.0;
|
||||
|
||||
public MortarPestle(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ namespace Server.Items
|
|||
public class MouldingPlane : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public MouldingPlane() : base(0x102C)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public MouldingPlane() : base(0x102C) => Weight = 2.0;
|
||||
|
||||
[Constructible]
|
||||
public MouldingPlane(int uses) : base(uses, 0x102C)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public MouldingPlane(int uses) : base(uses, 0x102C) => Weight = 2.0;
|
||||
|
||||
public MouldingPlane(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ namespace Server.Items
|
|||
public class Nails : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public Nails() : base(0x102E)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Nails() : base(0x102E) => Weight = 2.0;
|
||||
|
||||
[Constructible]
|
||||
public Nails(int uses) : base(uses, 0x102C)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Nails(int uses) : base(uses, 0x102C) => Weight = 2.0;
|
||||
|
||||
public Nails(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,16 +5,10 @@ namespace Server.Items
|
|||
public class RollingPin : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public RollingPin() : base(0x1043)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public RollingPin() : base(0x1043) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public RollingPin(int uses) : base(uses, 0x1043)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public RollingPin(int uses) : base(uses, 0x1043) => Weight = 1.0;
|
||||
|
||||
public RollingPin(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ namespace Server.Items
|
|||
public class Saw : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public Saw() : base(0x1034)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Saw() : base(0x1034) => Weight = 2.0;
|
||||
|
||||
[Constructible]
|
||||
public Saw(int uses) : base(uses, 0x1034)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Saw(int uses) : base(uses, 0x1034) => Weight = 2.0;
|
||||
|
||||
public Saw(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,16 +5,10 @@ namespace Server.Items
|
|||
public class Scorp : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public Scorp() : base(0x10E7)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Scorp() : base(0x10E7) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public Scorp(int uses) : base(uses, 0x10E7)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Scorp(int uses) : base(uses, 0x10E7) => Weight = 1.0;
|
||||
|
||||
public Scorp(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ namespace Server.Items
|
|||
public class ScribesPen : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public ScribesPen() : base(0x0FBF)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public ScribesPen() : base(0x0FBF) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public ScribesPen(int uses) : base(uses, 0x0FBF)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public ScribesPen(int uses) : base(uses, 0x0FBF) => Weight = 1.0;
|
||||
|
||||
public ScribesPen(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,16 +5,10 @@ namespace Server.Items
|
|||
public class SewingKit : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public SewingKit() : base(0xF9D)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public SewingKit() : base(0xF9D) => Weight = 2.0;
|
||||
|
||||
[Constructible]
|
||||
public SewingKit(int uses) : base(uses, 0xF9D)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public SewingKit(int uses) : base(uses, 0xF9D) => Weight = 2.0;
|
||||
|
||||
public SewingKit(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,16 +5,10 @@ namespace Server.Items
|
|||
public class Skillet : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public Skillet() : base(0x97F)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Skillet() : base(0x97F) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public Skillet(int uses) : base(uses, 0x97F)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Skillet(int uses) : base(uses, 0x97F) => Weight = 1.0;
|
||||
|
||||
public Skillet(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ namespace Server.Items
|
|||
public class SledgeHammer : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public SledgeHammer() : base(0xFB5)
|
||||
{
|
||||
Layer = Layer.OneHanded;
|
||||
}
|
||||
public SledgeHammer() : base(0xFB5) => Layer = Layer.OneHanded;
|
||||
|
||||
[Constructible]
|
||||
public SledgeHammer(int uses) : base(uses, 0xFB5)
|
||||
{
|
||||
Layer = Layer.OneHanded;
|
||||
}
|
||||
public SledgeHammer(int uses) : base(uses, 0xFB5) => Layer = Layer.OneHanded;
|
||||
|
||||
public SledgeHammer(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ namespace Server.Items
|
|||
public class SmoothingPlane : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public SmoothingPlane() : base(0x1032)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public SmoothingPlane() : base(0x1032) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public SmoothingPlane(int uses) : base(uses, 0x1032)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public SmoothingPlane(int uses) : base(uses, 0x1032) => Weight = 1.0;
|
||||
|
||||
public SmoothingPlane(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ namespace Server.Items
|
|||
public class TinkerTools : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public TinkerTools() : base(0x1EB8)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public TinkerTools() : base(0x1EB8) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public TinkerTools(int uses) : base(uses, 0x1EB8)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public TinkerTools(int uses) : base(uses, 0x1EB8) => Weight = 1.0;
|
||||
|
||||
public TinkerTools(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -42,17 +36,13 @@ namespace Server.Items
|
|||
{
|
||||
[Constructible]
|
||||
public TinkersTools()
|
||||
: base(0x1EBC)
|
||||
{
|
||||
: base(0x1EBC) =>
|
||||
Weight = 1.0;
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public TinkersTools(int uses)
|
||||
: base(uses, 0x1EBC)
|
||||
{
|
||||
: base(uses, 0x1EBC) =>
|
||||
Weight = 1.0;
|
||||
}
|
||||
|
||||
public TinkersTools(Serial serial)
|
||||
: base(serial)
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ namespace Server.Items
|
|||
public class Tongs : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public Tongs() : base(0xFBB)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Tongs() : base(0xFBB) => Weight = 2.0;
|
||||
|
||||
[Constructible]
|
||||
public Tongs(int uses) : base(uses, 0xFBB)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
public Tongs(int uses) : base(uses, 0xFBB) => Weight = 2.0;
|
||||
|
||||
public Tongs(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue