Experimental: Disable temperature exchange with space and add low

pressure damage.

This'll stop the ridiculous cold temperatures from opening an airlock
for half a second.
This commit is contained in:
cib
2012-12-11 14:50:58 +01:00
parent 96fb7cf14b
commit 8b90cd6fa8
2 changed files with 7 additions and 2 deletions
@@ -799,6 +799,10 @@
var/adjusted_pressure = calculate_affecting_pressure(pressure) //Returns how much pressure actually affects the mob.
if(adjusted_pressure > HAZARD_HIGH_PRESSURE)
adjustBruteLoss( min( (adjusted_pressure / HAZARD_HIGH_PRESSURE)*PRESSURE_DAMAGE_COEFFICIENT , MAX_PRESSURE_DAMAGE) )
else if(pressure <= 50)
var/adjusted_pressure = calculate_affecting_pressure(pressure) //Returns how much pressure actually affects the mob.
if(adjusted_pressure < 50)
adjustBruteLoss( (50 - adjusted_pressure) / 50 )
return
/*