Diff to HTML by rtfpessoa

Files changed (10) hide show
  1. common/estate_privileges/0002_rajput_privileges.txt +36 -0
  2. common/estate_privileges/001_brahmin_privileges.txt +4 -22
  3. common/estate_privileges/01_church_privileges.txt +518 -123
  4. common/estate_privileges/02_noble_privileges.txt +1225 -111
  5. common/estate_privileges/03_burgher_privileges.txt +1377 -117
  6. common/estate_privileges/04_cossack_privileges.txt +167 -14
  7. common/estate_privileges/05_nomadic_tribe_privileges.txt +215 -3
  8. common/estate_privileges/06_dhimmi_privileges.txt +0 -56
  9. common/estate_privileges/07_jain_privileges.txt +194 -8
  10. common/estate_privileges/09_eunuchs_privileges.txt +32 -28
common/estate_privileges/0002_rajput_privileges.txt CHANGED
@@ -203,6 +203,15 @@ estate_rajput_rajput_regiments = {
203
203
  }
204
204
  benefits = {
205
205
 
206
+ }
207
+ conditional_modifier = {
208
+ trigger = {
209
+ has_country_flag = MUG_rajputana_mission_flag
210
+ }
211
+ modifier = {
212
+ max_absolutism = 5
213
+ allowed_rajput_fraction = 0.15
214
+ }
206
215
  }
207
216
  mechanics = {
208
217
  enables_rajput_regiments
@@ -1133,4 +1142,31 @@ estate_rajput_force_conscription = {
1133
1142
  ai_will_do = {
1134
1143
  factor = 0
1135
1144
  }
1145
+ }
1146
+
1147
+ estate_rajputs_MUG_rajput_mansabdars = {
1148
+ icon = privilege_promote_rajput_nobility
1149
+ influence = 0.05
1150
+ loyalty = 0.1
1151
+ is_valid = {
1152
+ has_country_flag = MUG_unlock_rajput_mansabdar_privilege_flag
1153
+ }
1154
+
1155
+ benefits = {
1156
+ free_land_leader_pool = 1
1157
+ }
1158
+ penalties = {
1159
+ nobles_influence_modifier = -0.05
1160
+ }
1161
+
1162
+ loyalty_scaled_conditional_modifier = {
1163
+ trigger = { always = yes }
1164
+ modifier = {
1165
+ manpower_recovery_speed = 0.15
1166
+ }
1167
+ }
1168
+
1169
+ ai_will_do = {
1170
+ factor = 1
1171
+ }
1136
1172
  }
common/estate_privileges/001_brahmin_privileges.txt CHANGED
@@ -489,8 +489,8 @@ estate_brahmins_supremacy_over_crown = {
489
489
  icon = privilege_royal_authority
490
490
  max_absolutism = -5
491
491
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
492
- influence = 0.1
493
- loyalty = 0.1
492
+ influence = 0.0
493
+ loyalty = 0.0
494
494
  is_valid = {
495
495
  OR = {
496
496
  has_dlc = "Emperor"
@@ -502,26 +502,8 @@ estate_brahmins_supremacy_over_crown = {
502
502
  penalties = {
503
503
  }
504
504
  benefits = {
505
- burghers_loyalty_modifier = 0.1
506
- church_loyalty_modifier = 0.1
507
- dhimmi_loyalty_modifier = 0.1
508
- cossacks_loyalty_modifier = 0.1
509
- rajput_loyalty_modifier = 0.1
510
- nobles_loyalty_modifier = 0.1
511
- maratha_loyalty_modifier = 0.1
512
- jains_loyalty_modifier = 0.1
513
- vaisyas_loyalty_modifier = 0.1
514
- nomadic_tribes_loyalty_modifier = 0.1
515
- burghers_influence_modifier = 0.1
516
- church_influence_modifier = 0.1
517
- dhimmi_influence_modifier = 0.1
518
- cossacks_influence_modifier = 0.1
519
- rajput_influence_modifier = 0.1
520
- nobles_influence_modifier = 0.1
521
- maratha_influence_modifier = 0.1
522
- jains_influence_modifier = 0.1
523
- vaisyas_influence_modifier = 0.1
524
- nomadic_tribes_influence_modifier = 0.1
505
+ all_estate_loyalty_equilibrium = 0.1
506
+ all_estate_influence_modifier = 0.1
525
507
  }
526
508
  mechanics = {
527
509
  can_give_agendas_without_interaction
common/estate_privileges/01_church_privileges.txt CHANGED
@@ -27,10 +27,6 @@ estate_church_land_rights = {
27
27
  trigger = { has_government_mechanic = russian_modernization_mechanic }
28
28
  modifier = { monthly_russian_modernization = -0.03 }
29
29
  }
30
- #conditional_modifier = {
31
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
32
- # modifier = { monthly_ottoman_decadence = 0.02 }
33
- #}
34
30
  ai_will_do = {
35
31
  factor = 5
36
32
  modifier = {
@@ -230,10 +226,13 @@ estate_church_religious_state = {
230
226
  trigger = { has_country_flag = BYZ_upgrade_the_religious_state_estate_privilege_flag }
231
227
  modifier = { stability_cost_modifier = -0.15 }
232
228
  }
233
- #conditional_modifier = {
234
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
235
- # modifier = { monthly_ottoman_decadence = 0.02 }
236
- #}
229
+ conditional_modifier = {
230
+ trigger = { has_government_attribute = GER_upgrade_religious_state }
231
+ modifier = {
232
+ tolerance_own = 1
233
+ religious_unity = 0.15
234
+ }
235
+ }
237
236
  ai_will_do = {
238
237
  factor = 100
239
238
  modifier = {
@@ -281,14 +280,14 @@ estate_church_independent_inquisition = {
281
280
  benefits = {
282
281
  adm_advisor_cost = -0.15
283
282
  }
283
+ conditional_modifier = {
284
+ trigger = { has_country_flag = hsn_appease_ulema_reward_flag }
285
+ modifier = { stability_cost_modifier = -0.1 }
286
+ }
284
287
  conditional_modifier = {
285
288
  trigger = { has_government_mechanic = russian_modernization_mechanic }
286
289
  modifier = { monthly_russian_modernization = -0.03 }
287
290
  }
288
- #conditional_modifier = {
289
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
290
- # modifier = { monthly_ottoman_decadence = 0.02 }
291
- #}
292
291
  ai_will_do = {
293
292
  factor = 9
294
293
  modifier = {
@@ -364,10 +363,6 @@ estate_church_new_world_mission = {
364
363
  trigger = { has_government_mechanic = russian_modernization_mechanic }
365
364
  modifier = { monthly_russian_modernization = -0.03 }
366
365
  }
367
- #conditional_modifier = {
368
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
369
- # modifier = { monthly_ottoman_decadence = 0.02 }
370
- #}
371
366
  ai_will_do = {
372
367
  factor = 0
373
368
  }
@@ -400,10 +395,6 @@ estate_church_papal_emissary = {
400
395
  trigger = { has_government_mechanic = russian_modernization_mechanic }
401
396
  modifier = { monthly_russian_modernization = -0.03 }
402
397
  }
403
- #conditional_modifier = {
404
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
405
- # modifier = { monthly_ottoman_decadence = 0.02 }
406
- #}
407
398
  ai_will_do = {
408
399
  factor = 10
409
400
  modifier = {
@@ -555,11 +546,22 @@ estate_church_clerical_ministers = {
555
546
  trigger = {
556
547
  has_dlc = "Cradle of Civilization"
557
548
  religion_group = muslim
549
+ NOT = { has_country_flag = MUG_upgrade_clerical_ministers_flag }
558
550
  }
559
551
  modifier = {
560
552
  monthly_piety = 0.001
561
553
  }
562
554
  }
555
+ conditional_modifier = {
556
+ trigger = {
557
+ has_dlc = "Cradle of Civilization"
558
+ religion_group = muslim
559
+ has_country_flag = MUG_upgrade_clerical_ministers_flag
560
+ }
561
+ modifier = {
562
+ monthly_piety = 0.002
563
+ }
564
+ }
563
565
  conditional_modifier = {
564
566
  trigger = {
565
567
  has_dlc = "Mandate of Heaven"
@@ -612,6 +614,17 @@ estate_church_clerical_ministers = {
612
614
  technology_cost = -0.05
613
615
  }
614
616
  }
617
+
618
+ conditional_modifier = {
619
+ trigger = {
620
+ has_country_flag = INC_modify_the_clerical_ministers_flag
621
+ }
622
+ modifier = {
623
+ monthly_divine_authority = 0.05
624
+ yearly_authority = 0.5
625
+ church_loyalty_modifier = 0.05
626
+ }
627
+ }
615
628
  penalties = {
616
629
  }
617
630
  benefits = {
@@ -620,10 +633,6 @@ estate_church_clerical_ministers = {
620
633
  trigger = { has_government_mechanic = russian_modernization_mechanic }
621
634
  modifier = { monthly_russian_modernization = -0.03 }
622
635
  }
623
- #conditional_modifier = {
624
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
625
- # modifier = { monthly_ottoman_decadence = 0.02 }
626
- #}
627
636
  ai_will_do = {
628
637
  factor = 10
629
638
  modifier = {
@@ -661,6 +670,12 @@ estate_church_freedom_of_interpretation = {
661
670
  limit = { has_estate_privilege = estate_church_clerical_ministers }
662
671
  remove_estate_privilege = estate_church_clerical_ministers
663
672
  }
673
+ else_if = {
674
+ limit = {
675
+ has_country_flag = MUG_upgrade_freedom_of_interpretation_flag
676
+ }
677
+ custom_tooltip = MUG_conditional_modifier_info
678
+ }
664
679
  else = {
665
680
  custom_tooltip = has_no_effects_on_granted
666
681
  }
@@ -673,6 +688,23 @@ estate_church_freedom_of_interpretation = {
673
688
  technology_cost = -0.05
674
689
  }
675
690
  }
691
+ conditional_modifier = {
692
+ trigger = {
693
+ has_country_flag = MUG_upgrade_freedom_of_interpretation_flag
694
+ NOT = { piety = -0.5 }
695
+ }
696
+ modifier = {
697
+ morale_damage = 0.1
698
+ }
699
+ }
700
+ conditional_modifier = {
701
+ trigger = {
702
+ has_country_flag = MUG_upgrade_freedom_of_interpretation_flag
703
+ }
704
+ modifier = {
705
+ global_unrest = -1
706
+ }
707
+ }
676
708
  penalties = {
677
709
  }
678
710
  benefits = {
@@ -682,10 +714,6 @@ estate_church_freedom_of_interpretation = {
682
714
  trigger = { has_government_mechanic = russian_modernization_mechanic }
683
715
  modifier = { monthly_russian_modernization = -0.03 }
684
716
  }
685
- #conditional_modifier = {
686
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
687
- # modifier = { monthly_ottoman_decadence = 0.02 }
688
- #}
689
717
  ai_will_do = {
690
718
  factor = 10
691
719
  modifier = {
@@ -709,10 +737,12 @@ estate_church_clerical_oversight = {
709
737
  trigger = { has_government_mechanic = russian_modernization_mechanic }
710
738
  modifier = { monthly_russian_modernization = -0.03 }
711
739
  }
712
- #conditional_modifier = {
713
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
714
- # modifier = { monthly_ottoman_decadence = 0.02 }
715
- #}
740
+ conditional_modifier = {
741
+ trigger = { has_government_attribute = MAY_max_abso_buff }
742
+ modifier = {
743
+ max_absolutism_effect = 0.15
744
+ }
745
+ }
716
746
  ai_will_do = {
717
747
  factor = 10
718
748
  modifier = {
@@ -779,10 +809,6 @@ estate_church_inwards_perfection = {
779
809
  trigger = { has_government_mechanic = russian_modernization_mechanic }
780
810
  modifier = { monthly_russian_modernization = -0.03 }
781
811
  }
782
- #conditional_modifier = {
783
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
784
- # modifier = { monthly_ottoman_decadence = 0.02 }
785
- #}
786
812
  conditional_modifier = {
787
813
  trigger = { ai = yes } #I know, this one is cheating. It would be better to teach the AI to not dow, but whatev
788
814
  modifier = {
@@ -790,6 +816,14 @@ estate_church_inwards_perfection = {
790
816
  }
791
817
  is_bad = yes
792
818
  }
819
+ influence_scaled_conditional_modifier = {
820
+ trigger = { has_country_flag = hordes_inward_perfection_buff_flag }
821
+ modifier = {
822
+ global_unrest = -2
823
+ imperial_mandate = 0.15
824
+ monthly_reform_progress_modifier = 0.2
825
+ }
826
+ }
793
827
  cooldown_years = 25
794
828
  ai_will_do = {
795
829
  factor = 1
@@ -833,10 +867,6 @@ estate_church_enforced_one_faith = {
833
867
  trigger = { has_government_mechanic = russian_modernization_mechanic }
834
868
  modifier = { monthly_russian_modernization = -0.03 }
835
869
  }
836
- #conditional_modifier = {
837
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
838
- # modifier = { monthly_ottoman_decadence = 0.02 }
839
- #}
840
870
  ai_will_do = {
841
871
  factor = 0
842
872
  }
@@ -873,10 +903,15 @@ estate_church_administrative_privileges = {
873
903
  trigger = { has_government_mechanic = russian_modernization_mechanic }
874
904
  modifier = { monthly_russian_modernization = -0.03 }
875
905
  }
876
- #conditional_modifier = {
877
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
878
- # modifier = { monthly_ottoman_decadence = 0.02 }
879
- #}
906
+ conditional_modifier = {
907
+ trigger = {
908
+ has_country_flag = oma_church_admin_privileges_buff_flag
909
+ }
910
+ modifier = {
911
+ governing_capacity_modifier = 0.1
912
+ monthly_piety_accelerator = 0.001
913
+ }
914
+ }
880
915
  ai_will_do = {
881
916
  factor = 0
882
917
  }
@@ -1140,16 +1175,36 @@ estate_church_monopoly_of_wine = {
1140
1175
  on_granted = {
1141
1176
  if = {
1142
1177
  limit = {
1143
- wine = 1
1178
+ has_country_flag = ITA_wine_monopolies_flag
1179
+ }
1180
+ if = {
1181
+ limit = {
1182
+ wine = 1
1183
+ }
1184
+ add_mercantilism = 2
1185
+ }
1186
+ add_years_of_owned_provinces_production_income = {
1187
+ years = 12
1188
+ trigger = {
1189
+ trade_goods = wine
1190
+ }
1191
+ custom_tooltip = ITA_12_years_of_income_wine
1144
1192
  }
1145
- add_mercantilism = 1
1146
1193
  }
1147
- add_years_of_owned_provinces_production_income = {
1148
- years = 8
1149
- trigger = {
1150
- trade_goods = wine
1194
+ else = {
1195
+ if = {
1196
+ limit = {
1197
+ wine = 1
1198
+ }
1199
+ add_mercantilism = 1
1200
+ }
1201
+ add_years_of_owned_provinces_production_income = {
1202
+ years = 8
1203
+ trigger = {
1204
+ trade_goods = wine
1205
+ }
1206
+ custom_tooltip = MONOPOLY_INCOME_WINE_DESC
1151
1207
  }
1152
- custom_tooltip = MONOPOLY_INCOME_WINE_DESC
1153
1208
  }
1154
1209
  custom_tooltip = estate_church_monopoly_of_wine_effect_tooltip
1155
1210
  }
@@ -1435,10 +1490,6 @@ estate_church_for_the_faith = {
1435
1490
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1436
1491
  modifier = { monthly_russian_modernization = -0.03 }
1437
1492
  }
1438
- #conditional_modifier = {
1439
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1440
- # modifier = { monthly_ottoman_decadence = 0.02 }
1441
- #}
1442
1493
  ai_will_do = {
1443
1494
  factor = 0
1444
1495
  }
@@ -1467,10 +1518,6 @@ estate_church_statutory_rights = {
1467
1518
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1468
1519
  modifier = { monthly_russian_modernization = -0.03 }
1469
1520
  }
1470
- #conditional_modifier = {
1471
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1472
- # modifier = { monthly_ottoman_decadence = 0.02 }
1473
- #}
1474
1521
  ai_will_do = {
1475
1522
  factor = 0
1476
1523
  }
@@ -1555,10 +1602,6 @@ estate_church_brahmins_at_court = {
1555
1602
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1556
1603
  modifier = { monthly_russian_modernization = -0.03 }
1557
1604
  }
1558
- #conditional_modifier = {
1559
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1560
- # modifier = { monthly_ottoman_decadence = 0.02 }
1561
- #}
1562
1605
  ai_will_do = {
1563
1606
  factor = 1000
1564
1607
  }
@@ -1609,10 +1652,6 @@ estate_church_karma_temples = {
1609
1652
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1610
1653
  modifier = { monthly_russian_modernization = -0.03 }
1611
1654
  }
1612
- #conditional_modifier = {
1613
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1614
- # modifier = { monthly_ottoman_decadence = 0.02 }
1615
- #}
1616
1655
  ai_will_do = {
1617
1656
  factor = 10
1618
1657
  }
@@ -1641,10 +1680,6 @@ estate_church_influence_temples = {
1641
1680
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1642
1681
  modifier = { monthly_russian_modernization = -0.03 }
1643
1682
  }
1644
- #conditional_modifier = {
1645
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1646
- # modifier = { monthly_ottoman_decadence = 0.02 }
1647
- #}
1648
1683
  ai_will_do = {
1649
1684
  factor = 10
1650
1685
  }
@@ -1719,10 +1754,6 @@ estate_church_lao_animism = {
1719
1754
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1720
1755
  modifier = { monthly_russian_modernization = -0.03 }
1721
1756
  }
1722
- #conditional_modifier = {
1723
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1724
- # modifier = { monthly_ottoman_decadence = 0.02 }
1725
- #}
1726
1757
  ai_will_do = {
1727
1758
  factor = 1000
1728
1759
  }
@@ -1732,6 +1763,43 @@ estate_church_religious_diplomats = {
1732
1763
  icon = privilege_religious_diplomats
1733
1764
  max_absolutism = -10
1734
1765
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
1766
+ conditional_modifier = {
1767
+ trigger = {
1768
+ has_country_flag = ITA_religious_diplomats_flag
1769
+ }
1770
+ modifier = {
1771
+ max_absolutism = 10
1772
+ }
1773
+ }
1774
+ conditional_modifier = {
1775
+ trigger = {
1776
+ has_country_flag = hun_empower_religious_diplomats
1777
+ }
1778
+ modifier = {
1779
+ relation_with_same_religion = 10
1780
+ reverse_relation_with_same_religion = 10
1781
+ }
1782
+ }
1783
+ conditional_modifier = {
1784
+ trigger = {
1785
+ has_country_flag = ITA_religious_diplomats_flag
1786
+ any_ally = {
1787
+ religion = coptic
1788
+ }
1789
+ }
1790
+ modifier = {
1791
+ tolerance_heretic = 2
1792
+ }
1793
+ }
1794
+ conditional_modifier = {
1795
+ trigger = {
1796
+ has_country_flag = TIM_religious_diplomats_hanbali
1797
+ has_country_modifier = hanbali_scholar_modifier
1798
+ }
1799
+ modifier = {
1800
+ tolerance_own = 1
1801
+ }
1802
+ }
1735
1803
  influence = 0.1
1736
1804
  loyalty = 0
1737
1805
  is_valid = {
@@ -1740,6 +1808,18 @@ estate_church_religious_diplomats = {
1740
1808
  }
1741
1809
  on_granted = {
1742
1810
  #add_increase_same_religion_opinion = yes
1811
+ if = {
1812
+ limit = {
1813
+ has_country_flag = ITA_religious_diplomats_flag
1814
+ }
1815
+ custom_tooltip = ITA_having_a_coptic_ally
1816
+ }
1817
+ if = {
1818
+ limit = {
1819
+ has_country_flag = TIM_religious_diplomats_hanbali
1820
+ }
1821
+ custom_tooltip = TIM_hanbali_scholar
1822
+ }
1743
1823
  }
1744
1824
  on_revoked = {
1745
1825
  #remove_increase_same_religion_opinion = yes
@@ -1750,9 +1830,28 @@ estate_church_religious_diplomats = {
1750
1830
  penalties = {
1751
1831
  }
1752
1832
  benefits = {
1753
- diplomatic_reputation = 1
1754
- relation_with_same_religion = 10
1755
- reverse_relation_with_same_religion = 10
1833
+
1834
+ }
1835
+ conditional_modifier = { #That way the modifiers won't seem duplicated
1836
+ trigger = {
1837
+ NOT = { has_country_flag = orm_religious_diplomats_buff_flag }
1838
+ }
1839
+ modifier = {
1840
+ diplomatic_reputation = 1
1841
+ relation_with_same_religion = 10
1842
+ reverse_relation_with_same_religion = 10
1843
+ }
1844
+ }
1845
+ conditional_modifier = {
1846
+ trigger = {
1847
+ has_country_flag = orm_religious_diplomats_buff_flag
1848
+ }
1849
+ modifier = {
1850
+ diplomatic_reputation = 2
1851
+ relation_with_same_religion = 20
1852
+ reverse_relation_with_same_religion = 20
1853
+ improve_relation_modifier = 0.1
1854
+ }
1756
1855
  }
1757
1856
  conditional_modifier = {
1758
1857
  trigger = {
@@ -1780,10 +1879,6 @@ estate_church_religious_diplomats = {
1780
1879
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1781
1880
  modifier = { monthly_russian_modernization = -0.03 }
1782
1881
  }
1783
- #conditional_modifier = {
1784
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1785
- # modifier = { monthly_ottoman_decadence = 0.02 }
1786
- #}
1787
1882
  ai_will_do = {
1788
1883
  factor = 1 #The privilege is a little bit too niche to be really usable for the AI
1789
1884
  modifier = {
@@ -1808,7 +1903,15 @@ estate_church_one_faith_one_culture = {
1808
1903
  can_select = {
1809
1904
  }
1810
1905
  on_granted = {
1811
- custom_tooltip = estate_church_one_faith_one_culture_gta
1906
+ if = {
1907
+ limit = {
1908
+ has_country_flag = hormuz_religious_propagations_buffs_flag
1909
+ }
1910
+ custom_tooltip = estate_church_one_faith_one_culture_buffed_gta
1911
+ }
1912
+ else = {
1913
+ custom_tooltip = estate_church_one_faith_one_culture_gta
1914
+ }
1812
1915
  custom_tooltip = estate_church_one_faith_one_culture_gtb
1813
1916
  }
1814
1917
  on_granted_province = {
@@ -1834,9 +1937,20 @@ estate_church_one_faith_one_culture = {
1834
1937
  culture_group = ROOT
1835
1938
  }
1836
1939
  }
1837
- add_province_modifier = {
1838
- name = estate_church_united_faith_and_culture
1839
- duration = -1
1940
+ if = {
1941
+ limit = {
1942
+ owner = { has_country_flag = hormuz_religious_propagations_buffs_flag }
1943
+ }
1944
+ add_province_modifier = {
1945
+ name = orm_religious_culture_buff
1946
+ duration = -1
1947
+ }
1948
+ }
1949
+ else = {
1950
+ add_province_modifier = {
1951
+ name = estate_church_united_faith_and_culture
1952
+ duration = -1
1953
+ }
1840
1954
  }
1841
1955
  }
1842
1956
  else_if = {
@@ -1879,6 +1993,12 @@ estate_church_one_faith_one_culture = {
1879
1993
  }
1880
1994
  remove_province_modifier = estate_church_false_culture
1881
1995
  }
1996
+ if = {
1997
+ limit = {
1998
+ has_province_modifier = orm_religious_culture_buff
1999
+ }
2000
+ remove_province_modifier = orm_religious_culture_buff
2001
+ }
1882
2002
  }
1883
2003
  on_invalid = {
1884
2004
  custom_tooltip = estate_church_one_faith_one_culture_rta
@@ -1897,6 +2017,12 @@ estate_church_one_faith_one_culture = {
1897
2017
  }
1898
2018
  remove_province_modifier = estate_church_false_culture
1899
2019
  }
2020
+ if = {
2021
+ limit = {
2022
+ has_province_modifier = orm_religious_culture_buff
2023
+ }
2024
+ remove_province_modifier = orm_religious_culture_buff
2025
+ }
1900
2026
  }
1901
2027
  penalties = {
1902
2028
  tolerance_heathen = -2
@@ -1929,10 +2055,6 @@ estate_church_one_faith_one_culture = {
1929
2055
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1930
2056
  modifier = { monthly_russian_modernization = -0.03 }
1931
2057
  }
1932
- #conditional_modifier = {
1933
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1934
- # modifier = { monthly_ottoman_decadence = 0.02 }
1935
- #}
1936
2058
  cooldown_years = 15
1937
2059
  ai_will_do = {
1938
2060
  factor = 10
@@ -1965,6 +2087,7 @@ estate_church_one_faith_one_culture = {
1965
2087
  }
1966
2088
  }
1967
2089
 
2090
+
1968
2091
  ###FETISHIST PRIVILEGES###
1969
2092
  #Privilege to enable cults for heirs
1970
2093
  estate_church_heir_shrine = {
@@ -2110,7 +2233,6 @@ estate_church_scholar_connections = {
2110
2233
  influence = 0.05
2111
2234
  loyalty = 0
2112
2235
  is_valid = {
2113
- NOT = { has_country_flag = enabled_baseline_invite_scholar_no_priv }
2114
2236
  religion_group = muslim
2115
2237
  has_dlc = "Cradle of Civilization"
2116
2238
  }
@@ -2133,10 +2255,6 @@ estate_church_scholar_connections = {
2133
2255
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2134
2256
  modifier = { monthly_russian_modernization = -0.03 }
2135
2257
  }
2136
- #conditional_modifier = {
2137
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2138
- # modifier = { monthly_ottoman_decadence = 0.02 }
2139
- #}
2140
2258
  ai_will_do = {
2141
2259
  factor = 15
2142
2260
  modifier = {
@@ -2154,6 +2272,7 @@ estate_church_integrated_school = {
2154
2272
  influence = 0.05
2155
2273
  loyalty = 0
2156
2274
  is_valid = {
2275
+ NOT = { has_country_flag = enabled_baseline_invite_scholar_no_priv }
2157
2276
  religion_group = muslim
2158
2277
  has_dlc = "Cradle of Civilization"
2159
2278
  }
@@ -2176,10 +2295,6 @@ estate_church_integrated_school = {
2176
2295
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2177
2296
  modifier = { monthly_russian_modernization = -0.03 }
2178
2297
  }
2179
- #conditional_modifier = {
2180
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2181
- # modifier = { monthly_ottoman_decadence = 0.02 }
2182
- #}
2183
2298
  ai_will_do = {
2184
2299
  factor = 15
2185
2300
  modifier = {
@@ -2530,10 +2645,6 @@ estate_church_development_of_temples = {
2530
2645
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2531
2646
  modifier = { monthly_russian_modernization = -0.03 }
2532
2647
  }
2533
- #conditional_modifier = {
2534
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2535
- # modifier = { monthly_ottoman_decadence = 0.02 }
2536
- #}
2537
2648
  ai_will_do = {
2538
2649
  factor = 0
2539
2650
  }
@@ -2583,10 +2694,15 @@ estate_church_expand_the_theology = {
2583
2694
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2584
2695
  modifier = { monthly_russian_modernization = -0.03 }
2585
2696
  }
2586
- #conditional_modifier = {
2587
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2588
- # modifier = { monthly_ottoman_decadence = 0.02 }
2589
- #}
2697
+ influence_scaled_conditional_modifier = {
2698
+ trigger = {
2699
+ has_country_flag = ned_buff_clerical_studies
2700
+ }
2701
+ modifier = {
2702
+ tolerance_heretic = 2
2703
+ relation_with_heretics = 30
2704
+ }
2705
+ }
2590
2706
  ai_will_do = {
2591
2707
  factor = 0
2592
2708
  }
@@ -2665,10 +2781,6 @@ estate_church_clerical_education = {
2665
2781
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2666
2782
  modifier = { monthly_russian_modernization = -0.03 }
2667
2783
  }
2668
- #conditional_modifier = {
2669
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2670
- # modifier = { monthly_ottoman_decadence = 0.02 }
2671
- #}
2672
2784
  ai_will_do = {
2673
2785
  factor = 5
2674
2786
  modifier = {
@@ -2723,10 +2835,6 @@ estate_church_religious_delegation = {
2723
2835
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2724
2836
  modifier = { monthly_russian_modernization = -0.03 }
2725
2837
  }
2726
- #conditional_modifier = {
2727
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2728
- # modifier = { monthly_ottoman_decadence = 0.02 }
2729
- #}
2730
2838
  ai_will_do = {
2731
2839
  factor = 10
2732
2840
  modifier = {
@@ -2744,6 +2852,14 @@ estate_church_institutionalized_clergy = {
2744
2852
  is_valid = {
2745
2853
  has_dlc = "Domination"
2746
2854
  }
2855
+ conditional_modifier = {
2856
+ trigger = {
2857
+ has_country_flag = MAY_upgrade_institutionalized_clergy_privilege_flag
2858
+ }
2859
+ modifier = {
2860
+ religious_unity = 0.1
2861
+ }
2862
+ }
2747
2863
  on_granted = {
2748
2864
  enable_estate_action = {
2749
2865
  estate_action = SEEK_SUPPORT_OF_CLERGY_CHURCH
@@ -2763,10 +2879,6 @@ estate_church_institutionalized_clergy = {
2763
2879
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2764
2880
  modifier = { monthly_russian_modernization = -0.03 }
2765
2881
  }
2766
- #conditional_modifier = {
2767
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2768
- # modifier = { monthly_ottoman_decadence = 0.02 }
2769
- #}
2770
2882
  ai_will_do = {
2771
2883
  factor = 1
2772
2884
  modifier = {
@@ -2821,10 +2933,6 @@ estate_church_donation_right = {
2821
2933
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2822
2934
  modifier = { monthly_russian_modernization = -0.03 }
2823
2935
  }
2824
- #conditional_modifier = {
2825
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2826
- # modifier = { monthly_ottoman_decadence = 0.02 }
2827
- #}
2828
2936
  ai_will_do = {
2829
2937
  factor = 10
2830
2938
  modifier = {
@@ -3090,4 +3198,291 @@ estate_church_sponsor_waqf_payments = {
3090
3198
  ai_will_do = {
3091
3199
  factor = 10
3092
3200
  }
3201
+ }
3202
+
3203
+ estate_church_INC_idol_making = {
3204
+ icon = privilege_golden_idols
3205
+ max_absolutism = -5
3206
+ conditional_modifier = {
3207
+ trigger = {
3208
+ has_absolutism_reduction_for_estate_privileges = yes
3209
+ }
3210
+ modifier = { max_absolutism = 1 }
3211
+ }
3212
+ conditional_modifier = {
3213
+ trigger = {
3214
+ has_country_flag = INC_upgrade_idol_estate_privilege_flag
3215
+ }
3216
+ modifier = { max_absolutism = 5 }
3217
+ }
3218
+ influence = 0
3219
+ loyalty = 0.1
3220
+ is_valid = {
3221
+ has_country_flag = INC_unlock_the_idol_privilege_flag
3222
+ }
3223
+ can_select = {
3224
+ trade_goods_produced_amount = {
3225
+ trade_goods = gold
3226
+ amount = 1
3227
+ }
3228
+ }
3229
+ on_granted = {
3230
+ custom_tooltip = INC_every_gold_province
3231
+ tooltip = {
3232
+ add_province_modifier = {
3233
+ name = INC_gold_debuff
3234
+ duration = -1
3235
+ }
3236
+ }
3237
+ }
3238
+ on_granted_province = {
3239
+ if = {
3240
+ limit = {
3241
+ trade_goods = gold
3242
+ }
3243
+ add_province_modifier = {
3244
+ name = INC_gold_debuff
3245
+ duration = -1
3246
+ }
3247
+ }
3248
+ }
3249
+ on_revoked = {
3250
+ custom_tooltip = INC_gold_income_return_to_normal
3251
+ hidden_effect = {
3252
+ every_owned_province = {
3253
+ remove_province_modifier = INC_gold_debuff
3254
+ }
3255
+ }
3256
+ }
3257
+ on_invalid = {
3258
+ custom_tooltip = INC_gold_income_return_to_normal
3259
+ hidden_effect = {
3260
+ every_owned_province = {
3261
+ remove_province_modifier = INC_gold_debuff
3262
+ }
3263
+ }
3264
+ }
3265
+ conditional_modifier = {
3266
+ trigger = {
3267
+ NOT = { has_country_flag = INC_upgrade_idol_estate_privilege_flag }
3268
+ }
3269
+ modifier = {
3270
+ monthly_divine_authority = 0.05
3271
+ yearly_authority = 0.5
3272
+ tolerance_own = 1
3273
+ same_religion_advisor_cost = -0.1
3274
+ }
3275
+ }
3276
+ conditional_modifier = {
3277
+ trigger = {
3278
+ has_country_flag = INC_upgrade_idol_estate_privilege_flag
3279
+ }
3280
+ modifier = {
3281
+ monthly_divine_authority = 0.1
3282
+ yearly_authority = 1
3283
+ tolerance_own = 2
3284
+ same_religion_advisor_cost = -0.2
3285
+ }
3286
+ }
3287
+ ai_will_do = {
3288
+ factor = 100
3289
+ modifier = {
3290
+ factor = 0
3291
+ is_absolutism_active = yes
3292
+ }
3293
+ }
3294
+ }
3295
+
3296
+ estate_church_MAY_cocoa_monopoly = {
3297
+ icon = privilege_monopoly_of_cocoa
3298
+ loyalty = 0.1
3299
+ influence = 0
3300
+ max_absolutism = -10
3301
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
3302
+ is_valid = {
3303
+ has_country_flag = MAY_cocoa_monopoly_flag
3304
+ any_owned_province = {
3305
+ trade_goods = cocoa
3306
+ }
3307
+ }
3308
+ on_granted = {
3309
+ if = {
3310
+ limit = {
3311
+ cocoa = 1
3312
+ }
3313
+ add_mercantilism = 1
3314
+ }
3315
+ add_years_of_owned_provinces_production_income = {
3316
+ years = 12
3317
+ trigger = {
3318
+ trade_goods = cocoa
3319
+ }
3320
+ custom_tooltip = MAY_MONOPOLY_COCOA_FROM_COCOA
3321
+ }
3322
+ custom_tooltip = estate_church_MAY_cocoa_monopoly_effect_tooltip
3323
+ }
3324
+ on_granted_province = {
3325
+ if = {
3326
+ limit = {
3327
+ trade_goods = cocoa
3328
+ }
3329
+ add_province_modifier = {
3330
+ name = estate_church_MAY_cocoa_monopoly_mod
3331
+ duration = -1
3332
+ }
3333
+ }
3334
+ else_if = {
3335
+ limit = {
3336
+ has_province_modifier = estate_church_MAY_cocoa_monopoly_mod
3337
+ }
3338
+ remove_province_modifier = estate_church_MAY_cocoa_monopoly_mod
3339
+ }
3340
+ }
3341
+ on_revoked = {
3342
+ custom_tooltip = estate_church_MAY_cocoa_monopoly_revoke_tooltip
3343
+ }
3344
+ on_revoked_province = {
3345
+ if = {
3346
+ limit = {
3347
+ has_province_modifier = estate_church_MAY_cocoa_monopoly_mod
3348
+ }
3349
+ remove_province_modifier = estate_church_MAY_cocoa_monopoly_mod
3350
+ }
3351
+ }
3352
+ on_invalid = {
3353
+ custom_tooltip = estate_church_MAY_cocoa_monopoly_revoke_tooltip
3354
+ }
3355
+ on_invalid_province = {
3356
+ if = {
3357
+ limit = {
3358
+ has_province_modifier = estate_church_MAY_cocoa_monopoly_mod
3359
+ }
3360
+ remove_province_modifier = estate_church_MAY_cocoa_monopoly_mod
3361
+ }
3362
+ }
3363
+ penalties = {
3364
+ }
3365
+ benefits = {
3366
+ }
3367
+ cooldown_years = 10
3368
+ conditional_modifier = {
3369
+ trigger = {
3370
+ has_country_flag = buffed_monopolies
3371
+ }
3372
+ modifier = {
3373
+ max_absolutism = 10
3374
+ church_privilege_slots = 1
3375
+ }
3376
+ }
3377
+ on_cooldown_expires = {
3378
+ country_event = { id = flavor_may.9 }
3379
+ }
3380
+ ai_will_do = {
3381
+ factor = 1
3382
+ }
3383
+ }
3384
+
3385
+ estate_church_religious_tolerance = {
3386
+ icon = privilege_nomadic_tolerance
3387
+ max_absolutism = -10
3388
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
3389
+ loyalty = 0.05
3390
+ influence = 0.1
3391
+ is_valid = {
3392
+ has_country_flag = hordes_religious_tolerance_tribal_privilege_flag
3393
+ }
3394
+ can_select = {
3395
+ NOT = { has_estate_privilege = estate_nomadic_tribes_religious_tolerance }
3396
+ }
3397
+ loyalty_scaled_conditional_modifier = {
3398
+ trigger = { always = yes }
3399
+ modifier = {
3400
+ tolerance_heathen = 1
3401
+ tolerance_heretic = 1
3402
+ }
3403
+ }
3404
+ ai_will_do = {
3405
+ factor = 0
3406
+ }
3407
+ }
3408
+
3409
+ estate_church_TIM_yasa_supremacy = {
3410
+ icon = privilege_aged_paper
3411
+ max_absolutism = 0
3412
+ influence = 0.0
3413
+ loyalty = -0.1
3414
+ is_valid = {
3415
+ OR = {
3416
+ tag = TIM
3417
+ was_tag = TIM
3418
+ }
3419
+ NOT = { has_country_flag = estate_church_TIM_yasa_supremacy_revoked }
3420
+ }
3421
+ penalties = {
3422
+ tolerance_own = -1
3423
+ religious_unity = -0.15
3424
+ }
3425
+ benefits = {
3426
+ cavalry_power = 0.05
3427
+ nobles_influence_modifier = 0.05
3428
+ }
3429
+ can_revoke = {
3430
+ custom_trigger_tooltip = {
3431
+ tooltip = BYZ_revokable_via_decision
3432
+ always = no
3433
+ }
3434
+ }
3435
+ ai_will_do = {
3436
+ factor = 0
3437
+ }
3438
+ }
3439
+
3440
+ estate_church_TIM_promote_ijazah = {
3441
+ icon = estate_church_fund_dar_al_hadith
3442
+ max_absolutism = -5
3443
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3444
+ influence = 0.05
3445
+ loyalty = 0.1
3446
+ land_share = 3
3447
+ is_valid = {
3448
+ has_country_flag = TIM_unlock_privilege_for_innovativeness_gain_flag
3449
+ }
3450
+ mechanics = {
3451
+ exempt_from_seize_land
3452
+ }
3453
+ loyalty_scaled_conditional_modifier = {
3454
+ trigger = {
3455
+ always = yes
3456
+ }
3457
+ modifier = {
3458
+ yearly_innovativeness = 0.5
3459
+ }
3460
+ }
3461
+ on_granted = {
3462
+ scaling_with_loyalty_privilege_tooltip = {
3463
+ estate_privilege = estate_church_TIM_promote_ijazah
3464
+ }
3465
+ }
3466
+ ai_will_do = {
3467
+ factor = 1
3468
+ }
3469
+ }
3470
+
3471
+ estate_church_MUG_promote_divine_religion = {
3472
+ icon = privilege_legitimacy
3473
+ loyalty = -0.1
3474
+ max_absolutism = 10
3475
+ is_valid = {
3476
+ has_country_flag = MUG_promote_din_i_ilahi_flag
3477
+ }
3478
+ penalties = {
3479
+ religious_unity = -0.1
3480
+ }
3481
+ benefits = {
3482
+ yearly_absolutism = 1
3483
+ }
3484
+
3485
+ ai_will_do = {
3486
+ factor = 0 #AI will not be able to handle this
3487
+ }
3093
3488
  }
common/estate_privileges/02_noble_privileges.txt CHANGED
@@ -34,10 +34,6 @@ estate_nobles_land_rights = {
34
34
  trigger = { has_government_mechanic = russian_modernization_mechanic }
35
35
  modifier = { monthly_russian_modernization = -0.05 }
36
36
  }
37
- #conditional_modifier = {
38
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
39
- # modifier = { monthly_ottoman_decadence = 0.02 }
40
- #}
41
37
  ai_will_do = {
42
38
  factor = 5
43
39
  modifier = {
@@ -233,10 +229,14 @@ estate_nobles_nobility_primacy = {
233
229
  trigger = { has_government_mechanic = russian_modernization_mechanic }
234
230
  modifier = { monthly_russian_modernization = -0.05 }
235
231
  }
236
- #conditional_modifier = {
237
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
238
- # modifier = { monthly_ottoman_decadence = 0.02 }
239
- #}
232
+ conditional_modifier = {
233
+ trigger = { has_country_flag = GER_upgrade_primacy_of_the_nobility_flag }
234
+ modifier = { mil_tech_cost_modifier = -0.1 }
235
+ }
236
+ conditional_modifier = {
237
+ trigger = { has_country_flag = azt_imperial_tributes_flag }
238
+ modifier = { monarch_power_tribute = 1 }
239
+ }
240
240
  ai_will_do = {
241
241
  factor = 100
242
242
  modifier = {
@@ -286,25 +286,62 @@ estate_nobles_officer_corp = {
286
286
  NOT = { has_estate = estate_qizilbash }
287
287
  }
288
288
  can_select = {
289
- army_tradition = 30
289
+ if = {
290
+ limit = {
291
+ NOT = { has_country_flag = azt_free_officer_corp_flag }
292
+ }
293
+ army_tradition = 30
294
+ }
290
295
  }
291
296
  on_granted = {
292
- add_army_tradition = -5
297
+ if = {
298
+ limit = {
299
+ NOT = { has_country_flag = azt_free_officer_corp_flag }
300
+ }
301
+ add_army_tradition = -5
302
+ }
303
+ if = {
304
+ limit = {
305
+ has_country_flag = hab_military_reform_flag
306
+ }
307
+ custom_tooltip = HAB_WHEN_AT_WAR_GRANT_MORALE
308
+ }
293
309
  }
294
310
  penalties = {
295
311
  }
296
312
  benefits = {
297
- general_cost = -0.1
298
313
  army_tradition_decay = -0.005
299
314
  }
315
+ conditional_modifier = {
316
+ trigger = {
317
+ NOT = { has_country_flag = TIM_upgrade_amirs_in_officer_corps_mission_flag }
318
+ }
319
+ modifier = {
320
+ general_cost = -0.1
321
+ }
322
+ }
323
+ conditional_modifier = {
324
+ trigger = { has_country_flag = TIM_upgrade_amirs_in_officer_corps_mission_flag }
325
+ modifier = {
326
+ general_cost = -0.2
327
+ movement_speed = 0.05
328
+ }
329
+ }
300
330
  conditional_modifier = {
301
331
  trigger = { has_government_mechanic = russian_modernization_mechanic }
302
332
  modifier = { monthly_russian_modernization = -0.05 }
303
333
  }
304
- #conditional_modifier = {
305
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
306
- # modifier = { monthly_ottoman_decadence = 0.02 }
307
- #}
334
+ conditional_modifier = {
335
+ trigger = { has_country_flag = feo_buff_nobility_officer_corp_flag }
336
+ modifier = { global_regiment_cost = -0.1 }
337
+ }
338
+ conditional_modifier = {
339
+ trigger = {
340
+ has_country_flag = hab_military_reform_flag
341
+ is_at_war = yes
342
+ }
343
+ modifier = { land_morale = 0.1 }
344
+ }
308
345
  ai_will_do = {
309
346
  factor = 0
310
347
  }
@@ -335,10 +372,32 @@ estate_nobles_levies = {
335
372
  NOT = { has_estate_privilege = estate_maratha_levies_for_muslims }
336
373
  }
337
374
  }
375
+ on_granted = {
376
+ if = {
377
+ limit = { has_country_flag = azt_noble_levies_loyalty_buff_flag }
378
+ custom_tooltip = azt_estate_nobles_levies_scaled_modifier_tt
379
+ }
380
+ }
338
381
  modifier_by_land_ownership = {
339
382
  global_tax_modifier = -0.10
340
383
  global_manpower_modifier = 0.5
341
384
  }
385
+ influence_scaled_conditional_modifier = {
386
+ trigger = {
387
+ has_country_flag = azt_buff_noble_levies_flag
388
+ }
389
+ modifier = {
390
+ global_regiment_cost = -0.1
391
+ }
392
+ }
393
+ loyalty_scaled_conditional_modifier = {
394
+ trigger = {
395
+ has_country_flag = azt_noble_levies_loyalty_buff_flag
396
+ }
397
+ modifier = {
398
+ global_manpower_modifier = 0.15
399
+ }
400
+ }
342
401
  penalties = {
343
402
  }
344
403
  mechanics = {
@@ -357,10 +416,6 @@ estate_nobles_levies = {
357
416
  trigger = { has_government_mechanic = russian_modernization_mechanic }
358
417
  modifier = { monthly_russian_modernization = -0.05 }
359
418
  }
360
- #conditional_modifier = {
361
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
362
- # modifier = { monthly_ottoman_decadence = 0.02 }
363
- #}
364
419
  ai_will_do = {
365
420
  factor = 5
366
421
  modifier = {
@@ -442,10 +497,6 @@ estate_nobles_advisors = {
442
497
  trigger = { has_government_mechanic = russian_modernization_mechanic }
443
498
  modifier = { monthly_russian_modernization = -0.05 }
444
499
  }
445
- #conditional_modifier = {
446
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
447
- # modifier = { monthly_ottoman_decadence = 0.02 }
448
- #}
449
500
  ai_will_do = {
450
501
  factor = 9
451
502
  modifier = {
@@ -473,10 +524,6 @@ estate_nobles_right_of_counsel = {
473
524
  trigger = { has_government_mechanic = russian_modernization_mechanic }
474
525
  modifier = { monthly_russian_modernization = -0.05 }
475
526
  }
476
- #conditional_modifier = {
477
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
478
- # modifier = { monthly_ottoman_decadence = 0.02 }
479
- #}
480
527
  ai_will_do = {
481
528
  factor = 10
482
529
  modifier = {
@@ -492,6 +539,7 @@ estate_nobles_french_strong_duchies = {
492
539
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
493
540
  loyalty = 0.1
494
541
  influence = 0.1
542
+ check_valid_when_tag_switching = no
495
543
  is_valid = {
496
544
  OR = {
497
545
  has_estate_privilege = estate_nobles_french_strong_duchies
@@ -580,8 +628,8 @@ estate_nobles_supremacy_over_crown = {
580
628
  icon = privilege_empty_throne
581
629
  max_absolutism = -5
582
630
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
583
- influence = 0.1
584
- loyalty = 0.1
631
+ influence = 0.0
632
+ loyalty = 0.0
585
633
  is_valid = {
586
634
  has_dlc = "Emperor"
587
635
  NOT = { has_government_attribute = blocked_call_diet }
@@ -592,38 +640,20 @@ estate_nobles_supremacy_over_crown = {
592
640
  penalties = {
593
641
  }
594
642
  benefits = {
595
- burghers_loyalty_modifier = 0.1
596
- church_loyalty_modifier = 0.1
597
- dhimmi_loyalty_modifier = 0.1
598
- cossacks_loyalty_modifier = 0.1
599
- rajput_loyalty_modifier = 0.1
600
- brahmins_hindu_loyalty_modifier = 0.1
601
- brahmins_muslim_loyalty_modifier = 0.1
602
- brahmins_other_loyalty_modifier = 0.1
603
- maratha_loyalty_modifier = 0.1
604
- jains_loyalty_modifier = 0.1
605
- vaisyas_loyalty_modifier = 0.1
606
- nomadic_tribes_loyalty_modifier = 0.1
607
- janissaries_loyalty_modifier = 0.1
608
- eunuchs_loyalty_modifier = 0.1
609
- qizilbash_loyalty_modifier = 0.1
610
- ghulams_loyalty_modifier = 0.1
611
- burghers_influence_modifier = 0.1
612
- church_influence_modifier = 0.1
613
- dhimmi_influence_modifier = 0.1
614
- cossacks_influence_modifier = 0.1
615
- rajput_influence_modifier = 0.1
616
- brahmins_hindu_influence_modifier = 0.1
617
- brahmins_muslim_influence_modifier = 0.1
618
- brahmins_other_influence_modifier = 0.1
619
- maratha_influence_modifier = 0.1
620
- jains_influence_modifier = 0.1
621
- vaisyas_influence_modifier = 0.1
622
- nomadic_tribes_influence_modifier = 0.1
623
- janissaries_influence_modifier = 0.1
624
- eunuchs_influence_modifier = 0.1
625
- qizilbash_influence_modifier = 0.1
626
- ghulams_influence_modifier = 0.1
643
+ all_estate_loyalty_equilibrium = 0.1
644
+ all_estate_influence_modifier = 0.1
645
+ }
646
+ loyalty_scaled_conditional_modifier = {
647
+ trigger = {
648
+ has_country_flag = hab_second_option_flag
649
+ estate_influence = {
650
+ estate = estate_nobles
651
+ influence = 80
652
+ }
653
+ }
654
+ modifier = {
655
+ global_manpower_modifier = 0.2
656
+ }
627
657
  }
628
658
  mechanics = {
629
659
  can_give_agendas_without_interaction
@@ -632,10 +662,7 @@ estate_nobles_supremacy_over_crown = {
632
662
  trigger = { has_government_mechanic = russian_modernization_mechanic }
633
663
  modifier = { monthly_russian_modernization = -0.05 }
634
664
  }
635
- #conditional_modifier = {
636
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
637
- # modifier = { monthly_ottoman_decadence = 0.02 }
638
- #}
665
+
639
666
  ai_will_do = {
640
667
  factor = 10
641
668
  }
@@ -1001,11 +1028,27 @@ estate_nobles_junker_primacy = {
1001
1028
  penalties = {
1002
1029
  #all_power_cost = 0.05
1003
1030
  }
1004
- benefits = {
1005
- monthly_militarized_society = 0.03
1006
- monthly_prussian_militarized_society_1 = 0.02
1007
- monthly_prussian_militarized_society_2 = 0.05
1008
- monthly_prussian_militarized_society_3 = 0.075
1031
+ conditional_modifier = {
1032
+ trigger = {
1033
+ has_country_flag = GER_upgrade_the_junker_primacy_flag
1034
+ }
1035
+ modifier = {
1036
+ monthly_militarized_society = 0.06
1037
+ monthly_prussian_militarized_society_1 = 0.04
1038
+ monthly_prussian_militarized_society_2 = 0.1
1039
+ monthly_prussian_militarized_society_3 = 0.15
1040
+ }
1041
+ }
1042
+ conditional_modifier = {
1043
+ trigger = {
1044
+ NOT = { has_country_flag = GER_upgrade_the_junker_primacy_flag }
1045
+ }
1046
+ modifier = {
1047
+ monthly_militarized_society = 0.03
1048
+ monthly_prussian_militarized_society_1 = 0.02
1049
+ monthly_prussian_militarized_society_2 = 0.05
1050
+ monthly_prussian_militarized_society_3 = 0.075
1051
+ }
1009
1052
  }
1010
1053
  ai_will_do = {
1011
1054
  factor = 1
@@ -1026,6 +1069,7 @@ estate_nobles_strong_duchies = {
1026
1069
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
1027
1070
  influence = 0.1
1028
1071
  loyalty = 0.05
1072
+ check_valid_when_tag_switching = no
1029
1073
  is_valid = {
1030
1074
  any_subject_country = {
1031
1075
  OR = {
@@ -1071,10 +1115,17 @@ estate_nobles_strong_duchies = {
1071
1115
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1072
1116
  modifier = { monthly_russian_modernization = -0.05 }
1073
1117
  }
1074
- #conditional_modifier = {
1075
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1076
- # modifier = { monthly_ottoman_decadence = 0.02 }
1077
- #}
1118
+ conditional_modifier = {
1119
+ trigger = { has_country_flag = hun_upgrade_strong_duchies }
1120
+ modifier = { vassal_forcelimit_bonus = 0.5 }
1121
+ }
1122
+ conditional_modifier = {
1123
+ trigger = { has_country_flag = hab_upgraded_strong_duchies }
1124
+ modifier = {
1125
+ vassal_forcelimit_bonus = 0.25
1126
+ vassal_income = 0.1
1127
+ }
1128
+ }
1078
1129
  ai_will_do = {
1079
1130
  factor = 2
1080
1131
  modifier = {
@@ -1292,10 +1343,6 @@ estate_nobles_statutory_rights = {
1292
1343
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1293
1344
  modifier = { monthly_russian_modernization = -0.05 }
1294
1345
  }
1295
- #conditional_modifier = {
1296
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1297
- # modifier = { monthly_ottoman_decadence = 0.02 }
1298
- #}
1299
1346
  ai_will_do = {
1300
1347
  factor = 0
1301
1348
  }
@@ -1337,6 +1384,7 @@ estate_nobles_better_integration = {
1337
1384
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
1338
1385
  influence = 0.05
1339
1386
  loyalty = 0
1387
+ check_valid_when_tag_switching = no
1340
1388
  is_valid = {
1341
1389
  any_subject_country = {
1342
1390
  OR = {
@@ -1370,10 +1418,6 @@ estate_nobles_better_integration = {
1370
1418
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1371
1419
  modifier = { monthly_russian_modernization = -0.05 }
1372
1420
  }
1373
- #conditional_modifier = {
1374
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1375
- # modifier = { monthly_ottoman_decadence = 0.02 }
1376
- #}
1377
1421
  ai_will_do = {
1378
1422
  factor = 10
1379
1423
  }
@@ -2966,7 +3010,7 @@ estate_nobles_factionalist_nobility = {
2966
3010
  }
2967
3011
  ai_will_do = {
2968
3012
  factor = 1
2969
- }#TODO
3013
+ }
2970
3014
  }
2971
3015
  estate_nobles_consolidated_noble_contracts = {
2972
3016
  icon = privilege_centralized
@@ -3084,6 +3128,24 @@ estate_nobles_development_of_castles = {
3084
3128
  influence = 0.05
3085
3129
  max_absolutism = -5
3086
3130
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3131
+ conditional_modifier = {
3132
+ trigger = {
3133
+ has_country_flag = ITA_upgrade_the_expand_the_fortifications_privilege_flag
3134
+ }
3135
+ modifier = {
3136
+ garrison_size = 0.1
3137
+ max_absolutism = 5
3138
+ }
3139
+ }
3140
+ conditional_modifier = {
3141
+ trigger = {
3142
+ has_country_flag = TIM_upgrade_expand_the_fortifications_flag
3143
+ }
3144
+ modifier = {
3145
+ defensiveness = 0.05
3146
+ fort_maintenance_modifier = -0.05
3147
+ }
3148
+ }
3087
3149
  is_valid = {
3088
3150
  has_dlc = "Domination"
3089
3151
  }
@@ -3154,10 +3216,6 @@ estate_nobles_development_of_castles = {
3154
3216
  trigger = { has_government_mechanic = russian_modernization_mechanic }
3155
3217
  modifier = { monthly_russian_modernization = -0.05 }
3156
3218
  }
3157
- #conditional_modifier = {
3158
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
3159
- # modifier = { monthly_ottoman_decadence = 0.02 }
3160
- #}
3161
3219
  ai_will_do = {
3162
3220
  factor = 0
3163
3221
  }
@@ -3168,6 +3226,14 @@ estate_nobles_statesman_servitude = {
3168
3226
  influence = 0.05
3169
3227
  max_absolutism = -5
3170
3228
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3229
+ conditional_modifier = {
3230
+ trigger = {
3231
+ has_country_flag = GER_upgrade_the_statesman_privilege_flag
3232
+ }
3233
+ modifier = {
3234
+ max_absolutism = 5
3235
+ }
3236
+ }
3171
3237
  is_valid = {
3172
3238
  has_dlc = "Domination"
3173
3239
  }
@@ -3192,10 +3258,6 @@ estate_nobles_statesman_servitude = {
3192
3258
  trigger = { has_government_mechanic = russian_modernization_mechanic }
3193
3259
  modifier = { monthly_russian_modernization = -0.05 }
3194
3260
  }
3195
- #conditional_modifier = {
3196
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
3197
- # modifier = { monthly_ottoman_decadence = 0.02 }
3198
- #}
3199
3261
  ai_will_do = {
3200
3262
  factor = 0
3201
3263
  }
@@ -3274,10 +3336,6 @@ estate_nobles_royal_court_tasks = {
3274
3336
  trigger = { has_government_mechanic = russian_modernization_mechanic }
3275
3337
  modifier = { monthly_russian_modernization = -0.05 }
3276
3338
  }
3277
- #conditional_modifier = {
3278
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
3279
- # modifier = { monthly_ottoman_decadence = 0.02 }
3280
- #}
3281
3339
  ai_will_do = {
3282
3340
  factor = 0
3283
3341
  }
@@ -3312,10 +3370,6 @@ estate_nobles_diet_right = {
3312
3370
  trigger = { has_government_mechanic = russian_modernization_mechanic }
3313
3371
  modifier = { monthly_russian_modernization = -0.05 }
3314
3372
  }
3315
- #conditional_modifier = {
3316
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
3317
- # modifier = { monthly_ottoman_decadence = 0.02 }
3318
- #}
3319
3373
  ai_will_do = {
3320
3374
  factor = 10
3321
3375
  modifier = {
@@ -3352,10 +3406,6 @@ estate_nobles_force_conscription = {
3352
3406
  trigger = { has_government_mechanic = russian_modernization_mechanic }
3353
3407
  modifier = { monthly_russian_modernization = -0.05 }
3354
3408
  }
3355
- #conditional_modifier = {
3356
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
3357
- # modifier = { monthly_ottoman_decadence = 0.02 }
3358
- #}
3359
3409
  ai_will_do = {
3360
3410
  factor = 0
3361
3411
  }
@@ -3398,10 +3448,6 @@ estate_nobles_noble_officer_right = {
3398
3448
  trigger = { has_government_mechanic = russian_modernization_mechanic }
3399
3449
  modifier = { monthly_russian_modernization = -0.05 }
3400
3450
  }
3401
- #conditional_modifier = {
3402
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
3403
- # modifier = { monthly_ottoman_decadence = 0.02 }
3404
- #}
3405
3451
  ai_will_do = {
3406
3452
  factor = 0
3407
3453
  }
@@ -3453,10 +3499,6 @@ estate_nobles_expedition_rights = {
3453
3499
  trigger = { has_government_mechanic = russian_modernization_mechanic }
3454
3500
  modifier = { monthly_russian_modernization = -0.05 }
3455
3501
  }
3456
- #conditional_modifier = {
3457
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
3458
- # modifier = { monthly_ottoman_decadence = 0.02 }
3459
- #}
3460
3502
  ai_will_do = {
3461
3503
  factor = 0
3462
3504
  }
@@ -3869,4 +3911,1076 @@ estate_nobles_enlist_the_mamluks = {
3869
3911
  ai_will_do = {
3870
3912
  factor = 100
3871
3913
  }
3914
+ }
3915
+
3916
+ estate_nobles_ITA_military_governors = {
3917
+ icon = estate_nobles_ITA_military_governors
3918
+ loyalty = 0
3919
+ influence = 0.1
3920
+ max_absolutism = 0
3921
+ is_valid = {
3922
+ OR = {
3923
+ has_country_flag = ITA_enable_privilege_for_military_governors_flag
3924
+ tag = ROM
3925
+ was_tag = ROM
3926
+ }
3927
+ }
3928
+ benefits = {
3929
+ territories_governing_cost = -0.05
3930
+ }
3931
+ on_granted = {
3932
+ custom_tooltip = ITA_specify_the_conditional_effects
3933
+ }
3934
+ conditional_modifier = {
3935
+ trigger = {
3936
+ is_at_war = yes
3937
+ }
3938
+ modifier = {
3939
+ global_autonomy = -0.05 #halve the penalty
3940
+ }
3941
+ }
3942
+ conditional_modifier = {
3943
+ trigger = {
3944
+ has_country_flag = ITA_upgrade_military_governorship_with_autonomy_in_terr_flag
3945
+ }
3946
+ modifier = {
3947
+ min_autonomy_in_territories = -0.05
3948
+ }
3949
+ }
3950
+ conditional_modifier = {
3951
+ trigger = {
3952
+ has_country_flag = ITA_upgrade_military_governorship_with_abso_flag
3953
+ }
3954
+ modifier = {
3955
+ max_absolutism = 5
3956
+ }
3957
+ }
3958
+ conditional_modifier = {
3959
+ trigger = {
3960
+ has_country_flag = ITA_upgrade_military_governorship_with_army_quality_flag
3961
+ }
3962
+ modifier = {
3963
+ army_tradition = 1
3964
+ leader_land_shock = 1
3965
+ }
3966
+ }
3967
+
3968
+ conditional_modifier = {
3969
+ trigger = {
3970
+ has_government_attribute = enables_pronoias #for roman empire specifically
3971
+ }
3972
+ modifier = {
3973
+ num_of_pronoiars = 1
3974
+ }
3975
+ }
3976
+ ai_will_do = {
3977
+ factor = 100
3978
+ }
3979
+ }
3980
+
3981
+ estate_nobles_GER_diploma_andreanum = {
3982
+ icon = estate_nobles_GER_diploma_andreanum
3983
+ loyalty = 0.1
3984
+ influence = 0.05
3985
+ max_absolutism = -5
3986
+ is_valid = {
3987
+ has_country_flag = GER_unlock_diploma_andreanum_flag
3988
+ }
3989
+ benefits = {
3990
+ territories_governing_cost = -0.05
3991
+ }
3992
+ on_granted = {
3993
+ custom_tooltip = GER_low_average_autonomy_buff
3994
+ }
3995
+ conditional_modifier = {
3996
+ trigger = {
3997
+ NOT = { average_autonomy = 25 }
3998
+ }
3999
+ modifier = {
4000
+ manpower_in_accepted_culture_provinces = 0.1
4001
+ }
4002
+ }
4003
+ ai_will_do = {
4004
+ factor = 100
4005
+ }
4006
+ }
4007
+
4008
+ estate_nobles_orangist_privileges = {
4009
+ icon = privilege_royal_authority
4010
+ max_absolutism = 5
4011
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4012
+ influence = 0.1
4013
+ is_valid = {
4014
+ has_country_flag = ned_buff_orangist_candidates_flag
4015
+ }
4016
+ on_granted = {
4017
+ custom_tooltip = NED_UNLOCK_OVERTHROW_STATIST_CANDIDATES
4018
+ }
4019
+ penalties = {
4020
+
4021
+ }
4022
+ benefits = {
4023
+ }
4024
+ conditional_modifier = {
4025
+ trigger = { has_government_mechanic = russian_modernization_mechanic }
4026
+ modifier = { monthly_russian_modernization = -0.03 }
4027
+ }
4028
+ ai_will_do = {
4029
+ factor = 0
4030
+ }
4031
+ }
4032
+
4033
+ estate_nobles_vegvar_system = {
4034
+ icon = estate_nobles_vegvar_system
4035
+ max_absolutism = -5
4036
+ loyalty = 0.1
4037
+ influence = 0.05
4038
+ is_valid = {
4039
+ has_unlocked_estate_privilege = {
4040
+ estate_privilege = estate_nobles_vegvar_system
4041
+ }
4042
+ }
4043
+ can_select = {
4044
+ any_owned_province = {
4045
+ any_neighbor_province = {
4046
+ NOT = { owned_by = ROOT }
4047
+ }
4048
+ has_fort_building_trigger = yes
4049
+ }
4050
+ }
4051
+ on_granted = {
4052
+ custom_tooltip = estate_nobles_vegvar_system_tt
4053
+ tooltip = {
4054
+ add_province_modifier = {
4055
+ name = estate_nobles_vegvar_system_modifier
4056
+ duration = -1
4057
+ desc = hun_vegvar_province_desc
4058
+ }
4059
+ }
4060
+ }
4061
+ on_granted_province = {
4062
+ if = {
4063
+ limit = {
4064
+ any_neighbor_province = {
4065
+ NOT = { owned_by = ROOT }
4066
+ }
4067
+ has_fort_building_trigger = yes
4068
+ }
4069
+ add_province_modifier = {
4070
+ name = estate_nobles_vegvar_system_modifier
4071
+ duration = -1
4072
+ }
4073
+ }
4074
+ }
4075
+ on_revoked = {
4076
+ custom_tooltip = estate_nobles_vegvar_system_rt
4077
+ }
4078
+ on_revoked_province = {
4079
+ if = {
4080
+ limit = { has_province_modifier = estate_nobles_vegvar_system_modifier }
4081
+ remove_province_modifier = estate_nobles_vegvar_system_modifier
4082
+ }
4083
+ }
4084
+ on_invalid = {
4085
+ }
4086
+ on_invalid_province = {
4087
+ if = {
4088
+ limit = { has_province_modifier = estate_nobles_vegvar_system_modifier }
4089
+ remove_province_modifier = estate_nobles_vegvar_system_modifier
4090
+ }
4091
+ }
4092
+ ai_will_do = {
4093
+ factor = 100
4094
+ }
4095
+ }
4096
+
4097
+ estate_nobles_MAY_arm_nobles_with_obsidian_blades = {
4098
+ icon = privilege_macuahuitl
4099
+ max_absolutism = -5
4100
+ conditional_modifier = {
4101
+ trigger = {
4102
+ has_absolutism_reduction_for_estate_privileges = yes
4103
+ }
4104
+ modifier = { max_absolutism = 1 }
4105
+ }
4106
+ conditional_modifier = {
4107
+ trigger = {
4108
+ has_country_flag = MAY_upgrade_obsidian_privilege_flag
4109
+ }
4110
+ modifier = { max_absolutism = 5 }
4111
+ }
4112
+ influence = 0.05
4113
+ loyalty = 0.1
4114
+ is_valid = {
4115
+ technology_group = mesoamerican
4116
+ }
4117
+ benefits = {
4118
+ infantry_cost = -0.05
4119
+ }
4120
+ on_granted = {
4121
+ if = {
4122
+ limit = {
4123
+ has_country_flag = azt_obsidian_blades_buff_flag
4124
+ }
4125
+ custom_tooltip = AZT_buffed_conditional_benefit_for_obsidian
4126
+ }
4127
+ else_if = {
4128
+ limit = {
4129
+ has_country_flag = MAY_upgrade_obsidian_privilege_flag
4130
+ }
4131
+ custom_tooltip = MAY_buffed_conditional_benefit_for_obsidian
4132
+ }
4133
+ else = {
4134
+ custom_tooltip = MAY_conditional_benefit_for_obsidian
4135
+ }
4136
+ }
4137
+ conditional_modifier = {
4138
+ trigger = {
4139
+ NOT = { has_country_flag = azt_obsidian_blades_buff_flag }
4140
+ NOT = { has_country_flag = MAY_upgrade_obsidian_privilege_flag }
4141
+ has_obsidian_source_trigger = yes
4142
+ }
4143
+ modifier = {
4144
+ infantry_power = 0.1
4145
+ nobles_influence_modifier = 0.05
4146
+ }
4147
+ }
4148
+ conditional_modifier = {
4149
+ trigger = {
4150
+ has_country_flag = MAY_upgrade_obsidian_privilege_flag
4151
+ has_obsidian_source_trigger = yes
4152
+ }
4153
+ modifier = {
4154
+ infantry_power = 0.1
4155
+ }
4156
+ }
4157
+ conditional_modifier = {
4158
+ trigger = {
4159
+ has_country_flag = azt_obsidian_blades_buff_flag
4160
+ has_obsidian_source_trigger = yes
4161
+ }
4162
+ modifier = {
4163
+ infantry_power = 0.15
4164
+ nobles_influence_modifier = 0.05
4165
+ }
4166
+ }
4167
+ ai_will_do = {
4168
+ factor = 100
4169
+ modifier = {
4170
+ factor = 0
4171
+ is_absolutism_active = yes
4172
+ }
4173
+ }
4174
+ }
4175
+
4176
+ estate_nobles_MAY_spread_dynastic_influence = {
4177
+ icon = privilege_mayan_crown
4178
+ loyalty = 0
4179
+ influence = 0.1
4180
+ max_absolutism = -10
4181
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
4182
+ is_valid = {
4183
+ has_country_flag = MAY_unlock_privilege_for_tributaries_flag
4184
+ }
4185
+ penalties = {
4186
+ reduced_liberty_desire = -10
4187
+ }
4188
+ benefits = {
4189
+ annexation_relations_impact = -0.25
4190
+ }
4191
+ on_granted = {
4192
+ custom_tooltip = MAY_benefits_of_dynastic_influence
4193
+ }
4194
+ ai_will_do = {
4195
+ factor = 1
4196
+ }
4197
+ }
4198
+
4199
+ estate_nobles_AZT_triple_alliance = {
4200
+ icon = estate_burghers_monopoly_of_coffee
4201
+ loyalty = 0.05
4202
+ influence = 0.1
4203
+ max_absolutism = -5
4204
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4205
+ is_valid = {
4206
+ has_estate_privilege = estate_nobles_AZT_triple_alliance
4207
+ }
4208
+ can_select = {
4209
+
4210
+ }
4211
+ benefits = {
4212
+ vassal_forcelimit_bonus = 1
4213
+ vassal_income = 0.3
4214
+ liberty_desire_from_subject_development = -0.25
4215
+ }
4216
+ conditional_modifier = {
4217
+ trigger = {
4218
+ NOT = { has_country_flag = azt_triple_alliance_buff }
4219
+ }
4220
+ modifier = {
4221
+ governing_capacity_modifier = -0.5
4222
+ governing_capacity = -100
4223
+ }
4224
+ }
4225
+ conditional_modifier = {
4226
+ trigger = {
4227
+ has_country_flag = azt_triple_alliance_buff
4228
+ }
4229
+ modifier = {
4230
+ governing_capacity_modifier = -0.25
4231
+ }
4232
+ }
4233
+ can_revoke = {
4234
+ custom_trigger_tooltip = {
4235
+ tooltip = AZT_revokable_via_mission
4236
+ always = no
4237
+ }
4238
+ }
4239
+ ai_will_do = {
4240
+ factor = 1
4241
+ }
4242
+ }
4243
+
4244
+ estate_nobles_AZT_warrior_culture = {
4245
+ icon = privilege_demand_more_troops
4246
+ loyalty = 0.05
4247
+ influence = 0.1
4248
+ max_absolutism = -5
4249
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4250
+ is_valid = {
4251
+ has_country_flag = azt_military_culture_flag
4252
+ }
4253
+
4254
+ on_granted = {
4255
+ custom_tooltip = AZT_grant_bonuses_to_culture_province
4256
+ tooltip = {
4257
+ if = {
4258
+ limit = {
4259
+ has_country_flag = azt_buffed_military_society_flag
4260
+ }
4261
+ add_province_modifier = {
4262
+ name = azt_military_culture_modifier_buffed
4263
+ duration = -1
4264
+ }
4265
+ }
4266
+ else = {
4267
+ add_province_modifier = {
4268
+ name = azt_military_culture_modifier
4269
+ duration = -1
4270
+ }
4271
+ }
4272
+ }
4273
+ }
4274
+
4275
+ on_granted_province = {
4276
+ hidden_effect = {
4277
+ if = {
4278
+ limit = {
4279
+ culture = ROOT
4280
+ owner = {
4281
+ NOT = { has_country_flag = azt_buffed_military_society_flag }
4282
+ }
4283
+ }
4284
+ add_province_modifier = {
4285
+ name = azt_military_culture_modifier
4286
+ duration = -1
4287
+ }
4288
+ }
4289
+ else_if = {
4290
+ limit = {
4291
+ culture = ROOT
4292
+ owner = {
4293
+ has_country_flag = azt_buffed_military_society_flag
4294
+ }
4295
+ }
4296
+ add_province_modifier = {
4297
+ name = azt_military_culture_modifier_buffed
4298
+ duration = -1
4299
+ }
4300
+ }
4301
+ }
4302
+ }
4303
+
4304
+ on_revoked = {
4305
+ custom_tooltip = AZT_REVOKE_PRIVILEGE_BONUSES
4306
+ hidden_effect = {
4307
+ every_owned_province = {
4308
+ limit = {
4309
+ OR = {
4310
+ has_province_modifier = azt_military_culture_modifier
4311
+ has_province_modifier = azt_military_culture_modifier_buffed
4312
+ }
4313
+ }
4314
+ remove_province_modifier = azt_military_culture_modifier
4315
+ remove_province_modifier = azt_military_culture_modifier_buffed
4316
+ }
4317
+ }
4318
+ }
4319
+
4320
+ ai_will_do = {
4321
+ factor = 1
4322
+ }
4323
+ }
4324
+
4325
+
4326
+ estate_nobles_reformatio_sigismundi = {
4327
+ icon = privilege_coup_detat
4328
+ max_absolutism = -10
4329
+ influence = 0.15
4330
+ loyalty = 0.10
4331
+ is_valid = {
4332
+ has_unlocked_estate_privilege = {
4333
+ estate_privilege = estate_nobles_reformatio_sigismundi
4334
+ }
4335
+ custom_trigger_tooltip = {
4336
+ tooltip = estate_nobles_reformatio_sigismundi_has_eligible_province_tt
4337
+ any_owned_province = {
4338
+ has_owner_accepted_culture = no
4339
+ culture_group = germanic
4340
+ }
4341
+ }
4342
+ }
4343
+ can_select = {
4344
+ custom_trigger_tooltip = {
4345
+ tooltip = has_unlocked_estate_nobles_reformatio_sigismundi
4346
+ has_unlocked_estate_privilege = {
4347
+ estate_privilege = estate_nobles_reformatio_sigismundi
4348
+ }
4349
+ }
4350
+ custom_trigger_tooltip = {
4351
+ tooltip = estate_nobles_reformatio_sigismundi_has_eligible_province_tt
4352
+ any_owned_province = {
4353
+ has_owner_accepted_culture = no
4354
+ culture_group = germanic
4355
+ }
4356
+ }
4357
+ }
4358
+ on_granted = {
4359
+ custom_tooltip = estate_nobles_reformatio_sigismundi_gt
4360
+ }
4361
+ on_granted_province = {
4362
+ if = {
4363
+ limit = {
4364
+ NOT = {
4365
+ has_owner_accepted_culture = yes
4366
+ }
4367
+ culture_group = germanic
4368
+ }
4369
+ add_province_modifier = {
4370
+ name = boh_cultural_integration
4371
+ duration = -1
4372
+ }
4373
+ }
4374
+ else_if = {
4375
+ limit = {
4376
+ has_province_modifier = boh_cultural_integration
4377
+ }
4378
+ remove_province_modifier = boh_cultural_integration
4379
+ }
4380
+ }
4381
+ on_revoked = {
4382
+ custom_tooltip = estate_nobles_reformatio_sigismundi_rk
4383
+ }
4384
+ on_revoked_province = {
4385
+ if = {
4386
+ limit = {
4387
+ has_province_modifier = boh_cultural_integration
4388
+ }
4389
+ remove_province_modifier = boh_cultural_integration
4390
+ }
4391
+ }
4392
+ on_invalid = {
4393
+ }
4394
+ on_invalid_province = {
4395
+ if = {
4396
+ limit = {
4397
+ has_province_modifier = boh_cultural_integration
4398
+ }
4399
+ remove_province_modifier = boh_cultural_integration
4400
+ }
4401
+ }
4402
+ penalties = {
4403
+ }
4404
+ benefits = {
4405
+ }
4406
+ ai_will_do = {
4407
+ factor = 1000
4408
+ }
4409
+ }
4410
+
4411
+ estate_nobles_basqaq_autonomy = {
4412
+ icon = privilege_basqaqs
4413
+ max_absolutism = -10
4414
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
4415
+ loyalty = 0.05
4416
+ influence = 0.1
4417
+ is_valid = {
4418
+ has_country_flag = hordes_basqaqs_unlocked_flag
4419
+ }
4420
+ can_select = {
4421
+ NOT = { has_estate_privilege = estate_nomadic_tribes_basqaq_autonomy }
4422
+ }
4423
+ penalties = {
4424
+ governing_capacity_modifier = -0.1
4425
+ }
4426
+
4427
+ benefits = {
4428
+ monarch_power_tribute = 1
4429
+ manpower_recovery_speed = 0.10
4430
+ }
4431
+ ai_will_do = {
4432
+ factor = 0
4433
+ }
4434
+ }
4435
+
4436
+ estate_nobles_imperial_war_leader = {
4437
+ icon = privilege_grant_autonomy
4438
+ max_absolutism = -5
4439
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4440
+ loyalty = 0.0
4441
+ influence = 0.05
4442
+ is_valid = {
4443
+ has_country_flag = hab_imperial_warleader_flag
4444
+ }
4445
+ can_select = {
4446
+ }
4447
+ on_granted = {
4448
+ }
4449
+ penalties = {
4450
+ relation_with_same_culture_group = -10
4451
+ }
4452
+ benefits = {
4453
+ army_tradition_from_battle = 0.5
4454
+ land_morale = 0.05
4455
+ }
4456
+ ai_will_do = {
4457
+ factor = 5
4458
+ }
4459
+ }
4460
+
4461
+ estate_nobles_hab_habsburg_connections = {
4462
+ icon = privilege_grant_autonomy
4463
+ max_absolutism = -5
4464
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4465
+ loyalty = 0.05
4466
+ influence = 0.1
4467
+ is_valid = {
4468
+ has_country_flag = hab_unlocked_habsburg_connections
4469
+ }
4470
+ can_select = {
4471
+ }
4472
+ on_granted = {
4473
+ }
4474
+ loyalty_scaled_conditional_modifier = {
4475
+ trigger = {
4476
+ always = yes
4477
+ }
4478
+ modifier = {
4479
+ country_diplomatic_power = 2
4480
+ diplomatic_reputation = 2
4481
+ }
4482
+ }
4483
+ ai_will_do = {
4484
+ factor = 5
4485
+ }
4486
+ }
4487
+
4488
+ estate_nobles_habsburg_disunity = {
4489
+ icon = privilege_grant_autonomy
4490
+ max_absolutism = -5
4491
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4492
+ loyalty = 0
4493
+ influence = 0.05
4494
+ is_valid = {
4495
+ has_country_flag = hab_ladislaus_postumus_heir
4496
+ NOT = {
4497
+ has_country_flag = hab_united_habsburg_land
4498
+ }
4499
+ }
4500
+ can_select = {
4501
+ }
4502
+ penalties = {
4503
+ global_autonomy = 0.05
4504
+ global_tax_modifier = -0.1
4505
+ }
4506
+ can_revoke = {
4507
+ OR = {
4508
+ custom_trigger_tooltip = {
4509
+ tooltip = HAB_LADISLAUS_IS_RULER_OR_DEAD
4510
+ always = no
4511
+ }
4512
+ custom_trigger_tooltip = {
4513
+ tooltip = HAB_ENACTED_UNITE_HABSBURG_LANDS_DECISION
4514
+ always = no
4515
+ }
4516
+ }
4517
+ }
4518
+ ai_will_do = {
4519
+ factor = 5
4520
+ }
4521
+ }
4522
+
4523
+ estate_nobles_melting_pot_of_cultures = {
4524
+ icon = privilege_grant_autonomy
4525
+ max_absolutism = -5
4526
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4527
+ loyalty = 0
4528
+ influence = 0.05
4529
+ is_valid = {
4530
+ has_country_flag = hab_melting_pot_flag
4531
+ }
4532
+ on_granted = {
4533
+ custom_tooltip = HAB_EXPLAIN_MODIFIERS_MELTING_POT
4534
+ }
4535
+ on_granted_province = {
4536
+ if = {
4537
+ limit = {
4538
+ OR = {
4539
+ culture = hungarian
4540
+ culture = transylvanian
4541
+ }
4542
+ }
4543
+ add_province_modifier = {
4544
+ name = hab_hungarian_province
4545
+ duration = -1
4546
+ hidden = yes
4547
+ }
4548
+ }
4549
+ else_if = {
4550
+ limit = {
4551
+ culture_group = west_slavic
4552
+ }
4553
+ add_province_modifier = {
4554
+ name = hab_west_slavic_province
4555
+ duration = -1
4556
+ hidden = yes
4557
+ }
4558
+ }
4559
+ else_if = {
4560
+ limit = {
4561
+ NOT = {
4562
+ culture_group = ROOT
4563
+ culture = hungarian
4564
+ culture = transylvanian
4565
+ culture_group = west_slavic
4566
+ }
4567
+ }
4568
+ add_province_modifier = {
4569
+ name = hab_minority_province
4570
+ duration = -1
4571
+ hidden = yes
4572
+ }
4573
+ }
4574
+ }
4575
+
4576
+ on_revoked_province = {
4577
+ if = {
4578
+ limit = {
4579
+ has_province_modifier = hab_hungarian_province
4580
+ }
4581
+ remove_province_modifier = hab_hungarian_province
4582
+ }
4583
+ if = {
4584
+ limit = {
4585
+ has_province_modifier = hab_west_slavic_province
4586
+ }
4587
+ remove_province_modifier = hab_west_slavic_province
4588
+ }
4589
+ if = {
4590
+ limit = {
4591
+ has_province_modifier = hab_minority_province
4592
+ }
4593
+ remove_province_modifier = hab_minority_province
4594
+ }
4595
+ }
4596
+
4597
+ penalties = {
4598
+ global_autonomy = 0.05
4599
+ global_tax_modifier = -0.1
4600
+ }
4601
+ ai_will_do = {
4602
+ factor = 5
4603
+ }
4604
+ }
4605
+
4606
+ estate_nobles_hab_von_raab_restructions = {
4607
+ icon = privilege_grant_autonomy
4608
+ max_absolutism = 5
4609
+ loyalty = -0.1
4610
+ influence = -0.05
4611
+ is_valid = {
4612
+ has_country_flag = hab_von_raab_restrictions_flag
4613
+ }
4614
+ can_select = {
4615
+ }
4616
+ on_granted = {
4617
+ custom_tooltip = VON_RAAB_RESTRICTIONS_TOOLTIP
4618
+ }
4619
+ loyalty_scaled_conditional_modifier = {
4620
+ trigger = {
4621
+ NOT = {
4622
+ estate_influence = {
4623
+ estate = estate_nobles
4624
+ influence = 40
4625
+ }
4626
+ }
4627
+ }
4628
+ modifier = {
4629
+ development_cost = -0.075
4630
+ }
4631
+ }
4632
+ ai_will_do = {
4633
+ factor = 5
4634
+ }
4635
+ }
4636
+
4637
+ estate_nobles_TIM_soyurghal_grants = {
4638
+ icon = privilege_grant_autonomy
4639
+ max_absolutism = -5
4640
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4641
+ influence = 0.1
4642
+ loyalty = 0.05
4643
+ is_valid = {
4644
+ OR = {
4645
+ tag = TIM
4646
+ was_tag = TIM
4647
+ }
4648
+ NOT = { has_country_flag = estate_nobles_TIM_soyurghal_grants_revoked }
4649
+ }
4650
+ penalties = {
4651
+ global_tax_modifier = -0.1
4652
+ reform_progress_growth = -0.1
4653
+ }
4654
+ benefits = {
4655
+ army_tradition_decay = -0.01
4656
+ }
4657
+ can_revoke = {
4658
+ custom_trigger_tooltip = {
4659
+ tooltip = BYZ_revokable_via_decision
4660
+ always = no
4661
+ }
4662
+ }
4663
+ ai_will_do = {
4664
+ factor = 0
4665
+ }
4666
+ }
4667
+
4668
+ estate_nobles_TIM_chagatai_warriors = {
4669
+ icon = privilege_timurid_helmet
4670
+ max_absolutism = -10
4671
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
4672
+ influence = 0.15
4673
+ loyalty = 0.05
4674
+ is_valid = {
4675
+ has_country_flag = TIM_unlock_privilege_about_chagatai_flag
4676
+ }
4677
+ benefits = {
4678
+ cavalry_power = 0.05
4679
+ cav_to_inf_ratio = 0.25
4680
+ }
4681
+ influence_scaled_conditional_modifier = {
4682
+ trigger = {
4683
+ always = yes
4684
+ }
4685
+ modifier = {
4686
+ army_tradition = 0.5
4687
+ }
4688
+ }
4689
+ ai_will_do = {
4690
+ factor = 1
4691
+ }
4692
+ }
4693
+
4694
+ estate_nobles_TIM_appease_the_elites = {
4695
+ icon = privilege_army_tradition
4696
+ max_absolutism = -10
4697
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
4698
+ influence = 0.15
4699
+ loyalty = 0.05
4700
+ is_valid = {
4701
+ has_country_flag = TIM_unlock_appease_the_elites_privilege_flag
4702
+ }
4703
+ penalties = {
4704
+ land_forcelimit_modifier = -0.1
4705
+ }
4706
+
4707
+ influence_scaled_conditional_modifier = {
4708
+ trigger = {
4709
+ has_dlc = "Cradle of Civilization"
4710
+ NOT = {
4711
+ estate_influence = {
4712
+ estate = estate_nobles
4713
+ influence = 100
4714
+ }
4715
+ }
4716
+ }
4717
+ modifier = {
4718
+ yearly_army_professionalism = 0.01
4719
+ }
4720
+ }
4721
+
4722
+ influence_scaled_conditional_modifier = {
4723
+ trigger = {
4724
+ NOT = { has_dlc = "Cradle of Civilization" }
4725
+ NOT = {
4726
+ estate_influence = {
4727
+ estate = estate_nobles
4728
+ influence = 100
4729
+ }
4730
+ }
4731
+ }
4732
+ modifier = {
4733
+ army_tradition = 1
4734
+ }
4735
+ }
4736
+
4737
+ conditional_modifier = {
4738
+ trigger = {
4739
+ NOT = { has_dlc = "Cradle of Civilization" }
4740
+ estate_influence = {
4741
+ estate = estate_nobles
4742
+ influence = 100
4743
+ }
4744
+ }
4745
+ modifier = {
4746
+ army_tradition = 1
4747
+ }
4748
+ }
4749
+
4750
+ conditional_modifier = {
4751
+ trigger = {
4752
+ has_dlc = "Cradle of Civilization"
4753
+ estate_influence = {
4754
+ estate = estate_nobles
4755
+ influence = 100
4756
+ }
4757
+ }
4758
+ modifier = {
4759
+ yearly_army_professionalism = 0.01
4760
+ }
4761
+ }
4762
+
4763
+ on_granted = {
4764
+ custom_tooltip = scaling_with_estate_influence_tt
4765
+ tooltip = {
4766
+ if = {
4767
+ limit = {
4768
+ has_dlc = "Cradle of Civilization"
4769
+ }
4770
+ add_country_modifier = {
4771
+ name = TIM_full_army_prof
4772
+ duration = -1
4773
+ desc = UNTIL_REVOKED
4774
+ }
4775
+ }
4776
+ else = {
4777
+ add_country_modifier = {
4778
+ name = TIM_full_army_trad
4779
+ duration = -1
4780
+ desc = UNTIL_REVOKED
4781
+ }
4782
+ }
4783
+ }
4784
+ }
4785
+ ai_will_do = {
4786
+ factor = 0
4787
+ }
4788
+ }
4789
+
4790
+ estate_nobles_MUG_development_of_the_subah = {
4791
+ icon = privilege_states
4792
+ influence = 0.05
4793
+ max_absolutism = -5
4794
+ loyalty = 0
4795
+ is_valid = {
4796
+ has_country_flag = MUG_unlock_privilege_subahs_flag
4797
+ }
4798
+
4799
+ benefits = {
4800
+ state_governing_cost = -0.15
4801
+ }
4802
+ penalties = {
4803
+ province_warscore_cost = 0.05
4804
+ }
4805
+
4806
+ ai_will_do = {
4807
+ factor = 1 #AI will not expand quickly enough
4808
+ }
4809
+ }
4810
+
4811
+ estate_nobles_four_class_system = {
4812
+ icon = estate_eunuchs_establish_favor_system_privilege
4813
+ max_absolutism = -10
4814
+ influence = 0.05
4815
+ loyalty = 0.05
4816
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
4817
+ is_valid = {
4818
+ has_country_flag = yua_four_class_system_flag
4819
+ }
4820
+ loyalty_scaled_conditional_modifier = {
4821
+ trigger = { always = yes }
4822
+ modifier = {
4823
+ advisor_cost = -0.15
4824
+ }
4825
+ }
4826
+
4827
+ loyalty_scaled_conditional_modifier = {
4828
+ trigger = { is_emperor_of_china = yes }
4829
+ modifier = {
4830
+ imperial_mandate = 0.05
4831
+ }
4832
+ }
4833
+
4834
+ loyalty_scaled_conditional_modifier = {
4835
+ trigger = { is_emperor_of_china = no }
4836
+ modifier = {
4837
+ global_autonomy = -0.05
4838
+ }
4839
+ }
4840
+
4841
+ ai_will_do = {
4842
+ factor = 1
4843
+ }
4844
+ }
4845
+
4846
+ estate_nobles_hungarian_nobility_privileges = {
4847
+ icon = privilege_grant_autonomy
4848
+ max_absolutism = -15
4849
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 3 } }
4850
+ loyalty = 0.05
4851
+ influence = 0.1
4852
+ is_valid = {
4853
+ has_dlc = "Winds of Change"
4854
+ OR = {
4855
+ current_age = age_of_absolutism
4856
+ current_age = age_of_revolutions
4857
+ }
4858
+ NOT = { has_country_flag = hun_no_more_hungarian_privileges_flag }
4859
+ NOT = { exists = HUN }
4860
+ OR = {
4861
+ tag = HAB
4862
+ AND = {
4863
+ was_tag = HAB
4864
+ tag = AUH
4865
+ }
4866
+ }
4867
+ num_of_owned_provinces_with = {
4868
+ value = 5
4869
+ OR = {
4870
+ culture = hungarian
4871
+ is_core = HUN
4872
+ }
4873
+ }
4874
+ }
4875
+ on_granted = {
4876
+ custom_tooltip = HAB_ALL_HUNGARIAN_PROVINCES_GAIN_THE_FOLLOWING
4877
+ tooltip = {
4878
+ add_province_modifier = {
4879
+ name = hab_hungarian_privileges
4880
+ duration = -1
4881
+ }
4882
+ }
4883
+ }
4884
+ on_granted_province = {
4885
+ if = {
4886
+ limit = {
4887
+ OR = {
4888
+ culture = hungarian
4889
+ is_core = HUN
4890
+ }
4891
+ }
4892
+ add_province_modifier = {
4893
+ name = hab_hungarian_privileges
4894
+ duration = -1
4895
+ }
4896
+ }
4897
+ }
4898
+
4899
+ on_revoked_province = {
4900
+ if = {
4901
+ limit = {
4902
+ has_province_modifier = hab_hungarian_privileges
4903
+ }
4904
+ remove_province_modifier = hab_hungarian_privileges
4905
+ }
4906
+ }
4907
+
4908
+ can_revoke = {
4909
+ NOT = { tag = AUH }
4910
+ }
4911
+ cooldown_years = 25
4912
+ ai_will_do = {
4913
+ factor = 1
4914
+ }
4915
+ }
4916
+
4917
+ estate_nobles_austrian_nobility_privileges = {
4918
+ icon = privilege_grant_autonomy
4919
+ max_absolutism = -15
4920
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 3 } }
4921
+ loyalty = 0.05
4922
+ influence = 0.1
4923
+ is_valid = {
4924
+ has_dlc = "Winds of Change"
4925
+ OR = {
4926
+ current_age = age_of_absolutism
4927
+ current_age = age_of_revolutions
4928
+ }
4929
+ NOT = { has_country_flag = hun_no_more_austrian_privileges_flag }
4930
+ NOT = { exists = HAB }
4931
+ OR = {
4932
+ tag = HUN
4933
+ AND = {
4934
+ was_tag = HUN
4935
+ tag = AUH
4936
+ }
4937
+ }
4938
+ num_of_owned_provinces_with = {
4939
+ value = 5
4940
+ OR = {
4941
+ culture = austrian
4942
+ is_core = HAB
4943
+ }
4944
+ }
4945
+ }
4946
+ on_granted = {
4947
+ custom_tooltip = HUN_ALL_AUSTRIAN_PROVINCES_GAIN_THE_FOLLOWING
4948
+ tooltip = {
4949
+ add_province_modifier = {
4950
+ name = hun_austrian_privileges
4951
+ duration = -1
4952
+ }
4953
+ }
4954
+ }
4955
+ on_granted_province = {
4956
+ if = {
4957
+ limit = {
4958
+ OR = {
4959
+ culture = austrian
4960
+ is_core = HAB
4961
+ }
4962
+ }
4963
+ add_province_modifier = {
4964
+ name = hun_austrian_privileges
4965
+ duration = -1
4966
+ }
4967
+ }
4968
+ }
4969
+
4970
+ on_revoked_province = {
4971
+ if = {
4972
+ limit = {
4973
+ has_province_modifier = hun_austrian_privileges
4974
+ }
4975
+ remove_province_modifier = hun_austrian_privileges
4976
+ }
4977
+ }
4978
+
4979
+ can_revoke = {
4980
+ NOT = { tag = AUH }
4981
+ }
4982
+ cooldown_years = 25
4983
+ ai_will_do = {
4984
+ factor = 1
4985
+ }
3872
4986
  }
common/estate_privileges/03_burgher_privileges.txt CHANGED
@@ -24,10 +24,6 @@ estate_burghers_land_rights = {
24
24
  trigger = { has_government_mechanic = russian_modernization_mechanic }
25
25
  modifier = { monthly_russian_modernization = -0.03 }
26
26
  }
27
- #conditional_modifier = {
28
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
29
- # modifier = { monthly_ottoman_decadence = 0.02 }
30
- #}
31
27
  ai_will_do = {
32
28
  factor = 5
33
29
  modifier = {
@@ -210,6 +206,7 @@ estate_burghers_enforced_interfaith_dialogue = {
210
206
  NOT = { religion = root }
211
207
  }
212
208
  OR = {
209
+ has_country_flag = orm_unlock_enforced_interfaith_dialogue
213
210
  has_estate_privilege = estate_burghers_enforced_interfaith_dialogue
214
211
  NOT = { has_estate = estate_dhimmi }
215
212
  }
@@ -222,7 +219,10 @@ estate_burghers_enforced_interfaith_dialogue = {
222
219
  tolerance_heretic = 2
223
220
  }
224
221
  conditional_modifier = {
225
- trigger = { NOT = { has_government_attribute = enforced_interfaith_dialogue_buff } }
222
+ trigger = {
223
+ NOT = { has_government_attribute = enforced_interfaith_dialogue_buff }
224
+ NOT = { has_country_flag = ned_buff_interfaith_dialog_clergy_loyalty_flag }
225
+ }
226
226
  modifier = {
227
227
  church_loyalty_modifier = -0.1
228
228
  }
@@ -233,14 +233,17 @@ estate_burghers_enforced_interfaith_dialogue = {
233
233
  max_absolutism = 5
234
234
  }
235
235
  }
236
+ conditional_modifier = {
237
+ trigger = { has_country_flag = ned_buff_interfaith_dialog_grant_tolerance_heretics_flag }
238
+ modifier = {
239
+ tolerance_heretic = 1
240
+ tolerance_of_heretics_capacity = 1
241
+ }
242
+ }
236
243
  conditional_modifier = {
237
244
  trigger = { has_government_mechanic = russian_modernization_mechanic }
238
245
  modifier = { monthly_russian_modernization = -0.03 }
239
246
  }
240
- #conditional_modifier = {
241
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
242
- # modifier = { monthly_ottoman_decadence = 0.02 }
243
- #}
244
247
  ai_will_do = {
245
248
  factor = 0
246
249
  }
@@ -269,10 +272,6 @@ estate_burghers_land_of_commerce = {
269
272
  trigger = { has_government_mechanic = russian_modernization_mechanic }
270
273
  modifier = { monthly_russian_modernization = -0.03 }
271
274
  }
272
- #conditional_modifier = {
273
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
274
- # modifier = { monthly_ottoman_decadence = 0.02 }
275
- #}
276
275
  ai_will_do = {
277
276
  factor = 100
278
277
  modifier = {
@@ -314,10 +313,20 @@ estate_burghers_admirals = {
314
313
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
315
314
  influence = 0.05
316
315
  can_select = {
317
- navy_tradition = 30
316
+ if = {
317
+ limit = {
318
+ NOT = { has_country_flag = ned_burghers_in_admirality_buff_flag }
319
+ }
320
+ navy_tradition = 30
321
+ }
318
322
  }
319
323
  on_granted = {
320
- add_navy_tradition = -15
324
+ if = {
325
+ limit = {
326
+ NOT = { has_country_flag = ned_burghers_in_admirality_buff_flag }
327
+ }
328
+ add_navy_tradition = -15
329
+ }
321
330
  }
322
331
  penalties = {
323
332
  }
@@ -329,10 +338,10 @@ estate_burghers_admirals = {
329
338
  trigger = { has_government_mechanic = russian_modernization_mechanic }
330
339
  modifier = { monthly_russian_modernization = -0.03 }
331
340
  }
332
- #conditional_modifier = {
333
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
334
- # modifier = { monthly_ottoman_decadence = 0.02 }
335
- #}
341
+ conditional_modifier = {
342
+ trigger = { has_country_flag = ned_burghers_in_admirality_buff_flag }
343
+ modifier = { max_admiral_maneuver = 1 }
344
+ }
336
345
  ai_will_do = {
337
346
  factor = 0
338
347
  }
@@ -354,10 +363,6 @@ estate_burghers_commercial_board_of_advice = {
354
363
  trigger = { has_government_mechanic = russian_modernization_mechanic }
355
364
  modifier = { monthly_russian_modernization = -0.03 }
356
365
  }
357
- #conditional_modifier = {
358
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
359
- # modifier = { monthly_ottoman_decadence = 0.02 }
360
- #}
361
366
  ai_will_do = {
362
367
  factor = 9
363
368
  modifier = {
@@ -435,10 +440,14 @@ estate_burghers_new_world_charter = {
435
440
  trigger = { has_government_mechanic = russian_modernization_mechanic }
436
441
  modifier = { monthly_russian_modernization = -0.03 }
437
442
  }
438
- #conditional_modifier = {
439
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
440
- # modifier = { monthly_ottoman_decadence = 0.02 }
441
- #}
443
+ conditional_modifier = {
444
+ trigger = {
445
+ has_country_flag = ned_new_world_charters_buff_flag
446
+ }
447
+ modifier = {
448
+ naval_forcelimit_modifier = 0.05
449
+ }
450
+ }
442
451
  ai_will_do = {
443
452
  factor = 1
444
453
  modifier = {
@@ -551,10 +560,6 @@ estate_burghers_indebted_to_burghers = {
551
560
  trigger = { has_government_mechanic = russian_modernization_mechanic }
552
561
  modifier = { monthly_russian_modernization = -0.03 }
553
562
  }
554
- #conditional_modifier = {
555
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
556
- # modifier = { monthly_ottoman_decadence = 0.02 }
557
- #}
558
563
  ai_will_do = {
559
564
  factor = 0
560
565
  }
@@ -581,10 +586,20 @@ estate_burghers_free_enterprise = {
581
586
  max_absolutism = 10
582
587
  }
583
588
  }
584
- #conditional_modifier = {
585
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
586
- # modifier = { monthly_ottoman_decadence = 0.02 }
587
- #}
589
+ conditional_modifier = {
590
+ trigger = { has_country_flag = ned_buffed_free_enterprises }
591
+ modifier = {
592
+ trade_efficiency = 0.1
593
+ burghers_loyalty_modifier = 0.05
594
+ }
595
+ }
596
+ conditional_modifier = {
597
+ trigger = { has_reform = modern_economics_reform }
598
+ modifier = {
599
+ naval_forcelimit_modifier = 0.1
600
+ light_ship_cost = -0.15
601
+ }
602
+ }
588
603
  ai_will_do = {
589
604
  factor = 10
590
605
  modifier = {
@@ -600,11 +615,34 @@ estate_burghers_patronage_of_the_arts = {
600
615
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
601
616
  loyalty = 0.05
602
617
  influence = 0.05
603
- penalties = {
604
- global_tax_modifier = -0.05
618
+ conditional_modifier = {
619
+ trigger = { NOT = { has_country_flag = ned_patronage_buff_flag } }
620
+ modifier = { global_tax_modifier = -0.05 }
605
621
  }
606
622
  benefits = {
607
- prestige = 0.5
623
+
624
+ }
625
+ conditional_modifier = {
626
+ trigger = { NOT = { has_country_flag = ned_patronage_buff_flag } }
627
+ modifier = { prestige = 0.5 }
628
+ }
629
+ conditional_modifier = {
630
+ trigger = { has_country_flag = ned_patronage_buff_flag }
631
+ modifier = { prestige = 1 }
632
+ }
633
+ conditional_modifier = {
634
+ trigger = {
635
+ has_country_flag = TIM_upgrade_patronage_of_arts_privilege_flag
636
+ has_dlc = "Mandate of Heaven"
637
+ }
638
+ modifier = { global_prosperity_growth = 0.5 }
639
+ }
640
+ conditional_modifier = {
641
+ trigger = {
642
+ has_country_flag = TIM_upgrade_patronage_of_arts_privilege_flag
643
+ NOT = { has_dlc = "Mandate of Heaven" }
644
+ }
645
+ modifier = { stability_cost_modifier = -0.15 }
608
646
  }
609
647
  cooldown_years = 10
610
648
  on_granted = {
@@ -652,10 +690,6 @@ estate_burghers_patronage_of_the_arts = {
652
690
  build_cost = -0.05
653
691
  }
654
692
  }
655
- #conditional_modifier = {
656
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
657
- # modifier = { monthly_ottoman_decadence = 0.02 }
658
- #}
659
693
  ai_will_do = {
660
694
  factor = 0
661
695
  }
@@ -692,10 +726,10 @@ estate_burghers_land_trade_rights = {
692
726
  trigger = { has_government_mechanic = russian_modernization_mechanic }
693
727
  modifier = { monthly_russian_modernization = -0.03 }
694
728
  }
695
- #conditional_modifier = {
696
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
697
- # modifier = { monthly_ottoman_decadence = 0.02 }
698
- #}
729
+ conditional_modifier={
730
+ trigger = { has_country_flag = MAY_upgrade_privilege_of_burghers_flag }
731
+ modifier = { dip_tech_cost_modifier = -0.1 }
732
+ }
699
733
  ai_will_do = {
700
734
  factor = 0
701
735
  }
@@ -1242,10 +1276,6 @@ estate_burghers_the_great_privilege = {
1242
1276
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1243
1277
  modifier = { monthly_russian_modernization = -0.03 }
1244
1278
  }
1245
- #conditional_modifier = {
1246
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1247
- # modifier = { monthly_ottoman_decadence = 0.02 }
1248
- #}
1249
1279
  ai_will_do = {
1250
1280
  factor = 0
1251
1281
  }
@@ -1326,10 +1356,6 @@ estate_burghers_exclusive_trade_rights = {
1326
1356
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1327
1357
  modifier = { monthly_russian_modernization = -0.03 }
1328
1358
  }
1329
- #conditional_modifier = {
1330
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1331
- # modifier = { monthly_ottoman_decadence = 0.02 }
1332
- #}
1333
1359
  ai_will_do = {
1334
1360
  factor = 0
1335
1361
  }
@@ -1365,10 +1391,6 @@ estate_burghers_control_over_monetary_policy = {
1365
1391
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1366
1392
  modifier = { monthly_russian_modernization = -0.03 }
1367
1393
  }
1368
- #conditional_modifier = {
1369
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1370
- # modifier = { monthly_ottoman_decadence = 0.02 }
1371
- #}
1372
1394
  ai_will_do = {
1373
1395
  factor = 1
1374
1396
  modifier = {
@@ -1453,14 +1475,19 @@ estate_burghers_private_trade_fleets = {
1453
1475
  trade_steering = 0.1
1454
1476
  }
1455
1477
  }
1478
+ conditional_modifier = {
1479
+ trigger = {
1480
+ has_country_flag = oma_private_trading_fleets_buff_flag
1481
+ }
1482
+ modifier = {
1483
+ naval_forcelimit_modifier = 0.15
1484
+ }
1485
+ }
1486
+
1456
1487
  conditional_modifier = {
1457
1488
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1458
1489
  modifier = { monthly_russian_modernization = -0.03 }
1459
1490
  }
1460
- #conditional_modifier = {
1461
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1462
- # modifier = { monthly_ottoman_decadence = 0.02 }
1463
- #}
1464
1491
  ai_will_do = {
1465
1492
  factor = 1
1466
1493
  modifier = {
@@ -1541,10 +1568,6 @@ estate_burghers_statutory_rights = {
1541
1568
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1542
1569
  modifier = { monthly_russian_modernization = -0.03 }
1543
1570
  }
1544
- #conditional_modifier = {
1545
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1546
- # modifier = { monthly_ottoman_decadence = 0.02 }
1547
- #}
1548
1571
  ai_will_do = {
1549
1572
  factor = 0
1550
1573
  }
@@ -1619,10 +1642,6 @@ estate_burghers_khmer_irrigation = {
1619
1642
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1620
1643
  modifier = { monthly_russian_modernization = -0.03 }
1621
1644
  }
1622
- #conditional_modifier = {
1623
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1624
- # modifier = { monthly_ottoman_decadence = 0.02 }
1625
- #}
1626
1645
  ai_will_do = {
1627
1646
  factor = 1000
1628
1647
  }
@@ -1690,10 +1709,6 @@ estate_burghers_tropical_nation = {
1690
1709
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1691
1710
  modifier = { monthly_russian_modernization = -0.03 }
1692
1711
  }
1693
- #conditional_modifier = {
1694
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1695
- # modifier = { monthly_ottoman_decadence = 0.02 }
1696
- #}
1697
1712
  ai_will_do = {
1698
1713
  factor = 1000
1699
1714
  }
@@ -1724,10 +1739,6 @@ estate_burghers_orang_laut_alliances = {
1724
1739
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1725
1740
  modifier = { monthly_russian_modernization = -0.03 }
1726
1741
  }
1727
- #conditional_modifier = {
1728
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1729
- # modifier = { monthly_ottoman_decadence = 0.02 }
1730
- #}
1731
1742
  ai_will_do = {
1732
1743
  factor = 5
1733
1744
  }
@@ -2108,6 +2119,10 @@ estate_burghers_orthodox_tolerance = {
2108
2119
  NOT = { religion = coptic }
2109
2120
  #has_unlocked_estate_privilege = { estate_privilege = estate_burghers_orthodox_tolerance }
2110
2121
  }
2122
+ conditional_modifier = {
2123
+ trigger = { has_country_flag = hun_empower_orthodox_autonomy }
2124
+ modifier = { max_absolutism = 5 church_loyalty_modifier = 0.1 }
2125
+ }
2111
2126
  can_select = {
2112
2127
  religion_group = christian
2113
2128
  NOT = { religion = orthodox }
@@ -2396,10 +2411,28 @@ estate_burghers_development_of_cities = {
2396
2411
  influence = 0.05
2397
2412
  max_absolutism = -5
2398
2413
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
2414
+ conditional_modifier = {
2415
+ trigger = {
2416
+ OR = {
2417
+ has_country_flag = ITA_upgrade_city_expansion_privileges_flag
2418
+ has_country_flag = INC_remove_max_absolutism_penalty_from_city_expansion_privileges_flag
2419
+ }
2420
+ }
2421
+ modifier = {
2422
+ max_absolutism = 5
2423
+ }
2424
+ }
2399
2425
  is_valid = {
2400
2426
  has_dlc = "Domination"
2401
2427
  }
2402
2428
  on_granted = {
2429
+ if = {
2430
+ limit = {
2431
+ has_country_flag = ITA_upgrade_city_expansion_privileges_flag
2432
+ }
2433
+ custom_tooltip = ITA_doing_estate_burghers_agendas
2434
+ }
2435
+
2403
2436
  custom_tooltip = estate_burghers_development_of_cities_gt
2404
2437
  tooltip = {
2405
2438
  add_province_modifier = {
@@ -2445,10 +2478,6 @@ estate_burghers_development_of_cities = {
2445
2478
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2446
2479
  modifier = { monthly_russian_modernization = -0.03 }
2447
2480
  }
2448
- #conditional_modifier = {
2449
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2450
- # modifier = { monthly_ottoman_decadence = 0.02 }
2451
- #}
2452
2481
  ai_will_do = {
2453
2482
  factor = 0
2454
2483
  }
@@ -2483,10 +2512,6 @@ estate_burghers_control_over_the_coinage = {
2483
2512
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2484
2513
  modifier = { monthly_russian_modernization = -0.03 }
2485
2514
  }
2486
- #conditional_modifier = {
2487
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2488
- # modifier = { monthly_ottoman_decadence = 0.02 }
2489
- #}
2490
2515
  ai_will_do = {
2491
2516
  factor = 0
2492
2517
  }
@@ -2567,10 +2592,6 @@ estate_burghers_economical_boost = {
2567
2592
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2568
2593
  modifier = { monthly_russian_modernization = -0.03 }
2569
2594
  }
2570
- #conditional_modifier = {
2571
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2572
- # modifier = { monthly_ottoman_decadence = 0.02 }
2573
- #}
2574
2595
  ai_will_do = {
2575
2596
  factor = 0
2576
2597
  }
@@ -2605,10 +2626,6 @@ estate_burghers_expanded_monopoly_rights = {
2605
2626
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2606
2627
  modifier = { monthly_russian_modernization = -0.03 }
2607
2628
  }
2608
- #conditional_modifier = {
2609
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2610
- # modifier = { monthly_ottoman_decadence = 0.02 }
2611
- #}
2612
2629
  ai_will_do = {
2613
2630
  factor = 10
2614
2631
  modifier = {
@@ -2652,10 +2669,6 @@ estate_burghers_force_impressment = {
2652
2669
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2653
2670
  modifier = { monthly_russian_modernization = -0.03 }
2654
2671
  }
2655
- #conditional_modifier = {
2656
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2657
- # modifier = { monthly_ottoman_decadence = 0.02 }
2658
- #}
2659
2672
  ai_will_do = {
2660
2673
  factor = 0
2661
2674
  }
@@ -2695,10 +2708,6 @@ estate_burghers_naval_school_right = {
2695
2708
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2696
2709
  modifier = { monthly_russian_modernization = -0.03 }
2697
2710
  }
2698
- #conditional_modifier = {
2699
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2700
- # modifier = { monthly_ottoman_decadence = 0.02 }
2701
- #}
2702
2711
  ai_will_do = {
2703
2712
  factor = 0
2704
2713
  }
@@ -2735,10 +2744,6 @@ estate_burghers_financial_demand = {
2735
2744
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2736
2745
  modifier = { monthly_russian_modernization = -0.03 }
2737
2746
  }
2738
- #conditional_modifier = {
2739
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2740
- # modifier = { monthly_ottoman_decadence = 0.02 }
2741
- #}
2742
2747
  ai_will_do = {
2743
2748
  factor = 0
2744
2749
  }
@@ -2753,36 +2758,76 @@ estate_burghers_promote_burgher_bookkeeping = {
2753
2758
  has_dlc = "Domination"
2754
2759
  }
2755
2760
  loyalty_scaled_conditional_modifier = {
2756
- trigger = { always = yes }
2761
+ trigger = {
2762
+ NOT = {
2763
+ has_government_attribute = GER_upgrade_merchant_bookkeeping
2764
+ }
2765
+ }
2757
2766
  modifier = {
2758
2767
  inflation_action_cost = -0.5
2759
2768
  interest = -0.5
2760
2769
  state_maintenance_modifier = -0.25
2761
2770
  }
2762
2771
  }
2772
+ loyalty_scaled_conditional_modifier = {
2773
+ trigger = {
2774
+ has_government_attribute = GER_upgrade_merchant_bookkeeping
2775
+ }
2776
+ modifier = {
2777
+ inflation_action_cost = -1
2778
+ interest = -1
2779
+ state_maintenance_modifier = -0.5
2780
+ }
2781
+ }
2763
2782
  on_granted = {
2764
- scaling_with_loyalty_privilege_tooltip = {
2765
- estate_privilege = estate_burghers_promote_burgher_bookkeeping
2783
+ if = {
2784
+ limit = {
2785
+ has_government_attribute = GER_upgrade_merchant_bookkeeping
2786
+ }
2787
+ scaling_with_loyalty_privilege_tooltip = {
2788
+ estate_privilege = estate_burghers_promote_burgher_bookkeeping_upgraded
2789
+ }
2790
+ }
2791
+ else = {
2792
+ scaling_with_loyalty_privilege_tooltip = {
2793
+ estate_privilege = estate_burghers_promote_burgher_bookkeeping
2794
+ }
2766
2795
  }
2767
2796
  }
2768
2797
  on_revoked = {
2769
- scaling_with_loyalty_privilege_tooltip = {
2770
- estate_privilege = estate_burghers_promote_burgher_bookkeeping
2798
+ if = {
2799
+ limit = {
2800
+ has_government_attribute = GER_upgrade_merchant_bookkeeping
2801
+ }
2802
+ scaling_with_loyalty_privilege_tooltip = {
2803
+ estate_privilege = estate_burghers_promote_burgher_bookkeeping_upgraded
2804
+ }
2805
+ }
2806
+ else = {
2807
+ scaling_with_loyalty_privilege_tooltip = {
2808
+ estate_privilege = estate_burghers_promote_burgher_bookkeeping
2809
+ }
2771
2810
  }
2772
2811
  }
2773
2812
  on_invalid = {
2774
- scaling_with_loyalty_privilege_tooltip = {
2775
- estate_privilege = estate_burghers_promote_burgher_bookkeeping
2813
+ if = {
2814
+ limit = {
2815
+ has_government_attribute = GER_upgrade_merchant_bookkeeping
2816
+ }
2817
+ scaling_with_loyalty_privilege_tooltip = {
2818
+ estate_privilege = estate_burghers_promote_burgher_bookkeeping_upgraded
2819
+ }
2820
+ }
2821
+ else = {
2822
+ scaling_with_loyalty_privilege_tooltip = {
2823
+ estate_privilege = estate_burghers_promote_burgher_bookkeeping
2824
+ }
2776
2825
  }
2777
2826
  }
2778
2827
  conditional_modifier = {
2779
2828
  trigger = { has_government_mechanic = russian_modernization_mechanic }
2780
2829
  modifier = { monthly_russian_modernization = -0.03 }
2781
2830
  }
2782
- #conditional_modifier = {
2783
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
2784
- # modifier = { monthly_ottoman_decadence = 0.02 }
2785
- #}
2786
2831
  ai_will_do = {
2787
2832
  factor = 10
2788
2833
  }
@@ -3517,4 +3562,1219 @@ estate_burghers_persian_rugs = {
3517
3562
  ai_will_do = {
3518
3563
  factor = 100
3519
3564
  }
3565
+ }
3566
+
3567
+ estate_burghers_italian_coastal_influence = {
3568
+ icon = estate_burghers_reliance_on_republics
3569
+ loyalty = 0.0
3570
+ influence = 0.1
3571
+ max_absolutism = -5
3572
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3573
+ is_valid = {
3574
+ if = {
3575
+ limit = {
3576
+ exists = GEN
3577
+ }
3578
+ has_estate_privilege = estate_burghers_italian_coastal_influence
3579
+ }
3580
+ else = {
3581
+ always = no #Gets removed when Genoa dies
3582
+ }
3583
+ }
3584
+ can_select = {
3585
+ }
3586
+ on_granted = {
3587
+ }
3588
+ on_revoked = {
3589
+ if = {
3590
+ limit = {
3591
+ OR = {
3592
+ tag = FEO
3593
+ was_tag = FEO
3594
+ }
3595
+ }
3596
+ 2410 = {
3597
+ remove_trade_modifier = {
3598
+ who = GEN
3599
+ key = GEN_ITALIAN_MERCHANT_INFLUENCE
3600
+ }
3601
+ }
3602
+ }
3603
+ else_if = {
3604
+ limit = {
3605
+ OR = {
3606
+ tag = TRE
3607
+ was_tag = TRE
3608
+ }
3609
+ }
3610
+ 330 = {
3611
+ remove_trade_modifier = {
3612
+ who = GEN
3613
+ key = GEN_ITALIAN_MERCHANT_INFLUENCE
3614
+ }
3615
+ }
3616
+ }
3617
+ }
3618
+ on_invalid = {
3619
+ }
3620
+ conditional_modifier = {
3621
+ trigger = { has_government_mechanic = russian_modernization_mechanic }
3622
+ modifier = { monthly_russian_modernization = -0.03 }
3623
+ }
3624
+ conditional_modifier = {
3625
+ trigger = {
3626
+ NOT = {
3627
+ has_country_flag = feo_buffed_italian_coastal_influence
3628
+ }
3629
+ }
3630
+ modifier = {
3631
+ province_trade_power_modifier = -0.2
3632
+ local_sailors_modifier = -0.1
3633
+ }
3634
+ }
3635
+ conditional_modifier = {
3636
+ trigger = {
3637
+ has_country_flag = feo_buffed_italian_coastal_influence
3638
+ }
3639
+ modifier = {
3640
+ trade_efficiency = 0.05
3641
+ global_institution_spread = 0.15
3642
+ }
3643
+ }
3644
+ can_revoke = {
3645
+ if = {
3646
+ limit = {
3647
+ OR = {
3648
+ tag = FEO
3649
+ was_tag = FEO
3650
+ }
3651
+ }
3652
+ custom_trigger_tooltip = {
3653
+ tooltip = FEO_REVOKABLE_THROUGH_ITALIAN_INFLUENCE_MISSION_TT
3654
+ always = no
3655
+ }
3656
+ }
3657
+ else_if = {
3658
+ limit = {
3659
+ OR = {
3660
+ tag = TRE
3661
+ was_tag = TRE
3662
+ }
3663
+ }
3664
+ custom_trigger_tooltip = {
3665
+ tooltip = TRE_REVOKABLE_THROUGH_TIES_WITH_THE_LATINS_MISSION_TT
3666
+ always = no
3667
+ }
3668
+ }
3669
+ }
3670
+
3671
+ ai_will_do = {
3672
+ factor = 0
3673
+ }
3674
+ }
3675
+
3676
+ estate_burghers_livestock_regulations = {
3677
+ icon = privilege_monopoly_of_goods_livestock
3678
+ loyalty = 0.05
3679
+ influence = 0.1
3680
+ max_absolutism = -10
3681
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
3682
+ is_valid = {
3683
+ mission_completed = feo_black_sea_domination
3684
+ }
3685
+ on_granted_province = {
3686
+ if = {
3687
+ limit = {
3688
+ trade_goods = livestock
3689
+ }
3690
+ add_province_modifier = {
3691
+ name = livestock_regulation_modifier
3692
+ duration = -1
3693
+ hidden = yes
3694
+ }
3695
+ }
3696
+ }
3697
+ on_revoked_province = {
3698
+ if = {
3699
+ limit = {
3700
+ has_province_modifier = livestock_regulation_modifier
3701
+ }
3702
+ remove_province_modifier = livestock_regulation_modifier
3703
+ }
3704
+ }
3705
+ conditional_modifier = {
3706
+ trigger = { has_government_mechanic = russian_modernization_mechanic }
3707
+ modifier = { monthly_russian_modernization = -0.03 }
3708
+ }
3709
+ benefits = {
3710
+ trade_goods_size_modifier_in_livestock_provinces = 0.15
3711
+ }
3712
+ can_revoke = {
3713
+ always = yes
3714
+ }
3715
+
3716
+ ai_will_do = {
3717
+ factor = 0
3718
+ }
3719
+ }
3720
+
3721
+ estate_burghers_arabian_traders = {
3722
+ icon = privilege_make_generous_donation
3723
+ loyalty = 0.1
3724
+ influence = 0.05
3725
+ max_absolutism = -5
3726
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3727
+ is_valid = {
3728
+ has_country_flag = orm_arabic_merchants_flag
3729
+ }
3730
+ can_select = {
3731
+ }
3732
+ on_granted = {
3733
+ }
3734
+ on_revoked = {
3735
+ }
3736
+ on_invalid = {
3737
+ }
3738
+ conditional_modifier = {
3739
+ trigger = { has_government_mechanic = russian_modernization_mechanic }
3740
+ modifier = { monthly_russian_modernization = -0.03 }
3741
+ }
3742
+ conditional_modifier = {
3743
+ trigger = {
3744
+ has_country_flag = orm_arabic_merchants_merchant_buff_flag
3745
+ }
3746
+ modifier = {
3747
+ merchants = 1
3748
+ placed_merchant_power_modifier = 0.1
3749
+ }
3750
+ }
3751
+ conditional_modifier = {
3752
+ trigger = {
3753
+ has_country_flag = orm_arabic_merchants_light_ships_buff_flag
3754
+ }
3755
+ modifier = {
3756
+ light_ship_cost = -0.2
3757
+ ship_trade_power_modifier = 0.3
3758
+ }
3759
+ }
3760
+ conditional_modifier = {
3761
+ trigger = {
3762
+ has_country_flag = orm_arabic_merchants_diplomatic_buff_flag
3763
+ }
3764
+ modifier = {
3765
+ transfer_trade_power_reasons = 30
3766
+ improve_relation_modifier = 0.25
3767
+ }
3768
+ }
3769
+ conditional_modifier = {
3770
+ trigger = {
3771
+ has_country_flag = orm_arabian_merchants_privilege_buff
3772
+ }
3773
+ modifier = {
3774
+ arabic_trade_influence_power_gain_modifier = 0.15
3775
+ }
3776
+ }
3777
+ can_revoke = {
3778
+
3779
+ }
3780
+ ai_will_do = {
3781
+ factor = 0
3782
+ }
3783
+ }
3784
+
3785
+ estate_burghers_omani_marines = {
3786
+ icon = privilege_marines
3787
+ loyalty = 0.0
3788
+ influence = 0.05
3789
+ max_absolutism = -5
3790
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3791
+ is_valid = {
3792
+ has_country_flag = oma_omani_marines_privilege_flag
3793
+ }
3794
+ can_select = {
3795
+ }
3796
+ on_granted = {
3797
+ add_country_modifier = {
3798
+ name = oma_strengthen_omani_marines
3799
+ duration = -1
3800
+ }
3801
+ }
3802
+ on_revoked = {
3803
+ remove_country_modifier = oma_strengthen_omani_marines
3804
+ }
3805
+ on_invalid = {
3806
+ remove_country_modifier = oma_strengthen_omani_marines
3807
+ }
3808
+ conditional_modifier = {
3809
+ trigger = { has_government_mechanic = russian_modernization_mechanic }
3810
+ modifier = { monthly_russian_modernization = -0.03 }
3811
+ }
3812
+ can_revoke = {
3813
+
3814
+ }
3815
+ ai_will_do = {
3816
+ factor = 0
3817
+ }
3818
+ }
3819
+
3820
+ estate_burghers_ITA_promote_latin_merchants = {
3821
+ icon = privilege_ducats
3822
+ loyalty = 0.05
3823
+ influence = 0.1
3824
+ max_absolutism = -10
3825
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
3826
+ is_valid = {
3827
+ mission_completed = ITA_the_trades_to_come
3828
+ }
3829
+ on_granted = {
3830
+ if = {
3831
+ limit = {
3832
+ mission_completed = ITA_italian_discovery
3833
+ }
3834
+ custom_tooltip = ITA_trade_good_benefits
3835
+ }
3836
+ if = {
3837
+ limit = {
3838
+ mission_completed = ITA_journey_to_the_east
3839
+ }
3840
+ custom_tooltip = ITA_scaling_spices
3841
+ }
3842
+ }
3843
+
3844
+ conditional_modifier = {
3845
+ trigger = {
3846
+ OR = {
3847
+ mission_completed = ITA_venice_node
3848
+ mission_completed = ITA_genoa_node
3849
+ }
3850
+ }
3851
+ modifier = { max_absolutism = 10 }
3852
+ }
3853
+
3854
+ conditional_modifier = {
3855
+ trigger = {
3856
+ mission_completed = ITA_venice_node
3857
+ has_dlc = "Dharma"
3858
+ }
3859
+ modifier = { trade_company_investment_cost = -0.15 }
3860
+ }
3861
+
3862
+ conditional_modifier = {
3863
+ trigger = {
3864
+ mission_completed = ITA_venice_node
3865
+ NOT = { has_dlc = "Dharma" }
3866
+ }
3867
+ modifier = { build_cost = -0.05 }
3868
+ }
3869
+
3870
+ conditional_modifier = {
3871
+ trigger = {
3872
+ mission_completed = ITA_genoa_node
3873
+ }
3874
+ modifier = {
3875
+ colonist_placement_chance = 0.05
3876
+ range = 0.25
3877
+ }
3878
+ }
3879
+
3880
+ conditional_modifier = {
3881
+ trigger = {
3882
+ has_country_flag = ITA_venice_missions
3883
+ not_in_mission_preview_mode = { key = ITA_TRADE }
3884
+ }
3885
+ modifier = {
3886
+ trade_steering = 0.05
3887
+ global_foreign_trade_power = 0.1
3888
+ }
3889
+ }
3890
+
3891
+ conditional_modifier = {
3892
+ trigger = {
3893
+ has_country_flag = ITA_genoa_missions
3894
+ not_in_mission_preview_mode = { key = ITA_TRADE }
3895
+ }
3896
+ modifier = { trade_efficiency = 0.05 }
3897
+ }
3898
+
3899
+
3900
+
3901
+ conditional_modifier = {
3902
+ trigger = {
3903
+ mission_completed = ITA_italian_discovery
3904
+ trading_bonus = {
3905
+ trade_goods = cotton
3906
+ value = yes
3907
+ }
3908
+ }
3909
+ modifier = { global_colonial_growth = 10 }
3910
+ }
3911
+ conditional_modifier = {
3912
+ trigger = {
3913
+ mission_completed = ITA_italian_discovery
3914
+ trading_bonus = {
3915
+ trade_goods = sugar
3916
+ value = yes
3917
+ }
3918
+ }
3919
+ modifier = { war_exhaustion_cost = -0.15 }
3920
+ }
3921
+ conditional_modifier = {
3922
+ trigger = {
3923
+ mission_completed = ITA_italian_discovery
3924
+ trading_bonus = {
3925
+ trade_goods = tobacco
3926
+ value = yes
3927
+ }
3928
+ }
3929
+ modifier = { diplomatic_reputation = 1 }
3930
+ }
3931
+ conditional_modifier = {
3932
+ trigger = {
3933
+ mission_completed = ITA_italian_discovery
3934
+ trading_bonus = {
3935
+ trade_goods = cocoa
3936
+ value = yes
3937
+ }
3938
+ }
3939
+ modifier = { advisor_cost = -0.1 }
3940
+ }
3941
+
3942
+ #ITA mission for scaling modifier.
3943
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.04 } NOT = { trading_part = { trade_goods = spices value = 0.08 } } } modifier = { trade_steering = 0.01 } }
3944
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.08 } NOT = { trading_part = { trade_goods = spices value = 0.12 } } } modifier = { trade_steering = 0.02 } }
3945
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.12 } NOT = { trading_part = { trade_goods = spices value = 0.16 } } } modifier = { trade_steering = 0.03 } }
3946
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.16 } NOT = { trading_part = { trade_goods = spices value = 0.20 } } } modifier = { trade_steering = 0.04 } }
3947
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.20 } NOT = { trading_part = { trade_goods = spices value = 0.24 } } } modifier = { trade_steering = 0.05 } }
3948
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.24 } NOT = { trading_part = { trade_goods = spices value = 0.28 } } } modifier = { trade_steering = 0.06 } }
3949
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.28 } NOT = { trading_part = { trade_goods = spices value = 0.32 } } } modifier = { trade_steering = 0.07 } }
3950
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.32 } NOT = { trading_part = { trade_goods = spices value = 0.36 } } } modifier = { trade_steering = 0.08 } }
3951
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.36 } NOT = { trading_part = { trade_goods = spices value = 0.40 } } } modifier = { trade_steering = 0.09 } }
3952
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.40 } NOT = { trading_part = { trade_goods = spices value = 0.44 } } } modifier = { trade_steering = 0.10 } }
3953
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.44 } NOT = { trading_part = { trade_goods = spices value = 0.48 } } } modifier = { trade_steering = 0.11 } }
3954
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.48 } NOT = { trading_part = { trade_goods = spices value = 0.52 } } } modifier = { trade_steering = 0.12 } }
3955
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.52 } NOT = { trading_part = { trade_goods = spices value = 0.56 } } } modifier = { trade_steering = 0.13 } }
3956
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.56 } NOT = { trading_part = { trade_goods = spices value = 0.60 } } } modifier = { trade_steering = 0.14 } }
3957
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.60 } NOT = { trading_part = { trade_goods = spices value = 0.64 } } } modifier = { trade_steering = 0.15 } }
3958
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.64 } NOT = { trading_part = { trade_goods = spices value = 0.68 } } } modifier = { trade_steering = 0.16 } }
3959
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.68 } NOT = { trading_part = { trade_goods = spices value = 0.72 } } } modifier = { trade_steering = 0.17 } }
3960
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.72 } NOT = { trading_part = { trade_goods = spices value = 0.76 } } } modifier = { trade_steering = 0.18 } }
3961
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.76 } NOT = { trading_part = { trade_goods = spices value = 0.80 } } } modifier = { trade_steering = 0.19 } }
3962
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.80 } NOT = { trading_part = { trade_goods = spices value = 0.84 } } } modifier = { trade_steering = 0.20 } }
3963
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.84 } NOT = { trading_part = { trade_goods = spices value = 0.88 } } } modifier = { trade_steering = 0.21 } }
3964
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.88 } NOT = { trading_part = { trade_goods = spices value = 0.92 } } } modifier = { trade_steering = 0.22 } }
3965
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.92 } NOT = { trading_part = { trade_goods = spices value = 0.96 } } } modifier = { trade_steering = 0.23 } }
3966
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 0.96 } NOT = { trading_part = { trade_goods = spices value = 0.100 } } } modifier = { trade_steering = 0.24 } }
3967
+ conditional_modifier = { trigger = { mission_completed = ITA_journey_to_the_east trading_part = { trade_goods = spices value = 1 } } modifier = { trade_steering = 0.25 } }
3968
+ ai_will_do = {
3969
+ factor = 100
3970
+ }
3971
+ }
3972
+
3973
+ estate_burghers_ITA_permit_merchant_colonists = {
3974
+ icon = estate_burghers_ITA_permit_merchant_colonists
3975
+ loyalty = 0.1
3976
+ influence = 0.05
3977
+ max_absolutism = -5
3978
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3979
+ is_valid = {
3980
+ has_country_flag = ITA_estate_privilege_for_colonization_flag
3981
+ }
3982
+
3983
+ conditional_modifier = {
3984
+ trigger = {
3985
+ has_any_colonist_idea = yes
3986
+ }
3987
+ modifier = {
3988
+ global_colonial_growth = 25
3989
+ trade_steering = 0.05
3990
+ }
3991
+ }
3992
+ conditional_modifier = {
3993
+ trigger = {
3994
+ NOT = { has_any_colonist_idea = yes }
3995
+ }
3996
+ modifier = {
3997
+ colonists = 1
3998
+ colonist_placement_chance = -0.05
3999
+ }
4000
+ }
4001
+
4002
+ ai_will_do = {
4003
+ factor = 100
4004
+ }
4005
+ }
4006
+
4007
+ estate_burghers_GER_customs_union = {
4008
+ icon = estate_burghers_GER_customs_union
4009
+ loyalty = 0.05
4010
+ influence = 0.1
4011
+ max_absolutism = -5
4012
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4013
+ is_valid = {
4014
+ mission_completed = GER_zollverein
4015
+ }
4016
+ benefits = {
4017
+ diplomatic_annexation_cost = -0.05
4018
+ monthly_cultural_unity = 0.25
4019
+ }
4020
+ on_granted = {
4021
+ custom_tooltip = GER_our_vassals_will_gain
4022
+ }
4023
+
4024
+ ai_will_do = {
4025
+ factor = 100
4026
+ }
4027
+ }
4028
+
4029
+ estate_burghers_GER_turn_towards_mercantilism = {
4030
+ icon = estate_burghers_GER_turn_towards_mercantilism
4031
+ loyalty = 0.1
4032
+ influence = 0
4033
+ max_absolutism = -5
4034
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4035
+ is_valid = {
4036
+ has_country_flag = GER_a_turn_towards_mercantilism_privilege_flag
4037
+ }
4038
+ on_granted = {
4039
+ custom_tooltip = GER_bonuses_of_mercantilism
4040
+ }
4041
+ on_revoked = {
4042
+ custom_tooltip = estate_privilege_revoke_lose_modifier_tooltip
4043
+ custom_tooltip = GER_bonuses_of_mercantilism
4044
+ }
4045
+ conditional_modifier = {
4046
+ trigger = {
4047
+ mercantilism = 60
4048
+ }
4049
+ modifier = {
4050
+ global_ship_trade_power = 0.2
4051
+ }
4052
+ }
4053
+ conditional_modifier = {
4054
+ trigger = {
4055
+ mercantilism = 75
4056
+ }
4057
+ modifier = {
4058
+ global_trade_goods_size = 0.05
4059
+ }
4060
+ }
4061
+ conditional_modifier = {
4062
+ trigger = {
4063
+ mercantilism = 90
4064
+ }
4065
+ modifier = {
4066
+ global_trade_goods_size_modifier = 0.05
4067
+ }
4068
+ }
4069
+ ai_will_do = {
4070
+ factor = 0 #AI is not good at intentionally going for mercantilism
4071
+ }
4072
+ }
4073
+
4074
+ estate_burghers_black_devils = {
4075
+ icon = privilege_marines
4076
+ max_absolutism = -5
4077
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4078
+ influence = 0.05
4079
+ is_valid = {
4080
+ has_country_flag = ned_unlock_black_devils_privilege_flag
4081
+ }
4082
+ on_granted = {
4083
+ add_country_modifier = {
4084
+ name = ned_black_devils_modifier
4085
+ duration = -1
4086
+ }
4087
+ }
4088
+ on_revoked = {
4089
+ remove_country_modifier = ned_black_devils_modifier
4090
+ }
4091
+ penalties = {
4092
+ allowed_marine_fraction = -0.1
4093
+ }
4094
+ benefits = {
4095
+ }
4096
+ conditional_modifier = {
4097
+ trigger = { has_government_mechanic = russian_modernization_mechanic }
4098
+ modifier = { monthly_russian_modernization = -0.03 }
4099
+ }
4100
+ ai_will_do = {
4101
+ factor = 0
4102
+ }
4103
+ }
4104
+
4105
+ estate_burghers_maximize_cargo_space = {
4106
+ icon = privilege_fluyt_cargo_space
4107
+ max_absolutism = -5
4108
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4109
+ influence = 0.05
4110
+ is_valid = {
4111
+ has_country_flag = ned_unlocks_fluyts_privileges_flag
4112
+ }
4113
+ can_select = {
4114
+ estate_loyalty = {
4115
+ estate = estate_burghers
4116
+ loyalty = 60
4117
+ }
4118
+ }
4119
+ on_granted = {
4120
+ add_estate_loyalty = {
4121
+ estate = estate_burghers
4122
+ loyalty = -10
4123
+ }
4124
+ if = {
4125
+ limit = {
4126
+ has_estate_privilege = estate_burghers_diversify_fluyts
4127
+ }
4128
+ remove_estate_privilege = estate_burghers_diversify_fluyts
4129
+ remove_country_modifier = ned_diversify_fluyts
4130
+ }
4131
+ add_country_modifier = {
4132
+ name = ned_maximize_cargo_space
4133
+ duration = -1
4134
+ }
4135
+ }
4136
+ on_revoked = {
4137
+ remove_country_modifier = ned_maximize_cargo_space
4138
+ }
4139
+ penalties = {
4140
+
4141
+ }
4142
+ benefits = {
4143
+ }
4144
+ conditional_modifier = {
4145
+ trigger = { has_government_mechanic = russian_modernization_mechanic }
4146
+ modifier = { monthly_russian_modernization = -0.03 }
4147
+ }
4148
+ ai_will_do = {
4149
+ factor = 0
4150
+ }
4151
+ }
4152
+
4153
+ estate_burghers_diversify_fluyts = {
4154
+ icon = privilege_diversify_fluyts
4155
+ max_absolutism = -5
4156
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4157
+ influence = 0.05
4158
+ is_valid = {
4159
+ has_country_flag = ned_unlocks_fluyts_privileges_flag
4160
+ }
4161
+ can_select = {
4162
+ estate_loyalty = {
4163
+ estate = estate_burghers
4164
+ loyalty = 60
4165
+ }
4166
+ }
4167
+ on_granted = {
4168
+ add_estate_loyalty = {
4169
+ estate = estate_burghers
4170
+ loyalty = -10
4171
+ }
4172
+ if = {
4173
+ limit = {
4174
+ has_estate_privilege = estate_burghers_maximize_cargo_space
4175
+ }
4176
+ remove_estate_privilege = estate_burghers_maximize_cargo_space
4177
+ remove_country_modifier = ned_maximize_cargo_space
4178
+ }
4179
+ add_country_modifier = {
4180
+ name = ned_diversify_fluyts
4181
+ duration = -1
4182
+ }
4183
+ }
4184
+ on_revoked = {
4185
+ remove_country_modifier = ned_diversify_fluyts
4186
+ }
4187
+ penalties = {
4188
+
4189
+ }
4190
+ benefits = {
4191
+ }
4192
+ conditional_modifier = {
4193
+ trigger = { has_government_mechanic = russian_modernization_mechanic }
4194
+ modifier = { monthly_russian_modernization = -0.03 }
4195
+ }
4196
+ ai_will_do = {
4197
+ factor = 0
4198
+ }
4199
+ }
4200
+
4201
+ estate_burghers_voc_privilege = {
4202
+ icon = privilege_voc
4203
+ max_absolutism = -5
4204
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4205
+ influence = 0.15
4206
+ is_valid = {
4207
+ has_country_flag = ned_voc_privilege_flag
4208
+ }
4209
+ on_granted = {
4210
+ custom_tooltip = NED_UNLOCKS_VOC_ESTABLISHMENT
4211
+ }
4212
+ penalties = {
4213
+
4214
+ }
4215
+ benefits = {
4216
+ trade_company_investment_cost = -0.1
4217
+ }
4218
+ conditional_modifier = {
4219
+ trigger = { has_country_flag = ned_voc_trade_buffs_flag }
4220
+ modifier = {
4221
+ trade_efficiency = 0.05
4222
+ allowed_voc_indiamen_fraction = 0.1
4223
+ }
4224
+ }
4225
+ conditional_modifier = {
4226
+ trigger = { has_country_flag = ned_voc_burghers_buff_flag }
4227
+ modifier = { trade_company_governing_cost = -0.15 }
4228
+ }
4229
+ conditional_modifier = {
4230
+ trigger = { has_government_mechanic = russian_modernization_mechanic }
4231
+ modifier = { monthly_russian_modernization = -0.03 }
4232
+ }
4233
+ ai_will_do = {
4234
+ factor = 0
4235
+ }
4236
+ }
4237
+
4238
+ estate_burghers_hungarian_royal_cities = {
4239
+ icon = privilege_development_efficiency
4240
+ max_absolutism = -5
4241
+ land_share = 5
4242
+ loyalty = 0.1
4243
+ influence = 0.05
4244
+ is_valid = {
4245
+ has_unlocked_estate_privilege = {
4246
+ estate_privilege = estate_burghers_hungarian_royal_cities
4247
+ }
4248
+ }
4249
+ can_select = {
4250
+ }
4251
+ on_granted = {
4252
+ custom_tooltip = estate_burghers_hungarian_royal_cities_tt
4253
+ tooltip = {
4254
+ add_province_modifier = {
4255
+ name = estate_burghers_hungarian_royal_city_modifier
4256
+ duration = -1
4257
+ desc = hun_royal_province_desc
4258
+ }
4259
+ }
4260
+ }
4261
+ on_granted_province = {
4262
+ if = {
4263
+ limit = {
4264
+ region = carpathia_region
4265
+ development = 20
4266
+ province_has_center_of_trade_of_level = 1
4267
+ }
4268
+ add_province_modifier = {
4269
+ name = estate_burghers_hungarian_royal_city_modifier
4270
+ duration = -1
4271
+ }
4272
+ }
4273
+ }
4274
+ on_revoked = {
4275
+ custom_tooltip = estate_burghers_hungarian_royal_cities_rt
4276
+ }
4277
+ on_revoked_province = {
4278
+ if = {
4279
+ limit = { has_province_modifier = estate_burghers_hungarian_royal_city_modifier }
4280
+ remove_province_modifier = estate_burghers_hungarian_royal_city_modifier
4281
+ }
4282
+ }
4283
+ on_invalid = {
4284
+ }
4285
+ on_invalid_province = {
4286
+ if = {
4287
+ limit = { has_province_modifier = estate_burghers_hungarian_royal_city_modifier }
4288
+ remove_province_modifier = estate_burghers_hungarian_royal_city_modifier
4289
+ }
4290
+ }
4291
+ mechanics = {
4292
+ no_estate_crownland_loss_from_developing
4293
+ }
4294
+ ai_will_do = {
4295
+ factor = 100
4296
+ }
4297
+ }
4298
+
4299
+ estate_burghers_INC_mountain_development = {
4300
+ icon = privilege_dev_cost_mountain
4301
+ max_absolutism = -5
4302
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4303
+ influence = 0.1
4304
+ loyalty = 0.05
4305
+ is_valid = {
4306
+ is_andean_society_trigger = yes
4307
+ }
4308
+ can_select = {
4309
+ any_owned_province = {
4310
+ OR = {
4311
+ has_terrain = mountain
4312
+ has_terrain = highlands
4313
+ has_terrain = hills
4314
+ }
4315
+ }
4316
+ }
4317
+ on_granted = {
4318
+ custom_tooltip = estate_burghers_INC_mountain_development_every_non_mountain_province
4319
+ tooltip = {
4320
+ add_province_modifier = {
4321
+ name = estate_burghers_mountain_expansion_penalty
4322
+ duration = -1
4323
+ }
4324
+ }
4325
+ if = {
4326
+ limit = {
4327
+ has_country_flag = INC_upgrade_mountain_development_privilege_flag
4328
+ }
4329
+ custom_tooltip = estate_burghers_mountain_expansion_upgraded_gt
4330
+ }
4331
+ else = {
4332
+ custom_tooltip = estate_burghers_mountain_expansion_gt
4333
+ }
4334
+ hidden_effect = {
4335
+ every_owned_province = {
4336
+ limit = {
4337
+ NOT = {
4338
+ OR = {
4339
+ has_terrain = mountain
4340
+ has_terrain = hills
4341
+ has_terrain = highlands
4342
+ }
4343
+ }
4344
+ }
4345
+ add_province_modifier = {
4346
+ name = estate_burghers_mountain_expansion_penalty
4347
+ duration = -1
4348
+ }
4349
+ }
4350
+
4351
+ if = {
4352
+ limit = {
4353
+ has_country_flag = INC_upgrade_mountain_development_privilege_flag
4354
+ }
4355
+ every_owned_province = {
4356
+ limit = {
4357
+ has_terrain = mountain
4358
+ }
4359
+ add_province_modifier = {
4360
+ name = estate_burghers_mountain_expansion_upgrade_mountains
4361
+ duration = -1
4362
+ }
4363
+ }
4364
+ every_owned_province = {
4365
+ limit = {
4366
+ has_terrain = highlands
4367
+ }
4368
+ add_province_modifier = {
4369
+ name = estate_burghers_mountain_expansion_upgrade_highlands
4370
+ duration = -1
4371
+ }
4372
+ }
4373
+ every_owned_province = {
4374
+ limit = {
4375
+ has_terrain = hills
4376
+ }
4377
+ add_province_modifier = {
4378
+ name = estate_burghers_mountain_expansion_upgrade_hills
4379
+ duration = -1
4380
+ }
4381
+ }
4382
+ }
4383
+ else = {
4384
+ every_owned_province = {
4385
+ limit = {
4386
+ has_terrain = mountain
4387
+ }
4388
+ add_province_modifier = {
4389
+ name = estate_burghers_mountain_expansion_mountains
4390
+ duration = -1
4391
+ }
4392
+ }
4393
+ every_owned_province = {
4394
+ limit = {
4395
+ has_terrain = highlands
4396
+ }
4397
+ add_province_modifier = {
4398
+ name = estate_burghers_mountain_expansion_highlands
4399
+ duration = -1
4400
+ }
4401
+ }
4402
+ every_owned_province = {
4403
+ limit = {
4404
+ has_terrain = hills
4405
+ }
4406
+ add_province_modifier = {
4407
+ name = estate_burghers_mountain_expansion_hills
4408
+ duration = -1
4409
+ }
4410
+ }
4411
+ }
4412
+ }
4413
+ }
4414
+ on_revoked = {
4415
+ custom_tooltip = INC_benefits_of_the_privilege_will_be_removed
4416
+ hidden_effect = {
4417
+ every_owned_province = {
4418
+ limit = {
4419
+ OR = {
4420
+ has_province_modifier = estate_burghers_mountain_expansion_mountains
4421
+ has_province_modifier = estate_burghers_mountain_expansion_highlands
4422
+ has_province_modifier = estate_burghers_mountain_expansion_hills
4423
+ has_province_modifier = estate_burghers_mountain_expansion_upgrade_mountains
4424
+ has_province_modifier = estate_burghers_mountain_expansion_upgrade_highlands
4425
+ has_province_modifier = estate_burghers_mountain_expansion_upgrade_hills
4426
+ has_province_modifier = estate_burghers_mountain_expansion_penalty
4427
+ }
4428
+ }
4429
+ remove_province_modifier = estate_burghers_mountain_expansion_mountains
4430
+ remove_province_modifier = estate_burghers_mountain_expansion_highlands
4431
+ remove_province_modifier = estate_burghers_mountain_expansion_hills
4432
+ remove_province_modifier = estate_burghers_mountain_expansion_upgrade_mountains
4433
+ remove_province_modifier = estate_burghers_mountain_expansion_upgrade_highlands
4434
+ remove_province_modifier = estate_burghers_mountain_expansion_upgrade_hills
4435
+ remove_province_modifier = estate_burghers_mountain_expansion_penalty
4436
+ }
4437
+ }
4438
+
4439
+ add_country_modifier = {
4440
+ name = INC_development_cost_penalty
4441
+ duration = 1825
4442
+ }
4443
+ }
4444
+ penalties = {
4445
+ }
4446
+ benefits = {
4447
+ }
4448
+ ai_will_do = {
4449
+ factor = 100
4450
+ modifier = {
4451
+ factor = 2
4452
+ num_of_owned_provinces_with = {
4453
+ OR = {
4454
+ has_terrain = mountain
4455
+ has_terrain = highlands
4456
+ has_terrain = hills
4457
+ }
4458
+ value = 8
4459
+ }
4460
+ }
4461
+ modifier = {
4462
+ factor = 0
4463
+ is_absolutism_active = yes
4464
+ }
4465
+ }
4466
+ }
4467
+
4468
+ estate_burghers_MAY_support_of_chontal_maya = {
4469
+ icon = privilege_mayan_canoes
4470
+ loyalty = 0.1
4471
+ influence = 0
4472
+ max_absolutism = -10
4473
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
4474
+ is_valid = {
4475
+ has_country_flag = MAY_chontal_maya_priv_flag
4476
+ }
4477
+ penalties = {
4478
+ galley_power = -0.1
4479
+ heavy_ship_power = -0.1
4480
+ }
4481
+ benefits = {
4482
+ global_ship_trade_power = 0.25
4483
+ trade_efficiency = 0.1
4484
+ trade_range_modifier = 0.5
4485
+ }
4486
+ ai_will_do = {
4487
+ factor = 1
4488
+ }
4489
+ }
4490
+
4491
+ estate_burghers_MAY_tropical_adaptation = {
4492
+ icon = privilege_jungle_adaptation
4493
+ loyalty = 0.05
4494
+ influence = 0.1
4495
+ max_absolutism = -10
4496
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
4497
+ is_valid = {
4498
+ is_mayan_society_trigger = yes
4499
+ }
4500
+ can_select = {
4501
+ any_owned_province = {
4502
+ has_terrain = jungle
4503
+ }
4504
+ }
4505
+ on_granted = {
4506
+ custom_tooltip = MAY_every_province_with_jungle
4507
+ tooltip = {
4508
+ if = {
4509
+ limit = {
4510
+ has_country_flag = MAY_upgraded_privilege
4511
+ }
4512
+ add_province_modifier = {
4513
+ name = MAY_jungle_reduction_upgrade
4514
+ duration = -1
4515
+ }
4516
+ }
4517
+ else = {
4518
+ add_province_modifier = {
4519
+ name = MAY_jungle_reduction
4520
+ duration = -1
4521
+ }
4522
+ }
4523
+ }
4524
+ }
4525
+ on_granted_province = {
4526
+ if = {
4527
+ limit = {
4528
+ has_terrain = jungle
4529
+ }
4530
+ if = {
4531
+ limit = {
4532
+ owner = { has_country_flag = MAY_upgraded_privilege }
4533
+ }
4534
+ add_province_modifier = {
4535
+ name = MAY_jungle_reduction_upgrade
4536
+ duration = -1
4537
+ }
4538
+ }
4539
+ else = {
4540
+ add_province_modifier = {
4541
+ name = MAY_jungle_reduction
4542
+ duration = -1
4543
+ }
4544
+ }
4545
+ }
4546
+ }
4547
+ on_revoked = {
4548
+ custom_tooltip = MAY_benefits_of_the_privilege_will_be_removed
4549
+ hidden_effect = {
4550
+ every_owned_province = {
4551
+ limit = {
4552
+ OR = {
4553
+ has_province_modifier = MAY_jungle_reduction
4554
+ has_province_modifier = MAY_jungle_reduction_upgrade
4555
+ }
4556
+ }
4557
+ remove_province_modifier = MAY_jungle_reduction
4558
+ remove_province_modifier = MAY_jungle_reduction_upgrade
4559
+ }
4560
+ }
4561
+ }
4562
+ ai_will_do = {
4563
+ factor = 1
4564
+ }
4565
+ }
4566
+
4567
+ estate_burghers_SUN_support_recovering_populations = {
4568
+ icon = privilege_development_efficiency
4569
+ loyalty = 0.05
4570
+ influence = 0.1
4571
+ max_absolutism = -5
4572
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4573
+ is_valid = {
4574
+ has_country_flag = SUN_burgher_privilege_recovery_flag
4575
+ }
4576
+ benefits = {
4577
+ development_cost_in_primary_culture = -0.1
4578
+ global_prosperity_growth = 0.5
4579
+ }
4580
+ conditional_modifier = {
4581
+ trigger = {
4582
+ NOT = { has_dlc = "Mandate of Heaven" }
4583
+ }
4584
+ modifier = {
4585
+ global_tax_modifier = -0.1
4586
+ }
4587
+ }
4588
+ conditional_modifier = {
4589
+ trigger = {
4590
+ has_dlc = "Mandate of Heaven"
4591
+ }
4592
+ modifier = {
4593
+ global_tax_modifier = -0.15
4594
+ }
4595
+ }
4596
+ ai_will_do = {
4597
+ factor = 1
4598
+ }
4599
+ }
4600
+
4601
+ estate_burghers_AZT_sponsor_artisans = {
4602
+ icon = privilege_aztec_artisans
4603
+ loyalty = 0.05
4604
+ influence = 0.1
4605
+ max_absolutism = -5
4606
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4607
+ is_valid = {
4608
+ has_country_flag = azt_unlock_sponsor_artisans_flag
4609
+ }
4610
+ loyalty_scaled_conditional_modifier = {
4611
+ trigger = { always = yes }
4612
+ modifier = {
4613
+ production_efficiency = 0.15
4614
+ }
4615
+ }
4616
+
4617
+ on_granted = {
4618
+ custom_tooltip = AZT_SPONSOR_ARTISANS_SCALING_MODIFIER_TT
4619
+ }
4620
+
4621
+ ai_will_do = {
4622
+ factor = 1
4623
+ }
4624
+ }
4625
+
4626
+ estate_burghers_AZT_mexican_gold_mines = {
4627
+ icon = privilege_gold_mint
4628
+ loyalty = 0.05
4629
+ influence = 0.1
4630
+ max_absolutism = -5
4631
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4632
+ is_valid = {
4633
+ has_country_flag = azt_mexican_gold_mines_flag
4634
+ }
4635
+ benefits = {
4636
+ gold_depletion_chance_modifier = -0.5
4637
+ inflation_reduction = 0.1
4638
+ }
4639
+ on_granted = {
4640
+ custom_tooltip = AZT_grant_bonuses_to_gold_provinces
4641
+ tooltip = {
4642
+ add_province_modifier = {
4643
+ name = azt_mexican_goldmine
4644
+ duration = -1
4645
+ }
4646
+ }
4647
+ }
4648
+
4649
+ on_granted_province = {
4650
+ hidden_effect = {
4651
+ if = {
4652
+ limit = {
4653
+ OR = {
4654
+ region = mexico_region
4655
+ region = central_america_region
4656
+ }
4657
+ }
4658
+ add_province_modifier = {
4659
+ name = azt_mexican_goldmine
4660
+ duration = -1
4661
+ hidden = yes
4662
+ }
4663
+ }
4664
+ }
4665
+ }
4666
+
4667
+ on_revoked = {
4668
+ custom_tooltip = AZT_REVOKE_GOLD_PRIVILEGE
4669
+ hidden_effect = {
4670
+ every_owned_province = {
4671
+ limit = {
4672
+ has_province_modifier = azt_mexican_goldmine
4673
+ }
4674
+ remove_province_modifier = azt_mexican_goldmine
4675
+ }
4676
+ }
4677
+ }
4678
+ ai_will_do = {
4679
+ factor = 1
4680
+ }
4681
+ }
4682
+
4683
+ estate_burghers_fugger_family = {
4684
+ icon = estate_burghers_fugger_family
4685
+ max_absolutism = -5
4686
+ loyalty = 0
4687
+ influence = 0.05
4688
+ is_valid = {
4689
+ is_or_was_tag = { tag = HAB }
4690
+ }
4691
+ penalties = {
4692
+ trade_efficiency = -0.05
4693
+ }
4694
+ on_granted = {
4695
+ custom_tooltip = FUGGERS_SCALING_BONUS_TOOLTIP
4696
+ }
4697
+ loyalty_scaled_conditional_modifier = {
4698
+ trigger = {
4699
+ always = yes
4700
+ }
4701
+ modifier = {
4702
+ inflation_reduction = 0.1
4703
+ same_culture_advisor_cost = -0.15
4704
+ }
4705
+ }
4706
+ ai_will_do = {
4707
+ factor = 5
4708
+ }
4709
+ }
4710
+
4711
+ estate_burghers_TIM_gulf_toll = {
4712
+ icon = privilege_monopoly
4713
+ max_absolutism = -5
4714
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
4715
+ influence = 0.0
4716
+ loyalty = -0.05
4717
+ is_valid = {
4718
+ has_country_flag = TIM_gulf_toll_privilege_flag
4719
+ }
4720
+ on_granted = {
4721
+ 1334 = {
4722
+ add_trade_modifier = {
4723
+ who = ROOT
4724
+ duration = -1
4725
+ power = 35
4726
+ key = TIM_gulf_toll
4727
+ }
4728
+ }
4729
+ }
4730
+ on_revoked = {
4731
+ 1334 = {
4732
+ remove_trade_modifier = {
4733
+ who = ROOT
4734
+ key = TIM_gulf_toll
4735
+ }
4736
+ }
4737
+ }
4738
+ on_invalid = {
4739
+ 1334 = {
4740
+ remove_trade_modifier = {
4741
+ who = ROOT
4742
+ key = TIM_gulf_toll
4743
+ }
4744
+ }
4745
+ }
4746
+ conditional_modifier = {
4747
+ trigger = {
4748
+ has_country_flag = TIM_gulf_toll_upgrade_flag
4749
+ }
4750
+ modifier = {
4751
+ trade_efficiency = 0.1
4752
+ }
4753
+ }
4754
+ conditional_modifier = {
4755
+ trigger = {
4756
+ NOT = { has_country_flag = TIM_gulf_toll_upgrade_flag }
4757
+ }
4758
+ modifier = {
4759
+ trade_efficiency = 0.05
4760
+ }
4761
+ }
4762
+
4763
+ conditional_modifier = {
4764
+ trigger = {
4765
+ NOT = { has_country_flag = TIM_gulf_toll_upgrade_flag }
4766
+ }
4767
+ modifier = {
4768
+ global_foreign_trade_power = -0.1
4769
+ }
4770
+ is_bad = yes
4771
+ }
4772
+
4773
+
4774
+ penalties = {
4775
+
4776
+ }
4777
+ ai_will_do = {
4778
+ factor = 1
4779
+ }
3520
4780
  }
common/estate_privileges/04_cossack_privileges.txt CHANGED
@@ -276,6 +276,10 @@ estate_cossacks_exploration_expedition = {
276
276
  trigger = { has_government_mechanic = russian_modernization_mechanic }
277
277
  modifier = { monthly_russian_modernization = -0.01 }
278
278
  }
279
+ conditional_modifier = {
280
+ trigger = { has_country_flag = hun_upgrade_cossack_priv }
281
+ modifier = { max_absolutism = 5 }
282
+ }
279
283
  ai_will_do = {
280
284
  factor = 1
281
285
  modifier = {
@@ -317,6 +321,33 @@ estate_cossacks_cossack_self_governance = {
317
321
  trigger = { has_government_mechanic = russian_modernization_mechanic }
318
322
  modifier = { monthly_russian_modernization = -0.01 }
319
323
  }
324
+ conditional_modifier = {
325
+ trigger = { has_country_flag = feo_cossack_self_governance_buff_flag }
326
+ modifier = { governing_capacity = 50 }
327
+ }
328
+ on_granted_province = {
329
+ if = {
330
+ limit = {
331
+ region = ruthenia_region
332
+ owner = {
333
+ has_country_flag = feo_cossack_self_governance_ruthenia_buff
334
+ }
335
+ }
336
+ add_province_modifier = {
337
+ name = feo_cossack_self_governance_ruthenia
338
+ duration = -1
339
+ }
340
+ }
341
+ }
342
+
343
+ on_revoked_province = {
344
+ if = {
345
+ limit = {
346
+ has_province_modifier = feo_cossack_self_governance_ruthenia
347
+ }
348
+ remove_province_modifier = feo_cossack_self_governance_ruthenia
349
+ }
350
+ }
320
351
  ai_will_do = {
321
352
  factor = 10
322
353
  modifier = {
@@ -435,6 +466,10 @@ estate_cossacks_expand_the_cossack_regiments = {
435
466
  }
436
467
  benefits = {
437
468
  }
469
+ conditional_modifier = {
470
+ trigger = { has_country_flag = feo_expand_cossack_regiments_buff_flag }
471
+ modifier = { allowed_cossack_fraction = 0.1 }
472
+ }
438
473
  conditional_modifier = {
439
474
  trigger = { has_government_mechanic = russian_modernization_mechanic }
440
475
  modifier = { monthly_russian_modernization = -0.01 }
@@ -501,45 +536,74 @@ estate_cossacks_prime_herding_rights = {
501
536
  }
502
537
  on_granted = {
503
538
  custom_tooltip = estate_cossacks_prime_herding_rights_effect_tooltip
539
+ if = {
540
+ limit = { has_country_flag = feo_upgrade_prime_herding_rights_flag }
541
+ custom_tooltip = feo_upgrade_prime_herding_rights_gt
542
+ tooltip = {
543
+ add_province_modifier = {
544
+ name = feo_upgrade_prime_herding_rights_mod
545
+ duration = -1
546
+ }
547
+ }
548
+ }
504
549
  }
505
550
  on_granted_province = {
506
551
  if = {
507
- limit = {
508
- has_terrain = steppe
509
- }
552
+ limit = { has_terrain = steppe }
510
553
  add_province_modifier = {
511
554
  name = estate_cossacks_prime_herding_rights_mod
512
555
  duration = -1
513
556
  }
557
+ if = {
558
+ limit = { owner = { has_country_flag = feo_upgrade_prime_herding_rights_flag } }
559
+ add_province_modifier = {
560
+ name = feo_upgrade_prime_herding_rights_mod
561
+ duration = -1
562
+ }
563
+ }
514
564
  }
515
565
  else_if = {
516
- limit = {
517
- has_province_modifier = estate_cossacks_prime_herding_rights_mod
518
- }
566
+ limit = { has_province_modifier = estate_cossacks_prime_herding_rights_mod }
519
567
  remove_province_modifier = estate_cossacks_prime_herding_rights_mod
568
+ if = {
569
+ limit = { has_province_modifier = feo_upgrade_prime_herding_rights_mod }
570
+ remove_province_modifier = feo_upgrade_prime_herding_rights_mod
571
+ }
520
572
  }
521
573
  }
522
574
  on_revoked = {
523
575
  custom_tooltip = estate_cossacks_prime_herding_rights_mod_revoke_tooltip
576
+ if = {
577
+ limit = { has_country_flag = feo_upgrade_prime_herding_rights_flag }
578
+ custom_tooltip = feo_upgrade_prime_herding_rights_rt
579
+ }
524
580
  }
525
581
  on_revoked_province = {
526
582
  if = {
527
- limit = {
528
- has_province_modifier = estate_cossacks_prime_herding_rights_mod
529
- }
583
+ limit = { has_province_modifier = estate_cossacks_prime_herding_rights_mod }
530
584
  remove_province_modifier = estate_cossacks_prime_herding_rights_mod
531
585
  }
586
+ if = {
587
+ limit = { has_province_modifier = feo_upgrade_prime_herding_rights_mod }
588
+ remove_province_modifier = feo_upgrade_prime_herding_rights_mod
589
+ }
532
590
  }
533
591
  on_invalid = {
534
592
  custom_tooltip = estate_cossacks_prime_herding_rights_mod_revoke_tooltip
593
+ if = {
594
+ limit = { has_country_flag = feo_upgrade_prime_herding_rights_flag }
595
+ custom_tooltip = feo_upgrade_prime_herding_rights_rt
596
+ }
535
597
  }
536
598
  on_invalid_province = {
537
599
  if = {
538
- limit = {
539
- has_province_modifier = estate_cossacks_prime_herding_rights_mod
540
- }
600
+ limit = { has_province_modifier = estate_cossacks_prime_herding_rights_mod }
541
601
  remove_province_modifier = estate_cossacks_prime_herding_rights_mod
542
602
  }
603
+ if = {
604
+ limit = { has_province_modifier = feo_upgrade_prime_herding_rights_mod }
605
+ remove_province_modifier = feo_upgrade_prime_herding_rights_mod
606
+ }
543
607
  }
544
608
  penalties = {
545
609
  }
@@ -549,6 +613,14 @@ estate_cossacks_prime_herding_rights = {
549
613
  trigger = { has_government_mechanic = russian_modernization_mechanic }
550
614
  modifier = { monthly_russian_modernization = -0.01 }
551
615
  }
616
+ conditional_modifier = {
617
+ trigger = { has_country_flag = feo_upgrade_prime_herding_rights_flag has_absolutism_reduction_for_estate_privileges = no }
618
+ modifier = { max_absolutism = 5 }
619
+ }
620
+ conditional_modifier = {
621
+ trigger = { has_country_flag = feo_upgrade_prime_herding_rights_flag has_absolutism_reduction_for_estate_privileges = yes }
622
+ modifier = { max_absolutism = 4 }
623
+ }
552
624
  ai_will_do = {
553
625
  factor = 0
554
626
  }
@@ -562,7 +634,10 @@ estate_cossacks_freedom_of_the_steppes = {
562
634
  max_absolutism = -5
563
635
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
564
636
  is_valid = {
565
- has_dlc = "Domination"
637
+ OR = {
638
+ has_dlc = "Domination"
639
+ has_dlc = "Winds of Change"
640
+ }
566
641
  }
567
642
  on_granted = {
568
643
  custom_tooltip = estate_cossacks_freedom_of_the_steppes_gt
@@ -572,9 +647,23 @@ estate_cossacks_freedom_of_the_steppes = {
572
647
  duration = -1
573
648
  }
574
649
  }
650
+ if = {
651
+ limit = { has_country_flag = feo_buffed_freedom_of_steppes_flag }
652
+ custom_tooltip = feo_buffed_freedom_of_steppes_gt
653
+ tooltip = {
654
+ add_province_modifier = {
655
+ name = feo_buffed_freedom_of_steppes_mod
656
+ duration = -1
657
+ }
658
+ }
659
+ }
575
660
  }
576
661
  on_revoked = {
577
662
  custom_tooltip = estate_cossacks_freedom_of_the_steppes_rt
663
+ if = {
664
+ limit = { has_country_flag = feo_buffed_freedom_of_steppes_flag }
665
+ custom_tooltip = feo_buffed_freedom_of_steppes_rt
666
+ }
578
667
  }
579
668
  on_granted_province = {
580
669
  if = {
@@ -585,6 +674,13 @@ estate_cossacks_freedom_of_the_steppes = {
585
674
  name = estate_cossacks_freedom_of_the_steppes_mod
586
675
  duration = -1
587
676
  }
677
+ if = {
678
+ limit = { owner = { has_country_flag = feo_buffed_freedom_of_steppes_flag } }
679
+ add_province_modifier = {
680
+ name = feo_buffed_freedom_of_steppes_mod
681
+ duration = -1
682
+ }
683
+ }
588
684
  }
589
685
  }
590
686
  on_invalid_province = {
@@ -592,12 +688,20 @@ estate_cossacks_freedom_of_the_steppes = {
592
688
  limit = { has_province_modifier = estate_cossacks_freedom_of_the_steppes_mod }
593
689
  remove_province_modifier = estate_cossacks_freedom_of_the_steppes_mod
594
690
  }
691
+ if = {
692
+ limit = { has_province_modifier = feo_buffed_freedom_of_steppes_mod }
693
+ remove_province_modifier = feo_buffed_freedom_of_steppes_mod
694
+ }
595
695
  }
596
696
  on_revoked_province = {
597
697
  if = {
598
698
  limit = { has_province_modifier = estate_cossacks_freedom_of_the_steppes_mod }
599
699
  remove_province_modifier = estate_cossacks_freedom_of_the_steppes_mod
600
700
  }
701
+ if = {
702
+ limit = { has_province_modifier = feo_buffed_freedom_of_steppes_mod }
703
+ remove_province_modifier = feo_buffed_freedom_of_steppes_mod
704
+ }
601
705
  }
602
706
 
603
707
  mechanics = {
@@ -652,22 +756,67 @@ estate_cossacks_exempt_from_bureaucracy = {
652
756
  max_absolutism = -5
653
757
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
654
758
  is_valid = {
655
- has_dlc = "Domination"
759
+ OR = {
760
+ has_dlc = "Winds of Change"
761
+ has_dlc = "Domination"
762
+ }
656
763
  }
657
764
  on_granted = {
658
765
  enable_estate_action = {
659
766
  estate_action = PERMIT_SELF_GOVERNANCE_COSSACKS
660
767
  }
768
+ if = {
769
+ limit = { has_country_flag = feo_cossack_self_governance_buff_flag }
770
+ custom_tooltip = feo_cossack_self_governance_buff_gt
771
+ tooltip = {
772
+ add_province_modifier = {
773
+ name = feo_cossack_self_governance_buff_mod
774
+ duration = -1
775
+ }
776
+ }
777
+ }
661
778
  }
662
779
  on_invalid = {
663
780
  disable_estate_action = {
664
781
  estate_action = PERMIT_SELF_GOVERNANCE_COSSACKS
665
782
  }
783
+ if = {
784
+ limit = { has_country_flag = feo_cossack_self_governance_buff_flag }
785
+ custom_tooltip = feo_cossack_self_governance_buff_rt
786
+ }
666
787
  }
667
788
  on_revoked = {
668
789
  disable_estate_action = {
669
790
  estate_action = PERMIT_SELF_GOVERNANCE_COSSACKS
670
791
  }
792
+ if = {
793
+ limit = { has_country_flag = feo_cossack_self_governance_buff_flag }
794
+ custom_tooltip = feo_cossack_self_governance_buff_rt
795
+ }
796
+ }
797
+ on_granted_province = {
798
+ if = {
799
+ limit = {
800
+ has_terrain = steppe
801
+ owner = { has_country_flag = feo_cossack_self_governance_buff_flag }
802
+ }
803
+ add_province_modifier = {
804
+ name = feo_cossack_self_governance_buff_mod
805
+ duration = -1
806
+ }
807
+ }
808
+ }
809
+ on_invalid_province = {
810
+ if = {
811
+ limit = { has_province_modifier = feo_cossack_self_governance_buff_mod }
812
+ remove_province_modifier = feo_cossack_self_governance_buff_mod
813
+ }
814
+ }
815
+ on_revoked_province = {
816
+ if = {
817
+ limit = { has_province_modifier = feo_cossack_self_governance_buff_mod }
818
+ remove_province_modifier = feo_cossack_self_governance_buff_mod
819
+ }
671
820
  }
672
821
  mechanics = {
673
822
  }
@@ -675,6 +824,10 @@ estate_cossacks_exempt_from_bureaucracy = {
675
824
  trigger = { has_government_mechanic = russian_modernization_mechanic }
676
825
  modifier = { monthly_russian_modernization = -0.02 }
677
826
  }
827
+ conditional_modifier = {
828
+ trigger = { has_country_flag = feo_cossack_self_governance_buff_flag }
829
+ modifier = { governing_capacity = 50 }
830
+ }
678
831
  ai_will_do = {
679
832
  factor = 0
680
833
  }
common/estate_privileges/05_nomadic_tribe_privileges.txt CHANGED
@@ -194,6 +194,16 @@ estate_nomadic_tribes_share_of_the_spoils = {
194
194
  penalties = {
195
195
  available_province_loot = -0.1
196
196
  }
197
+
198
+ conditional_modifier = {
199
+ trigger = {
200
+ has_country_flag = hordes_share_spoils_buff_flag
201
+ }
202
+ modifier = {
203
+ technology_cost = -0.05
204
+ }
205
+ }
206
+
197
207
  benefits = {
198
208
  }
199
209
  ai_will_do = {
@@ -226,10 +236,20 @@ estate_nomadic_tribes_guaranteed_leadgership_in_host = {
226
236
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
227
237
  influence = 0.05
228
238
  can_select = {
229
- army_tradition = 30
239
+ if = {
240
+ limit = {
241
+ NOT = { has_country_flag = hordes_no_at_for_guaranteed_leadership_flag }
242
+ }
243
+ army_tradition = 30
244
+ }
230
245
  }
231
246
  on_granted = {
232
- add_army_tradition = -5
247
+ if = {
248
+ limit = {
249
+ NOT = { has_country_flag = hordes_no_at_for_guaranteed_leadership_flag }
250
+ }
251
+ add_army_tradition = -5
252
+ }
233
253
  }
234
254
  penalties = {
235
255
  }
@@ -482,7 +502,15 @@ estate_nomadic_tribes_secured_succession = {
482
502
  can_select = {
483
503
  }
484
504
  on_granted = {
485
- custom_tooltip = estate_nomadic_tribes_ensure_tribal_loyalty_gt
505
+ if = {
506
+ limit = {
507
+ NOT = { has_country_flag = hordes_any_child_can_be_khans_flag }
508
+ }
509
+ custom_tooltip = estate_nomadic_tribes_ensure_tribal_loyalty_gt
510
+ }
511
+ else = {
512
+ custom_tooltip = estate_nomadic_tribes_ensure_tribal_loyalty2_gt
513
+ }
486
514
  enable_estate_action = {
487
515
  estate_action = SUPPORT_TRIBES_NOMADIC_TRIBES
488
516
  }
@@ -502,4 +530,188 @@ estate_nomadic_tribes_secured_succession = {
502
530
  ai_will_do = {
503
531
  factor = 5
504
532
  }
533
+ }
534
+
535
+ estate_nomadic_tribes_basqaq_autonomy = {
536
+ icon = privilege_basqaqs
537
+ max_absolutism = -10
538
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
539
+ loyalty = 0.05
540
+ influence = 0.1
541
+ is_valid = {
542
+ has_country_flag = hordes_basqaqs_unlocked_flag
543
+ }
544
+ can_select = {
545
+ NOT = { has_estate_privilege = estate_nobles_basqaq_autonomy }
546
+ }
547
+ penalties = {
548
+ governing_capacity_modifier = -0.1
549
+ }
550
+
551
+ benefits = {
552
+ monarch_power_tribute = 1
553
+ manpower_recovery_speed = 0.10
554
+ }
555
+ ai_will_do = {
556
+ factor = 0
557
+ }
558
+ }
559
+
560
+ estate_nomadic_tribes_religious_tolerance = {
561
+ icon = privilege_nomadic_tolerance
562
+ max_absolutism = -10
563
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
564
+ loyalty = 0.05
565
+ influence = 0.1
566
+ is_valid = {
567
+ has_country_flag = hordes_religious_tolerance_tribal_privilege_flag
568
+ }
569
+ can_select = {
570
+ NOT = { has_estate_privilege = estate_church_religious_tolerance }
571
+ }
572
+ loyalty_scaled_conditional_modifier = {
573
+ trigger = { always = yes }
574
+ modifier = {
575
+ tolerance_heathen = 1
576
+ tolerance_heretic = 1
577
+ }
578
+ }
579
+ ai_will_do = {
580
+ factor = 0
581
+ }
582
+ }
583
+
584
+ estate_nomadic_tribes_nomadic_caravans = {
585
+ icon = privilege_caravans
586
+ max_absolutism = -5
587
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
588
+ loyalty = 0.05
589
+ influence = 0.1
590
+
591
+ is_valid = {
592
+ has_country_flag = hordes_nomadic_caravans_flag
593
+ }
594
+
595
+ loyalty_scaled_conditional_modifier = {
596
+ trigger = {
597
+ OR = {
598
+ legitimacy = 90
599
+ meritocracy = 90
600
+ horde_unity = 90
601
+ devotion = 90
602
+ republican_tradition = 90
603
+ }
604
+ }
605
+ modifier = {
606
+ caravan_power = 0.2
607
+ trade_efficiency = 0.05
608
+ }
609
+ }
610
+ ai_will_do = {
611
+ factor = 0
612
+ }
613
+ }
614
+
615
+ estate_nomadic_tribes_tribal_absolutism = {
616
+ icon = privilege_supply_arms
617
+ max_absolutism = 5
618
+ loyalty = -0.1
619
+ influence = -0.05
620
+
621
+ is_valid = {
622
+ has_country_flag = hordes_tribal_absolutism_flag
623
+ }
624
+
625
+ on_granted = {
626
+ custom_tooltip = HORDES_TRIBAL_ABSOLUTISM_TT
627
+ }
628
+
629
+ conditional_modifier = {
630
+ trigger = {
631
+ OR = {
632
+ current_age = age_of_absolutism
633
+ current_age = age_of_revolutions
634
+ }
635
+ has_global_modifier_value = {
636
+ which = max_absolutism
637
+ value = 60
638
+ }
639
+ NOT = {
640
+ has_global_modifier_value = {
641
+ which = max_absolutism
642
+ value = 70
643
+ }
644
+ }
645
+ }
646
+ modifier = {
647
+ available_province_loot = 0.05
648
+ }
649
+ }
650
+ conditional_modifier = {
651
+ trigger = {
652
+ OR = {
653
+ current_age = age_of_absolutism
654
+ current_age = age_of_revolutions
655
+ }
656
+ has_global_modifier_value = {
657
+ which = max_absolutism
658
+ value = 70
659
+ }
660
+ NOT = {
661
+ has_global_modifier_value = {
662
+ which = max_absolutism
663
+ value = 80
664
+ }
665
+ }
666
+ }
667
+ modifier = {
668
+ available_province_loot = 0.1
669
+ }
670
+ }
671
+ conditional_modifier = {
672
+ trigger = {
673
+ OR = {
674
+ current_age = age_of_absolutism
675
+ current_age = age_of_revolutions
676
+ }
677
+ has_global_modifier_value = {
678
+ which = max_absolutism
679
+ value = 80
680
+ }
681
+ NOT = {
682
+ has_global_modifier_value = {
683
+ which = max_absolutism
684
+ value = 90
685
+ }
686
+ }
687
+ }
688
+ modifier = {
689
+ available_province_loot = 0.15
690
+ }
691
+ }
692
+ conditional_modifier = {
693
+ trigger = {
694
+ OR = {
695
+ current_age = age_of_absolutism
696
+ current_age = age_of_revolutions
697
+ }
698
+ has_global_modifier_value = {
699
+ which = max_absolutism
700
+ value = 90
701
+ }
702
+ NOT = {
703
+ has_global_modifier_value = {
704
+ which = max_absolutism
705
+ value = 100
706
+ }
707
+ }
708
+ }
709
+ modifier = {
710
+ available_province_loot = 0.2
711
+ }
712
+ }
713
+
714
+ ai_will_do = {
715
+ factor = 0
716
+ }
505
717
  }
common/estate_privileges/06_dhimmi_privileges.txt CHANGED
@@ -18,10 +18,6 @@ estate_dhimmi_land_rights = {
18
18
  trigger = { has_government_mechanic = russian_modernization_mechanic }
19
19
  modifier = { monthly_russian_modernization = -0.03 }
20
20
  }
21
- #conditional_modifier = {
22
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
23
- # modifier = { monthly_ottoman_decadence = 0.02 }
24
- #}
25
21
  ai_will_do = {
26
22
  factor = 5
27
23
  modifier = {
@@ -254,10 +250,6 @@ estate_dhimmi_lighter_dhimmi_taxes = {
254
250
  trigger = { has_government_mechanic = russian_modernization_mechanic }
255
251
  modifier = { monthly_russian_modernization = -0.03 }
256
252
  }
257
- #conditional_modifier = {
258
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
259
- # modifier = { monthly_ottoman_decadence = 0.02 }
260
- #}
261
253
  ai_will_do = {
262
254
  factor = 0
263
255
  }
@@ -280,10 +272,6 @@ estate_dhimmi_dhimmi_nobles = {
280
272
  trigger = { has_government_mechanic = russian_modernization_mechanic }
281
273
  modifier = { monthly_russian_modernization = -0.03 }
282
274
  }
283
- #conditional_modifier = {
284
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
285
- # modifier = { monthly_ottoman_decadence = 0.02 }
286
- #}
287
275
  ai_will_do = {
288
276
  factor = 0
289
277
  }
@@ -350,10 +338,6 @@ estate_dhimmi_manpower = {
350
338
  trigger = { has_government_mechanic = russian_modernization_mechanic }
351
339
  modifier = { monthly_russian_modernization = -0.03 }
352
340
  }
353
- #conditional_modifier = {
354
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
355
- # modifier = { monthly_ottoman_decadence = 0.02 }
356
- #}
357
341
  penalties = {
358
342
  }
359
343
  benefits = {
@@ -388,10 +372,6 @@ estate_dhimmi_tolerance = {
388
372
  trigger = { has_government_mechanic = russian_modernization_mechanic }
389
373
  modifier = { monthly_russian_modernization = -0.03 }
390
374
  }
391
- #conditional_modifier = {
392
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
393
- # modifier = { monthly_ottoman_decadence = 0.02 }
394
- #}
395
375
  ai_will_do = {
396
376
  factor = 1
397
377
  modifier = {
@@ -494,10 +474,6 @@ estate_dhimmi_guaranteed_autonomy = {
494
474
  trigger = { has_government_mechanic = russian_modernization_mechanic }
495
475
  modifier = { monthly_russian_modernization = -0.03 }
496
476
  }
497
- #conditional_modifier = {
498
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
499
- # modifier = { monthly_ottoman_decadence = 0.02 }
500
- #}
501
477
  ai_will_do = {
502
478
  factor = 1000
503
479
  modifier = {
@@ -550,10 +526,6 @@ estate_dhimmi_administrative_privileges = {
550
526
  trigger = { has_government_mechanic = russian_modernization_mechanic }
551
527
  modifier = { monthly_russian_modernization = -0.03 }
552
528
  }
553
- #conditional_modifier = {
554
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
555
- # modifier = { monthly_ottoman_decadence = 0.02 }
556
- #}
557
529
  cooldown_years = 25
558
530
  ai_will_do = {
559
531
  factor = 0
@@ -692,10 +664,6 @@ estate_dhimmi_grant_liberties = {
692
664
  trigger = { has_government_mechanic = russian_modernization_mechanic }
693
665
  modifier = { monthly_russian_modernization = -0.03 }
694
666
  }
695
- #conditional_modifier = {
696
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
697
- # modifier = { monthly_ottoman_decadence = 0.02 }
698
- #}
699
667
  ai_will_do = {
700
668
  factor = 1
701
669
  }
@@ -833,10 +801,6 @@ estate_dhimmi_development_of_communities = {
833
801
  trigger = { has_government_mechanic = russian_modernization_mechanic }
834
802
  modifier = { monthly_russian_modernization = -0.03 }
835
803
  }
836
- #conditional_modifier = {
837
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
838
- # modifier = { monthly_ottoman_decadence = 0.02 }
839
- #}
840
804
 
841
805
  mechanics = {
842
806
  no_estate_crownland_loss_from_developing
@@ -879,10 +843,6 @@ estate_dhimmi_grant_trading_privileges = {
879
843
  trigger = { has_government_mechanic = russian_modernization_mechanic }
880
844
  modifier = { monthly_russian_modernization = -0.03 }
881
845
  }
882
- #conditional_modifier = {
883
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
884
- # modifier = { monthly_ottoman_decadence = 0.02 }
885
- #}
886
846
  ai_will_do = {
887
847
  factor = 0
888
848
  }
@@ -961,10 +921,6 @@ estate_dhimmi_dhimmi_education = {
961
921
  trigger = { has_government_mechanic = russian_modernization_mechanic }
962
922
  modifier = { monthly_russian_modernization = -0.03 }
963
923
  }
964
- #conditional_modifier = {
965
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
966
- # modifier = { monthly_ottoman_decadence = 0.02 }
967
- #}
968
924
  ai_will_do = {
969
925
  factor = 0
970
926
  }
@@ -1002,10 +958,6 @@ estate_dhimmi_promote_dhimmi_nobility = {
1002
958
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1003
959
  modifier = { monthly_russian_modernization = -0.03 }
1004
960
  }
1005
- #conditional_modifier = {
1006
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1007
- # modifier = { monthly_ottoman_decadence = 0.02 }
1008
- #}
1009
961
  ai_will_do = {
1010
962
  factor = 0
1011
963
  }
@@ -1079,10 +1031,6 @@ estate_dhimmi_protected_communities = {
1079
1031
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1080
1032
  modifier = { monthly_russian_modernization = -0.03 }
1081
1033
  }
1082
- #conditional_modifier = {
1083
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1084
- # modifier = { monthly_ottoman_decadence = 0.02 }
1085
- #}
1086
1034
  ai_will_do = {
1087
1035
  factor = 0
1088
1036
  }
@@ -1115,10 +1063,6 @@ estate_dhimmi_contribution_demand = {
1115
1063
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1116
1064
  modifier = { monthly_russian_modernization = -0.03 }
1117
1065
  }
1118
- #conditional_modifier = {
1119
- # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
1120
- # modifier = { monthly_ottoman_decadence = 0.02 }
1121
- #}
1122
1066
  ai_will_do = {
1123
1067
  factor = 0
1124
1068
  }
common/estate_privileges/07_jain_privileges.txt CHANGED
@@ -355,6 +355,65 @@ estate_jains_grant_liberties = {
355
355
  }
356
356
  benefits = {
357
357
  }
358
+ conditional_modifier = {
359
+ trigger = {
360
+ has_country_flag = MUG_upgrade_grant_jains_liberties_flag
361
+ }
362
+ modifier = {
363
+ global_prov_trade_power_modifier = 0.1
364
+ }
365
+ }
366
+ on_granted = {
367
+ if = {
368
+ limit = {
369
+ has_country_flag = MUG_upgrade_grant_jains_liberties_flag
370
+ }
371
+ 1340 = {
372
+ add_trade_modifier = {
373
+ who = ROOT
374
+ duration = -1
375
+ power = 25
376
+ key = MUG_jain_liberties
377
+ }
378
+ }
379
+ }
380
+ }
381
+ on_revoked = {
382
+ if = {
383
+ limit = {
384
+ 1340 = {
385
+ has_trade_modifier = {
386
+ who = ROOT
387
+ key = MUG_jain_liberties
388
+ }
389
+ }
390
+ }
391
+ 1340 = {
392
+ remove_trade_modifier = {
393
+ who = ROOT
394
+ key = MUG_jain_liberties
395
+ }
396
+ }
397
+ }
398
+ }
399
+ on_invalid = {
400
+ if = {
401
+ limit = {
402
+ 1340 = {
403
+ has_trade_modifier = {
404
+ who = ROOT
405
+ key = MUG_jain_liberties
406
+ }
407
+ }
408
+ }
409
+ 1340 = {
410
+ remove_trade_modifier = {
411
+ who = ROOT
412
+ key = MUG_jain_liberties
413
+ }
414
+ }
415
+ }
416
+ }
358
417
  ai_will_do = {
359
418
  factor = 1
360
419
  }
@@ -440,17 +499,42 @@ estate_jains_monopoly_of_textiles = {
440
499
  silk = 1
441
500
  }
442
501
  }
443
- add_mercantilism = 1
502
+ if = {
503
+ limit = {
504
+ has_country_flag = MUG_upgrade_monopoly_flag
505
+ }
506
+ add_mercantilism = 2
507
+ }
508
+ else = {
509
+ add_mercantilism = 1
510
+ }
444
511
  }
445
- add_years_of_owned_provinces_production_income = {
446
- years = 8
447
- trigger = {
448
- OR = {
449
- trade_goods = cloth
450
- trade_goods = silk
512
+ if = {
513
+ limit = {
514
+ has_country_flag = MUG_upgrade_monopoly_flag
515
+ }
516
+ add_years_of_owned_provinces_production_income = {
517
+ years = 12
518
+ trigger = {
519
+ OR = {
520
+ trade_goods = cloth
521
+ trade_goods = silk
522
+ }
523
+ }
524
+ custom_tooltip = MONOPOLY_INCOME_CLOTH_SILK_DESC
525
+ }
526
+ }
527
+ else = {
528
+ add_years_of_owned_provinces_production_income = {
529
+ years = 8
530
+ trigger = {
531
+ OR = {
532
+ trade_goods = cloth
533
+ trade_goods = silk
534
+ }
451
535
  }
536
+ custom_tooltip = MONOPOLY_INCOME_CLOTH_SILK_DESC
452
537
  }
453
- custom_tooltip = MONOPOLY_INCOME_CLOTH_SILK_DESC
454
538
  }
455
539
  custom_tooltip = estate_jains_monopoly_of_textiles_effect_tooltip
456
540
  }
@@ -989,6 +1073,14 @@ estate_jains_private_trade_fleets = {
989
1073
  light_ship_cost = -0.2
990
1074
  global_ship_trade_power = 0.1
991
1075
  }
1076
+ conditional_modifier = {
1077
+ trigger = {
1078
+ has_country_flag = MUG_jain_trade_fleets
1079
+ }
1080
+ modifier = {
1081
+ trade_steering = 0.1
1082
+ }
1083
+ }
992
1084
  ai_will_do = {
993
1085
  factor = 1
994
1086
  modifier = {
@@ -1279,4 +1371,98 @@ estate_jains_promote_jain_bookkeeping = {
1279
1371
  ai_will_do = {
1280
1372
  factor = 0
1281
1373
  }
1374
+ }
1375
+
1376
+ estate_jains_MUG_gujarati_trade = {
1377
+ icon = privilege_comission_merchant_ships_for_war
1378
+ max_absolutism = -10
1379
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
1380
+ influence = 0.15
1381
+ loyalty = 0.05
1382
+ is_valid = {
1383
+ has_country_flag = MUG_gujarat_privilege_flag
1384
+ }
1385
+ conditional_modifier = {
1386
+ trigger = {
1387
+ has_country_flag = MUG_upgrade_the_gujarati_privilege_flag
1388
+ }
1389
+ modifier = {
1390
+ global_autonomy = 0.05
1391
+ }
1392
+ is_bad = yes
1393
+ }
1394
+ conditional_modifier = {
1395
+ trigger = {
1396
+ has_country_flag = MUG_upgrade_the_gujarati_privilege_flag
1397
+ }
1398
+ modifier = {
1399
+ jains_influence_modifier = -0.1
1400
+ }
1401
+ }
1402
+ conditional_modifier = {
1403
+ trigger = {
1404
+ NOT = { has_country_flag = MUG_upgrade_the_gujarati_privilege_flag }
1405
+ }
1406
+ modifier = {
1407
+ global_autonomy = 0.1
1408
+ }
1409
+ is_bad = yes
1410
+ }
1411
+
1412
+ influence_scaled_conditional_modifier = {
1413
+ trigger = { always = yes }
1414
+ modifier = {
1415
+ trade_efficiency = 0.15
1416
+ }
1417
+ }
1418
+ ai_will_do = {
1419
+ factor = 0
1420
+ }
1421
+ }
1422
+
1423
+ estate_jains_MUG_support_malaccan_viceroyalty = {
1424
+ icon = privilege_light_ship
1425
+ max_absolutism = -5
1426
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
1427
+ influence = 0.1
1428
+ loyalty = 0.1
1429
+ is_valid = {
1430
+ has_country_flag = MUG_unlock_trade_company_support_priv_flag
1431
+ }
1432
+
1433
+ benefits = {
1434
+ trade_company_governing_cost = -0.1
1435
+ }
1436
+
1437
+ loyalty_scaled_conditional_modifier = {
1438
+ trigger = { has_dlc = "Dharma" }
1439
+ modifier = {
1440
+ trade_company_investment_cost = -0.25
1441
+ }
1442
+ }
1443
+ ai_will_do = {
1444
+ factor = 0
1445
+ }
1446
+ }
1447
+
1448
+ estate_jains_MUG_debase_the_ruppee = {
1449
+ icon = privilege_gold_mint
1450
+ loyalty = -0.05
1451
+ is_valid = {
1452
+ has_country_flag = MUG_unlock_industrial_privilege_flag
1453
+ }
1454
+
1455
+ benefits = {
1456
+ production_efficiency = 0.25
1457
+ global_tax_modifier = 0.25
1458
+ build_cost = -0.05
1459
+ }
1460
+ penalties = {
1461
+ may_not_reduce_inflation = yes
1462
+ inflation_reduction = -0.3
1463
+ }
1464
+
1465
+ ai_will_do = {
1466
+ factor = 0 #AI will not be able to handle this
1467
+ }
1282
1468
  }
common/estate_privileges/09_eunuchs_privileges.txt CHANGED
@@ -144,6 +144,12 @@ estate_eunuchs_imperial_council_privilege = {
144
144
  penalties = { }
145
145
 
146
146
  modifier_by_land_ownership = { yearly_corruption = 0.1 }
147
+ loyalty_scaled_conditional_modifier = {
148
+ trigger = { has_country_flag = yua_buff_imperial_council_flag }
149
+ modifier = {
150
+ yearly_corruption = -0.1
151
+ }
152
+ }
147
153
  ai_will_do = {
148
154
  factor = 1
149
155
  modifier = {
@@ -330,8 +336,8 @@ estate_eunuchs_supremacy_over_crown_privilege = {
330
336
  icon = estate_eunuchs_supremacy_over_crown_privilege
331
337
  max_absolutism = -5
332
338
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
333
- influence = 0.1
334
- loyalty = 0.1
339
+ influence = 0.0
340
+ loyalty = 0.0
335
341
  is_valid = {
336
342
  has_dlc = "Emperor"
337
343
  NOT = { has_government_attribute = blocked_call_diet }
@@ -341,32 +347,8 @@ estate_eunuchs_supremacy_over_crown_privilege = {
341
347
  }
342
348
  penalties = { yearly_corruption = 0.1 }
343
349
  benefits = {
344
- burghers_loyalty_modifier = 0.1
345
- church_loyalty_modifier = 0.1
346
- dhimmi_loyalty_modifier = 0.1
347
- cossacks_loyalty_modifier = 0.1
348
- rajput_loyalty_modifier = 0.1
349
- brahmins_hindu_loyalty_modifier = 0.1
350
- brahmins_muslim_loyalty_modifier = 0.1
351
- brahmins_other_loyalty_modifier = 0.1
352
- maratha_loyalty_modifier = 0.1
353
- jains_loyalty_modifier = 0.1
354
- vaisyas_loyalty_modifier = 0.1
355
- nomadic_tribes_loyalty_modifier = 0.1
356
- burghers_influence_modifier = 0.1
357
- church_influence_modifier = 0.1
358
- dhimmi_influence_modifier = 0.1
359
- cossacks_influence_modifier = 0.1
360
- rajput_influence_modifier = 0.1
361
- brahmins_hindu_influence_modifier = 0.1
362
- brahmins_muslim_influence_modifier = 0.1
363
- brahmins_other_influence_modifier = 0.1
364
- maratha_influence_modifier = 0.1
365
- jains_influence_modifier = 0.1
366
- vaisyas_influence_modifier = 0.1
367
- nomadic_tribes_influence_modifier = 0.1
368
- nobles_influence_modifier = 0.1
369
- nobles_loyalty_modifier = 0.1
350
+ all_estate_loyalty_equilibrium = 0.1
351
+ all_estate_influence_modifier = 0.1
370
352
  }
371
353
  mechanics = {
372
354
  can_give_agendas_without_interaction
@@ -464,4 +446,26 @@ estate_eunuchs_single_whip_law_privilege = {
464
446
  }
465
447
  }
466
448
  }
449
+ }
450
+
451
+ estate_eunuchs_ears_and_eyes_of_the_emperor_privilege = {
452
+ icon = estate_eunuchs_establish_favor_system_privilege
453
+ max_absolutism = -10
454
+ influence = 0.1
455
+ loyalty = 0.1
456
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
457
+ is_valid = {
458
+ has_country_flag = yua_eyes_and_ears_of_the_emperor_flag
459
+ }
460
+ loyalty_scaled_conditional_modifier = {
461
+ trigger = { always = yes }
462
+ modifier = {
463
+ yearly_corruption = -0.1
464
+ global_unrest = -2
465
+ }
466
+ }
467
+
468
+ ai_will_do = {
469
+ factor = 1
470
+ }
467
471
  }