/tg/ Station 13 - Modules - TypesVar Details - Proc Details

light

Vars

base_stateBase icon state for each bulb types
brightnessHow much light it gives off
statusLIGHT_OK, LIGHT_BURNED or LIGHT_BROKEN
switchcountNumber of times switched on and off

Procs

is_intactReturns true if bulb is intact

Var Details

base_state

Base icon state for each bulb types

brightness

How much light it gives off

status

LIGHT_OK, LIGHT_BURNED or LIGHT_BROKEN

switchcount

Number of times switched on and off

Proc Details

is_intact

Returns true if bulb is intact