AI no longer interfaces with xenoarch artifacts (#11511)

This commit is contained in:
Doxxmedearly
2021-03-25 17:26:49 -05:00
committed by GitHub
parent 8bf8bcfd3e
commit d3ec00e15c
2 changed files with 11 additions and 0 deletions
@@ -324,3 +324,8 @@
my_effect.UpdateMove()
if(secondary_effect)
secondary_effect.UpdateMove()
/obj/machinery/artifact/attack_ai(mob/user) //AI can't interfact with weird artifacts. Borgs can but not remotely.
if(!isrobot(user) || !Adjacent(user))
return
return ..()
@@ -0,0 +1,6 @@
author: Doxxmedearly
delete-after: True
changes:
- tweak: "AI can no longer interact with xenoarchaeology artifacts. Borgs still can if they are adjacent to it."