LuaFlowStatistics, precisions on input/output ?

Place to get help with not working mods / modding interface.
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1525
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

LuaFlowStatistics, precisions on input/output ?

Post by binbinhfr »

Hi, this new class
http://lua-api.factorio.com/0.13.2/LuaF ... stics.html
seems interesting for stats purpose, but after a few try, input seems to count the number or produced items, but what is output ? it's a bigger number that grows also with item production, but I do not understand what it is.

other question : I understand that we can read these stats with the "get_" functions, but why would we write these stats with "set_" (apart for cheating). Maybe to reset the counter at certain moments ?
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: LuaFlowStatistics, precisions on input/output ?

Post by binbinhfr »

Forget about it, I found out what it is, my test map was strange to understand.
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: LuaFlowStatistics, precisions on input/output ?

Post by binbinhfr »

infact I was fooled by some infos missing in the LuaFlowStatistics (burned coal consumption, water production...)
I did a "bug" report for this, in case :viewtopic.php?f=7&t=28220
My mods on the Factorio Mod Portal :geek:
Post Reply

Return to “Modding help”