Improve counter - make a short rolling time window to count instead of 60s
For now, we need to wait 60s to see what the value of our production is, which is really annoying (at least for me) when building some factories.
Instead of waiting for the exact number for 60s, make a rolling counter, when it will calculate the expected value by measuring for 5-10 seconds and showing numbers for example for 5 seconds (12/5) * 60 = 144 -> where ( [items_in_interval / interval_in_s) * 60 seconds. And for further it can be calibrated for 30 and 60 seconds, and further every 60 seconds or more.
Just don't need to reinvent the wheel where it not required
Comments: 3
Oldest
•
Newest
•
Most likes
•
Fewest likes
-
17 Apr
Thomas Giles (tapgiles)Or even, start instantly. If 1 second has passed and it's seen 1 item, it can estimate that 100% of the belt speed is taken up with items. When it gets to 2 seconds and it's still only seen 1 item, it can estimate that 50% of the belt speed is taken up with items. And when it's been 60 seconds and it's seen 47 items, it can estimate 78% of the belt speed is taken up with items.
So it's wildly off for a short time. But if there's some constant rate, it will find it *very* quickly. -
22 Apr
etwasanderes2Maybe have the counter use different color or show a small "initializing" text or a progress bar when it has existed for less than 1 minute.