sand_hole.c

nightmare4_fluffos_v1/lib/domains/Ylsrim/room/sand_hole.c · 685 B

From the archive nightmare4_fluffos_v1.zip

Download the archive   « Back to the archive contents

/*    /domains/Ylsrim/room/sand_hole.c
 *    From the Nightmare V Object Library
 *    An example of a room in which you go after digging (get trapped!)
 *    Created by Descartes of Borg 961231
 */

#include <lib.h>

inherit LIB_ROOM;

static void create() {
    room::create();
    SetClimate("indoors");
    SetShort("a dark hole in the sand");
    SetLong("You are in a very dark, sandy hole in the desert.");
    AddItem("sand", "It is everywhere.");
    SetObviousExits("");
    SetExits( ([ "up" : __DIR__ "sand_room" ]));
    // use a door to act as a hole, as that is what the hole really is
    SetDoor("up", "/domains/Ylsrim/etc/dug_hole");
}

void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571