Migrate pinpointers to the new attack chain. (#32331)

* Migrate pinpointers to the new attack chain.

* Migrate contractor pinpointer as well.

* Add the coveted trailing newline.

Signed-off-by: Alan <alfalfascout@users.noreply.github.com>

* Apply suggestions from CRUNCH review.

Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
Signed-off-by: Alan <alfalfascout@users.noreply.github.com>

* Unscramble GitHub shenanigans.

---------

Signed-off-by: Alan <alfalfascout@users.noreply.github.com>
Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
This commit is contained in:
Alan
2026-08-01 06:16:01 +00:00
committed by GitHub
co-authored by CRUNCH
parent ede8934f19
commit b32ca855c0
2 changed files with 57 additions and 36 deletions
@@ -37,12 +37,15 @@
var/turf/there = get_turf(H)
return here && there && there.z == here.z
/obj/item/pinpointer/crew/contractor/attack_self__legacy__attackchain(mob/living/user)
if(owner)
if(owner != user.mind.current)
to_chat(user, SPAN_WARNING("[src] refuses to do anything."))
return
else
/obj/item/pinpointer/crew/contractor/activate_self(mob/living/user)
if(!owner)
owner = user.mind.current
to_chat(user, SPAN_NOTICE("[src] now recognizes you as its sole user."))
add_fingerprint(user)
return ..()
if(owner != user.mind.current)
to_chat(user, SPAN_WARNING("[src] refuses to do anything!"))
return ITEM_INTERACT_COMPLETE
return ..()