#W# Exhuation system implimented. And Food has been tweaked.
This commit is contained in:
parent
6cb014d51c
commit
15bb9dccb8
9 changed files with 211 additions and 181 deletions
|
|
@ -30,16 +30,16 @@ namespace Server.Items
|
|||
else
|
||||
{
|
||||
// increase characters thirst value based on type of drink
|
||||
if ( from.Thirst < 20 )
|
||||
if ( from.Thirst < 100 )
|
||||
{
|
||||
from.Thirst += 2;
|
||||
from.Thirst += 5;
|
||||
// Send message to character about their current thirst value
|
||||
int iThirst = from.Thirst;
|
||||
if ( iThirst < 5 )
|
||||
if ( iThirst < 50 )
|
||||
from.SendMessage( "You drink the ale but are still extremely thirsty" );
|
||||
else if ( iThirst < 10 )
|
||||
else if ( iThirst < 75 )
|
||||
from.SendMessage( "You drink the ale and feel less thirsty" );
|
||||
else if ( iThirst < 15 )
|
||||
else if ( iThirst < 100 )
|
||||
from.SendMessage( "You drink the ale and feel much less thirsty" );
|
||||
else
|
||||
from.SendMessage( "You drink the ale and are no longer thirsty" );
|
||||
|
|
@ -101,11 +101,11 @@ namespace Server.Items
|
|||
from.Thirst += 2;
|
||||
// Send message to character about their current thirst value
|
||||
int iThirst = from.Thirst;
|
||||
if ( iThirst < 5 )
|
||||
if ( iThirst < 50 )
|
||||
from.SendMessage( "You drink the wine but are still extremely thirsty" );
|
||||
else if ( iThirst < 10 )
|
||||
else if ( iThirst < 75 )
|
||||
from.SendMessage( "You drink the wine and feel less thirsty" );
|
||||
else if ( iThirst < 15 )
|
||||
else if ( iThirst < 100 )
|
||||
from.SendMessage( "You drink the wine and feel much less thirsty" );
|
||||
else
|
||||
from.SendMessage( "You drink the wine and are no longer thirsty" );
|
||||
|
|
@ -137,4 +137,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue