[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

@ -36,6 +36,9 @@ Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
(lots of major bugfixes too) (lots of major bugfixes too)
@ @
tbaMUD 3.61 tbaMUD 3.61
[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.
[Dec 05 2009] - Rumble [Dec 05 2009] - Rumble
Changed zedit clear level restrictions to dump you back at main zedit menu instead of in the level menu. Changed zedit clear level restrictions to dump you back at main zedit menu instead of in the level menu.
Changed zone level restriction to level recommendation so players would not be blocked from zones. Changed zone level restriction to level recommendation so players would not be blocked from zones.

View file

@ -7,7 +7,7 @@ A young man is here smoking a cigarette.
few men who did not sign up for military service. few men who did not sign up for military service.
~ ~
2248 0 0 0 0 0 0 0 900 E 2248 0 0 0 0 0 0 0 900 E
34 9 -10 1d1+340 5d5+5 34 9 -10 6d6+340 5d5+5
340 115600 340 115600
8 8 1 8 8 1
Str: 18 Str: 18

View file

@ -299,19 +299,28 @@ void medit_save_internally(struct descriptor_data *d)
Display positions. (sitting, standing, etc) */ Display positions. (sitting, standing, etc) */
static void medit_disp_positions(struct descriptor_data *d) static void medit_disp_positions(struct descriptor_data *d)
{ {
int i;
get_char_colors(d->character); get_char_colors(d->character);
clear_screen(d); 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 : "); write_to_output(d, "Enter position number : ");
} }
/* Display the gender of the mobile. */ /* Display the gender of the mobile. */
static void medit_disp_sex(struct descriptor_data *d) static void medit_disp_sex(struct descriptor_data *d)
{ {
int i;
get_char_colors(d->character); get_char_colors(d->character);
clear_screen(d); 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. */ /* Display attack types menu. */
@ -630,6 +639,7 @@ void medit_parse(struct descriptor_data *d, char *arg)
case '2': /* Autoroll stats */ case '2': /* Autoroll stats */
medit_autoroll_stats(d); medit_autoroll_stats(d);
medit_disp_stats_menu(d); medit_disp_stats_menu(d);
OLC_VAL(d) = TRUE;
return; return;
case '3': case '3':
OLC_MODE(d) = MEDIT_NUM_HP_DICE; OLC_MODE(d) = MEDIT_NUM_HP_DICE;

View file

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