Add DefaultName property to Mobiles & Items (#18)
This commit is contained in:
parent
b06f5bf60d
commit
8ee42c8ea2
713 changed files with 5112 additions and 4987 deletions
|
|
@ -9,7 +9,7 @@ namespace Server.Items
|
|||
{
|
||||
public abstract class BaseAddonContainer : BaseContainer, IChopable, IAddon
|
||||
{
|
||||
public override bool DisplayWeight { get { return false; } }
|
||||
public override bool DisplayWeight => false;
|
||||
|
||||
[Hue, CommandProperty( AccessLevel.GameMaster )]
|
||||
public override int Hue
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Items
|
|||
{
|
||||
public class DartBoard : AddonComponent
|
||||
{
|
||||
public override bool NeedsWall{ get{ return true; } }
|
||||
public override bool NeedsWall => true;
|
||||
public override Point3D WallPosition{ get{ return this.East ? new Point3D( -1, 0, 0 ) : new Point3D( 0, -1, 0 ); } }
|
||||
|
||||
public bool East{ get{ return this.ItemID == 0x1E2F; } }
|
||||
|
|
@ -215,4 +215,4 @@ namespace Server.Items
|
|||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Items
|
|||
{
|
||||
public override BaseAddonDeed Deed{ get{ return new GozaMatEastDeed(); } }
|
||||
|
||||
public override bool RetainDeedHue{ get{ return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public GozaMatEastAddon() : this( 0 )
|
||||
|
|
@ -74,7 +74,7 @@ namespace Server.Items
|
|||
{
|
||||
public override BaseAddonDeed Deed{ get{ return new GozaMatSouthDeed(); } }
|
||||
|
||||
public override bool RetainDeedHue{ get{ return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public GozaMatSouthAddon() : this( 0 )
|
||||
|
|
@ -142,7 +142,7 @@ namespace Server.Items
|
|||
public override BaseAddonDeed Deed{ get{ return new SquareGozaMatEastDeed(); } }
|
||||
public override int LabelNumber{ get{ return 1030688; } } // goza mat
|
||||
|
||||
public override bool RetainDeedHue{ get{ return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public SquareGozaMatEastAddon() : this( 0 )
|
||||
|
|
@ -208,7 +208,7 @@ namespace Server.Items
|
|||
{
|
||||
public override BaseAddonDeed Deed{ get{ return new SquareGozaMatSouthDeed(); } }
|
||||
|
||||
public override bool RetainDeedHue{ get{ return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public SquareGozaMatSouthAddon() : this( 0 )
|
||||
|
|
@ -275,7 +275,7 @@ namespace Server.Items
|
|||
{
|
||||
public override BaseAddonDeed Deed{ get{ return new BrocadeGozaMatEastDeed(); } }
|
||||
|
||||
public override bool RetainDeedHue{ get{ return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public BrocadeGozaMatEastAddon() : this( 0 )
|
||||
|
|
@ -341,7 +341,7 @@ namespace Server.Items
|
|||
{
|
||||
public override BaseAddonDeed Deed{ get{ return new BrocadeGozaMatSouthDeed(); } }
|
||||
|
||||
public override bool RetainDeedHue{ get{ return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public BrocadeGozaMatSouthAddon() : this( 0 )
|
||||
|
|
@ -407,7 +407,7 @@ namespace Server.Items
|
|||
{
|
||||
public override BaseAddonDeed Deed{ get{ return new BrocadeSquareGozaMatEastDeed(); } }
|
||||
|
||||
public override bool RetainDeedHue{ get{ return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public BrocadeSquareGozaMatEastAddon() : this( 0 )
|
||||
|
|
@ -473,7 +473,7 @@ namespace Server.Items
|
|||
{
|
||||
public override BaseAddonDeed Deed{ get{ return new BrocadeSquareGozaMatSouthDeed(); } }
|
||||
|
||||
public override bool RetainDeedHue{ get{ return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public BrocadeSquareGozaMatSouthAddon() : this( 0 )
|
||||
|
|
@ -535,4 +535,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Items
|
|||
{
|
||||
public override BaseAddonDeed Deed{ get{ return new LargeStoneTableEastDeed(); } }
|
||||
|
||||
public override bool RetainDeedHue{ get{ return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public LargeStoneTableEastAddon() : this( 0 )
|
||||
|
|
@ -70,4 +70,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Items
|
|||
{
|
||||
public override BaseAddonDeed Deed{ get{ return new LargeStoneTableSouthDeed(); } }
|
||||
|
||||
public override bool RetainDeedHue{ get{ return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public LargeStoneTableSouthAddon() : this( 0 )
|
||||
|
|
@ -70,4 +70,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Items
|
|||
{
|
||||
public override BaseAddonDeed Deed{ get{ return new MediumStoneTableEastDeed(); } }
|
||||
|
||||
public override bool RetainDeedHue{ get{ return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public MediumStoneTableEastAddon() : this( 0 )
|
||||
|
|
@ -69,4 +69,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Items
|
|||
{
|
||||
public override BaseAddonDeed Deed{ get{ return new MediumStoneTableSouthDeed(); } }
|
||||
|
||||
public override bool RetainDeedHue{ get{ return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public MediumStoneTableSouthAddon() : this( 0 )
|
||||
|
|
@ -69,4 +69,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement{ get{ return true; } }
|
||||
public override bool HandlesOnMovement => true;
|
||||
|
||||
private DateTime m_NextMessage;
|
||||
|
||||
|
|
@ -177,4 +177,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ namespace Server.Items
|
|||
if ( map == Map.Trammel || map == Map.Felucca )
|
||||
{
|
||||
from.MoveToWorld( new Point3D( 5922, 2024, 0 ), map );
|
||||
PublicOverheadMessage( MessageType.Regular, 0x3B2, true, String.Format( "* {0} dives into the hole and disappears!*", from.Name ) );
|
||||
PublicOverheadMessage( MessageType.Regular, 0x3B2, true, String.Format( "* {0} dives into the hole and disappears!*", from.Name ) );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -51,8 +51,8 @@ namespace Server.Items
|
|||
|
||||
public class SolenAntHole : BaseAddon
|
||||
{
|
||||
public override bool ShareHue { get { return false; } }
|
||||
public override bool HandlesOnMovement { get { return true; } }
|
||||
public override bool ShareHue => false;
|
||||
public override bool HandlesOnMovement => true;
|
||||
|
||||
private List<Mobile> m_Spawned;
|
||||
|
||||
|
|
@ -77,7 +77,7 @@ namespace Server.Items
|
|||
{
|
||||
if ( !m.Player || !m.Alive || m.Hidden || !SpawnKilled() )
|
||||
return;
|
||||
|
||||
|
||||
if ( Utility.InRange( Location, m.Location, 3 ) && !Utility.InRange( Location, oldLocation, 3 ) )
|
||||
{
|
||||
int count = 1 + Utility.Random( 4 );
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override bool RequireDeepWater { get { return false; } }
|
||||
public override bool RequireDeepWater => false;
|
||||
|
||||
protected override void FinishEffect( Point3D p, Map map, Mobile from )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Server.Items
|
|||
|
||||
public override ArmorMeditationAllowance DefMedAllowance{ get{ return ArmorMeditationAllowance.All; } }
|
||||
|
||||
public override bool AllowMaleWearer{ get{ return false; } }
|
||||
public override bool AllowMaleWearer => false;
|
||||
|
||||
[Constructible]
|
||||
public FemaleLeafChest() : base( 0x2FCB )
|
||||
|
|
@ -51,4 +51,4 @@ namespace Server.Items
|
|||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Server.Items
|
|||
|
||||
public override ArmorMeditationAllowance DefMedAllowance{ get{ return ArmorMeditationAllowance.All; } }
|
||||
|
||||
public override bool AllowMaleWearer{ get{ return false; } }
|
||||
public override bool AllowMaleWearer => false;
|
||||
|
||||
[Constructible]
|
||||
public FemaleLeatherChest() : base( 0x1C06 )
|
||||
|
|
@ -36,17 +36,17 @@ namespace Server.Items
|
|||
public FemaleLeatherChest( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Server.Items
|
|||
|
||||
public override ArmorMeditationAllowance DefMedAllowance{ get{ return ArmorMeditationAllowance.All; } }
|
||||
|
||||
public override bool AllowMaleWearer{ get{ return false; } }
|
||||
public override bool AllowMaleWearer => false;
|
||||
|
||||
[Constructible]
|
||||
public LeatherBustierArms() : base( 0x1C0A )
|
||||
|
|
@ -36,17 +36,17 @@ namespace Server.Items
|
|||
public LeatherBustierArms( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Server.Items
|
|||
|
||||
public override ArmorMeditationAllowance DefMedAllowance{ get{ return ArmorMeditationAllowance.All; } }
|
||||
|
||||
public override bool AllowMaleWearer{ get{ return false; } }
|
||||
public override bool AllowMaleWearer => false;
|
||||
|
||||
[Constructible]
|
||||
public LeatherShorts() : base( 0x1C00 )
|
||||
|
|
@ -36,17 +36,17 @@ namespace Server.Items
|
|||
public LeatherShorts( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Server.Items
|
|||
|
||||
public override ArmorMeditationAllowance DefMedAllowance{ get{ return ArmorMeditationAllowance.All; } }
|
||||
|
||||
public override bool AllowMaleWearer{ get{ return false; } }
|
||||
public override bool AllowMaleWearer => false;
|
||||
|
||||
[Constructible]
|
||||
public LeatherSkirt() : base( 0x1C08 )
|
||||
|
|
@ -36,7 +36,7 @@ namespace Server.Items
|
|||
public LeatherSkirt( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
|
@ -45,11 +45,11 @@ namespace Server.Items
|
|||
if ( Weight == 3.0 )
|
||||
Weight = 1.0;
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Server.Items
|
|||
|
||||
public override int OldDexBonus{ get{ return -5; } }
|
||||
|
||||
public override bool AllowMaleWearer{ get{ return false; } }
|
||||
public override bool AllowMaleWearer => false;
|
||||
|
||||
public override int ArmorBase{ get{ return 30; } }
|
||||
|
||||
|
|
@ -35,13 +35,13 @@ namespace Server.Items
|
|||
public FemalePlateChest( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
@ -51,4 +51,4 @@ namespace Server.Items
|
|||
Weight = 4.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ namespace Server.Items
|
|||
public override int AosStrReq{ get{ return 95; } }
|
||||
public override int OldStrReq{ get{ return 95; } }
|
||||
|
||||
public override bool AllowMaleWearer{ get{ return false; } }
|
||||
public override bool AllowMaleWearer => false;
|
||||
|
||||
public override int ArmorBase{ get{ return 30; } }
|
||||
|
||||
|
|
@ -49,4 +49,4 @@ namespace Server.Items
|
|||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Server.Items
|
|||
|
||||
public override ArmorMeditationAllowance DefMedAllowance{ get{ return ArmorMeditationAllowance.Half; } }
|
||||
|
||||
public override bool AllowMaleWearer{ get{ return false; } }
|
||||
public override bool AllowMaleWearer => false;
|
||||
|
||||
[Constructible]
|
||||
public FemaleStuddedChest() : base( 0x1C02 )
|
||||
|
|
@ -36,13 +36,13 @@ namespace Server.Items
|
|||
public FemaleStuddedChest( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
@ -52,4 +52,4 @@ namespace Server.Items
|
|||
Weight = 6.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ namespace Server.Items
|
|||
|
||||
public override ArmorMeditationAllowance DefMedAllowance{ get{ return ArmorMeditationAllowance.Half; } }
|
||||
|
||||
public override bool AllowMaleWearer{ get{ return false; } }
|
||||
public override bool AllowMaleWearer => false;
|
||||
|
||||
[Constructible]
|
||||
public HideFemaleChest() : base( 0x2B79 )
|
||||
|
|
@ -45,7 +45,7 @@ namespace Server.Items
|
|||
|
||||
writer.WriteEncodedInt( 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
@ -53,4 +53,4 @@ namespace Server.Items
|
|||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Server.Items
|
|||
|
||||
public override ArmorMeditationAllowance DefMedAllowance{ get{ return ArmorMeditationAllowance.Half; } }
|
||||
|
||||
public override bool AllowMaleWearer{ get{ return false; } }
|
||||
public override bool AllowMaleWearer => false;
|
||||
|
||||
[Constructible]
|
||||
public StuddedBustierArms() : base( 0x1C0C )
|
||||
|
|
@ -36,17 +36,17 @@ namespace Server.Items
|
|||
public StuddedBustierArms( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public ANecromancerShroud()
|
||||
|
|
@ -23,14 +23,14 @@ namespace Server.Items
|
|||
public ANecromancerShroud( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public BraveKnightOfTheBritannia()
|
||||
|
|
@ -44,7 +44,7 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public CaptainJohnsHat()
|
||||
|
|
@ -34,14 +34,14 @@ namespace Server.Items
|
|||
public CaptainJohnsHat( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
private int m_Level;
|
||||
|
||||
|
|
@ -31,14 +31,14 @@ namespace Server.Items
|
|||
public DetectiveBoots( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public EmbroideredOakLeafCloak() : base( 0x2684 )
|
||||
|
|
@ -25,14 +25,14 @@ namespace Server.Items
|
|||
public EmbroideredOakLeafCloak( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public GuantletsOfAnger()
|
||||
|
|
@ -31,14 +31,14 @@ namespace Server.Items
|
|||
public GuantletsOfAnger( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public LieutenantOfTheBritannianRoyalGuard()
|
||||
|
|
@ -25,14 +25,14 @@ namespace Server.Items
|
|||
public LieutenantOfTheBritannianRoyalGuard( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public OblivionsNeedle()
|
||||
|
|
@ -33,7 +33,7 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public RoyalGuardSurvivalKnife()
|
||||
|
|
@ -33,7 +33,7 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public SamaritanRobe()
|
||||
|
|
@ -23,14 +23,14 @@ namespace Server.Items
|
|||
public SamaritanRobe( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
public override bool CanBeBlessed{ get{ return false; } }
|
||||
public override bool CanBeBlessed => false;
|
||||
|
||||
[Constructible]
|
||||
public TheMostKnowledgePerson() : base( 0x2684 )
|
||||
|
|
@ -26,14 +26,14 @@ namespace Server.Items
|
|||
public TheMostKnowledgePerson( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public TheRobeOfBritanniaAri() : base( 0x2684 )
|
||||
|
|
@ -24,14 +24,14 @@ namespace Server.Items
|
|||
public TheRobeOfBritanniaAri( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public AcidProofRobe()
|
||||
|
|
@ -24,14 +24,14 @@ namespace Server.Items
|
|||
public AcidProofRobe( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public Calm()
|
||||
|
|
@ -35,7 +35,7 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public CrownOfTalKeesh()
|
||||
|
|
@ -31,14 +31,14 @@ namespace Server.Items
|
|||
public CrownOfTalKeesh( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public FangOfRactus()
|
||||
|
|
@ -36,7 +36,7 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public GladiatorsCollar()
|
||||
|
|
@ -32,14 +32,14 @@ namespace Server.Items
|
|||
public GladiatorsCollar( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public OrcChieftainHelm()
|
||||
|
|
@ -42,7 +42,7 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public Pacify()
|
||||
|
|
@ -36,7 +36,7 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public Quell()
|
||||
|
|
@ -36,7 +36,7 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public ShroudOfDeciet()
|
||||
|
|
@ -41,7 +41,7 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Items
|
|||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
public override bool CanFortify => false;
|
||||
|
||||
[Constructible]
|
||||
public Subdue()
|
||||
|
|
@ -36,7 +36,7 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
|
|||
|
|
@ -616,7 +616,7 @@ namespace Server.Items
|
|||
StrRequirement = 0;
|
||||
}
|
||||
public override int LabelNumber{ get{ return 1076584; } } // A monk's robe
|
||||
public override bool CanBeBlessed { get { return false; } }
|
||||
public override bool CanBeBlessed => false;
|
||||
public override bool Dye( Mobile from, DyeTub sender )
|
||||
{
|
||||
from.SendLocalizedMessage( sender.FailMessage );
|
||||
|
|
@ -756,7 +756,7 @@ namespace Server.Items
|
|||
Weight = 3.0;
|
||||
}
|
||||
|
||||
public override bool AllowFemaleWearer{ get{ return false; } }
|
||||
public override bool AllowFemaleWearer => false;
|
||||
|
||||
public MaleKimono( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -791,7 +791,7 @@ namespace Server.Items
|
|||
Weight = 3.0;
|
||||
}
|
||||
|
||||
public override bool AllowMaleWearer{ get{ return false; } }
|
||||
public override bool AllowMaleWearer => false;
|
||||
|
||||
public FemaleKimono( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -862,7 +862,7 @@ namespace Server.Items
|
|||
Weight = 2.0;
|
||||
}
|
||||
|
||||
public override bool AllowMaleWearer{ get{ return false; } }
|
||||
public override bool AllowMaleWearer => false;
|
||||
|
||||
public FemaleElvenRobe( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -882,4 +882,4 @@ namespace Server.Items
|
|||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement{ get{ return true; } } // Tell the core that we implement OnMovement
|
||||
public override bool HandlesOnMovement => true; // Tell the core that we implement OnMovement
|
||||
|
||||
public override void OnMovement( Mobile m, Point3D oldLocation )
|
||||
{
|
||||
|
|
@ -219,7 +219,7 @@ namespace Server.Items
|
|||
m_Item.Delete();
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement{ get{ return true; } } // Tell the core that we implement OnMovement
|
||||
public override bool HandlesOnMovement => true; // Tell the core that we implement OnMovement
|
||||
|
||||
public override void OnMovement( Mobile m, Point3D oldLocation )
|
||||
{
|
||||
|
|
@ -288,7 +288,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement{ get{ return true; } } // Tell the core that we implement OnMovement
|
||||
public override bool HandlesOnMovement => true; // Tell the core that we implement OnMovement
|
||||
|
||||
public override void OnMovement( Mobile m, Point3D oldLocation )
|
||||
{
|
||||
|
|
@ -389,7 +389,7 @@ namespace Server.Items
|
|||
m_Item.Delete();
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement{ get{ return true; } } // Tell the core that we implement OnMovement
|
||||
public override bool HandlesOnMovement => true; // Tell the core that we implement OnMovement
|
||||
|
||||
public override void OnMovement( Mobile m, Point3D oldLocation )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Items
|
|||
{
|
||||
public class PortcullisNS : BaseDoor
|
||||
{
|
||||
public override bool UseChainedFunctionality{ get{ return true; } }
|
||||
public override bool UseChainedFunctionality => true;
|
||||
|
||||
[Constructible]
|
||||
public PortcullisNS() : base( 0x6F5, 0x6F5, 0xF0, 0xEF, new Point3D( 0, 0, 20 ) )
|
||||
|
|
@ -32,7 +32,7 @@ namespace Server.Items
|
|||
|
||||
public class PortcullisEW : BaseDoor
|
||||
{
|
||||
public override bool UseChainedFunctionality{ get{ return true; } }
|
||||
public override bool UseChainedFunctionality => true;
|
||||
|
||||
[Constructible]
|
||||
public PortcullisEW() : base( 0x6F6, 0x6F6, 0xF0, 0xEF, new Point3D( 0, 0, 20 ) )
|
||||
|
|
@ -57,4 +57,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,325 +1,325 @@
|
|||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class StatueSouth : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueSouth() : base(0x139A)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueSouth(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatueSouth2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueSouth2() : base(0x1227)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueSouth2(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatueNorth : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueNorth() : base(0x139B)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueNorth(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatueWest : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueWest() : base(0x1226)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueWest(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatueEast : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueEast() : base(0x139C)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueEast(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatueEast2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueEast2() : base(0x1224)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueEast2(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatueSouthEast : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueSouthEast() : base(0x1225)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueSouthEast(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class BustSouth : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BustSouth() : base(0x12CB)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public BustSouth(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class StatueSouth : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueSouth() : base(0x139A)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueSouth(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatueSouth2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueSouth2() : base(0x1227)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueSouth2(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatueNorth : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueNorth() : base(0x139B)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueNorth(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatueWest : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueWest() : base(0x1226)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueWest(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatueEast : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueEast() : base(0x139C)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueEast(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatueEast2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueEast2() : base(0x1224)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueEast2(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatueSouthEast : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatueSouthEast() : base(0x1225)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatueSouthEast(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class BustSouth : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BustSouth() : base(0x12CB)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public BustSouth(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class BustEast : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BustEast() : base(0x12CA)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public BustEast(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class BustEast : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BustEast() : base(0x12CA)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public BustEast(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatuePegasus : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatuePegasus() : base(0x139D)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatuePegasus(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatuePegasus : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatuePegasus() : base(0x139D)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatuePegasus(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatuePegasus2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatuePegasus2() : base(0x1228)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatuePegasus2(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StatuePegasus2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StatuePegasus2() : base(0x1228)
|
||||
{
|
||||
Weight = 10;
|
||||
}
|
||||
|
||||
public StatuePegasus2(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
writer.Write((int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class SmallTowerSculpture : Item
|
||||
{
|
||||
|
|
@ -347,4 +347,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
@ -39,4 +39,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -274,7 +274,7 @@ namespace Server.Items
|
|||
[Flippable( 0xA97, 0xA99, 0xA98, 0xA9A, 0xA9B, 0xA9C )]
|
||||
public class LibraryBookcase : FillableContainer
|
||||
{
|
||||
public override bool IsLockable { get { return false; } }
|
||||
public override bool IsLockable => false;
|
||||
public override int SpawnThreshold { get { return 5; } }
|
||||
|
||||
protected override int GetSpawnCount()
|
||||
|
|
@ -447,7 +447,7 @@ namespace Server.Items
|
|||
|
||||
public class FillableBarrel : FillableContainer
|
||||
{
|
||||
public override bool IsLockable { get { return false; } }
|
||||
public override bool IsLockable => false;
|
||||
|
||||
[Constructible]
|
||||
public FillableBarrel()
|
||||
|
|
@ -1526,4 +1526,4 @@ namespace Server.Items
|
|||
return content;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -267,7 +267,7 @@ namespace Server.Items
|
|||
return true;
|
||||
}
|
||||
|
||||
public override bool DisplaysContent{ get{ return !m_Locked; } }
|
||||
public override bool DisplaysContent => !m_Locked;
|
||||
|
||||
public virtual bool CheckLocked( Mobile from )
|
||||
{
|
||||
|
|
@ -410,4 +410,4 @@ namespace Server.Items
|
|||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Items
|
|||
{
|
||||
public abstract int ArtifactRarity{ get; }
|
||||
|
||||
public override bool ForceShowProperties{ get{ return true; } }
|
||||
public override bool ForceShowProperties => true;
|
||||
|
||||
public BaseDecorationArtifact( int itemID ) : base( itemID )
|
||||
{
|
||||
|
|
@ -44,7 +44,7 @@ namespace Server.Items
|
|||
{
|
||||
public abstract int ArtifactRarity{ get; }
|
||||
|
||||
public override bool ForceShowProperties{ get{ return true; } }
|
||||
public override bool ForceShowProperties => true;
|
||||
|
||||
public BaseDecorationContainerArtifact( int itemID ) : base( itemID )
|
||||
{
|
||||
|
|
@ -76,4 +76,4 @@ namespace Server.Items
|
|||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public override bool DisplayLootType{ get{ return false; } }
|
||||
public override bool DisplayLootType => false;
|
||||
|
||||
public override void OnDoubleClick( Mobile from ) // Override double click of the deed to call our target
|
||||
{
|
||||
|
|
@ -107,6 +107,6 @@ namespace Server.Items
|
|||
from.SendLocalizedMessage( 1005018 ); // What would you like to bless? (Clothes Only)
|
||||
from.Target = new ClothingBlessTarget( this ); // Call our target
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ namespace Server.Items
|
|||
list.Add( 1041492 ); // This is half a prize ticket! Double-click this ticket and target any other ticket marked NEW PLAYER and get a prize! This ticket will only work for YOU, so don't give it away!
|
||||
}
|
||||
|
||||
public override bool DisplayLootType{ get{ return false; } }
|
||||
public override bool DisplayLootType => false;
|
||||
|
||||
public NewPlayerTicket( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -195,4 +195,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override bool DisplayLootType{ get{ return false; } }
|
||||
public override bool DisplayLootType => false;
|
||||
|
||||
public override bool VerifyMove( Mobile from )
|
||||
{
|
||||
|
|
@ -69,12 +69,12 @@ namespace Server.Items
|
|||
|
||||
public class GenericBeard : Beard
|
||||
{
|
||||
|
||||
|
||||
private GenericBeard( int itemID ) : this( itemID, 0 )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
private GenericBeard( int itemID, int hue ) : base( itemID, hue )
|
||||
{
|
||||
}
|
||||
|
|
@ -327,4 +327,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Items
|
|||
public abstract class Hair : Item
|
||||
{
|
||||
/*
|
||||
|
||||
|
||||
public static Hair GetRandomHair( bool female )
|
||||
{
|
||||
return GetRandomHair( female, Utility.RandomHairHue() );
|
||||
|
|
@ -82,7 +82,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override bool DisplayLootType { get { return false; } }
|
||||
public override bool DisplayLootType => false;
|
||||
|
||||
public override bool VerifyMove( Mobile from )
|
||||
{
|
||||
|
|
@ -488,4 +488,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ namespace Server.Items
|
|||
{
|
||||
public override int BaseLabelNumber { get { return 1042959; } } // a bottle of Ale
|
||||
public override int MaxQuantity { get { return 5; } }
|
||||
public override bool Fillable { get { return false; } }
|
||||
public override bool Fillable => false;
|
||||
|
||||
public override int ComputeItemID()
|
||||
{
|
||||
|
|
@ -115,7 +115,7 @@ namespace Server.Items
|
|||
{
|
||||
public override int BaseLabelNumber { get { return 1042965; } } // a jug of Ale
|
||||
public override int MaxQuantity { get { return 10; } }
|
||||
public override bool Fillable { get { return false; } }
|
||||
public override bool Fillable => false;
|
||||
|
||||
public override int ComputeItemID()
|
||||
{
|
||||
|
|
@ -1026,7 +1026,7 @@ namespace Server.Items
|
|||
else if( targ is BaseWaterContainer )
|
||||
{
|
||||
BaseWaterContainer bwc = targ as BaseWaterContainer;
|
||||
|
||||
|
||||
if( Content != BeverageType.Water )
|
||||
{
|
||||
from.SendLocalizedMessage( 500842 ); // Can't pour that in there.
|
||||
|
|
@ -1036,7 +1036,7 @@ namespace Server.Items
|
|||
from.SendLocalizedMessage( 500841 ); // That has something in it.
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
int itNeeds = Math.Min( ( bwc.MaxQuantity - bwc.Quantity ), Quantity );
|
||||
|
||||
if( itNeeds > 0 )
|
||||
|
|
@ -1230,4 +1230,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,9 +47,9 @@ namespace Server.Items
|
|||
piece.Location = new Point3D( x, y, 0 );
|
||||
}
|
||||
|
||||
public override bool DisplaysContent{ get{ return false; } } // Do not display (x items, y stones)
|
||||
public override bool DisplaysContent => false; // Do not display (x items, y stones)
|
||||
|
||||
public override bool IsDecoContainer{ get{ return false; } }
|
||||
public override bool IsDecoContainer => false;
|
||||
|
||||
public BaseBoard( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -166,4 +166,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace Server.Items
|
|||
set { m_Board = value; }
|
||||
}
|
||||
|
||||
public override bool IsVirtualItem{ get{ return true; } }
|
||||
public override bool IsVirtualItem => true;
|
||||
|
||||
public BasePiece( int itemID, BaseBoard board ) : base( itemID )
|
||||
{
|
||||
|
|
@ -80,7 +80,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
public override bool CanTarget{ get{ return false; } }
|
||||
public override bool CanTarget => false;
|
||||
|
||||
public override bool DropToMobile( Mobile from, Mobile target, Point3D p )
|
||||
{
|
||||
|
|
@ -102,4 +102,4 @@ namespace Server.Items
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override bool DisplayLootType{ get{ return false; } }
|
||||
public override bool DisplayLootType => false;
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
|
|
@ -102,4 +102,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Items
|
|||
public class BloodwoodSpirit : BaseTalisman
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075034; } } // Bloodwood Spirit
|
||||
public override bool ForceShowName{ get{ return true; } }
|
||||
public override bool ForceShowName => true;
|
||||
|
||||
[Constructible]
|
||||
public BloodwoodSpirit() : base( 0x2F5A )
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Items
|
|||
public class TotemOfVoid : BaseTalisman
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075035; } } // Totem of the Void
|
||||
public override bool ForceShowName{ get{ return true; } }
|
||||
public override bool ForceShowName => true;
|
||||
|
||||
[Constructible]
|
||||
public TotemOfVoid() : base( 0x2F5B )
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Server.Items
|
|||
LootType = LootType.Regular;
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
public PhillipsWoodenSteed( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -23,7 +23,7 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
|
@ -31,4 +31,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ namespace Server.Items
|
|||
m_Worth = worth;
|
||||
}
|
||||
|
||||
public override bool DisplayLootType{ get{ return Core.AOS; } }
|
||||
public override bool DisplayLootType => Core.AOS;
|
||||
|
||||
public override int LabelNumber{ get{ return 1041361; } } // A bank check
|
||||
|
||||
|
|
|
|||
|
|
@ -265,7 +265,7 @@ namespace Server.Items
|
|||
set{ m_TimeOfDeath = value; }
|
||||
}
|
||||
|
||||
public override bool DisplayWeight { get { return false; } }
|
||||
public override bool DisplayWeight => false;
|
||||
|
||||
public HairInfo Hair { get { return m_Hair; } }
|
||||
public FacialHairInfo FacialHair { get { return m_FacialHair; } }
|
||||
|
|
@ -528,7 +528,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
// Why was this public?
|
||||
// public override bool IsPublicContainer{ get{ return true; } }
|
||||
// public override bool IsPublicContainer => true;
|
||||
|
||||
public Corpse( Mobile owner, List<Item> equipItems ) : this( owner, null, null, equipItems )
|
||||
{
|
||||
|
|
@ -1209,7 +1209,7 @@ namespace Server.Items
|
|||
return false;
|
||||
}
|
||||
|
||||
public override bool DisplaysContent{ get{ return false; } }
|
||||
public override bool DisplaysContent => false;
|
||||
|
||||
public override void AddNameProperty( ObjectPropertyList list )
|
||||
{
|
||||
|
|
@ -1302,4 +1302,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
// Do not display (x items, y stones)
|
||||
public override bool DisplaysContent{ get{ return false; } }
|
||||
public override bool DisplaysContent => false;
|
||||
|
||||
public override void AddNameProperty( ObjectPropertyList list )
|
||||
{
|
||||
|
|
@ -112,4 +112,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ namespace Server.Items
|
|||
#endregion
|
||||
|
||||
#region Random Critters
|
||||
typeof( Sewerrat ), typeof( GiantRat ), typeof( DireWolf ), typeof( TimberWolf ),
|
||||
typeof( SewerRat ), typeof( GiantRat ), typeof( DireWolf ), typeof( TimberWolf ),
|
||||
typeof( Cougar ), typeof( Alligator )
|
||||
#endregion
|
||||
};
|
||||
|
|
@ -89,7 +89,7 @@ namespace Server.Items
|
|||
[Constructible]
|
||||
public DeceitBrazier() : base( 0xE31 )
|
||||
{
|
||||
Movable = false;
|
||||
Movable = false;
|
||||
Light = LightType.Circle225;
|
||||
m_NextSpawn = DateTime.UtcNow;
|
||||
m_NextSpawnDelay = TimeSpan.FromMinutes( 15.0 );
|
||||
|
|
@ -130,7 +130,7 @@ namespace Server.Items
|
|||
PublicOverheadMessage( MessageType.Regular, 0x3B2, 500761 );// Heed this warning well, and use this brazier at your own peril.
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement { get { return true; } }
|
||||
public override bool HandlesOnMovement => true;
|
||||
|
||||
public override void OnMovement( Mobile m, Point3D oldLocation )
|
||||
{
|
||||
|
|
@ -223,4 +223,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ namespace Server.Items
|
|||
DoEffect( from );
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement{ get{ return ( m_TriggerType == EffectTriggerType.InRange ); } }
|
||||
public override bool HandlesOnMovement => ( m_TriggerType == EffectTriggerType.InRange );
|
||||
|
||||
public override void OnMovement( Mobile m, Point3D oldLocation )
|
||||
{
|
||||
|
|
@ -336,4 +336,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement{ get{ return true; } }
|
||||
public override bool HandlesOnMovement => true;
|
||||
|
||||
public override void OnMovement( Mobile m, Point3D oldLocation )
|
||||
{
|
||||
|
|
@ -143,4 +143,4 @@ namespace Server.Items
|
|||
Timer.DelayCall( TimeSpan.Zero, new TimerCallback( Refresh ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ namespace Server.Items
|
|||
AddComponent( new ControlPanel( sideLength ), 1, 0, -2 );
|
||||
}
|
||||
|
||||
public override bool ShareHue{ get{ return false; } }
|
||||
public override bool ShareHue => false;
|
||||
|
||||
private void AddGeneratorComponent( int itemID, int x, int y, int z )
|
||||
{
|
||||
|
|
@ -568,4 +568,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Items
|
|||
public class ShimmeringCrystals : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075095; } } // Shimmering Crystals
|
||||
public override bool ForceShowProperties{ get{ return true; } }
|
||||
public override bool ForceShowProperties => true;
|
||||
|
||||
private static readonly int[] m_ItemIDs = new int[]
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Server.Items
|
|||
{
|
||||
public class PublicMoongate : Item
|
||||
{
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
[Constructible]
|
||||
public PublicMoongate() : base( 0xF6C )
|
||||
|
|
@ -44,7 +44,7 @@ namespace Server.Items
|
|||
return true;
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement{ get{ return true; } }
|
||||
public override bool HandlesOnMovement => true;
|
||||
|
||||
public override void OnMovement( Mobile m, Point3D oldLocation )
|
||||
{
|
||||
|
|
@ -467,4 +467,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ namespace Server.Items
|
|||
m_Destination = destination;
|
||||
}
|
||||
|
||||
public override bool HandlesOnSpeech{ get{ return true; } }
|
||||
public override bool HandlesOnSpeech => true;
|
||||
|
||||
public override void OnSpeech( SpeechEventArgs e )
|
||||
{
|
||||
|
|
@ -123,4 +123,4 @@ namespace Server.Items
|
|||
m_Destination = reader.ReadRect2D();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -448,7 +448,7 @@ namespace Server.Items
|
|||
set { m_Range = value; InvalidateProperties(); }
|
||||
}
|
||||
|
||||
public override bool HandlesOnSpeech { get { return true; } }
|
||||
public override bool HandlesOnSpeech => true;
|
||||
|
||||
public override void OnSpeech(SpeechEventArgs e)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Items
|
|||
public class TaintedMushroom : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075088; } } // Dread Horn Tainted Mushroom
|
||||
public override bool ForceShowProperties{ get{ return true; } }
|
||||
public override bool ForceShowProperties => true;
|
||||
|
||||
[Constructible]
|
||||
public TaintedMushroom() : base( Utility.RandomMinMax( 0x222E, 0x2231 ) )
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ namespace Server.Items
|
|||
m_Broadcasting = false;
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement{ get{ return true; } }
|
||||
public override bool HandlesOnMovement => true;
|
||||
|
||||
public override void OnMovement( Mobile m, Point3D oldLocation )
|
||||
{
|
||||
|
|
@ -188,7 +188,7 @@ namespace Server.Items
|
|||
set{ m_HintNumber = value; }
|
||||
}
|
||||
|
||||
public override bool OnlyToTriggerer{ get{ return true; } }
|
||||
public override bool OnlyToTriggerer => true;
|
||||
|
||||
[Constructible]
|
||||
public HintItem( int itemID, int range, int warning, int hint ) : base( itemID, range, warning )
|
||||
|
|
@ -239,4 +239,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ namespace Server.Items
|
|||
get{ return m_Sounds; }
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement{ get{ return m_TurnedOn && IsLockedDown; } }
|
||||
public override bool HandlesOnMovement => m_TurnedOn && IsLockedDown;
|
||||
|
||||
public override void OnMovement( Mobile m, Point3D oldLocation )
|
||||
{
|
||||
|
|
@ -186,4 +186,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace Server.Items
|
|||
StartRechargeTimer();
|
||||
}
|
||||
|
||||
public override bool BreakOnDepletion { get { return false; } }
|
||||
public override bool BreakOnDepletion => false;
|
||||
/* Note:
|
||||
* On EA, it also leaves the crafting gump open when it reaches 0 charges.
|
||||
* When crafting again, only then the crafting gump closes with the 1072306 system message.
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace Server.Items
|
|||
public abstract int MinDamage{ get; }
|
||||
public abstract int MaxDamage{ get; }
|
||||
|
||||
public override bool RequireFreeHand{ get{ return false; } }
|
||||
public override bool RequireFreeHand => false;
|
||||
|
||||
public BaseConflagrationPotion( PotionEffect effect ) : base( 0xF06, effect )
|
||||
{
|
||||
|
|
@ -82,7 +82,7 @@ namespace Server.Items
|
|||
return;
|
||||
|
||||
Consume();
|
||||
|
||||
|
||||
// Check if any other players are using this potion
|
||||
for ( int i = 0; i < m_Users.Count; i ++ )
|
||||
{
|
||||
|
|
@ -117,7 +117,7 @@ namespace Server.Items
|
|||
if ( timer != null )
|
||||
timer.Stop();
|
||||
|
||||
m_Delay[ m ] = Timer.DelayCall( TimeSpan.FromSeconds( 30 ), new TimerStateCallback( EndDelay_Callback ), m );
|
||||
m_Delay[ m ] = Timer.DelayCall( TimeSpan.FromSeconds( 30 ), new TimerStateCallback( EndDelay_Callback ), m );
|
||||
}
|
||||
|
||||
public static int GetDelay( Mobile m )
|
||||
|
|
@ -166,7 +166,7 @@ namespace Server.Items
|
|||
{
|
||||
if ( m_Potion.Deleted || m_Potion.Map == Map.Internal )
|
||||
return;
|
||||
|
||||
|
||||
IPoint3D p = targeted as IPoint3D;
|
||||
|
||||
if ( p == null || from.Map == null )
|
||||
|
|
@ -201,7 +201,7 @@ namespace Server.Items
|
|||
|
||||
public Mobile From{ get{ return m_From; } }
|
||||
|
||||
public override bool BlocksFit{ get{ return true; } }
|
||||
public override bool BlocksFit => true;
|
||||
|
||||
public InternalItem( Mobile from, Point3D loc, Map map, int min, int max ) : base( 0x398C )
|
||||
{
|
||||
|
|
@ -269,7 +269,7 @@ namespace Server.Items
|
|||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
|
||||
m_From = reader.ReadMobile();
|
||||
m_End = reader.ReadDateTime();
|
||||
m_MinDamage = reader.ReadInt();
|
||||
|
|
@ -321,7 +321,7 @@ namespace Server.Items
|
|||
|
||||
if ( m_Item.Map == null || from == null )
|
||||
return;
|
||||
|
||||
|
||||
List<Mobile> mobiles = new List<Mobile>();
|
||||
|
||||
foreach( Mobile mobile in m_Item.GetMobilesInRange( 0 ) )
|
||||
|
|
@ -330,15 +330,15 @@ namespace Server.Items
|
|||
for( int i = 0; i < mobiles.Count; i++ )
|
||||
{
|
||||
Mobile m = mobiles[i];
|
||||
|
||||
|
||||
if ( (m.Z + 16) > m_Item.Z && (m_Item.Z + 12) > m.Z && (!Core.AOS || m != from) && SpellHelper.ValidIndirectTarget( from, m ) && from.CanBeHarmful( m, false ) )
|
||||
{
|
||||
if ( from != null )
|
||||
from.DoHarmful( m );
|
||||
|
||||
|
||||
AOS.Damage( m, from, m_Item.GetDamage(), 0, 100, 0, 0, 0 );
|
||||
m.PlaySound( 0x208 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ namespace Server.Items
|
|||
{
|
||||
public abstract int Radius{ get; }
|
||||
|
||||
public override bool RequireFreeHand{ get{ return false; } }
|
||||
public override bool RequireFreeHand => false;
|
||||
|
||||
public BaseConfusionBlastPotion( PotionEffect effect ) : base( 0xF06, effect )
|
||||
{
|
||||
|
|
@ -120,11 +120,11 @@ namespace Server.Items
|
|||
if ( map.CanFit( p, 12, true, false ) )
|
||||
Effects.SendLocationEffect( p, map, 0x376A, 4, 9 );
|
||||
}
|
||||
|
||||
|
||||
public void CircleEffect2( object state )
|
||||
{
|
||||
object[] states = (object[]) state;
|
||||
|
||||
|
||||
Geometry.Circle2D( (Point3D)states[0], (Map)states[1], Radius, new DoEffect_Callback( BlastEffect ), 90, 270 );
|
||||
}
|
||||
#endregion
|
||||
|
|
@ -139,7 +139,7 @@ namespace Server.Items
|
|||
if ( timer != null )
|
||||
timer.Stop();
|
||||
|
||||
m_Delay[ m ] = Timer.DelayCall( TimeSpan.FromSeconds( 60 ), new TimerStateCallback( EndDelay_Callback ), m );
|
||||
m_Delay[ m ] = Timer.DelayCall( TimeSpan.FromSeconds( 60 ), new TimerStateCallback( EndDelay_Callback ), m );
|
||||
}
|
||||
|
||||
public static int GetDelay( Mobile m )
|
||||
|
|
@ -168,7 +168,7 @@ namespace Server.Items
|
|||
m_Delay.Remove( m );
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
private class ThrowTarget : Target
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace Server.Items
|
|||
public abstract int MinDamage { get; }
|
||||
public abstract int MaxDamage { get; }
|
||||
|
||||
public override bool RequireFreeHand{ get{ return false; } }
|
||||
public override bool RequireFreeHand => false;
|
||||
|
||||
private static bool LeveledExplosion = false; // Should explosion potions explode other nearby potions?
|
||||
private static bool InstantExplosion = false; // Should explosion potions explode on impact?
|
||||
|
|
@ -207,7 +207,7 @@ namespace Server.Items
|
|||
|
||||
if( p is Mobile )
|
||||
{
|
||||
if( !RelativeLocation ) // explosion location = current mob location.
|
||||
if( !RelativeLocation ) // explosion location = current mob location.
|
||||
p = ((Mobile)p).Location;
|
||||
else
|
||||
to = (Mobile)p;
|
||||
|
|
@ -287,7 +287,7 @@ namespace Server.Items
|
|||
from.DoHarmful( m );
|
||||
|
||||
int damage = Utility.RandomMinMax( min, max );
|
||||
|
||||
|
||||
damage += alchemyBonus;
|
||||
|
||||
if ( !Core.AOS && damage > 40 )
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ namespace Server.Items
|
|||
public static readonly TimeSpan UseDelay = TimeSpan.FromSeconds( 7.0 );
|
||||
|
||||
private BookQuality m_Quality;
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public BookQuality Quality
|
||||
{
|
||||
get{ return m_Quality; }
|
||||
|
|
@ -30,9 +30,9 @@ namespace Server.Items
|
|||
private int m_DefaultIndex;
|
||||
private SecureLevel m_Level;
|
||||
private Mobile m_Crafter;
|
||||
|
||||
|
||||
private DateTime m_NextUse;
|
||||
|
||||
|
||||
private List<Mobile> m_Openers = new List<Mobile>();
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
|
|
@ -95,7 +95,7 @@ namespace Server.Items
|
|||
m_MaxCharges = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public List<Mobile> Openers
|
||||
{
|
||||
get
|
||||
|
|
@ -180,7 +180,7 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 3 );
|
||||
|
||||
writer.Write( (byte) m_Quality );
|
||||
writer.Write( (byte) m_Quality );
|
||||
|
||||
writer.Write( m_Crafter );
|
||||
|
||||
|
|
@ -212,7 +212,7 @@ namespace Server.Items
|
|||
{
|
||||
case 3:
|
||||
{
|
||||
m_Quality = (BookQuality) reader.ReadByte();
|
||||
m_Quality = (BookQuality) reader.ReadByte();
|
||||
goto case 2;
|
||||
}
|
||||
case 2:
|
||||
|
|
@ -283,7 +283,7 @@ namespace Server.Items
|
|||
return false;
|
||||
}
|
||||
|
||||
public override bool DisplayLootType{ get{ return Core.AOS; } }
|
||||
public override bool DisplayLootType => Core.AOS;
|
||||
|
||||
public override void GetProperties( ObjectPropertyList list )
|
||||
{
|
||||
|
|
@ -298,7 +298,7 @@ namespace Server.Items
|
|||
if ( m_Description != null && m_Description.Length > 0 )
|
||||
list.Add( m_Description );
|
||||
}
|
||||
|
||||
|
||||
public override bool OnDragLift( Mobile from )
|
||||
{
|
||||
if ( from.HasGump( typeof( RunebookGump ) ) )
|
||||
|
|
@ -306,13 +306,13 @@ namespace Server.Items
|
|||
from.SendLocalizedMessage( 500169 ); // You cannot pick that up.
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
foreach ( Mobile m in m_Openers )
|
||||
if ( IsOpen( m ) )
|
||||
m.CloseGump( typeof( RunebookGump ) );
|
||||
|
||||
|
||||
m_Openers.Clear();
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -345,7 +345,7 @@ namespace Server.Items
|
|||
|
||||
from.CloseGump( typeof( RunebookGump ) );
|
||||
from.SendGump( new RunebookGump( from, this ) );
|
||||
|
||||
|
||||
m_Openers.Add( from );
|
||||
}
|
||||
}
|
||||
|
|
@ -555,4 +555,4 @@ namespace Server.Items
|
|||
writer.Write( m_Description );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,15 +31,15 @@ namespace Server.Items
|
|||
{
|
||||
private string m_EngravedText;
|
||||
private BookQuality m_Quality;
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public string EngravedText
|
||||
{
|
||||
get{ return m_EngravedText; }
|
||||
set{ m_EngravedText = value; InvalidateProperties(); }
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public BookQuality Quality
|
||||
{
|
||||
get{ return m_Quality; }
|
||||
|
|
@ -135,7 +135,7 @@ namespace Server.Items
|
|||
else
|
||||
{
|
||||
Spell spell = SpellRegistry.NewSpell( spellID, from, null );
|
||||
|
||||
|
||||
if ( spell != null )
|
||||
spell.Cast();
|
||||
else
|
||||
|
|
@ -299,7 +299,7 @@ namespace Server.Items
|
|||
return ( book.SpellbookType == type && ( spellID == -1 || book.HasSpell( spellID ) ) );
|
||||
}
|
||||
|
||||
public override bool DisplayWeight { get { return false; } }
|
||||
public override bool DisplayWeight => false;
|
||||
|
||||
private AosAttributes m_AosAttributes;
|
||||
private AosSkillBonuses m_AosSkillBonuses;
|
||||
|
|
@ -582,21 +582,21 @@ namespace Server.Items
|
|||
set{ m_Crafter = value; InvalidateProperties(); }
|
||||
}
|
||||
|
||||
public override bool DisplayLootType{ get{ return Core.AOS; } }
|
||||
public override bool DisplayLootType => Core.AOS;
|
||||
|
||||
public override void GetProperties( ObjectPropertyList list )
|
||||
{
|
||||
base.GetProperties( list );
|
||||
|
||||
|
||||
if ( m_Quality == BookQuality.Exceptional )
|
||||
list.Add( 1063341 ); // exceptional
|
||||
|
||||
|
||||
if ( m_EngravedText != null )
|
||||
list.Add( 1072305, m_EngravedText ); // Engraved: ~1_INSCRIPTION~
|
||||
|
||||
if ( m_Crafter != null )
|
||||
list.Add( 1050043, m_Crafter.Name ); // crafted by ~1_NAME~
|
||||
|
||||
|
||||
m_AosSkillBonuses.GetProperties( list );
|
||||
|
||||
if( m_Slayer != SlayerName.None )
|
||||
|
|
@ -735,9 +735,9 @@ namespace Server.Items
|
|||
|
||||
writer.Write( (int) 5 ); // version
|
||||
|
||||
writer.Write( (byte) m_Quality );
|
||||
|
||||
writer.Write( (string) m_EngravedText );
|
||||
writer.Write( (byte) m_Quality );
|
||||
|
||||
writer.Write( (string) m_EngravedText );
|
||||
|
||||
writer.Write( m_Crafter );
|
||||
|
||||
|
|
@ -761,13 +761,13 @@ namespace Server.Items
|
|||
{
|
||||
case 5:
|
||||
{
|
||||
m_Quality = (BookQuality) reader.ReadByte();
|
||||
m_Quality = (BookQuality) reader.ReadByte();
|
||||
|
||||
goto case 4;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
m_EngravedText = reader.ReadString();
|
||||
m_EngravedText = reader.ReadString();
|
||||
|
||||
goto case 3;
|
||||
}
|
||||
|
|
@ -917,4 +917,4 @@ namespace Server.Items
|
|||
return quality;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,9 +64,9 @@ namespace Server.Items
|
|||
Fletching
|
||||
}
|
||||
|
||||
public override bool DisplayLootType { get { return false; } }
|
||||
public override bool DisplayLootType => false;
|
||||
|
||||
private RepairSkillType m_Skill;
|
||||
private RepairSkillType m_Skill;
|
||||
private double m_SkillLevel;
|
||||
|
||||
private Mobile m_Crafter;
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ namespace Server.Items
|
|||
{
|
||||
public class FurnitureDyeTub : DyeTub, Engines.VeteranRewards.IRewardItem
|
||||
{
|
||||
public override bool AllowDyables{ get{ return false; } }
|
||||
public override bool AllowFurniture{ get{ return true; } }
|
||||
public override bool AllowDyables => false;
|
||||
public override bool AllowFurniture => true;
|
||||
public override int TargetMessage{ get{ return 501019; } } // Select the furniture to dye.
|
||||
public override int FailMessage{ get{ return 501021; } } // That is not a piece of furniture.
|
||||
public override int LabelNumber{ get{ return 1041246; } } // Furniture Dye Tub
|
||||
|
|
@ -73,4 +73,4 @@ namespace Server.Items
|
|||
LootType = LootType.Blessed;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ namespace Server.Items
|
|||
{
|
||||
public class LeatherDyeTub : DyeTub, Engines.VeteranRewards.IRewardItem
|
||||
{
|
||||
public override bool AllowDyables{ get{ return false; } }
|
||||
public override bool AllowLeather{ get{ return true; } }
|
||||
public override bool AllowDyables => false;
|
||||
public override bool AllowLeather => true;
|
||||
public override int TargetMessage{ get{ return 1042416; } } // Select the leather item to dye.
|
||||
public override int FailMessage{ get{ return 1042418; } } // You can only dye leather with this tub.
|
||||
public override int LabelNumber{ get{ return 1041284; } } // Leather Dye Tub
|
||||
|
|
@ -71,4 +71,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ namespace Server.Items
|
|||
{
|
||||
public class MetallicClothDyetub : DyeTub
|
||||
{
|
||||
public override int LabelNumber { get { return 1152920; } } // Metallic Cloth ...
|
||||
public override int LabelNumber { get { return 1152920; } } // Metallic Cloth ...
|
||||
|
||||
public override bool MetallicHues { get { return true; } }
|
||||
public override bool MetallicHues => true;
|
||||
|
||||
[Constructible]
|
||||
public MetallicClothDyetub()
|
||||
|
|
@ -33,4 +33,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@ namespace Server.Items
|
|||
{
|
||||
public override CustomHuePicker CustomHuePicker{ get{ return null; } }
|
||||
|
||||
public override int LabelNumber { get { return 1153495; } } // Metallic Leather ...
|
||||
public override int LabelNumber { get { return 1153495; } } // Metallic Leather ...
|
||||
|
||||
public override bool MetallicHues { get { return true; } }
|
||||
public override bool MetallicHues => true;
|
||||
|
||||
[Constructible]
|
||||
public MetallicLeatherDyeTub()
|
||||
|
|
@ -43,4 +43,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ namespace Server.Items
|
|||
{
|
||||
public class RunebookDyeTub : DyeTub, Engines.VeteranRewards.IRewardItem
|
||||
{
|
||||
public override bool AllowDyables{ get{ return false; } }
|
||||
public override bool AllowRunebooks{ get{ return true; } }
|
||||
public override bool AllowDyables => false;
|
||||
public override bool AllowRunebooks => true;
|
||||
public override int TargetMessage{ get{ return 1049774; } } // Target the runebook or runestone to dye
|
||||
public override int FailMessage{ get{ return 1049775; } } // You can only dye runestones or runebooks with this tub.
|
||||
public override int LabelNumber{ get{ return 1049740; } } // Runebook Dye Tub
|
||||
|
|
@ -71,4 +71,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ namespace Server.Items
|
|||
{
|
||||
public class StatuetteDyeTub : DyeTub, Engines.VeteranRewards.IRewardItem
|
||||
{
|
||||
public override bool AllowDyables{ get{ return false; } }
|
||||
public override bool AllowStatuettes{ get{ return true; } }
|
||||
public override bool AllowDyables => false;
|
||||
public override bool AllowStatuettes => true;
|
||||
public override int TargetMessage{ get{ return 1049777; } } // Target the statuette to dye
|
||||
public override int FailMessage{ get{ return 1049778; } } // You can only dye veteran reward statuettes with this tub.
|
||||
public override int LabelNumber{ get{ return 1049741; } } // Reward Statuette Dye Tub
|
||||
|
|
@ -71,4 +71,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Items /* High seas, loot from merchant ship's hold, also a "unc
|
|||
{
|
||||
public override int LabelNumber { get { return 1149984; } } // White Cloth Dye Tub
|
||||
|
||||
public override bool Redyable { get { return false; } }
|
||||
public override bool Redyable => false;
|
||||
|
||||
[Constructible]
|
||||
public WhiteClothDyeTub()
|
||||
|
|
@ -34,4 +34,4 @@ namespace Server.Items /* High seas, loot from merchant ship's hold, also a "unc
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Items
|
|||
{
|
||||
public override int LabelNumber { get { return 1149900; } } // White Leather Dye Tub
|
||||
|
||||
public override bool Redyable { get { return false; } }
|
||||
public override bool Redyable => false;
|
||||
|
||||
[Constructible]
|
||||
public WhiteLeatherDyeTub()
|
||||
|
|
@ -36,4 +36,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Items
|
|||
public class CreepyPortraitComponent : AddonComponent
|
||||
{
|
||||
public override int LabelNumber { get { return 1074481; } } // Creepy portrait
|
||||
public override bool HandlesOnMovement { get { return true; } }
|
||||
public override bool HandlesOnMovement => true;
|
||||
|
||||
public CreepyPortraitComponent() : base( 0x2A69 )
|
||||
{
|
||||
|
|
@ -71,7 +71,7 @@ namespace Server.Items
|
|||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
|
||||
|
||||
if ( version == 0 && ItemID != 0x2A69 && ItemID != 0x2A6D )
|
||||
ItemID = 0x2A69;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Items
|
|||
public class HaunterMirrorComponent : AddonComponent
|
||||
{
|
||||
public override int LabelNumber { get { return 1074800; } } // Haunted Mirror
|
||||
public override bool HandlesOnMovement { get { return true; } }
|
||||
public override bool HandlesOnMovement => true;
|
||||
|
||||
public HaunterMirrorComponent() : base( 0x2A7B )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Items
|
|||
public class CurtainsComponent : AddonComponent, IDyable
|
||||
{
|
||||
public override int LabelNumber { get { return 1076280; } } // Curtains
|
||||
public override bool DisplayWeight { get { return false; } }
|
||||
public override bool DisplayWeight => false;
|
||||
|
||||
private int m_ClosedID;
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ namespace Server.Items
|
|||
public class CurtainsAddon : BaseAddon
|
||||
{
|
||||
public override BaseAddonDeed Deed { get { return new CurtainsDeed(); } }
|
||||
public override bool RetainDeedHue { get { return true; } }
|
||||
public override bool RetainDeedHue => true;
|
||||
|
||||
[Constructible]
|
||||
public CurtainsAddon( bool east ) : base()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Items
|
|||
{
|
||||
public override int LabelNumber{ get{ return 1074475; } } // Grizzled Mare Statuette
|
||||
public override BaseCreature Summon{ get { return new GrizzledMare(); } }
|
||||
|
||||
|
||||
[Constructible]
|
||||
public GrizzledMareStatuette() : base( 0x2617 )
|
||||
{
|
||||
|
|
@ -22,14 +22,14 @@ namespace Server.Items
|
|||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
|
@ -39,7 +39,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class GrizzledMare : HellSteed
|
||||
{
|
||||
public override bool DeleteOnRelease { get { return true; } }
|
||||
public override bool DeleteOnRelease => true;
|
||||
|
||||
private static readonly string m_Myname = "a grizzled mare";
|
||||
|
||||
|
|
@ -59,18 +59,18 @@ namespace Server.Mobiles
|
|||
public GrizzledMare( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
|
||||
writer.Write( (int) 1 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if( version < 1 )
|
||||
|
|
|
|||
|
|
@ -5,29 +5,29 @@ namespace Server.Items
|
|||
{
|
||||
public class MinotaurHedge : Item
|
||||
{
|
||||
|
||||
public override string DefaultName => "minotaur hedge";
|
||||
|
||||
[Constructible]
|
||||
public MinotaurHedge() : base( Utility.Random( 3215, 4 ) )
|
||||
{
|
||||
Name = "minotaur hedge";
|
||||
Weight = 1.0;
|
||||
Weight = 1.0;
|
||||
}
|
||||
|
||||
public MinotaurHedge( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,29 +5,29 @@ namespace Server.Items
|
|||
{
|
||||
public class TormentedChains : Item
|
||||
{
|
||||
|
||||
public override string DefaultName => "chains of the tormented";
|
||||
|
||||
[Constructible]
|
||||
public TormentedChains() : base( Utility.Random( 6663, 2 ) )
|
||||
{
|
||||
Name = "chains of the tormented";
|
||||
Weight = 1.0;
|
||||
Weight = 1.0;
|
||||
}
|
||||
|
||||
public TormentedChains( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ namespace Server.Items
|
|||
Hue = 0xF4;
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement{ get{ return m_TurnedOn && IsLockedDown; } }
|
||||
public override bool HandlesOnMovement => m_TurnedOn && IsLockedDown;
|
||||
|
||||
public override void OnMovement( Mobile m, Point3D oldLocation )
|
||||
{
|
||||
|
|
@ -322,4 +322,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,10 +5,11 @@ namespace Server.Items
|
|||
{
|
||||
public class PlagueBeastGland : Item
|
||||
{
|
||||
public override string DefaultName => "a healthy gland";
|
||||
|
||||
[Constructible]
|
||||
public PlagueBeastGland() : base( 0x1CEF )
|
||||
{
|
||||
Name = "A Healthy Gland";
|
||||
Weight = 1.0;
|
||||
Hue = 0x6;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,14 +7,11 @@ namespace Server.Items
|
|||
{
|
||||
public class PlagueBeastInnard : Item, IScissorable, ICarvable
|
||||
{
|
||||
public PlagueBeastLord Owner
|
||||
{
|
||||
get { return RootParent as PlagueBeastLord; }
|
||||
}
|
||||
public PlagueBeastLord Owner => RootParent as PlagueBeastLord;
|
||||
public override string DefaultName => "plague beast innards";
|
||||
|
||||
public PlagueBeastInnard( int itemID, int hue ) : base( itemID )
|
||||
{
|
||||
Name = "plague beast innards";
|
||||
Hue = hue;
|
||||
Movable = false;
|
||||
Weight = 1.0;
|
||||
|
|
|
|||
|
|
@ -16,12 +16,12 @@ namespace Server.Items
|
|||
set { m_Cut = value; }
|
||||
}
|
||||
|
||||
public override string DefaultName => "a plague beast mutation core";
|
||||
|
||||
[Constructible]
|
||||
public PlagueBeastMutationCore() : base( 0x1CF0 )
|
||||
{
|
||||
m_Cut = true;
|
||||
|
||||
Name = "a plague beast mutation core";
|
||||
Weight = 1.0;
|
||||
Hue = 0x480;
|
||||
}
|
||||
|
|
@ -36,7 +36,7 @@ namespace Server.Items
|
|||
Movable = true;
|
||||
|
||||
from.AddToBackpack( this );
|
||||
from.LocalOverheadMessage( MessageType.Regular, 0x34, 1071906 ); // * You remove the plague mutation core from the plague beast, causing it to dissolve into a pile of goo *
|
||||
from.LocalOverheadMessage( MessageType.Regular, 0x34, 1071906 ); // * You remove the plague mutation core from the plague beast, causing it to dissolve into a pile of goo *
|
||||
|
||||
if ( owner != null )
|
||||
Timer.DelayCall<PlagueBeastLord>( TimeSpan.FromSeconds( 1 ), new TimerStateCallback<PlagueBeastLord>( KillParent ), owner );
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue