dwarf21.c

final_realms_fluffos_v1/lib/d/newbie/dwarf/newrooms/dwarf21.c · 2.8 KB

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

//  Dwarven Newbie Area:  Created By Mist   Fall 1994
#include "path.h"
inherit ROOM+"baseroom.c";

void setup ()   { my_setup();
set_short("Realm of the Dwarf:  Waterfall");
set_light(80);

    set_long("\n   Realm of the Dwarf:  Waterfall\n\n"
     "     This is the southern end of the sandy beach along "
        "the lake.  The beach ends here at a pile of rocks. "
        "The waterfall begins in a cave near the top of the "
        "southern wall and cascades down onto a rocky ledge and "
        "into the lake.  The thundering sound of the water shakes "
        "the rocks and causes your ears to hurt.  "
        "It looks as if you might be able to climb up the "
        "pile of rocks to the cave at the top where the "
        "waterfall comes out.  "
        "\n\n");
   add_item(({"ledge","rocky ledge"}),"\n   The rocky ledge sticks out "
              "from the southern cave wall and protrudes out directly "
              "under the waterfall.  You might be able to reach it, if "
              "you could only figure out how.\n\n");
    add_item(({"sandy beach","sand","beach"}),"The sandy shore leads north"
        " along the edge of the lake and goes right up to the "
        "pile of rocks here.  "
        "\n\n");
    add_item(({"pile","rocks","pile of rocks"}),"The rocks look "
        "very loose and slick from the water that has sprayed "
        "on them.  It might be possible to work your way up "    
        "to the top.  "
        "\n\n");
    add_item(({"waterfall","water","lake","falls","spray"}),"The "
        "spray from the waterfall totaly hides your view of the "
        "lake.  You can see the waterfall, though.  It is right "
        "before you.  The sound is so loud that it shakes the "
        "rocks and pounds your ears painfuly.  "
        "\n\n");
       add_item(({"path","pathway"}),"There is a narrow pathway "
                "that leads behind the falls.  It does not look to "
                "dangerous, but you will get soaked.  "
                "\n\n");
        add_item(({"cave"}),"The cave where the waterfall comes "
                "out from is barely visible from here.  It is dark "
                "and you are unable to make out any features inside. "
                "\n\n");

add_exit("north",ROOM+"dwarf16","path");
add_exit("up",ROOM+"dwarf26","path");
}
   void init()
   {
      ::init();
   add_action("do_leap","leap");
   }

   do_leap(string str)
   {
      if(str == "to ledge")
         {
            write("You leap into the air blindly and fortunately land "
                  "on the solid rock of the ledge.  Your feet begin to "
                  "slip and slide, but somehow you keep your balance.  "
                  "\n\n");
            this_player()->move(ROOM+"dwarf25.c");
            this_player()->look_me();
            return(1);
         }
      else
      {
      return(0);
      }
   }

Site Stats

Snippets: 1791
Codebases: 571