[MIRROR] Makes pinpointers tell what they are tracking when examined [MDB IGNORE] (#18676)

* 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
/🆑

* Makes pinpointers tell what they are tracking when examined

Co-authored-by: SuperSlayer <91609255+SuperSlayer0@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-01-12 21:53:44 -08:00
committed by GitHub
co-authored by SuperSlayer
parent 8c0dcf0ac0
commit 1b7316cb85
+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)