From 8ee3e8a6ba059cc02615714c83b98a05a862ff63 Mon Sep 17 00:00:00 2001
From: OrionTheFox <76465278+OrionTheFox@users.noreply.github.com>
Date: Tue, 24 Oct 2023 11:20:53 -0600
Subject: [PATCH] Adds Examine hints for Railing Deconstruction (#79205)
## About The Pull Request
While railings already have contextual tips, the context requires you to
already know what tool to be holding. Would probably be helpful to know
at a glance which tool that is.

## Why It's Good For The Game
Usability? Is that the word? IDK I noticed it was missing as I kept
hitting it with a screwdriver so I'm sure I can't be the only one.
## Changelog
:cl:
qol: Railings now have Examine hints for how to deconstruct them
/:cl:
---
code/game/objects/structures/railings.dm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/code/game/objects/structures/railings.dm b/code/game/objects/structures/railings.dm
index 682b691863c..5aaed01e0b8 100644
--- a/code/game/objects/structures/railings.dm
+++ b/code/game/objects/structures/railings.dm
@@ -63,6 +63,13 @@
AddComponent(/datum/component/simple_rotation, ROTATION_NEEDS_ROOM)
+/obj/structure/railing/examine(mob/user)
+ . = ..()
+ if(anchored == TRUE)
+ . += span_notice("The railing is bolted to the floor.")
+ else
+ . += span_notice("The railing is unbolted from the floor and can be deconstructed with wirecutters.")
+
/obj/structure/railing/attackby(obj/item/I, mob/living/user, params)
..()
add_fingerprint(user)