From 1033a02f24c0b091935b229b77af97113dc34293 Mon Sep 17 00:00:00 2001 From: spessbandit Date: Sun, 5 Jan 2020 01:20:39 -0500 Subject: [PATCH] Clicking a sign examinates it. --- code/game/objects/structures/signs/_signs.dm | 6 ++++++ code/game/objects/structures/signs/signs_warning.dm | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures/signs/_signs.dm b/code/game/objects/structures/signs/_signs.dm index 78b4e41895a..1b14a66b9b3 100644 --- a/code/game/objects/structures/signs/_signs.dm +++ b/code/game/objects/structures/signs/_signs.dm @@ -24,6 +24,12 @@ if(BURN) playsound(loc, 'sound/items/welder.ogg', 80, TRUE) +/obj/structure/sign/attack_hand(mob/user) + . = ..() + if(.) + return + user.examinate(src) + /obj/structure/sign/attackby(obj/item/I, mob/user, params) if(I.tool_behaviour == TOOL_WRENCH && buildable_sign) user.visible_message("[user] starts removing [src]...", \ diff --git a/code/game/objects/structures/signs/signs_warning.dm b/code/game/objects/structures/signs/signs_warning.dm index 601eef1dda0..3a35f2d26ea 100644 --- a/code/game/objects/structures/signs/signs_warning.dm +++ b/code/game/objects/structures/signs/signs_warning.dm @@ -93,7 +93,7 @@ /obj/structure/sign/warning/testchamber name = "\improper TESTING AREA" - desc = "A sign that warns of high power testing equipment in the area. That's either a really powerful laser... or a satellite landing on some person's head." + desc = "A sign that warns of high-power testing equipment in the area. That's either a really powerful laser... or a satellite landing on some person's head." icon_state = "testchamber" /obj/structure/sign/warning/firingrange @@ -113,7 +113,7 @@ /obj/structure/sign/warning/gasmask name = "\improper CONTAMINATED AIR" - desc = "A sign that warns of dangerous particulates in the air, instructing you to wear a filtration device.." + desc = "A sign that warns of dangerous particulates in the air, instructing you to wear a filtration device." icon_state = "gasmask" /obj/structure/sign/warning/chemdiamond