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

Add suffixes 's' for stacks and 'i' for ingots of fluid to MathExpressionParser. #38

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

AbdielKavash
Copy link
Member

@AbdielKavash AbdielKavash commented Apr 11, 2024

Similarly to existing 'k', 'm', etc. suffixes, one can now type "4s" for 256 (4 stacks of typical items), or "8i" for 1,152 (8 ingots' worth of fluids, 8*144).

This should work everywhere that uses the parser; i.e., ModularUI and AE2 terminals.

@AbdielKavash AbdielKavash requested a review from a team April 11, 2024 15:23
@Caedis
Copy link
Member

Caedis commented Apr 11, 2024

Have it be S for Stacks

I could see s being added in the future for as a shorthand for seconds where ticks can be inputted

@AbdielKavash
Copy link
Member Author

Right now both 's' and 'S', and both 'i' and 'I' work.

All suffixes right now are case-insensitive (though it is possible to make different cases do different things in the future, if desired).

@Caedis
Copy link
Member

Caedis commented Apr 11, 2024

Guess that works too

@Dream-Master Dream-Master merged commit c705d87 into GTNewHorizons:master Apr 11, 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