#include "../def.h" inherit "std/armour"; #include #include #include create() { if( !is_clone(TO) ) return; ::create(); SetProp(P_SHORT, ""); SetProp(P_LONG, "." ); SetProp(P_INFO, BS(".") ); SetProp(P_NAME, ""); SetProp(P_GENDER, FEMALE); AddId( ({"", "", ""}) ); SetProp(P_ARMOUR_TYPE, AT_ ); SetProp(P_AC, ); SetProp(P_MATERIAL, ([ MAT_:, MAT_: ]) ); SetProp(P_WEIGHT, 0); SetProp(P_VALUE, 0); SetProp(P_NOBUY, 0); SetProp(P_QUALITY_DECAY, 100); SetProp(P_WEAR_FUNC, TO ); SetProp(P_REMOVE_FUNC, TO ); SetProp(P_DEFEND_FUNC, TO ); AddProp(P_DAM_PROTECTION, ([DT_:]) ); SetProp(P_WEAR_RESTRICTIONS, ([A_:]) ); } int WearFunc(object me) { return 1; } int RemoveFunc(object me) { return 1; } int DefendFunc (mixed dam_type, int spell, object enemy) { return 0; }