I've been searching in wiki for something that could provide mapped data about the production rate, the very same that is showed by pressing "P", but I found nothing so far.
The idea to use this is to make available the production information to a WebService. With that WebService, an app (mobile app) could show information about production in the screen of this device, so the player could use a gadget to monitor the production and how his acts are affecting production.
That said, the expected is that the interface could return data and a Factorio mod could write a file (JSON, most likely) physically and the WebServer (which would be a third-party implementation) would serve its data (the JSON file data) as a service.
Production statistics
Re: Production statistics
This page of the API should help:
http://lua-api.factorio.com/latest/LuaF ... statistics
http://lua-api.factorio.com/latest/LuaF ... stics.html
http://lua-api.factorio.com/latest/LuaF ... statistics
http://lua-api.factorio.com/latest/LuaF ... stics.html
Re: Production statistics
Thank you. I think I was looking into an older wiki, it doesn't mention this API documentation. https://wiki.factorio.com/index.php?tit ... _resources, this is the link to "how to make mods" in https://mods.factorio.com/.Klonan wrote:This page of the API should help:
http://lua-api.factorio.com/latest/LuaF ... statistics
http://lua-api.factorio.com/latest/LuaF ... stics.html
Apologies for the request already implemented.