Xor Component

From Official Barotrauma Wiki
Jump to: navigation, search
Data is up-to-date
Last updated for version 1.3.0.2
The current game version is 1.7.7.0

Main article: Wiring Components


Xor Component

Sends a signal if either of the inputs, but not both, receives a signal.
Crafting
Fabricator
Requirements
Deconstructor Yield
Store
Minimum Difficulty 15%
Base Price 100 mk
Outposts
OutpostOutpost Buy Sell
Habitation OutpostHabitation 100 mk 30 mk
ColonyColony N/A 30 mk
Research OutpostResearch 125 mk 37 mk
Military OutpostMilitary 100 mk 30 mk
Mining OutpostMining 100 mk 30 mk
Medical MerchantMedical Merchant N/A 30 mk
Engineer MerchantEngineer Merchant 90 mk 27 mk
Armory MerchantArmory Merchant N/A 30 mk
Children of The HonkmotherClown Merchant N/A 30 mk
The Church of HuskHusk Merchant N/A 30 mk
Technical
Identifier xorcomponent
Categories Electrical
Tags smallitem, logic

The Xor Component is an electrical component used to check if exactly one input pin is receiving truthy signals.


Connection Panel for Xor Component
Hover over pins to see their descriptions.
Signal_In_1
Signal_In_2
Set_Output
The input of the first signal.
The input of the second signal.
Sets the "true" output.
Signal_Out
The output of the component.
Requires: Screwdriver

"1" denotes any non-zero signal, "0" denotes a "zero signal or no signal"

Truth Table
Input 1 Input 2 Output
0 0 0
0 1 1
1 0 1
1 1 0

v · d · e · h

Electrical Components

Alarms
Detectors
Interactable
Wiring Components
Misc