mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-05 23:11:52 +00:00
Z-Level Compatibility
Now possible to configure 3 different kind of Z-levels. Station levels: Which Z-levels the station exists on. Contact levels: Which Z-levels are typically affected by, for example, Code Red which alters the visual state of fire alarms. Player levels: Which Z-levels a character can typically reach.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
var/inactive_on_main_station = 0
|
||||
for(var/zone/zone in air_master.zones)
|
||||
var/turf/simulated/turf = locate() in zone.contents
|
||||
if(turf && turf.z == 1)
|
||||
if(turf && turf.z in config.station_levels)
|
||||
if(zone.needs_update)
|
||||
active_on_main_station++
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user