Kit (Switch): Difference between revisions
More actions
Add Data parameters |
Removed the global boxes for "Data Parameters" and "Data Outputs" and added both boxes for every logic switch type. Changes parameters and outputs to match the ingame documentation. Added descriptions. |
||
| Line 6: | Line 6: | ||
| cost = 1g [[Gold]], 1g [[Copper]] | | cost = 1g [[Gold]], 1g [[Copper]] | ||
}} | }} | ||
{{Structurebox | {{Structurebox | ||
| name = Switch | | name = Switch | ||
| Line 70: | Line 43: | ||
}} | }} | ||
= 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 | |||
|- | |||
| Open || Boolean || Set the current switch state | |||
|- | |||
|} | |||
{{Data Outputs}} | |||
{| class="wikitable" | |||
|- | |||
! Output Name !! Data Type !! Description | |||
|- | |||
| Lock || Boolean || Gets the current lock state | |||
|- | |||
| Setting || Boolean || | |||
|- | |||
| 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. | Toggles output value between 0 and 1. | ||
== Connectors == | |||
* Top: Data Output | * Top: Data Output | ||
* Bottom: Data Output | * Bottom: Data Output | ||
= Button = | |||
Sends a pulse of 0.5(i think) 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|| Boolean || 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 || Boolean || 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 || Boolean || 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. | ||
Revision as of 20:47, 14 April 2021
Data Network Properties
These are all Data Network properties of this device.
| Recipe | |
|---|---|
| Created With | Electronics Printer, Fabricator |
| Cost | 1g Gold, 1g Copper |
![]() | |
| Operation | |
|---|---|
| Construction | |
| Placed with | Kit (Logic Switch) |
| Placed on | Small Grid |
| Stage 1 | |
| Deconstruction | |
| Deconstructed with | Hand Drill |
| Item received | Kit (Logic Switch) |
![]() | |
| Operation | |
|---|---|
| Construction | |
| Placed with | Kit (Logic Switch) |
| Placed on | Small Grid |
| Stage 1 | |
| Deconstruction | |
| Deconstructed with | Hand Drill |
| Item received | Kit (Logic Switch) |
![]() | |
| Operation | |
|---|---|
| Construction | |
| Placed with | Kit (Logic Switch) |
| Placed on | Small Grid |
| Stage 1 | |
| Deconstruction | |
| Deconstructed with | Hand Drill |
| Item received | Kit (Logic Switch) |
![]() | |
| Operation | |
|---|---|
| Construction | |
| Placed with | Kit (Logic Switch) |
| Placed on | Small Grid |
| Stage 1 | |
| Deconstruction | |
| Deconstructed with | Hand Drill |
| Item received | Kit (Logic Switch) |
Switch
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
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 |
| Open | Boolean | Set the current switch state |
Data Outputs
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 | Boolean | |
| PrefabHash | String | |
| Open | Boolean | Gets the current state |
Connectors
- Top: Data Output
- Bottom: Data Output
Lever
Toggles output value between 0 and 1.
Connectors
- Top: Data Output
- Bottom: Data Output
Button
Sends a pulse of 0.5(i think) seconds long of value 1.
Data Parameters
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
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 | Boolean | Gets the current value of the button |
| PrefabHash | String |
Connectors
- Top: Data Output
- Bottom: Data Output
Dial
Allows user to select a value between 0 and the maximum set by use of screws.
Data Parameters
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 | Boolean | Sets the current value of the dial |
Data Outputs
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 | Boolean | Get the current value of the dial |
| PrefabHash | String | |
| Ratio | Integer |
Connectors
- Bottom: Data Output
Screws
- Bottom Left: Decrease maximum possible value to be set by dial.
- Bottom Right: Increase maximum possible value to be set by dial.



