Merge pull request #308 from Akrilla/cold-slimes

Slimes take damage when under their cold threshold.
This commit is contained in:
skull132
2016-05-18 15:25:33 +03:00
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