|
@@ -86,7 +86,252 @@
|
|
|
86
86
|
# knowledge_sharing
|
|
87
87
|
|
|
88
88
|
|
|
89
|
+
#Cut because the Grand Crusade war doesn't really have any place in the current content, but it could be very useful for the future.
|
|
90
|
+
#Also modders should have the chance to just uncomment it all so they can experience the great 30 Years War like Crusade.
|
|
91
|
+
declarewar = {
|
|
92
|
+
#condition = {
|
|
93
|
+
# tooltip = GRAND_CRUSADE_NO_OTHER_WAR
|
|
94
|
+
# potential = { }
|
|
95
|
+
# allow = {
|
|
96
|
+
# NOT = {
|
|
97
|
+
# is_in_war = {
|
|
98
|
+
# attacker_leader = ROOT
|
|
99
|
+
# casus_belli = cb_grand_crusade
|
|
100
|
+
# }
|
|
101
|
+
# }
|
|
102
|
+
# }
|
|
103
|
+
#}
|
|
104
|
+
#effect = {
|
|
105
|
+
# if = {
|
|
106
|
+
# limit = {
|
|
107
|
+
# has_global_flag = grand_crusades_enabled
|
|
108
|
+
# has_country_flag = grand_crusader_war_monger_flag
|
|
109
|
+
# is_in_war = {
|
|
110
|
+
# attacker_leader = ROOT
|
|
111
|
+
# casus_belli = cb_grand_crusade
|
|
112
|
+
# }
|
|
113
|
+
# }
|
|
114
|
+
# FROM = {
|
|
115
|
+
# save_global_event_target_as = grand_crusade_target
|
|
116
|
+
# }
|
|
117
|
+
# }
|
|
118
|
+
#}
|
|
119
|
+
condition = {
|
|
120
|
+
tooltip = AI_CANNOT_DECLARE_WHEN_STABILITY_LOSS
|
|
121
|
+
potential = {
|
|
122
|
+
ai = yes
|
|
123
|
+
}
|
|
124
|
+
allow = {
|
|
125
|
+
ai = yes
|
|
126
|
+
NOT = {
|
|
127
|
+
has_global_modifier_value = {
|
|
128
|
+
which = stability_cost_to_declare_war
|
|
129
|
+
value = 1
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
condition = {
|
|
135
|
+
tooltip = CANNOT_DECLARE_WARS_OTHER_THAN_INDEPENDENCE_WARS
|
|
136
|
+
potential = {
|
|
137
|
+
has_country_modifier = revoked_war_rights
|
|
138
|
+
FROM = { NOT = { overlord_of = ROOT } }
|
|
139
|
+
}
|
|
140
|
+
allow = {
|
|
141
|
+
OR = {
|
|
142
|
+
NOT = { has_country_modifier = revoked_war_rights }
|
|
143
|
+
FROM = { overlord_of = ROOT }
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
condition = {
|
|
148
|
+
tooltip = CANNOT_DECLARE_WARS_TEUTONS_HRE
|
|
149
|
+
potential = {
|
|
150
|
+
ai = yes
|
|
151
|
+
has_country_flag = teu_joined_the_hre
|
|
152
|
+
FROM = { is_part_of_hre = yes }
|
|
153
|
+
}
|
|
154
|
+
allow = {
|
|
155
|
+
FROM = { is_part_of_hre = no }
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
effect = {
|
|
159
|
+
on_war_declaration_effect = yes
|
|
160
|
+
if = {
|
|
161
|
+
limit = {
|
|
162
|
+
has_country_flag = nor_norwegian_independence_modifier
|
|
163
|
+
FROM = { tag = DAN }
|
|
164
|
+
}
|
|
165
|
+
add_country_modifier = {
|
|
166
|
+
name = nor_norwegian_independence_war_mod
|
|
167
|
+
duration = -1
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
if = {
|
|
171
|
+
limit = {
|
|
172
|
+
has_country_flag = teu_joined_the_hre
|
|
173
|
+
tag = TEU
|
|
174
|
+
is_part_of_hre = yes
|
|
175
|
+
FROM = { is_part_of_hre = yes }
|
|
176
|
+
}
|
|
177
|
+
clr_country_flag = teu_joined_the_hre
|
|
178
|
+
country_event = {
|
|
179
|
+
id = flavor_teu.33
|
|
180
|
+
days = 10
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
89
185
|
|
|
186
|
+
allianceaction = {
|
|
187
|
+
condition = {
|
|
188
|
+
tooltip = PIRATE_DENIED_ALLIANCE
|
|
189
|
+
potential = {
|
|
190
|
+
has_government_attribute = cannot_ally_non_pirates
|
|
191
|
+
}
|
|
192
|
+
allow = {
|
|
193
|
+
OR = {
|
|
194
|
+
NOT = { has_government_attribute = cannot_ally_non_pirates }
|
|
195
|
+
FROM = { has_government_attribute = is_pirate_republic_reform }
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
condition = {
|
|
200
|
+
tooltip = FROM_PIRATE_DENIED_ALLIANCE
|
|
201
|
+
potential = {
|
|
202
|
+
FROM = {
|
|
203
|
+
has_government_attribute = cannot_ally_non_pirates
|
|
204
|
+
}
|
|
205
|
+
NOT = { has_government_attribute = is_pirate_republic_reform }
|
|
206
|
+
}
|
|
207
|
+
allow = {
|
|
208
|
+
OR = {
|
|
209
|
+
has_government_attribute = is_pirate_republic_reform
|
|
210
|
+
NOT = { FROM = { has_government_attribute = cannot_ally_non_pirates } }
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
condition = {
|
|
215
|
+
tooltip = REPUBLIC_DENIED_ALLIANCE
|
|
216
|
+
potential = {
|
|
217
|
+
has_government_attribute = cannot_ally_non_republics
|
|
218
|
+
}
|
|
219
|
+
allow = {
|
|
220
|
+
OR = {
|
|
221
|
+
NOT = { has_government_attribute = cannot_ally_non_republics }
|
|
222
|
+
FROM = { government = republic }
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
condition = {
|
|
227
|
+
tooltip = FROM_REPUBLIC_DENIED_ALLIANCE
|
|
228
|
+
potential = {
|
|
229
|
+
FROM = {
|
|
230
|
+
has_government_attribute = cannot_ally_non_republics
|
|
231
|
+
}
|
|
232
|
+
NOT = { government = republic }
|
|
233
|
+
}
|
|
234
|
+
allow = {
|
|
235
|
+
OR = {
|
|
236
|
+
government = republic
|
|
237
|
+
NOT = { FROM = { has_government_attribute = cannot_ally_non_republics } }
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
condition = {
|
|
242
|
+
tooltip = REV_REPUBLIC_DENIED_ALLIANCE
|
|
243
|
+
potential = {
|
|
244
|
+
has_government_attribute = cannot_ally_non_republics_or_non_rev
|
|
245
|
+
}
|
|
246
|
+
allow = {
|
|
247
|
+
OR = {
|
|
248
|
+
NOT = { has_government_attribute = cannot_ally_non_republics_or_non_rev }
|
|
249
|
+
FROM = {
|
|
250
|
+
OR = {
|
|
251
|
+
government = republic
|
|
252
|
+
is_revolutionary = yes
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
condition = {
|
|
259
|
+
tooltip = FROM_REV_REPUBLIC_DENIED_ALLIANCE
|
|
260
|
+
potential = {
|
|
261
|
+
FROM = {
|
|
262
|
+
has_government_attribute = cannot_ally_non_republics_or_non_rev
|
|
263
|
+
}
|
|
264
|
+
NOT = { government = republic }
|
|
265
|
+
is_revolutionary = no
|
|
266
|
+
}
|
|
267
|
+
allow = {
|
|
268
|
+
OR = {
|
|
269
|
+
government = republic
|
|
270
|
+
is_revolutionary = yes
|
|
271
|
+
NOT = { FROM = { has_government_attribute = cannot_ally_non_republics_or_non_rev } }
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
condition = {
|
|
276
|
+
tooltip = CANNOT_MAKE_ALLIANCES
|
|
277
|
+
potential = {
|
|
278
|
+
has_government_attribute = cannot_form_alliances
|
|
279
|
+
}
|
|
280
|
+
allow = {
|
|
281
|
+
NOT = { has_government_attribute = cannot_form_alliances }
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
condition = {
|
|
285
|
+
tooltip = FROM_CANNOT_MAKE_ALLIANCES
|
|
286
|
+
potential = {
|
|
287
|
+
FROM = {
|
|
288
|
+
has_government_attribute = cannot_form_alliances
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
allow = {
|
|
292
|
+
NOT = { FROM = { has_government_attribute = cannot_form_alliances } }
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
effect = {
|
|
296
|
+
change_asha_vahishta = { value = 2 }
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
enforce_peace = {
|
|
301
|
+
#do this before the peace is enforced, or there is no war enemy country
|
|
302
|
+
pre_effect = {
|
|
303
|
+
if = {
|
|
304
|
+
limit = {
|
|
305
|
+
has_country_modifier = liv_protector_of_the_catholics
|
|
306
|
+
FROM = {
|
|
307
|
+
any_war_enemy_country = {
|
|
308
|
+
religion = catholic
|
|
309
|
+
is_in_war = {
|
|
310
|
+
defender_leader = THIS
|
|
311
|
+
attacker_leader = FROM
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
add_papal_influence = 25
|
|
317
|
+
}
|
|
318
|
+
if = {
|
|
319
|
+
limit = {
|
|
320
|
+
has_government_mechanic = the_three_royal_fires_mechanic
|
|
321
|
+
FROM = {
|
|
322
|
+
any_war_enemy_country = {
|
|
323
|
+
religion = zoroastrian
|
|
324
|
+
is_in_war = {
|
|
325
|
+
defender_leader = this
|
|
326
|
+
attacker_leader = from
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
change_asha_vahishta = { value = 5 }
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
90
335
|
|
|
91
336
|
royal_marriage = {
|
|
92
337
|
condition = {
|
|
@@ -97,6 +342,55 @@ royal_marriage = {
|
|
|
97
342
|
NOT = { war_with = FROM }
|
|
98
343
|
}
|
|
99
344
|
}
|
|
345
|
+
effect = {
|
|
346
|
+
change_asha_vahishta = { value = 0.5 }
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
guaranteeaction = {
|
|
351
|
+
effect = {
|
|
352
|
+
change_asha_vahishta = { value = 1 }
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
threaten_war = {
|
|
356
|
+
effect = {
|
|
357
|
+
change_asha_vahishta = { value = -10 }
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
insultaction = {
|
|
361
|
+
effect = {
|
|
362
|
+
change_asha_vahishta = { value = -5 }
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
giftaction = {
|
|
366
|
+
effect = {
|
|
367
|
+
change_asha_vahishta = { value = 1 }
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
fabricate_claim = {
|
|
371
|
+
effect = {
|
|
372
|
+
change_asha_vahishta = { value = -1 }
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
break_marriage = {
|
|
376
|
+
effect = {
|
|
377
|
+
change_asha_vahishta = { value = -1 }
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
takeondebt = {
|
|
381
|
+
effect = {
|
|
382
|
+
change_asha_vahishta = { value = 2 }
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
influence_nation = {
|
|
386
|
+
effect = {
|
|
387
|
+
change_asha_vahishta = { value = 2 }
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
intervene_in_war = {
|
|
391
|
+
effect = {
|
|
392
|
+
change_asha_vahishta = { value = 50 }
|
|
393
|
+
}
|
|
100
394
|
}
|
|
101
395
|
|
|
102
396
|
annexationaction = {
|
|
@@ -104,7 +398,11 @@ annexationaction = {
|
|
|
104
398
|
tooltip = ANNEX_TOO_LOW
|
|
105
399
|
potential = {
|
|
106
400
|
FROM = {
|
|
107
|
-
|
|
401
|
+
OR = {
|
|
402
|
+
is_subject_of_type = core_eyalet
|
|
403
|
+
is_subject_of_type = appanage
|
|
404
|
+
vassal_of = ROOT
|
|
405
|
+
}
|
|
108
406
|
}
|
|
109
407
|
}
|
|
110
408
|
allow = {
|
|
@@ -132,6 +430,58 @@ annexationaction = {
|
|
|
132
430
|
# }
|
|
133
431
|
# }
|
|
134
432
|
#}
|
|
433
|
+
condition = {
|
|
434
|
+
tooltip = CANNOT_ANNEX
|
|
435
|
+
potential = {
|
|
436
|
+
FROM = {
|
|
437
|
+
has_country_modifier = tur_mamlukian_administration
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
allow = {
|
|
441
|
+
FROM = {
|
|
442
|
+
NOT = { has_country_modifier = tur_mamlukian_administration }
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
condition = {
|
|
447
|
+
tooltip = NEEDS_50_CROWNLAND_TT
|
|
448
|
+
potential = {
|
|
449
|
+
has_government_attribute = need_crownland_to_annex
|
|
450
|
+
NOT = { crown_land_share = 50 }
|
|
451
|
+
}
|
|
452
|
+
allow = {
|
|
453
|
+
crown_land_share = 50
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
condition = {
|
|
457
|
+
tooltip = NEEDS_TO_HAVE_SEIZED_LAND
|
|
458
|
+
potential = {
|
|
459
|
+
has_government_attribute = has_appanages
|
|
460
|
+
NOT = {
|
|
461
|
+
check_variable = {
|
|
462
|
+
which = can_annex_appanages_points
|
|
463
|
+
value = 1
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
allow = {
|
|
468
|
+
check_variable = {
|
|
469
|
+
which = can_annex_appanages_points
|
|
470
|
+
value = 1
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
effect = {
|
|
475
|
+
if = {
|
|
476
|
+
limit = {
|
|
477
|
+
FROM = { is_subject_of_type = appanage }
|
|
478
|
+
}
|
|
479
|
+
subtract_variable = {
|
|
480
|
+
which = can_annex_appanages_points
|
|
481
|
+
value = 1
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
135
485
|
}
|
|
136
486
|
|
|
137
487
|
integrationaction = {
|
|
@@ -149,20 +499,28 @@ integrationaction = {
|
|
|
149
499
|
}
|
|
150
500
|
}
|
|
151
501
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
502
|
+
condition = {
|
|
503
|
+
tooltip = PUINTEGRATIONIMPOSSIBLE
|
|
504
|
+
potential = {
|
|
505
|
+
has_government_attribute = cannot_integrate_personal_unions
|
|
506
|
+
}
|
|
507
|
+
allow = {
|
|
508
|
+
NOT = { has_government_attribute = cannot_integrate_personal_unions }
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
condition = {
|
|
512
|
+
tooltip = CANNOT_ANNEX
|
|
513
|
+
potential = {
|
|
514
|
+
FROM = {
|
|
515
|
+
has_country_modifier = tur_mamlukian_administration
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
allow = {
|
|
519
|
+
FROM = {
|
|
520
|
+
NOT = { has_country_modifier = tur_mamlukian_administration }
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
166
524
|
}
|
|
167
525
|
|
|
168
526
|
vassalaction = {
|
|
@@ -183,7 +541,7 @@ vassalaction = {
|
|
|
183
541
|
}
|
|
184
542
|
}
|
|
185
543
|
|
|
186
|
-
|
|
544
|
+
abandon_union = {
|
|
187
545
|
condition = {
|
|
188
546
|
potential = {
|
|
189
547
|
}
|
|
@@ -194,6 +552,15 @@ abandon_union_action = {
|
|
|
194
552
|
}
|
|
195
553
|
}
|
|
196
554
|
}
|
|
555
|
+
condition = {
|
|
556
|
+
tooltip = PUABANDONINGIMPOSSIBLE
|
|
557
|
+
potential = {
|
|
558
|
+
has_government_attribute = cannot_abandon_personal_unions
|
|
559
|
+
}
|
|
560
|
+
allow = {
|
|
561
|
+
NOT = { has_government_attribute = cannot_abandon_personal_unions }
|
|
562
|
+
}
|
|
563
|
+
}
|
|
197
564
|
}
|
|
198
565
|
|
|
199
566
|
form_coalition = {
|
|
@@ -210,7 +577,7 @@ form_coalition = {
|
|
|
210
577
|
has_opinion_modifier = {
|
|
211
578
|
modifier = aggressive_expansion
|
|
212
579
|
who = FROM
|
|
213
|
-
value = -
|
|
580
|
+
value = -49
|
|
214
581
|
}
|
|
215
582
|
}
|
|
216
583
|
}
|
|
@@ -249,4 +616,57 @@ invite_to_trade_league = {
|
|
|
249
616
|
}
|
|
250
617
|
}
|
|
251
618
|
}
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
tributary_state_action = {
|
|
622
|
+
condition = {
|
|
623
|
+
potential = {
|
|
624
|
+
ai = yes
|
|
625
|
+
}
|
|
626
|
+
allow = {
|
|
627
|
+
OR = {
|
|
628
|
+
NOT = { ROOT = { capital_scope = { superregion = china_superregion } } }
|
|
629
|
+
AND = {
|
|
630
|
+
ROOT = { capital_scope = { superregion = china_superregion } }
|
|
631
|
+
NOT = { FROM = { capital_scope = { superregion = china_superregion } } }
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
OR = {
|
|
635
|
+
NOT = { ROOT = { capital_scope = { region = japan_region } } }
|
|
636
|
+
AND = {
|
|
637
|
+
ROOT = { capital_scope = { region = japan_region } }
|
|
638
|
+
NOT = { FROM = { capital_scope = { region = japan_region } } }
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
ask_for_tributary_state_action = {
|
|
645
|
+
condition = {
|
|
646
|
+
potential = {
|
|
647
|
+
ai = yes
|
|
648
|
+
}
|
|
649
|
+
allow = {
|
|
650
|
+
OR = {
|
|
651
|
+
NOT = { FROM = { capital_scope = { superregion = china_superregion } } }
|
|
652
|
+
AND = {
|
|
653
|
+
FROM = { capital_scope = { superregion = china_superregion } }
|
|
654
|
+
NOT = { ROOT = { capital_scope = { superregion = china_superregion } } }
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
OR = {
|
|
658
|
+
NOT = { FROM = { capital_scope = { region = japan_region } } }
|
|
659
|
+
AND = {
|
|
660
|
+
FROM = { capital_scope = { region = japan_region } }
|
|
661
|
+
NOT = { ROOT = { capital_scope = { region = japan_region } } }
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
break_alliance = {
|
|
669
|
+
effect = {
|
|
670
|
+
on_alliance_broken_effect = yes
|
|
671
|
+
}
|
|
252
672
|
}
|