cable
Vars | |
awaiting_rebuild | If TRUE, auto_propogate_cut_cable() is sleeping |
---|---|
linked_dirs | What cable directions does this cable connect to. Uses a 0-255 bitmasking defined in 'globalvars\lists\cables.dm', with translation lists there aswell |
powernet | The powernet the cable is connected to |
Procs | |
add_avail | Adds power to the power net next tick. |
add_delayedload | Add delayed load to the power net. This should be used outside of machine/process() |
add_load | Adds load to the power net this tick. |
avail | How much power is available this tick. |
delayed_surplus | How much surpless is in the network next tick. |
newavail | How much power the network will contain next tick. |
surplus | How much extra power is in the power net this tick |
Var Details
awaiting_rebuild
If TRUE, auto_propogate_cut_cable() is sleeping
linked_dirs
What cable directions does this cable connect to. Uses a 0-255 bitmasking defined in 'globalvars\lists\cables.dm', with translation lists there aswell
powernet
The powernet the cable is connected to
Proc Details
add_avail
Adds power to the power net next tick.
add_delayedload
Add delayed load to the power net. This should be used outside of machine/process()
add_load
Adds load to the power net this tick.
avail
How much power is available this tick.
delayed_surplus
How much surpless is in the network next tick.
newavail
How much power the network will contain next tick.
surplus
How much extra power is in the power net this tick