Пример #1
0
void create() {
    ::create();
    SetProperty("light", 3);
    SetProperty("night light", 2);
    SetProperty("no castle", 1);
    SetShort("A small yard");
    SetDayLong( "Daytime makes this beautiful yard at the end of a "
            "small alley glow with peace. Quaint houses surround the yard "
            "on all flanks except to the west where the alley intersects "
            "Centre Path. There is a manhole where the alley meets the "
            "yard.");
    SetNightLong( "Very little stirs at the end of this small alley "
            "in the dark of the night. Some light illuminates the area from "
            "the lamps which are posted in front of the houses which "
            "surround the yard at the end of the alley.");

    SetDoor("/domains/Praxis/sewer_ent","down");
    "/domains/Praxis/sewer_ent"->SetOpen("manhole", 0);
    SetExits( 
            (["west" : "/domains/Praxis/s_centre2",
             "north" : "/domains/Praxis/sheriff",
             "down" : "/domains/Praxis/sewer_ent"]) );
    SetItems(
            (["alley" : "It looks beautiful here.",
             ({ "lamp", "lamps" }) : "Dimly illuminated lights.",
             "manhole" : (: this_object(), "look_at_manhole" :) ]) );
Пример #2
0
void create() {
    ::create();
    SetProperty("light", 3);
    SetProperty("night light", 1);
    SetProperty("no castle", 1);
    SetShort( "West Boc La in Praxis");
    SetDayLong("The local pub on the southwest corner of the square "
      "east of here gets little business at the height of "
      "the day.  As twilight fall into dusk, however, you "
      "will notice more people making their way into the pub "
      "to cap off a day of adventure.  The road you are on, "
      "West Boc La, leads into the western districts of "
      "Praxis and east to the centre of town.");
    SetNightLong("The street lamps provide you with barely enough "
      "light to see, but can you can just see Krasna Square east and "
      "Lars' Pub to the south.  You can also make out a chapel to "
      "the north, but you see no entrance.");

    SetListen("default", "Cheers of local adventurers "
      "resonate from inside the pub.");
    SetExits( 
      (["east" : "/domains/Praxis/square",
        "west" : "/domains/Praxis/w_boc_la2",
        "south" : "/domains/Praxis/pub"]) );
    SetItems( 
      (["church" : "It looks like the entrance might be on the "
        "road leading north from Monument Square.",
        ({"lamps", "lamp", "street lamp"}) : "All of the street "
        "lamps along the road provide minimal light at night.",
Пример #3
0
static void create() {
    room::create();
    SetClimate("outdoors");
    SetAmbientLight(30);
    SetShort("Village Path");
    SetNightLong("Still illuminated by lamp post, Village Road becomes less of a road here and more of a dirt path. The shore of the eastern sea is almost visible from here. The village schoolhouse is north, and the shore is east. The village stables are south.");
    SetDayLong("As it travels from west to east, Village Road becomes less of a road here and more of a dirt path. The shore of the eastern sea is almost visible from here. The village schoolhouse is north, and the shore is east. The village stables are south.");
    SetItems(([
        ({ "building", "schoolhouse", "school", "village school", "village schoolhouse" }) : "A small but well-kept wooden building where townsfolk and their children go to acquire knowledge.",
Пример #4
0
static void create() {
    room::create();
    SetClimate("outdoors");
    SetAmbientLight(30);
    SetShort("East Village Road");
    SetNightLong("A lamp-lit long road going through the village. Town Hall is north. The main part of the town is west of here.");
    SetDayLong("A long road going through the village. Town Hall is north. The main part of the town is west of here.");
    SetItems(([
                ({ "office", "post office" }) : "Mail can be received and sent from the post office.",
Пример #5
0
static void create() {
    room::create();
    SetClimate("outdoors");
    SetAmbientLight(30);
    SetShort("Fort Road");
    SetNightLong("You are on a road at the northern edge of the village. To the south is the heart of the town. The First Village Bank stands here on the east side of the road. To the west is the post office.");
    SetDayLong("You are on a road running north and south. To the south is the heart of the town. To the north the road runs along a narrow ridge, leading up to what looks like a fortress. The First Village Bank stands here on the east side of the road. To the west is the post office.");
    SetItems( ([
        ({"rubble","stone","stones","road"}) : "Looks like "
        "the road is still being built. Further travel north "
        "is impossible.",
Пример #6
0
static void create() {
    room::create();
    SetClimate("outdoors");
    SetAmbientLight(30);
    SetShort("North Saquivor Road");
    SetNightLong("Illuminated by lamplight here is Saquivor road, leading north-south through the village. To the east is the village pub, the legendary watering hole used by thousands of rogues, paladins, and everyone in between. The Healers' Guild is west. To the south is a major intersection. The road continues north into the gloom.");
    SetDayLong("You are on Saquivor road, leading north-south through the village. To the east is the village pub, the legendary watering hole used by thousands of rogues, paladins, and everyone in between. The Healers' Guild is west, and to the north you can see a road leading up to the plateau where the Fortress on the Frontiers stands. To the south is a major intersection.");
    SetItems( ([
        ({"pub","tavern","village pub"}) : "The is the town's "
        "legendary watering hole, where refreshments are served "
        "and tall tales are swapped.",
Пример #7
0
static void create() {
    room::create();
    SetClimate("outdoors");
    SetAmbientLight(30);
    SetShort("East Village Road");
    SetNightLong("You are on a long road, lit by a lamp post. The general store is north. The road stretches east and west through the town. The Adventurers' Guild is south.");
    SetDayLong("You are on a long road. The general store is north. The road stretches east and west through the town. The Adventurers' Guild is south.");
    SetItems( ([
                ({"adventurers guild","guild"}) : "This small "
                "building on the southern side of the road is where "
                "adventurers, great and small, come to record "
                "their exploits and seek advancement.",
Пример #8
0
void create() {
    ::create();
    SetAmbientLight(5);
    SetNightLight(15);
    SetDayLight(25);
    SetShort("A Dark Cave");
    SetNightLong("This is a cave carved into the rocky riverbank wall. The cave opens west into the night. To the east is darkness.");
    SetDayLong("This is a cave carved into the rocky riverbank wall. Daylight shines in from the west, where the river flows. To the east, the cave continues into darkness.");
    SetLong("This is a small cave near a riverbank.");
    SetItems(([
                ({ "wall", "rocky wall", "river bank wall", "riverbank wall", "rocky river bank wall", "rocky riverbank wall" }) : "The local river carved a narrow and steep valley here over the years. The walls of that valley is what this cave has been dug out of.",
                ]));
Пример #9
0
static void create() {
    fishing::create();
    SetClimate("outdoors");
    SetAmbientLight(30);
    SetShort("Dock of the Bay");
    SetNightLong("This is an area comprised of a raised wooden platform that extends into the water so that folks with boats can conveniently enter and exit their vehicles. The dock runs south along the shoreline, turning into a boardwalk. The town shore is north. A great sea stretches out into the eastern horizon. A lone lamp post lights this area. \n%^GREEN%^There is a sign here you can read.%^RESET%^");
    SetDayLong("This is an area comprised of a raised wooden platform that extends into the water so that folks with boats can conveniently enter and exit their vehicles. The dock runs south along the shoreline, turning into a boardwalk. The town shore is north. A great sea stretches out into the eastern horizon. \n%^GREEN%^There is a sign here you can read.%^RESET%^");
    SetItems( ([
        "sign":"A sign on the ground. To read it, 'read sign'.",
        "platform":"The local surface.",
        "raised wooden platform":"The local surface.",
        "wooden platform":"The local surface.",
        "raised platform":"The local surface.",
        "horizon":"Where the sky loves the sea.",
        "town":"A population center to the northwest.",
        "boardwalk":"Leads south from here.",
        "dock":"What boats do here.",
        "shoreline":"The demarcator of discontinuity between land and sea.",
      ]) );
    SetExits( ([
        "north" : "/domains/town/room/shore",
        "south" : "/domains/town/room/bwalk1.c",
      ]) );
    SetProperty("dock", 1);
    SetRead("sign", (: readSign :) );
    SetFrequency(5);
    SetChance(90);
    SetFish( ([
        "/domains/town/meals/shark" : 10,
        "/domains/town/meals/herring" : 20,
      ]) );
    SetActionsMap( ([ 
        "A soft breeze cools your brow." : 5,
        "You briefly hear seagulls far in the distance." : 7,
        "A cool breeze flows in from the east, " +
          "bringing with it the bracing salty smells of the sea.": 2,
      ]) );
    SetInventory( ([
        "/domains/town/obj/seawater" : 1,
      ]) );
    AddItem(new("/domains/town/obj/lamp"));
    SetSkyDomain("town");
}
Пример #10
0
static void create() {
    room::create();
    SetTown("Ylsrim");
    SetClimate("arid");
    SetAmbientLight(30);
    SetShort("The roof of the Bank of Ylsrim");
    SetDayLong("From your perfect vantage point atop the hot adobe of "
      "the Bank of Ylsrim you can see nearly the entire desert "
      "town.  On the south side of the bank, the wall is rough "
      "enough to get a foothold down into Kaliid Road.  The wall "
      "on the other sides of the building are simply too smooth to "
      "climb down. You might be able to jump into the road, as well."); 
    SetNightLong("The lights of Ylsrim look beautiful from this vantage "
      "on the bank roof.");
    AddItem("adobe", "The walls and roof are made of this substance.");
    // this is the wall that can be climbed down
    AddItem(new("/domains/Ylsrim/etc/roof_wall"));
    // this is the road that people can jump into
    AddItem(new("/domains/Ylsrim/etc/road"));
    // this is the roof people can jump from
    AddItem(new("/domains/Ylsrim/etc/roof"));
}