dump.c
skylib_fluffos_v3/mudlib/cmds/creator/dump.c · 380 B
From the archive skylib_fluffos_v3.zip
Download the archive « Back to the archive contents
inherit COMMAND_BASE;
#include <creator.h>
/**
* This dumps out stuff about the object.
*/
int cmd(object *obs) {
object ob;
foreach (ob in obs) {
write(WIZ_PRESENT->desc_object(ob) + ":\n" + debug_info(0, ob) + "\n");
}
return 1;
} /* cmd() */
mixed *query_patterns() {
return ({ "<indirect:wiz-present>", (: cmd($1) :) });
} /* query_patterns() */