common.c

skylib_mudos_v1/mudlib/w/common.c · 697 B

From the archive skylib_mudos_v1.tar.gz

Download the archive   « Back to the archive contents

#include <config.h>

inherit ROOM_OBJ;

object board;

void setup() {
    set_short("creators' common room");
    add_property( "determinate", "the ");
    set_light(100);
    set_long("This is the spacious creators' common room, where "
             "creators, seniors, lords and admin alike can kick "
             "back and relax.\n");

    add_exit("pub", CONFIG_START_LOCATION, "path");
    add_exit("adminc", "/d/admin/common", "path");
    add_exit("school", "/d/learning/school/school", "path");

} /* create() */

void reset() {
    if (!board) {
        board = clone_object(BOARD_OBJ);
        board->move(this_object() );
        board->set_datafile("creator");
    }

} /* reset() */

Site Stats

Snippets: 1791
Codebases: 571