I created a blueprint that has parameters referencing a recipe's second ingredient in the conditions of decider combinators.
When placing the blueprint, if the selected recipe doesn't have a second ingredient, the conditions in the combinators are deleted.
I expected the conditions to remain and the slots with the parameters to be empty(and therefore 0) instead.
Here is the blueprint that demonstrates this. Select a recipe that only has 1 ingredient and check the decider combinators vs when selecting a recipe with 2 or more ingredients.
[2.0.52] Decider combinator conditions are deleted when they contain an empty parameter.
-
- Inserter
- Posts: 28
- Joined: Sat Nov 07, 2015 9:18 pm
- Contact:
Re: [2.0.52] Decider combinator conditions are deleted when they contain an empty parameter.
Empty slots do not evaluate to zero. They cause the condition to always evaluate to false. The behavior you observe was added in response to another bug report where the unpopulated conditions would break the intended logic because of this.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
-
- Inserter
- Posts: 28
- Joined: Sat Nov 07, 2015 9:18 pm
- Contact:
Re: [2.0.52] Decider combinator conditions are deleted when they contain an empty parameter.
Empty Slots do evaluate to 0.
- Attachments
-
- EmptySlot.JPG (171.14 KiB) Viewed 507 times
Re: [2.0.52] Decider combinator conditions are deleted when they contain an empty parameter.
I am not a fan of this behavior but it is an intended feature implemented because of 118455. If you want it changed then you need to provide a better argument than that topic to convince kovarex it should be reverted.
Re: [2.0.52] Decider combinator conditions are deleted when they contain an empty parameter.
As a workaround, you could put the parameter on the right?kovarex wrote: Sat Mar 29, 2025 2:39 pm I hope I don't break something by this change, but for the next version, decider combinator conditions which would be evaluated to empty signal on the left side of the comparison are just deleted isntead of kept empty.