Xor Component: Difference between revisions
From Official Barotrauma Wiki
m (3 revisions imported) |
Rubenblades (talk | contribs) (Added Xor Component as it’s own page.) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
{{Version|1.3.0.2}}{{Main|Wiring Components}}{{Items infobox | |||
| description = Sends a signal if either of the inputs, but not both, receives a signal. | |||
| fabricator = Yes | |||
| fabricatorskill = electrical | |||
| fabricatorskilllevel = 20 | |||
| fabricatortime = 10 | |||
| fabricatormaterials = {{Hyperlink|FPGA Circuit}} | |||
| deconstructor = Yes | |||
| deconstructortime = 10 | |||
| deconstructormaterials = {{Hyperlink|FPGA Circuit}} | |||
| baseprice = 100 | |||
| outpostmultiplier = 1 | |||
| cityunbuyable = true | |||
| citymultiplier = 1 | |||
| researchmultiplier = 1.25 | |||
| militarymultiplier = 1 | |||
| minemultiplier = 1 | |||
| engineeringmultiplier = 0.9 | |||
| minleveldifficulty = 15 | |||
| outpostminavailable = 1 | |||
| cityminavailable = 1 | |||
| researchminavailable = 1 | |||
| militaryminavailable = 1 | |||
| mineminavailable = 1 | |||
| engineeringminavailable = 1 | |||
<!-- Technical --> | |||
| identifier = xorcomponent | |||
| category = 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 | |||
|panelfor = Xor Component | |||
|input1=Signal_In_1 | |||
|input1tt=The input of the first signal. | |||
|input2=Signal_In_2 | |||
|input2tt=The input of the second signal. | |||
|input3=Set_Output | |||
|input3tt=Sets the "true" output. | |||
|output1=Signal_Out | |||
|output1tt=The output of the component. | |||
}} | |||
<small>"1" denotes ''any non-zero'' signal, "0" denotes a "zero signal or no signal"</small> | |||
{| class="wikitable" | |||
|- | |||
! colspan="3" | Truth Table | |||
|- | |||
! Input 1 !! Input 2 !! Output | |||
|- | |||
| 0 || 0 || 0 | |||
|- | |||
| 0 || 1 || 1 | |||
|- | |||
| 1 || 0 || 1 | |||
|- | |||
| 1 || 1 || 0 | |||
|} | |||
{{Electrical Nav}} |
Latest revision as of 16:39, 11 April 2024
Data is up-to-date | |
Last updated for version 1.3.0.2 The current game version is 1.4.5.0 |
Main article: Wiring Components
Xor Component | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sends a signal if either of the inputs, but not both, receives a signal. | |||||||||||||||||||||||||||||||||||
Crafting | |||||||||||||||||||||||||||||||||||
Fabricator Requirements |
Skill: Electrical: 20
| ||||||||||||||||||||||||||||||||||
Deconstructor Yield | |||||||||||||||||||||||||||||||||||
Store | |||||||||||||||||||||||||||||||||||
Minimum Difficulty | 15% | ||||||||||||||||||||||||||||||||||
Base Price | 100 mk | ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
|
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. | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
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 |
Electrical Components | |
---|---|
Alarms | |
Detectors | |
Interactable | |
Wiring Components | |
Misc |