
tr_discovery_adopt = {
	unlocks_agenda = agenda_chart_the_unknown
	custom_tooltip_with_modifiers = tr_discovery_adopt_desc1
	modifier = {
		planet_researchers_upkeep_mult = -0.1
		ship_anomaly_research_speed_mult = 0.2
	}
}

tr_discovery_finish = {
	modifier = {
		all_technology_research_speed = 0.10
		country_astral_rift_speed_mult = 0.2
		ascension_perks_add = 1
	}

	tradition_swap = {
		name = tr_discovery_federations_finish
		inherit_icon = yes
		inherit_name = yes
		custom_tooltip_with_modifiers = tr_discovery_federations_finish_bt_desc
		trigger = {
			has_federations_dlc = yes
		}
		modifier = {
			all_technology_research_speed = 0.10
			country_astral_rift_speed_mult = 0.2
			ascension_perks_add = 1
		}
		weight = {
			factor = 1
		}
	}
}

tr_discovery_to_boldly_go = {
	custom_tooltip_with_modifiers = tr_discovery_databank_uplinks_bt_desc
	modifier = {
		science_ship_survey_speed = 0.25
		ship_science_upkeep_mult = -0.5
		shipclass_science_ship_disengage_mult = 0.5
	}

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

		weight = {
			factor = 1
		}
	}

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

		weight = {
			factor = 1
		}
	}

	ai_weight = {
		factor = 5000	# AI should prefer this one first, more useful early
	}
}

tr_discovery_databank_uplinks = {
	possible = {
		has_tradition = tr_discovery_to_boldly_go
	}
													
	modifier = {
		station_researchers_produces_mult = 0.25
		starbase_constructions_physics_research_produces_mult = 0.25
		starbase_constructions_society_research_produces_mult = 0.25
		starbase_constructions_engineering_research_produces_mult = 0.25
	}
	tradition_swap = {
		name = tr_discovery_databank_uplinks_nomads
		inherit_icon = yes
		trigger = {
			is_nomadic = yes
		}
		modifier = {
			starbase_collected_system_physics_research_mult = 0.25
			starbase_collected_system_society_research_mult = 0.25
			starbase_collected_system_engineering_research_mult = 0.25
			planet_sensor_range_add = 2
		}

		weight = {
			factor = 1
		}
	}

	ai_weight = {
		factor = 5000
	}
}

tr_discovery_science_division = {
	modifier = {
		country_leader_pool_size = 1
		num_tech_alternatives_add = 1
		ship_astral_rift_clues_add = 1
	}

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

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

	ai_weight = {
		factor = 1000
	}
}

tr_discovery_polytechnic_education = {
	possible = {
		has_tradition = tr_discovery_science_division
	}

	modifier = {
		scientist_initial_skill = 1	
		country_scientist_cap_add = 1
		leader_scientists_upkeep_mult = -0.3
	}

 

	tradition_swap = {
		name = tr_discovery_polytechnic_education_machine
		inherit_effects = yes
		inherit_icon = yes
		trigger = {
			is_machine_empire = yes
		}
		modifier = {
			scientist_initial_skill = 1	
			country_scientist_cap_add = 1
			councilor_gestalt_cognitive_exp_gain = 0.3
		}
		weight = {
			factor = 1
		}
	}

	tradition_swap = {
		name = tr_discovery_polytechnic_education_hive
		inherit_effects = yes
		inherit_icon = yes
		trigger = {
			is_hive_empire = yes
		}
		modifier = {
			scientist_initial_skill = 1	
			country_scientist_cap_add = 1
			councilor_gestalt_cognitive_exp_gain = 0.3
		}
		weight = {
			factor = 1
		}
	}

	ai_weight = {
		factor = 5000
	}
}

tr_discovery_faith_in_science = {
	possible = {
		has_tradition = tr_discovery_polytechnic_education
	}

	custom_tooltip_with_modifiers = tr_discovery_faith_in_science_tt

	modifier = {
		planet_physicists_unity_produces_add = 0.2
		planet_biologists_unity_produces_add = 0.2
		planet_engineers_unity_produces_add = 0.2
	}
	
	triggered_modifier = {
		potential = {
			is_twisted_experimenters_empire = yes
		}
		planet_experiment_engineer_produces_mult = 0.20
	}

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

	tradition_swap = {
		name = tr_discovery_faith_in_science_hive
		inherit_effects = yes
		inherit_icon = yes
		trigger = {
			is_hive_empire = yes
			is_wilderness_empire = no
		}
		weight = {
			factor = 1
		}
	}

	tradition_swap = {
		name = tr_discovery_faith_in_science_wilderness
		inherit_effects = yes
		inherit_icon = yes
		trigger = {
			is_wilderness_empire = yes
		}
		weight = {
			factor = 1
		}
	}

	ai_weight = {
		factor = 5000
	}
}
