
Country Interaction
Bestow Elector Status
We will make them an Elector in the Holy Roman Empire.
Holy Roman EmpireInternational Organizationselect trigger
Archbishop-ElectorSpecial Statuseffect, select trigger
Prince-ElectorSpecial Statuseffect, select trigger
Excluded from ElectorshipModifier Typeselect triggerDefinitionin_game/common/country_interactions/hre.txt:2
3type = diplomacy
4category = CATEGORY_HRE_ACTIONS
6ai_limit_per_check = 1
14allow = {
}
17select_trigger = {
18looking_for_a = country
19target_flag = recipient
20name = "choose_country" Choose the Country:
21column = {
22data = name
}
24visible = {
28OR = {
29AND = {
30num_countries_with_special_status = {
32value < "max_countries_with_special_status(special_status:elector)"
}
}
41AND = {
42num_countries_with_special_status = {
44value < "max_countries_with_special_status(special_status:archbishop_elector)"
}
46NOT = {
}
}
}
}
}
56enabled = {
58OR = {
59AND = {
60num_countries_with_special_status = {
62value < "max_countries_with_special_status(special_status:elector)"
}
}
69AND = {
70num_countries_with_special_status = {
72value < "max_countries_with_special_status(special_status:archbishop_elector)"
}
}
}
}
}
}
84effect = {
86if = {
87limit = {
}
93international_organization_add_special_status = {
95country = scope:recipient
}
}
98if = {
99limit = {
100special_status_can_be_bestowed = {
102country = scope:recipient
}
}
105international_organization_add_special_status = {
107country = scope:recipient
}
}
}
111scope:recipient = {
112add_opinion = {
112target = scope:actor
112modifier = opinion_granted_electorship
}
}
}
115ai_will_do = {
116add = {
117desc = "TARGET_ACCEPTANCE"
118value = "scope:actor.reverse_country_interaction_acceptance(country_interaction:request_elector_status|scope:recipient)"
}
}