code/modules/power/power.dm 
| /proc/cable_list | Returns all cables in target_turf matching target_direction, excluding excluded_cable. If only_no_powernet is TRUE, only cables with no powernet will be returned. Unused, because get_maching_cable or get_connected_cables is usually preferable, but kept just in case. |
|---|---|
| /proc/get_matching_cable | Like cable_list, but only returns the first cable, since that's all most uses of it check. |