Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. common/diplomatic_actions/00_diplomatic_actions.txt +103 -6
common/diplomatic_actions/00_diplomatic_actions.txt CHANGED
@@ -157,6 +157,20 @@ declarewar = {
157
157
  }
158
158
  effect = {
159
159
  on_war_declaration_effect = yes
160
+ if = {
161
+ limit = {
162
+ mission_completed = hun_the_anatolian_threat
163
+ NOT = {
164
+ has_country_flag = hun_declared_first_war_against_tur
165
+ }
166
+ FROM = { tag = TUR }
167
+ }
168
+ add_country_modifier = {
169
+ name = hun_avenge_varna
170
+ duration = -1
171
+ }
172
+ set_country_flag = hun_declared_first_war_against_tur
173
+ }
160
174
  if = {
161
175
  limit = {
162
176
  has_country_flag = nor_norwegian_independence_modifier
@@ -180,6 +194,44 @@ declarewar = {
180
194
  days = 10
181
195
  }
182
196
  }
197
+ if = {
198
+ limit = {
199
+ has_country_flag = ned_no_stab_loss_on_independence_flag
200
+ war_with = BUR
201
+ has_casus_belli = {
202
+ type = cb_independence_war
203
+ target = FROM
204
+ }
205
+ }
206
+ clr_country_flag = ned_no_stab_loss_on_independence_flag
207
+ add_stability = 1
208
+ }
209
+ if = {
210
+ limit = {
211
+ NOT = { has_global_flag = flavor_ita_7_fired }
212
+ FROM = {
213
+ is_emperor = yes
214
+ }
215
+ is_in_war = {
216
+ attacker_leader = ROOT
217
+ defender_leader = FROM
218
+ casus_belli = cb_ita_dismantle_hre
219
+ }
220
+ }
221
+ set_global_flag = flavor_ita_7_fired
222
+ every_elector = {
223
+ limit = {
224
+ NOT = {
225
+ OR = {
226
+ alliance_with = ROOT
227
+ is_subject_of = ROOT
228
+ }
229
+ }
230
+ NOT = { is_emperor = yes }
231
+ }
232
+ country_event = { id = flavor_ita.7 }
233
+ }
234
+ }
183
235
  }
184
236
  }
185
237
 
@@ -375,6 +427,20 @@ fabricate_claim = {
375
427
  break_marriage = {
376
428
  effect = {
377
429
  change_asha_vahishta = { value = -1 }
430
+ if = {
431
+ limit = {
432
+ has_country_flag = received_burgundian_marriage
433
+ FROM = { tag = BUR }
434
+ }
435
+ clr_country_flag = received_burgundian_marriage
436
+ }
437
+ if = {
438
+ limit = {
439
+ tag = BUR
440
+ FROM = { has_country_flag = received_burgundian_marriage }
441
+ }
442
+ FROM = { clr_country_flag = received_burgundian_marriage }
443
+ }
378
444
  }
379
445
  }
380
446
  takeondebt = {
@@ -385,11 +451,31 @@ takeondebt = {
385
451
  influence_nation = {
386
452
  effect = {
387
453
  change_asha_vahishta = { value = 2 }
454
+
455
+ if = {
456
+ limit = {
457
+ has_country_flag = GER_buff_influence_nation_flag
458
+ }
459
+ add_favors = {
460
+ who = FROM
461
+ amount = 5
462
+ }
463
+ }
388
464
  }
389
465
  }
390
466
  intervene_in_war = {
391
467
  effect = {
392
468
  change_asha_vahishta = { value = 50 }
469
+
470
+ if = {
471
+ limit = {
472
+ has_country_flag = GER_buff_great_power_interactions_flag
473
+ }
474
+ add_power_projection = {
475
+ type = GER_intervene_in_war_pp
476
+ amount = 15
477
+ }
478
+ }
393
479
  }
394
480
  }
395
481
 
@@ -488,7 +574,13 @@ integrationaction = {
488
574
  condition = {
489
575
  tooltip = INTEGRATETOOLOWDESC
490
576
  potential = {
491
- senior_union_with = FROM
577
+ OR = {
578
+ senior_union_with = FROM
579
+ FROM = {
580
+ is_subject_of = ROOT
581
+ is_subject_of_type = mongol_brother_realm
582
+ }
583
+ }
492
584
  }
493
585
  allow = {
494
586
  FROM = {
@@ -606,11 +698,16 @@ invite_to_trade_league = {
606
698
  potential = {
607
699
  }
608
700
  allow = {
609
- from = {
610
- home_trade_node = {
611
- trade_share = {
612
- country = root
613
- share = 1
701
+ if = {
702
+ limit = {
703
+ NOT = { has_country_flag = ven_easier_to_invite_trade_league_members_yes_flag }
704
+ }
705
+ from = {
706
+ home_trade_node = {
707
+ trade_share = {
708
+ country = root
709
+ share = 1
710
+ }
614
711
  }
615
712
  }
616
713
  }