The Contraptions Workshop DLC introduced a range of "Advanced switches". Playing around with these, I found the AND, OR, and XOR gates to work exactly as expected, but not the NOT, NAND, NOR and XNOR gates. Here's a fairly long explanation of what I've tried to get them to work:

This was my first attempt at using a NAND gate (which should be transmitting power unless both inputs are turned on):

Attempt 1 - NAND gate

Reading up, I discovered that the N- gates "only transmit power if their inputs are connected directly to the output of other logic gates."

My next attempt, which I expected to work based on the information above, was to have an AND gate feeding into the NOT gate as such:

Attempt 2 - AND -> NOT

But, despite the NOT gate's input coming directly from the AND gate, the NOT gate did not turn on.

The problem seemed to be that:

  • if the previous gate transferred power as its conditions were met, the NOT gate would invert the power and stay off.
  • if the previous gate's conditions were not met, no power would pass onto the NOT gate for it to be able to turn on the light.

As a final attempt, I ran the AND's output into a NAND gate instead, which I can have one input powered whilst still having it (hopefully) turn on:

Attempt 3 - AND -> NAND with power

So, from what I understand:

  1. The NAND gate should be receiving power from the generator, in order for it to be able to turn on if its conditions are met.
  2. The AND gate is not transmitting power, so the NAND gate should have its conditions met.
  3. The light is still not turning on.

My question is, how do I get these N- gates to function? What is the logic behind when they transmit power? Perhaps I'm making an obvious mistake here like wiring them wrong, or have a misunderstanding of how these gates are intended to work.

  • "if the previous gate's conditions were not met, no power would pass onto the NOT gate for it to be able to turn on the light." that seems like a design oversight... – l I Jun 22 '16 at 23:58
  • I'm starting to think this may be a power-source issue rather than an issue with the logic gate functionality. On the Bethesda support center page, it mentions that " A light lit on the top left of a gate indicates power is flowing through it. This is regardless of whether there is a True (1) Input or not". Are you seeing that light on your gates? – pushasha Jun 23 '16 at 16:18
  • If not, I'm wondering whether "powering" the wall the gates are placed on would solve that. – pushasha Jun 23 '16 at 16:20
  • @pushasha How would I power a wall? Tried connecting a conduit to the wall and powering that, but nothing seems to change. I also tried having both of the NAND's inputs coming from logic gates (2 ANDs, 1 on 1 off), but that didn't seem to work either. – SirBenet Jun 23 '16 at 17:04
  • When I said "power", I was referring to connecting a conduit to the wall and powering that, such that anything connected to it (like lights) is powered, as you suspected. Sorry that didn't work. Once I get home, I'll do some experimenting and let you know if I find anything. – pushasha Jun 23 '16 at 17:51

So, after further testing, it would appear that fallout logic isn't 100% binary. It's a bit more fickle.

In order to explain, It's easier to think of it as trinary.

Your basic binary consists of "on" and "off", or 1 and 0, respectively. Normally this would be done with packets of data that are transfered over a powered network. However, in Fallout, power is data. This means that while ones and zeros are still important, power itself will override both. To make things easy, we will call an absolute lack of power "three"

So, in a simple setup consisting of a generator (that is constantly "1"), a switch, and a light, we can witness zeros, ones, and threes. The generator (1) powers a switch that is on (1) that passes power to the light. (1) When we turn the switch off, it expectedly becomes a zero. The light after it however, becomes a 3. This is because the light does not have the capability to store power, or if it does, we cannot tell. Objects like basic switches and interval switches can be made to use power but not transmit, which is apparent in the red LEDs. Switches can never be threes unless power cannot reach them

SO, back to the problem at hand: we've been operating under the assumption that these gates require threes in order to work, when in reality they still need some power. These gates will only operate when directly connected to a 2. (A powered device in the "off" setting, like a switch.) Anything connected directly after, like conduits or poles, will be a 3 and will not transfer "off" signals to your N- gate.

