mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 18:12:40 +00:00
Fixed another pipe, and added a pipefinding algo from Mini, it's unchecked. Check to use, do not use on a live.
This commit is contained in:
16
code/ATMOSPHERICS/mapdebugging.dm
Normal file
16
code/ATMOSPHERICS/mapdebugging.dm
Normal file
@@ -0,0 +1,16 @@
|
||||
client/verb/discon_pipes()
|
||||
set name = "Show Disconnected Pipes"
|
||||
set category = "Debug"
|
||||
|
||||
for(var/obj/machinery/atmospherics/pipe/simple/P in world)
|
||||
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 world)
|
||||
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 world)
|
||||
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.
|
||||
Reference in New Issue
Block a user