mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-21 21:40:49 +02:00
[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:
parent
30a82beeeb
commit
66e4b7ec0c
4 changed files with 20 additions and 7 deletions
|
@ -36,6 +36,9 @@ Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
|||
(lots of major bugfixes too)
|
||||
@
|
||||
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
|
||||
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.
|
||||
|
|
|
@ -7,7 +7,7 @@ A young man is here smoking a cigarette.
|
|||
few men who did not sign up for military service.
|
||||
~
|
||||
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
|
||||
8 8 1
|
||||
Str: 18
|
||||
|
|
16
src/medit.c
16
src/medit.c
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue