ladder_simple.c

ds2.10/lib/domains/town/obj/ladder_simple.c · 410 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <climb.h> // defines CLIMB_DOWN

inherit LIB_ITEM;
inherit LIB_CLIMB;

static void create() {
    ::create();
    SetKeyName("ladder");
    SetId("ladder");
    SetAdjectives(({"short","wood","wooden"}));
    SetShort("a ladder");
    SetLong("This is a standard wooden ladder, suitable for climbing.");
    SetMass(100);
    SetBaseCost("silver",10);
}

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

Site Stats

Snippets: 1791
Codebases: 571