From f56811d8dee244cf4071b76ef0944c4d5d58df5a Mon Sep 17 00:00:00 2001 From: SimplyLogan <47579821+loganuk@users.noreply.github.com> Date: Sat, 20 Sep 2025 00:52:53 +0100 Subject: [PATCH] Fixes unable to place power cables on reinforced catwalk in Lavaland (#93033) image image ## About The Pull Request Great success for #92975 resistance_flags = INDESTRUCTIBLE Prevented cables being placed on that reinforced catwalk Allowed just cables to be placed but the things are still unable to be damaged in testing I also made sure it does not affect regular catwalks | Cannot place cables still | Need to remove cover | |--------|--------| | image | image| ## Why It's Good For The Game - Allows you to fix wire / power issues on Lavaland ## Changelog :cl: fix: Fixes unable to place power cables on reinforced catwalk in Lavaland /:cl: Co-authored-by: loganuk --- code/game/objects/structures/lattice.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/game/objects/structures/lattice.dm b/code/game/objects/structures/lattice.dm index 6b84fd10826..d337f600c41 100644 --- a/code/game/objects/structures/lattice.dm +++ b/code/game/objects/structures/lattice.dm @@ -154,6 +154,13 @@ desc = "A heavily reinforced catwalk used to build bridges in hostile environments. It doesn't look like anything could make this budge." resistance_flags = INDESTRUCTIBLE +/obj/structure/lattice/catwalk/mining/attackby(obj/item/C, mob/user, list/modifiers, list/attack_modifiers) + // Allow cable placement even though we're indestructible + if(istype(C, /obj/item/stack/cable_coil)) + var/turf/T = get_turf(src) + return T.attackby(C, user) + return ..() + /obj/structure/lattice/catwalk/mining/deconstruction_hints(mob/user) return