Slimes take damage when under their cold threshold.

This commit is contained in:
Akrilla
2016-05-18 13:04:08 +01:00
parent 5bbc831f31
commit f2da3a0d04
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -719,7 +719,7 @@
return
/*
proc/adjust_body_temperature(current, loc_temp, boost)
var/temperature = current
var/difference = abs(current-loc_temp) //get difference
@@ -736,7 +736,7 @@
temperature = max(loc_temp, temperature-change)
temp_change = (temperature - current)
return temp_change
*/
proc/stabilize_body_temperature()
if (species.flags & IS_SYNTHETIC)
@@ -53,13 +53,12 @@
//Account for massive pressure differences
if(bodytemperature < hurt_temperature) // start calculating temperature damage etc
if(bodytemperature <= die_temperature)
if(bodytemperature <= 50)
adjustToxLoss(200)
else
adjustToxLoss(30)
updatehealth()
return //TODO: DEFERRED