###############################################
# Xenomorph Ascension Perks
###############################################

ap_xenomorph_apex_hostline_evolution = {
	potential = { is_xenomorph_tradition_empire = yes }
	possible = { has_tradition = tr_xenomorph_genetic_accumulation_finish }
	modifier = {
		species_trait_picks_add = 1
		trait_points = 2
		species_modification_cost_mult = -0.10
	}
}

ap_xenomorph_world_womb_doctrine = {
	potential = { is_xenomorph_tradition_empire = yes }
	possible = { has_tradition = tr_xenomorph_ovomorph_ascendancy_finish }
	modifier = {
		purge_processing_speed_mult = 0.25
		planet_pop_assembly_organic_mult = 0.15
	}
}

ap_xenomorph_hidden_hive_network = {
	potential = { is_xenomorph_tradition_empire = yes }
	possible = { has_tradition = tr_xenomorph_silent_infestation_finish }
	modifier = {
		spy_network_daily_value_mult = 0.25
		operation_skill_add = 2
	}
}

ap_xenomorph_royal_synaptic_dominion = {
	potential = { is_xenomorph_tradition_empire = yes }
	possible = { has_tradition = tr_xenomorph_royal_hierarchy_finish }
	modifier = {
		leader_starting_level_add = 1
		leader_upkeep_mult = -0.10
		job_xenomorph_queen_produces_mult = 0.15
		job_xenomorph_empress_produces_mult = 0.15
	}
}

ap_xenomorph_ecstatic_hive_ascendancy = {
	potential = {
		is_xenomorph_tradition_empire = yes
		is_xenomorph_sex_hive_civic = yes
	}
	possible = { has_tradition = tr_xenomorph_brood_ecstasy_finish }
	modifier = {
		job_xenomorph_broodmare_thrall_produces_mult = 0.25
		job_xenomorph_pit_plaything_produces_mult = 0.25
		planet_jobs_slave_produces_mult = 0.10
		pop_growth_speed = 0.10
	}
}

ap_xenomorph_voidbrood_parasitism = {
	potential = { is_xenomorph_tradition_empire = yes }
	possible = { has_xenomorph_genetic_and_ovomorph_traditions = yes }
	on_enabled = {
		set_country_flag = xenomorph_voidbrood_parasitism_perk_taken
		start_situation = { type = situation_xenomorph_voidbrood_adaptation }
	}
	modifier = {
		damage_vs_country_type_guardian_mult = 0.10
		society_research_speed = 0.05
	}
}

ap_xenomorph_draconic_parasitism = {
	potential = { is_xenomorph_tradition_empire = yes }
	possible = { can_unlock_xenomorph_draconic_path = yes }
	on_enabled = {
		set_country_flag = xenomorph_draconic_parasitism_perk_taken
		start_situation = { type = situation_xenomorph_dragon_genome_study }
	}
	modifier = {
		damage_vs_country_type_guardian_mult = 0.20
		army_damage_mult = 0.10
	}
}


# Praetorian Command Doctrine — unlocks Praetorian Command Warren construction.

# Void Reavers - unlocks SPACE capture: winning a space battle gives a chance to
# recover an enemy leader (and pops) from the wreckage. Requires Flesh Harvest.
ap_xenomorph_void_reavers = {
	potential = { is_xenomorph_tradition_empire = yes }
	possible = { has_tradition = tr_xenomorph_flesh_harvest_finish }
	modifier = {
		ship_weapon_damage = 0.10
		army_damage_mult = 0.10
	}
}
