33 lines
891 B
C
33 lines
891 B
C
/* This is kind of broken, sorry. Will maybe fix someday. */
|
|
|
|
#include <lib.h>
|
|
#include <armor_types.h>
|
|
#include <damage_types.h>
|
|
inherit LIB_ARMOR;
|
|
|
|
static void create(){
|
|
armor::create();
|
|
SetKeyName("a green cloak");
|
|
SetId(({"cloak"}));
|
|
SetAdjectives(({"green","elven"}));
|
|
SetShort("a green cloak");
|
|
SetLong("This is a cloak of elven design, green in color, with an attached hood. "
|
|
"One may \"wear hood on cloak\" with it, probably.");
|
|
SetMass(200);
|
|
SetBaseCost("silver",500);
|
|
SetDamagePoints(100);
|
|
SetProtection(BLADE,10);
|
|
SetProtection(KNIFE,10);
|
|
SetArmorType(A_CLOAK);
|
|
//AddItem(new("/domains/town/obj/cloak_hood"));
|
|
}
|
|
|
|
void init(){
|
|
::init();
|
|
}
|
|
|
|
//The following are necessary in order to be
|
|
//able to see and manipulate the dummy object
|
|
mixed inventory_visible(){ return 1; }
|
|
mixed inventory_accessible(){ return 1; }
|