i made it work again
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -35,6 +35,11 @@
|
|||||||
update_air_ref(planetary_atmos ? 1 : 2)
|
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()
|
/turf/open/Destroy()
|
||||||
if(active_hotspot)
|
if(active_hotspot)
|
||||||
QDEL_NULL(active_hotspot)
|
QDEL_NULL(active_hotspot)
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ GLOBAL_LIST_INIT(auxtools_atmos_initialized,FALSE)
|
|||||||
var/list/dummy = get_gases()
|
var/list/dummy = get_gases()
|
||||||
for(var/gas in dummy)
|
for(var/gas in dummy)
|
||||||
dummy[gas] = get_moles(gas)
|
dummy[gas] = get_moles(gas)
|
||||||
|
dummy["CAP [gas]"] = partial_heat_capacity(gas)
|
||||||
dummy["TEMP"] = return_temperature()
|
dummy["TEMP"] = return_temperature()
|
||||||
dummy["PRESSURE"] = return_pressure()
|
dummy["PRESSURE"] = return_pressure()
|
||||||
dummy["HEAT CAPACITY"] = heat_capacity()
|
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/heat_capacity() //joules per kelvin
|
||||||
|
|
||||||
|
/datum/gas_mixture/proc/partial_heat_capacity(gas_type)
|
||||||
|
|
||||||
/datum/gas_mixture/proc/total_moles()
|
/datum/gas_mixture/proc/total_moles()
|
||||||
|
|
||||||
/datum/gas_mixture/proc/return_pressure() //kilopascals
|
/datum/gas_mixture/proc/return_pressure() //kilopascals
|
||||||
|
|||||||
Reference in New Issue
Block a user