﻿fp3_khvarenah_legacy_1 = { # Sense of Purpose
	legacy = fp3_khvarenah_legacy_track

	can_be_picked = { eligible_for_fp3_khvarenah_legacy_trigger = yes }

	effect = {
		custom_description_no_bullet = { text = fp3_khvarenah_legacy_court_positions_effect	}
	}

	character_modifier = {
		clan_tax_slot_add  = 1
	}

	ai_chance = {
		value = 11
		if = {
			limit = {
				culture = { has_cultural_pillar = heritage_iranian }
			}
			multiply = 10
		}
		if = {
			limit = {
				can_start_new_legacy_track_trigger = no
			}
			multiply = 0
		}
		# Start New Bloc
		if = {
			limit = {
				OR = {
					root.house = { has_house_modifier = trad_pride }
					root.house = { has_house_modifier = trad_influence }
					root.house = { has_house_modifier = trad_distinction }
				}
			}
			multiply = 20
		}
		# End of New bloc
	}
}

fp3_khvarenah_legacy_2 = { # Lofty Ambitions 
	legacy = fp3_khvarenah_legacy_track

	can_be_picked = { eligible_for_fp3_khvarenah_legacy_trigger = yes }

	effect = {
		custom_description_no_bullet = { text = fp3_khvarenah_legacy_2_hostile_effect }
	}

	character_modifier = {
		personal_scheme_phase_duration_add = medium_scheme_phase_duration_bonus_value
		owned_personal_scheme_success_chance_add = 15
		monthly_stewardship_lifestyle_xp_gain_mult = 0.15
	}

	ai_chance = {
		value = 100
	}
}

fp3_khvarenah_legacy_3 = { # Light of Glory 
	legacy = fp3_khvarenah_legacy_track

	can_be_picked = { eligible_for_fp3_khvarenah_legacy_trigger = yes }

	effect = {
		custom_description_no_bullet = { 
			text = fp3_khvarenah_legacy_3_marriage_effect
		}
		custom_description_no_bullet = {
			text = fp3_khvarenah_legacy_3_spouse_task_effect
		}
	}
	
	character_modifier = {
		courtly_tax_contribution_mult = 0.15
		glory_hound_levy_contribution_mult = 0.15
	}

	ai_chance = {
		value = 100
	}
}

fp3_khvarenah_legacy_4 = { # Ancient Authority
	legacy = fp3_khvarenah_legacy_track

	can_be_picked = { eligible_for_fp3_khvarenah_legacy_trigger = yes }


	effect = {
		custom_description_no_bullet = {
			text = fp3_khvarenah_legacy_tax_collector_effect #better tax collectors
		}
		if = {
			limit = { has_dlc_feature = royal_court }
			custom_description_no_bullet = {
				text = fp3_khvarenah_legacy_4_effect #Better Bestow Royal Favor council task
			}
		}
		custom_description_no_bullet = {
			text = fp3_khvarenah_legacy_4_secondary_effect #can recruit Asawira
		}
	}

	ai_chance = {
		value = 100
	}
}

fp3_khvarenah_legacy_5 = { # Splendor Reborn 
	legacy = fp3_khvarenah_legacy_track

	can_be_picked = { eligible_for_fp3_khvarenah_legacy_trigger = yes }

	effect = {
		custom_description_no_bullet = { text = fp3_khvarenah_legacy_5_decision_effect }	
	}

	ai_chance = {
		value = 100
	}
}


