sforst30.c

ldmud-3.3.719/mud/lp-245/room/south/sforst30.c · 620 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");
}

string short()
{
    return "A dimly lit forest";
}

void long()
{
    write("You are in part of a dimly lit forest.\n" +
	  "Trails lead north, south and east\n");
}

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

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

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

Site Stats

Snippets: 1791
Codebases: 571