This update includes the transition to protocoloutput while maintaining backwards compatibility with all MUDs still using proc_colors
This commit is contained in:
14
src/zedit.c
14
src/zedit.c
@@ -379,7 +379,7 @@ void zedit_disp_flag_menu(struct descriptor_data *d)
|
||||
column_list(d->character, 0, zone_bits, NUM_ZONE_FLAGS, TRUE);
|
||||
|
||||
sprintbitarray(OLC_ZONE(d)->zone_flags, zone_bits, ZN_ARRAY_MAX, bits);
|
||||
write_to_output(d, "\r\nZone flags: @c%s@n\r\n"
|
||||
write_to_output(d, "\r\nZone flags: \tc%s\tn\r\n"
|
||||
"Enter Zone flags, 0 to quit : ", bits);
|
||||
OLC_MODE(d) = ZEDIT_ZONE_FLAGS;
|
||||
}
|
||||
@@ -699,13 +699,13 @@ void zedit_disp_levels(struct descriptor_data *d)
|
||||
clear_screen(d);
|
||||
write_to_output(d,
|
||||
"\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"
|
||||
"\ty1\tn) Set minimum level recommendation\r\n"
|
||||
"\ty2\tn) Set maximum level recommendation\r\n"
|
||||
"\ty3\tn) Clear level recommendations\r\n\r\n"
|
||||
"\ty0\tn) Quit to main menu\r\n"
|
||||
"\tgCurrent Setting: %s%s\r\n"
|
||||
"\r\n"
|
||||
"Enter choice (0 to quit): ", levels_set ? "@c" : "@y", lev_string
|
||||
"Enter choice (0 to quit): ", levels_set ? "\tc" : "\ty", lev_string
|
||||
);
|
||||
OLC_MODE(d) = ZEDIT_LEVELS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user