sislnd17.c

ldmud-3.3.719/mud/lp-245/room/south/sislnd17.c · 1.1 KB

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

void reset(int started)
{
    if (!started)
	set_light(1);
}

void init()
{
    add_action("north", "north");
    add_action("south", "south");
    add_action("east", "east");
    add_action("west", "west");
    add_action("down", "down");
}

string short()
{
    return "An old disused well";
}

void long()
{
    write("You are halfway up the hill.\n" +
	  "An old, disused well stands here, the roof having fallen in from neglect.\n" +
	  "On top of the hill, to the east, stands the ruins of the tower of\n" +
	  "Arcanarton.\n" +
	  "Paths wind down to the shore of the island to the north and south\n" +
	  "Down on the shore to the west is a small grove\n" +
	  "The well has a ladder runing down into it.\n");
}

int north()
{
    this_player()->move_player("north#room/south/sislnd12");
    return 1;
}

int south()
{
    this_player()->move_player("south#room/south/sislnd8");
    return 1;
}

int east()
{
    this_player()->move_player("east#room/south/sislnd18");
    return 1;
}

int west()
{
    this_player()->move_player("west#room/south/sislnd9");
    return 1;
}

int down()
{
    this_player()->move_player("down the well#room/south/lair");
    return 1;
}

Site Stats

Snippets: 1791
Codebases: 571