FutureProg functions
setopen
setopen overload 1
Boolean setopen(Item item, Boolean locked, Boolean echo)
Available in
- 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.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The item to be opened or closed |
locked |
Boolean |
If true, set to open, otherwise set to closed |
echo |
Boolean |
Whether to echo the change in state |