[2.0.6] LuaFlowStatistics doesn't use ItemWithQualityID

Place to report issues and suggest improvements to the API documentation.
User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 418
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

[2.0.6] LuaFlowStatistics doesn't use ItemWithQualityID

Post by Stringweasel »

Most of the member functions of LuaFlowStatistics, like `get_output_count`, shows in the docs that it only accepts a `string`. However, with some testing it seems that it accepts, for example, ItemWithQualityID.

An extra note can also be added, that if quality is not specified, or a string is given, then it will only return the normal quality counts.
Alt-F4 Author | Factorio Modder
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock | Weasel's Demolition Derby
Official Contributor to Space Exploration
Post Reply

Return to “Documentation Improvement Requests”