shop-upstairs.c,v

skylib_fluffos_v3/mudlib/d/learning/TinyTown/buildings/shop-upstairs.c,v · 908 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

head	1.1;
access;
symbols;
locks; strict;
comment	@ * @;


1.1
date	2000.06.22.01.09.52;	author pinkfish;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@#include "path.h"

inherit "/std/room/basic_room";

void setup() {
  set_short( "bedroom" );
  set_long( "This is a small bedroom above the shop.  There is a window "
            "in the north wall.\n");
  
  set_light( 60 );

  // This is usually calculated for you and only needed if you want the room
  // to be bigger than normal.
  set_room_size( 10 ); 

  // set the movement zone.
  set_zone( "Tiny Town");

  /*
   * lots of add_items are needed here to describe all the things in the
   * room.
   */


  add_exit("window", PATH+"shop-ledge", "window");
  add_exit("down", PATH +"item-shop", "stair" );

  // make them move downwards 9feet when they go down the stairs
  modify_exit("down", ({ "downgrade", 9 }));
}

@

Site Stats

Snippets: 1791
Codebases: 571