Files
Bubberstation/code/modules/reagents
SyncIt21 14f1e6b357 Reactions correctly respect the REACTION_HEAT_ARBITARY flag (#80178)
## About The Pull Request
1. This flag basically adjusts the temperature of the whole holder
without taking into consideration its heat capacity. If the reactions
`thermic_constant` was negative this flag would not function correctly
as it would clamp the rate of change between 0 and
`CHEMICAL_MAX_TEMPERATURE` and then apply it to the final temperature.
Now it clamps the final result(current temperature + rate of change)
therefore reactions that uses this flag to cool down temps now works
correctly.

2. Fixes #74667
The above point explains how the fix works. basically `thermic_constant`
determines how much the holder temps cool down per unit of chem
consumed. Cryostylane + oxygen reaction had this value at -50 which is
way to low (cause it means per unit of oxygen consumed it would cool
down the holder by 50 kelvin). It has been adjusted to -5 instead more
reasonable.

## Changelog
🆑
fix: Cryostylane and oxygen reaction now cools down temps. Other
reactions with the `REACTION_HEAT_ARBITARY` flag also cools down temps
correctly
/🆑
2023-12-08 18:23:29 +01:00
..