jerkybox.c
ds2.10/lib/domains/cave/obj/jerkybox.c · 427 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("box");
SetId( ({ "box" }) );
SetAdjectives( ({ "wooden","wood" }) );
SetShort("a wooden box");
SetLong("It is a wooden box used to hold things.");
SetMass(274);
SetMaxCarry(500);
SetInventory( ([
"/domains/cave/meals/jerky" : random(100)+1,
]) );
}
void init(){
::init();
}