SS13 Radiation alert

This commit is contained in:
ZomgPonies
2013-10-27 04:52:07 -04:00
parent 52a64a21e2
commit 80413d809c
4 changed files with 32 additions and 2 deletions
+10
View File
@@ -10,6 +10,12 @@
spawn()
world << sound('sound/AI/radiation.ogg')
command_alert("High levels of radiation detected near the station. Please evacuate into one of the shielded maintenance tunnels.", "Anomaly Alert")
for(var/area/A in the_station_areas)
if(istype(A, /area/maintenance) || istype(A, /area/crew_quarters) || istype(A, /area/security/prison) || istype(A, /area/security/brig))
continue
A.radiation_alert()
make_maint_all_access()
@@ -52,6 +58,10 @@
command_alert("The station has passed the radiation belt. Please report to medbay if you experience any unusual symptoms. Maintenance will lose all access again shortly.", "Anomaly Alert")
for(var/area/A in the_station_areas)
if(istype(A, /area/maintenance) || istype(A, /area/crew_quarters) || istype(A, /area/security/prison) || istype(A, /area/security/brig))
continue
A.reset_radiation_alert()
sleep(600) // Want to give them time to get out of maintenance.