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.


![image](https://github.com/tgstation/tgstation/assets/76465278/7626b3d9-2c18-4c82-b6e7-44423027914c)
## 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
🆑
qol: Railings now have Examine hints for how to deconstruct them
/🆑
This commit is contained in:
OrionTheFox
2023-10-24 11:20:53 -06:00
committed by GitHub
parent 8cfe93c515
commit 8ee3e8a6ba
+7
View File
@@ -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 <b>bolted</b> to the floor.")
else
. += span_notice("The railing is <i>unbolted</i> from the floor and can be deconstructed with <b>wirecutters</b>.")
/obj/structure/railing/attackby(obj/item/I, mob/living/user, params)
..()
add_fingerprint(user)