debug.c
dw_fluffos_v1/lib/cmds/creator/debug.c · 460 B
From the archive dw_fluffos_v1.tar.gz
Download the archive « Back to the archive contents
inherit "/cmds/base";
#include <creator.h>
/**
* This dumps out stuff about the object.
*/
int cmd(object *obs, int detail) {
object ob;
foreach (ob in obs) {
write(WIZ_PRESENT->desc_object(ob) + ":\n" + debug_info(detail, ob) + "\n");
}
return 1;
} /* cmd() */
mixed *query_patterns() {
return ({ "-v <indirect:wiz-present>", (: cmd($1, 2) :),
"<indirect:wiz-present>", (: cmd($1, 1) :) });
} /* query_patterns() */