#W# Added a nice status bar. can be flipped vertical or horizontal.
This commit is contained in:
parent
48c489a256
commit
26588acf2d
3 changed files with 168 additions and 3 deletions
|
|
@ -1549,12 +1549,16 @@ namespace Server
|
|||
if( oldValue != value )
|
||||
{
|
||||
m_Hunger = value;
|
||||
|
||||
OnHungerChange(oldValue);
|
||||
EventSink.InvokeHungerChanged( new HungerChangedEventArgs( this, oldValue ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void OnHungerChange(int oldValue)
|
||||
{
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public int Thirst
|
||||
{
|
||||
|
|
@ -1564,10 +1568,19 @@ namespace Server
|
|||
}
|
||||
set
|
||||
{
|
||||
m_Thirst = value;
|
||||
int oldValue = m_Thirst;
|
||||
if (oldValue != value)
|
||||
{
|
||||
m_Thirst = value;
|
||||
OnThirstChange(oldValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void OnThirstChange(int oldValue)
|
||||
{
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public int BAC
|
||||
{
|
||||
|
|
@ -2512,13 +2525,18 @@ namespace Server
|
|||
{
|
||||
if( m_TithingPoints != value )
|
||||
{
|
||||
int oldValue = m_TithingPoints;
|
||||
m_TithingPoints = value;
|
||||
|
||||
Delta( MobileDelta.TithingPoints );
|
||||
OnTithingPointsChange(oldValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void OnTithingPointsChange(int oldValue)
|
||||
{
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public int Followers
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue