ConductorBlockLogic

ConductorBlockLogic

class

Wire block carrying a resource network

Fields

NameTypeDescription
side_cover StaticCover Cover mesh used for wire ends
center_cover StaticCover Cover mesh used for the block center
straight_cover StaticCover Cover mesh for a run straight through the block, built along X with a flange on one end
straight_plain_cover StaticCover Cover mesh for a run straight through the block with no flange, built along X
elbow_cover StaticCover Cover mesh for a right angle turn, built along +X and -Y
dead_end_cover StaticCover Cover mesh for a single connection, built along +X
isolated_cover StaticCover Cover mesh for a block with no connections
channel string Network channel name
conductor_channel integer Numeric network channel
capacity integer Storage added to the network
drain integer Loss per tick

Functions

ConductorBlockLogic:add_wire(acc)

Add side wire

acc ResourceAccessor Resource accessor to attach
Standard members (4)

Every class of this kind carries these.

ConductorBlockLogic.cast(object) Trying to cast Object into ConductorBlockLogic
ConductorBlockLogic.get_class() Return ConductorBlockLogic class object
ConductorBlockLogic.new(parent, name) Creates a new ConductorBlockLogic instance
ConductorBlockLogic.new_simple() Creates a new ConductorBlockLogic instance
Inherited from BlockLogic (8)
Inherited from Instance (1)
Inherited from Object (3)

Subclasses