i made it work again

This commit is contained in:
Putnam
2021-05-26 14:42:02 -07:00
parent 9e55d9e2d9
commit 7a8d3148e0
4 changed files with 8 additions and 0 deletions

View File

@@ -35,6 +35,11 @@
update_air_ref(planetary_atmos ? 1 : 2)
. = ..()
/turf/open/proc/force_air_reset()
air = new(2500,src)
air.copy_from_turf(src)
update_air_ref(planetary_atmos ? 1 : 2)
/turf/open/Destroy()
if(active_hotspot)
QDEL_NULL(active_hotspot)

View File

@@ -49,6 +49,7 @@ GLOBAL_LIST_INIT(auxtools_atmos_initialized,FALSE)
var/list/dummy = get_gases()
for(var/gas in dummy)
dummy[gas] = get_moles(gas)
dummy["CAP [gas]"] = partial_heat_capacity(gas)
dummy["TEMP"] = return_temperature()
dummy["PRESSURE"] = return_pressure()
dummy["HEAT CAPACITY"] = heat_capacity()
@@ -128,6 +129,8 @@ GLOBAL_LIST_INIT(auxtools_atmos_initialized,FALSE)
/datum/gas_mixture/proc/heat_capacity() //joules per kelvin
/datum/gas_mixture/proc/partial_heat_capacity(gas_type)
/datum/gas_mixture/proc/total_moles()
/datum/gas_mixture/proc/return_pressure() //kilopascals