tr_xit_biosecurity_adopt = {
	modifier = {
		category_biology_research_speed_mult = 0.10
		army_morale = 0.15
		planet_crime_add = -5
	}
}

tr_xit_biosecurity_finish = {
	modifier = {
		ascension_perks_add = 1
		planet_stability_add = 8
		planet_crime_add = -10
		army_defense_damage_mult = 0.35
		army_morale = 0.25
		country_society_research_produces_mult = 0.05
	}
}

tr_xit_biosecurity_quarantine_protocols = {
	possible = {
		has_tradition = tr_xit_biosecurity_planetary_screening
	}

	modifier = {
		planet_stability_add = 5
		planet_crime_add = -10
		planet_pops_upkeep_mult = -0.10
	}

	ai_weight = {
		factor = 1000
	}
}

tr_xit_biosecurity_planetary_screening = {
	modifier = {
		planet_biologists_produces_mult = 0.30
		biological_pop_happiness = 0.10
		planet_max_districts_add = 2
		district_generator_max_mult = 0.20
		district_mining_max_mult = 0.20
		district_farming_max_mult = 0.20
	}

	ai_weight = {
		factor = 1000
	}
}

tr_xit_biosecurity_sterile_logistics = {
	possible = {
		has_tradition = tr_xit_biosecurity_planetary_screening
	}

	modifier = {
		planet_pops_upkeep_mult = -0.10
		army_morale = 0.25
	}

	ai_weight = {
		factor = 1000
	}
}

tr_xit_biosecurity_rapid_purge_teams = {
	possible = {
		has_tradition = tr_xit_biosecurity_quarantine_protocols
		has_tradition = tr_xit_biosecurity_containment_labs
		has_tradition = tr_xit_biosecurity_sterile_logistics
	}

	modifier = {
		planet_army_build_speed_mult = 0.50
		armies_upkeep_mult = -0.20
		army_defense_damage_mult = 0.25
		army_morale = 0.20
	}

	ai_weight = {
		factor = 1000
	}
}

tr_xit_biosecurity_containment_labs = {
	possible = {
		has_tradition = tr_xit_biosecurity_planetary_screening
	}

	modifier = {
		country_society_research_produces_mult = 0.10
		category_biology_research_speed_mult = 0.10
		planet_stability_add = 5
		planet_crime_add = -10
	}

	ai_weight = {
		factor = 1000
	}
}

tr_xit_containment_command_adopt = {
	modifier = {
		army_morale = 0.40
	}
}

tr_xit_containment_command_finish = {
	modifier = {
		ascension_perks_add = 1
		army_defense_damage_mult = 0.35
		army_health = 0.20
		country_society_research_produces_mult = 0.05
	}
}

tr_xit_containment_quarantine_protocols = {
	possible = {
		has_tradition = tr_xit_containment_planetary_screening
	}

	modifier = {
		planet_stability_add = 5
		planet_crime_add = -10
		planet_pops_upkeep_mult = -0.10
	}

	ai_weight = {
		factor = 1000
	}
}

tr_xit_containment_planetary_screening = {
	modifier = {
		army_health = 0.30
	}

	ai_weight = {
		factor = 1000
	}
}

tr_xit_containment_orbital_cordon = {
	possible = {
		has_tradition = tr_xit_containment_research_labs
	}

	modifier = {
		planet_orbital_bombardment_damage = -0.30
		army_morale = 0.25
	}

	ai_weight = {
		factor = 1000
	}
}

tr_xit_containment_rapid_purge_teams = {
	possible = {
		has_tradition = tr_xit_containment_quarantine_protocols
	}

	modifier = {
		army_defense_damage_mult = 0.30
		planet_army_build_speed_mult = 0.20
	}

	ai_weight = {
		factor = 1000
	}
}

tr_xit_containment_research_labs = {
	possible = {
		has_tradition = tr_xit_containment_planetary_screening
	}

	modifier = {
		country_society_research_produces_mult = 0.10
		category_biology_research_speed_mult = 0.10
		ship_anomaly_research_speed_mult = 0.10
	}

	on_enabled = {
		add_research_option = tech_xit_xenomorph_biosecurity
	}

	ai_weight = {
		factor = 1000
	}
}
