3 #include "system/angband.h"
5 #define MAX_VIRTUE 18 /*!< 徳定義の最大数 */
21 #define V_TEMPERANCE 15
22 #define V_DILIGENCE 16
24 #define V_INDIVIDUALISM 18
26 #define VIRTUE_LARGE 1
27 #define VIRTUE_SMALL 2
29 bool compare_virtue(player_type *creature_ptr, int type, int num, int tekitou);
30 int virtue_number(player_type *creature_ptr, int type);
31 concptr virtue[MAX_VIRTUE];
32 void get_virtues(player_type *creature_ptr);
33 void chg_virtue(player_type *creature_ptr, int virtue, int amount);
34 void set_virtue(player_type *creature_ptr, int virtue, int amount);
35 void dump_virtues(player_type *creature_ptr, FILE *OutFile);