From c709b133452b07b85ef8e3f51218c6765f834348 Mon Sep 17 00:00:00 2001
From: denghis1 <63977635+denghis1@users.noreply.github.com>
Date: Wed, 1 Jul 2020 15:54:10 +0200
Subject: [PATCH] Prevent swarmers from eating the green podbay door energy
barrier
Prevents swarmers from eating the spacepoddoor, green energy field. This could be eaten to open up a way into space for swarmers
---
code/game/gamemodes/miniantags/bot_swarm/swarmer.dm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/code/game/gamemodes/miniantags/bot_swarm/swarmer.dm b/code/game/gamemodes/miniantags/bot_swarm/swarmer.dm
index 27097d64913..8da5b4468d7 100644
--- a/code/game/gamemodes/miniantags/bot_swarm/swarmer.dm
+++ b/code/game/gamemodes/miniantags/bot_swarm/swarmer.dm
@@ -363,6 +363,10 @@
to_chat(S, "This cryopod control computer should be preserved, it contains useful items and information about the inhabitants. Aborting.")
return FALSE
+/obj/structure/spacepoddoor/swarmer_act(mob/living/simple_animal/hostile/swarmer/S)
+ to_chat(S, "Disrupting this energy field would overload us. Aborting.")
+ return FALSE
+
/turf/simulated/wall/swarmer_act(mob/living/simple_animal/hostile/swarmer/S)
var/isonshuttle = istype(loc, /area/shuttle)
for(var/turf/T in range(1, src))