FutureProg functions
installdoor
Boolean installdoor(Exit exit, Item door, Location origin, Location destination)
Contexts: computer function, computer program, standard futureprog
Installs a door item onto an exit between two rooms, uninstalling it from any previous exit first. Returns false if the exit is null, the item is null, the item is not a door, or the exit already has a door.
exit: The exit that should receive the door.
door: The item with a door component to install on the exit.
origin: The room on the hinge side; if null, the exit origin is used.
destination: The room on the opening side; if null, the exit destination is used.
Contexts: computer function, computer program, standard futureprog
Installs a door item onto an exit between two rooms, uninstalling it from any previous exit first. Returns false if the exit is null, the item is null, the item is not a door, or the exit already has a door.
exit: The exit that should receive the door.
door: The item with a door component to install on the exit.
origin: The room on the hinge side; if null, the exit origin is used.
destination: The room on the opening side; if null, the exit destination is used.