
Country Interaction
Ask Elector to Vote for Candidate
We will ask them to vote for the chosen candidate when electing a new Emperor.
Holy Roman EmpireInternational Organizationallow, potential, select trigger 1, select trigger 2Definitionin_game/common/country_interactions/hre.txt:2547
2548type = diplomacy
2549category = CATEGORY_HRE_ACTIONS
2551diplomatic_cost = ask_to_vote_for_me_as_emperor_cost
2553potential = {
}
2557allow = {
}
2563cooldown = {
2564type = ask_to_vote_for_me_as_emperor
2565years = 2
}
2568select_trigger = {
2569looking_for_a = country
2570target_flag = recipient
2571interaction_source_list = {
2573every_country_with_special_status_of_type = {
2574type = elector
2575add_to_list = source
}
2577every_country_with_special_status_of_type = {
2578type = archbishop_elector
2579add_to_list = source
}
}
}
2583name = "choose_country" Choose the Country:
2584column = {
2585data = name
}
2590enabled = {
}
}
2593select_trigger = {
2594looking_for_a = country
2595target_flag = target
2596interaction_source_list = {
2598every_international_organization_member = {
2599add_to_list = source
}
}
}
2603name = "bribe_elector_choose_candidate" Select which Country the elector should vote for:
2604none_available_msg_key = "bribe_elector_no_candidates"
2605column = {
2606data = name
}
2611enabled = {
}
2612allow_self = yes
}
2615effect = {
2617set_vote = {
2618voter = scope:recipient
2619resolution = resolution:hre_election
2620vote = scope:target
2621lock_reason = {
2622key = VOTE_LOCK_REASON_FAVOURS
}
}
}
2626hidden_effect = {
2627if = {
2628limit = {
2628scope:actor = {
2628is_ai = yes
}
}
2629scope:recipient = {
2630add_cooldown = {
2631type = ai_spam_protection_ask_to_vote_for_me_as_emperor
2632years = 5
}
}
}
}
}
2638reject_effect = {
2639hidden_effect = {
2640if = {
2641limit = {
2641scope:actor = {
2641is_ai = yes
}
}
2642scope:recipient = {
2643add_cooldown = {
2644type = ai_spam_protection_ask_to_vote_for_me_as_emperor
2645years = 5
}
}
}
}
}
2652diplo_chance = {
2653base = -75
2654rank = 10
2655different_religion = -25
2656opinion = 0.05
2657negative_opinion = -0.1
2658diplomatic_reputation = 3
2659relative_strength = 25
}
2662accept = {
2663add = {
2664desc = "game_concept_trust" Trust
2665scope:recipient = {
2666value = "trust(scope:actor)"
2667divide = 5
}
}
2670if = {
2671limit = {
2672scope:recipient = {
2673is_rival_of = scope:actor
}
}
2676add = {
2677desc = "game_concept_rival" Rival
2678value = -100
}
}
2681if = {
2682limit = {
2683scope:recipient = {
2684is_at_war_with = scope:actor
}
}
2687add = {
2688desc = "IS_WAR_ENEMY" War
2689value = -1000
}
}
2692if = {
2698add = {
2699desc = "HAS_ALLIANCE" Alliance
2700value = 25
}
}
}