From 3d20e557f445a459da45ad553ff85ab77ae5164c Mon Sep 17 00:00:00 2001 From: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Date: Sun, 14 Jul 2024 21:02:27 -0500 Subject: [PATCH] All lattices make catwalk footsteps (instead of just catwalks) (#84917) ## About The Pull Request Lattices make catwalk sounds when walked across, much like their children catwalks do ## Why It's Good For The Game If you've ever walked across the tramway, it's really jarring to go from catwalk (footstep sound) -> lattice (no footstep sound) -> catwalk (footstep sound) -> lattice (no footstep sound) But they'd probably sound the same in practice ## Changelog :cl: Melbert qol: Lattices now make the same footstep sound as catwalks /:cl: --- code/game/objects/structures/lattice.dm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/game/objects/structures/lattice.dm b/code/game/objects/structures/lattice.dm index cf6fe65abe2..0d7d2319174 100644 --- a/code/game/objects/structures/lattice.dm +++ b/code/game/objects/structures/lattice.dm @@ -23,6 +23,7 @@ if(length(give_turf_traits)) give_turf_traits = string_list(give_turf_traits) AddElement(/datum/element/give_turf_traits, give_turf_traits) + AddElement(/datum/element/footstep_override, footstep = FOOTSTEP_CATWALK) /datum/armor/structure_lattice melee = 50 @@ -98,10 +99,6 @@ obj_flags = CAN_BE_HIT | BLOCK_Z_OUT_DOWN | BLOCK_Z_IN_UP give_turf_traits = list(TRAIT_TURF_IGNORE_SLOWDOWN, TRAIT_LAVA_STOPPED, TRAIT_CHASM_STOPPED, TRAIT_IMMERSE_STOPPED, TRAIT_HYPERSPACE_STOPPED) -/obj/structure/lattice/catwalk/Initialize(mapload) - . = ..() - AddElement(/datum/element/footstep_override, footstep = FOOTSTEP_CATWALK) - /obj/structure/lattice/catwalk/deconstruction_hints(mob/user) return span_notice("The supporting rods look like they could be cut.")