Logic Gates

The Logic Gates are special mechanisms in Terraria. There are six variants, all of which are sold by the Steampunker for each.

The gates must be activated by a Logic Gate Lamp placed atop of them, multiple lamps can be placed atop a single gate. It's advised to use at least two different wire color for the gates and wires, a single color that connects the input to the lamps, and a second wiring section that connects the gate and the mechanism.

Their operation is based around boolean values from a binary system. Whenever a lamp is lit and left on, it sends a true value for the gate, and when the lamp is left off, a false value will be sent instead. It's important to learn the mechanic of Logic Gates before implementing them into buildings and mechanisms.

Down below is a charter with all Logic Gates in the game with their IDs and function stated accordingly: