DeepStorageBlockLogic
classPowered storage block holding one item type
Fields
| Name | Type | Description | |
|---|---|---|---|
| energy | ResourceInventory | Electricity buffer the block draws from | |
Standard members (4)
Every class of this kind carries these.
| DeepStorageBlockLogic.cast(object) | Trying to cast Object into DeepStorageBlockLogic |
| DeepStorageBlockLogic.get_class() | Return DeepStorageBlockLogic class object |
| DeepStorageBlockLogic.new(parent, name) | Creates a new DeepStorageBlockLogic instance |
| DeepStorageBlockLogic.new_simple() | Creates a new DeepStorageBlockLogic instance |
Inherited from ItemRackBlockLogic (1)
- capacity Item count the storage holds
Inherited from StorageBlockLogic (1)
Inherited from BlockLogic (8)
- map_register Whether this block shows up on the map
- static_block Prototype this block was spawned from
- pos read-only Cell this block stands in
- quat read-only Rotation turning the block's local sides into world sides
- state read-only State shown under the crosshair, one of defines.block_state
- BlockLogic:reg(accessor) Register Accessor
- BlockLogic:find_accessor(name) Find a registered accessor by name
- BlockLogic:accessors() Every accessor registered on this block
Inherited from Instance (1)
- Instance:is_valid() Returns false once the underlying engine object has been destroyed
Inherited from Object (3)
- name read-only Object name
- Object.find(name) Find an already loaded object by name
- Object:get_class() Class of this object