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,10 +6,10 @@ namespace Server.Items
|
|||
{
|
||||
public class AquariumMessage : MessageInABottle
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1073894; } } // Message in a Bottle
|
||||
public override int LabelNumber => 1073894; // Message in a Bottle
|
||||
|
||||
[Constructible]
|
||||
public AquariumMessage() : base()
|
||||
public AquariumMessage()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@ namespace Server.Items
|
|||
{
|
||||
public class CaptainBlackheartsFishingPole : FishingPole
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1074571; } } // Captain Blackheart's Fishing Pole
|
||||
public override int LabelNumber => 1074571; // Captain Blackheart's Fishing Pole
|
||||
|
||||
[Constructible]
|
||||
public CaptainBlackheartsFishingPole() : base()
|
||||
public CaptainBlackheartsFishingPole()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,16 +6,16 @@ namespace Server.Items
|
|||
{
|
||||
public class CraftysFishingHat : BaseHat
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1074572; } } // Crafty's Fishing Hat
|
||||
public override int LabelNumber => 1074572; // Crafty's Fishing Hat
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 0; } }
|
||||
public override int BaseFireResistance{ get{ return 5; } }
|
||||
public override int BaseColdResistance{ get{ return 9; } }
|
||||
public override int BasePoisonResistance{ get{ return 5; } }
|
||||
public override int BaseEnergyResistance{ get{ return 5; } }
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 5;
|
||||
public override int BaseColdResistance => 9;
|
||||
public override int BasePoisonResistance => 5;
|
||||
public override int BaseEnergyResistance => 5;
|
||||
|
||||
public override int InitMinHits{ get{ return 20; } }
|
||||
public override int InitMaxHits{ get{ return 30; } }
|
||||
public override int InitMinHits => 20;
|
||||
public override int InitMaxHits => 30;
|
||||
|
||||
[Constructible]
|
||||
public CraftysFishingHat() : base( 0x1713 )
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ namespace Server.Items
|
|||
{
|
||||
public class FishBones : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1074601; } } // Fish bones
|
||||
public override double DefaultWeight{ get{ return 1.0; } }
|
||||
public override int LabelNumber => 1074601; // Fish bones
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
[Constructible]
|
||||
public FishBones() : base( 0x3B0C )
|
||||
|
|
|
|||
|
|
@ -5,23 +5,23 @@ using Server.Items;
|
|||
namespace Server.Items
|
||||
{
|
||||
public class IslandStatue : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1074600; } } // An island statue
|
||||
public override double DefaultWeight{ get{ return 1.0; } }
|
||||
|
||||
{
|
||||
public override int LabelNumber => 1074600; // An island statue
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
[Constructible]
|
||||
public IslandStatue() : base( 0x3B0F )
|
||||
{
|
||||
}
|
||||
|
||||
public IslandStatue( Serial serial ) : base( serial )
|
||||
{
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void AddNameProperties( ObjectPropertyList list )
|
||||
{
|
||||
base.AddNameProperties( list );
|
||||
|
||||
|
||||
list.Add( 1073634 ); // An aquarium decoration
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ namespace Server.Items
|
|||
{
|
||||
public class Shell : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1074598; } } // A shell
|
||||
public override double DefaultWeight{ get{ return 1.0; } }
|
||||
public override int LabelNumber => 1074598; // A shell
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
[Constructible]
|
||||
public Shell() : base( Utility.RandomList( 0x3B12, 0x3B13 ) )
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ namespace Server.Items
|
|||
[FlippableAttribute( 0x14F3, 0x14F4 )]
|
||||
public class ToyBoat : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1074363; } } // A toy boat
|
||||
public override double DefaultWeight{ get{ return 1.0; } }
|
||||
public override int LabelNumber => 1074363; // A toy boat
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
[Constructible]
|
||||
public ToyBoat() : base( 0x14F4 )
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Items
|
|||
{
|
||||
public class WaterloggedBoots : BaseShoes
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1074364; } } // Waterlogged boots
|
||||
public override int LabelNumber => 1074364; // Waterlogged boots
|
||||
|
||||
[Constructible]
|
||||
public WaterloggedBoots() : base( 0x1711 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue