
Resolution
Excommunication
Any Catholic person placed under Excommunication by the Rome Ruler Title is cut from the structure of the Church and barred from receiving the sacraments.
This will Excommunicate the Ruler of the target country.
RomeCountryselect trigger 2
Catholic ChurchInternational Organizationallow, can vote, select trigger 1
CuriaSpecial Statuscan vote, select trigger 1
Curia Actions BlockedModifier Typeallow
Excommunication DisabledModifier Typeallow
Is the PopeModifier Typeallow
CatholicismReligionallowexcommunication_targetVariableselect trigger 2Definitionin_game/common/resolutions/00_excommunicate.txt:1
4show_target_in_tooltip = yes
10allow = {
11scope:actor ?= {
}
20trigger_if = {
21limit = {
21NOT = {
21resolution_is_active = resolution:excommunicate_resolution
}
}
22scope:actor ?= {
23custom_tooltip = {
24text = excommunicate_resolution_no_pap_tt Is not the Rome - use the Excommunicate Country Interaction instead
}
}
}
}
}
32votes = {
33add = {
34desc = "[cardinal_s|e]"
35value = scope:actor.num_cardinals
}
}
39can_vote = {
}
}
48proposal_price = price:propose_curia_action
50months = 6
52select_trigger = {
53looking_for_a = international_organization
54target_flag = recipient
55name = "choose_international_organization" Choose the International Organization:
56column = {
57data = name
}
59visible = {
62trigger_if = {
63limit = {
64exists = scope:actor
}
}
}
72enabled = {
73NOT = {
73has_cooldown = excommunicate
}
}
}
77select_trigger = {
78looking_for_a = country
79target_flag = target
80name = "excommunicate_select_country" Select the Country to try to Excommunicate
81none_available_msg_key = "excommunicate_resolution_no_countries"
82column = {
83data = name
}
85column = {
86data = population
}
88visible = {
90scope:recipient = {
91or = {
92not = {
92resolution_is_active = resolution:excommunicate_resolution
}
93active_resolution(resolution:excommunicate_resolution) ?= {
94resolution_target(target) = root
95or = {
96trigger_if = {
97limit = {
98exists = scope:proposer
}
105always = yes
}
107trigger_else = {
108resolution_target(target) = {
109not = {
109this = root
}
}
}
}
}
}
}
}
}
120select_trigger = {
121looking_for_a = boolean
122target_flag = vote
123name = "select_vote" Select which way to vote
124column = {
125data = name
}
127visible = {
}
129enabled = {
130trigger_if = {
131limit = {
132root = no
}
135scope:recipient = {
136resolution_is_active = resolution:excommunicate_resolution
}
}
139trigger_else = {
140always = yes
}
}
}
145propose_effect = {
146custom_tooltip = {
147text = "propose_excommunicate_tt" The target of the Excommunication will lose Opinion Tried To Excommunicate Us Opinion of us
148if = {
149limit = {
150exists = scope:target
}
152scope:target = {
153add_opinion = {
154target = scope:proposer
155modifier = opinion_tried_to_excommunicate_us
}
}
}
}
}
168effect = {
169if = {
170limit = {
170exists = scope:recipient
}
171scope:recipient = {
173add_cooldown = {
174type = excommunicate
175years = 20
}
}
}
183else = {
184custom_tooltip = cc_excommunicate_target_tt The target will be excommunicated.
}
}
188reject_effect = {
192if = {
193limit = {
193exists = scope:recipient
}
194scope:recipient = {
196add_cooldown = {
197type = excommunicate
198years = 20
}
}
}
}
204ai_will_do = {
205if = {
206limit = {
207exists = scope:actor
208exists = scope:target
209exists = scope:vote
}
211scope:actor = {
212if = {
213limit = {
213scope:vote = no
}
214if = {
215limit = {
215NOT = {
215this = scope:target
}
}
217if = {
218limit = {
218is_at_war_with = scope:target
}
219add = {
220desc = "VOTE_WAR_WITH_COUNTRY"
221value = -100
}
}
225add = {
226desc = "VOTE_OPINION_OF_COUNTRY"
227value = "scope:actor.opinion(scope:target)"
228multiply = 0.1
}
231add = {
232desc = "VOTE_ANTAGONISM_OF_COUNTRY"
233value = "scope:actor.antagonism(scope:target)"
234multiply = -0.75
}
237if = {
238limit = {
238is_allied_with = {
238target = scope:target
}
}
239add = {
240desc = "VOTE_ALLIED_WITH_COUNTRY"
241value = 1000
}
}
245if = {
246limit = {
246in_union_with = scope:target
}
247add = {
248desc = "VOTE_UNION_WITH_COUNTRY"
249value = 1000
}
}
}
253else = {
255add = {
256desc = "VOTE_IS_TARGET_COUNTRY"
257value = 1000
}
}
}
261else = {
262if = {
263limit = {
263NOT = {
263this = scope:target
}
}
265if = {
266limit = {
266is_at_war_with = scope:target
}
267add = {
268desc = "VOTE_WAR_WITH_COUNTRY"
269value = 100
}
}
273add = {
274desc = "VOTE_OPINION_OF_COUNTRY"
275value = "scope:actor.opinion(scope:target)"
276multiply = -0.25
}
279add = {
280desc = "VOTE_ANTAGONISM_OF_COUNTRY"
281value = "scope:actor.antagonism(scope:target)"
282multiply = 0.5
}
285if = {
286limit = {
286is_allied_with = {
286target = scope:target
}
}
287add = {
288desc = "VOTE_ALLIED_WITH_COUNTRY"
289value = -1000
}
}
293if = {
294limit = {
294in_union_with = scope:target
}
295add = {
296desc = "VOTE_UNION_WITH_COUNTRY"
297value = -1000
}
}
}
301else = {
303add = {
304desc = "VOTE_IS_TARGET_COUNTRY"
305value = -1000
}
}
}
}
}
312if = {
313limit = {
314not = {
314exists = scope:proposer
}
}
316if = {
317limit = {
318scope:vote = no
}
320multiply = {
321desc = "BIAS_FOR_VOTE_AGAINST_IT"
322value = -1
}
}
}
}
327ai_proposer_risk = {
328value = "scope:actor.currency_utility(prestige|prestige_extreme_penalty)"
}