kurogane.c

ds2.9a12/lib/domains/cave/doors/kurogane.c · 669 B

From the archive ds2.9a12.zip

Download the archive   « Back to the archive contents

#include <lib.h>

inherit LIB_DOOR;

static void create() {
    door::create();

    SetSide("north", ([ "id" : ({"door leading north", "door", "north door"}),
        "short" : "a door leading north",
        "long" : "This is the south side of a door leading north.",
        "lockable" : 1 ]) );

    SetSide("south", ([ "id" : ({"door leading south", "door", "south door"}),
        "short" : "a door leading south",
        "long" : "This is the north side of a door leading south.",
        "lockable" : 1 ]) );

    SetClosed(1);
    SetLocked(0);
    SetKeys("north", ({ "north key" }));
    SetKeys("south", ({ "south key" }));
}

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

Site Stats

Snippets: 1791
Codebases: 571