Logic gate

The logic gates are seven constructible settlement items added in the Fallout 4 add-on Contraptions Workshop.

Characteristics
Logic gates are used to build advanced circuits for different powered components in allied settlements. Each logic gate has two ports: the red port indicates input, and the black port indicates output. Based on the state of the wires connected to the red input node, each logic gate determines whether power passes through or not through the black output node.

There are 3 different types of logic gates: positive logic gates, negative logic gates, and exclusive logic gates.

The AND, OR and XOR gates will operate as expected on live or uncharged wires from other components anywhere in their downstream chain. NOT, NAND, NOR and XNOR Will only operate as expected if they are downstream of a logic gate with active power.

To simplify this requirement, when using any negative gate in your logic gate chain, you can add items shown in this table before the first logic gate, and all downstream gates will behave as expected. You can reuse the "Power" and NOT gates for ALL first Logic Gates to save materials

BUG WARNING: if the output pins of a NOT/NOR gate, and a NAND gate both connect to a shared pin, the NOT/NOR gate will become unpowered. To fix this, you can insert a dummy pin before the shared connection (eg BEFORE: NOT --> Shared Pin, FIXED: NOT --> Pin --> Shared Pin)

In the following tables, digit 1 means the power passes and 0 means the power does not pass through.

All Fallout 4 Logic Gates can accept one to many inputs. The in-game construction tips abridged here describe how they behave with non-binary inputs