Merge pull request #15371 from DeltaFire15/unintended-devastation
Devastation level explosions no longer delete organs of gibbed humans
This commit is contained in:
@@ -58,9 +58,9 @@
|
||||
storedpda.forceMove(loc)
|
||||
storedpda = null
|
||||
|
||||
/obj/machinery/pdapainter/contents_explosion(severity, target)
|
||||
/obj/machinery/pdapainter/contents_explosion(severity, target, origin)
|
||||
if(storedpda)
|
||||
storedpda.ex_act(severity, target)
|
||||
storedpda.ex_act(severity, target, origin)
|
||||
|
||||
/obj/machinery/pdapainter/handle_atom_del(atom/A)
|
||||
if(A == storedpda)
|
||||
|
||||
@@ -405,9 +405,9 @@ Class Procs:
|
||||
update_appearance()
|
||||
return TRUE
|
||||
|
||||
/obj/machinery/contents_explosion(severity, target)
|
||||
/obj/machinery/contents_explosion(severity, target, origin)
|
||||
if(occupant)
|
||||
occupant.ex_act(severity, target)
|
||||
occupant.ex_act(severity, target, origin)
|
||||
|
||||
/obj/machinery/handle_atom_del(atom/A)
|
||||
if(A == occupant)
|
||||
|
||||
@@ -55,9 +55,9 @@
|
||||
storedpart.forceMove(loc)
|
||||
storedpart = null
|
||||
|
||||
/obj/machinery/aug_manipulator/contents_explosion(severity, target)
|
||||
/obj/machinery/aug_manipulator/contents_explosion(severity, target, origin)
|
||||
if(storedpart)
|
||||
storedpart.ex_act(severity, target)
|
||||
storedpart.ex_act(severity, target, origin)
|
||||
|
||||
/obj/machinery/aug_manipulator/handle_atom_del(atom/A)
|
||||
if(A == storedpart)
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
M.reset_perspective(null)
|
||||
to_chat(M, "The screen bursts into static.")
|
||||
|
||||
/obj/machinery/camera/ex_act(severity, target)
|
||||
/obj/machinery/camera/ex_act(severity, target, origin)
|
||||
if(invuln)
|
||||
return
|
||||
..()
|
||||
|
||||
@@ -439,7 +439,7 @@
|
||||
mob_occupant.copy_from_prefs_vr()
|
||||
go_out()
|
||||
|
||||
/obj/machinery/clonepod/ex_act(severity, target)
|
||||
/obj/machinery/clonepod/ex_act(severity, target, origin)
|
||||
..()
|
||||
if(!QDELETED(src))
|
||||
go_out()
|
||||
|
||||
@@ -158,12 +158,9 @@
|
||||
name = "Circuit board (Cryogenic Oversight Console)"
|
||||
build_path = "/obj/machinery/computer/cryopod"
|
||||
|
||||
/obj/machinery/computer/cryopod/contents_explosion()
|
||||
/obj/machinery/computer/cryopod/contents_explosion(severity, target, origin)
|
||||
return
|
||||
|
||||
/obj/machinery/computer/cryopod/contents_explosion()
|
||||
return //don't blow everyone's shit up.
|
||||
|
||||
/// The box
|
||||
/obj/item/storage/box/blue/cryostorage_items
|
||||
w_class = WEIGHT_CLASS_HUGE
|
||||
|
||||
@@ -407,7 +407,7 @@
|
||||
if(!stat) //Opens only powered doors.
|
||||
open() //Open everything!
|
||||
|
||||
/obj/machinery/door/ex_act(severity, target)
|
||||
/obj/machinery/door/ex_act(severity, target, origin)
|
||||
//if it blows up a wall it should blow up a door
|
||||
..(severity ? max(1, severity - 1) : 0, target)
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
/obj/machinery/door/password/emp_act(severity)
|
||||
return
|
||||
|
||||
/obj/machinery/door/password/ex_act(severity, target)
|
||||
/obj/machinery/door/password/ex_act(severity, target, origin)
|
||||
return
|
||||
|
||||
/obj/machinery/door/password/wave_ex_act(power, datum/wave_explosion/explosion, dir)
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
return ..()
|
||||
|
||||
//"BLAST" doors are obviously stronger than regular doors when it comes to BLASTS.
|
||||
/obj/machinery/door/poddoor/ex_act(severity, target)
|
||||
/obj/machinery/door/poddoor/ex_act(severity, target, origin)
|
||||
if(severity == 3)
|
||||
return
|
||||
..()
|
||||
|
||||
@@ -270,7 +270,7 @@
|
||||
var/range_light = 17
|
||||
var/range_flame = 17
|
||||
|
||||
/obj/item/bombcore/ex_act(severity, target) // Little boom can chain a big boom.
|
||||
/obj/item/bombcore/ex_act(severity, target, origin) // Little boom can chain a big boom.
|
||||
detonate()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user