jerkybox2.c

ds2.10/lib/domains/cave/obj/jerkybox2.c · 441 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

#include <lib.h>

inherit LIB_STORAGE;

void create() {
    ::create();
    SetKeyName("crate");
    SetId( ({ "crate" }) );
    SetAdjectives( ({ "large", "wooden","wood" }) );
    SetShort("a large crate");
    SetLong("It is a wood crate used to hold things.");
    SetMass(374);
    SetMaxCarry(700);
    SetInventory( ([
                "/domains/cave/meals/jerky" : random(350)+1,
                ]) );
}

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

Site Stats

Snippets: 1791
Codebases: 571