xit_is_xenomorph_safe_owner = {
	OR = {
		is_xenomorph_empire = yes
		is_xeno_captor_empire = yes
	}
}

xit_can_receive_perfect_host_cycle_seed = {
	OR = {
		is_colony = yes
		is_colonizable = yes
	}
	NOT = { has_carrier_flag = xit_recent_perfect_host_cycle_seed }
	NOT = { has_modifier = xit_xenomorph_infestation }
	NOT = { has_modifier = xit_xenomorph_outbreak }
	NOT = { has_modifier = xit_xenomorph_overrun }
	NOT = { has_modifier = xit_xenomorph_terminal_collapse }
	NOT = { has_deposit = d_xit_dormant_ovomorph_cluster }
	NOT = { has_deposit = d_feral_xenomorphs }
	NOT = { has_deposit = d_pacified_xenomorphs }
	NOT = { has_deposit = d_xenomorph_remains }
}

xit_biosecurity_science_tier_1 = {
	has_ascension_perk = ap_xit_extragalactic_biosecurity_mandate
	count_owned_leader = {
		count >= 5
		limit = { leader_class = scientist }
	}
	has_monthly_income = { resource = society_research value >= 500 }
}

xit_biosecurity_science_tier_2 = {
	has_ascension_perk = ap_xit_extragalactic_biosecurity_mandate
	count_owned_leader = {
		count >= 8
		limit = { leader_class = scientist }
	}
	has_monthly_income = { resource = society_research value >= 1000 }
}

xit_biosecurity_science_tier_3 = {
	has_ascension_perk = ap_xit_extragalactic_biosecurity_mandate
	count_owned_leader = {
		count >= 12
		limit = { leader_class = scientist }
	}
	has_monthly_income = { resource = society_research value >= 2000 }
}
