Adds the bluespace anchor cybernetic implant (#26978)

* Anchor? I hardly know her!

* biochip code my hated

* yeah that's fair

* Apply suggestions from code review

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com>

---------

Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
Qwertytoforty
2024-10-25 18:20:45 +00:00
committed by GitHub
co-authored by Luc
parent 8202e9a438
commit dc7d24c28c
21 changed files with 132 additions and 7 deletions
@@ -113,6 +113,8 @@
if(!is_teleport_allowed(starting.z) || starting_area.tele_proof)
to_chat(user, "<span class='danger'>[src] will not work here!</span>")
return
if(SEND_SIGNAL(user, COMSIG_MOVABLE_TELEPORTING, starting) & COMPONENT_BLOCK_TELEPORT)
return FALSE
var/mob/living/M = user
var/turf/mobloc = get_turf(M)
var/list/turfs = list()
@@ -20,6 +20,13 @@
return ..()
/obj/item/bio_chip/tracking/implant(mob/target)
if(ishuman(target))
var/mob/living/carbon/human/H = target
var/obj/item/organ/internal/cyberimp/chest/bluespace_anchor/anchor = H.get_int_organ(/obj/item/organ/internal/cyberimp/chest/bluespace_anchor)
if(anchor)
target.visible_message("<span class='danger'>[src] sparks out, disrupted by [anchor] inside [H]!</span>")
qdel(src)
return FALSE
. = ..()
if(!.)
return