###############################################
# === xeno_flavor_tradition_decadent_court.txt ===
###############################################
###############################################
# FLAVOURFUL TRADITION - Decadent Court
# Mango's-Lewd-Diplomacy-inspired: an empire that wields charm, indulgence,
# and seduction as instruments of statecraft. Open to any non-gestalt empire.
###############################################

tradition_xeno_decadent_court = {
	unlocks_agenda = agenda_xeno_decadent_court
	custom_tooltip = tradition_xeno_decadent_court_desc
	possible = { is_gestalt = no }
	modifier = {
		diplo_weight_mult = 0.10
	}
	ai_weight = { factor = 4000 }
}

tr_xeno_decadent_court_courtly_allure = {
	possible = {
		has_tradition = tradition_xeno_decadent_court
	}
	custom_tooltip = tr_xeno_decadent_court_courtly_allure_desc
	modifier = {
		diplo_weight_mult = 0.15
	}
	ai_weight = { factor = 4000 }
}

tr_xeno_decadent_court_velvet_tongues = {
	possible = {
		has_tradition = tradition_xeno_decadent_court
	}
	custom_tooltip = tr_xeno_decadent_court_velvet_tongues_desc
	modifier = {
		envoys_add = 1
	}
	ai_weight = { factor = 4000 }
}

tr_xeno_decadent_court_seductive_envoys = {
	possible = {
		has_tradition = tr_xeno_decadent_court_courtly_allure
	}
	custom_tooltip = tr_xeno_decadent_court_seductive_envoys_desc
	modifier = {
		diplo_weight_mult = 0.10
	}
	ai_weight = { factor = 4000 }
}

tr_xeno_decadent_court_decadent_feasts = {
	possible = {
		has_tradition = tr_xeno_decadent_court_velvet_tongues
	}
	custom_tooltip = tr_xeno_decadent_court_decadent_feasts_desc
	modifier = {
		planet_amenities_mult = 0.10
	}
	ai_weight = { factor = 4000 }
}

tr_xeno_decadent_court_intimate_accords = {
	possible = {
		has_tradition = tr_xeno_decadent_court_seductive_envoys
	}
	custom_tooltip = tr_xeno_decadent_court_intimate_accords_desc
	modifier = {
		diplo_weight_mult = 0.10
		planet_jobs_trade_produces_mult = 0.05
	}
	ai_weight = { factor = 4000 }
}

tr_xeno_decadent_court_finish = {
	custom_tooltip = tr_xeno_decadent_court_finish_desc
	modifier = {
		ascension_perks_add = 1
		diplo_weight_mult = 0.15
		planet_amenities_mult = 0.10
	}
	ai_weight = { factor = 4000 }
}

###############################################
# === xenomorph_tradition_brood_ecstasy.txt ===
###############################################
###############################################
# Xenomorph Traditions - Brood Ecstasy
###############################################
# A pleasure / breeding hive. Ecstatic submission is both a pacifying weapon
# and an engine of propagation. Picks reshape to the empire's nature:
#   - Matriarch's Hunger  -> matriarchal (the Broodmothers rule the pits)
#   - Patriarch's Dominion -> patriarchal (the Drone-Sires drive the breeding)
###############################################

#############################################
# BROOD ECSTASY - sex jobs / pleasure hive
#############################################
tradition_xenomorph_brood_ecstasy = {
	unlocks_agenda = agenda_xenomorph_brood_ecstasy
	custom_tooltip = tradition_xenomorph_brood_ecstasy_unlock_tooltip
	possible = {
		is_xenomorph_tradition_empire = yes
		is_xenomorph_sex_hive_civic = yes
	}
	modifier = {
		planet_xenomorph_host_breeders_produces_mult = 0.10
		planet_amenities_mult = 0.05
	}
	ai_weight = { factor = 5000 }
}

