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
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue