Space Station 13 - Modules - TypesVar Details - Proc Details

ambient_group

Vars

apparent_rColor data, do NOT modify manually
busyPrevent modification of member turfs or colour while an operation is taking place
global_indexIndex in SSambient_lighting map

Procs

add_turfAdds turf to ambient group, will set bitflags and set current ambient light
remove_ambient_lightRemoves group ambient light from turf
remove_turfRemoves turf from ambient group if it is part of it. Removes group's ambient light and flag from turf
set_ambient_lightAdds group ambient light to a turf

Var Details

apparent_r

Color data, do NOT modify manually

busy

Prevent modification of member turfs or colour while an operation is taking place

global_index

Index in SSambient_lighting map

Proc Details

add_turf

Adds turf to ambient group, will set bitflags and set current ambient light

Parameters:

remove_ambient_light

Removes group ambient light from turf

Parameters:

remove_turf

Removes turf from ambient group if it is part of it. Removes group's ambient light and flag from turf

Parameters:

set_ambient_light

Adds group ambient light to a turf

Parameters: