Space Station 13 - Modules - TypesVar Details - Proc Details

cable

Vars

d1The direction of endpoint one of this cable
d2The direction of enpoint two of this cable
powernetThe regional powernet this cable is registered to

Procs

add_power_demandAdds power demand to the powernet, machines should use this
add_queued_power_demandAdds queued power demand to be met next process cycle, non_machines should use this
get_available_powerGets 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_powerGets available (NOT EXTRA) power queued for next process cycle on this cables powernet, non_machines should use this
get_queued_surplusGets surplus power queued for next process cycle on this cables powernet, non_machines should use this
get_surplusGets surplus power available on this cables powernet, machines should use this
hideIf underfloor, hide the cable
merge_connected_networksmerge_connected_networks(), merge_connected_networks_on_turf(), and merge_diagonal_networks() all deal with merging cables' powernets together
shuttleRotateStructure rotate procs

Var Details

d1

The direction of endpoint one of this cable

d2

The direction of enpoint two of 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