tr_harmony_adopt = {
	unlocks_agenda = agenda_inner_stability
	modifier = {
		planet_pops_upkeep_mult = -0.10
	}
}

tr_harmony_finish = {
	modifier = {
		planetary_ascension_effect_mult = 0.25
		ascension_perks_add = 1
	}

	tradition_swap = {
		name = tr_harmony_federations_finish
		inherit_icon = yes
		inherit_name = yes
		custom_tooltip = tr_harmony_federations_finish_desc
		trigger = {
			has_federations_dlc = yes
		}
		modifier = {
			planetary_ascension_effect_mult = 0.25
			ascension_perks_add = 1
		}
		weight = {
			factor = 1
		}
	}
}

tr_harmony_the_greater_good = {
	modifier = {
		pop_government_ethic_attraction = 0.25
		planet_crime_add = -10
	}

	ai_weight = {
		factor = 1000
	}
}

tr_harmony_kinship = {

	modifier = {
		empire_size_pops_mult = -0.05
		refugee_attraction = 0.20
	}

	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 = {
			leaders_upkeep_mult = -0.20
			empire_size_pops_mult = -0.05
			refugee_attraction = 0.20
		}
		weight = {
			factor = 1
		}
	}


	ai_weight = {
		factor = 1000
	}
}

tr_harmony_utopian_dream = {
	possible = {
		has_tradition = tr_harmony_the_greater_good
	}

	modifier = {
		planet_stability_add = 3
		planetary_ascension_cost_mult = -0.1
	}

	ai_weight = {
		factor = 5000
	}
}

tr_harmony_harmonious_directives = {
	possible = {
		has_tradition = tr_harmony_kinship
		has_tradition = tr_harmony_mind_and_body
	}

	modifier = {
		country_edict_fund_add = 50
	}

	ai_weight = {
		factor = 5000
	}
}

tr_harmony_mind_and_body = {

	modifier = {
		leader_lifespan_add = 10
		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
		}
	}
}
