From 69f643527c19eccc580774888e8f61f3489894b4 Mon Sep 17 00:00:00 2001 From: SuperSlayer <91609255+SuperSlayer0@users.noreply.github.com> Date: Fri, 13 Jan 2023 05:53:40 +0200 Subject: [PATCH] Makes pinpointers tell what they are tracking when examined (#72537) ## About The Pull Request Makes pinpointers tell what/who are they tracking when examined. ## Why It's Good For The Game Makes pinpointers more comfortable to use. ## Changelog :cl: qol: Pinpointers now tell what they are tracking when examined /:cl: --- code/game/objects/items/pinpointer.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/game/objects/items/pinpointer.dm b/code/game/objects/items/pinpointer.dm index f50230ab2c5..82fe4ffae96 100644 --- a/code/game/objects/items/pinpointer.dm +++ b/code/game/objects/items/pinpointer.dm @@ -37,6 +37,11 @@ toggle_on() user.visible_message(span_notice("[user] [active ? "" : "de"]activates [user.p_their()] pinpointer."), span_notice("You [active ? "" : "de"]activate your pinpointer.")) +/obj/item/pinpointer/examine(mob/user) + . = ..() + if(target) + . += "It is currently tracking [target]." + /obj/item/pinpointer/proc/toggle_on() active = !active playsound(src, 'sound/items/screwdriver2.ogg', 50, TRUE)