[2.0.15] Decider combinator [each = 'carbonic asteroid chunk'] clause matches inserter signal

Bugs that are actually features.
Erdgeist
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Nov 15, 2024 8:11 pm
Contact:

[2.0.15] Decider combinator [each = 'carbonic asteroid chunk'] clause matches inserter signal

Post by Erdgeist »

I wired up a decider combinator to eject surplus items from my space platform. It should pass on all input signals from the hub that satisfy two conditions. The first condition is [each = item] and the second condition is [item > some_limit]. I connected a few of these AND clauses by OR conditions to account for different items. This works perfectly fine for carbon, iron, ice and metallic asteroid chunks but fails for carbonic asteroid chunk. For some reason the AND clause for carbonic asteroid chunks matches both long and fast inserters but nothing else i have in the hub. I attached a screenshot that illustrates the problem. I also added a savegame where I used /game.tick_paused and /editor command while the potential bug occured.
Attachments
Bildschirmfoto vom 2024-11-15 21-07-39 edited.png
Bildschirmfoto vom 2024-11-15 21-07-39 edited.png (1.07 MiB) Viewed 433 times
sa_.zip
(9.24 MiB) Downloaded 13 times
factorio-current.log
(10.14 KiB) Downloaded 16 times
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 200
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: [2.0.15] Decider combinator [each = 'carbonic asteroid chunk'] clause matches inserter signal

Post by LCStark »

Your condition doesn't compare if "each == item", it compares if "value of each == value of item". It matches the inserters because its value is 2 and the inserters values are also 2.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3584
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.15] Decider combinator [each = 'carbonic asteroid chunk'] clause matches inserter signal

Post by boskid »

I am not seeing any bugs here. Decider combinator does exactly what it was asked to do: since carbonic asteroid chunk is positive, all signals that have equal value as carbonic asteroid chunk are able to pass conditions.
Post Reply

Return to “Not a bug”