From d3fa775369ba26cd4a2d602ed5086aa78ea6f79d Mon Sep 17 00:00:00 2001
From: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Date: Thu, 9 Jul 2026 09:22:48 -0500
Subject: [PATCH] Fix false walls being distinguisable via examine (#96866)
## About The Pull Request
None of this code got updated with all the examine changes so it stuck
out
Now it looks proper again
## Changelog
:cl: Melbert
fix: Fix false walls being distinguisable via examine
/:cl:
---
code/game/objects/structures/false_walls.dm | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/code/game/objects/structures/false_walls.dm b/code/game/objects/structures/false_walls.dm
index 358213fd550..785ad0ab3f8 100644
--- a/code/game/objects/structures/false_walls.dm
+++ b/code/game/objects/structures/false_walls.dm
@@ -33,9 +33,13 @@
/obj/structure/falsewall/Initialize(mapload)
. = ..()
- var/obj/item/stack/initialized_mineral = new mineral // Okay this kinda sucks.
- set_custom_materials(initialized_mineral.mats_per_unit, mineral_amount)
- qdel(initialized_mineral)
+ // minerals are only applied to fake mineral walls
+ // ...yes, real iron walls are not actually made of iron
+ if(ispath(walltype, /turf/closed/wall/mineral))
+ var/obj/item/stack/initialized_mineral = new mineral // Okay this kinda sucks.
+ set_custom_materials(initialized_mineral.mats_per_unit, mineral_amount)
+ qdel(initialized_mineral)
+
air_update_turf(TRUE, TRUE)
update_appearance()
@@ -145,9 +149,11 @@
/obj/structure/falsewall/get_dumping_location()
return null
+/obj/structure/falsewall/examine_descriptor(mob/user)
+ return "wall"
+
/obj/structure/falsewall/examine_status(mob/user) //So you can't detect falsewalls by examine.
- to_chat(user, span_notice("The outer plating is welded firmly in place."))
- return null
+ return span_notice("The outer plating is welded firmly in place.")
/obj/structure/falsewall/mouse_drop_receive(mob/living/dropping, mob/user, params)
. = ..()
@@ -168,8 +174,7 @@
smoothing_flags = SMOOTH_BITMASK
/obj/structure/falsewall/reinforced/examine_status(mob/user)
- to_chat(user, span_notice("The outer grille is fully intact."))
- return null
+ return span_notice("The outer grille is fully intact.")
/obj/structure/falsewall/reinforced/attackby(obj/item/tool, mob/user)
..()