From 5fde47917d80193c199f52b5e27acb1792907fae Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Tue, 25 Apr 2017 09:39:30 -0500 Subject: [PATCH] Examining a window gives tips for construction/deconstruction --- code/game/objects/structures/window.dm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index c6c2ef358b..ac1748c694 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -27,7 +27,23 @@ /obj/structure/window/examine(mob/user) ..() - to_chat(user, "Alt-click to rotate it clockwise.") + if(reinf) + if(anchored && state == WINDOW_SCREWED_TO_FRAME) + to_chat(user, "The window is screwed to the frame.") + else if(anchored && state == WINDOW_IN_FRAME) + to_chat(user, "The window is unscrewed but pried into the frame.") + else if(anchored && state == WINDOW_OUT_OF_FRAME) + to_chat(user, "The window is out of the frame, but could be pried in. It is screwed to the floor.") + else if(!anchored) + to_chat(user, "The window is unscrewed from the floor, and could be deconstructed by wrenching.") + else + if(anchored) + to_chat(user, "The window is screwed to the floor.") + else + to_chat(user, "The window is unscrewed from the floor, and could be deconstructed by wrenching.") + + if(!anchored) + to_chat(user, "Alt-click to rotate it clockwise.") /obj/structure/window/Initialize(mapload, direct) ..() @@ -389,6 +405,7 @@ /obj/structure/window/reinforced name = "reinforced window" + desc = "A window that is reinforced with metal rods." icon_state = "rwindow" reinf = 1 heat_resistance = 1600