コード例 #1
0
ファイル: sun1.c プロジェクト: Lundex/deadsouls
void create() {
    ::create();
    SetProperty("light", 4);
    SetProperty("night light", 1);
    SetProperty("no castle", 1);
    SetShort( "Sun Alley near Centre Path");
    SetLong(
      "Sun Alley is a bright path, named for the fact that the sun "
      "always seems to be shining down upon it. The path is fairly "
      "quiet, except for the occasional villager that is out strolling "
      "or running their errands. The alley runs north of the village, "
      "and interescts Centre Path west of here. To the south "
      "you can see a small brown thatch house. " );
    SetItems(
      (["alley" : "It is bright and cheerful, not like that alley on "
        "the south end.",
        "path" : "The main north-south road of Praxis.",
        "intersection" : "Sun alley meets Centre Path there.",
        "house" : "It's a small thatch house, nothing special."]) );
    SetSkyDomain("town");
    SetExits( 
      (["east" : "/domains/Praxis/sun2",
        "west" : "/domains/Praxis/n_centre2",
        "south"	 : "/domains/Praxis/house"]) );
}
コード例 #2
0
ファイル: e_boc_la3.c プロジェクト: Lundex/deadsouls
void create() {
    ::create();
    SetProperty("light", 3);
    SetProperty("night light", 1);
    SetProperty("no castle", 1);
    SetSmell( "default", "The faint smell of foliage wafts towards you.");
    SetShort( "the east end of Praxis");
    SetLong(
      "The dirt path brings you to the end of the village of Praxis. "
      "Boc La Road meets up with a smaller dirt path which leads "
      "out further east into the wilderness. The path is very "
      "narrow and looks unsafe. After travelling a couple of meters it "
      "is suddenly engulfed in a mass of green leaves and undergrowth. "
      "Up ahead, you can see the darker path of East road, leading to "
      "Praxis' cemetery. West takes you back along East Boc La road.");
    SetItems(
      (["road" : "It leads west toward the village center.",
        "village" : "Praxis is a small adventuring community "
        "of the Nightmare reality.",
        "wilderness" : "Stories tell of bandits and rogues out "
        "in the wilderness.",
        "path" : "The path leads in many directions from here, towards the "
        "Praxis cemetery, the wilderness, and back towards Monument Square.",
        "cemetery": "The Praxis cemetery is off to the north on East Road." ]) );
    SetSkyDomain("town");
    SetExits( ([ 
        "west" : "/domains/Praxis/e_boc_la2",
        "north" : "/domains/Praxis/east_road1",
        "east" : "/domains/Praxis/wild1",
      ]) );
}
コード例 #3
0
ファイル: east_road1.c プロジェクト: Elohim/FGmud
void create() {
    ::create();
    SetProperty("light", 3);
    SetProperty("night light", 1);
    SetProperty("no castle", 1);
    SetShort( "the southern end of East Road");
    SetLong(
            "Starting your journey down East Road, you can see that this is "
            "a less travelled street. Boc La Road is south from here, running "
            "straight through Praxis. Every now and then you can see a street "
            "lamp or two, in its ancient and rusted stage. The walls of the supply "
            "store border the western side of the road, and the Praxis Library, "
            "one of the biggest libraries in this realm, is to the east.");
    SetItems(
            (["road" : "East Road, which marks the far east end of Praxis.",
             "roads" : "East Road and Boc La Road.",
             "side" : "It's the supply shop.",
             "shop" : "The local adventurer's supply shop sits on Boc La "
             "and East Road.",
             "walls" : "They are nothing special.",
             "wall" : "You are fairly certain that you cannot climb them.",
             "library" : "It is open for your reading pleasure."]) );
    SetSkyDomain("town");
    SetExits( 
            (["north" : "/domains/Praxis/east_road2",
             "south" : "/domains/Praxis/e_boc_la3",
             "east"	 : "/domains/Praxis/library"]) );
    SetProperty("no castle", 1);
}
コード例 #4
0
ファイル: kaliid6.c プロジェクト: Elohim/FGmud
static void create() {
    room::create();
    SetTown("Ylsrim");
    SetClimate("arid");
    SetAmbientLight(30);
    SetShort("Kaliid Road south of the bank");
    SetLong("Kaliid Road stretches as far as you can see east and west "
            "across Ylsrim.  The rough wall on the north side of the road "
            "looks like the distinctive adobe of the Bank of Ylsrim.  As "
            "the road travels along side the bank walls west, you can see "
            "Kaliid Road intersect with another.");
    SetSkyDomain("town");
    AddItem(({ "bank", "bank of ylsrim" }), "Ylsrim's local bank.  It has "
            "an adobe wall filled with holes.", ({ "ylsrim" }));
コード例 #5
0
ファイル: kaliid5.c プロジェクト: Lundex/deadsouls
static void create() {
    room::create();
    SetTown("Ylsrim");
    SetClimate("arid");
    SetAmbientLight(30);
    SetShort("Kaliid Road near the Fighters' Hall");
    SetLong("Kaliid Road stretches as far as you can see east and west "
      "across Ylsrim.  Along the north side of this stretch of road "
      "sits the local Fighters' Hall.  Immediately inside the entrance "
      "you notice a recruitment area where novice seekers of fortune "
      "decide to make their ways as fighters.");
    SetSkyDomain("town");
    AddItem("hall", "Fighters passing through Ylsrim stop in to yap about "
      "their adventures, and novices sign up to become fighters.",
      ({ "fighter", "fighters" }));
コード例 #6
0
ファイル: unnamed1.c プロジェクト: Elohim/FGmud
void create() {
    ::create();
    SetProperty("light", 2);
    SetProperty("night light", 1);
    SetProperty("no castle", 1);
    SetShort( "Outside the financial district");
    SetLong(
            "Leading out east into the rural lands outside of Praxis, this unnamed "
            "dirt road sits almost entirely untravelled.  The business district "
            "of Praxis is west.");
    SetItems( 
            (["road" : "It is temporarily blocked going east."]) );
    SetSkyDomain("town");
    SetExits( ([ 
                "west" : "/domains/Praxis/s_centre3",
                ]) );
}
コード例 #7
0
ファイル: docks.c プロジェクト: RandolfShanksCarter/DeadStars
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");
}
コード例 #8
0
ファイル: west_road3.c プロジェクト: Lundex/deadsouls
void create() {
    ::create();
    SetProperty("light", 2);
    SetShort( "the north end of West Road");
    SetLong(
      "West Road comes to an abrupt end as it is engulfed by the forest "
      "to the north. A huge ancient willow tree provides shelter to "
      "this entire section of the road. At its massive roots you can "
      "see a whole leading down into the depths of the earth. Boc La Road "
      "lies far south of here.");
    SetItems(
      (["tree" : "It must be older than Praxis itself.",
        "hole" : "You might even be able to enter the tree.",
        "road" : "This end of the road is shaded by the huge "
        "tree of mysterious origins.",
        "foo" : "You're daft.",
        "bar" : "Had to check that too, eh?"]) );
    SetSkyDomain("town");
    SetExits( 
      (["south" : "/domains/Praxis/west_road2"]) );
}
コード例 #9
0
ファイル: west_road1.c プロジェクト: Elohim/FGmud
void create() {
    ::create();
    SetProperty("light", 2);
    SetProperty("night light", 1);
    SetProperty("no castle", 1);
    SetShort( "the southern end of West Road");
    SetLong( 
            "West Road is the main residential road that runs through Praxis. "
            "One or two more houses lie on either side of the road, until "
            "it comes to a dead end south of here at Boc La Road. The small "
            "huts lining the road are rather run down and unattractive. You "
            "can hear noises coming from inside of them, as the inhabitants "
            "carry on with their lives.");
    SetItems(
            (["road" : "West Road, which marks the westernmost end of Praxis.",
             "huts" : "They are small peasant huts.",
             "hut" : "It has a thatch roofing, and is not really extravagant."
             ]) );
    SetSkyDomain("town");
    SetExits( 
            (["north" : "/domains/Praxis/west_road2",
             "south" : "/domains/Praxis/w_boc_la3"]) );
}
コード例 #10
0
ファイル: wild2.c プロジェクト: Lundex/deadsouls
void create() {
    ::create();
    SetProperty("light", 2);
    SetShort( "The tropical wilderness");
    SetLong(
      "You are inside a jungle that thickens along the path "
      "northeast.  The path widens west as it heads towards "
      "the adventuring village of Praxis."
      // "  You also notice a small opening in the thick jungle."
    );
    SetItems(
      (["jungle" : "A wilderness area full of outlaws and "
        "mysterious things.\n",
        "village" : "The adventurer's town of Praxis.",
        "vegetation" : "It gets thicker to the east.",
        "path" : "You can see it opening up towards the village west.",
        //"opening" : "On second glance, its too small to enter"
      ]) );
    SetSkyDomain("town");
    SetExits( 
      (["northeast" : "/domains/Praxis/jungle",
        "west" : "/domains/Praxis/wild1"]) );
}
コード例 #11
0
ファイル: n_centre1.c プロジェクト: Elohim/FGmud
void create() {
    ::create();
    SetProperty("light", 3);
    SetProperty("night light", 1);
    SetProperty("no castle", 1);
    SetShort( "Centre Path north of Krasna Square");
    SetLong("Centre Path is a highly-traveled dirt path that runs north and south through Praxis.  Just south of here, it intersects Boc La Road in Krasna Square.  A small church is off to the west. It is a medium sized building, made out of sturdy wood that has been painted white. A very simple, yet beautiful stain glass window stares out at you from the front of the church. The doors are a deep black, and one is slightly open, in welcome. To the east is the local hotel.");
    SetProperty("light", 3);
    SetProperty("night light", 1);
    SetItems(
            (["path" : "Centre Path leads to Monument square south and out "
             "of town north.",
             "road" : "Boc La Road is the main east-west road.",
             "church" : "It is a small church run by the local clerics.",
             "square" : "The central square of Praxis."]) );
    SetSkyDomain("town");
    SetExits( ([
                "south" : "/domains/Praxis/square",
                "west" : "/domains/Praxis/cleric_join",
                "north" : "/domains/Praxis/n_centre2",
                "east" : "/domains/Praxis/hotel.c",
                ]) );
}