
ДействиеИзменено в этой версии
Обратиться в другую религию
Смена религии нашей Concept
БогемияДержаваai prerequisite
ТеократияФорма правленияallow
Священная Римская ИмперияМеждународное объединениеai prerequisite
Запрет на обращениеТип модификатораallow
КальвинизмРелигияai prerequisite
КатоличествоРелигияai prerequisite
ГуситствоРелигияai prerequisite
ЛютеранствоРелигияai prerequisite
Тридентский соборСитуацияai prerequisite
Гуситские войныСитуацияai prerequisite
РеформацияСитуацияai prerequisiteОпределениеin_game/common/generic_actions/general_religion.txt:1
2type = owncountry
4sound = UI_action_religion_generic
6ai_tick = monthly
7ai_tick_frequency = 12
9automation_tick = monthly
10automation_tick_frequency = 1
11player_automated_category = religiousdoctrines
14ai_prerequisite = {
15trigger_if = {
}
27trigger_else_if = {
28limit = {
36OR = {
37AND = {
39has_presence_in = region:north_german_region
}
41has_presence_in = region:scandinavian_region
}
}
44OR = {
53dominant_religion ?= {
54NOT = {
54this = root.religion
}
}
}
}
58trigger_else_if = {
59limit = {
62OR = {
}
}
}
77trigger_else = {
78dominant_religion ?= {
79NOT = {
79this = root.religion
}
}
}
}
84potential = {
}
87allow = {
88trigger_if = {
89limit = {
90exists = scope:actor
}
92scope:actor = {
94is_colonial_subject = no
95custom_tooltip = {
96text = theocracy_subject_cannot_convert_tt Мы ленник-теократия сюзерена-теократии
97NOT = {
98AND = {
100is_subject = yes
}
}
}
}
}
}
109price = price:convert_religion
111cooldown = {
112type = convert_religion
113years = 25
}
116select_trigger = {
117looking_for_a = religion
118target_flag = target
119name = "convert_religion_select_religion" Выберите, в какую Concept обратиться
120none_available_msg_key = "no_convert_religion_tt"
121column = {
122data = name
}
124column = {
125data = religion_percentage_in_country
}
127visible = {
128trigger_if = {
129limit = {
130has_game_rule = dynamic_religion
}
132not = {
132religious_head ?= scope:actor
}
133is_religion_enabled = yes
134not = {
135this = scope:actor.religion
}
}
138trigger_else_if = {
139limit = {
140has_game_rule = religion_group_only
}
142group = scope:actor.religion.group
}
144trigger_else_if = {
145limit = {
146has_game_rule = religion_present_in_country
}
148scope:actor = {
149religion_population_in_country = {
150religion = root
151value > 0
}
}
}
155trigger_else = {
156always = yes
}
158trigger_if = {
160group = scope:actor.religion.group
}
}
163enabled = {
164custom_tooltip = {
165text = convert_religion_tt Либо выбранная Concept входит в группу «Actor Group», либо показатель её присутствия в нашей державе превышает 40,0%
166trigger_if = {
167limit = {
167exists = root
}
168not = {
168scope:actor.religion = root
}
169OR = {
170NOT = {
170has_game_rule = dynamic_religion
}
171scope:actor = {
172religion_population_in_country = {
173religion = root
174value > 0
}
176or = {
177religion.group = root.group
178religion_percentage_in_country = {
179religion = root
180value > 0.4
}
}
}
}
}
186trigger_else = {
187hidden_trigger = {
187always = yes
}
}
}
}
}
193effect = {
194scope:actor = {
195every_related_country = {
196type = alliance
197limit = {
198this != scope:actor
199religion = scope:actor.religion
}
201remove_relation = {
202type = relation_type:alliance
203first = this
204second = scope:actor
}
}
207change_religion = scope:target
}
}
214ai_will_do = {
216if = {
217limit = {
218scope:actor = c:BOH
219OR = {
220scope:actor = {
}
}
}
233add = {
234value = 250
235desc = "DIPLOREASON_HISTORICAL_DECISION"
}
}
238if = {
239limit = {
240scope:actor = c:BOH
241exists = scope:target
243scope:actor = {
}
}
251add = {
252value = 500
253desc = "DIPLOREASON_HISTORICAL_DECISION"
}
}
256if = {
257limit = {
258scope:actor = {
259has_or_had_tag = TUR
}
261has_game_rule = historical_ai_choices
}
263subtract = {
264value = 10000
265desc = "DIPLOREASON_HISTORICAL_DECISION"
}
}
269if = {
270limit = {
271has_game_rule = only_within_religion_group
272scope:actor.religion.group != scope:target.group
273trigger_if = {
274limit = {
274scope:actor = {
274tag = LIT
}
}
275scope:target.group = religion_group:christian
}
}
278subtract = {
279value = 10000
280desc = "ANTAGONISM_OTHERRELIGION_GROUP"
}
}
284if = {
285limit = {
285scope:actor.dominant_religion = scope:target
}
286add = {
287desc = "[dominant_religion|e]"
288value = 250
289multiply = "scope:actor.religion_percentage_in_country(scope:target)"
}
}
292if = {
293limit = {
296scope:target = {
296ai_wants_convert = no
}
297scope:actor.dominant_religion = scope:target
298scope:actor.ruler_or_regent ?= {
298religion != scope:target
}
299scope:actor != c:BOH
}
301subtract = {
302desc = "DIPLOREASON_RULER_RELIGION"
303value = 1000
}
}
306if = {
307limit = {
308scope:actor ?= {
310OR = {
311AND = {
313has_presence_in = region:north_german_region
}
315has_presence_in = region:scandinavian_region
}
}
}
319add = {
320desc = "DIPLOREASON_TARGET_RELIGION_PERCENTAGE"
321value = 600
322multiply = "scope:actor.religion_percentage_in_country(scope:target)"
}
}
325if = {
326limit = {
327scope:actor = {
327is_subject = yes
}
328scope:target != scope:actor.overlord.religion
}
330subtract = {
331desc = "DIPLOREASON_OVERLORD_RELIGION"
332value = 1000
}
}
}