And Component: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
(Added {{Electrical Nav}})
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Version|1.3.0.2}}{{Items infobox
{{Version|1.3.0.2}}{{Main|Wiring Components}}{{Items infobox
| name = And Component
| description = Sends a signal when both inputs receive a signal within a set period of each other.
 
| fabricator = Yes
| fabricator = Yes
| fabricatorskill = electrical
| fabricatorskill = electrical
Line 33: Line 32:
| tags = smallitem, logic
| tags = smallitem, logic
}}
}}
For knowledge on placing and wiring components, please go to the main [[Wiring Components]] page.


=Logic=
==[[File:And_Component.png|40px]] And Component==
<blockquote>"''Sends a signal when both inputs receive a signal within a set period of each other."''</blockquote>
The '''And Component''' is an electrical component used to check if both inputs are receiving a truthy signal.
The '''And Component''' is an electrical component used to check if both inputs are receiving a truthy signal.


Line 67: Line 62:
| 1 || 1 || 1
| 1 || 1 || 1
|}
|}
{{Electrical Nav}}

Latest revision as of 15:26, 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


And Component

Sends a signal when both inputs receive a signal within a set period of each other.
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 andcomponent
Categories Electrical
Tags smallitem, logic

The And Component is an electrical component used to check if both inputs are receiving a truthy signal.


Connection Panel for And 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 0
1 0 0
1 1 1
v·d·e·h
Electrical Components
Alarms
Detectors
Interactable
Wiring Components
Misc