[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:
Rumble 2009-12-05 22:24:22 +00:00
parent 547f123738
commit 30a82beeeb
14 changed files with 52 additions and 45 deletions

View file

@ -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 */

View file

@ -677,34 +677,34 @@ cpp_extern const struct dex_app_type dex_app[] = {
};
/** Constitution attribute affects.
* The fields referenced are hit points and system shock survival. */
* The field referenced is for hitpoint bonus. */
cpp_extern const struct con_app_type con_app[] = {
{-4, 20}, /* con = 0 */
{-3, 25}, /* con = 1 */
{-2, 30},
{-2, 35},
{-1, 40},
{-1, 45}, /* con = 5 */
{-1, 50},
{0, 55},
{0, 60},
{0, 65},
{0, 70}, /* con = 10 */
{0, 75},
{0, 80},
{0, 85},
{0, 88},
{1, 90}, /* con = 15 */
{2, 95},
{2, 97},
{3, 99}, /* con = 18 */
{3, 99},
{4, 99}, /* con = 20 */
{5, 99},
{5, 99},
{5, 99},
{6, 99},
{6, 99} /* con = 25 */
{-4}, /* con = 0 */
{-3}, /* con = 1 */
{-2},
{-2},
{-1},
{-1}, /* con = 5 */
{-1},
{0},
{0},
{0},
{0}, /* con = 10 */
{0},
{0},
{0},
{0},
{1}, /* con = 15 */
{2},
{2},
{3}, /* con = 18 */
{3},
{4}, /* con = 20 */
{5},
{5},
{5},
{6},
{6} /* con = 25 */
};
/** Intelligence attribute affects.

View file

@ -344,7 +344,7 @@ cpp_extern const struct command_info cmd_info[] = {
{ "zlist" , "zlist" , POS_DEAD , do_oasis_list, LVL_BUILDER, SCMD_OASIS_ZLIST },
{ "zlock" , "zlock" , POS_DEAD , do_zlock , LVL_GOD, 0 },
{ "zunlock" , "zunlock" , POS_DEAD , do_zunlock , LVL_GOD, 0 },
{ "zcheck" , "zcheck" , POS_DEAD , do_zcheck , LVL_GOD, 0 },
{ "zcheck" , "zcheck" , POS_DEAD , do_zcheck , LVL_BUILDER, 0 },
{ "zpurge" , "zpurge" , POS_DEAD , do_zpurge , LVL_BUILDER, 0 },
{ "\n", "zzzzzzz", 0, 0, 0, 0 } }; /* this must be last */

View file

@ -318,7 +318,7 @@ static void list_mobiles(struct char_data *ch, zone_rnum rnum, mob_vnum vmin, mo
}
/* List all objects in a zone. */
static void list_objects(struct char_data *ch, zone_rnum rnum, room_vnum vmin, room_vnum vmax)
static void list_objects(struct char_data *ch, zone_rnum rnum, obj_vnum vmin, obj_vnum vmax)
{
obj_rnum i;
obj_vnum bottom, top;

View file

@ -264,7 +264,7 @@ static void prefedit_disp_toggles_menu(struct descriptor_data *d)
static void prefedit_disp_prompt_menu(struct descriptor_data *d)
{
char prompt_string[6];
char prompt_string[7];
if (PREFEDIT_FLAGGED(PRF_DISPAUTO))
sprintf(prompt_string, "<Auto>");

View file

@ -1191,7 +1191,6 @@ struct int_app_type
struct con_app_type
{
sh_int hitp; /**< Added to a character's new MAXHP at each new level. */
sh_int shock; /**< Historically affects resurrection chances. */
};
/** Stores, and used to deliver, the current weather information

View file

@ -857,7 +857,7 @@ void zedit_parse(struct descriptor_data *d, char *arg)
case '3': OLC_ZONE(d)->min_level = -1;
OLC_ZONE(d)->max_level = -1;
OLC_ZONE(d)->number = 1;
zedit_disp_levels(d);
zedit_disp_menu(d);
break;
case '0':