Space Station 13 - Nebula13 - Modules - Types

code/modules/power/power.dm

/proc/cable_listReturns 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_cableLike cable_list, but only returns the first cable, since that's all most uses of it check.