﻿find_holy_order_interaction = {
	category = interaction_category_friendly
	common_interaction = yes
	desc = find_holy_order_interaction.desc
	interface_priority = 80
	auto_accept = yes
	ai_frequency = 0
	
	is_shown = {
		scope:actor = {
		 NOT = {
		    has_trait = order_member
		    has_trait = slave
		 }
		 is_ruler = no
		 is_imprisoned = no
		 is_ai = no
		}
		scope:recipient = scope:actor
	}
	
	is_valid_showing_failures_only = { 
	custom_tooltip = {
	text = HIRED_TROOPS_VIEW_LIST_HO_NO_HOS
	scope:actor.faith = { any_faith_holy_order = { exists = yes }  }
	}
	scope:actor = { is_courtier = no is_adult = yes prowess >= 9 prestige >= 100 piety_level >= 2} 
	}
	
	
	on_accept = {
		scope:actor = { trigger_event = rtr.0107 }
		custom_tooltip = find_holy_order_interaction.tt
	}
}
