FutureProg functions

setopen

Items · computer function, computer program, standard futureprog

Boolean setopen(Item item, Boolean locked, Boolean echo)
Contexts: computer function, computer program, standard futureprog
Changes an openable item from open to closed or the reverse. True if the change was successfully applied. Respects game rules about whether something can be opened.
item: The item to be opened or closed
locked: If true, set to open, otherwise set to closed
echo: Whether to echo the change in state

← Back to FutureProg functions