Jump to content

Wood burner not respecting battery threshold


Greybear
  • Branch: Preview Branch Version: Windows Pending

My wood burner keeps getting refilled and burning all my wood, no matter what level I set the threshold at. I've tried 25%, 15%, 10% and now 0%, but the dupes just keep burning that wood, no matter what my current battery level is at.

20190629155621_1.thumb.jpg.e3e4c07fcb014bc2d9cff6b614cdccdb.jpg


Steps to Reproduce
Build the wood burner and connect it to the power grid
  • Like 1



User Feedback


The culprit seems to be this line (in WoodGasGeneratorConfig.DoPostConfigureComplete)

energyGenerator.ignoreBatteryRefillPercent = true; 

This skips the battery looping and just assumes batteries are low. It should likely be false.

 

However I still feel the real solution for this problem is my mod and proposal (with source code) for the coal generator controls for battery threshold. Since it's based on components rather than changing the building config itself, the same components should be usable for the wood burning generator as well.

 

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...