mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-11 10:34:20 +01:00
[Dec 05 2009] - Rumble
Changed zedit clear level restrictions to dump you back at main zedit menu ins tead of in the level menu. Changed zone level restriction to level recommendation so players would not be blocked from zones. Changed Zcheck to level 31. [Nov 19 2009] - Rumble Fixed list obj max/min from room to obj. (thanks Elervan) [Nov 13 2009] - Rumble Removed con_app 2nd apply type shock that was for "resurrection?" This was not used in 3.1. [Nov 12 2009] - Rumble Fixed overflow in prefedit.c. (thanks Xiu) [Nov 01 2009] - Rumble Renamed autorun log entries from autoscript killed to terminated so it wouldn' t go into the log/rip file.
This commit is contained in:
parent
547f123738
commit
30a82beeeb
14 changed files with 52 additions and 45 deletions
|
|
@ -213,14 +213,9 @@ int do_simple_move(struct char_data *ch, int dir, int need_specials_check)
|
|||
}
|
||||
}
|
||||
|
||||
/* Check zone level restrictions */
|
||||
/* Check zone level recommendations */
|
||||
if ((ZONE_MINLVL(GET_ROOM_ZONE(going_to)) != -1) && ZONE_MINLVL(GET_ROOM_ZONE(going_to)) > GET_LEVEL(ch)) {
|
||||
send_to_char(ch, "You are not ready to enter that area.\r\n");
|
||||
return (0);
|
||||
}
|
||||
if ((GET_LEVEL(ch) < LVL_IMMORT) && (ZONE_MAXLVL(GET_ROOM_ZONE(going_to)) != -1) && ZONE_MAXLVL(GET_ROOM_ZONE(going_to)) < GET_LEVEL(ch)) {
|
||||
send_to_char(ch, "You are too powerful for that area.\r\n");
|
||||
return (0);
|
||||
send_to_char(ch, "This zone is above your recommended level.\r\n");
|
||||
}
|
||||
|
||||
/* Check zone flag restrictions */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue