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
|
| Activate |
Boolean |
Not functional on this device
|
| Lock |
Boolean |
Locks the device for player interaction when set to 1. Unlocks it, when set to 0.
|
| On |
Boolean |
Turns the device on, when set >= 1. Turns it off, when set to <1.
|
| RequestHash |
Integer |
Write ItemHash to device to immediate output
|
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 device is turned on and receives power. (0 for no, 1 for yes).
|
| Error |
Boolean |
Returns whether the device is flashing an error. (0 for no, 1 for yes).
|
| Activate |
Boolean |
Not functional on this device.
|
| Lock |
Boolean |
Reads if the device is locked.
|
| Ratio |
Integer |
Storage space used in percentage.
|
| Quantity |
Integer |
Storage space used in whole numbers.
|
| On |
Boolean |
Returns whether the device is turned on. (0 for no, 1 for yes)
|
| RequiredPower |
Integer |
Returns the current amount of power, required by the device, in watts.
|
| RequestHash |
Integer |
0 unless actively written to
|
Data Slots
These are all parameters, that can be read with a Slots Reader. The outputs are listed in the order a Slots Reader's "VAR" setting cycles through them.
| Number |
Name |
Description
|
| 1 |
Import |
Import slot.
|
| 2 |
Export |
Export slot.
|
| 3-102 |
Storage |
Internal storage slots.o
|
| Name |
Data Type |
Description
|
| Occupied |
Boolean |
Returns whether the slot occupied. (0 for no, 1 for yes).
|
| OccupiedHash |
Integer |
Returns ItemHash of item in slot.
|
| Quantity |
Integer |
Size of stack.
|
| Damage |
Integer |
Item durability in percent.
|
| Class |
Integer |
Item class ID.
|