/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
populate_lighttile_designscreate radial menu

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:

populate_lighttile_designs

create radial menu