mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user