exit element

<exit alias="direction or displayed exit name" name="name" to="to room">attributes</exit>

Creates an exit from the exit’s parent room to the specified room.

The alias might be something like “east”, “north”, or the name of a room that the player can go to.

The name is optional. If no name is specified, Quest will generate a name for the exit.

Attributes:

alias
string exit alias

grid_length
int length of exit line on map in grid units

grid_offset_x
X offset of exit position on grid

grid_offset_y
Y offset of exit position on grid

grid_render
see grid_render object attribute

lightstrength
see lightstrength object attribute

locked
boolean specifying if exit is locked

lockmessage
string to display when exit is locked

look
string description to print when the player looks in this direction, or script to run

lookonly
boolean - if true, the player can’t move in this direction, only look

prefix
string to print before exit name in room descriptions

script
script to run instead of moving the player

suffix
string to print after exit name in room descriptions

visible
boolean - if false, exit is not available (as if the exit’s parent was null)