give_military_host_interaction = { interface_priority = 25 common_interaction= yes use_diplomatic_range = yes category = interaction_category_diplomacy desc = give_military_host_interaction_desc icon = sponsor_military_gift is_shown = { scope:recipient = { is_ruler = yes highest_held_title_tier >= tier_county } NOT = { scope:actor = scope:recipient } } can_send = { custom_tooltip = { text = mh_can_send_requirement OR = { scope:small_military_gift = yes scope:medium_military_gift = yes scope:large_military_gift = yes } } } on_accept = { if = { limit = { scope:small_military_gift = yes } scope:recipient = { give_military_host_small_effect = yes } } else_if = { limit = { scope:medium_military_gift = yes } scope:recipient = { give_military_host_medium_effect = yes } } else_if = { limit = { scope:large_military_gift = yes } scope:recipient = { give_military_host_large_effect = yes } } } cost = { gold = { value = 0 if = { limit = { scope:small_military_gift = yes } add = give_military_interaction_gold_cost_small } else_if = { limit = { scope:medium_military_gift = yes } add = give_military_interaction_gold_cost_medium } else_if = { limit = { scope:large_military_gift = yes } add = give_military_interaction_gold_cost_large } } prestige = { value = 0 if = { limit = { scope:small_military_gift = yes } add = give_military_interaction_prestige_cost_small } else_if = { limit = { scope:medium_military_gift = yes } add = give_military_interaction_prestige_cost_medium } else_if = { limit = { scope:large_military_gift = yes } add = give_military_interaction_prestige_cost_large } } } send_option = { flag = small_military_gift localization = "Sponsor Small Army" is_shown = { exists = scope:actor } is_valid = { scope:actor = { custom_tooltip = { text = mh_small_army_requirement AND = { gold > 250 prestige > 100 } } } } } send_option = { flag = medium_military_gift localization = "Sponsor Moderate Army" is_shown = { exists = scope:actor } is_valid = { scope:actor = { custom_tooltip = { text = mh_medium_army_requirement AND = { gold > 500 prestige > 250 } } } } } send_option = { flag = large_military_gift localization = "Sponsor Large Army" is_shown = { exists = scope:actor } is_valid = { scope:actor = { custom_tooltip = { text = mh_large_army_requirement AND = { gold > 1000 prestige > 500 } } } } } send_options_exclusive = yes # Always up to get some free military! auto_accept = yes }