From b0c42682df04a0961c0b7bf7a8485afe2752a2c2 Mon Sep 17 00:00:00 2001 From: Verkister Date: Sat, 15 Sep 2018 00:31:41 +0300 Subject: [PATCH] Fixes curious rat getting stuck spammily. --- code/modules/mob/living/simple_animal/vore/rat.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/vore/rat.dm b/code/modules/mob/living/simple_animal/vore/rat.dm index 75d201699db..40b1800aa02 100644 --- a/code/modules/mob/living/simple_animal/vore/rat.dm +++ b/code/modules/mob/living/simple_animal/vore/rat.dm @@ -110,7 +110,9 @@ "almost sinks its teeth into [food], just stopping to give them another chance.")) hunger += 5 else if(hunger < 50) - visible_emote("appears to have had enough and prepares to strike!") + if(prob(25)) + visible_emote("appears to have had enough and prepares to strike!") + hunger += 5 else food.Weaken(5) food.visible_message("\the [src] pounces on \the [food]!!")