ambient_group
Vars | |
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 |
Procs | |
add_turf | Adds turf to ambient group, will set bitflags and set current ambient light |
remove_ambient_light | Removes group ambient light from turf |
remove_turf | Removes turf from ambient group if it is part of it. Removes group's ambient light and flag from turf |
set_ambient_light | Adds 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:
T
turf - Turf to add and track
remove_ambient_light
Removes group ambient light from turf
Parameters:
T
turf - Turf to modify
remove_turf
Removes turf from ambient group if it is part of it. Removes group's ambient light and flag from turf
Parameters:
T
turf - Turf to remove
set_ambient_light
Adds group ambient light to a turf
Parameters:
T
turf - Turf to modify