FutureProg functions

installdoor

Roomscomputer function, computer program, standard futureprog

installdoor overload 1

Boolean installdoor(Exit exit, Item door, Location origin, Location destination)
Available in
  • 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.
ParameterTypeDescription
exit Exit The exit that should receive the door.
door Item The item with a door component to install on the exit.
origin Location The room on the hinge side; if null, the exit origin is used.
destination Location The room on the opening side; if null, the exit destination is used.