ElectricityContainerBlockLogic
classElectricity storage node of a conductor network
Standard members (4)
Generated for every class of this kind by the game's codegen, not written for ElectricityContainerBlockLogic.
| 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 ConductorBlockLogic (7)
- side_cover Cover mesh used for wire ends
- center_cover Cover mesh used for the block center
- 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 (7)
- map_register Whether this block shows up on the map
- static_block Prototype this block was spawned from
- pos Cell this block stands in
- quat Rotation turning the block's local sides into world sides
- 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 Object name
- Object.find(name) Find an already loaded object by name
- Object:get_class() Class of this object