From cd9c0c847d8593d033d5de611337b3e9d090dd66 Mon Sep 17 00:00:00 2001 From: Aurorablade Date: Mon, 16 Jul 2018 23:50:42 -0400 Subject: [PATCH] Nueters Vulpakanin --- code/datums/diseases/lycancoughy.dm | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/code/datums/diseases/lycancoughy.dm b/code/datums/diseases/lycancoughy.dm index 2c5a8752cbb..079c024ddaa 100644 --- a/code/datums/diseases/lycancoughy.dm +++ b/code/datums/diseases/lycancoughy.dm @@ -10,6 +10,7 @@ viable_mobtypes = list(/mob/living/carbon/human, /mob/living/carbon/human/monkey) desc = "If left untreated subject will regurgitate... puppies." severity = MEDIUM + var/barklimit = 0 /datum/disease/lycan/stage_act() ..() @@ -34,12 +35,20 @@ "You howl!") affected_mob.AdjustConfused(rand(6, 8)) if(prob(3)) - var/list/puppytype = list(/mob/living/simple_animal/pet/corgi/puppy, /mob/living/simple_animal/pet/pug, /mob/living/simple_animal/pet/fox) - var/mob/living/puppypicked = pick(puppytype) - affected_mob.visible_message("[affected_mob] coughs up [initial(puppypicked.name)]!", \ - "You cough up [initial(puppypicked.name)]?!") + if(barklimit <= 10) + var/list/puppytype = list(/mob/living/simple_animal/pet/corgi/puppy, /mob/living/simple_animal/pet/pug, /mob/living/simple_animal/pet/fox) + var/mob/living/puppypicked = pick(puppytype) + affected_mob.visible_message("[affected_mob] coughs up [initial(puppypicked.name)]!", \ + "You cough up [initial(puppypicked.name)]?!") + new puppypicked(affected_mob.loc) + new puppypicked(affected_mob.loc) + barklimit ++ + else + var/obj/item/toy/plushie/coughfox = /obj/item/toy/plushie/orange_fox + new coughfox(affected_mob.loc) + affected_mob.visible_message("[affected_mob] coughs up a fox plushie!", \ + "You cough up FOX PLUSHIE?!") + affected_mob.emote("cough") affected_mob.adjustBruteLoss(5) - new puppypicked(affected_mob.loc) - new puppypicked(affected_mob.loc) return