This commit is contained in:
Artur
2020-03-18 22:41:21 +02:00
parent bf837d97d7
commit ba972cf0eb
9 changed files with 70 additions and 70 deletions
@@ -425,7 +425,7 @@
/datum/reagent/consumable/garlic //NOTE: having garlic in your blood stops vampires from biting you.
name = "Garlic Juice"
id = "garlic"
//id = "garlic"
description = "Crushed garlic. Chefs love it, but it can make you smell bad."
color = "#FEFEFE"
taste_description = "garlic"
@@ -435,37 +435,9 @@
if(isvampire(M)) //incapacitating but not lethal. Unfortunately, vampires cannot vomit.
if(prob(min(25, current_cycle)))
to_chat(M, "<span class='danger'>You can't get the scent of garlic out of your nose! You can barely think...</span>")
M.Paralyze(10)
M.Stun(10)
M.Jitter(10)
return
else if(isbloodsucker(M))
var/datum/antagonist/bloodsucker/bloodsuckerdatum = M.mind.has_antag_datum(ANTAG_DATUM_BLOODSUCKER)
switch(method)
if(INGEST)
if(prob(min(30, current_cycle)))
to_chat(M, "<span class='warning'>You cant get the smell of garlic out of your nose! You cant think straight because of it!</span>")
M.Jitter(15)
return
if(prob(min(15, current_cycle)))
M.visible_message("<span class='danger'>Something you ate is burning your stomach!</span>", /
"<span class='warning'>[M] clutches their stomach and falls to the ground!</span>"
)
M.Knockdown(20)
M.emote("scream")
return
if(prob(min(5, current_cycle)))
M.vomit()
return
if(INJECT)
if(prob(min(20, current_cycle)))
to_chat(M, "<span class='warning'>You feel like your veins are boiling!</span>")
M.emote("scream")
M.adjustFireLoss(5)
return
if(prob(min(5, current_cycle)))
to_chat(M, "<span class='danger'>You are trying to purge the contaminants from your blood!</span>")
M.vomit()
return
else if(ishuman(M))
var/mob/living/carbon/human/H = M
@@ -475,6 +447,26 @@
. = 1
..()
/datum/reagent/consumable/condensedcapsaicin/reaction_mob(mob/living/M, method, reac_volume)
if(isbloodsucker(M))
switch(method)
if(INGEST)
if(prob(min(30, current_cycle)))
to_chat(M, "<span class='warning'>You cant get the smell of garlic out of your nose! You cant think straight because of it!</span>")
M.Jitter(15)
if(prob(min(15, current_cycle)))
M.visible_message("<span class='danger'>Something you ate is burning your stomach!</span>", "<span class='warning'>[M] clutches their stomach and falls to the ground!</span>")
M.Knockdown(20)
M.emote("scream")
if(prob(min(5, current_cycle)) && iscarbon(M))
var/mob/living/carbon/C
C.vomit()
if(INJECT)
if(prob(min(20, current_cycle)))
to_chat(M, "<span class='warning'>You feel like your veins are boiling!</span>")
M.emote("scream")
M.adjustFireLoss(5)
/datum/reagent/consumable/sprinkles
name = "Sprinkles"
value = 3