Rust AND gate circuit

The light only turns on with both switches on. An AND switch gives the larger of its two inputs, not the sum.

How to wire it

  1. Small Rechargeable Battery "Power Output" → Splitter "Power In"
  2. Splitter "Power Out 1" → Switch "Power In"
  3. Splitter "Power Out 2" → Switch "Power In"
  4. Switch "Power Out" → AND Switch "Input A"
  5. Switch "Power Out" → AND Switch "Input B"
  6. AND Switch "Power Out" → Simple Light "Power In"
Open a blank editor

Ready circuits

Open one in the editor, test it and change it.

How Rust electricity works

Power in Rust is pushed, not pulled: a source sends everything it makes down the wire, and each component decides what to pass on. A splitter divides what comes in evenly between the outputs that have a wire, without looking at what each one needs; whatever isn't used is lost. A branch sends a fixed amount out of Branch Out and the rest straight on.

Batteries are the exception that makes bases work: a battery always pushes its full output (15, 50 or 100), but it only spends what the things wired after it actually use. That's why a battery feeding a turret and a light through a splitter drains 11 per second, not 50. It charges at 80% of what comes in.

Most components that only route power use none: splitters, branches, switches, timers, counters and logic gates. Lights, sensors, RF and door controllers use 1, the auto turret 10, the SAM site 25. A component that gets less than it needs doesn't run and doesn't spend anything.

© 2026 Vestigo