Daedalus Dock - Modules - TypesVar Details - Proc Details

light

Vars

base_stateBase icon state for each bulb types
bulb_outer_rangeHow much light it gives off
riggedTrue if rigged to explode
statusLIGHT_OK, LIGHT_BURNED or LIGHT_BROKEN
switchcountNumber of times switched on and off

Procs

on_reagent_changeHandles rigging the cell if it contains enough plasma.
on_reagents_delHandles the reagent holder datum being deleted for some reason. Probably someone making pizza lights.

Var Details

base_state

Base icon state for each bulb types

bulb_outer_range

How much light it gives off

rigged

True if rigged to explode

status

LIGHT_OK, LIGHT_BURNED or LIGHT_BROKEN

switchcount

Number of times switched on and off

Proc Details

on_reagent_change

Handles rigging the cell if it contains enough plasma.

on_reagents_del

Handles the reagent holder datum being deleted for some reason. Probably someone making pizza lights.