Simon Forsberg
Simon Forsberg
@marcandregirard Theoretically I could create some test data, and then you could run some Lua code to generate the HTML and test it without owning the game.
@marcandregirard Run `test.lua` in the `timeline` directory and have `htmlsave.lua` in the same directory (which it already is) and it will output the HTML.
Apparently it is possible to press 'P' within the game, which shows some of these things. Mainly resources produced and consumed per minute.
A while ago Factorio started supporting movable GUIs for mods. I should look into how other mods, such as Helmod, does this and do the same.
It might be as easy as using the `screen` part of https://lua-api.factorio.com/latest/LuaGui.html (I am currently using `left`)
Fixed for what-is-missing in version 0.16.1
The mod https://mods.factorio.com/mod/Bottleneck does something like this already (but highlights every machine instead of showing a summary for all ingredients). I haven't checked how that mod deals with that though,...
That does make a lot more sense, yes.
I like the idea about putting "Show X" on the left and removing the label "Show". The one about move/expand/contract the GUI is more difficult as I am not sure...
It's not the up and down arrows that are the problem, it's the resizing and moving of the GUI.