[2.0.16] quality support for LuaFlowStatistics (currently its name & count)

Quezler
Long Handed Inserter
Long Handed Inserter
Posts: 75
Joined: Fri Mar 25, 2016 6:37 pm
Contact:

[2.0.16] quality support for LuaFlowStatistics (currently its name & count)

Post by Quezler »

would be nice to be able to get and set quality item flows.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14413
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.16] quality support for LuaFlowStatistics (currently its name & count)

Post by Rseding91 »

I think they already do support it? Just the docs have not been updated. From looking at the code it should support parsing as "IDWithQuality" for a given type (items, entities). I don't know how to lua-docs it when the type changes depending on the instance of the flow statistics.
If you want to get ahold of me I'm almost always on Discord.
Quezler
Long Handed Inserter
Long Handed Inserter
Posts: 75
Joined: Fri Mar 25, 2016 6:37 pm
Contact:

Re: [2.0.16] quality support for LuaFlowStatistics (currently its name & count)

Post by Quezler »

yeah you're right, could you move this to documentation requests or something or should i make a new post for it?
User avatar
Therenas
Factorio Staff
Factorio Staff
Posts: 261
Joined: Tue Dec 11, 2018 2:10 pm
Contact:

Re: [2.0.16] quality support for LuaFlowStatistics (currently its name & count)

Post by Therenas »

Thanks for the report, the flow stats docs are updated for the next release to reflect that it uses IDs instead of names now.
Post Reply

Return to “Resolved Requests”