Difference between revisions of "Kit (Switch)"
From Unofficial Stationeers Wiki
(Initial submission of Kit (Switch)) |
Eleftherios (talk | contribs) m (Added comment to locking data of lever) |
||
(13 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | {{Itembox | ||
+ | | name = Kit (Switch) | ||
+ | | createdwith = [[Electronics Printer]], [[Fabricator]] | ||
+ | | cost = 1g [[Gold]], 1g [[Copper]] | ||
+ | }} | ||
{{Structurebox | {{Structurebox | ||
| name = Switch | | name = Switch | ||
+ | | prefab_hash = 321604921 | ||
| image = [[File:Switch.jpg]] | | image = [[File:Switch.jpg]] | ||
− | | placed_with_item = [[Kit (Switch)]] | + | | power_usage = 0W |
− | | placed_on_grid = Small Grid | + | | placed_with_item = [[Kit (Logic Switch)]] |
+ | | placed_on_grid = Small Grid | ||
| decon_with_tool1 = [[Hand Drill]] | | decon_with_tool1 = [[Hand Drill]] | ||
+ | | item_rec1 = [[Kit (Logic Switch)]] | ||
}} | }} | ||
{{Structurebox | {{Structurebox | ||
| name = Lever | | name = Lever | ||
+ | | prefab_hash = 1220484876 | ||
| image = [[File:Lever.jpg]] | | image = [[File:Lever.jpg]] | ||
− | | placed_with_item = [[Kit (Switch)]] | + | | power_usage = 0W |
− | | placed_on_grid = Small Grid | + | | placed_with_item = [[Kit (Logic Switch)]] |
+ | | placed_on_grid = Small Grid | ||
| decon_with_tool1 = [[Hand Drill]] | | decon_with_tool1 = [[Hand Drill]] | ||
+ | | item_rec1 = [[Kit (Logic Switch)]] | ||
}} | }} | ||
{{Structurebox | {{Structurebox | ||
| name = Button | | name = Button | ||
+ | | prefab_hash = 491845673 | ||
| image = [[File:Button.jpg]] | | image = [[File:Button.jpg]] | ||
− | | placed_with_item = [[Kit (Switch)]] | + | | power_usage = 0W |
− | | placed_on_grid = Small Grid | + | | placed_with_item = [[Kit (Logic Switch)]] |
+ | | placed_on_grid = Small Grid | ||
| decon_with_tool1 = [[Hand Drill]] | | decon_with_tool1 = [[Hand Drill]] | ||
+ | | item_rec1 = [[Kit (Logic Switch)]] | ||
}} | }} | ||
{{Structurebox | {{Structurebox | ||
| name = Dial | | name = Dial | ||
+ | | prefab_hash = 554524804 | ||
| image = [[File:Dial.jpg]] | | image = [[File:Dial.jpg]] | ||
− | | placed_with_item = [[Kit (Switch)]] | + | | power_usage = 0W |
− | | placed_on_grid = Small Grid | + | | placed_with_item = [[Kit (Logic Switch)]] |
+ | | placed_on_grid = Small Grid | ||
| decon_with_tool1 = [[Hand Drill]] | | decon_with_tool1 = [[Hand Drill]] | ||
+ | | item_rec1 = [[Kit (Logic Switch)]] | ||
}} | }} | ||
+ | {{Data Network Header}} | ||
+ | |||
+ | = Switch = | ||
The Logic Switch gives players the ability to add controls to control circuits without requiring tools. | The Logic Switch gives players the ability to add controls to control circuits without requiring tools. | ||
+ | Toggles output value between 0 and 1. | ||
− | = | + | {{Data Parameters}} |
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Parameter Name !! Data Type !! Description | ||
+ | |- | ||
+ | | Lock || Boolean || Prevents using the switch when set to 1 (not working as of v0.2.2891.14453) | ||
+ | |- | ||
+ | | Open || Boolean || Set the current switch state | ||
+ | |- | ||
+ | |} | ||
− | + | {{Data Outputs}} | |
− | + | {| class="wikitable" | |
− | + | |- | |
+ | ! Output Name !! Data Type !! Description | ||
+ | |- | ||
+ | | Lock || Boolean || Gets the current lock state | ||
+ | |- | ||
+ | | Setting || Integer || | ||
+ | |- | ||
+ | | PrefabHash || String || | ||
+ | |- | ||
+ | | Open || Boolean || Gets the current state | ||
+ | |- | ||
+ | |} | ||
+ | == Connectors == | ||
* Top: Data Output | * Top: Data Output | ||
* Bottom: Data Output | * Bottom: Data Output | ||
− | + | = Lever = | |
+ | Toggles output value between 0 and 1. | ||
− | + | {{Data Parameters}} | |
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Parameter Name !! Data Type !! Description | ||
+ | |- | ||
+ | | Open || Boolean || Sets the lever position | ||
+ | |- | ||
+ | | Lock || Boolean || Locks or unlocks the lever for player interaction (Does not appear to work in v. 0.2.4089.19416) | ||
+ | |- | ||
+ | |} | ||
− | = | + | {{Data Outputs}} |
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Output Name !! Data Type !! Description | ||
+ | |- | ||
+ | | Open || Boolean || What state the lever is in | ||
+ | |- | ||
+ | | Lock || Boolean || Whether the lever is locked from user interaction | ||
+ | |- | ||
+ | | Setting|| Integer(?) || ? | ||
+ | |- | ||
+ | | PrefabHash || String || | ||
+ | |- | ||
+ | |} | ||
+ | == Connectors == | ||
* Top: Data Output | * Top: Data Output | ||
* Bottom: Data Output | * Bottom: Data Output | ||
− | + | = Button = | |
+ | Sends a pulse of 0.5 seconds long of value 1. | ||
− | + | {{Data Parameters}} | |
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Parameter Name !! Data Type !! Description | ||
+ | |- | ||
+ | | Activate|| Boolean || Sets the button setting to 1 | ||
+ | |- | ||
+ | |} | ||
− | = | + | {{Data Outputs}} |
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Output Name !! Data Type !! Description | ||
+ | |- | ||
+ | | Activate|| Boolean || Returns 1 if the activate state was just set by a write or IC | ||
+ | |- | ||
+ | | Setting|| Integer || Gets the current value of the button | ||
+ | |- | ||
+ | | PrefabHash || String || | ||
+ | |- | ||
+ | |} | ||
+ | == Connectors == | ||
* Top: Data Output | * Top: Data Output | ||
* Bottom: Data Output | * Bottom: Data Output | ||
− | + | = Dial = | |
+ | Allows user to select a value between 0 and the maximum set by use of screws. | ||
− | + | {{Data Parameters}} | |
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Parameter Name !! Data Type !! Description | ||
+ | |- | ||
+ | | Mode || Boolean || Sets the maximum value you can set when using the dial | ||
+ | |- | ||
+ | | Setting || Integer || Sets the current value of the dial | ||
+ | |- | ||
+ | |} | ||
− | = | + | {{Data Outputs}} |
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Output Name !! Data Type !! Description | ||
+ | |- | ||
+ | | Mode || Boolean || Gets the maximum value you can set when using the dial | ||
+ | |- | ||
+ | | Setting || Integer || Get the current value of the dial | ||
+ | |- | ||
+ | | PrefabHash || String || | ||
+ | |- | ||
+ | | Ratio || Integer || | ||
+ | |- | ||
+ | |} | ||
+ | == Connectors == | ||
* Bottom: Data Output | * Bottom: Data Output | ||
− | + | == Screws == | |
− | |||
* Bottom Left: Decrease maximum possible value to be set by dial. | * Bottom Left: Decrease maximum possible value to be set by dial. | ||
* Bottom Right: Increase maximum possible value to be set by dial. | * Bottom Right: Increase maximum possible value to be set by dial. |
Latest revision as of 08:54, 16 November 2023
Recipe | |
---|---|
Created With | Electronics Printer, Fabricator |
Cost | 1g Gold, 1g Copper |
Operation | |
---|---|
Power Usage | 0W |
Prefab Hash | 321604921 |
Construction | |
Placed with | Kit (Logic Switch) |
Placed on | Small Grid |
Stage 1 | |
Deconstruction | |
Deconstructed with | Hand Drill |
Item received | Kit (Logic Switch) |
Operation | |
---|---|
Power Usage | 0W |
Prefab Hash | 1220484876 |
Construction | |
Placed with | Kit (Logic Switch) |
Placed on | Small Grid |
Stage 1 | |
Deconstruction | |
Deconstructed with | Hand Drill |
Item received | Kit (Logic Switch) |
Operation | |
---|---|
Power Usage | 0W |
Prefab Hash | 491845673 |
Construction | |
Placed with | Kit (Logic Switch) |
Placed on | Small Grid |
Stage 1 | |
Deconstruction | |
Deconstructed with | Hand Drill |
Item received | Kit (Logic Switch) |
Operation | |
---|---|
Power Usage | 0W |
Prefab Hash | 554524804 |
Construction | |
Placed with | Kit (Logic Switch) |
Placed on | Small Grid |
Stage 1 | |
Deconstruction | |
Deconstructed with | Hand Drill |
Item received | Kit (Logic Switch) |
Contents
Data Network Properties[edit]
These are all Data Network properties of this device.
Switch[edit]
The Logic Switch gives players the ability to add controls to control circuits without requiring tools. Toggles output value between 0 and 1.
Data Parameters[edit]
These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).
Parameter Name | Data Type | Description |
---|---|---|
Lock | Boolean | Prevents using the switch when set to 1 (not working as of v0.2.2891.14453) |
Open | Boolean | Set the current switch state |
Data Outputs[edit]
These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
Output Name | Data Type | Description |
---|---|---|
Lock | Boolean | Gets the current lock state |
Setting | Integer | |
PrefabHash | String | |
Open | Boolean | Gets the current state |
Connectors[edit]
- Top: Data Output
- Bottom: Data Output
Lever[edit]
Toggles output value between 0 and 1.
Data Parameters[edit]
These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).
Parameter Name | Data Type | Description |
---|---|---|
Open | Boolean | Sets the lever position |
Lock | Boolean | Locks or unlocks the lever for player interaction (Does not appear to work in v. 0.2.4089.19416) |
Data Outputs[edit]
These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
Output Name | Data Type | Description |
---|---|---|
Open | Boolean | What state the lever is in |
Lock | Boolean | Whether the lever is locked from user interaction |
Setting | Integer(?) | ? |
PrefabHash | String |
Connectors[edit]
- Top: Data Output
- Bottom: Data Output
Button[edit]
Sends a pulse of 0.5 seconds long of value 1.
Data Parameters[edit]
These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).
Parameter Name | Data Type | Description |
---|---|---|
Activate | Boolean | Sets the button setting to 1 |
Data Outputs[edit]
These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
Output Name | Data Type | Description |
---|---|---|
Activate | Boolean | Returns 1 if the activate state was just set by a write or IC |
Setting | Integer | Gets the current value of the button |
PrefabHash | String |
Connectors[edit]
- Top: Data Output
- Bottom: Data Output
Dial[edit]
Allows user to select a value between 0 and the maximum set by use of screws.
Data Parameters[edit]
These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).
Parameter Name | Data Type | Description |
---|---|---|
Mode | Boolean | Sets the maximum value you can set when using the dial |
Setting | Integer | Sets the current value of the dial |
Data Outputs[edit]
These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
Output Name | Data Type | Description |
---|---|---|
Mode | Boolean | Gets the maximum value you can set when using the dial |
Setting | Integer | Get the current value of the dial |
PrefabHash | String | |
Ratio | Integer |
Connectors[edit]
- Bottom: Data Output
Screws[edit]
- Bottom Left: Decrease maximum possible value to be set by dial.
- Bottom Right: Increase maximum possible value to be set by dial.