You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Autoclaves are coded to not consume frozen water. However, while the autoclave complains about only having frozen water if no liquid water is available, having frozen water in one tank and liquid water in another tank uses up frozen water instead of the available liquid water, at least when the tank with the frozen water is listed first. After a cursory look at the code in vehicle.cpp, it looks like fuel_left correctly excludes frozen fuel, but drain does not seem to run the same checks and uses up the frozen water when called by use_autoclave.
Steps To Reproduce
Set up a vehicle with a mounted autoclave, a packed CBM inside, and a fuel tank with frozen water. Heat up at least 8 water to a liquid state and put it in another tank. The autoclave starts the cycle as expected, but uses up the frozen water that it complained about when there was no liquid water available.
Expected behavior
An autoclave should only drain liquid water from tanks.
Versions and configuration
OS: MacOs
OS Version: Name: Mac OS X; Version: 10.14.6; Build: 18G6020;
Game Version: 0.E-8222-g98cb58d54a [64-bit]
Graphics Version: Tiles
Game Language: English [en]
Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Bionic Professions [package_bionic_professions]
]
The text was updated successfully, but these errors were encountered:
Describe the bug
Autoclaves are coded to not consume frozen water. However, while the autoclave complains about only having frozen water if no liquid water is available, having frozen water in one tank and liquid water in another tank uses up frozen water instead of the available liquid water, at least when the tank with the frozen water is listed first. After a cursory look at the code in vehicle.cpp, it looks like fuel_left correctly excludes frozen fuel, but drain does not seem to run the same checks and uses up the frozen water when called by use_autoclave.
Steps To Reproduce
Set up a vehicle with a mounted autoclave, a packed CBM inside, and a fuel tank with frozen water. Heat up at least 8 water to a liquid state and put it in another tank. The autoclave starts the cycle as expected, but uses up the frozen water that it complained about when there was no liquid water available.
Expected behavior
An autoclave should only drain liquid water from tanks.
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Bionic Professions [package_bionic_professions]
]
The text was updated successfully, but these errors were encountered: