FutureProg functions

setacceptsdoor

Roomscomputer function, computer program, standard futureprog

setacceptsdoor overload 1

Exit setacceptsdoor(Exit exit, OverlayPackage overlay, Boolean state, Number doorSize)
Available in
  • computer function
  • computer program
  • standard futureprog
Sets whether an exit overlay accepts a door and records the maximum door size. Returns the edited exit or null if the exit/package is null or the package is not editable.
ParameterTypeDescription
exit Exit The exit to edit or copy into the supplied overlay package.
overlay OverlayPackage The editable overlay package where the change should be made.
state Boolean Whether the exit should accept an installed door.
doorSize Number The maximum door size enum value accepted by this exit.