Fixed do_set formatting and removed the magic numbers for setting DRUNK/HUNGER/THIRST. Renamed FULL to HUNGER. --Rumble

This commit is contained in:
Rumble 2007-02-08 23:33:29 +00:00
parent 1d9cff608c
commit 1f72880ce7
7 changed files with 54 additions and 28 deletions

View file

@ -431,7 +431,7 @@
/* Player conditions */
#define DRUNK 0
#define FULL 1
#define HUNGER 1
#define THIRST 2
@ -840,7 +840,7 @@ struct player_special_data_saved {
room_vnum load_room; /* Which room to place char in */
long /*bitvector_t*/ pref; /* preference flags for PC's. */
ubyte bad_pws; /* number of bad password attemps */
sbyte conditions[3]; /* Drunk, full, thirsty */
sbyte conditions[3]; /* Drunk, hunger, thirst */
ubyte page_length;
int spells_to_learn; /* How many can you learn yet this level*/