-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Tooltip Lines Operator #1449
Comments
Thanks for the suggestion! |
Good idea, a PR is definitely welcome! I believe tools such as pickaxes also show some tooltip lines, those could be good testing items. If you would make a PR, could you target the |
Nice!
I think keeping it as-is is fine. The player will have to do post-processing anyways if they want to do anything useful with it. |
Issue type:
Short description:
Idea: an operator of the following signature: Item -> List(String); Taking an item and returning a list composed of the lines of the tooltip of the input.
Tooltips are already a "first class citizen" in IntegratedTerminals for search purposes, but can't be used in filters etc.
My reason for needing/wanting this: reading tooltip for the existence of emc values provided by ProjectE, the possibility of parsing the value with regex.
From a quick look at the code, it looks straightforward to implement the functionality of this, so I'm willing to attempt a PR if this is something you'd merge, though I'm not yet sure which item I can easily use in the test suite (energy battery maybe?) since my gut feeling doesn't trust the dynamic nature of "<Shift for info"> (which is probably a translation string as well, so maybe harder to test? idk, I'm bad at tests)
The text was updated successfully, but these errors were encountered: