mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-26 14:16:21 +01:00
Fixes #458
Alters the EMP code so that mechas are actually affected by the exosuit computer commands. Anything that isn't a Gygax or a Durand will be instantly scuttled, with the two surviving mechas losing 70-99% of their cell capacity. Additionally, a small (1 tile) empulse is emitted from the position of the mecha, disabling headsets and the like.
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
spawn(5)
|
||||
if(!powernet)
|
||||
connect_to_network()
|
||||
|
||||
|
||||
dir_loop:
|
||||
for(var/d in cardinal)
|
||||
var/turf/T = get_step(src, d)
|
||||
@@ -347,7 +347,7 @@
|
||||
if(prob(50))
|
||||
emp_act(1)
|
||||
else
|
||||
emp_act(2)
|
||||
emp_act(0.5)
|
||||
if(prob(5)) //smoke only
|
||||
var/datum/effect/effect/system/smoke_spread/smoke = new /datum/effect/effect/system/smoke_spread()
|
||||
smoke.set_up(3, 0, src.loc)
|
||||
|
||||
Reference in New Issue
Block a user