CROWSNES.C

LIB3/D/HOME/CITY/CROWSNES.C · 684 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

#include "path.h"
inherit "/std/room.c";

setup() {
   set_short("A crows nest");
   set_long("A very small crows nest high above the deck of a ship.\n");
   add_item("mast",
            "The mast is a long round chunk of wood, nothing special.\n");
   add_item( ({"floor" , "ground" }),
            "The ground is a long way away, you are terrified.\n");
   add_exit("climb down", HOMECITY+"mast3", "hidden");
   add_action("do_search", "search");
   set_light(60);  
}

int do_search() {
   write("Up here? are you kidding? you might fall off!\n");
   say(this_player()->query_cap_name()+" definately doesn't search "+
       "around, it is far too dangerous.\n");
   return 1;
}


Site Stats

Snippets: 1791
Codebases: 571