Diff to HTML by rtfpessoa

Files changed (11) hide show
  1. common/estate_privileges/0002_rajput_privileges.txt +6 -5
  2. common/estate_privileges/001_brahmin_privileges.txt +4 -0
  3. common/estate_privileges/002_maratha_privileges.txt +3 -4
  4. common/estate_privileges/01_church_privileges.txt +320 -2
  5. common/estate_privileges/02_noble_privileges.txt +432 -4
  6. common/estate_privileges/03_burgher_privileges.txt +862 -4
  7. common/estate_privileges/04_cossack_privileges.txt +3 -0
  8. common/estate_privileges/07_jain_privileges.txt +4 -0
  9. common/estate_privileges/08_janissaries_privileges.txt +1 -2
  10. common/estate_privileges/10_qizilbash_privileges.txt +791 -0
  11. common/estate_privileges/11_ghulams_privileges.txt +759 -0
common/estate_privileges/0002_rajput_privileges.txt CHANGED
@@ -211,6 +211,9 @@ estate_rajput_rajput_regiments = {
211
211
  ai_will_do = {
212
212
  factor = 10
213
213
  }
214
+ additional_description = { #You can put static modifier names here as well as normal localisation keys
215
+ rajput_regiment
216
+ }
214
217
  }
215
218
 
