Actions

Difference between revisions of "Computer"

From Unofficial Stationeers Wiki

(Marked this version for translation)
m (Change Logic to Data Network)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<languages/>
 
<languages/>
 
<translate>
 
<translate>
 +
[[Category:Data Network]]
 
<!--T:1-->
 
<!--T:1-->
 
{{Itembox
 
{{Itembox
Line 8: Line 9:
 
  | createdwith =  
 
  | createdwith =  
 
  | cost        = 5 Iron, 5 Gold, 10 Copper
 
  | cost        = 5 Iron, 5 Gold, 10 Copper
 +
}}
 +
{{structurebox
 +
| name      = Computer
 +
| dectool    = [[Hand Drill]]
 +
| powerusage = 200W
 +
| placement  = Small Grid
 
}}
 
}}
  
Line 13: Line 20:
 
Uses different [[Motherboard]]s to perform various functions.
 
Uses different [[Motherboard]]s to perform various functions.
  
 +
== Data Network Properties ==
 +
These are all [[:Category:Data Network|Data Network]] properties of this device.
  
 +
=== Data Parameters ===
 +
These are all parameters, that can be written to with a [[Kit_(Logic_I/O)#Logic_Writer|Logic Writer]] or a [[Kit_(Logic_I/O)#Batch_Writer|Batch Writer]]. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.
 +
{| class="wikitable"
 +
|-
 +
! Parameter Name !! Data Type !! Description
 +
|-
 +
| Open || Boolean || Opens the [[Motherboard]] slot, when set to 1. Closes it, when set to 0.
 +
|-
 +
| On || Boolean || Turns the Computer on, when set to 1. Turns it off, when set to 0.
 +
|}
  
 +
=== Data Outputs ===
 +
These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Logic_Reader|Logic Reader]]. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
 +
{| class="wikitable"
 +
|-
 +
! Output Name !! Data Type !! Description
 +
|-
 +
| Power || Boolean || Returns whether the Computer is turned on and receives power. (0 for no, 1 for yes)
 +
|-
 +
| Open || Boolean || Returns whether the Computer's [[Motherboard]] slot is open. (0 for no, 1 for yes)
 +
|-
 +
| Error || Boolean || Returns whether the Computer is flashing an error. (0 for no, 1 for yes)
 +
|-
 +
| On || Boolean || Returns whether the Computer is turned on. (0 for no, 1 for yes)
 +
|-
 +
| RequiredPower || Integer || Returns the current amount of power, required by the Computer, in watts.
 +
|}
 
</translate>
 
</translate>

Revision as of 08:14, 8 April 2018

Other languages:
English
Computer
ItemKitComputer.png
Stacks No
Cost 5 Iron, 5 Gold, 10 Copper
Computer
Construction
Placed with {{{placed_with_item}}}
Placed on {{{placed_on_grid}}}

Description

Uses different Motherboards to perform various functions.

Data Network Properties

These are all Data Network properties of this device.

Data Parameters

These are all parameters, that can be written to with a Logic Writer or a Batch Writer. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.

Parameter Name Data Type Description
Open Boolean Opens the Motherboard slot, when set to 1. Closes it, when set to 0.
On Boolean Turns the Computer on, when set to 1. Turns it off, when set to 0.

Data Outputs

These are all parameters, that can be read with a Logic Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
Power Boolean Returns whether the Computer is turned on and receives power. (0 for no, 1 for yes)
Open Boolean Returns whether the Computer's Motherboard slot is open. (0 for no, 1 for yes)
Error Boolean Returns whether the Computer is flashing an error. (0 for no, 1 for yes)
On Boolean Returns whether the Computer is turned on. (0 for no, 1 for yes)
RequiredPower Integer Returns the current amount of power, required by the Computer, in watts.