[MIRROR] EMP & Wires refactor (#12658)

Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-04-11 16:14:18 -04:00
committed by GitHub
co-authored by Guti Cameron Lennox
parent 494fc9bea9
commit b116cc450d
148 changed files with 665 additions and 384 deletions
+4 -2
View File
@@ -82,8 +82,10 @@ GLOBAL_LIST_EMPTY(all_blobs)
return ..()
/obj/structure/blob/emp_act(severity, recursive)
if(overmind)
overmind.blob_type.on_emp(src, severity)
. = ..()
if (. & EMP_PROTECT_SELF || !overmind)
return
overmind.blob_type.on_emp(src, severity)
/obj/structure/blob/proc/pulsed()
if(pulse_timestamp <= world.time)
@@ -23,7 +23,7 @@
empulse(B.loc, 0, 1, 2)
/datum/blob_type/electromagnetic_web/on_attack(obj/structure/blob/B, mob/living/victim)
victim.emp_act(2)
victim.emp_act(EMP_MEDIUM)
/datum/blob_type/electromagnetic_web/on_chunk_tick(obj/item/blobcore_chunk/B)
var/turf/T = get_turf(B)