mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
16 lines
656 B
Plaintext
16 lines
656 B
Plaintext
client/verb/discon_pipes()
|
|
set name = "Show Disconnected Pipes"
|
|
set category = "Debug"
|
|
|
|
for(var/obj/machinery/atmospherics/pipe/simple/P in atmos_machines)
|
|
if(!P.node1 || !P.node2)
|
|
usr << "[P], [P.x], [P.y], [P.z], [P.loc.loc]"
|
|
|
|
for(var/obj/machinery/atmospherics/pipe/manifold/P in atmos_machines)
|
|
if(!P.node1 || !P.node2 || !P.node3)
|
|
usr << "[P], [P.x], [P.y], [P.z], [P.loc.loc]"
|
|
|
|
for(var/obj/machinery/atmospherics/pipe/manifold4w/P in atmos_machines)
|
|
if(!P.node1 || !P.node2 || !P.node3 || !P.node4)
|
|
usr << "[P], [P.x], [P.y], [P.z], [P.loc.loc]"
|
|
//With thanks to mini. Check before use, uncheck after. Do Not Use on a live server. |