The roomedit command launches the room editor, allowing you to edit
.room.xml
files.
The room editor will ask you to input values for room properties. A default
value is shown inside square brackets, and you can select this by just pressing
enter. At any time, you can input ?
to display help about the property you
are editing.
The room editor asks for the following inputs, in order:
Classname. Specifies which class gets loaded when this room is created.
Basic indoor rooms are BaseLib.Room
and outdoor rooms are BaseLib.Outside
.
Map. The map that this room belongs to.
Title.
Descriptions. A list of descriptions, each consisting of:
Description. Text describing the room.
Partial Description. Text describing the room in low light.
Required Conditions. A list of conditions required for this description to be displayed.
Prohibited Condition. A list of conditions that prevent this description from being displayed.
Actions. A list of room actions that are only used when this description is displayed.
Exits. A list of exits, each consisting of:
Name. north
, south
, etc.
Target. The path of the room this exit links to.
Visible in exit list? Should this exit be displayed in the list of exits?
Visibility. How visibile is the exit?
Arrive Message. The message displayed in the target room when someone arrives there from this exit.
Leave Message. The message displayed to people in the room when someone leaves through this exit.
Actor Message. The message displayed to the person leaving.
Base Light Level. How light is the room if there are no other light sources?
Room Length. The length of the room, in metres.
Room Width. The width of the room, in metres.
Room Height. The height of the room, in metres.
Actions. A list of actions that get randomly displayed to the room.
Zones. A list of zones for this room.
Things. A list of things. These use the thing editor.
Things defined in other files. A list of paths to .thing.xml
files
that will be loaded in this room.
Extra Data. A list of extra data for the room, each with a key and value.
Rooms and the properties above are discussed in more detail here.
roomedit here
.room.xml
file.roomedit <path>
.room.xml
file.> roomedit here Room Editor. Enter '?' at any time to see help.