sislnd16.c

ldmud-3.3.719/mud/lp-245/room/south/sislnd16.c · 888 B

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");
}

string short()
{
    return "Halfway up the hill on the Isle of the Magi";
}

void long()
{
    write("You are halfway up the hill.\n" +
	  "On top of the hill, to the north, stands the ruins of the tower of\n" +
	  "Arcanarton.\n" +
	  "Paths wind down to the shore of the island to the south, east and west\n");
}

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

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

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

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

Site Stats

Snippets: 1791
Codebases: 571