Diff to HTML by rtfpessoa

Files changed (59) hide show
  1. common/cultures/00_cultures.txt +1 -1
  2. common/estate_privileges/00_privileges.txt +12 -5
  3. common/estates/001_brahmins.txt +4 -4
  4. common/estates/0022_rajput.txt +4 -4
  5. common/estates/002_maratha.txt +4 -4
  6. common/estates/003_vaisyas.txt +4 -4
  7. common/estates/01_church.txt +4 -4
  8. common/estates/02_nobility.txt +4 -4
  9. common/estates/03_burghers.txt +4 -4
  10. common/estates/04_cossacks.txt +4 -4
  11. common/estates/05_nomadic_tribes.txt +11 -6
  12. common/estates/06_dhimmi.txt +4 -4
  13. common/estates/07_jains.txt +4 -4
  14. common/event_modifiers/00_event_modifiers.txt +1 -1
  15. common/event_modifiers/01_mission_modifiers.txt +1 -1
  16. common/event_modifiers/02_test.txt +3 -0
  17. common/government_reforms/01_government_reforms_monarchies.txt +42 -9
  18. common/government_reforms/02_government_reforms_republics.txt +58 -6
  19. common/government_reforms/03_government_reforms_theocracies.txt +3 -2
  20. common/government_reforms/05_government_reforms_natives.txt +13 -5
  21. common/government_reforms/06_government_reforms_common.txt +41 -8
  22. common/great_projects/00_great_projects.txt +3 -3
  23. common/great_projects/01_monuments.txt +3 -3
  24. common/ideas/00_basic_ideas.txt +4 -3
  25. common/ideas/00_country_ideas.txt +2 -1
  26. common/mercenary_companies/00_mercenaries.txt +2 -0
  27. common/province_triggered_modifiers/00_modifiers.txt +1 -2
  28. common/religious_conversions/00_religious_conversions.txt +5 -17
  29. common/revolution/00_revolution.txt +1 -1
  30. common/scripted_effects/00_scripted_effects.txt +51 -1
  31. common/scripted_effects/01_scripted_effects_for_advisors.txt +77 -0
  32. common/scripted_triggers/00_scripted_triggers.txt +106 -0
  33. common/static_modifiers/00_static_modifiers.txt +1 -1
  34. events/ArmyProfessionalism.txt +3 -3
  35. events/EstatePrivilegesAndAgendasEvents.txt +4 -4
  36. events/FlavorSWE.txt +39 -4
  37. events/Norse.txt +1 -1
  38. events/RandomEvents.txt +1 -0
  39. events/disaster_PeasantsWar.txt +24 -9
  40. events/disaster_ming_crisis.txt +26 -24
  41. events/flavorDAN.txt +12 -14
  42. events/flavorHSA.txt +1 -1
  43. events/flavorINC.txt +8 -6
  44. events/flavorLIV.txt +18 -6
  45. events/flavorPAP.txt +4 -1
  46. events/flavorPOL.txt +30 -8
  47. events/flavorRIG.txt +2 -2
  48. events/ideagroups.txt +51 -26
  49. missions/99_Hansa_Missions.txt +7 -1
  50. missions/AFR_Ethiopian_Missions.txt +1 -0
  51. missions/Byzantine_Missions.txt +13 -1
  52. missions/DH_Taungu_Missions.txt +7 -7
  53. missions/Lithuanian Missions.txt +4 -3
  54. missions/New_World_Missions.txt +1 -1
  55. missions/SCA_Danish_Missions.txt +1 -1
  56. missions/SCA_Polish_Missions.txt +22 -18
  57. missions/SCA_Swedish_Missions.txt +43 -24
  58. missions/SCA_Teutonic_Missions.txt +2 -2
  59. missions/Timurid_Mughal_Missions.txt +1 -1
common/cultures/00_cultures.txt CHANGED
@@ -9547,4 +9547,4 @@ lost_cultures_group = {
9547
9547
  "Ridala" "Saaremaa" "Vaiga" "Turaida"
9548
9548
  }
9549
9549
  }
9550
- }
9550
+ }
common/estate_privileges/00_privileges.txt CHANGED
@@ -2128,12 +2128,12 @@ estate_nobles_officer_corp = {
2128
2128
  army_tradition = 30
2129
2129
  }
2130
2130
  on_granted = {
2131
- add_army_tradition = -15
2131
+ add_army_tradition = -5
2132
2132
  }
2133
2133
  penalties = {
2134
2134
  }
2135
2135
  benefits = {
2136
- general_cost = -0.25
2136
+ general_cost = -0.1
2137
2137
  army_tradition_decay = -0.005
2138
2138
  }
2139
2139
  ai_will_do = {
@@ -2156,6 +2156,12 @@ estate_nobles_levies = {
2156
2156
  }
2157
2157
  NOT = { has_estate_privilege = estate_maratha_levies }
2158
2158
  }
2159
+ if = {
2160
+ limit = {
2161
+ has_estate = estate_maratha
2162
+ }
2163
+ NOT = { has_estate_privilege = estate_maratha_levies_for_muslims }
2164
+ }
2159
2165
  }
2160
2166
  modifier_by_land_ownership = {
2161
2167
  global_tax_modifier = -0.10
@@ -3525,12 +3531,12 @@ estate_nomadic_tribes_guaranteed_leadgership_in_host = {
3525
3531
  army_tradition = 30
3526
3532
  }
3527
3533
  on_granted = {
3528
- add_army_tradition = -15
3534
+ add_army_tradition = -5
3529
3535
  }
3530
3536
  penalties = {
3531
3537
  }
3532
3538
  benefits = {
3533
- general_cost = -0.25
3539
+ general_cost = -0.1
3534
3540
  army_tradition_decay = -0.005
3535
3541
  }
3536
3542
  ai_will_do = {
@@ -4090,6 +4096,7 @@ estate_maratha_levies = {
4090
4096
  }
4091
4097
  NOT = { has_estate_privilege = estate_nobles_levies }
4092
4098
  }
4099
+ NOT = { has_estate_privilege = estate_maratha_levies_for_muslims }
4093
4100
  }
