[MIRROR] upports syndicate pai pet from chomp and emag behaviors (#12489)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-05 14:18:18 -07:00
committed by GitHub
parent d1b551f8f5
commit 99792a5cb9
42 changed files with 453 additions and 190 deletions
@@ -109,7 +109,7 @@
return attack_self(user)
/obj/item/modular_computer/attack_hand(var/mob/user)
if(anchored)
if(anchored || ispAI(user))
return attack_self(user)
return ..()
@@ -212,3 +212,10 @@
return
..()
/obj/item/modular_computer/allow_pai_interaction(mob/living/silicon/pai/user, proximity_flag)
if(!card_slot?.stored_card?.dna_hash || !user.master_dna)
return FALSE
if(card_slot.stored_card.dna_hash != user.master_dna)
return FALSE
return proximity_flag