#################
# U7. Many Voices (multi-species empires)
# Once a year the empire counts its "voices": sapient species with full
# citizenship and at least 1,000 full-citizen pops (subspecies count with their
# parent species, 12 voices at most). Each voice gives research, unity and trade.
# Reaching 4, 8 and 12 voices gives permanent extras.
# Logic: events/apb_many_voices_events.txt
#################

ap_many_voices = {
	potential = {
		NOT = {
			has_ascension_perk = ap_many_voices
		}
		is_gestalt = no
		is_homicidal = no
	}
	possible = {
		custom_tooltip = {
			fail_text = "requires_ascension_perks_1"
			num_ascension_perks > 0
		}
	}
	on_enabled = {
		custom_tooltip = apb_many_voices_tt
		hidden_effect = {
			country_event = {
				id = apb_voices.2
			}
		}
	}
	ai_weight = {
		factor = 2
		modifier = {
			factor = 1.5
			is_xenophile = yes
		}
		modifier = {
			factor = 1.25
			is_egalitarian = yes
		}
		modifier = {
			factor = 0.25
			num_species < 3
		}
		modifier = {
			factor = 0
			is_xenophobe = yes
		}
	}
}
