south_road1.c

ds2.9a10/lib/domains/town/room/south_road1.c · 1.2 KB

From the archive ds2.9a10.zip

Download the archive   « Back to the archive contents

#include <terrain_types.h>
#include <lib.h>
inherit LIB_ROOM;

static void create() {
    room::create();
    SetClimate("outdoors");
    SetAmbientLight(30);
    SetShort("Saquivor Road");
    SetLong("This is a cobblestone road, leading "+
      "north into town and south away from it. "+
      "The magic "+
      "shop is to the west. "+
      "\n%^GREEN%^An old well stands by the "+
      "side of the road.%^RESET%^");
    SetItems( ([
        ({"well","old well","dry well"}) : "This "
        "looks like the sort of system used to "
        "provide water before the town implemented "
        "more modern waterworks. It looks long dry "
        "and abandoned.",
        "bank" : "The First Village Bank",
        ({"road","cobblestone road"}) : "A "
        "cobblestone road running north and south."
      ]) );
    SetExits( ([ 
        "north" : "/domains/town/room/vill_road1",
        "south" : "/domains/town/room/south_road2",
        "west" : "/domains/town/room/magic_shop",
      ]) );
    AddTerrainType(T_ROAD);
    SetNoModify(0);
    SetEnters( ([
        "well" : "/domains/town/room/well1"
      ]) );
    SetFlyRoom("/domains/town/virtual/sky/28,99999,1");
    AddItem(new("/domains/town/obj/lamp"));
}
void init(){
    room::init();
}

Site Stats

Snippets: 1791
Codebases: 571