Switch: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
m (fixed recipe (it's bugged))
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Version|0.18.15.1}}
{{Version|1.2.6.0}}__NOTOC__
{{Items infobox
{{Items infobox
| imagewidth  = 65
| identifier  = switch
| description = Produces a constant signal that can be used to change the state of equipment and doors.
| description = Produces a constant signal that can be used to change the state of equipment and doors.


| category = Electrical
| maxstacksize = 8
| tags    = smallitem,switch
| maxstack = 8
 
| noreq = yes


| fabricator            = Yes
<!-- Crafting -->
| fabricatormaterials    = {{hl|Plastic}}<br>{{hl|FPGA Circuit|20}}
| fabricatormaterials    = {{hl|Plastic}}<br>{{hl|FPGA Circuit|20}}
| fabricatortime        = 10
| fabricatortime        = 10
| deconstructor          = Yes
 
| deconstructormaterials = {{hl|Plastic}}<br>{{hl|Copper|20}} <!--The xml cites 2 plastic, but it's bugged currently, and testing shows that it only decons into 1 plastic. -->
| deconstructormaterials = {{hl|Plastic}} (x2)<br>{{hl|Copper|20}}  
| deconstructortime      = 10
| deconstructortime      = 10


<!-- Store -->
| baseprice              = 125
| baseprice              = 125
| outpostmultiplier      = 1.0
 
| outpostminavailable    = 4
| outpostminavailable    = 4
| citymultiplier          = 1.0
| cityunbuyable          = true
| cityunbuyable          = true
| researchmultiplier      = 1.0
| researchminavailable    = 4
| researchminavailable    = 4
| militarymultiplier      = 1.0
| militaryminavailable    = 4
| militaryminavailable    = 4
| minemultiplier          = 1.0
| mineminavailable        = 4
| mineminavailable        = 4
| engineeringmultiplier  = 0.9
| engineeringmultiplier  = 0.90 | engineeringminavailable = 10
| engineeringminavailable = 10
 
<!-- Technical -->
| identifier  = switch
| category = Electrical
| tags    = smallitem,switch
| maxstack = 8
}}
}}


The '''Switch''' is an electrical component used to provide a signal when toggled.  
The '''Switch''' is an electrical component.  


= Description =
= Description =
The Switch is functionally the same as the [[Lever]], though with a different sprite.
The {{PAGENAME}} can be toggled on or off. It provides a signal when toggled on. It is functionally the same as the {{hl|Lever}}, though with a different sprite.


It is most commonly used in tandem with a [[Signal Check Component]] to provide custom user interactions.
It is most commonly used in tandem with a [[Signal Check Component]] to provide custom user interactions.
Line 46: Line 42:
|output1tt=Toggles between a signal of 0 and 1 when pressed.
|output1tt=Toggles between a signal of 0 and 1 when pressed.
}}
}}
= See Also =
*{{hl|Button}}
*{{hl|Lever}}


= Media =
= Media =
Line 55: Line 55:


{{Components Nav}}
{{Components Nav}}
{{Installations nav}}

Latest revision as of 16:04, 29 December 2023

Data is potentially outdated
Last updated for version 1.2.6.0
Last mentioned in changelog 1.2.8.0
The current game version is 1.2.8.0
Switch

Produces a constant signal that can be used to change the state of equipment and doors.
Statistics
Maximum stack 8
Crafting
Fabricator
Requirements
Deconstructor Yield
Plastic (x2)
Copper
10s
Store
Base Price 125 mk
Outposts
OutpostOutpost Buy Sell
Habitation OutpostHabitation 125 mk 37 mk
ColonyColony N/A 37 mk
Research OutpostResearch 125 mk 37 mk
Military OutpostMilitary 125 mk 37 mk
Mining OutpostMining 125 mk 37 mk
Medical MerchantMedical Merchant N/A 37 mk
Engineer MerchantEngineer Merchant 112 mk 33 mk
Armory MerchantArmory Merchant N/A 37 mk
Children of The HonkmotherClown Merchant N/A 37 mk
The Church of HuskHusk Merchant N/A 37 mk
Technical
Identifier switch
Categories Electrical
Tags smallitem,switch

The Switch is an electrical component.

Description

The Switch can be toggled on or off. It provides a signal when toggled on. It is functionally the same as the Lever, though with a different sprite.

It is most commonly used in tandem with a Signal Check Component to provide custom user interactions.

Connection Panel

Hover over pins to see their descriptions

Connection Panel for Switch
Hover over pins to see their descriptions.
Signal_Out
Toggles between a signal of 0 and 1 when pressed.
Requires: Screwdriver

See Also

Media

v·d·e·h
Electrical Components
Alarms
Detectors
Interactable
Wiring Components
Misc


v·d·e·h
Installations
Submarine Weapons
Small Turrets
Large Turrets
Loaders
Other
Navigation
Machines
Electrical
Structure
Other
Alien