Space Station 13 - Modules - TypesVar Details - Proc Details

ambient_lighting

Vars

free_group_flagsBitfield of free ambience group indices / channels
group_countThe number of ambient groups currently provisioned
groupsSparse list of ambient group instances
queueFifo queue of turfs that require an ambient lighting update
space_group_indexThe index of the space ambient group, if one exists

Procs

clean_turfRemoves turf from all ambient groups it is part of, if any
create_groupSet up an ambient group, returning its index or -1 if the pool is exhausted

Var Details

free_group_flags

Bitfield of free ambience group indices / channels

group_count

The number of ambient groups currently provisioned

groups

Sparse list of ambient group instances

queue

Fifo queue of turfs that require an ambient lighting update

space_group_index

The index of the space ambient group, if one exists

Proc Details

clean_turf

Removes turf from all ambient groups it is part of, if any

create_group

Set up an ambient group, returning its index or -1 if the pool is exhausted