Added max_mortal_level and Admin Poison check --Rumble
This commit is contained in:
@@ -926,7 +926,7 @@ ACMD(do_drink)
|
||||
if (GET_COND(ch, HUNGER) > 20)
|
||||
send_to_char(ch, "You are full.\r\n");
|
||||
|
||||
if (GET_OBJ_VAL(temp, 3)) { /* The crap was poisoned ! */
|
||||
if (GET_OBJ_VAL(temp, 3) && (!ADM_FLAGGED(ch, ADM_NOPOISON))) { /* The crap was poisoned! */
|
||||
send_to_char(ch, "Oops, it tasted rather strange!\r\n");
|
||||
act("$n chokes and utters some strange sounds.", TRUE, ch, 0, 0, TO_ROOM);
|
||||
|
||||
|
||||
2
src/db.c
2
src/db.c
@@ -3913,6 +3913,8 @@ void load_config( void )
|
||||
CONFIG_MAX_OBJ_SAVE = num;
|
||||
else if (!str_cmp(tag, "max_pc_corpse_time"))
|
||||
CONFIG_MAX_PC_CORPSE_TIME = num;
|
||||
else if (!str_cmp(tag, "max_mortal_level"))
|
||||
CONFIG_MAX_LEVEL = num;
|
||||
else if (!str_cmp(tag, "max_playing"))
|
||||
CONFIG_MAX_PLAYING = num;
|
||||
else if (!str_cmp(tag, "menu")) {
|
||||
|
||||
Reference in New Issue
Block a user