|
@@ -2,30 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
# country
|
|
4
4
|
on_startup = {
|
|
5
|
-
if = {
|
|
6
|
-
limit = {
|
|
7
|
-
current_age = age_of_discovery
|
|
8
|
-
}
|
|
9
|
-
LXA = {
|
|
10
|
-
if = {
|
|
11
|
-
limit = {
|
|
12
|
-
NOT = { has_country_flag = lxa_loyalty_flag }
|
|
13
|
-
}
|
|
14
|
-
add_estate_loyalty = {
|
|
15
|
-
estate = estate_church
|
|
16
|
-
loyalty = -10
|
|
17
|
-
}
|
|
18
|
-
set_country_flag = lxa_loyalty_flag
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
5
|
emperor = {
|
|
23
6
|
save_global_event_target_as = Emperor
|
|
24
7
|
}
|
|
25
8
|
if = {
|
|
26
|
-
limit = {
|
|
27
|
-
is_emperor_of_china = yes
|
|
28
|
-
}
|
|
9
|
+
limit = { is_emperor_of_china = yes }
|
|
29
10
|
save_global_event_target_as = EmperorOfChina
|
|
30
11
|
}
|
|
31
12
|
events = {
|
|
@@ -34,295 +15,20 @@ on_startup = {
|
|
|
34
15
|
flavor_mng.42 #Event for the starting situation of the Ming
|
|
35
16
|
#flavor_fra.15000 #Make the French Revolution happen if starting in 1789
|
|
36
17
|
flavor_mos.1 #Event regarding the Tatar Yoke
|
|
18
|
+
flavor_fra.206 # Setup the general for missions
|
|
19
|
+
flavor_geo.1 # Disaster info
|
|
20
|
+
flavor_mam.111 # Mamluks-Syria relations
|
|
37
21
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
has_dlc = "Cradle of Civilization"
|
|
41
|
-
has_country_modifier = tur_janissary
|
|
42
|
-
}
|
|
43
|
-
remove_country_modifier = tur_janissary
|
|
44
|
-
}
|
|
22
|
+
on_startup_effect = yes
|
|
23
|
+
on_startup_dlc_cleanup_effect = yes
|
|
45
24
|
initialize_schools_effect = yes #This is only used here but is used for readability of on_action file.
|
|
46
|
-
|
|
47
|
-
if = {
|
|
48
|
-
limit = {
|
|
49
|
-
NOT = { has_country_flag = new_flavour_bav_13_has_been_triggered }
|
|
50
|
-
OR = {
|
|
51
|
-
tag = UBV
|
|
52
|
-
tag = LBV
|
|
53
|
-
tag = ING
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
set_country_flag = new_flavour_bav_13_has_been_triggered
|
|
57
|
-
country_event = { id = new_flavour_bav.13 days = 90 } #better not to allow almost instant DOWs
|
|
58
|
-
}
|
|
59
|
-
if = {
|
|
60
|
-
limit = {
|
|
61
|
-
tag = FRA
|
|
62
|
-
started_in = 1789.7.14
|
|
63
|
-
NOT = { is_year = 1790 }
|
|
64
|
-
NOT = { has_disaster = french_revolution }
|
|
65
|
-
}
|
|
66
|
-
add_disaster_progress = {
|
|
67
|
-
value = 100
|
|
68
|
-
disaster = french_revolution
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
if = {
|
|
72
|
-
limit = {
|
|
73
|
-
exists = SUK
|
|
74
|
-
}
|
|
75
|
-
SUK = {
|
|
76
|
-
set_ruler_flag = suk_monarch_flag
|
|
77
|
-
}
|
|
78
|
-
AYU = {
|
|
79
|
-
set_country_flag = ayu_monarch_flag
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
#if = {
|
|
83
|
-
# limit = {
|
|
84
|
-
# OR = {
|
|
85
|
-
# primary_culture = norse
|
|
86
|
-
# AND = {
|
|
87
|
-
# culture_group = scandinavian
|
|
88
|
-
# religion = norse_pagan_reformed
|
|
89
|
-
# }
|
|
90
|
-
# }
|
|
91
|
-
# NOT = { has_idea_group = norse_ideas }
|
|
92
|
-
# is_playing_custom_nation = no
|
|
93
|
-
# }
|
|
94
|
-
# country_event = { id = ideagroups.1 } #Swap Ideas
|
|
95
|
-
#}
|
|
96
|
-
if = {
|
|
97
|
-
limit = {
|
|
98
|
-
has_dlc = "Domination"
|
|
99
|
-
tag = FRA
|
|
100
|
-
NOT = { is_year = 1445 }
|
|
101
|
-
}
|
|
102
|
-
country_event = { id = flavor_fra.206 }
|
|
103
|
-
}
|
|
104
|
-
if = {
|
|
105
|
-
limit = {
|
|
106
|
-
NOT = { has_global_flag = end_of_the_tatar_yoke }
|
|
107
|
-
owns = 466
|
|
108
|
-
is_year = 1480
|
|
109
|
-
}
|
|
110
|
-
set_global_flag = end_of_the_tatar_yoke
|
|
111
|
-
}
|
|
112
|
-
if = {
|
|
113
|
-
limit = {
|
|
114
|
-
OR = {
|
|
115
|
-
has_country_modifier = rise_of_the_ottomans
|
|
116
|
-
has_country_modifier = zenith_of_the_ottomans
|
|
117
|
-
has_country_modifier = twilight_of_the_ottomans
|
|
118
|
-
has_country_modifier = decline_of_the_ottomans
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
remove_country_modifier = rise_of_the_ottomans
|
|
122
|
-
remove_country_modifier = zenith_of_the_ottomans
|
|
123
|
-
remove_country_modifier = twilight_of_the_ottomans
|
|
124
|
-
remove_country_modifier = decline_of_the_ottomans
|
|
125
|
-
}
|
|
126
|
-
if = {
|
|
127
|
-
limit = {
|
|
128
|
-
has_government_mechanic = ottoman_decadence_mechanic
|
|
129
|
-
current_age = age_of_discovery
|
|
130
|
-
}
|
|
131
|
-
add_country_modifier = {
|
|
132
|
-
name = rise_of_the_ottomans
|
|
133
|
-
duration = -1
|
|
134
|
-
desc = until_end_of_age_desc
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
if = {
|
|
138
|
-
limit = {
|
|
139
|
-
has_government_mechanic = ottoman_decadence_mechanic
|
|
140
|
-
current_age = age_of_reformation
|
|
141
|
-
}
|
|
142
|
-
add_country_modifier = {
|
|
143
|
-
name = zenith_of_the_ottomans
|
|
144
|
-
duration = -1
|
|
145
|
-
desc = until_end_of_age_desc
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
if = {
|
|
149
|
-
limit = {
|
|
150
|
-
has_government_mechanic = ottoman_decadence_mechanic
|
|
151
|
-
current_age = age_of_absolutism
|
|
152
|
-
}
|
|
153
|
-
add_country_modifier = {
|
|
154
|
-
name = twilight_of_the_ottomans
|
|
155
|
-
duration = -1
|
|
156
|
-
desc = until_end_of_age_desc
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
if = {
|
|
160
|
-
limit = {
|
|
161
|
-
has_government_mechanic = ottoman_decadence_mechanic
|
|
162
|
-
current_age = age_of_revolutions
|
|
163
|
-
}
|
|
164
|
-
add_country_modifier = {
|
|
165
|
-
name = decline_of_the_ottomans
|
|
166
|
-
duration = -1
|
|
167
|
-
desc = until_end_of_age_desc
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
25
|
}
|
|
171
26
|
|
|
172
27
|
# country
|
|
173
28
|
on_religion_change = {
|
|
29
|
+
on_religion_change_effect = yes
|
|
174
30
|
on_religion_change_estate_privileges_effect = yes
|
|
175
31
|
judaism_on_religion_change_effect = yes
|
|
176
|
-
###removes catholic modifiers
|
|
177
|
-
remove_country_modifier = counter_reformation
|
|
178
|
-
remove_country_modifier = the_statue_in_restraint_of_appeals
|
|
179
|
-
remove_country_modifier = revocation_of_restraint_of_appeals
|
|
180
|
-
remove_country_modifier = bavarian_jesuits
|
|
181
|
-
remove_country_modifier = the_societas_jesu
|
|
182
|
-
remove_country_modifier = the_declaration_of_indulgence
|
|
183
|
-
remove_country_modifier = de_heretico_comburendo
|
|
184
|
-
remove_country_modifier = the_conventicle_act
|
|
185
|
-
if = {
|
|
186
|
-
limit = {
|
|
187
|
-
has_reform = indian_sultanate_reform
|
|
188
|
-
NOT = { religion_group = muslim }
|
|
189
|
-
}
|
|
190
|
-
remove_government_reform = indian_sultanate_reform
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
if = {
|
|
194
|
-
limit = {
|
|
195
|
-
has_reform = feudal_theocracy
|
|
196
|
-
NOT = { religion_group = muslim }
|
|
197
|
-
NOT = { religion_group = zoroastrian_group }
|
|
198
|
-
}
|
|
199
|
-
remove_government_reform = feudal_theocracy
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
if = {
|
|
203
|
-
limit = {
|
|
204
|
-
government = native
|
|
205
|
-
OR = {
|
|
206
|
-
religion = nahuatl
|
|
207
|
-
religion = mesoamerican_religion
|
|
208
|
-
religion = inti
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
change_government = monarchy
|
|
212
|
-
add_government_reform = autocracy_reform
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
if = {
|
|
217
|
-
limit = {
|
|
218
|
-
has_heir = yes
|
|
219
|
-
}
|
|
220
|
-
set_heir_religion = ROOT
|
|
221
|
-
}
|
|
222
|
-
if = {
|
|
223
|
-
limit = {
|
|
224
|
-
has_regency = no
|
|
225
|
-
}
|
|
226
|
-
set_ruler_religion = ROOT
|
|
227
|
-
}
|
|
228
|
-
if = {
|
|
229
|
-
limit = {
|
|
230
|
-
has_dlc = "Rights of Man"
|
|
231
|
-
has_consort = yes
|
|
232
|
-
}
|
|
233
|
-
set_consort_religion = ROOT
|
|
234
|
-
}
|
|
235
|
-
if = {
|
|
236
|
-
limit = {
|
|
237
|
-
NOT = { religion = orthodox }
|
|
238
|
-
}
|
|
239
|
-
every_known_country = {
|
|
240
|
-
limit = {
|
|
241
|
-
reverse_has_opinion_modifier = {
|
|
242
|
-
who = ROOT
|
|
243
|
-
modifier = closed_down_the_patriarchate
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
reverse_remove_opinion = {
|
|
247
|
-
who = ROOT
|
|
248
|
-
modifier = closed_down_the_patriarchate
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
if = {
|
|
253
|
-
limit = {
|
|
254
|
-
religion = catholic
|
|
255
|
-
has_ruler_flag = personal_catholic_sympathies
|
|
256
|
-
}
|
|
257
|
-
country_event = { id = protestantism_events.19 }
|
|
258
|
-
}
|
|
259
|
-
if = {
|
|
260
|
-
limit = {
|
|
261
|
-
religion = protestant
|
|
262
|
-
}
|
|
263
|
-
set_country_flag = converted_to_protestantism
|
|
264
|
-
}
|
|
265
|
-
if = {
|
|
266
|
-
limit = {
|
|
267
|
-
religion = hussite
|
|
268
|
-
}
|
|
269
|
-
remove_country_modifier = hussite_persecution
|
|
270
|
-
}
|
|
271
|
-
if = {
|
|
272
|
-
limit = { has_country_modifier = bav_religious_mandate_mod }
|
|
273
|
-
remove_country_modifier = bav_religious_mandate_mod
|
|
274
|
-
}
|
|
275
|
-
add_country_modifier = {
|
|
276
|
-
name = recently_changed_religion_dummy
|
|
277
|
-
duration = 10
|
|
278
|
-
hidden = yes
|
|
279
|
-
}
|
|
280
|
-
if = {
|
|
281
|
-
limit = {
|
|
282
|
-
NOT = { religion_group = muslim }
|
|
283
|
-
any_owned_province = { has_province_modifier = sufi_shrine }
|
|
284
|
-
}
|
|
285
|
-
every_owned_province = {
|
|
286
|
-
limit = { has_province_modifier = sufi_shrine }
|
|
287
|
-
remove_province_modifier = sufi_shrine
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
if = {
|
|
291
|
-
limit = {
|
|
292
|
-
religion = shamanism
|
|
293
|
-
has_country_modifier = son_fetishism_as_secondary_religion
|
|
294
|
-
}
|
|
295
|
-
remove_country_modifier = son_fetishism_as_secondary_religion
|
|
296
|
-
every_owned_province = {
|
|
297
|
-
limit = {
|
|
298
|
-
has_province_modifier = son_fetishism_as_secondary_religion_province
|
|
299
|
-
}
|
|
300
|
-
remove_province_modifier = son_fetishism_as_secondary_religion_province
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
if = {
|
|
304
|
-
limit = {
|
|
305
|
-
has_country_flag = fra_papal_lap_dop_flag
|
|
306
|
-
}
|
|
307
|
-
clr_country_flag = fra_papal_lap_dop_flag
|
|
308
|
-
set_country_flag = fra_chose_to_piss_off_pope_flag
|
|
309
|
-
swap_non_generic_missions = yes
|
|
310
|
-
remove_country_modifier = fra_catholic_head_of_state_modifier
|
|
311
|
-
remove_country_modifier = fra_fervent_call_to_arms_modifier
|
|
312
|
-
clr_country_flag = enable_holy_orders_flag
|
|
313
|
-
if = {
|
|
314
|
-
limit = {
|
|
315
|
-
KOJ = { is_subject_of = ROOT }
|
|
316
|
-
}
|
|
317
|
-
KOJ = { add_liberty_desire = 25 }
|
|
318
|
-
}
|
|
319
|
-
remove_country_modifier = fra_sword_of_christianity_modifier
|
|
320
|
-
remove_country_modifier = fra_sword_of_christianity_modifier2
|
|
321
|
-
remove_country_modifier = fra_sword_of_christianity_modifier3
|
|
322
|
-
remove_country_modifier = fra_sword_of_christianity_modifier4
|
|
323
|
-
remove_country_modifier = fra_sword_of_christianity_modifier5
|
|
324
|
-
remove_country_modifier = fra_jerusalem_modifier
|
|
325
|
-
}
|
|
326
32
|
events = {
|
|
327
33
|
muslim_school_events.20 #Pick School
|
|
328
34
|
propagate_religion_events.7 #Propagated Country is now Muslim
|
|
@@ -705,6 +411,29 @@ on_battle_won_country = {
|
|
|
705
411
|
max_value = 40
|
|
706
412
|
effect = "set_country_flag = rus_finished_kill_mission"
|
|
707
413
|
}
|
|
414
|
+
if = {
|
|
415
|
+
limit = {
|
|
416
|
+
has_country_modifier = geo_bane_khagan
|
|
417
|
+
FROM = {
|
|
418
|
+
has_reform = steppe_horde
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
add_army_tradition = 0.5
|
|
422
|
+
}
|
|
423
|
+
if = {
|
|
424
|
+
limit = {
|
|
425
|
+
ROOT = {
|
|
426
|
+
has_country_modifier = turkoman_triumphant_conquest
|
|
427
|
+
}
|
|
428
|
+
FROM = {
|
|
429
|
+
tag = TIM
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
random_list = {
|
|
433
|
+
20 = { ROOT = { add_manpower = 2 } }
|
|
434
|
+
80 = { }
|
|
435
|
+
}
|
|
436
|
+
}
|
|
708
437
|
}
|
|
709
438
|
|
|
710
439
|
# country
|
|
@@ -716,6 +445,18 @@ on_battle_lost_country = {
|
|
|
716
445
|
90 = 0
|
|
717
446
|
10 = friendship_events.1 #Historical Friendship Broken
|
|
718
447
|
}
|
|
448
|
+
if = {
|
|
449
|
+
limit = {
|
|
450
|
+
OR = {
|
|
451
|
+
is_or_was_tag = { tag = QAR }
|
|
452
|
+
is_or_was_tag = { tag = AKK }
|
|
453
|
+
}
|
|
454
|
+
FROM = {
|
|
455
|
+
tag = TUR
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
set_country_flag = turkoman_hasnt_lost_battle_to_ottomans
|
|
459
|
+
}
|
|
719
460
|
}
|
|
720
461
|
|
|
721
462
|
# province
|
|
@@ -755,7 +496,7 @@ on_battle_won_province = {
|
|
|
755
496
|
limit = {
|
|
756
497
|
FROM = { tag = REB }
|
|
757
498
|
owner = {
|
|
758
|
-
has_country_flag =
|
|
499
|
+
has_country_flag = estate_eunuchs_in_power
|
|
759
500
|
is_emperor_of_china = yes
|
|
760
501
|
has_dlc = "Mandate of Heaven"
|
|
761
502
|
}
|
|
@@ -997,13 +738,41 @@ on_siege_won_country = {
|
|
|
997
738
|
}
|
|
998
739
|
}
|
|
999
740
|
grant_manpower_from_besieging_fort = yes
|
|
741
|
+
if = {
|
|
742
|
+
limit = {
|
|
743
|
+
has_dlc = "Domination"
|
|
744
|
+
not = { tag = MAM }
|
|
745
|
+
exists = MAM
|
|
746
|
+
FROM = {
|
|
747
|
+
is_capital = yes
|
|
748
|
+
owner = { tag = MAM }
|
|
749
|
+
}
|
|
750
|
+
root = {
|
|
751
|
+
or = {
|
|
752
|
+
tag = TUR
|
|
753
|
+
and = {
|
|
754
|
+
is_subject = yes
|
|
755
|
+
is_subject_of = TUR
|
|
756
|
+
is_subject_other_than_tributary_trigger = yes
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
is_in_war = {
|
|
760
|
+
casus_belli = cb_ottoman_invasion
|
|
761
|
+
attacker_leader = TUR
|
|
762
|
+
defender_leader = MAM
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
TUR = {
|
|
767
|
+
country_event = { id = flavor_tur.240 } #Collapse of the Mamluks
|
|
768
|
+
}
|
|
769
|
+
}
|
|
1000
770
|
events = {
|
|
1001
771
|
tyw_events.14 # Fall of Prague in Religious War
|
|
1002
772
|
flavor_oir.5 # Oirats capture Beijing
|
|
1003
773
|
flavor_lna.1 # Emerald Buddha
|
|
1004
774
|
flavor_son.14 # Djenne surrenders to Songhai Trigger
|
|
1005
775
|
flavor_teu.25 # Payback for the Hussite Wars
|
|
1006
|
-
flavor_tur.240 # Collapse of teh Mamluks
|
|
1007
776
|
flavor_kor.16 # Tripitaka Koreana
|
|
1008
777
|
flavor_tur.211 # Fall of Vienna
|
|
1009
778
|
}
|
|
@@ -1143,11 +912,12 @@ on_new_monarch = {
|
|
|
1143
912
|
flavor_tim.1 #Death of Shah Rukh
|
|
1144
913
|
muslim_school_events.20 #No Religious School
|
|
1145
914
|
flavor_daimyo.4 #Shiba Yoshikado
|
|
1146
|
-
flavor_fra.9000 #
|
|
915
|
+
flavor_fra.9000 # Fran�ois Villon
|
|
1147
916
|
flavor_sca.2 # Education Focus of the new Ruler
|
|
1148
917
|
flavor_rus.128 # Peter the Great
|
|
1149
918
|
flavor_rus.131 # Streltsy Payment
|
|
1150
919
|
flavor_gbr.102 # Religious Stance of the King
|
|
920
|
+
MEE_Byzantine_Events.42 # Demetrios claims the throne
|
|
1151
921
|
}
|
|
1152
922
|
random_events = {
|
|
1153
923
|
1000 = 0
|
|
@@ -1234,6 +1004,32 @@ on_monarch_death = {
|
|
|
1234
1004
|
limit = { has_government_attribute = no_stability_loss_on_monarch_death }
|
|
1235
1005
|
add_stability = 1
|
|
1236
1006
|
}
|
|
1007
|
+
|
|
1008
|
+
if = {
|
|
1009
|
+
limit = {
|
|
1010
|
+
is_subject_of_type = pronoia_subject_type
|
|
1011
|
+
NOT = { liberty_desire = 50 }
|
|
1012
|
+
}
|
|
1013
|
+
overlord = {
|
|
1014
|
+
inherit = ROOT
|
|
1015
|
+
if = {
|
|
1016
|
+
limit = {
|
|
1017
|
+
has_country_flag = BYZ_inheriting_pronoia_crownland_flag
|
|
1018
|
+
}
|
|
1019
|
+
change_estate_land_share = {
|
|
1020
|
+
estate = all
|
|
1021
|
+
share = -5
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
if = {
|
|
1027
|
+
limit = {
|
|
1028
|
+
has_government_attribute = civil_war_on_every_new_ruler
|
|
1029
|
+
}
|
|
1030
|
+
country_event = { id = 611 }
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1237
1033
|
burgundian_inheritance_start_effect = yes
|
|
1238
1034
|
ladislaus_postumus_king_died_effect = yes
|
|
1239
1035
|
joan_de_trastamara_king_died_effect = yes
|
|
@@ -1660,66 +1456,7 @@ on_hre_religion_white_peace = {
|
|
|
1660
1456
|
|
|
1661
1457
|
# When a non-native changes government type
|
|
1662
1458
|
on_government_change = {
|
|
1663
|
-
|
|
1664
|
-
clr_country_flag = caretaker_revolutionary_government
|
|
1665
|
-
if = {
|
|
1666
|
-
limit = {
|
|
1667
|
-
NOT = { government = monarchy }
|
|
1668
|
-
any_owned_province = {
|
|
1669
|
-
has_province_modifier = domain_of_spouses_family
|
|
1670
|
-
}
|
|
1671
|
-
}
|
|
1672
|
-
random_owned_province = {
|
|
1673
|
-
limit = { has_province_modifier = domain_of_spouses_family }
|
|
1674
|
-
remove_province_modifier = domain_of_spouses_family
|
|
1675
|
-
}
|
|
1676
|
-
}
|
|
1677
|
-
if = {
|
|
1678
|
-
limit = {
|
|
1679
|
-
NOT = { government = monarchy }
|
|
1680
|
-
any_owned_province = {
|
|
1681
|
-
has_province_modifier = home_of_consort
|
|
1682
|
-
}
|
|
1683
|
-
}
|
|
1684
|
-
random_owned_province = {
|
|
1685
|
-
limit = { has_province_modifier = home_of_consort }
|
|
1686
|
-
remove_province_modifier = home_of_consort
|
|
1687
|
-
}
|
|
1688
|
-
}
|
|
1689
|
-
if = {
|
|
1690
|
-
limit = {
|
|
1691
|
-
OR = {
|
|
1692
|
-
tag = ENG
|
|
1693
|
-
tag = GBR
|
|
1694
|
-
}
|
|
1695
|
-
any_owned_province = {
|
|
1696
|
-
has_province_modifier = rotten_borough
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
every_owned_province = {
|
|
1700
|
-
limit = {
|
|
1701
|
-
has_province_modifier = rotten_borough
|
|
1702
|
-
}
|
|
1703
|
-
remove_province_modifier = rotten_borough
|
|
1704
|
-
}
|
|
1705
|
-
}
|
|
1706
|
-
if = {
|
|
1707
|
-
limit = { has_country_modifier = the_reign_of_terror }
|
|
1708
|
-
remove_country_modifier = the_reign_of_terror
|
|
1709
|
-
}
|
|
1710
|
-
if = {
|
|
1711
|
-
limit = {
|
|
1712
|
-
has_global_flag = great_peasants_war_flag
|
|
1713
|
-
is_part_of_hre = yes
|
|
1714
|
-
has_government_attribute = is_peasants_republic
|
|
1715
|
-
}
|
|
1716
|
-
1 = {
|
|
1717
|
-
change_variable = {
|
|
1718
|
-
which = GPW_counting_variable
|
|
1719
|
-
value = -3
|
|
1720
|
-
}
|
|
1721
|
-
}
|
|
1722
|
-
}
|
|
1459
|
+
on_government_change_effect = yes
|
|
1723
1460
|
}
|
|
1724
1461
|
|
|
1725
1462
|
# When a native changes government after filling all their advancement groups.
|
|
@@ -1988,6 +1725,7 @@ on_dismantle_revolution = {
|
|
|
1988
1725
|
# province
|
|
1989
1726
|
on_adm_development = {
|
|
1990
1727
|
on_adm_development_effect = yes
|
|
1728
|
+
on_development_effect = yes
|
|
1991
1729
|
if = {
|
|
1992
1730
|
limit = { owner = { has_country_flag = enable_supplemental_development_flag } }
|
|
1993
1731
|
random_list = {
|
|
@@ -2043,12 +1781,37 @@ on_adm_development = {
|
|
|
2043
1781
|
add_local_autonomy = -5
|
|
2044
1782
|
add_prosperity = 1
|
|
2045
1783
|
}
|
|
1784
|
+
if = {
|
|
1785
|
+
limit = {
|
|
1786
|
+
religion = ROOT
|
|
1787
|
+
owner = {
|
|
1788
|
+
has_country_flag = geo_orthodox_dev
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
random_list = {
|
|
1792
|
+
10 = { add_base_tax = 1 }
|
|
1793
|
+
90 = { }
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
if = {
|
|
1797
|
+
limit = {
|
|
1798
|
+
OR = {
|
|
1799
|
+
trade_goods = cloth
|
|
1800
|
+
trade_goods = silk
|
|
1801
|
+
}
|
|
1802
|
+
owner = { has_country_modifier = turkoman_expanding_industry }
|
|
1803
|
+
}
|
|
1804
|
+
random_list = {
|
|
1805
|
+
20 = { add_base_tax = 1 }
|
|
1806
|
+
80 = { }
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
2046
1809
|
}
|
|
2047
1810
|
|
|
2048
1811
|
# province
|
|
2049
1812
|
on_dip_development = {
|
|
2050
1813
|
on_dip_development_effect = yes
|
|
2051
|
-
|
|
1814
|
+
on_development_effect = yes
|
|
2052
1815
|
if = {
|
|
2053
1816
|
limit = {
|
|
2054
1817
|
owner = { has_country_modifier = pru_victory_lower_saxony_modifier }
|
|
@@ -2061,13 +1824,37 @@ on_dip_development = {
|
|
|
2061
1824
|
add_local_autonomy = -5
|
|
2062
1825
|
add_prosperity = 1
|
|
2063
1826
|
}
|
|
2064
|
-
|
|
1827
|
+
if = {
|
|
1828
|
+
limit = {
|
|
1829
|
+
religion = ROOT
|
|
1830
|
+
owner = {
|
|
1831
|
+
has_country_flag = geo_orthodox_dev
|
|
1832
|
+
}
|
|
1833
|
+
}
|
|
1834
|
+
random_list = {
|
|
1835
|
+
10 = { add_base_production = 1 }
|
|
1836
|
+
90 = { }
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
if = {
|
|
1840
|
+
limit = {
|
|
1841
|
+
OR = {
|
|
1842
|
+
trade_goods = cloth
|
|
1843
|
+
trade_goods = silk
|
|
1844
|
+
}
|
|
1845
|
+
owner = { has_country_modifier = turkoman_expanding_industry }
|
|
1846
|
+
}
|
|
1847
|
+
random_list = {
|
|
1848
|
+
20 = { add_base_production = 1 }
|
|
1849
|
+
80 = { }
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
2065
1852
|
}
|
|
2066
1853
|
|
|
2067
1854
|
# province
|
|
2068
1855
|
on_mil_development = {
|
|
2069
1856
|
on_mil_development_effect = yes
|
|
2070
|
-
|
|
1857
|
+
on_development_effect = yes
|
|
2071
1858
|
if = {
|
|
2072
1859
|
limit = {
|
|
2073
1860
|
owner = { has_country_modifier = pru_victory_lower_saxony_modifier }
|
|
@@ -2080,7 +1867,31 @@ on_mil_development = {
|
|
|
2080
1867
|
add_local_autonomy = -5
|
|
2081
1868
|
add_prosperity = 1
|
|
2082
1869
|
}
|
|
2083
|
-
|
|
1870
|
+
if = {
|
|
1871
|
+
limit = {
|
|
1872
|
+
religion = ROOT
|
|
1873
|
+
owner = {
|
|
1874
|
+
has_country_flag = geo_orthodox_dev
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
random_list = {
|
|
1878
|
+
10 = { add_base_manpower = 1 }
|
|
1879
|
+
90 = { }
|
|
1880
|
+
}
|
|
1881
|
+
}
|
|
1882
|
+
if = {
|
|
1883
|
+
limit = {
|
|
1884
|
+
OR = {
|
|
1885
|
+
trade_goods = cloth
|
|
1886
|
+
trade_goods = silk
|
|
1887
|
+
}
|
|
1888
|
+
owner = { has_country_modifier = turkoman_expanding_industry }
|
|
1889
|
+
}
|
|
1890
|
+
random_list = {
|
|
1891
|
+
20 = { add_base_manpower = 1 }
|
|
1892
|
+
80 = { }
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
2084
1895
|
}
|
|
2085
1896
|
|
|
2086
1897
|
on_overextension_pulse = {
|
|
@@ -2408,8 +2219,14 @@ on_bi_yearly_pulse_3 = {
|
|
|
2408
2219
|
|
|
2409
2220
|
events = {
|
|
2410
2221
|
muslim_school_events.20 #Pick School
|
|
2222
|
+
promoting_art_events.2 #Art finished!
|
|
2411
2223
|
}
|
|
2412
2224
|
random_events = {
|
|
2225
|
+
100 = promoting_art_events.3
|
|
2226
|
+
100 = promoting_art_events.4
|
|
2227
|
+
100 = promoting_art_events.5
|
|
2228
|
+
100 = promoting_art_events.6
|
|
2229
|
+
50 = promoting_art_events.7
|
|
2413
2230
|
100 = new_court_flavour_events.25 #blood is thicker than water
|
|
2414
2231
|
200 = 0
|
|
2415
2232
|
}
|
|
@@ -4483,6 +4300,7 @@ on_province_culture_converted = {
|
|
|
4483
4300
|
judaism_on_province_culture_converted_effect = yes
|
|
4484
4301
|
imperial_modifiers_on_province_change_culture_or_change_owner_effect = yes
|
|
4485
4302
|
on_province_culture_change_effect = yes
|
|
4303
|
+
on_province_culture_converted_effect = yes
|
|
4486
4304
|
}
|
|
4487
4305
|
|
|
4488
4306
|
# province, general conversion through effects
|
|
@@ -4522,6 +4340,17 @@ on_convert_by_trade_policy = {
|
|
|
4522
4340
|
}
|
|
4523
4341
|
}
|
|
4524
4342
|
}
|
|
4343
|
+
|
|
4344
|
+
if = {
|
|
4345
|
+
limit = {
|
|
4346
|
+
FROM = {
|
|
4347
|
+
has_country_flag = YEM_propagation_gives_navy_tradition
|
|
4348
|
+
}
|
|
4349
|
+
}
|
|
4350
|
+
FROM = {
|
|
4351
|
+
add_navy_tradition = 1
|
|
4352
|
+
}
|
|
4353
|
+
}
|
|
4525
4354
|
}
|
|
4526
4355
|
|
|
4527
4356
|
# province
|
|
@@ -4769,6 +4598,31 @@ on_consecrate_patriarch = {
|
|
|
4769
4598
|
}
|
|
4770
4599
|
}
|
|
4771
4600
|
}
|
|
4601
|
+
if = {
|
|
4602
|
+
limit = {
|
|
4603
|
+
owner = { has_country_flag = BYZ_extra_patriarch_authority }
|
|
4604
|
+
NOT = { has_province_flag = BYZ_consecrated_here_bonus }
|
|
4605
|
+
}
|
|
4606
|
+
owner = {
|
|
4607
|
+
add_patriarch_authority = 0.025
|
|
4608
|
+
}
|
|
4609
|
+
every_province_in_state = {
|
|
4610
|
+
limit = { has_state_patriach = yes }
|
|
4611
|
+
set_province_flag = BYZ_consecrated_here_bonus
|
|
4612
|
+
}
|
|
4613
|
+
}
|
|
4614
|
+
if = {
|
|
4615
|
+
limit = {
|
|
4616
|
+
owner = { has_country_flag = geo_metropolitan_flag }
|
|
4617
|
+
}
|
|
4618
|
+
every_province_in_state = {
|
|
4619
|
+
add_province_modifier = {
|
|
4620
|
+
name = geo_consecrated_ground
|
|
4621
|
+
duration = -1
|
|
4622
|
+
hidden = yes
|
|
4623
|
+
}
|
|
4624
|
+
}
|
|
4625
|
+
}
|
|
4772
4626
|
}
|
|
4773
4627
|
|
|
4774
4628
|
# country. from = overlord
|
|
@@ -4801,6 +4655,12 @@ on_leader_recruited = {
|
|
|
4801
4655
|
# country
|
|
4802
4656
|
on_general_recruited = {
|
|
4803
4657
|
on_general_recruited_effect = yes
|
|
4658
|
+
if = {
|
|
4659
|
+
limit = {
|
|
4660
|
+
has_reform = sparapet_office
|
|
4661
|
+
}
|
|
4662
|
+
add_army_tradition = 0.25
|
|
4663
|
+
}
|
|
4804
4664
|
}
|
|
4805
4665
|
|
|
4806
4666
|
# country
|
|
@@ -4818,6 +4678,12 @@ on_admiral_recruited = {
|
|
|
4818
4678
|
}
|
|
4819
4679
|
add_navy_tradition = 1
|
|
4820
4680
|
}
|
|
4681
|
+
if = {
|
|
4682
|
+
limit = {
|
|
4683
|
+
has_country_flag = improve_nav_prof_flag
|
|
4684
|
+
}
|
|
4685
|
+
add_navy_tradition = 1
|
|
4686
|
+
}
|
|
4821
4687
|
}
|
|
4822
4688
|
|
|
4823
4689
|
# country
|
|
@@ -4945,6 +4811,12 @@ on_musketeer_raised = {
|
|
|
4945
4811
|
on_samurai_raised = {
|
|
4946
4812
|
}
|
|
4947
4813
|
|
|
4814
|
+
on_qizilbash_raised = {
|
|
4815
|
+
}
|
|
4816
|
+
|
|
4817
|
+
on_mamluks_raised = {
|
|
4818
|
+
}
|
|
4819
|
+
|
|
4948
4820
|
on_geobukseon_raised = {
|
|
4949
4821
|
}
|
|
4950
4822
|
|
|
@@ -5012,6 +4884,10 @@ on_center_of_trade_upgrade = {
|
|
|
5012
4884
|
limit = { owner = { has_country_flag = enable_upgrading_centers_of_trade_dev } }
|
|
5013
4885
|
add_base_production = 1
|
|
5014
4886
|
}
|
|
4887
|
+
if = {
|
|
4888
|
+
limit = { owner = { has_country_modifier = geo_centers_of_trade } }
|
|
4889
|
+
add_base_production = 1
|
|
4890
|
+
}
|
|
5015
4891
|
}
|
|
5016
4892
|
|
|
5017
4893
|
on_center_of_trade_downgrade = {
|
|
@@ -5019,6 +4895,10 @@ on_center_of_trade_downgrade = {
|
|
|
5019
4895
|
limit = { owner = { has_country_flag = enable_upgrading_centers_of_trade_dev } }
|
|
5020
4896
|
add_base_production = -1
|
|
5021
4897
|
}
|
|
4898
|
+
if = {
|
|
4899
|
+
limit = { owner = { has_country_modifier = geo_centers_of_trade } }
|
|
4900
|
+
add_base_production = -1
|
|
4901
|
+
}
|
|
5022
4902
|
}
|
|
5023
4903
|
|
|
5024
4904
|
on_culture_promoted = {
|
|
@@ -5043,6 +4923,7 @@ on_culture_demoted = {
|
|
|
5043
4923
|
judaism_on_culture_country_effect = yes
|
|
5044
4924
|
imperial_modifiers_on_culture_country_effect = yes
|
|
5045
4925
|
on_culture_demoted_effect = yes
|
|
4926
|
+
on_culture_demoted_effect_remove_all_free_slots = yes
|
|
5046
4927
|
}
|
|
5047
4928
|
|
|
5048
4929
|
on_primary_culture_changed = {
|
|
@@ -5131,6 +5012,12 @@ on_dependency_lost = {
|
|
|
5131
5012
|
remove_country_modifier = revoked_war_rights
|
|
5132
5013
|
}
|
|
5133
5014
|
}
|
|
5015
|
+
FROM = {
|
|
5016
|
+
if = {
|
|
5017
|
+
limit = { has_country_modifier = grain_trade_imports_modifier }
|
|
5018
|
+
remove_country_modifier = grain_trade_imports_modifier
|
|
5019
|
+
}
|
|
5020
|
+
}
|
|
5134
5021
|
}
|
|
5135
5022
|
|
|
5136
5023
|
# ROOT = New vassal, FROM = Overlord
|
|
@@ -5296,8 +5183,8 @@ on_trade_good_changed = {
|
|
|
5296
5183
|
has_manufactory_trigger = yes
|
|
5297
5184
|
base_production = 2
|
|
5298
5185
|
}
|
|
5186
|
+
add_base_production = -1
|
|
5299
5187
|
}
|
|
5300
|
-
add_base_production = -1
|
|
5301
5188
|
}
|
|
5302
5189
|
}
|
|
5303
5190
|
|
|
@@ -5305,8 +5192,12 @@ on_trade_good_changed = {
|
|
|
5305
5192
|
on_loan_repaid = {
|
|
5306
5193
|
on_loan_repaid_estate_privileges_effect = yes
|
|
5307
5194
|
if = {
|
|
5308
|
-
limit = {
|
|
5309
|
-
|
|
5195
|
+
limit = {
|
|
5196
|
+
THIS = {
|
|
5197
|
+
economic_ideas = 4
|
|
5198
|
+
}
|
|
5199
|
+
}
|
|
5200
|
+
THIS = { add_inflation = -0.05 }
|
|
5310
5201
|
}
|
|
5311
5202
|
}
|
|
5312
5203
|
|
|
@@ -5317,6 +5208,9 @@ on_rebels_break_country = {
|
|
|
5317
5208
|
duration = 10
|
|
5318
5209
|
hidden = yes
|
|
5319
5210
|
}
|
|
5211
|
+
events = {
|
|
5212
|
+
flavor_per.64 #No more Zoroastrian
|
|
5213
|
+
}
|
|
5320
5214
|
}
|
|
5321
5215
|
|
|
5322
5216
|
# this = country
|
|
@@ -5356,17 +5250,17 @@ on_pre_mil_advisor_fired = {
|
|
|
5356
5250
|
|
|
5357
5251
|
# this = country
|
|
5358
5252
|
on_post_adm_advisor_fired = {
|
|
5359
|
-
|
|
5253
|
+
on_advisor_removed_effct = { type = adm }
|
|
5360
5254
|
}
|
|
5361
5255
|
|
|
5362
5256
|
# this = country
|
|
5363
5257
|
on_post_dip_advisor_fired = {
|
|
5364
|
-
|
|
5258
|
+
on_advisor_removed_effct = { type = dip }
|
|
5365
5259
|
}
|
|
5366
5260
|
|
|
5367
5261
|
# this = country
|
|
5368
5262
|
on_post_mil_advisor_fired = {
|
|
5369
|
-
|
|
5263
|
+
on_advisor_removed_effct = { type = mil }
|
|
5370
5264
|
}
|
|
5371
5265
|
|
|
5372
5266
|
# this = new client state, from = parent country
|
|
@@ -5682,7 +5576,10 @@ on_institution_embracement = {
|
|
|
5682
5576
|
}
|
|
5683
5577
|
}
|
|
5684
5578
|
on_national_focus_change = {}
|
|
5685
|
-
|
|
5579
|
+
|
|
5580
|
+
on_capital_moved = {
|
|
5581
|
+
on_capital_moved_effect = yes
|
|
5582
|
+
}
|
|
5686
5583
|
|
|
5687
5584
|
#ROOT = province that was expanded in, FROM = country that did it
|
|
5688
5585
|
on_expanded_infrastructure = {
|
|
@@ -5735,34 +5632,10 @@ consort_on_shipwreck = {
|
|
|
5735
5632
|
|
|
5736
5633
|
#ROOT = country
|
|
5737
5634
|
on_defender_of_faith_loss = {
|
|
5738
|
-
|
|
5739
|
-
remove_country_modifier = liv_the_livonian_defender
|
|
5740
|
-
remove_country_modifier = gov_improved_defender_of_faith_mod
|
|
5741
|
-
remove_country_modifier = pol_shield_against_catholicism_modifier
|
|
5635
|
+
on_defender_of_faith_loss_effect = yes
|
|
5742
5636
|
}
|
|
5743
5637
|
on_defender_of_faith_claim = {
|
|
5744
|
-
|
|
5745
|
-
if = {
|
|
5746
|
-
limit = {
|
|
5747
|
-
religion = catholic
|
|
5748
|
-
has_country_flag = liv_the_livonian_defender_flag
|
|
5749
|
-
NOT = { has_country_modifier = liv_the_livonian_defender }
|
|
5750
|
-
}
|
|
5751
|
-
add_country_modifier = {
|
|
5752
|
-
name = liv_the_livonian_defender
|
|
5753
|
-
duration = -1
|
|
5754
|
-
desc = liv_the_livonian_defender_tt
|
|
5755
|
-
}
|
|
5756
|
-
}
|
|
5757
|
-
if = {
|
|
5758
|
-
limit = {
|
|
5759
|
-
has_government_attribute = improved_defender_of_faith
|
|
5760
|
-
}
|
|
5761
|
-
add_country_modifier = {
|
|
5762
|
-
name = gov_improved_defender_of_faith_mod
|
|
5763
|
-
duration = -1
|
|
5764
|
-
}
|
|
5765
|
-
}
|
|
5638
|
+
on_defender_of_faith_claim_effect = yes
|
|
5766
5639
|
}
|
|
5767
5640
|
on_hre_dismantled = {
|
|
5768
5641
|
country_event = {
|
|
@@ -5780,6 +5653,7 @@ on_new_age = {
|
|
|
5780
5653
|
flavor_rus.44 #Update the Russian mission tree
|
|
5781
5654
|
flavor_gbr.122 #Assign Religious Chaos to England
|
|
5782
5655
|
}
|
|
5656
|
+
set_age_passed_global_flag = yes
|
|
5783
5657
|
remove_all_age_timed_modifiers = yes
|
|
5784
5658
|
if = {
|
|
5785
5659
|
limit = {
|
|
@@ -5952,6 +5826,26 @@ on_war_ended = { #ROOT - Winer FROM - Loser
|
|
|
5952
5826
|
|
|
5953
5827
|
on_alliance_broken = { #ROOT - Original alliance creator, FROM - Alliance accepter
|
|
5954
5828
|
on_alliance_broken_effect = yes
|
|
5829
|
+
if = {
|
|
5830
|
+
limit = { has_country_modifier = grain_trade_imports_modifier }
|
|
5831
|
+
remove_country_modifier = grain_trade_imports_modifier
|
|
5832
|
+
}
|
|
5833
|
+
FROM = {
|
|
5834
|
+
if = {
|
|
5835
|
+
limit = { has_country_modifier = grain_trade_imports_modifier }
|
|
5836
|
+
remove_country_modifier = grain_trade_imports_modifier
|
|
5837
|
+
}
|
|
5838
|
+
}
|
|
5839
|
+
if = {
|
|
5840
|
+
limit = { has_country_flag = enable_galleass }
|
|
5841
|
+
clr_country_flag = enable_galleass
|
|
5842
|
+
}
|
|
5843
|
+
FROM = {
|
|
5844
|
+
if = {
|
|
5845
|
+
limit = { has_country_flag = enable_galleass }
|
|
5846
|
+
clr_country_flag = enable_galleass
|
|
5847
|
+
}
|
|
5848
|
+
}
|
|
5955
5849
|
}
|
|
5956
5850
|
|
|
5957
5851
|
on_royal_marriage_broken = { #ROOT - Original marriage creator, FROM - Marriage accepter
|
|
@@ -5968,4 +5862,7 @@ on_royal_marriage = { #ROOT - Marraige sender, FROM - marriage accepter
|
|
|
5968
5862
|
|
|
5969
5863
|
on_heir_disinherited = {
|
|
5970
5864
|
on_heir_disinherited_or_death_effect = yes
|
|
5865
|
+
}
|
|
5866
|
+
on_overrun = { #ROOT - winner, FROM - loser, on stackwipe
|
|
5867
|
+
|
|
5971
5868
|
}
|