power cable
the power cable object
Procs | |
get_powernet | returns the powernet this cable belongs to |
---|---|
update_network | called when a new cable is created can be 1 of 3 outcomes: |
Proc Details
get_powernet
returns the powernet this cable belongs to
update_network
called when a new cable is created can be 1 of 3 outcomes:
- Isolated cable (or only connects to isolated machine) -> create new powernet
- Joins to end or bridges loop of a single network (may also connect isolated machine) -> add to old network
- Bridges gap between 2 networks -> merge the networks (must rebuild lists also) (currently just calls makepowernets. welp) user is just for logging hotwires