mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 03:59:59 +01:00
Thermonuclear Detonation (#3548)
* Update nuclearbomb.dm * Update nuclearbomb.dm * a
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
// If we're not exploding, set the alert level back to normal
|
||||
set_safety()
|
||||
GLOB.nuke_list -= src
|
||||
explosion(src, 50, 70, 80, 100, TRUE, TRUE) //SKYRAT EDIT ADDITION
|
||||
QDEL_NULL(countdown)
|
||||
QDEL_NULL(core)
|
||||
. = ..()
|
||||
@@ -492,6 +493,8 @@
|
||||
SSshuttle.registerHostileEnvironment(src)
|
||||
SSshuttle.lockdown = TRUE
|
||||
|
||||
INVOKE_ASYNC(GLOBAL_PROC,.proc/KillEveryoneOnZLevel, z) //SKYRAT EDIT ADDITION
|
||||
|
||||
//Cinematic
|
||||
SSticker.mode.OnNukeExplosion(off_station)
|
||||
really_actually_explode(off_station)
|
||||
@@ -499,7 +502,7 @@
|
||||
|
||||
/obj/machinery/nuclearbomb/proc/really_actually_explode(off_station)
|
||||
Cinematic(get_cinematic_type(off_station),world,CALLBACK(SSticker,/datum/controller/subsystem/ticker/proc/station_explosion_detonation,src))
|
||||
INVOKE_ASYNC(GLOBAL_PROC,.proc/KillEveryoneOnZLevel, z)
|
||||
//INVOKE_ASYNC(GLOBAL_PROC,.proc/KillEveryoneOnZLevel, z) SKYRAT EDIT REMOVAL
|
||||
|
||||
/obj/machinery/nuclearbomb/proc/get_cinematic_type(off_station)
|
||||
if(off_station < 2)
|
||||
@@ -587,6 +590,7 @@
|
||||
disarm()
|
||||
stationwide_foam()
|
||||
|
||||
/* SKYRAT EDIT REMOVAL - MOVED TO MODULAR NUCLEARBOMB.DM
|
||||
/proc/KillEveryoneOnZLevel(z)
|
||||
if(!z)
|
||||
return
|
||||
@@ -594,6 +598,7 @@
|
||||
var/mob/living/victim = _victim
|
||||
if(victim.stat != DEAD && victim.z == z)
|
||||
victim.gib()
|
||||
*/
|
||||
|
||||
/*
|
||||
This is here to make the tiles around the station mininuke change when it's armed.
|
||||
|
||||
Reference in New Issue
Block a user