assembler circuit control - recipe product amount signal

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

M1k3y
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Dec 18, 2019 9:14 pm
Contact:

assembler circuit control - recipe product amount signal

Post by M1k3y »

TL;DR
Add a signal output to circuit controlled assembling machines that gives the amount of items the current recipe will create.

What ?
Add another option to the circuit control settings in assembling machines, similar to the "Read recipe finished" showcased in FFF 394.
It should be an optional output that can be assigned to a signal, maybe along the lines of "Read recipe product amount".
The signal should always be present when a recipe is set and have the value of the amount of products the currently set recipe will produce. I'm unsure whether this should be the base value of the recipe or incorporate all currently present production boni.
Why ?
Having this signal available would allow for smarter circuit control of machines by giving access to the actual production ratios.

I stumbled upon the need for this signal while designing a smart, self-learning mall that uses the announced features (using the "Crafting Combinator" mod to emulate the behavior). The problem was most prominent with the recipe for sulfuric acid, as it creates 50 units per recipe. However as I did not have this information available to incorporate into the learning system, this resulted in the controller to request 50 times as much sulfur to be crafted as actually required, locking up the whole system after filling hundreds of storage chests with sulfur.
Post Reply

Return to “Ideas and Suggestions”