
Cabinet Action
Convert Province
This will increase the amount of Pops that will Convert to the selected Religion each month.
Only the country's Primary Religion and religions within the same Religion Group that have at least 1% presence in the country may be selected.
Conversion of Burghers BlockedModifier Typeallow
Conversion of Clerics BlockedModifier Typeallow
Conversion of Nobles BlockedModifier Typeallow
Conversion of Peasants BlockedModifier Typeallow
CatholicismReligionallowSupport The First CongregationStatic ModifierallowModifiers
Definitionin_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" Select the Religion to Convert Pops in the Province to:
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" Select the Province to Convert Pops in:
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
}
}
}

