RegEx Find Component: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
m (Minor edit)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Items infobox
{{Version|1.3.0.2}}{{Main|Wiring Components}}{{Items infobox
| image = RegEx_Find_Component.png
| description = Sends a signal if the received signal matches a specific regular expression pattern.
| imagewidth = 65
| type = electrical
| noreq = yes
| cost = 100
| deconstructor = Yes
| fabricator = Yes
| fabricator = Yes
| fabricatorskill = electrical
| fabricatorskill = electrical
| fabricatorskilllevel = 20
| fabricatortime = 10
| fabricatortime = 10
| fabricatormaterials = {{Hyperlink|FPGA Circuit}}
| deconstructor = Yes
| deconstructortime = 10
| deconstructortime = 10
| fabricatorskilllevel = 20
| deconstructormaterials = {{Hyperlink|FPGA Circuit}}
| fabricatormaterials = {{Hyperlink|Tin}}{{Hyperlink|FPGA Circuit|20}}
 
| deconstructormaterials = {{Hyperlink|Tin}}{{Hyperlink|FPGA Circuit|20}}
| 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 = regexcomponent
| category = Electrical
| tags = smallitem, logic
}}
}}


The '''RegEx Find Component''' is an electrical component used to match an exact string.
The '''RegEx Find Component''' is an electrical component used to match an exact string.


It is most commonly used with a [[Terminal]]
It is commonly used with a [[Terminal]].
<!-- Can't use .com links, sadly, I'll figure out a way link the tutorial... Soon. -->
Click [https://regexone.com/ here] for a tutorial on regular expressions. Click [https://regexr.com/ here] to create/test regular expressions.


'''[[Guide to Regular Expressions]]'''


<small>Hover over pins to see their descriptions</small>
{{Connection panel
{{Connection panel
|panelfor = RegEx Find Component
|input1=Signal_In
|input1=Signal_In
|input1tt=The input signal.
|input1tt=The input signal.
|input2=set_output
|input2tt=The input for setting the signal that will be output if the conditions are met.
|output1=Signal_Out
|output1=Signal_Out
|output1tt=The output of the component.
|output1tt=The output of the component.
}}
}}


[[Category:Electrical Components]]
{{Electrical Nav}}
 
{{Components Nav}}

Latest revision as of 22:10, 18 April 2024

Data is up-to-date
Last updated for version 1.3.0.2
Last mentioned in changelog 0.10.6.0
The current game version is 1.4.6.0

Main article: Wiring Components


RegEx Find Component

Sends a signal if the received signal matches a specific regular expression pattern.
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 regexcomponent
Categories Electrical
Tags smallitem, logic

The RegEx Find Component is an electrical component used to match an exact string.

It is commonly used with a Terminal. Click here for a tutorial on regular expressions. Click here to create/test regular expressions.


Connection Panel for RegEx Find Component
Hover over pins to see their descriptions.
Signal_In
set_output
The input signal.
The input for setting the signal that will be output if the conditions are met.
Signal_Out
The output of the component.
Requires: Screwdriver
v·d·e·h
Electrical Components
Alarms
Detectors
Interactable
Wiring Components
Misc