
ActionChanged this version
Overthrow High King
As great warriors, High Kings are expected to welcome challengers in war to prove their own worthiness as protectors of the land.
High KingshipInternational Organizationallow, select trigger 1, select trigger 2Definitionin_game/common/generic_actions/high_kingship_of_ireland.txt:114
115icon = claim_high_kingship
116type = internationalorganization
117show_message = no
119ai_tick = monthly
120ai_tick_frequency = 6
122allow = {
123scope:actor = {
124at_war = no
125any_international_organizations_member_of = {
127international_organization_has_leader = yes
128NOT = {
128leader_country = prev
}
129leader_country = {
130scope:actor = {
130can_declare_war_on = prev
}
}
}
}
}
136price = price:high_kingship_overthrow
138cooldown = {
139type = overthrow_high_king
140years = 10
}
143select_trigger = {
144looking_for_a = international_organization
145source = actor
146target_flag = recipient
147name = "choose_international_organization" Choose the International Organization:
148column = {
149data = name
}
}
156select_trigger = {
157looking_for_a = country
158interaction_source_list = {
159scope:actor = {
160every_international_organizations_member_of = {
161limit = {
163international_organization_has_leader = yes
164scope:actor = {
164can_declare_war_on = prev.leader_country
}
165NOT = {
165leader_country = scope:actor
}
}
167leader_country = {
167add_to_list = source
}
}
}
}
171target_flag = target_country
172name = "choose_international_organization" Choose the International Organization:
173column = {
173data = name
}
174column = {
174data = population
}
175column = {
175data = great_power_score
}
}
178effect = {
179scope:actor = {
180add_casus_belli = {
182target = scope:target_country
}
}
}
187ai_will_do = {
188value = -50
189if = {
190limit = {
190exists = scope:target_country
}
191add = scope:actor.stability
192add = scope:actor.legitimacy
193add = {
194value = scope:actor.num_loans
195multiply = -5
}
197if = {
198limit = {
199scope:actor = {
199is_during_bankruptcy = yes
}
}
201subtract = 1000
}
203scope:target_country = {
204subtract = {
205scope:actor = {
206value = this_opinion_of_prev
207multiply = 0.1
}
}
}
211multiply = {
212value = 1
213add = "scope:actor.relative_strength(scope:target_country)"
}
}
}