cable 
Vars | |
| cable_coil_type | The type of cable coil you make when deconstructed |
|---|---|
| connect_type | Types of cables that can connect to this cable |
| d1 | The direction of endpoint one of this cable |
| d2 | The direction of enpoint two of this cable |
| extra_insulated | Whether the cable has additional insulation to prevent shocking on contact |
| merge_id | The types of cables that can merge with this cable |
| powernet | The regional powernet this cable is registered to |
Procs | |
| add_power_demand | Adds power demand to the powernet, machines should use this |
| add_queued_power_demand | Adds queued power demand to be met next process cycle, non_machines should use this |
| get_available_power | Gets power available (NOT EXTRA) on this cables powernet, machines should use this, engines should add power to the net with this proc |
| get_queued_available_power | Gets available (NOT EXTRA) power queued for next process cycle on this cables powernet, non_machines should use this |
| get_queued_surplus | Gets surplus power queued for next process cycle on this cables powernet, non_machines should use this |
| get_surplus | Gets surplus power available on this cables powernet, machines should use this |
| hide | If underfloor, hide the cable |
| merge_connected_networks | merge_connected_networks(), merge_connected_networks_on_turf(), and merge_diagonal_networks() all deal with merging cables' powernets together |
| shuttleRotate | Structure rotate procs |
Var Details
cable_coil_type 
The type of cable coil you make when deconstructed
connect_type 
Types of cables that can connect to this cable
d1 
The direction of endpoint one of this cable
d2 
The direction of enpoint two of this cable
extra_insulated 
Whether the cable has additional insulation to prevent shocking on contact
merge_id 
The types of cables that can merge with this cable
powernet 
The regional powernet this cable is registered to
Proc Details
add_power_demand
Adds power demand to the powernet, machines should use this
add_queued_power_demand
Adds queued power demand to be met next process cycle, non_machines should use this
get_available_power
Gets power available (NOT EXTRA) on this cables powernet, machines should use this, engines should add power to the net with this proc
get_queued_available_power
Gets available (NOT EXTRA) power queued for next process cycle on this cables powernet, non_machines should use this
get_queued_surplus
Gets surplus power queued for next process cycle on this cables powernet, non_machines should use this
get_surplus
Gets surplus power available on this cables powernet, machines should use this
hide
If underfloor, hide the cable
merge_connected_networks
merge_connected_networks(), merge_connected_networks_on_turf(), and merge_diagonal_networks() all deal with merging cables' powernets together
shuttleRotate
Structure rotate procs