﻿0s_knight_santiago_decision = {
	picture = { 
		reference = "gfx/interface/illustrations/decisions/0s_knight_santiago.dds" 
	}
	decision_group_type = major
	ai_check_interval = 120
	desc = 0s_knight_santiago_decision_desc
	ai_goal = yes

	is_shown = {
		root.culture = {
		    NOT = { 
		has_innovation = innovation_knight_santiago 
			}
		}

		faith = faith:catholic

		root.culture = {
			has_cultural_era_or_later = culture_era_high_medieval
		}		
				
		highest_held_title_tier >= tier_duchy
		
		capital_province = { geographical_region = 0s_west_iberia }
	}
			
	is_valid = {
		faith = faith:catholic
		culture = { has_innovation = innovation_reconquista }
		OR = {
			has_trait = zealous
			has_trait = faith_warrior
			has_trait = crusader_king
		}
	}

	is_valid_showing_failures_only = {
		is_landed = yes
		is_capable_adult = yes
		is_imprisoned = no
		is_at_war = no
	}
	
	cost = {
		piety = 550
		gold = 700
		prestige = 500
	}

	effect = {   
		custom_tooltip = 0s_knight_santiago_decision_effect_tooltip
		root.culture = {
		add_innovation = innovation_knight_santiago
		}
		add_character_modifier = {
			modifier = hoc_knight_santiago_modifier
		}
	}

	ai_potential = {
		always = yes
	}

	ai_will_do = {
		base = 20
	}
}

0s_knight_teutonic_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/0s_knight_teutonic.dds" 
	}
	decision_group_type = major
	ai_check_interval = 120
	desc = 0s_knight_teutonic_decision_desc
	ai_goal = yes

	is_shown = {
		root.culture = {
		    NOT = { 
		has_innovation = innovation_knight_teutonic
			}
		}

		faith = faith:catholic

		root.culture = {
			has_cultural_era_or_later = culture_era_high_medieval
		}		
				
		highest_held_title_tier >= tier_duchy
		
		root.capital_province = {
			geographical_region = 0s_teutonic_expansion
		}
	}
			
	is_valid = {
		faith = faith:catholic
		culture = { has_innovation = innovation_east_settling }
		OR = {
			has_trait = zealous
			has_trait = faith_warrior
			has_trait = crusader_king
		}
	}

	is_valid_showing_failures_only = {
		is_landed = yes
		is_capable_adult = yes
		is_imprisoned = no
		is_at_war = no
	}
	
	cost = {
		piety = 550
		gold = 800
		prestige = 500
	}

	effect = {
		custom_tooltip = 0s_knight_teutonic_decision_effect_tooltip
		root.culture = {
		add_innovation = innovation_knight_teutonic
		}
		add_character_modifier = {
			modifier = hoc_knight_teutonic_modifier
		}
	}

	ai_potential = {
		always = yes
	}

	ai_will_do = {
		base = 20
	}
}

0s_knight_templar_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/0s_knight_templar.dds"
	}
	decision_group_type = major
	ai_check_interval = 120
	desc = 0s_knight_templar_decision_desc
	ai_goal = yes

	is_shown = {
		root.culture = {
		    NOT = {
		has_innovation = innovation_knight_templar
			}
		}

		faith = faith:catholic

		root.culture = {
			has_cultural_era_or_later = culture_era_high_medieval
		}		
				
		highest_held_title_tier >= tier_duchy
		
		capital_province = { geographical_region = world_middle_east_jerusalem }
	}
			
	is_valid = {
		faith = faith:catholic
		culture = { has_innovation = innovation_knighthood }
	}

	is_valid_showing_failures_only = {
		is_landed = yes
		is_capable_adult = yes
		is_imprisoned = no
		is_at_war = no
	}
	
	cost = {
		piety = 550
		gold = 500
		prestige = 500
	}

	effect = {   
		custom_tooltip = 0s_knight_templar_decision_effect_tooltip
		root.culture = {
		add_innovation = innovation_knight_templar
		}
		add_character_modifier = {
			modifier = hoc_knight_templar_modifier
		}
	}

	ai_potential = {
		always = yes
	}

	ai_will_do = {
		base = 20
	}
}

0s_knight_hospitaller_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/0s_knight_hospitaller.dds"
	}
	decision_group_type = major
	ai_check_interval = 120
	desc = 0s_knight_templar_decision_desc
	ai_goal = yes

	is_shown = {
		root.culture = {
		    NOT = {
		has_innovation = innovation_knight_hospitaller
			}
		}

		faith = faith:catholic

		root.culture = {
			has_cultural_era_or_later = culture_era_high_medieval
		}		
				
		highest_held_title_tier >= tier_duchy
		
		capital_province = { geographical_region = 0s_crusader_islands }
	}
			
	is_valid = {
		faith = faith:catholic
		culture = { has_innovation = innovation_knighthood }
	}

	is_valid_showing_failures_only = {
		is_landed = yes
		is_capable_adult = yes
		is_imprisoned = no
		is_at_war = no
	}
	
	cost = {
		piety = 550
		gold = 500
		prestige = 500
	}

	effect = {   
		custom_tooltip = 0s_knight_hospitaller_decision_effect_tooltip
		root.culture = {
		add_innovation = innovation_knight_hospitaller
		}
		add_character_modifier = {
			modifier = hoc_knight_hospitaller_modifier
		}
	}

	ai_potential = {
		always = yes
	}

	ai_will_do = {
		base = 20
	}
}
