Fixes soporific and chloral hydrate

Soporific now makes people fall asleep, as intended. CH now knocks
people out after 20 seconds, instead of after 3 minutes.
This commit is contained in:
mwerezak
2015-02-14 13:51:10 -05:00
parent 0d08264e5e
commit f54588675f

View File

@@ -1829,8 +1829,8 @@ datum
M.Weaken(2) M.Weaken(2)
M.drowsyness = max(M.drowsyness, 20) M.drowsyness = max(M.drowsyness, 20)
if(50 to INFINITY) if(50 to INFINITY)
M.Weaken(20) M.sleeping = max(M.sleeping, 20)
M.drowsyness = max(M.drowsyness, 30) M.drowsyness = max(M.drowsyness, 60)
data++ data++
..() ..()
return return
@@ -1854,10 +1854,11 @@ datum
if(1) if(1)
M.confused += 2 M.confused += 2
M.drowsyness += 2 M.drowsyness += 2
if(2 to 199) if(2 to 20)
M.Weaken(30) M.Weaken(30)
if(200 to INFINITY) M.eye_blurry = max(M.eye_blurry, 10)
M.sleeping += 1 if(20 to INFINITY)
M.sleeping = max(M.sleeping, 30)
..() ..()
return return