From a23ec3d9d2ef6504f7ae38e4a6c9e18c8d2d9d81 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 11 Jul 2024 16:12:18 +0200 Subject: [PATCH] [MIRROR] Fixes grounding rods (#28773) * Fixes grounding rods (#84839) ## About The Pull Request Grounding rods didn't have a circuit properly defined. This meant that mapped-in grounding rods (and presumably admin spawned ones) could not be upgraded and did not yield any parts or a circuit board when deconstructed. Now they do have a circuit defined. Fixes #84588 ## Changelog :cl: fix: Mapped in grounding rods can be upgraded again (not that upgraded parts do anything for it) and don't disappear when deconstructed anymore. /:cl: * Fixes grounding rods --------- Co-authored-by: GPeckman <21979502+GPeckman@users.noreply.github.com> --- code/modules/power/tesla/coil.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/power/tesla/coil.dm b/code/modules/power/tesla/coil.dm index b9313ae26ba..a3bdd2b55bd 100644 --- a/code/modules/power/tesla/coil.dm +++ b/code/modules/power/tesla/coil.dm @@ -129,6 +129,8 @@ density = TRUE wants_powernet = FALSE + circuit = /obj/item/circuitboard/machine/grounding_rod + can_buckle = TRUE buckle_lying = 0 buckle_requires_restraints = TRUE