Mappers, this one's for you. New debug verb added for Coders and Hosts, when pressed, it goes through every obj/machinery/atmospherics in the map, and lists all of the ones that have the nodealert var set to 1, which should only be the case if not all the nodes are connected to something.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@970 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2011-02-06 03:33:01 +00:00
parent 5617d09a3c
commit 9d8e8573b4
6 changed files with 55 additions and 7 deletions

View File

@@ -0,0 +1,10 @@
/client/proc/atmosscan()
set category = "Debug"
set name = "Check Plumbing"
if(!src.authenticated || !src.holder)
src << "Only administrators may use this command."
return
for (var/obj/machinery/atmospherics/plumbing in world)
if (plumbing.nodealert)
usr << "Unconnected [plumbing.name] located at [plumbing.x],[plumbing.y],[plumbing.z] ([get_area(plumbing.loc)])"