Отлучение от церкви
Резолюция

Отлучение от церкви

excommunicate_resolutionin_game/common/resolutions/00_excommunicate.txt:1

Люди, которых Рим Ruler Title отлучает от Католической церкви, больше не могут участвовать в её деятельности и принимать таинства.

Это действие приведёт к Concept Concept выбранной державы.

ТребуетРимДержаваselect trigger 2Католическая церковьМеждународное объединениеallow, can vote, select trigger 1КурияОсобый статусcan vote, select trigger 1Запрет действий курииТип модификатораallowЗапрет отлучения от церквиТип модификатораallowПапаТип модификатораallowКатоличествоРелигияallowexcommunication_targetПеременнаяselect trigger 2

Определениеin_game/common/resolutions/00_excommunicate.txt:1

3international_organization_type = catholic_church
4show_target_in_tooltip = yes
6potential = {
}
10allow = {
11scope:actor ?= {
12is_member_of_international_organization = international_organization:catholic_church
}
20trigger_if = {
21limit = {
21NOT = {
21resolution_is_active = resolution:excommunicate_resolution
}
}
22scope:actor ?= {
23custom_tooltip = {
24text = excommunicate_resolution_no_pap_tt Это не Рим. Воспользуйтесь Concept «Отлучение от церкви».
}
}
}
}
}
32votes = {
33add = {
34desc = "[cardinal_s|e]"
35value = scope:actor.num_cardinals
}
}
39can_vote = {
41country_has_special_status = {
43country = scope:actor
}
}
}
48proposal_price = price:propose_curia_action
50months = 6
52select_trigger = {
53looking_for_a = international_organization
54target_flag = recipient
55name = "choose_international_organization" Выберите Concept:
56column = {
57data = name
}
59visible = {
60international_organization_type = international_organization_type:catholic_church
62trigger_if = {
63limit = {
64exists = scope:actor
}
66country_has_special_status = {
68country = scope:actor
}
}
}
72enabled = {
73NOT = {
73has_cooldown = excommunicate
}
}
}
77select_trigger = {
78looking_for_a = country
79target_flag = target
80name = "excommunicate_select_country" Выберите Concept, которую желаете Concept
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
}
100scope:recipient = {
}
105always = yes
}
107trigger_else = {
108resolution_target(target) = {
109not = {
109this = root
}
}
}
}
}
}
}
116c:PAP = {
116opinion = {
116target = root
116value < 0
}
}
}
}
120select_trigger = {
121looking_for_a = boolean
122target_flag = vote
123name = "select_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" Concept получит Opinion Tried To Excommunicate Us к Concept о нас
148if = {
149limit = {
150exists = scope:target
}
152scope:target = {
153add_opinion = {
154target = scope:proposer
155modifier = opinion_tried_to_excommunicate_us
}
}
158scope:recipient = {
159set_variable = {
161value = scope:target
}
}
}
}
}
168effect = {
169if = {
170limit = {
170exists = scope:recipient
}
171scope:recipient = {
172remove_variable = excommunication_target
173add_cooldown = {
174type = excommunicate
175years = 20
}
}
}
179if = {
180limit = {
180exists = scope:target
}
181scope:target = {
}
}
183else = {
184custom_tooltip = cc_excommunicate_target_tt Цель будет отлучена от церкви.
}
}
188reject_effect = {
189scope:proposer = {
190add_prestige = prestige_extreme_penalty (-20)
}
192if = {
193limit = {
193exists = scope:recipient
}
194scope:recipient = {
195remove_variable = excommunication_target
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)"
}