Событие

Распространение ислама End Predlog Vvo CL PREP

death_of_hayan_wuruk.6in_game/events/disaster/death_of_hayan_wuruk.txt:205
Распространение ислама …

Торговцы из далёких земель и ослабление нашей центральной власти привели к тому, что наши подданные в провинции Target Province начали принимать суннизм. Распространение разных учений никогда не было для нас проблемой. Но укоренение чужих религий, несовместимых с нашей, в такое трудное и нестабильное время — это опасный прецедент.

ТребуетСуфийская мечетьСооружениеoptionСуннизмРелигияimmediate, optionhigh_pop_conversion_variableПеременнаяimmediate, optionlow_pop_conversion_variableПеременнаяimmediate, optionmild_pop_conversion_variableПеременнаяimmediate, optionrecently_received_muslim_community_event_variableПеременнаяimmediate, triggervery_high_pop_conversion_variableПеременнаяimmediate

Определениеin_game/events/disaster/death_of_hayan_wuruk.txt:205

206type = country_event
207category = disaster_event
208title = death_of_hayan_wuruk.6.title Распространение ислама End Predlog Vvo CL PREP
209desc = death_of_hayan_wuruk.6.desc Торговцы из далёких земель и ослабление нашей центральной власти привели к тому, что наши подданные в провинции Target Province начали принимать суннизм. Распространение разных учений никогда не было для нас проблемой. Но укоренение чужих религий, несовместимых с нашей, в такое трудное и нестабильное время — это опасный прецедент.
210outcome = neutral
211image = "gfx/interface/illustrations/disaster/death_of_hayan_wuruk.dds"
213trigger = {
214capital.area = {
215any_province_in_area = {
216owner = root
}
}
}
222immediate = {
223capital.area = {
224random_province_in_area = {
225limit = {
226any_location_in_province = {
226owner = root
}
}
229save_scope_as = target_province
}
}
232random_list = {
23325 = {
234set_variable = low_pop_conversion_variable
}
23625 = {
}
23925 = {
}
24225 = {
}
}
246scope:target_province = {
247ordered_location_in_province = {
248order_by = population
249max = 1
250check_range_bounds = no
251save_scope_as = target_location
252set_variable = {
}
256if = {
257limit = {
258root = {
258has_variable = low_pop_conversion_variable
}
}
260every_pop = {
261limit = {
262NOT = {
263religion = religion:sunni
}
}
266split_pop = {
267fraction = 0.05
268religion = religion:sunni
}
}
}
272else_if = {
273limit = {
274root = {
}
}
276every_pop = {
277limit = {
278NOT = {
279religion = religion:sunni
}
}
282split_pop = {
283fraction = 0.1
284religion = religion:sunni
}
}
}
288else_if = {
289limit = {
290root = {
}
}
292every_pop = {
293limit = {
294NOT = {
295religion = religion:sunni
}
}
298split_pop = {
299fraction = 0.15
300religion = religion:sunni
}
}
}
304else_if = {
305limit = {
306root = {
}
}
308every_pop = {
309limit = {
310NOT = {
311religion = religion:sunni
}
}
314split_pop = {
315fraction = 0.2
316religion = religion:sunni
}
}
}
}
}
}

Варианты

AИнтересный итог.
327add_stability = stability_weak_penalty (-2.5)
328scope:target_location = {
329if = {
330limit = {
331root = {
331has_variable = low_pop_conversion_variable
}
}
333every_pop = {
334limit = {
335NOT = {
336religion = religion:sunni
}
}
339split_pop = {
340fraction = 0.05
341religion = religion:sunni
}
}
}
345else_if = {
346limit = {
347root = {
}
}
349every_pop = {
350limit = {
351NOT = {
352religion = religion:sunni
}
}
355split_pop = {
356fraction = 0.1
357religion = religion:sunni
}
}
}
361else_if = {
362limit = {
363root = {
}
}
365every_pop = {
366limit = {
367NOT = {
368religion = religion:sunni
}
}
371split_pop = {
372fraction = 0.15
373religion = religion:sunni
}
}
}
377else = {
378every_pop = {
379limit = {
380NOT = {
381religion = religion:sunni
}
}
384split_pop = {
385fraction = 0.2
386religion = religion:sunni
}
}
}
390if = {
391limit = {
392NOT = {
392has_building = building_type:sufi_mosque
}
}
394construct_building = {
395building_type = building_type:sufi_mosque
396cost_multiplier = 0
397cost_multiplier_reason = "clergy_expensive_sponsorship"
398instant = yes
}
}
}