[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: 464
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
Probably known for: (Configurable) Valves | Better Victory Screen | Space Spidertron | Fluidic Power
Official Contributor to Space Exploration
Post Reply

Return to “Documentation Improvement Requests”