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

light

Vars

can_modify_colourvar to prevent changing color on certain admin spawn only tiles
coloredlightslist of colours to choose
currentcolorcurrent light color
cycleused for light floors that cycle colours
lighttile_designsicons for radial menu
onvar to see if its on or off
statedefines on top

Procs

check_menucheck_menu: Checks if we are allowed to interact with a radial menu
emp_actcheck if broken
populate_lighttile_designscheck if broken create radial menu
update_appearancepick a broken state

Var Details

can_modify_colour

var to prevent changing color on certain admin spawn only tiles

coloredlights

list of colours to choose

currentcolor

current light color

cycle

used for light floors that cycle colours

lighttile_designs

icons for radial menu

on

var to see if its on or off

state

defines on top

Proc Details

check_menu

check_menu: Checks if we are allowed to interact with a radial menu

Arguments:

emp_act

check if broken

populate_lighttile_designs

check if broken create radial menu

update_appearance

pick a broken state