code/modules/power/power.dm

/proc/propagate_network | remove the old powernet and replace it with a new one throughout the network. |
---|---|
/proc/electrocute_mob | Determines how strong could be shock, deals damage to mob, uses power. |