From bca608e8795a6bc742a52ee051176c33ab96caf8 Mon Sep 17 00:00:00 2001 From: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com> Date: Mon, 31 Jan 2022 17:49:40 -0500 Subject: [PATCH] Walls built on metal foam instead of girders revert to metal foam when decon'd (#64553) * raises cost of metal from foam * goes with fikou's idea for metal foam girder_type --- code/game/objects/effects/effect_system/effects_foam.dm | 6 +++--- code/game/turfs/closed/walls.dm | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/code/game/objects/effects/effect_system/effects_foam.dm b/code/game/objects/effects/effect_system/effects_foam.dm index 5a35a21a253..bd8703147ad 100644 --- a/code/game/objects/effects/effect_system/effects_foam.dm +++ b/code/game/objects/effects/effect_system/effects_foam.dm @@ -313,7 +313,7 @@ if(HAS_TRAIT(user, TRAIT_QUICK_BUILD)) platingmodifier = 0.7 if(next_beep <= world.time) - next_beep = world.time + 10 + next_beep = world.time + 1 SECONDS playsound(src, 'sound/machines/clockcult/integration_cog_install.ogg', 50, TRUE) add_fingerprint(user) @@ -323,7 +323,7 @@ var/obj/item/stack/sheet/sheet_for_plating = W if(istype(sheet_for_plating, /obj/item/stack/sheet/iron)) if(sheet_for_plating.get_amount() < 2) - to_chat(user, span_warning("You need two sheets of iron to finish a wall!")) + to_chat(user, span_warning("You need four sheets of iron to finish a wall on [src]!")) return to_chat(user, span_notice("You start adding plating to the foam structure...")) if (do_after(user, 40*platingmodifier, target = src)) @@ -331,7 +331,7 @@ return to_chat(user, span_notice("You add the plating.")) var/turf/T = get_turf(src) - T.PlaceOnTop(/turf/closed/wall) + T.PlaceOnTop(/turf/closed/wall/metal_foam_base) transfer_fingerprints_to(T) qdel(src) return diff --git a/code/game/turfs/closed/walls.dm b/code/game/turfs/closed/walls.dm index 8ec4fac0274..956fd09768b 100644 --- a/code/game/turfs/closed/walls.dm +++ b/code/game/turfs/closed/walls.dm @@ -325,4 +325,7 @@ new /obj/effect/temp_visual/glowing_rune(src) return ..() +/turf/closed/wall/metal_foam_base + girder_type = /obj/structure/foamedmetal + #undef MAX_DENT_DECALS