tr_est_nature_adopt = {
	unlocks_agenda = agenda_est_nature
	modifier = {
		country_society_tech_research_speed = 0.10
		category_biology_research_speed_mult = 0.10
	}
	
	tradition_swap = {
		name = tr_est_nature_adopt_hive
		trigger = { is_hive_empire = yes }	
		modifier = {	
			country_food_produces_mult = 0.15
		}
		weight = { factor = 1 }
	}
	
	tradition_swap = {
		name = tr_est_nature_adopt_machines
		trigger = { is_machine_empire = yes }	
		modifier = {	
			country_unity_produces_mult = 0.05
			planet_colony_development_speed_mult = 0.50
		}
		weight = { factor = 1 }
	}
}

tr_est_nature_finish = {
	custom_tooltip = tr_est_nature_finish_desc

	modifier = {	
		ascension_perks_add = 1
	}
	
	tradition_swap = {
		#Do not unlockd preservation
		name = tr_est_nature_finish_AI
		inherit_effects = no
		inherit_icon = yes
		inherit_name = yes
		trigger = {
			is_hive_empire = no
			is_machine_empire = no
			is_ai = yes
		}	
		modifier = {	
			country_unity_produces_mult = 0.15
			country_society_tech_research_speed = 0.05
			ascension_perks_add = 1
		}
		weight = { factor = 1 }
	}
	
	tradition_swap = {
		#Do not unlockd preservation
		name = tr_est_nature_finish_hive
		trigger = { is_hive_empire = yes }	
		modifier = {	
			country_society_tech_research_speed = 0.10
			category_biology_research_speed_mult = 0.15
			ascension_perks_add = 1
		}
		weight = { factor = 1 }
	}
	
	tradition_swap = {
		#Do not unlockd preservation
		name = tr_est_nature_finish_machines
		trigger = { is_machine_empire = yes }	
		modifier = {	
			country_society_tech_research_speed = 0.20
			ascension_perks_add = 1
		}
		weight = { factor = 1 }
	}
}


tr_est_nature_1 = {
	modifier = {
		pop_environment_tolerance = 0.10
	}
	
	tradition_swap = {
		name = tr_est_nature_1_GC
		trigger = {is_gestalt = yes }
		modifier = {	
			planet_jobs_upkeep_mult = -0.10
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

tr_est_nature_2 = {
	custom_tooltip = tr_est_nature_2_desc

	possible = { has_tradition = tr_est_nature_1 }

	on_enabled = {
		every_owned_planet = {
			planet_event = {
				id = est_nature.1
			}
		}
	}

	ai_weight = { factor = 5000 }
}

tr_est_nature_3 = {
	modifier = {
		planet_pops_food_upkeep_mult = -0.10
		pop_farmer_bonus_workforce_mult = 0.25
		# job_farmer_per_pop = 0.05
	}
	
	tradition_swap = {
		name = tr_est_nature_3_GC
		trigger = { is_gestalt = yes }	
		modifier = {
			deposit_blockers_cost_mult = -0.30
			planet_clear_blocker_speed_mult = 0.3
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

tr_est_nature_4 = {
	possible = {
		has_tradition = tr_est_nature_1
		has_tradition = tr_est_nature_3
	}
	
	modifier = {
		deposit_blockers_cost_mult = -0.30
		planet_clear_blocker_speed_mult = 0.3
	}
	
	tradition_swap = {
		name = tr_est_nature_4_hive
		trigger = {
			is_hive_empire = yes
		}	
		modifier = {	
			planet_max_districts_add = 1
		}
		weight = { factor = 1 }
	}
	
	tradition_swap = {
		custom_tooltip = tr_est_nature_4_machines_desc
	
		name = tr_est_nature_4_machines
		trigger = {
			is_machine_empire = yes
		}	
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

tr_est_nature_5 = {
	possible = { has_tradition = tr_est_nature_3 }
	
	modifier = {
		planet_pops_food_upkeep_mult = -0.05
		planet_pops_consumer_goods_upkeep_mult = -0.05
		pop_amenities_usage_mult = -0.05
		pop_housing_usage_mult = -0.05
	}
	
	tradition_swap = {
		custom_tooltip = tr_est_nature_5_GC_desc
	
		name = tr_est_nature_5_GC
		inherit_icon = yes
		trigger = {
			is_gestalt = yes
			is_ai = no
		}	
		weight = { factor = 1 }
	}
	
	tradition_swap = {
		#Do not unlockd preservation
		name = tr_est_nature_5_GC_AI
		inherit_icon = yes
		inherit_name = yes
		trigger = {
			is_gestalt = yes
			is_ai = yes
		}	
		modifier = {	
			country_unity_produces_mult = 0.15
			country_society_tech_research_speed = 0.05
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}