custom_tooltip = tr_genetic_stage_3_swap_tt

# Purity Swap
tradition_swap = {
	name = tr_genetic_stage_3_purity_swap
	inherit_name = no
	inherit_icon = no
	trigger = {
		has_country_flag = genetic_ascension_stage_3_purity
		is_xenophile = no
		is_wilderness_empire = no
	}

	inline_script = {
		script = traditions/tr_purity_imperfection_remediation
	}

	weight = {
		factor = 1
	}
}

tradition_swap = {
	name = tr_purity_imperfection_remediation_xenophile
	inherit_name = no
	inherit_icon = no
	trigger = {
		has_country_flag = genetic_ascension_stage_3_purity
		is_xenophile = yes
	}

	inline_script = {
		script = traditions/tr_purity_imperfection_remediation_xenophile
	}

	weight = {
		factor = 1
	}
}

# Wilderness Swap
tradition_swap = {
	name = tr_purity_imperfection_remediation_wilderness
	inherit_name = no
	inherit_icon = no
	trigger = {
		is_wilderness_empire = yes
	}
	inline_script = {
		script = traditions/tr_purity_imperfection_remediation_wilderness
	}
	weight = {
		factor = 1
	}
}

# Cloning Swap
tradition_swap = {
	name = tr_genetic_stage_3_cloning_swap
	inherit_name = no
	inherit_icon = no
	trigger = {
		has_country_flag = genetic_ascension_stage_3_cloning
		NOT = {
			has_country_flag = clone_army_full_potential
		}
	}

	inline_script = {
		script = traditions/tr_cloning_artificial_population
	}
	weight = {
		factor = 1
	}
}

# Clone Army Swap
tradition_swap = {
	name = tr_cloning_artificial_population_clone_army
	inherit_name = no
	inherit_icon = no
	trigger = {
		has_country_flag = clone_army_full_potential
	}
	custom_tooltip_with_modifiers = tr_cloning_artificial_population_clone_army_tt
	modifier = {
		pop_government_ethic_attraction = 0.50
	}
	weight = {
		factor = 1
	}
}

# Mutation Swap
tradition_swap = {
	name = tr_genetic_stage_3_mutation_swap
	inherit_name = no
	inherit_icon = no
	trigger = {
		has_country_flag = genetic_ascension_stage_3_mutation
		NOT = {
			has_origin = origin_evolutionary_predators
		}
	}

	inline_script = {
		script = traditions/tr_mutation_nucleotide_isolation
	}
	weight = {
		factor = 1
	}
}

# Evo Pred Swap
tradition_swap = {
	name = tr_mutation_nucleotide_isolation_evo_pred
	inherit_name = no
	inherit_icon = no
	trigger = {
		has_origin = origin_evolutionary_predators
	}
	custom_tooltip = tr_mutation_nucleotide_isolation_evo_pred_tt
	modifier = {

	}
	weight = {
		factor = 1
	}
}
