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

🆑
qol: Pinpointers now tell what they are tracking when examined
/🆑
This commit is contained in:
SuperSlayer
2023-01-12 19:53:40 -08:00
committed by GitHub
parent bdd9994c35
commit 69f643527c
+5
View File
@@ -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)