allow luaFlowStatistics to update the production graphs

CmdrKeen
Long Handed Inserter
Long Handed Inserter
Posts: 98
Joined: Tue Sep 29, 2015 9:03 pm
Contact:

allow luaFlowStatistics to update the production graphs

Post 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.

Rseding91
Factorio Staff
Factorio Staff
Posts: 14142
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: allow luaFlowStatistics to update the production graphs

Post by Rseding91 »

Added for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.

CmdrKeen
Long Handed Inserter
Long Handed Inserter
Posts: 98
Joined: Tue Sep 29, 2015 9:03 pm
Contact:

Re: allow luaFlowStatistics to update the production graphs

Post by CmdrKeen »

Added for the next version of 0.15.
Thank you!

Post Reply

Return to “Implemented mod requests”