X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fobject-hook.h;fp=src%2Fobject-hook.h;h=9e7ca50916df0a551c62fb38861879c62479ce0f;hb=66507d4854d1abf966f9aa0f5e2dd419d67be366;hp=b67ef391013cc3275cf01a757f041aa0e372153b;hpb=42bc9dc48b029c39ff4348528d1a70db1557ed23;p=hengband%2Fhengband.git diff --git a/src/object-hook.h b/src/object-hook.h index b67ef3910..9e7ca5091 100644 --- a/src/object-hook.h +++ b/src/object-hook.h @@ -26,3 +26,24 @@ extern bool item_tester_hook_recharge(object_type *o_ptr); extern bool item_tester_learn_spell(object_type *o_ptr); extern bool item_tester_high_level_book(object_type *o_ptr); extern bool item_tester_refill_lantern(object_type *o_ptr); + +extern bool object_is_potion(object_type *o_ptr); +extern bool object_is_shoukinkubi(object_type *o_ptr); +extern bool object_is_favorite(object_type *o_ptr); +extern bool object_is_rare(object_type *o_ptr); +extern bool object_is_weapon(object_type *o_ptr); +extern bool object_is_weapon_ammo(object_type *o_ptr); +extern bool object_is_ammo(object_type *o_ptr); +extern bool object_is_armour(object_type *o_ptr); +extern bool object_is_weapon_armour_ammo(object_type *o_ptr); +extern bool object_is_melee_weapon(object_type *o_ptr); +extern bool object_is_wearable(object_type *o_ptr); +extern bool object_is_equipment(object_type *o_ptr); +extern bool object_refuse_enchant_weapon(object_type *o_ptr); +extern bool object_allow_enchant_weapon(object_type *o_ptr); +extern bool object_allow_enchant_melee_weapon(object_type *o_ptr); +extern bool object_is_smith(object_type *o_ptr); +extern bool object_is_artifact(object_type *o_ptr); +extern bool object_is_random_artifact(object_type *o_ptr); +extern bool object_is_nameless(object_type *o_ptr); +extern bool object_allow_two_hands_wielding(object_type *o_ptr); \ No newline at end of file