Page 1 of 1

[Mod 0.16] Logistic Request Hinter

Posted: Wed Nov 14, 2018 10:34 am
by Delzur
Hey there!

Growing tired of waiting in base not knowing if my network *does* have enough items in storage to satisfy all my requests, I told to myself that it could be nice to have a visual hint that could tell you if there's no point waiting forever.

After a quick lookup, I couldn't find such a thing and I thought it could be interesting to learn Lua and Factorio's modding API, so here it comes Logistic Request Hinter

Concept is fairly simple, the UI lists you the requests that aren't satisfied yet (but will be) in orange, and those that cannot in red:

Image

I only tested it on my save and on a new world so it does require more testing, however I'd gladly welcome any feedback on how it can be improved ;)
Also, since these are my first lua lines, any feedback on code is greatly appreciated!