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

Use MathExpressionParser from GTNHLib in number input fields. #497

Merged
merged 2 commits into from
Mar 24, 2024

Conversation

AbdielKavash
Copy link
Member

When GTNHLib is present, the new MathExpressionParser (see GTNewHorizons/GTNHLib#31) will be used to parse values. As far as I can tell this is a proper superset of features of the built-in AE parser; allowing the player to order large amounts of items by typing expressions line 10k and such.

I hope this can make it to 2.6.0 at the last moment; the parser itself has been feature-complete for a while, it just has not been linked to in AE. I consider this "spiritually" to be a part of the numeric widget reworks in ModularUI earlier, and it would be nice if it worked in one of the most used UIs in the pack too.

@AbdielKavash AbdielKavash requested a review from a team March 23, 2024 21:29
@Dream-Master Dream-Master merged commit dc8e7f2 into GTNewHorizons:master Mar 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants