mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 05:52:17 +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:
@@ -528,7 +528,7 @@ Doing this because FindTurfs() isn't even used
|
||||
src << "Only administrators may use this command."
|
||||
return
|
||||
for(var/turf/T in world)
|
||||
if(prob(4) && T.z == 1 && istype(T,/turf/station/floor))
|
||||
if(prob(4) && T.z in station_levels && istype(T,/turf/station/floor))
|
||||
spawn(50+rand(0,3000))
|
||||
var/obj/item/weapon/tank/plasmatank/pt = new /obj/item/weapon/tank/plasmatank( T )
|
||||
pt.gas.temperature = 400+T0C
|
||||
|
||||
Reference in New Issue
Block a user