[2.0.52] Decider combinator conditions are deleted when they contain an empty parameter.
Posted: Sat May 24, 2025 11:16 pm
by triggerman602
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.
Re: [2.0.52] Decider combinator conditions are deleted when they contain an empty parameter.
Posted: Sat May 24, 2025 11:49 pm
by robot256
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.
Re: [2.0.52] Decider combinator conditions are deleted when they contain an empty parameter.
Posted: Sat May 24, 2025 11:59 pm
by triggerman602
Empty Slots do evaluate to 0.
Re: [2.0.52] Decider combinator conditions are deleted when they contain an empty parameter.
Posted: Sun May 25, 2025 2:27 am
by boskid
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.
Posted: Mon May 26, 2025 3:00 am
by tinker9
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.
As a workaround, you could put the parameter on the right?