make gas pumps only consume power when enabled #33021
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About the PR
Make pressure and volume gas pumps only consume power when enabled
Why / Balance
I was playing the game and wondered where my power consumption was when I was trying to optimize power in a small area. It took me a while to figure out that the gas pumps that were off were the culprits that were consuming power. I consider this as a bug, so I came here to try to change it, I think that the pumps should not consume power when disabled.
Technical details
toggle power of gas pumps when UI button to enable/disable is pressed to match the enabled value of the pump
toggle power of gas pumps to match the enabled status of the pump whenever there is a change to the power of the pump (most likely case other than UI toggle is anchoring the pump to the floor, if this isnt done then pump would consume power when off when first anchored or if meant to be off when the map is first loaded)
Requirements
Breaking changes
Changelog
🆑