州の改宗
内閣アクション

州の改宗

promote_religionin_game/common/cabinet_actions/promote_religion.txt:1

毎月選択された宗教に改宗するPOPが増加する。

必要NMapColors|MAP_COLOR_HIGH定数select trigger 2NMapColors|MAP_COLOR_LOW定数select trigger 2市民の改宗禁止補正タイプallow聖職者の改宗禁止補正タイプallow貴族の改宗禁止補正タイプallow農民の改宗禁止補正タイプallowカトリック宗教allow第一会衆を支持静的補正allow

補正

定義in_game/common/cabinet_actions/promote_religion.txt:1

2ability = mil
4allow_multiple = yes
6potential = {
7num_locations > 0
}
10allow = {
11religious_unity < 1.0
12trigger_if = {
13limit = {
14has_country_modifier = sco_the_first_congregation
}
16NOT = {
16religion = religion:catholic
}
}
}
26select_trigger = {
27looking_for_a = religion
28target_flag = target_religion
30source_ai_override = actor
31source_flags_ai_override = include_any_present
32name = "promote_religion_select_religion" 以下から州のPOPを改宗する宗教を選択する:
33none_available_msg_key = "convert_religion_no_religions"
34column = {
35data = name
}
37column = {
38data = religion_percentage_in_country
}
40default_sort = religion_percentage_in_country
41visible = {
42group = scope:actor.religion.group
43is_religion_enabled = yes
44OR = {
45scope:actor.religion = root
46scope:actor = {
47religion_percentage_in_country = {
48religion = root
49value >= 0.01
}
}
}
}
}
56select_trigger = {
57looking_for_a = province
58source = actor
59target_flag = target_province
60name = "promote_religion_select_province" 以下からPOPを改宗する州を選択する:
61none_available_msg_key = "promote_religion_no_provinces"
62column = {
63data = name
}
65column = {
66data = province_religion_percentage
}
68column = {
69data = population
}
71default_sort = province_religion_percentage
72visible = {
73any_location_in_province = {
74OR = {
75NOT = {
75dominant_religion = owner.religion
}
76local_religious_unity < 1.0
}
}
79NOT = {
79cabinet_action = promote_religion
79interaction_target = target_province
}
}
}
81map_color = {
82lerp = {
85factor = "province.religion_percentage(scope:target_religion)"
}
}
}
90is_finished = {
91scope:target_province = {
92religion_percentage(scope:target_religion) = 1.0
}
}
96on_activate = {
97if = {
98limit = {
99exists = scope:target_province
}
101scope:target_province = {
102set_variable = {
104value = scope:target_religion
}
}
}
}
110on_deactivate = {
111if = {
112limit = {
113exists = scope:target_province
}
115scope:target_province = {
116remove_variable = promoting_religion
}
}
}
121location_modifier = {
}
126progress = {
127scope:target_province = {
128value = "religion_percentage(scope:target_religion)"
}
}
132map_marker = {
133show_for_owner = yes
}
136ai_will_do = {
137add = {
138desc = "Wrong religion"
139if = {
140limit = {
141exists = scope:target_religion
142scope:target_religion != scope:actor.religion
}
144value = -1000
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。無断転載を禁じます。本サイトは非公式のファンプロジェクトであり、Paradox Interactiveとは関係ありません。ゲームコンテンツ © Paradox Interactive。 概要 · プライバシー · 法的情報