ElectricityContainerBlockLogic
classElectricity storage node of a conductor network
Standard members (4)
Every class of this kind carries these.
| ElectricityContainerBlockLogic.cast(object) | Trying to cast Object into ElectricityContainerBlockLogic |
| ElectricityContainerBlockLogic.get_class() | Return ElectricityContainerBlockLogic class object |
| ElectricityContainerBlockLogic.new(parent, name) | Creates a new ElectricityContainerBlockLogic instance |
| ElectricityContainerBlockLogic.new_simple() | Creates a new ElectricityContainerBlockLogic instance |
Inherited from StackedContainerBlockLogic (5)
- single_cover Body used when the block stands alone
- bottom_cover Body used when another storage stands above
- middle_cover Body used when another storage stands above and below
- top_cover Body used when another storage stands below
- connector_cover Connector placed on every face the column does not swallow
Inherited from ConductorBlockLogic (12)
- side_cover Cover mesh used for wire ends
- center_cover Cover mesh used for the block center
- straight_cover Cover mesh for a run straight through the block, built along X with a flange on one end
- straight_plain_cover Cover mesh for a run straight through the block with no flange, built along X
- elbow_cover Cover mesh for a right angle turn, built along +X and -Y
- dead_end_cover Cover mesh for a single connection, built along +X
- isolated_cover Cover mesh for a block with no connections
- channel Network channel name
- conductor_channel Numeric network channel
- capacity Storage added to the network
- drain Loss per tick
- ConductorBlockLogic:add_wire(acc) Add side wire
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