FutureProg functions
setlit
setlit overload 1
Boolean setlit(Item item, Boolean state)
Available in
- computer function
- computer program
- standard futureprog
Sets the lit state of a lightable item. Returns false if the item is null or does not have a lightable component.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The lightable item to update. |
state |
Boolean |
Whether the item should be lit after the call. |