dlev5_21.c

final_realms_fluffos_v1/lib/d/newbie/duergar/rooms/dlev5_21.c · 1.7 KB

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

/*  Text alterations and additions by Grimbrand                         */

#include "path.h"
inherit "/std/underground";

object *npcs;

void reset() {
int i;
 for(i=0;i<sizeof(npcs);i++) {
  if(!npcs[i]) {
  npcs[i]=clone_object(DNPC+"dhalfling");
  npcs[i]->move(this_object());
  }
 }
}

void setup() {
  add_property("no_undead",1); set_light(10);
  npcs = allocate(1);

   set_short("Realm of the Duergar:  Racial Proving Grounds");

   set_long("\n   Realm of the Duergar:  Racial Proving Grounds.\n\n"
        "     The room here is completely bare and unadorned.  The "
        "only things of note are the stains on the floor and the "
        "various chip marks upon the walls.  There is also however, "
        "a pool of blood upon the floor."
        "\n\n");

   add_item(({"floor", "stain", "stains"}),
        "   Looking at the floor you can see that the stone has been "
        "stained from the blood of battles long past.  This room must "
        "see a lot of traffic!  You also notice a fresh pool of blood "
            "on the floor as well."
        "\n\n");

   add_item(({"blood", "pool", "pool of blood"}),
        "   Looking at the blood, you can tell the battle was not too "
        "long ago, even now it is just barely starting to coagulate on "
        "the cool stone floor."
        "\n\n");

   add_item(({"wall", "walls"}),
        "   Looking at the wall, you can see where various weapons "
        "have left chip marks from wild swings and glancing blows."
        "\n\n");

   add_exit("south",NEWBIE+"dlev5_27","path");
   add_exit("east",NEWBIE+"dlev5_22","path");
   add_exit("west",NEWBIE+"dlev5_20","path");
}

void dest_me() {
int i;
for(i=0;i<sizeof(npcs);i++)
  if(npcs[i]) npcs[i]->dest_me();

 ::dest_me();
}

Site Stats

Snippets: 1791
Codebases: 571