Scrap Mechanic has over 400 building parts that can be used to build everything from a car to a walking house. The key to any complex interaction is a logic gate. Logic gates dictate what happens when you flick a switch, push a button, activate a sensor, or when a timer block has counted down.
Multiple gates can be connected together in series or parallel to combine the different effects. When you build a logic gate you can set it to one of 6 possible modes which is displayed on the block's display. When a gate is outputting a signal, the display side lights up, making it easy to see what is happening in the circuit.
Scrap Mechanic Logic Gates
- AND - Active if ALL linked triggers are ACTIVE
- OR - Active if ANY linked trigger is ACTIVE
- XOR - Active if an ODD number of triggers are ACTIVE
- NAND - Active if ANY linked triggers are INACTIVE
- NOR - Active if ALL linked triggers are INACTIVE
- XNOR - Active if an EVEN number of linked triggers are ACTIVE
One of the key ideas in a logic gate is the memory bit. This isn't just a single block but rather a circuit made up of 2 NOR gates and 1 OR gate all connected in a loop NOR -> NOR -> OR -> and back to the first NOR. These can be used to store a signal state for use in more complicated circuits.
You can also add a Timer to the circuit which will delay the output by a set time between 0 and 60 seconds. This works not just when it's first triggered so you can queue multiple on/off commands which will then be output in the order and timing that you sent to the timer, just with a delay.