[Port] Explosions Subsystem Test 1 (#10202)

* Explosions Subsystem Test 1

* Fucking linter

* Fucking TG Are Dents

* SCREW OFF LINTER
This commit is contained in:
Jamie D
2020-10-28 17:54:13 +00:00
committed by GitHub
parent ea8d16d34d
commit 0dd6fae119
85 changed files with 968 additions and 631 deletions

View File

@@ -142,7 +142,13 @@
// Minor explosions are mostly mitigitated by casing.
/obj/machinery/modular_computer/ex_act(severity)
if(cpu)
cpu.ex_act(severity)
switch(severity)
if(EXPLODE_DEVASTATE)
SSexplosions.high_mov_atom += cpu
if(EXPLODE_HEAVY)
SSexplosions.med_mov_atom += cpu
if(EXPLODE_LIGHT)
SSexplosions.low_mov_atom += cpu
..()
// EMPs are similar to explosions, but don't cause physical damage to the casing. Instead they screw up the components