← All items

Electrical

XOR Switch

An exclusive-or logic gate that allows electrical passthrough if ONLY ONE input receives power, passthrough amount is whichever single input is active. If BOTH inputs receive power, passthrough will be zero.

Shortname
electric.xorswitch
Item ID
1293102274
Spawn command
inventory.give electric.xorswitch 1
Stack
5
Despawns after
5 min

Crafting

Makes 1Workbench level 1: 30 sWorkbench level 2: 15 sWorkbench level 3: 7.5 sResearch: 15 scrap

Recycling

RecyclerGives
Red (Power Plant) 75%
Green, powered 60%
Green 50%
Yellow (safe zone) 40%

“+ 50%” is the chance of getting one more. For an item at full condition: a worn one gives less. The green recycler gives more while the monument's power grid is on, and the red one only works with it.

Where to find it

Chance that a crate, NPC or item has at least one. In crates the amount counts all its rolls; for NPCs it is what the slot that gives the most provides. Condition: how worn it comes out.

SourceAmountChance
Crate× 1–21.3 %
Crate (Wagon)× 1–21.3 %
Advanced Underwater Crate× 11.1 %
Gingerbread ManNPCChristmas× 10.2 %
ScarecrowNPCHalloween× 10.2 %
ScientistNPC× 10.2 %
Tunnel DwellerNPC× 10.2 %
Underwater DwellerNPC× 10.2 %

Electricity

Power use
none
Inputs
Input A · Input B
Outputs
Power Out
Try it in the simulator

© 2026 Vestigo