TL;DR- directly connect switches with power to your N- gates and turn them off.

  • How would this work with the second image in the post? The AND switch is directly connected to power, yet the NOT switch does not seem to be receiving the type "2" power from the AND switch. Also, how would this work with OR switches, for something like (A OR B) XNOR (C OR D)? You can't connect those to any power without changing their output. Not sure if I'm understanding correctly. – SirBenet Jun 24 '16 at 17:20
  • 1
    @colorfusion I think you might be getting confused over the terminology being used. When Indrik talks about "switches", he/she means the blue switch item under the workshop's Power > Connectors & Switches section, not the logic gates. So for the second image in your question, connecting the generator to a blue switch in the "off" position, then connecting that blue switch to the NOT gate would solve it. – pushasha Jun 28 '16 at 14:59
  • The thing that still keeps tripping me up is the fact that conduits transfer the power of "true" inputs, but don't transfer that of "false" inputs. For instance, if I have switch A and switch B, where switch A is in the "on" position and switch B is in the "off" position (both connected to a generator), if switch B's output is routed through a conduit, and switch A is not, when both are connected to an OR gate, the gate's output will be false and unpowered. But if switch A's output is routed through a conduit and switch B's is not, the OR gate output will be powered and true. Ugh. – pushasha Jun 28 '16 at 15:30
  • @pushasha I think I understand: - 1. All inputs of a gate must have either power or "false power", if any inputs are completely unpowered, the gate will not work. - 2. False power must come from a switch (excluding the "advanced switches") which is connected to a power source but turned off. - 3. Conduits do not transmit false power, and will count as an unpowered input, but can transmit true power. - So, what's wrong with this? If I understand correctly, both inputs have false power, but the light is turned off. I think I'm close to understanding though. – SirBenet Jun 28 '16 at 15:51
  • @colorfusion The setup in that picture doesn't work because you're using an N-gate, and N-gates "only transmit power if their inputs are connected directly to the output of other logic gates". So one way to achieve the effect of a standalone NAND gate would be to connect both switches to an AND gate input, connect the output of that AND gate to the NAND gate input, then connect one of the two switches directly to the NAND gate input. Doesn't make a ton of sense to me, since the switch providing power to the NAND in my example isn't a logic gate, but it works for some reason... – pushasha Jun 28 '16 at 16:07

For those who are still stumped a bit, let me try to help.

The principle behind logic gates is that, when you connect two, power is powering them all whether your black is lit or not. BUT, when the black outputs are lit (going into another logic gate) that's when the second logic gate takes it as a 1 instead of a zero. It's getting powered regardless.

Do this for me. Create two power sources. Connect them both to an AND gate's red input. Place a NOR gate below it. Connect the AND gates black output to the NOR gate's red Input. Optionally connect a terminal or whatever runs on power to the NOR gate's output (or just watch its black output light) Now turn only one source on.

When one source is on, the AND gate's logic is not met, so it doesn't transmit a 1 to the NOR gate. BUT. Because there is power (from the one power source that is on), it's powering the NOR gate, and the NOR gate "doesn't know what it's from". it's getting phantom power, you could say. The NOR gate has a single zero input, fulfilling its logic, and has phantom power to actually operate.

I'm not yet sure how this can be put into use yet as I'm experimenting now, but i hope it helps some of you learn how some of the logic gates work.

  • Pictures/screenshots would greatly improve this post. It's a bit confusing to read and a little unreasonable to assume that every reader will be able to follow these instructions when they find this. – Vemonus Sep 20 '16 at 21:39

I've seen this myself trying to get a powered door to activate using switches on both sides. The goal was to have the door open and/or close regardless of which switch was flipped. I used a XOR gate, two switches, and a conduit to connect both sides (I was unaware of the wire-through-walls trick). I ran the wiring perfectly except the wire from the outside needed to go through a conduit to reach the gate on the inside. Whenever the outside switch was in OFF, nothing worked because the conduit would not send a "powered but off" signal to the gate. I eventually managed to coerce the wire through the wall, but it took hours to try to figure out the problem.


I don't know if this has been completely answered or not but I was trying to make a door that had switches on both sides using a XNOR gate. To get the gate to work properly you have to complete the solution/gate prerequisite by connecting the wires to the input (the left side) and then power will flow to whatever is connected to the output (the right side). I haven't tried it with the other N gates but with the XNOR gate I powered two switches, placed them each on one side of the door, wired the switches into the input (the left side) and wired the output (the right side) into the door. Since the rule for the XNOR gate is that it transmits power when all inputs are the same, flipping one switch off shuts the door and then switching it back on opens it again, the same happens for the other side so it works as a switch operated door.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.