Brought reactions to extools again; now including debug symbols.
This time they work!
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -72,9 +72,11 @@ SUBSYSTEM_DEF(air)
|
|||||||
setup_atmos_machinery()
|
setup_atmos_machinery()
|
||||||
setup_pipenets()
|
setup_pipenets()
|
||||||
gas_reactions = init_gas_reactions()
|
gas_reactions = init_gas_reactions()
|
||||||
|
extools_update_reactions()
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
/datum/controller/subsystem/air/proc/extools_update_ssair()
|
/datum/controller/subsystem/air/proc/extools_update_ssair()
|
||||||
|
/datum/controller/subsystem/air/proc/extools_update_reactions()
|
||||||
|
|
||||||
/datum/controller/subsystem/air/fire(resumed = 0)
|
/datum/controller/subsystem/air/fire(resumed = 0)
|
||||||
var/timer = TICK_USAGE_REAL
|
var/timer = TICK_USAGE_REAL
|
||||||
@@ -455,6 +457,8 @@ SUBSYSTEM_DEF(air)
|
|||||||
|
|
||||||
return pipe_init_dirs_cache[type]["[dir]"]
|
return pipe_init_dirs_cache[type]["[dir]"]
|
||||||
|
|
||||||
|
/proc/get_extools_benchmarks()
|
||||||
|
|
||||||
#undef SSAIR_PIPENETS
|
#undef SSAIR_PIPENETS
|
||||||
#undef SSAIR_ATMOSMACHINERY
|
#undef SSAIR_ATMOSMACHINERY
|
||||||
#undef SSAIR_ACTIVETURFS
|
#undef SSAIR_ACTIVETURFS
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ GLOBAL_LIST_INIT(meta_gas_fusions, meta_gas_fusion_list())
|
|||||||
//Compares sample to self to see if within acceptable ranges that group processing may be enabled
|
//Compares sample to self to see if within acceptable ranges that group processing may be enabled
|
||||||
//Returns: a string indicating what check failed, or "" if check passes
|
//Returns: a string indicating what check failed, or "" if check passes
|
||||||
|
|
||||||
/datum/gas_mixture/proc/react(turf/open/dump_location)
|
/datum/gas_mixture/proc/react(datum/holder)
|
||||||
//Performs various reactions such as combustion or fusion (LOL)
|
//Performs various reactions such as combustion or fusion (LOL)
|
||||||
//Returns: 1 if any reaction took place; 0 otherwise
|
//Returns: 1 if any reaction took place; 0 otherwise
|
||||||
|
|
||||||
@@ -243,7 +243,7 @@ GLOBAL_LIST_INIT(meta_gas_fusions, meta_gas_fusion_list())
|
|||||||
set_moles(path, text2num(gas[id]))
|
set_moles(path, text2num(gas[id]))
|
||||||
archive()
|
archive()
|
||||||
return 1
|
return 1
|
||||||
|
/*
|
||||||
/datum/gas_mixture/react(datum/holder)
|
/datum/gas_mixture/react(datum/holder)
|
||||||
. = NO_REACTION
|
. = NO_REACTION
|
||||||
if(!total_moles())
|
if(!total_moles())
|
||||||
@@ -291,7 +291,7 @@ GLOBAL_LIST_INIT(meta_gas_fusions, meta_gas_fusion_list())
|
|||||||
. |= reaction.react(src, holder)
|
. |= reaction.react(src, holder)
|
||||||
if (. & STOP_REACTIONS)
|
if (. & STOP_REACTIONS)
|
||||||
break
|
break
|
||||||
|
*/
|
||||||
//Takes the amount of the gas you want to PP as an argument
|
//Takes the amount of the gas you want to PP as an argument
|
||||||
//So I don't have to do some hacky switches/defines/magic strings
|
//So I don't have to do some hacky switches/defines/magic strings
|
||||||
//eg:
|
//eg:
|
||||||
|
|||||||
Reference in New Issue
Block a user