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

Better Assline checkresult #3863

Merged
merged 3 commits into from
Jan 26, 2025

Conversation

reobf
Copy link
Contributor

@reobf reobf commented Jan 26, 2025

When AL/AAL has multiple datasticks and all datasticks fails in recipe check, AL/AAL will only display the fail reason for the last datastick.

For example 2 datasticks, one for a UHV recipe another for a ZPM recipe.
Assline has UHV recipe inputs, but has only a ZPM Energy Hatch.
Assline might display either "insufficient power" or "no recipe", which is confusing and unpredictable.

This PR makes AL/AAL only overwrite the checkresult when it is NO_DATA_STICKS.
That means, if previous datasticks' check fails in an interesting way (insufficient power/output full), AL/AAL will keep it
and do not overwrite it with "no recipe".

@Dream-Master Dream-Master added the bug fix Fix a bug. Please link it in the PR. label Jan 26, 2025
@Dream-Master Dream-Master requested a review from a team January 26, 2025 08:20
@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Jan 26, 2025
@serenibyss serenibyss merged commit ef5c54c into GTNewHorizons:master Jan 26, 2025
5 checks passed
@serenibyss serenibyss removed the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fix a bug. Please link it in the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants