﻿vts_purchase_a_man_interaction = {
	category = interaction_category_hostile
	ignores_pending_interaction_block = yes
	interface_priority = -1
	icon = hook_icon
	common_interaction = yes

	is_shown = {
		scope:actor = { has_perk = vts_purchase_a_man_perk }
		NOT = { scope:recipient = scope:actor }
	}
	is_valid_showing_failures_only = {
		scope:actor = { 
			long_term_gold > 999
			NOT = { 
				has_hook_of_type = {
					target = scope:recipient 
					type = vts_purchase_a_man_hook 
				} 
			}
		}
		scope:recipient = { 
			stewardship < scope:actor.vts_blinded_by_gold_value
		}
	}
	send_option = {
		flag = perpetual_hook
		localization = add_perpetual_hook_interaction
	}
	auto_accept = yes
	on_accept = {
		scope:actor = {
			pay_long_term_gold = {
				target = scope:recipient
				gold = 1000
			}
			switch = {
				trigger = yes
				scope:perpetual_hook = {
					add_hook = {
						target = scope:recipient
						type = vts_purchase_a_man_hook
					}
				}
			}
		}
	}
}