[MIRROR] Intercoms can now be interacted with via the telekinesis mutation (#297)

* Intercoms now have appropriate attack_tk_grab response (#52835)

Due to issues with item interaction code, this PR means the intercom is now viewable with telekinesis but is not interactable unless adjacent.

* Intercoms can now be interacted with via the telekinesis mutation

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
This commit is contained in:
SkyratBot
2020-08-12 11:27:53 +01:00
committed by GitHub
co-authored by Timberpoes
parent 7588e7ff4a
commit 0d2c2009f8
@@ -55,6 +55,14 @@
return
return ..()
/**
* Override attack_tk_grab instead of attack_tk because we actually want attack_tk's
* functionality. What we DON'T want is attack_tk_grab attempting to pick up the
* intercom as if it was an ordinary item.
*/
/obj/item/radio/intercom/attack_tk_grab(mob/user)
interact(user)
/obj/item/radio/intercom/attack_ai(mob/user)
interact(user)