powernet

Vars | |
avail | The current amount of power in the network |
---|---|
current_packet_queue | Only SSpackets should be touching this. |
delayedload | Load applied outside of machine processing, "between" ticks of power. |
load | The current load on the power net. |
netexcess | The amount of excess power from the LAST tick, typically avail - load. SMES units will subtract from this as they store the power. |
newavail | The amount of power gathered this tick. Will become avail on reset() |
next_packet_queue | The packet queue. |
viewavail | The amount of power visible to power consoles. This is a smoothed out value, so it is not 100% correct. |
viewload | The amount of load visible to power consoles. This is a smoothed out value, so it is not 100% correct. |
Procs | |
add_cable | ... delete it |
add_machine | ... delete it |
is_empty | Returns TRUE if there are no cables and no nodes belonging to the network. |
queue_signal | Pass a signal through a powernet to all connected data equipment. |
reset | Cycles the powernet's status, called by SSmachines, do not manually call. |
Var Details
avail

The current amount of power in the network
current_packet_queue

Only SSpackets should be touching this.
delayedload

Load applied outside of machine processing, "between" ticks of power.
load

The current load on the power net.
netexcess

The amount of excess power from the LAST tick, typically avail - load. SMES units will subtract from this as they store the power.
newavail

The amount of power gathered this tick. Will become avail on reset()
next_packet_queue

The packet queue.
viewavail

The amount of power visible to power consoles. This is a smoothed out value, so it is not 100% correct.
viewload

The amount of load visible to power consoles. This is a smoothed out value, so it is not 100% correct.
Proc Details
add_cable
... delete it
add_machine
... delete it
is_empty
Returns TRUE if there are no cables and no nodes belonging to the network.
queue_signal
Pass a signal through a powernet to all connected data equipment.
reset
Cycles the powernet's status, called by SSmachines, do not manually call.