3 ms·
> In factorio, setting up some cable, chest readers and an alarm - but Factorio unmodded can't alert on rate of chest depletion IIRC. Unmodded can do it for su
by dragontamer 5y ago
> In factorio, setting up some cable, chest readers and an alarm - but Factorio unmodded can't alert on rate of chest depletion IIRC.
Unmodded can do it for sure. All you need is a clock and a divisor circuit.
Clock circuits are a constant circuit (+1) applied to a flip-flop, so that the flip-flop counts +1 per tick. (+60 per second).
With a second flip-flop circuit, you can read-and-save the looping time. You subtract the saved time from the current clock to see how much time has passed.
You have a 3rd flip-flop save the value of the chest, and calculate (chest - (flip-flop of chest) / (current-clock - saved-clock)).
Blast that value onto a decider circuit (X > Y) hooked up to a simple alarm. Bam. Fully vanilla factorio solution.
-----------
I may have played this game too long...