jerkybox.c

ds2.9a12/lib/domains/cave/obj/jerkybox.c · 407 B

From the archive ds2.9a12.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();
}

Site Stats

Snippets: 1791
Codebases: 571