Fixes Some Parapen Issues (#15029)

This commit is contained in:
SleepyGemmy
2022-11-10 21:36:21 +01:00
committed by GitHub
parent 8c2ae3e8d2
commit d9580bdb3d
5 changed files with 72 additions and 70 deletions
@@ -1316,6 +1316,9 @@
taste_description = "blood"
specific_heat = 1
/decl/reagent/sanasomnum/initial_effect(mob/living/carbon/M)
to_chat(M, SPAN_WARNING("Your limbs start to feel <b>numb</b> and <b>weak</b>, and your legs wobble as it becomes hard to stand!"))
/decl/reagent/sanasomnum/affect_chem_effect(var/mob/living/carbon/M, var/alien, var/removed, var/datum/reagents/holder)
. = ..()
if(.)
@@ -1341,10 +1344,7 @@
var/mob/living/carbon/human/H = M
if(istype(H) && (H.species.flags & NO_SCAN))
return
if (!(CE_UNDEXTROUS in M.chem_effects))
to_chat(M, SPAN_WARNING("Your limbs start to feel numb and weak, and your legs wobble as it becomes hard to stand..."))
M.confused = max(M.confused, 250)
M.eye_blurry = max(M.eye_blurry, 250)
M.add_chemical_effect(CE_UNDEXTROUS, 1)
if(M.chem_doses[type] > 0.2)
M.Weaken(10)
if(M.chem_doses[type] > 5)
@@ -1360,6 +1360,9 @@
if(E.status & TENDON_CUT && prob(10))
E.status &= ~TENDON_CUT
/decl/reagent/sanasomnum/final_effect(mob/living/carbon/M)
to_chat(M, SPAN_GOOD("You can feel sensation creeping back into your limbs!"))
/decl/reagent/verunol
name = "Verunol Syrup"
description = "A complex emetic medication that causes the patient to vomit due to gastric irritation and the stimulating of the vomit centres of the brain."
@@ -797,21 +797,20 @@
strength = 0
taste_description = "danger"
/decl/reagent/toxin/dextrotoxin/initial_effect(mob/living/carbon/M)
to_chat(M, SPAN_WARNING("Your limbs start to feel <b>numb</b> and <b>weak</b>, and your legs wobble as it becomes hard to stand!"))
/decl/reagent/toxin/dextrotoxin/affect_blood(var/mob/living/carbon/M, var/alien, var/removed, var/datum/reagents/holder)
..()
var/mob/living/carbon/human/H = M
if(istype(H) && (H.species.flags & NO_SCAN))
return
if (!(CE_UNDEXTROUS in M.chem_effects))
to_chat(M, SPAN_WARNING("Your limbs start to feel numb and weak, and your legs wobble as it becomes hard to stand..."))
M.confused = max(M.confused, 250)
M.add_chemical_effect(CE_UNDEXTROUS, 1)
if(M.chem_doses[type] > 0.2)
M.Weaken(10)
/decl/reagent/toxin/dextrotoxin/final_effect(mob/living/carbon/M, datum/reagents/holder)
to_chat(M, SPAN_WARNING("You can feel sensation creeping back into your limbs..."))
return ..()
/decl/reagent/toxin/dextrotoxin/final_effect(mob/living/carbon/M)
to_chat(M, SPAN_GOOD("You can feel sensation creeping back into your limbs!"))
/decl/reagent/toxin/coagulated_blood
name = "Hemoglobin"