From b288ebf3987db1decdc45c9cb45aa264cc7731f3 Mon Sep 17 00:00:00 2001 From: Coldud Date: Wed, 26 Jan 2022 07:42:02 +1100 Subject: [PATCH] Adds better examine text to catwalk plating (#64355) * adds better examine text to catwalk plating --- code/game/turfs/open/floor/catwalk_plating.dm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/game/turfs/open/floor/catwalk_plating.dm b/code/game/turfs/open/floor/catwalk_plating.dm index 27ff3b54691..47b56ee9fc2 100644 --- a/code/game/turfs/open/floor/catwalk_plating.dm +++ b/code/game/turfs/open/floor/catwalk_plating.dm @@ -29,6 +29,15 @@ underlays += catwalk_underlays[catwalk_type] update_appearance() +/turf/open/floor/catwalk_floor/examine(mob/user) + . = ..() + + if(covered) + . += span_notice("You can unscrew it to reveal the contents beneath.") + else + . += span_notice("You can screw it to hide the contents beneath.") + . += span_notice("There's a small crack on the edge of it.") + /turf/open/floor/catwalk_floor/screwdriver_act(mob/living/user, obj/item/tool) . = ..() covered = !covered @@ -43,6 +52,7 @@ plane = GAME_PLANE icon_state = "[catwalk_type]_above" user.balloon_alert(user, "[!covered ? "cover removed" : "cover added"]") + tool.play_tool_sound(src) update_appearance() /turf/open/floor/catwalk_floor/crowbar_act(mob/user, obj/item/crowbar)