Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Negative EUt in TOP #2666

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ghzdude
Copy link
Contributor

@ghzdude ghzdude commented Nov 22, 2024

What

fixes eut being negative sometimes in recipe logic, making TOP give the wrong value

Implementation Details

add method getEnergyContainer() to ARL and simplify extending classes
eut should ONLY be negative in drawEnergy() in ARL
i feel like boilers and steam recipe logic could use an IEnergyContainer to wrap their logic and further simplify them

Outcome

TOP is correct

@ghzdude ghzdude added the type: bug Something isn't working label Nov 22, 2024
@ghzdude ghzdude requested a review from a team as a code owner November 22, 2024 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant