mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
SM Delam station wide siren (#15758)
* SM Delam station wide siren Adds some fluff to the SM when it hits 0 integrity. Sounds a global siren signifying a "meltdown" or delam is imminent. 🆑 add: adds a global siren shortly before delam. /🆑 * Adding zlevel check for alarm Thank you hal9000 and kyet for helping :) Co-authored-by: Kyep <16434066+Kyep@users.noreply.github.com> Co-authored-by: Kyep <16434066+Kyep@users.noreply.github.com>
This commit is contained in:
@@ -280,6 +280,10 @@
|
||||
add_overlay(causality_field, TRUE)
|
||||
|
||||
var/speaking = "[emergency_alert] The supermatter has reached critical integrity failure. Emergency causality destabilization field has been activated."
|
||||
for(var/mob/M in GLOB.player_list) // for all players
|
||||
var/turf/T = get_turf(M)
|
||||
if(istype(T) && atoms_share_level(T, src)) // if the player is on the same zlevel as the SM shared
|
||||
SEND_SOUND(M, sound('sound/machines/engine_alert2.ogg')) // then send them the sound file
|
||||
radio.autosay(speaking, name, null, list(z))
|
||||
for(var/i in SUPERMATTER_COUNTDOWN_TIME to 0 step -10)
|
||||
if(damage < explosion_point) // Cutting it a bit close there engineers
|
||||
|
||||
Reference in New Issue
Block a user