﻿# Is this character allowed to hybridize their culture with the target culture?
# root: Character
# scope:culture: The culture they want to hybridize with
can_hybridize_culture = {
	can_hybridize_culture_trigger = {
		CULTURE = scope:culture
		CHARACTER = root
	}
	trigger_if = {
		limit = {
			is_ai = yes
		}
		custom_description = {
			text = only_unique_hybrid_cultures
			ouhc_has_a_cool_flavor = yes
		}
	}
}

# Is this character allowed to diverge their culture?
# root: Character
can_diverge_culture = {
	culture = { culture_age >= culture_divergence_cooldown }
	custom_description = {
		text = culture_present_in_realm_for_divergence
		any_sub_realm_county = {
			culture = root.culture
		}
	}
	trigger_if = {
		limit = {
			is_ai = yes
			has_game_rule = only_unique_hybrid_cultures_ultra_strict
		}
		custom_description = {
			text = only_unique_hybrid_cultures
			oudc_has_a_cool_flavor = yes
		}
	}
}
