tr_xt_healthcare_adopt = {
	unlocks_agenda = agenda_xt_healthcare
	possible = {
		owner = {
			has_technology = "tech_genome_mapping"
		}
	}
	on_enabled = {
		custom_tooltip = tr_xt_healthcare_adopt_1
		hidden_effect = {
			country_event = { id = xt.4 }
		}
	}
	modifier = {
		leader_lifespan_mult = 0.1
	}
}

tr_xt_healthcare_finish = {
	modifier = {
		ascension_perks_add = 1
		planet_stability_add = 5
		pop_citizen_happiness = 0.1
		pop_amenities_usage_mult = -0.10
	}
}

tr_xt_healthcare_1 = {
	modifier = {
		planet_doctors_consumer_goods_upkeep_mult = -0.2
	}
}
tr_xt_healthcare_2 = {
	custom_tooltip = tr_xt_healthcare_2_effects
	on_enabled = {
		every_owned_leader = {
			limit = {
				NOR = { 
					has_trait = leader_trait_expertise_biology
					has_trait = leader_trait_expertise_biology_2
					has_trait = leader_trait_expertise_biology_3
				}
			}
			if = {
				limit = { leader_class = scientist }
				add_trait = leader_trait_expertise_biology
			}
		}
		every_pool_leader = {
			limit = {
				NOR = { 
					has_trait = leader_trait_expertise_biology
					has_trait = leader_trait_expertise_biology_2
					has_trait = leader_trait_expertise_biology_3
				}
			}
			if = {
				limit = { leader_class = scientist }
				add_trait = leader_trait_expertise_biology
			}
		}
	}
	modifier = {
		scientist_exp_gain = 0.1
	}
}
tr_xt_healthcare_3 = {
	modifier = {
		planet_doctors_unity_produces_add = 1
	}
	custom_tooltip = tr_xt_healthcare_3_effects
}
tr_xt_healthcare_4 = {
	possible = {
		owner = {
			and = {
				has_tradition = "tr_xt_healthcare_1"
				has_tradition = "tr_xt_healthcare_2"
			}
		}
	}
	custom_tooltip = tr_xt_healthcare_4_effects
}
tr_xt_healthcare_5 = {
	possible = {
		owner = {
			has_tradition = "tr_xt_healthcare_3"
		}
	}
	modifier = {
		job_healthcare_per_pop = 0.033
	}
}