mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-09 00:13:55 +00:00
* Builds logic that manages turfs contained inside an area * Mirror Conflict * Modular! Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: Funce <funce.973@gmail.com> Co-authored-by: tastyfish <crazychris32@gmail.com>
13 lines
267 B
Plaintext
13 lines
267 B
Plaintext
|
|
/proc/create_all_lighting_objects()
|
|
for(var/area/A as anything in GLOB.areas)
|
|
if(!A.static_lighting)
|
|
continue
|
|
|
|
for(var/turf/T as anything in A.get_contained_turfs())
|
|
if(T.always_lit)
|
|
continue
|
|
new/datum/lighting_object(T)
|
|
CHECK_TICK
|
|
CHECK_TICK
|