﻿# CULTURE LEGACIES

ep1_culture_legacy_1 = { # Language Scholars
	legacy = ep1_culture_legacy_track

	can_be_picked = { has_ep1_dlc_trigger = yes }

	character_modifier = {
		learn_language_scheme_phase_duration_add = medium_scheme_phase_duration_bonus_value
		ai_sociability = medium_positive_ai_value
		minority_opinion = 10
	}

	effect = {
		# Can learn one extra language
		custom_description_no_bullet = { text = legacy_additional_language_effect }
		# Cultural Acceptance from successful Learn Language schemes
		custom_description_no_bullet = { text = legacy_cultural_acceptance_from_language_schemes_effect }
	}

	ai_chance = {
		value = 11
		if = {
			limit = {
				can_start_new_legacy_track_trigger = no
			}
			multiply = 0
		}
		if = { # Avoid having AI's pick this legacy if they are unlikely to benefit
			limit = {
				NOT = {
					any_vassal_or_below = {
						count >= 2
						primary_title.tier >= tier_county
						NOT = {
							culture = prev.culture
						}
					}
				}
			}
			multiply = 0
		}
		# Start New Bloc
		if = {
			limit = {
				AND = {
					root.house = { has_house_modifier = trad_knowledge }
					NOT = {
						any_vassal_or_below = {
							count >= 2
							primary_title.tier >= tier_county
							NOT = {
								culture = prev.culture
							}
						}
					}
				}
			}
			add = 1000
		}
		if = {
			limit = {
				OR = {
					# root.house = { has_house_modifier = trad_knowledge }
					root.house = { has_house_modifier = trad_compassion }
				}
			}
			multiply = 20
		}
		if = {
			limit = {
				OR = {
					root.house = { has_house_modifier = trad_joy }
				}
			}
			multiply = 5
		}
		# End New Bloc
	}
}

ep1_culture_legacy_2 = { # Efficient Interpreters
	legacy = ep1_culture_legacy_track

	can_be_picked = { has_ep1_dlc_trigger = yes }
	
	character_modifier = {
		max_learn_language_schemes_add = 1
	}

	effect = {
		custom_description_no_bullet = { text = legacy_more_acceptance_from_council_job_effect }
	}
}

ep1_culture_legacy_3 = { # Shared Ideas
	legacy = ep1_culture_legacy_track

	can_be_picked = { has_ep1_dlc_trigger = yes }

	character_modifier = {
		cultural_head_fascination_mult = 0.10
	}

	effect = {
		custom_description_no_bullet = { text = legacy_hooks_on_different_culture_vassals_effect }
	}
}

ep1_culture_legacy_4 = { # Respected Traditions
	legacy = ep1_culture_legacy_track

	can_be_picked = { has_ep1_dlc_trigger = yes }

	character_modifier = {
		cultural_head_acceptance_gain_mult = 0.20
	}

	effect = {
		custom_description_no_bullet = { text = legacy_cultural_emissary_court_position_effect }
	}
}

ep1_culture_legacy_5 = { # Side-by-Side
	legacy = ep1_culture_legacy_track

	can_be_picked = { has_ep1_dlc_trigger = yes }

	effect = {
		custom_description_no_bullet = { text = legacy_promote_culture_decision_effect }
	}
}
