From 3580593de7ed21e864a535bf7f7fc98b585a828c Mon Sep 17 00:00:00 2001 From: Toastical <20125180+Toastical@users.noreply.github.com> Date: Thu, 19 Jun 2025 19:59:15 +0300 Subject: [PATCH] prevent queen bees from leaving their home (#29611) --- code/modules/mob/living/simple_animal/hostile/bees.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/mob/living/simple_animal/hostile/bees.dm b/code/modules/mob/living/simple_animal/hostile/bees.dm index a9f90f65648..6246881b830 100644 --- a/code/modules/mob/living/simple_animal/hostile/bees.dm +++ b/code/modules/mob/living/simple_animal/hostile/bees.dm @@ -323,6 +323,11 @@ QDEL_NULL(queen) return ..() +/mob/living/simple_animal/hostile/poison/bees/queen/consider_wakeup() + if(beehome && loc == beehome) // The queen is home and doesn't have to do anything. + return + return ..() + /mob/living/simple_animal/hostile/poison/bees/consider_wakeup() if(beehome && loc == beehome) // If bees are chilling in their nest, they're not actively looking for targets idle = min(100, ++idle)