From d3ec00e15c81e1cc3227473cca55f830f63b199f Mon Sep 17 00:00:00 2001 From: Doxxmedearly <38594443+Doxxmedearly@users.noreply.github.com> Date: Thu, 25 Mar 2021 17:26:49 -0500 Subject: [PATCH] AI no longer interfaces with xenoarch artifacts (#11511) --- .../research/xenoarchaeology/artifact/artifact_unknown.dm | 5 +++++ html/changelogs/doxxmedearly - artifact_AI.yml | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 html/changelogs/doxxmedearly - artifact_AI.yml diff --git a/code/modules/research/xenoarchaeology/artifact/artifact_unknown.dm b/code/modules/research/xenoarchaeology/artifact/artifact_unknown.dm index 7d6b9ed01fb..727d9760a09 100644 --- a/code/modules/research/xenoarchaeology/artifact/artifact_unknown.dm +++ b/code/modules/research/xenoarchaeology/artifact/artifact_unknown.dm @@ -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 ..() \ No newline at end of file diff --git a/html/changelogs/doxxmedearly - artifact_AI.yml b/html/changelogs/doxxmedearly - artifact_AI.yml new file mode 100644 index 00000000000..fde348e7b20 --- /dev/null +++ b/html/changelogs/doxxmedearly - artifact_AI.yml @@ -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."