pub.c

./lib/room/newbie/pub.c · 1.1 KB

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

#include <mudlib.h>
inherit PUB;

void reset(status arg) {
  if(arg) return;

  set_exits(({
     "room/newbie/cabin1", "south",
  }));

   set_short("Cabin Inn");
   set_long(
"   //====--  CABIN INN --====\\\n"+
"This is where the elves come on their lunch break to get a snack or two.\n"+
"The items here are reasonably priced, because elves don't make much money.\n"+
"The atmosphere is quite nice.  Everyone seems to be having a good time\n"+
"and enjoying themselves. This is not one of those rough-housing pubs.\n"+
"There is a menu lying on the counter.\n");

  set_weather(1,4,0);
  set_owner("leafdarn");
  add_drink("ale","bottle of ale", "That feels good", 2);
  add_drink("brew", "A glass of a ancient elvish brew", "That went "+
          "down smoooth",5);
  add_drink("spirits", "elvish spirits", "You get tingly all over", 10);

  add_food("nuts", "some mixed nuts", "Nice and crunchy", 3);
  add_food("berries", "mixed berries",  "That was sweet, now wipe the juice "+
          "from you mouth", 5);
  add_food("pancakes", "Golden pancakes", "Fluffy and light", 10);

  set_items(({
    "counter",  "A wooden counter, there is a menu on it",
  }));
}

Site Stats

Snippets: 1791
Codebases: 571