#pragma once #include "h-basic.h" /** * Abilities. */ struct ability_type { const char *name; /* Name */ char *desc; /* Description */ const char *action_desc; /* Action Description */ s16b action_mkey; /* Action do to */ s16b cost; /* Skill points cost */ bool_ acquired; /* Do the player actualylg ot it ? */ /* Prereqs */ s16b skills[10]; /* List of prereq skills(10 max) */ s16b skill_levels[10]; /* List of prereq skills(10 max) */ s16b stat[6]; /* List of prereq stats */ s16b need_abilities[10]; /* List of prereq abilities(10 max) */ s16b forbid_abilities[10]; /* List of forbidden abilities(10 max) */ };