test.c

./lib/players/josh/test.c · 1.3 KB

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

#include <mudlib.h>
inherit ROOM;

void reset(status arg) {
  reset_doors(arg);
  load_door(({
     "file", "room/city/mage/study2",
     "direction", "west door",
     "long",
          "A dark door bearing spidery runes on a silvery plaque:\n"+
          "\tTenser's Study.\n",
     "key id", "silver key",
     "lock id", "silver lock",
  enable_commands();
}

void heart_beat() {
  string *messages;
  messages = ({
     "The torch flickers\n",
     "The torch splutters.\n",

     "The torch casts dancing shadows across the walls.\n",
     "The torch flutters.\n",
     "The torch light dances around the room.\n",
  });
  if(!random(10))
    tell_room(this_object(), messages[random(sizeo carved with arca"+
"ne glyphs\nof power.\n",
        "glyphs#glyph",
        "The writing is so ancient its true meaning is lost on you, but the power "+ 
	"you\nfeel from them leaves you no doubt they are not for decoration.\n",
        "walls#wall",
        "The walls are made up of large strong bricks, many of which have glyphs"+
 "of \npower carved into them.\n",
      }));
    set_smell("This place smells dank and musky.\n");
    set_listen("Your ears feel the dull roar of preasure.\n");
    set_exits(({
        "/room/city/mage/bfloor2.c","south",
        "chamber.c","down"
      }));
}

Site Stats

Snippets: 1791
Codebases: 571