#pragma once

#include "object/tval-types.h"
#include "system/angband.h"

bool kind_is_cloak(KIND_OBJECT_IDX k_idx);
bool kind_is_polearm(KIND_OBJECT_IDX k_idx);
bool kind_is_sword(KIND_OBJECT_IDX k_idx);
bool kind_is_book(KIND_OBJECT_IDX k_idx);
bool kind_is_good_book(KIND_OBJECT_IDX k_idx);
bool kind_is_armor(KIND_OBJECT_IDX k_idx);
bool kind_is_hafted(KIND_OBJECT_IDX k_idx);
bool kind_is_potion(KIND_OBJECT_IDX k_idx);
bool kind_is_good(KIND_OBJECT_IDX k_idx);

IDX lookup_kind(tval_type tval, OBJECT_SUBTYPE_VALUE sval);
