mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-20 09:10:13 +01:00
Added max_mortal_level and Admin Poison check --Rumble
This commit is contained in:
parent
6c2252ce89
commit
0955ee8864
2 changed files with 3 additions and 1 deletions
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue