From 42e1497022f9419bfb50db9e658b5ba0d0d8148a Mon Sep 17 00:00:00 2001 From: PKPenguin321 Date: Sun, 8 May 2016 17:34:26 -0700 Subject: [PATCH] Adds an alt-click prompt to the descriptions of various objects (#17050) * adds an alt-click prompt to the description of the detective revolver and the washing machine * adds italicnotice style to stylesheet.dm * updates revolver desc to be dynamic with vars, use new style * actually makes it dynamic forgot to check for reskinned var * makes washing machine break a line, use new style * gives lockers an alt click prompt * fixes indentation, travis * moves revolver examine changes to gun.dm * removes redundant locker message * makes messages just use the 'notice' span --- code/game/machinery/washing_machine.dm | 4 ++++ code/modules/projectiles/gun.dm | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/code/game/machinery/washing_machine.dm b/code/game/machinery/washing_machine.dm index d4d6b8ea72b..f7335295aef 100644 --- a/code/game/machinery/washing_machine.dm +++ b/code/game/machinery/washing_machine.dm @@ -18,6 +18,10 @@ var/obj/crayon var/obj/paper +/obj/machinery/washing_machine/examine(mob/user) + ..() + user << "Alt-click it to start a wash cycle." + /obj/machinery/washing_machine/AltClick(mob/user) if(!user.canUseTopic(src)) return diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index b9ca0ed63ee..05275c79817 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -91,6 +91,10 @@ user << "It has [pin] installed." else user << "It doesn't have a firing pin installed, and won't fire." + if(unique_reskin && !reskinned) + user << "Alt-click it to reskin it." + if(unique_rename) + user << "Use a pen on it to rename it." /obj/item/weapon/gun/proc/process_chamber()