tree2.c

./lib/room/city/garden/tree2.c · 739 B

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

#include <mudlib.h>
inherit ROOM;
void reset(status arg) {
  object obj;
  int i;
  if(!present("koala")) {
    for(i=0; i<random(3)+1; i++) {
      obj = clone_object("room/city/garden/monst/koala");
      move_object(obj,this_object());
    }
  }
  if(arg) return;
  set_weather(1,3,0);
  set_short("a tree");
  set_long(
    "From the dizzy heights of the gum tree the ground below seems \n"+
    "a dangeous place, compared to the warmth and protection of the\n"+
    "leaves here. The tree trunk is a strange grey, almost white and\n"+
    "the leaves a strange sweet smell.\n");
  set_smell("The gum leaves smell of eucalyptuse.\n");
  set_exits(({
    "room/city/garden/tree3", "up",
    "room/city/garden/tree1", "down",
  }));
}

Site Stats

Snippets: 1791
Codebases: 571