﻿deliever_letter_interaction = {
	category = interaction_category_friendly
	common_interaction = yes
	desc = deliever_letter_interaction.desc
	interface_priority = 80
	auto_accept = yes
	ai_frequency = 0
	
	icon = send_poem_interaction
	
	is_shown = {
		scope:actor = {
			has_character_flag = letter_quest
		}
	}
	
	can_send = {
		scope:actor = {
			is_imprisoned = no
		}	
	}
	
	
	on_accept = {
		scope:actor = {
		hidden_effect = { # Attacked by rival mercenary band on the road
		start_travel_plan = {
						destination = scope:recipient.capital_province
			           	on_start_on_action = on_travel_relocation_start
			         	on_arrival_on_action = letter_quest_on_action
			         	on_arrival_destinations = first
						players_use_planner = no
						return_trip = yes
					}
	   }
	   }
	
	}		
}