MUDLIB.C

LIB3/D/ADMIN/MUDLIB.C · 894 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

inherit "/std/room";

object board;

void setup()
{
   set_short( "The mudlib room of New Moon" );
   set_light( 100 );
   set_long(
      "As you look around this impressively decorated room, "+
      "a voice booms in your head : 'Please post any changes "+
      "and/or proposed changes to the mudlib here.\n");
   add_item( "wall",
      "The walls are fairly uninteresting, covered with off-white "+
      "wallpaper." );
   add_item( ({ "carpet", "carpeting", "red carpet", "red carpeting" }),
      "The carpet feels soft underfoot." );
   add_item( "furniture",
      "You see nothing special about the various bits of furniture." );
   add_exit("common", "/w/common", "corridor");
} /* setup() */


void reset()
{
   if( !board )
      {
      board = clone_object( "/obj/misc/board" );
      board->move( this_object() );
      board->set_datafile( "mudlib" );
   }
} /* reset() */

Site Stats

Snippets: 1791
Codebases: 571