Page 1 of 1

[Kovarex] [2.0.13] Parameters showing inapplicable options for machine recipes when using logistics chests

Posted: Thu Oct 31, 2024 4:48 pm
by MrDrJames
When you use parametrize a recipe in an assembler machine (or equivalent like a chemical plant) it only shows you the relevant recipes.
ParamInAssembler+Else.png
ParamInAssembler+Else.png (384.27 KiB) Viewed 409 times
PlacingAssembler+Else.png
PlacingAssembler+Else.png (445.78 KiB) Viewed 409 times
It even does this when you have circuits with the relevant signal. (I think, I've only tested it a little, it definitely works with combinators but it should be tested more thoroughly).
And yet when you replace the combinator with a logistics chests like a storage chest (with the output of the recipe as a filter) then it no longer filters the available parameters to just the applicable recipes.
PlacingAssembler+Logistics.png
PlacingAssembler+Logistics.png (1.2 MiB) Viewed 409 times
In my testing that went for requester chests and storage chests but not for logistics network conditions on the machine itself.
It appears something with the logic in when it limits what parameter options you get is not working correctly.

Re: [2.0.13] Parameters showing inapplicable options for machine recipes when using logistics chests

Posted: Fri Dec 06, 2024 1:02 am
by robot256
Replicated in 2.0.24 with the following blueprint string:



Obviously when an invalid recipe is selected for the parameter, the chemical plant is placed with no recipe configured.

Re: [2.0.13] Parameters showing inapplicable options for machine recipes when using logistics chests

Posted: Fri Dec 06, 2024 5:09 am
by Muche
It looks to me it's the result of conflict of what type a parameter is supposed to be.

If it's in an AM/chemplant/furnace/EMP it's a recipe, and during BP placing only relevant recipes can be shown.
If it's in a combinator, it's a signal, and I believe the set of all recipes is a subset of all signals, so on BP placing only relevant recipes can be shown as well.
However, if it's a filter in a chest, it's an item, not a recipe. On BP placing you choose an item, then the recipe is determined from it.

What you seem to want is to be able to set parameter-1 to be the (first) product of parameter-0 (machine's recipe), so you can set chest's filter to parameter-1.

Re: [2.0.13] Parameters showing inapplicable options for machine recipes when using logistics chests

Posted: Fri Dec 06, 2024 6:21 pm
by robot256
The confusion seems to originate when a signal is used in more than one place, does the allowed list contain only ones that are allowed everywhere it is used, or does it show every signal that is valid in at least one place?

I agree that the bug report is more of a request for suggestion 120242.

Re: [2.0.13] Parameters showing inapplicable options for machine recipes when using logistics chests

Posted: Fri Dec 13, 2024 3:01 am
by Muche