[2.0.67] Splitter gives one side priority when both circuit conditions are true
-
- Inserter
- Posts: 41
- Joined: Thu Feb 13, 2020 2:22 pm
- Contact:
[2.0.67] Splitter gives one side priority when both circuit conditions are true
The filter splitter input/output circuit control behavior is strange. When both sides evaluate to false, there is no priority. When both evaluate to true, one side wins out and gets priority. IMO, the expected behavior is that both sides get priority, meaning there is no priority.
Re: [2.0.67] Filter splitter circuit I/O control
Since splitter priority has a 3-way switch, having a way to get a no-priority is reasonable from my point of view. When both conditions are true then splitter keeps previous setting. If you want to get rid of the no-priority outcome you can set both conditions in a way that they are opposite of each other, that way there will be always exactly one condition that is true, for example Left="input-I < 0" and Right = "input-I >= 0" (in that case a value of 0 would select Right due to equality).
I am not seeing any bugs in your report and as such moving to Not a bug.
I am not seeing any bugs in your report and as such moving to Not a bug.
Re: [2.0.67] Filter splitter circuit I/O control
So the truth table is:boskid wrote: Mon Sep 22, 2025 5:19 pm Since splitter priority has a 3-way switch, having a way to get a no-priority is reasonable from my point of view. When both conditions are true then splitter keeps previous setting. If you want to get rid of the no-priority outcome you can set both conditions in a way that they are opposite of each other, that way there will be always exactly one condition that is true, for example Left="input-I < 0" and Right = "input-I >= 0" (in that case a value of 0 would select Right due to equality).
I am not seeing any bugs in your report and as such moving to Not a bug.
Left false, Right false = Equal priority
Left true, Right false = Left priority
Left false, Right true = Right priority
Left true, Right goes from false to true = Left priority
Right true, Left goes from false to true = Right priority
This is an interesting behavior, and I can't comment on what it might be used for in game yet. But it introduces a new internal state variable to the splitter -- which condition became true first -- in a way that is not currently obvious to the player or readable by the circuit network.
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Re: [2.0.67] Filter splitter circuit I/O control
If you want a truth table for the "set input side", it is as follows:
Re: [2.0.67] Splitter gives one side priority when both circuit conditions are true
Thanks. So if you do happen to want the splitter to give equal priority when both sides are "requesting" it with a true condition, you will need to duplicate both conditions in combinators and, if they are both true, negate both of them before sending to the splitter.
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Re: [2.0.67] Splitter gives one side priority when both circuit conditions are true
If you want to discuss this further, make a feature request.