Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -55,7 +55,7 @@ namespace Server.Misc
|
|||
|
||||
public abstract class GiftGiver
|
||||
{
|
||||
public virtual TimeSpan MinimumAge{ get{ return TimeSpan.FromDays( 30.0 ); } }
|
||||
public virtual TimeSpan MinimumAge => TimeSpan.FromDays( 30.0 );
|
||||
|
||||
public abstract DateTime Start{ get; }
|
||||
public abstract DateTime Finish{ get; }
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server.Misc
|
|||
public class TestCenter
|
||||
{
|
||||
private const bool m_Enabled = false;
|
||||
public static bool Enabled { get{ return m_Enabled; } }
|
||||
public static bool Enabled => m_Enabled;
|
||||
|
||||
public static void Initialize()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,10 +4,7 @@ namespace Server.Items
|
|||
{
|
||||
public class ResGate : Item
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a resurrection gate"; }
|
||||
}
|
||||
public override string DefaultName => "a resurrection gate";
|
||||
|
||||
[Constructible]
|
||||
public ResGate() : base( 0xF6C )
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ namespace Server.Items
|
|||
{
|
||||
public class AlchemyStone : Item
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "an Alchemist Supply Stone"; }
|
||||
}
|
||||
public override string DefaultName => "an Alchemist Supply Stone";
|
||||
|
||||
[Constructible]
|
||||
public AlchemyStone() : base( 0xED4 )
|
||||
|
|
|
|||
|
|
@ -7,10 +7,7 @@ namespace Server.Items
|
|||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public int GamblePot
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_GamblePot;
|
||||
}
|
||||
get => m_GamblePot;
|
||||
set
|
||||
{
|
||||
m_GamblePot = value;
|
||||
|
|
@ -18,10 +15,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a gambling stone"; }
|
||||
}
|
||||
public override string DefaultName => "a gambling stone";
|
||||
|
||||
[Constructible]
|
||||
public GamblingStone()
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ namespace Server.Items
|
|||
{
|
||||
public class IngotStone : Item
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "an Ingot stone"; }
|
||||
}
|
||||
public override string DefaultName => "an Ingot stone";
|
||||
|
||||
[Constructible]
|
||||
public IngotStone() : base( 0xED4 )
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ namespace Server.Items
|
|||
{
|
||||
public class RegStone : Item
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a reagent stone"; }
|
||||
}
|
||||
public override string DefaultName => "a reagent stone";
|
||||
|
||||
[Constructible]
|
||||
public RegStone() : base( 0xED4 )
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ namespace Server.Items
|
|||
{
|
||||
public class ScribeStone : Item
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a Scribe Supply Stone"; }
|
||||
}
|
||||
public override string DefaultName => "a Scribe Supply Stone";
|
||||
|
||||
[Constructible]
|
||||
public ScribeStone() : base( 0xED4 )
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ namespace Server.Items
|
|||
{
|
||||
public class SmithStone : Item
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a Blacksmith Supply Stone"; }
|
||||
}
|
||||
public override string DefaultName => "a Blacksmith Supply Stone";
|
||||
|
||||
[Constructible]
|
||||
public SmithStone() : base( 0xED4 )
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ namespace Server.Items
|
|||
{
|
||||
public class TailorStone : Item
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a Tailor Supply Stone"; }
|
||||
}
|
||||
public override string DefaultName => "a Tailor Supply Stone";
|
||||
|
||||
[Constructible]
|
||||
public TailorStone() : base( 0xED4 )
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ namespace Server.Items
|
|||
{
|
||||
public class AlchemyBag : Bag
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "an Alchemy Kit"; }
|
||||
}
|
||||
public override string DefaultName => "an Alchemy Kit";
|
||||
|
||||
[Constructible]
|
||||
public AlchemyBag() : this( 1 )
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ namespace Server.Items
|
|||
{
|
||||
public class ScribeBag : Bag
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a Scribe Kit"; }
|
||||
}
|
||||
public override string DefaultName => "a Scribe Kit";
|
||||
|
||||
[Constructible]
|
||||
public ScribeBag() : this( 1 )
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@ namespace Server.Items
|
|||
{
|
||||
public class TailorBag : Bag
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a Tailoring Kit"; }
|
||||
}
|
||||
public override string DefaultName => "a Tailoring Kit";
|
||||
|
||||
[Constructible]
|
||||
public TailorBag() : this( 1 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue