worn_storage.c

ds2.10/lib/obj/worn_storage.c · 616 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <armor_types.h>
#include <damage_types.h>
inherit LIB_WORN_STORAGE;

static void create(){
    ::create();
    SetKeyName("generic worn storage");
    SetId(({"thing","worn_storage","storage","article"}));
    SetAdjectives(({"article of","generic","worn"}));
    SetShort("a generic article of worn storage");
    SetLong("This is a thing that can be worn which can also hold things.");
    SetCanClose(1);
    SetMaxCarry(100);
    SetMass(200);
    SetBaseCost("silver",10);
    SetDamagePoints(100);
    SetArmorType(A_PANTS);
    SetProtection(COLD, 1);
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571