Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -6,7 +6,7 @@ namespace Server.Items
|
|||
{
|
||||
public abstract class BaseScales : Item, ICommodity
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1053139; } } // dragon scales
|
||||
public override int LabelNumber => 1053139; // dragon scales
|
||||
|
||||
private CraftResource m_Resource;
|
||||
|
||||
|
|
@ -21,7 +21,7 @@ namespace Server.Items
|
|||
{
|
||||
get { return 0.1; }
|
||||
}
|
||||
|
||||
|
||||
int ICommodity.DescriptionNumber { get { return LabelNumber; } }
|
||||
bool ICommodity.IsDeedable { get { return true; } }
|
||||
|
||||
|
|
@ -98,7 +98,7 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class YellowScales : BaseScales
|
||||
|
|
@ -131,7 +131,7 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class BlackScales : BaseScales
|
||||
|
|
@ -164,7 +164,7 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class GreenScales : BaseScales
|
||||
|
|
@ -197,7 +197,7 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class WhiteScales : BaseScales
|
||||
|
|
@ -230,12 +230,12 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class BlueScales : BaseScales
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1053140; } } // sea serpent scales
|
||||
public override int LabelNumber => 1053140; // sea serpent scales
|
||||
|
||||
[Constructible]
|
||||
public BlueScales() : this( 1 )
|
||||
|
|
@ -265,6 +265,6 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Server.Items
|
|||
base.ScissorHelper( from, new RawFishSteak(), Math.Max( 16, (int)Weight ) / 4 , false );
|
||||
}
|
||||
|
||||
public override int LabelNumber{ get{ return 1041112; } } // a big fish
|
||||
public override int LabelNumber => 1041112; // a big fish
|
||||
|
||||
[Constructible]
|
||||
public BigFish() : base( 0x09CC )
|
||||
|
|
@ -76,4 +76,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,10 +64,10 @@ namespace Server.Items
|
|||
|
||||
public class PrizedFish : BaseMagicFish
|
||||
{
|
||||
public override int Bonus{ get{ return 5; } }
|
||||
public override StatType Type{ get{ return StatType.Int; } }
|
||||
public override int Bonus => 5;
|
||||
public override StatType Type => StatType.Int;
|
||||
|
||||
public override int LabelNumber{ get{ return 1041073; } } // prized fish
|
||||
public override int LabelNumber => 1041073; // prized fish
|
||||
|
||||
[Constructible]
|
||||
public PrizedFish() : base( 51 )
|
||||
|
|
@ -98,10 +98,10 @@ namespace Server.Items
|
|||
|
||||
public class WondrousFish : BaseMagicFish
|
||||
{
|
||||
public override int Bonus{ get{ return 5; } }
|
||||
public override StatType Type{ get{ return StatType.Dex; } }
|
||||
public override int Bonus => 5;
|
||||
public override StatType Type => StatType.Dex;
|
||||
|
||||
public override int LabelNumber{ get{ return 1041074; } } // wondrous fish
|
||||
public override int LabelNumber => 1041074; // wondrous fish
|
||||
|
||||
[Constructible]
|
||||
public WondrousFish() : base( 86 )
|
||||
|
|
@ -132,10 +132,10 @@ namespace Server.Items
|
|||
|
||||
public class TrulyRareFish : BaseMagicFish
|
||||
{
|
||||
public override int Bonus{ get{ return 5; } }
|
||||
public override StatType Type{ get{ return StatType.Str; } }
|
||||
public override int Bonus => 5;
|
||||
public override StatType Type => StatType.Str;
|
||||
|
||||
public override int LabelNumber{ get{ return 1041075; } } // truly rare fish
|
||||
public override int LabelNumber => 1041075; // truly rare fish
|
||||
|
||||
[Constructible]
|
||||
public TrulyRareFish() : base( 76 )
|
||||
|
|
@ -166,7 +166,7 @@ namespace Server.Items
|
|||
|
||||
public class PeculiarFish : BaseMagicFish
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1041076; } } // highly peculiar fish
|
||||
public override int LabelNumber => 1041076; // highly peculiar fish
|
||||
|
||||
[Constructible]
|
||||
public PeculiarFish() : base( 66 )
|
||||
|
|
@ -200,4 +200,4 @@ namespace Server.Items
|
|||
Hue = 66;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override int LabelNumber{ get{ return 1044607; } } // high quality granite
|
||||
public override int LabelNumber => 1044607; // high quality granite
|
||||
|
||||
public override void GetProperties( ObjectPropertyList list )
|
||||
{
|
||||
|
|
@ -312,4 +312,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue