XOR Switch

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

Consumption 1Energy
Inputs Input A, Input B
Outputs Power Out
XOR Switch
HP 200
  1. Loot
  2. Craft
  3. Blueprint
  4. Repair
  5. Recycle
  6. Wiring
  7. Durability
  8. Tips
Container Condition Amount Chance
Crate 100 % 1–2 1 %
Sunken Chest 100 % 1 1 %
Underwater Lab Blue Crate 100 % 1–2 1 %
Underwater Dweller 100 % 1 0.2 %
Tunnel Dweller 100 % 1 0.2 %
Oil Rig Scientist 100 % 1 0.2 %
Excavator Scientist 100 % 1 0.2 %
Patrol Scientist 100 % 1 0.2 %
Blueprint Ingredients Time Workbench Level
XOR Switch Blueprint XOR Switch Blueprint Metal Fragments×100 7–30 sec Workbench Level 1I
Tool Requirements Scrap Total
Research Table Research Table XOR SwitchScrap×20>XOR Switch Blueprint 20
Workbench Level 1 Workbench Level 1 Switch BlueprintSmall Rechargeable Battery BlueprintLarge Solar Panel BlueprintRoot Combiner BlueprintBlocker BlueprintOR Switch BlueprintScrap×20>XOR Switch Blueprint 250
Tool Max Repair Cost Condition Loss BP Required
Repair Bench Repair Bench Metal Fragments×20 20% Yes
Hammer Hammer Metal Fragments×50 - No
Garry's Mod Tool Gun Garry's Mod Tool Gun Metal Fragments×50 - No
Recycler Yield
Recycler XOR Switch>Metal Fragments×50
ExplosiveMeleeThrowing AttacksGuns
Tool Quantity Time Fuel Sulfur
40mm HE Grenade 40mm HE Grenade 4 1 sec - -
Rocket Rocket 1 1 sec Fuel Amount×30 Sulfur Amount×1,400
Incendiary Rocket Incendiary Rocket 1 3 sec Fuel Amount×253 Sulfur Amount×610
High Velocity Rocket High Velocity Rocket 5 24 sec - Sulfur Amount×1,000
Timed Explosive Charge Timed Explosive Charge 1 10 sec Fuel Amount×60 Sulfur Amount×2,200
Flashlight Flashlight 2 28 sec - -
Jackhammer Jackhammer 1 4 sec - -
Jackhammer Jackhammer

Workbench Refill

1 4 sec - -
Assault Rifle Assault Rifle

5.56 Rifle Ammo

5.56 Rifle Ammo×40 9 sec - Sulfur Amount×133
Assault Rifle Assault Rifle

Explosive 5.56 Rifle Ammo

Explosive 5.56 Rifle Ammo×20 2 sec - Sulfur Amount×500
Assault Rifle Assault Rifle

Incendiary 5.56 Rifle Ammo

Incendiary 5.56 Rifle Ammo×25 3 sec - Sulfur Amount×313
Assault Rifle Assault Rifle

HV 5.56 Rifle Ammo

HV 5.56 Rifle Ammo×40 9 sec - Sulfur Amount×800
Beancan Grenade Beancan Grenade 4 8 sec - Sulfur Amount×480
Bolt Action Rifle Bolt Action Rifle

5.56 Rifle Ammo

5.56 Rifle Ammo×25 1 min - Sulfur Amount×83
Bolt Action Rifle Bolt Action Rifle

Explosive 5.56 Rifle Ammo

Explosive 5.56 Rifle Ammo×16 35 sec - Sulfur Amount×400
Bolt Action Rifle Bolt Action Rifle

Incendiary 5.56 Rifle Ammo

Incendiary 5.56 Rifle Ammo×16 35 sec - Sulfur Amount×200
Bolt Action Rifle Bolt Action Rifle

HV 5.56 Rifle Ammo

HV 5.56 Rifle Ammo×25 1 min - Sulfur Amount×500
Bone Club Bone Club 1 23 sec - -
Bone Club Bone Club

Throw

2 51 sec - -
Bone Knife Bone Knife 1 17 sec - -
Bone Knife Bone Knife

Throw

2 1 min - -
Fire Arrow Fire Arrow

Hunting Bow

20 19 sec Fuel Amount×100 -
Hunting Bow Hunting Bow

Fire Arrow

Fire Arrow×20 19 sec Fuel Amount×100 -
Chainsaw Chainsaw 1 6 sec - -
Salvaged Cleaver Salvaged Cleaver 1 14 sec - -
Salvaged Cleaver Salvaged Cleaver

Throw

1 21 sec - -
Compound Bow Compound Bow

Fire Arrow

Fire Arrow×20 1 min 19 sec Fuel Amount×100 -
Crossbow Crossbow

Fire Arrow

Fire Arrow×20 1 min 8 sec Fuel Amount×100 -
Double Barrel Shotgun Double Barrel Shotgun

Handmade Shell

Handmade Shell×12 30 sec - Sulfur Amount×60
Double Barrel Shotgun Double Barrel Shotgun

12 Gauge Buckshot

12 Gauge Buckshot×10 24 sec - Sulfur Amount×100
Double Barrel Shotgun Double Barrel Shotgun

12 Gauge Incendiary Shell

12 Gauge Incendiary Shell×6 12 sec - Sulfur Amount×120
Double Barrel Shotgun Double Barrel Shotgun

12 Gauge Slug

12 Gauge Slug×25 1 min 12 sec - Sulfur Amount×250
Eoka Pistol Eoka Pistol

Handmade Shell

Handmade Shell×12 30 sec - Sulfur Amount×60
Eoka Pistol Eoka Pistol

12 Gauge Buckshot

12 Gauge Buckshot×10 24 sec - Sulfur Amount×100
Eoka Pistol Eoka Pistol

12 Gauge Incendiary Shell

12 Gauge Incendiary Shell×6 14 sec - Sulfur Amount×120
Eoka Pistol Eoka Pistol

12 Gauge Slug

12 Gauge Slug×25 1 min 5 sec - Sulfur Amount×250
F1 Grenade F1 Grenade 4 7 sec - Sulfur Amount×240
Flame Thrower Flame Thrower ~ 33 20 sec Fuel Amount×33 -
Multiple Grenade Launcher Multiple Grenade Launcher

40mm Shotgun Round

40mm Shotgun Round×8 8 sec - -
Hatchet Hatchet 1 14 sec - -
Hatchet Hatchet

Throw

1 40 sec - -
Combat Knife Combat Knife 1 8 sec - -
Combat Knife Combat Knife

Throw

1 12 sec - -
L96 Rifle L96 Rifle

5.56 Rifle Ammo

5.56 Rifle Ammo×25 1 min 4 sec - Sulfur Amount×83
L96 Rifle L96 Rifle

Explosive 5.56 Rifle Ammo

Explosive 5.56 Rifle Ammo×16 40 sec - Sulfur Amount×400
L96 Rifle L96 Rifle

Incendiary 5.56 Rifle Ammo

Incendiary 5.56 Rifle Ammo×16 40 sec - Sulfur Amount×200
L96 Rifle L96 Rifle

HV 5.56 Rifle Ammo

HV 5.56 Rifle Ammo×25 1 min 4 sec - Sulfur Amount×500
LR-300 Assault Rifle LR-300 Assault Rifle

5.56 Rifle Ammo

5.56 Rifle Ammo×50 9 sec - Sulfur Amount×167
LR-300 Assault Rifle LR-300 Assault Rifle

Explosive 5.56 Rifle Ammo

Explosive 5.56 Rifle Ammo×23 2 sec - Sulfur Amount×575
LR-300 Assault Rifle LR-300 Assault Rifle

Incendiary 5.56 Rifle Ammo

Incendiary 5.56 Rifle Ammo×32 7 sec - Sulfur Amount×400
LR-300 Assault Rifle LR-300 Assault Rifle

HV 5.56 Rifle Ammo

HV 5.56 Rifle Ammo×50 9 sec - Sulfur Amount×1,000
M249 M249

5.56 Rifle Ammo

5.56 Rifle Ammo×31 3 sec - Sulfur Amount×103
M249 M249

Explosive 5.56 Rifle Ammo

Explosive 5.56 Rifle Ammo×18 2 sec - Sulfur Amount×450
M249 M249

Incendiary 5.56 Rifle Ammo

Incendiary 5.56 Rifle Ammo×20 2 sec - Sulfur Amount×250
M249 M249

HV 5.56 Rifle Ammo

HV 5.56 Rifle Ammo×31 3 sec - Sulfur Amount×620
M39 Rifle M39 Rifle

5.56 Rifle Ammo

5.56 Rifle Ammo×40 10 sec - Sulfur Amount×133
M39 Rifle M39 Rifle

Explosive 5.56 Rifle Ammo

Explosive 5.56 Rifle Ammo×20 3 sec - Sulfur Amount×500
M39 Rifle M39 Rifle

Incendiary 5.56 Rifle Ammo

Incendiary 5.56 Rifle Ammo×25 7 sec - Sulfur Amount×313
M39 Rifle M39 Rifle

HV 5.56 Rifle Ammo

HV 5.56 Rifle Ammo×40 10 sec - Sulfur Amount×800
M92 Pistol M92 Pistol

Pistol Bullet

Pistol Bullet×45 10 sec - Sulfur Amount×113
M92 Pistol M92 Pistol

Incendiary Pistol Bullet

Incendiary Pistol Bullet×28 6 sec - Sulfur Amount×233
M92 Pistol M92 Pistol

HV Pistol Ammo

HV Pistol Ammo×45 10 sec - Sulfur Amount×600
Mace Mace 1 16 sec - -
Mace Mace

Throw

1 21 sec - -
Machete Machete 1 12 sec - -
Machete Machete

Throw

1 30 sec - -
MP5A4 MP5A4

Pistol Bullet

Pistol Bullet×58 9 sec - Sulfur Amount×145
MP5A4 MP5A4

Incendiary Pistol Bullet

Incendiary Pistol Bullet×36 7 sec - Sulfur Amount×300
MP5A4 MP5A4

HV Pistol Ammo

HV Pistol Ammo×58 9 sec - Sulfur Amount×773
Paddle Paddle 1 17 sec - -
Pickaxe Pickaxe 1 21 sec - -
Pickaxe Pickaxe

Throw

1 30 sec - -
Waterpipe Shotgun Waterpipe Shotgun

Handmade Shell

Handmade Shell×12 49 sec - Sulfur Amount×60
Waterpipe Shotgun Waterpipe Shotgun

12 Gauge Buckshot

12 Gauge Buckshot×10 40 sec - Sulfur Amount×100
Waterpipe Shotgun Waterpipe Shotgun

12 Gauge Incendiary Shell

12 Gauge Incendiary Shell×6 22 sec - Sulfur Amount×120
Waterpipe Shotgun Waterpipe Shotgun

12 Gauge Slug

12 Gauge Slug×25 1 min 48 sec - Sulfur Amount×250
Python Revolver Python Revolver

Pistol Bullet

Pistol Bullet×37 27 sec - Sulfur Amount×93
Python Revolver Python Revolver

Incendiary Pistol Bullet

Incendiary Pistol Bullet×23 14 sec - Sulfur Amount×192
Python Revolver Python Revolver

HV Pistol Ammo

HV Pistol Ammo×37 27 sec - Sulfur Amount×493
Revolver Revolver

Pistol Bullet

Pistol Bullet×58 32 sec - Sulfur Amount×145
Revolver Revolver

Incendiary Pistol Bullet

Incendiary Pistol Bullet×36 19 sec - Sulfur Amount×300
Revolver Revolver

HV Pistol Ammo

HV Pistol Ammo×58 32 sec - Sulfur Amount×773
Rock Rock 1 52 sec - -
Rock Rock

Throw

2 1 min - -
Salvaged Axe Salvaged Axe 1 12 sec - -
Salvaged Axe Salvaged Axe

Throw

1 24 sec - -
Salvaged Hammer Salvaged Hammer 1 14 sec - -
Salvaged Hammer Salvaged Hammer

Throw

1 30 sec - -
Salvaged Icepick Salvaged Icepick 1 12 sec - -
Salvaged Icepick Salvaged Icepick

Throw

1 40 sec - -
Satchel Charge Satchel Charge 1 9 sec - Sulfur Amount×480
Pump Shotgun Pump Shotgun

Handmade Shell

Handmade Shell×12 16 sec - Sulfur Amount×60
Pump Shotgun Pump Shotgun

12 Gauge Buckshot

12 Gauge Buckshot×10 14 sec - Sulfur Amount×100
Pump Shotgun Pump Shotgun

12 Gauge Incendiary Shell

12 Gauge Incendiary Shell×6 5 sec - Sulfur Amount×120
Pump Shotgun Pump Shotgun

12 Gauge Slug

12 Gauge Slug×25 44 sec - Sulfur Amount×250
Semi-Automatic Pistol Semi-Automatic Pistol

Pistol Bullet

Pistol Bullet×50 18 sec - Sulfur Amount×125
Semi-Automatic Pistol Semi-Automatic Pistol

Incendiary Pistol Bullet

