Or Component: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
m (4 revisions imported)
(Created the Or Component page.)
Tag: Removed redirect
 
Line 1: Line 1:
#REDIRECT [[Wiring Components#Or Component]]
{{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.5.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
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 orcomponent
Categories 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 for Or 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 1
v·d·e·h
Electrical Components
Alarms
Detectors
Interactable
Wiring Components
Misc