@ap_genetic_opener_POINTS = 2
@ap_genetic_finisher_POINTS = 2

tr_genetics_adopt = {
	possible = {
		has_ascension_perk = ap_engineered_evolution
		has_technology = tech_gene_tailoring
	}
	on_enabled = {
		hidden_effect = {
			country_event = { id = utopia.2700 }
		}
	}
	unlocks_agenda = agenda_genetic_pursuit
	custom_tooltip = tr_genetics_adopt_modifier_desc
	modifier = {
	}
	# Unlocks Clone Vats
}

tr_genetics_finish = {
	on_enabled = {
		hidden_effect = {
			country_event = { id = utopia.2703 }
			luminary_speech_effect = yes
		}
	}
	modifier = {
		planet_buildings_clone_vats_upkeep_mult = -0.33
		ascension_perks_add = 1
	}

	tradition_swap = {
		name = tr_genetics_finish_extra_traits
		inherit_icon = yes
		inherit_name = yes
		trigger = {
			has_genetic_dlc = yes
		}

		on_enabled = {
			hidden_effect = {
				country_event = { id = utopia.2703 }
			}
		}
		custom_tooltip = tr_genetics_finish_extra_traits_modifier_desc
		modifier = {
			planet_buildings_clone_vats_upkeep_mult = -0.33
			ascension_perks_add = 1
		}
	}
}

tr_genetics_resequencing = {
	# Can add negative traits to organic species.
	# Can remove beneficial traits from organic species.
	custom_tooltip = tr_genetics_resequencing_desc
}

tr_genetics_creation = {
	possible = {
		has_tradition = tr_genetics_resequencing
	}
	# Can alter organic pop appearance within the same archtype
	# Unlocks Assimilation to add or remove the Hive-Minded trait.
	custom_tooltip_with_modifiers = tr_genetics_creation_desc
}

tr_genetics_enhanced_expression = {
	possible = {
		has_tradition = tr_genetics_creation
	}
	# Unlocks Advanced Traits
	modifier = {
		BIOLOGICAL_species_trait_points_add = 6
		BIOLOGICAL_species_trait_picks_add = 2
		modify_species_cost_mult = -0.50
	}
	custom_tooltip_with_modifiers = tr_genetics_enhanced_expression_desc
}

tr_genetics_retrovirus = {
	modifier = {
		pop_environment_tolerance = 0.10
	}
}

tr_genetics_efficient_cloning = {
	possible = {
		has_tradition = tr_genetics_retrovirus
	}
	# Improved Organic Pop Assembly from Clone Vats
	custom_tooltip = tr_genetics_efficient_cloning_desc
}
