[0.13.4] LuaFlowStatistics and coal/water missing

This subforum contains all the issues which we already resolved.
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1525
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

[0.13.4] LuaFlowStatistics and coal/water missing

Post by binbinhfr »

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.
Last edited by binbinhfr on Tue Jul 05, 2016 12:05 pm, edited 10 times in total.
My mods on the Factorio Mod Portal :geek:
User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2174
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: LuaFlowStatistics and coal

Post by Ranakastrasz »

Not surprising. Coal usage for power production, I don't think is really registered properly.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Rseding91
Factorio Staff
Factorio Staff
Posts: 14822
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.13.4] LuaFlowStatistics and coal/water missing

Post by Rseding91 »

Fixed for 0.13.6.
If you want to get ahold of me I'm almost always on Discord.
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1525
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [0.13.4] LuaFlowStatistics and coal/water missing

Post by binbinhfr »

Rseding91 wrote:Fixed for 0.13.6.
Thx ! It would be nice for my new Stats mod :-)
My mods on the Factorio Mod Portal :geek:
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1525
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [0.13.4] LuaFlowStatistics and coal/water missing

Post by binbinhfr »

I confirm that its was corrected in 0.13.6
thx
My mods on the Factorio Mod Portal :geek:
Post Reply

Return to “Resolved Problems and Bugs”