tr_est_philosophy_adopt = {
	modifier = {
		intel_encryption_add = 2
	}
}

tr_est_philosophy_finish = {
	modifier = {	
		country_influence_produces_mult = 0.20
		ascension_perks_add = 1
	}
}


tr_est_philosophy_1 = {
	modifier = {
		country_physics_tech_research_speed = 0.20
	}

}

tr_est_philosophy_2 = {
	possible = { has_tradition = tr_est_philosophy_1 }

	modifier = {
		ship_disengage_chance_mult = 0.33
	}

	ai_weight = { factor = 5000 }
}

tr_est_philosophy_3 = {
	custom_tooltip = tr_est_philosophy_3_desc

	possible = { has_tradition = tr_est_philosophy_1 }	

	on_enabled = {
		if = {
			limit = {
				any_war = {
					any_war_participant = {
						is_at_war_with = root
						Not = {
							has_ethic = ethic_gestalt_consciousness
						}							
					}
				}							
			}
			add_modifier = {
				modifier = "mod_est_philosophy_3"
				days = -1
			}			
		}		
	}
	
	tradition_swap = {
		custom_tooltip = tr_est_philosophy_3_no_dip_desc
	
		name = tr_est_philosophy_3_no_dip
		inherit_name = yes
		inherit_icon = yes
		trigger = {
			Or = {
				has_civic = civic_hive_devouring_swarm
				has_civic = civic_machine_terminator
			}
		}	
		on_enabled = {
			if = {
				limit = {
					any_war = {
						any_war_participant = {
							is_at_war_with = root
							Not = {
								has_ethic = ethic_gestalt_consciousness
							}							
						}
					}							
				}
				add_modifier = {
					modifier = "mod_est_philosophy_3_no_dip"
					days = -1
				}			
			}	
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

tr_est_philosophy_4 = {
	modifier = {
		country_unity_produces_mult = 0.10
	}

	ai_weight = { factor = 5000 }
}

tr_est_philosophy_5 = {
	possible = {
		has_tradition = tr_est_philosophy_3
		has_tradition = tr_est_philosophy_4
	}

	modifier = {
		job_spawning_drone_add = 1
	}

	tradition_swap = {
		name = tr_est_philosophy_5_machines
		inherit_name = yes
		trigger = { is_machine_empire = yes }	
		modifier = { 
			job_replicator_add = 1
		}
		weight = { factor = 1.0 }
	}

	ai_weight = { factor = 5000 }
}