# ---- FOUNDATION: Willing Flesh -------------------------------------------------
# The hive packs itself willingly into the breeding warrens; bodies need less
# room when they crave proximity. Gates the rest of the tree.
tr_xenomorph_brood_ecstasy_willing_flesh = {
	possible = {
		has_tradition = tradition_xenomorph_brood_ecstasy
	}
	custom_tooltip = tr_xenomorph_brood_ecstasy_willing_flesh_desc
	modifier = {
		pop_housing_usage_mult = -0.10
		job_xenomorph_pit_plaything_amenities_produces_add = 2
	}

	tradition_swap = {
		name = tr_xenomorph_brood_ecstasy_willing_flesh_matriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_matriarchal_hunger_empire = yes }
		custom_tooltip = tr_xenomorph_brood_ecstasy_willing_flesh_matriarchal_desc
		modifier = {
			pop_housing_usage_mult = -0.10
			job_xenomorph_broodmare_thrall_amenities_produces_add = 2
		}
		weight = { factor = 1 }
	}
	tradition_swap = {
		name = tr_xenomorph_brood_ecstasy_willing_flesh_patriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_patriarchal_dominion_empire = yes }
		custom_tooltip = tr_xenomorph_brood_ecstasy_willing_flesh_patriarchal_desc
		modifier = {
			pop_housing_usage_mult = -0.10
			job_xenomorph_pit_plaything_amenities_produces_add = 2
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

# ---- BUILDING UNLOCK: Royal Breeding Pits --------------------------------------
# Unlocks the dedicated breeding warren (existing broodmare_pens chain).
tr_xenomorph_brood_ecstasy_royal_breeding_pits = {
	possible = {
		has_tradition = tr_xenomorph_brood_ecstasy_willing_flesh
	}
	custom_tooltip = tr_xenomorph_brood_ecstasy_royal_breeding_pits_desc
	on_enabled = { set_country_flag = xenomorph_breeding_pits_unlocked }
	modifier = {
		planet_xenomorph_host_breeders_produces_mult = 0.15  # 3_63: merged 2 duplicates (F5 category-share)
		planet_xenomorph_breeding_toys_produces_mult = 0.10
		logistic_growth_mult = 0.05
	}

	tradition_swap = {
		name = tr_xenomorph_brood_ecstasy_royal_breeding_pits_matriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_matriarchal_hunger_empire = yes }
		on_enabled = { set_country_flag = xenomorph_breeding_pits_unlocked }
		custom_tooltip = tr_xenomorph_brood_ecstasy_royal_breeding_pits_matriarchal_desc
		modifier = {
			planet_xenomorph_host_breeders_produces_mult = 0.20
			logistic_growth_mult = 0.05
		}
		weight = { factor = 1 }
	}
	tradition_swap = {
		name = tr_xenomorph_brood_ecstasy_royal_breeding_pits_patriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_patriarchal_dominion_empire = yes }
		on_enabled = { set_country_flag = xenomorph_breeding_pits_unlocked }
		custom_tooltip = tr_xenomorph_brood_ecstasy_royal_breeding_pits_patriarchal_desc
		modifier = {
			planet_xenomorph_host_breeders_produces_mult = 0.10
			logistic_growth_mult = 0.10
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

# ---- PACIFY: Scent Conditioning ------------------------------------------------
# Pheromone saturation keeps captured flesh blissful and docile. No revolts.
tr_xenomorph_brood_ecstasy_scent_conditioning = {
	possible = {
		has_tradition = tr_xenomorph_brood_ecstasy_willing_flesh
	}
	custom_tooltip = tr_xenomorph_brood_ecstasy_scent_conditioning_desc
	modifier = {
		planet_crime_add = -15
		planet_stability_add = 5
	}

	tradition_swap = {
		name = tr_xenomorph_brood_ecstasy_scent_conditioning_matriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_matriarchal_hunger_empire = yes }
		custom_tooltip = tr_xenomorph_brood_ecstasy_scent_conditioning_matriarchal_desc
		modifier = {
			planet_crime_add = -15
			planet_stability_add = 5
			pop_government_ethic_attraction = 0.15
		}
		weight = { factor = 1 }
	}
	tradition_swap = {
		name = tr_xenomorph_brood_ecstasy_scent_conditioning_patriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_patriarchal_dominion_empire = yes }
		custom_tooltip = tr_xenomorph_brood_ecstasy_scent_conditioning_patriarchal_desc
		modifier = {
			planet_crime_add = -20
			planet_stability_add = 5
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

# ---- BUILDING UPGRADE: Ecstatic Submission -------------------------------------
# Upgrades the breeding warren to its royal tier. Requires the pits exist.
tr_xenomorph_brood_ecstasy_ecstatic_submission = {
	possible = {
		has_tradition = tr_xenomorph_brood_ecstasy_royal_breeding_pits
	}
	custom_tooltip = tr_xenomorph_brood_ecstasy_ecstatic_submission_desc
	on_enabled = { set_country_flag = xenomorph_breeding_pits_upgraded }
	modifier = {
		planet_xenomorph_host_breeders_produces_mult = 0.10
		job_xenomorph_pit_plaything_unity_produces_add = 1
	}

	tradition_swap = {
		name = tr_xenomorph_brood_ecstasy_ecstatic_submission_matriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_matriarchal_hunger_empire = yes }
		on_enabled = { set_country_flag = xenomorph_breeding_pits_upgraded }
		custom_tooltip = tr_xenomorph_brood_ecstasy_ecstatic_submission_matriarchal_desc
		modifier = {
			planet_xenomorph_host_breeders_produces_mult = 0.15
			job_xenomorph_broodmare_thrall_unity_produces_add = 1
		}
		weight = { factor = 1 }
	}
	tradition_swap = {
		name = tr_xenomorph_brood_ecstasy_ecstatic_submission_patriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_patriarchal_dominion_empire = yes }
		on_enabled = { set_country_flag = xenomorph_breeding_pits_upgraded }
		custom_tooltip = tr_xenomorph_brood_ecstasy_ecstatic_submission_patriarchal_desc
		modifier = {
			planet_xenomorph_host_breeders_produces_mult = 0.15
			job_xenomorph_pit_plaything_unity_produces_add = 1
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

# ---- SNOWBALL: Rapturous Swarms ------------------------------------------------
# The hive's collective rapture becomes power: amenities scale and feed unity.
tr_xenomorph_brood_ecstasy_rapturous_swarms = {
	possible = {
		has_tradition = tr_xenomorph_brood_ecstasy_scent_conditioning
	}
	custom_tooltip = tr_xenomorph_brood_ecstasy_rapturous_swarms_desc
	modifier = {
		planet_amenities_mult = 0.15
		planet_stability_add = 3
	}

	tradition_swap = {
		name = tr_xenomorph_brood_ecstasy_rapturous_swarms_matriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_matriarchal_hunger_empire = yes }
		custom_tooltip = tr_xenomorph_brood_ecstasy_rapturous_swarms_matriarchal_desc
		modifier = {
			planet_amenities_mult = 0.15
			planet_stability_add = 3
			job_xenomorph_broodmare_thrall_unity_produces_add = 1
		}
		weight = { factor = 1 }
	}
	tradition_swap = {
		name = tr_xenomorph_brood_ecstasy_rapturous_swarms_patriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_patriarchal_dominion_empire = yes }
		custom_tooltip = tr_xenomorph_brood_ecstasy_rapturous_swarms_patriarchal_desc
		modifier = {
			planet_amenities_mult = 0.15
			planet_stability_add = 3
			job_xenomorph_pit_plaything_unity_produces_add = 1
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

# ---- FINISH --------------------------------------------------------------------
tr_xenomorph_brood_ecstasy_finish = {
	custom_tooltip = tr_xenomorph_brood_ecstasy_finish_desc
	on_enabled = { set_country_flag = tr_xenomorph_brood_ecstasy_finish }
	modifier = {
		# 3_64: slave-produces restoration (3_59-anchored)
		planet_xenomorph_host_breeders_produces_mult = 0.05
		planet_xenomorph_breeding_toys_produces_mult = 0.05
		ascension_perks_add = 1
		planet_xenomorph_host_breeders_produces_mult = 0.15
		BIOLOGICAL_species_trait_picks_add = 1
	}
	ai_weight = { factor = 5000 }
}

###############################################
# === xenomorph_tradition_draconic_parasitism.txt ===
###############################################
###############################################
# Xenomorph Traditions - Draconic Parasitism
###############################################
# The path of the Xenodragon: titanic apex-broods bred for war. Each pick is a
# stage in cultivating living warships of chitin and acid.
###############################################

tradition_xenomorph_draconic_parasitism = {
	unlocks_agenda = agenda_xenomorph_draconic_parasitism
	custom_tooltip = tradition_xenomorph_draconic_parasitism_desc
	possible = {
		is_xenomorph_tradition_empire = yes
		has_xenomorph_one_tree_finished = yes
	}
	modifier = {
		ship_fire_rate_mult = 0.05
		army_damage_mult = 0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- Drake Carapace (foundation) ----
tr_xenomorph_draconic_parasitism_drake_carapace = {
	possible = {
		has_tradition = tradition_xenomorph_draconic_parasitism
	}
	custom_tooltip = tr_xenomorph_draconic_parasitism_drake_carapace_desc
	modifier = {
		army_health_mult = 0.1
	}
	ai_weight = { factor = 5000 }
}

# ---- Leviathan Acid ----
tr_xenomorph_draconic_parasitism_leviathan_acid = {
	possible = {
		has_tradition = tradition_xenomorph_draconic_parasitism
	}
	custom_tooltip = tr_xenomorph_draconic_parasitism_leviathan_acid_desc
	modifier = {
		army_damage_mult = 0.1
	}
	ai_weight = { factor = 5000 }
}

# ---- Royal Imprint ----
tr_xenomorph_draconic_parasitism_royal_imprint = {
	possible = {
		has_tradition = tr_xenomorph_draconic_parasitism_drake_carapace
	}
	custom_tooltip = tr_xenomorph_draconic_parasitism_royal_imprint_desc
	modifier = {
		ship_hull_mult = 0.05
	}
	ai_weight = { factor = 5000 }
}

# ---- Apex Gestation ----
tr_xenomorph_draconic_parasitism_apex_gestation = {
	possible = {
		has_tradition = tr_xenomorph_draconic_parasitism_leviathan_acid
	}
	custom_tooltip = tr_xenomorph_draconic_parasitism_apex_gestation_desc
	modifier = {
		planet_pop_assembly_mult = 0.1
	}
	ai_weight = { factor = 5000 }
}

# ---- Wyrm Broodlords (BUILDING UNLOCK: xenodragon nest) ----
tr_xenomorph_draconic_parasitism_wyrm_broodlords = {
	possible = {
		has_tradition = tr_xenomorph_draconic_parasitism_royal_imprint
		has_tradition = tr_xenomorph_draconic_parasitism_apex_gestation
	}
	custom_tooltip = tr_xenomorph_draconic_parasitism_wyrm_broodlords_desc
	on_enabled = { set_country_flag = xenomorph_xenodragon_nest_unlocked }
	modifier = {
		ship_hull_mult = 0.05
		army_damage_mult = 0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- FINISH ----
tr_xenomorph_draconic_parasitism_finish = {
	custom_tooltip = tr_xenomorph_draconic_parasitism_finish_desc
	on_enabled = { set_country_flag = xenomorph_xenodragon_nest_unlocked }
	modifier = {
		ascension_perks_add = 1
		ship_fire_rate_mult = 0.05
		army_damage_mult = 0.15
	}
	ai_weight = { factor = 5000 }
}

###############################################
# === xenomorph_tradition_flesh_harvest.txt ===
###############################################
###############################################
# Xenomorph Traditions - Flesh Harvest
###############################################
# The doctrine of the living harvest. Where other broods kill or enslave, the
# Flesh Harvest takes the enemy's leaders intact - dragged from broken worlds
# into the Captive Pits to be broken, bred, and remade. The path of capture.
#
# Adoption unlocks the CHOICE to take an enemy leader prisoner when you conquer
# a world (see xeno_capture.10). Picks deepen the harvest.
###############################################

tradition_xenomorph_flesh_harvest = {
	unlocks_agenda = agenda_xenomorph_flesh_harvest
	custom_tooltip = tradition_xenomorph_flesh_harvest_desc
	possible = {
		is_xenomorph_tradition_empire = yes
	}
	modifier = {
		army_damage_mult = 0.10
		planet_jobs_unity_produces_mult = 0.05
	}
	ai_weight = { factor = 5000 }
}

# ---- Harvest Protocols (foundation): better capture + pop abduction ----
tr_xenomorph_flesh_harvest_harvest_protocols = {
	possible = {
		has_tradition = tradition_xenomorph_flesh_harvest
	}
	custom_tooltip = tr_xenomorph_flesh_harvest_harvest_protocols_desc
	modifier = {
		# 3_64: slave-produces restoration (3_59-anchored)
		planet_xenomorph_host_breeders_produces_mult = 0.1
		planet_xenomorph_breeding_toys_produces_mult = 0.1
		planet_xenomorph_host_breeders_produces_mult = 0.10
		planet_xenomorph_breeding_toys_produces_mult = 0.10
		army_morale_damage_mult = 0.15
	}
	ai_weight = { factor = 5000 }
}

# ---- Resilient Stock: captives start tougher + regenerate faster ----
tr_xenomorph_flesh_harvest_resilient_stock = {
	possible = {
		has_tradition = tradition_xenomorph_flesh_harvest
	}
	custom_tooltip = tr_xenomorph_flesh_harvest_resilient_stock_desc
	modifier = {
		planet_xenomorph_host_breeders_produces_mult = 0.10
		planet_xenomorph_breeding_toys_produces_mult = 0.10
		planet_stability_add = 3
		pop_environment_tolerance = 0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- Invasive Conditioning: stronger interaction rewards / options ----
tr_xenomorph_flesh_harvest_invasive_conditioning = {
	possible = {
		has_tradition = tr_xenomorph_flesh_harvest_harvest_protocols
	}
	custom_tooltip = tr_xenomorph_flesh_harvest_invasive_conditioning_desc
	modifier = {
		planet_xenomorph_host_breeders_produces_mult = 0.10
		planet_xenomorph_breeding_toys_produces_mult = 0.10
		planet_jobs_unity_produces_mult = 0.05
		planet_amenities_mult = 0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- Expanded Pens: more captive roster capacity ----
tr_xenomorph_flesh_harvest_expanded_pens = {
	possible = {
		has_tradition = tr_xenomorph_flesh_harvest_resilient_stock
	}
	custom_tooltip = tr_xenomorph_flesh_harvest_expanded_pens_desc
	modifier = {
		planet_xenomorph_host_breeders_produces_mult = 0.10
		planet_xenomorph_breeding_toys_produces_mult = 0.10
		planet_pop_assembly_mult = 0.05
		planet_housing_add = 2
	}
	ai_weight = { factor = 5000 }
}

# ---- Predation Instinct: higher capture chance + invasion power ----
tr_xenomorph_flesh_harvest_predation_instinct = {
	possible = {
		has_tradition = tr_xenomorph_flesh_harvest_invasive_conditioning
		has_tradition = tr_xenomorph_flesh_harvest_expanded_pens
	}
	custom_tooltip = tr_xenomorph_flesh_harvest_predation_instinct_desc
	modifier = {
		planet_xenomorph_host_breeders_produces_mult = 0.10
		planet_xenomorph_breeding_toys_produces_mult = 0.10
		army_damage_mult = 0.10
		army_collateral_damage_mult = 0.15
	}
	ai_weight = { factor = 5000 }
}

# ---- FINISH: Doctrine of Dominion ----
tr_xenomorph_flesh_harvest_finish = {
	custom_tooltip = tr_xenomorph_flesh_harvest_finish_desc
	modifier = {
		ascension_perks_add = 1
		army_damage_mult = 0.15
		planet_jobs_unity_produces_mult = 0.10
	}
	ai_weight = { factor = 5000 }
}

###############################################
# === xenomorph_tradition_genetic_accumulation.txt ===
###############################################
###############################################
# Xenomorph Traditions - Genetic Accumulation
###############################################
# The hive devours genomes. Every conquered species adds to the brood's
# library of stolen traits. The path of endless adaptation.
###############################################

tradition_xenomorph_genetic_accumulation = {
	unlocks_agenda = agenda_xenomorph_genetic_accumulation
	custom_tooltip = tradition_xenomorph_genetic_accumulation_desc
	possible = {
		is_xenomorph_tradition_empire = yes
	}
	modifier = {
		modify_species_cost_mult = -0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- Hostline Catalogues (BUILDING UNLOCK: hybrid caste warren) ----
tr_xenomorph_genetic_accumulation_hostline_catalogues = {
	possible = {
		has_tradition = tradition_xenomorph_genetic_accumulation
	}
	custom_tooltip = tr_xenomorph_genetic_accumulation_hostline_catalogues_desc
	on_enabled = { set_country_flag = xenomorph_hybrid_caste_warren_unlocked }
	modifier = {
		planet_pop_assembly_mult = 0.05
	}
	ai_weight = { factor = 5000 }
}

# ---- Predatory Inheritance ----
tr_xenomorph_genetic_accumulation_predatory_inheritance = {
	possible = {
		has_tradition = tradition_xenomorph_genetic_accumulation
	}
	custom_tooltip = tr_xenomorph_genetic_accumulation_predatory_inheritance_desc
	modifier = {
		army_damage_mult = 0.10
		army_health = 0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- Stabilized Mutations ----
tr_xenomorph_genetic_accumulation_stabilized_mutations = {
	possible = {
		has_tradition = tr_xenomorph_genetic_accumulation_hostline_catalogues
	}
	custom_tooltip = tr_xenomorph_genetic_accumulation_stabilized_mutations_desc
	modifier = {
		leader_lifespan_add = 10
		planet_stability_add = 3
	}
	ai_weight = { factor = 5000 }
}

# ---- Apex Adaptation ----
tr_xenomorph_genetic_accumulation_apex_adaptation = {
	possible = {
		has_tradition = tr_xenomorph_genetic_accumulation_predatory_inheritance
	}
	custom_tooltip = tr_xenomorph_genetic_accumulation_apex_adaptation_desc
	modifier = {
		BIOLOGICAL_species_trait_picks_add = 1
	}
	ai_weight = { factor = 5000 }
}

# ---- Spliced Lineages ----
tr_xenomorph_genetic_accumulation_spliced_lineages = {
	possible = {
		has_tradition = tr_xenomorph_genetic_accumulation_stabilized_mutations
	}
	custom_tooltip = tr_xenomorph_genetic_accumulation_spliced_lineages_desc
	modifier = {
		modify_species_cost_mult = -0.10
		planet_pop_assembly_mult = 0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- FINISH ----
tr_xenomorph_genetic_accumulation_finish = {
	custom_tooltip = tr_xenomorph_genetic_accumulation_finish_desc
	modifier = {
		ascension_perks_add = 1
		BIOLOGICAL_species_trait_picks_add = 1
	}
	ai_weight = { factor = 5000 }
}

###############################################
# === xenomorph_tradition_ovomorph_ascendancy.txt ===
###############################################
###############################################
# Xenomorph Traditions - Ovomorph Ascendancy
###############################################
# Mastery of the egg: implantation, gestation, and the royal jelly. Picks
# reshape to the empire's nature:
#   - Matriarch's Hunger   -> the egg-galleries of the Broodmothers
#   - Patriarch's Dominion  -> the implantation-drives of the Sires
###############################################

#############################################
# OVOMORPH ASCENDANCY - eggs / spawning
#############################################
tradition_xenomorph_ovomorph_ascendancy = {
	unlocks_agenda = agenda_xenomorph_ovomorph_ascendancy
	custom_tooltip = tradition_xenomorph_ovomorph_ascendancy_desc
	possible = {
		is_xenomorph_tradition_empire = yes
	}
	on_enabled = { set_country_flag = xenomorph_royal_jelly_unlocked }
	modifier = {
		pop_purge_speed = 0.15
		planet_pop_assembly_mult = 0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- FOUNDATION: Implantation Chambers -----------------------------------------
tr_xenomorph_ovomorph_ascendancy_implantation_chambers = {
	possible = {
		has_tradition = tradition_xenomorph_ovomorph_ascendancy
	}
	custom_tooltip = tr_xenomorph_ovomorph_ascendancy_implantation_chambers_desc
	modifier = {
		planet_xenomorph_brood_carriers_produces_mult = 0.15
	}

	tradition_swap = {
		name = tr_xenomorph_ovomorph_ascendancy_implantation_chambers_matriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_matriarchal_hunger_empire = yes }
		custom_tooltip = tr_xenomorph_ovomorph_ascendancy_implantation_chambers_matriarchal_desc
		modifier = {
			planet_xenomorph_brood_carriers_produces_mult = 0.15
			planet_xenomorph_egg_storage_jobs_produces_mult = 0.15
		}
		weight = { factor = 1 }
	}
	tradition_swap = {
		name = tr_xenomorph_ovomorph_ascendancy_implantation_chambers_patriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_patriarchal_dominion_empire = yes }
		custom_tooltip = tr_xenomorph_ovomorph_ascendancy_implantation_chambers_patriarchal_desc
		modifier = {
			planet_xenomorph_brood_carriers_produces_mult = 0.25
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

# ---- Accelerated Chestbursting -------------------------------------------------
tr_xenomorph_ovomorph_ascendancy_accelerated_chestbursting = {
	possible = {
		has_tradition = tr_xenomorph_ovomorph_ascendancy_implantation_chambers
	}
	custom_tooltip = tr_xenomorph_ovomorph_ascendancy_accelerated_chestbursting_desc
	modifier = {
		pop_purge_speed = 0.25
	}
	ai_weight = { factor = 5000 }
}

# ---- Genetic Preservation ------------------------------------------------------
tr_xenomorph_ovomorph_ascendancy_genetic_preservation = {
	possible = {
		has_tradition = tradition_xenomorph_ovomorph_ascendancy
	}
	custom_tooltip = tr_xenomorph_ovomorph_ascendancy_genetic_preservation_desc
	modifier = {
		planet_pop_assembly_mult = 0.10
		logistic_growth_mult = 0.05
	}
	ai_weight = { factor = 5000 }
}

# ---- Mass Deployment -----------------------------------------------------------
tr_xenomorph_ovomorph_ascendancy_mass_deployment = {
	possible = {
		has_tradition = tr_xenomorph_ovomorph_ascendancy_genetic_preservation
	}
	custom_tooltip = tr_xenomorph_ovomorph_ascendancy_mass_deployment_desc
	modifier = {
		planet_pop_assembly_mult = 0.10
	}

	tradition_swap = {
		name = tr_xenomorph_ovomorph_ascendancy_mass_deployment_matriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_matriarchal_hunger_empire = yes }
		custom_tooltip = tr_xenomorph_ovomorph_ascendancy_mass_deployment_matriarchal_desc
		modifier = {
			planet_pop_assembly_mult = 0.15
		}
		weight = { factor = 1 }
	}
	tradition_swap = {
		name = tr_xenomorph_ovomorph_ascendancy_mass_deployment_patriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_patriarchal_dominion_empire = yes }
		custom_tooltip = tr_xenomorph_ovomorph_ascendancy_mass_deployment_patriarchal_desc
		modifier = {
			planet_pop_assembly_mult = 0.10
			pop_purge_speed = 0.10
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

# ---- Hardened Ovomorphs --------------------------------------------------------
tr_xenomorph_ovomorph_ascendancy_hardened_ovomorphs = {
	possible = {
		has_tradition = tr_xenomorph_ovomorph_ascendancy_accelerated_chestbursting
	}
	custom_tooltip = tr_xenomorph_ovomorph_ascendancy_hardened_ovomorphs_desc
	modifier = {
		planet_pop_assembly_mult = 0.15
	}
	ai_weight = { factor = 5000 }
}

# ---- FINISH --------------------------------------------------------------------
tr_xenomorph_ovomorph_ascendancy_finish = {
	custom_tooltip = tr_xenomorph_ovomorph_ascendancy_finish_desc
	modifier = {
		ascension_perks_add = 1
		pop_purge_speed = 0.25
		planet_pop_assembly_mult = 0.10
	}
	ai_weight = { factor = 5000 }
}

###############################################
# === xenomorph_tradition_royal_hierarchy.txt ===
###############################################
###############################################
# Xenomorph Traditions - Royal Hierarchy
###############################################
# The court of queens. Rule flows from the Empress through her Matriarchs and
# Queens, and the guard-castes enforce her will. The path of dynastic power.
###############################################

tradition_xenomorph_royal_hierarchy = {
	unlocks_agenda = agenda_xenomorph_royal_hierarchy
	custom_tooltip = tradition_xenomorph_royal_hierarchy_desc
	possible = {
		is_xenomorph_tradition_empire = yes
	}
	modifier = {
		planet_xenomorph_royal_egg_layers_produces_mult = 0.10
		planet_stability_add = 2
	}
	ai_weight = { factor = 5000 }
}

# ---- Royal Guard (BUILDING UNLOCK: royal guard warren) ----
tr_xenomorph_royal_hierarchy_guard = {
	possible = {
		has_tradition = tradition_xenomorph_royal_hierarchy
	}
	custom_tooltip = tr_xenomorph_royal_hierarchy_guard_desc
	on_enabled = { set_country_flag = xenomorph_royal_guard_warren_unlocked }
	modifier = {
		planet_xenomorph_hive_enforcers_produces_mult = 0.15
		army_defense_damage_mult = 0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- Crowned Broods ----
tr_xenomorph_royal_hierarchy_crowned_broods = {
	possible = {
		has_tradition = tradition_xenomorph_royal_hierarchy
	}
	custom_tooltip = tr_xenomorph_royal_hierarchy_crowned_broods_desc
	modifier = {
		job_xenomorph_queen_unity_produces_add = 2
	}
	ai_weight = { factor = 5000 }
}

# ---- Royal Authority ----
tr_xenomorph_royal_hierarchy_authority = {
	possible = {
		has_tradition = tr_xenomorph_royal_hierarchy_crowned_broods
	}
	custom_tooltip = tr_xenomorph_royal_hierarchy_authority_desc
	modifier = {
		planet_xenomorph_royal_egg_layers_produces_mult = 0.10
		country_naval_cap_add = 10
	}
	ai_weight = { factor = 5000 }
}

# ---- Royal Courts ----
tr_xenomorph_royal_hierarchy_courts = {
	possible = {
		has_tradition = tr_xenomorph_royal_hierarchy_guard
	}
	custom_tooltip = tr_xenomorph_royal_hierarchy_courts_desc
	modifier = {
		planet_jobs_ruler_produces_mult = 0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- Royal Warrens (BUILDING UNLOCK: royal warren) ----
tr_xenomorph_royal_hierarchy_royal_warrens = {
	possible = {
		has_tradition = tr_xenomorph_royal_hierarchy_authority
		has_tradition = tr_xenomorph_royal_hierarchy_courts
	}
	custom_tooltip = tr_xenomorph_royal_hierarchy_royal_warrens_desc
	on_enabled = { set_country_flag = xenomorph_royal_warren_unlocked }
	modifier = {
		planet_xenomorph_royal_egg_layers_produces_mult = 0.10
		planet_stability_add = 2
	}
	ai_weight = { factor = 5000 }
}

# ---- FINISH ----
tr_xenomorph_royal_hierarchy_finish = {
	custom_tooltip = tr_xenomorph_royal_hierarchy_finish_desc
	on_enabled = { set_country_flag = xenomorph_royal_warren_unlocked }
	modifier = {
		ascension_perks_add = 1
		leaders_upkeep_mult = -0.10
		planet_xenomorph_royal_egg_layers_produces_mult = 0.15
	}
	ai_weight = { factor = 5000 }
}

###############################################
# === xenomorph_tradition_silent_infestation.txt ===
###############################################
###############################################
# Xenomorph Traditions - Silent Infestation
###############################################
# The hidden brood. Cells burrow into rival empires, seeding infestation from
# within before the swarm is ever seen. The path of espionage and subversion.
###############################################

tradition_xenomorph_silent_infestation = {
	unlocks_agenda = agenda_xenomorph_silent_infestation
	custom_tooltip = tradition_xenomorph_silent_infestation_desc
	possible = {
		is_xenomorph_tradition_empire = yes
		has_xenomorph_one_tree_finished = yes
	}
	modifier = {
		envoys_add = 1
		spy_network_daily_value_mult = 0.15
	}
	ai_weight = { factor = 5000 }
}

# ---- Pheromone Masks (foundation) ----
tr_xenomorph_silent_infestation_pheromone_masks = {
	possible = {
		has_tradition = tradition_xenomorph_silent_infestation
	}
	custom_tooltip = tr_xenomorph_silent_infestation_pheromone_masks_desc
	modifier = {
		espionage_operation_cost_mult = -0.15
		spy_network_level_cap_add = 10
	}
	ai_weight = { factor = 5000 }
}

# ---- Blacksite Cells ----
tr_xenomorph_silent_infestation_blacksite_cells = {
	possible = {
		has_tradition = tradition_xenomorph_silent_infestation
	}
	custom_tooltip = tr_xenomorph_silent_infestation_blacksite_cells_desc
	modifier = {
		spy_network_daily_value_mult = 0.15
	}
	ai_weight = { factor = 5000 }
}

# ---- Abduction Protocols ----
tr_xenomorph_silent_infestation_abduction_protocols = {
	possible = {
		has_tradition = tr_xenomorph_silent_infestation_pheromone_masks
	}
	custom_tooltip = tr_xenomorph_silent_infestation_abduction_protocols_desc
	modifier = {
		espionage_operation_cost_mult = -0.10
		espionage_operation_upkeep_mult = -0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- Synthetic Alibis ----
tr_xenomorph_silent_infestation_synthetic_alibis = {
	possible = {
		has_tradition = tr_xenomorph_silent_infestation_blacksite_cells
	}
	custom_tooltip = tr_xenomorph_silent_infestation_synthetic_alibis_desc
	modifier = {
		espionage_operation_upkeep_mult = -0.10
		operation_cloaking_add = 2
	}
	ai_weight = { factor = 5000 }
}

# ---- Deep Cover Broods ----
tr_xenomorph_silent_infestation_deep_cover_broods = {
	possible = {
		has_tradition = tr_xenomorph_silent_infestation_abduction_protocols
		has_tradition = tr_xenomorph_silent_infestation_synthetic_alibis
	}
	custom_tooltip = tr_xenomorph_silent_infestation_deep_cover_broods_desc
	modifier = {
		spy_network_daily_value_mult = 0.10
		operation_cloaking_add = 2
	}
	ai_weight = { factor = 5000 }
}

# ---- FINISH ----
tr_xenomorph_silent_infestation_finish = {
	custom_tooltip = tr_xenomorph_silent_infestation_finish_desc
	modifier = {
		ascension_perks_add = 1
		spy_network_daily_value_mult = 0.10
	}
	ai_weight = { factor = 5000 }
}

###############################################
# === xenomorph_tradition_subjugated_flesh.txt ===
###############################################
###############################################
# Xenomorph Traditions - Subjugated Flesh
###############################################
# The hive as livestock empire: captured species become host-flesh, tribute,
# and meat. Picks reshape to the empire's nature:
#   - Matriarch's Hunger   -> the Broodmothers' brood-stock (breeding livestock)
#   - Patriarch's Dominion  -> the Sires' war-herds (labor and host-flesh)
###############################################

#############################################
# SUBJUGATED FLESH - slaves/livestock
#############################################
tradition_xenomorph_subjugated_flesh = {
	unlocks_agenda = agenda_xenomorph_subjugated_flesh
	custom_tooltip = tradition_xenomorph_subjugated_flesh_desc
	possible = {
		is_xenomorph_tradition_empire = yes
		has_xenomorph_one_tree_finished = yes
	}
	modifier = {
		# 3_64: slave-produces restoration (3_59-anchored)
		planet_xenomorph_host_breeders_produces_mult = 0.1
		planet_xenomorph_breeding_toys_produces_mult = 0.1
		pop_livestock_bonus_workforce_mult = 0.15
	}
	ai_weight = { factor = 5000 }
}

# ---- FOUNDATION + BUILDING UNLOCK: Nutrient Tithes -----------------------------
tr_xenomorph_subjugated_flesh_nutrient_tithes = {
	possible = {
		has_tradition = tradition_xenomorph_subjugated_flesh
	}
	custom_tooltip = tr_xenomorph_subjugated_flesh_nutrient_tithes_desc
	on_enabled = { set_country_flag = xenomorph_heavy_caste_warren_unlocked }
	modifier = {
		pop_livestock_bonus_workforce_mult = 0.25
		planet_jobs_food_produces_mult = 0.05
	}

	tradition_swap = {
		name = tr_xenomorph_subjugated_flesh_nutrient_tithes_matriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_matriarchal_hunger_empire = yes }
		on_enabled = { set_country_flag = xenomorph_heavy_caste_warren_unlocked }
		custom_tooltip = tr_xenomorph_subjugated_flesh_nutrient_tithes_matriarchal_desc
		modifier = {
			pop_livestock_bonus_workforce_mult = 0.25
			planet_jobs_food_produces_mult = 0.10
		}
		weight = { factor = 1 }
	}
	tradition_swap = {
		name = tr_xenomorph_subjugated_flesh_nutrient_tithes_patriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_patriarchal_dominion_empire = yes }
		on_enabled = { set_country_flag = xenomorph_heavy_caste_warren_unlocked }
		custom_tooltip = tr_xenomorph_subjugated_flesh_nutrient_tithes_patriarchal_desc
		modifier = {
			pop_livestock_bonus_workforce_mult = 0.35
			planet_jobs_food_produces_mult = 0.05
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

# ---- PACIFY: Pheromone Conditioning --------------------------------------------
tr_xenomorph_subjugated_flesh_pheromone_conditioning = {
	possible = {
		has_tradition = tradition_xenomorph_subjugated_flesh
	}
	custom_tooltip = tr_xenomorph_subjugated_flesh_pheromone_conditioning_desc
	modifier = {
		pop_political_power = -0.20
		planet_crime_add = -15
	}
	ai_weight = { factor = 5000 }
}

# ---- Host Castes ----------------------------------------------------------------
tr_xenomorph_subjugated_flesh_host_castes = {
	possible = {
		has_tradition = tr_xenomorph_subjugated_flesh_nutrient_tithes
	}
	custom_tooltip = tr_xenomorph_subjugated_flesh_host_castes_desc
	modifier = {
		# 3_64: slave-produces restoration (3_59-anchored)
		planet_xenomorph_host_breeders_produces_mult = 0.25
		planet_xenomorph_breeding_toys_produces_mult = 0.25  # 3_64: 3 original lines summed
		planet_jobs_worker_produces_mult = 0.05
	}

	tradition_swap = {
		name = tr_xenomorph_subjugated_flesh_host_castes_matriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_matriarchal_hunger_empire = yes }
		custom_tooltip = tr_xenomorph_subjugated_flesh_host_castes_matriarchal_desc
		modifier = {
			planet_xenomorph_host_breeders_produces_mult = 0.20
		}
		weight = { factor = 1 }
	}
	tradition_swap = {
		name = tr_xenomorph_subjugated_flesh_host_castes_patriarchal
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = { xeno_is_patriarchal_dominion_empire = yes }
		custom_tooltip = tr_xenomorph_subjugated_flesh_host_castes_patriarchal_desc
		modifier = {
			planet_jobs_worker_produces_mult = 0.10
		}
		weight = { factor = 1 }
	}

	ai_weight = { factor = 5000 }
}

# ---- Flesh Quotas ---------------------------------------------------------------
tr_xenomorph_subjugated_flesh_flesh_quotas = {
	possible = {
		has_tradition = tr_xenomorph_subjugated_flesh_pheromone_conditioning
	}
	custom_tooltip = tr_xenomorph_subjugated_flesh_flesh_quotas_desc
	modifier = {
		planet_pops_upkeep_mult = -0.05
		planet_pops_organics_food_upkeep_mult = -0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- Flesh Markets --------------------------------------------------------------
tr_xenomorph_subjugated_flesh_flesh_markets = {
	possible = {
		has_tradition = tr_xenomorph_subjugated_flesh_host_castes
	}
	custom_tooltip = tr_xenomorph_subjugated_flesh_flesh_markets_desc
	modifier = {
		# 3_64: slave-produces restoration (3_59-anchored)
		planet_xenomorph_host_breeders_produces_mult = 0.1
		planet_xenomorph_breeding_toys_produces_mult = 0.1
		pop_livestock_bonus_workforce_mult = 0.10
	}
	ai_weight = { factor = 5000 }
}

# ---- FINISH ---------------------------------------------------------------------
tr_xenomorph_subjugated_flesh_finish = {
	custom_tooltip = tr_xenomorph_subjugated_flesh_finish_desc
	modifier = {
		# 3_64: slave-produces restoration (3_59-anchored)
		planet_xenomorph_host_breeders_produces_mult = 0.1
		planet_xenomorph_breeding_toys_produces_mult = 0.1
		ascension_perks_add = 1
		country_unity_produces_mult = 0.05
	}
	ai_weight = { factor = 5000 }
}

###############################################
# === xenomorph_tradition_voidbrood_domestication.txt ===
###############################################
###############################################
# Xenomorph Traditions - Voidbrood Domestication
###############################################
# The hive reaches into the dark between stars, taming the great void-fauna
# into living fleets. The path of the space-brood.
###############################################

tradition_xenomorph_voidbrood_domestication = {
	unlocks_agenda = agenda_xenomorph_voidbrood_domestication
	custom_tooltip = tradition_xenomorph_voidbrood_domestication_desc
	possible = {
		is_xenomorph_tradition_empire = yes
		has_xenomorph_one_tree_finished = yes
	}
	modifier = {
		ship_hull_mult = 0.05
	}
	ai_weight = { factor = 5000 }
}

# ---- Tiyanki Hostline (BUILDING UNLOCK: apex caste warren) ----
tr_xenomorph_voidbrood_domestication_tiyanki_hostline = {
	possible = {
		has_tradition = tradition_xenomorph_voidbrood_domestication
	}
	custom_tooltip = tr_xenomorph_voidbrood_domestication_tiyanki_hostline_desc
	on_enabled = { set_country_flag = xenomorph_apex_caste_warren_unlocked }
	modifier = {
		ship_hull_mult = 0.05
	}
	ai_weight = { factor = 5000 }
}

# ---- Amoeba Broodline ----
tr_xenomorph_voidbrood_domestication_amoeba_broodline = {
	possible = {
		has_tradition = tradition_xenomorph_voidbrood_domestication
	}
	custom_tooltip = tr_xenomorph_voidbrood_domestication_amoeba_broodline_desc
	modifier = {
		ship_shield_mult = 0.05
	}
	ai_weight = { factor = 5000 }
}

# ---- Crystalline Carapace ----
tr_xenomorph_voidbrood_domestication_crystalline_carapace = {
	possible = {
		has_tradition = tr_xenomorph_voidbrood_domestication_tiyanki_hostline
	}
	custom_tooltip = tr_xenomorph_voidbrood_domestication_crystalline_carapace_desc
	modifier = {
		ship_armor_mult = 0.05
	}
	ai_weight = { factor = 5000 }
}

# ---- Void Nesting Organs ----
tr_xenomorph_voidbrood_domestication_void_nesting_organs = {
	possible = {
		has_tradition = tr_xenomorph_voidbrood_domestication_amoeba_broodline
	}
	custom_tooltip = tr_xenomorph_voidbrood_domestication_void_nesting_organs_desc
	modifier = {
		ship_upkeep_mult = -0.05
	}
	ai_weight = { factor = 5000 }
}

# ---- Void Grazers ----
tr_xenomorph_voidbrood_domestication_void_grazers = {
	possible = {
		has_tradition = tr_xenomorph_voidbrood_domestication_crystalline_carapace
		has_tradition = tr_xenomorph_voidbrood_domestication_void_nesting_organs
	}
	custom_tooltip = tr_xenomorph_voidbrood_domestication_void_grazers_desc
	modifier = {
		ship_upkeep_mult = -0.05
		planet_researchers_produces_mult = 0.05
	}
	ai_weight = { factor = 5000 }
}

# ---- FINISH ----
tr_xenomorph_voidbrood_domestication_finish = {
	custom_tooltip = tr_xenomorph_voidbrood_domestication_finish_desc
	modifier = {
		ascension_perks_add = 1
		ship_fire_rate_mult = 0.10
		country_naval_cap_add = 20
	}
	ai_weight = { factor = 5000 }
}

#############################################
# AUTOGENIC BROOD - internal Xenomorph self-breeding (no slaves, no hosts)
#############################################
tradition_xenomorph_autogenic_brood = {
	custom_tooltip = tradition_xenomorph_autogenic_brood_unlock_tooltip
	possible = {
		is_xenomorph_tradition_empire = yes
	}
	modifier = {
		logistic_growth_mult = 0.10
		planet_xenomorph_brood_carriers_produces_mult = 0.10
	}
	ai_weight = { factor = 5000 }
}

tr_xenomorph_autogenic_brood_fecundity = {
	possible = {
		has_tradition = tradition_xenomorph_autogenic_brood
	}
	custom_tooltip = tr_xenomorph_autogenic_brood_fecundity_desc
	modifier = {
		job_xenomorph_self_seeding_brood_layer_gestalt_xenomorph_offspring_produces_add = 1
	}
	ai_weight = { factor = 100 }
}

tr_xenomorph_autogenic_brood_quickened_cycles = {
	possible = {
		has_tradition = tr_xenomorph_autogenic_brood_fecundity
	}
	custom_tooltip = tr_xenomorph_autogenic_brood_quickened_cycles_desc
	modifier = {
		planet_xenomorph_brood_carriers_produces_mult = 0.15
	}
	ai_weight = { factor = 100 }
}

tr_xenomorph_autogenic_brood_womb_seeding_carriers = {
	possible = {
		has_tradition = tr_xenomorph_autogenic_brood_fecundity
	}
	custom_tooltip = tr_xenomorph_autogenic_brood_womb_seeding_carriers_desc
	modifier = {
		logistic_growth_mult = 0.05
	}
	ai_weight = { factor = 100 }
}

tr_xenomorph_autogenic_brood_swollen_clutches = {
	possible = {
		has_tradition = tr_xenomorph_autogenic_brood_quickened_cycles
	}
	custom_tooltip = tr_xenomorph_autogenic_brood_swollen_clutches_desc
	modifier = {
		planet_xenomorph_brood_carriers_produces_mult = 0.20
	}
	ai_weight = { factor = 100 }
}

tr_xenomorph_autogenic_brood_royal_brood_warrens = {
	possible = {
		has_tradition = tr_xenomorph_autogenic_brood_womb_seeding_carriers
	}
	custom_tooltip = tr_xenomorph_autogenic_brood_royal_brood_warrens_desc
	modifier = {
		logistic_growth_mult = 0.05
	}
	ai_weight = { factor = 100 }
}

tr_xenomorph_autogenic_brood_finish = {
	custom_tooltip = tr_xenomorph_autogenic_brood_finish_desc
	modifier = {
		ascension_perks_add = 1
		planet_xenomorph_brood_carriers_produces_mult = 0.10
		planet_pop_assembly_organic_add = 1
	}
	ai_weight = { factor = 100 }
}
