tr_enmity_adopt = {
	custom_tooltip = tr_enmity_adopt_bt_desc
	unlocks_agenda = agenda_second_strike
	triggered_modifier = {
		potential = { always = yes }
		logistic_growth_mult = 0.05
		planet_pop_assembly_mult = 0.05
		mult = trigger:num_rivals
	}
	modifier = {
		first_contact_speed_mult = 0.5
	}

}

tr_enmity_finish = {
	custom_tooltip_with_modifiers = tr_enmity_finish_bt_desc
	modifier = {
		envoy_harm_relations_mult = 0.5
		ascension_perks_add = 1
	}
}

tr_enmity_rise_to_the_occasion = {
	custom_tooltip = tr_enmity_rise_to_the_occasion_bt_effect
	triggered_modifier = {
		potential = { always = yes }
		ruler_skill_add = 1
		leader_skill_add = 1
		country_leader_cap_add = 1
		mult = value:rise_to_the_occasion_value
	}
	ai_weight = { factor = 1 }
}

tr_enmity_consumate_contrarian = {
	possible = { has_tradition = tr_enmity_rise_to_the_occasion }
	ai_weight = { factor = 1 }
	modifier = {
		diplo_weight_opposing_mult = 0.5
		rivalries_influence_produces_mult = 0.5
	}
}
tr_enmity_match = {
	ai_weight = { factor = 1 }
	custom_tooltip = tr_enmity_match_bt_effect
	triggered_modifier = {
		potential = { is_rival_militarily_superior = yes }
		starbase_shipyard_build_speed_mult = 0.15
		starbase_shipyard_build_cost_mult = -0.05
	}
	triggered_modifier = {
		potential = { is_rival_technologically_superior = yes }
		planet_researchers_produces_mult = 0.1
		planet_building_research_lab_1_build_speed_mult = 1
		planet_building_research_lab_2_build_speed_mult = 1
		planet_building_research_lab_3_build_speed_mult = 1
	}
	triggered_modifier = {
		potential = { is_rival_economically_superior = yes }
		planet_jobs_worker_produces_mult = 0.1
		planet_jobs_simple_drone_produces_mult = 0.1
		planet_traders_produces_mult = 0.1
	}
	triggered_modifier = {
		potential = { is_rival_militarily_superior = no }
		country_power_projection_influence_produces_add = 0.5
		army_morale_damage_mult = 0.25
		army_morale = 0.25
	}
	triggered_modifier = {
		potential = { is_rival_technologically_superior = no }
		planet_researchers_upkeep_mult = -0.1
	}
	triggered_modifier = {
		potential = { is_rival_economically_superior = no }
		planet_jobs_unity_produces_mult = 0.1
	}
}

tr_enmity_outpace = {
	possible = { has_tradition = tr_enmity_match }
	ai_weight = { factor = 1 }
	modifier = {
		damage_vs_rival_mult = 0.15
		damage_vs_superior_empires_mult = 0.15
		ship_weapon_damage = 0.05
	}
}

tr_enmity_eclipse = {
	possible = { has_tradition = tr_enmity_outpace }
	ai_weight = { factor = 1 }
	custom_tooltip_with_modifiers = tr_enmity_eclipse_bt_effect
}
