food_storage1.c

ds2.9a12/lib/domains/cave/doors/food_storage1.c · 655 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("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 ]) );
    SetKeys("south", ({ "food_storage_one" }));

    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 ]) );
    SetKeys("north", ({ "food_storage_one" }));

    SetClosed(1);
    SetLocked(1);
}

Site Stats

Snippets: 1791
Codebases: 571