Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -11,35 +11,23 @@ namespace Server.Items
|
|||
private Timer m_Timer;
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public int MaxFlour
|
||||
{
|
||||
get{ return 2; }
|
||||
}
|
||||
public int MaxFlour => 2;
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public int CurFlour
|
||||
{
|
||||
get{ return m_Flour; }
|
||||
get => m_Flour;
|
||||
set{ m_Flour = Math.Max( 0, Math.Min( value, MaxFlour ) ); UpdateStage(); }
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool HasFlour
|
||||
{
|
||||
get{ return ( m_Flour > 0 ); }
|
||||
}
|
||||
public bool HasFlour => ( m_Flour > 0 );
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool IsFull
|
||||
{
|
||||
get{ return ( m_Flour >= MaxFlour ); }
|
||||
}
|
||||
public bool IsFull => ( m_Flour >= MaxFlour );
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool IsWorking
|
||||
{
|
||||
get{ return ( m_Timer != null ); }
|
||||
}
|
||||
public bool IsWorking => ( m_Timer != null );
|
||||
|
||||
public void StartWorking( Mobile from )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue