const bitType wear_bit_list[] = { {0, 0 }, {"head", WEAR_HEAD }, {"neck", WEAR_NECK }, {"back", WEAR_BACK }, {"body", WEAR_BODY }, {"arms", WEAR_ARMS }, {"wrist", WEAR_WRIST }, {"hands", WEAR_HANDS }, {"held", WEAR_HOLD }, {"finger", WEAR_FINGER }, {"waist", WEAR_WAIST }, {"legs", WEAR_LEGS }, {"feet", WEAR_FEET }, {"shield", WEAR_SHIELD }, {"wield", WEAR_WIELD }, {0, 0} }; const bitType obj_bit_list[] = { {0, 0 }, {"invisible", OBJ_INVISIBLE }, {"hidden", OBJ_HIDDEN }, {"notake", OBJ_NOTAKE }, {"nodrop", OBJ_NODROP }, {"edible", OBJ_EDIBLE }, {"nosave", OBJ_NOSAVE }, {"good", OBJ_GOOD }, {"evil", OBJ_EVIL }, {"antigood", OBJ_ANTIGOOD }, {"antievil", OBJ_ANTIEVIL }, {"antineutral", OBJ_ANTINEUTRAL }, {"magic", OBJ_MAGIC }, {"glow", OBJ_GLOW }, {"sanctuary", OBJ_SANCTUARY }, {"poisoned", OBJ_POISONED }, {0, 0 } }; const bitType obj_type_list[] = { {0, 0 }, {"trash", ITEM_TRASH }, {"jewel", ITEM_JEWEL }, {"gold", ITEM_GOLD }, {"container", ITEM_CONTAINER }, {"liquid-container",ITEM_LIQUID_CONTAINER }, {"armor", ITEM_ARMOR }, {"cloth", ITEM_CLOTH }, {"weapon", ITEM_WEAPON }, {"staff", ITEM_STAFF }, {"wand", ITEM_WAND }, {"orb", ITEM_ORB }, {"corpse", ITEM_CORPSE }, {"energy", ITEM_ENERGY }, {"scroll", ITEM_SCROLL }, {"potion", ITEM_POTION }, {"food", ITEM_FOOD }, {"key", ITEM_KEY }, {"staff", ITEM_STAFF }, {0, 0 } }; const bitType dam_types[] = { {0, 0 }, {"punch", PUNCH }, {"kick", KICK }, {"crush", CRUSH }, {"pierce", PIERCE }, {"slash", SLASH }, {"whip", WHIP }, {"claw", CLAW }, {0, 0 } };