mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-20 17:20:12 +01:00
Fixed do_set formatting and removed the magic numbers for setting DRUNK/HUNGER/THIRST. Renamed FULL to HUNGER. --Rumble
This commit is contained in:
parent
1d9cff608c
commit
1f72880ce7
7 changed files with 54 additions and 28 deletions
|
|
@ -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*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue