Actions

Difference between revisions of "Computer"

From Unofficial Stationeers Wiki

m (Add logic properties)
(Adjust logic properties for new patch)
Line 8: Line 8:
 
  | 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 33: Line 39:
 
! Output Name !! Data Type !! Description
 
! Output Name !! Data Type !! Description
 
|-
 
|-
| Power || Boolean || Returns whether the Computer is turned on. (0 for off, 1 for on) (Identical to "On" output. This might be intended to output whether the device is receiving power or not.)
+
| 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 closed, 1 for open)
+
| 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 error, 1 for flashing an error)
+
| 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 off, 1 for on)
+
| 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.
+
| RequiredPower || Integer || Returns the current amount of power, required by the Computer, in watts.
 
|}
 
|}
 
</translate>
 
</translate>

Revision as of 14:06, 7 April 2018

Other languages:
English
Computer
ItemKitComputer.png
Properties
Stacks No
Computer
Construction
Placed with {{{placed_with_item}}}
Placed on {{{placed_on_grid}}}


Description

Uses different Motherboards to perform various functions.

Logic Properties

These are all logic properties of this device.

Logic 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.

Logic 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.