4094
4101
  modifier_by_land_ownership = {
4095
4102
  global_tax_modifier = -0.10
@@ -8805,7 +8812,7 @@ estate_church_brahmins_at_court = {
8805
8812
  on_granted_province = {
8806
8813
  if = {
8807
8814
  limit = {
8808
- religion = hinduism
8815
+ religion_group = dharmic
8809
8816
  }
8810
8817
  add_province_modifier = {
8811
8818
  name = estate_brahmins_guaranteed_autonomy_mod
common/estates/001_brahmins.txt CHANGED
@@ -5,11 +5,11 @@ estate_brahmins = {
5
5
  #This replaces Church Estate for Dharmic Group and replaces Dhimmi Estate for Muslim Group.
6
6
  trigger = {
7
7
  has_dlc = "Dharma"
8
- NOT = { has_government_attribute = disables_brahmins }
9
- NOT = { has_country_flag = disables_brahmins_flag }
8
+ NOT = { has_government_attribute = disables_estate_brahmins }
9
+ NOT = { has_country_flag = disables_estate_brahmins_flag }
10
10
  OR = {
11
- has_government_attribute = enables_brahmins
12
- has_country_flag = enables_brahmins_flag
11
+ has_government_attribute = enables_estate_brahmins
12
+ has_country_flag = enables_estate_brahmins_flag
13
13
  AND = {
14
14
  OR = {
15
15
  AND = {
common/estates/0022_rajput.txt CHANGED
@@ -6,11 +6,11 @@ estate_rajput = {
6
6
  # If true, country will get estate
7
7
  trigger = {
8
8
  has_dlc = "Dharma"
9
- NOT = { has_government_attribute = disables_rajput }
10
- NOT = { has_country_flag = disables_rajput_flag }
9
+ NOT = { has_government_attribute = disables_estate_rajput }
10
+ NOT = { has_country_flag = disables_estate_rajput_flag }
11
11
  OR = {
12
- has_government_attribute = enables_rajput
13
- has_country_flag = enables_rajput_flag
12
+ has_government_attribute = enables_estate_rajput
13
+ has_country_flag = enables_estate_rajput_flag
14
14
  AND = {
15
15
  technology_group = indian
16
16
  OR = {
common/estates/002_maratha.txt CHANGED
@@ -6,11 +6,11 @@ estate_maratha = {
6
6
  # If true, country will get estate
7
7
  trigger = {
8
8
  has_dlc = "Dharma"
9
- NOT = { has_government_attribute = disables_maratha }
10
- NOT = { has_country_flag = disables_maratha_flag }
9
+ NOT = { has_government_attribute = disables_estate_maratha }
10
+ NOT = { has_country_flag = disables_estate_maratha_flag }
11
11
  OR = {
12
- has_government_attribute = enables_maratha
13
- has_country_flag = enables_maratha_flag
12
+ has_government_attribute = enables_estate_maratha
13
+ has_country_flag = enables_estate_maratha_flag
14
14
  AND = {
15
15
  OR = {
16
16
  culture_group = western_aryan
common/estates/003_vaisyas.txt CHANGED
@@ -5,11 +5,11 @@ estate_vaisyas = {
5
5
  #Replaces Burghers
6
6
  trigger = {
7
7
  has_dlc = "Dharma"
8
- NOT = { has_government_attribute = disables_vaisyas }
9
- NOT = { has_country_flag = disables_vaisyas_flag }
8
+ NOT = { has_government_attribute = disables_estate_vaisyas }
9
+ NOT = { has_country_flag = disables_estate_vaisyas_flag }
10
10
  OR = {
11
- has_government_attribute = enables_vaisyas
12
- has_country_flag = enables_vaisyas_flag
11
+ has_government_attribute = enables_estate_vaisyas
12
+ has_country_flag = enables_estate_vaisyas_flag
13
13
  AND = {
14
14
  technology_group = indian
15
15
  religion = hinduism
common/estates/01_church.txt CHANGED
@@ -3,8 +3,8 @@ estate_church = {
3
3
 
4
4
  # If true, country will get estate
5
5
  trigger = {
6
- NOT = { has_government_attribute = disables_clergy }
7
- NOT = { has_country_flag = disables_clergy_flag }
6
+ NOT = { has_government_attribute = disables_estate_church }
7
+ NOT = { has_country_flag = disables_estate_church_flag }
8
8
  if = {
9
9
  limit = {
10
10
  religion_group = dharmic
@@ -12,8 +12,8 @@ estate_church = {
12
12
  NOT = { has_estate = estate_brahmins }
13
13
  }
14
14
  OR = {
15
- has_government_attribute = enables_clergy
16
- has_country_flag = enables_clergy_flag
15
+ has_government_attribute = enables_estate_church
16
+ has_country_flag = enables_estate_church_flag
17
17
  AND = {
18
18
  NOT = { has_government_attribute = is_pirate_republic_reform }
19
19
  NOT = { has_reform = cossacks_reform }
common/estates/02_nobility.txt CHANGED
@@ -6,11 +6,11 @@ estate_nobles = {
6
6
  #NOT = { has_government_attribute = is_merchant_republic }
7
7
  #NOT = { has_reform = veche_republic }
8
8
  #NOT = { has_reform = trading_city }
9
- NOT = { has_government_attribute = disables_nobility }
10
- NOT = { has_country_flag = disables_nobility_flag }
9
+ NOT = { has_government_attribute = disables_estate_nobles }
10
+ NOT = { has_country_flag = disables_estate_nobles_flag }
11
11
  OR = {
12
- has_government_attribute = enables_nobility
13
- has_country_flag = enables_nobility_flag
12
+ has_government_attribute = enables_estate_nobles
13
+ has_country_flag = enables_estate_nobles_flag
14
14
  AND = {
15
15
  NOT = { has_government_attribute = is_pirate_republic_reform }
16
16
  NOT = { has_reform = cossacks_reform }
common/estates/03_burghers.txt CHANGED
@@ -3,11 +3,11 @@ estate_burghers = {
3
3
 
4
4
  # If true, country will get estate
5
5
  trigger = {
6
- NOT = { has_government_attribute = disables_burghers }
7
- NOT = { has_country_flag = disables_burghers_flag }
6
+ NOT = { has_government_attribute = disables_estate_burghers }
7
+ NOT = { has_country_flag = disables_estate_burghers_flag }
8
8
  OR = {
9
- has_government_attribute = enables_burghers
10
- has_country_flag = enables_burghers_flag
9
+ has_government_attribute = enables_estate_burghers
10
+ has_country_flag = enables_estate_burghers_flag
11
11
  AND = {
12
12
  NOT = { has_government_attribute = is_pirate_republic_reform }
13
13
  NOT = { is_revolutionary_republic_trigger = yes }
common/estates/04_cossacks.txt CHANGED
@@ -38,11 +38,11 @@ estate_cossacks = {
38
38
 
39
39
  trigger = {
40
40
  has_dlc = "The Cossacks"
41
- NOT = { has_government_attribute = disables_cossacks }
42
- NOT = { has_country_flag = disables_cossacks_flag }
41
+ NOT = { has_government_attribute = disables_estate_cossacks }
42
+ NOT = { has_country_flag = disables_estate_cossacks_flag }
43
43
  OR = {
44
- has_government_attribute = enables_cossacks
45
- has_country_flag = enables_cossacks_flag
44
+ has_government_attribute = enables_estate_cossacks
45
+ has_country_flag = enables_estate_cossacks_flag
46
46
  AND = {
47
47
  OR = {
48
48
  has_unlocked_estate = { estate = estate_cossacks }
common/estates/05_nomadic_tribes.txt CHANGED
@@ -4,21 +4,26 @@ estate_nomadic_tribes = {
4
4
  # If true, country will get estate
5
5
  trigger = {
6
6
  has_dlc = "The Cossacks"
7
- NOT = { has_government_attribute = disables_nomadic_tribes }
8
- NOT = { has_country_flag = disables_nomadic_tribes_flag }
7
+ NOT = { has_government_attribute = disables_estate_nomadic_tribes }
8
+ NOT = { has_country_flag = disables_estate_nomadic_tribes_flag }
9
9
  OR = {
10
10
  has_country_modifier = enable_estate_nomadic_tribes_modifier
11
- has_government_attribute = enables_nomadic_tribes
12
- has_country_flag = enables_nomadic_tribes_flag
11
+ has_government_attribute = enables_estate_nomadic_tribes
12
+ has_country_flag = enables_estate_nomadic_tribes_flag
13
13
  AND = {
14
+ OR = {
15
+ AND = {
16
+ is_nomad = yes
17
+ is_colonial_nation = no
18
+ }
19
+ has_unlocked_estate = { estate = estate_nomadic_tribes }
20
+ }
14
21
  NOT = { has_government_attribute = is_merchant_republic }
15
22
  NOT = { government = native }
16
23
  NOT = { has_reform = siberian_tribe }
17
24
  NOT = { has_reform = veche_republic }
18
25
  NOT = { has_government_attribute = is_pirate_republic_reform }
19
26
  NOT = { has_reform = cossacks_reform }
20
- is_nomad = yes
21
- is_colonial_nation = no
22
27
  NOT = { has_reform = celestial_empire }
23
28
  NOT = { has_reform = revolutionary_empire_reform }
24
29
  }
common/estates/06_dhimmi.txt CHANGED
@@ -17,11 +17,11 @@ estate_dhimmi = {
17
17
  # If true, country will get estate
18
18
  trigger = {
19
19
  has_dlc = "The Cossacks"
20
- NOT = { has_government_attribute = disables_dhimmi }
21
- NOT = { has_country_flag = disables_dhimmi_flag }
20
+ NOT = { has_government_attribute = disables_estate_dhimmi }
21
+ NOT = { has_country_flag = disables_estate_dhimmi_flag }
22
22
  OR = {
23
- has_government_attribute = enables_dhimmi
24
- has_country_flag = enables_dhimmi_flag
23
+ has_government_attribute = enables_estate_dhimmi
24
+ has_country_flag = enables_estate_dhimmi_flag
25
25
  AND = {
26
26
  OR = {
27
27
  NOT = { has_estate = estate_brahmins }
common/estates/07_jains.txt CHANGED
@@ -5,11 +5,11 @@ estate_jains = {
5
5
 
6
6
  trigger = {
7
7
  has_dlc = "Dharma"
8
- NOT = { has_government_attribute = disables_jains }
9
- NOT = { has_country_flag = disables_jains_flag }
8
+ NOT = { has_government_attribute = disables_estate_jains }
9
+ NOT = { has_country_flag = disables_estate_jains_flag }
10
10
  OR = {
11
- has_government_attribute = enables_jains
12
- has_country_flag = enables_jains_flag
11
+ has_government_attribute = enables_estate_jains
12
+ has_country_flag = enables_estate_jains_flag
13
13
  AND = {
14
14
  technology_group = indian
15
15
  #NOT = { has_government_attribute = is_merchant_republic }
common/event_modifiers/00_event_modifiers.txt CHANGED
@@ -11713,7 +11713,7 @@ its_not_gold = {
11713
11713
  }
11714
11714
 
11715
11715
  the_rule_of_god = {
11716
- land_morale = 0.25
11716
+ land_morale = 0.05
11717
11717
  discipline = 0.05
11718
11718
  }
11719
11719
 
common/event_modifiers/01_mission_modifiers.txt CHANGED
@@ -6302,7 +6302,7 @@ son_modern_government = { #Permanent
6302
6302
  #Country modifier
6303
6303
  son_embrace_legalism = {
6304
6304
  church_loyalty_modifier = 0.25
6305
- monthly_piety = 0.01
6305
+ monthly_piety = 0.0025
6306
6306
  }
6307
6307
 
6308
6308
  #Country modifier
common/event_modifiers/02_test.txt ADDED
@@ -0,0 +1,3 @@
1
+ no_troops = {
2
+ capped_by_forcelimit = yes
3
+ }
common/government_reforms/01_government_reforms_monarchies.txt CHANGED
@@ -506,6 +506,7 @@ kalmar_union = {
506
506
  icon = "kalmar_union"
507
507
  allow_normal_conversion = no
508
508
  potential = {
509
+ has_dlc = "Lions of the North"
509
510
  has_reform = kalmar_union
510
511
  }
511
512
  trigger = {
@@ -521,6 +522,16 @@ kalmar_union = {
521
522
  advisor_pool = 1
522
523
  nobles_influence_modifier = 0.15
523
524
  }
525
+ removed_effect = {
526
+ hidden_effect = {
527
+ if = {
528
+ limit = {
529
+ NOT = { has_dlc = "Lions of the North" }
530
+ }
531
+ add_government_reform = feudalism_reform
532
+ }
533
+ }
534
+ }
524
535
 
525
536
  custom_attributes = {
526
537
  locked_government_type = yes
@@ -711,6 +722,7 @@ prussian_monarchy = {
711
722
  have_had_reform = prussian_monarchy
712
723
  have_had_reform = prussian_republic_reform
713
724
  have_had_reform = prussian_theocratic_reform
725
+ was_tag = TEU
714
726
  }
715
727
  AND = {
716
728
  is_playing_custom_nation = yes
@@ -1228,7 +1240,6 @@ mandala_reform = {
1228
1240
  modifiers = {
1229
1241
  vassal_income = 0.15
1230
1242
  vassal_forcelimit_bonus = 1
1231
- governing_capacity_modifier = -0.33
1232
1243
  }
1233
1244
  free_concentrate_development = yes
1234
1245
  }
@@ -2227,7 +2238,7 @@ livonian_constitutional_monarchy = {
2227
2238
  allow = { has_dlc = "Common Sense" }
2228
2239
  has_parliament = yes
2229
2240
  custom_attributes = {
2230
- disables_nobility = yes
2241
+ disables_estate_nobles = yes
2231
2242
  blocked_call_diet = yes
2232
2243
  }
2233
2244
  }
@@ -2868,6 +2879,16 @@ legion_of_honor_reform = {
2868
2879
  potential = {
2869
2880
  is_revolutionary = yes
2870
2881
  }
2882
+ trigger = {
2883
+ if = {
2884
+ limit = {
2885
+ has_government_attribute = enables_estate_nobles
2886
+ }
2887
+ can_swap_out_of_estate_granting_reform = {
2888
+ estate = estate_nobles
2889
+ }
2890
+ }
2891
+ }
2871
2892
  modifiers = {
2872
2893
  advisor_cost = -0.1
2873
2894
  no_stability_loss_on_monarch_death = yes
@@ -2893,7 +2914,7 @@ imperial_nobility_reform = {
2893
2914
  army_tradition = 0.25
2894
2915
  }
2895
2916
  custom_attributes = {
2896
- enables_nobility = yes
2917
+ enables_estate_nobles = yes
2897
2918
  seizing_land_no_rebels_from_estate_nobles = yes
2898
2919
  }
2899
2920
  ai = {
@@ -3334,7 +3355,7 @@ restoration_of_clergy_reform = {
3334
3355
  }
3335
3356
  }
3336
3357
  custom_attributes = {
3337
- enables_clergy = yes
3358
+ enables_estate_church = yes
3338
3359
  }
3339
3360
  ai = {
3340
3361
  factor = 2.5
@@ -3537,7 +3558,7 @@ dyanstic_administration_reform = {
3537
3558
  }
3538
3559
  }
3539
3560
  modifiers = {
3540
- yearly_corruption = 0.15
3561
+ yearly_corruption = 0.2
3541
3562
  all_estate_influence_modifier = -0.1
3542
3563
  monarch_admin_power = 1
3543
3564
  advisor_pool = 1
@@ -3648,12 +3669,18 @@ legislative_sejm = {
3648
3669
  allow_normal_conversion = yes
3649
3670
 
3650
3671
  potential = {
3651
- has_reform = elective_monarchy
3672
+ OR = {
3673
+ has_reform = polish_elective_monarchy
3674
+ has_reform = elective_monarchy
3675
+ }
3652
3676
  has_dlc = "Res Publica"
3653
3677
  }
3654
3678
 
3655
3679
  trigger = {
3656
- has_reform = elective_monarchy
3680
+ OR = {
3681
+ has_reform = polish_elective_monarchy
3682
+ has_reform = elective_monarchy
3683
+ }
3657
3684
  }
3658
3685
 
3659
3686
  modifiers = {
@@ -3672,12 +3699,18 @@ integrated_sejmiks = {
3672
3699
  allow_normal_conversion = yes
3673
3700
 
3674
3701
  potential = {
3675
- has_reform = elective_monarchy
3702
+ OR = {
3703
+ has_reform = polish_elective_monarchy
3704
+ has_reform = elective_monarchy
3705
+ }
3676
3706
  has_dlc = "Res Publica"
3677
3707
  }
3678
3708
 
3679
3709
  trigger = {
3680
- has_reform = elective_monarchy
3710
+ OR = {
3711
+ has_reform = polish_elective_monarchy
3712
+ has_reform = elective_monarchy
3713
+ }
3681
3714
  }
3682
3715
 
3683
3716
  modifiers = {
common/government_reforms/02_government_reforms_republics.txt CHANGED
@@ -100,7 +100,7 @@ protectorate_parliament_reform = {
100
100
  has_parliament = yes
101
101
  custom_attributes = {
102
102
  blocked_call_diet = yes
103
- disables_nobility = yes
103
+ disables_estate_nobles = yes
104
104
  }
105
105
  }
106
106
  has_term_election = no
@@ -127,6 +127,7 @@ prussian_republic_reform = {
127
127
  have_had_reform = prussian_monarchy
128
128
  have_had_reform = prussian_republic_reform
129
129
  have_had_reform = prussian_theocratic_reform
130
+ was_tag = TEU
130
131
  }
131
132
  }
132
133
  AND = {
@@ -2158,7 +2159,7 @@ establish_religious_institution_for_pirates_reform = {
2158
2159
  max_absolutism = -15
2159
2160
  }
2160
2161
  custom_attributes = {
2161
- enables_clergy = yes
2162
+ enables_estate_church = yes
2162
2163
  }
2163
2164
  effect = {
2164
2165
  change_estate_land_share = {
@@ -2177,6 +2178,16 @@ crew_before_faith_reform = {
2177
2178
  potential = {
2178
2179
  has_government_attribute = is_pirate_republic_reform
2179
2180
  }
2181
+ trigger = {
2182
+ if = {
2183
+ limit = {
2184
+ has_government_attribute = enables_estate_church
2185
+ }
2186
+ can_swap_out_of_estate_granting_reform = {
2187
+ estate = estate_church
2188
+ }
2189
+ }
2190
+ }
2180
2191
  modifiers = {
2181
2192
  pr_buccaneers_influence = 0.1
2182
2193
  war_exhaustion = -0.1
@@ -2192,6 +2203,16 @@ respect_for_the_sea_reform = {
2192
2203
  potential = {
2193
2204
  has_government_attribute = is_pirate_republic_reform
2194
2205
  }
2206
+ trigger = {
2207
+ if = {
2208
+ limit = {
2209
+ has_government_attribute = enables_estate_church
2210
+ }
2211
+ can_swap_out_of_estate_granting_reform = {
2212
+ estate = estate_church
2213
+ }
2214
+ }
2215
+ }
2195
2216
  modifiers = {
2196
2217
  global_unrest = -1
2197
2218
  navy_tradition = 0.5
@@ -2208,6 +2229,16 @@ relgious_freedom_reform = {
2208
2229
  potential = {
2209
2230
  has_government_attribute = is_pirate_republic_reform
2210
2231
  }
2232
+ trigger = {
2233
+ if = {
2234
+ limit = {
2235
+ has_government_attribute = enables_estate_church
2236
+ }
2237
+ can_swap_out_of_estate_granting_reform = {
2238
+ estate = estate_church
2239
+ }
2240
+ }
2241
+ }
2211
2242
  modifiers = {
2212
2243
  development_cost = -0.05
2213
2244
  tolerance_heathen = 1
@@ -2768,7 +2799,7 @@ empowered_quartermasters_reform = {
2768
2799
  }
2769
2800
  }
2770
2801
  custom_attributes = {
2771
- enables_burghers = yes
2802
+ enables_estate_burghers = yes
2772
2803
  }
2773
2804
  ai = {
2774
2805
  factor = 1
@@ -2782,7 +2813,14 @@ open_naval_services_reform = {
2782
2813
  has_government_attribute = is_pirate_republic_reform
2783
2814
  }
2784
2815
  trigger = {
2785
- NOT = { has_estate_privilege = estate_burghers_indebted_to_burghers }
2816
+ if = {
2817
+ limit = {
2818
+ has_government_attribute = enables_estate_burghers
2819
+ }
2820
+ can_swap_out_of_estate_granting_reform = {
2821
+ estate = estate_burghers
2822
+ }
2823
+ }
2786
2824
  }
2787
2825
  modifiers = {
2788
2826
  pr_buccaneers_influence = 0.1
@@ -2830,7 +2868,14 @@ master_smugglers_reform = {
2830
2868
  has_government_attribute = is_pirate_republic_reform
2831
2869
  }
2832
2870
  trigger = {
2833
- NOT = { has_estate_privilege = estate_burghers_indebted_to_burghers }
2871
+ if = {
2872
+ limit = {
2873
+ has_government_attribute = enables_estate_burghers
2874
+ }
2875
+ can_swap_out_of_estate_granting_reform = {
2876
+ estate = estate_burghers
2877
+ }
2878
+ }
2834
2879
  }
2835
2880
  modifiers = {
2836
2881
  pr_smugglers_influence = 0.1
@@ -2851,7 +2896,14 @@ cutthroat_approach_reform = {
2851
2896
  has_government_attribute = is_pirate_republic_reform
2852
2897
  }
2853
2898
  trigger = {
2854
- NOT = { has_estate_privilege = estate_burghers_indebted_to_burghers }
2899
+ if = {
2900
+ limit = {
2901
+ has_government_attribute = enables_estate_burghers
2902
+ }
2903
+ can_swap_out_of_estate_granting_reform = {
2904
+ estate = estate_burghers
2905
+ }
2906
+ }
2855
2907
  }
2856
2908
  modifiers = {
2857
2909
  naval_tradition_from_battle = 0.5
common/government_reforms/03_government_reforms_theocracies.txt CHANGED
@@ -131,6 +131,7 @@ prussian_theocratic_reform = {
131
131
  have_had_reform = prussian_monarchy
132
132
  have_had_reform = prussian_republic_reform
133
133
  have_had_reform = prussian_theocratic_reform
134
+ was_tag = TEU
134
135
  }
135
136
  }
136
137
  AND = {
@@ -1000,7 +1001,7 @@ theocratic_democracy_reform = {
1000
1001
  has_parliament = yes
1001
1002
  custom_attributes = {
1002
1003
  blocked_call_diet = yes
1003
- disables_nobility = yes
1004
+ disables_estate_nobles = yes
1004
1005
  }
1005
1006
  }
1006
1007
  ai = {
@@ -1076,7 +1077,7 @@ regionally_elected_commanders = {
1076
1077
  has_parliament = yes
1077
1078
  custom_attributes = {
1078
1079
  blocked_call_diet = yes
1079
- disables_nobility = yes
1080
+ disables_estate_nobles = yes
1080
1081
  }
1081
1082
  }
1082
1083
  ai = {
common/government_reforms/05_government_reforms_natives.txt CHANGED
@@ -147,6 +147,7 @@ native_land_tradition_reform = {
147
147
  icon = "native_land_tradition_reform"
148
148
  modifiers = {
149
149
  add_tribal_land_cost = -0.25
150
+ country_admin_power = 1
150
151
  }
151
152
 
152
153
  ai = {
@@ -264,9 +265,6 @@ native_settle_down_reform = {
264
265
  capital_scope = { tribal_land_of = ROOT }
265
266
  }
266
267
  }
267
- else = {
268
- always = yes
269
- }
270
268
  }
271
269
  modifiers = {
272
270
  global_institution_spread = 0.2
@@ -334,7 +332,12 @@ native_diplomatic_cermonies_reform = {
334
332
  native_trading_with_foreigners_reform = {
335
333
  icon = "native_trading_with_foreigners_reform"
336
334
  trigger = {
337
- is_migratory_tribe = no
335
+ if = {
336
+ limit = {
337
+ has_dlc = "Conquest of Paradise"
338
+ }
339
+ is_migratory_tribe = no
340
+ }
338
341
  custom_trigger_tooltip = {
339
342
  tooltip = "NEEDS_NATIVE_SPONSOR"
340
343
  native_sponsor_scope = {
@@ -447,7 +450,12 @@ native_becomes_horde_reform = {
447
450
  icon = "horde_riding_highlighted"
448
451
  allow_normal_conversion = yes
449
452
  trigger = {
450
- is_migratory_tribe = yes
453
+ if = {
454
+ limit = {
455
+ has_dlc = "Conquest of Paradise"
456
+ }
457
+ is_migratory_tribe = yes
458
+ }
451
459
  mil_tech = 6
452
460
  }
453
461
  effect = {
common/government_reforms/06_government_reforms_common.txt CHANGED
@@ -75,7 +75,7 @@ parliamentary_reform = {
75
75
  allow = { has_dlc = "Common Sense" }
76
76
  has_parliament = yes
77
77
  custom_attributes = {
78
- disables_nobility = yes
78
+ disables_estate_nobles = yes
79
79
  blocked_call_diet = yes
80
80
  }
81
81
  }
@@ -969,7 +969,7 @@ separate_clergy_from_state_affairs_reform = {
969
969
  innovativeness_gain = 0.25
970
970
  }
971
971
  custom_attributes = {
972
- disables_clergy = yes
972
+ disables_estate_church = yes
973
973
  }
974
974
 
975
975
  ai = {
@@ -987,6 +987,14 @@ cult_of_reason_reform = {
987
987
  }
988
988
  trigger = {
989
989
  has_country_modifier = cult_of_reason
990
+ if = {
991
+ limit = {
992
+ has_government_attribute = enables_estate_church
993
+ }
994
+ can_swap_out_of_estate_granting_reform = {
995
+ estate = estate_church
996
+ }
997
+ }
990
998
  }
991
999
  modifiers = {
992
1000
  rr_jacobins_influence = 0.1
@@ -1033,6 +1041,16 @@ secularization_of_the_state_reform = {
1033
1041
  is_revolutionary = yes
1034
1042
  has_dlc = "Emperor"
1035
1043
  }
1044
+ trigger = {
1045
+ if = {
1046
+ limit = {
1047
+ has_government_attribute = enables_estate_church
1048
+ }
1049
+ can_swap_out_of_estate_granting_reform = {
1050
+ estate = estate_church
1051
+ }
1052
+ }
1053
+ }
1036
1054
  modifiers = {
1037
1055
  rr_girondists_influence = 0.1
1038
1056
  no_religion_penalty = yes
@@ -1105,7 +1123,7 @@ reestablish_the_burgeoisie_reform = {
1105
1123
  max_revolutionary_zeal = -10
1106
1124
  }
1107
1125
  custom_attributes = {
1108
- enables_burghers = yes
1126
+ enables_estate_burghers = yes
1109
1127
  }
1110
1128
  ai = {
1111
1129
  factor = 1
@@ -1137,8 +1155,11 @@ new_world_exploitation_reform = {
1137
1155
  limit = {
1138
1156
  is_revolutionary = yes
1139
1157
  has_dlc = "Emperor"
1158
+ has_government_attribute = enables_estate_burghers
1159
+ }
1160
+ can_swap_out_of_estate_granting_reform = {
1161
+ estate = estate_burghers
1140
1162
  }
1141
- NOT = { has_estate_privilege = estate_burghers_indebted_to_burghers }
1142
1163
  }
1143
1164
  }
1144
1165
  modifiers = {
@@ -1164,8 +1185,11 @@ mercantilistic_approach_reform = {
1164
1185
  limit = {
1165
1186
  is_revolutionary = yes
1166
1187
  has_dlc = "Emperor"
1188
+ has_government_attribute = enables_estate_burghers
1189
+ }
1190
+ can_swap_out_of_estate_granting_reform = {
1191
+ estate = estate_burghers
1167
1192
  }
1168
- NOT = { has_estate_privilege = estate_burghers_indebted_to_burghers }
1169
1193
  }
1170
1194
  }
1171
1195
  modifiers = {
@@ -1192,8 +1216,11 @@ free_trade_reform = {
1192
1216
  limit = {
1193
1217
  is_revolutionary = yes
1194
1218
  has_dlc = "Emperor"
1219
+ has_government_attribute = enables_estate_burghers
1220
+ }
1221
+ can_swap_out_of_estate_granting_reform = {
1222
+ estate = estate_burghers
1195
1223
  }
1196
- NOT = { has_estate_privilege = estate_burghers_indebted_to_burghers }
1197
1224
  }
1198
1225
  }
1199
1226
  modifiers = {
@@ -1227,8 +1254,11 @@ lockean_proviso_reform = {
1227
1254
  limit = {
1228
1255
  is_revolutionary = yes
1229
1256
  has_dlc = "Emperor"
1257
+ has_government_attribute = enables_estate_burghers
1258
+ }
1259
+ can_swap_out_of_estate_granting_reform = {
1260
+ estate = estate_burghers
1230
1261
  }
1231
- NOT = { has_estate_privilege = estate_burghers_indebted_to_burghers }
1232
1262
  }
1233
1263
  }
1234
1264
  modifiers = {
@@ -1251,8 +1281,11 @@ embrace_the_economic_theory_reform = {
1251
1281
  limit = {
1252
1282
  is_revolutionary = yes
1253
1283
  has_dlc = "Emperor"
1284
+ has_government_attribute = enables_estate_burghers
1285
+ }
1286
+ can_swap_out_of_estate_granting_reform = {
1287
+ estate = estate_burghers
1254
1288
  }
1255
- NOT = { has_estate_privilege = estate_burghers_indebted_to_burghers }
1256
1289
  }
1257
1290
  }
1258
1291
  modifiers = {
common/great_projects/00_great_projects.txt CHANGED
@@ -35,7 +35,6 @@ kiel_canal = {
35
35
  #what to do when it's built
36
36
  on_built = {
37
37
  add_canal = kiel_canal
38
- owner = { add_prestige = 30 }
39
38
  }
40
39
 
41
40
  #what to do when it's destroyed
@@ -113,6 +112,7 @@ kiel_canal = {
113
112
 
114
113
  #what effects happen when this tier is achieved
115
114
  on_upgraded = {
115
+ owner = { add_prestige = 30 }
116
116
  }
117
117
  }
118
118
 
@@ -214,7 +214,6 @@ suez_canal = {
214
214
  #what to do when it's built
215
215
  on_built = {
216
216
  add_canal = suez_canal
217
- owner = { add_prestige = 40 }
218
217
  }
219
218
 
220
219
  #what to do when it's destroyed
@@ -292,6 +291,7 @@ suez_canal = {
292
291
 
293
292
  #what effects happen when this tier is achieved
294
293
  on_upgraded = {
294
+ owner = { add_prestige = 40 }
295
295
  }
296
296
  }
297
297
 
@@ -392,7 +392,6 @@ panama_canal = {
392
392
  #what to do when it's built
393
393
  on_built = {
394
394
  add_canal = panama_canal
395
- owner = { add_prestige = 50 }
396
395
  }
397
396
 
398
397
  #what to do when it's destroyed
@@ -470,6 +469,7 @@ panama_canal = {
470
469
 
471
470
  #what effects happen when this tier is achieved
472
471
  on_upgraded = {
472
+ owner = { add_prestige = 50 }
473
473
  }
474
474
  }
475
475
 
common/great_projects/01_monuments.txt CHANGED
@@ -1326,7 +1326,7 @@ angkor_wat = {
1326
1326
 
1327
1327
  #can we build it?
1328
1328
  build_trigger = {
1329
- province_is_buddhist_or_accepts_buddhism = yes
1329
+ province_is_buddhist_or_accepts_buddhism_or_is_dharmic = yes
1330
1330
  }
1331
1331
 
1332
1332
  #what to do when it's built
@@ -1341,12 +1341,12 @@ angkor_wat = {
1341
1341
 
1342
1342
  #can our country use it?
1343
1343
  can_use_modifiers_trigger = {
1344
- province_is_buddhist_or_accepts_buddhism = yes
1344
+ province_is_buddhist_or_accepts_buddhism_or_is_dharmic = yes
1345
1345
  }
1346
1346
 
1347
1347
  #can our country upgrade it?
1348
1348
  can_upgrade_trigger = {
1349
- province_is_buddhist_or_accepts_buddhism = yes
1349
+ province_is_buddhist_or_accepts_buddhism_or_is_dharmic = yes
1350
1350
  }
1351
1351
 
1352
1352
  #can our country keep it or is it destroyed when we get hold of it?
common/ideas/00_basic_ideas.txt CHANGED
@@ -41,7 +41,7 @@ aristocracy_ideas = {
41
41
  }
42
42
  international_nobility = {
43
43
  diplomats = 1
44
- general_cost = -0.25
44
+ general_cost = -0.1
45
45
  }
46
46
  noble_resilience = {
47
47
  mercenary_manpower = 0.25
@@ -163,7 +163,8 @@ theocracy_gov_ideas = {
163
163
  fire_damage_received = -0.1
164
164
  }
165
165
  friends_in_high_places = {
166
- leader_cost = -0.2
166
+ leader_cost = -0.1
167
+ war_exhaustion_cost = -0.33
167
168
  }
168
169
  flesh_is_weak = {
169
170
  land_morale = 0.1
@@ -1192,4 +1193,4 @@ naval_ideas = {
1192
1193
  has_government_attribute = is_pirate_republic_reform
1193
1194
  }
1194
1195
  }
1195
- }
1196
+ }
common/ideas/00_country_ideas.txt CHANGED
@@ -17,6 +17,7 @@ norse_ideas = {
17
17
  trigger = {
18
18
  primary_culture = norse
19
19
  religion = norse_pagan_reformed
20
+ NOT = { has_country_flag = refused_norse_ideas }
20
21
  }
21
22
  free = yes
22
23
 
@@ -1721,7 +1722,7 @@ CHI_ideas = {
1721
1722
  PER_ideas = {
1722
1723
  start = {
1723
1724
  land_morale = 0.15
1724
- cavalry_shock = 1
1725
+ cavalry_power = 0.15
1725
1726
  }
1726
1727
 
1727
1728
  bonus = {
common/mercenary_companies/00_mercenaries.txt CHANGED
@@ -83,6 +83,7 @@ merc_tuscan_free_company = {
83
83
  # Black Army (Hungary)
84
84
  merc_black_army = {
85
85
  regiments_per_development = 0.04
86
+ mercenary_desc_key = FREE_OF_ARMY_PROFESSIONALISM_COST
86
87
  cavalry_weight = 0.2
87
88
  artillery_weight = 0.4
88
89
  cavalry_cap = 4
@@ -104,6 +105,7 @@ merc_black_army = {
104
105
  # Black Army Reserves (Hungary)
105
106
  merc_black_army_2 = {
106
107
  regiments_per_development = 0.04
108
+ mercenary_desc_key = FREE_OF_ARMY_PROFESSIONALISM_COST
107
109
  cavalry_weight = 0.2
108
110
  artillery_weight = 0.4
109
111
  cavalry_cap = 4
common/province_triggered_modifiers/00_modifiers.txt CHANGED
@@ -951,10 +951,9 @@ imperial_prussian_capital = {
951
951
  has_reform = prussian_republic
952
952
  has_reform = prussian_theocratic_reform
953
953
  }
954
- NOT = { has_idea_group = administrative_ideas }
955
954
  }
956
955
  }
957
- governing_capacity_modifier = 0.25
956
+ governing_capacity_modifier = 0.1
958
957
  }
959
958
 
960
959
  holy_horde_capital = {
common/religious_conversions/00_religious_conversions.txt CHANGED
@@ -59,36 +59,24 @@ propagate_religion_policy = {
59
59
  religion = coptic
60
60
  }
61
61
  FROM = {
62
- if = {
63
- limit = { religion = hinduism }
64
- NOT = { mission_completed = mnd_maj_porch_of_mecca }
65
- }
66
62
  NOT = { has_country_flag = can_propagate_religion_in_abrahamic_provinces }
67
63
  }
68
64
  }
69
65
  modifier = {
70
66
  factor = 0
71
- OR = {
72
- religion = catholic
73
- religion = hussite
74
- religion = protestant
75
- religion = reformed
76
- religion = anglican
77
- }
67
+ religion_group = christian
78
68
  FROM = {
79
69
  NOT = { has_country_flag = can_propagate_religion_in_abrahamic_provinces }
80
- NOT = { has_government_attribute = can_spread_the_reformation }
81
- if = {
82
- limit = { religion = hinduism }
83
- NOT = { mission_completed = mnd_maj_porch_of_mecca }
84
- }
70
+ #NOT = { has_government_attribute = can_spread_the_reformation }
71
+ NOT = { has_reform = reformer_state_reform }
85
72
  }
86
73
  }
87
74
  modifier = {
88
75
  factor = 10
89
76
  religion = catholic
90
77
  FROM = {
91
- has_government_attribute = can_spread_the_reformation
78
+ #has_government_attribute = can_spread_the_reformation
79
+ has_reform = reformer_state_reform
92
80
  }
93
81
  }
94
82
  modifier = {
common/revolution/00_revolution.txt CHANGED
@@ -201,4 +201,4 @@ revolution = {
201
201
  special_unit_forcelimit = 0.2
202
202
  discipline = 0.05
203
203
  }
204
- }
204
+ }
common/scripted_effects/00_scripted_effects.txt CHANGED
@@ -1955,12 +1955,14 @@ unlock_government_reform = {
1955
1955
 
1956
1956
  #Country effect
1957
1957
  ##########################################################
1958
- # Supports following government reforms
1958
+ # Has the localization for the following estates:
1959
1959
  # estate_cossacks
1960
1960
  ##########################################################
1961
1961
  # When adding a new estate then make sure that a unlock_$estate$_tt is defined in the localization
1962
1962
  # For checking if an Estate is unlocked already, use has_unlocked_estate = { estate = $estate$ }
1963
1963
  # For localization write the following: "Unlock the §Y<Estate>§! Estate."
1964
+ # Important: this way of unlocking an estate does not give you permanent access to the estate - hence the show_conditions.
1965
+ # For granting permanent access, use "enable_estate_effect"
1964
1966
  unlock_estate = {
1965
1967
  custom_tooltip = unlock_$estate$_tt
1966
1968
  hidden_effect = {
@@ -1971,6 +1973,54 @@ unlock_estate = {
1971
1973
  ]
1972
1974
  }
1973
1975
 
1976
+ #Country effect
1977
+ ##########################################################
1978
+ # Has the localization for the following estates:
1979
+ # estate_brahmins
1980
+ # estate_church
1981
+ # estate_maratha
1982
+ # estate_nobles
1983
+ # estate_burghers
1984
+ # estate_vaisyas
1985
+ # estate_cossacks
1986
+ # estate_nomadic_tribes
1987
+ # estate_dhimmi
1988
+ # estate_jains
1989
+ # estate_rajput
1990
+ ##########################################################
1991
+ # Unlocks the estate without any kind of condition
1992
+ enable_estate_effect = {
1993
+ custom_tooltip = mechanic_enables_$estate$_yes
1994
+ hidden_effect = {
1995
+ clr_country_flag = disables_$estate$_flag
1996
+ set_country_flag = enables_$estate$_flag
1997
+ }
1998
+ }
1999
+
2000
+ #Country effect
2001
+ ##########################################################
2002
+ # Has the localization for the following estates:
2003
+ # estate_brahmins
2004
+ # estate_church
2005
+ # estate_maratha
2006
+ # estate_nobles
2007
+ # estate_burghers
2008
+ # estate_vaisyas
2009
+ # estate_cossacks
2010
+ # estate_nomadic_tribes
2011
+ # estate_dhimmi
2012
+ # estate_jains
2013
+ # estate_rajput
2014
+ ##########################################################
2015
+ # Locks the estate even if they would
2016
+ disable_estate_effect = {
2017
+ custom_tooltip = mechanic_disables_$estate$_yes
2018
+ hidden_effect = {
2019
+ set_country_flag = disables_$estate$_flag
2020
+ clr_country_flag = enables_$estate$_flag
2021
+ }
2022
+ }
2023
+
1974
2024
  halves_parliament_bribe_costs = {
1975
2025
  if = {
1976
2026
  limit = { has_dlc = "Common Sense" }
common/scripted_effects/01_scripted_effects_for_advisors.txt CHANGED
@@ -861,6 +861,83 @@ generate_scaled_advisor_of_type_and_religion_effect = {
861
861
  }
862
862
  }
863
863
 
864
+ #Use this one if you just want a scaling advisor with cost multiplier
865
+ generate_scaled_advisor_of_type_and_cost_effect = {
866
+ if = {
867
+ limit = {
868
+ NOT = { monthly_income = 15 }
869
+ }
870
+ define_advisor = {
871
+ type = $type$
872
+ skill = 1
873
+ cost_multiplier = $cost_multiplier$
874
+ }
875
+ }
876
+ else_if = {
877
+ limit = {
878
+ NOT = { monthly_income = 25 }
879
+ }
880
+ define_advisor = {
881
+ type = $type$
882
+ skill = 2
883
+ cost_multiplier = $cost_multiplier$
884
+ }
885
+ }
886
+ else = {
887
+ define_advisor = {
888
+ type = $type$
889
+ skill = 3
890
+ cost_multiplier = $cost_multiplier$
891
+ }
892
+ }
893
+ }
894
+
895
+ #Use this one if you want to give as much details as possible for your advisor
896
+ generate_very_specific_scaling_advisor_effect = {
897
+ if = {
898
+ limit = {
899
+ NOT = { monthly_income = 15 }
900
+ }
901
+ define_advisor = {
902
+ type = $type$
903
+ skill = 1
904
+ name = $name$
905
+ location = $location$
906
+ cost_multiplier = $cost_multiplier$
907
+ female = $female$
908
+ culture = $culture$
909
+ religion = $religion$
910
+ }
911
+ }
912
+ else_if = {
913
+ limit = {
914
+ NOT = { monthly_income = 25 }
915
+ }
916
+ define_advisor = {
917
+ type = $type$
918
+ skill = 2
919
+ name = $name$
920
+ location = $location$
921
+ cost_multiplier = $cost_multiplier$
922
+ female = $female$
923
+ culture = $culture$
924
+ religion = $religion$
925
+ }
926
+ }
927
+ else = {
928
+ define_advisor = {
929
+ type = $type$
930
+ skill = 3
931
+ name = $name$
932
+ location = $location$
933
+ cost_multiplier = $cost_multiplier$
934
+ female = $female$
935
+ culture = $culture$
936
+ religion = $religion$
937
+ }
938
+ }
939
+ }
940
+
864
941
  pick_type_of_military_advisor = {
865
942
  random_list = {
866
943
  1 = { set_country_flag = generate_army_reformer }
common/scripted_triggers/00_scripted_triggers.txt CHANGED
@@ -2047,6 +2047,8 @@ is_not_free_merc_company = {
2047
2047
  NOT = { mercenary_company = merc_swiss_canton_mercenaries }
2048
2048
  NOT = { mercenary_company = merc_japanese_volunteers }
2049
2049
  NOT = { mercenary_company = merc_militant_order_of_saint_joan }
2050
+ NOT = { mercenary_company = merc_black_army }
2051
+ NOT = { mercenary_company = merc_black_army_2 }
2050
2052
  }
2051
2053
  }
2052
2054
 
@@ -2295,6 +2297,93 @@ province_is_buddhist_or_accepts_buddhism = {
2295
2297
  }
2296
2298
  }
2297
2299
 
2300
+ #Had to make a new scripted trigger or otherwise the conditions looks too cluttered...
2301
+ province_is_buddhist_or_accepts_buddhism_or_is_dharmic = {
2302
+ OR = {
2303
+ custom_trigger_tooltip = {
2304
+ tooltip = province_is_buddhist_or_accepts_buddhism_at
2305
+ OR = {
2306
+ AND = {
2307
+ religion = buddhism
2308
+ OR = {
2309
+ has_owner_religion = yes
2310
+ owner = { has_harmonized_with = buddhism }
2311
+ owner = { secondary_religion = buddhism }
2312
+ }
2313
+ }
2314
+ AND = {
2315
+ religion = vajrayana
2316
+ OR = {
2317
+ has_owner_religion = yes
2318
+ owner = { has_harmonized_with = vajrayana }
2319
+ owner = { secondary_religion = vajrayana }
2320
+ }
2321
+ }
2322
+ AND = {
2323
+ religion = mahayana
2324
+ OR = {
2325
+ has_owner_religion = yes
2326
+ owner = { has_harmonized_with = mahayana }
2327
+ owner = { secondary_religion = mahayana }
2328
+ }
2329
+ }
2330
+ }
2331
+ }
2332
+ custom_trigger_tooltip = {
2333
+ tooltip = province_is_buddhist_or_accepts_buddhism_bt
2334
+ owner = {
2335
+ OR = {
2336
+ has_harmonized_with = buddhism
2337
+ has_harmonized_with = vajrayana
2338
+ has_harmonized_with = mahayana
2339
+ }
2340
+ }
2341
+ has_owner_religion = yes
2342
+ }
2343
+ custom_trigger_tooltip = {
2344
+ tooltip = province_is_buddhist_or_accepts_buddhism_ct
2345
+ owner = {
2346
+ OR = {
2347
+ secondary_religion = buddhism
2348
+ secondary_religion = vajrayana
2349
+ secondary_religion = mahayana
2350
+ }
2351
+ }
2352
+ has_owner_religion = yes
2353
+ }
2354
+ custom_trigger_tooltip = {
2355
+ tooltip = province_is_buddhist_or_accepts_buddhism_dt
2356
+ religion = shinto
2357
+ has_owner_religion = yes
2358
+ }
2359
+ custom_trigger_tooltip = {
2360
+ tooltip = province_is_buddhist_or_accepts_buddhism_et
2361
+ owner = { has_personal_deity = buddha }
2362
+ has_owner_religion = yes
2363
+ }
2364
+ custom_trigger_tooltip = {
2365
+ tooltip = province_is_buddhist_or_accepts_buddhism_ft
2366
+ owner = { has_adopted_cult = buddhism_cult }
2367
+ has_owner_religion = yes
2368
+ }
2369
+ #For the case the province has a religion which the player has already harmonized with and cannot convert
2370
+ #It's a hidden trigger because the tooltip is already super flooded and it is incredibly niche
2371
+ hidden_trigger = {
2372
+ owner = {
2373
+ OR = {
2374
+ has_harmonized_with = buddhism
2375
+ has_harmonized_with = vajrayana
2376
+ has_harmonized_with = mahayana
2377
+ }
2378
+ has_harmonized_with = ROOT
2379
+ }
2380
+ }
2381
+ province_is_or_accepts_religion_group = {
2382
+ religion_group = dharmic
2383
+ }
2384
+ }
2385
+ }
2386
+
2298
2387
  province_is_or_accepts_religion_group = {
2299
2388
  custom_trigger_tooltip = {
2300
2389
  tooltip = province_is_or_accepts_$religion_group$_tt
@@ -2611,6 +2700,23 @@ num_of_ruler_traits = {
2611
2700
  }
2612
2701
  }
2613
2702
 
2703
+ #Country scope
2704
+ can_swap_out_of_estate_granting_reform = {
2705
+ OR = {
2706
+ NOT = { has_estate = $estate$ }
2707
+ NOT = {
2708
+ num_of_estate_privileges = {
2709
+ estate = $estate$
2710
+ value = 1
2711
+ }
2712
+ }
2713
+ }
2714
+ #custom_trigger_tooltip = {
2715
+ # tooltip = did_not_sell_crownland_tt
2716
+ # NOT = { has_country_flag = recent_land_distribution }
2717
+ #}
2718
+ }
2719
+
2614
2720
  #Country scope - bugged for whatever reason...
2615
2721
  #every_estate_influence = {
2616
2722
  #if = {
common/static_modifiers/00_static_modifiers.txt CHANGED
@@ -1815,7 +1815,7 @@ cossacks_regiment = {
1815
1815
  }
1816
1816
 
1817
1817
  carolean_regiment = {
1818
- morale_damage = 0.1
1818
+ morale_damage = 0.05
1819
1819
  drill_decay_modifier = -0.25
1820
1820
  }
1821
1821
 
events/ArmyProfessionalism.txt CHANGED
@@ -280,9 +280,9 @@ province_event = {
280
280
  option = {
281
281
  name = army_professionalism_events.3.a #Barbarians!
282
282
  trigger = {
283
- NOT = {
284
- owner = { tag = PAP }
285
- has_dlc = "Emperor"
283
+ OR = {
284
+ NOT = { tag = PAP }
285
+ NOT = { has_dlc = "Emperor" }
286
286
  }
287
287
  }
288
288
  add_devastation = 100
events/EstatePrivilegesAndAgendasEvents.txt CHANGED
@@ -123,22 +123,22 @@ country_event = {
123
123
  AND = {
124
124
  government = monarchy
125
125
  has_estate = estate_nobles
126
- NOT = { num_of_estate_privileges = { estate = estate_nobles value = 4 } }
126
+ NOT = { num_of_estate_privileges = { estate = estate_nobles value = 6 } }
127
127
  }
128
128
  AND = {
129
129
  government = republic
130
130
  has_estate = estate_burghers
131
- NOT = { num_of_estate_privileges = { estate = estate_burghers value = 4 } }
131
+ NOT = { num_of_estate_privileges = { estate = estate_burghers value = 6 } }
132
132
  }
133
133
  AND = {
134
134
  government = theocracy
135
135
  has_estate = estate_church
136
- NOT = { num_of_estate_privileges = { estate = estate_church value = 4 } }
136
+ NOT = { num_of_estate_privileges = { estate = estate_church value = 6 } }
137
137
  }
138
138
  AND = {
139
139
  religion = hinduism
140
140
  has_estate = estate_brahmins
141
- NOT = { num_of_estate_privileges = { estate = estate_brahmins value = 4 } }
141
+ NOT = { num_of_estate_privileges = { estate = estate_brahmins value = 6 } }
142
142
  }
143
143
  }
144
144
  NOT = {
events/FlavorSWE.txt CHANGED
@@ -3045,7 +3045,7 @@ country_event = {
3045
3045
  modifier = swe_refused_to_support_independence
3046
3046
  }
3047
3047
  overlord = {
3048
- reverse_add_opinion = {
3048
+ add_opinion = {
3049
3049
  who = ROOT
3050
3050
  modifier = dan_refused_to_support_independence
3051
3051
  }
@@ -3415,13 +3415,27 @@ country_event = {
3415
3415
  trigger = {
3416
3416
  8 = {
3417
3417
  NOT = { trade_goods = gold } #Will never be true, but better safe tahn
3418
- NOT = { has_manufactory_trigger = yes }
3419
- NOT = { has_building = counting_house }
3420
3418
  }
3421
3419
  }
3422
3420
  8 = {
3423
- add_manufactory = yes
3421
+ if = {
3422
+ limit = {
3423
+ has_manufactory_trigger = yes
3424
+ }
3425
+ add_base_production = 4
3426
+ }
3427
+ else = {
3428
+ add_manufactory = yes
3429
+ }
3430
+ if = {
3431
+ limit = {
3432
+ has_building = counting_house
3433
+ }
3434
+ add_base_production = 2
3435
+ }
3436
+ else = {
3424
3437
  add_building = counting_house
3438
+ }
3425
3439
  }
3426
3440
  add_treasury = -750
3427
3441
 
@@ -3744,6 +3758,27 @@ country_event = {
3744
3758
  }
3745
3759
  add_permanent_claim = ROOT
3746
3760
  }
3761
+ hinter_pommern_area = {
3762
+ limit = {
3763
+ NOT = { is_core = ROOT }
3764
+ NOT = { is_permanent_claim = ROOT }
3765
+ }
3766
+ add_permanent_claim = ROOT
3767
+ }
3768
+ vorpommern_area = {
3769
+ limit = {
3770
+ NOT = { is_core = ROOT }
3771
+ NOT = { is_permanent_claim = ROOT }
3772
+ }
3773
+ add_permanent_claim = ROOT
3774
+ }
3775
+ mecklenburg_area = {
3776
+ limit = {
3777
+ NOT = { is_core = ROOT }
3778
+ NOT = { is_permanent_claim = ROOT }
3779
+ }
3780
+ add_permanent_claim = ROOT
3781
+ }
3747
3782
  ai_chance = {
3748
3783
  factor = 1
3749
3784
  }
events/Norse.txt CHANGED
@@ -579,7 +579,7 @@ country_event = {
579
579
  limit = {
580
580
  NOT = { has_idea_group = norse_ideas }
581
581
  }
582
- country_event = { id = ideagroups.1 } #Swap Ideas
582
+ country_event = { id = ideagroups.0 } #Swap Ideas
583
583
  }
584
584
  ai_chance = {
585
585
  factor = 1
events/RandomEvents.txt CHANGED
@@ -6379,6 +6379,7 @@ country_event = {
6379
6379
  NOT = { revolt_percentage = 0.1 }
6380
6380
  NOT = { num_of_loans = 10 }
6381
6381
  is_bankrupt = no
6382
+ has_estate = estate_nobles
6382
6383
  }
6383
6384
 
6384
6385
  mean_time_to_happen = {
events/disaster_PeasantsWar.txt CHANGED
@@ -6,7 +6,7 @@ country_event = {
6
6
  title = "EVTNAME3021"
7
7
  desc = "EVTDESC3021"
8
8
  picture = ANGRY_MOB_eventPicture
9
-
9
+ goto = peasants_revolt_prov
10
10
  major = yes
11
11
 
12
12
  is_triggered_only = yes
@@ -17,20 +17,35 @@ country_event = {
17
17
 
18
18
  immediate = {
19
19
  set_country_flag = had_peasant_war
20
- add_stability = -6
21
- add_prestige = -10
22
- random_owned_province = {
23
- spawn_rebels = {
24
- type = anti_tax_rebels
25
- size = 2
26
- win = yes
27
- unrest = 15
20
+ hidden_effect = {
21
+ add_stability = -6
22
+ add_prestige = -10
23
+ random_owned_province = {
24
+ save_event_target_as = peasants_revolt_prov
25
+ spawn_rebels = {
26
+ type = anti_tax_rebels
27
+ size = 2
28
+ win = yes
29
+ unrest = 15
30
+ }
28
31
  }
29
32
  }
30
33
  }
31
34
 
32
35
  option = {
33
36
  name = "EVTOPTA3021" # Dire times are ahead of us
37
+ tooltip = {
38
+ add_stability = -6
39
+ add_prestige = -10
40
+ event_target:peasants_revolt_prov = {
41
+ spawn_rebels = {
42
+ type = anti_tax_rebels
43
+ size = 2
44
+ win = yes
45
+ unrest = 15
46
+ }
47
+ }
48
+ }
34
49
  }
35
50
  }
36
51
 
events/disaster_ming_crisis.txt CHANGED
@@ -208,6 +208,7 @@ country_event = {
208
208
  }
209
209
  if = {
210
210
  limit = {
211
+ has_dlc = "Mandate of Heaven"
211
212
  is_emperor_of_china = yes
212
213
  }
213
214
  CSH = {
@@ -231,31 +232,32 @@ country_event = {
231
232
  }
232
233
  add_stability = -2
233
234
  add_mandate = -10
235
+ CSH = {
236
+ define_ruler = {
237
+ name = "Zicheng"
238
+ dynasty = "Li"
239
+ }
240
+ add_yearly_manpower = 15
241
+ add_years_of_income = 15
242
+ }
243
+ if = {
244
+ limit = {
245
+ has_dlc = "Mandate of Heaven"
246
+ is_emperor_of_china = yes
247
+ }
248
+ CSH = {
249
+ declare_war_with_cb = {
250
+ who = root
251
+ casus_belli = cb_take_mandate
252
+ }
253
+ }
254
+ }
255
+ else = {
256
+ CSH = {
257
+ declare_war = root
258
+ }
259
+ }
234
260
  switch_tag = CSH
235
- CSH = {
236
- define_ruler = {
237
- name = "Zicheng"
238
- dynasty = "Li"
239
- }
240
- add_yearly_manpower = 15
241
- add_years_of_income = 15
242
- }
243
- if = {
244
- limit = {
245
- is_emperor_of_china = yes
246
- }
247
- CSH = {
248
- declare_war_with_cb = {
249
- who = root
250
- casus_belli = cb_take_mandate
251
- }
252
- }
253
- }
254
- else = {
255
- CSH = {
256
- declare_war = root
257
- }
258
- }
259
261
  }
260
262
 
261
263
  after = {
events/flavorDAN.txt CHANGED
@@ -5367,6 +5367,7 @@ country_event = {
5367
5367
  desc = kalmar_union_events.9.desc
5368
5368
  picture = NOBLE_ESTATE_DEMANDS_eventPicture
5369
5369
  is_triggered_only = yes
5370
+ goto = noble_rebels_province
5370
5371
  trigger = {
5371
5372
  has_government_attribute = kalmar_union_succession
5372
5373
  has_estate = estate_nobles
@@ -5433,6 +5434,15 @@ country_event = {
5433
5434
  1 = { set_country_flag = dan_nobles_demand_diplomatic_support }
5434
5435
  1 = { set_country_flag = dan_nobles_demand_military_support }
5435
5436
  }
5437
+ random_owned_province = {
5438
+ limit = {
5439
+ OR = {
5440
+ is_capital = yes
5441
+ same_continent = capital
5442
+ }
5443
+ }
5444
+ save_event_target_as = noble_rebels_province
5445
+ }
5436
5446
  }
5437
5447
  }
5438
5448
 
@@ -5456,13 +5466,7 @@ country_event = {
5456
5466
  estate = estate_nobles
5457
5467
  loyalty = -20
5458
5468
  }
5459
- random_owned_province = {
5460
- limit = {
5461
- OR = {
5462
- is_capital = yes
5463
- same_continent = capital
5464
- }
5465
- }
5469
+ event_target:noble_rebels_province = {
5466
5470
  spawn_rebels = {
5467
5471
  type = noble_rebels
5468
5472
  size = 2
@@ -5509,13 +5513,7 @@ country_event = {
5509
5513
  add_stability = -1
5510
5514
  }
5511
5515
  dan_nobles_demand_kill_some_rebels = {
5512
- random_owned_province = {
5513
- limit = {
5514
- OR = {
5515
- is_capital = yes
5516
- same_continent = capital
5517
- }
5518
- }
5516
+ event_target:noble_rebels_province = {
5519
5517
  spawn_rebels = {
5520
5518
  type = anti_tax_rebels
5521
5519
  size = 2
events/flavorHSA.txt CHANGED
@@ -255,7 +255,7 @@ country_event = { #Herring Currents of the Lubeckbothe
255
255
  change_trade_goods = fish
256
256
  add_province_modifier = {
257
257
  name = hsa_lubeck_herring_market_modifier2
258
- duration = -1
258
+ duration = 9125
259
259
  }
260
260
  }
261
261
  ai_chance = { factor = 90 }
events/flavorINC.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  #######################################################
2
2
  # Flavor Events for the Incas
3
3
  #
4
- # Scripted by Sara Wendel-�rtqvist
4
+ # Scripted by Sara Wendel-�rtqvist
5
5
  #######################################################
6
6
 
7
7
  namespace = flavor_inc
@@ -139,13 +139,14 @@ country_event = {
139
139
  is_triggered_only = yes
140
140
 
141
141
  trigger = {
142
- owns = 808 #Though losing this is very unlikely.
142
+ owns = 807 #Though losing this is very unlikely.
143
143
  }
144
144
 
145
145
  option = { #Let us create a worthy capital!
146
146
  name = flavor_inc.3.a
147
+ goto = 807
147
148
  set_country_flag = inc_cusco_began
148
- 808 = {
149
+ 807 = {
149
150
  add_province_modifier = {
150
151
  name = "inc_cusco_construction"
151
152
  duration = 7300 #Illustrates the length of construction
@@ -167,13 +168,13 @@ country_event = {
167
168
  title = flavor_inc.4.t
168
169
  desc = flavor_inc.4.d
169
170
  picture = CITY_VIEW_eventPicture
170
-
171
+ goto = 807
171
172
  fire_only_once = yes
172
173
 
173
174
  trigger = {
174
175
  tag = CSU
175
176
  had_country_flag = { flag = inc_cusco_began days = 7300 }
176
- owns = 808
177
+ owns = 807
177
178
  }
178
179
 
179
180
  mean_time_to_happen = {
@@ -182,7 +183,7 @@ country_event = {
182
183
 
183
184
  option = { #Great!
184
185
  name = flavor_inc.4.a
185
- 808 = {
186
+ 807 = {
186
187
  add_province_modifier = {
187
188
  name = "inc_cusco_reconstructed"
188
189
  duration = -1
@@ -219,6 +220,7 @@ country_event = {
219
220
 
220
221
  option = { #Make it great.
221
222
  name = flavor_inc.5.a
223
+ goto = 807
222
224
  add_adm_power = -50
223
225
  add_years_of_income = -0.1
224
226
  if = {
events/flavorLIV.txt CHANGED
@@ -1248,9 +1248,6 @@ country_event = {
1248
1248
  has_any_disaster = no
1249
1249
  is_bankrupt = no
1250
1250
  is_at_war = no
1251
- adm = 3
1252
- dip = 3
1253
- mil = 3
1254
1251
  }
1255
1252
  immediate = {
1256
1253
  hidden_effect = {
@@ -1279,6 +1276,12 @@ country_event = {
1279
1276
  dip = 4
1280
1277
  mil = 4
1281
1278
  }
1279
+ modifier = {
1280
+ factor = 0.5
1281
+ adm = 3
1282
+ dip = 3
1283
+ mil = 3
1284
+ }
1282
1285
  modifier = {
1283
1286
  factor = 0.5
1284
1287
  legitimacy = 95
@@ -1296,7 +1299,10 @@ country_event = {
1296
1299
  value = 1
1297
1300
  }
1298
1301
  show_points_needed_for_livionian_government_of_category = { adm = yes }
1299
- change_adm = 1
1302
+ add_stat_or_monarch_power = {
1303
+ stat = adm
1304
+ amount = 1
1305
+ }
1300
1306
  add_ruler_modifier = {
1301
1307
  name = liv_the_administrator
1302
1308
  duration = -1
@@ -1310,7 +1316,10 @@ country_event = {
1310
1316
  value = 1
1311
1317
  }
1312
1318
  show_points_needed_for_livionian_government_of_category = { dip = yes }
1313
- change_dip = 1
1319
+ add_stat_or_monarch_power = {
1320
+ stat = dip
1321
+ amount = 1
1322
+ }
1314
1323
  add_ruler_modifier = {
1315
1324
  name = liv_the_diplomat
1316
1325
  duration = -1
@@ -1324,7 +1333,10 @@ country_event = {
1324
1333
  value = 1
1325
1334
  }
1326
1335
  show_points_needed_for_livionian_government_of_category = { mil = yes }
1327
- change_mil = 1
1336
+ add_stat_or_monarch_power = {
1337
+ stat = mil
1338
+ amount = 1
1339
+ }
1328
1340
  convert_ruler_to_general = 100
1329
1341
  add_ruler_modifier = {
1330
1342
  name = liv_the_general
events/flavorPAP.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  ########################################
2
2
  # Flavor Events for Papal States
3
3
  #
4
- # Scripted by Sara Wendel-�rtqvist
4
+ # Scripted by Sara Wendel-�rtqvist
5
5
  ########################################
6
6
 
7
7
  namespace = flavor_pap
@@ -376,6 +376,7 @@ country_event = {
376
376
  num_of_cities = 15
377
377
  }
378
378
  exists = PAP
379
+ NOT = { has_country_flag = had_sublimis_deus_event }
379
380
  }
380
381
  mean_time_to_happen = {
381
382
  months = 12
@@ -383,12 +384,14 @@ country_event = {
383
384
 
384
385
  immediate = {
385
386
  hidden_effect = {
387
+ set_country_flag = had_sublimis_deus_event
386
388
  every_country = {
387
389
  limit = {
388
390
  religion = catholic
389
391
  any_subject_country = {
390
392
  is_colonial_nation = yes
391
393
  }
394
+ NOT = { has_country_flag = had_sublimis_deus_event }
392
395
  }
393
396
  country_event = { id = flavor_pap.10 days = 3 }
394
397
  }
events/flavorPOL.txt CHANGED
@@ -34,7 +34,15 @@ country_event = {
34
34
  }
35
35
 
36
36
  immediate = {
37
- hidden_effect = { set_country_flag = pol_had_nieszawa_privileges_country_flag }
37
+ hidden_effect = {
38
+ set_country_flag = pol_had_nieszawa_privileges_country_flag
39
+ random_owned_province = {
40
+ limit = {
41
+ continent = europe
42
+ }
43
+ save_event_target_as = pol_reble_province
44
+ }
45
+ }
38
46
  }
39
47
  option = {
40
48
  name = "flavor_pol.EVTOPTA3467" # Accept the Conventions
@@ -113,10 +121,8 @@ country_event = {
113
121
  }
114
122
  option = {
115
123
  name = "flavor_pol.EVTOPTB3467" # Refuse to sign it and defy the Magnates
116
- random_owned_province = {
117
- limit = {
118
- continent = europe
119
- }
124
+ goto = pol_reble_province
125
+ event_target:pol_reble_province = {
120
126
  polish_noble_rebels = 3
121
127
  }
122
128
  }
@@ -274,6 +280,7 @@ country_event = {
274
280
  has_reform = elective_monarchy
275
281
  }
276
282
  NOT = { has_country_flag = pol_pact_conventa_flag }
283
+ has_country_flag = pol_had_nieszawa_privileges_country_flag
277
284
  OR = {
278
285
  NOT = { ADM = 2 }
279
286
  NOT = { DIP = 2 }
@@ -2201,7 +2208,15 @@ country_event = { #The Constitution of [GetYear]
2201
2208
  factor = 1.5
2202
2209
  }
2203
2210
  }
2204
- POL = { create_union = ROOT }
2211
+ if = {
2212
+ limit = {
2213
+ PLC = { exists = yes }
2214
+ }
2215
+ PLC = { create_union = ROOT }
2216
+ }
2217
+ else = {
2218
+ POL = { create_union = ROOT }
2219
+ }
2205
2220
  }
2206
2221
 
2207
2222
  option = {
@@ -2273,8 +2288,15 @@ country_event = { #Polish-Hungarian Ties
2273
2288
  factor = 1.5
2274
2289
  }
2275
2290
  }
2276
-
2277
- POL = { create_union = ROOT }
2291
+ if = {
2292
+ limit = {
2293
+ PLC = { exists = yes }
2294
+ }
2295
+ PLC = { create_union = ROOT }
2296
+ }
2297
+ else = {
2298
+ POL = { create_union = ROOT }
2299
+ }
2278
2300
  }
2279
2301
 
2280
2302
  option = {
events/flavorRIG.txt CHANGED
@@ -471,7 +471,7 @@ country_event = {
471
471
  set_in_empire = yes
472
472
 
473
473
  ai_chance = {
474
- factor = 100
474
+ factor = 0
475
475
  }
476
476
  }
477
477
 
@@ -480,7 +480,7 @@ country_event = {
480
480
  add_prestige = 10
481
481
 
482
482
  ai_chance = {
483
- factor = 0
483
+ factor = 1
484
484
  }
485
485
  }
486
486
  }
events/ideagroups.txt CHANGED
@@ -8326,7 +8326,7 @@ country_event = {
8326
8326
  desc = ideagroups.1928.d
8327
8327
  picture = FORT_eventPicture
8328
8328
  is_triggered_only = yes
8329
-
8329
+ goto = seat_of_power_prov
8330
8330
  trigger = {
8331
8331
  has_idea_group = horde_gov_ideas
8332
8332
  any_owned_province = {
@@ -8335,17 +8335,25 @@ country_event = {
8335
8335
  }
8336
8336
  }
8337
8337
 
8338
+ immediate = {
8339
+ hidden_effect = {
8340
+ random_owned_province = {
8341
+ limit = {
8342
+ fort_level = 1
8343
+ NOT = { has_province_modifier = seat_of_power }
8344
+ }
8345
+ save_event_target_as = seat_of_power_prov
8346
+ }
8347
+ }
8348
+ }
8349
+
8338
8350
  mean_time_to_happen = {
8339
8351
  days = 1
8340
8352
  }
8341
8353
 
8342
8354
  option = {
8343
8355
  name = ideagroups.1928.a
8344
- random_owned_province = {
8345
- limit = {
8346
- fort_level = 1
8347
- NOT = { has_province_modifier = seat_of_power }
8348
- }
8356
+ event_target:seat_of_power_prov = {
8349
8357
  add_province_modifier = {
8350
8358
  name = "seat_of_power"
8351
8359
  duration = 3650
@@ -9143,6 +9151,14 @@ country_event = {
9143
9151
  name = ideagroups.1.a #Yes Please!
9144
9152
  ai_chance = { factor = 1 }
9145
9153
  trigger = { has_custom_ideas = no }
9154
+ hidden_effect = {
9155
+ if = {
9156
+ limit = {
9157
+ has_idea_group = norse_ideas
9158
+ }
9159
+ set_country_flag = refused_norse_ideas
9160
+ }
9161
+ }
9146
9162
  swap_free_idea_group = yes #keep progress
9147
9163
  }
9148
9164
  option = {
@@ -9153,23 +9169,32 @@ country_event = {
9153
9169
  }
9154
9170
 
9155
9171
  # Idea Swap for Norses?
9156
- #country_event = {
9157
- # id = ideagroups.0
9158
- # title = ideagroups.1.t
9159
- # desc = ideagroups.1.d
9160
- # picture = ADVISOR_eventPicture
9161
- #
9162
- # is_triggered_only = yes
9163
- #
9164
- # option = {
9165
- # name = ideagroups.1.a #Yes Please!
9166
- # ai_chance = { factor = 1 }
9167
- # trigger = { primary_culture = norse }
9168
- # swap_free_idea_group = yes #keep progress
9169
- # }
9170
- # option = {
9171
- # name = ideagroups.1.b #No, we cannot abandon our roots.
9172
- # #No Effect
9173
- # ai_chance = { factor = 0 }
9174
- # }
9175
- #}
9172
+ country_event = {
9173
+ id = ideagroups.0
9174
+ title = ideagroups.1.t
9175
+ desc = ideagroups.1.d
9176
+ picture = ADVISOR_eventPicture
9177
+
9178
+ is_triggered_only = yes
9179
+
9180
+ option = {
9181
+ name = ideagroups.1.a #Yes Please!
9182
+ ai_chance = { factor = 1 }
9183
+ trigger = { has_custom_ideas = no }
9184
+ swap_free_idea_group = yes #keep progress
9185
+ }
9186
+ option = {
9187
+ name = ideagroups.1.b #No, we cannot abandon our roots.
9188
+ #No Effect
9189
+ hidden_effect = {
9190
+ if = {
9191
+ limit = {
9192
+ primary_culture = norse
9193
+ religion = norse_pagan_reformed
9194
+ }
9195
+ set_country_flag = refused_norse_ideas
9196
+ }
9197
+ }
9198
+ ai_chance = { factor = 0 }
9199
+ }
9200
+ }
missions/99_Hansa_Missions.txt CHANGED
@@ -832,7 +832,11 @@ lubeck_missions_2 = { #Made by Big Boss
832
832
  }
833
833
  }
834
834
  4742 = { change_trade_goods = gold }
835
- capital_scope = { change_trade_goods = gold }
835
+ capital_scope = {
836
+ change_trade_goods = gold
837
+ remove_province_modifier = hsa_lubeck_herring_market_modifier2
838
+ remove_province_modifier = hsa_lubeck_herring_market_modifier
839
+ }
836
840
  4742 = {
837
841
  owner = {
838
842
  add_country_modifier = {
@@ -852,6 +856,8 @@ lubeck_missions_2 = { #Made by Big Boss
852
856
  add_base_production = 2
853
857
  add_base_manpower = 2
854
858
  change_trade_goods = gold
859
+ remove_province_modifier = hsa_lubeck_herring_market_modifier2
860
+ remove_province_modifier = hsa_lubeck_herring_market_modifier
855
861
  add_province_modifier = {
856
862
  name = hsa_center_of_mineral_trade
857
863
  duration = -1
missions/AFR_Ethiopian_Missions.txt CHANGED
@@ -1286,6 +1286,7 @@ ethiopia_slot_aksumite_empire = {
1286
1286
  region = arabia_region
1287
1287
  value = 25
1288
1288
  }
1289
+ is_at_war = no
1289
1290
  }
1290
1291
  effect = {
1291
1292
  country_event = {
missions/Byzantine_Missions.txt CHANGED
@@ -294,7 +294,19 @@ byz_generic_slot_2 = {
294
294
  limit = {
295
295
  NOT = { has_dlc = "Purple Phoenix" }
296
296
  }
297
- country_event = { id = flavor_byz.2 }
297
+ add_country_modifier = {
298
+ name = "conversion_of_rome"
299
+ duration = 7300
300
+ }
301
+ hidden_effect = {
302
+ every_country = {
303
+ limit = {
304
+ religion = catholic
305
+ knows_country = BYZ
306
+ }
307
+ country_event = { id = flavor_byz.2 }
308
+ }
309
+ }
298
310
  }
299
311
  }
300
312
  ai_weight = {
missions/DH_Taungu_Missions.txt CHANGED
@@ -431,6 +431,13 @@ tau_slot_2 = {
431
431
  }
432
432
  effect = {
433
433
  set_government_rank = 3
434
+ if = {
435
+ limit = {
436
+ NOT = { any_country = { has_country_flag = is_burma } }
437
+ }
438
+ override_country_name = BURMA
439
+ set_country_flag = is_burma
440
+ }
434
441
  northern_thai_area = {
435
442
  limit = {
436
443
  NOT = { is_permanent_claim = ROOT }
@@ -543,13 +550,6 @@ tau_slot_2 = {
543
550
  id = flavor_lna.3
544
551
  }
545
552
  }
546
- if = {
547
- limit = {
548
- NOT = { any_country = { has_country_flag = is_burma } }
549
- }
550
- override_country_name = BURMA
551
- set_country_flag = is_burma
552
- }
553
553
  add_country_modifier = {
554
554
  name = "chakravarti"
555
555
  duration = -1
missions/Lithuanian Missions.txt CHANGED
@@ -6,7 +6,6 @@ lithuanian_missions_1 = {
6
6
  NOT = { has_dlc = "Lions of the North" }
7
7
  }
8
8
  potential = {
9
- always = no
10
9
  tag = LIT
11
10
  NOT = { map_setup = map_setup_random }
12
11
  NOT = { has_dlc = "Lions of the North" }
@@ -171,7 +170,6 @@ lithuanian_missions_2 = {
171
170
  NOT = { has_dlc = "Lions of the North" }
172
171
  }
173
172
  potential = {
174
- always = no
175
173
  tag = LIT
176
174
  NOT = { map_setup = map_setup_random }
177
175
  NOT = { has_dlc = "Lions of the North" }
@@ -255,10 +253,13 @@ lithuanian_missions_slot = {
255
253
  slot = 5
256
254
  generic = no
257
255
  ai = no # independent lithuania path not for ai
256
+ potential_on_load = {
257
+ NOT = { has_dlc = "Lions of the North" }
258
+ }
258
259
  potential = {
259
- always = no
260
260
  tag = LIT
261
261
  NOT = { map_setup = map_setup_random }
262
+ NOT = { has_dlc = "Lions of the North" }
262
263
  }
263
264
  has_country_shield = yes
264
265
 
missions/New_World_Missions.txt CHANGED
@@ -323,7 +323,7 @@ new_world_natives_missions_slot1 = {
323
323
 
324
324
  new_world_natives_missions_slot2 = {
325
325
  slot = 2
326
- generic = yes
326
+ generic = no
327
327
  ai = yes
328
328
  potential = {
329
329
  capital_scope = {
missions/SCA_Danish_Missions.txt CHANGED
@@ -2105,7 +2105,7 @@ dan_england_mission_slot = {
2105
2105
  provinces_to_highlight = {}
2106
2106
  trigger = {
2107
2107
  if = {
2108
- limit = { has_dlc = "Rule Britannia" }
2108
+ limit = { has_dlc = "Golden Century" }
2109
2109
  has_flagship = yes
2110
2110
  }
2111
2111
  if = {
missions/SCA_Polish_Missions.txt CHANGED
@@ -1001,6 +1001,7 @@ poland_sca_slot_2_b = {
1001
1001
  ruler_total_stats = {
1002
1002
  custom_tooltip = pol_ruler_ts_14
1003
1003
  stats = 14
1004
+ who = ROOT
1004
1005
  }
1005
1006
  }
1006
1007
  }
@@ -1010,6 +1011,7 @@ poland_sca_slot_2_b = {
1010
1011
  ruler_total_stats = {
1011
1012
  custom_tooltip = pol_ruler_ts_14
1012
1013
  stats = 14
1014
+ who = ROOT
1013
1015
  }
1014
1016
  }
1015
1017
  }
@@ -1081,6 +1083,7 @@ poland_sca_slot_2_plc_1 = {
1081
1083
  ruler_total_stats = {
1082
1084
  custom_tooltip = pol_ruler_ts_14
1083
1085
  stats = 14
1086
+ who = ROOT
1084
1087
  }
1085
1088
  }
1086
1089
  }
@@ -1090,6 +1093,7 @@ poland_sca_slot_2_plc_1 = {
1090
1093
  ruler_total_stats = {
1091
1094
  custom_tooltip = pol_ruler_ts_14
1092
1095
  stats = 14
1096
+ who = ROOT
1093
1097
  }
1094
1098
  }
1095
1099
  }
@@ -1542,7 +1546,7 @@ poland_sca_slot_3_a = {
1542
1546
  }
1543
1547
  else_if = {
1544
1548
  limit = {
1545
- valid_for_personal_unions_trigger = yes
1549
+ valid_for_personal_unions_trigger = yes
1546
1550
  BOH = {
1547
1551
  OR = {
1548
1552
  is_rival = ROOT
@@ -1555,7 +1559,7 @@ poland_sca_slot_3_a = {
1555
1559
  modifier = scornfully_insulted
1556
1560
  }
1557
1561
  }
1558
- valid_for_personal_unions_trigger = yes
1562
+ valid_for_personal_unions_trigger = yes
1559
1563
  }
1560
1564
  }
1561
1565
  add_casus_belli = {
@@ -1568,35 +1572,35 @@ poland_sca_slot_3_a = {
1568
1572
  moravia_area = {
1569
1573
  limit = {
1570
1574
  NOT = { is_core = ROOT }
1571
- owned_by = ROOT
1575
+ NOT = { is_permanent_claim = ROOT }
1572
1576
  }
1573
1577
  add_permanent_claim = ROOT
1574
1578
  }
1575
1579
  erzgebirge_area = {
1576
1580
  limit = {
1577
1581
  NOT = { is_core = ROOT }
1578
- owned_by = ROOT
1582
+ NOT = { is_permanent_claim = ROOT }
1579
1583
  }
1580
1584
  add_permanent_claim = ROOT
1581
1585
  }
1582
1586
  bohemia_area = {
1583
1587
  limit = {
1584
1588
  NOT = { is_core = ROOT }
1585
- owned_by = ROOT
1589
+ NOT = { is_permanent_claim = ROOT }
1586
1590
  }
1587
1591
  add_permanent_claim = ROOT
1588
1592
  }
1589
1593
  silesia_area = {
1590
1594
  limit = {
1591
1595
  NOT = { is_core = ROOT }
1592
- owned_by = ROOT
1596
+ NOT = { is_permanent_claim = ROOT }
1593
1597
  }
1594
1598
  add_permanent_claim = ROOT
1595
1599
  }
1596
1600
  lusatia_area = {
1597
1601
  limit = {
1598
1602
  NOT = { is_core = ROOT }
1599
- owned_by = ROOT
1603
+ NOT = { is_permanent_claim = ROOT }
1600
1604
  }
1601
1605
  add_permanent_claim = ROOT
1602
1606
  }
@@ -1612,7 +1616,7 @@ poland_sca_slot_3_a = {
1612
1616
  }
1613
1617
  else_if = {
1614
1618
  limit = {
1615
- valid_for_personal_unions_trigger = yes
1619
+ valid_for_personal_unions_trigger = yes
1616
1620
  HUN = {
1617
1621
  OR = {
1618
1622
  is_rival = ROOT
@@ -1625,7 +1629,7 @@ poland_sca_slot_3_a = {
1625
1629
  modifier = scornfully_insulted
1626
1630
  }
1627
1631
  }
1628
- valid_for_personal_unions_trigger = yes
1632
+ valid_for_personal_unions_trigger = yes
1629
1633
  }
1630
1634
  }
1631
1635
  add_casus_belli = {
@@ -1638,35 +1642,35 @@ poland_sca_slot_3_a = {
1638
1642
  slovakia_area = {
1639
1643
  limit = {
1640
1644
  NOT = { is_core = ROOT }
1641
- owned_by = ROOT
1645
+ NOT = { is_permanent_claim = ROOT }
1642
1646
  }
1643
1647
  add_permanent_claim = ROOT
1644
1648
  }
1645
1649
  alfold_area = {
1646
1650
  limit = {
1647
1651
  NOT = { is_core = ROOT }
1648
- owned_by = ROOT
1652
+ NOT = { is_permanent_claim = ROOT }
1649
1653
  }
1650
1654
  add_permanent_claim = ROOT
1651
1655
  }
1652
1656
  transdanubia_area = {
1653
1657
  limit = {
1654
1658
  NOT = { is_core = ROOT }
1655
- owned_by = ROOT
1659
+ NOT = { is_permanent_claim = ROOT }
1656
1660
  }
1657
1661
  add_permanent_claim = ROOT
1658
1662
  }
1659
1663
  southern_transylvania_area = {
1660
1664
  limit = {
1661
1665
  NOT = { is_core = ROOT }
1662
- owned_by = ROOT
1666
+ NOT = { is_permanent_claim = ROOT }
1663
1667
  }
1664
1668
  add_permanent_claim = ROOT
1665
1669
  }
1666
1670
  transylvania_area = {
1667
1671
  limit = {
1668
1672
  NOT = { is_core = ROOT }
1669
- owned_by = ROOT
1673
+ NOT = { is_permanent_claim = ROOT }
1670
1674
  }
1671
1675
  add_permanent_claim = ROOT
1672
1676
  }
@@ -4815,8 +4819,8 @@ poland_sca_slot_5_c = {
4815
4819
  duration = -1
4816
4820
  }
4817
4821
  }
4818
- define_advisor = {
4819
- type = natural_scientist
4822
+ generate_scaled_advisor_of_type_and_cost_effect = {
4823
+ type = natural_scientist
4820
4824
  cost_multiplier = 0.25
4821
4825
  }
4822
4826
  custom_tooltip = pol_unlock_when_plc_tt
@@ -4859,8 +4863,8 @@ poland_sca_slot_5_plc_2 = {
4859
4863
  duration = -1
4860
4864
  }
4861
4865
  }
4862
- define_advisor = {
4863
- type = natural_scientist
4866
+ generate_scaled_advisor_of_type_and_cost_effect = {
4867
+ type = natural_scientist
4864
4868
  cost_multiplier = 0.25
4865
4869
  }
4866
4870
  }
missions/SCA_Swedish_Missions.txt CHANGED
@@ -193,14 +193,14 @@ swe_scandinavian_colonialism_mission_slot = {
193
193
  jutland_area = {
194
194
  limit = {
195
195
  NOT = { is_core = ROOT }
196
- NOT = { is_claim = ROOT }
196
+ NOT = { is_permanent_claim = ROOT }
197
197
  }
198
198
  add_permanent_claim = ROOT
199
199
  }
200
200
  denmark_area = {
201
201
  limit = {
202
202
  NOT = { is_core = ROOT }
203
- NOT = { is_claim = ROOT }
203
+ NOT = { is_permanent_claim = ROOT }
204
204
  }
205
205
  add_permanent_claim = ROOT
206
206
  }
@@ -360,7 +360,10 @@ swe_scandinavian_colonialism_mission_slot = {
360
360
  OR = {
361
361
  NOT = { religion = ROOT }
362
362
  NOT = { owned_by = ROOT }
363
- has_owner_accepted_culture = no
363
+ AND = {
364
+ owned_by = ROOT
365
+ has_owner_accepted_culture = no
366
+ }
364
367
  }
365
368
  }
366
369
  trigger = {
@@ -369,7 +372,12 @@ swe_scandinavian_colonialism_mission_slot = {
369
372
  tooltip = swe_handle_the_sami_tt
370
373
  owned_by = ROOT
371
374
  religion = ROOT
372
- has_owner_accepted_culture = yes
375
+ if = {
376
+ limit = {
377
+ owned_by = ROOT
378
+ }
379
+ has_owner_accepted_culture = yes
380
+ }
373
381
  }
374
382
  type = all
375
383
  }
@@ -378,7 +386,12 @@ swe_scandinavian_colonialism_mission_slot = {
378
386
  tooltip = swe_handle_the_sami_tt
379
387
  owned_by = ROOT
380
388
  religion = ROOT
381
- has_owner_accepted_culture = yes
389
+ if = {
390
+ limit = {
391
+ owned_by = ROOT
392
+ }
393
+ has_owner_accepted_culture = yes
394
+ }
382
395
  }
383
396
  type = all
384
397
  }
@@ -387,7 +400,12 @@ swe_scandinavian_colonialism_mission_slot = {
387
400
  tooltip = swe_handle_the_sami_tt
388
401
  owned_by = ROOT
389
402
  religion = ROOT
390
- has_owner_accepted_culture = yes
403
+ if = {
404
+ limit = {
405
+ owned_by = ROOT
406
+ }
407
+ has_owner_accepted_culture = yes
408
+ }
391
409
  }
392
410
  type = all
393
411
  }
@@ -884,14 +902,14 @@ swe_diplomacy_mission_slot = {
884
902
  lower_saxony_area = {
885
903
  limit = {
886
904
  NOT = { is_core = ROOT }
887
- NOT = { is_claim = ROOT }
905
+ NOT = { is_permanent_claim = ROOT }
888
906
  }
889
907
  add_claim = ROOT
890
908
  }
891
909
  weser_area = {
892
910
  limit = {
893
911
  NOT = { is_core = ROOT }
894
- NOT = { is_claim = ROOT }
912
+ NOT = { is_permanent_claim = ROOT }
895
913
  }
896
914
  add_claim = ROOT
897
915
  }
@@ -1478,13 +1496,13 @@ swe_kalmar_union_mission_slot = {
1478
1496
  }
1479
1497
  }
1480
1498
  38 = {
1481
- if = {
1482
- limit = { NOT = { province_has_center_of_trade_of_level = 2 } }
1483
- add_center_of_trade_level = 1
1484
- }
1485
- else = {
1486
- custom_tooltip = will_upgrade_center_of_trade_to_level_2_tt
1499
+ hidden_effect = {
1500
+ if = {
1501
+ limit = { NOT = { province_has_center_of_trade_of_level = 2 } }
1502
+ add_center_of_trade_level = 1
1503
+ }
1487
1504
  }
1505
+ custom_tooltip = will_upgrade_center_of_trade_to_level_2_tt
1488
1506
  }
1489
1507
  38 = {
1490
1508
  add_base_tax = 2
@@ -2130,8 +2148,8 @@ swe_internal_slot = {
2130
2148
  effect = {
2131
2149
  add_accepted_culture_or_dip_power = { culture = novgorodian }
2132
2150
  310 = {
2133
- change_province_name = "Holmgar�r"
2134
- rename_capital = "Holmgar�r"
2151
+ change_province_name = "Hólmgarðr"
2152
+ rename_capital = "Hólmgarðr"
2135
2153
  if = {
2136
2154
  limit = {
2137
2155
  NOT = { province_has_center_of_trade_of_level = 2 }
@@ -2408,20 +2426,20 @@ swe_internal_slot = {
2408
2426
  position = 11
2409
2427
  required_missions = { swe_reforms_of_vasa }
2410
2428
  provinces_to_highlight = {
2429
+ owned_by = ROOT
2411
2430
  OR = {
2412
2431
  province_id = 28
2413
2432
  culture = finnish
2414
2433
  }
2415
2434
  OR = {
2416
2435
  AND = {
2436
+ NOT = { province_id = 28 }
2417
2437
  NOT = { development = 10 }
2418
- owned_by = ROOT
2419
2438
  }
2420
- NOT = { owned_by = ROOT }
2421
- }
2422
- AND = {
2423
- province_id = 28
2424
- NOT = { development = 15 }
2439
+ AND = {
2440
+ province_id = 28
2441
+ NOT = { development = 15 }
2442
+ }
2425
2443
  }
2426
2444
  }
2427
2445
  trigger = {
@@ -5068,8 +5086,9 @@ swe_sca_hakkapeliitta_slot = {
5068
5086
  required_missions = { swe_steel_for_the_hakkapeliitta }
5069
5087
  position = 13
5070
5088
  provinces_to_highlight = {
5071
- AND = {
5072
- culture = finnish
5089
+ owned_by = ROOT
5090
+ culture = finnish
5091
+ OR = {
5073
5092
  NOT = { development = 10 }
5074
5093
  has_manpower_building_trigger = no
5075
5094
  }
missions/SCA_Teutonic_Missions.txt CHANGED
@@ -3906,14 +3906,14 @@ teu_pru_prussia_mission_slot = {
3906
3906
  west_prussia_area = {
3907
3907
  owned_by = ROOT
3908
3908
  is_core = ROOT
3909
- num_of_times_improved_by_owner = 3
3909
+ num_of_times_improved = 3
3910
3910
  has_production_building_trigger = yes
3911
3911
  type = all
3912
3912
  }
3913
3913
  east_prussia_area = {
3914
3914
  owned_by = ROOT
3915
3915
  is_core = ROOT
3916
- num_of_times_improved_by_owner = 3
3916
+ num_of_times_improved = 3
3917
3917
  has_production_building_trigger = yes
3918
3918
  type = all
3919
3919
  }
missions/Timurid_Mughal_Missions.txt CHANGED
@@ -745,4 +745,4 @@ tim_india = {
745
745
  factor = 1000
746
746
  }
747
747
  }
748
- }
748
+ }