dump.c

dw_fluffos_v1/lib/cmds/creator/dump.c · 383 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) {
   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() */

Site Stats

Snippets: 1791
Codebases: 571