[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
@@ -82,10 +82,6 @@
to_chat(user, span_warning("\The [src] needs to be firmly secured to the floor first."))
return 1
/obj/machinery/power/emitter/emp_act(severity, recursive)
return TRUE
/obj/machinery/power/emitter/process()
if(stat & (BROKEN))
return
@@ -169,10 +169,6 @@
..()
return
/obj/machinery/field_generator/emp_act(severity, recursive)
return FALSE
/obj/machinery/field_generator/bullet_act(var/obj/item/projectile/Proj)
if(istype(Proj, /obj/item/projectile/beam))
power += Proj.damage * EMITTER_DAMAGE_POWER_TRANSFER
@@ -19,11 +19,10 @@
var/list/obj/structure/particle_accelerator/connected_parts
var/assembled = 0
var/parts = null
var/datum/wires/particle_acc/control_box/wires = null
/obj/machinery/particle_accelerator/control_box/Initialize(mapload)
. = ..()
wires = new(src)
set_wires(new /datum/wires/particle_acc/control_box(src))
connected_parts = list()
update_active_power_usage(initial(active_power_usage) * (strength + 1))