EXPERIMENTAL CHANGE: Increased heat capacity of normal gases, to make extreme temperatures more dangerous. THIS MAY HAVE UNINTENDED CONSEQUENCES.

This commit is contained in:
SkyMarshal
2012-07-24 00:38:58 -07:00
parent 6412692748
commit 76f77cb3e9
3 changed files with 7 additions and 10 deletions

View File

@@ -16,6 +16,9 @@
var/current_heat_capacity = 50
return_air()
return air_contents
New()
..()

View File

@@ -599,15 +599,9 @@
if(istype(loc, /turf/space))
environment_heat_capacity = loc:heat_capacity
loc_temp = 2.7
else if(istype(loc, /obj/machinery/atmospherics/unary/cryo_cell))
loc_temp = loc:air_contents.temperature
else if(istype(get_turf(src), /turf/simulated))
var/turf/simulated/T = get_turf(src)
var/zone/zone = T.zone
if(zone && zone.air)
loc_temp = zone.air.temperature
else
loc_temp = environment.temperature
world << loc_temp
var/thermal_protection = get_thermal_protection()

View File

@@ -19,9 +19,9 @@
#define MOLES_PLASMA_VISIBLE 0.5 //Moles in a standard cell after which plasma is visible
#define SPECIFIC_HEAT_TOXIN 200
#define SPECIFIC_HEAT_AIR 20
#define SPECIFIC_HEAT_CDO 30
#define SPECIFIC_HEAT_TOXIN 700
#define SPECIFIC_HEAT_AIR 100
#define SPECIFIC_HEAT_CDO 150
#define HEAT_CAPACITY_CALCULATION(oxygen,carbon_dioxide,nitrogen,toxins) \
(carbon_dioxide*SPECIFIC_HEAT_CDO + (oxygen+nitrogen)*SPECIFIC_HEAT_AIR + toxins*SPECIFIC_HEAT_TOXIN)