tr_harmony_adopt = {
	unlocks_agenda = agenda_inner_stability
	triggered_modifier = {
		potential = {
			is_homicidal = no
		}
		planet_pops_upkeep_mult = -0.1
		refugee_attraction = 0.3	
	}
	triggered_modifier = {
		potential = {
			is_homicidal = yes
		}
		pop_cat_purge_bonus_workforce_mult = 0.25
		refugee_attraction = -0.5
	}
}

tr_harmony_finish = {
	modifier = {
		planetary_ascension_effect_mult = 0.2
		planetary_ascension_cost_mult = -0.1
		ascension_perks_add = 1
	}

	tradition_swap = {
		name = tr_harmony_federations_finish
		inherit_icon = yes
		inherit_name = yes
		custom_tooltip_with_modifiers = tr_harmony_federations_finish_desc1
		trigger = {
			has_federations_dlc = yes
		}
		modifier = {
			planetary_ascension_effect_mult = 0.2
			planetary_ascension_cost_mult = -0.1
			ascension_perks_add = 1
		}
		weight = {
			factor = 1
		}
	}
}

tr_harmony_the_greater_good = {
	modifier = {
		pop_government_ethic_attraction = 0.25
		pop_factions_produces_mult = 0.25
	}

	ai_weight = {
		factor = 1000
	}
}

tr_harmony_kinship = {
	possible = {
		has_tradition = tr_harmony_harmonious_directives
		has_tradition = tr_harmony_mind_and_body
	}
	modifier = {
		pop_happiness = 0.05
		empire_size_pops_mult = -0.05
	}

	tradition_swap = {
		name = tr_harmony_kinship_shared_burdens
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = {
			OR = {
				has_valid_civic = civic_shared_burden
				is_worker_coop_empire = yes
			}
		}
		modifier = {
			faction_approval = 0.05
			empire_size_pops_mult = -0.05
		}
		weight = {
			factor = 1
		}
	}


	ai_weight = {
		factor = 1000
	}
}

tr_harmony_utopian_dream = {
	possible = {
		has_tradition = tr_harmony_the_greater_good
	}

	modifier = {
		planet_stability_add = 2.5
		planet_jobs_unity_produces_mult = 0.05
	}

	ai_weight = {
		factor = 5000
	}
}

tr_harmony_harmonious_directives = {
	modifier = {
		country_edict_fund_add = 50
		pop_bureaucrat_bonus_workforce_mult = 0.05
	}

	ai_weight = {
		factor = 5000
	}
}

tr_harmony_mind_and_body = {

	modifier = {
		leader_lifespan_add = 15
		negative_traits_country = -1
	}

	tradition_swap = {
		name = tr_harmony_unity_of_self

		custom_tooltip = tr_harmony_unity_of_self_desc
		# gain unity per pop necrophaged

		trigger = {
			has_origin = origin_necrophage
		}
		weight = {
			factor = 2
		}
	}

	ai_weight = {
		factor = 1000
		modifier = {
			factor = 10
			has_origin = origin_necrophage
		}
	}
}
