Logical operations tutorial?
Posted: Sat Oct 29, 2016 10:20 pm
Is there a good tutorial for logical operations (in Factorio) anywhere? There are some things I want to implement that I don't know how to do using the circuit network.
One particular example from just the other day, I had this:
Decider 1: If petroleum > 200 send signal grey+1
Decider 2: If sulfur < 1000 send signal yellow+1
Decider 3: If plastic < 1000 send signal white+1
And what I wanted to do was this:
Pump for petrol to sulfur plants: If grey > 0 AND yellow > 0 then operate.
Pump for petrol to plastic plants: If grey > 0 and white > 0 then operate.
Obviously I need something between to do the actual AND operations and provide a single signal to drive each pump, but I am having some sort of brain fart and can't wrap my head around what I need to do here. It would be simple if I could just make grey + yellow = orange and grey + white = green, but that doesn't seem possible.
Although, having put down on "paper" the problem, I have at least an inkling of what I need to do. I'll leave this here in case it doesn't pan out, perhaps someone can suggest something.
One particular example from just the other day, I had this:
Decider 1: If petroleum > 200 send signal grey+1
Decider 2: If sulfur < 1000 send signal yellow+1
Decider 3: If plastic < 1000 send signal white+1
And what I wanted to do was this:
Pump for petrol to sulfur plants: If grey > 0 AND yellow > 0 then operate.
Pump for petrol to plastic plants: If grey > 0 and white > 0 then operate.
Obviously I need something between to do the actual AND operations and provide a single signal to drive each pump, but I am having some sort of brain fart and can't wrap my head around what I need to do here. It would be simple if I could just make grey + yellow = orange and grey + white = green, but that doesn't seem possible.
Although, having put down on "paper" the problem, I have at least an inkling of what I need to do. I'll leave this here in case it doesn't pan out, perhaps someone can suggest something.