mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +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.
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
/proc/KillEveryoneOnZLevel(level)
|
||||
if(!level)
|
||||
return
|
||||
for(var/mob/living/M in GLOB.mob_living_list)
|
||||
if(M.loc.z == level)
|
||||
M.flash_act(100, TRUE, TRUE)
|
||||
to_chat(M, "<span class='userdanger'>You feel your skin prickle with heat as you're ripped atom from atom in the raging inferno of a nuclear blast. Your last thought is 'Oh fuck.'</span>")
|
||||
M.emote("scream")
|
||||
M.gib()
|
||||
@@ -3423,6 +3423,7 @@
|
||||
#include "modular_skyrat\master_files\code\game\objects\structures\sauna_oven.dm"
|
||||
#include "modular_skyrat\master_files\code\game\objects\structures\trash_pile.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\antagonists\ert\ert.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\antagonists\nukeop\equipment\nuclearbomb.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\clothing\anthro_clothes.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\clothing\non_anthro_clothes.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\clothing\outfits\ert.dm"
|
||||
|
||||
Reference in New Issue
Block a user