[2.0.10] Decider Combinator - No Output Count

Bugs that are actually features.
Xyletic
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Sep 24, 2016 6:14 pm
Contact:

[2.0.10] Decider Combinator - No Output Count

Post by Xyletic »

I've been setting up some train logic and noticed that the decider combinator will not output item count, seemingly at all - however my use case is limited.

My goal is to set the station limit after doing some calculations to determine how many trains are needed versus how many trains the station can handle (similar to LTN). It all comes down to this decide combinator (and a second for the inverse).

I've tested selecting both green and red inputs (for the output) and it does not output anything.
10-24-2024, 17-35-23.png
10-24-2024, 17-35-23.png (65.78 KiB) Viewed 418 times
If I set the output to a hard 1, then it decides to output.
10-24-2024, 17-36-32.png
10-24-2024, 17-36-32.png (67.67 KiB) Viewed 418 times
The only way I've been able to get this to work is by using the Anything output. Which then makes the logic harder to follow because I am forced to use the same icons for both inputs so I can use the signals as the outputs - which for simplicity, I made into the train limit (L).
10-24-2024, 17-47-20.png
10-24-2024, 17-47-20.png (58.66 KiB) Viewed 418 times
I have a second combinator to set the limit based on the requested amount.
10-24-2024, 17-51-00.png
10-24-2024, 17-51-00.png (50.36 KiB) Viewed 418 times
This works, but it makes it less simple to follow.


Thank you.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4034
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.10] Decider Combinator - No Output Count

Post by boskid »

Thanks for the report however i see no bugs here.

When you set Outputs "[L] input count R", that means you want to output a signal [L] with a value of signal L as seen on the decider's Red(R) wire input. Signal L is not present on the input so the decider does what you asked it to do: outputs L with a value of 0 which is erased since it is equal to 0.
Post Reply

Return to “Not a bug”