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

[glutenfree-equipment-train-stop] display which items are missing via floating text #8

Open
Quezler opened this issue Oct 2, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Quezler
Copy link
Owner

Quezler commented Oct 2, 2022

Currently the error message in it's equipmentgrid.lua only tells you that something is missing, not what.

Have it display what is missing (and maybe how much it still needs) using rich text, here is an example:
https://github.com/Quezler/factorio__mod--x-stacks-ltn-combinator-helper/blob/main/src/scripts/constant-combinator.lua#L58#L73

The logistic_network_has_contents may be modified so it can return multiple things, e.g. a success boolean & what is missing.

@Quezler Quezler added the help wanted Extra attention is needed label Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant