###############################################
# === xeno_flavor_tradition_category_decadent_court.txt ===
###############################################
###############################################
# FLAVOURFUL TRADITION CATEGORY - Decadent Court
###############################################

xeno_tradcat_decadent_court = {
	tree_template = "tree_12_11"
	adoption_bonus = "tradition_xeno_decadent_court"
	finish_bonus  = "tr_xeno_decadent_court_finish"
	traditions = {
		"tr_xeno_decadent_court_courtly_allure"
		"tr_xeno_decadent_court_velvet_tongues"
		"tr_xeno_decadent_court_seductive_envoys"
		"tr_xeno_decadent_court_decadent_feasts"
		"tr_xeno_decadent_court_intimate_accords"
	}
	potential = { is_gestalt = no }
	ai_weight = { factor = 10 }
}

###############################################
# === xenomorph_tradition_category_brood_ecstasy.txt ===
###############################################
###############################################
# Xenomorph Tradition Categories
#
# FIX 2026-05: Each category key MUST be different from its adoption
# tradition pick. Previously both used the same key
# (e.g. tradition_xenomorph_brood_ecstasy was both the category and
# its adoption pick). Stellaris silently hides any tree where these
# collide, which is why the Xenomorph traditions never appeared in
# the in-game Traditions menu.
#
# Pattern below mirrors Lustful Void's tradition_categories where
# the category key (xeno_tradcat_*) is distinct from the adoption
# pick key (tradition_xenomorph_*). The adoption pick already exists
# in common/traditions/xenomorph_traditions.txt and is unchanged.
###############################################

xeno_tradcat_brood_ecstasy = {
	tree_template = "tree_12_11"
	adoption_bonus = "tradition_xenomorph_brood_ecstasy"
	finish_bonus  = "tr_xenomorph_brood_ecstasy_finish"
	traditions = {
		"tr_xenomorph_brood_ecstasy_willing_flesh"
		"tr_xenomorph_brood_ecstasy_royal_breeding_pits"
		"tr_xenomorph_brood_ecstasy_scent_conditioning"
		"tr_xenomorph_brood_ecstasy_ecstatic_submission"
		"tr_xenomorph_brood_ecstasy_rapturous_swarms"
	}
	potential = {
		is_xenomorph_tradition_empire = yes
		is_xenomorph_sex_hive_civic   = yes
	}
	ai_weight = {
		factor = 12
		modifier = { factor = 1.5  has_civic = civic_xenomorph_matriarchs_hunger }
		modifier = { factor = 1.5  has_civic = civic_xenomorph_patriarchs_dominion }
	}
}

###############################################
# === xenomorph_tradition_category_draconic_parasitism.txt ===
###############################################
###############################################
# Xenomorph Tradition Categories
#
# FIX 2026-05: Each category key MUST be different from its adoption
# tradition pick. Previously both used the same key
# (e.g. tradition_xenomorph_brood_ecstasy was both the category and
# its adoption pick). Stellaris silently hides any tree where these
# collide, which is why the Xenomorph traditions never appeared in
# the in-game Traditions menu.
#
# Pattern below mirrors Lustful Void's tradition_categories where
# the category key (xeno_tradcat_*) is distinct from the adoption
# pick key (tradition_xenomorph_*). The adoption pick already exists
# in common/traditions/xenomorph_traditions.txt and is unchanged.
###############################################

xeno_tradcat_draconic_parasitism = {
	tree_template = "tree_12_11"
	adoption_bonus = "tradition_xenomorph_draconic_parasitism"
	finish_bonus  = "tr_xenomorph_draconic_parasitism_finish"
	traditions = {
		"tr_xenomorph_draconic_parasitism_drake_carapace"
		"tr_xenomorph_draconic_parasitism_leviathan_acid"
		"tr_xenomorph_draconic_parasitism_royal_imprint"
		"tr_xenomorph_draconic_parasitism_apex_gestation"
		"tr_xenomorph_draconic_parasitism_wyrm_broodlords"
	}
	potential = {
		is_xenomorph_tradition_empire        = yes
		has_ascension_perk                   = ap_xenomorph_draconic_parasitism
		has_country_flag                     = xenomorph_dragon_genome_study_complete
	}
	ai_weight = { factor = 10 }
}

###############################################
# === xenomorph_tradition_category_flesh_harvest.txt ===
###############################################
###############################################
# Xenomorph Tradition Categories - Flesh Harvest
#
# Category key (xeno_tradcat_*) MUST differ from the adoption pick key
# (tradition_xenomorph_*), or Stellaris silently hides the tree.
###############################################

xeno_tradcat_flesh_harvest = {
	tree_template = "tree_12_11"
	adoption_bonus = "tradition_xenomorph_flesh_harvest"
	finish_bonus  = "tr_xenomorph_flesh_harvest_finish"
	traditions = {
		"tr_xenomorph_flesh_harvest_harvest_protocols"
		"tr_xenomorph_flesh_harvest_resilient_stock"
		"tr_xenomorph_flesh_harvest_invasive_conditioning"
		"tr_xenomorph_flesh_harvest_expanded_pens"
		"tr_xenomorph_flesh_harvest_predation_instinct"
	}
	potential = {
		is_xenomorph_tradition_empire = yes
	}
	ai_weight = {
		factor = 12
	}
}

###############################################
# === xenomorph_tradition_category_genetic_accumulation.txt ===
###############################################
###############################################
# Xenomorph Tradition Categories
#
# FIX 2026-05: Each category key MUST be different from its adoption
# tradition pick. Previously both used the same key
# (e.g. tradition_xenomorph_brood_ecstasy was both the category and
# its adoption pick). Stellaris silently hides any tree where these
# collide, which is why the Xenomorph traditions never appeared in
# the in-game Traditions menu.
#
# Pattern below mirrors Lustful Void's tradition_categories where
# the category key (xeno_tradcat_*) is distinct from the adoption
# pick key (tradition_xenomorph_*). The adoption pick already exists
# in common/traditions/xenomorph_traditions.txt and is unchanged.
###############################################

xeno_tradcat_genetic_accumulation = {
	tree_template = "tree_12_11"
	adoption_bonus = "tradition_xenomorph_genetic_accumulation"
	finish_bonus  = "tr_xenomorph_genetic_accumulation_finish"
	traditions = {
		"tr_xenomorph_genetic_accumulation_hostline_catalogues"
		"tr_xenomorph_genetic_accumulation_predatory_inheritance"
		"tr_xenomorph_genetic_accumulation_stabilized_mutations"
		"tr_xenomorph_genetic_accumulation_apex_adaptation"
		"tr_xenomorph_genetic_accumulation_spliced_lineages"
	}
	potential = { is_xenomorph_tradition_empire = yes }
	ai_weight = {
		factor = 10
		modifier = { factor = 1.5  has_ascension_perk = ap_xenomorph_apex_hostline_evolution }
	}
}

###############################################
# === xenomorph_tradition_category_ovomorph_ascendancy.txt ===
###############################################
###############################################
# Xenomorph Tradition Categories
#
# FIX 2026-05: Each category key MUST be different from its adoption
# tradition pick. Previously both used the same key
# (e.g. tradition_xenomorph_brood_ecstasy was both the category and
# its adoption pick). Stellaris silently hides any tree where these
# collide, which is why the Xenomorph traditions never appeared in
# the in-game Traditions menu.
#
# Pattern below mirrors Lustful Void's tradition_categories where
# the category key (xeno_tradcat_*) is distinct from the adoption
# pick key (tradition_xenomorph_*). The adoption pick already exists
# in common/traditions/xenomorph_traditions.txt and is unchanged.
###############################################

xeno_tradcat_ovomorph_ascendancy = {
	tree_template = "tree_12_11"
	adoption_bonus = "tradition_xenomorph_ovomorph_ascendancy"
	finish_bonus  = "tr_xenomorph_ovomorph_ascendancy_finish"
	traditions = {
		"tr_xenomorph_ovomorph_ascendancy_implantation_chambers"
		"tr_xenomorph_ovomorph_ascendancy_accelerated_chestbursting"
		"tr_xenomorph_ovomorph_ascendancy_genetic_preservation"
		"tr_xenomorph_ovomorph_ascendancy_mass_deployment"
		"tr_xenomorph_ovomorph_ascendancy_hardened_ovomorphs"
	}
	potential = { is_xenomorph_tradition_empire = yes }
	ai_weight = {
		factor = 10
		modifier = { factor = 1.5  has_origin = origin_xenomorph_prime }
	}
}

###############################################
# === xenomorph_tradition_category_royal_hierarchy.txt ===
###############################################
###############################################
# Xenomorph Tradition Categories
#
# FIX 2026-05: Each category key MUST be different from its adoption
# tradition pick. Previously both used the same key
# (e.g. tradition_xenomorph_brood_ecstasy was both the category and
# its adoption pick). Stellaris silently hides any tree where these
# collide, which is why the Xenomorph traditions never appeared in
# the in-game Traditions menu.
#
# Pattern below mirrors Lustful Void's tradition_categories where
# the category key (xeno_tradcat_*) is distinct from the adoption
# pick key (tradition_xenomorph_*). The adoption pick already exists
# in common/traditions/xenomorph_traditions.txt and is unchanged.
###############################################

xeno_tradcat_royal_hierarchy = {
	tree_template = "tree_12_11"
	adoption_bonus = "tradition_xenomorph_royal_hierarchy"
	finish_bonus  = "tr_xenomorph_royal_hierarchy_finish"
	traditions = {
		"tr_xenomorph_royal_hierarchy_guard"
		"tr_xenomorph_royal_hierarchy_crowned_broods"
		"tr_xenomorph_royal_hierarchy_authority"
		"tr_xenomorph_royal_hierarchy_courts"
		"tr_xenomorph_royal_hierarchy_royal_warrens"
	}
	potential = { is_xenomorph_tradition_empire = yes }
	ai_weight = {
		factor = 10
		modifier = { factor = 2  has_origin = origin_xenomorph_queen_mother }
		modifier = { factor = 1.5  has_civic = civic_xenomorph_psychic_choir }
	}
}

###############################################
# === xenomorph_tradition_category_silent_infestation.txt ===
###############################################
###############################################
# Xenomorph Tradition Categories
#
# FIX 2026-05: Each category key MUST be different from its adoption
# tradition pick. Previously both used the same key
# (e.g. tradition_xenomorph_brood_ecstasy was both the category and
# its adoption pick). Stellaris silently hides any tree where these
# collide, which is why the Xenomorph traditions never appeared in
# the in-game Traditions menu.
#
# Pattern below mirrors Lustful Void's tradition_categories where
# the category key (xeno_tradcat_*) is distinct from the adoption
# pick key (tradition_xenomorph_*). The adoption pick already exists
# in common/traditions/xenomorph_traditions.txt and is unchanged.
###############################################

xeno_tradcat_silent_infestation = {
	tree_template = "tree_12_11"
	adoption_bonus = "tradition_xenomorph_silent_infestation"
	finish_bonus  = "tr_xenomorph_silent_infestation_finish"
	traditions = {
		"tr_xenomorph_silent_infestation_pheromone_masks"
		"tr_xenomorph_silent_infestation_blacksite_cells"
		"tr_xenomorph_silent_infestation_abduction_protocols"
		"tr_xenomorph_silent_infestation_synthetic_alibis"
		"tr_xenomorph_silent_infestation_deep_cover_broods"
	}
	potential = {
		is_xenomorph_tradition_empire = yes
		has_xenomorph_one_tree_finished = yes
	}
	ai_weight = {
		factor = 8
		modifier = { factor = 1.5  has_origin = origin_xenomorph_lab_escape }
		modifier = { factor = 1.5  has_origin = origin_xenomorph_crashed_derelict }
	}
}

###############################################
# === xenomorph_tradition_category_subjugated_flesh.txt ===
###############################################
###############################################
# Xenomorph Tradition Categories
#
# FIX 2026-05: Each category key MUST be different from its adoption
# tradition pick. Previously both used the same key
# (e.g. tradition_xenomorph_brood_ecstasy was both the category and
# its adoption pick). Stellaris silently hides any tree where these
# collide, which is why the Xenomorph traditions never appeared in
# the in-game Traditions menu.
#
# Pattern below mirrors Lustful Void's tradition_categories where
# the category key (xeno_tradcat_*) is distinct from the adoption
# pick key (tradition_xenomorph_*). The adoption pick already exists
# in common/traditions/xenomorph_traditions.txt and is unchanged.
###############################################

xeno_tradcat_subjugated_flesh = {
	tree_template = "tree_12_11"
	adoption_bonus = "tradition_xenomorph_subjugated_flesh"
	finish_bonus  = "tr_xenomorph_subjugated_flesh_finish"
	traditions = {
		"tr_xenomorph_subjugated_flesh_nutrient_tithes"
		"tr_xenomorph_subjugated_flesh_pheromone_conditioning"
		"tr_xenomorph_subjugated_flesh_host_castes"
		"tr_xenomorph_subjugated_flesh_flesh_quotas"
		"tr_xenomorph_subjugated_flesh_flesh_markets"
	}
	potential = {
		is_xenomorph_tradition_empire = yes
		has_xenomorph_one_tree_finished = yes
	}
	ai_weight = {
		factor = 8
		modifier = { factor = 2.5  is_xenomorph_sex_hive_civic = yes }
		modifier = { factor = 1.5  has_civic = civic_xenomorph_blood_mining }
	}
}

###############################################
# === xenomorph_tradition_category_voidbrood_domestication.txt ===
###############################################
###############################################
# Xenomorph Tradition Categories
#
# FIX 2026-05: Each category key MUST be different from its adoption
# tradition pick. Previously both used the same key
# (e.g. tradition_xenomorph_brood_ecstasy was both the category and
# its adoption pick). Stellaris silently hides any tree where these
# collide, which is why the Xenomorph traditions never appeared in
# the in-game Traditions menu.
#
# Pattern below mirrors Lustful Void's tradition_categories where
# the category key (xeno_tradcat_*) is distinct from the adoption
# pick key (tradition_xenomorph_*). The adoption pick already exists
# in common/traditions/xenomorph_traditions.txt and is unchanged.
###############################################

xeno_tradcat_voidbrood_domestication = {
	tree_template = "tree_12_11"
	adoption_bonus = "tradition_xenomorph_voidbrood_domestication"
	finish_bonus  = "tr_xenomorph_voidbrood_domestication_finish"
	traditions = {
		"tr_xenomorph_voidbrood_domestication_tiyanki_hostline"
		"tr_xenomorph_voidbrood_domestication_amoeba_broodline"
		"tr_xenomorph_voidbrood_domestication_crystalline_carapace"
		"tr_xenomorph_voidbrood_domestication_void_nesting_organs"
		"tr_xenomorph_voidbrood_domestication_void_grazers"
	}
	potential = {
		is_xenomorph_tradition_empire         = yes
		has_xenomorph_voidbrood_path_unlocked = yes
	}
	ai_weight = { factor = 10 }
}


xeno_tradcat_autogenic_brood = {
	tree_template = "tree_12_11"
	adoption_bonus = "tradition_xenomorph_autogenic_brood"
	finish_bonus  = "tr_xenomorph_autogenic_brood_finish"
	traditions = {
		"tr_xenomorph_autogenic_brood_fecundity"
		"tr_xenomorph_autogenic_brood_quickened_cycles"
		"tr_xenomorph_autogenic_brood_womb_seeding_carriers"
		"tr_xenomorph_autogenic_brood_swollen_clutches"
		"tr_xenomorph_autogenic_brood_royal_brood_warrens"
	}
	potential = {
		is_xenomorph_tradition_empire = yes
	}
	ai_weight = {
		factor = 12
	}
}
