Assembling Machine circuit control should select the highest valid signal
Posted: Mon Nov 04, 2024 11:45 am
by Gergely
What?
Assembing Machine's "Set recipe" should set recipe based on the highest valued positive valid signal.
Why?
Currently recipes are set based on "first valid signal" which can be counterintuitive sometimes. There is also little practical benefit to this system.
See an example
This assembling machine uses the transport belt recipe because it is ordered first.
AssemblerControl.png (257.02 KiB) Viewed 249 times
The change I am suggesting would make it consistent with how inserter filters work. Higher values are prioritized.
It would also allow for much more use cases. The current rule is very parameterized blueprint unfriendly. Controlling the recipe for an assembler is already a great use case for parameterized blueprints. Now if only it worked for more than one recipe.
Example
This is a "binary assembler" that alternates between two recipes based on a condition. I think it would be really convenient if the blueprint worked for any pair of recipes that go into the assembling machine. Currently it only works if the recipes are in the "right order". That is, parameter 1 is set to the recipe that would come first in the ordering.
Re: Assembling Machine circuit control should select the highest valid signal
Posted: Mon Nov 04, 2024 7:42 pm
by clarity
Gergely wrote: ↑Mon Nov 04, 2024 11:45 am
The change I am suggesting would make it consistent with how inserter filters work. Higher values are prioritized.
That is not how filter inserters work. Just like assemblers, they do not prioritize higher values (see attached pic) but go by the order the signals appear in crafting menu.
Any reason why you wouldn't use the selector combinator to achieve what you want?
Re: Assembling Machine circuit control should select the highest valid signal
Posted: Sat Nov 09, 2024 10:30 am
by danbopes
I came here seeking the same thing. Just because inserters do not work this way, doesn't mean that assemblers should too. I think the first valid highest signal should be chosen.