Calling the base on_mob_life is mandatory (#2083)
This commit is contained in:
committed by
kevinz000
parent
993a1ed152
commit
5dc1120b2f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user