council_document.c

dw_fluffos_v1/lib/std/room/council_document.c · 493 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

/**
 * A stable in which to house your lucky transport.
 * @author Pinkfish
 * @started Tue Nov 30 23:37:12 PST 1999
 */
inherit "/std/room/document_handler";
inherit "/std/room/inherit/council_base";
#include <nomic_system.h>

/** @ignore yes */
int is_open_for(string type, string name) {
   switch (type) {
   case "document_add" :
   case "document_delete" :
      return NOMIC_HANDLER->is_magistrate_of(query_council_area(), name);
   default :
      return 1;
   }
} /* is_open_for() */

Site Stats

Snippets: 1791
Codebases: 571