mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Merge pull request #308 from Akrilla/cold-slimes
Slimes take damage when under their cold threshold.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user