From f5154ed5634d286ee52bf232717b51555d533713 Mon Sep 17 00:00:00 2001 From: Geeves Date: Wed, 16 Dec 2020 23:22:56 +0200 Subject: [PATCH] Anti-Clumping Viscerators (#10767) Viscerators can no longer be on the same tile as other viscerators. --- code/modules/mob/living/simple_animal/hostile/viscerator.dm | 6 ++++++ html/changelogs/geeves-clumping.yml | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 html/changelogs/geeves-clumping.yml diff --git a/code/modules/mob/living/simple_animal/hostile/viscerator.dm b/code/modules/mob/living/simple_animal/hostile/viscerator.dm index 84e95860e00..4b4728ca2d7 100644 --- a/code/modules/mob/living/simple_animal/hostile/viscerator.dm +++ b/code/modules/mob/living/simple_animal/hostile/viscerator.dm @@ -36,6 +36,12 @@ spark(T, 3, alldirs) qdel(src) +/mob/living/simple_animal/hostile/viscerator/CanPass(atom/movable/mover, turf/target, height, air_group) + . = ..() + if(.) + if(istype(mover, /mob/living/simple_animal/hostile/viscerator)) + return FALSE + /mob/living/simple_animal/hostile/viscerator/proc/wakeup() stance = HOSTILE_STANCE_IDLE diff --git a/html/changelogs/geeves-clumping.yml b/html/changelogs/geeves-clumping.yml new file mode 100644 index 00000000000..0b79700c8bd --- /dev/null +++ b/html/changelogs/geeves-clumping.yml @@ -0,0 +1,6 @@ +author: Geeves + +delete-after: True + +changes: + - tweak: "Viscerators can no longer be on the same tile as other viscerators." \ No newline at end of file