Reagent cooled atmo machines (#18178)

* reagent based cooling for heaters and coolers

* UI and wiki

* some adjustments

and fixes coolant tanks lol

* adds coolant tank to cargo

---------

Co-authored-by: C.L. <killer65311@gmail.com>
This commit is contained in:
Will
2025-08-07 03:51:02 -04:00
committed by GitHub
co-authored by C.L.
parent 90ba1619f4
commit c81f5b697f
18 changed files with 145 additions and 26 deletions
+7
View File
@@ -515,3 +515,10 @@
for(var/datum/reagent/reagent as anything in cached_reagents)
reagent.on_update(A)
update_total()
// Get the cooling power value for machinery that uses reagents for coolant. It's up to the machines themselves to cap and translate this value in a useful way.
/datum/reagents/proc/machine_cooling_power()
var/cooling_power = 0
for(var/datum/reagent/R in reagent_list)
cooling_power += R.coolant_modifier * R.volume
return cooling_power