[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
+1 -2
View File
@@ -9,7 +9,6 @@
var/smoke_strength = 3
var/obj/item/mine/mineitemtype = /obj/item/mine
var/panel_open = FALSE
var/datum/wires/mines/wires = null
var/camo_net = FALSE // Will the mine 'cloak' on deployment?
// The trap item will be triggered in some manner when detonating. Default only checks for grenades.
@@ -17,7 +16,7 @@
/obj/effect/mine/Initialize(mapload)
icon_state = "landmine_armed"
wires = new(src)
set_wires(new /datum/wires/mines(src))
. = ..()
if(ispath(trap))
trap = new trap(src)
@@ -148,3 +148,13 @@
/obj/effect/temp_visual/circle_wave/dirt
color = COLOR_ASTEROID_ROCK
/obj/effect/temp_visual/emp
name = "emp sparks"
icon_state = "empdisable"
/obj/effect/temp_visual/emp/pulse
name = "emp pulse"
icon_state = "emppulse"
duration = 8
randomdir = 0