Fixes issue #2296: Humans will not react to sleep toxins in smaller amounts than can be scrubbed.

This commit is contained in:
cib
2013-02-14 15:06:10 +01:00
parent 5217227f9a
commit c5301c5144

View File

@@ -615,7 +615,7 @@ var/const/BLOOD_VOLUME_SURVIVE = 122
Paralyse(3) // 3 gives them one second to wake up and run away a bit! Paralyse(3) // 3 gives them one second to wake up and run away a bit!
if(SA_pp > SA_sleep_min) // Enough to make us sleep as well if(SA_pp > SA_sleep_min) // Enough to make us sleep as well
sleeping = max(sleeping+2, 10) sleeping = max(sleeping+2, 10)
else if(SA_pp > 0.01) // There is sleeping gas in their lungs, but only a little, so give them a bit of a warning else if(SA_pp > 0.15) // There is sleeping gas in their lungs, but only a little, so give them a bit of a warning
if(prob(20)) if(prob(20))
spawn(0) emote(pick("giggle", "laugh")) spawn(0) emote(pick("giggle", "laugh"))
SA.moles = 0 SA.moles = 0