Add DefaultName property to Mobiles & Items (#18)

This commit is contained in:
Kamron Batman 2018-08-09 17:18:41 -07:00 committed by GitHub
parent b06f5bf60d
commit 8ee42c8ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
713 changed files with 5112 additions and 4987 deletions

View file

@ -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;
}
}
}
}

View file

@ -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
}
}
}