Fixed redit/zedit menu's, added oedit delet option again to do some testing --Rumble
This commit is contained in:
@@ -35,6 +35,8 @@ export (QQ's a zone into a tarball)
|
|||||||
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
||||||
(lots of major bugfixes too)
|
(lots of major bugfixes too)
|
||||||
@
|
@
|
||||||
|
[Jan 30 2012] - Rumble
|
||||||
|
Fixed redit/zedit menu bug.
|
||||||
[Aug 25 2011] - Rumble
|
[Aug 25 2011] - Rumble
|
||||||
Comment fixes, clarification, and warning cleanup. (thanks Kyle)
|
Comment fixes, clarification, and warning cleanup. (thanks Kyle)
|
||||||
[Sep 11 2011] - Fizban
|
[Sep 11 2011] - Fizban
|
||||||
|
|||||||
@@ -660,6 +660,7 @@ static void oedit_disp_menu(struct descriptor_data *d)
|
|||||||
"%sP%s) Perm Affects: %s%s\r\n"
|
"%sP%s) Perm Affects: %s%s\r\n"
|
||||||
"%sS%s) Script : %s%s\r\n"
|
"%sS%s) Script : %s%s\r\n"
|
||||||
"%sW%s) Copy object\r\n"
|
"%sW%s) Copy object\r\n"
|
||||||
|
"%sX%s) Delete object\r\n"
|
||||||
"%sQ%s) Quit\r\n"
|
"%sQ%s) Quit\r\n"
|
||||||
"Enter choice : ",
|
"Enter choice : ",
|
||||||
|
|
||||||
@@ -677,6 +678,7 @@ static void oedit_disp_menu(struct descriptor_data *d)
|
|||||||
grn, nrm, cyn, buf2,
|
grn, nrm, cyn, buf2,
|
||||||
grn, nrm, cyn, OLC_SCRIPT(d) ? "Set." : "Not Set.",
|
grn, nrm, cyn, OLC_SCRIPT(d) ? "Set." : "Not Set.",
|
||||||
grn, nrm,
|
grn, nrm,
|
||||||
|
grn, nrm,
|
||||||
grn, nrm
|
grn, nrm
|
||||||
);
|
);
|
||||||
OLC_MODE(d) = OEDIT_MAIN_MENU;
|
OLC_MODE(d) = OEDIT_MAIN_MENU;
|
||||||
|
|||||||
@@ -418,7 +418,7 @@ static void redit_disp_menu(struct descriptor_data *d)
|
|||||||
sprintbitarray(room->room_flags, room_bits, RF_ARRAY_MAX, buf1);
|
sprintbitarray(room->room_flags, room_bits, RF_ARRAY_MAX, buf1);
|
||||||
sprinttype(room->sector_type, sector_types, buf2, sizeof(buf2));
|
sprinttype(room->sector_type, sector_types, buf2, sizeof(buf2));
|
||||||
write_to_output(d,
|
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"
|
"%s1%s) Name : %s%s\r\n"
|
||||||
"%s2%s) Description :\r\n%s%s"
|
"%s2%s) Description :\r\n%s%s"
|
||||||
"%s3%s) Room flags : %s%s\r\n"
|
"%s3%s) Room flags : %s%s\r\n"
|
||||||
|
|||||||
@@ -425,7 +425,7 @@ static void zedit_disp_menu(struct descriptor_data *d)
|
|||||||
|
|
||||||
/* Menu header */
|
/* Menu header */
|
||||||
send_to_char(d->character,
|
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"
|
"%s1%s) Builders : %s%s\r\n"
|
||||||
"%sZ%s) Zone name : %s%s\r\n"
|
"%sZ%s) Zone name : %s%s\r\n"
|
||||||
"%sL%s) Lifespan : %s%d minutes\r\n"
|
"%sL%s) Lifespan : %s%d minutes\r\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user