/tg/ Station 13 - Modules - TypesVar Details

light_switch

The light switch. Can have multiple per area.

Vars

areaSet this to a string, path, or area instance to control that area instead of the switch's location.
autonameShould this lightswitch automatically rename itself to match the area it's in?
light_on_rangeRange of the light emitted when powered, but off
sound_offThe sound the light makes when it's turned off
sound_onThe sound the light makes when it's turned on

Var Details

area

Set this to a string, path, or area instance to control that area instead of the switch's location.

autoname

Should this lightswitch automatically rename itself to match the area it's in?

light_on_range

Range of the light emitted when powered, but off

sound_off

The sound the light makes when it's turned off

sound_on

The sound the light makes when it's turned on