[0.13.4] LuaFlowStatistics and coal/water missing
Posted: Mon Jul 04, 2016 3:44 pm
hi,
concerning Production panel ("P") and API corresponding functions http://lua-api.factorio.com/0.13.4/LuaF ... stics.html (which is very interesting),
Coal does not appear at all, nor other ore production.
Copper/iron/stone consumption appears, but that's all.
Same thing with crude oil.
Water could be great too as a fluid and a resource.
And wood too for mods that are using it.
The goal should be always the same : for any item/fluid/resource in the game, we should see its production and its consumption, so that we can balance if there is underproduction.
For coal, it's interesting to know if you are consuming/burning more coal than you are producing/mining. That's the way you know if you have to install more mining fields...
For water, it's interesting to know if you are consuming more water than you are pumping, to install more pump.
EDIT :
after tests with the API, what is missing in the API call is :
- counting burned coal as consumed/output. (maybe any other "burned" fuel or fluid is missing ?)
- counting pumped water (from a lake) as produced/input, maybe as a resource.
what is displayed or not in the "production panel" is finally probably a choice of the devs. But at least, we should be able to gather ALL input/output informations using the API.
concerning Production panel ("P") and API corresponding functions http://lua-api.factorio.com/0.13.4/LuaF ... stics.html (which is very interesting),
Coal does not appear at all, nor other ore production.
Copper/iron/stone consumption appears, but that's all.
Same thing with crude oil.
Water could be great too as a fluid and a resource.
And wood too for mods that are using it.
The goal should be always the same : for any item/fluid/resource in the game, we should see its production and its consumption, so that we can balance if there is underproduction.
For coal, it's interesting to know if you are consuming/burning more coal than you are producing/mining. That's the way you know if you have to install more mining fields...
For water, it's interesting to know if you are consuming more water than you are pumping, to install more pump.
EDIT :
after tests with the API, what is missing in the API call is :
- counting burned coal as consumed/output. (maybe any other "burned" fuel or fluid is missing ?)
- counting pumped water (from a lake) as produced/input, maybe as a resource.
what is displayed or not in the "production panel" is finally probably a choice of the devs. But at least, we should be able to gather ALL input/output informations using the API.