Difference between revisions of "Computer"
From Unofficial Stationeers Wiki
F1r3w4rr10r (talk | contribs) m (Add logic properties) |
F1r3w4rr10r (talk | contribs) (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 | + | | 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 | + | | 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 || 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 | + | | 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 | + | | RequiredPower || Integer || Returns the current amount of power, required by the Computer, in watts. |
|} | |} | ||
</translate> | </translate> | ||
Revision as of 14:06, 7 April 2018
![]() | |
| Properties | |
|---|---|
| Stacks | No |
| Operation | |
|---|---|
| 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. |

