common.c

final_realms_fluffos_v1/lib/w/common.c · 1.4 KB

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

#define HEAVEN "/d/heaven/heaven/"
inherit "std/room";

object board;

int i,n;
int x;
void reset() {
   object *all;
  if(!board) {
    board = clone_object("obj/misc/board");
    board->set_datafile("commonroom");
    board->move(this_object());
   }
#if 0
   n = reclaim_objects();
   for(i = 0; i < sizeof(all=children("/global/lord.c")); i++)
   {
      if(all[i])
      tell_object(all[i],"[Objects reclaimed: "+ n +" ]\n");
   }
#endif
   //::reset();
}

void setup() {
  set_light(60);
  set_short("Creator Common Room");
  set_long(
"You are in the Creator common room.  This room is for discussion of issues "+
"relating to the entire mud.  Feel free to put notes on the Board and "+
"please post your opinions on issue under discussion.  It is your"+
" mud too.. There is a portal to the bar here.  The door to the "+
"south leads to the Palace of Immortals Admin wing.  The door to the"+
" north glow with power.  A plaque on the northern door reads: "+
"Immortal meeting chambers. A pulsing light in the shape of an arrow points "+
"to the east, beckoning you to enter.\n");
  add_exit("bar", "/d/ss/daggerford/ladyluck", "plain");
  add_exit("east","/w/hokemj/history.c","plain");
  add_exit("south",HEAVEN+"admin1","door");
 
add_exit("north","/room/admin/meeting.c","door");
add_exit("sf","/d/sf/common.c","portal");
}

void dest_me() {
  if (board)
    board->dest_me();
  ::dest_me();
}

Site Stats

Snippets: 1791
Codebases: 571