[Dec 06 2009] - Rumble

Fixed medit sex and position numbering. The numbering was wrong with the new column_list.
  Fixed medit autoroll so it would recognize a change and save.
This commit is contained in:
Rumble 2009-12-06 06:08:19 +00:00
parent 30a82beeeb
commit 66e4b7ec0c
4 changed files with 20 additions and 7 deletions

View file

@ -299,19 +299,28 @@ void medit_save_internally(struct descriptor_data *d)
Display positions. (sitting, standing, etc) */
static void medit_disp_positions(struct descriptor_data *d)
{
int i;
get_char_colors(d->character);
clear_screen(d);
column_list(d->character, 0, position_types, NUM_POSITIONS, TRUE);
for (i = 0; *position_types[i] != '\n'; i++) {
write_to_output(d, "%s%2d%s) %s\r\n", grn, i, nrm, position_types[i]);
}
write_to_output(d, "Enter position number : ");
}
/* Display the gender of the mobile. */
static void medit_disp_sex(struct descriptor_data *d)
{
int i;
get_char_colors(d->character);
clear_screen(d);
column_list(d->character, 0, genders, NUM_GENDERS, TRUE);
write_to_output(d, "Enter gender number : ");
for (i = 0; i < NUM_GENDERS; i++) {
write_to_output(d, "%s%2d%s) %s\r\n", grn, i, nrm, genders[i]);
}
}
/* Display attack types menu. */
@ -630,6 +639,7 @@ void medit_parse(struct descriptor_data *d, char *arg)
case '2': /* Autoroll stats */
medit_autoroll_stats(d);
medit_disp_stats_menu(d);
OLC_VAL(d) = TRUE;
return;
case '3':
OLC_MODE(d) = MEDIT_NUM_HP_DICE;

View file

@ -699,9 +699,9 @@ void zedit_disp_levels(struct descriptor_data *d)
clear_screen(d);
write_to_output(d,
"\r\n"
"@y1@n) Set minimum level\r\n"
"@y2@n) Set maximum level\r\n"
"@y3@n) Clear level restrictions\r\n\r\n"
"@y1@n) Set minimum level recommendation\r\n"
"@y2@n) Set maximum level recommendation\r\n"
"@y3@n) Clear level recommendations\r\n\r\n"
"@y0@n) Quit to main menu\r\n"
"@gCurrent Setting: %s%s\r\n"
"\r\n"