void.c

ldmud-3.2.9/mud/lp-245/room/void.c · 570 B

From the archive ldmud-329.tar.gz

Download the archive   « Back to the archive contents

short() {
    return "The void";
}

long() {
    write(short() + ".\n");
    write("You come to the void if you fall out of a room, and have nowhere to go.\n");
    write("Give the command 'church', and you will come back to village church.\n");
    write("\nYou are transfered to the church...\n");
    this_player()->move_player("X#room/church");
}

init() {
    add_action("church", "church");
}

church() {
    this_player()->move_player("away#room/church");
    return 1;
}

reset(arg)
{
    if (arg)
	return;
    set_light(1);
}

id(str) { return str == "void"; }

Site Stats

Snippets: 1791
Codebases: 571