ring.c
ds2.10/lib/domains/campus/armor/ring.c · 516 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_ARMOR;
static void create(){
armor::create();
SetKeyName("gold_ring");
SetId(({"ring","gold ring"}));
SetAdjectives( ({"beautiful"}) );
SetShort("a beautiful gold ring");
SetLong("This is a simple but beautiful ring made of "+
"gold, suitable for wearing on one's finger.");
SetMass(1);
SetDollarCost(1000);
SetDamagePoints(100);
SetArmorType(A_RING);
}
void init(){
::init();
}