steel_door2.c

ds2.10/lib/domains/default/doors/steel_door2.c · 730 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

#include <lib.h>

inherit LIB_DOOR;

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

    SetSide("north", (["id" : ({ "steel door leading north", "steel door", "door", "north door" }),
                "short" : "a steel door leading north",
                "long" : "This is an imposing, large steel door leading north into the arena.",
                "lockable" : 0 ]) );
    SetSide("south", (["id" : ({ "steel door leading south", "steel door", "south door", "door" }),
                "short" : "a steel door leading south",
                "long" : "This is an imposing, large steel door leading south, out of the arena.",
                "lockable" : 0 ]) );

    SetClosed(0);
    SetLocked(0);
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571