216
219
  estate_rajput_military = {
@@ -222,10 +225,9 @@ estate_rajput_military = {
222
225
  is_valid = {
223
226
  }
224
227
  can_select = {
225
- custom_trigger_tooltip = {
226
- tooltip = no_other_mil_privilege
227
- NOT = { has_estate_privilege = estate_nobles_nobility_primacy }
228
- NOT = { has_estate_privilege = estate_maratha_military }
228
+ can_select_monarch_power_privilege = {
229
+ estate = estate_rajput
230
+ type = mil
229
231
  }
230
232
  }
231
233
  on_granted = {
@@ -279,7 +281,6 @@ estate_rajput_advisor = {
279
281
  is_valid = {
280
282
  NOT = { religion_group = muslim }
281
283
  }
282
- loyalty = 0
283
284
  penalties = {
284
285
  stability_cost_modifier = 0.1
285
286
  }
common/estate_privileges/001_brahmin_privileges.txt CHANGED
@@ -196,6 +196,10 @@ estate_brahmins_brahmin_governance = {
196
196
  NOT = { religion_group = muslim }
197
197
  }
198
198
  can_select = {
199
+ can_select_monarch_power_privilege = {
200
+ estate = estate_brahmins
201
+ type = adm
202
+ }
199
203
  }
200
204
  on_granted = {
201
205
  }
common/estate_privileges/002_maratha_privileges.txt CHANGED
@@ -195,10 +195,9 @@ estate_maratha_military = {
195
195
  is_valid = {
196
196
  }
197
197
  can_select = {
198
- custom_trigger_tooltip = {
199
- tooltip = no_other_mil_privilege
200
- NOT = { has_estate_privilege = estate_nobles_nobility_primacy }
201
- NOT = { has_estate_privilege = estate_rajput_military }
198
+ can_select_monarch_power_privilege = {
199
+ estate = estate_maratha
200
+ type = mil
202
201
  }
203
202
  }
204
203
  on_granted = {
common/estate_privileges/01_church_privileges.txt CHANGED
@@ -210,6 +210,10 @@ estate_church_religious_state = {
210
210
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
211
211
  loyalty = -0.05
212
212
  can_select = {
213
+ can_select_monarch_power_privilege = {
214
+ estate = estate_church
215
+ type = adm
216
+ }
213
217
  }
214
218
  on_granted = {
215
219
  }
@@ -222,6 +226,10 @@ estate_church_religious_state = {
222
226
  trigger = { has_government_mechanic = russian_modernization_mechanic }
223
227
  modifier = { monthly_russian_modernization = -0.03 }
224
228
  }
229
+ conditional_modifier = {
230
+ trigger = { has_country_flag = BYZ_upgrade_the_religious_state_estate_privilege_flag }
231
+ modifier = { stability_cost_modifier = -0.15 }
232
+ }
225
233
  #conditional_modifier = {
226
234
  # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
227
235
  # modifier = { monthly_ottoman_decadence = 0.02 }
@@ -563,13 +571,31 @@ estate_church_clerical_ministers = {
563
571
  }
564
572
  conditional_modifier = {
565
573
  trigger = {
566
- has_dlc = "Third Rome"
567
574
  religion = orthodox
575
+ NOT = { has_country_flag = BYZ_buff_clerical_ministers_for_byz }
568
576
  }
569
577
  modifier = {
570
578
  yearly_patriarch_authority = 0.005
571
579
  }
572
580
  }
581
+ conditional_modifier = {
582
+ trigger = {
583
+ religion = orthodox
584
+ has_country_flag = BYZ_buff_clerical_ministers_for_byz
585
+ }
586
+ modifier = {
587
+ yearly_patriarch_authority = 0.01
588
+ }
589
+ }
590
+ conditional_modifier = {
591
+ trigger = {
592
+ religion = orthodox
593
+ has_global_flag = BYZ_buff_clerical_ministers_for_orthodox
594
+ }
595
+ modifier = {
596
+ tolerance_own = 1
597
+ }
598
+ }
573
599
  conditional_modifier = {
574
600
  trigger = {
575
601
  religion = anglican
@@ -1738,6 +1764,18 @@ estate_church_religious_diplomats = {
1738
1764
  church_influence_modifier = -0.15
1739
1765
  }
1740
1766
  }
1767
+ conditional_modifier = {
1768
+ trigger = {
1769
+ has_global_flag = free_religious_diplomats_for_all_zoro_countries
1770
+ religion_group = zoroastrian_group
1771
+ }
1772
+ modifier = {
1773
+ max_absolutism = 10
1774
+ church_influence_modifier = -0.1
1775
+ church_privilege_slots = 1
1776
+ church_loyalty_modifier = 0.1
1777
+ }
1778
+ }
1741
1779
  conditional_modifier = {
1742
1780
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1743
1781
  modifier = { monthly_russian_modernization = -0.03 }
@@ -1747,7 +1785,14 @@ estate_church_religious_diplomats = {
1747
1785
  # modifier = { monthly_ottoman_decadence = 0.02 }
1748
1786
  #}
1749
1787
  ai_will_do = {
1750
- factor = 0 #The privilege is a little bit too niche to be really usable for the AI
1788
+ factor = 1 #The privilege is a little bit too niche to be really usable for the AI
1789
+ modifier = {
1790
+ factor = 0
1791
+ OR = {
1792
+ NOT = { religion_group = zoroastrian_group }
1793
+ NOT = { has_global_flag = free_religious_diplomats_for_all_zoro_countries }
1794
+ }
1795
+ }
1751
1796
  }
1752
1797
  }
1753
1798
 
@@ -1866,6 +1911,20 @@ estate_church_one_faith_one_culture = {
1866
1911
  church_influence_modifier = -0.2
1867
1912
  }
1868
1913
  }
1914
+
1915
+ conditional_modifier = {
1916
+ trigger = {
1917
+ has_global_flag = wahabism_founded
1918
+ religious_school = {
1919
+ group = muslim
1920
+ school = hanbali_school
1921
+ }
1922
+ }
1923
+ modifier = {
1924
+ tolerance_own = 2
1925
+ }
1926
+ }
1927
+
1869
1928
  conditional_modifier = {
1870
1929
  trigger = { has_government_mechanic = russian_modernization_mechanic }
1871
1930
  modifier = { monthly_russian_modernization = -0.03 }
@@ -2773,4 +2832,263 @@ estate_church_donation_right = {
2773
2832
  is_absolutism_active = yes
2774
2833
  }
2775
2834
  }
2835
+ }
2836
+
2837
+ #Byzantium
2838
+ estate_church_BYZ_legitimization_of_dynasty = {
2839
+ icon = estate_church_BYZ_legitimization_of_dynasty
2840
+ loyalty = 0.05
2841
+ influence = 0.1
2842
+ max_absolutism = 10
2843
+ is_valid = {
2844
+ tag = BYZ
2845
+ has_country_flag = BYZ_privilege_for_support_of_dynasty
2846
+ }
2847
+ on_granted = {
2848
+ custom_tooltip = BYZ_if_above_33_patriarch_authority
2849
+ }
2850
+ conditional_modifier = {
2851
+ trigger = {
2852
+ patriarch_authority = 0.33
2853
+ }
2854
+ modifier = {
2855
+ global_autonomy = -0.1
2856
+ legitimacy = 1
2857
+ tolerance_own = 1
2858
+ }
2859
+ }
2860
+ conditional_modifier = {
2861
+ trigger = {
2862
+ patriarch_authority = 0.33
2863
+ }
2864
+ is_bad = yes
2865
+ modifier = {
2866
+ yearly_patriarch_authority = -0.01
2867
+ }
2868
+ }
2869
+ ai_will_do = {
2870
+ factor = 5 #good privilege for the AI
2871
+ }
2872
+ }
2873
+
2874
+ estate_church_union_of_the_churches = {
2875
+ icon = estate_church_union_of_the_churches
2876
+ loyalty = -0.1
2877
+ influence = 0
2878
+ max_absolutism = -10
2879
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
2880
+ is_valid = {
2881
+ OR = {
2882
+ tag = BYZ
2883
+ has_estate_privilege = estate_church_union_of_the_churches
2884
+ }
2885
+ NOT = { has_country_flag = estate_church_union_of_the_churches_removed }
2886
+ }
2887
+ can_revoke = {
2888
+ custom_trigger_tooltip = {
2889
+ tooltip = BYZ_revokable_via_decision
2890
+ always = no
2891
+ }
2892
+ }
2893
+ on_granted = {
2894
+ # custom_tooltip = BYZ_may_not_convert_catholics
2895
+
2896
+ # custom_tooltip = " "
2897
+
2898
+ custom_tooltip = BYZ_may_cause_unionist_revolts
2899
+
2900
+ hidden_effect = {
2901
+ PAP = {
2902
+ add_opinion = {
2903
+ who = ROOT
2904
+ modifier = BYZ_union_of_the_churches_op
2905
+ }
2906
+ }
2907
+ }
2908
+ }
2909
+ conditional_modifier = {
2910
+ trigger = {
2911
+ religion = orthodox
2912
+ }
2913
+ modifier = {
2914
+ tolerance_heretic = 1
2915
+ tolerance_own = -4
2916
+ global_heretic_missionary_strength = -0.1
2917
+ }
2918
+ }
2919
+ conditional_modifier = {
2920
+ trigger = {
2921
+ religion = catholic
2922
+ }
2923
+ modifier = {
2924
+ tolerance_heretic = -4
2925
+ tolerance_own = -1
2926
+ global_heretic_missionary_strength = -0.03
2927
+ }
2928
+ }
2929
+ benefits = {
2930
+
2931
+ }
2932
+ penalties = {
2933
+
2934
+ }
2935
+ conditional_modifier = {
2936
+ trigger = {
2937
+ has_country_modifier = BYZ_extra_mercenary_cost_for_union
2938
+ }
2939
+ modifier = {
2940
+ mercenary_cost = -0.15
2941
+ }
2942
+ }
2943
+ on_revoked = {
2944
+ PAP = {
2945
+ remove_opinion = {
2946
+ who = ROOT
2947
+ modifier = BYZ_union_of_the_churches_op
2948
+ }
2949
+ }
2950
+ set_country_flag = estate_church_union_of_the_churches_removed
2951
+ }
2952
+ on_invalid = {
2953
+ PAP = {
2954
+ remove_opinion = {
2955
+ who = ROOT
2956
+ modifier = BYZ_union_of_the_churches_op
2957
+ }
2958
+ }
2959
+ }
2960
+ ai_will_do = {
2961
+ factor = 0
2962
+ }
2963
+ }
2964
+ estate_church_muslim_integration = {
2965
+ icon = privilege_send_emissary_to_pope
2966
+ loyalty = 0
2967
+ influence = 0.05
2968
+ max_absolutism = -10
2969
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
2970
+ is_valid = {
2971
+ has_unlocked_estate_privilege = { estate_privilege = estate_church_muslim_integration }
2972
+ any_owned_province = {
2973
+ religion_group = muslim
2974
+ }
2975
+ NOT = { religion_group = muslim }
2976
+ }
2977
+ on_granted = {
2978
+ custom_tooltip = estate_church_muslim_integration_gt
2979
+ tooltip = {
2980
+ add_province_modifier = {
2981
+ name = estate_church_muslim_integration_mod
2982
+ duration = -1
2983
+ desc = UNTIL_REVOKED
2984
+ }
2985
+ }
2986
+ }
2987
+ on_granted_province = {
2988
+ if = {
2989
+ limit = { religion_group = muslim }
2990
+ add_province_modifier = {
2991
+ name = estate_church_muslim_integration_mod
2992
+ duration = -1
2993
+ desc = UNTIL_REVOKED
2994
+ }
2995
+ }
2996
+ }
2997
+ on_revoked = {
2998
+ custom_tooltip = estate_church_muslim_integration_rt
2999
+ }
3000
+ on_revoked_province = {
3001
+ remove_province_modifier = estate_church_muslim_integration_mod
3002
+ }
3003
+ on_invalid = {
3004
+ custom_tooltip = estate_church_muslim_integration_rt
3005
+ }
3006
+ on_invalid_province = {
3007
+ remove_province_modifier = estate_church_muslim_integration_mod
3008
+ }
3009
+ benefits = {
3010
+ church_privilege_slots = 1
3011
+ }
3012
+ penalties = {
3013
+ }
3014
+ ai_will_do = {
3015
+ factor = 0
3016
+ }
3017
+ }
3018
+
3019
+ #1.36
3020
+ estate_church_fund_dar_al_hadith = {
3021
+ icon = estate_church_fund_dar_al_hadith
3022
+ max_absolutism = -5
3023
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3024
+ loyalty = 0.1
3025
+ influence = 0.1
3026
+ is_valid = {
3027
+ is_or_was_tag = { tag = MAM }
3028
+ has_dlc = "King of Kings"
3029
+ }
3030
+ benefits = {
3031
+ same_religion_advisor_cost = -0.1
3032
+ }
3033
+ modifier_by_land_ownership = {
3034
+ global_tax_modifier = -0.25
3035
+ technology_cost = -0.1
3036
+ }
3037
+ ai_will_do = {
3038
+ factor = 10
3039
+ }
3040
+ }
3041
+
3042
+ estate_church_fund_madrasas = {
3043
+ icon = estate_church_fund_madrasas
3044
+ max_absolutism = -10
3045
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
3046
+ land_share = 5
3047
+ loyalty = 0.05
3048
+ influence = 0.05
3049
+ is_valid = {
3050
+ is_or_was_tag = { tag = MAM }
3051
+ has_dlc = "King of Kings"
3052
+ }
3053
+ on_granted = {
3054
+
3055
+ }
3056
+ penalties = {
3057
+ }
3058
+ benefits = {
3059
+ yearly_innovativeness = 0.1
3060
+ missionaries = 1
3061
+ }
3062
+ ai_will_do = {
3063
+ factor = 10
3064
+ }
3065
+ }
3066
+
3067
+ estate_church_sponsor_waqf_payments = {
3068
+ icon = estate_church_sponsor_waqf_payments
3069
+ max_absolutism = -5
3070
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3071
+ land_share = 5
3072
+ loyalty = 0.1
3073
+ influence = 0.15
3074
+ is_valid = {
3075
+ is_or_was_tag = { tag = MAM }
3076
+ religion_group = muslim
3077
+ }
3078
+ on_granted = {
3079
+
3080
+ }
3081
+ conditional_modifier = {
3082
+
3083
+ }
3084
+ penalties = {
3085
+ }
3086
+ benefits = {
3087
+ tolerance_own = 1
3088
+ stability_cost_modifier = -0.25
3089
+ establish_order_cost = -0.1
3090
+ }
3091
+ ai_will_do = {
3092
+ factor = 10
3093
+ }
2776
3094
  }
common/estate_privileges/02_noble_privileges.txt CHANGED
@@ -6,6 +6,8 @@ estate_nobles_land_rights = {
6
6
  loyalty = 0.05
7
7
  influence = 0.05
8
8
  can_select = {
9
+ not = { has_estate_privilege = estate_ghulams_land_rights }
10
+ not = { has_estate_privilege = estate_qizilbash_land_rights }
9
11
  }
10
12
  on_granted = {
11
13
  }
@@ -17,6 +19,14 @@ estate_nobles_land_rights = {
17
19
  stability_cost_modifier = -0.05
18
20
  }
19
21
  }
22
+ conditional_modifier = {
23
+ trigger = { has_government_attribute = BYZ_buff_dynatoi_land_grants }
24
+ modifier = {
25
+ land_forcelimit_modifier = 0.1
26
+ max_absolutism = 5
27
+ }
28
+ }
29
+
20
30
  benefits = {
21
31
  governing_capacity = 100
22
32
  }
@@ -207,10 +217,9 @@ estate_nobles_nobility_primacy = {
207
217
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
208
218
  loyalty = -0.05
209
219
  can_select = {
210
- custom_trigger_tooltip = {
211
- tooltip = no_other_mil_privilege
212
- NOT = { has_estate_privilege = estate_rajput_military }
213
- NOT = { has_estate_privilege = estate_maratha_military }
220
+ can_select_monarch_power_privilege = {
221
+ estate = estate_nobles
222
+ type = mil
214
223
  }
215
224
  }
216
225
  on_granted = {
@@ -273,6 +282,9 @@ estate_nobles_officer_corp = {
273
282
  max_absolutism = -5
274
283
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
275
284
  influence = 0.05
285
+ is_valid = {
286
+ NOT = { has_estate = estate_qizilbash }
287
+ }
276
288
  can_select = {
277
289
  army_tradition = 30
278
290
  }
@@ -306,6 +318,7 @@ estate_nobles_levies = {
306
318
  loyalty = 0.1
307
319
  is_valid = {
308
320
  NOT = { has_estate_privilege = estate_nobles_golden_liberty }
321
+ NOT = { has_estate = estate_ghulams }
309
322
  }
310
323
  can_select = {
311
324
  NOT = { has_estate_privilege = estate_nobles_golden_liberty }
@@ -592,6 +605,9 @@ estate_nobles_supremacy_over_crown = {
592
605
  vaisyas_loyalty_modifier = 0.1
593
606
  nomadic_tribes_loyalty_modifier = 0.1
594
607
  janissaries_loyalty_modifier = 0.1
608
+ eunuchs_loyalty_modifier = 0.1
609
+ qizilbash_loyalty_modifier = 0.1
610
+ ghulams_loyalty_modifier = 0.1
595
611
  burghers_influence_modifier = 0.1
596
612
  church_influence_modifier = 0.1
597
613
  dhimmi_influence_modifier = 0.1
@@ -605,6 +621,9 @@ estate_nobles_supremacy_over_crown = {
605
621
  vaisyas_influence_modifier = 0.1
606
622
  nomadic_tribes_influence_modifier = 0.1
607
623
  janissaries_influence_modifier = 0.1
624
+ eunuchs_influence_modifier = 0.1
625
+ qizilbash_influence_modifier = 0.1
626
+ ghulams_influence_modifier = 0.1
608
627
  }
609
628
  mechanics = {
610
629
  can_give_agendas_without_interaction
@@ -3441,4 +3460,413 @@ estate_nobles_expedition_rights = {
3441
3460
  ai_will_do = {
3442
3461
  factor = 0
3443
3462
  }
3463
+ }
3464
+
3465
+ #1.36 Georgia
3466
+
3467
+ estate_nobles_highland_fortifications = {
3468
+ icon = privilege_fort
3469
+ max_absolutism = -5
3470
+ loyalty = 0.05
3471
+ influence = 0.05
3472
+ is_valid = {
3473
+ OR = {
3474
+ has_mission = geo_fortify_caucasia
3475
+ has_unlocked_estate_privilege = {
3476
+ estate_privilege = estate_nobles_highland_fortifications
3477
+ }
3478
+ }
3479
+ }
3480
+ can_select = {
3481
+ custom_trigger_tooltip = {
3482
+ tooltip = has_unlocked_estate_nobles_highland_fortifications_tt
3483
+ has_unlocked_estate_privilege = {
3484
+ estate_privilege = estate_nobles_highland_fortifications
3485
+ }
3486
+ }
3487
+ any_owned_province = {
3488
+ has_terrain = mountain
3489
+ has_fort_building_trigger = yes
3490
+ }
3491
+ }
3492
+ on_granted = {
3493
+ custom_tooltip = estate_nobles_highland_fortifications_tt
3494
+ }
3495
+ on_granted_province = {
3496
+ if = {
3497
+ limit = {
3498
+ has_terrain = mountain
3499
+ has_fort_building_trigger = yes
3500
+ }
3501
+ add_province_modifier = {
3502
+ name = geo_privilege_mountains
3503
+ duration = -1
3504
+ }
3505
+ }
3506
+ }
3507
+ on_revoked = {
3508
+ custom_tooltip = estate_nobles_highland_fortifications_revoke
3509
+ }
3510
+ on_revoked_province = {
3511
+ if = {
3512
+ limit = {
3513
+ has_province_modifier = geo_privilege_mountains
3514
+ }
3515
+ remove_province_modifier = geo_privilege_mountains
3516
+ }
3517
+ }
3518
+ on_invalid = {
3519
+ }
3520
+ on_invalid_province = {
3521
+ if = {
3522
+ limit = {
3523
+ has_province_modifier = geo_privilege_mountains
3524
+ }
3525
+ remove_province_modifier = geo_privilege_mountains
3526
+ }
3527
+ }
3528
+ ai_will_do = {
3529
+ factor = 1
3530
+ }
3531
+ }
3532
+
3533
+ #Turkomen
3534
+
3535
+ estate_nobles_emirs_of_baghdad = {
3536
+ icon = privilege_build_jain_temple
3537
+ land_share = 0
3538
+ max_absolutism = -15
3539
+ loyalty = 0.1
3540
+ influence = 0.1
3541
+ is_valid = {
3542
+ OR = {
3543
+ tag = QAR
3544
+ was_tag = QAR
3545
+ }
3546
+ }
3547
+ can_select = {
3548
+ }
3549
+ on_granted = {
3550
+ custom_tooltip = estate_nobles_emirs_of_baghdad_tt_granted
3551
+ hidden_effect = {
3552
+ every_owned_province = {
3553
+ limit = {
3554
+ OR = {
3555
+ area = iraq_arabi_area
3556
+ area = basra_area
3557
+ area = al_jazira_area
3558
+ }
3559
+ }
3560
+ add_province_modifier = {
3561
+ name = "turkoman_emirs_of_baghdad"
3562
+ duration = -1
3563
+ }
3564
+ }
3565
+ }
3566
+ }
3567
+ can_revoke = no
3568
+ on_granted_province = {
3569
+ }
3570
+ on_revoked = {
3571
+ custom_tooltip = estate_nobles_emirs_of_baghdad_tt_revoked
3572
+ hidden_effect = {
3573
+ every_owned_province = {
3574
+ limit = {
3575
+ has_province_modifier = turkoman_emirs_of_baghdad
3576
+ }
3577
+ remove_province_modifier = turkoman_emirs_of_baghdad
3578
+ }
3579
+ }
3580
+ }
3581
+ on_revoked_province = {
3582
+ }
3583
+ on_invalid = {
3584
+ every_owned_province = {
3585
+ limit = {
3586
+ has_province_modifier = turkoman_emirs_of_baghdad
3587
+ }
3588
+ remove_province_modifier = turkoman_emirs_of_baghdad
3589
+ }
3590
+ }
3591
+ on_invalid_province = {
3592
+ }
3593
+ ai_will_do = {
3594
+ factor = 1
3595
+ }
3596
+ }
3597
+
3598
+ #Byzantium
3599
+ estate_nobles_deteriorating_army = {
3600
+ icon = estate_nobles_deteriorating_army
3601
+ loyalty = -0.05
3602
+ influence = 0.1
3603
+ max_absolutism = -10
3604
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
3605
+ is_valid = {
3606
+ OR = {
3607
+ tag = BYZ
3608
+ has_estate_privilege = estate_nobles_deteriorating_army
3609
+ }
3610
+ NOT = { has_country_flag = estate_nobles_deteriorating_army_removed }
3611
+ }
3612
+ can_revoke = {
3613
+ custom_trigger_tooltip = {
3614
+ tooltip = BYZ_revokable_via_decision
3615
+ always = no
3616
+ }
3617
+ }
3618
+ on_granted = {
3619
+ }
3620
+ on_revoked = {
3621
+ set_country_flag = estate_nobles_deteriorating_army_removed
3622
+ }
3623
+ benefits = {
3624
+
3625
+ }
3626
+ penalties = {
3627
+ assault_fort_ability = -0.75
3628
+ reinforce_speed = -0.1
3629
+ army_tradition_decay = 0.01
3630
+ }
3631
+ conditional_modifier = {
3632
+ trigger = {
3633
+ has_dlc = "King of Kings"
3634
+ }
3635
+ is_bad = yes
3636
+ modifier = {
3637
+ land_morale = -0.15 #this is counteracted by the +10.0% from the mission tree and events
3638
+ }
3639
+ }
3640
+ ai_will_do = {
3641
+ factor = 0
3642
+ }
3643
+ }
3644
+
3645
+ #Persia
3646
+ estate_nobles_defensive_policy = {
3647
+ icon = privilege_fort
3648
+ loyalty = 0.05
3649
+ influence = 0.1
3650
+ max_absolutism = 0
3651
+ #conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3652
+ is_valid = {
3653
+ has_unlocked_estate_privilege = {
3654
+ estate_privilege = estate_nobles_defensive_policy
3655
+ }
3656
+ }
3657
+ can_select = {
3658
+ NOT = { has_estate_privilege = estate_qizilbash_defensive_policy }
3659
+ NOT = { has_estate_privilege = estate_ghulams_defensive_policy }
3660
+ }
3661
+ on_granted = {
3662
+
3663
+ }
3664
+ on_revoked = {
3665
+
3666
+ }
3667
+ benefits = {
3668
+ garrison_size = 0.25
3669
+ fort_maintenance_modifier = -0.33
3670
+ }
3671
+ ai_will_do = {
3672
+ factor = 0
3673
+ }
3674
+ }
3675
+
3676
+ estate_nobles_tofangchi_regiment = {
3677
+ icon = privilege_infantry
3678
+ loyalty = 0.05
3679
+ influence = 0.1
3680
+ max_absolutism = 0
3681
+ #conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3682
+ is_valid = {
3683
+ has_unlocked_estate_privilege = {
3684
+ estate_privilege = estate_nobles_tofangchi_regiment
3685
+ }
3686
+ }
3687
+ can_select = {
3688
+ NOT = { has_estate_privilege = estate_qizilbash_tofangchi_regiment }
3689
+ NOT = { has_estate_privilege = estate_ghulams_tofangchi_regiment }
3690
+ }
3691
+ on_granted = {
3692
+
3693
+ }
3694
+ on_revoked = {
3695
+
3696
+ }
3697
+ benefits = {
3698
+ infantry_power = 0.1
3699
+ }
3700
+ ai_will_do = {
3701
+ factor = 100
3702
+ }
3703
+ }
3704
+
3705
+ estate_nobles_tupchi_artillery_corps = {
3706
+ icon = privilege_artillery
3707
+ loyalty = 0.05
3708
+ influence = 0.05
3709
+ max_absolutism = -5
3710
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3711
+ is_valid = {
3712
+ has_unlocked_estate_privilege = {
3713
+ estate_privilege = estate_nobles_tupchi_artillery_corps
3714
+ }
3715
+ }
3716
+ can_select = {
3717
+ NOT = { has_estate_privilege = estate_qizilbash_tupchi_artillery_corps }
3718
+ NOT = { has_estate_privilege = estate_ghulams_tupchi_artillery_corps }
3719
+ }
3720
+ on_granted = {
3721
+ custom_tooltip = tupchi_artillery_corps_tt
3722
+ }
3723
+ on_revoked = {
3724
+
3725
+ }
3726
+ conditional_modifier = {
3727
+ trigger = {
3728
+ OR = {
3729
+ any_ally = {
3730
+ OR = {
3731
+ technology_group = western
3732
+ technology_group = eastern
3733
+ capital_scope = { continent = europe }
3734
+ }
3735
+ }
3736
+ any_subject_country = {
3737
+ OR = {
3738
+ technology_group = western
3739
+ technology_group = eastern
3740
+ capital_scope = { continent = europe }
3741
+ }
3742
+ }
3743
+ }
3744
+ }
3745
+ modifier = {
3746
+ artillery_cost = -0.33
3747
+ }
3748
+ }
3749
+ benefits = {
3750
+ artillery_power = 0.05
3751
+ }
3752
+ ai_will_do = {
3753
+ factor = 100
3754
+ }
3755
+ }
3756
+
3757
+ estate_nobles_qurchi_service = {
3758
+ icon = privilege_legitimacy
3759
+ loyalty = 0.10
3760
+ max_absolutism = 0
3761
+ #conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3762
+ is_valid = {
3763
+ has_unlocked_estate_privilege = {
3764
+ estate_privilege = estate_nobles_qurchi_service
3765
+ }
3766
+ }
3767
+ can_select = {
3768
+ NOT = { has_estate_privilege = estate_ghulams_qurchi_service }
3769
+ NOT = { has_estate_privilege = estate_qizilbash_qurchi_service }
3770
+ }
3771
+ on_granted = {
3772
+ scaling_with_loyalty_privilege_tooltip = {
3773
+ estate_privilege = estate_nobles_qurchi_service
3774
+ }
3775
+ }
3776
+ on_revoked = {
3777
+ scaling_with_loyalty_privilege_tooltip = {
3778
+ estate_privilege = estate_nobles_qurchi_service
3779
+ }
3780
+ }
3781
+ benefits = {
3782
+ morale_damage_received = -0.1
3783
+ }
3784
+ loyalty_scaled_conditional_modifier = {
3785
+ trigger = { always = yes }
3786
+ modifier = {
3787
+ monarch_lifespan = 0.5
3788
+ nobles_influence_modifier = 0.5
3789
+ qizilbash_influence_modifier = -0.5
3790
+ ghulams_influence_modifier = -0.5
3791
+ }
3792
+ }
3793
+ ai_will_do = {
3794
+ factor = 100
3795
+ }
3796
+ }
3797
+
3798
+ estate_nobles_mamlukian_administration = {
3799
+ icon = privilege_land_rights
3800
+ loyalty = 0.05
3801
+ influence = 0.10
3802
+ max_absolutism = 0
3803
+ #conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3804
+ is_valid = {
3805
+ has_unlocked_estate_privilege = {
3806
+ estate_privilege = estate_nobles_mamlukian_administration
3807
+ }
3808
+ }
3809
+ can_select = {
3810
+ NOT = { has_estate_privilege = estate_ghulams_mamlukian_administration }
3811
+ NOT = { has_estate_privilege = estate_qizilbash_mamlukian_administration }
3812
+ }
3813
+ benefits = {
3814
+ governing_capacity_modifier = 0.1
3815
+ nobles_privilege_slots = 1
3816
+ }
3817
+ on_granted = {
3818
+ custom_tooltip = mamlukian_administration_modifier_gt
3819
+ tooltip = {
3820
+ add_province_modifier = {
3821
+ name = mamlukian_administration_modifier
3822
+ duration = -1
3823
+ }
3824
+ }
3825
+ }
3826
+ on_revoked = {
3827
+ custom_tooltip = mamlukian_administration_modifier_rt
3828
+ }
3829
+ on_invalid = {
3830
+ custom_tooltip = mamlukian_administration_modifier_rt
3831
+ }
3832
+ on_granted_province = {
3833
+ if = {
3834
+ limit = { region = egypt_region }
3835
+ add_province_modifier = {
3836
+ name = mamlukian_administration_modifier
3837
+ duration = -1
3838
+ }
3839
+ }
3840
+ }
3841
+ on_revoked_province = {
3842
+ remove_province_modifier = mamlukian_administration_modifier
3843
+ }
3844
+ on_invalid_province = {
3845
+ remove_province_modifier = mamlukian_administration_modifier
3846
+ }
3847
+ ai_will_do = {
3848
+ factor = 100
3849
+ }
3850
+ }
3851
+
3852
+ estate_nobles_enlist_the_mamluks = {
3853
+ icon = privilege_infantry
3854
+ loyalty = 0.1
3855
+ influence = 0.1
3856
+ max_absolutism = 0
3857
+ #conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3858
+ is_valid = {
3859
+ OR = {
3860
+ is_or_was_tag = { tag = MAM }
3861
+ has_country_flag = enable_mamluk_privilege #For the modders
3862
+ }
3863
+ has_dlc = "King of Kings"
3864
+ }
3865
+ benefits = {
3866
+ has_mamluks = yes
3867
+ allowed_mamluks_fraction = 0.2
3868
+ }
3869
+ ai_will_do = {
3870
+ factor = 100
3871
+ }
3444
3872
  }
common/estate_privileges/03_burgher_privileges.txt CHANGED
@@ -253,6 +253,10 @@ estate_burghers_land_of_commerce = {
253
253
  conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
254
254
  loyalty = -0.05
255
255
  can_select = {
256
+ can_select_monarch_power_privilege = {
257
+ estate = estate_burghers
258
+ type = dip
259
+ }
256
260
  }
257
261
  on_granted = {
258
262
  }
@@ -463,9 +467,21 @@ estate_burghers_indebted_to_burghers = {
463
467
  loyalty = 0.05
464
468
  influence = 0.05
465
469
  on_granted = {
466
- custom_tooltip = estate_burghers_indebted_to_burghers_effect_tooltip
467
470
  if = {
468
- limit = { NOT = { has_government_attribute = no_mercantilism_loss_from_privilege } }
471
+ limit = {
472
+ has_country_flag = BYZ_buff_burgher_loans_flag
473
+ }
474
+ custom_tooltip = BYZ_estate_burghers_indebted_to_burghers_effect_tooltip
475
+ }
476
+ else = {
477
+ custom_tooltip = estate_burghers_indebted_to_burghers_effect_tooltip
478
+ }
479
+ if = {
480
+ limit = {
481
+ NOT = { has_government_attribute = no_mercantilism_loss_from_privilege }
482
+ NOT = { mission_completed = BYZ_economic_independence }
483
+ NOT = { has_country_flag = no_mercantilism_loss_estate_privilege_flag }
484
+ }
469
485
  add_mercantilism = -1
470
486
  }
471
487
  tooltip = {
@@ -497,6 +513,21 @@ estate_burghers_indebted_to_burghers = {
497
513
  duration = 60
498
514
  estate_loan = yes
499
515
  }
516
+ if = {
517
+ limit = {
518
+ has_country_flag = BYZ_buff_burgher_loans_flag
519
+ }
520
+ add_loan = {
521
+ fixed_interest = 1
522
+ duration = 60
523
+ estate_loan = yes
524
+ }
525
+ add_loan = {
526
+ fixed_interest = 1
527
+ duration = 60
528
+ estate_loan = yes
529
+ }
530
+ }
500
531
  }
501
532
  }
502
533
  penalties = {
@@ -505,6 +536,7 @@ estate_burghers_indebted_to_burghers = {
505
536
  benefits = {
506
537
  }
507
538
  can_select = {
539
+ not = { has_estate_privilege = estate_burghers_reliance_on_republics }
508
540
  if = {
509
541
  limit = {
510
542
  has_estate_privilege = estate_burghers_indebted_to_burghers
@@ -542,6 +574,13 @@ estate_burghers_free_enterprise = {
542
574
  trigger = { has_government_mechanic = russian_modernization_mechanic }
543
575
  modifier = { monthly_russian_modernization = -0.03 }
544
576
  }
577
+ conditional_modifier = {
578
+ trigger = { has_country_flag = BYZ_free_enterprise_buff }
579
+ modifier = {
580
+ trade_efficiency = 0.05
581
+ max_absolutism = 10
582
+ }
583
+ }
545
584
  #conditional_modifier = {
546
585
  # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
547
586
  # modifier = { monthly_ottoman_decadence = 0.02 }
@@ -593,6 +632,26 @@ estate_burghers_patronage_of_the_arts = {
593
632
  trigger = { has_government_mechanic = russian_modernization_mechanic }
594
633
  modifier = { monthly_russian_modernization = -0.03 }
595
634
  }
635
+ conditional_modifier = {
636
+ trigger = {
637
+ mission_completed = BYZ_glass_ware
638
+ NOT = { has_dlc = "Emperor" }
639
+ has_dlc = "Leviathan"
640
+ }
641
+ modifier = {
642
+ great_project_upgrade_cost = -0.1
643
+ }
644
+ }
645
+ conditional_modifier = {
646
+ trigger = {
647
+ mission_completed = BYZ_glass_ware
648
+ NOT = { has_dlc = "Emperor" }
649
+ NOT = { has_dlc = "Leviathan" }
650
+ }
651
+ modifier = {
652
+ build_cost = -0.05
653
+ }
654
+ }
596
655
  #conditional_modifier = {
597
656
  # trigger = { has_government_mechanic = ottoman_decadence_mechanic }
598
657
  # modifier = { monthly_ottoman_decadence = 0.02 }
@@ -980,6 +1039,24 @@ estate_burghers_monopoly_of_glass = {
980
1039
  burghers_privilege_slots = 1
981
1040
  }
982
1041
  }
1042
+ conditional_modifier = {
1043
+ trigger = {
1044
+ mission_completed = BYZ_glass_ware
1045
+ has_dlc = "Leviathan"
1046
+ }
1047
+ modifier = {
1048
+ great_project_upgrade_cost = -0.1
1049
+ }
1050
+ }
1051
+ conditional_modifier = {
1052
+ trigger = {
1053
+ mission_completed = BYZ_glass_ware
1054
+ NOT = { has_dlc = "Leviathan" }
1055
+ }
1056
+ modifier = {
1057
+ build_cost = -0.05
1058
+ }
1059
+ }
983
1060
  on_cooldown_expires = {
984
1061
  country_event = { id = monopoly_privileges.3 }
985
1062
  }
@@ -1315,7 +1392,10 @@ estate_burghers_private_trade_fleets = {
1315
1392
  influence = 0.1
1316
1393
  loyalty = 0.05
1317
1394
  is_valid = {
1318
- has_dlc = "Emperor"
1395
+ OR = {
1396
+ has_dlc = "Emperor"
1397
+ has_dlc = "King of Kings"
1398
+ }
1319
1399
  num_of_ports = 1
1320
1400
  navy_size = 1
1321
1401
  }
@@ -1323,7 +1403,55 @@ estate_burghers_private_trade_fleets = {
1323
1403
  }
1324
1404
  benefits = {
1325
1405
  light_ship_cost = -0.2
1326
- global_ship_trade_power = 0.1
1406
+ }
1407
+ conditional_modifier = {
1408
+ trigger = {
1409
+ NOT = { has_country_flag = BYZ_private_trade_fleet_buff }
1410
+ NOT = {
1411
+ OR = {
1412
+ has_country_flag = YEM_upgrade_trade_ships_priv_1
1413
+ has_country_flag = YEM_upgrade_trade_ships_priv_2
1414
+ }
1415
+ }
1416
+ }
1417
+ modifier = {
1418
+ global_ship_trade_power = 0.1
1419
+ }
1420
+ }
1421
+ conditional_modifier = {
1422
+ trigger = {
1423
+ OR = {
1424
+ has_country_flag = BYZ_private_trade_fleet_buff
1425
+ has_country_flag = YEM_upgrade_trade_ships_priv_1
1426
+ }
1427
+ NOT = { has_country_flag = YEM_upgrade_trade_ships_priv_2 }
1428
+ }
1429
+ modifier = {
1430
+ global_ship_trade_power = 0.2
1431
+ }
1432
+ }
1433
+ conditional_modifier = {
1434
+ trigger = {
1435
+ has_country_flag = YEM_upgrade_trade_ships_priv_2
1436
+ }
1437
+ modifier = {
1438
+ global_ship_trade_power = 0.3
1439
+ }
1440
+ }
1441
+ conditional_modifier = {
1442
+ trigger = { has_country_flag = mam_upgrade_private_trade_fleets_flag }
1443
+ modifier = {
1444
+ global_ship_trade_power = 0.1
1445
+ burghers_influence_modifier = -0.1
1446
+ }
1447
+ }
1448
+ conditional_modifier = {
1449
+ trigger = {
1450
+ has_country_flag = ARB_upgrade_trade_ship_privilege_for_trade_steering_flag
1451
+ }
1452
+ modifier = {
1453
+ trade_steering = 0.1
1454
+ }
1327
1455
  }
1328
1456
  conditional_modifier = {
1329
1457
  trigger = { has_government_mechanic = russian_modernization_mechanic }
@@ -2658,4 +2786,734 @@ estate_burghers_promote_burgher_bookkeeping = {
2658
2786
  ai_will_do = {
2659
2787
  factor = 10
2660
2788
  }
2789
+ }
2790
+
2791
+ #1.36
2792
+
2793
+ #Turkomen
2794
+
2795
+ estate_burghers_great_works_of_iran = {
2796
+ icon = privilege_dev_cost_desert
2797
+ land_share = 5
2798
+ max_absolutism = -10
2799
+ loyalty = 0.05
2800
+ influence = 0.05
2801
+ is_valid = {
2802
+ has_unlocked_estate_privilege = {
2803
+ estate_privilege = estate_burghers_great_works_of_iran
2804
+ }
2805
+ }
2806
+ can_select = {
2807
+ custom_trigger_tooltip = {
2808
+ tooltip = has_unlocked_estate_burghers_great_works_of_iran_tt
2809
+ has_unlocked_estate_privilege = {
2810
+ estate_privilege = estate_burghers_great_works_of_iran
2811
+ }
2812
+ }
2813
+ any_owned_province = {
2814
+ OR = {
2815
+ has_terrain = mountain
2816
+ has_terrain = highlands
2817
+ has_terrain = desert
2818
+ has_terrain = drylands
2819
+ }
2820
+ OR = {
2821
+ region = persia_region
2822
+ region = khorasan_region
2823
+ }
2824
+ }
2825
+ }
2826
+ on_granted = {
2827
+ custom_tooltip = estate_burghers_great_works_of_iran_tt
2828
+ }
2829
+ on_granted_province = {
2830
+ if = {
2831
+ limit = {
2832
+ has_terrain = mountain
2833
+ OR = {
2834
+ region = persia_region
2835
+ region = khorasan_region
2836
+ }
2837
+ }
2838
+ add_province_modifier = {
2839
+ name = turkoman_privilege_mountains
2840
+ duration = -1
2841
+ }
2842
+ }
2843
+ if = {
2844
+ limit = {
2845
+ has_terrain = highlands
2846
+ OR = {
2847
+ region = persia_region
2848
+ region = khorasan_region
2849
+ }
2850
+ }
2851
+ add_province_modifier = {
2852
+ name = turkoman_privilege_highlands
2853
+ duration = -1
2854
+ }
2855
+ }
2856
+ if = {
2857
+ limit = {
2858
+ has_terrain = desert
2859
+ OR = {
2860
+ region = persia_region
2861
+ region = khorasan_region
2862
+ }
2863
+ }
2864
+ add_province_modifier = {
2865
+ name = turkoman_privilege_desert
2866
+ duration = -1
2867
+ }
2868
+ }
2869
+ if = {
2870
+ limit = {
2871
+ has_terrain = drylands
2872
+ OR = {
2873
+ region = persia_region
2874
+ region = khorasan_region
2875
+ }
2876
+ }
2877
+ add_province_modifier = {
2878
+ name = turkoman_privilege_drylands
2879
+ duration = -1
2880
+ }
2881
+ }
2882
+ }
2883
+ on_revoked = {
2884
+ custom_tooltip = estate_burghers_great_works_of_iran_revoke
2885
+ }
2886
+ on_revoked_province = {
2887
+ if = {
2888
+ limit = { has_province_modifier = turkoman_privilege_mountains }
2889
+ remove_province_modifier = turkoman_privilege_mountains
2890
+ }
2891
+ if = {
2892
+ limit = { has_province_modifier = turkoman_privilege_highlands }
2893
+ remove_province_modifier = turkoman_privilege_highlands
2894
+ }
2895
+ if = {
2896
+ limit = { has_province_modifier = turkoman_privilege_desert }
2897
+ remove_province_modifier = turkoman_privilege_desert
2898
+ }
2899
+ if = {
2900
+ limit = { has_province_modifier = turkoman_privilege_drylands }
2901
+ remove_province_modifier = turkoman_privilege_drylands
2902
+ }
2903
+ }
2904
+ on_invalid = {
2905
+ }
2906
+ on_invalid_province = {
2907
+ if = {
2908
+ limit = { has_province_modifier = turkoman_privilege_mountains }
2909
+ remove_province_modifier = turkoman_privilege_mountains
2910
+ }
2911
+ if = {
2912
+ limit = { has_province_modifier = turkoman_privilege_highlands }
2913
+ remove_province_modifier = turkoman_privilege_highlands
2914
+ }
2915
+ if = {
2916
+ limit = { has_province_modifier = turkoman_privilege_desert }
2917
+ remove_province_modifier = turkoman_privilege_desert
2918
+ }
2919
+ if = {
2920
+ limit = { has_province_modifier = turkoman_privilege_drylands }
2921
+ remove_province_modifier = turkoman_privilege_drylands
2922
+ }
2923
+ }
2924
+ ai_will_do = {
2925
+ factor = 0
2926
+ }
2927
+ }
2928
+
2929
+ #Mamluks
2930
+
2931
+ estate_burghers_fund_karimi = {
2932
+ icon = estate_burghers_fund_karimi
2933
+ max_absolutism = -5
2934
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
2935
+ land_share = 5
2936
+ loyalty = 0.1
2937
+ influence = 0.1
2938
+ is_valid = {
2939
+ is_or_was_tag = {
2940
+ tag = MAM
2941
+ }
2942
+ has_dlc = "King of Kings"
2943
+ }
2944
+ modifier_by_land_ownership = {
2945
+ global_tax_modifier = -0.25
2946
+ trade_efficiency = 0.2
2947
+ placed_merchant_power = 10
2948
+ }
2949
+
2950
+ ai_will_do = {
2951
+ factor = 5
2952
+ }
2953
+ }
2954
+
2955
+ estate_burghers_foreign_expeditions = {
2956
+ icon = estate_burghers_foreign_expeditions
2957
+ max_absolutism = -5
2958
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
2959
+ loyalty = 0.05
2960
+ influence = 0.1
2961
+ is_valid = {
2962
+ has_unlocked_estate_privilege = {
2963
+ estate_privilege = estate_burghers_foreign_expeditions
2964
+ }
2965
+ }
2966
+ benefits = {
2967
+ colonists = 1
2968
+ }
2969
+
2970
+ loyalty_scaled_conditional_modifier = {
2971
+ trigger = { always = yes }
2972
+ modifier = {
2973
+ colonist_placement_chance = 0.1
2974
+ }
2975
+ }
2976
+
2977
+ ai_will_do = {
2978
+ factor = 5
2979
+ }
2980
+ }
2981
+
2982
+ estate_burghers_nile_goods_transport = {
2983
+ icon = estate_burghers_nile_goods_transport
2984
+ max_absolutism = -5
2985
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
2986
+ loyalty = 0.05
2987
+ influence = 0.1
2988
+ is_valid = {
2989
+ has_unlocked_estate_privilege = {
2990
+ estate_privilege = estate_burghers_nile_goods_transport
2991
+ }
2992
+ }
2993
+ benefits = {
2994
+ global_ship_trade_power = 0.2
2995
+ }
2996
+
2997
+ loyalty_scaled_conditional_modifier = {
2998
+ trigger = { always = yes }
2999
+ modifier = {
3000
+ production_efficiency = 0.2
3001
+ }
3002
+ }
3003
+
3004
+ ai_will_do = {
3005
+ factor = 5
3006
+ }
3007
+ }
3008
+
3009
+ estate_burghers_monopoly_of_coffee = {
3010
+ icon = estate_burghers_monopoly_of_coffee
3011
+ max_absolutism = -10
3012
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
3013
+ loyalty = 0.1
3014
+ is_valid = {
3015
+ has_country_flag = mam_enable_coffee_monopoly_flag
3016
+ }
3017
+ can_select = {
3018
+ custom_trigger_tooltip = {
3019
+ tooltip = unavailable_during_revolution_disaster
3020
+ NOT = { has_disaster = revolution }
3021
+ NOT = {
3022
+ has_disaster_progress = {
3023
+ disaster = revolution
3024
+ value = 1
3025
+ }
3026
+ }
3027
+ NOT = { has_disaster = french_revolution }
3028
+ NOT = {
3029
+ has_disaster_progress = {
3030
+ disaster = french_revolution
3031
+ value = 1
3032
+ }
3033
+ }
3034
+ }
3035
+ any_owned_province = {
3036
+ trade_goods = coffee
3037
+ }
3038
+ }
3039
+ on_granted = {
3040
+ if = {
3041
+ limit = {
3042
+ coffee = 1
3043
+ }
3044
+ add_mercantilism = 1
3045
+ }
3046
+ add_years_of_owned_provinces_production_income = {
3047
+ years = 8
3048
+ trigger = {
3049
+ trade_goods = coffee
3050
+ }
3051
+ custom_tooltip = MONOPOLY_INCOME_COFFEE_DESC
3052
+ }
3053
+ custom_tooltip = estate_burghers_monopoly_of_coffee_effect_tooltip
3054
+ }
3055
+ on_granted_province = {
3056
+ if = {
3057
+ limit = {
3058
+ trade_goods = coffee
3059
+ }
3060
+ add_province_modifier = {
3061
+ name = estate_burghers_monopoly_of_coffee_mod
3062
+ duration = -1
3063
+ hidden = yes
3064
+ }
3065
+ add_base_tax = 1
3066
+ }
3067
+ else_if = {
3068
+ limit = {
3069
+ has_province_modifier = estate_burghers_monopoly_of_coffee_mod
3070
+ }
3071
+ remove_province_modifier = estate_burghers_monopoly_of_coffee_mod
3072
+ }
3073
+ }
3074
+ on_revoked = {
3075
+ custom_tooltip = estate_burghers_monopoly_of_coffee_revoke_tooltip
3076
+ }
3077
+ on_revoked_province = {
3078
+ if = {
3079
+ limit = {
3080
+ has_province_modifier = estate_burghers_monopoly_of_coffee_mod
3081
+ }
3082
+ remove_province_modifier = estate_burghers_monopoly_of_coffee_mod
3083
+ add_base_tax = -1
3084
+ }
3085
+ }
3086
+ on_invalid = {
3087
+ custom_tooltip = estate_burghers_monopoly_of_coffee_revoke_tooltip
3088
+ }
3089
+ on_invalid_province = {
3090
+ if = {
3091
+ limit = {
3092
+ has_province_modifier = estate_burghers_monopoly_of_coffee_mod
3093
+ }
3094
+ add_base_tax = -1
3095
+ remove_province_modifier = estate_burghers_monopoly_of_coffee_mod
3096
+ }
3097
+ }
3098
+ penalties = {
3099
+ }
3100
+ benefits = {
3101
+
3102
+ }
3103
+ cooldown_years = 10
3104
+ conditional_modifier = {
3105
+ trigger = {
3106
+ has_country_flag = buffed_monopolies
3107
+ }
3108
+ modifier = {
3109
+ max_absolutism = 10
3110
+ burghers_privilege_slots = 1
3111
+ }
3112
+ }
3113
+ on_cooldown_expires = {
3114
+ country_event = { id = flavor_mam.116 }
3115
+ }
3116
+ ai_will_do = { #having the AI use these could lead to an unstoppable downwards spiral if it can't work out how to get rid of them
3117
+ factor = 0
3118
+ }
3119
+ }
3120
+
3121
+ #Byzantium
3122
+
3123
+ estate_burghers_reliance_on_republics = {
3124
+ icon = estate_burghers_reliance_on_republics
3125
+ loyalty = -0.05
3126
+ influence = 0
3127
+ max_absolutism = -10
3128
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
3129
+ is_valid = {
3130
+ OR = {
3131
+ tag = BYZ
3132
+ has_estate_privilege = estate_burghers_reliance_on_republics
3133
+ }
3134
+ NOT = { has_country_flag = estate_burghers_reliance_on_republics_removed }
3135
+ }
3136
+ can_revoke = {
3137
+ num_of_ports = 8
3138
+ }
3139
+ on_granted = {
3140
+ custom_tooltip = BYZ_how_to_bring_it_down
3141
+ custom_tooltip = BYZ_no_more_burgher_loans
3142
+ }
3143
+ on_revoked = {
3144
+ set_country_flag = estate_burghers_reliance_on_republics_removed
3145
+ custom_tooltip = BYZ_can_have_burgher_loans
3146
+ }
3147
+ penalties = {
3148
+ #naval_forcelimit = -2
3149
+ }
3150
+ conditional_modifier = {
3151
+ trigger = {
3152
+ NOT = {
3153
+ OR = {
3154
+ reverse_has_opinion = {
3155
+ who = GEN
3156
+ value = 50
3157
+ }
3158
+ reverse_has_opinion = {
3159
+ who = VEN
3160
+ value = 50
3161
+ }
3162
+ }
3163
+ }
3164
+ }
3165
+ is_bad = yes
3166
+ modifier = {
3167
+ global_ship_recruit_speed = 2
3168
+ }
3169
+ }
3170
+ conditional_modifier = {
3171
+ trigger = {
3172
+ OR = {
3173
+ reverse_has_opinion = {
3174
+ who = GEN
3175
+ value = 50
3176
+ }
3177
+ reverse_has_opinion = {
3178
+ who = VEN
3179
+ value = 50
3180
+ }
3181
+ }
3182
+ NOT = {
3183
+ AND = {
3184
+ reverse_has_opinion = {
3185
+ who = GEN
3186
+ value = 50
3187
+ }
3188
+ reverse_has_opinion = {
3189
+ who = VEN
3190
+ value = 50
3191
+ }
3192
+ }
3193
+ }
3194
+ }
3195
+ is_bad = yes
3196
+ modifier = {
3197
+ global_ship_recruit_speed = 1
3198
+ }
3199
+ }
3200
+ ai_will_do = {
3201
+ factor = 0
3202
+ }
3203
+ }
3204
+
3205
+ estate_burghers_exkousseiai_for_latins = {
3206
+ icon = estate_burghers_exkousseiai_for_latins
3207
+ loyalty = -0.1
3208
+ influence = -0.05
3209
+ max_absolutism = -10
3210
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
3211
+ is_valid = {
3212
+ OR = {
3213
+ tag = BYZ
3214
+ has_estate_privilege = estate_burghers_exkousseiai_for_latins
3215
+ }
3216
+ NOT = { has_country_flag = estate_burghers_exkousseiai_for_latins_removed }
3217
+ }
3218
+ can_revoke = {
3219
+ custom_trigger_tooltip = {
3220
+ tooltip = BYZ_revokable_via_decision
3221
+ always = no
3222
+ }
3223
+ }
3224
+ penalties = {
3225
+ trade_efficiency = -0.1
3226
+ global_trade_power = -0.1
3227
+ }
3228
+ benefits = {
3229
+ mercenary_cost = -0.25
3230
+ }
3231
+
3232
+ conditional_modifier = {
3233
+ trigger = {
3234
+ has_country_flag = BYZ_kommerkion_will_give_5_less_loyalty_flag
3235
+ }
3236
+ modifier = {
3237
+ burghers_loyalty_modifier = -0.05
3238
+ }
3239
+ }
3240
+ conditional_modifier = {
3241
+ trigger = {
3242
+ has_country_flag = BYZ_kommerkion_will_give_5_less_trade_eff_flag
3243
+ }
3244
+ modifier = {
3245
+ trade_efficiency = -0.05
3246
+ }
3247
+ }
3248
+
3249
+ on_revoked = {
3250
+ add_country_modifier = {
3251
+ name = BYZ_alienation_of_western_merchants
3252
+ duration = 10950
3253
+ }
3254
+
3255
+ set_country_flag = estate_burghers_exkousseiai_for_latins_removed
3256
+ }
3257
+ ai_will_do = {
3258
+ factor = 0
3259
+ }
3260
+ }
3261
+
3262
+ estate_burghers_BYZ_single_market = {
3263
+ icon = estate_burghers_BYZ_single_market
3264
+ loyalty = 0.1
3265
+ influence = 0.05
3266
+ max_absolutism = -5
3267
+ is_valid = {
3268
+ has_unlocked_estate_privilege = { estate_privilege = estate_burghers_BYZ_single_market }
3269
+ }
3270
+ on_granted = {
3271
+ custom_tooltip = BYZ_bonuses_of_single_market
3272
+ }
3273
+ on_revoked = {
3274
+ custom_tooltip = estate_privilege_revoke_lose_modifier_tooltip
3275
+ custom_tooltip = BYZ_bonuses_of_single_market
3276
+ }
3277
+ benefits = {
3278
+ mercantilism_cost = -0.1
3279
+ }
3280
+ conditional_modifier = {
3281
+ trigger = {
3282
+ mercantilism = 50
3283
+ }
3284
+ modifier = {
3285
+ placed_merchant_power_modifier = 0.5
3286
+ }
3287
+ }
3288
+ conditional_modifier = {
3289
+ trigger = {
3290
+ mercantilism = 80
3291
+ }
3292
+ modifier = {
3293
+ global_trade_goods_size_modifier = 0.1
3294
+ }
3295
+ }
3296
+ ai_will_do = {
3297
+ factor = 0 #AI is not good at intentionally going for mercantilism
3298
+ }
3299
+ }
3300
+
3301
+ estate_burghers_ARB_oasis_development = {
3302
+ icon = estate_burghers_arb_oasis_development
3303
+ loyalty = 0.05
3304
+ influence = 0.15
3305
+ max_absolutism = -5
3306
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
3307
+ is_valid = {
3308
+ has_country_flag = ARB_unlock_oasis_development_flag
3309
+ }
3310
+ on_granted = {
3311
+ custom_tooltip = ARB_estate_burghers_arid_development_gt
3312
+ hidden_effect = {
3313
+ every_owned_province = {
3314
+ limit = {
3315
+ has_climate = arid
3316
+ }
3317
+ add_province_modifier = {
3318
+ name = ARB_estate_burghers_arid_climate_development
3319
+ duration = -1
3320
+ }
3321
+ }
3322
+ }
3323
+
3324
+ custom_tooltip = ARB_estate_burghers_desert_development_gt
3325
+ hidden_effect = {
3326
+ every_owned_province = {
3327
+ limit = {
3328
+ OR = {
3329
+ has_terrain = desert
3330
+ has_terrain = coastal_desert
3331
+ }
3332
+ }
3333
+ add_province_modifier = {
3334
+ name = ARB_estate_burghers_desert
3335
+ duration = -1
3336
+ }
3337
+ }
3338
+ }
3339
+ }
3340
+ on_revoked = {
3341
+ custom_tooltip = ARB_estate_burghers_arid_development_rt
3342
+ hidden_effect = {
3343
+ every_owned_province = {
3344
+ limit = {
3345
+ has_province_modifier = ARB_estate_burghers_arid_climate_development
3346
+ }
3347
+ remove_province_modifier = ARB_estate_burghers_arid_climate_development
3348
+ }
3349
+ }
3350
+ custom_tooltip = ARB_estate_burghers_desert_development_rt
3351
+ hidden_effect = {
3352
+ every_owned_province = {
3353
+ limit = {
3354
+ has_province_modifier = ARB_estate_burghers_desert
3355
+ }
3356
+ remove_province_modifier = ARB_estate_burghers_desert
3357
+ }
3358
+ }
3359
+ }
3360
+ ai_will_do = {
3361
+ factor = 1
3362
+ }
3363
+ }
3364
+
3365
+ estate_burghers_YEM_coffee_monopoly = {
3366
+ icon = estate_burghers_monopoly_of_coffee
3367
+ loyalty = 0.1
3368
+ influence = 0
3369
+ max_absolutism = -10
3370
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
3371
+ is_valid = {
3372
+ mission_completed = YEM_coffee
3373
+ any_owned_province = {
3374
+ trade_goods = coffee
3375
+ }
3376
+ }
3377
+ on_granted = {
3378
+ if = {
3379
+ limit = {
3380
+ coffee = 1
3381
+ }
3382
+ add_mercantilism = 1
3383
+ }
3384
+ add_years_of_owned_provinces_production_income = {
3385
+ years = 15
3386
+ trigger = {
3387
+ trade_goods = coffee
3388
+ }
3389
+ custom_tooltip = YEM_MONOPOLY_COFFEE_FROM_COFFEE
3390
+ }
3391
+ custom_tooltip = estate_burghers_YEM_coffee_monopoly_effect_tooltip
3392
+ }
3393
+ on_granted_province = {
3394
+ if = {
3395
+ limit = {
3396
+ trade_goods = coffee
3397
+ }
3398
+ add_province_modifier = {
3399
+ name = estate_burghers_YEM_coffee_monopoly_mod
3400
+ duration = -1
3401
+ }
3402
+ }
3403
+ else_if = {
3404
+ limit = {
3405
+ has_province_modifier = estate_burghers_YEM_coffee_monopoly_mod
3406
+ }
3407
+ remove_province_modifier = estate_burghers_YEM_coffee_monopoly_mod
3408
+ }
3409
+ }
3410
+ on_revoked = {
3411
+ custom_tooltip = estate_burghers_YEM_coffee_monopoly_revoke_tooltip
3412
+ }
3413
+ on_revoked_province = {
3414
+ if = {
3415
+ limit = {
3416
+ has_province_modifier = estate_burghers_YEM_coffee_monopoly_mod
3417
+ }
3418
+ remove_province_modifier = estate_burghers_YEM_coffee_monopoly_mod
3419
+ }
3420
+ }
3421
+ on_invalid = {
3422
+ custom_tooltip = estate_burghers_YEM_coffee_monopoly_revoke_tooltip
3423
+ }
3424
+ on_invalid_province = {
3425
+ if = {
3426
+ limit = {
3427
+ has_province_modifier = estate_burghers_YEM_coffee_monopoly_mod
3428
+ }
3429
+ remove_province_modifier = estate_burghers_YEM_coffee_monopoly_mod
3430
+ }
3431
+ }
3432
+ penalties = {
3433
+ }
3434
+ benefits = {
3435
+ }
3436
+ cooldown_years = 10
3437
+ conditional_modifier = {
3438
+ trigger = {
3439
+ has_country_flag = buffed_monopolies
3440
+ }
3441
+ modifier = {
3442
+ max_absolutism = 10
3443
+ burghers_privilege_slots = 1
3444
+ }
3445
+ }
3446
+ on_cooldown_expires = {
3447
+ country_event = { id = flavor_YEM.4 }
3448
+ }
3449
+ ai_will_do = {
3450
+ factor = 1
3451
+ }
3452
+ }
3453
+
3454
+ #Persia
3455
+ estate_burghers_persian_rugs = {
3456
+ icon = privilege_dev_cost_desert
3457
+ max_absolutism = 0
3458
+ loyalty = 0.05
3459
+ influence = 0.05
3460
+ is_valid = {
3461
+ has_unlocked_estate_privilege = {
3462
+ estate_privilege = estate_burghers_persian_rugs
3463
+ }
3464
+ }
3465
+ can_select = {
3466
+ any_owned_province = {
3467
+ OR = {
3468
+ trade_goods = cloth
3469
+ trade_goods = silk
3470
+ trade_goods = dyes
3471
+ }
3472
+ }
3473
+ }
3474
+ on_granted = {
3475
+ custom_tooltip = estate_burghers_persian_rugs_tt
3476
+ tooltip = {
3477
+ add_province_modifier = {
3478
+ name = estate_burghers_persian_rugs_modifier
3479
+ duration = -1
3480
+ desc = UNTIL_PRIVILEGE_REVOKED
3481
+ }
3482
+ }
3483
+ }
3484
+ on_granted_province = {
3485
+ if = {
3486
+ limit = {
3487
+ OR = {
3488
+ trade_goods = cloth
3489
+ trade_goods = silk
3490
+ trade_goods = dyes
3491
+ }
3492
+ }
3493
+ add_province_modifier = {
3494
+ name = estate_burghers_persian_rugs_modifier
3495
+ duration = -1
3496
+ }
3497
+ }
3498
+ }
3499
+ on_revoked = {
3500
+ custom_tooltip = estate_burghers_persian_rugs_rt
3501
+ }
3502
+ on_revoked_province = {
3503
+ if = {
3504
+ limit = { has_province_modifier = estate_burghers_persian_rugs_modifier }
3505
+ remove_province_modifier = estate_burghers_persian_rugs_modifier
3506
+ }
3507
+ }
3508
+ on_invalid = {
3509
+ }
3510
+ on_invalid_province = {
3511
+ if = {
3512
+ limit = { has_province_modifier = estate_burghers_persian_rugs_modifier }
3513
+ remove_province_modifier = estate_burghers_persian_rugs_modifier
3514
+ }
3515
+ }
3516
+ ai_will_do = {
3517
+ factor = 100
3518
+ }
2661
3519
  }
common/estate_privileges/04_cossack_privileges.txt CHANGED
@@ -371,6 +371,9 @@ estate_cossacks_establish_the_cossack_regiments = {
371
371
  NOT = { has_estate_privilege = estate_cossacks_establish_the_cossack_regiments }
372
372
  }
373
373
  }
374
+ additional_description = {
375
+ cossacks_regiment
376
+ }
374
377
  }
375
378
 
376
379
  estate_cossacks_expand_the_cossack_regiments = {
common/estate_privileges/07_jain_privileges.txt CHANGED
@@ -196,6 +196,10 @@ estate_jains_diplomacy = {
196
196
  NOT = { has_estate = estate_burghers }
197
197
  }
198
198
  can_select = {
199
+ can_select_monarch_power_privilege = {
200
+ estate = estate_jains
201
+ type = dip
202
+ }
199
203
  }
200
204
  on_granted = {
201
205
  }
common/estate_privileges/08_janissaries_privileges.txt CHANGED
@@ -23,7 +23,6 @@ estate_janissary_sultans_aghas = {
23
23
  on_granted = {}
24
24
  on_granted_province = {}
25
25
  benefits = {
26
- army_tradition = 0.3
27
26
  leader_land_shock = 1
28
27
  }
29
28
  on_revoked = {}
@@ -71,7 +70,7 @@ estate_janissary_recruited_by_merit = {
71
70
  on_invalid_province = {}
72
71
  on_cooldown_expires = {}
73
72
  modifier_by_land_ownership = {
74
- infantry_power = 0.2
73
+ infantry_power = 0.1
75
74
  is_janissary_modifier = yes
76
75
  }
77
76
  #conditional_modifier = {
common/estate_privileges/10_qizilbash_privileges.txt ADDED
@@ -0,0 +1,791 @@
1
+ estate_qizilbash_land_rights = {
2
+ icon = privilege_grant_autonomy
3
+ land_share = 5
4
+ max_absolutism = -5
5
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
6
+ loyalty = 0.05
7
+ influence = 0.05
8
+ can_select = {
9
+ not = { has_estate_privilege = estate_ghulams_land_rights }
10
+ not = { has_estate_privilege = estate_nobles_land_rights }
11
+ }
12
+ on_granted = {
13
+ }
14
+ penalties = {
15
+ }
16
+ benefits = {
17
+ governing_capacity = 100
18
+ }
19
+ ai_will_do = {
20
+ factor = 5
21
+ modifier = {
22
+ factor = 1.4
23
+ num_of_territories = 5
24
+ }
25
+ modifier = {
26
+ factor = 1.5
27
+ num_of_territories = 10
28
+ }
29
+ modifier = {
30
+ factor = 1.5
31
+ num_of_territories = 15
32
+ }
33
+ modifier = {
34
+ factor = 0
35
+ OR = {
36
+ NOT = { crown_land_share = 25 }
37
+ estate_influence = {
38
+ estate = estate_qizilbash
39
+ influence = 75
40
+ }
41
+ }
42
+ NOT = { has_estate_privilege = estate_qizilbash_land_rights }
43
+ }
44
+ modifier = {
45
+ factor = 3
46
+ OR = {
47
+ AND = {
48
+ governing_capacity_percentage = 0.9
49
+ NOT = { has_estate_privilege = estate_qizilbash_land_rights }
50
+ }
51
+ #The trigger below should make sure that the AI actually keeps this privilege when enacting it early game
52
+ AND = {
53
+ governing_capacity_percentage = 0.6
54
+ has_estate_privilege = estate_qizilbash_land_rights
55
+ }
56
+ }
57
+ }
58
+ modifier = {
59
+ factor = 0
60
+ NOT = { governing_capacity_percentage = 0.5 }
61
+ }
62
+ modifier = {
63
+ factor = 0.8
64
+ OR = {
65
+ NOT = { crown_land_share = 40 }
66
+ AND = {
67
+ is_absolutism_active = yes
68
+ NOT = { crown_land_share = 60 }
69
+ }
70
+ }
71
+ NOT = { has_estate_privilege = estate_qizilbash_land_rights }
72
+ }
73
+ modifier = {
74
+ factor = 0.8
75
+ OR = {
76
+ NOT = { crown_land_share = 30 }
77
+ AND = {
78
+ is_absolutism_active = yes
79
+ NOT = { crown_land_share = 50 }
80
+ }
81
+ }
82
+ NOT = { has_estate_privilege = estate_qizilbash_land_rights }
83
+ }
84
+ modifier = {
85
+ factor = 0.8
86
+ is_absolutism_active = yes
87
+ }
88
+ modifier = {
89
+ factor = 2
90
+ governing_capacity_percentage = 0.9
91
+ }
92
+ modifier = {
93
+ factor = 3
94
+ governing_capacity_percentage = 1
95
+ }
96
+ modifier = {
97
+ factor = 10
98
+ governing_capacity_percentage = 1.2
99
+ }
100
+ modifier = {
101
+ factor = 8
102
+ NOT = { adm_tech = 12 }
103
+ governing_capacity_percentage = 0.8
104
+ }
105
+ modifier = {
106
+ factor = 5
107
+ NOT = { adm_tech = 12 }
108
+ NOT = { government_rank = 1 }
109
+ governing_capacity_percentage = 0.65
110
+ }
111
+ #Tag specific convincement - after tech 17 (+250 governing capacity) it should not play a role anymore
112
+ modifier = {
113
+ factor = 1.25
114
+ tag = MOS
115
+ NOT = { adm_tech = 17 }
116
+ }
117
+ modifier = {
118
+ factor = 1.25
119
+ tag = RUS
120
+ NOT = { adm_tech = 17 }
121
+ }
122
+ modifier = {
123
+ factor = 1.25
124
+ tag = TUR
125
+ NOT = { adm_tech = 17 }
126
+ }
127
+ modifier = {
128
+ factor = 1.25
129
+ tag = MNG
130
+ NOT = { adm_tech = 17 }
131
+ }
132
+ modifier = {
133
+ factor = 1.25
134
+ tag = FRA
135
+ NOT = { adm_tech = 17 }
136
+ }
137
+ modifier = {
138
+ factor = 1.25
139
+ tag = SPA
140
+ NOT = { adm_tech = 17 }
141
+ }
142
+ modifier = {
143
+ factor = 1.25
144
+ tag = PLC
145
+ NOT = { adm_tech = 17 }
146
+ }
147
+ #Has already a similar privilege active
148
+ modifier = {
149
+ factor = 0.75
150
+ has_estate_privilege = estate_brahmins_land_rights
151
+ }
152
+ modifier = {
153
+ factor = 0.75
154
+ has_estate_privilege = estate_nobles_land_rights
155
+ }
156
+ modifier = {
157
+ factor = 0.75
158
+ has_estate_privilege = estate_church_land_rights
159
+ }
160
+ modifier = {
161
+ factor = 0.75
162
+ has_estate_privilege = estate_burghers_land_rights
163
+ }
164
+ modifier = {
165
+ factor = 0.75
166
+ has_estate_privilege = estate_vaisyas_land_rights
167
+ }
168
+ modifier = {
169
+ factor = 0.75
170
+ has_estate_privilege = estate_qizilbash_land_rights
171
+ }
172
+ modifier = {
173
+ factor = 0.75
174
+ has_estate_privilege = estate_nomadic_tribes_land_rights
175
+ }
176
+ modifier = {
177
+ factor = 0.75
178
+ has_estate_privilege = estate_dhimmi_land_rights
179
+ }
180
+ modifier = {
181
+ factor = 0.75
182
+ has_estate_privilege = estate_jains_land_rights
183
+ }
184
+ modifier = {
185
+ factor = 0.75
186
+ has_estate_privilege = estate_rajput_land_rights
187
+ }
188
+ modifier = {
189
+ factor = 0.75
190
+ has_estate_privilege = estate_maratha_land_rights
191
+ }
192
+ }
193
+ }
194
+
195
+ estate_qizilbash_military = {
196
+ icon = privilege_military_power
197
+ land_share = 10
198
+ max_absolutism = -5
199
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
200
+ loyalty = -0.05
201
+ is_valid = {
202
+ }
203
+ can_select = {
204
+ can_select_monarch_power_privilege = {
205
+ estate = estate_qizilbash
206
+ type = mil
207
+ }
208
+ }
209
+ on_granted = {
210
+ }
211
+ penalties = {
212
+ }
213
+ benefits = {
214
+ country_military_power = 1
215
+ }
216
+ ai_will_do = {
217
+ factor = 13
218
+ modifier = {
219
+ factor = 0
220
+ OR = {
221
+ NOT = { crown_land_share = 30 }
222
+ estate_influence = {
223
+ estate = estate_qizilbash
224
+ influence = 75
225
+ }
226
+ }
227
+ NOT = { has_estate_privilege = estate_qizilbash_military }
228
+ }
229
+ modifier = {
230
+ factor = 0.8
231
+ OR = {
232
+ NOT = { crown_land_share = 35 }
233
+ AND = {
234
+ is_absolutism_active = yes
235
+ NOT = { crown_land_share = 55 }
236
+ }
237
+ }
238
+ NOT = { has_estate_privilege = estate_qizilbash_military }
239
+ }
240
+ modifier = {
241
+ factor = 0.8
242
+ is_absolutism_active = yes
243
+ }
244
+ modifier = {
245
+ factor = 1.25
246
+ NOT = { mil = 2 }
247
+ }
248
+ modifier = {
249
+ factor = 0.8
250
+ mil = 5
251
+ }
252
+ }
253
+ }
254
+
255
+ estate_qizilbash_loyalty_privilege = {
256
+ icon = privilege_royal_authority
257
+ max_absolutism = -10
258
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
259
+ loyalty = 0.15
260
+ influence = 0.1
261
+ penalties = {
262
+ }
263
+ benefits = {
264
+ }
265
+ ai_will_do = {
266
+ factor = 10
267
+ modifier = {
268
+ factor = 0
269
+ is_absolutism_active = yes
270
+ }
271
+ }
272
+ }
273
+
274
+ estate_qizilbash_establish_the_qizilbash_regiments = {
275
+ icon = qizilbash
276
+ land_share = 5
277
+ max_absolutism = -5
278
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
279
+ influence = 0.05
280
+ can_select = {
281
+ }
282
+ on_granted = {
283
+ }
284
+ modifier_by_land_ownership = {
285
+ allowed_qizilbash_fraction = 0.25
286
+ }
287
+ penalties = {
288
+ }
289
+ benefits = {
290
+ has_qizilbash = yes
291
+ amount_of_qizilbash = 6
292
+ }
293
+ mechanics = {
294
+ }
295
+ ai_will_do = {
296
+ factor = 10
297
+ }
298
+ }
299
+
300
+ estate_qizilbash_expand_the_qizilbash_regiments = {
301
+ icon = qizlbash_cavalry
302
+ land_share = 5
303
+ max_absolutism = -5
304
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
305
+ influence = 0.05
306
+ is_valid = {
307
+ has_estate_privilege = estate_qizilbash_establish_the_qizilbash_regiments
308
+ }
309
+ can_select = {
310
+ }
311
+ on_granted = {
312
+ }
313
+ on_invalid = {
314
+ }
315
+ on_revoked = {
316
+ }
317
+ modifier_by_land_ownership = {
318
+ allowed_qizilbash_fraction = 0.5
319
+ }
320
+ penalties = {
321
+ }
322
+ benefits = {
323
+ }
324
+ ai_will_do = {
325
+ factor = 10
326
+ modifier = {
327
+ factor = 0
328
+ OR = {
329
+ NOT = { crown_land_share = 25 }
330
+ estate_influence = {
331
+ estate = estate_qizilbash
332
+ influence = 75
333
+ }
334
+ }
335
+ NOT = { has_estate_privilege = estate_qizilbash_establish_the_qizilbash_regiments }
336
+ }
337
+ }
338
+ }
339
+
340
+ estate_qizilbash_horse_responsibilities = {
341
+ icon = horse
342
+ land_share = 0
343
+ max_absolutism = -5
344
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
345
+ influence = 0.05
346
+ loyalty = 0.1
347
+ is_valid = {
348
+ has_estate_privilege = estate_qizilbash_expand_the_qizilbash_regiments
349
+ }
350
+ can_select = {
351
+ }
352
+ on_granted = {
353
+ if = {
354
+ limit = { NOT = { has_country_flag = bred_a_new_war_steed } }
355
+ unlock_decision = {
356
+ type = horse_breeding_decision
357
+ custom_tooltip = horse_breeding_decision_at
358
+ }
359
+ }
360
+ enable_estate_action = {
361
+ estate_action = GRANT_QIZILBASH_HORSES
362
+ }
363
+ }
364
+ on_revoked = {
365
+ if = {
366
+ limit = { NOT = { has_country_flag = bred_a_new_war_steed } }
367
+ lock_decision = { type = horse_breeding_decision }
368
+ }
369
+ disable_estate_action = {
370
+ estate_action = GRANT_QIZILBASH_HORSES
371
+ }
372
+ }
373
+ on_invalid = {
374
+ if = {
375
+ limit = { NOT = { has_country_flag = bred_a_new_war_steed } }
376
+ lock_decision = { type = horse_breeding_decision }
377
+ }
378
+ disable_estate_action = {
379
+ estate_action = GRANT_QIZILBASH_HORSES
380
+ }
381
+ }
382
+ modifier_by_land_ownership = {
383
+ }
384
+ penalties = {
385
+ }
386
+ benefits = {
387
+ cavalry_cost = -0.1
388
+ }
389
+ mechanics = {
390
+ }
391
+ ai_will_do = {
392
+ factor = 10
393
+ }
394
+ }
395
+
396
+ estate_qizilbash_protected_communities = {
397
+ icon = privilege_autonomy
398
+ loyalty = 0.1
399
+ max_absolutism = -5
400
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
401
+ influence = 0.1
402
+ is_valid = {
403
+ any_owned_province = {
404
+ OR = {
405
+ culture = turkmeni
406
+ culture = azerbaijani
407
+ culture = turco_iranian
408
+ culture = turkish
409
+ }
410
+ }
411
+ }
412
+ can_select = {
413
+ }
414
+ on_granted = {
415
+ custom_tooltip = estate_qizilbash_protected_communities_gt
416
+ tooltip = {
417
+ add_province_modifier = {
418
+ name = estate_qizilbash_protected_communities_mod
419
+ duration = -1
420
+ desc = UNTIL_REVOKED
421
+ }
422
+ }
423
+ }
424
+ on_revoked = {
425
+ custom_tooltip = estate_qizilbash_protected_communities_rt
426
+ }
427
+ on_invalid = {
428
+ custom_tooltip = estate_qizilbash_protected_communities_rt
429
+ }
430
+ on_granted_province = {
431
+ if = {
432
+ limit = {
433
+ OR = {
434
+ culture = turkmeni
435
+ culture = azerbaijani
436
+ culture = turco_iranian
437
+ culture = turkish
438
+ }
439
+ }
440
+ add_province_modifier = {
441
+ name = estate_qizilbash_protected_communities_mod
442
+ duration = -1
443
+ desc = UNTIL_REVOKED
444
+ }
445
+ }
446
+ }
447
+ on_revoked_province = {
448
+ remove_province_modifier = estate_qizilbash_protected_communities_mod
449
+ }
450
+ on_invalid_province = {
451
+ remove_province_modifier = estate_qizilbash_protected_communities_mod
452
+ }
453
+ modifier_by_land_ownership = {
454
+ }
455
+ penalties = {
456
+ }
457
+ benefits = {
458
+ amount_of_qizilbash = 4
459
+ }
460
+ mechanics = {
461
+ }
462
+ ai_will_do = {
463
+ factor = 10
464
+ }
465
+ }
466
+
467
+ estate_qizilbash_military_leadership = {
468
+ icon = privilege_army_tradition
469
+ loyalty = 0.05
470
+ max_absolutism = -5
471
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
472
+ influence = 0.05
473
+ can_select = {
474
+ army_tradition = 30
475
+ }
476
+ on_granted = {
477
+ add_army_tradition = -5
478
+ }
479
+ penalties = {
480
+ }
481
+ benefits = {
482
+ general_cost = -0.1
483
+ army_tradition_decay = -0.005
484
+ }
485
+ ai_will_do = {
486
+ factor = 10
487
+ }
488
+ }
489
+
490
+ estate_qizilbash_supremacy_over_the_aristocracy = {
491
+ icon = privilege_coup_detat
492
+ loyalty = 0.1
493
+ influence = 0.1
494
+ max_absolutism = -10
495
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
496
+ can_select = {
497
+ }
498
+ on_granted = {
499
+ }
500
+ modifier_by_land_ownership = {
501
+ }
502
+ penalties = {
503
+ nobles_loyalty_modifier = -0.1
504
+ }
505
+ benefits = {
506
+ nobles_influence_modifier = -0.2
507
+ }
508
+ mechanics = {
509
+ exempt_from_seize_land
510
+ }
511
+ ai_will_do = {
512
+ factor = 10
513
+ }
514
+ }
515
+
516
+ #Unlockable
517
+ estate_qizilbash_defensive_policy = {
518
+ icon = privilege_fort
519
+ loyalty = 0.05
520
+ influence = 0.1
521
+ max_absolutism = 0
522
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
523
+ is_valid = {
524
+ has_unlocked_estate_privilege = {
525
+ estate_privilege = estate_qizilbash_defensive_policy
526
+ }
527
+ }
528
+ can_select = {
529
+ NOT = { has_estate_privilege = estate_nobles_defensive_policy }
530
+ NOT = { has_estate_privilege = estate_ghulams_defensive_policy }
531
+ }
532
+ on_granted = {
533
+
534
+ }
535
+ on_revoked = {
536
+
537
+ }
538
+ benefits = {
539
+ garrison_size = 0.25
540
+ fort_maintenance_modifier = -0.33
541
+ }
542
+ ai_will_do = {
543
+ factor = 0
544
+ }
545
+ }
546
+
547
+ estate_qizilbash_regimental_discipline = {
548
+ icon = qizilbash_shock
549
+ loyalty = 0.05
550
+ influence = 0.1
551
+ max_absolutism = -10
552
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 2 } }
553
+ is_valid = {
554
+ has_unlocked_estate_privilege = {
555
+ estate_privilege = estate_qizilbash_regimental_discipline
556
+ }
557
+ }
558
+ can_select = {
559
+ }
560
+ on_granted = {
561
+ add_country_modifier = {
562
+ name = estate_qizilbash_regimental_discipline_qizilbash
563
+ duration = -1
564
+ hidden = yes
565
+ }
566
+ scaling_with_influence_privilege_tooltip = {
567
+ estate_privilege = estate_qizilbash_regimental_discipline
568
+ }
569
+ }
570
+ on_revoked = {
571
+ remove_country_modifier = estate_qizilbash_regimental_discipline_qizilbash
572
+ scaling_with_influence_privilege_tooltip = {
573
+ estate_privilege = estate_qizilbash_regimental_discipline
574
+ }
575
+ }
576
+ on_invalid = {
577
+ remove_country_modifier = estate_qizilbash_regimental_discipline_qizilbash
578
+ }
579
+ benefits = {
580
+ }
581
+ influence_scaled_conditional_modifier = {
582
+ trigger = {
583
+ estate_loyalty = { estate = estate_qizilbash loyalty = 60 }
584
+ }
585
+ modifier = {
586
+ discipline = 0.05
587
+ }
588
+ }
589
+ influence_scaled_conditional_modifier = {
590
+ trigger = {
591
+ estate_loyalty = { estate = estate_qizilbash loyalty = 30 }
592
+ NOT = { estate_loyalty = { estate = estate_qizilbash loyalty = 60 } }
593
+ }
594
+ modifier = {
595
+ discipline = 0.025
596
+ }
597
+ }
598
+ influence_scaled_conditional_modifier = {
599
+ trigger = {
600
+ NOT = { estate_loyalty = { estate = estate_qizilbash loyalty = 30 } }
601
+ }
602
+ modifier = {
603
+ discipline = -0.025
604
+ }
605
+ }
606
+ modifier_by_land_ownership = {
607
+ }
608
+ #conditional_modifier = {
609
+ # trigger = { }
610
+ # modifier = { }
611
+ #}
612
+ ai_will_do = {
613
+ factor = 10
614
+ }
615
+ }
616
+
617
+ estate_qizilbash_tofangchi_regiment = {
618
+ icon = privilege_infantry
619
+ loyalty = 0.05
620
+ influence = 0.1
621
+ max_absolutism = 0
622
+ #conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
623
+ is_valid = {
624
+ has_unlocked_estate_privilege = {
625
+ estate_privilege = estate_qizilbash_tofangchi_regiment
626
+ }
627
+ }
628
+ can_select = {
629
+ NOT = { has_estate_privilege = estate_nobles_tofangchi_regiment }
630
+ NOT = { has_estate_privilege = estate_ghulams_tofangchi_regiment }
631
+ }
632
+ on_granted = {
633
+
634
+ }
635
+ on_revoked = {
636
+
637
+ }
638
+ benefits = {
639
+ infantry_power = 0.1
640
+ }
641
+ ai_will_do = {
642
+ factor = 100
643
+ }
644
+ }
645
+
646
+ estate_qizilbash_tupchi_artillery_corps = {
647
+ icon = privilege_artillery
648
+ loyalty = 0.05
649
+ influence = 0.05
650
+ max_absolutism = -5
651
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
652
+ is_valid = {
653
+ has_unlocked_estate_privilege = {
654
+ estate_privilege = estate_qizilbash_tupchi_artillery_corps
655
+ }
656
+ }
657
+ can_select = {
658
+ NOT = { has_estate_privilege = estate_nobles_tupchi_artillery_corps }
659
+ NOT = { has_estate_privilege = estate_ghulams_tupchi_artillery_corps }
660
+ }
661
+ on_granted = {
662
+ custom_tooltip = tupchi_artillery_corps_tt
663
+ }
664
+ on_revoked = {
665
+
666
+ }
667
+ conditional_modifier = {
668
+ trigger = {
669
+ OR = {
670
+ any_ally = {
671
+ OR = {
672
+ technology_group = western
673
+ technology_group = eastern
674
+ capital_scope = { continent = europe }
675
+ }
676
+ }
677
+ any_subject_country = {
678
+ OR = {
679
+ technology_group = western
680
+ technology_group = eastern
681
+ capital_scope = { continent = europe }
682
+ }
683
+ }
684
+ }
685
+ }
686
+ modifier = {
687
+ artillery_cost = -0.33
688
+ }
689
+ }
690
+ benefits = {
691
+ artillery_power = 0.05
692
+ }
693
+ ai_will_do = {
694
+ factor = 100
695
+ }
696
+ }
697
+
698
+ estate_qizilbash_qurchi_service = {
699
+ icon = privilege_legitimacy
700
+ loyalty = 0.10
701
+ max_absolutism = 0
702
+ #conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
703
+ is_valid = {
704
+ has_unlocked_estate_privilege = {
705
+ estate_privilege = estate_qizilbash_qurchi_service
706
+ }
707
+ }
708
+ can_select = {
709
+ NOT = { has_estate_privilege = estate_nobles_qurchi_service }
710
+ NOT = { has_estate_privilege = estate_ghulams_qurchi_service }
711
+ }
712
+ on_granted = {
713
+ scaling_with_loyalty_privilege_tooltip = {
714
+ estate_privilege = estate_qizilbash_qurchi_service
715
+ }
716
+ }
717
+ on_revoked = {
718
+ scaling_with_loyalty_privilege_tooltip = {
719
+ estate_privilege = estate_qizilbash_qurchi_service
720
+ }
721
+ }
722
+ benefits = {
723
+ morale_damage_received = -0.1
724
+ }
725
+ loyalty_scaled_conditional_modifier = {
726
+ trigger = { always = yes }
727
+ modifier = {
728
+ monarch_lifespan = 0.5
729
+ nobles_influence_modifier = -0.5
730
+ ghulams_influence_modifier = -0.5
731
+ qizilbash_influence_modifier = 0.5
732
+ }
733
+ }
734
+ ai_will_do = {
735
+ factor = 100
736
+ }
737
+ }
738
+
739
+ estate_qizilbash_mamlukian_administration = {
740
+ icon = privilege_land_rights
741
+ loyalty = 0.05
742
+ influence = 0.10
743
+ max_absolutism = 0
744
+ #conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
745
+ is_valid = {
746
+ has_unlocked_estate_privilege = {
747
+ estate_privilege = estate_qizilbash_mamlukian_administration
748
+ }
749
+ }
750
+ can_select = {
751
+ NOT = { has_estate_privilege = estate_nobles_mamlukian_administration }
752
+ NOT = { has_estate_privilege = estate_ghulams_mamlukian_administration }
753
+ }
754
+ benefits = {
755
+ governing_capacity_modifier = 0.1
756
+ qizilbash_privilege_slots = 1
757
+ }
758
+ on_granted = {
759
+ custom_tooltip = mamlukian_administration_modifier_gt
760
+ tooltip = {
761
+ add_province_modifier = {
762
+ name = mamlukian_administration_modifier
763
+ duration = -1
764
+ }
765
+ }
766
+ }
767
+ on_revoked = {
768
+ custom_tooltip = mamlukian_administration_modifier_rt
769
+ }
770
+ on_invalid = {
771
+ custom_tooltip = mamlukian_administration_modifier_rt
772
+ }
773
+ on_granted_province = {
774
+ if = {
775
+ limit = { region = egypt_region }
776
+ add_province_modifier = {
777
+ name = mamlukian_administration_modifier
778
+ duration = -1
779
+ }
780
+ }
781
+ }
782
+ on_revoked_province = {
783
+ remove_province_modifier = mamlukian_administration_modifier
784
+ }
785
+ on_invalid_province = {
786
+ remove_province_modifier = mamlukian_administration_modifier
787
+ }
788
+ ai_will_do = {
789
+ factor = 100
790
+ }
791
+ }
common/estate_privileges/11_ghulams_privileges.txt ADDED
@@ -0,0 +1,759 @@
1
+ estate_ghulams_land_rights = {
2
+ icon = privilege_grant_autonomy
3
+ land_share = 5
4
+ max_absolutism = -5
5
+ loyalty = 0.05
6
+ influence = 0.05
7
+ can_select = {
8
+ not = { has_estate_privilege = estate_nobles_land_rights }
9
+ not = { has_estate_privilege = estate_qizilbash_land_rights }
10
+ }
11
+ on_granted = {
12
+ }
13
+ penalties = {
14
+ }
15
+ benefits = {
16
+ governing_capacity = 100
17
+ }
18
+ ai_will_do = {
19
+ factor = 5
20
+ modifier = {
21
+ factor = 1.4
22
+ num_of_territories = 5
23
+ }
24
+ modifier = {
25
+ factor = 1.5
26
+ num_of_territories = 10
27
+ }
28
+ modifier = {
29
+ factor = 1.5
30
+ num_of_territories = 15
31
+ }
32
+ modifier = {
33
+ factor = 0
34
+ OR = {
35
+ NOT = { crown_land_share = 25 }
36
+ estate_influence = {
37
+ estate = estate_ghulams
38
+ influence = 75
39
+ }
40
+ }
41
+ NOT = { has_estate_privilege = estate_ghulams_land_rights }
42
+ }
43
+ modifier = {
44
+ factor = 3
45
+ OR = {
46
+ AND = {
47
+ governing_capacity_percentage = 0.9
48
+ NOT = { has_estate_privilege = estate_ghulams_land_rights }
49
+ }
50
+ #The trigger below should make sure that the AI actually keeps this privilege when enacting it early game
51
+ AND = {
52
+ governing_capacity_percentage = 0.6
53
+ has_estate_privilege = estate_ghulams_land_rights
54
+ }
55
+ }
56
+ }
57
+ modifier = {
58
+ factor = 0
59
+ NOT = { governing_capacity_percentage = 0.5 }
60
+ }
61
+ modifier = {
62
+ factor = 0.8
63
+ OR = {
64
+ NOT = { crown_land_share = 40 }
65
+ AND = {
66
+ is_absolutism_active = yes
67
+ NOT = { crown_land_share = 60 }
68
+ }
69
+ }
70
+ NOT = { has_estate_privilege = estate_ghulams_land_rights }
71
+ }
72
+ modifier = {
73
+ factor = 0.8
74
+ OR = {
75
+ NOT = { crown_land_share = 30 }
76
+ AND = {
77
+ is_absolutism_active = yes
78
+ NOT = { crown_land_share = 50 }
79
+ }
80
+ }
81
+ NOT = { has_estate_privilege = estate_ghulams_land_rights }
82
+ }
83
+ modifier = {
84
+ factor = 0.8
85
+ is_absolutism_active = yes
86
+ }
87
+ modifier = {
88
+ factor = 2
89
+ governing_capacity_percentage = 0.9
90
+ }
91
+ modifier = {
92
+ factor = 3
93
+ governing_capacity_percentage = 1
94
+ }
95
+ modifier = {
96
+ factor = 10
97
+ governing_capacity_percentage = 1.2
98
+ }
99
+ modifier = {
100
+ factor = 8
101
+ NOT = { adm_tech = 12 }
102
+ governing_capacity_percentage = 0.8
103
+ }
104
+ modifier = {
105
+ factor = 5
106
+ NOT = { adm_tech = 12 }
107
+ NOT = { government_rank = 1 }
108
+ governing_capacity_percentage = 0.65
109
+ }
110
+ #Tag specific convincement - after tech 17 (+250 governing capacity) it should not play a role anymore
111
+ modifier = {
112
+ factor = 1.25
113
+ tag = MOS
114
+ NOT = { adm_tech = 17 }
115
+ }
116
+ modifier = {
117
+ factor = 1.25
118
+ tag = RUS
119
+ NOT = { adm_tech = 17 }
120
+ }
121
+ modifier = {
122
+ factor = 1.25
123
+ tag = TUR
124
+ NOT = { adm_tech = 17 }
125
+ }
126
+ modifier = {
127
+ factor = 1.25
128
+ tag = MNG
129
+ NOT = { adm_tech = 17 }
130
+ }
131
+ modifier = {
132
+ factor = 1.25
133
+ tag = FRA
134
+ NOT = { adm_tech = 17 }
135
+ }
136
+ modifier = {
137
+ factor = 1.25
138
+ tag = SPA
139
+ NOT = { adm_tech = 17 }
140
+ }
141
+ modifier = {
142
+ factor = 1.25
143
+ tag = PLC
144
+ NOT = { adm_tech = 17 }
145
+ }
146
+ #Has already a similar privilege active
147
+ modifier = {
148
+ factor = 0.75
149
+ has_estate_privilege = estate_brahmins_land_rights
150
+ }
151
+ modifier = {
152
+ factor = 0.75
153
+ has_estate_privilege = estate_nobles_land_rights
154
+ }
155
+ modifier = {
156
+ factor = 0.75
157
+ has_estate_privilege = estate_church_land_rights
158
+ }
159
+ modifier = {
160
+ factor = 0.75
161
+ has_estate_privilege = estate_burghers_land_rights
162
+ }
163
+ modifier = {
164
+ factor = 0.75
165
+ has_estate_privilege = estate_vaisyas_land_rights
166
+ }
167
+ modifier = {
168
+ factor = 0.75
169
+ has_estate_privilege = estate_cossacks_land_rights
170
+ }
171
+ modifier = {
172
+ factor = 0.75
173
+ has_estate_privilege = estate_nomadic_tribes_land_rights
174
+ }
175
+ modifier = {
176
+ factor = 0.75
177
+ has_estate_privilege = estate_dhimmi_land_rights
178
+ }
179
+ modifier = {
180
+ factor = 0.75
181
+ has_estate_privilege = estate_jains_land_rights
182
+ }
183
+ modifier = {
184
+ factor = 0.75
185
+ has_estate_privilege = estate_rajput_land_rights
186
+ }
187
+ modifier = {
188
+ factor = 0.75
189
+ has_estate_privilege = estate_maratha_land_rights
190
+ }
191
+ }
192
+ }
193
+
194
+ estate_ghulams_military = {
195
+ icon = privilege_military_power
196
+ land_share = 10
197
+ max_absolutism = -5
198
+ loyalty = -0.05
199
+ is_valid = {
200
+ }
201
+ can_select = {
202
+ can_select_monarch_power_privilege = {
203
+ estate = estate_ghulams
204
+ type = mil
205
+ }
206
+ }
207
+ on_granted = {
208
+ }
209
+ penalties = {
210
+ }
211
+ benefits = {
212
+ country_military_power = 1
213
+ }
214
+ ai_will_do = {
215
+ factor = 13
216
+ modifier = {
217
+ factor = 0
218
+ OR = {
219
+ NOT = { crown_land_share = 30 }
220
+ estate_influence = {
221
+ estate = estate_ghulams
222
+ influence = 75
223
+ }
224
+ }
225
+ NOT = { has_estate_privilege = estate_ghulams_military }
226
+ }
227
+ modifier = {
228
+ factor = 0.8
229
+ OR = {
230
+ NOT = { crown_land_share = 35 }
231
+ AND = {
232
+ is_absolutism_active = yes
233
+ NOT = { crown_land_share = 55 }
234
+ }
235
+ }
236
+ NOT = { has_estate_privilege = estate_ghulams_military }
237
+ }
238
+ modifier = {
239
+ factor = 0.8
240
+ is_absolutism_active = yes
241
+ }
242
+ modifier = {
243
+ factor = 1.25
244
+ NOT = { mil = 2 }
245
+ }
246
+ modifier = {
247
+ factor = 0.8
248
+ mil = 5
249
+ }
250
+ }
251
+ }
252
+
253
+ estate_ghulams_advisor = {
254
+ icon = privilege_limited_war_support
255
+ max_absolutism = -5
256
+ influence = 0.1
257
+ is_valid = {
258
+ NOT = { religion_group = muslim }
259
+ }
260
+ loyalty = 0.05
261
+ penalties = {
262
+ stability_cost_modifier = 0.1
263
+ }
264
+ can_select = {
265
+ NOT = { has_estate_privilege = estate_nobles_advisors }
266
+ NOT = { has_estate_privilege = estate_rajput_advisor }
267
+ NOT = { has_estate_privilege = estate_maratha_advisor }
268
+ }
269
+ benefits = {
270
+ mil_advisor_cost = -0.15
271
+ }
272
+ ai_will_do = {
273
+ factor = 9
274
+ modifier = {
275
+ factor = 0.5
276
+ is_absolutism_active = yes
277
+ }
278
+ modifier = {
279
+ factor = 3
280
+ uses_meritocracy = yes
281
+ }
282
+ }
283
+ }
284
+
285
+ estate_ghulams_loyalty_privilege = {
286
+ icon = privilege_royal_authority
287
+ max_absolutism = -10
288
+ loyalty = 0.15
289
+ influence = 0.1
290
+ penalties = {
291
+ }
292
+ benefits = {
293
+ }
294
+ ai_will_do = {
295
+ factor = 10
296
+ modifier = {
297
+ factor = 0
298
+ is_absolutism_active = yes
299
+ }
300
+ }
301
+ }
302
+
303
+ estate_ghulams_levies = {
304
+ icon = privilege_recruit_from_marathi
305
+ max_absolutism = -5
306
+ influence = 0.1
307
+ loyalty = 0.05
308
+ is_valid = {
309
+ religion_group = muslim
310
+ }
311
+ on_granted = {
312
+ custom_tooltip = estate_ghulams_levies_effect_tooltip
313
+ }
314
+ on_granted_province = {
315
+ if = {
316
+ limit = {
317
+ OR = {
318
+ religion_group = christian
319
+ religion_group = zoroastrian_group
320
+ }
321
+ }
322
+ add_province_modifier = {
323
+ name = estate_ghulams_levies_mod
324
+ duration = -1
325
+ }
326
+ }
327
+ else_if = {
328
+ limit = {
329
+ has_province_modifier = estate_ghulams_levies_mod
330
+ }
331
+ remove_province_modifier = estate_ghulams_levies_mod
332
+ }
333
+ }
334
+ on_revoked = {
335
+ custom_tooltip = estate_ghulams_levies_revoke_tooltip
336
+ }
337
+ on_revoked_province = {
338
+ if = {
339
+ limit = {
340
+ has_province_modifier = estate_ghulams_levies_mod
341
+ }
342
+ remove_province_modifier = estate_ghulams_levies_mod
343
+ }
344
+ }
345
+ on_invalid = {
346
+ custom_tooltip = estate_ghulams_levies_revoke_tooltip
347
+ }
348
+ on_invalid_province = {
349
+ if = {
350
+ limit = {
351
+ has_province_modifier = estate_ghulams_levies_mod
352
+ }
353
+ remove_province_modifier = estate_ghulams_levies_mod
354
+ }
355
+ }
356
+ penalties = {
357
+ nobles_loyalty_modifier = -0.05
358
+ }
359
+ benefits = {
360
+ }
361
+ ai_will_do = {
362
+ factor = 0
363
+ }
364
+ }
365
+
366
+ estate_ghulams_levies_non_muslims = {
367
+ icon = privilege_recruit_from_marathi
368
+ max_absolutism = -5
369
+ influence = 0.1
370
+ loyalty = 0.05
371
+ is_valid = {
372
+ NOT = { religion_group = muslim }
373
+ }
374
+ penalties = {
375
+ nobles_loyalty_modifier = -0.05
376
+ }
377
+ benefits = {
378
+ manpower_in_accepted_culture_provinces = 0.25
379
+ manpower_in_culture_group_provinces = 0.15
380
+ manpower_in_own_culture_provinces = 0.1
381
+ }
382
+ ai_will_do = {
383
+ factor = 0
384
+ }
385
+ }
386
+
387
+ estate_ghulams_special_privilege = {
388
+ icon = privilege_promote_maratha_nobility
389
+ max_absolutism = -5
390
+ loyalty = 0.1
391
+ influence = 0.05
392
+ land_share = 5
393
+ modifier_by_land_ownership = {
394
+ infantry_power = 0.2
395
+ qizilbash_loyalty_modifier = -0.5
396
+ nobles_loyalty_modifier = -0.5
397
+ }
398
+ penalties = {
399
+ }
400
+ benefits = {
401
+ }
402
+ mechanics = {
403
+ exempt_from_seize_land
404
+ }
405
+ ai_will_do = {
406
+ factor = 10
407
+ modifier = {
408
+ factor = 0
409
+ is_absolutism_active = yes
410
+ }
411
+ }
412
+ }
413
+
414
+ estate_ghulams_government = {
415
+ icon = privilege_promote_maratha_nobility
416
+ max_absolutism = -10
417
+ cooldown_years = 20
418
+ loyalty = 0.05
419
+ influence = 0.1
420
+ modifier_by_land_ownership = {
421
+ }
422
+ on_granted = {
423
+ scaling_with_influence_privilege_tooltip = {
424
+ estate_privilege = estate_ghulams_government
425
+ }
426
+ }
427
+ penalties = {
428
+ global_autonomy = 0.05
429
+ }
430
+ benefits = {
431
+
432
+ }
433
+ mechanics = {
434
+ }
435
+ influence_scaled_conditional_modifier = {
436
+ trigger = {
437
+ estate_loyalty = {
438
+ estate = estate_ghulams
439
+ loyalty = 60
440
+ }
441
+ }
442
+ modifier = {
443
+ global_unrest = -3
444
+ harsh_treatment_cost = -0.5
445
+ global_rebel_suppression_efficiency = 0.5
446
+ }
447
+ }
448
+ influence_scaled_conditional_modifier = {
449
+ trigger = {
450
+ estate_loyalty = {
451
+ estate = estate_ghulams
452
+ loyalty = 30
453
+ }
454
+ NOT = {
455
+ estate_loyalty = {
456
+ estate = estate_ghulams
457
+ loyalty = 60
458
+ }
459
+ }
460
+ }
461
+ modifier = {
462
+ global_unrest = -2
463
+ global_rebel_suppression_efficiency = 0.33
464
+ }
465
+ }
466
+ influence_scaled_conditional_modifier = {
467
+ trigger = {
468
+ NOT = {
469
+ estate_loyalty = {
470
+ estate = estate_ghulams
471
+ loyalty = 30
472
+ }
473
+ }
474
+ }
475
+ modifier = {
476
+ global_unrest = 2
477
+ global_rebel_suppression_efficiency = -0.5
478
+ }
479
+ }
480
+ ai_will_do = {
481
+ factor = 0
482
+ modifier = {
483
+ factor = 0
484
+ is_absolutism_active = yes
485
+ }
486
+ }
487
+ }
488
+
489
+ estate_ghulams_ensure_caucasian_sovereignty = {
490
+ icon = privilege_promote_maratha_nobility
491
+ max_absolutism = -5
492
+ loyalty = 0.1
493
+ influence = 0.05
494
+ is_valid = {
495
+ any_owned_province = {
496
+ culture_group = caucasian
497
+ }
498
+ }
499
+ can_select = {
500
+ any_owned_province = {
501
+ culture_group = caucasian
502
+ }
503
+ }
504
+ modifier_by_land_ownership = {
505
+ }
506
+ penalties = {
507
+ }
508
+ benefits = {
509
+
510
+ }
511
+ on_granted = {
512
+ custom_tooltip = estate_ghulams_ensure_caucasian_sovereignty_gt
513
+ enable_estate_action = {
514
+ estate_action = PROMOTE_CAUCASIAN_TROOPS
515
+ }
516
+ }
517
+ on_revoked = {
518
+ custom_tooltip = estate_ghulams_ensure_caucasian_sovereignty_rt
519
+ disable_estate_action = {
520
+ estate_action = PROMOTE_CAUCASIAN_TROOPS
521
+ }
522
+ }
523
+ on_invalid = {
524
+ disable_estate_action = {
525
+ estate_action = PROMOTE_CAUCASIAN_TROOPS
526
+ }
527
+ }
528
+ on_granted_province = {
529
+ if = {
530
+ limit = { culture_group = caucasian }
531
+ add_province_modifier = {
532
+ name = estate_ghulams_ensure_caucasian_sovereignty_mod
533
+ duration = -1
534
+ }
535
+ }
536
+ }
537
+ on_revoked_province = {
538
+ remove_province_modifier = estate_ghulams_ensure_caucasian_sovereignty_mod
539
+ }
540
+ on_invalid_province = {
541
+ remove_province_modifier = estate_ghulams_ensure_caucasian_sovereignty_mod
542
+ }
543
+ mechanics = {
544
+ }
545
+ ai_will_do = {
546
+ factor = 0
547
+ modifier = {
548
+ factor = 0
549
+ is_absolutism_active = yes
550
+ }
551
+ }
552
+ }
553
+
554
+ #Unlockable
555
+ estate_ghulams_defensive_policy = {
556
+ icon = privilege_fort
557
+ loyalty = 0.05
558
+ influence = 0.1
559
+ max_absolutism = 0
560
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
561
+ is_valid = {
562
+ has_unlocked_estate_privilege = {
563
+ estate_privilege = estate_ghulams_defensive_policy
564
+ }
565
+ }
566
+ can_select = {
567
+ NOT = { has_estate_privilege = estate_nobles_defensive_policy }
568
+ NOT = { has_estate_privilege = estate_qizilbash_defensive_policy }
569
+ }
570
+ on_granted = {
571
+
572
+ }
573
+ on_revoked = {
574
+
575
+ }
576
+ benefits = {
577
+ garrison_size = 0.25
578
+ fort_maintenance_modifier = -0.33
579
+ }
580
+ ai_will_do = {
581
+ factor = 0
582
+ }
583
+ }
584
+
585
+ estate_ghulams_tofangchi_regiment = {
586
+ icon = privilege_infantry
587
+ loyalty = 0.05
588
+ influence = 0.1
589
+ max_absolutism = 0
590
+ #conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
591
+ is_valid = {
592
+ has_unlocked_estate_privilege = {
593
+ estate_privilege = estate_ghulams_tofangchi_regiment
594
+ }
595
+ }
596
+ can_select = {
597
+ NOT = { has_estate_privilege = estate_nobles_tofangchi_regiment }
598
+ NOT = { has_estate_privilege = estate_qizilbash_tofangchi_regiment }
599
+ }
600
+ on_granted = {
601
+
602
+ }
603
+ on_revoked = {
604
+
605
+ }
606
+ benefits = {
607
+ infantry_power = 0.1
608
+ }
609
+ ai_will_do = {
610
+ factor = 100
611
+ }
612
+ }
613
+
614
+ estate_ghulams_tupchi_artillery_corps = {
615
+ icon = privilege_artillery
616
+ loyalty = 0.05
617
+ influence = 0.05
618
+ max_absolutism = -5
619
+ conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
620
+ is_valid = {
621
+ has_unlocked_estate_privilege = {
622
+ estate_privilege = estate_ghulams_tupchi_artillery_corps
623
+ }
624
+ }
625
+ can_select = {
626
+ NOT = { has_estate_privilege = estate_nobles_tupchi_artillery_corps }
627
+ NOT = { has_estate_privilege = estate_qizilbash_tupchi_artillery_corps }
628
+ }
629
+ on_granted = {
630
+ custom_tooltip = tupchi_artillery_corps_tt
631
+ }
632
+ on_revoked = {
633
+
634
+ }
635
+ conditional_modifier = {
636
+ trigger = {
637
+ OR = {
638
+ any_ally = {
639
+ OR = {
640
+ technology_group = western
641
+ technology_group = eastern
642
+ capital_scope = { continent = europe }
643
+ }
644
+ }
645
+ any_subject_country = {
646
+ OR = {
647
+ technology_group = western
648
+ technology_group = eastern
649
+ capital_scope = { continent = europe }
650
+ }
651
+ }
652
+ }
653
+ }
654
+ modifier = {
655
+ artillery_cost = -0.33
656
+ }
657
+ }
658
+ benefits = {
659
+ artillery_power = 0.05
660
+ }
661
+ ai_will_do = {
662
+ factor = 100
663
+ }
664
+ }
665
+
666
+ estate_ghulams_qurchi_service = {
667
+ icon = privilege_legitimacy
668
+ loyalty = 0.10
669
+ max_absolutism = 0
670
+ #conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
671
+ is_valid = {
672
+ has_unlocked_estate_privilege = {
673
+ estate_privilege = estate_ghulams_qurchi_service
674
+ }
675
+ }
676
+ can_select = {
677
+ NOT = { has_estate_privilege = estate_nobles_qurchi_service }
678
+ NOT = { has_estate_privilege = estate_qizilbash_qurchi_service }
679
+ }
680
+ on_granted = {
681
+ scaling_with_loyalty_privilege_tooltip = {
682
+ estate_privilege = estate_ghulams_qurchi_service
683
+ }
684
+ }
685
+ on_revoked = {
686
+ scaling_with_loyalty_privilege_tooltip = {
687
+ estate_privilege = estate_ghulams_qurchi_service
688
+ }
689
+ }
690
+ benefits = {
691
+ morale_damage_received = -0.1
692
+ }
693
+ loyalty_scaled_conditional_modifier = {
694
+ trigger = { always = yes }
695
+ modifier = {
696
+ monarch_lifespan = 0.5
697
+ nobles_influence_modifier = -0.5
698
+ qizilbash_influence_modifier = -0.5
699
+ ghulams_influence_modifier = 0.5
700
+ }
701
+ }
702
+ ai_will_do = {
703
+ factor = 100
704
+ }
705
+ }
706
+
707
+ estate_ghulams_mamlukian_administration = {
708
+ icon = privilege_land_rights
709
+ loyalty = 0.05
710
+ influence = 0.10
711
+ max_absolutism = 0
712
+ #conditional_modifier = { trigger = { has_absolutism_reduction_for_estate_privileges = yes } modifier = { max_absolutism = 1 } }
713
+ is_valid = {
714
+ has_unlocked_estate_privilege = {
715
+ estate_privilege = estate_ghulams_mamlukian_administration
716
+ }
717
+ }
718
+ can_select = {
719
+ NOT = { has_estate_privilege = estate_nobles_mamlukian_administration }
720
+ NOT = { has_estate_privilege = estate_qizilbash_mamlukian_administration }
721
+ }
722
+ benefits = {
723
+ governing_capacity_modifier = 0.1
724
+ ghulams_privilege_slots = 1
725
+ }
726
+ on_granted = {
727
+ custom_tooltip = mamlukian_administration_modifier_gt
728
+ tooltip = {
729
+ add_province_modifier = {
730
+ name = mamlukian_administration_modifier
731
+ duration = -1
732
+ }
733
+ }
734
+ }
735
+ on_revoked = {
736
+ custom_tooltip = mamlukian_administration_modifier_rt
737
+ }
738
+ on_invalid = {
739
+ custom_tooltip = mamlukian_administration_modifier_rt
740
+ }
741
+ on_granted_province = {
742
+ if = {
743
+ limit = { region = egypt_region }
744
+ add_province_modifier = {
745
+ name = mamlukian_administration_modifier
746
+ duration = -1
747
+ }
748
+ }
749
+ }
750
+ on_revoked_province = {
751
+ remove_province_modifier = mamlukian_administration_modifier
752
+ }
753
+ on_invalid_province = {
754
+ remove_province_modifier = mamlukian_administration_modifier
755
+ }
756
+ ai_will_do = {
757
+ factor = 100
758
+ }
759
+ }