RegEx Find Component: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
m (3 revisions imported)
(Added the RegEx Find Component page. Will figure out the link issue soon.)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[Wiring Components#RegEx Find Component]]
{{Version|1.3.0.2}}{{Main|Wiring Components}}{{Items infobox
| description = Sends a signal if the received signal matches a specific regular expression pattern.
| 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 = regexfindcomponent
| category = 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]].
<!-- Can't use .com links, sadly, I'll figure out a way link the tutorial... Soon. -->
Follow this link: https:regexone.com for a tutorial on regular expressions. Follow this link: https:regexr.com to create/test regular expressions.
 
 
{{Connection panel
|panelfor = RegEx Find Component
|input1=Signal_In
|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
|output1tt=The output of the component.
}}
 
{{Electrical Nav}}

Revision as of 16:18, 11 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.5.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 regexfindcomponent
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. Follow this link: https:regexone.com for a tutorial on regular expressions. Follow this link: https:regexr.com 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