diff --git a/code/modules/mob/living/simple_animal/friendly/cat.dm b/code/modules/mob/living/simple_animal/friendly/cat.dm index 4f1f0fadd57..0930d59cb44 100644 --- a/code/modules/mob/living/simple_animal/friendly/cat.dm +++ b/code/modules/mob/living/simple_animal/friendly/cat.dm @@ -32,6 +32,8 @@ response_harm_simple = "kick" var/turns_since_scan = 0 var/mob/living/simple_animal/mouse/movement_target + ///Limits how often cats can spam chasing mice. + var/emote_cooldown = 0 gold_core_spawnable = FRIENDLY_SPAWN collar_type = "cat" can_be_held = TRUE @@ -198,6 +200,12 @@ if((src.loc) && isturf(src.loc)) if(!stat && !resting && !buckled) for(var/mob/living/simple_animal/mouse/M in view(1,src)) + if(istype(M, /mob/living/simple_animal/mouse/brown/Tom) && (name == "Jerry")) //Turns out there's no jerry subtype. + if (emote_cooldown < (world.time - 600)) + visible_message("[src] chases [M] around, to no avail!") + step(M, pick(GLOB.cardinals)) + emote_cooldown = world.time + break if(!M.stat && Adjacent(M)) emote("me", 1, "splats \the [M]!") M.splat()