sforst3.c

ldmud-3.3.719/mud/lp-245/room/south/sforst3.c · 617 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("west", "west");
}

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

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

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

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

Site Stats

Snippets: 1791
Codebases: 571