From 5dc1120b2f8d60ddd28d356ea70924270a001bc7 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Thu, 20 Jul 2017 08:31:10 -0500 Subject: [PATCH] Calling the base on_mob_life is mandatory (#2083) --- .../reagents/chemistry/reagents/toxin_reagents.dm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/code/modules/reagents/chemistry/reagents/toxin_reagents.dm b/code/modules/reagents/chemistry/reagents/toxin_reagents.dm index f7640fd8e3..078b8bc7e2 100644 --- a/code/modules/reagents/chemistry/reagents/toxin_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/toxin_reagents.dm @@ -283,13 +283,17 @@ . = 1 ..() -/datum/reagent/toxin/chloralhydrate/delayed +/datum/reagent/toxin/chloralhydratedelayed + name = "Chloral Hydrate" id = "chloralhydrate2" + description = "A powerful sedative that induces confusion and drowsiness before putting its target to sleep." + reagent_state = SOLID + color = "#000067" // rgb: 0, 0, 103 + toxpwr = 0 + metabolization_rate = 1.5 * REAGENTS_METABOLISM -/datum/reagent/toxin/chloralhydrate/delayed/on_mob_life(mob/living/M) +/datum/reagent/toxin/chloralhydratedelayed/on_mob_life(mob/living/M) switch(current_cycle) - if(1 to 10) - return if(10 to 20) M.confused += 1 M.drowsyness += 1