Logic Gates

A Logic Gates are a Mechanism used to provide wiring logic within Terraria. These blocks are attached to Logic Gate Lamps to provide toggle-able inputs. Based on the type of Logic Gate used the output will trigger when the right inputs are active. The types are as follows:


 * AND: Emits a signal when both lamps are active
 * NAND: Emits a signal unless both lamps are active
 * OR: Emits a signal when at least one lamp is active
 * NOR: Emits a signal when no lamp is active
 * XOR: Emits a signal when one lamp is active, but not the other
 * NXOR: Emits a signal when both lamps are active, or both are inactive