36 lines
960 B
C
36 lines
960 B
C
#include <lib.h>
|
|
#include <armor_types.h>
|
|
#include <damage_types.h>
|
|
inherit LIB_ARMOR;
|
|
|
|
static void create(){
|
|
armor::create();
|
|
SetKeyName("bearskin");
|
|
SetId(({"bearskin","bear skin"}));
|
|
SetAdjectives(({"thick","shaggy"}));
|
|
SetShort("a thick, shaggy bearskin");
|
|
SetLong("This is a thick bearskin which can be worn "+
|
|
"as armor. Unfortunately the hide "+
|
|
"has not been tanned, so it's rather "+
|
|
"foul-smelling.");
|
|
SetItems( ([
|
|
"hide" : "It is untanned and subject "+
|
|
"to natural decomposition."
|
|
]) );
|
|
SetSmell( ([ "default" : "It reeks of death." ]) );
|
|
SetMass(75);
|
|
SetBaseCost("silver",10);
|
|
SetProtection(BLADE,5);
|
|
SetProtection(KNIFE,5);
|
|
SetArmorType(A_CLOAK);
|
|
}
|
|
|
|
string GetAffectLong(object ob) {
|
|
if(!ob || !living(ob)) return 0;
|
|
return ob->GetName() + " reeks of death and decay.";
|
|
}
|
|
|
|
void init(){
|
|
::init();
|
|
}
|