B42 Battery Drain Fix (not needed for B42.1.0 and later)
- If you’re starting a new game, remove this mod first as it is no longer needed
- if you’re playing an existing game that was updated from 42.0.2 to 42.1.0 then you can uninstall this mod, but doing so will cause existing batteries to drain – you can keep playing with the mod enabled to avoid this. Assuming you get your B42.0.2 world to work in B42.1.0, which is a challenge on its own if you have mods that add recipes.
Fixes an issue in B42 that causes batteries to drop to 16% charge after saving and loading the game, as well as affecting car batteries and propane lantern refills.
NOTE: this fix only gets applied to new items; existing items will still have the issue if recharged.
Credit for working out the bug relates to the
UseDelta value giving an object more than 32767 uses goes to LightJa on the bug report forums: bug report for this issue[theindiestone.com].
Amount Loss Fix by Yawntee, which is a change to the java code to fix the issue instead of a lua workaround. Requires additional manual steps to install/uninstall, but cover more situations than the save/load of the three items this mod fixes.
B42 Thread Consolidation Fix by LightJa fixes a separate bug that drains consumables when combining them.
This mod changes the UseDelta for newly generated batteries from 0.000005 to 0.00005 (200,000 used to 20,000.) Car Batteries and propane lantern refills are changed from 0.00001 to 0.00005 (100,000 to 20,000)
Still being tested but seems OK so far: making sure this doesn’t cause unintended issues with car batteries draining too quickly.
Workshop ID: 3400920118
Mod ID: NepB42BatteryFix