mountaintree.c

skylib_fluffos_v3/mudlib/d/learning/school/room_school/terrain_tutor/mountaintree.c · 562 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

#include "defs.h"

inherit TERRAIN_OUTSIDE;

void setup() {
   set_room_size( 20 );

   set_determinate("a ");
   set_short("tree in the mountains");
   set_long("This tree has defied all the odds, and grows straight and "
            "tall in the blustery wastes.");

   add_extra_look(TO);

   add_property( "climate", ({ -40, 50, 40 }) );

} /* setup() */

string extra_look() {
   if( co_ord[ 2 ] < 800200 )
       return "\n";
   else
       return "  You can just make out a cabin in the snows to your "
              "northeast.\n";
} /* extra_look() */

Site Stats

Snippets: 1791
Codebases: 571