[2.0.42] Description clarification issue, circuit input list is always sorted
Posted: Thu Mar 27, 2025 9:46 pm
Hey all,
I remembered reading in this topic viewtopic.php?p=666076 about space platform hubs, that description issues are "valid bugs".
I tried searching the forums, but searching for literally "anything" is... I don't trust the results, if it's a duplicate, I apologize.
I just learned that a particular quirk of the "Anything" signal selection is that the input list: That list is always sorted, according to what I assume is an item id? This means that ingredients usually(?) come before products in this input list.
And this is specifically NOT respecting the number of items, even though the number of items does change the sorting in the UI.
This has a few implications on how logic circuits can be set up, because if the signals can be mixed, but the mixed signal is still sorted, and "Anything always picks the first" (by id) it can be un-mixed in a predictable, reliable way. E.g. to produce ingredients before higher tier products automatically. I discovered this on the space platform when thinking about ammo production, that's why the rockets are there.
So if it is a real unintended bug, it's a very useful one (and should be kept, pretty please)!
I would have loved to read this somewhere and not discover it by myself, so I would suggest for the consistent sorting and sorting criteria if it's not "obviously item id" to be added to the description somewhere where it can be reasonably found, either on the factoriopedia or the wiki.
Thanks!
I remembered reading in this topic viewtopic.php?p=666076 about space platform hubs, that description issues are "valid bugs".
I tried searching the forums, but searching for literally "anything" is... I don't trust the results, if it's a duplicate, I apologize.
I just learned that a particular quirk of the "Anything" signal selection is that the input list: That list is always sorted, according to what I assume is an item id? This means that ingredients usually(?) come before products in this input list.
And this is specifically NOT respecting the number of items, even though the number of items does change the sorting in the UI.
This has a few implications on how logic circuits can be set up, because if the signals can be mixed, but the mixed signal is still sorted, and "Anything always picks the first" (by id) it can be un-mixed in a predictable, reliable way. E.g. to produce ingredients before higher tier products automatically. I discovered this on the space platform when thinking about ammo production, that's why the rockets are there.
So if it is a real unintended bug, it's a very useful one (and should be kept, pretty please)!
I would have loved to read this somewhere and not discover it by myself, so I would suggest for the consistent sorting and sorting criteria if it's not "obviously item id" to be added to the description somewhere where it can be reasonably found, either on the factoriopedia or the wiki.
Thanks!