void ai_traits_init(struct player *pplayer)
Initialize ai traits for player.
int ai_trait_get_value(enum trait tr, struct player *pplayer)
Get current value of player trait.
void ai_traits_close(struct player *pplayer)
Free resources associated with player ai traits.