[2.0.20] "Anything" signal doesn't work correctly as an output

Things that has been reported already before.
Silvestor
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Nov 23, 2024 8:03 pm
Contact:

[2.0.20] "Anything" signal doesn't work correctly as an output

Post by Silvestor »

In my case, decider combinator return not matching signal, and not first matching signal as described in wiki.
bug.jpg
bug.jpg (71.92 KiB) Viewed 312 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3456
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.20] "Anything" signal doesn't work correctly as an output

Post by boskid »

This looks like a second part of 116902 - basically due to changes of decider logic for 2.0 and ability to have multiple conditions, output "anything" is no longer tied to a specific signal that made it pass on the conditions side through an anything condition. You can workaround this by having "Each > 25 output Anything" which will internally check which signals on input are passing the conditions and it will output only one of the passing signals.
Vylkire
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Nov 24, 2024 1:09 am
Contact:

Re: [2.0.20] "Anything" signal doesn't work correctly as an output

Post by Vylkire »

I agree that this is not working correctly as per the description in the tooltip.
"Anything" Description
"Anything" Description
Screenshot From 2024-11-24 12-11-30.png (30.33 KiB) Viewed 253 times
"Output the first input signal, or the first signal that passed all conditions, respecting signal order..."
Even when using the workaround "Each" for the input, the "Anything" signal does not appear to respect input order.
Behaviour with "Each" workaround
Behaviour with "Each" workaround
Screenshot From 2024-11-24 12-06-38.png (85.53 KiB) Viewed 253 times
Based on the information in the tooltip, I would have expected either Iron Gear Wheel OR Battery to pass the condition AND be "the first signal that passed all conditions" depending on whether Input Signals is listed first in, last out or first in, first out - the selection of Concrete was unexpected. When switching signal conditions, or removing Concrete from the inputs (in this case Ice gets selected at this point), then reapplying the signal conditions or re-adding Concrete to the inputs, it is once again selected as the pass-through from "Anything". After some testing, it appears that the order is as per the "Set a Filter" when applying to a Constant Combinator (or similar) organised by Tabs first, Items next as removing the signal inputs in order of next seems to follow; i.e. Concrete -> Ice -> Steel -> Solid Fuel -> Battery -> Iron Gear Wheel, removing Concrete will yield Ice as the next output, removing Ice will output Steel and so on (assuming they have met the condition, in this case > 1000 items). This appears to match the order of Logistics Tab, Concrete, No more Logistics Tab, move to Production Tab, No Production Tab, Move to Intermediate Products, Ice, Steel, Solid Fuel, Battery etc. (This may not be 100% accurate, but appears to the case from in-game testing).
Screenshot From 2024-11-24 12-37-55.png
Screenshot From 2024-11-24 12-37-55.png (312.44 KiB) Viewed 253 times
I think the easiest solution is to update the tooltip with the current behaviour if the current behaviour is intended. Double checking the Factorio Wiki there is a line that mentions this behaviour which could be added (i.e "Outpur first input signal (precedence as per Factoriopedia)".

Hope that all makes sense and is constructive. It is certainly not game breaking, but was confusing for a while!
Post Reply

Return to “Duplicates”