sshore20.c

ldmud-3.3.719/mud/lp-245/room/south/sshore20.c · 987 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("west", "west");
    add_action("northeast", "northeast");
    add_action("southwest", "southwest");
}

string short()
{
    return "The shore of Crescent Lake";
}

void long()
{
    write("You are standing on the shore of Crescent Lake, a beautiful and\n" +
	  "clear lake. Out in the centre of the lake stands the Isle\n" +
	  "of the Magi.\n" +
	  "Trails lead into the forest to the north and west.\n" +
	  "The shore of Crescent Lake continues northeast and southwest\n");
}

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

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

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

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

Site Stats

Snippets: 1791
Codebases: 571