#@cost = 56

tr_plentiful_endure_adopt = {
#	cost = { unity = @cost }
	possible = {
	#	always = no
	}
	modifier = {
		pop_environment_tolerance = 0.05
	}
	
	ai_weight = {
		factor = 0.01
		modifier = {
			factor = 1
			has_ethic = ethic_authoritarian
		}
		modifier = {
			factor = 2
			has_ethic = ethic_fanatic_authoritarian
		}
		modifier = {
			factor = 2
			has_ethic = ethic_militarist
		}
		modifier = {
			factor = 3
			has_ethic = ethic_fanatic_militarist
		}
	}
}

tr_plentiful_endure_finish = {
#	on_enabled = {
#		give_technology = { message = no tech = tech_plentiful_traditions_endure_finish }
#	}
	modifier = {
		pc_nuked_habitability = 0.10
		ascension_perks_add = 1
	}
}

tr_plentiful_endure_1 = {
#	cost = { unity = @cost }
	modifier = {
		country_unity_produces_mult = 0.05
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_endure_2 = {
#	cost = { unity = @cost }
	possible = {
		has_tradition = tr_plentiful_endure_1
	}
	modifier = {
		country_war_exhaustion_mult = -0.25
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_endure_3 = {
#	cost = { unity = @cost }
	possible = {
		has_tradition = tr_plentiful_endure_4
	}
	on_enabled = {
		add_research_option = tech_dark_matter_power_core
		give_technology = { message = no tech = tech_plentiful_traditions_orbital_fertilizer_array }
	}
	
	modifier = {
		#fallen-empire-tech
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_endure_4 = {
#	cost = { unity = @cost }
	modifier = {
		planet_jobs_slave_produces_mult = 0.2
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_endure_5 = {
#	cost = { unity = @cost }
	possible = {
		has_tradition = tr_plentiful_endure_3
	}
	modifier = {
		megastructure_build_speed_mult = 0.25
		country_megastructure_build_cap_add = 1
	}
	
	ai_weight = {
		factor = 1000
	}
}