Diff to HTML by rtfpessoa

Files changed (17) hide show
  1. events/CultureandReligionEvents.txt +5 -4
  2. events/FlavorFRA.txt +11 -2
  3. events/FlavorGEO.txt +32 -33
  4. events/FlavorPER.txt +49 -6
  5. events/FlavorSPA.txt +65 -22
  6. events/HolyRomanEmpire.txt +1 -0
  7. events/InvestmentEvents.txt +12 -0
  8. events/PersianInfluence.txt +3 -23
  9. events/ZoroastrianFlavor.txt +13 -2
  10. events/disaster_GeorgianCrisis.txt +12 -4
  11. events/disaster_court_and_country.txt +1 -0
  12. events/flavorBYZ.txt +7 -0
  13. events/flavorJAP.txt +10 -2
  14. events/flavorMAM.txt +10 -2
  15. events/flavorMNG.txt +19 -5
  16. events/flavorSON.txt +4 -4
  17. events/institutions.txt +10 -2
events/CultureandReligionEvents.txt CHANGED
@@ -3687,14 +3687,15 @@ country_event = {
3687
3687
  is_triggered_only = yes
3688
3688
 
3689
3689
  trigger = {
3690
+ government = monarchy
3691
+ NOT = { ruler_religion = ROOT }
3692
+ legitimacy = 90
3693
+ stability = 2
3690
3694
  NOT = { has_ruler_flag = faith_question }
3691
- government = monarchy
3692
- NOT = { ruler_religion = ROOT }
3693
- legitimacy = 90
3694
- stability = 2
3695
3695
  NOT = { is_incident_active = incident_spread_of_christianity }
3696
3696
  NOT = { is_incident_active = incident_ikko_shu }
3697
3697
  NOT = { is_incident_active = incident_neo_confucianism }
3698
+ NOT = { has_country_modifier = zoroastrian_interests }
3698
3699
  }
3699
3700
 
3700
3701
  mean_time_to_happen = {
events/FlavorFRA.txt CHANGED
@@ -2031,7 +2031,7 @@ country_event = { #The Habsburg Ring
2031
2031
  option = {
2032
2032
  ai_chance = { factor = 0 }
2033
2033
  name = flavor_fra.102.a
2034
- trigger = { hre_size = 1 }
2034
+ trigger = { hre_size = 1 ai = yes }
2035
2035
  add_country_modifier = {
2036
2036
  name = fra_charlemagne_legacy_modifier
2037
2037
  duration = 7300
@@ -2061,7 +2061,7 @@ country_event = { #The Habsburg Ring
2061
2061
  option = {
2062
2062
  name = flavor_fra.102.b
2063
2063
  ai_chance = { factor = 100 }
2064
- trigger = { is_emperor = no }
2064
+ trigger = { is_emperor = no ai = yes }
2065
2065
  add_country_modifier = {
2066
2066
  name = fra_war_east_modifier
2067
2067
  duration = 5475
@@ -2092,6 +2092,15 @@ country_event = { #The Habsburg Ring
2092
2092
  set_country_flag = fra_fufujoni_flag
2093
2093
  swap_non_generic_missions = yes
2094
2094
  }
2095
+
2096
+ option = {
2097
+ name = flavor_fra.102.e
2098
+ trigger = {
2099
+ hre_size = 1
2100
+ ai = no
2101
+ }
2102
+ enable_branching_mission_review_without_ai = { key = FRA_HRE }
2103
+ }
2095
2104
  }
2096
2105
 
2097
2106
  country_event = { #The Garden of France
events/FlavorGEO.txt CHANGED
@@ -18,13 +18,26 @@ country_event = {
18
18
  fire_only_once = yes
19
19
  is_triggered_only = yes
20
20
 
21
+ immediate = {
22
+ hidden_effect = {
23
+ add_legitimacy = -20
24
+ add_country_modifier = {
25
+ name = "geo_powerful_nobles"
26
+ duration = -1
27
+ desc = geo_modifier_nobles_disaster
28
+ }
29
+ }
30
+ }
31
+
21
32
  option = {
22
33
  name = flavor_geo.1.a
23
- add_legitimacy = -20
24
- add_country_modifier = {
25
- name = "geo_powerful_nobles"
26
- duration = -1
27
- desc = geo_modifier_nobles_disaster
34
+ tooltip = {
35
+ add_legitimacy = -20
36
+ add_country_modifier = {
37
+ name = "geo_powerful_nobles"
38
+ duration = -1
39
+ desc = geo_modifier_nobles_disaster
40
+ }
28
41
  }
29
42
  custom_tooltip = georgia_starting_event_tt
30
43
  }
@@ -46,23 +59,11 @@ country_event = {
46
59
  option = {
47
60
  name = flavor_geo.2.a
48
61
  if = {
49
- limit = {
50
- 151 = {
51
- NOT = {
52
- religion = ROOT
53
- }
54
- }
55
- }
56
- 151 = {
57
- change_religion = ROOT
58
- }
62
+ limit = { 151 = { NOT = { religion = ROOT } } }
63
+ 151 = { change_religion = ROOT }
59
64
  }
60
65
  if = {
61
- limit = {
62
- NOT = {
63
- government_rank = 3
64
- }
65
- }
66
+ limit = { NOT = { government_rank = 3 } }
66
67
  set_government_rank = 3
67
68
  }
68
69
  custom_tooltip = geo_move_culture_tt
@@ -74,22 +75,20 @@ country_event = {
74
75
  custom_tooltip = geo_constantinople_decision_tt
75
76
  set_country_flag = geo_move_capital_flag
76
77
  hidden_effect = {
77
- change_primary_culture = georgian_new
78
- set_heir_culture = georgian_new
79
- set_ruler_culture = georgian_new
80
- every_province = {
81
- limit = {
82
- culture = georgian
83
- }
84
- change_culture = georgian_new
78
+ if = {
79
+ limit = { accepted_culture = armenian }
80
+ set_country_flag = accepted_armenian
85
81
  }
86
- every_country = {
87
- limit = {
88
- primary_culture = georgian
89
- }
90
- change_primary_culture = georgian_new
82
+ update_entire_culture = {
83
+ culture = georgian
84
+ clear_previous_accepted_culture = yes
91
85
  }
92
86
  restore_greek_names = yes
87
+ if = {
88
+ limit = { has_country_flag = accepted_armenian }
89
+ clr_country_flag = accepted_armenian
90
+ add_accepted_culture = armenian
91
+ }
93
92
  }
94
93
  }
95
94
  }
events/FlavorPER.txt CHANGED
@@ -2259,6 +2259,10 @@ country_event = {
2259
2259
  has_country_modifier = zoroastrian_interests
2260
2260
  NOT = { has_country_flag = zoroastrian_study_event }
2261
2261
  NOT = { religion_group = zoroastrian_group }
2262
+ any_owned_province = {
2263
+ religion = root
2264
+ is_state = yes
2265
+ }
2262
2266
  }
2263
2267
  mean_time_to_happen = {
2264
2268
  months = 24
@@ -2266,15 +2270,26 @@ country_event = {
2266
2270
  immediate = {
2267
2271
  hidden_effect = {
2268
2272
  set_country_flag = zoroastrian_study_event
2273
+ random_owned_province = {
2274
+ limit = {
2275
+ religion = root
2276
+ is_state = yes
2277
+ }
2278
+ save_event_target_as = target_province
2279
+ }
2269
2280
  }
2270
2281
  }
2271
2282
  option = {
2272
2283
  name = flavor_per.44.a
2273
2284
  custom_tooltip = flavor_per.44.a.tt
2285
+ goto = target_province
2274
2286
  add_estate_loyalty = {
2275
2287
  estate = estate_church
2276
2288
  loyalty = -15
2277
2289
  }
2290
+ event_target:target_province = {
2291
+ spawn_country_religious_rebels = { size = 3 }
2292
+ }
2278
2293
  add_piety = -0.2
2279
2294
  set_country_flag = promoted_zoroastrian_studies
2280
2295
  ai_chance = {
@@ -2283,6 +2298,7 @@ country_event = {
2283
2298
  }
2284
2299
  option = {
2285
2300
  name = flavor_per.44.b
2301
+ add_legitimacy = -15
2286
2302
  add_piety = 0.1
2287
2303
  ai_chance = {
2288
2304
  factor = 0
@@ -3009,7 +3025,7 @@ country_event = {
3009
3025
  loyalty = -20
3010
3026
  }
3011
3027
  event_target:target_province = {
3012
- spawn_province_religious_rebels = { size = 2 }
3028
+ spawn_province_religious_rebels = { size = 4 }
3013
3029
  }
3014
3030
  add_piety = -0.2
3015
3031
  ai_chance = {
@@ -3027,7 +3043,7 @@ country_event = {
3027
3043
  loyalty = -10
3028
3044
  }
3029
3045
  event_target:target_province = {
3030
- spawn_province_religious_rebels = { size = 1 }
3046
+ spawn_province_religious_rebels = { size = 3 }
3031
3047
  }
3032
3048
  add_piety = -0.1
3033
3049
  ai_chance = {
@@ -3096,7 +3112,7 @@ country_event = {
3096
3112
  set_country_flag = hired_zoroastrian_prophet
3097
3113
  set_ruler_religion = zoroastrian
3098
3114
  event_target:target_province = {
3099
- spawn_province_religious_rebels = { size = 2 }
3115
+ spawn_province_religious_rebels = { size = 4 }
3100
3116
  }
3101
3117
  add_estate_loyalty = {
3102
3118
  estate = estate_church
@@ -3339,11 +3355,16 @@ country_event = {
3339
3355
  title = flavor_per.62.t
3340
3356
  desc = flavor_per.62.desc
3341
3357
  picture = RELIGIOUS_CONVERSION_eventPicture
3358
+ goto = target_province
3342
3359
  trigger = {
3343
3360
  has_country_modifier = zoroastrian_interests
3344
3361
  has_country_flag = zoroastrian_study_event
3345
3362
  NOT = { religion_group = zoroastrian_group }
3346
3363
  NOT = { has_country_flag = zoroastrian_court_event }
3364
+ any_owned_province = {
3365
+ religion = root
3366
+ controlled_by = root
3367
+ }
3347
3368
  }
3348
3369
  mean_time_to_happen = {
3349
3370
  months = 120
@@ -3354,6 +3375,13 @@ country_event = {
3354
3375
  }
3355
3376
  immediate = {
3356
3377
  hidden_effect = {
3378
+ random_owned_province = {
3379
+ limit = {
3380
+ religion = root
3381
+ controlled_by = root
3382
+ }
3383
+ save_event_target_as = target_province
3384
+ }
3357
3385
  set_country_flag = zoroastrian_court_event
3358
3386
  }
3359
3387
  }
@@ -3370,6 +3398,9 @@ country_event = {
3370
3398
  loyalty = -15
3371
3399
  }
3372
3400
  add_piety = -0.2
3401
+ event_target:target_province = {
3402
+ spawn_province_religious_rebels = { size = 3 }
3403
+ }
3373
3404
  set_country_flag = promoted_zoroastrian_studies
3374
3405
  ai_chance = {
3375
3406
  factor = 1
@@ -3386,6 +3417,9 @@ country_event = {
3386
3417
  estate = estate_church
3387
3418
  loyalty = 15
3388
3419
  }
3420
+ event_target:target_province = {
3421
+ spawn_rebels = { type = noble_rebels size = 3 }
3422
+ }
3389
3423
  add_piety = 0.1
3390
3424
  ai_chance = {
3391
3425
  factor = 0
@@ -3434,6 +3468,12 @@ country_event = {
3434
3468
  }
3435
3469
  save_event_target_as = target_province_3
3436
3470
  }
3471
+ random_owned_province = {
3472
+ limit = {
3473
+ is_state = yes
3474
+ }
3475
+ save_event_target_as = target_province_4
3476
+ }
3437
3477
  }
3438
3478
  }
3439
3479
  #Crush these revolutionaries
@@ -3447,13 +3487,16 @@ country_event = {
3447
3487
  loyalty = -100
3448
3488
  }
3449
3489
  event_target:target_province_1 = {
3450
- spawn_country_religious_rebels = { size = 3 }
3490
+ spawn_country_religious_rebels = { size = 5 }
3451
3491
  }
3452
3492
  event_target:target_province_2 = {
3453
- spawn_country_religious_rebels = { size = 2 }
3493
+ spawn_country_religious_rebels = { size = 3 }
3454
3494
  }
3455
3495
  event_target:target_province_3 = {
3456
- spawn_country_religious_rebels = { size = 2 }
3496
+ spawn_country_religious_rebels = { size = 3 }
3497
+ }
3498
+ event_target:target_province_4 = {
3499
+ spawn_country_religious_rebels = { size = 3 }
3457
3500
  }
3458
3501
  if = {
3459
3502
  limit = { has_country_flag = zoroastrian_nobility }
events/FlavorSPA.txt CHANGED
@@ -1651,25 +1651,43 @@ country_event = {
1651
1651
  has_idea_group = religious_ideas
1652
1652
  }
1653
1653
  }
1654
- if = {
1655
- limit = {
1656
- NOT = { has_completed_all_reforms_trigger = yes }
1657
- }
1658
- add_reform_progress_small_effect = yes
1659
- }
1660
1654
  add_country_modifier = {
1661
1655
  name = "valladolid_sepulveda_motherland"
1662
1656
  duration = 3650
1663
1657
  }
1664
- custom_tooltip = flavor_spa.2.a.tt
1665
- hidden_effect = {
1666
- every_subject_country = {
1667
- limit = {
1668
- is_colonial_nation_of = ROOT
1658
+ if = {
1659
+ limit = {
1660
+ NOT = { has_completed_all_reforms_trigger = yes }
1661
+ }
1662
+ add_reform_progress_small_effect = yes
1663
+ }
1664
+ if = {
1665
+ limit = {
1666
+ any_subject_country = {
1667
+ is_colonial_nation = yes
1669
1668
  }
1670
- add_country_modifier = {
1671
- name = "valladolid_sepulveda"
1672
- duration = 3650
1669
+ }
1670
+ custom_tooltip = every_colonial_subject_gains_tt
1671
+ tooltip = {
1672
+ random_subject_country = {
1673
+ limit = {
1674
+ is_colonial_nation_of = ROOT
1675
+ }
1676
+ add_country_modifier = {
1677
+ name = "valladolid_sepulveda"
1678
+ duration = 3650
1679
+ }
1680
+ }
1681
+ }
1682
+ hidden_effect = {
1683
+ every_subject_country = {
1684
+ limit = {
1685
+ is_colonial_nation_of = ROOT
1686
+ }
1687
+ add_country_modifier = {
1688
+ name = "valladolid_sepulveda"
1689
+ duration = 3650
1690
+ }
1673
1691
  }
1674
1692
  }
1675
1693
  }
@@ -1694,17 +1712,42 @@ country_event = {
1694
1712
  }
1695
1713
  add_reform_progress_small_effect = yes
1696
1714
  }
1697
- every_subject_country = {
1715
+ if = {
1698
1716
  limit = {
1699
- is_colonial_nation_of = ROOT
1717
+ any_subject_country = {
1718
+ is_colonial_nation = yes
1719
+ }
1700
1720
  }
1701
- add_country_modifier = {
1702
- name = "valladolid_las_casas"
1703
- duration = 3650
1721
+ custom_tooltip = every_colonial_subject_gains_tt
1722
+ tooltip = {
1723
+ random_subject_country = {
1724
+ limit = {
1725
+ is_colonial_nation_of = ROOT
1726
+ }
1727
+ add_country_modifier = {
1728
+ name = "valladolid_las_casas"
1729
+ duration = 3650
1730
+ }
1731
+ add_opinion = {
1732
+ who = ROOT
1733
+ modifier = "angered_colonial_land_owners"
1734
+ }
1735
+ }
1704
1736
  }
1705
- add_opinion = {
1706
- who = ROOT
1707
- modifier = "angered_colonial_land_owners"
1737
+ hidden_effect = {
1738
+ every_subject_country = {
1739
+ limit = {
1740
+ is_colonial_nation_of = ROOT
1741
+ }
1742
+ add_country_modifier = {
1743
+ name = "valladolid_las_casas"
1744
+ duration = 3650
1745
+ }
1746
+ add_opinion = {
1747
+ who = ROOT
1748
+ modifier = "angered_colonial_land_owners"
1749
+ }
1750
+ }
1708
1751
  }
1709
1752
  }
1710
1753
  }
events/HolyRomanEmpire.txt CHANGED
@@ -183,6 +183,7 @@ country_event = {
183
183
  trigger = {
184
184
  is_emperor = yes
185
185
  NOT = { has_country_flag = has_internal_election_first }
186
+ NOT = { has_country_flag = no_new_succession_crisis_if_pretender_rebels }
186
187
  }
187
188
 
188
189
  option = {
events/InvestmentEvents.txt CHANGED
@@ -38,6 +38,7 @@ country_event = {
38
38
  NOT = { has_province_modifier = sepoys_modifier }
39
39
  }
40
40
  }
41
+ goto = sepoy_province
41
42
 
42
43
  mean_time_to_happen = {
43
44
  days = 1
@@ -281,6 +282,7 @@ country_event = {
281
282
  }
282
283
  }
283
284
  }
285
+ goto = opium_province
284
286
 
285
287
  mean_time_to_happen = {
286
288
  days = 1
@@ -386,6 +388,8 @@ country_event = {
386
388
  has_country_modifier = honorable_company
387
389
  }
388
390
  }
391
+
392
+ goto = corrupt_factor_province
389
393
 
390
394
  mean_time_to_happen = {
391
395
  days = 1
@@ -471,6 +475,7 @@ country_event = {
471
475
  }
472
476
  NOT = { has_country_modifier = trade_company_rule }
473
477
  }
478
+ goto = company_rule_province
474
479
 
475
480
  mean_time_to_happen = {
476
481
  days = 1
@@ -545,6 +550,8 @@ country_event = {
545
550
  has_country_modifier = restricted_company_missionaries
546
551
  }
547
552
  }
553
+
554
+ goto = company_missionary_province
548
555
 
549
556
  mean_time_to_happen = {
550
557
  days = 1
@@ -668,6 +675,7 @@ country_event = {
668
675
  has_country_modifier = approprioated_currency
669
676
  }
670
677
  }
678
+ goto = company_mint_province
671
679
 
672
680
  mean_time_to_happen = {
673
681
  days = 1
@@ -813,6 +821,7 @@ country_event = {
813
821
  }
814
822
  }
815
823
  }
824
+ goto = company_settlement
816
825
 
817
826
  mean_time_to_happen = {
818
827
  days = 1
@@ -907,6 +916,7 @@ country_event = {
907
916
  NOT = { has_country_modifier = rogue_traders_prosecuted }
908
917
  NOT = { has_country_modifier = rogue_traders_cooldown }
909
918
  }
919
+ goto = monopoly_ignored_province
910
920
 
911
921
  mean_time_to_happen = {
912
922
  days = 1
@@ -1072,6 +1082,8 @@ country_event = {
1072
1082
  has_country_modifier = company_interference
1073
1083
  }
1074
1084
  }
1085
+
1086
+ goto = company_interference_province
1075
1087
 
1076
1088
  mean_time_to_happen = {
1077
1089
  days = 1
events/PersianInfluence.txt CHANGED
@@ -473,7 +473,6 @@ country_event = {
473
473
  1 = { change_art_quality = { amount = 1 } }
474
474
  1 = { }
475
475
  }
476
- change_art_progress = { amount = -2 }
477
476
  }
478
477
  ai_chance = {
479
478
  factor = 1
@@ -487,7 +486,6 @@ country_event = {
487
486
  1 = { change_art_quality = { amount = 1 } }
488
487
  2 = { }
489
488
  }
490
- change_art_progress = { amount = -1 }
491
489
  }
492
490
  ai_chance = {
493
491
  factor = 1
@@ -502,7 +500,7 @@ country_event = {
502
500
  }
503
501
  after = {
504
502
  hidden_effect = {
505
- change_art_progress = { amount = 2 }
503
+ change_art_progress = { amount = 1 }
506
504
  }
507
505
  }
508
506
  }
@@ -523,7 +521,7 @@ country_event = {
523
521
  name = promoting_art_events.5.a
524
522
  add_mil_power = -50
525
523
  hidden_effect = {
526
- change_art_progress = { amount = 2 }
524
+ change_art_progress = { amount = 1 }
527
525
  random_list = {
528
526
  1 = { change_art_quality = { amount = -2 } }
529
527
  1 = { change_art_quality = { amount = -1 } }
@@ -561,11 +559,6 @@ country_event = {
561
559
  factor = 1
562
560
  }
563
561
  }
564
- after = {
565
- hidden_effect = {
566
- change_art_progress = { amount = -1 }
567
- }
568
- }
569
562
  }
570
563
 
571
564
  #Inspriation from other cultures
@@ -602,10 +595,6 @@ country_event = {
602
595
  custom_tooltip = promoting_art_events.6.a.tt
603
596
  add_yearly_manpower = -0.25
604
597
  hidden_effect = {
605
- random_list = {
606
- 1 = { change_art_progress = { amount = 2 } }
607
- 1 = { change_art_progress = { amount = -2 } }
608
- }
609
598
  random_list = {
610
599
  1 = { change_art_quality = { amount = 2 } }
611
600
  1 = { change_art_quality = { amount = 1 } }
@@ -622,10 +611,6 @@ country_event = {
622
611
  name = promoting_art_events.6.b
623
612
  add_adm_power = -100
624
613
  hidden_effect = {
625
- random_list = {
626
- 1 = { change_art_progress = { amount = 1 } }
627
- 1 = { }
628
- }
629
614
  random_list = {
630
615
  1 = { change_art_quality = { amount = 1 } }
631
616
  1 = { }
@@ -640,11 +625,6 @@ country_event = {
640
625
  name = promoting_art_events.6.c
641
626
  add_prestige = -5
642
627
  hidden_effect = {
643
- random_list = {
644
- 1 = { change_art_progress = { amount = -2 } }
645
- 1 = { change_art_progress = { amount = 1 } }
646
- 1 = { }
647
- }
648
628
  random_list = {
649
629
  1 = { change_art_quality = { amount = -1 } }
650
630
  1 = { }
@@ -723,7 +703,7 @@ country_event = {
723
703
  add_prestige = -5
724
704
  hidden_effect = {
725
705
  change_art_quality = { amount = -2 }
726
- change_art_progress = { amount = -2 }
706
+ change_art_progress = { amount = -1 }
727
707
  }
728
708
  ai_chance = {
729
709
  factor = 1
events/ZoroastrianFlavor.txt CHANGED
@@ -20,10 +20,15 @@ country_event = {
20
20
  religion = zoroastrian
21
21
  culture = parsi
22
22
  }
23
+ not = { has_country_flag = had_parsi_event }
24
+ }
25
+ immediate = {
26
+ hidden_effect = {
27
+ set_country_flag = had_parsi_event
28
+ }
23
29
  }
24
-
25
30
  mean_time_to_happen = {
26
- months = 180
31
+ months = 60
27
32
  }
28
33
 
29
34
  option = {
@@ -35,9 +40,15 @@ country_event = {
35
40
  }
36
41
  add_legitimacy = -10
37
42
  add_republican_tradition = -5
43
+ ai_chance = {
44
+ factor = 1
45
+ }
38
46
  }
39
47
  option = {
40
48
  name = zoroastrian.1.b
41
49
  add_stability = -1
50
+ ai_chance = {
51
+ factor = 0
52
+ }
42
53
  }
43
54
  }
events/disaster_GeorgianCrisis.txt CHANGED
@@ -70,6 +70,7 @@ country_event = {
70
70
  picture = HORDE_ON_HORSEBACK_eventPicture
71
71
 
72
72
  fire_only_once = yes
73
+ is_triggered_only = yes
73
74
 
74
75
  trigger = {
75
76
  has_disaster = georgian_crisis
@@ -84,6 +85,10 @@ country_event = {
84
85
  }
85
86
  }
86
87
 
88
+ mean_time_to_happen = {
89
+ days = 1
90
+ }
91
+
87
92
  option = {
88
93
  name = "georgian_crisis.3.a"
89
94
  if = {
@@ -187,12 +192,11 @@ country_event = {
187
192
  id = georgian_crisis.4
188
193
  title = georgian_crisis.4.t
189
194
  desc = georgian_crisis.4.d
190
- picture = BAD_WITH_MONARCH_eventPicture
191
-
195
+ picture = BAD_WITH_MONARCH_eventPicture
192
196
  fire_only_once = yes
193
-
197
+ is_triggered_only = yes
194
198
  trigger = {
195
- has_disaster = georgian_crisis
199
+ is_free_or_tributary_trigger = yes
196
200
  OR = {
197
201
  AND = {
198
202
  owns = 422
@@ -209,6 +213,10 @@ country_event = {
209
213
  }
210
214
  }
211
215
 
216
+ mean_time_to_happen = {
217
+ days = 1
218
+ }
219
+
212
220
  option = {
213
221
  name = "georgian_crisis.4.a"
214
222
  if = {
events/disaster_court_and_country.txt CHANGED
@@ -61,6 +61,7 @@ country_event = {
61
61
  NOT = { has_province_flag = had_local_courts_refused }
62
62
  }
63
63
  }
64
+ goto = local_court_location
64
65
 
65
66
  mean_time_to_happen = {
66
67
  days = 1
events/flavorBYZ.txt CHANGED
@@ -2191,6 +2191,7 @@ country_event = {
2191
2191
  tag = TUR
2192
2192
  has_dlc = "King of Kings"
2193
2193
  is_year = 1450
2194
+ not = { is_year = 1460 } #After that Byz should be either dead, or has won against the Ottomans already
2194
2195
  151 = {
2195
2196
  owned_by = BYZ
2196
2197
  }
@@ -2199,6 +2200,12 @@ country_event = {
2199
2200
  }
2200
2201
  BYZ = {
2201
2202
  NOT = { war_with = ROOT }
2203
+ NOT = {
2204
+ has_won_war_against = {
2205
+ who = PREV
2206
+ max_years_since = 100
2207
+ }
2208
+ }
2202
2209
  }
2203
2210
  }
2204
2211
 
events/flavorJAP.txt CHANGED
@@ -3610,8 +3610,9 @@ country_event = {
3610
3610
 
3611
3611
  option = {
3612
3612
  name = flavor_jap.66.a
3613
-
3613
+ trigger = { ai = yes }
3614
3614
  add_army_tradition = 10
3615
+ set_country_flag = jap_mushashi_5_books_flag
3615
3616
  add_country_modifier = {
3616
3617
  name = jap_mushashi_5_books_modifier
3617
3618
  duration = -1
@@ -3621,14 +3622,21 @@ country_event = {
3621
3622
 
3622
3623
  option = {
3623
3624
  name = flavor_jap.66.b
3624
-
3625
+ trigger = { ai = yes }
3625
3626
  add_navy_tradition = 20
3627
+ set_country_flag = jap_domineering_naval_focus_flag
3626
3628
  add_country_modifier = {
3627
3629
  name = jap_domineering_naval_focus_modifier
3628
3630
  duration = -1
3629
3631
  }
3630
3632
  swap_non_generic_missions = yes
3631
3633
  }
3634
+
3635
+ option = {
3636
+ name = flavor_jap.66.c
3637
+ trigger = { ai = no }
3638
+ enable_branching_mission_review_without_ai = { key = JAP }
3639
+ }
3632
3640
  }
3633
3641
 
3634
3642
  # Of Spice and Herbs
events/flavorMAM.txt CHANGED
@@ -1085,8 +1085,16 @@ country_event = {
1085
1085
  set_province_flag = chose_mam_mission_flag
1086
1086
  }
1087
1087
 
1088
- custom_tooltip = mam_enable_kashifs_local_organizations_tt
1089
- set_country_flag = mam_enable_kashifs_local_organizations_flag
1088
+ if = {
1089
+ limit = { has_dlc = "Golden Century" }
1090
+ custom_tooltip = mam_enable_kashifs_local_organizations_tt
1091
+ set_country_flag = mam_enable_kashifs_local_organizations_flag
1092
+ }
1093
+ else = {
1094
+ add_adm_power = 200
1095
+ add_corruption = -2
1096
+ change_government_reform_progress = 150
1097
+ }
1090
1098
  }
1091
1099
 
1092
1100
  option = {
events/flavorMNG.txt CHANGED
@@ -3512,20 +3512,24 @@ country_event = { #The Hijin Policy of the Empire of China
3512
3512
  id = flavor_mng.55
3513
3513
  title = flavor_mng.55.t
3514
3514
  desc = flavor_mng.55.d
3515
- picture = HARBOUR_eventPicture
3516
- fire_only_once = yes
3517
-
3515
+ picture = HARBOUR_eventPicture
3518
3516
  trigger = {
3519
3517
  is_emperor_of_china = yes
3520
3518
  has_dlc = "Domination"
3521
3519
  tag = MNG
3520
+ not = { has_country_flag = mng_had_branching_mission_event }
3521
+ }
3522
+ immediate = {
3523
+ hidden_effect = { set_country_flag = mng_had_branching_mission_event }
3522
3524
  }
3523
3525
 
3524
3526
  mean_time_to_happen = { months = 24 }
3525
3527
 
3526
3528
  option = {
3527
3529
  name = flavor_mng.55.a
3528
-
3530
+ trigger = {
3531
+ ai = yes
3532
+ }
3529
3533
  set_country_flag = mng_dynamic_1
3530
3534
  swap_non_generic_missions = yes
3531
3535
  add_country_modifier = {
@@ -3538,7 +3542,9 @@ country_event = { #The Hijin Policy of the Empire of China
3538
3542
 
3539
3543
  option = {
3540
3544
  name = flavor_mng.55.b
3541
-
3545
+ trigger = {
3546
+ ai = yes
3547
+ }
3542
3548
  set_country_flag = mng_dynamic_2
3543
3549
  swap_non_generic_missions = yes
3544
3550
  add_country_modifier = {
@@ -3548,6 +3554,14 @@ country_event = { #The Hijin Policy of the Empire of China
3548
3554
  }
3549
3555
  custom_tooltip = mng_open_trade_tt
3550
3556
  }
3557
+
3558
+ option = {
3559
+ name = flavor_mng.55.c
3560
+ trigger = {
3561
+ ai = no
3562
+ }
3563
+ enable_branching_mission_review_without_ai = { key = MNG }
3564
+ }
3551
3565
  }
3552
3566
 
3553
3567
 
events/flavorSON.txt CHANGED
@@ -230,8 +230,8 @@ country_event = {
230
230
  name = flavor_son.5.a
231
231
  custom_tooltip = flavor_son.5.a.tt
232
232
  hidden_effect = {
233
- set_country_flag = son_islamtic_focus
234
- clr_country_flag = son_tolderance_focus
233
+ set_country_flag = son_islamic_focus
234
+ clr_country_flag = son_tolerance_focus
235
235
  }
236
236
  add_estate_loyalty = {
237
237
  estate = estate_church
@@ -267,8 +267,8 @@ country_event = {
267
267
  name = flavor_son.5.b
268
268
  custom_tooltip = flavor_son.5.b.tt
269
269
  hidden_effect = {
270
- set_country_flag = son_tolderance_focus
271
- clr_country_flag = son_islamtic_focus
270
+ set_country_flag = son_tolerance_focus
271
+ clr_country_flag = son_islamic_focus
272
272
  }
273
273
  add_estate_loyalty = {
274
274
  estate = estate_church
events/institutions.txt CHANGED
@@ -2363,7 +2363,11 @@ country_event = {
2363
2363
  NOT = { has_institution = printing_press }
2364
2364
  any_owned_province = {
2365
2365
  printing_press = 100
2366
+ NOT = { has_province_modifier = hostile_publications }
2367
+ NOT = { has_province_modifier = state_censorship }
2366
2368
  any_neighbor_province = {
2369
+ NOT = { has_province_modifier = hostile_publications }
2370
+ NOT = { has_province_modifier = state_censorship }
2367
2371
  owned_by = ROOT
2368
2372
  area = PREV
2369
2373
  NOT = { printing_press = 100 }
@@ -2383,7 +2387,11 @@ country_event = {
2383
2387
  immediate = {
2384
2388
  hidden_effect = {
2385
2389
  random_owned_province = {
2386
- limit = { printing_press = 100 }
2390
+ limit = {
2391
+ NOT = { has_province_modifier = hostile_publications }
2392
+ NOT = { has_province_modifier = state_censorship }
2393
+ printing_press = 100
2394
+ }
2387
2395
  save_event_target_as = institution_province
2388
2396
  }
2389
2397
  }
@@ -2420,7 +2428,7 @@ country_event = {
2420
2428
  area = {
2421
2429
  limit = {
2422
2430
  owned_by = ROOT
2423
- NOT = { printing_press = 100 }
2431
+ #NOT = { printing_press = 100 }
2424
2432
  }
2425
2433
  add_institution_embracement = {
2426
2434
  which = printing_press