Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -124,10 +124,7 @@ namespace Server.Items
|
|||
RenderCategories();
|
||||
}
|
||||
|
||||
private int GetRadioID(int group, int index)
|
||||
{
|
||||
return index * m_Definition.Groups.Length + group;
|
||||
}
|
||||
private int GetRadioID(int group, int index) => index * m_Definition.Groups.Length + group;
|
||||
|
||||
private void RenderBackground()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -129,10 +129,7 @@ namespace Server.Items
|
|||
{
|
||||
private DyeTub m_Tub;
|
||||
|
||||
public InternalTarget(DyeTub tub) : base(1, false, TargetFlags.None)
|
||||
{
|
||||
m_Tub = tub;
|
||||
}
|
||||
public InternalTarget(DyeTub tub) : base(1, false, TargetFlags.None) => m_Tub = tub;
|
||||
|
||||
protected override void OnTarget(Mobile from, object targeted)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ namespace Server.Items
|
|||
public class FurnitureDyeTub : DyeTub, IRewardItem
|
||||
{
|
||||
[Constructible]
|
||||
public FurnitureDyeTub()
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
public FurnitureDyeTub() => LootType = LootType.Blessed;
|
||||
|
||||
public FurnitureDyeTub(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ namespace Server.Items
|
|||
public class LeatherDyeTub : DyeTub, IRewardItem
|
||||
{
|
||||
[Constructible]
|
||||
public LeatherDyeTub()
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
public LeatherDyeTub() => LootType = LootType.Blessed;
|
||||
|
||||
public LeatherDyeTub(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,10 +3,7 @@ namespace Server.Items
|
|||
public class MetallicClothDyetub : DyeTub
|
||||
{
|
||||
[Constructible]
|
||||
public MetallicClothDyetub()
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
public MetallicClothDyetub() => LootType = LootType.Blessed;
|
||||
|
||||
public MetallicClothDyetub(Serial serial)
|
||||
: base(serial)
|
||||
|
|
|
|||
|
|
@ -3,10 +3,7 @@ namespace Server.Items
|
|||
public class MetallicLeatherDyeTub : LeatherDyeTub
|
||||
{
|
||||
[Constructible]
|
||||
public MetallicLeatherDyeTub()
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
public MetallicLeatherDyeTub() => LootType = LootType.Blessed;
|
||||
|
||||
public MetallicLeatherDyeTub(Serial serial)
|
||||
: base(serial)
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ namespace Server.Items
|
|||
public class RunebookDyeTub : DyeTub, IRewardItem
|
||||
{
|
||||
[Constructible]
|
||||
public RunebookDyeTub()
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
public RunebookDyeTub() => LootType = LootType.Blessed;
|
||||
|
||||
public RunebookDyeTub(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ namespace Server.Items
|
|||
public class SpecialDyeTub : DyeTub, IRewardItem
|
||||
{
|
||||
[Constructible]
|
||||
public SpecialDyeTub()
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
public SpecialDyeTub() => LootType = LootType.Blessed;
|
||||
|
||||
public SpecialDyeTub(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ namespace Server.Items
|
|||
public class StatuetteDyeTub : DyeTub, IRewardItem
|
||||
{
|
||||
[Constructible]
|
||||
public StatuetteDyeTub()
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
public StatuetteDyeTub() => LootType = LootType.Blessed;
|
||||
|
||||
public StatuetteDyeTub(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,10 +3,7 @@ namespace Server.Items /* High seas, loot from merchant ship's hold, also a "unc
|
|||
public class WhiteClothDyeTub : DyeTub
|
||||
{
|
||||
[Constructible]
|
||||
public WhiteClothDyeTub()
|
||||
{
|
||||
DyedHue = Hue = 0x9C2;
|
||||
}
|
||||
public WhiteClothDyeTub() => DyedHue = Hue = 0x9C2;
|
||||
|
||||
public WhiteClothDyeTub(Serial serial)
|
||||
: base(serial)
|
||||
|
|
|
|||
|
|
@ -4,10 +4,7 @@ namespace Server.Items
|
|||
public class Dressform : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Dressform() : base(0xec6)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
public Dressform() : base(0xec6) => Weight = 10;
|
||||
|
||||
public Dressform(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,7 @@ namespace Server.Items
|
|||
*/
|
||||
|
||||
[Constructible]
|
||||
public Dyes() : base(0xFA9)
|
||||
{
|
||||
Weight = 3.0;
|
||||
|
||||
/* m_UsesRemaining = 25; */
|
||||
}
|
||||
public Dyes() : base(0xFA9) => Weight = 3.0;
|
||||
|
||||
public Dyes(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -96,10 +91,7 @@ namespace Server.Items
|
|||
{
|
||||
private DyeTub m_Tub;
|
||||
|
||||
public InternalPicker(DyeTub tub) : base(tub.ItemID)
|
||||
{
|
||||
m_Tub = tub;
|
||||
}
|
||||
public InternalPicker(DyeTub tub) : base(tub.ItemID) => m_Tub = tub;
|
||||
|
||||
public override void OnResponse(int hue)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,10 +11,7 @@ namespace Server.Items
|
|||
public class Scissors : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Scissors() : base(0xF9F)
|
||||
{
|
||||
Weight = 1.0;
|
||||
}
|
||||
public Scissors() : base(0xF9F) => Weight = 1.0;
|
||||
|
||||
public Scissors(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -58,10 +55,7 @@ namespace Server.Items
|
|||
{
|
||||
private Scissors m_Item;
|
||||
|
||||
public InternalTarget(Scissors item) : base(2, false, TargetFlags.None)
|
||||
{
|
||||
m_Item = item;
|
||||
}
|
||||
public InternalTarget(Scissors item) : base(2, false, TargetFlags.None) => m_Item = item;
|
||||
|
||||
protected override void OnTarget(Mobile from, object targeted)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue