tr_domination_adopt = {
	unlocks_agenda = agenda_civil_exclusion
	unlocks_agenda = agenda_confidence_in_variance
	unlocks_agenda = agenda_confidence_in_variance_btg
	modifier = {
		planet_jobs_worker_produces_mult = 0.1
		pop_cat_worker_political_power = 0.5
		pop_slave_political_power = -0.5
	}

	tradition_swap = {
		inherit_icon = yes
		inherit_name = yes
		trigger = {
			is_machine_empire = yes
		}
		modifier = {
			pop_amenities_usage_no_happiness_mult = -0.15
		}
		weight = {
			factor = 1
		}
	}
	
	tradition_swap = {
		inherit_icon = yes
		inherit_name = yes
		trigger = {
			is_hive_empire = yes
			is_wilderness_empire = no
		}
		modifier = {
			planet_jobs_worker_produces_mult = 0.05
			pop_amenities_usage_no_happiness_mult = -0.05
			planet_maintenance_drones_unity_produces_add = 0.5
		}
		weight = {
			factor = 1
		}
	}
	
	tradition_swap = {
		inherit_icon = yes
		inherit_name = yes
		trigger = {
			is_hive_empire = yes
			is_wilderness_empire = yes
		}
		modifier = {
			planet_jobs_worker_produces_mult = 0.1
		}
		weight = {
			factor = 1
		}
	}
}

tr_domination_finish = {
	modifier = {
		empire_size_pops_mult = -0.05
		empire_size_penalty_mult = -0.05
		ascension_perks_add = 1
	}

	tradition_swap = {
		name = tr_domination_federations_finish
		inherit_icon = yes
		inherit_name = yes
		custom_tooltip_with_modifiers = tr_domination_federations_finish_bt_desc
		trigger = {
			has_federations_dlc = yes
			is_wilderness_empire = no
		}
		modifier = {
			empire_size_pops_mult = -0.05
			empire_size_penalty_mult = -0.05
			ascension_perks_add = 1
		}
		weight = {
			factor = 1
		}
	}

	tradition_swap = {
		inherit_icon = yes
		name = tr_domination_federations_wilderness_finish
		inherit_effects = no
		custom_tooltip_with_modifiers = tr_domination_federations_finish_bt_desc
		trigger = {
			is_wilderness_empire = yes
			has_federations_dlc = yes
		}
		modifier = {
			empire_size_colonies_mult = -0.25
			ascension_perks_add = 1
			country_official_cap_add = 1
		}
	}

	tradition_swap = {
		inherit_icon = yes
		inherit_name = yes
		inherit_effects = no
		trigger = {
			is_wilderness_empire = yes
			has_federations_dlc = no
		}
		modifier = {
			empire_size_colonies_mult = -0.25
			ascension_perks_add = 1
			country_official_cap_add = 1
		}
	}
}

tr_domination_colonial_viceroys = {
	modifier = {
		country_traditions_influence_produces_add = 0.5
		official_initial_skill = 1
		country_official_cap_add = 1
	}

	tradition_swap = {
		name = tr_domination_colonial_viceroys_machine
		inherit_effects = yes
		inherit_icon = yes
		trigger = {
			is_machine_empire = yes
		}

		weight = {
			factor = 1
		}
	}

	tradition_swap = {
		name = tr_domination_colonial_viceroys_hive
		inherit_effects = yes
		inherit_icon = yes
		trigger = {
			is_hive_empire = yes
		}

		weight = {
			factor = 1
		}
	}

	ai_weight = {
		factor = 1000
	}
}

tr_domination_imperious_architecture = {
	custom_tooltip_with_modifiers = tr_domination_imperious_architecture_desc
		modifier = {
			pop_cat_ruler_bonus_workforce_mult = 0.05
		}
		
  	tradition_swap = {
		name = tr_domination_imperious_architecture_worker_coop
		custom_tooltip = tr_domination_imperious_architecture_worker_coop_desc
		inherit_icon = yes
		trigger = {
			is_worker_coop_empire = yes
		}
		weight = {
			factor = 1
		}
	}

	tradition_swap = {
		name = tr_domination_synaptic_extensions
		custom_tooltip_with_modifiers = tr_domination_synaptic_extensions_desc
		inherit_icon = yes
		modifier = {
			pop_synapse_drone_bonus_workforce_mult = 0.05
		}
		trigger = {
			is_hive_empire = yes
			is_wilderness_empire = no
		}
		weight = {
			factor = 1
		}
	}

	tradition_swap = {
		name = tr_domination_imperious_architecture_wilderness
		custom_tooltip_with_modifiers = tr_domination_imperious_architecture_wilderness_desc
		inherit_icon = yes
		trigger = {
			is_wilderness_empire = yes
		}
		modifier = {
			empire_size_districts_mult = -0.25
		}
		weight = {
			factor = 1
		}
	}

	tradition_swap = {
		name = tr_domination_modular_depot
		inherit_icon = yes
		trigger = {
			is_machine_empire = yes
		}
		modifier = {
			planet_districts_upkeep_mult = -0.1
			planet_districts_cost_mult = -0.1
		}
		weight = {
			factor = 1
		}
	}

	ai_weight = {
		factor = 10
	}
}

tr_domination_grand_council = {
	possible = {
		has_tradition = tr_domination_imperious_architecture
		has_tradition = tr_domination_colonial_viceroys
	}

	modifier = {
		councilor_exp_gain = 0.25
		country_edict_fund_add = 50
	}

	tradition_swap = {
		name = tr_domination_multi_thread
		inherit_effects = yes
		inherit_icon = yes
		trigger = {
			is_machine_empire = yes
		}
		weight = {
			factor = 1
		}
	}

	tradition_swap = {
		name = tr_domination_synaptic_network
		inherit_effects = yes
		inherit_icon = yes
		trigger = {
			is_hive_empire = yes
		}
		weight = {
			factor = 1
		}
	}

	ai_weight = {
		factor = 10
	}
}

tr_domination_judgment_corps = {

	custom_tooltip_with_modifiers = tr_domination_judgment_corps_desc
	modifier = {
		planet_enforcers_unity_produces_add = 1.5
		planet_enforcers_consumer_goods_upkeep_add = 0.15
	}

	tradition_swap = {
		name = tr_domination_trust_officers
		inherit_effects = yes
		inherit_icon = yes
		custom_tooltip = tr_domination_trust_officers_bt_desc
		trigger = {
			is_regular_empire = yes
			NOT = {
				has_valid_civic = civic_civil_education
			}
			OR = {
				is_egalitarian = yes
				AND = {
					is_authoritarian = no
					is_xenophobe = no
				}
			}
		}
		weight = {
			factor = 1
		}
	}
	
	tradition_swap = {
		name = tr_domination_trust_officers
		inherit_icon = yes
		custom_tooltip_with_modifiers = tr_domination_trust_officers_bt_desc
		trigger = {
			is_regular_empire = yes
			has_valid_civic = civic_civil_education
		}
		modifier = {
			planet_enforcers_produces_mult = 0.25
		}
		weight = {
			factor = 1
		}
	}

	# effect implemented in jobs file

	tradition_swap = {
		name = tr_domination_deviancy_protocols
		trigger = {
			is_machine_empire = yes
		}
		modifier = {
			planet_crime_no_happiness_add = -15
			planet_crime_no_happiness_mult = -0.05
		}
		weight = {
			factor = 1
		}
	}

	tradition_swap = {
		name = tr_domination_divergence_supression
		trigger = {
			is_hive_empire = yes
			is_wilderness_empire = no
		}
		modifier = {
			planet_crime_no_happiness_add = -15
			planet_crime_no_happiness_mult = -0.05
		}
		weight = {
			factor = 1
		}
	}
	
	tradition_swap = {
		name = tr_domination_divergence_supression
		trigger = {
			is_hive_empire = yes
			is_wilderness_empire = yes
		}
		modifier = {
			planet_pop_assemblers_unity_produces_add = 1.5
			planet_pop_assemblers_upkeep_mult = 0.15
		}
		weight = {
			factor = 1
		}
	}

	ai_weight = {
		factor = 10
	}
}

tr_domination_workplace_motivators = {
	possible = {
		has_tradition = tr_domination_judgment_corps
	}

	custom_tooltip_with_modifiers = tr_domination_workplace_motivators_desc
	modifier = {
		pop_cat_worker_bonus_workforce_mult = 0.05
		pop_slave_bonus_workforce_mult = 0.05
	}

	tradition_swap = {
		inherit_icon = yes
		inherit_name = yes
		trigger = {
			is_gestalt = no
			is_wilderness_empire = no
			has_valid_civic = civic_tankbound
		}
		modifier = {
			planet_automated_jobs_upkeep_mult = -0.05
			bonus_automated_workforce_mult = 0.05
		}
		weight = {
			factor = 1
		}
	}

	tradition_swap = {
		name = tr_domination_drone_network
		trigger = {
			is_gestalt = yes
			is_wilderness_empire = no
		}
		custom_tooltip_with_modifiers = tr_domination_drone_network_desc
		modifier = {
			pop_cat_simple_drone_bonus_workforce_mult = 0.05
			pop_slave_bonus_workforce_mult = 0.05
		}
		weight = {
			factor = 1
		}
	}

	tradition_swap = {
		name = tr_domination_wilderness_network
		inherit_effects = no
		inherit_icon = yes

		trigger = {
			is_gestalt = yes
			is_wilderness_empire = yes
		}
		custom_tooltip_with_modifiers = tr_domination_wilderness_network_effect
		modifier = {
			pop_cat_simple_drone_bonus_workforce_mult = 0.05
		}
	}

	ai_weight = {
		factor = 10
	}
}
