[2.0.6] Global LuaForce get_*_statistics
Posted: Sat Oct 19, 2024 7:48 am
LuaForce had attributes changed to methods for get_item_production_statistics, get_fluid_production_statics, get_kill_count_statistics, and get_entity_build_count_statistics so that they now take a surface as a parameter and return relevant LuaFlowStatistics for that surface only.
I'm requesting that the `surface` parameter for all 4 of these methods becomes optional and without it, a global LuaFlowStatistics object be returned. This would be similar to the production screen UI with its checkbox to enable "Global statistics".
I'm requesting that the `surface` parameter for all 4 of these methods becomes optional and without it, a global LuaFlowStatistics object be returned. This would be similar to the production screen UI with its checkbox to enable "Global statistics".