Or Component: Difference between revisions
From Official Barotrauma Wiki
m (4 revisions imported) |
Rubenblades (talk | contribs) (Created the Or Component 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 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 = orcomponent | |||
| category = Electrical | |||
| tags = smallitem, logic | |||
}} | |||
The '''Or Component''' is an electrical component used to check if recieving any truthy (non-zero) signals. | |||
Will output false if not recieving any truthy signals. | |||
{{Connection panel | |||
|panelfor = Or 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 || 1 | |||
|} | |||
{{Electrical Nav}} |
Latest revision as of 15:52, 11 April 2024
Data is up-to-date | |
Last updated for version 1.3.0.2 Last mentioned in changelog 0.19.7.0 The current game version is 1.4.6.0 |
Main article: Wiring Components
Or Component | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sends a signal if either of the inputs receives a signal. | |||||||||||||||||||||||||||||||||||
Crafting | |||||||||||||||||||||||||||||||||||
Fabricator Requirements |
Skill: Electrical: 20
| ||||||||||||||||||||||||||||||||||
Deconstructor Yield | |||||||||||||||||||||||||||||||||||
Store | |||||||||||||||||||||||||||||||||||
Minimum Difficulty | 15% | ||||||||||||||||||||||||||||||||||
Base Price | 100 mk | ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
|
The Or Component is an electrical component used to check if recieving any truthy (non-zero) signals. Will output false if not recieving any truthy signals.
Connection Panel for Or 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 | 1 |
Electrical Components | |
---|---|
Alarms | |
Detectors | |
Interactable | |
Wiring Components | |
Misc |