mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-24 17:22:23 +00:00
52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
/client/verb/listprocs()
|
|
set category = "Debug"
|
|
set name = "Debug Proc List"
|
|
|
|
var/list/atomList = typesof(/atom)
|
|
var/list/objList = typesof(/obj)
|
|
var/list/mobList = typesof(/mob)
|
|
var/list/turfList = typesof(/turf)
|
|
var/list/clientList = typesof(/client)
|
|
var/list/datumList = typesof(/datum)
|
|
var/total = 0
|
|
var/debuglog = file("data/logs/debug.log")
|
|
|
|
for (var/A in atomList)
|
|
var/list/procList = typesof("[A]/proc")
|
|
for(var/B in procList)
|
|
debuglog << B
|
|
total += procList.len
|
|
|
|
for (var/A in objList)
|
|
var/list/procList = typesof("[A]/proc")
|
|
for(var/B in procList)
|
|
debuglog << B
|
|
total += procList.len
|
|
|
|
for (var/A in mobList)
|
|
var/list/procList = typesof("[A]/proc")
|
|
for(var/B in procList)
|
|
debuglog << B
|
|
total += procList.len
|
|
|
|
for (var/A in turfList)
|
|
var/list/procList = typesof("[A]/proc")
|
|
for(var/B in procList)
|
|
debuglog << B
|
|
total += procList.len
|
|
|
|
for (var/A in clientList)
|
|
var/list/procList = typesof("[A]/proc")
|
|
for(var/B in procList)
|
|
debuglog << B
|
|
total += procList.len
|
|
|
|
for (var/A in datumList)
|
|
var/list/procList = typesof("[A]/proc")
|
|
for(var/B in procList)
|
|
debuglog << B
|
|
total += procList.len
|
|
|
|
debuglog << total
|
|
world << total
|