void.c

mud/2.4.5/room/void.c · 598 B

From the archive 2.4.5-for-1.1.tgz

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");
    call_other(this_player(), "move_player", "X#room/church");
}

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

church() {
    call_other(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