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