Goonstation 13 - Modules - TypesProc Details

power cable

the power cable object

Procs

get_powernetreturns the powernet this cable belongs to
update_networkcalled 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:

  1. Isolated cable (or only connects to isolated machine) -> create new powernet
  2. Joins to end or bridges loop of a single network (may also connect isolated machine) -> add to old network
  3. Bridges gap between 2 networks -> merge the networks (must rebuild lists also) (currently just calls makepowernets. welp) user is just for logging hotwires