Page 1 of 1

allow luaFlowStatistics to update the production graphs

Posted: Sat May 13, 2017 4:52 pm
by CmdrKeen
I'm making a mod that simulates furnace activities on a large scale, however any changes to item_production_statistics (LuaFlowStatistics) in the entity's force only show up in the all category of the production tabs.

I'd like to have two calls added that has changes that show up on the production graph.

add_to_input_count(string, count)
  • add's a non-negative amount to the input count for a given prototype
Parameters:
  • string: The prototype name.
    count: a non-negative value (integer?)
add_to_output_count(string,count)
  • add's a non-negative amount to the output count for a given prototype
Parameters:
  • string: The prototype name.
    count: a non-negative value (integer?)
Hopefully it'd be simple to implement.

Re: allow luaFlowStatistics to update the production graphs

Posted: Wed May 17, 2017 2:41 am
by Rseding91
Added for the next version of 0.15.

Re: allow luaFlowStatistics to update the production graphs

Posted: Thu May 18, 2017 6:56 pm
by CmdrKeen
Added for the next version of 0.15.
Thank you!