mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
[Port] Explosions Subsystem Test 1 (#10202)
* Explosions Subsystem Test 1 * Fucking linter * Fucking TG Are Dents * SCREW OFF LINTER
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user