IMM_REDIT
Keywords: IMM_REDIT, WIZ_REDIT
=== STAFF MANUAL ===
Usage: redit
redit <vid>
Description:
Interactive editor for rooms. Opens a target room in a
menu-driven session where every field on the room -- name,
description, sector, flags, exits, extra descriptions, map symbol,
and lighting -- can be edited from a single screen. Edits are
held in a scratch copy until you quit the editor; only then are
they written back to the live room in world.
With no argument, redit opens the room you are currently
standing in. If the target VID does not exist yet, redit creates
a new placeholder room at that number with the starter strings
"An unfinished room" and "You are in an unfinished room.",
ready for you to fill in.
Main Menu:
The following two fields are always visible:
1 Name 2 Description
The next two blocks are only shown when you have full OLC
rights on the room -- OLC Admin, or the OLC flag with a
matching zone builder entry for the room's namespace:
3 Room flags 4 Sector type
5 North exit 6 East exit
7 South exit 8 West exit
9 Up exit A Down exit
The remaining entries are always visible:
B Extra descriptions submenu
C Map Symbol
D Lighting Q Quit
The lighting field defaults to "Unset (use zone)", which
means the room inherits its base lighting from the zone;
switch it to a specific level to override on a per-room
basis.
Saving:
On Q, if anything was modified you are prompted to save.
Saving copies the scratch RoomData into the matching world
entry (or inserts a new one if the VID did not exist yet) and
marks the zone dirty so its .wld file is rewritten on the next
OLC save pass.
Saving also performs two small side cleanups:
- The ROOM_DELETED flag is cleared automatically,
bringing the room back if it was previously marked
for soft-deletion.
- ROOM_STARTHIVED is promoted to ROOM_HIVED so the
initial hive-state is baked into the live flags.
Restrictions:
- Requires the OLC or MiniOLC staff permission at a
minimum. Full menu visibility requires OLC Admin or
zone-builder rights for the room's namespace; lesser
permissions see only fields 1, 2, B, C, and D.
- Creating a new room at a VID requires permission on
the destination zone, same as any other OLC add.
- Two staff cannot have the same room open at once;
dig, rmexit, and similar commands that touch a
locked room refuse with a "currently being edited by
<name>" message.
Notes:
- Scripts are not attached from inside redit. For
room triggers, use the zone reset system via zedit,
or the live attach command.
- To dig a new exit, use the dig command instead of
manually editing the exit fields -- it creates both
halves of the link and, if needed, the destination
room in one step.
Related Helpfiles: WIZ_MEDIT, WIZ_OEDIT, WIZ_ZEDIT, WIZ_DIG
=== END MANUAL ===