Fixed redit/zedit menu's, added oedit delet option again to do some testing --Rumble

This commit is contained in:
Rumble 2012-01-30 05:27:40 +00:00
parent 6240083445
commit e4cdc51eb1
4 changed files with 6 additions and 2 deletions

View file

@ -35,6 +35,8 @@ export (QQ's a zone into a tarball)
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
(lots of major bugfixes too)
@
[Jan 30 2012] - Rumble
Fixed redit/zedit menu bug.
[Aug 25 2011] - Rumble
Comment fixes, clarification, and warning cleanup. (thanks Kyle)
[Sep 11 2011] - Fizban

View file

@ -660,6 +660,7 @@ static void oedit_disp_menu(struct descriptor_data *d)
"%sP%s) Perm Affects: %s%s\r\n"
"%sS%s) Script : %s%s\r\n"
"%sW%s) Copy object\r\n"
"%sX%s) Delete object\r\n"
"%sQ%s) Quit\r\n"
"Enter choice : ",
@ -677,6 +678,7 @@ static void oedit_disp_menu(struct descriptor_data *d)
grn, nrm, cyn, buf2,
grn, nrm, cyn, OLC_SCRIPT(d) ? "Set." : "Not Set.",
grn, nrm,
grn, nrm,
grn, nrm
);
OLC_MODE(d) = OEDIT_MAIN_MENU;

View file

@ -418,7 +418,7 @@ static void redit_disp_menu(struct descriptor_data *d)
sprintbitarray(room->room_flags, room_bits, RF_ARRAY_MAX, buf1);
sprinttype(room->sector_type, sector_types, buf2, sizeof(buf2));
write_to_output(d,
"-- Room number : [%s%d%s] Room zone: [%s%d%s]\r\n"
"-- Room number : [%s%d%s] Room zone: [%s%d%s]\r\n"
"%s1%s) Name : %s%s\r\n"
"%s2%s) Description :\r\n%s%s"
"%s3%s) Room flags : %s%s\r\n"

View file

@ -425,7 +425,7 @@ static void zedit_disp_menu(struct descriptor_data *d)
/* Menu header */
send_to_char(d->character,
"Room number: %s%d%s Room zone: %s%d\r\n"
"Room number: %s%d%s Room zone: %s%d\r\n"
"%s1%s) Builders : %s%s\r\n"
"%sZ%s) Zone name : %s%s\r\n"
"%sL%s) Lifespan : %s%d minutes\r\n"