|
@@ -11,7 +11,6 @@ anti_tax_rebels = {
|
|
|
11
11
|
independence = none # Does not strive for independence
|
|
12
12
|
defect_delay = 120
|
|
13
13
|
gfx_type = culture_province
|
|
14
|
-
will_relocate = yes
|
|
15
14
|
|
|
16
15
|
resilient = no # Disbands on retreat
|
|
17
16
|
reinforcing = no # Does not receive reinforcements
|
|
@@ -35,6 +34,10 @@ anti_tax_rebels = {
|
|
|
35
34
|
# The rebel type with the highest modifier for this province gets picked
|
|
36
35
|
spawn_chance = {
|
|
37
36
|
factor = 2
|
|
37
|
+
modifier = {
|
|
38
|
+
factor = 100.0
|
|
39
|
+
has_province_modifier = rus_discontent_peasantry
|
|
40
|
+
}
|
|
38
41
|
modifier = {
|
|
39
42
|
factor = 10
|
|
40
43
|
owner = {
|
|
@@ -161,6 +164,12 @@ anti_tax_rebels = {
|
|
|
161
164
|
remove_country_modifier = isolate_rebels
|
|
162
165
|
add_prestige = -50
|
|
163
166
|
}
|
|
167
|
+
if = {
|
|
168
|
+
limit = { has_disaster = castilian_civil_war }
|
|
169
|
+
set_country_flag = cas_civil_war_rebels_won
|
|
170
|
+
country_event = { id = castilian_civil_war.100 }
|
|
171
|
+
end_disaster = castilian_civil_war
|
|
172
|
+
}
|
|
164
173
|
if = {
|
|
165
174
|
limit = {
|
|
166
175
|
OR = {
|
|
@@ -60,7 +60,10 @@ cossack_rebels = {
|
|
|
60
60
|
}
|
|
61
61
|
modifier = {
|
|
62
62
|
factor = 2.0
|
|
63
|
-
|
|
63
|
+
OR = {
|
|
64
|
+
culture_group = east_slavic
|
|
65
|
+
culture_group = slavic
|
|
66
|
+
}
|
|
64
67
|
}
|
|
65
68
|
modifier = {
|
|
66
69
|
factor = 2.0
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
|
|
2
|
+
######################################################################
|
|
3
|
+
# Dreamtime rebels. Disgruntled fanatics.
|
|
4
|
+
######################################################################
|
|
5
|
+
dreamtime_rebels = {
|
|
6
|
+
|
|
7
|
+
color = { 230 175 175 }
|
|
8
|
+
|
|
9
|
+
area = nation # Sticks to provinces of their nation
|
|
10
|
+
government = theocracy # Desires Theocracy
|
|
11
|
+
religion = dreamtime
|
|
12
|
+
defection = none # Will not defect
|
|
13
|
+
defect_delay = 120 # Held provinces will auto-defect after 18 months, regardless of accept/enforce demands.
|
|
14
|
+
independence = none # Does not strive for independence
|
|
15
|
+
unit_transfer = no
|
|
16
|
+
gfx_type = culture_province
|
|
17
|
+
will_relocate = yes
|
|
18
|
+
|
|
19
|
+
resilient = no
|
|
20
|
+
reinforcing = yes
|
|
21
|
+
general = yes
|
|
22
|
+
smart = yes
|
|
23
|
+
|
|
24
|
+
artillery = 0.0
|
|
25
|
+
infantry = 0.7
|
|
26
|
+
cavalry = 0.3
|
|
27
|
+
|
|
28
|
+
morale = 1.1
|
|
29
|
+
|
|
30
|
+
# Possible handle actions
|
|
31
|
+
handle_action_negotiate = yes
|
|
32
|
+
handle_action_stability = yes
|
|
33
|
+
handle_action_build_core = yes
|
|
34
|
+
handle_action_send_missionary = yes
|
|
35
|
+
|
|
36
|
+
# The rebel type with the highest modifier for this province gets picked
|
|
37
|
+
spawn_chance = {
|
|
38
|
+
factor = 1
|
|
39
|
+
modifier = {
|
|
40
|
+
factor = 0.5
|
|
41
|
+
is_overseas = yes
|
|
42
|
+
}
|
|
43
|
+
modifier = {
|
|
44
|
+
factor = 0.0
|
|
45
|
+
owner = { religion = ROOT }
|
|
46
|
+
}
|
|
47
|
+
modifier = {
|
|
48
|
+
factor = 0.0
|
|
49
|
+
NOT = { religion = dreamtime }
|
|
50
|
+
}
|
|
51
|
+
modifier = {
|
|
52
|
+
factor = 0.001
|
|
53
|
+
tolerance_to_this = 5
|
|
54
|
+
}
|
|
55
|
+
modifier = {
|
|
56
|
+
factor = 0.5
|
|
57
|
+
tolerance_to_this = 2
|
|
58
|
+
}
|
|
59
|
+
modifier = {
|
|
60
|
+
factor = 5.0
|
|
61
|
+
owner = { has_disaster = religious_turmoil }
|
|
62
|
+
}
|
|
63
|
+
modifier = {
|
|
64
|
+
factor = 2000
|
|
65
|
+
has_missionary = yes
|
|
66
|
+
}
|
|
67
|
+
modifier = {
|
|
68
|
+
factor = 2
|
|
69
|
+
NOT = { tolerance_to_this = 1 }
|
|
70
|
+
}
|
|
71
|
+
modifier = {
|
|
72
|
+
factor = 2
|
|
73
|
+
NOT = { tolerance_to_this = -1 }
|
|
74
|
+
}
|
|
75
|
+
modifier = {
|
|
76
|
+
factor = 2
|
|
77
|
+
NOT = { tolerance_to_this = -2 }
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
# This is checked for EACH province in the Area of Operations
|
|
82
|
+
movement_evaluation = {
|
|
83
|
+
factor = 1
|
|
84
|
+
modifier = {
|
|
85
|
+
factor = 0.5
|
|
86
|
+
units_in_province = 1
|
|
87
|
+
}
|
|
88
|
+
modifier = {
|
|
89
|
+
factor = 0.001
|
|
90
|
+
controlled_by = REB
|
|
91
|
+
}
|
|
92
|
+
modifier = {
|
|
93
|
+
factor = 0.0
|
|
94
|
+
religion = dreamtime
|
|
95
|
+
owner = { religion = dreamtime }
|
|
96
|
+
}
|
|
97
|
+
modifier = {
|
|
98
|
+
factor = 2.0
|
|
99
|
+
NOT = { religion = dreamtime }
|
|
100
|
+
any_neighbor_province = {
|
|
101
|
+
religion = dreamtime
|
|
102
|
+
NOT = { has_province_modifier = "forced_conversion" }
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
modifier = {
|
|
106
|
+
factor = 5
|
|
107
|
+
has_missionary = yes
|
|
108
|
+
religion = dreamtime
|
|
109
|
+
}
|
|
110
|
+
modifier = {
|
|
111
|
+
factor = 1.5
|
|
112
|
+
unrest = 2
|
|
113
|
+
}
|
|
114
|
+
modifier = {
|
|
115
|
+
factor = 1.5
|
|
116
|
+
unrest = 4
|
|
117
|
+
}
|
|
118
|
+
modifier = {
|
|
119
|
+
factor = 1.5
|
|
120
|
+
unrest = 6
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
# Province Scope
|
|
125
|
+
siege_won_trigger = {
|
|
126
|
+
NOT = {
|
|
127
|
+
AND = {
|
|
128
|
+
owned_by = PAP
|
|
129
|
+
is_capital = yes
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
siege_won_effect = {
|
|
134
|
+
custom_tooltip = religious_rebels_seige_effect_tooltip
|
|
135
|
+
hidden_effect = {
|
|
136
|
+
if = {
|
|
137
|
+
limit = {
|
|
138
|
+
OR = {
|
|
139
|
+
religion = dreamtime
|
|
140
|
+
is_reformation_center = yes
|
|
141
|
+
owner = { religion = dreamtime }
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
add_province_modifier = {
|
|
145
|
+
name = "religious_violence"
|
|
146
|
+
duration = 730
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
if = {
|
|
150
|
+
limit = {
|
|
151
|
+
NOT = { religion = dreamtime }
|
|
152
|
+
is_reformation_center = no
|
|
153
|
+
NOT = { owner = { religion = dreamtime } }
|
|
154
|
+
}
|
|
155
|
+
change_religion = dreamtime
|
|
156
|
+
add_province_modifier = {
|
|
157
|
+
name = "forced_conversion"
|
|
158
|
+
duration = 730
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
owner = {
|
|
163
|
+
change_estate_land_share = {
|
|
164
|
+
estate = estate_church
|
|
165
|
+
share = 10.0
|
|
166
|
+
province = ROOT
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
# Country scope
|
|
172
|
+
can_negotiate_trigger = {
|
|
173
|
+
religion_group = pagan
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
# Country scope
|
|
177
|
+
can_enforce_trigger = {
|
|
178
|
+
always = yes
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
# Localisation for their demands
|
|
182
|
+
demands_description = "dreamtime_demand"
|
|
183
|
+
|
|
184
|
+
# Country Scope
|
|
185
|
+
demands_enforced_effect = {
|
|
186
|
+
hidden_effect = {
|
|
187
|
+
add_country_modifier = {
|
|
188
|
+
name = just_lost_to_rebels
|
|
189
|
+
duration = 10
|
|
190
|
+
hidden = yes
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
if = {
|
|
194
|
+
limit = {
|
|
195
|
+
NOT = { religion_group = pagan }
|
|
196
|
+
}
|
|
197
|
+
add_prestige = -50
|
|
198
|
+
every_owned_province = {
|
|
199
|
+
limit = {
|
|
200
|
+
has_rebel_faction = REB
|
|
201
|
+
}
|
|
202
|
+
add_local_autonomy = 20
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
if = {
|
|
206
|
+
limit = {
|
|
207
|
+
tag = PAP
|
|
208
|
+
}
|
|
209
|
+
add_stability = -1
|
|
210
|
+
}
|
|
211
|
+
else_if = {
|
|
212
|
+
limit = {
|
|
213
|
+
religion = dreamtime
|
|
214
|
+
}
|
|
215
|
+
add_country_modifier = {
|
|
216
|
+
name = "religious_intolerance_enforced"
|
|
217
|
+
duration = 3650
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
else_if = {
|
|
221
|
+
limit = {
|
|
222
|
+
dominant_religion = dreamtime
|
|
223
|
+
NOT = { religion = dreamtime }
|
|
224
|
+
}
|
|
225
|
+
change_religion = dreamtime
|
|
226
|
+
force_converted = yes
|
|
227
|
+
}
|
|
228
|
+
else = { add_stability = -1 } #Should probably never get here
|
|
229
|
+
if = {
|
|
230
|
+
limit = {
|
|
231
|
+
religion = dreamtime
|
|
232
|
+
has_estate = estate_church
|
|
233
|
+
NOT = {
|
|
234
|
+
has_estate_influence_modifier = {
|
|
235
|
+
estate = estate_church
|
|
236
|
+
modifier = EST_VAL_RELIGIOUS_ZEALOTS_TRIUMPH
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
add_estate_influence_modifier = {
|
|
241
|
+
estate = estate_church
|
|
242
|
+
desc = EST_VAL_RELIGIOUS_ZEALOTS_TRIUMPH
|
|
243
|
+
duration = 3650
|
|
244
|
+
influence = 15
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
change_estate_land_share = {
|
|
248
|
+
estate = estate_church
|
|
249
|
+
share = 10.0
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
|
|
2
|
+
######################################################################
|
|
3
|
+
# Eunuch rebels.
|
|
4
|
+
######################################################################
|
|
5
|
+
eunuch_rebels = {
|
|
6
|
+
color = { 170 95 25 }
|
|
7
|
+
|
|
8
|
+
area = nation # Stays within the nation
|
|
9
|
+
government = monarchy # Likes monarchy
|
|
10
|
+
defection = none # Does not defect
|
|
11
|
+
independence = none # Does not strive for independence
|
|
12
|
+
unit_transfer = yes
|
|
13
|
+
gfx_type = culture_owner
|
|
14
|
+
will_relocate = yes
|
|
15
|
+
|
|
16
|
+
resilient = yes
|
|
17
|
+
reinforcing = yes
|
|
18
|
+
general = yes
|
|
19
|
+
smart = yes
|
|
20
|
+
|
|
21
|
+
artillery = 0.2
|
|
22
|
+
infantry = 0.65
|
|
23
|
+
cavalry = 0.15
|
|
24
|
+
|
|
25
|
+
morale = 1
|
|
26
|
+
|
|
27
|
+
# Possible handle actions
|
|
28
|
+
handle_action_negotiate = yes
|
|
29
|
+
handle_action_stability = yes
|
|
30
|
+
handle_action_build_core = yes
|
|
31
|
+
handle_action_send_missionary = yes
|
|
32
|
+
|
|
33
|
+
# The rebel type with the highest modifier for this province gets picked
|
|
34
|
+
spawn_chance = {
|
|
35
|
+
factor = 1
|
|
36
|
+
modifier = {
|
|
37
|
+
factor = 0
|
|
38
|
+
owner = {
|
|
39
|
+
NOT = { has_estate = estate_janissaries }
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
modifier = {
|
|
43
|
+
factor = 0
|
|
44
|
+
has_owner_religion = yes
|
|
45
|
+
}
|
|
46
|
+
modifier = {
|
|
47
|
+
factor = 5
|
|
48
|
+
owner = {
|
|
49
|
+
has_disaster = estate_eunuchs_disaster
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
modifier = {
|
|
53
|
+
factor = 0.01
|
|
54
|
+
is_overseas = yes
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
# This is checked for EACH province in the Area of Operations
|
|
59
|
+
movement_evaluation = {
|
|
60
|
+
factor = 1
|
|
61
|
+
modifier = {
|
|
62
|
+
factor = 0.1
|
|
63
|
+
units_in_province = 1
|
|
64
|
+
}
|
|
65
|
+
modifier = {
|
|
66
|
+
factor = 0.001
|
|
67
|
+
controlled_by = REB
|
|
68
|
+
}
|
|
69
|
+
modifier = {
|
|
70
|
+
factor = 1.5
|
|
71
|
+
unrest = 2
|
|
72
|
+
}
|
|
73
|
+
modifier = {
|
|
74
|
+
factor = 1.5
|
|
75
|
+
unrest = 4
|
|
76
|
+
}
|
|
77
|
+
modifier = {
|
|
78
|
+
factor = 1.5
|
|
79
|
+
unrest = 6
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
# Province Scope
|
|
84
|
+
siege_won_trigger = {
|
|
85
|
+
NOT = { local_autonomy = 50 }
|
|
86
|
+
}
|
|
87
|
+
siege_won_effect = {
|
|
88
|
+
add_local_autonomy = 10
|
|
89
|
+
owner = {
|
|
90
|
+
if = {
|
|
91
|
+
limit = { has_estate = estate_janissaries }
|
|
92
|
+
change_estate_land_share = {
|
|
93
|
+
estate = estate_janissaries
|
|
94
|
+
share = 1
|
|
95
|
+
province = ROOT
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
# Country scope
|
|
102
|
+
can_negotiate_trigger = {
|
|
103
|
+
always = yes
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
# Country scope
|
|
107
|
+
can_enforce_trigger = {
|
|
108
|
+
always = yes
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
# Localisation for their demands
|
|
112
|
+
demands_description = janissary_rebels_demands
|
|
113
|
+
|
|
114
|
+
# Country Scope
|
|
115
|
+
demands_enforced_effect = {
|
|
116
|
+
hidden_effect = {
|
|
117
|
+
add_country_modifier = {
|
|
118
|
+
name = just_lost_to_rebels
|
|
119
|
+
duration = 10
|
|
120
|
+
hidden = yes
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
if = {
|
|
124
|
+
limit = {
|
|
125
|
+
has_estate = estate_janissaries
|
|
126
|
+
NOT = {
|
|
127
|
+
has_estate_influence_modifier = {
|
|
128
|
+
estate = estate_janissaries
|
|
129
|
+
modifier = EST_VAL_NOBLES_EXTORTED_RIGHTS
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
add_estate_influence_modifier = {
|
|
134
|
+
estate = estate_janissaries
|
|
135
|
+
desc = EST_VAL_NOBLES_EXTORTED_RIGHTS
|
|
136
|
+
influence = 15
|
|
137
|
+
duration = 5475
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
every_owned_province = {
|
|
141
|
+
limit = {
|
|
142
|
+
has_rebel_faction = REB
|
|
143
|
+
}
|
|
144
|
+
add_local_autonomy = 20
|
|
145
|
+
}
|
|
146
|
+
add_prestige = -20
|
|
147
|
+
add_legitimacy = -20
|
|
148
|
+
add_horde_unity = -20
|
|
149
|
+
add_devotion = -20
|
|
150
|
+
add_republican_tradition = -10
|
|
151
|
+
if = {
|
|
152
|
+
limit = {
|
|
153
|
+
has_disaster = court_and_country
|
|
154
|
+
}
|
|
155
|
+
set_country_flag = court_and_country_surrendered_to_rebels
|
|
156
|
+
hidden_effect = { country_event = { id = court_and_country_events.100 } }
|
|
157
|
+
end_disaster = court_and_country
|
|
158
|
+
}
|
|
159
|
+
if = {
|
|
160
|
+
limit = { has_estate = estate_janissaries }
|
|
161
|
+
change_estate_land_share = {
|
|
162
|
+
estate = estate_janissaries
|
|
163
|
+
share = 100
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
add_absolutism = -20
|
|
167
|
+
kill_ruler = yes
|
|
168
|
+
}
|
|
169
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
|
|
2
|
+
######################################################################
|
|
3
|
+
# Ghulams rebels.
|
|
4
|
+
######################################################################
|
|
5
|
+
ghulams_rebels = {
|
|
6
|
+
color = { 170 95 25 }
|
|
7
|
+
|
|
8
|
+
area = nation # Stays within the nation
|
|
9
|
+
government = monarchy # Likes monarchy
|
|
10
|
+
defection = none # Does not defect
|
|
11
|
+
independence = none # Does not strive for independence
|
|
12
|
+
unit_transfer = yes
|
|
13
|
+
gfx_type = culture_owner
|
|
14
|
+
will_relocate = yes
|
|
15
|
+
|
|
16
|
+
resilient = yes
|
|
17
|
+
reinforcing = yes
|
|
18
|
+
general = yes
|
|
19
|
+
smart = yes
|
|
20
|
+
|
|
21
|
+
artillery = 0.3
|
|
22
|
+
infantry = 0.6
|
|
23
|
+
cavalry = 0.1
|
|
24
|
+
|
|
25
|
+
morale = 1.25
|
|
26
|
+
|
|
27
|
+
# Possible handle actions
|
|
28
|
+
handle_action_negotiate = yes
|
|
29
|
+
handle_action_stability = yes
|
|
30
|
+
handle_action_build_core = yes
|
|
31
|
+
handle_action_send_missionary = yes
|
|
32
|
+
|
|
33
|
+
# The rebel type with the highest modifier for this province gets picked
|
|
34
|
+
spawn_chance = {
|
|
35
|
+
factor = 1
|
|
36
|
+
modifier = {
|
|
37
|
+
factor = 0.01
|
|
38
|
+
is_overseas = yes
|
|
39
|
+
}
|
|
40
|
+
modifier = {
|
|
41
|
+
factor = 2
|
|
42
|
+
owner = { religion_group = christian }
|
|
43
|
+
}
|
|
44
|
+
modifier = {
|
|
45
|
+
factor = 0
|
|
46
|
+
has_owner_religion = yes
|
|
47
|
+
}
|
|
48
|
+
modifier = {
|
|
49
|
+
factor = 2
|
|
50
|
+
owner = {
|
|
51
|
+
estate_influence = {
|
|
52
|
+
estate = estate_ghulams
|
|
53
|
+
influence = 80
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
# This is checked for EACH province in the Area of Operations
|
|
60
|
+
movement_evaluation = {
|
|
61
|
+
factor = 1
|
|
62
|
+
modifier = {
|
|
63
|
+
factor = 0.1
|
|
64
|
+
units_in_province = 1
|
|
65
|
+
}
|
|
66
|
+
modifier = {
|
|
67
|
+
factor = 0.001
|
|
68
|
+
controlled_by = REB
|
|
69
|
+
}
|
|
70
|
+
modifier = {
|
|
71
|
+
factor = 1.5
|
|
72
|
+
unrest = 2
|
|
73
|
+
}
|
|
74
|
+
modifier = {
|
|
75
|
+
factor = 1.5
|
|
76
|
+
unrest = 4
|
|
77
|
+
}
|
|
78
|
+
modifier = {
|
|
79
|
+
factor = 1.5
|
|
80
|
+
unrest = 6
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
# Province Scope
|
|
85
|
+
siege_won_trigger = {
|
|
86
|
+
NOT = { local_autonomy = 50 }
|
|
87
|
+
}
|
|
88
|
+
siege_won_effect = {
|
|
89
|
+
add_local_autonomy = 10
|
|
90
|
+
owner = {
|
|
91
|
+
if = {
|
|
92
|
+
limit = { has_estate = estate_ghulams }
|
|
93
|
+
change_estate_land_share = {
|
|
94
|
+
estate = estate_ghulams
|
|
95
|
+
share = 1
|
|
96
|
+
province = ROOT
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
# Country scope
|
|
103
|
+
can_negotiate_trigger = {
|
|
104
|
+
always = yes
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
# Country scope
|
|
108
|
+
can_enforce_trigger = {
|
|
109
|
+
always = yes
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
# Localisation for their demands
|
|
113
|
+
demands_description = ghulams_rebels_demands
|
|
114
|
+
|
|
115
|
+
# Country Scope
|
|
116
|
+
demands_enforced_effect = {
|
|
117
|
+
hidden_effect = {
|
|
118
|
+
add_country_modifier = {
|
|
119
|
+
name = just_lost_to_rebels
|
|
120
|
+
duration = 10
|
|
121
|
+
hidden = yes
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
if = {
|
|
125
|
+
limit = {
|
|
126
|
+
has_estate = estate_ghulams
|
|
127
|
+
NOT = {
|
|
128
|
+
has_estate_influence_modifier = {
|
|
129
|
+
estate = estate_ghulams
|
|
130
|
+
modifier = EST_VAL_NOBLES_EXTORTED_RIGHTS
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
add_estate_influence_modifier = {
|
|
135
|
+
estate = estate_ghulams
|
|
136
|
+
desc = EST_VAL_NOBLES_EXTORTED_RIGHTS
|
|
137
|
+
influence = 15
|
|
138
|
+
duration = 5475
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
every_owned_province = {
|
|
142
|
+
limit = {
|
|
143
|
+
has_rebel_faction = REB
|
|
144
|
+
}
|
|
145
|
+
add_local_autonomy = 20
|
|
146
|
+
}
|
|
147
|
+
add_prestige = -20
|
|
148
|
+
add_legitimacy = -20
|
|
149
|
+
add_horde_unity = -20
|
|
150
|
+
add_devotion = -20
|
|
151
|
+
add_republican_tradition = -10
|
|
152
|
+
if = {
|
|
153
|
+
limit = {
|
|
154
|
+
has_disaster = court_and_country
|
|
155
|
+
}
|
|
156
|
+
set_country_flag = court_and_country_surrendered_to_rebels
|
|
157
|
+
hidden_effect = { country_event = { id = court_and_country_events.100 } }
|
|
158
|
+
end_disaster = court_and_country
|
|
159
|
+
}
|
|
160
|
+
if = {
|
|
161
|
+
limit = { has_estate = estate_ghulams }
|
|
162
|
+
change_estate_land_share = {
|
|
163
|
+
estate = estate_ghulams
|
|
164
|
+
share = 10
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
add_absolutism = -20
|
|
168
|
+
kill_ruler = yes
|
|
169
|
+
}
|
|
170
|
+
}
|
|
@@ -101,7 +101,9 @@ heretic_rebels = {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
siege_won_effect = {
|
|
104
|
-
|
|
104
|
+
owner = {
|
|
105
|
+
add_reform_desire = 0.001
|
|
106
|
+
}
|
|
105
107
|
add_province_modifier = {
|
|
106
108
|
name = "heresy"
|
|
107
109
|
duration = 730
|
|
@@ -141,13 +141,15 @@ ikko_ikki_rebels = {
|
|
|
141
141
|
has_reform = iqta
|
|
142
142
|
has_reform = indep_daimyo
|
|
143
143
|
has_reform = daimyo
|
|
144
|
+
has_reform = appanage_reform
|
|
144
145
|
has_reform = shogunate
|
|
145
146
|
has_reform = colonial_government
|
|
146
147
|
government = native
|
|
147
148
|
}
|
|
148
149
|
}
|
|
149
150
|
}
|
|
150
|
-
change_government =
|
|
151
|
+
change_government = theocracy
|
|
152
|
+
add_government_reform = ikko_ikki_reform
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
######################################################################
|
|
2
|
+
# Independence seeking rebels.
|
|
3
|
+
######################################################################
|
|
4
|
+
independence_rebels = {
|
|
5
|
+
|
|
6
|
+
color = { 202 28 2 }
|
|
7
|
+
|
|
8
|
+
area = nation
|
|
9
|
+
government = any # No special preference
|
|
10
|
+
defection = none
|
|
11
|
+
independence = none
|
|
12
|
+
unit_transfer = yes
|
|
13
|
+
gfx_type = culture_province
|
|
14
|
+
will_relocate = yes
|
|
15
|
+
|
|
16
|
+
resilient = no
|
|
17
|
+
reinforcing = yes
|
|
18
|
+
general = yes
|
|
19
|
+
smart = yes
|
|
20
|
+
|
|
21
|
+
artillery = 0.1
|
|
22
|
+
infantry = 0.6
|
|
23
|
+
cavalry = 0.3
|
|
24
|
+
|
|
25
|
+
morale = 1.0
|
|
26
|
+
|
|
27
|
+
# Possible handle actions
|
|
28
|
+
handle_action_negotiate = no
|
|
29
|
+
handle_action_stability = yes
|
|
30
|
+
handle_action_build_core = yes
|
|
31
|
+
handle_action_send_missionary = yes
|
|
32
|
+
|
|
33
|
+
spawn_chance = {
|
|
34
|
+
factor = 10
|
|
35
|
+
modifier = {
|
|
36
|
+
factor = 0
|
|
37
|
+
owner = { is_subject = no }
|
|
38
|
+
}
|
|
39
|
+
modifier = {
|
|
40
|
+
factor = 0
|
|
41
|
+
owner = { NOT = { is_subject_of_type = eyalet } NOT = { is_subject_of_type = core_eyalet } }
|
|
42
|
+
}
|
|
43
|
+
modifier = {
|
|
44
|
+
factor = 0
|
|
45
|
+
owner = { NOT = { liberty_desire = 10 } }
|
|
46
|
+
}
|
|
47
|
+
modifier = {
|
|
48
|
+
factor = 0.25
|
|
49
|
+
owner = { NOT = { liberty_desire = 20 } }
|
|
50
|
+
}
|
|
51
|
+
modifier = {
|
|
52
|
+
factor = 0.5
|
|
53
|
+
owner = { NOT = { liberty_desire = 30 } }
|
|
54
|
+
}
|
|
55
|
+
modifier = {
|
|
56
|
+
factor = 0.75
|
|
57
|
+
owner = { NOT = { liberty_desire = 40 } }
|
|
58
|
+
}
|
|
59
|
+
modifier = {
|
|
60
|
+
factor = 1
|
|
61
|
+
owner = { NOT = { liberty_desire = 50 } }
|
|
62
|
+
}
|
|
63
|
+
modifier = {
|
|
64
|
+
factor = 1.25
|
|
65
|
+
owner = { NOT = { liberty_desire = 60 } }
|
|
66
|
+
}
|
|
67
|
+
modifier = {
|
|
68
|
+
factor = 1.5
|
|
69
|
+
owner = { NOT = { liberty_desire = 70 } }
|
|
70
|
+
}
|
|
71
|
+
modifier = {
|
|
72
|
+
factor = 1.75
|
|
73
|
+
owner = { NOT = { liberty_desire = 80 } }
|
|
74
|
+
}
|
|
75
|
+
modifier = {
|
|
76
|
+
factor = 2
|
|
77
|
+
owner = { NOT = { liberty_desire = 90 } }
|
|
78
|
+
}
|
|
79
|
+
modifier = {
|
|
80
|
+
factor = 5
|
|
81
|
+
owner = { NOT = { liberty_desire = 100 } }
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
# This is checked for EACH province in the Area of Operations
|
|
86
|
+
movement_evaluation = {
|
|
87
|
+
factor = 1
|
|
88
|
+
modifier = {
|
|
89
|
+
factor = 0.1
|
|
90
|
+
units_in_province = 1
|
|
91
|
+
}
|
|
92
|
+
modifier = {
|
|
93
|
+
factor = 0.001
|
|
94
|
+
controlled_by = REB
|
|
95
|
+
}
|
|
96
|
+
modifier = {
|
|
97
|
+
factor = 4.0
|
|
98
|
+
is_capital = yes
|
|
99
|
+
}
|
|
100
|
+
modifier = {
|
|
101
|
+
factor = 1.5
|
|
102
|
+
unrest = 2
|
|
103
|
+
}
|
|
104
|
+
modifier = {
|
|
105
|
+
factor = 1.5
|
|
106
|
+
unrest = 4
|
|
107
|
+
}
|
|
108
|
+
modifier = {
|
|
109
|
+
factor = 1.5
|
|
110
|
+
unrest = 6
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
# Province Scope
|
|
115
|
+
siege_won_trigger = {
|
|
116
|
+
}
|
|
117
|
+
siege_won_effect = {
|
|
118
|
+
owner = {
|
|
119
|
+
add_liberty_desire = 1
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
# Country scope
|
|
124
|
+
can_negotiate_trigger = {
|
|
125
|
+
always = no
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
# Country scope
|
|
129
|
+
can_enforce_trigger = {
|
|
130
|
+
always = yes
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
# Localisation for their demands
|
|
134
|
+
demands_description = "independence_rebels_demands"
|
|
135
|
+
|
|
136
|
+
# Country Scope
|
|
137
|
+
demands_enforced_effect = {
|
|
138
|
+
hidden_effect = {
|
|
139
|
+
add_country_modifier = {
|
|
140
|
+
name = just_lost_to_rebels
|
|
141
|
+
duration = 10
|
|
142
|
+
hidden = yes
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
overlord = {
|
|
146
|
+
add_prestige = -15
|
|
147
|
+
}
|
|
148
|
+
grant_independence = yes
|
|
149
|
+
}
|
|
150
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
|
|
2
|
+
######################################################################
|
|
3
|
+
# Janissary rebels.
|
|
4
|
+
######################################################################
|
|
5
|
+
janissary_rebels = {
|
|
6
|
+
color = { 170 95 25 }
|
|
7
|
+
|
|
8
|
+
area = nation # Stays within the nation
|
|
9
|
+
government = monarchy # Likes monarchy
|
|
10
|
+
defection = none # Does not defect
|
|
11
|
+
independence = none # Does not strive for independence
|
|
12
|
+
unit_transfer = yes
|
|
13
|
+
gfx_type = culture_owner
|
|
14
|
+
will_relocate = yes
|
|
15
|
+
|
|
16
|
+
resilient = yes
|
|
17
|
+
reinforcing = yes
|
|
18
|
+
general = yes
|
|
19
|
+
smart = yes
|
|
20
|
+
|
|
21
|
+
artillery = 0.3
|
|
22
|
+
infantry = 0.6
|
|
23
|
+
cavalry = 0.1
|
|
24
|
+
|
|
25
|
+
morale = 1.5
|
|
26
|
+
|
|
27
|
+
# Possible handle actions
|
|
28
|
+
handle_action_negotiate = yes
|
|
29
|
+
handle_action_stability = yes
|
|
30
|
+
handle_action_build_core = yes
|
|
31
|
+
handle_action_send_missionary = yes
|
|
32
|
+
|
|
33
|
+
# The rebel type with the highest modifier for this province gets picked
|
|
34
|
+
spawn_chance = {
|
|
35
|
+
factor = 1
|
|
36
|
+
modifier = {
|
|
37
|
+
factor = 0.01
|
|
38
|
+
is_overseas = yes
|
|
39
|
+
}
|
|
40
|
+
modifier = {
|
|
41
|
+
factor = 2
|
|
42
|
+
religion_group = christian
|
|
43
|
+
}
|
|
44
|
+
modifier = {
|
|
45
|
+
factor = 0
|
|
46
|
+
has_owner_religion = yes
|
|
47
|
+
}
|
|
48
|
+
modifier = {
|
|
49
|
+
factor = 0
|
|
50
|
+
owner = {
|
|
51
|
+
NOT = { has_estate = estate_janissaries }
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
modifier = {
|
|
55
|
+
factor = 20
|
|
56
|
+
owner = {
|
|
57
|
+
OR = {
|
|
58
|
+
has_disaster = janissary_decadence
|
|
59
|
+
has_disaster = tur_disaster_janissary_coup
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
# This is checked for EACH province in the Area of Operations
|
|
66
|
+
movement_evaluation = {
|
|
67
|
+
factor = 1
|
|
68
|
+
modifier = {
|
|
69
|
+
factor = 0.1
|
|
70
|
+
units_in_province = 1
|
|
71
|
+
}
|
|
72
|
+
modifier = {
|
|
73
|
+
factor = 0.001
|
|
74
|
+
controlled_by = REB
|
|
75
|
+
}
|
|
76
|
+
modifier = {
|
|
77
|
+
factor = 1.5
|
|
78
|
+
unrest = 2
|
|
79
|
+
}
|
|
80
|
+
modifier = {
|
|
81
|
+
factor = 1.5
|
|
82
|
+
unrest = 4
|
|
83
|
+
}
|
|
84
|
+
modifier = {
|
|
85
|
+
factor = 1.5
|
|
86
|
+
unrest = 6
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
# Province Scope
|
|
91
|
+
siege_won_trigger = {
|
|
92
|
+
NOT = { local_autonomy = 50 }
|
|
93
|
+
}
|
|
94
|
+
siege_won_effect = {
|
|
95
|
+
add_local_autonomy = 10
|
|
96
|
+
owner = {
|
|
97
|
+
if = {
|
|
98
|
+
limit = { has_estate = estate_janissaries }
|
|
99
|
+
change_estate_land_share = {
|
|
100
|
+
estate = estate_janissaries
|
|
101
|
+
share = 1
|
|
102
|
+
province = ROOT
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
# Country scope
|
|
109
|
+
can_negotiate_trigger = {
|
|
110
|
+
always = yes
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
# Country scope
|
|
114
|
+
can_enforce_trigger = {
|
|
115
|
+
always = yes
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
# Localisation for their demands
|
|
119
|
+
demands_description = janissary_rebels_demands
|
|
120
|
+
|
|
121
|
+
# Country Scope
|
|
122
|
+
demands_enforced_effect = {
|
|
123
|
+
hidden_effect = {
|
|
124
|
+
add_country_modifier = {
|
|
125
|
+
name = just_lost_to_rebels
|
|
126
|
+
duration = 10
|
|
127
|
+
hidden = yes
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
if = {
|
|
131
|
+
limit = {
|
|
132
|
+
has_estate = estate_janissaries
|
|
133
|
+
NOT = {
|
|
134
|
+
has_estate_influence_modifier = {
|
|
135
|
+
estate = estate_janissaries
|
|
136
|
+
modifier = EST_VAL_NOBLES_EXTORTED_RIGHTS
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
add_estate_influence_modifier = {
|
|
141
|
+
estate = estate_janissaries
|
|
142
|
+
desc = EST_VAL_NOBLES_EXTORTED_RIGHTS
|
|
143
|
+
influence = 15
|
|
144
|
+
duration = 5475
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
every_owned_province = {
|
|
148
|
+
limit = {
|
|
149
|
+
has_rebel_faction = REB
|
|
150
|
+
}
|
|
151
|
+
add_local_autonomy = 20
|
|
152
|
+
}
|
|
153
|
+
add_prestige = -20
|
|
154
|
+
add_legitimacy = -20
|
|
155
|
+
add_horde_unity = -20
|
|
156
|
+
add_devotion = -20
|
|
157
|
+
add_republican_tradition = -10
|
|
158
|
+
if = {
|
|
159
|
+
limit = {
|
|
160
|
+
has_disaster = court_and_country
|
|
161
|
+
}
|
|
162
|
+
set_country_flag = court_and_country_surrendered_to_rebels
|
|
163
|
+
hidden_effect = { country_event = { id = court_and_country_events.100 } }
|
|
164
|
+
end_disaster = court_and_country
|
|
165
|
+
}
|
|
166
|
+
if = {
|
|
167
|
+
limit = { has_estate = estate_janissaries }
|
|
168
|
+
change_estate_land_share = {
|
|
169
|
+
estate = estate_janissaries
|
|
170
|
+
share = 10
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
hidden_effect = {
|
|
174
|
+
if = {
|
|
175
|
+
limit = { has_disaster = tur_disaster_janissary_coup }
|
|
176
|
+
set_variable = {
|
|
177
|
+
which = tur_num_of_janissary_decisions
|
|
178
|
+
value = 0
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
if = {
|
|
182
|
+
limit = { has_country_flag = tur_fight_against_the_janissaries_1_flag }
|
|
183
|
+
clr_country_flag = tur_fight_against_the_janissaries_1_flag
|
|
184
|
+
}
|
|
185
|
+
if = {
|
|
186
|
+
limit = { has_country_flag = tur_fight_against_the_janissaries_2_flag }
|
|
187
|
+
clr_country_flag = tur_fight_against_the_janissaries_2_flag
|
|
188
|
+
}
|
|
189
|
+
if = {
|
|
190
|
+
limit = { has_country_flag = tur_fight_against_the_janissaries_3_flag }
|
|
191
|
+
clr_country_flag = tur_fight_against_the_janissaries_3_flag
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
add_absolutism = -20
|
|
195
|
+
kill_ruler = yes
|
|
196
|
+
}
|
|
197
|
+
}
|
|
@@ -117,6 +117,7 @@ nap_republican_rebels = {
|
|
|
117
117
|
has_reform = celestial_empire
|
|
118
118
|
has_reform = iqta
|
|
119
119
|
has_reform = daimyo
|
|
120
|
+
has_reform = appanage_reform
|
|
120
121
|
has_reform = shogunate
|
|
121
122
|
has_reform = colonial_government
|
|
122
123
|
has_reform = native_basic_reform
|
|
@@ -124,7 +125,7 @@ nap_republican_rebels = {
|
|
|
124
125
|
}
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
|
-
|
|
128
|
+
change_government = republic
|
|
128
129
|
#set_legacy_government = signoria
|
|
129
130
|
}
|
|
130
131
|
if = {
|
|
@@ -136,6 +137,7 @@ nap_republican_rebels = {
|
|
|
136
137
|
has_reform = celestial_empire
|
|
137
138
|
has_reform = iqta
|
|
138
139
|
has_reform = daimyo
|
|
140
|
+
has_reform = appanage_reform
|
|
139
141
|
has_reform = shogunate
|
|
140
142
|
has_reform = colonial_government
|
|
141
143
|
has_reform = native_basic_reform
|
|
@@ -37,7 +37,7 @@ nationalist_rebels = {
|
|
|
37
37
|
factor = 10
|
|
38
38
|
modifier = {
|
|
39
39
|
factor = 0.01
|
|
40
|
-
NOT = {
|
|
40
|
+
NOT = { nationalism_debug = 1 }
|
|
41
41
|
owner = {
|
|
42
42
|
OR = {
|
|
43
43
|
accepted_culture = ROOT
|
|
@@ -93,7 +93,11 @@ nationalist_rebels = {
|
|
|
93
93
|
}
|
|
94
94
|
modifier = {
|
|
95
95
|
factor = 10
|
|
96
|
-
|
|
96
|
+
nationalism_debug = 1
|
|
97
|
+
}
|
|
98
|
+
modifier = {
|
|
99
|
+
factor = 5
|
|
100
|
+
NOT = { is_core = owner }
|
|
97
101
|
}
|
|
98
102
|
modifier = {
|
|
99
103
|
factor = 15
|
|
@@ -111,11 +115,7 @@ nationalist_rebels = {
|
|
|
111
115
|
modifier = {
|
|
112
116
|
factor = 2
|
|
113
117
|
has_province_modifier = "suppress_minority"
|
|
114
|
-
}
|
|
115
|
-
modifier = {
|
|
116
|
-
factor = 1.2
|
|
117
|
-
NOT = { is_core = owner }
|
|
118
|
-
}
|
|
118
|
+
}
|
|
119
119
|
modifier = {
|
|
120
120
|
factor = 1.5
|
|
121
121
|
owner = {
|
|
@@ -41,6 +41,10 @@ noble_rebels = {
|
|
|
41
41
|
factor = 0
|
|
42
42
|
owner = { primary_culture = polish }
|
|
43
43
|
}
|
|
44
|
+
modifier = {
|
|
45
|
+
factor = 0
|
|
46
|
+
owner = { primary_culture = polish_new }
|
|
47
|
+
}
|
|
44
48
|
modifier = {
|
|
45
49
|
factor = 0.0
|
|
46
50
|
owner = {
|
|
@@ -248,6 +252,14 @@ noble_rebels = {
|
|
|
248
252
|
hidden_effect = { country_event = { id = court_and_country_events.100 } }
|
|
249
253
|
end_disaster = court_and_country
|
|
250
254
|
}
|
|
255
|
+
if = {
|
|
256
|
+
limit = {
|
|
257
|
+
has_disaster = castilian_civil_war
|
|
258
|
+
}
|
|
259
|
+
set_country_flag = cas_civil_war_rebels_won
|
|
260
|
+
country_event = { id = castilian_civil_war.100 }
|
|
261
|
+
end_disaster = castilian_civil_war
|
|
262
|
+
}
|
|
251
263
|
if = {
|
|
252
264
|
limit = {
|
|
253
265
|
has_country_modifier = recently_repealed_elective_monarchy_timer
|
|
@@ -259,6 +271,7 @@ noble_rebels = {
|
|
|
259
271
|
has_reform = indep_daimyo
|
|
260
272
|
has_reform = principality
|
|
261
273
|
has_reform = daimyo
|
|
274
|
+
has_reform = appanage_reform
|
|
262
275
|
has_reform = shogunate
|
|
263
276
|
has_reform = colonial_government
|
|
264
277
|
has_reform = siberian_tribe
|
|
@@ -266,6 +279,13 @@ noble_rebels = {
|
|
|
266
279
|
has_reform = elective_monarchy
|
|
267
280
|
has_reform = english_monarchy
|
|
268
281
|
has_reform = ottoman_government
|
|
282
|
+
has_reform = modernized_ottoman_government
|
|
283
|
+
has_reform = reorganized_ottoman_government
|
|
284
|
+
has_reform = sultanate_of_rum_reform
|
|
285
|
+
has_reform = eyalet_government
|
|
286
|
+
has_reform = barbary_eyalet_government
|
|
287
|
+
has_reform = kalmar_union
|
|
288
|
+
has_reform = danish_archkingdom
|
|
269
289
|
has_reform = tribal_federation
|
|
270
290
|
has_reform = feudal_theocracy
|
|
271
291
|
has_reform = mamluk_government
|
|
@@ -222,7 +222,6 @@ norse_pagan_reformed_rebels = {
|
|
|
222
222
|
religion_group = pagan
|
|
223
223
|
dominant_religion = norse_pagan_reformed
|
|
224
224
|
}
|
|
225
|
-
NOT = { religion = norse_pagan_reformed }
|
|
226
225
|
}
|
|
227
226
|
change_religion = norse_pagan_reformed
|
|
228
227
|
force_converted = yes
|
|
@@ -150,6 +150,7 @@ orthodox_rebels = {
|
|
|
150
150
|
NOT = { religion = orthodox }
|
|
151
151
|
is_reformation_center = no
|
|
152
152
|
NOT = { owner = { religion = orthodox } }
|
|
153
|
+
NOT = { has_country_flag = BYZ_gave_in_to_papal_pressure }
|
|
153
154
|
}
|
|
154
155
|
change_religion = orthodox
|
|
155
156
|
add_province_modifier = {
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
######################################################################
|
|
2
|
+
# Parliamentarians rebels. Death to the King!
|
|
3
|
+
######################################################################
|
|
4
|
+
parliamentarians_rebels = {
|
|
5
|
+
color = { 179 51 51 }
|
|
6
|
+
|
|
7
|
+
area = nation
|
|
8
|
+
government = republic
|
|
9
|
+
defection = none
|
|
10
|
+
independence = none
|
|
11
|
+
unit_transfer = yes
|
|
12
|
+
gfx_type = culture_province
|
|
13
|
+
|
|
14
|
+
resilient = yes # Will not disband on defeat.
|
|
15
|
+
reinforcing = yes # Will reinforce (double rate in rebel controlled provinces)
|
|
16
|
+
general = yes # Does use generals. The 'define_ruler' effect with 'rebel' argument will pick the rebel leader as new King.
|
|
17
|
+
smart = yes
|
|
18
|
+
disband_on_leader_death = no # Pretender rebels live forever!
|
|
19
|
+
will_relocate = yes # Units will relocate if they have sieged all provinces nearby and has to move over sea.
|
|
20
|
+
dynasty = yes #same dynasty for rebel uprising
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
artillery = 0.1
|
|
24
|
+
infantry = 0.5
|
|
25
|
+
cavalry = 0.4
|
|
26
|
+
|
|
27
|
+
morale = 1.25
|
|
28
|
+
|
|
29
|
+
# Possible handle actions
|
|
30
|
+
handle_action_negotiate = no
|
|
31
|
+
handle_action_stability = yes
|
|
32
|
+
handle_action_build_core = yes
|
|
33
|
+
handle_action_send_missionary = yes
|
|
34
|
+
|
|
35
|
+
spawn_chance = {
|
|
36
|
+
factor = 20 #Unique to the English Civil War for now
|
|
37
|
+
modifier = {
|
|
38
|
+
factor = 0
|
|
39
|
+
owner = {
|
|
40
|
+
NOT = { has_disaster = english_civil_war }
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
# This is checked for EACH province in the Area of Operations
|
|
46
|
+
movement_evaluation = {
|
|
47
|
+
factor = 1
|
|
48
|
+
modifier = {
|
|
49
|
+
factor = 0.1
|
|
50
|
+
units_in_province = 1
|
|
51
|
+
}
|
|
52
|
+
modifier = {
|
|
53
|
+
factor = 0.001
|
|
54
|
+
controlled_by = REB
|
|
55
|
+
}
|
|
56
|
+
modifier = {
|
|
57
|
+
factor = 4.0
|
|
58
|
+
is_capital = yes
|
|
59
|
+
}
|
|
60
|
+
modifier = {
|
|
61
|
+
factor = 1.5
|
|
62
|
+
unrest = 2
|
|
63
|
+
}
|
|
64
|
+
modifier = {
|
|
65
|
+
factor = 1.5
|
|
66
|
+
unrest = 4
|
|
67
|
+
}
|
|
68
|
+
modifier = {
|
|
69
|
+
factor = 1.5
|
|
70
|
+
unrest = 6
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
# Province Scope
|
|
75
|
+
siege_won_trigger = {
|
|
76
|
+
}
|
|
77
|
+
siege_won_effect = {
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
# Country scope
|
|
81
|
+
can_negotiate_trigger = {
|
|
82
|
+
always = no
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
# Country scope
|
|
86
|
+
can_enforce_trigger = {
|
|
87
|
+
always = yes
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
# Localisation for their demands
|
|
91
|
+
demands_description = "parliamentarians_rebels_demands"
|
|
92
|
+
|
|
93
|
+
# Country Scope
|
|
94
|
+
demands_enforced_effect = {
|
|
95
|
+
hidden_effect = {
|
|
96
|
+
add_country_modifier = {
|
|
97
|
+
name = just_lost_to_rebels
|
|
98
|
+
duration = 10
|
|
99
|
+
hidden = yes
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
if = {
|
|
103
|
+
limit = {
|
|
104
|
+
has_states_general_mechanic = yes
|
|
105
|
+
}
|
|
106
|
+
change_statists_vs_orangists = -1
|
|
107
|
+
}
|
|
108
|
+
if = {
|
|
109
|
+
limit = { religion = inti }
|
|
110
|
+
remove_religious_reforms = 2
|
|
111
|
+
}
|
|
112
|
+
if = {
|
|
113
|
+
limit = { has_disaster = civil_war }
|
|
114
|
+
add_prestige = -200
|
|
115
|
+
add_legitimacy = 25
|
|
116
|
+
}
|
|
117
|
+
if = {
|
|
118
|
+
limit = {
|
|
119
|
+
NOT = {
|
|
120
|
+
OR = {
|
|
121
|
+
government = theocracy
|
|
122
|
+
has_reform = steppe_horde
|
|
123
|
+
has_reform = celestial_empire
|
|
124
|
+
has_reform = iqta
|
|
125
|
+
has_reform = indep_daimyo
|
|
126
|
+
has_reform = principality
|
|
127
|
+
has_reform = daimyo
|
|
128
|
+
has_reform = appanage_reform
|
|
129
|
+
has_reform = shogunate
|
|
130
|
+
has_reform = colonial_government
|
|
131
|
+
has_reform = siberian_tribe
|
|
132
|
+
government = native
|
|
133
|
+
has_reform = elective_monarchy
|
|
134
|
+
has_reform = english_monarchy
|
|
135
|
+
has_reform = ottoman_government
|
|
136
|
+
has_reform = modernized_ottoman_government
|
|
137
|
+
has_reform = reorganized_ottoman_government
|
|
138
|
+
has_reform = sultanate_of_rum_reform
|
|
139
|
+
has_reform = eyalet_government
|
|
140
|
+
has_reform = barbary_eyalet_government
|
|
141
|
+
has_reform = kalmar_union
|
|
142
|
+
has_reform = danish_archkingdom
|
|
143
|
+
has_reform = tribal_federation
|
|
144
|
+
has_reform = feudal_theocracy
|
|
145
|
+
has_reform = mamluk_government
|
|
146
|
+
government = tribal
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
change_government = REB
|
|
151
|
+
#set_legacy_government = despotic_monarchy
|
|
152
|
+
}
|
|
153
|
+
if = {
|
|
154
|
+
limit = { has_heir = yes }
|
|
155
|
+
kill_heir = { allow_new_heir = no }
|
|
156
|
+
}
|
|
157
|
+
if = {
|
|
158
|
+
limit = { has_consort = yes }
|
|
159
|
+
kill_consort = yes
|
|
160
|
+
}
|
|
161
|
+
set_country_flag = no_new_succession_crisis_if_pretender_rebels #This is used in the event that triggers from the on_action to ensure that you don't get new pretenders if these pretenders are happening because of a succession crisis.
|
|
162
|
+
define_ruler = {
|
|
163
|
+
rebel = yes
|
|
164
|
+
}
|
|
165
|
+
clr_country_flag = no_new_succession_crisis_if_pretender_rebels
|
|
166
|
+
if = {
|
|
167
|
+
limit = { has_disaster = counts_feud }
|
|
168
|
+
end_disaster = counts_feud
|
|
169
|
+
clr_country_flag = pretender_flag
|
|
170
|
+
clr_country_flag = monarch_flag
|
|
171
|
+
}
|
|
172
|
+
if = {
|
|
173
|
+
limit = { has_disaster = civil_war }
|
|
174
|
+
end_disaster = civil_war
|
|
175
|
+
clr_country_flag = civilwar_on_capital
|
|
176
|
+
}
|
|
177
|
+
if = {
|
|
178
|
+
limit = { has_disaster = internal_conflicts }
|
|
179
|
+
country_event = { id = internal_conflicts.8 }
|
|
180
|
+
end_disaster = internal_conflicts
|
|
181
|
+
}
|
|
182
|
+
if = {
|
|
183
|
+
limit = { has_disaster = castilian_civil_war }
|
|
184
|
+
set_country_flag = cas_civil_war_rebels_won
|
|
185
|
+
country_event = { id = castilian_civil_war.100 }
|
|
186
|
+
end_disaster = castilian_civil_war
|
|
187
|
+
}
|
|
188
|
+
if = {
|
|
189
|
+
limit = { has_disaster = time_of_troubles }
|
|
190
|
+
country_event = { id = time_of_troubles.10 }
|
|
191
|
+
end_disaster = time_of_troubles
|
|
192
|
+
}
|
|
193
|
+
if = {
|
|
194
|
+
limit = { has_disaster = english_civil_war }
|
|
195
|
+
country_event = { id = english_civil_war.100 }
|
|
196
|
+
end_disaster = english_civil_war
|
|
197
|
+
}
|
|
198
|
+
if = {
|
|
199
|
+
limit = { is_revolution_target = yes }
|
|
200
|
+
set_revolution_target = ---
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
@@ -41,6 +41,10 @@ polish_noble_rebels = {
|
|
|
41
41
|
factor = 0
|
|
42
42
|
NOT = { owner = { primary_culture = polish } }
|
|
43
43
|
}
|
|
44
|
+
modifier = {
|
|
45
|
+
factor = 0
|
|
46
|
+
NOT = { owner = { primary_culture = polish_new } }
|
|
47
|
+
}
|
|
44
48
|
modifier = {
|
|
45
49
|
factor = 0.0
|
|
46
50
|
owner = {
|
|
@@ -76,7 +80,12 @@ polish_noble_rebels = {
|
|
|
76
80
|
}
|
|
77
81
|
modifier = {
|
|
78
82
|
factor = 0.1
|
|
79
|
-
owner = {
|
|
83
|
+
owner = {
|
|
84
|
+
OR = {
|
|
85
|
+
has_reform = elective_monarchy
|
|
86
|
+
has_reform = polish_elective_monarchy
|
|
87
|
+
}
|
|
88
|
+
}
|
|
80
89
|
}
|
|
81
90
|
modifier = {
|
|
82
91
|
factor = 3.0
|
|
@@ -171,6 +180,7 @@ polish_noble_rebels = {
|
|
|
171
180
|
has_reform = indep_daimyo
|
|
172
181
|
has_reform = principality
|
|
173
182
|
has_reform = daimyo
|
|
183
|
+
has_reform = appanage_reform
|
|
174
184
|
has_reform = shogunate
|
|
175
185
|
has_reform = colonial_government
|
|
176
186
|
has_reform = siberian_tribe
|
|
@@ -178,13 +188,36 @@ polish_noble_rebels = {
|
|
|
178
188
|
has_reform = elective_monarchy
|
|
179
189
|
has_reform = english_monarchy
|
|
180
190
|
has_reform = ottoman_government
|
|
191
|
+
has_reform = modernized_ottoman_government
|
|
192
|
+
has_reform = reorganized_ottoman_government
|
|
193
|
+
has_reform = sultanate_of_rum_reform
|
|
194
|
+
has_reform = eyalet_government
|
|
195
|
+
has_reform = barbary_eyalet_government
|
|
196
|
+
has_reform = kalmar_union
|
|
197
|
+
has_reform = danish_archkingdom
|
|
181
198
|
has_reform = tribal_federation
|
|
182
199
|
has_reform = feudal_theocracy
|
|
183
200
|
has_reform = mamluk_government
|
|
201
|
+
OR = {
|
|
202
|
+
tag = PLC
|
|
203
|
+
tag = POL
|
|
204
|
+
}
|
|
205
|
+
has_dlc = "Lions of the North"
|
|
184
206
|
}
|
|
185
207
|
}
|
|
186
208
|
add_government_reform = elective_monarchy
|
|
187
209
|
}
|
|
210
|
+
else_if = {
|
|
211
|
+
limit = {
|
|
212
|
+
OR = {
|
|
213
|
+
tag = PLC
|
|
214
|
+
tag = POL
|
|
215
|
+
}
|
|
216
|
+
NOT = { mission_completed = plc_golden_liberty }
|
|
217
|
+
has_dlc = "Lions of the North"
|
|
218
|
+
}
|
|
219
|
+
add_government_reform = polish_elective_monarchy
|
|
220
|
+
}
|
|
188
221
|
change_estate_land_share = {
|
|
189
222
|
estate = estate_nobles
|
|
190
223
|
share = 10.0
|
|
@@ -310,6 +310,7 @@ pretender_rebels = {
|
|
|
310
310
|
has_reform = indep_daimyo
|
|
311
311
|
has_reform = principality
|
|
312
312
|
has_reform = daimyo
|
|
313
|
+
has_reform = appanage_reform
|
|
313
314
|
has_reform = shogunate
|
|
314
315
|
has_reform = colonial_government
|
|
315
316
|
has_reform = siberian_tribe
|
|
@@ -317,6 +318,13 @@ pretender_rebels = {
|
|
|
317
318
|
has_reform = elective_monarchy
|
|
318
319
|
has_reform = english_monarchy
|
|
319
320
|
has_reform = ottoman_government
|
|
321
|
+
has_reform = modernized_ottoman_government
|
|
322
|
+
has_reform = reorganized_ottoman_government
|
|
323
|
+
has_reform = sultanate_of_rum_reform
|
|
324
|
+
has_reform = eyalet_government
|
|
325
|
+
has_reform = barbary_eyalet_government
|
|
326
|
+
has_reform = kalmar_union
|
|
327
|
+
has_reform = danish_archkingdom
|
|
320
328
|
has_reform = tribal_federation
|
|
321
329
|
has_reform = feudal_theocracy
|
|
322
330
|
has_reform = mamluk_government
|
|
@@ -327,17 +335,19 @@ pretender_rebels = {
|
|
|
327
335
|
change_government = REB
|
|
328
336
|
#set_legacy_government = despotic_monarchy
|
|
329
337
|
}
|
|
330
|
-
|
|
331
|
-
|
|
338
|
+
if = {
|
|
339
|
+
limit = { has_heir = yes }
|
|
340
|
+
kill_heir = { allow_new_heir = no }
|
|
341
|
+
}
|
|
342
|
+
if = {
|
|
343
|
+
limit = { has_consort = yes }
|
|
344
|
+
kill_consort = yes
|
|
345
|
+
}
|
|
332
346
|
set_country_flag = no_new_succession_crisis_if_pretender_rebels #This is used in the event that triggers from the on_action to ensure that you don't get new pretenders if these pretenders are happening because of a succession crisis.
|
|
333
347
|
define_ruler = {
|
|
334
348
|
rebel = yes
|
|
335
349
|
}
|
|
336
350
|
clr_country_flag = no_new_succession_crisis_if_pretender_rebels
|
|
337
|
-
if = {
|
|
338
|
-
limit = { has_heir = yes }
|
|
339
|
-
kill_heir = yes
|
|
340
|
-
}
|
|
341
351
|
if = {
|
|
342
352
|
limit = { has_disaster = counts_feud }
|
|
343
353
|
end_disaster = counts_feud
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
|
|
2
|
+
######################################################################
|
|
3
|
+
# Qizilbash rebels.
|
|
4
|
+
######################################################################
|
|
5
|
+
qizilbash_rebels = {
|
|
6
|
+
color = { 170 95 25 }
|
|
7
|
+
|
|
8
|
+
area = nation # Stays within the nation
|
|
9
|
+
government = monarchy # Likes monarchy
|
|
10
|
+
defection = none # Does not defect
|
|
11
|
+
independence = none # Does not strive for independence
|
|
12
|
+
unit_transfer = yes
|
|
13
|
+
gfx_type = culture_owner
|
|
14
|
+
will_relocate = yes
|
|
15
|
+
|
|
16
|
+
resilient = yes
|
|
17
|
+
reinforcing = yes
|
|
18
|
+
general = yes
|
|
19
|
+
smart = yes
|
|
20
|
+
|
|
21
|
+
artillery = 0.3
|
|
22
|
+
infantry = 0.6
|
|
23
|
+
cavalry = 0.1
|
|
24
|
+
|
|
25
|
+
morale = 1.25
|
|
26
|
+
|
|
27
|
+
# Possible handle actions
|
|
28
|
+
handle_action_negotiate = yes
|
|
29
|
+
handle_action_stability = yes
|
|
30
|
+
handle_action_build_core = yes
|
|
31
|
+
handle_action_send_missionary = yes
|
|
32
|
+
|
|
33
|
+
# The rebel type with the highest modifier for this province gets picked
|
|
34
|
+
spawn_chance = {
|
|
35
|
+
factor = 1
|
|
36
|
+
modifier = {
|
|
37
|
+
factor = 0.01
|
|
38
|
+
is_overseas = yes
|
|
39
|
+
}
|
|
40
|
+
modifier = {
|
|
41
|
+
factor = 2
|
|
42
|
+
owner = { religion_group = christian }
|
|
43
|
+
}
|
|
44
|
+
modifier = {
|
|
45
|
+
factor = 0
|
|
46
|
+
has_owner_religion = yes
|
|
47
|
+
}
|
|
48
|
+
modifier = {
|
|
49
|
+
factor = 2
|
|
50
|
+
owner = {
|
|
51
|
+
estate_influence = {
|
|
52
|
+
estate = estate_qizilbash
|
|
53
|
+
influence = 80
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
# This is checked for EACH province in the Area of Operations
|
|
60
|
+
movement_evaluation = {
|
|
61
|
+
factor = 1
|
|
62
|
+
modifier = {
|
|
63
|
+
factor = 0.1
|
|
64
|
+
units_in_province = 1
|
|
65
|
+
}
|
|
66
|
+
modifier = {
|
|
67
|
+
factor = 0.001
|
|
68
|
+
controlled_by = REB
|
|
69
|
+
}
|
|
70
|
+
modifier = {
|
|
71
|
+
factor = 1.5
|
|
72
|
+
unrest = 2
|
|
73
|
+
}
|
|
74
|
+
modifier = {
|
|
75
|
+
factor = 1.5
|
|
76
|
+
unrest = 4
|
|
77
|
+
}
|
|
78
|
+
modifier = {
|
|
79
|
+
factor = 1.5
|
|
80
|
+
unrest = 6
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
# Province Scope
|
|
85
|
+
siege_won_trigger = {
|
|
86
|
+
NOT = { local_autonomy = 50 }
|
|
87
|
+
}
|
|
88
|
+
siege_won_effect = {
|
|
89
|
+
add_local_autonomy = 10
|
|
90
|
+
owner = {
|
|
91
|
+
if = {
|
|
92
|
+
limit = { has_estate = estate_qizilbash }
|
|
93
|
+
change_estate_land_share = {
|
|
94
|
+
estate = estate_qizilbash
|
|
95
|
+
share = 1
|
|
96
|
+
province = ROOT
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
# Country scope
|
|
103
|
+
can_negotiate_trigger = {
|
|
104
|
+
always = yes
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
# Country scope
|
|
108
|
+
can_enforce_trigger = {
|
|
109
|
+
always = yes
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
# Localisation for their demands
|
|
113
|
+
demands_description = qizilbash_rebels_demands
|
|
114
|
+
|
|
115
|
+
# Country Scope
|
|
116
|
+
demands_enforced_effect = {
|
|
117
|
+
hidden_effect = {
|
|
118
|
+
add_country_modifier = {
|
|
119
|
+
name = just_lost_to_rebels
|
|
120
|
+
duration = 10
|
|
121
|
+
hidden = yes
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
if = {
|
|
125
|
+
limit = {
|
|
126
|
+
has_estate = estate_qizilbash
|
|
127
|
+
NOT = {
|
|
128
|
+
has_estate_influence_modifier = {
|
|
129
|
+
estate = estate_qizilbash
|
|
130
|
+
modifier = EST_VAL_NOBLES_EXTORTED_RIGHTS
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
add_estate_influence_modifier = {
|
|
135
|
+
estate = estate_qizilbash
|
|
136
|
+
desc = EST_VAL_NOBLES_EXTORTED_RIGHTS
|
|
137
|
+
influence = 15
|
|
138
|
+
duration = 5475
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
every_owned_province = {
|
|
142
|
+
limit = {
|
|
143
|
+
has_rebel_faction = REB
|
|
144
|
+
}
|
|
145
|
+
add_local_autonomy = 20
|
|
146
|
+
}
|
|
147
|
+
add_prestige = -20
|
|
148
|
+
add_legitimacy = -20
|
|
149
|
+
add_horde_unity = -20
|
|
150
|
+
add_devotion = -20
|
|
151
|
+
add_republican_tradition = -10
|
|
152
|
+
if = {
|
|
153
|
+
limit = {
|
|
154
|
+
has_disaster = court_and_country
|
|
155
|
+
}
|
|
156
|
+
set_country_flag = court_and_country_surrendered_to_rebels
|
|
157
|
+
hidden_effect = { country_event = { id = court_and_country_events.100 } }
|
|
158
|
+
end_disaster = court_and_country
|
|
159
|
+
}
|
|
160
|
+
if = {
|
|
161
|
+
limit = { has_estate = estate_qizilbash }
|
|
162
|
+
change_estate_land_share = {
|
|
163
|
+
estate = estate_qizilbash
|
|
164
|
+
share = 10
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
add_absolutism = -20
|
|
168
|
+
kill_ruler = yes
|
|
169
|
+
}
|
|
170
|
+
}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
######################################################################
|
|
2
|
+
# Renegade son of the sultan rebels.
|
|
3
|
+
######################################################################
|
|
4
|
+
renegade_sultan_son_rebels = {
|
|
5
|
+
|
|
6
|
+
color = { 173 31 120 }
|
|
7
|
+
|
|
8
|
+
area = nation
|
|
9
|
+
government = monarchy
|
|
10
|
+
defection = none
|
|
11
|
+
independence = none
|
|
12
|
+
unit_transfer = yes
|
|
13
|
+
gfx_type = culture_province
|
|
14
|
+
|
|
15
|
+
resilient = yes # Will not disband on defeat.
|
|
16
|
+
reinforcing = yes # Will reinforce (double rate in rebel controlled provinces)
|
|
17
|
+
general = yes # Does use generals. The 'define_ruler' effect with 'rebel' argument will pick the rebel leader as new King.
|
|
18
|
+
smart = yes
|
|
19
|
+
disband_on_leader_death = no # Pretender rebels live forever!
|
|
20
|
+
will_relocate = yes # Units will relocate if they have sieged all provinces nearby and has to move over sea.
|
|
21
|
+
dynasty = yes #same dynasty for rebel uprising
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
artillery = 0.1
|
|
25
|
+
infantry = 0.5
|
|
26
|
+
cavalry = 0.4
|
|
27
|
+
|
|
28
|
+
morale = 1.25
|
|
29
|
+
|
|
30
|
+
# Possible handle actions
|
|
31
|
+
handle_action_negotiate = no
|
|
32
|
+
handle_action_stability = yes
|
|
33
|
+
handle_action_build_core = yes
|
|
34
|
+
handle_action_send_missionary = yes
|
|
35
|
+
|
|
36
|
+
spawn_chance = {
|
|
37
|
+
factor = 0 #Spawned through events alone
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
# This is checked for EACH province in the Area of Operations
|
|
41
|
+
movement_evaluation = {
|
|
42
|
+
factor = 1
|
|
43
|
+
modifier = {
|
|
44
|
+
factor = 0.1
|
|
45
|
+
units_in_province = 1
|
|
46
|
+
}
|
|
47
|
+
modifier = {
|
|
48
|
+
factor = 0.001
|
|
49
|
+
controlled_by = REB
|
|
50
|
+
}
|
|
51
|
+
modifier = {
|
|
52
|
+
factor = 4.0
|
|
53
|
+
is_capital = yes
|
|
54
|
+
}
|
|
55
|
+
modifier = {
|
|
56
|
+
factor = 1.5
|
|
57
|
+
unrest = 2
|
|
58
|
+
}
|
|
59
|
+
modifier = {
|
|
60
|
+
factor = 1.5
|
|
61
|
+
unrest = 4
|
|
62
|
+
}
|
|
63
|
+
modifier = {
|
|
64
|
+
factor = 1.5
|
|
65
|
+
unrest = 6
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
# Province Scope
|
|
70
|
+
siege_won_trigger = {
|
|
71
|
+
}
|
|
72
|
+
siege_won_effect = {
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
# Country scope
|
|
76
|
+
can_negotiate_trigger = {
|
|
77
|
+
always = no
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
# Country scope
|
|
81
|
+
can_enforce_trigger = {
|
|
82
|
+
always = yes
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
# Localisation for their demands
|
|
86
|
+
demands_description = "renegade_sultan_son_rebels_demands"
|
|
87
|
+
|
|
88
|
+
# Country Scope
|
|
89
|
+
demands_enforced_effect = {
|
|
90
|
+
hidden_effect = {
|
|
91
|
+
add_country_modifier = {
|
|
92
|
+
name = just_lost_to_rebels
|
|
93
|
+
duration = 10
|
|
94
|
+
hidden = yes
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
if = {
|
|
98
|
+
limit = {
|
|
99
|
+
has_states_general_mechanic = yes
|
|
100
|
+
}
|
|
101
|
+
change_statists_vs_orangists = 1
|
|
102
|
+
}
|
|
103
|
+
if = {
|
|
104
|
+
limit = { religion = inti }
|
|
105
|
+
remove_religious_reforms = 2
|
|
106
|
+
}
|
|
107
|
+
if = {
|
|
108
|
+
limit = { has_disaster = civil_war }
|
|
109
|
+
add_prestige = -200
|
|
110
|
+
add_legitimacy = 25
|
|
111
|
+
}
|
|
112
|
+
if = {
|
|
113
|
+
limit = {
|
|
114
|
+
NOT = {
|
|
115
|
+
OR = {
|
|
116
|
+
government = theocracy
|
|
117
|
+
has_reform = steppe_horde
|
|
118
|
+
has_reform = celestial_empire
|
|
119
|
+
has_reform = iqta
|
|
120
|
+
has_reform = indep_daimyo
|
|
121
|
+
has_reform = principality
|
|
122
|
+
has_reform = daimyo
|
|
123
|
+
has_reform = appanage_reform
|
|
124
|
+
has_reform = shogunate
|
|
125
|
+
has_reform = colonial_government
|
|
126
|
+
has_reform = siberian_tribe
|
|
127
|
+
government = native
|
|
128
|
+
has_reform = elective_monarchy
|
|
129
|
+
has_reform = english_monarchy
|
|
130
|
+
has_reform = ottoman_government
|
|
131
|
+
has_reform = modernized_ottoman_government
|
|
132
|
+
has_reform = reorganized_ottoman_government
|
|
133
|
+
has_reform = sultanate_of_rum_reform
|
|
134
|
+
has_reform = eyalet_government
|
|
135
|
+
has_reform = barbary_eyalet_government
|
|
136
|
+
has_reform = kalmar_union
|
|
137
|
+
has_reform = danish_archkingdom
|
|
138
|
+
has_reform = tribal_federation
|
|
139
|
+
has_reform = feudal_theocracy
|
|
140
|
+
has_reform = mamluk_government
|
|
141
|
+
government = tribal
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
change_government = REB
|
|
146
|
+
#set_legacy_government = despotic_monarchy
|
|
147
|
+
}
|
|
148
|
+
if = {
|
|
149
|
+
limit = { has_heir = yes }
|
|
150
|
+
kill_heir = { allow_new_heir = no }
|
|
151
|
+
}
|
|
152
|
+
if = {
|
|
153
|
+
limit = { has_consort = yes }
|
|
154
|
+
kill_consort = yes
|
|
155
|
+
}
|
|
156
|
+
set_country_flag = no_new_succession_crisis_if_pretender_rebels #This is used in the event that triggers from the on_action to ensure that you don't get new pretenders if these pretenders are happening because of a succession crisis.
|
|
157
|
+
define_ruler = {
|
|
158
|
+
rebel = yes
|
|
159
|
+
}
|
|
160
|
+
clr_country_flag = no_new_succession_crisis_if_pretender_rebels
|
|
161
|
+
if = {
|
|
162
|
+
limit = { has_disaster = counts_feud }
|
|
163
|
+
end_disaster = counts_feud
|
|
164
|
+
clr_country_flag = pretender_flag
|
|
165
|
+
clr_country_flag = monarch_flag
|
|
166
|
+
}
|
|
167
|
+
if = {
|
|
168
|
+
limit = { has_disaster = civil_war }
|
|
169
|
+
end_disaster = civil_war
|
|
170
|
+
clr_country_flag = civilwar_on_capital
|
|
171
|
+
}
|
|
172
|
+
if = {
|
|
173
|
+
limit = { has_disaster = internal_conflicts }
|
|
174
|
+
country_event = { id = internal_conflicts.8 }
|
|
175
|
+
end_disaster = internal_conflicts
|
|
176
|
+
}
|
|
177
|
+
if = {
|
|
178
|
+
limit = { has_disaster = castilian_civil_war }
|
|
179
|
+
set_country_flag = cas_civil_war_rebels_won
|
|
180
|
+
country_event = { id = castilian_civil_war.100 }
|
|
181
|
+
end_disaster = castilian_civil_war
|
|
182
|
+
}
|
|
183
|
+
if = {
|
|
184
|
+
limit = { has_disaster = time_of_troubles }
|
|
185
|
+
country_event = { id = time_of_troubles.10 }
|
|
186
|
+
end_disaster = time_of_troubles
|
|
187
|
+
}
|
|
188
|
+
if = {
|
|
189
|
+
limit = { has_disaster = english_civil_war }
|
|
190
|
+
country_event = { id = english_civil_war.100 }
|
|
191
|
+
end_disaster = english_civil_war
|
|
192
|
+
}
|
|
193
|
+
if = {
|
|
194
|
+
limit = { is_revolution_target = yes }
|
|
195
|
+
set_revolution_target = ---
|
|
196
|
+
}
|
|
197
|
+
if = {
|
|
198
|
+
limit = { is_eyalet_trigger = yes }
|
|
199
|
+
country_event = {
|
|
200
|
+
id = flavor_tur.998
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
@@ -58,6 +58,20 @@ revolutionary_rebels = {
|
|
|
58
58
|
factor = 2
|
|
59
59
|
is_year = 1780
|
|
60
60
|
}
|
|
61
|
+
modifier = {
|
|
62
|
+
factor = 5
|
|
63
|
+
owner = {
|
|
64
|
+
government = monarchy
|
|
65
|
+
NOT = { legitimacy = 80 }
|
|
66
|
+
absolutism = 80
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
modifier = {
|
|
70
|
+
factor = 5
|
|
71
|
+
owner = {
|
|
72
|
+
is_bankrupt = yes
|
|
73
|
+
}
|
|
74
|
+
}
|
|
61
75
|
modifier = {
|
|
62
76
|
factor = 2
|
|
63
77
|
has_revolution_in_province = yes
|
|
@@ -67,8 +81,8 @@ revolutionary_rebels = {
|
|
|
67
81
|
is_overseas = yes
|
|
68
82
|
}
|
|
69
83
|
modifier = {
|
|
70
|
-
factor = 0
|
|
71
|
-
NOT = {
|
|
84
|
+
factor = 0
|
|
85
|
+
NOT = { current_age = age_of_revolutions }
|
|
72
86
|
}
|
|
73
87
|
modifier = {
|
|
74
88
|
factor = 5.0
|
|
@@ -118,12 +132,36 @@ revolutionary_rebels = {
|
|
|
118
132
|
factor = 1.5
|
|
119
133
|
unrest = 6
|
|
120
134
|
}
|
|
135
|
+
modifier = {
|
|
136
|
+
factor = 6
|
|
137
|
+
has_revolution_in_province = no
|
|
138
|
+
}
|
|
139
|
+
modifier = {
|
|
140
|
+
factor = 0.25
|
|
141
|
+
has_revolution_in_province = yes
|
|
142
|
+
}
|
|
121
143
|
}
|
|
122
144
|
|
|
123
145
|
# Province Scope
|
|
124
146
|
siege_won_trigger = {
|
|
125
147
|
}
|
|
126
148
|
siege_won_effect = {
|
|
149
|
+
if = {
|
|
150
|
+
limit = {
|
|
151
|
+
has_dlc = "Emperor"
|
|
152
|
+
has_revolution_in_province = no
|
|
153
|
+
has_global_flag = first_revolution_center_spawned
|
|
154
|
+
NOT = { has_global_flag = no_more_revolutions_ever }
|
|
155
|
+
OR = {
|
|
156
|
+
same_continent = event_target:revolution_center
|
|
157
|
+
AND = {
|
|
158
|
+
enlightenment = 100
|
|
159
|
+
development = 10
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
set_revolution_in_province = yes
|
|
164
|
+
}
|
|
127
165
|
}
|
|
128
166
|
|
|
129
167
|
# Country scope
|
|
@@ -162,7 +200,7 @@ revolutionary_rebels = {
|
|
|
162
200
|
tooltip = {
|
|
163
201
|
if = {
|
|
164
202
|
limit = { NOT = { government = republic } }
|
|
165
|
-
|
|
203
|
+
change_government = republic
|
|
166
204
|
}
|
|
167
205
|
if = {
|
|
168
206
|
limit = { NOT = { revolution_target_exists = yes } }
|
|
@@ -202,6 +240,7 @@ revolutionary_rebels = {
|
|
|
202
240
|
has_reform = celestial_empire
|
|
203
241
|
has_reform = iqta
|
|
204
242
|
has_reform = daimyo
|
|
243
|
+
has_reform = appanage_reform
|
|
205
244
|
has_reform = shogunate
|
|
206
245
|
has_reform = colonial_government
|
|
207
246
|
has_reform = native_basic_reform
|
|
@@ -209,7 +248,7 @@ revolutionary_rebels = {
|
|
|
209
248
|
}
|
|
210
249
|
}
|
|
211
250
|
}
|
|
212
|
-
|
|
251
|
+
change_government = republic
|
|
213
252
|
#set_legacy_government = constitutional_republic
|
|
214
253
|
}
|
|
215
254
|
if = {
|
|
@@ -221,6 +260,7 @@ revolutionary_rebels = {
|
|
|
221
260
|
has_reform = celestial_empire
|
|
222
261
|
has_reform = iqta
|
|
223
262
|
has_reform = daimyo
|
|
263
|
+
has_reform = appanage_reform
|
|
224
264
|
has_reform = shogunate
|
|
225
265
|
has_reform = colonial_government
|
|
226
266
|
has_reform = native_basic_reform
|
|
@@ -219,7 +219,7 @@ shamanism_rebels = {
|
|
|
219
219
|
}
|
|
220
220
|
else_if = {
|
|
221
221
|
limit = {
|
|
222
|
-
|
|
222
|
+
dominant_religion = shamanism
|
|
223
223
|
NOT = { religion = shamanism }
|
|
224
224
|
}
|
|
225
225
|
change_religion = shamanism
|
|
@@ -218,7 +218,7 @@ tengri_pagan_reformed_rebels = {
|
|
|
218
218
|
}
|
|
219
219
|
else_if = {
|
|
220
220
|
limit = {
|
|
221
|
-
|
|
221
|
+
dominant_religion = tengri_pagan_reformed
|
|
222
222
|
NOT = { religion = tengri_pagan_reformed }
|
|
223
223
|
}
|
|
224
224
|
change_religion = tengri_pagan_reformed
|
|
@@ -219,7 +219,7 @@ totemism_rebels = {
|
|
|
219
219
|
}
|
|
220
220
|
else_if = {
|
|
221
221
|
limit = {
|
|
222
|
-
|
|
222
|
+
dominant_religion = totemism
|
|
223
223
|
NOT = { religion = totemism }
|
|
224
224
|
}
|
|
225
225
|
change_religion = totemism
|