Incendiary Pistol Bullet×32 12 sec - Sulfur Amount×267
Semi-Automatic Pistol Semi-Automatic Pistol

HV Pistol Ammo

HV Pistol Ammo×50 18 sec - Sulfur Amount×667
Semi-Automatic Rifle Semi-Automatic Rifle

5.56 Rifle Ammo

5.56 Rifle Ammo×50 21 sec - Sulfur Amount×167
Explosive 5.56 Rifle Ammo Explosive 5.56 Rifle Ammo

Semi-Automatic Rifle

23 8 sec - Sulfur Amount×575
Semi-Automatic Rifle Semi-Automatic Rifle

Explosive 5.56 Rifle Ammo

Explosive 5.56 Rifle Ammo×23 8 sec - Sulfur Amount×575
Semi-Automatic Rifle Semi-Automatic Rifle

Incendiary 5.56 Rifle Ammo

Incendiary 5.56 Rifle Ammo×32 9 sec - Sulfur Amount×400
Semi-Automatic Rifle Semi-Automatic Rifle

HV 5.56 Rifle Ammo

HV 5.56 Rifle Ammo×50 21 sec - Sulfur Amount×1,000
Custom SMG Custom SMG

Pistol Bullet

Pistol Bullet×67 14 sec - Sulfur Amount×168
Custom SMG Custom SMG

Incendiary Pistol Bullet

Incendiary Pistol Bullet×42 8 sec - Sulfur Amount×350
Custom SMG Custom SMG

HV Pistol Ammo

HV Pistol Ammo×67 14 sec - Sulfur Amount×893
Spas-12 Shotgun Spas-12 Shotgun

Handmade Shell

Handmade Shell×15 14 sec - Sulfur Amount×75
Spas-12 Shotgun Spas-12 Shotgun

12 Gauge Buckshot

12 Gauge Buckshot×13 14 sec - Sulfur Amount×130
Spas-12 Shotgun Spas-12 Shotgun

12 Gauge Incendiary Shell

12 Gauge Incendiary Shell×8 7 sec - Sulfur Amount×160
Spas-12 Shotgun Spas-12 Shotgun

12 Gauge Slug

12 Gauge Slug×34 36 sec - Sulfur Amount×340
Stone Hatchet Stone Hatchet 1 24 sec - -
Stone Hatchet Stone Hatchet

Throw

2 1 min - -
Stone Pickaxe Stone Pickaxe 1 21 sec - -
Stone Pickaxe Stone Pickaxe

Throw

2 1 min - -
Stone Spear Stone Spear 1 18 sec - -
Longsword Longsword 1 12 sec - -
Longsword Longsword

Throw

1 21 sec - -
Salvaged Sword Salvaged Sword 1 10 sec - -
Salvaged Sword Salvaged Sword

Throw

1 30 sec - -
Thompson Thompson

Pistol Bullet

Pistol Bullet×54 14 sec - Sulfur Amount×135
Thompson Thompson

Incendiary Pistol Bullet

Incendiary Pistol Bullet×34 8 sec - Sulfur Amount×283
Thompson Thompson

HV Pistol Ammo

HV Pistol Ammo×54 14 sec - Sulfur Amount×720
Torch Torch 3 1 min 46 sec Fuel Amount×3 -
Torch Torch

Lit

~ 10 1 min 36 sec Fuel Amount×10 -
Wooden Spear Wooden Spear 1 24 sec - -
2

Nimfrodian 7 pts. 2 years ago

Can also be used as a negator. One input should always have power and the other should have the signal.
When the signal is "0" the output is the provided power.
When the signal is "1" the output is "0"
2

e+ 16 pts. year ago

XOR switches do not actually consume electricity. If you signal input is 1, no matter how many XOR switches are daisy-chained, the output will always be same as input (provided no second input is applied, of course). I do not know whether or not it is intentional, but it is useful if you want to connect multiple turrets to a single smart alarm, as even if you trigger 2 turrets connected to the same XOR switch, there is still a fraction of a second where only one will be connected, triggering the alarm.
1

Tarrian 6 pts. 7 months ago

These do not work the same as a blocker, at least not if placed after a combiner that is fed by 2 or more batteries. The combiner will always output the total battery capacity into the XOR even when the XOR output is off.
If you need to stop power for something like a day/night circuit make sure you use a blocker, as they do cause the battery output to drop to 2 (1 for combiner and 1 for blocker).
Identifier 1293102274
Stack Size ×5
Despawn time 5 min