FutureProg functions
getlight
getlight overload 1
Number getlight(Perceiver perceiver)
Available in
- computer function
- computer program
- standard futureprog
This function returns the current light level that a specified perceiver is exposed to. For characters, this would be the light levels in their room. For items, it is the maximum light levels in any room they are part of.
| Parameter | Type | Description |
|---|---|---|
perceiver |
Perceiver |
The perceiver for whom you would like to know the current light levels |