tr_oeo_engineering_adopt = {
	unlocks_agenda = agenda_oeo_construction_boom
	custom_tooltip_with_modifiers = tr_oeo_engineering_adopt_desc
	modifier = {
		planet_building_build_speed_mult = 0.1
	}
}

tr_oeo_engineering_finish = {
	modifier = {
		megastructure_build_speed_mult = 0.1
		ascension_perks_add = 1
	}
}


tr_oeo_engineering_engineered_efficiency = {

	modifier = {
		megastructures_cost_mult = -0.10
		planet_structures_cost_mult = -0.10
	}

	ai_weight = {
		factor = 1000
	}
}

  
tr_oeo_engineering_mega_logistics = {
	
	possible = {
		has_tradition = tr_oeo_engineering_engineered_efficiency
	}
	
	modifier = {
		megastructures_upkeep_mult = -0.1
		planet_structures_upkeep_mult = -0.1
	}

	ai_weight = {
		factor = 1000
	}
}

tr_oeo_engineering_waste_not_want_not = {
	#custom_tooltip_with_modifiers = tr_oeo_engineering_waste_not_want_not_desc
	triggered_modifier = {
		megastructure_dismantle_refund_mult = 0.1
		planet_building_refund_mult = 0.1
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_oeo_engineering_terrestrial_ambitions = {
	modifier = {
		planet_building_capacity_add = 1
	}
	
	possible = {
		has_tradition = tr_oeo_engineering_waste_not_want_not
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_oeo_engineering_galactic_wonders = {
	
	possible = {
		has_tradition = tr_oeo_engineering_terrestrial_ambitions
		has_tradition = tr_oeo_engineering_mega_logistics
		custom_tooltip = {
			fail_text = "requires_mega_engineering"
			has_technology = tech_mega_engineering
		}
		custom_tooltip = {
			fail_text = "requires_built_or_repaired_megastructure"
			has_country_flag = has_built_or_repaired_megastructure
		}
	}
	on_enabled = {
		hidden_effect = {
			if = {
				limit = {
					NOT = { has_technology = tech_ring_world }
				}
				add_research_option = tech_ring_world
			}
			if = {
				limit = {
					NOT = { has_technology = tech_dyson_sphere }
				}
				add_research_option = tech_dyson_sphere
			}
			if = {
				limit = {
					NOT = { has_technology = tech_matter_decompressor }
				}
				add_research_option = tech_matter_decompressor
			}
		}
	}
	custom_tooltip_with_modifiers = tr_oeo_engineering_galactic_wonders_desc
	
	modifier = {
	}

	ai_weight = {
		factor = 1000
	}
}
