Files
Bubberstation/code
SkyratBot d02cd9ca38 [MIRROR] Water vapour electrolysis and hypernoblium electrolysis now respects heat capacity changes. [MDB IGNORE] (#16114)
* Water vapour electrolysis and hypernoblium electrolysis now respects heat capacity changes. (#69396)

Electrolyzer heat capacity respect.

The electrolyzer did not respect heat capacity changes for the h2o_conversion reaction and the nob_conversion reaction, destroying energy.

This changes that by storing the old heat capacity at the start of the reactions, then getting the new heat capacity at the end of the reaction, then adjusting temperature based on the heat capacity changes.

* Water vapour electrolysis and hypernoblium electrolysis now respects heat capacity changes.

Co-authored-by: Pickle-Coding <58013024+Pickle-Coding@users.noreply.github.com>
2022-09-09 12:16:12 +01:00
..