From 27743ab57ac089f1a5228bb86d66bcbf6ac9aa77 Mon Sep 17 00:00:00 2001 From: TheFurryFeline <38586851+TheFurryFeline@users.noreply.github.com> Date: Sat, 23 Feb 2019 20:22:56 -0500 Subject: [PATCH] Bap a Jenner! You should be able to whack Jenner with a newspaper to get someone out without killing the poor darling. For those who are just wanting to give Jenner a spanking with said newspaper...... You just might get surprised with a maw, gullet, and beyond.~ --- .../mob/living/simple_animal/vore/rat.dm | 26 ++++++++++++++++++- 1 file changed, 25 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 3382b1bb50..fa56ab4fe8 100644 --- a/code/modules/mob/living/simple_animal/vore/rat.dm +++ b/code/modules/mob/living/simple_animal/vore/rat.dm @@ -128,6 +128,30 @@ food = null return . = ..() + //TFF - Time to let rats, specifically our dear Jenner, react to newspapers. Yayyyyyyy! + if(istype(O, /obj/item/weapon/newspaper)) + if (retaliate && prob(vore_pounce_chance/2)) // This is a gamble! + user.Weaken(5) //They get tackled anyway whether they're edible or not. + user.visible_message("\the [user] swats \the [src] with \the [O] and promptly gets tackled!!") + if (will_eat(user)) + stop_automated_movement = 1 + animal_nom(user) + update_icon() + stop_automated_movement = 0 + else if (!target_mob) // no using this to clear a retaliate mob's target + target_mob = user //just because you're not tasty doesn't mean you get off the hook. A swat for a swat. + AttackTarget() + LoseTarget() // only make one attempt at an attack rather than going into full rage mode + else + user.visible_message("\the [user] swats \the [src] with \the [O]!!") + release_vore_contents() + for(var/mob/living/L in living_mobs(0)) //add everyone on the tile to the do-not-eat list for a while + if(!(L in prey_excludes)) // Unless they're already on it, just to avoid fuckery. + prey_excludes += L + spawn(3600) + if(src && L) + prey_excludes -= L + ..() /mob/living/simple_animal/hostile/rat/passive/Found(var/atom/found_atom) if(!SA_attackable(found_atom)) @@ -163,4 +187,4 @@ maxHealth = 50 health = 50 speed = 4 - vore_pounce_chance = 1 \ No newline at end of file + vore_pounce_chance = 1