
内閣アクション
州の改宗
毎月選択された宗教に改宗するPOPが増加する。
市民の改宗禁止補正タイプallow
聖職者の改宗禁止補正タイプallow
貴族の改宗禁止補正タイプallow
農民の改宗禁止補正タイプallow
カトリック宗教allow第一会衆を支持静的補正allow補正
POP改宗速度(ローカル)+40
移住地の魅力−0.15
定義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 = {
}
}
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 = {
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 = {
}
}
}
110on_deactivate = {
111if = {
112limit = {
113exists = scope:target_province
}
}
}
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
}
}
}