tr_diplomacy_adopt = {
	unlocks_agenda = agenda_build_relations
	custom_tooltip_with_modifiers = tr_diplomacy_adopt_desc
	modifier = {
		diplomacy_influence_upkeep_mult = -0.5
		diplomacy_influence_cost_mult = -0.25
	}
}

tr_diplomacy_finish = {
	modifier = {
		federation_experience_add = 2
		diplo_weight_mult = 0.10
		country_official_cap_add = 1
		ascension_perks_add = 1
	}
}

tr_diplomacy_the_federation = {
#	custom_tooltip = tr_diplomacy_the_federation_desc

	modifier = {
		cohesion_add = 1
		envoys_add = 1
	}

	on_enabled = {
		if = {
			limit = {
				NOT = {
					has_technology = tech_federation_code
				}
			}
			add_tech_progress = {
				tech = tech_federation_code
				progress = 0.25
			}
		}
	}

	ai_weight = {
		factor = 10000
	}
}

tr_diplomacy_entente_coordination = {
	possible = {
		has_tradition = tr_diplomacy_the_federation
	}

	modifier = {
		federation_naval_cap_contribution_mult = 1.00
		country_border_friction_mult = -0.25
	}

	tradition_swap = {
		inherit_name = yes
		inherit_icon = yes
		trigger = {
			is_nomadic = yes
		}

		modifier = {
			federation_naval_cap_contribution_mult = 1.00
			nomadic_contract_value_mult = 0.25
		}

		weight = {
			factor = 1
		}
	}

	ai_weight = {
		factor = 1000
	}
}

tr_diplomacy_diplomatic_networking = {
	custom_tooltip = tr_diplomacy_diplomatic_networking_desc
	#Effects in diplomacy_economy

	tradition_swap = {
		name = tr_diplomacy_diplomatic_networking_gestalt
		inherit_effects = yes
		inherit_icon = yes
		trigger = {
			is_gestalt = yes
		}

		weight = {
			factor = 1
		}
	}

	ai_weight = {
		factor = 5000
	}
}

tr_diplomacy_direct_diplomacy = {
	possible = {
		has_tradition = tr_diplomacy_diplomatic_networking
	}

	modifier = {
		country_trust_cap_add = 50
		country_trust_growth = 0.33
	}

	ai_weight = {
		factor = 5000
	}
}

tr_diplomacy_eminent_diplomats = {
	possible = {
		has_tradition = tr_diplomacy_diplomatic_networking
	}

	custom_tooltip = tr_diplomacy_eminent_diplomats_desc

	modifier = {
		diplo_action_acceptance_add = 5
		# 2nd half is in action.325
	}

	tradition_swap = {
		name = tr_diplomacy_eminent_diplomats_gestalt
		inherit_effects = yes
		inherit_icon = yes
		trigger = {
			is_gestalt = yes
		}

		weight = {
			factor = 1
		}
	}

	ai_weight = {
		factor = 5000
	}
}
