Latest revision |
Your text |
Line 77: |
Line 77: |
| |- | | |- |
| | MineablesInVicinity || || | | | MineablesInVicinity || || |
− | |}
| |
− |
| |
− | ==== Data Slots ====
| |
− | These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Slots_Reader|Slots Reader]]. The outputs are listed in the order a Slots Reader's "VAR" setting cycles through them.
| |
− | {| class="wikitable"
| |
− | |-
| |
− | ! Number || Name !! Description
| |
− | |-
| |
− | | 0 || Battery ||
| |
− | |-
| |
− | | 1 || IC10 ||
| |
− | |-
| |
− | | 2-9 || Storage || Internal storage slots.
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable"
| |
− | |-
| |
− | ! Name !! Data Type !! Description
| |
− | |-
| |
− | |+ Battery Slot 0
| |
− | |-
| |
− | | Occupied || Boolean || Returns whether the slot occupied. (0 for no, 1 for yes).
| |
− | |-
| |
− | | OccupantHash|| Integer || Returns [[ItemHash]] of item in slot.
| |
− | |-
| |
− | | MaxQuantity || Integer || Max Size of stack.
| |
− | |-
| |
− | | Damage || Integer || Item durability in percent.
| |
− | |-
| |
− | | Class || Integer || Item class ID.
| |
− | |-
| |
− | | Quantity || Integer || Size of stack.
| |
− | |-
| |
− | | ChargeRatio || Integer || Ratio of charge 0-1.
| |
− | |-
| |
− | | Charge || Integer || Charge in joules.
| |
− | |-
| |
− | | PrefabHash || Integer || Returns [[ItemHash]] of item in slot.
| |
− | |}
| |
− |
| |
− | {| class="wikitable"
| |
− | |-
| |
− | ! Name !! Data Type !! Description
| |
− | |-
| |
− | |+ IC10 Slot 1
| |
− | |-
| |
− | | Occupied || Boolean || Returns whether the slot occupied. (0 for no, 1 for yes).
| |
− | |-
| |
− | | OccupantHash|| Integer || Returns [[ItemHash]] of item in slot.
| |
− | |-
| |
− | | MaxQuantity || Integer || Max Size of stack.
| |
− | |-
| |
− | | Damage || Integer || Item durability in percent.
| |
− | |-
| |
− | | Class || Integer || Item class ID.
| |
− | |-
| |
− | | Quantity || Integer || Size of stack.
| |
− | |-
| |
− | | PrefabHash || Integer || Returns [[ItemHash]] of item in slot.
| |
− | |}
| |
− |
| |
− | {| class="wikitable"
| |
− | |-
| |
− | ! Name !! Data Type !! Description
| |
− | |-
| |
− | |+ Inventory Slot 2-9
| |
− | |-
| |
− | | Occupied || Boolean || Returns whether the slot occupied. (0 for no, 1 for yes).
| |
− | |-
| |
− | | OccupantHash|| Integer || Returns [[ItemHash]] of item in slot.
| |
− | |-
| |
− | | MaxQuantity || Integer || Max Size of stack.
| |
− | |-
| |
− | | Damage || Integer || Item durability in percent.
| |
− | |-
| |
− | | Class || Integer || Item class ID.
| |
− | |-
| |
− | | Quantity || Integer || Size of stack.
| |
− | |-
| |
− | | PrefabHash || Integer || Returns [[ItemHash]] of item in slot.
| |
| |} | | |} |