Track "completed operations" for labs and miners, similar to "products_finished"

Things that we aren't going to implement
Post Reply
User avatar
Arcitos
Inserter
Inserter
Posts: 38
Joined: Sat Dec 03, 2016 1:50 pm
Contact:

Track "completed operations" for labs and miners, similar to "products_finished"

Post by Arcitos »

Hello together,

at the moment it is easy to track production numbers for all entities of Type "CraftingMachine" using LuaEntity.products_finished. This is convienient but unfortunately not availabe for other entity types.
Proposal
I'd like to have a similar function for miners and lab entities.
Because they work not via recipe i'd like to suggest tracking "completed operations" instead, meaning that whenever the progress bar hits 100%, this counter ist increased by one.
This way it is irrelevant whether miners produce multiple ores per cycle or how much science bottles are consumed for each science time interval.
Exemplary use case
I'd like to compare the amount of completed operations for miners and labs to determine if they had been active within a given time interval.

What do you think?

Regards,
Arcitos

Post Reply

Return to “Won't implement”