|
@@ -1395,6 +1395,18 @@ set_great_project_tier_1 = {
|
|
|
1395
1395
|
tier = 1
|
|
1396
1396
|
}
|
|
1397
1397
|
}
|
|
1398
|
+
else = {
|
|
1399
|
+
random_list = {
|
|
1400
|
+
1 = { add_base_tax = 2 }
|
|
1401
|
+
1 = { add_base_production = 2 }
|
|
1402
|
+
1 = { add_base_manpower = 2 }
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
else = {
|
|
1407
|
+
add_base_tax = 1
|
|
1408
|
+
add_base_production = 1
|
|
1409
|
+
add_base_manpower = 1
|
|
1398
1410
|
}
|
|
1399
1411
|
}
|
|
1400
1412
|
|
|
@@ -1883,15 +1895,6 @@ mal_determine_offer_acceptance = {
|
|
|
1883
1895
|
}
|
|
1884
1896
|
}
|
|
1885
1897
|
|
|
1886
|
-
#Country effect
|
|
1887
|
-
add_legitimacy_equivalent = {
|
|
1888
|
-
add_legitimacy = $amount$
|
|
1889
|
-
add_horde_unity = $amount$
|
|
1890
|
-
add_devotion = $amount$
|
|
1891
|
-
add_meritocracy = $amount$
|
|
1892
|
-
add_republican_tradition = $republican_tradition$ #This one is special because of how much republics scale with it
|
|
1893
|
-
}
|
|
1894
|
-
|
|
1895
1898
|
#Country effect
|
|
1896
1899
|
##########################################################
|
|
1897
1900
|
# Supports following privileges
|
|
@@ -1913,6 +1916,15 @@ add_legitimacy_equivalent = {
|
|
|
1913
1916
|
# estate_janissary_ottoman_vanguards
|
|
1914
1917
|
# estate_nobles_english_copyhold_tenure
|
|
1915
1918
|
# estate_burghers_autonomous_trade_companies
|
|
1919
|
+
# estate_nobles_defensive_policy
|
|
1920
|
+
# estate_qizilbash_defensive_policy
|
|
1921
|
+
# estate_ghulams_defensive_policy
|
|
1922
|
+
# estate_nobles_tofangchi_regiment
|
|
1923
|
+
# estate_qizilbash_tofangchi_regiment
|
|
1924
|
+
# estate_ghulams_tofangchi_regiment
|
|
1925
|
+
# estate_nobles_tupchi_artillery_corps
|
|
1926
|
+
# estate_qizilbash_tupchi_artillery_corps
|
|
1927
|
+
# estate_ghulams_tupchi_artillery_corps
|
|
1916
1928
|
##########################################################
|
|
1917
1929
|
# When adding new privileges then make sure that a unlock_privilege_$estate_privilege$_tt is defined in the localization
|
|
1918
1930
|
# For checking if an estate privilege is unlocked already, use has_unlocked_estate_privilege = { estate_privilege = $estate_privilege$ }
|
|
@@ -1922,6 +1934,22 @@ unlock_estate_privilege = {
|
|
|
1922
1934
|
hidden_effect = {
|
|
1923
1935
|
set_country_flag = unlocked_privilege_$estate_privilege$
|
|
1924
1936
|
}
|
|
1937
|
+
[[modifier_tooltip]
|
|
1938
|
+
custom_tooltip = unlock_estate_privilege_modifier_tooltip_tt
|
|
1939
|
+
tooltip = {
|
|
1940
|
+
add_country_modifier = {
|
|
1941
|
+
name = $modifier_tooltip$
|
|
1942
|
+
duration = -1
|
|
1943
|
+
desc = UNTIL_PRIVILEGE_REVOKED
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
]
|
|
1947
|
+
[[effect_tooltip]
|
|
1948
|
+
custom_tooltip = unlock_estate_privilege_effect_tooltip_tt
|
|
1949
|
+
tooltip = {
|
|
1950
|
+
$effect_tooltip$
|
|
1951
|
+
}
|
|
1952
|
+
]
|
|
1925
1953
|
}
|
|
1926
1954
|
|
|
1927
1955
|
#Country effect
|
|
@@ -1960,11 +1988,24 @@ unlock_merc_company = {
|
|
|
1960
1988
|
]
|
|
1961
1989
|
}
|
|
1962
1990
|
|
|
1991
|
+
#Same as above, but this time it makes a company unavailable
|
|
1992
|
+
#Does not support any merc company yet
|
|
1993
|
+
#lock_merc_company = {
|
|
1994
|
+
# custom_tooltip = lock_$merc_company$_tt
|
|
1995
|
+
# hidden_effect = {
|
|
1996
|
+
# clr_country_flag = unlocked_$merc_company$
|
|
1997
|
+
# }
|
|
1998
|
+
#}
|
|
1999
|
+
|
|
1963
2000
|
#Country effect
|
|
1964
2001
|
##########################################################
|
|
1965
2002
|
# Supports following church aspects
|
|
1966
2003
|
# anglican_aspect
|
|
1967
2004
|
# spread_the_book_of_common_prayer
|
|
2005
|
+
##########################################################
|
|
2006
|
+
# When adding a new unlockable Church Aspect then make sure that a unlock_church_aspect_$church_aspect$_tt is defined in the localization
|
|
2007
|
+
# For checking if a Church Aspect is unlocked already, use has_unlocked_church_aspect = { church_aspect = $church_aspect$ }
|
|
2008
|
+
# For localization write the following: "Unlock the Protestant church aspect '§Y<Church Aspect>§!'."
|
|
1968
2009
|
unlock_church_aspect = {
|
|
1969
2010
|
custom_tooltip = unlock_church_aspect_$church_aspect$_tt
|
|
1970
2011
|
hidden_effect = {
|
|
@@ -1972,15 +2013,6 @@ unlock_church_aspect = {
|
|
|
1972
2013
|
}
|
|
1973
2014
|
}
|
|
1974
2015
|
|
|
1975
|
-
#Same as above, but this time it makes a company unavailable
|
|
1976
|
-
#Does not support any merc company yet
|
|
1977
|
-
#lock_merc_company = {
|
|
1978
|
-
# custom_tooltip = lock_$merc_company$_tt
|
|
1979
|
-
# hidden_effect = {
|
|
1980
|
-
# clr_country_flag = unlocked_$merc_company$
|
|
1981
|
-
# }
|
|
1982
|
-
#}
|
|
1983
|
-
|
|
1984
2016
|
#Country effect
|
|
1985
2017
|
##########################################################
|
|
1986
2018
|
# Supports following government reforms
|
|
@@ -2023,6 +2055,9 @@ unlock_church_aspect = {
|
|
|
2023
2055
|
# peters_government_reform
|
|
2024
2056
|
# caliphate_reform
|
|
2025
2057
|
# caliphate_theocracy_reform
|
|
2058
|
+
# legacy_of_timur_reform
|
|
2059
|
+
# legacy_of_the_safavid_reform
|
|
2060
|
+
# divided_aristocracy_reform
|
|
2026
2061
|
##########################################################
|
|
2027
2062
|
# When adding a new government reform then make sure that a unlock_$government_reform$_tt is defined in the localization
|
|
2028
2063
|
# For checking if a government reform is unlocked already, use has_unlocked_government_reform = { government_reform = $government_reform$ }
|
|
@@ -2032,6 +2067,12 @@ unlock_government_reform = {
|
|
|
2032
2067
|
hidden_effect = {
|
|
2033
2068
|
set_country_flag = unlocked_$government_reform$
|
|
2034
2069
|
}
|
|
2070
|
+
[[tooltip]
|
|
2071
|
+
custom_tooltip = unlock_government_reform_tooltip
|
|
2072
|
+
tooltip = {
|
|
2073
|
+
add_government_reform = $government_reform$
|
|
2074
|
+
}
|
|
2075
|
+
]
|
|
2035
2076
|
}
|
|
2036
2077
|
|
|
2037
2078
|
#Country effect
|
|
@@ -2050,6 +2091,8 @@ unlock_government_reform = {
|
|
|
2050
2091
|
# estate_rajput
|
|
2051
2092
|
# estate_janissaries
|
|
2052
2093
|
# estate_eunuchs
|
|
2094
|
+
# estate_qizilbash
|
|
2095
|
+
# estate_ghulams
|
|
2053
2096
|
##########################################################
|
|
2054
2097
|
# When adding a new estate then make sure that a unlock_$estate$_tt is defined in the localization
|
|
2055
2098
|
# For checking if an Estate is unlocked already, use has_unlocked_estate = { estate = $estate$ }
|
|
@@ -2059,7 +2102,7 @@ unlock_government_reform = {
|
|
|
2059
2102
|
unlock_estate = {
|
|
2060
2103
|
custom_tooltip = unlock_$estate$_tt
|
|
2061
2104
|
hidden_effect = {
|
|
2062
|
-
set_country_flag = unlocked_$estate$
|
|
2105
|
+
set_country_flag = unlocked_$estate$_flag
|
|
2063
2106
|
}
|
|
2064
2107
|
[[show_conditions]
|
|
2065
2108
|
custom_tooltip = is_unavailable_$estate$
|
|
@@ -2082,6 +2125,8 @@ unlock_estate = {
|
|
|
2082
2125
|
# estate_rajput
|
|
2083
2126
|
# estate_janissaries
|
|
2084
2127
|
# estate_eunuchs
|
|
2128
|
+
# estate_qizilbash
|
|
2129
|
+
# estate_ghulams
|
|
2085
2130
|
##########################################################
|
|
2086
2131
|
# Unlocks the estate without any kind of condition
|
|
2087
2132
|
enable_estate_effect = {
|
|
@@ -2108,6 +2153,8 @@ enable_estate_effect = {
|
|
|
2108
2153
|
# estate_rajput
|
|
2109
2154
|
# estate_janissaries
|
|
2110
2155
|
# estate_eunuchs
|
|
2156
|
+
# estate_qizilbash
|
|
2157
|
+
# estate_ghulams
|
|
2111
2158
|
##########################################################
|
|
2112
2159
|
# Locks the estate even if they would
|
|
2113
2160
|
disable_estate_effect = {
|
|
@@ -2361,6 +2408,14 @@ disable_propogate_religion_effect = {
|
|
|
2361
2408
|
}
|
|
2362
2409
|
}
|
|
2363
2410
|
|
|
2411
|
+
#5, #10, #15, #20, #25, #30, #35, #40, #45
|
|
2412
|
+
set_trade_power_requirement_of_propogate_religion = {
|
|
2413
|
+
custom_tooltip = set_trade_power_requirement_of_propogate_religion_$value$_tt
|
|
2414
|
+
hidden_effect = {
|
|
2415
|
+
set_country_flag = $value$_trade_power_for_propogate_religion
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
|
|
2364
2419
|
#Country effect
|
|
2365
2420
|
enable_propogate_religion_immunity = {
|
|
2366
2421
|
custom_tooltip = enable_propogate_religion_immunity_tt
|
|
@@ -2393,6 +2448,44 @@ disable_propogate_religion_in_abrahamic_provinces = {
|
|
|
2393
2448
|
}
|
|
2394
2449
|
}
|
|
2395
2450
|
|
|
2451
|
+
#Country effect
|
|
2452
|
+
#Supports the following Trading Policies
|
|
2453
|
+
# maximize_profit
|
|
2454
|
+
# hostile_trading
|
|
2455
|
+
# improve_inland_routes
|
|
2456
|
+
# establish_communities
|
|
2457
|
+
# propagate_religion
|
|
2458
|
+
#Makes Trading Policy SELECTABLE
|
|
2459
|
+
unlock_trading_policy = {
|
|
2460
|
+
custom_tooltip = unlock_trading_policy_$policy$_tt
|
|
2461
|
+
hidden_effect = {
|
|
2462
|
+
clr_country_flag = locked_trading_policy_$policy$
|
|
2463
|
+
}
|
|
2464
|
+
}
|
|
2465
|
+
#Makes Trading Policy UNSELECTABLE
|
|
2466
|
+
lock_trading_policy = {
|
|
2467
|
+
custom_tooltip = lock_trading_policy_$policy$_tt
|
|
2468
|
+
hidden_effect = {
|
|
2469
|
+
set_country_flag = locked_trading_policy_$policy$
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
#Makes Trading Policy VISIBLE
|
|
2473
|
+
enable_trading_policy = {
|
|
2474
|
+
custom_tooltip = enable_trading_policy_$policy$_tt
|
|
2475
|
+
hidden_effect = {
|
|
2476
|
+
set_country_flag = enabled_trading_policy_$policy$
|
|
2477
|
+
clr_country_flag = disabled_trading_policy_$policy$
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2480
|
+
#Makes Trading Policy INVISIBLE
|
|
2481
|
+
disable_trading_policy = {
|
|
2482
|
+
custom_tooltip = disable_trading_policy_$policy$_tt
|
|
2483
|
+
hidden_effect = {
|
|
2484
|
+
set_country_flag = disabled_trading_policy_$policy$
|
|
2485
|
+
clr_country_flag = enabled_trading_policy_$policy$
|
|
2486
|
+
}
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2396
2489
|
#Country effect
|
|
2397
2490
|
set_prestige_to_zero = {
|
|
2398
2491
|
custom_tooltip = set_prestige_to_zero_tt
|
|
@@ -3879,74 +3972,6 @@ for = {
|
|
|
3879
3972
|
}
|
|
3880
3973
|
}
|
|
3881
3974
|
|
|
3882
|
-
change_ruler_stat = {
|
|
3883
|
-
tooltip = {
|
|
3884
|
-
change_$stat$ = $amount$
|
|
3885
|
-
}
|
|
3886
|
-
custom_tooltip = ADD_STAT_OR_POWER_$stat$
|
|
3887
|
-
hidden_effect = {
|
|
3888
|
-
set_variable = {
|
|
3889
|
-
which = ForLoopCounter
|
|
3890
|
-
value = $amount$
|
|
3891
|
-
}
|
|
3892
|
-
while = {
|
|
3893
|
-
limit = {
|
|
3894
|
-
check_variable = {
|
|
3895
|
-
which = ForLoopCounter
|
|
3896
|
-
value = 1
|
|
3897
|
-
}
|
|
3898
|
-
}
|
|
3899
|
-
if = {
|
|
3900
|
-
limit = {
|
|
3901
|
-
NOT = { $stat$ = 6 }
|
|
3902
|
-
}
|
|
3903
|
-
change_$stat$ = 1
|
|
3904
|
-
}
|
|
3905
|
-
else = {
|
|
3906
|
-
add_$stat$_power = 100
|
|
3907
|
-
}
|
|
3908
|
-
subtract_variable = {
|
|
3909
|
-
which = ForLoopCounter
|
|
3910
|
-
value = 1
|
|
3911
|
-
}
|
|
3912
|
-
}
|
|
3913
|
-
}
|
|
3914
|
-
}
|
|
3915
|
-
|
|
3916
|
-
change_heir_stat = {
|
|
3917
|
-
tooltip = {
|
|
3918
|
-
change_heir_$stat$ = $amount$
|
|
3919
|
-
}
|
|
3920
|
-
custom_tooltip = ADD_STAT_OR_POWER_$stat$
|
|
3921
|
-
hidden_effect = {
|
|
3922
|
-
set_variable = {
|
|
3923
|
-
which = ForLoopCounter
|
|
3924
|
-
value = $amount$
|
|
3925
|
-
}
|
|
3926
|
-
while = {
|
|
3927
|
-
limit = {
|
|
3928
|
-
check_variable = {
|
|
3929
|
-
which = ForLoopCounter
|
|
3930
|
-
value = 1
|
|
3931
|
-
}
|
|
3932
|
-
}
|
|
3933
|
-
if = {
|
|
3934
|
-
limit = {
|
|
3935
|
-
NOT = { heir_$stat$ = 6 }
|
|
3936
|
-
}
|
|
3937
|
-
change_heir_$stat$ = 1
|
|
3938
|
-
}
|
|
3939
|
-
else = {
|
|
3940
|
-
add_$stat$_power = 100
|
|
3941
|
-
}
|
|
3942
|
-
subtract_variable = {
|
|
3943
|
-
which = ForLoopCounter
|
|
3944
|
-
value = 1
|
|
3945
|
-
}
|
|
3946
|
-
}
|
|
3947
|
-
}
|
|
3948
|
-
}
|
|
3949
|
-
|
|
3950
3975
|
for_variable_amount = {
|
|
3951
3976
|
set_variable = {
|
|
3952
3977
|
which = ForLoopCounter
|
|
@@ -4050,14 +4075,34 @@ faction_in_power_effect = {
|
|
|
4050
4075
|
}
|
|
4051
4076
|
|
|
4052
4077
|
## adds the culture as an accepted culture or 100 dip power
|
|
4053
|
-
### add_accepted_culture_or_dip_power = { culture = <culture> }
|
|
4078
|
+
### add_accepted_culture_or_dip_power = { culture = <culture> (optional) free = yes (optional) dip_reward = yes (optional, use when you have this effect twice in a row) new_line = yes }
|
|
4054
4079
|
### the custom effect is only able to check for up to 10 culture slots
|
|
4055
4080
|
#Credits for that script goes to Stiopa
|
|
4081
|
+
# In case you want a culture to be a free slot then make sure that you have the following covered:
|
|
4082
|
+
# defined a free_slot_for_$culture$ = { num_accepted_culture = 1 }
|
|
4083
|
+
# Supports currently the following cultures:
|
|
4084
|
+
# armenian
|
|
4085
|
+
# georgian
|
|
4086
|
+
# turkish
|
|
4087
|
+
# al_iraqiya_arabic
|
|
4088
|
+
# al_suryah_arabic
|
|
4056
4089
|
add_accepted_culture_or_dip_power = {
|
|
4057
4090
|
tooltip = {
|
|
4058
4091
|
add_accepted_culture = $culture$
|
|
4059
4092
|
}
|
|
4060
|
-
|
|
4093
|
+
[[free]
|
|
4094
|
+
custom_tooltip = CULTURE_WILL_NOT_TAKE_SLOT_UNTIL_DEMOTED_TT
|
|
4095
|
+
hidden_effect = {
|
|
4096
|
+
add_country_modifier = {
|
|
4097
|
+
name = free_slot_for_$culture$
|
|
4098
|
+
duration = -1
|
|
4099
|
+
hidden = yes
|
|
4100
|
+
}
|
|
4101
|
+
}
|
|
4102
|
+
]
|
|
4103
|
+
[[dip_reward]
|
|
4104
|
+
custom_tooltip = ADD_ACCEPTED_CULTURE_TT # "If the §YCulture§! is already an §YAccepted Culture§!, or if there are not enough §YSlots§!, gain §G100§! Diplomatic Power instead."
|
|
4105
|
+
]
|
|
4061
4106
|
hidden_effect = {
|
|
4062
4107
|
if = {
|
|
4063
4108
|
limit = {
|
|
@@ -4262,6 +4307,9 @@ add_accepted_culture_or_dip_power = {
|
|
|
4262
4307
|
add_dip_power = 100
|
|
4263
4308
|
}
|
|
4264
4309
|
}
|
|
4310
|
+
[[new_line]
|
|
4311
|
+
custom_tooltip = " "
|
|
4312
|
+
]
|
|
4265
4313
|
}
|
|
4266
4314
|
|
|
4267
4315
|
#Use this scripted in the on_actions file, on_battle_won_country
|
|
@@ -4305,39 +4353,45 @@ fifty_percent_merc_army_professionalism_cost = {
|
|
|
4305
4353
|
|
|
4306
4354
|
#Province effect
|
|
4307
4355
|
set_center_level_3_center_of_trade = {
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
center_of_trade = 3
|
|
4311
|
-
}
|
|
4312
|
-
else = {
|
|
4356
|
+
custom_tooltip = set_center_level_3_center_of_trade_tt
|
|
4357
|
+
hidden_effect = {
|
|
4313
4358
|
if = {
|
|
4314
|
-
limit = { province_has_center_of_trade_of_level =
|
|
4315
|
-
|
|
4316
|
-
}
|
|
4317
|
-
else_if = {
|
|
4318
|
-
limit = { province_has_center_of_trade_of_level = 2 }
|
|
4319
|
-
add_base_production = 2
|
|
4320
|
-
add_center_of_trade_level = 1
|
|
4359
|
+
limit = { NOT = { province_has_center_of_trade_of_level = 1 } }
|
|
4360
|
+
center_of_trade = 3
|
|
4321
4361
|
}
|
|
4322
4362
|
else = {
|
|
4323
|
-
|
|
4363
|
+
if = {
|
|
4364
|
+
limit = { province_has_center_of_trade_of_level = 3 }
|
|
4365
|
+
add_base_production = 4
|
|
4366
|
+
}
|
|
4367
|
+
else_if = {
|
|
4368
|
+
limit = { province_has_center_of_trade_of_level = 2 }
|
|
4369
|
+
add_base_production = 2
|
|
4370
|
+
add_center_of_trade_level = 1
|
|
4371
|
+
}
|
|
4372
|
+
else = {
|
|
4373
|
+
add_center_of_trade_level = 2
|
|
4374
|
+
}
|
|
4324
4375
|
}
|
|
4325
4376
|
}
|
|
4326
4377
|
}
|
|
4327
4378
|
|
|
4328
4379
|
|
|
4329
4380
|
set_center_level_2_center_of_trade = {
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
center_of_trade = 2
|
|
4333
|
-
}
|
|
4334
|
-
else = {
|
|
4381
|
+
custom_tooltip = set_center_level_2_center_of_trade_tt
|
|
4382
|
+
hidden_effect = {
|
|
4335
4383
|
if = {
|
|
4336
|
-
limit = { province_has_center_of_trade_of_level =
|
|
4337
|
-
|
|
4384
|
+
limit = { NOT = { province_has_center_of_trade_of_level = 1 } }
|
|
4385
|
+
center_of_trade = 2
|
|
4338
4386
|
}
|
|
4339
4387
|
else = {
|
|
4340
|
-
|
|
4388
|
+
if = {
|
|
4389
|
+
limit = { province_has_center_of_trade_of_level = 2 }
|
|
4390
|
+
add_base_production = 2
|
|
4391
|
+
}
|
|
4392
|
+
else = {
|
|
4393
|
+
add_center_of_trade_level = 1
|
|
4394
|
+
}
|
|
4341
4395
|
}
|
|
4342
4396
|
}
|
|
4343
4397
|
}
|
|
@@ -8705,4 +8759,998 @@ clr_ruler_focus_modifiers = {
|
|
|
8705
8759
|
if = { limit = { has_country_modifier = civic_republicanism_focus_leaders } remove_country_modifier = civic_republicanism_focus_leaders }
|
|
8706
8760
|
if = { limit = { has_country_modifier = civic_republicanism_focus_quality } remove_country_modifier = civic_republicanism_focus_quality }
|
|
8707
8761
|
if = { limit = { has_country_modifier = civic_republicanism_focus_naval } remove_country_modifier = civic_republicanism_focus_naval }
|
|
8762
|
+
}
|
|
8763
|
+
|
|
8764
|
+
for_every_level_of_advisor_do = {
|
|
8765
|
+
if = {
|
|
8766
|
+
limit = {
|
|
8767
|
+
has_advisor_of_type_and_level = { type = $type$ level = 1 }
|
|
8768
|
+
}
|
|
8769
|
+
$effect$
|
|
8770
|
+
if = {
|
|
8771
|
+
limit = {
|
|
8772
|
+
has_advisor_of_type_and_level = { type = $type$ level = 2 }
|
|
8773
|
+
}
|
|
8774
|
+
$effect$
|
|
8775
|
+
if = {
|
|
8776
|
+
limit = {
|
|
8777
|
+
has_advisor_of_type_and_level = { type = $type$ level = 3 }
|
|
8778
|
+
}
|
|
8779
|
+
$effect$
|
|
8780
|
+
if = {
|
|
8781
|
+
limit = {
|
|
8782
|
+
has_advisor_of_type_and_level = { type = $type$ level = 4 }
|
|
8783
|
+
}
|
|
8784
|
+
$effect$
|
|
8785
|
+
if = {
|
|
8786
|
+
limit = {
|
|
8787
|
+
has_advisor_of_type_and_level = { type = $type$ level = 5 }
|
|
8788
|
+
}
|
|
8789
|
+
$effect$
|
|
8790
|
+
}
|
|
8791
|
+
}
|
|
8792
|
+
}
|
|
8793
|
+
}
|
|
8794
|
+
}
|
|
8795
|
+
}
|
|
8796
|
+
|
|
8797
|
+
complete_artwork_effect_architecture = {
|
|
8798
|
+
if = {
|
|
8799
|
+
limit = { any_owned_province = { has_building = temple } }
|
|
8800
|
+
random_owned_province = { limit = { has_building = temple } upgrade_building = { tax = yes } }
|
|
8801
|
+
}
|
|
8802
|
+
else = {
|
|
8803
|
+
random_owned_province = {
|
|
8804
|
+
limit = { NOT = { has_building = cathedral } religion = root culture = root }
|
|
8805
|
+
add_building = cathedral
|
|
8806
|
+
}
|
|
8807
|
+
}
|
|
8808
|
+
custom_tooltip = DUE_TO_ART_QUALITY_FOLLOWING_EFFECT_HAPPENS_TT
|
|
8809
|
+
if = {
|
|
8810
|
+
limit = { check_variable = { which = art_quality value = 4 } }
|
|
8811
|
+
add_government_power = {
|
|
8812
|
+
mechanic_type = persian_influence_mechanic
|
|
8813
|
+
power_type = persian_influence
|
|
8814
|
+
value = 25
|
|
8815
|
+
}
|
|
8816
|
+
random_owned_province = {
|
|
8817
|
+
limit = { religion = root culture = root }
|
|
8818
|
+
add_base_tax = 3
|
|
8819
|
+
}
|
|
8820
|
+
}
|
|
8821
|
+
else_if = {
|
|
8822
|
+
limit = { check_variable = { which = art_quality value = 3 } }
|
|
8823
|
+
add_government_power = {
|
|
8824
|
+
mechanic_type = persian_influence_mechanic
|
|
8825
|
+
power_type = persian_influence
|
|
8826
|
+
value = 20
|
|
8827
|
+
}
|
|
8828
|
+
random_owned_province = {
|
|
8829
|
+
limit = { religion = root culture = root }
|
|
8830
|
+
add_base_tax = 2
|
|
8831
|
+
}
|
|
8832
|
+
}
|
|
8833
|
+
else_if = {
|
|
8834
|
+
limit = { check_variable = { which = art_quality value = 2 } }
|
|
8835
|
+
add_government_power = {
|
|
8836
|
+
mechanic_type = persian_influence_mechanic
|
|
8837
|
+
power_type = persian_influence
|
|
8838
|
+
value = 15
|
|
8839
|
+
}
|
|
8840
|
+
random_owned_province = {
|
|
8841
|
+
limit = { religion = root culture = root }
|
|
8842
|
+
add_base_tax = 1
|
|
8843
|
+
}
|
|
8844
|
+
}
|
|
8845
|
+
else_if = {
|
|
8846
|
+
limit = { check_variable = { which = art_quality value = 1 } }
|
|
8847
|
+
add_government_power = {
|
|
8848
|
+
mechanic_type = persian_influence_mechanic
|
|
8849
|
+
power_type = persian_influence
|
|
8850
|
+
value = 10
|
|
8851
|
+
}
|
|
8852
|
+
}
|
|
8853
|
+
else = {
|
|
8854
|
+
add_prestige = -20
|
|
8855
|
+
add_government_power = {
|
|
8856
|
+
mechanic_type = persian_influence_mechanic
|
|
8857
|
+
power_type = persian_influence
|
|
8858
|
+
value = -10
|
|
8859
|
+
scaled_with_gain_modifier = no
|
|
8860
|
+
}
|
|
8861
|
+
}
|
|
8862
|
+
}
|
|
8863
|
+
complete_artwork_effect_textiles = {
|
|
8864
|
+
custom_tooltip = DUE_TO_ART_QUALITY_FOLLOWING_EFFECT_HAPPENS_TT
|
|
8865
|
+
if = {
|
|
8866
|
+
limit = { check_variable = { which = art_quality value = 4 } }
|
|
8867
|
+
add_government_power = {
|
|
8868
|
+
mechanic_type = persian_influence_mechanic
|
|
8869
|
+
power_type = persian_influence
|
|
8870
|
+
value = 25
|
|
8871
|
+
}
|
|
8872
|
+
add_mercantilism_or_monarch_power = {
|
|
8873
|
+
amount = 3
|
|
8874
|
+
}
|
|
8875
|
+
}
|
|
8876
|
+
else_if = {
|
|
8877
|
+
limit = { check_variable = { which = art_quality value = 3 } }
|
|
8878
|
+
add_government_power = {
|
|
8879
|
+
mechanic_type = persian_influence_mechanic
|
|
8880
|
+
power_type = persian_influence
|
|
8881
|
+
value = 20
|
|
8882
|
+
}
|
|
8883
|
+
add_mercantilism_or_monarch_power = {
|
|
8884
|
+
amount = 2
|
|
8885
|
+
}
|
|
8886
|
+
}
|
|
8887
|
+
else_if = {
|
|
8888
|
+
limit = { check_variable = { which = art_quality value = 2 } }
|
|
8889
|
+
add_government_power = {
|
|
8890
|
+
mechanic_type = persian_influence_mechanic
|
|
8891
|
+
power_type = persian_influence
|
|
8892
|
+
value = 15
|
|
8893
|
+
}
|
|
8894
|
+
add_mercantilism_or_monarch_power = {
|
|
8895
|
+
amount = 1
|
|
8896
|
+
}
|
|
8897
|
+
}
|
|
8898
|
+
else_if = {
|
|
8899
|
+
limit = { check_variable = { which = art_quality value = 1 } }
|
|
8900
|
+
add_government_power = {
|
|
8901
|
+
mechanic_type = persian_influence_mechanic
|
|
8902
|
+
power_type = persian_influence
|
|
8903
|
+
value = 10
|
|
8904
|
+
}
|
|
8905
|
+
}
|
|
8906
|
+
else = {
|
|
8907
|
+
add_prestige = -20
|
|
8908
|
+
add_government_power = {
|
|
8909
|
+
mechanic_type = persian_influence_mechanic
|
|
8910
|
+
power_type = persian_influence
|
|
8911
|
+
value = -10
|
|
8912
|
+
scaled_with_gain_modifier = no
|
|
8913
|
+
}
|
|
8914
|
+
}
|
|
8915
|
+
}
|
|
8916
|
+
complete_artwork_effect_painting = {
|
|
8917
|
+
custom_tooltip = DUE_TO_ART_QUALITY_FOLLOWING_EFFECT_HAPPENS_TT
|
|
8918
|
+
if = {
|
|
8919
|
+
limit = { check_variable = { which = art_quality value = 4 } }
|
|
8920
|
+
add_government_power = {
|
|
8921
|
+
mechanic_type = persian_influence_mechanic
|
|
8922
|
+
power_type = persian_influence
|
|
8923
|
+
value = 25
|
|
8924
|
+
}
|
|
8925
|
+
add_prestige_or_monarch_power = { amount = 30 }
|
|
8926
|
+
}
|
|
8927
|
+
else_if = {
|
|
8928
|
+
limit = { check_variable = { which = art_quality value = 3 } }
|
|
8929
|
+
add_government_power = {
|
|
8930
|
+
mechanic_type = persian_influence_mechanic
|
|
8931
|
+
power_type = persian_influence
|
|
8932
|
+
value = 20
|
|
8933
|
+
}
|
|
8934
|
+
add_prestige_or_monarch_power = { amount = 20 }
|
|
8935
|
+
}
|
|
8936
|
+
else_if = {
|
|
8937
|
+
limit = { check_variable = { which = art_quality value = 2 } }
|
|
8938
|
+
add_government_power = {
|
|
8939
|
+
mechanic_type = persian_influence_mechanic
|
|
8940
|
+
power_type = persian_influence
|
|
8941
|
+
value = 15
|
|
8942
|
+
}
|
|
8943
|
+
add_prestige_or_monarch_power = { amount = 10 }
|
|
8944
|
+
}
|
|
8945
|
+
else_if = {
|
|
8946
|
+
limit = { check_variable = { which = art_quality value = 1 } }
|
|
8947
|
+
add_government_power = {
|
|
8948
|
+
mechanic_type = persian_influence_mechanic
|
|
8949
|
+
power_type = persian_influence
|
|
8950
|
+
value = 10
|
|
8951
|
+
}
|
|
8952
|
+
}
|
|
8953
|
+
else = {
|
|
8954
|
+
add_prestige = -20
|
|
8955
|
+
add_government_power = {
|
|
8956
|
+
mechanic_type = persian_influence_mechanic
|
|
8957
|
+
power_type = persian_influence
|
|
8958
|
+
value = -10
|
|
8959
|
+
scaled_with_gain_modifier = no
|
|
8960
|
+
}
|
|
8961
|
+
}
|
|
8962
|
+
}
|
|
8963
|
+
complete_artwork_effect = {
|
|
8964
|
+
remove_country_modifier = promoting_$type$
|
|
8965
|
+
complete_artwork_effect_$type$ = yes
|
|
8966
|
+
if = {
|
|
8967
|
+
limit = { has_country_modifier = promoting_art }
|
|
8968
|
+
country_event = {
|
|
8969
|
+
id = promoting_art_events.1
|
|
8970
|
+
}
|
|
8971
|
+
}
|
|
8972
|
+
hidden_effect = {
|
|
8973
|
+
set_variable = {
|
|
8974
|
+
which = art_progress
|
|
8975
|
+
value = 0
|
|
8976
|
+
}
|
|
8977
|
+
set_variable = {
|
|
8978
|
+
which = art_quality
|
|
8979
|
+
value = 1
|
|
8980
|
+
}
|
|
8981
|
+
}
|
|
8982
|
+
}
|
|
8983
|
+
change_art_progress = {
|
|
8984
|
+
change_variable = {
|
|
8985
|
+
which = art_progress
|
|
8986
|
+
value = $amount$
|
|
8987
|
+
}
|
|
8988
|
+
}
|
|
8989
|
+
change_art_quality = {
|
|
8990
|
+
change_variable = {
|
|
8991
|
+
which = art_quality
|
|
8992
|
+
value = $amount$
|
|
8993
|
+
}
|
|
8994
|
+
}
|
|
8995
|
+
|
|
8996
|
+
used_persian_influence_mechanic = {
|
|
8997
|
+
custom_tooltip = used_persian_influence_mechanic_tt
|
|
8998
|
+
hidden_effect = {
|
|
8999
|
+
if = {
|
|
9000
|
+
limit = { NOT = { has_country_flag = persian_influence_setup_flag } }
|
|
9001
|
+
set_country_flag = persian_influence_setup_flag
|
|
9002
|
+
}
|
|
9003
|
+
remove_country_modifier = used_persian_influece_interaction_1
|
|
9004
|
+
remove_country_modifier = used_persian_influece_interaction_2
|
|
9005
|
+
remove_country_modifier = used_persian_influece_interaction_3
|
|
9006
|
+
remove_country_modifier = used_persian_influece_interaction_4
|
|
9007
|
+
remove_country_modifier = used_persian_influece_interaction_5
|
|
9008
|
+
remove_country_modifier = used_persian_influece_interaction_6
|
|
9009
|
+
remove_country_modifier = used_persian_influece_interaction_7
|
|
9010
|
+
remove_country_modifier = used_persian_influece_interaction_8
|
|
9011
|
+
remove_country_modifier = used_persian_influece_interaction_9
|
|
9012
|
+
remove_country_modifier = used_persian_influece_interaction_10
|
|
9013
|
+
remove_country_modifier = used_persian_influece_interaction_11
|
|
9014
|
+
remove_country_modifier = used_persian_influece_interaction_12
|
|
9015
|
+
remove_country_modifier = used_persian_influece_interaction_13
|
|
9016
|
+
remove_country_modifier = used_persian_influece_interaction_14
|
|
9017
|
+
remove_country_modifier = used_persian_influece_interaction_15
|
|
9018
|
+
remove_country_modifier = used_persian_influece_interaction_16
|
|
9019
|
+
remove_country_modifier = used_persian_influece_interaction_17
|
|
9020
|
+
remove_country_modifier = used_persian_influece_interaction_18
|
|
9021
|
+
remove_country_modifier = used_persian_influece_interaction_19
|
|
9022
|
+
remove_country_modifier = used_persian_influece_interaction_20
|
|
9023
|
+
change_variable = {
|
|
9024
|
+
which = persian_influece_counter
|
|
9025
|
+
value = 1
|
|
9026
|
+
}
|
|
9027
|
+
if = {
|
|
9028
|
+
limit = { has_country_flag = improved_elevation_reduction }
|
|
9029
|
+
if = {
|
|
9030
|
+
limit = { check_variable = { which = persian_influece_counter_tooltip value = -400 } }
|
|
9031
|
+
change_variable = {
|
|
9032
|
+
which = persian_influece_counter_tooltip
|
|
9033
|
+
value = -20
|
|
9034
|
+
}
|
|
9035
|
+
}
|
|
9036
|
+
}
|
|
9037
|
+
else = {
|
|
9038
|
+
if = {
|
|
9039
|
+
limit = { check_variable = { which = persian_influece_counter_tooltip value = -200 } }
|
|
9040
|
+
change_variable = {
|
|
9041
|
+
which = persian_influece_counter_tooltip
|
|
9042
|
+
value = -20
|
|
9043
|
+
}
|
|
9044
|
+
}
|
|
9045
|
+
}
|
|
9046
|
+
change_variable = {
|
|
9047
|
+
which = persian_influence_interaction_counter
|
|
9048
|
+
value = 1
|
|
9049
|
+
}
|
|
9050
|
+
if = {
|
|
9051
|
+
limit = { has_country_flag = improved_elevation_reduction }
|
|
9052
|
+
if = {
|
|
9053
|
+
limit = { check_variable = { which = persian_influece_counter value = 10 } }
|
|
9054
|
+
if = {
|
|
9055
|
+
limit = { check_variable = { which = persian_influece_counter value = 15 } }
|
|
9056
|
+
if = {
|
|
9057
|
+
limit = { check_variable = { which = persian_influece_counter value = 17 } }
|
|
9058
|
+
if = {
|
|
9059
|
+
limit = { check_variable = { which = persian_influece_counter value = 19 } }
|
|
9060
|
+
if = {
|
|
9061
|
+
limit = { check_variable = { which = persian_influece_counter value = 20 } }
|
|
9062
|
+
add_country_modifier = { name = used_persian_influece_interaction_20 duration = -1 hidden = yes }
|
|
9063
|
+
}
|
|
9064
|
+
else = {
|
|
9065
|
+
add_country_modifier = { name = used_persian_influece_interaction_19 duration = -1 hidden = yes }
|
|
9066
|
+
}
|
|
9067
|
+
}
|
|
9068
|
+
else = {
|
|
9069
|
+
if = {
|
|
9070
|
+
limit = { check_variable = { which = persian_influece_counter value = 18 } }
|
|
9071
|
+
add_country_modifier = { name = used_persian_influece_interaction_18 duration = -1 hidden = yes }
|
|
9072
|
+
}
|
|
9073
|
+
else = {
|
|
9074
|
+
add_country_modifier = { name = used_persian_influece_interaction_17 duration = -1 hidden = yes }
|
|
9075
|
+
}
|
|
9076
|
+
}
|
|
9077
|
+
}
|
|
9078
|
+
else = {
|
|
9079
|
+
if = {
|
|
9080
|
+
limit = { check_variable = { which = persian_influece_counter value = 16 } }
|
|
9081
|
+
add_country_modifier = { name = used_persian_influece_interaction_16 duration = -1 hidden = yes }
|
|
9082
|
+
}
|
|
9083
|
+
else = {
|
|
9084
|
+
add_country_modifier = { name = used_persian_influece_interaction_15 duration = -1 hidden = yes }
|
|
9085
|
+
}
|
|
9086
|
+
}
|
|
9087
|
+
}
|
|
9088
|
+
else = {
|
|
9089
|
+
if = {
|
|
9090
|
+
limit = { check_variable = { which = persian_influece_counter value = 13 } }
|
|
9091
|
+
if = {
|
|
9092
|
+
limit = { check_variable = { which = persian_influece_counter value = 14 } }
|
|
9093
|
+
add_country_modifier = { name = used_persian_influece_interaction_14 duration = -1 hidden = yes }
|
|
9094
|
+
}
|
|
9095
|
+
else = {
|
|
9096
|
+
add_country_modifier = { name = used_persian_influece_interaction_13 duration = -1 hidden = yes }
|
|
9097
|
+
}
|
|
9098
|
+
}
|
|
9099
|
+
else = {
|
|
9100
|
+
if = {
|
|
9101
|
+
limit = { check_variable = { which = persian_influece_counter value = 11 } }
|
|
9102
|
+
if = {
|
|
9103
|
+
limit = { check_variable = { which = persian_influece_counter value = 12 } }
|
|
9104
|
+
add_country_modifier = { name = used_persian_influece_interaction_12 duration = -1 hidden = yes }
|
|
9105
|
+
}
|
|
9106
|
+
else = {
|
|
9107
|
+
add_country_modifier = { name = used_persian_influece_interaction_11 duration = -1 hidden = yes }
|
|
9108
|
+
}
|
|
9109
|
+
}
|
|
9110
|
+
else = {
|
|
9111
|
+
add_country_modifier = { name = used_persian_influece_interaction_10 duration = -1 hidden = yes }
|
|
9112
|
+
}
|
|
9113
|
+
}
|
|
9114
|
+
}
|
|
9115
|
+
}
|
|
9116
|
+
else = {
|
|
9117
|
+
if = {
|
|
9118
|
+
limit = { check_variable = { which = persian_influece_counter value = 5 } }
|
|
9119
|
+
if = {
|
|
9120
|
+
limit = { check_variable = { which = persian_influece_counter value = 8 } }
|
|
9121
|
+
if = {
|
|
9122
|
+
limit = { check_variable = { which = persian_influece_counter value = 9 } }
|
|
9123
|
+
add_country_modifier = { name = used_persian_influece_interaction_9 duration = -1 hidden = yes }
|
|
9124
|
+
}
|
|
9125
|
+
else = {
|
|
9126
|
+
add_country_modifier = { name = used_persian_influece_interaction_8 duration = -1 hidden = yes }
|
|
9127
|
+
}
|
|
9128
|
+
}
|
|
9129
|
+
else = {
|
|
9130
|
+
if = {
|
|
9131
|
+
limit = { check_variable = { which = persian_influece_counter value = 6 } }
|
|
9132
|
+
if = {
|
|
9133
|
+
limit = { check_variable = { which = persian_influece_counter value = 7 } }
|
|
9134
|
+
add_country_modifier = { name = used_persian_influece_interaction_7 duration = -1 hidden = yes }
|
|
9135
|
+
}
|
|
9136
|
+
else = {
|
|
9137
|
+
add_country_modifier = { name = used_persian_influece_interaction_6 duration = -1 hidden = yes }
|
|
9138
|
+
}
|
|
9139
|
+
}
|
|
9140
|
+
else = {
|
|
9141
|
+
add_country_modifier = { name = used_persian_influece_interaction_5 duration = -1 hidden = yes }
|
|
9142
|
+
}
|
|
9143
|
+
}
|
|
9144
|
+
}
|
|
9145
|
+
else = {
|
|
9146
|
+
if = {
|
|
9147
|
+
limit = { check_variable = { which = persian_influece_counter value = 3 } }
|
|
9148
|
+
if = {
|
|
9149
|
+
limit = { check_variable = { which = persian_influece_counter value = 4 } }
|
|
9150
|
+
add_country_modifier = { name = used_persian_influece_interaction_4 duration = -1 hidden = yes }
|
|
9151
|
+
}
|
|
9152
|
+
add_country_modifier = { name = used_persian_influece_interaction_3 duration = -1 hidden = yes }
|
|
9153
|
+
}
|
|
9154
|
+
else = {
|
|
9155
|
+
if = {
|
|
9156
|
+
limit = { check_variable = { which = persian_influece_counter value = 2 } }
|
|
9157
|
+
add_country_modifier = { name = used_persian_influece_interaction_2 duration = -1 hidden = yes }
|
|
9158
|
+
}
|
|
9159
|
+
else = {
|
|
9160
|
+
add_country_modifier = { name = used_persian_influece_interaction_1 duration = -1 hidden = yes }
|
|
9161
|
+
}
|
|
9162
|
+
}
|
|
9163
|
+
}
|
|
9164
|
+
}
|
|
9165
|
+
}
|
|
9166
|
+
else = {
|
|
9167
|
+
if = {
|
|
9168
|
+
limit = { check_variable = { which = persian_influece_counter value = 5 } }
|
|
9169
|
+
if = {
|
|
9170
|
+
limit = { check_variable = { which = persian_influece_counter value = 7 } }
|
|
9171
|
+
if = {
|
|
9172
|
+
limit = { check_variable = { which = persian_influece_counter value = 9 } }
|
|
9173
|
+
if = {
|
|
9174
|
+
limit = { check_variable = { which = persian_influece_counter value = 10 } }
|
|
9175
|
+
add_country_modifier = { name = used_persian_influece_interaction_10 duration = -1 hidden = yes }
|
|
9176
|
+
}
|
|
9177
|
+
else = {
|
|
9178
|
+
add_country_modifier = { name = used_persian_influece_interaction_9 duration = -1 hidden = yes }
|
|
9179
|
+
}
|
|
9180
|
+
}
|
|
9181
|
+
else = {
|
|
9182
|
+
if = {
|
|
9183
|
+
limit = { check_variable = { which = persian_influece_counter value = 8 } }
|
|
9184
|
+
add_country_modifier = { name = used_persian_influece_interaction_8 duration = -1 hidden = yes }
|
|
9185
|
+
}
|
|
9186
|
+
else = {
|
|
9187
|
+
add_country_modifier = { name = used_persian_influece_interaction_7 duration = -1 hidden = yes }
|
|
9188
|
+
}
|
|
9189
|
+
}
|
|
9190
|
+
}
|
|
9191
|
+
else = {
|
|
9192
|
+
if = {
|
|
9193
|
+
limit = { check_variable = { which = persian_influece_counter value = 6 } }
|
|
9194
|
+
add_country_modifier = { name = used_persian_influece_interaction_6 duration = -1 hidden = yes }
|
|
9195
|
+
}
|
|
9196
|
+
else = {
|
|
9197
|
+
add_country_modifier = { name = used_persian_influece_interaction_5 duration = -1 hidden = yes }
|
|
9198
|
+
}
|
|
9199
|
+
}
|
|
9200
|
+
}
|
|
9201
|
+
else = {
|
|
9202
|
+
if = {
|
|
9203
|
+
limit = { check_variable = { which = persian_influece_counter value = 3 } }
|
|
9204
|
+
if = {
|
|
9205
|
+
limit = { check_variable = { which = persian_influece_counter value = 4 } }
|
|
9206
|
+
add_country_modifier = { name = used_persian_influece_interaction_4 duration = -1 hidden = yes }
|
|
9207
|
+
}
|
|
9208
|
+
add_country_modifier = { name = used_persian_influece_interaction_3 duration = -1 hidden = yes }
|
|
9209
|
+
}
|
|
9210
|
+
else = {
|
|
9211
|
+
if = {
|
|
9212
|
+
limit = { check_variable = { which = persian_influece_counter value = 2 } }
|
|
9213
|
+
add_country_modifier = { name = used_persian_influece_interaction_2 duration = -1 hidden = yes }
|
|
9214
|
+
}
|
|
9215
|
+
else = {
|
|
9216
|
+
add_country_modifier = { name = used_persian_influece_interaction_1 duration = -1 hidden = yes }
|
|
9217
|
+
}
|
|
9218
|
+
}
|
|
9219
|
+
}
|
|
9220
|
+
}
|
|
9221
|
+
}
|
|
9222
|
+
}
|
|
9223
|
+
|
|
9224
|
+
improve_elevation_effect = {
|
|
9225
|
+
custom_tooltip = improve_elevation_effect_tt
|
|
9226
|
+
hidden_effect = {
|
|
9227
|
+
set_country_flag = improved_elevation_effect
|
|
9228
|
+
}
|
|
9229
|
+
}
|
|
9230
|
+
|
|
9231
|
+
improve_elevation_reduction = {
|
|
9232
|
+
custom_tooltip = improve_elevation_reduction_tt
|
|
9233
|
+
hidden_effect = {
|
|
9234
|
+
set_country_flag = improved_elevation_reduction
|
|
9235
|
+
}
|
|
9236
|
+
}
|
|
9237
|
+
|
|
9238
|
+
improve_persian_influence_abilities = {
|
|
9239
|
+
custom_tooltip = improve_persian_influence_abilities_tt
|
|
9240
|
+
hidden_effect = {
|
|
9241
|
+
set_country_flag = improved_persian_influence_abilities
|
|
9242
|
+
}
|
|
9243
|
+
}
|
|
9244
|
+
|
|
9245
|
+
improve_fabricate_religious_conflict = {
|
|
9246
|
+
custom_tooltip = improve_fabricate_religious_conflict_tt
|
|
9247
|
+
hidden_effect = {
|
|
9248
|
+
set_country_flag = reduced_spread_faith_cb_spy_cost
|
|
9249
|
+
}
|
|
9250
|
+
}
|
|
9251
|
+
|
|
9252
|
+
consume_persian_influence_reduction = {
|
|
9253
|
+
remove_country_modifier = used_persian_influece_interaction_1
|
|
9254
|
+
remove_country_modifier = used_persian_influece_interaction_2
|
|
9255
|
+
remove_country_modifier = used_persian_influece_interaction_3
|
|
9256
|
+
remove_country_modifier = used_persian_influece_interaction_4
|
|
9257
|
+
remove_country_modifier = used_persian_influece_interaction_5
|
|
9258
|
+
remove_country_modifier = used_persian_influece_interaction_6
|
|
9259
|
+
remove_country_modifier = used_persian_influece_interaction_7
|
|
9260
|
+
remove_country_modifier = used_persian_influece_interaction_8
|
|
9261
|
+
remove_country_modifier = used_persian_influece_interaction_9
|
|
9262
|
+
remove_country_modifier = used_persian_influece_interaction_10
|
|
9263
|
+
remove_country_modifier = used_persian_influece_interaction_11
|
|
9264
|
+
remove_country_modifier = used_persian_influece_interaction_12
|
|
9265
|
+
remove_country_modifier = used_persian_influece_interaction_13
|
|
9266
|
+
remove_country_modifier = used_persian_influece_interaction_14
|
|
9267
|
+
remove_country_modifier = used_persian_influece_interaction_15
|
|
9268
|
+
remove_country_modifier = used_persian_influece_interaction_16
|
|
9269
|
+
remove_country_modifier = used_persian_influece_interaction_17
|
|
9270
|
+
remove_country_modifier = used_persian_influece_interaction_18
|
|
9271
|
+
remove_country_modifier = used_persian_influece_interaction_19
|
|
9272
|
+
remove_country_modifier = used_persian_influece_interaction_20
|
|
9273
|
+
change_variable = {
|
|
9274
|
+
which = persian_influece_counter
|
|
9275
|
+
value = 0
|
|
9276
|
+
}
|
|
9277
|
+
change_variable = {
|
|
9278
|
+
which = persian_influece_counter_tooltip
|
|
9279
|
+
value = 0
|
|
9280
|
+
}
|
|
9281
|
+
}
|
|
9282
|
+
|
|
9283
|
+
#Check with "has_unlocked_decision = { type = <decisions id> }"
|
|
9284
|
+
#Supports the following decisions
|
|
9285
|
+
#################################
|
|
9286
|
+
# grand_vizier_selection
|
|
9287
|
+
# horse_breeding_decision
|
|
9288
|
+
unlock_decision = {
|
|
9289
|
+
custom_tooltip = unlock_decision_$type$_tt
|
|
9290
|
+
hidden_effect = { set_country_flag = unlocked_decision_$type$ }
|
|
9291
|
+
[[effect_tooltip]
|
|
9292
|
+
custom_tooltip = unlock_decision_effect_tt
|
|
9293
|
+
$effect_tooltip$
|
|
9294
|
+
]
|
|
9295
|
+
[[custom_tooltip]custom_tooltip = $custom_tooltip$]
|
|
9296
|
+
}
|
|
9297
|
+
lock_decision = {
|
|
9298
|
+
custom_tooltip = lock_decision_$type$_tt
|
|
9299
|
+
hidden_effect = { clr_country_flag = unlocked_decision_$type$ }
|
|
9300
|
+
}
|
|
9301
|
+
|
|
9302
|
+
#Supports the following holy orders
|
|
9303
|
+
###################################
|
|
9304
|
+
# savafid_order
|
|
9305
|
+
# zahediyeh_order
|
|
9306
|
+
unlock_holy_order = {
|
|
9307
|
+
if = {
|
|
9308
|
+
limit = { has_dlc = "Golden Century" }
|
|
9309
|
+
custom_tooltip = unlock_holy_order_$type$_tt
|
|
9310
|
+
}
|
|
9311
|
+
hidden_effect = { set_country_flag = unlocked_holy_order_$type$ }
|
|
9312
|
+
}
|
|
9313
|
+
|
|
9314
|
+
#Supports the following arguments
|
|
9315
|
+
#################################
|
|
9316
|
+
# fabricate_spread_the_true_faith_cb
|
|
9317
|
+
unlock_diplomatic_action = {
|
|
9318
|
+
custom_tooltip = unlock_$type$_tt
|
|
9319
|
+
hidden_effect = {
|
|
9320
|
+
set_country_flag = unlocked_diplomatic_action_$type$
|
|
9321
|
+
}
|
|
9322
|
+
[[custom_tooltip]custom_tooltip = $custom_tooltip$]
|
|
9323
|
+
}
|
|
9324
|
+
|
|
9325
|
+
enable_great_holy_war_cb = {
|
|
9326
|
+
custom_tooltip = enable_great_holy_war_cb_tt
|
|
9327
|
+
hidden_effect = { set_country_flag = enabled_great_holy_war_cb }
|
|
9328
|
+
}
|
|
9329
|
+
|
|
9330
|
+
change_asha_vahishta = {
|
|
9331
|
+
if = {
|
|
9332
|
+
limit = { has_government_mechanic = the_three_royal_fires_mechanic }
|
|
9333
|
+
[[custom_tooltip]custom_tooltip = $custom_tooltip$]
|
|
9334
|
+
add_government_power = {
|
|
9335
|
+
mechanic_type = the_three_royal_fires_mechanic
|
|
9336
|
+
power_type = asha_vahishta
|
|
9337
|
+
value = $value$
|
|
9338
|
+
}
|
|
9339
|
+
}
|
|
9340
|
+
}
|
|
9341
|
+
|
|
9342
|
+
remove_asha_vahishta_loss_from_missionaries = {
|
|
9343
|
+
custom_tooltip = remove_asha_vahishta_loss_from_missionaries_tt
|
|
9344
|
+
hidden_effect = {
|
|
9345
|
+
set_country_flag = removed_asha_vahishta_loss_from_missionaries
|
|
9346
|
+
}
|
|
9347
|
+
}
|
|
9348
|
+
|
|
9349
|
+
upgrade_the_three_fire = {
|
|
9350
|
+
custom_tooltip = upgrade_the_three_fire_tt
|
|
9351
|
+
hidden_effect = {
|
|
9352
|
+
set_country_flag = upgraded_the_three_fire
|
|
9353
|
+
}
|
|
9354
|
+
}
|
|
9355
|
+
|
|
9356
|
+
remove_asha_vahishta_loss_from_force_conversion = {
|
|
9357
|
+
custom_tooltip = remove_asha_vahishta_loss_from_force_conversion_tt
|
|
9358
|
+
hidden_effect = {
|
|
9359
|
+
set_country_flag = removed_asha_vahishta_loss_from_force_conversion
|
|
9360
|
+
}
|
|
9361
|
+
}
|
|
9362
|
+
|
|
9363
|
+
enable_three_royal_fires_mana_generation = {
|
|
9364
|
+
custom_tooltip = enable_three_royal_fires_mana_generation_tt
|
|
9365
|
+
hidden_effect = {
|
|
9366
|
+
set_country_flag = enabled_three_royal_fires_mana_generation
|
|
9367
|
+
}
|
|
9368
|
+
}
|
|
9369
|
+
|
|
9370
|
+
# All is province scope here
|
|
9371
|
+
## add/upgrade trade building in province
|
|
9372
|
+
### add_or_upgrade_trade_building = yes # feel free to refactor to include the amount of upgrades
|
|
9373
|
+
add_or_upgrade_trade_building = {
|
|
9374
|
+
custom_tooltip = add_or_upgrade_trade_building_tt
|
|
9375
|
+
hidden_effect = {
|
|
9376
|
+
if = {
|
|
9377
|
+
limit = { has_building = marketplace }
|
|
9378
|
+
add_building = trade_depot
|
|
9379
|
+
}
|
|
9380
|
+
else_if = {
|
|
9381
|
+
limit = { has_building = trade_depot }
|
|
9382
|
+
add_building = stock_exchange
|
|
9383
|
+
}
|
|
9384
|
+
else_if = {
|
|
9385
|
+
limit = { has_building = stock_exchange }
|
|
9386
|
+
add_base_tax = 1
|
|
9387
|
+
add_base_production = 1
|
|
9388
|
+
}
|
|
9389
|
+
else = { add_building = marketplace }
|
|
9390
|
+
}
|
|
9391
|
+
}
|
|
9392
|
+
|
|
9393
|
+
add_or_upgrade_tax_building = {
|
|
9394
|
+
custom_tooltip = add_or_upgrade_tax_building_tt
|
|
9395
|
+
hidden_effect = {
|
|
9396
|
+
if = {
|
|
9397
|
+
limit = { has_building = temple }
|
|
9398
|
+
add_building = cathedral
|
|
9399
|
+
}
|
|
9400
|
+
else_if = {
|
|
9401
|
+
limit = { has_building = cathedral }
|
|
9402
|
+
add_base_tax = 2
|
|
9403
|
+
}
|
|
9404
|
+
else = { add_building = temple }
|
|
9405
|
+
}
|
|
9406
|
+
}
|
|
9407
|
+
|
|
9408
|
+
add_or_upgrade_production_building = {
|
|
9409
|
+
custom_tooltip = add_or_upgrade_production_building_tt
|
|
9410
|
+
hidden_effect = {
|
|
9411
|
+
if = {
|
|
9412
|
+
limit = { has_building = workshop }
|
|
9413
|
+
add_building = counting_house
|
|
9414
|
+
}
|
|
9415
|
+
else_if = {
|
|
9416
|
+
limit = { has_building = counting_house }
|
|
9417
|
+
add_base_production = 2
|
|
9418
|
+
}
|
|
9419
|
+
else = { add_building = workshop }
|
|
9420
|
+
}
|
|
9421
|
+
}
|
|
9422
|
+
|
|
9423
|
+
add_or_upgrade_dock_building = {
|
|
9424
|
+
custom_tooltip = add_or_upgrade_dock_building_tt
|
|
9425
|
+
hidden_effect = {
|
|
9426
|
+
if = {
|
|
9427
|
+
limit = { has_building = dock }
|
|
9428
|
+
add_building = drydock
|
|
9429
|
+
}
|
|
9430
|
+
else_if = {
|
|
9431
|
+
limit = { has_building = drydock }
|
|
9432
|
+
ROOT = { add_sailors = 0.5 }
|
|
9433
|
+
}
|
|
9434
|
+
else = { add_building = dock }
|
|
9435
|
+
}
|
|
9436
|
+
}
|
|
9437
|
+
|
|
9438
|
+
add_or_upgrade_shipyard_building = {
|
|
9439
|
+
custom_tooltip = add_or_upgrade_shipyard_building_tt
|
|
9440
|
+
hidden_effect = {
|
|
9441
|
+
if = {
|
|
9442
|
+
limit = { has_building = shipyard }
|
|
9443
|
+
add_building = grand_shipyard
|
|
9444
|
+
}
|
|
9445
|
+
else_if = {
|
|
9446
|
+
limit = { has_building = grand_shipyard }
|
|
9447
|
+
ROOT = { add_sailors = 0.5 }
|
|
9448
|
+
}
|
|
9449
|
+
else = { add_building = shipyard }
|
|
9450
|
+
}
|
|
9451
|
+
}
|
|
9452
|
+
|
|
9453
|
+
add_or_upgrade_manpower_building = {
|
|
9454
|
+
custom_tooltip = add_or_upgrade_manpower_building_tt
|
|
9455
|
+
hidden_effect = {
|
|
9456
|
+
if = {
|
|
9457
|
+
limit = { has_building = barracks }
|
|
9458
|
+
add_building = training_fields
|
|
9459
|
+
}
|
|
9460
|
+
else_if = {
|
|
9461
|
+
limit = { has_building = training_fields }
|
|
9462
|
+
add_base_tax = 1
|
|
9463
|
+
add_base_manpower = 1
|
|
9464
|
+
}
|
|
9465
|
+
else = { add_building = barracks }
|
|
9466
|
+
}
|
|
9467
|
+
}
|
|
9468
|
+
|
|
9469
|
+
add_or_upgrade_forcelimit_building = {
|
|
9470
|
+
custom_tooltip = add_or_upgrade_forcelimit_building_tt
|
|
9471
|
+
hidden_effect = {
|
|
9472
|
+
if = {
|
|
9473
|
+
limit = { has_building = regimental_camp }
|
|
9474
|
+
add_building = conscription_center
|
|
9475
|
+
}
|
|
9476
|
+
else_if = {
|
|
9477
|
+
limit = { has_building = conscription_center }
|
|
9478
|
+
add_base_manpower = 2
|
|
9479
|
+
}
|
|
9480
|
+
else = { add_building = regimental_camp }
|
|
9481
|
+
}
|
|
9482
|
+
}
|
|
9483
|
+
|
|
9484
|
+
add_or_upgrade_university_building = {
|
|
9485
|
+
custom_tooltip = add_or_upgrade_university_building_tt
|
|
9486
|
+
hidden_effect = {
|
|
9487
|
+
if = {
|
|
9488
|
+
limit = { has_building = university }
|
|
9489
|
+
add_base_tax = 1
|
|
9490
|
+
add_base_production = 1
|
|
9491
|
+
add_base_manpower = 1
|
|
9492
|
+
}
|
|
9493
|
+
else = { add_building = university }
|
|
9494
|
+
}
|
|
9495
|
+
}
|
|
9496
|
+
|
|
9497
|
+
add_or_upgrade_courthouse_building = {
|
|
9498
|
+
custom_tooltip = add_or_upgrade_courthouse_building_tt
|
|
9499
|
+
hidden_effect = {
|
|
9500
|
+
if = {
|
|
9501
|
+
limit = { has_building = courthouse }
|
|
9502
|
+
add_building = town_hall
|
|
9503
|
+
}
|
|
9504
|
+
else_if = {
|
|
9505
|
+
limit = { has_building = town_hall }
|
|
9506
|
+
add_base_tax = 1
|
|
9507
|
+
add_base_production = 1
|
|
9508
|
+
add_base_manpower = 1
|
|
9509
|
+
}
|
|
9510
|
+
else = { add_building = courthouse }
|
|
9511
|
+
}
|
|
9512
|
+
}
|
|
9513
|
+
|
|
9514
|
+
add_or_upgrade_fort_building = {
|
|
9515
|
+
custom_tooltip = add_or_upgrade_fort_building_tt
|
|
9516
|
+
hidden_effect = {
|
|
9517
|
+
if = {
|
|
9518
|
+
limit = { has_building = fort_15th }
|
|
9519
|
+
add_building = fort_16th
|
|
9520
|
+
}
|
|
9521
|
+
else_if = {
|
|
9522
|
+
limit = { has_building = fort_16th }
|
|
9523
|
+
add_building = fort_17th
|
|
9524
|
+
}
|
|
9525
|
+
else_if = {
|
|
9526
|
+
limit = { has_building = fort_17th }
|
|
9527
|
+
add_building = fort_18th
|
|
9528
|
+
}
|
|
9529
|
+
else_if = {
|
|
9530
|
+
limit = { has_building = fort_18th }
|
|
9531
|
+
add_base_manpower = 3
|
|
9532
|
+
}
|
|
9533
|
+
else = { add_building = fort_15th }
|
|
9534
|
+
}
|
|
9535
|
+
}
|
|
9536
|
+
|
|
9537
|
+
add_or_upgrade_naval_defense_building = {
|
|
9538
|
+
custom_tooltip = add_or_upgrade_naval_defense_building_tt
|
|
9539
|
+
hidden_effect = {
|
|
9540
|
+
if = {
|
|
9541
|
+
limit = { has_building = coastal_defence }
|
|
9542
|
+
add_building = naval_battery
|
|
9543
|
+
}
|
|
9544
|
+
else_if = {
|
|
9545
|
+
limit = { has_building = naval_battery }
|
|
9546
|
+
add_base_production = 2
|
|
9547
|
+
}
|
|
9548
|
+
else = { add_building = coastal_defence }
|
|
9549
|
+
}
|
|
9550
|
+
}
|
|
9551
|
+
|
|
9552
|
+
upgrade_trade_building = {
|
|
9553
|
+
custom_tooltip = upgrade_trade_building_tt
|
|
9554
|
+
hidden_effect = {
|
|
9555
|
+
if = {
|
|
9556
|
+
limit = { has_building = marketplace }
|
|
9557
|
+
add_building = trade_depot
|
|
9558
|
+
}
|
|
9559
|
+
else_if = {
|
|
9560
|
+
limit = { has_building = trade_depot }
|
|
9561
|
+
add_building = stock_exchange
|
|
9562
|
+
}
|
|
9563
|
+
else_if = {
|
|
9564
|
+
limit = { has_building = stock_exchange }
|
|
9565
|
+
add_base_tax = 1
|
|
9566
|
+
add_base_production = 1
|
|
9567
|
+
}
|
|
9568
|
+
}
|
|
9569
|
+
}
|
|
9570
|
+
|
|
9571
|
+
upgrade_tax_building = {
|
|
9572
|
+
custom_tooltip = upgrade_tax_building_tt
|
|
9573
|
+
hidden_effect = {
|
|
9574
|
+
if = {
|
|
9575
|
+
limit = { has_building = temple }
|
|
9576
|
+
add_building = cathedral
|
|
9577
|
+
}
|
|
9578
|
+
else_if = {
|
|
9579
|
+
limit = { has_building = cathedral }
|
|
9580
|
+
add_base_tax = 2
|
|
9581
|
+
}
|
|
9582
|
+
}
|
|
9583
|
+
}
|
|
9584
|
+
|
|
9585
|
+
upgrade_production_building = {
|
|
9586
|
+
custom_tooltip = upgrade_production_building_tt
|
|
9587
|
+
hidden_effect = {
|
|
9588
|
+
if = {
|
|
9589
|
+
limit = { has_building = workshop }
|
|
9590
|
+
add_building = counting_house
|
|
9591
|
+
}
|
|
9592
|
+
else_if = {
|
|
9593
|
+
limit = { has_building = counting_house }
|
|
9594
|
+
add_base_production = 2
|
|
9595
|
+
}
|
|
9596
|
+
}
|
|
9597
|
+
}
|
|
9598
|
+
|
|
9599
|
+
upgrade_dock_building = {
|
|
9600
|
+
custom_tooltip = upgrade_dock_building_tt
|
|
9601
|
+
hidden_effect = {
|
|
9602
|
+
if = {
|
|
9603
|
+
limit = { has_building = dock }
|
|
9604
|
+
add_building = drydock
|
|
9605
|
+
}
|
|
9606
|
+
else_if = {
|
|
9607
|
+
limit = { has_building = drydock }
|
|
9608
|
+
ROOT = { add_sailors = 0.5 }
|
|
9609
|
+
}
|
|
9610
|
+
}
|
|
9611
|
+
}
|
|
9612
|
+
|
|
9613
|
+
upgrade_shipyard_building = {
|
|
9614
|
+
custom_tooltip = upgrade_shipyard_building_tt
|
|
9615
|
+
hidden_effect = {
|
|
9616
|
+
if = {
|
|
9617
|
+
limit = { has_building = shipyard }
|
|
9618
|
+
add_building = grand_shipyard
|
|
9619
|
+
}
|
|
9620
|
+
else_if = {
|
|
9621
|
+
limit = { has_building = grand_shipyard }
|
|
9622
|
+
ROOT = { add_sailors = 0.5 }
|
|
9623
|
+
}
|
|
9624
|
+
}
|
|
9625
|
+
}
|
|
9626
|
+
|
|
9627
|
+
upgrade_manpower_building = {
|
|
9628
|
+
custom_tooltip = upgrade_manpower_building_tt
|
|
9629
|
+
hidden_effect = {
|
|
9630
|
+
if = {
|
|
9631
|
+
limit = { has_building = barracks }
|
|
9632
|
+
add_building = training_fields
|
|
9633
|
+
}
|
|
9634
|
+
else_if = {
|
|
9635
|
+
limit = { has_building = training_fields }
|
|
9636
|
+
add_base_tax = 1
|
|
9637
|
+
add_base_manpower = 1
|
|
9638
|
+
}
|
|
9639
|
+
}
|
|
9640
|
+
}
|
|
9641
|
+
|
|
9642
|
+
upgrade_forcelimit_building = {
|
|
9643
|
+
custom_tooltip = upgrade_forcelimit_building_tt
|
|
9644
|
+
hidden_effect = {
|
|
9645
|
+
if = {
|
|
9646
|
+
limit = { has_building = regimental_camp }
|
|
9647
|
+
add_building = conscription_center
|
|
9648
|
+
}
|
|
9649
|
+
else_if = {
|
|
9650
|
+
limit = { has_building = conscription_center }
|
|
9651
|
+
add_base_manpower = 2
|
|
9652
|
+
}
|
|
9653
|
+
}
|
|
9654
|
+
}
|
|
9655
|
+
|
|
9656
|
+
upgrade_courthouse_building = {
|
|
9657
|
+
custom_tooltip = upgrade_courthouse_building_tt
|
|
9658
|
+
hidden_effect = {
|
|
9659
|
+
if = {
|
|
9660
|
+
limit = { has_building = courthouse }
|
|
9661
|
+
add_building = town_hall
|
|
9662
|
+
}
|
|
9663
|
+
else_if = {
|
|
9664
|
+
limit = { has_building = town_hall }
|
|
9665
|
+
add_base_tax = 1
|
|
9666
|
+
add_base_production = 1
|
|
9667
|
+
add_base_manpower = 1
|
|
9668
|
+
}
|
|
9669
|
+
}
|
|
9670
|
+
}
|
|
9671
|
+
|
|
9672
|
+
upgrade_fort_building = {
|
|
9673
|
+
custom_tooltip = upgrade_fort_building_tt
|
|
9674
|
+
hidden_effect = {
|
|
9675
|
+
if = {
|
|
9676
|
+
limit = { has_building = fort_15th }
|
|
9677
|
+
add_building = fort_16th
|
|
9678
|
+
}
|
|
9679
|
+
else_if = {
|
|
9680
|
+
limit = { has_building = fort_16th }
|
|
9681
|
+
add_building = fort_17th
|
|
9682
|
+
}
|
|
9683
|
+
else_if = {
|
|
9684
|
+
limit = { has_building = fort_17th }
|
|
9685
|
+
add_building = fort_18th
|
|
9686
|
+
}
|
|
9687
|
+
else_if = {
|
|
9688
|
+
limit = { has_building = fort_18th }
|
|
9689
|
+
add_base_manpower = 3
|
|
9690
|
+
}
|
|
9691
|
+
}
|
|
9692
|
+
}
|
|
9693
|
+
|
|
9694
|
+
upgrade_naval_defense_building = {
|
|
9695
|
+
custom_tooltip = upgrade_naval_defense_building_tt
|
|
9696
|
+
hidden_effect = {
|
|
9697
|
+
if = {
|
|
9698
|
+
limit = { has_building = coastal_defence }
|
|
9699
|
+
add_building = naval_battery
|
|
9700
|
+
}
|
|
9701
|
+
else_if = {
|
|
9702
|
+
limit = { has_building = naval_battery }
|
|
9703
|
+
add_base_production = 2
|
|
9704
|
+
}
|
|
9705
|
+
}
|
|
9706
|
+
}
|
|
9707
|
+
|
|
9708
|
+
remove_temporary_colonist = {
|
|
9709
|
+
hidden_effect = {
|
|
9710
|
+
remove_country_modifier = temporary_colonist
|
|
9711
|
+
}
|
|
9712
|
+
}
|
|
9713
|
+
|
|
9714
|
+
restore_greek_names = {
|
|
9715
|
+
custom_tooltip = reestablishing_themes_names_tooltip
|
|
9716
|
+
hidden_effect = {
|
|
9717
|
+
149 = { change_province_name = Adrianople rename_capital = Adrianople }
|
|
9718
|
+
151 = { change_province_name = Constantinople rename_capital = Constantinople }
|
|
9719
|
+
316 = { change_province_name = Optimatoi rename_capital = Nikomedeia }
|
|
9720
|
+
317 = { change_province_name = Opsikion rename_capital = Prussa }
|
|
9721
|
+
318 = { change_province_name = Smyrna rename_capital = Smyrna }
|
|
9722
|
+
319 = { change_province_name = Mylasa rename_capital = Mougla }
|
|
9723
|
+
322 = { change_province_name = Kotyaion rename_capital = Kotyaion }
|
|
9724
|
+
323 = { change_province_name = Ikonion rename_capital = Iconion }
|
|
9725
|
+
324 = { change_province_name = Laranda rename_capital = Laranda }
|
|
9726
|
+
325 = { change_province_name = Paphlagonia rename_capital = Timonio }
|
|
9727
|
+
326 = { change_province_name = Galatia rename_capital = Ancyra }
|
|
9728
|
+
327 = { change_province_name = Cilicia rename_capital = Atana }
|
|
9729
|
+
328 = { change_province_name = Sinope rename_capital = Sinop }
|
|
9730
|
+
329 = { change_province_name = Sebasteia rename_capital = Sebastopolis }
|
|
9731
|
+
330 = { change_province_name = Trebizond rename_capital = Trapezous }
|
|
9732
|
+
331 = { change_province_name = Theodosiopolis rename_capital = Theodosiopolis }
|
|
9733
|
+
1764 = { change_province_name = Mesambria rename_capital = Mesambria }
|
|
9734
|
+
1846 = { change_province_name = Armeniakon rename_capital = Amasea }
|
|
9735
|
+
1848 = { change_province_name = Baris rename_capital = Baris }
|
|
9736
|
+
2296 = { change_province_name = Abydos rename_capital = Pigai }
|
|
9737
|
+
2297 = { change_province_name = Thrakesion rename_capital = Magnesia }
|
|
9738
|
+
2298 = { change_province_name = Attalia rename_capital = Attalia }
|
|
9739
|
+
2299 = { change_province_name = Boukellarion rename_capital = Klaudiopol}
|
|
9740
|
+
2300 = { change_province_name = Cappadocia rename_capital = Tavium }
|
|
9741
|
+
2301 = { change_province_name = Charsianon rename_capital = Ceasarea }
|
|
9742
|
+
2302 = { change_province_name = Seleucia rename_capital = Kermarage }
|
|
9743
|
+
2304 = { change_province_name = Chaldia rename_capital = Amissos}
|
|
9744
|
+
2305 = { change_province_name = Acilisene rename_capital = Acilisene }
|
|
9745
|
+
2750 = { change_province_name = Philippopolis rename_capital = Philippopolis}
|
|
9746
|
+
4307 = { change_province_name = Colonia rename_capital = Colonia }
|
|
9747
|
+
4308 = { change_province_name = Laodicea rename_capital = Laodicea }
|
|
9748
|
+
4309 = { change_province_name = Tralles rename_capital = Tralles }
|
|
9749
|
+
4310 = { change_province_name = Tephrike rename_capital = Tephrike }
|
|
9750
|
+
4311 = { change_province_name = Anatolikon rename_capital = Polydorion }
|
|
9751
|
+
4312 = { change_province_name = Dorylaeum rename_capital = Dorylaeum }
|
|
9752
|
+
4313 = { change_province_name = Gangra rename_capital = Gangra }
|
|
9753
|
+
4314 = { change_province_name = Justinianopolis rename_capital = Justinianopolis }
|
|
9754
|
+
4315 = { change_province_name = Evdoksia rename_capital = Evdoksia }
|
|
9755
|
+
}
|
|
8708
9756
|
}
|
|
@@ -1536,4 +1536,53 @@ generate_advisor = {
|
|
|
1536
1536
|
hidden_effect = {
|
|
1537
1537
|
clr_country_flag = cheaper_selected_advisor
|
|
1538
1538
|
}
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
define_and_hire_grand_vizier = {
|
|
1543
|
+
hire_advisor = {
|
|
1544
|
+
type = $type$
|
|
1545
|
+
[[skill]skill = $skill$]
|
|
1546
|
+
[[culture]culture = $culture$]
|
|
1547
|
+
[[religion]religion = $religion$]
|
|
1548
|
+
[[female]female = $female$]
|
|
1549
|
+
[[age]age = $age$]
|
|
1550
|
+
[[max_age]max_age = $max_age$]
|
|
1551
|
+
[[min_age]min_age = $min_age$]
|
|
1552
|
+
[[min_age]min_age = $min_age$]
|
|
1553
|
+
cost_multiplier = 2.0
|
|
1554
|
+
[[location]location = $location$]
|
|
1555
|
+
}
|
|
1556
|
+
add_country_modifier = {
|
|
1557
|
+
name = grand_vizier_$type$
|
|
1558
|
+
duration = -1
|
|
1559
|
+
desc = UNTIL_ADVISOR_REMOVAL
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
remove_grand_vizier_modifiers = {
|
|
1564
|
+
trigger_switch = {
|
|
1565
|
+
on_trigger = has_country_modifier
|
|
1566
|
+
grand_vizier_philosopher = { if = { limit = { NOT = { philosopher = 1} } remove_country_modifier = grand_vizier_philosopher } }
|
|
1567
|
+
grand_vizier_natural_scientist = { if = { limit = { NOT = { natural_scientist = 1} } remove_country_modifier = grand_vizier_natural_scientist } }
|
|
1568
|
+
grand_vizier_artist = { if = { limit = { NOT = { artist = 1} } remove_country_modifier = grand_vizier_artist } }
|
|
1569
|
+
grand_vizier_treasurer = { if = { limit = { NOT = { treasurer = 1} } remove_country_modifier = grand_vizier_treasurer } }
|
|
1570
|
+
grand_vizier_theologian = { if = { limit = { NOT = { theologian = 1} } remove_country_modifier = grand_vizier_theologian } }
|
|
1571
|
+
grand_vizier_master_of_mint = { if = { limit = { NOT = { master_of_mint = 1} } remove_country_modifier = grand_vizier_master_of_mint } }
|
|
1572
|
+
grand_vizier_inquisitor = { if = { limit = { NOT = { inquisitor = 1} } remove_country_modifier = grand_vizier_inquisitor } }
|
|
1573
|
+
grand_vizier_statesman = { if = { limit = { NOT = { statesman = 1} } remove_country_modifier = grand_vizier_statesman } }
|
|
1574
|
+
grand_vizier_naval_reformer = { if = { limit = { NOT = { naval_reformer = 1} } remove_country_modifier = grand_vizier_naval_reformer } }
|
|
1575
|
+
grand_vizier_trader = { if = { limit = { NOT = { trader = 1} } remove_country_modifier = grand_vizier_trader } }
|
|
1576
|
+
grand_vizier_spymaster = { if = { limit = { NOT = { spymaster = 1} } remove_country_modifier = grand_vizier_spymaster } }
|
|
1577
|
+
grand_vizier_colonial_governor = { if = { limit = { NOT = { colonial_governor = 1} } remove_country_modifier = grand_vizier_colonial_governor } }
|
|
1578
|
+
grand_vizier_diplomat = { if = { limit = { NOT = { diplomat = 1} } remove_country_modifier = grand_vizier_diplomat } }
|
|
1579
|
+
grand_vizier_navigator = { if = { limit = { NOT = { navigator = 1} } remove_country_modifier = grand_vizier_navigator } }
|
|
1580
|
+
grand_vizier_army_reformer = { if = { limit = { NOT = { army_reformer = 1} } remove_country_modifier = grand_vizier_army_reformer } }
|
|
1581
|
+
grand_vizier_army_organiser = { if = { limit = { NOT = { army_organiser = 1} } remove_country_modifier = grand_vizier_army_organiser } }
|
|
1582
|
+
grand_vizier_commandant = { if = { limit = { NOT = { commandant = 1} } remove_country_modifier = grand_vizier_commandant } }
|
|
1583
|
+
grand_vizier_quartermaster = { if = { limit = { NOT = { quartermaster = 1} } remove_country_modifier = grand_vizier_quartermaster } }
|
|
1584
|
+
grand_vizier_recruitmaster = { if = { limit = { NOT = { recruitmaster = 1} } remove_country_modifier = grand_vizier_recruitmaster } }
|
|
1585
|
+
grand_vizier_fortification_expert = { if = { limit = { NOT = { fortification_expert = 1} } remove_country_modifier = grand_vizier_fortification_expert } }
|
|
1586
|
+
grand_vizier_grand_captain = { if = { limit = { NOT = { grand_captain = 1} } remove_country_modifier = grand_vizier_grand_captain } }
|
|
1587
|
+
}
|
|
1539
1588
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
add_mutual_opinion_modifier_effect = {
|
|
4
4
|
add_opinion = {
|
|
5
|
-
who = $
|
|
6
|
-
modifier = $
|
|
5
|
+
who = $target$
|
|
6
|
+
modifier = $modifier$
|
|
7
7
|
}
|
|
8
8
|
reverse_add_opinion = {
|
|
9
|
-
who = $
|
|
10
|
-
modifier = $
|
|
9
|
+
who = $target$
|
|
10
|
+
modifier = $modifier$
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -43,4 +43,32 @@ eyalet_effect = {
|
|
|
43
43
|
change_country_color = { country = ROOT }
|
|
44
44
|
}
|
|
45
45
|
set_country_flag = is_$tag$_flag
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
eyalet_name_effect = {
|
|
49
|
+
set_country_flag = has_eyalet_country_name
|
|
50
|
+
set_country_flag = has_overriden_name_flag
|
|
51
|
+
override_country_name = $tag$
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
eyalet_dynamic_name_change_effect = {
|
|
55
|
+
if = { limit = { tag = HUN } eyalet_name_effect = { tag = EY0 } }
|
|
56
|
+
if = { limit = { tag = SLO } eyalet_name_effect = { tag = EY1 } }
|
|
57
|
+
if = { limit = { tag = TRA } eyalet_name_effect = { tag = EY2 } }
|
|
58
|
+
if = { limit = { tag = HAB } eyalet_name_effect = { tag = EY3 } }
|
|
59
|
+
if = { limit = { tag = MLO } eyalet_name_effect = { tag = EY4 } }
|
|
60
|
+
if = { limit = { tag = SIC } eyalet_name_effect = { tag = EY5 } }
|
|
61
|
+
if = { limit = { tag = TUS } eyalet_name_effect = { tag = EY6 } }
|
|
62
|
+
if = { limit = { tag = EGY } eyalet_name_effect = { tag = EY7 } }
|
|
63
|
+
if = { limit = { tag = TRP } eyalet_name_effect = { tag = EY8 } }
|
|
64
|
+
if = { limit = { tag = TUN } eyalet_name_effect = { tag = EY9 } }
|
|
65
|
+
if = { limit = { tag = ALG } eyalet_name_effect = { tag = E10 } }
|
|
66
|
+
if = { limit = { tag = GRA } eyalet_name_effect = { tag = E11 } }
|
|
67
|
+
if = { limit = { tag = PER } eyalet_name_effect = { tag = E12 } }
|
|
68
|
+
if = { limit = { tag = ADA } eyalet_name_effect = { tag = E13 } }
|
|
69
|
+
if = { limit = { tag = VEN } eyalet_name_effect = { tag = E14 } }
|
|
70
|
+
if = { limit = { tag = GEN } eyalet_name_effect = { tag = E15 } }
|
|
71
|
+
if = { limit = { tag = MOR } eyalet_name_effect = { tag = E16 } }
|
|
72
|
+
if = { limit = { tag = SAV } eyalet_name_effect = { tag = E17 } }
|
|
73
|
+
if = { limit = { tag = YEM } eyalet_name_effect = { tag = E17 } }
|
|
46
74
|
}
|
|
@@ -147,6 +147,28 @@ each_estate_effect = {
|
|
|
147
147
|
$eunuchs_effect$
|
|
148
148
|
]
|
|
149
149
|
}
|
|
150
|
+
if = {
|
|
151
|
+
limit = {
|
|
152
|
+
has_estate = estate_qizilbash
|
|
153
|
+
}
|
|
154
|
+
[[effect]
|
|
155
|
+
$effect$
|
|
156
|
+
]
|
|
157
|
+
[[eunuchs_effect]
|
|
158
|
+
$qizilbash_effect$
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
if = {
|
|
162
|
+
limit = {
|
|
163
|
+
has_estate = estate_ghulams
|
|
164
|
+
}
|
|
165
|
+
[[effect]
|
|
166
|
+
$effect$
|
|
167
|
+
]
|
|
168
|
+
[[eunuchs_effect]
|
|
169
|
+
$ghulams_effect$
|
|
170
|
+
]
|
|
171
|
+
}
|
|
150
172
|
}
|
|
151
173
|
|
|
152
174
|
#Clergy
|
|
@@ -496,6 +518,23 @@ on_religion_change_estate_privileges_effect = {
|
|
|
496
518
|
}
|
|
497
519
|
}
|
|
498
520
|
}
|
|
521
|
+
if = {
|
|
522
|
+
limit = {
|
|
523
|
+
owner = {
|
|
524
|
+
has_estate_privilege = estate_church_muslim_integration
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
if = {
|
|
528
|
+
limit = { religion_group = muslim }
|
|
529
|
+
add_province_modifier = {
|
|
530
|
+
name = estate_church_muslim_integration_mod
|
|
531
|
+
duration = -1
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
else = {
|
|
535
|
+
remove_province_modifier = estate_church_muslim_integration_mod
|
|
536
|
+
}
|
|
537
|
+
}
|
|
499
538
|
}
|
|
500
539
|
|
|
501
540
|
on_secondary_religion_change_estate_privileges_effect = {
|
|
@@ -1045,6 +1084,23 @@ on_province_culture_converted_estate_privilges_effect = {
|
|
|
1045
1084
|
}
|
|
1046
1085
|
}
|
|
1047
1086
|
}
|
|
1087
|
+
if = {
|
|
1088
|
+
limit = {
|
|
1089
|
+
owner = {
|
|
1090
|
+
has_estate_privilege = estate_ghulams_ensure_caucasian_sovereignty
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
if = {
|
|
1094
|
+
limit = { culture_group = caucasian }
|
|
1095
|
+
add_province_modifier = {
|
|
1096
|
+
name = estate_ghulams_ensure_caucasian_sovereignty_mod
|
|
1097
|
+
duration = -1
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
else = {
|
|
1101
|
+
remove_province_modifier = estate_ghulams_ensure_caucasian_sovereignty_mod
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1048
1104
|
}
|
|
1049
1105
|
|
|
1050
1106
|
on_province_owner_change_estate_privileges_effect = {
|
|
@@ -1555,6 +1611,18 @@ on_province_owner_change_estate_privileges_effect = {
|
|
|
1555
1611
|
duration = -1
|
|
1556
1612
|
}
|
|
1557
1613
|
}
|
|
1614
|
+
if = {
|
|
1615
|
+
limit = {
|
|
1616
|
+
owner = {
|
|
1617
|
+
has_estate_privilege = estate_burghers_YEM_coffee_monopoly
|
|
1618
|
+
}
|
|
1619
|
+
trade_goods = coffee
|
|
1620
|
+
}
|
|
1621
|
+
add_province_modifier = {
|
|
1622
|
+
name = estate_burghers_YEM_coffee_monopoly_mod
|
|
1623
|
+
duration = -1
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1558
1626
|
if = {
|
|
1559
1627
|
limit = {
|
|
1560
1628
|
trade_goods = grain
|
|
@@ -1582,6 +1650,33 @@ on_province_owner_change_estate_privileges_effect = {
|
|
|
1582
1650
|
duration = -1
|
|
1583
1651
|
}
|
|
1584
1652
|
}
|
|
1653
|
+
if = {
|
|
1654
|
+
limit = {
|
|
1655
|
+
has_climate = arid
|
|
1656
|
+
owner = {
|
|
1657
|
+
has_estate_privilege = estate_burghers_ARB_oasis_development
|
|
1658
|
+
}
|
|
1659
|
+
}
|
|
1660
|
+
add_province_modifier = {
|
|
1661
|
+
name = ARB_estate_burghers_arid_climate_development
|
|
1662
|
+
duration = -1
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
if = {
|
|
1666
|
+
limit = {
|
|
1667
|
+
OR = {
|
|
1668
|
+
has_terrain = desert
|
|
1669
|
+
has_terrain = coastal_desert
|
|
1670
|
+
}
|
|
1671
|
+
owner = {
|
|
1672
|
+
has_estate_privilege = estate_burghers_ARB_oasis_development
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
add_province_modifier = {
|
|
1676
|
+
name = ARB_estate_burghers_desert
|
|
1677
|
+
duration = -1
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1585
1680
|
if = {
|
|
1586
1681
|
limit = {
|
|
1587
1682
|
religion = animism
|
|
@@ -1982,6 +2077,88 @@ on_province_owner_change_estate_privileges_effect = {
|
|
|
1982
2077
|
}
|
|
1983
2078
|
}
|
|
1984
2079
|
}
|
|
2080
|
+
if = {
|
|
2081
|
+
limit = {
|
|
2082
|
+
owner = {
|
|
2083
|
+
has_estate_privilege = estate_burghers_great_works_of_iran
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2086
|
+
if = {
|
|
2087
|
+
limit = {
|
|
2088
|
+
OR = {
|
|
2089
|
+
region = persia_region
|
|
2090
|
+
region = khorasan_region
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
if = {
|
|
2094
|
+
limit = { has_terrain = mountain }
|
|
2095
|
+
add_province_modifier = { name = turkoman_privilege_mountains duration = -1 }
|
|
2096
|
+
}
|
|
2097
|
+
if = {
|
|
2098
|
+
limit = { has_terrain = highlands }
|
|
2099
|
+
add_province_modifier = { name = turkoman_privilege_highlands duration = -1 }
|
|
2100
|
+
}
|
|
2101
|
+
if = {
|
|
2102
|
+
limit = { has_terrain = desert }
|
|
2103
|
+
add_province_modifier = { name = turkoman_privilege_desert duration = -1 }
|
|
2104
|
+
}
|
|
2105
|
+
if = {
|
|
2106
|
+
limit = { has_terrain = drylands }
|
|
2107
|
+
add_province_modifier = { name = turkoman_privilege_drylands duration = -1 }
|
|
2108
|
+
}
|
|
2109
|
+
}
|
|
2110
|
+
else = {
|
|
2111
|
+
if = {
|
|
2112
|
+
limit = { has_province_modifier = turkoman_privilege_mountains }
|
|
2113
|
+
remove_province_modifier = turkoman_privilege_mountains
|
|
2114
|
+
}
|
|
2115
|
+
if = {
|
|
2116
|
+
limit = { has_province_modifier = turkoman_privilege_highlands }
|
|
2117
|
+
remove_province_modifier = turkoman_privilege_highlands
|
|
2118
|
+
}
|
|
2119
|
+
if = {
|
|
2120
|
+
limit = { has_province_modifier = turkoman_privilege_desert }
|
|
2121
|
+
remove_province_modifier = turkoman_privilege_desert
|
|
2122
|
+
}
|
|
2123
|
+
if = {
|
|
2124
|
+
limit = { has_province_modifier = turkoman_privilege_drylands }
|
|
2125
|
+
remove_province_modifier = turkoman_privilege_drylands
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
if = {
|
|
2130
|
+
limit = {
|
|
2131
|
+
owner = {
|
|
2132
|
+
OR = {
|
|
2133
|
+
has_estate_privilege = estate_nobles_mamlukian_administration
|
|
2134
|
+
has_estate_privilege = estate_ghulams_mamlukian_administration
|
|
2135
|
+
has_estate_privilege = estate_qizilbash_mamlukian_administration
|
|
2136
|
+
}
|
|
2137
|
+
}
|
|
2138
|
+
region = egypt_region
|
|
2139
|
+
}
|
|
2140
|
+
add_province_modifier = {
|
|
2141
|
+
name = mamlukian_administration_modifier
|
|
2142
|
+
duration = -1
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
if = {
|
|
2146
|
+
limit = {
|
|
2147
|
+
owner = {
|
|
2148
|
+
has_estate_privilege = estate_ghulams_ensure_caucasian_sovereignty
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
if = {
|
|
2152
|
+
limit = { culture_group = caucasian }
|
|
2153
|
+
add_province_modifier = {
|
|
2154
|
+
name = estate_ghulams_ensure_caucasian_sovereignty_mod
|
|
2155
|
+
duration = -1
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
else = {
|
|
2159
|
+
remove_province_modifier = estate_ghulams_ensure_caucasian_sovereignty_mod
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
1985
2162
|
}
|
|
1986
2163
|
|
|
1987
2164
|
on_province_tax_building_built_estate_privileges_effect = {
|
|
@@ -2186,6 +2363,31 @@ on_province_tax_building_destroyed_estate_privileges_effect = {
|
|
|
2186
2363
|
}
|
|
2187
2364
|
|
|
2188
2365
|
on_trade_good_changed_estate_privileges_effect = {
|
|
2366
|
+
if = {
|
|
2367
|
+
limit = {
|
|
2368
|
+
has_province_modifier = estate_burghers_persian_rugs_modifier
|
|
2369
|
+
NOT = { trade_goods = silk }
|
|
2370
|
+
NOT = { trade_goods = cloth }
|
|
2371
|
+
NOT = { trade_goods = dyes }
|
|
2372
|
+
}
|
|
2373
|
+
remove_province_modifier = estate_burghers_persian_rugs_modifier
|
|
2374
|
+
}
|
|
2375
|
+
else_if = {
|
|
2376
|
+
limit = {
|
|
2377
|
+
from = { has_estate_privilege = estate_burghers_persian_rugs }
|
|
2378
|
+
NOT = { has_province_modifier = estate_burghers_persian_rugs_modifier }
|
|
2379
|
+
OR = {
|
|
2380
|
+
trade_goods = silk
|
|
2381
|
+
trade_goods = cloth
|
|
2382
|
+
trade_goods = dyes
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
add_province_modifier = {
|
|
2386
|
+
name = estate_burghers_persian_rugs_modifier
|
|
2387
|
+
duration = -1
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
###MONOPOLIES###
|
|
2189
2391
|
if = {
|
|
2190
2392
|
limit = {
|
|
2191
2393
|
has_province_modifier = estate_burghers_monopoly_of_textiles_mod
|
|
@@ -2900,6 +3102,22 @@ scaled_estate_eunuchs = {
|
|
|
2900
3102
|
scaled_estate_land_share_reduce_effect = { estate = estate_eunuchs }
|
|
2901
3103
|
}
|
|
2902
3104
|
|
|
3105
|
+
scaled_estate_qizilbash_land_share_effect = {
|
|
3106
|
+
scaled_estate_land_share_add_effect = { estate = estate_qizilbash }
|
|
3107
|
+
}
|
|
3108
|
+
|
|
3109
|
+
scaled_estate_qizilbash = {
|
|
3110
|
+
scaled_estate_land_share_reduce_effect = { estate = estate_qizilbash }
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
scaled_estate_ghulams_land_share_effect = {
|
|
3114
|
+
scaled_estate_land_share_add_effect = { estate = estate_ghulams }
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3117
|
+
scaled_estate_ghulams = {
|
|
3118
|
+
scaled_estate_land_share_reduce_effect = { estate = estate_ghulams }
|
|
3119
|
+
}
|
|
3120
|
+
|
|
2903
3121
|
#Based on those above, but you can choose which estate you use
|
|
2904
3122
|
#example of usage: scaled_estate_land_share_add_effect = { estate = estate_nobles }
|
|
2905
3123
|
scaled_estate_land_share_add_effect = {
|
|
@@ -3377,6 +3595,46 @@ spawn_rebels_from_unhappy_estate = {
|
|
|
3377
3595
|
as_if_faction = yes
|
|
3378
3596
|
}
|
|
3379
3597
|
}
|
|
3598
|
+
1 = {
|
|
3599
|
+
trigger = {
|
|
3600
|
+
owner = {
|
|
3601
|
+
NOT = { disabled_rebels_from_seized_land_for_estate = { estate = estate_qizilbash } }
|
|
3602
|
+
has_estate = estate_qizilbash
|
|
3603
|
+
NOT = {
|
|
3604
|
+
estate_loyalty = {
|
|
3605
|
+
estate = estate_qizilbash
|
|
3606
|
+
loyalty = 30
|
|
3607
|
+
}
|
|
3608
|
+
}
|
|
3609
|
+
}
|
|
3610
|
+
}
|
|
3611
|
+
spawn_rebels = {
|
|
3612
|
+
type = qizilbash_rebels
|
|
3613
|
+
size = $size$
|
|
3614
|
+
estate = estate_qizilbash
|
|
3615
|
+
as_if_faction = yes
|
|
3616
|
+
}
|
|
3617
|
+
}
|
|
3618
|
+
1 = {
|
|
3619
|
+
trigger = {
|
|
3620
|
+
owner = {
|
|
3621
|
+
NOT = { disabled_rebels_from_seized_land_for_estate = { estate = estate_ghulams } }
|
|
3622
|
+
has_estate = estate_ghulams
|
|
3623
|
+
NOT = {
|
|
3624
|
+
estate_loyalty = {
|
|
3625
|
+
estate = estate_ghulams
|
|
3626
|
+
loyalty = 30
|
|
3627
|
+
}
|
|
3628
|
+
}
|
|
3629
|
+
}
|
|
3630
|
+
}
|
|
3631
|
+
spawn_rebels = {
|
|
3632
|
+
type = ghulams_rebels
|
|
3633
|
+
size = $size$
|
|
3634
|
+
estate = estate_ghulams
|
|
3635
|
+
as_if_faction = yes
|
|
3636
|
+
}
|
|
3637
|
+
}
|
|
3380
3638
|
}
|
|
3381
3639
|
}
|
|
3382
3640
|
}
|
|
@@ -3513,6 +3771,26 @@ pick_random_estate_if_present = {
|
|
|
3513
3771
|
$estate_action$ = estate_eunuchs
|
|
3514
3772
|
]
|
|
3515
3773
|
}
|
|
3774
|
+
1 = {
|
|
3775
|
+
trigger = {
|
|
3776
|
+
has_estate = estate_qizilbash
|
|
3777
|
+
NOT = { has_country_flag = estate_qizilbash_$flag$ }
|
|
3778
|
+
}
|
|
3779
|
+
set_country_flag = estate_qizilbash_$flag$
|
|
3780
|
+
[[estate_action]
|
|
3781
|
+
$estate_action$ = estate_qizilbash
|
|
3782
|
+
]
|
|
3783
|
+
}
|
|
3784
|
+
1 = {
|
|
3785
|
+
trigger = {
|
|
3786
|
+
has_estate = estate_ghulams
|
|
3787
|
+
NOT = { has_country_flag = estate_ghulams_$flag$ }
|
|
3788
|
+
}
|
|
3789
|
+
set_country_flag = estate_ghulams_$flag$
|
|
3790
|
+
[[estate_action]
|
|
3791
|
+
$estate_action$ = estate_ghulams
|
|
3792
|
+
]
|
|
3793
|
+
}
|
|
3516
3794
|
}
|
|
3517
3795
|
}
|
|
3518
3796
|
|
|
@@ -3702,6 +3980,8 @@ re_add_loyalty_from_seized_land = {
|
|
|
3702
3980
|
if = { limit = { estate_has_exempt_from_seize_land_privilege = { estate = estate_vaisyas } } add_estate_loyalty = { estate = estate_vaisyas loyalty = 15 } }
|
|
3703
3981
|
if = { limit = { estate_has_exempt_from_seize_land_privilege = { estate = estate_janissaries } } add_estate_loyalty = { estate = estate_janissaries loyalty = 15 } }
|
|
3704
3982
|
if = { limit = { estate_has_exempt_from_seize_land_privilege = { estate = estate_eunuchs } } add_estate_loyalty = { estate = estate_eunuchs loyalty = 15 } }
|
|
3983
|
+
if = { limit = { estate_has_exempt_from_seize_land_privilege = { estate = estate_qizilbash } } add_estate_loyalty = { estate = estate_qizilbash loyalty = 15 } }
|
|
3984
|
+
if = { limit = { estate_has_exempt_from_seize_land_privilege = { estate = estate_ghulams } } add_estate_loyalty = { estate = estate_ghulams loyalty = 15 } }
|
|
3705
3985
|
}
|
|
3706
3986
|
else = {
|
|
3707
3987
|
if = { limit = { estate_has_exempt_from_seize_land_privilege = { estate = estate_nobles } } add_estate_loyalty = { estate = estate_nobles loyalty = 20 } }
|
|
@@ -3717,6 +3997,8 @@ re_add_loyalty_from_seized_land = {
|
|
|
3717
3997
|
if = { limit = { estate_has_exempt_from_seize_land_privilege = { estate = estate_vaisyas } } add_estate_loyalty = { estate = estate_vaisyas loyalty = 20 } }
|
|
3718
3998
|
if = { limit = { estate_has_exempt_from_seize_land_privilege = { estate = estate_janissaries } } add_estate_loyalty = { estate = estate_janissaries loyalty = 20 } }
|
|
3719
3999
|
if = { limit = { estate_has_exempt_from_seize_land_privilege = { estate = estate_eunuchs } } add_estate_loyalty = { estate = estate_eunuchs loyalty = 20 } }
|
|
4000
|
+
if = { limit = { estate_has_exempt_from_seize_land_privilege = { estate = estate_qizilbash } } add_estate_loyalty = { estate = estate_qizilbash loyalty = 20 } }
|
|
4001
|
+
if = { limit = { estate_has_exempt_from_seize_land_privilege = { estate = estate_ghulams } } add_estate_loyalty = { estate = estate_ghulams loyalty = 20 } }
|
|
3720
4002
|
}
|
|
3721
4003
|
}
|
|
3722
4004
|
}
|
|
@@ -4193,6 +4475,8 @@ estate_action_tradition = {
|
|
|
4193
4475
|
# estate_vaisyas
|
|
4194
4476
|
# estate_janissaries
|
|
4195
4477
|
# estate_eunuchs
|
|
4478
|
+
# estate_qizilbash
|
|
4479
|
+
# estate_ghulams
|
|
4196
4480
|
# all - disables ALL rebels from seized land
|
|
4197
4481
|
disable_rebels_from_seize_land_for_estate = {
|
|
4198
4482
|
custom_tooltip = disable_rebels_from_seize_land_for_$estate$
|
|
@@ -4216,6 +4500,8 @@ disable_rebels_from_seize_land_for_estate = {
|
|
|
4216
4500
|
# estate_vaisyas
|
|
4217
4501
|
# estate_janissaries
|
|
4218
4502
|
# estate_eunuchs
|
|
4503
|
+
# estate_qizilbash
|
|
4504
|
+
# estate_ghulams
|
|
4219
4505
|
# all - auto completes for every estate agenda
|
|
4220
4506
|
auto_complete_estate_agenda = {
|
|
4221
4507
|
custom_tooltip = auto_complete_estate_agenda_$estate$_tt
|
|
@@ -4239,6 +4525,8 @@ clr_auto_complete_flag = {
|
|
|
4239
4525
|
clr_country_flag = auto_complete_estate_agenda_estate_vaisyas
|
|
4240
4526
|
clr_country_flag = auto_complete_estate_agenda_estate_janissaries
|
|
4241
4527
|
clr_country_flag = auto_complete_estate_agenda_estate_eunuchs
|
|
4528
|
+
clr_country_flag = auto_complete_estate_agenda_estate_qizilbash
|
|
4529
|
+
clr_country_flag = auto_complete_estate_agenda_estate_ghulams
|
|
4242
4530
|
clr_country_flag = auto_complete_estate_agenda_all
|
|
4243
4531
|
}
|
|
4244
4532
|
}
|
|
@@ -4270,7 +4558,12 @@ on_completed_agenda_effect_estate_church = {
|
|
|
4270
4558
|
change_statists_vs_orangists = -0.05
|
|
4271
4559
|
}
|
|
4272
4560
|
}
|
|
4273
|
-
on_completed_agenda_effect_estate_cossacks = {
|
|
4561
|
+
on_completed_agenda_effect_estate_cossacks = {
|
|
4562
|
+
if = {
|
|
4563
|
+
limit = { has_government_attribute = theocratic_monarchy_mechanic }
|
|
4564
|
+
change_statists_vs_orangists = 0.05
|
|
4565
|
+
}
|
|
4566
|
+
}
|
|
4274
4567
|
on_completed_agenda_effect_estate_dhimmi = {}
|
|
4275
4568
|
on_completed_agenda_effect_estate_jains = {}
|
|
4276
4569
|
on_completed_agenda_effect_estate_maratha = {
|
|
@@ -4279,7 +4572,12 @@ on_completed_agenda_effect_estate_maratha = {
|
|
|
4279
4572
|
change_statists_vs_orangists = 0.05
|
|
4280
4573
|
}
|
|
4281
4574
|
}
|
|
4282
|
-
on_completed_agenda_effect_estate_nomadic_tribes = {
|
|
4575
|
+
on_completed_agenda_effect_estate_nomadic_tribes = {
|
|
4576
|
+
if = {
|
|
4577
|
+
limit = { has_government_attribute = theocratic_monarchy_mechanic }
|
|
4578
|
+
change_statists_vs_orangists = 0.05
|
|
4579
|
+
}
|
|
4580
|
+
}
|
|
4283
4581
|
on_completed_agenda_effect_estate_rajput = {
|
|
4284
4582
|
if = {
|
|
4285
4583
|
limit = { has_government_attribute = theocratic_monarchy_mechanic }
|
|
@@ -4287,8 +4585,25 @@ on_completed_agenda_effect_estate_rajput = {
|
|
|
4287
4585
|
}
|
|
4288
4586
|
}
|
|
4289
4587
|
on_completed_agenda_effect_estate_vaisyas = {}
|
|
4290
|
-
on_completed_agenda_effect_estate_janissaries = {
|
|
4588
|
+
on_completed_agenda_effect_estate_janissaries = {
|
|
4589
|
+
if = {
|
|
4590
|
+
limit = { has_government_attribute = theocratic_monarchy_mechanic }
|
|
4591
|
+
change_statists_vs_orangists = 0.05
|
|
4592
|
+
}
|
|
4593
|
+
}
|
|
4291
4594
|
on_completed_agenda_effect_estate_eunuchs = {}
|
|
4595
|
+
on_completed_agenda_effect_estate_qizilbash = {
|
|
4596
|
+
if = {
|
|
4597
|
+
limit = { has_government_attribute = theocratic_monarchy_mechanic }
|
|
4598
|
+
change_statists_vs_orangists = 0.05
|
|
4599
|
+
}
|
|
4600
|
+
}
|
|
4601
|
+
on_completed_agenda_effect_estate_ghulams = {
|
|
4602
|
+
if = {
|
|
4603
|
+
limit = { has_government_attribute = theocratic_monarchy_mechanic }
|
|
4604
|
+
change_statists_vs_orangists = 0.05
|
|
4605
|
+
}
|
|
4606
|
+
}
|
|
4292
4607
|
|
|
4293
4608
|
on_completed_agenda_effect = {
|
|
4294
4609
|
on_completed_agenda_effect_$estate$ = yes
|
|
@@ -4415,6 +4730,20 @@ add_estate_loyalty_by_class_mil = {
|
|
|
4415
4730
|
loyalty = $loyalty$
|
|
4416
4731
|
}
|
|
4417
4732
|
}
|
|
4733
|
+
if = {
|
|
4734
|
+
limit = { has_estate = estate_qizilbash }
|
|
4735
|
+
add_estate_loyalty = {
|
|
4736
|
+
estate = estate_qizilbash
|
|
4737
|
+
loyalty = $loyalty$
|
|
4738
|
+
}
|
|
4739
|
+
}
|
|
4740
|
+
if = {
|
|
4741
|
+
limit = { has_estate = estate_ghulams }
|
|
4742
|
+
add_estate_loyalty = {
|
|
4743
|
+
estate = estate_ghulams
|
|
4744
|
+
loyalty = $loyalty$
|
|
4745
|
+
}
|
|
4746
|
+
}
|
|
4418
4747
|
}
|
|
4419
4748
|
|
|
4420
4749
|
|
|
@@ -5296,6 +5625,24 @@ estate_action_CALL_DIET_NOBLES = {
|
|
|
5296
5625
|
loyalty = -15
|
|
5297
5626
|
}
|
|
5298
5627
|
}
|
|
5628
|
+
if = {
|
|
5629
|
+
limit = {
|
|
5630
|
+
has_estate = estate_ghulams
|
|
5631
|
+
}
|
|
5632
|
+
add_estate_loyalty = {
|
|
5633
|
+
estate = estate_ghulams
|
|
5634
|
+
loyalty = -15
|
|
5635
|
+
}
|
|
5636
|
+
}
|
|
5637
|
+
if = {
|
|
5638
|
+
limit = {
|
|
5639
|
+
has_estate = estate_qizilbash
|
|
5640
|
+
}
|
|
5641
|
+
add_estate_loyalty = {
|
|
5642
|
+
estate = estate_qizilbash
|
|
5643
|
+
loyalty = -15
|
|
5644
|
+
}
|
|
5645
|
+
}
|
|
5299
5646
|
}
|
|
5300
5647
|
estate_action_GRANT_GENERALSHIP_NOBLES = {
|
|
5301
5648
|
create_leader_scaling_with_tradition = {
|
|
@@ -5330,6 +5677,24 @@ estate_action_GRANT_GENERALSHIP_NOBLES = {
|
|
|
5330
5677
|
loyalty = -5
|
|
5331
5678
|
}
|
|
5332
5679
|
}
|
|
5680
|
+
if = {
|
|
5681
|
+
limit = {
|
|
5682
|
+
has_estate = estate_qizilbash
|
|
5683
|
+
}
|
|
5684
|
+
add_estate_loyalty = {
|
|
5685
|
+
estate = estate_qizilbash
|
|
5686
|
+
loyalty = -5
|
|
5687
|
+
}
|
|
5688
|
+
}
|
|
5689
|
+
if = {
|
|
5690
|
+
limit = {
|
|
5691
|
+
has_estate = estate_ghulams
|
|
5692
|
+
}
|
|
5693
|
+
add_estate_loyalty = {
|
|
5694
|
+
estate = estate_ghulams
|
|
5695
|
+
loyalty = -5
|
|
5696
|
+
}
|
|
5697
|
+
}
|
|
5333
5698
|
}
|
|
5334
5699
|
estate_action_RECRUIT_CONQUISTADOR_ESTATES_NOBLES = {
|
|
5335
5700
|
create_leader_scaling_with_tradition = {
|
|
@@ -5390,6 +5755,24 @@ estate_action_RECRUIT_MINISTER_NOBLES = {
|
|
|
5390
5755
|
loyalty = -5
|
|
5391
5756
|
}
|
|
5392
5757
|
}
|
|
5758
|
+
if = {
|
|
5759
|
+
limit = {
|
|
5760
|
+
has_estate = estate_qizilbash
|
|
5761
|
+
}
|
|
5762
|
+
add_estate_loyalty = {
|
|
5763
|
+
estate = estate_qizilbash
|
|
5764
|
+
loyalty = -5
|
|
5765
|
+
}
|
|
5766
|
+
}
|
|
5767
|
+
if = {
|
|
5768
|
+
limit = {
|
|
5769
|
+
has_estate = estate_ghulams
|
|
5770
|
+
}
|
|
5771
|
+
add_estate_loyalty = {
|
|
5772
|
+
estate = estate_ghulams
|
|
5773
|
+
loyalty = -5
|
|
5774
|
+
}
|
|
5775
|
+
}
|
|
5393
5776
|
}
|
|
5394
5777
|
estate_action_DEMAND_MORE_TROOPS_NOBLES = {
|
|
5395
5778
|
#estate_action_yearly_manpower = {
|
|
@@ -5599,8 +5982,8 @@ estate_action_ASK_FOR_CONTRIBUTION_VAISYAS = {
|
|
|
5599
5982
|
# estate = estate_vaisyas
|
|
5600
5983
|
#}
|
|
5601
5984
|
estate_action_scaling_modifier = {
|
|
5602
|
-
estate =
|
|
5603
|
-
name =
|
|
5985
|
+
estate = estate_vaisyas
|
|
5986
|
+
name = ASK_FOR_CONTRIBUTION_VAISYAS
|
|
5604
5987
|
duration = 3650
|
|
5605
5988
|
}
|
|
5606
5989
|
add_estate_loyalty = {
|
|
@@ -5659,6 +6042,73 @@ estate_action_COMISSION_MERCHANT_SHIPS_FOR_WAR_VAISYAS = {
|
|
|
5659
6042
|
type = heavy_ship
|
|
5660
6043
|
}
|
|
5661
6044
|
}
|
|
6045
|
+
estate_action_GRANT_QIZILBASH_HORSES = {
|
|
6046
|
+
capital_scope = {
|
|
6047
|
+
create_units_of_type_in_province = {
|
|
6048
|
+
custom_tooltip = 4_QIZILBASH_CAVALRY_FOR_ROOT
|
|
6049
|
+
amount = 4
|
|
6050
|
+
unit_type = qizilbash_cavalry
|
|
6051
|
+
who = root
|
|
6052
|
+
}
|
|
6053
|
+
}
|
|
6054
|
+
add_estate_influence_modifier = {
|
|
6055
|
+
estate = estate_qizilbash
|
|
6056
|
+
desc = EST_GRANT_QIZILBASH_HORSES
|
|
6057
|
+
influence = 10
|
|
6058
|
+
duration = 7300
|
|
6059
|
+
}
|
|
6060
|
+
auto_complete_estate_agenda = {
|
|
6061
|
+
estate = estate_qizilbash
|
|
6062
|
+
}
|
|
6063
|
+
if = {
|
|
6064
|
+
limit = {
|
|
6065
|
+
has_estate = estate_ghulams
|
|
6066
|
+
}
|
|
6067
|
+
add_estate_loyalty = {
|
|
6068
|
+
estate = estate_ghulams
|
|
6069
|
+
loyalty = -15
|
|
6070
|
+
}
|
|
6071
|
+
}
|
|
6072
|
+
if = {
|
|
6073
|
+
limit = {
|
|
6074
|
+
has_estate = estate_nobles
|
|
6075
|
+
}
|
|
6076
|
+
add_estate_loyalty = {
|
|
6077
|
+
estate = estate_nobles
|
|
6078
|
+
loyalty = -15
|
|
6079
|
+
}
|
|
6080
|
+
}
|
|
6081
|
+
}
|
|
6082
|
+
estate_action_PROMOTE_CAUCASIAN_TROOPS = {
|
|
6083
|
+
add_yearly_manpower = 0.5
|
|
6084
|
+
add_estate_influence_modifier = {
|
|
6085
|
+
estate = estate_ghulams
|
|
6086
|
+
desc = EST_PROMOTE_CAUCASIAN_TROOPS
|
|
6087
|
+
influence = 10
|
|
6088
|
+
duration = 7300
|
|
6089
|
+
}
|
|
6090
|
+
auto_complete_estate_agenda = {
|
|
6091
|
+
estate = estate_ghulams
|
|
6092
|
+
}
|
|
6093
|
+
if = {
|
|
6094
|
+
limit = {
|
|
6095
|
+
has_estate = estate_nobles
|
|
6096
|
+
}
|
|
6097
|
+
add_estate_loyalty = {
|
|
6098
|
+
estate = estate_nobles
|
|
6099
|
+
loyalty = -15
|
|
6100
|
+
}
|
|
6101
|
+
}
|
|
6102
|
+
if = {
|
|
6103
|
+
limit = {
|
|
6104
|
+
has_estate = estate_qizilbash
|
|
6105
|
+
}
|
|
6106
|
+
add_estate_loyalty = {
|
|
6107
|
+
estate = estate_qizilbash
|
|
6108
|
+
loyalty = -15
|
|
6109
|
+
}
|
|
6110
|
+
}
|
|
6111
|
+
}
|
|
5662
6112
|
|
|
5663
6113
|
# Supports the following paramters
|
|
5664
6114
|
###########################################
|
|
@@ -5723,6 +6173,8 @@ estate_action_COMISSION_MERCHANT_SHIPS_FOR_WAR_VAISYAS = {
|
|
|
5723
6173
|
# SEEK_GUILD_SUPPORT_VAISYAS
|
|
5724
6174
|
# RECRUIT_MINISTER_VAISYAS
|
|
5725
6175
|
# COMISSION_MERCHANT_SHIPS_FOR_WAR_VAISYAS
|
|
6176
|
+
# GRANT_QIZILBASH_HORSES
|
|
6177
|
+
# PROMOTE_CAUCASIAN_TROOPS
|
|
5726
6178
|
estate_action = {
|
|
5727
6179
|
estate_action_$estate_action$ = yes
|
|
5728
6180
|
}
|
|
@@ -5816,4 +6268,133 @@ unblock_estate_removing_reforms = {
|
|
|
5816
6268
|
hidden_effect = {
|
|
5817
6269
|
clr_country_flag = block_$estate$_removing_reform
|
|
5818
6270
|
}
|
|
6271
|
+
}
|
|
6272
|
+
|
|
6273
|
+
#Just write here a custom tooltip
|
|
6274
|
+
transfer_crownland_share = {
|
|
6275
|
+
if = {
|
|
6276
|
+
limit = {
|
|
6277
|
+
has_estate = $from_estate$
|
|
6278
|
+
has_estate = $target_estate$
|
|
6279
|
+
}
|
|
6280
|
+
[[custom_tooltip]custom_tooltip = $custom_tooltip$]
|
|
6281
|
+
hidden_effect = {
|
|
6282
|
+
set_variable = {
|
|
6283
|
+
which = amount_to_transfer
|
|
6284
|
+
value = $amount$
|
|
6285
|
+
}
|
|
6286
|
+
while = {
|
|
6287
|
+
limit = { check_variable = { which = amount_to_transfer value = 1 } }
|
|
6288
|
+
change_estate_land_share = { estate = $from_estate$ share = -1 }
|
|
6289
|
+
change_estate_land_share = { estate = $target_estate$ share = 1 }
|
|
6290
|
+
change_variable = { which = amount_to_transfer value = -1 }
|
|
6291
|
+
}
|
|
6292
|
+
}
|
|
6293
|
+
}
|
|
6294
|
+
}
|
|
6295
|
+
|
|
6296
|
+
transfer_percentage_crownland_share = {
|
|
6297
|
+
if = {
|
|
6298
|
+
limit = {
|
|
6299
|
+
has_estate = $from_estate$
|
|
6300
|
+
has_estate = $target_estate$
|
|
6301
|
+
}
|
|
6302
|
+
[[custom_tooltip]custom_tooltip = $custom_tooltip$]
|
|
6303
|
+
hidden_effect = {
|
|
6304
|
+
set_variable = {
|
|
6305
|
+
which = crownland_to_transfer
|
|
6306
|
+
value = 0
|
|
6307
|
+
}
|
|
6308
|
+
set_variable = {
|
|
6309
|
+
which = transferable_crownland
|
|
6310
|
+
value = 0
|
|
6311
|
+
}
|
|
6312
|
+
set_variable = {
|
|
6313
|
+
which = percentage_multiplier
|
|
6314
|
+
value = $amount$
|
|
6315
|
+
}
|
|
6316
|
+
#Calc how much in total Crownland there is to transfer
|
|
6317
|
+
while = {
|
|
6318
|
+
limit = { estate_territory = { estate = $from_estate$ territory = 1 } }
|
|
6319
|
+
change_estate_land_share = { estate = $from_estate$ share = -1 }
|
|
6320
|
+
change_variable = { which = transferable_crownland value = 1 }
|
|
6321
|
+
change_variable = { which = crownland_to_transfer value = 1 }
|
|
6322
|
+
}
|
|
6323
|
+
#Restore the stolen crownland
|
|
6324
|
+
while = {
|
|
6325
|
+
limit = { check_variable = { which = transferable_crownland value = 1 } }
|
|
6326
|
+
change_estate_land_share = { estate = $from_estate$ share = 1 }
|
|
6327
|
+
change_variable = { which = transferable_crownland value = -1 }
|
|
6328
|
+
}
|
|
6329
|
+
#Use the multiplier and then transfer the actual percentage of crownland
|
|
6330
|
+
multiply_variable = {
|
|
6331
|
+
which = crownland_to_transfer
|
|
6332
|
+
which = percentage_multiplier
|
|
6333
|
+
}
|
|
6334
|
+
while = {
|
|
6335
|
+
limit = { check_variable = { which = crownland_to_transfer value = 1 } }
|
|
6336
|
+
change_estate_land_share = { estate = $target_estate$ share = 1 }
|
|
6337
|
+
change_estate_land_share = { estate = $from_estate$ share = -1 }
|
|
6338
|
+
change_variable = { which = crownland_to_transfer value = -1 }
|
|
6339
|
+
}
|
|
6340
|
+
}
|
|
6341
|
+
}
|
|
6342
|
+
}
|
|
6343
|
+
|
|
6344
|
+
# Supports the following parameters
|
|
6345
|
+
###########################################
|
|
6346
|
+
# estate_nobles
|
|
6347
|
+
# estate_brahmins
|
|
6348
|
+
# estate_burghers
|
|
6349
|
+
# estate_church
|
|
6350
|
+
# estate_cossacks
|
|
6351
|
+
# estate_dhimmi
|
|
6352
|
+
# estate_jains
|
|
6353
|
+
# estate_maratha
|
|
6354
|
+
# estate_nomadic_tribes
|
|
6355
|
+
# estate_rajput
|
|
6356
|
+
# estate_vaisyas
|
|
6357
|
+
# estate_janissaries
|
|
6358
|
+
# estate_eunuchs
|
|
6359
|
+
# estate_qizilbash
|
|
6360
|
+
# estate_ghulams
|
|
6361
|
+
# all - have ALL of them available
|
|
6362
|
+
select_grand_vizier_from_estate = {
|
|
6363
|
+
custom_tooltip = select_grand_vizier_from_estate_$estate$_tt
|
|
6364
|
+
add_estate_loyalty = {
|
|
6365
|
+
estate = $estate$
|
|
6366
|
+
loyalty = 10
|
|
6367
|
+
}
|
|
6368
|
+
add_estate_influence_modifier = {
|
|
6369
|
+
desc = GRAND_VIZIER_FROM_ESTATE
|
|
6370
|
+
estate = $estate$
|
|
6371
|
+
influence = 5
|
|
6372
|
+
duration = 3650
|
|
6373
|
+
short = yes
|
|
6374
|
+
}
|
|
6375
|
+
hidden_effect = {
|
|
6376
|
+
set_country_flag = selected_$type$_advisor
|
|
6377
|
+
set_country_flag = selected_grand_vizier_from_$estate$
|
|
6378
|
+
country_event = {
|
|
6379
|
+
id = estate_privileges_and_agendas_events.9
|
|
6380
|
+
}
|
|
6381
|
+
}
|
|
6382
|
+
}
|
|
6383
|
+
clr_grand_vizier_flags = {
|
|
6384
|
+
clr_country_flag = selected_grand_vizier_from_estate_nobles
|
|
6385
|
+
clr_country_flag = selected_grand_vizier_from_estate_brahmins
|
|
6386
|
+
clr_country_flag = selected_grand_vizier_from_estate_burghers
|
|
6387
|
+
clr_country_flag = selected_grand_vizier_from_estate_church
|
|
6388
|
+
clr_country_flag = selected_grand_vizier_from_estate_cossacks
|
|
6389
|
+
clr_country_flag = selected_grand_vizier_from_estate_dhimmi
|
|
6390
|
+
clr_country_flag = selected_grand_vizier_from_estate_jains
|
|
6391
|
+
clr_country_flag = selected_grand_vizier_from_estate_maratha
|
|
6392
|
+
clr_country_flag = selected_grand_vizier_from_estate_nomadic_tribes
|
|
6393
|
+
clr_country_flag = selected_grand_vizier_from_estate_rajput
|
|
6394
|
+
clr_country_flag = selected_grand_vizier_from_estate_vaisyas
|
|
6395
|
+
clr_country_flag = selected_grand_vizier_from_estate_janissaries
|
|
6396
|
+
clr_country_flag = selected_grand_vizier_from_estate_eunuchs
|
|
6397
|
+
clr_country_flag = selected_grand_vizier_from_estate_qizilbash
|
|
6398
|
+
clr_country_flag = selected_grand_vizier_from_estate_ghulams
|
|
6399
|
+
clr_country_flag = selected_grand_vizier_from_all
|
|
5819
6400
|
}
|
|
@@ -283,11 +283,19 @@ on_new_monarch_effect = {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
if = {
|
|
286
|
-
limit = {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
286
|
+
limit = {
|
|
287
|
+
has_government_attribute = civil_war_on_every_new_ruler
|
|
288
|
+
NOT = { has_ruler_flag = civil_war_exempt } #Konstantinos
|
|
289
|
+
}
|
|
290
|
+
if = {
|
|
291
|
+
limit = {
|
|
292
|
+
NOT = { total_development = 100 }
|
|
293
|
+
}
|
|
294
|
+
capital_scope = {
|
|
295
|
+
spawn_rebels = {
|
|
296
|
+
type = pretender_rebels
|
|
297
|
+
size = 1
|
|
298
|
+
}
|
|
291
299
|
}
|
|
292
300
|
}
|
|
293
301
|
}
|
|
@@ -1652,6 +1660,34 @@ on_province_religion_converted_effect = {
|
|
|
1652
1660
|
limit = { owner = { has_government_attribute = theocratic_monarchy_mechanic } }
|
|
1653
1661
|
owner = { change_statists_vs_orangists = -0.01 }
|
|
1654
1662
|
}
|
|
1663
|
+
if = {
|
|
1664
|
+
limit = {
|
|
1665
|
+
owner = {
|
|
1666
|
+
has_government_mechanic = the_three_royal_fires_mechanic
|
|
1667
|
+
NOT = { has_country_flag = removed_asha_vahishta_loss_from_missionaries }
|
|
1668
|
+
}
|
|
1669
|
+
has_owner_religion = yes
|
|
1670
|
+
}
|
|
1671
|
+
export_to_variable = {
|
|
1672
|
+
which = province_dev
|
|
1673
|
+
value = development
|
|
1674
|
+
}
|
|
1675
|
+
while = {
|
|
1676
|
+
limit = {
|
|
1677
|
+
check_variable = {
|
|
1678
|
+
which = province_dev
|
|
1679
|
+
value = 1
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
subtract_variable = {
|
|
1683
|
+
which = province_dev
|
|
1684
|
+
value = 1
|
|
1685
|
+
}
|
|
1686
|
+
owner = {
|
|
1687
|
+
change_asha_vahishta = { value = -1 }
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1655
1691
|
}
|
|
1656
1692
|
|
|
1657
1693
|
on_trade_good_changed_government_effect = {
|
|
@@ -2033,6 +2069,182 @@ judaism_on_province_culture_converted_effect = {
|
|
|
2033
2069
|
}
|
|
2034
2070
|
}
|
|
2035
2071
|
|
|
2072
|
+
on_religion_change_effect = {
|
|
2073
|
+
###removes catholic modifiers
|
|
2074
|
+
remove_country_modifier = counter_reformation
|
|
2075
|
+
remove_country_modifier = the_statue_in_restraint_of_appeals
|
|
2076
|
+
remove_country_modifier = revocation_of_restraint_of_appeals
|
|
2077
|
+
remove_country_modifier = bavarian_jesuits
|
|
2078
|
+
remove_country_modifier = the_societas_jesu
|
|
2079
|
+
remove_country_modifier = the_declaration_of_indulgence
|
|
2080
|
+
remove_country_modifier = de_heretico_comburendo
|
|
2081
|
+
remove_country_modifier = the_conventicle_act
|
|
2082
|
+
if = {
|
|
2083
|
+
limit = {
|
|
2084
|
+
has_reform = indian_sultanate_reform
|
|
2085
|
+
NOT = { religion_group = muslim }
|
|
2086
|
+
}
|
|
2087
|
+
remove_government_reform = indian_sultanate_reform
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2090
|
+
if = {
|
|
2091
|
+
limit = {
|
|
2092
|
+
has_reform = feudal_theocracy
|
|
2093
|
+
NOT = { religion_group = muslim }
|
|
2094
|
+
NOT = { religion_group = zoroastrian_group }
|
|
2095
|
+
}
|
|
2096
|
+
remove_government_reform = feudal_theocracy
|
|
2097
|
+
}
|
|
2098
|
+
|
|
2099
|
+
if = {
|
|
2100
|
+
limit = {
|
|
2101
|
+
government = native
|
|
2102
|
+
OR = {
|
|
2103
|
+
religion = nahuatl
|
|
2104
|
+
religion = mesoamerican_religion
|
|
2105
|
+
religion = inti
|
|
2106
|
+
}
|
|
2107
|
+
}
|
|
2108
|
+
change_government = monarchy
|
|
2109
|
+
add_government_reform = autocracy_reform
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
|
|
2113
|
+
if = {
|
|
2114
|
+
limit = {
|
|
2115
|
+
has_heir = yes
|
|
2116
|
+
}
|
|
2117
|
+
set_heir_religion = ROOT
|
|
2118
|
+
}
|
|
2119
|
+
if = {
|
|
2120
|
+
limit = {
|
|
2121
|
+
has_regency = no
|
|
2122
|
+
}
|
|
2123
|
+
set_ruler_religion = ROOT
|
|
2124
|
+
}
|
|
2125
|
+
if = {
|
|
2126
|
+
limit = {
|
|
2127
|
+
has_dlc = "Rights of Man"
|
|
2128
|
+
has_consort = yes
|
|
2129
|
+
}
|
|
2130
|
+
set_consort_religion = ROOT
|
|
2131
|
+
}
|
|
2132
|
+
if = {
|
|
2133
|
+
limit = {
|
|
2134
|
+
NOT = { religion = orthodox }
|
|
2135
|
+
}
|
|
2136
|
+
every_known_country = {
|
|
2137
|
+
limit = {
|
|
2138
|
+
reverse_has_opinion_modifier = {
|
|
2139
|
+
who = ROOT
|
|
2140
|
+
modifier = closed_down_the_patriarchate
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
reverse_remove_opinion = {
|
|
2144
|
+
who = ROOT
|
|
2145
|
+
modifier = closed_down_the_patriarchate
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
if = {
|
|
2150
|
+
limit = {
|
|
2151
|
+
religion = catholic
|
|
2152
|
+
has_ruler_flag = personal_catholic_sympathies
|
|
2153
|
+
}
|
|
2154
|
+
country_event = { id = protestantism_events.19 }
|
|
2155
|
+
}
|
|
2156
|
+
if = {
|
|
2157
|
+
limit = {
|
|
2158
|
+
religion = protestant
|
|
2159
|
+
}
|
|
2160
|
+
set_country_flag = converted_to_protestantism
|
|
2161
|
+
}
|
|
2162
|
+
if = {
|
|
2163
|
+
limit = {
|
|
2164
|
+
religion = hussite
|
|
2165
|
+
}
|
|
2166
|
+
remove_country_modifier = hussite_persecution
|
|
2167
|
+
}
|
|
2168
|
+
if = {
|
|
2169
|
+
limit = { has_country_modifier = bav_religious_mandate_mod }
|
|
2170
|
+
remove_country_modifier = bav_religious_mandate_mod
|
|
2171
|
+
}
|
|
2172
|
+
add_country_modifier = {
|
|
2173
|
+
name = recently_changed_religion_dummy
|
|
2174
|
+
duration = 10
|
|
2175
|
+
hidden = yes
|
|
2176
|
+
}
|
|
2177
|
+
if = {
|
|
2178
|
+
limit = {
|
|
2179
|
+
NOT = { religion_group = muslim }
|
|
2180
|
+
any_owned_province = { has_province_modifier = sufi_shrine }
|
|
2181
|
+
}
|
|
2182
|
+
every_owned_province = {
|
|
2183
|
+
limit = { has_province_modifier = sufi_shrine }
|
|
2184
|
+
remove_province_modifier = sufi_shrine
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
if = {
|
|
2188
|
+
limit = {
|
|
2189
|
+
religion = shamanism
|
|
2190
|
+
has_country_modifier = son_fetishism_as_secondary_religion
|
|
2191
|
+
}
|
|
2192
|
+
remove_country_modifier = son_fetishism_as_secondary_religion
|
|
2193
|
+
every_owned_province = {
|
|
2194
|
+
limit = {
|
|
2195
|
+
has_province_modifier = son_fetishism_as_secondary_religion_province
|
|
2196
|
+
}
|
|
2197
|
+
remove_province_modifier = son_fetishism_as_secondary_religion_province
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
if = {
|
|
2201
|
+
limit = {
|
|
2202
|
+
has_country_flag = fra_papal_lap_dop_flag
|
|
2203
|
+
}
|
|
2204
|
+
clr_country_flag = fra_papal_lap_dop_flag
|
|
2205
|
+
set_country_flag = fra_chose_to_piss_off_pope_flag
|
|
2206
|
+
swap_non_generic_missions = yes
|
|
2207
|
+
remove_country_modifier = fra_catholic_head_of_state_modifier
|
|
2208
|
+
remove_country_modifier = fra_fervent_call_to_arms_modifier
|
|
2209
|
+
clr_country_flag = enable_holy_orders_flag
|
|
2210
|
+
if = {
|
|
2211
|
+
limit = {
|
|
2212
|
+
KOJ = { is_subject_of = ROOT }
|
|
2213
|
+
}
|
|
2214
|
+
KOJ = { add_liberty_desire = 25 }
|
|
2215
|
+
}
|
|
2216
|
+
remove_country_modifier = fra_sword_of_christianity_modifier
|
|
2217
|
+
remove_country_modifier = fra_sword_of_christianity_modifier2
|
|
2218
|
+
remove_country_modifier = fra_sword_of_christianity_modifier3
|
|
2219
|
+
remove_country_modifier = fra_sword_of_christianity_modifier4
|
|
2220
|
+
remove_country_modifier = fra_sword_of_christianity_modifier5
|
|
2221
|
+
remove_country_modifier = fra_jerusalem_modifier
|
|
2222
|
+
}
|
|
2223
|
+
if = {
|
|
2224
|
+
limit = {
|
|
2225
|
+
has_government_mechanic = persian_influence_mechanic
|
|
2226
|
+
num_of_subjects = 1
|
|
2227
|
+
any_subject_country = {
|
|
2228
|
+
is_subject_of_type = cultural_sphere_of_influence_subject
|
|
2229
|
+
NOT = { religion = root }
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2232
|
+
country_event = {
|
|
2233
|
+
id = persian_influence_events.2000
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
if = {
|
|
2237
|
+
limit = {
|
|
2238
|
+
is_subject = yes
|
|
2239
|
+
is_subject_of_type = cultural_sphere_of_influence_subject
|
|
2240
|
+
overlord = { NOT = { religion = root } }
|
|
2241
|
+
}
|
|
2242
|
+
country_event = {
|
|
2243
|
+
id = persian_influence_events.1000
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2036
2248
|
#Country effect
|
|
2037
2249
|
judaism_on_religion_change_effect = {
|
|
2038
2250
|
every_owned_province = {
|
|
@@ -2049,6 +2261,25 @@ judaism_on_religion_change_effect = {
|
|
|
2049
2261
|
}
|
|
2050
2262
|
}
|
|
2051
2263
|
|
|
2264
|
+
on_culture_demoted_effect_free_slot_removal = {
|
|
2265
|
+
if = {
|
|
2266
|
+
limit = {
|
|
2267
|
+
has_country_modifier = free_slot_for_$culture$
|
|
2268
|
+
NOT = { accepted_culture = $culture$ }
|
|
2269
|
+
NOT = { primary_culture = $culture$ }
|
|
2270
|
+
}
|
|
2271
|
+
remove_country_modifier = free_slot_for_$culture$
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
on_culture_demoted_effect_remove_all_free_slots = {
|
|
2276
|
+
on_culture_demoted_effect_free_slot_removal = { culture = armenian }
|
|
2277
|
+
on_culture_demoted_effect_free_slot_removal = { culture = georgian }
|
|
2278
|
+
on_culture_demoted_effect_free_slot_removal = { culture = turkish }
|
|
2279
|
+
on_culture_demoted_effect_free_slot_removal = { culture = al_iraqiya_arabic }
|
|
2280
|
+
on_culture_demoted_effect_free_slot_removal = { culture = al_suryah_arabic }
|
|
2281
|
+
}
|
|
2282
|
+
|
|
2052
2283
|
#Country effect
|
|
2053
2284
|
on_culture_demoted_effect = {
|
|
2054
2285
|
if = {
|
|
@@ -2209,6 +2440,28 @@ on_culture_demoted_effect = {
|
|
|
2209
2440
|
}
|
|
2210
2441
|
remove_country_modifier = gbr_accepted_lowlands
|
|
2211
2442
|
}
|
|
2443
|
+
if = {
|
|
2444
|
+
limit = {
|
|
2445
|
+
has_country_modifier = BYZ_no_slot_bulgarian
|
|
2446
|
+
NOT = { accepted_culture = bulgarian }
|
|
2447
|
+
NOT = { primary_culture = bulgarian }
|
|
2448
|
+
}
|
|
2449
|
+
remove_country_modifier = BYZ_no_slot_bulgarian
|
|
2450
|
+
}
|
|
2451
|
+
if = {
|
|
2452
|
+
limit = {
|
|
2453
|
+
has_country_modifier = geo_armenian_union
|
|
2454
|
+
NOT = { accepted_culture = armenian }
|
|
2455
|
+
}
|
|
2456
|
+
remove_country_modifier = geo_armenian_union
|
|
2457
|
+
}
|
|
2458
|
+
if = {
|
|
2459
|
+
limit = {
|
|
2460
|
+
has_country_modifier = turkmen_turkic_union
|
|
2461
|
+
NOT = { accepted_culture = turkish }
|
|
2462
|
+
}
|
|
2463
|
+
remove_country_modifier = turkmen_turkic_union
|
|
2464
|
+
}
|
|
2212
2465
|
}
|
|
2213
2466
|
|
|
2214
2467
|
#Country effect
|
|
@@ -2539,6 +2792,10 @@ remove_all_age_of_discovery_modifiers = {
|
|
|
2539
2792
|
limit = { has_country_modifier = eng_jousting_tournaments }
|
|
2540
2793
|
remove_country_modifier = eng_jousting_tournaments
|
|
2541
2794
|
}
|
|
2795
|
+
if = {
|
|
2796
|
+
limit = { has_country_modifier = YEM_rise_of_yemen }
|
|
2797
|
+
remove_country_modifier = YEM_rise_of_yemen
|
|
2798
|
+
}
|
|
2542
2799
|
}
|
|
2543
2800
|
}
|
|
2544
2801
|
remove_all_age_of_reformation_modifiers = {
|
|
@@ -2570,6 +2827,18 @@ remove_all_age_of_reformation_modifiers = {
|
|
|
2570
2827
|
limit = { has_country_modifier = eng_catholic_ruler_for_reformed_gb }
|
|
2571
2828
|
remove_country_modifier = eng_catholic_ruler_for_reformed_gb
|
|
2572
2829
|
}
|
|
2830
|
+
if = {
|
|
2831
|
+
limit = { has_country_modifier = BYZ_ceasarean_conquests }
|
|
2832
|
+
remove_country_modifier = BYZ_ceasarean_conquests
|
|
2833
|
+
}
|
|
2834
|
+
if = {
|
|
2835
|
+
limit = { has_country_modifier = BYZ_economic_intimidation }
|
|
2836
|
+
remove_country_modifier = BYZ_economic_intimidation
|
|
2837
|
+
}
|
|
2838
|
+
if = {
|
|
2839
|
+
limit = { has_country_modifier = BYZ_roman_vigour }
|
|
2840
|
+
remove_country_modifier = BYZ_roman_vigour
|
|
2841
|
+
}
|
|
2573
2842
|
}
|
|
2574
2843
|
}
|
|
2575
2844
|
remove_all_age_of_absolutism_modifiers = {
|
|
@@ -2589,6 +2858,49 @@ remove_all_age_of_revolution_modifiers = {
|
|
|
2589
2858
|
#Empty as there are no modifiers specific for this age
|
|
2590
2859
|
}
|
|
2591
2860
|
|
|
2861
|
+
set_age_passed_global_flag = {
|
|
2862
|
+
if = {
|
|
2863
|
+
limit = {
|
|
2864
|
+
not = { current_age = age_of_discovery }
|
|
2865
|
+
or = {
|
|
2866
|
+
current_age = age_of_reformation
|
|
2867
|
+
current_age = age_of_absolutism
|
|
2868
|
+
current_age = age_of_revolutions
|
|
2869
|
+
}
|
|
2870
|
+
}
|
|
2871
|
+
set_global_flag = age_of_discovery_passed
|
|
2872
|
+
}
|
|
2873
|
+
if = {
|
|
2874
|
+
limit = {
|
|
2875
|
+
has_global_flag = age_of_discovery_passed
|
|
2876
|
+
not = { current_age = age_of_reformation }
|
|
2877
|
+
or = {
|
|
2878
|
+
current_age = age_of_absolutism
|
|
2879
|
+
current_age = age_of_revolutions
|
|
2880
|
+
}
|
|
2881
|
+
}
|
|
2882
|
+
set_global_flag = age_of_reformation_passed
|
|
2883
|
+
}
|
|
2884
|
+
if = {
|
|
2885
|
+
limit = {
|
|
2886
|
+
has_global_flag = age_of_discovery_passed
|
|
2887
|
+
has_global_flag = age_of_reformation_passed
|
|
2888
|
+
not = { current_age = age_of_absolutism }
|
|
2889
|
+
current_age = age_of_revolutions
|
|
2890
|
+
}
|
|
2891
|
+
set_global_flag = age_of_absolutism_passed
|
|
2892
|
+
}
|
|
2893
|
+
if = {
|
|
2894
|
+
limit = {
|
|
2895
|
+
has_global_flag = age_of_discovery_passed
|
|
2896
|
+
has_global_flag = age_of_reformation_passed
|
|
2897
|
+
has_global_flag = age_of_absolutism_passed
|
|
2898
|
+
not = { current_age = age_of_revolutions }
|
|
2899
|
+
}
|
|
2900
|
+
set_global_flag = age_of_revolutions_passed
|
|
2901
|
+
}
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2592
2904
|
remove_all_age_timed_modifiers = {
|
|
2593
2905
|
remove_all_age_of_discovery_modifiers = yes
|
|
2594
2906
|
remove_all_age_of_reformation_modifiers = yes
|
|
@@ -2601,30 +2913,22 @@ remove_all_age_timed_modifiers = {
|
|
|
2601
2913
|
}
|
|
2602
2914
|
}
|
|
2603
2915
|
|
|
2604
|
-
|
|
2916
|
+
add_country_modifier_for_age = {
|
|
2605
2917
|
if = {
|
|
2606
2918
|
limit = {
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
has_country_modifier = eng_catholic_ruler_for_reformed_gb
|
|
2614
|
-
}
|
|
2615
|
-
NOT = { religion = catholic }
|
|
2616
|
-
NOT = { religion = protestant }
|
|
2617
|
-
NOT = { religion = reformed }
|
|
2618
|
-
NOT = { religion = anglican }
|
|
2619
|
-
NOT = { religion = hussite }
|
|
2919
|
+
NOT = { has_global_flag = $age$_passed }
|
|
2920
|
+
}
|
|
2921
|
+
add_country_modifier = {
|
|
2922
|
+
name = $name$
|
|
2923
|
+
duration = -1
|
|
2924
|
+
desc = until_end_of_$age$_desc
|
|
2620
2925
|
}
|
|
2621
|
-
remove_country_modifier = eng_the_age_of_reformation
|
|
2622
|
-
remove_country_modifier = eng_reformer_ruler
|
|
2623
|
-
remove_country_modifier = eng_catholic_ruler
|
|
2624
|
-
remove_country_modifier = eng_tolerant_ruler
|
|
2625
|
-
remove_country_modifier = eng_reformer_ruler_for_catholic_gb
|
|
2626
|
-
remove_country_modifier = eng_catholic_ruler_for_reformed_gb
|
|
2627
2926
|
}
|
|
2927
|
+
[[else]
|
|
2928
|
+
else = {
|
|
2929
|
+
$else$
|
|
2930
|
+
}
|
|
2931
|
+
]
|
|
2628
2932
|
}
|
|
2629
2933
|
|
|
2630
2934
|
on_parliament_abolished_effect = {
|
|
@@ -2686,6 +2990,39 @@ on_province_culture_change_effect = {
|
|
|
2686
2990
|
}
|
|
2687
2991
|
}
|
|
2688
2992
|
|
|
2993
|
+
on_province_culture_converted_effect = {
|
|
2994
|
+
owner = {
|
|
2995
|
+
change_variable = {
|
|
2996
|
+
which = num_converted_culture
|
|
2997
|
+
value = 1
|
|
2998
|
+
}
|
|
2999
|
+
}
|
|
3000
|
+
if = {
|
|
3001
|
+
limit = { has_owner_culture = yes }
|
|
3002
|
+
owner = {
|
|
3003
|
+
change_variable = {
|
|
3004
|
+
which = num_converted_to_own_culture
|
|
3005
|
+
value = 1
|
|
3006
|
+
}
|
|
3007
|
+
}
|
|
3008
|
+
}
|
|
3009
|
+
if = {
|
|
3010
|
+
limit = {
|
|
3011
|
+
owner = {
|
|
3012
|
+
has_country_flag = arm_coversion_bonus
|
|
3013
|
+
}
|
|
3014
|
+
has_owner_culture = yes
|
|
3015
|
+
NOT = {
|
|
3016
|
+
has_province_flag = arm_converted_bonus
|
|
3017
|
+
}
|
|
3018
|
+
}
|
|
3019
|
+
add_base_tax = 1
|
|
3020
|
+
add_base_manpower = 1
|
|
3021
|
+
add_base_production = 1
|
|
3022
|
+
set_province_flag = arm_converted_bonus
|
|
3023
|
+
}
|
|
3024
|
+
}
|
|
3025
|
+
|
|
2689
3026
|
on_colony_finished_effect = {
|
|
2690
3027
|
if = {
|
|
2691
3028
|
limit = {
|
|
@@ -2843,6 +3180,23 @@ on_alliance_broken_effect = {
|
|
|
2843
3180
|
remove_country_modifier = mng_trade_access_in_china_modifier
|
|
2844
3181
|
}
|
|
2845
3182
|
}
|
|
3183
|
+
change_asha_vahishta = { value = -5 }
|
|
3184
|
+
if = {
|
|
3185
|
+
limit = {
|
|
3186
|
+
has_country_modifier = mam_ven_cooperation_modifier
|
|
3187
|
+
NOT = { alliance_with = VEN }
|
|
3188
|
+
}
|
|
3189
|
+
remove_country_modifier = mam_ven_cooperation_modifier
|
|
3190
|
+
}
|
|
3191
|
+
FROM = {
|
|
3192
|
+
if = {
|
|
3193
|
+
limit = {
|
|
3194
|
+
has_country_modifier = mam_ven_cooperation_modifier
|
|
3195
|
+
NOT = { alliance_with = VEN }
|
|
3196
|
+
}
|
|
3197
|
+
remove_country_modifier = mam_ven_cooperation_modifier
|
|
3198
|
+
}
|
|
3199
|
+
}
|
|
2846
3200
|
}
|
|
2847
3201
|
|
|
2848
3202
|
on_adm_development_effect = {
|
|
@@ -2975,6 +3329,29 @@ on_mil_development_effect = {
|
|
|
2975
3329
|
# }
|
|
2976
3330
|
#}
|
|
2977
3331
|
}
|
|
3332
|
+
on_development_effect = {
|
|
3333
|
+
owner = {
|
|
3334
|
+
change_variable = {
|
|
3335
|
+
which = num_of_times_developed
|
|
3336
|
+
value = 1
|
|
3337
|
+
}
|
|
3338
|
+
}
|
|
3339
|
+
|
|
3340
|
+
if = {
|
|
3341
|
+
limit = {
|
|
3342
|
+
owner = {
|
|
3343
|
+
has_mission = ARB_the_harsh_desert
|
|
3344
|
+
}
|
|
3345
|
+
has_climate = arid
|
|
3346
|
+
}
|
|
3347
|
+
owner = {
|
|
3348
|
+
change_variable = {
|
|
3349
|
+
which = num_of_times_developed_arid
|
|
3350
|
+
value = 1
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
2978
3355
|
|
|
2979
3356
|
# THIS = Province, FROM = Country, ROOT = Merc Unit
|
|
2980
3357
|
on_mercenary_recruited_effect = {
|
|
@@ -3207,19 +3584,47 @@ on_main_war_won_effect = {
|
|
|
3207
3584
|
value = -5
|
|
3208
3585
|
}
|
|
3209
3586
|
}
|
|
3587
|
+
|
|
3588
|
+
if = {
|
|
3589
|
+
limit = {
|
|
3590
|
+
FROM = {
|
|
3591
|
+
religion_group = ROOT
|
|
3592
|
+
NOT = { religion = ROOT }
|
|
3593
|
+
}
|
|
3594
|
+
}
|
|
3595
|
+
change_variable = {
|
|
3596
|
+
which = num_of_wars_won_against_heretics
|
|
3597
|
+
value = 1
|
|
3598
|
+
}
|
|
3599
|
+
}
|
|
3600
|
+
if = {
|
|
3601
|
+
limit = {
|
|
3602
|
+
FROM = {
|
|
3603
|
+
NOT = { religion = ROOT }
|
|
3604
|
+
}
|
|
3605
|
+
}
|
|
3606
|
+
change_variable = {
|
|
3607
|
+
which = num_of_wars_won_against_non_believers
|
|
3608
|
+
value = 1
|
|
3609
|
+
}
|
|
3610
|
+
}
|
|
3210
3611
|
}
|
|
3211
3612
|
|
|
3212
3613
|
on_change_tag_effect = {
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3614
|
+
hidden_effect = {
|
|
3615
|
+
restore_country_name = yes
|
|
3616
|
+
restore_country_color = yes
|
|
3617
|
+
#England specific
|
|
3618
|
+
if = { limit = { has_country_modifier = royal_impressment_act_modifier } remove_country_modifier = royal_impressment_act_modifier }
|
|
3619
|
+
if = { limit = { has_country_modifier = isolationism_act_modifier } remove_country_modifier = isolationism_act_modifier }
|
|
3620
|
+
if = { limit = { has_country_modifier = colonial_act_modifier } remove_country_modifier = colonial_act_modifier }
|
|
3621
|
+
if = { limit = { has_country_modifier = military_reassignment_act_modifier } remove_country_modifier = military_reassignment_act_modifier }
|
|
3622
|
+
if = { limit = { has_country_modifier = acts_of_development_modifier } remove_country_modifier = acts_of_development_modifier }
|
|
3623
|
+
if = { limit = { has_country_modifier = global_empire_act_modifier } remove_country_modifier = global_empire_act_modifier }
|
|
3624
|
+
if = { limit = { has_country_modifier = naval_reassignment_act_modifier } remove_country_modifier = naval_reassignment_act_modifier }
|
|
3625
|
+
if = { limit = { has_country_modifier = diplomatic_act_modifier } remove_country_modifier = diplomatic_act_modifier }
|
|
3626
|
+
if = { limit = { has_country_modifier = internal_focus_act_modifier } remove_country_modifier = internal_focus_act_modifier }
|
|
3627
|
+
}
|
|
3223
3628
|
}
|
|
3224
3629
|
|
|
3225
3630
|
on_force_conversion_effect = {
|
|
@@ -3276,6 +3681,48 @@ on_force_conversion_effect = {
|
|
|
3276
3681
|
add_mil_power = 1
|
|
3277
3682
|
}
|
|
3278
3683
|
}
|
|
3684
|
+
if = {
|
|
3685
|
+
limit = { has_government_attribute = gain_devotion_from_force_converting }
|
|
3686
|
+
export_to_variable = {
|
|
3687
|
+
variable_name = root_development
|
|
3688
|
+
value = total_development
|
|
3689
|
+
who = ROOT
|
|
3690
|
+
}
|
|
3691
|
+
while = {
|
|
3692
|
+
limit = {
|
|
3693
|
+
check_variable = {
|
|
3694
|
+
which = root_development
|
|
3695
|
+
value = 1
|
|
3696
|
+
}
|
|
3697
|
+
}
|
|
3698
|
+
subtract_variable = {
|
|
3699
|
+
which = root_development
|
|
3700
|
+
value = 1
|
|
3701
|
+
}
|
|
3702
|
+
add_devotion = 0.05
|
|
3703
|
+
}
|
|
3704
|
+
}
|
|
3705
|
+
if = {
|
|
3706
|
+
limit = { has_government_mechanic = the_three_royal_fires_mechanic NOT = { has_country_flag = removed_asha_vahishta_loss_from_force_conversion } }
|
|
3707
|
+
export_to_variable = {
|
|
3708
|
+
variable_name = root_development
|
|
3709
|
+
value = total_development
|
|
3710
|
+
who = ROOT
|
|
3711
|
+
}
|
|
3712
|
+
while = {
|
|
3713
|
+
limit = {
|
|
3714
|
+
check_variable = {
|
|
3715
|
+
which = root_development
|
|
3716
|
+
value = 1
|
|
3717
|
+
}
|
|
3718
|
+
}
|
|
3719
|
+
subtract_variable = {
|
|
3720
|
+
which = root_development
|
|
3721
|
+
value = 1
|
|
3722
|
+
}
|
|
3723
|
+
change_asha_vahishta = { value = -1 }
|
|
3724
|
+
}
|
|
3725
|
+
}
|
|
3279
3726
|
if = {
|
|
3280
3727
|
limit = { has_government_attribute = theocratic_monarchy_mechanic }
|
|
3281
3728
|
change_statists_vs_orangists = -0.05
|
|
@@ -3426,4 +3873,260 @@ on_heir_disinherited_or_death_effect = {
|
|
|
3426
3873
|
limit = { has_any_heir_cult_active = yes }
|
|
3427
3874
|
remove_heir_cult = yes
|
|
3428
3875
|
}
|
|
3876
|
+
}
|
|
3877
|
+
|
|
3878
|
+
on_defender_of_faith_loss_effect = {
|
|
3879
|
+
clr_country_flag = claimed_defender_of_faith_flag
|
|
3880
|
+
remove_country_modifier = liv_the_livonian_defender
|
|
3881
|
+
remove_country_modifier = gov_improved_defender_of_faith_mod
|
|
3882
|
+
remove_country_modifier = pol_shield_against_catholicism_modifier
|
|
3883
|
+
remove_country_modifier = per_persian_defender_of_faith
|
|
3884
|
+
}
|
|
3885
|
+
on_defender_of_faith_claim_effect = {
|
|
3886
|
+
set_country_flag = claimed_defender_of_faith_flag
|
|
3887
|
+
if = {
|
|
3888
|
+
limit = {
|
|
3889
|
+
religion = catholic
|
|
3890
|
+
has_country_flag = liv_the_livonian_defender_flag
|
|
3891
|
+
NOT = { has_country_modifier = liv_the_livonian_defender }
|
|
3892
|
+
}
|
|
3893
|
+
add_country_modifier = {
|
|
3894
|
+
name = liv_the_livonian_defender
|
|
3895
|
+
duration = -1
|
|
3896
|
+
desc = liv_the_livonian_defender_tt
|
|
3897
|
+
}
|
|
3898
|
+
}
|
|
3899
|
+
if = {
|
|
3900
|
+
limit = {
|
|
3901
|
+
has_government_attribute = improved_defender_of_faith
|
|
3902
|
+
}
|
|
3903
|
+
add_country_modifier = {
|
|
3904
|
+
name = gov_improved_defender_of_faith_mod
|
|
3905
|
+
duration = -1
|
|
3906
|
+
}
|
|
3907
|
+
}
|
|
3908
|
+
if = {
|
|
3909
|
+
limit = {
|
|
3910
|
+
has_country_flag = per_gain_persian_dotf_buff
|
|
3911
|
+
}
|
|
3912
|
+
add_country_modifier = {
|
|
3913
|
+
name = per_persian_defender_of_faith
|
|
3914
|
+
duration = -1
|
|
3915
|
+
desc = UNTIL_NO_MORE_DOTF
|
|
3916
|
+
}
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
|
|
3920
|
+
on_advisor_removed_effct_adm = {}
|
|
3921
|
+
on_advisor_removed_effct_dip = {}
|
|
3922
|
+
on_advisor_removed_effct_mil = {}
|
|
3923
|
+
on_advisor_removed_effct = {
|
|
3924
|
+
on_advisor_removed_effct_$type$ = yes
|
|
3925
|
+
remove_grand_vizier_modifiers = yes
|
|
3926
|
+
remove_country_modifier = zoroastrian_prophet_in_the_court
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3929
|
+
|
|
3930
|
+
on_built_tax_building_effect = {
|
|
3931
|
+
if = {
|
|
3932
|
+
limit = {
|
|
3933
|
+
owner = { has_country_flag = can_place_center_of_reformation }
|
|
3934
|
+
is_reformation_center = no
|
|
3935
|
+
expelling_minorities = no
|
|
3936
|
+
NOT = {
|
|
3937
|
+
any_neighbor_province = {
|
|
3938
|
+
is_reformation_center = yes
|
|
3939
|
+
}
|
|
3940
|
+
}
|
|
3941
|
+
NOT = {
|
|
3942
|
+
any_province = {
|
|
3943
|
+
area = PREV
|
|
3944
|
+
is_reformation_center = yes
|
|
3945
|
+
religion = zoroastrian
|
|
3946
|
+
}
|
|
3947
|
+
}
|
|
3948
|
+
OR = {
|
|
3949
|
+
has_owner_religion = yes
|
|
3950
|
+
NOT = { has_active_triggered_province_modifier = religious_center }
|
|
3951
|
+
}
|
|
3952
|
+
}
|
|
3953
|
+
if = {
|
|
3954
|
+
limit = { development = 31 }
|
|
3955
|
+
custom_tooltip = TOO_MUCH_DEV_FOR_CENTER_OF_CONVERSION_TT
|
|
3956
|
+
}
|
|
3957
|
+
else = {
|
|
3958
|
+
hidden_effect = {
|
|
3959
|
+
owner = {
|
|
3960
|
+
clr_country_flag = can_place_center_of_reformation
|
|
3961
|
+
}
|
|
3962
|
+
1 = {
|
|
3963
|
+
change_variable = {
|
|
3964
|
+
which = zoroastrian_reform_center_counter
|
|
3965
|
+
value = 1
|
|
3966
|
+
}
|
|
3967
|
+
}
|
|
3968
|
+
}
|
|
3969
|
+
change_religion = zoroastrian
|
|
3970
|
+
add_reform_center = zoroastrian
|
|
3971
|
+
}
|
|
3972
|
+
}
|
|
3973
|
+
}
|
|
3974
|
+
|
|
3975
|
+
on_capital_moved_effect = {
|
|
3976
|
+
}
|
|
3977
|
+
|
|
3978
|
+
on_government_change_effect = {
|
|
3979
|
+
clr_country_flag = pirate_mutineer_council
|
|
3980
|
+
clr_country_flag = caretaker_revolutionary_government
|
|
3981
|
+
if = {
|
|
3982
|
+
limit = {
|
|
3983
|
+
NOT = { government = monarchy }
|
|
3984
|
+
any_owned_province = { has_province_modifier = domain_of_spouses_family }
|
|
3985
|
+
}
|
|
3986
|
+
random_owned_province = {
|
|
3987
|
+
limit = { has_province_modifier = domain_of_spouses_family }
|
|
3988
|
+
remove_province_modifier = domain_of_spouses_family
|
|
3989
|
+
}
|
|
3990
|
+
}
|
|
3991
|
+
if = {
|
|
3992
|
+
limit = {
|
|
3993
|
+
NOT = { government = monarchy }
|
|
3994
|
+
any_owned_province = { has_province_modifier = home_of_consort }
|
|
3995
|
+
}
|
|
3996
|
+
random_owned_province = {
|
|
3997
|
+
limit = { has_province_modifier = home_of_consort }
|
|
3998
|
+
remove_province_modifier = home_of_consort
|
|
3999
|
+
}
|
|
4000
|
+
}
|
|
4001
|
+
if = {
|
|
4002
|
+
limit = {
|
|
4003
|
+
OR = {
|
|
4004
|
+
tag = ENG
|
|
4005
|
+
tag = GBR
|
|
4006
|
+
}
|
|
4007
|
+
any_owned_province = { has_province_modifier = rotten_borough }
|
|
4008
|
+
}
|
|
4009
|
+
every_owned_province = {
|
|
4010
|
+
limit = { has_province_modifier = rotten_borough }
|
|
4011
|
+
remove_province_modifier = rotten_borough
|
|
4012
|
+
}
|
|
4013
|
+
}
|
|
4014
|
+
if = {
|
|
4015
|
+
limit = { has_country_modifier = the_reign_of_terror }
|
|
4016
|
+
remove_country_modifier = the_reign_of_terror
|
|
4017
|
+
}
|
|
4018
|
+
if = {
|
|
4019
|
+
limit = {
|
|
4020
|
+
has_global_flag = great_peasants_war_flag
|
|
4021
|
+
is_part_of_hre = yes
|
|
4022
|
+
has_government_attribute = is_peasants_republic
|
|
4023
|
+
}
|
|
4024
|
+
1 = {
|
|
4025
|
+
change_variable = {
|
|
4026
|
+
which = GPW_counting_variable
|
|
4027
|
+
value = -3
|
|
4028
|
+
}
|
|
4029
|
+
}
|
|
4030
|
+
}
|
|
4031
|
+
if = {
|
|
4032
|
+
limit = {
|
|
4033
|
+
num_of_subjects = 1
|
|
4034
|
+
any_subject_country = {
|
|
4035
|
+
is_subject_of_type = cultural_sphere_of_influence_subject
|
|
4036
|
+
}
|
|
4037
|
+
}
|
|
4038
|
+
country_event = { id = persian_influence_events.3000 }
|
|
4039
|
+
}
|
|
4040
|
+
}
|
|
4041
|
+
|
|
4042
|
+
on_non_estate_disaster_end = {
|
|
4043
|
+
hidden_effect = {
|
|
4044
|
+
change_variable = {
|
|
4045
|
+
which = total_disasters_completed_counter
|
|
4046
|
+
value = 1
|
|
4047
|
+
}
|
|
4048
|
+
}
|
|
4049
|
+
}
|
|
4050
|
+
|
|
4051
|
+
on_startup_effect = {
|
|
4052
|
+
if = {
|
|
4053
|
+
limit = {
|
|
4054
|
+
NOT = { has_country_flag = new_flavour_bav_13_has_been_triggered }
|
|
4055
|
+
OR = {
|
|
4056
|
+
tag = UBV
|
|
4057
|
+
tag = LBV
|
|
4058
|
+
tag = ING
|
|
4059
|
+
}
|
|
4060
|
+
}
|
|
4061
|
+
set_country_flag = new_flavour_bav_13_has_been_triggered
|
|
4062
|
+
country_event = { id = new_flavour_bav.13 days = 90 } #better not to allow almost instant DOWs
|
|
4063
|
+
}
|
|
4064
|
+
if = {
|
|
4065
|
+
limit = {
|
|
4066
|
+
OR = {
|
|
4067
|
+
has_country_modifier = rise_of_the_ottomans
|
|
4068
|
+
has_country_modifier = zenith_of_the_ottomans
|
|
4069
|
+
has_country_modifier = twilight_of_the_ottomans
|
|
4070
|
+
has_country_modifier = decline_of_the_ottomans
|
|
4071
|
+
}
|
|
4072
|
+
}
|
|
4073
|
+
remove_country_modifier = rise_of_the_ottomans
|
|
4074
|
+
remove_country_modifier = zenith_of_the_ottomans
|
|
4075
|
+
remove_country_modifier = twilight_of_the_ottomans
|
|
4076
|
+
remove_country_modifier = decline_of_the_ottomans
|
|
4077
|
+
}
|
|
4078
|
+
if = {
|
|
4079
|
+
limit = {
|
|
4080
|
+
has_government_mechanic = ottoman_decadence_mechanic
|
|
4081
|
+
current_age = age_of_discovery
|
|
4082
|
+
}
|
|
4083
|
+
add_country_modifier = {
|
|
4084
|
+
name = rise_of_the_ottomans
|
|
4085
|
+
duration = -1
|
|
4086
|
+
desc = until_end_of_age_desc
|
|
4087
|
+
}
|
|
4088
|
+
}
|
|
4089
|
+
if = {
|
|
4090
|
+
limit = {
|
|
4091
|
+
has_government_mechanic = ottoman_decadence_mechanic
|
|
4092
|
+
current_age = age_of_reformation
|
|
4093
|
+
}
|
|
4094
|
+
add_country_modifier = {
|
|
4095
|
+
name = zenith_of_the_ottomans
|
|
4096
|
+
duration = -1
|
|
4097
|
+
desc = until_end_of_age_desc
|
|
4098
|
+
}
|
|
4099
|
+
}
|
|
4100
|
+
if = {
|
|
4101
|
+
limit = {
|
|
4102
|
+
has_government_mechanic = ottoman_decadence_mechanic
|
|
4103
|
+
current_age = age_of_absolutism
|
|
4104
|
+
}
|
|
4105
|
+
add_country_modifier = {
|
|
4106
|
+
name = twilight_of_the_ottomans
|
|
4107
|
+
duration = -1
|
|
4108
|
+
desc = until_end_of_age_desc
|
|
4109
|
+
}
|
|
4110
|
+
}
|
|
4111
|
+
if = {
|
|
4112
|
+
limit = {
|
|
4113
|
+
has_government_mechanic = ottoman_decadence_mechanic
|
|
4114
|
+
current_age = age_of_revolutions
|
|
4115
|
+
}
|
|
4116
|
+
add_country_modifier = {
|
|
4117
|
+
name = decline_of_the_ottomans
|
|
4118
|
+
duration = -1
|
|
4119
|
+
desc = until_end_of_age_desc
|
|
4120
|
+
}
|
|
4121
|
+
}
|
|
4122
|
+
}
|
|
4123
|
+
|
|
4124
|
+
on_startup_dlc_cleanup_effect = {
|
|
4125
|
+
if = {
|
|
4126
|
+
limit = {
|
|
4127
|
+
has_dlc = "Cradle of Civilization"
|
|
4128
|
+
has_country_modifier = tur_janissary
|
|
4129
|
+
}
|
|
4130
|
+
remove_country_modifier = tur_janissary
|
|
4131
|
+
}
|
|
3429
4132
|
}
|
|
@@ -206,4 +206,73 @@ increase_heir_mil_effect = {
|
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
#Rulers
|
|
209
|
+
#Rulers
|
|
210
|
+
|
|
211
|
+
change_ruler_stat = {
|
|
212
|
+
tooltip = {
|
|
213
|
+
change_$type$ = $amount$
|
|
214
|
+
}
|
|
215
|
+
custom_tooltip = ADD_STAT_OR_POWER_$type$
|
|
216
|
+
hidden_effect = {
|
|
217
|
+
set_variable = {
|
|
218
|
+
which = ForLoopCounter
|
|
219
|
+
value = $amount$
|
|
220
|
+
}
|
|
221
|
+
while = {
|
|
222
|
+
limit = {
|
|
223
|
+
check_variable = {
|
|
224
|
+
which = ForLoopCounter
|
|
225
|
+
value = 1
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
if = {
|
|
229
|
+
limit = {
|
|
230
|
+
NOT = { $type$ = 6 }
|
|
231
|
+
}
|
|
232
|
+
change_$type$ = 1
|
|
233
|
+
}
|
|
234
|
+
else = {
|
|
235
|
+
add_$type$_power = 100
|
|
236
|
+
}
|
|
237
|
+
subtract_variable = {
|
|
238
|
+
which = ForLoopCounter
|
|
239
|
+
value = 1
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
#Heir
|
|
246
|
+
change_heir_stat = {
|
|
247
|
+
tooltip = {
|
|
248
|
+
change_heir_$type$ = $amount$
|
|
249
|
+
}
|
|
250
|
+
custom_tooltip = ADD_STAT_OR_POWER_$type$
|
|
251
|
+
hidden_effect = {
|
|
252
|
+
set_variable = {
|
|
253
|
+
which = ForLoopCounter
|
|
254
|
+
value = $amount$
|
|
255
|
+
}
|
|
256
|
+
while = {
|
|
257
|
+
limit = {
|
|
258
|
+
check_variable = {
|
|
259
|
+
which = ForLoopCounter
|
|
260
|
+
value = 1
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
if = {
|
|
264
|
+
limit = {
|
|
265
|
+
NOT = { heir_$type$ = 6 }
|
|
266
|
+
}
|
|
267
|
+
change_heir_$type$ = 1
|
|
268
|
+
}
|
|
269
|
+
else = {
|
|
270
|
+
add_$type$_power = 100
|
|
271
|
+
}
|
|
272
|
+
subtract_variable = {
|
|
273
|
+
which = ForLoopCounter
|
|
274
|
+
value = 1
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
@@ -345,6 +345,26 @@ add_claim_province = {
|
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
+
add_permanent_claim_multi_provinces = {
|
|
349
|
+
$target$ = {
|
|
350
|
+
limit = {
|
|
351
|
+
NOT = { is_core = PREV }
|
|
352
|
+
NOT = { is_permanent_claim = PREV }
|
|
353
|
+
}
|
|
354
|
+
add_permanent_claim = PREV
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
add_claim_multi_provinces = {
|
|
359
|
+
$target$ = {
|
|
360
|
+
limit = {
|
|
361
|
+
NOT = { is_core = PREV }
|
|
362
|
+
NOT = { is_permanent_claim = PREV }
|
|
363
|
+
}
|
|
364
|
+
add_claim = PREV
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
348
368
|
add_russian_claim = {
|
|
349
369
|
if = {
|
|
350
370
|
limit = { ROOT = { has_country_modifier = rus_expanded_administrative_offices } }
|
|
@@ -396,6 +416,31 @@ add_prestige_or_monarch_power = {
|
|
|
396
416
|
}
|
|
397
417
|
}
|
|
398
418
|
|
|
419
|
+
add_mercantilism_or_monarch_power = {
|
|
420
|
+
tooltip = {
|
|
421
|
+
add_mercantilism = $amount$
|
|
422
|
+
}
|
|
423
|
+
custom_tooltip = ADD_MERCANTILISM_OR_MONARCHPOWER
|
|
424
|
+
hidden_effect = {
|
|
425
|
+
for = {
|
|
426
|
+
amount = $amount$
|
|
427
|
+
effect = "
|
|
428
|
+
if = {
|
|
429
|
+
limit = {
|
|
430
|
+
NOT = { mercantilism = 100 }
|
|
431
|
+
}
|
|
432
|
+
add_mercantilism = 1
|
|
433
|
+
}
|
|
434
|
+
else = {
|
|
435
|
+
add_adm_power = 50
|
|
436
|
+
add_dip_power = 50
|
|
437
|
+
add_mil_power = 50
|
|
438
|
+
}
|
|
439
|
+
"
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
|
|
399
444
|
add_innovativeness_or_monarch_power = {
|
|
400
445
|
if = {
|
|
401
446
|
limit = { has_dlc = "Rule Britannia" }
|
|
@@ -403,9 +448,6 @@ add_innovativeness_or_monarch_power = {
|
|
|
403
448
|
change_innovativeness = $amount$
|
|
404
449
|
}
|
|
405
450
|
custom_tooltip = ADD_INNOVATIVENESS_OR_MONARCHPOWER
|
|
406
|
-
if = {
|
|
407
|
-
limit = { NOT = { innovativeness = 100 } }
|
|
408
|
-
}
|
|
409
451
|
hidden_effect = {
|
|
410
452
|
for = {
|
|
411
453
|
amount = $amount$
|
|
@@ -470,4 +512,184 @@ change_karma_effect = {
|
|
|
470
512
|
add_karma = $amount$
|
|
471
513
|
}
|
|
472
514
|
}
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
## adds army tradition until 100 is reached and then adds the rest as mil power
|
|
518
|
+
### add_army_tradition_or_mil_power = { amount = <number> }
|
|
519
|
+
add_army_tradition_or_mil_power = {
|
|
520
|
+
[[amount]
|
|
521
|
+
tooltip = {
|
|
522
|
+
add_army_tradition = $amount$
|
|
523
|
+
}
|
|
524
|
+
custom_tooltip = ME_ADD_ARMY_TRADITION_OR_MIL_POWER
|
|
525
|
+
hidden_effect = {
|
|
526
|
+
for = {
|
|
527
|
+
amount = $amount$
|
|
528
|
+
effect = "
|
|
529
|
+
if = {
|
|
530
|
+
limit = {
|
|
531
|
+
NOT = { army_tradition = 99.9 }
|
|
532
|
+
}
|
|
533
|
+
add_army_tradition = 1
|
|
534
|
+
}
|
|
535
|
+
else = {
|
|
536
|
+
add_mil_power = 3
|
|
537
|
+
}
|
|
538
|
+
"
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
]
|
|
542
|
+
|
|
543
|
+
[[value]
|
|
544
|
+
tooltip = {
|
|
545
|
+
add_army_tradition = $value$
|
|
546
|
+
}
|
|
547
|
+
custom_tooltip = ME_ADD_ARMY_TRADITION_OR_MIL_POWER
|
|
548
|
+
hidden_effect = {
|
|
549
|
+
for = {
|
|
550
|
+
amount = $value$
|
|
551
|
+
effect = "
|
|
552
|
+
if = {
|
|
553
|
+
limit = {
|
|
554
|
+
NOT = { army_tradition = 99.9 }
|
|
555
|
+
}
|
|
556
|
+
add_army_tradition = 1
|
|
557
|
+
}
|
|
558
|
+
else = {
|
|
559
|
+
add_mil_power = 3
|
|
560
|
+
}
|
|
561
|
+
"
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
]
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
#Country effect
|
|
568
|
+
add_legitimacy_equivalent = {
|
|
569
|
+
add_legitimacy = $amount$
|
|
570
|
+
add_horde_unity = $amount$
|
|
571
|
+
add_devotion = $amount$
|
|
572
|
+
add_meritocracy = $amount$
|
|
573
|
+
add_republican_tradition = $republican_tradition$ #This one is special because of how much republics scale with it
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
add_legitimacy_or_mil_power = {
|
|
577
|
+
if = {
|
|
578
|
+
limit = { NOT = { government = native } }
|
|
579
|
+
if = {
|
|
580
|
+
limit = { uses_republican_tradition = yes }
|
|
581
|
+
tooltip = { add_republican_tradition = $republican_tradition$ }
|
|
582
|
+
custom_tooltip = add_republican_tradition_or_mil_power_tt
|
|
583
|
+
hidden_effect = {
|
|
584
|
+
for = {
|
|
585
|
+
amount = $republican_tradition$
|
|
586
|
+
effect = "if = { limit = { NOT = { republican_tradition = 100 } } add_republican_tradition = 1 } else = { add_mil_power = 33 }"
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
else = {
|
|
591
|
+
if = {
|
|
592
|
+
limit = { uses_horde_unity = yes }
|
|
593
|
+
tooltip = { add_horde_unity = $amount$ }
|
|
594
|
+
custom_tooltip = add_horde_unity_or_mil_power_tt
|
|
595
|
+
hidden_effect = {
|
|
596
|
+
for = {
|
|
597
|
+
amount = $amount$
|
|
598
|
+
effect = "if = { limit = { NOT = { horde_unity = 100 } } add_horde_unity = 1 } else = { add_mil_power = 10 }"
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
else_if = {
|
|
603
|
+
limit = { uses_meritocracy = yes }
|
|
604
|
+
tooltip = { add_meritocracy = $amount$ }
|
|
605
|
+
custom_tooltip = add_meritocracy_or_mil_power_tt
|
|
606
|
+
hidden_effect = {
|
|
607
|
+
for = {
|
|
608
|
+
amount = $amount$
|
|
609
|
+
effect = "if = { limit = { NOT = { meritocracy = 100 } } add_meritocracy = 1 } else = { add_mil_power = 10 }"
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
else_if = {
|
|
614
|
+
limit = { uses_devotion = yes }
|
|
615
|
+
tooltip = { add_devotion = $amount$ }
|
|
616
|
+
custom_tooltip = add_devotion_or_mil_power_tt
|
|
617
|
+
hidden_effect = {
|
|
618
|
+
for = {
|
|
619
|
+
amount = $amount$
|
|
620
|
+
effect = "if = { limit = { NOT = { devotion = 100 } } add_devotion = 1 } else = { add_mil_power = 10 }"
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
else = {
|
|
625
|
+
tooltip = { add_legitimacy = $amount$ }
|
|
626
|
+
custom_tooltip = add_legitimacy_or_mil_power_tt
|
|
627
|
+
hidden_effect = {
|
|
628
|
+
for = {
|
|
629
|
+
amount = $amount$
|
|
630
|
+
effect = "if = { limit = { NOT = { legitimacy = 100 } } add_legitimacy = 1 } else = { add_mil_power = 10 }"
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
remove_comet_sighted_events = {
|
|
639
|
+
custom_tooltip = no_more_comet_sighted_event_tt
|
|
640
|
+
hidden_effect = { set_country_flag = no_more_comet_sighted_event }
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
remove_plague_events = {
|
|
644
|
+
custom_tooltip = emp_ven_plague_doctor_training_tt
|
|
645
|
+
hidden_effect = { set_country_flag = has_competent_doctors }
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
remove_sick_heir_events = {
|
|
649
|
+
custom_tooltip = remove_sick_heir_events_tt
|
|
650
|
+
hidden_effect = { set_country_flag = healthy_heir_diet }
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
remove_hunting_accident_events = {
|
|
654
|
+
custom_tooltip = remove_hunting_accident_events_tt
|
|
655
|
+
hidden_effect = { set_country_flag = no_more_hunting_for_heir }
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
reduce_hunting_accident_likelihood = {
|
|
659
|
+
custom_tooltip = reduce_hunting_accident_likelihood_tt
|
|
660
|
+
hidden_effect = { set_country_flag = selective_hunting_accident }
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
remove_base_development = {
|
|
664
|
+
add_base_$type$ = -$amount$
|
|
665
|
+
hidden_effect = {
|
|
666
|
+
if = {
|
|
667
|
+
limit = { NOT = { base_$type$ = 1 } }
|
|
668
|
+
set_base_$type$ = 1
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
greatly_reduce_propagate_religion_requirements = {
|
|
674
|
+
if = {
|
|
675
|
+
limit = {
|
|
676
|
+
has_dlc = "Cradle of Civilization"
|
|
677
|
+
}
|
|
678
|
+
custom_tooltip = rig_establish_religious_dominance_tt
|
|
679
|
+
}
|
|
680
|
+
hidden_effect = {
|
|
681
|
+
set_country_flag = 15_trade_power_for_propogate_religion
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
reduce_propagate_religion_requirements = {
|
|
686
|
+
if = {
|
|
687
|
+
limit = {
|
|
688
|
+
has_dlc = "Cradle of Civilization"
|
|
689
|
+
}
|
|
690
|
+
custom_tooltip = atj_propagate_religion_tt
|
|
691
|
+
}
|
|
692
|
+
hidden_effect = {
|
|
693
|
+
set_country_flag = 35_trade_power_for_propogate_religion
|
|
694
|
+
}
|
|
473
695
|
}
|
|
@@ -40,6 +40,8 @@ unlock_new_issues = {
|
|
|
40
40
|
# estate_rajput
|
|
41
41
|
# estate_janissaries
|
|
42
42
|
# estate_eunuchs
|
|
43
|
+
# estate_qizilbash
|
|
44
|
+
# estate_ghulams
|
|
43
45
|
issue_effect_scaling_with_estate_influence = {
|
|
44
46
|
if = {
|
|
45
47
|
limit = { has_government_attribute = english_parliament }
|
|
@@ -187,7 +189,7 @@ increase_issue_passed_counter = {
|
|
|
187
189
|
|
|
188
190
|
# Supports the following issues
|
|
189
191
|
###############################
|
|
190
|
-
# Loc in style of: unlock_issue_$issue$_tt: "Unlock the
|
|
192
|
+
# Loc in style of: unlock_issue_$issue$_tt: "Unlock the �Y�! Parliament Issue."
|
|
191
193
|
# acts_of_high_admiralty
|
|
192
194
|
# acts_of_maritime_courage
|
|
193
195
|
# acts_of_maritime_professionalism
|
|
@@ -816,4 +816,1122 @@ gbr_take_over_the_lowlands_effect_a = {
|
|
|
816
816
|
}
|
|
817
817
|
}
|
|
818
818
|
}
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
#Persian missions
|
|
822
|
+
per_claim_constantinople_effect = {
|
|
823
|
+
151 = {
|
|
824
|
+
if = {
|
|
825
|
+
limit = { root = { has_country_flag = per_zoroastrian_missions } }
|
|
826
|
+
change_province_name = "Kustantiniya"
|
|
827
|
+
rename_capital = "Kustantiniya"
|
|
828
|
+
}
|
|
829
|
+
else = {
|
|
830
|
+
change_province_name = "Konstantiniyyeh"
|
|
831
|
+
rename_capital = "Konstantiniyyeh"
|
|
832
|
+
}
|
|
833
|
+
add_base_tax = 2
|
|
834
|
+
add_base_production = 2
|
|
835
|
+
add_base_manpower = 1
|
|
836
|
+
add_province_modifier = {
|
|
837
|
+
name = per_the_second_capital
|
|
838
|
+
duration = -1
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
per_invade_india_effect = {
|
|
843
|
+
add_adm_power = 75
|
|
844
|
+
add_permanent_claim_multi_provinces = { target = northern_sindh_area }
|
|
845
|
+
add_permanent_claim_multi_provinces = { target = sindh_area }
|
|
846
|
+
add_permanent_claim_multi_provinces = { target = jangladesh_area }
|
|
847
|
+
add_permanent_claim_multi_provinces = { target = marwar_area }
|
|
848
|
+
add_permanent_claim_multi_provinces = { target = patan_area }
|
|
849
|
+
add_permanent_claim_multi_provinces = { target = saurashtra_area }
|
|
850
|
+
add_permanent_claim_multi_provinces = { target = jaipur_area }
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
BYZ_convert_to_greek_culture = { #It's here in case I want to add anatolian-themed cultures.
|
|
855
|
+
if = {
|
|
856
|
+
limit = {
|
|
857
|
+
OR = {
|
|
858
|
+
area = erzurum_area
|
|
859
|
+
area = kastamonu_area
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
change_culture = pontic_greek
|
|
863
|
+
}
|
|
864
|
+
else = {
|
|
865
|
+
change_culture = greek
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
BYZ_upgrade_hexamilion_if_possible = {
|
|
870
|
+
clr_country_flag = BYZ_upgrading_hexamilion
|
|
871
|
+
|
|
872
|
+
4701 = {
|
|
873
|
+
if = {
|
|
874
|
+
limit = {
|
|
875
|
+
owned_by = ROOT
|
|
876
|
+
}
|
|
877
|
+
if = {
|
|
878
|
+
limit = {
|
|
879
|
+
has_province_modifier = BYZ_hexamilion_wall_2
|
|
880
|
+
}
|
|
881
|
+
#nothing should happen. should not be achievable
|
|
882
|
+
}
|
|
883
|
+
else_if = {
|
|
884
|
+
limit = {
|
|
885
|
+
has_province_modifier = BYZ_hexamilion_wall_1
|
|
886
|
+
}
|
|
887
|
+
remove_province_modifier = BYZ_hexamilion_wall_1
|
|
888
|
+
add_province_modifier = {
|
|
889
|
+
name = BYZ_hexamilion_wall_2
|
|
890
|
+
duration = -1
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
else = {
|
|
894
|
+
add_province_modifier = {
|
|
895
|
+
name = BYZ_hexamilion_wall_1
|
|
896
|
+
duration = -1
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
BYZ_upgrade_theodosian_if_possible = {
|
|
904
|
+
clr_country_flag = BYZ_upgrading_theodosian
|
|
905
|
+
|
|
906
|
+
151 = {
|
|
907
|
+
if = {
|
|
908
|
+
limit = {
|
|
909
|
+
owned_by = ROOT
|
|
910
|
+
}
|
|
911
|
+
if = {
|
|
912
|
+
limit = {
|
|
913
|
+
has_province_modifier = BYZ_theodosian_wall_3
|
|
914
|
+
}
|
|
915
|
+
#nothing should happen. should not be achievable
|
|
916
|
+
}
|
|
917
|
+
else_if = {
|
|
918
|
+
limit = {
|
|
919
|
+
has_province_modifier = BYZ_theodosian_wall_2
|
|
920
|
+
}
|
|
921
|
+
remove_province_modifier = BYZ_theodosian_wall_2
|
|
922
|
+
add_province_modifier = {
|
|
923
|
+
name = BYZ_theodosian_wall_3
|
|
924
|
+
duration = -1
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
else_if = {
|
|
928
|
+
limit = {
|
|
929
|
+
has_province_modifier = BYZ_theodosian_wall_1
|
|
930
|
+
}
|
|
931
|
+
remove_province_modifier = BYZ_theodosian_wall_1
|
|
932
|
+
add_province_modifier = {
|
|
933
|
+
name = BYZ_theodosian_wall_2
|
|
934
|
+
duration = -1
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
else = {
|
|
938
|
+
add_province_modifier = {
|
|
939
|
+
name = BYZ_theodosian_wall_1
|
|
940
|
+
duration = -1
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
BYZ_branch_effect = {
|
|
948
|
+
custom_tooltip = BYZ_this_is_a_branching_mission
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
BYZ_if_saved_export_variable = {
|
|
952
|
+
if = {
|
|
953
|
+
limit = {
|
|
954
|
+
has_saved_event_target = $name$
|
|
955
|
+
}
|
|
956
|
+
event_target:$name$ = {
|
|
957
|
+
export_to_variable = {
|
|
958
|
+
variable_name = byz_yearly_income
|
|
959
|
+
value = years_of_income
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
BYZ_offer_mosaicists = {
|
|
966
|
+
custom_tooltip = BYZ_we_will_offer_to_this_for
|
|
967
|
+
|
|
968
|
+
tooltip = {
|
|
969
|
+
if = {
|
|
970
|
+
limit = {
|
|
971
|
+
has_dlc = "Leviathan"
|
|
972
|
+
}
|
|
973
|
+
add_country_modifier = {
|
|
974
|
+
name = BYZ_mosaicists_Leviathan
|
|
975
|
+
duration = 3650
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
else = {
|
|
979
|
+
add_country_modifier = {
|
|
980
|
+
name = BYZ_mosaicists
|
|
981
|
+
duration = 3650
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
custom_tooltip = BYZ_if_they_deny_we_will_still_get_modifier
|
|
987
|
+
|
|
988
|
+
hidden_effect = {
|
|
989
|
+
country_event = { id = MEE_Byzantine_Events.25 }
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
ARB_flavor_event_6_effect = {
|
|
994
|
+
|
|
995
|
+
add_permanent_power_projection = {
|
|
996
|
+
type = arb_permanent_power_projection
|
|
997
|
+
amount = 10
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
custom_tooltip = " "
|
|
1001
|
+
|
|
1002
|
+
if = {
|
|
1003
|
+
limit = {
|
|
1004
|
+
has_dlc = "Mandate of Heaven"
|
|
1005
|
+
}
|
|
1006
|
+
custom_tooltip = ARB_golden_age_renewal_tt
|
|
1007
|
+
hidden_effect = {
|
|
1008
|
+
if = {
|
|
1009
|
+
limit = { has_had_golden_age = yes }
|
|
1010
|
+
reset_golden_age = yes
|
|
1011
|
+
}
|
|
1012
|
+
else_if = {
|
|
1013
|
+
limit = { in_golden_age = yes }
|
|
1014
|
+
extend_golden_age = 600
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
custom_tooltip = " "
|
|
1018
|
+
}
|
|
1019
|
+
else = {
|
|
1020
|
+
add_country_modifier = {
|
|
1021
|
+
name = ARB_second_islamic_golden_age_modifier
|
|
1022
|
+
duration = 18250
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
custom_tooltip = ARB_permanent_claims_on_all_muslim_provinces
|
|
1027
|
+
|
|
1028
|
+
custom_tooltip = " "
|
|
1029
|
+
|
|
1030
|
+
if = {
|
|
1031
|
+
limit = {
|
|
1032
|
+
has_country_modifier = unified_islam
|
|
1033
|
+
}
|
|
1034
|
+
add_country_modifier = {
|
|
1035
|
+
name = ARB_united_islam_upgraded
|
|
1036
|
+
duration = -1
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
else = {
|
|
1040
|
+
set_country_flag = ARB_upgraded_uniting_islam
|
|
1041
|
+
custom_tooltip = ARB_uniting_islam_will_now_give_10_warscore_cost_vs_other_religions
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
add_persian_and_zoroastrian_influence = {
|
|
1046
|
+
if = {
|
|
1047
|
+
limit = { has_government_mechanic = persian_influence_mechanic }
|
|
1048
|
+
add_government_power = {
|
|
1049
|
+
mechanic_type = persian_influence_mechanic
|
|
1050
|
+
power_type = persian_influence
|
|
1051
|
+
value = $value$
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
if = {
|
|
1055
|
+
limit = { has_government_mechanic = the_three_royal_fires_mechanic }
|
|
1056
|
+
add_government_power = {
|
|
1057
|
+
mechanic_type = the_three_royal_fires_mechanic
|
|
1058
|
+
power_type = asha_vahishta
|
|
1059
|
+
value = $value$
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
pick_best_provinces = {
|
|
1065
|
+
[[scope]
|
|
1066
|
+
pick_best_provinces_2 = {
|
|
1067
|
+
scope = "$scope$"
|
|
1068
|
+
scale = "$scale$"
|
|
1069
|
+
event_target_name = "$event_target_name$"
|
|
1070
|
+
global_trigger = "$global_trigger$"
|
|
1071
|
+
1 = "$1$"
|
|
1072
|
+
2 = "$2$"
|
|
1073
|
+
3 = "$3$"
|
|
1074
|
+
4 = "$4$"
|
|
1075
|
+
5 = "$5$"
|
|
1076
|
+
10 = "$10$"
|
|
1077
|
+
}
|
|
1078
|
+
set_global_flag = PICK_BEST_PROVINCES_FLAG
|
|
1079
|
+
] #curses for not having an [ELSE ] or something.
|
|
1080
|
+
if = {
|
|
1081
|
+
limit = {
|
|
1082
|
+
NOT = { has_global_flag = PICK_BEST_PROVINCES_FLAG } #This check is here to prevent the algorithm from being run again after the scoped version was executed
|
|
1083
|
+
}
|
|
1084
|
+
pick_best_provinces_2 = {
|
|
1085
|
+
scope = " every_province "
|
|
1086
|
+
scale = "$scale$"
|
|
1087
|
+
event_target_name = "$event_target_name$"
|
|
1088
|
+
global_trigger = "$global_trigger$"
|
|
1089
|
+
1 = "$1$"
|
|
1090
|
+
2 = "$2$"
|
|
1091
|
+
3 = "$3$"
|
|
1092
|
+
4 = "$4$"
|
|
1093
|
+
5 = "$5$"
|
|
1094
|
+
10 = "$10$"
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
else = { clr_global_flag = PICK_BEST_PROVINCES_FLAG }
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
pick_best_provinces_2 = {
|
|
1101
|
+
hidden_effect = {
|
|
1102
|
+
[[1]
|
|
1103
|
+
if = {
|
|
1104
|
+
limit = { always = $1$ }
|
|
1105
|
+
pick_best_province = {
|
|
1106
|
+
scale = "$scale$"
|
|
1107
|
+
scope = $scope$
|
|
1108
|
+
global_trigger = "$global_trigger$"
|
|
1109
|
+
event_target_name = "$event_target_name$"
|
|
1110
|
+
number = 1
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
]
|
|
1114
|
+
[[2]
|
|
1115
|
+
if = {
|
|
1116
|
+
limit = { always = $2$ }
|
|
1117
|
+
pick_best_province = {
|
|
1118
|
+
scale = "$scale$"
|
|
1119
|
+
scope = $scope$
|
|
1120
|
+
global_trigger = "$global_trigger$"
|
|
1121
|
+
event_target_name = "$event_target_name$"
|
|
1122
|
+
number = 1
|
|
1123
|
+
}
|
|
1124
|
+
pick_best_province = {
|
|
1125
|
+
scale = "$scale$"
|
|
1126
|
+
scope = $scope$
|
|
1127
|
+
global_trigger = "$global_trigger$"
|
|
1128
|
+
event_target_name = "$event_target_name$"
|
|
1129
|
+
number = 2
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
]
|
|
1133
|
+
[[3]
|
|
1134
|
+
if = {
|
|
1135
|
+
limit = { always = $3$ }
|
|
1136
|
+
pick_best_province = {
|
|
1137
|
+
scale = "$scale$"
|
|
1138
|
+
scope = $scope$
|
|
1139
|
+
global_trigger = "$global_trigger$"
|
|
1140
|
+
event_target_name = "$event_target_name$"
|
|
1141
|
+
number = 1
|
|
1142
|
+
}
|
|
1143
|
+
pick_best_province = {
|
|
1144
|
+
scale = "$scale$"
|
|
1145
|
+
scope = $scope$
|
|
1146
|
+
global_trigger = "$global_trigger$"
|
|
1147
|
+
event_target_name = "$event_target_name$"
|
|
1148
|
+
number = 2
|
|
1149
|
+
}
|
|
1150
|
+
pick_best_province = {
|
|
1151
|
+
scale = "$scale$"
|
|
1152
|
+
scope = $scope$
|
|
1153
|
+
global_trigger = "$global_trigger$"
|
|
1154
|
+
event_target_name = "$event_target_name$"
|
|
1155
|
+
number = 3
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
]
|
|
1159
|
+
[[4]
|
|
1160
|
+
if = {
|
|
1161
|
+
limit = { always = $4$ }
|
|
1162
|
+
pick_best_province = {
|
|
1163
|
+
scale = "$scale$"
|
|
1164
|
+
scope = $scope$
|
|
1165
|
+
global_trigger = "$global_trigger$"
|
|
1166
|
+
event_target_name = "$event_target_name$"
|
|
1167
|
+
number = 1
|
|
1168
|
+
}
|
|
1169
|
+
pick_best_province = {
|
|
1170
|
+
scale = "$scale$"
|
|
1171
|
+
scope = $scope$
|
|
1172
|
+
global_trigger = "$global_trigger$"
|
|
1173
|
+
event_target_name = "$event_target_name$"
|
|
1174
|
+
number = 2
|
|
1175
|
+
}
|
|
1176
|
+
pick_best_province = {
|
|
1177
|
+
scale = "$scale$"
|
|
1178
|
+
scope = $scope$
|
|
1179
|
+
global_trigger = "$global_trigger$"
|
|
1180
|
+
event_target_name = "$event_target_name$"
|
|
1181
|
+
number = 3
|
|
1182
|
+
}
|
|
1183
|
+
pick_best_province = {
|
|
1184
|
+
scale = "$scale$"
|
|
1185
|
+
scope = $scope$
|
|
1186
|
+
global_trigger = "$global_trigger$"
|
|
1187
|
+
event_target_name = "$event_target_name$"
|
|
1188
|
+
number = 4
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
]
|
|
1192
|
+
[[5]
|
|
1193
|
+
if = {
|
|
1194
|
+
limit = { always = $5$ }
|
|
1195
|
+
pick_best_province = {
|
|
1196
|
+
scale = "$scale$"
|
|
1197
|
+
scope = $scope$
|
|
1198
|
+
global_trigger = "$global_trigger$"
|
|
1199
|
+
event_target_name = "$event_target_name$"
|
|
1200
|
+
number = 1
|
|
1201
|
+
}
|
|
1202
|
+
pick_best_province = {
|
|
1203
|
+
scale = "$scale$"
|
|
1204
|
+
scope = $scope$
|
|
1205
|
+
global_trigger = "$global_trigger$"
|
|
1206
|
+
event_target_name = "$event_target_name$"
|
|
1207
|
+
number = 2
|
|
1208
|
+
}
|
|
1209
|
+
pick_best_province = {
|
|
1210
|
+
scale = "$scale$"
|
|
1211
|
+
scope = $scope$
|
|
1212
|
+
global_trigger = "$global_trigger$"
|
|
1213
|
+
event_target_name = "$event_target_name$"
|
|
1214
|
+
number = 3
|
|
1215
|
+
}
|
|
1216
|
+
pick_best_province = {
|
|
1217
|
+
scale = "$scale$"
|
|
1218
|
+
scope = $scope$
|
|
1219
|
+
global_trigger = "$global_trigger$"
|
|
1220
|
+
event_target_name = "$event_target_name$"
|
|
1221
|
+
number = 4
|
|
1222
|
+
}
|
|
1223
|
+
pick_best_province = {
|
|
1224
|
+
scale = "$scale$"
|
|
1225
|
+
scope = $scope$
|
|
1226
|
+
global_trigger = "$global_trigger$"
|
|
1227
|
+
event_target_name = "$event_target_name$"
|
|
1228
|
+
number = 5
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
]
|
|
1232
|
+
[[10]
|
|
1233
|
+
if = {
|
|
1234
|
+
limit = { always = $10$ }
|
|
1235
|
+
pick_best_province = {
|
|
1236
|
+
scale = "$scale$"
|
|
1237
|
+
scope = $scope$
|
|
1238
|
+
global_trigger = "$global_trigger$"
|
|
1239
|
+
event_target_name = "$event_target_name$"
|
|
1240
|
+
number = 1
|
|
1241
|
+
}
|
|
1242
|
+
pick_best_province = {
|
|
1243
|
+
scale = "$scale$"
|
|
1244
|
+
scope = $scope$
|
|
1245
|
+
global_trigger = "$global_trigger$"
|
|
1246
|
+
event_target_name = "$event_target_name$"
|
|
1247
|
+
number = 2
|
|
1248
|
+
}
|
|
1249
|
+
pick_best_province = {
|
|
1250
|
+
scale = "$scale$"
|
|
1251
|
+
scope = $scope$
|
|
1252
|
+
global_trigger = "$global_trigger$"
|
|
1253
|
+
event_target_name = "$event_target_name$"
|
|
1254
|
+
number = 3
|
|
1255
|
+
}
|
|
1256
|
+
pick_best_province = {
|
|
1257
|
+
scale = "$scale$"
|
|
1258
|
+
scope = $scope$
|
|
1259
|
+
global_trigger = "$global_trigger$"
|
|
1260
|
+
event_target_name = "$event_target_name$"
|
|
1261
|
+
number = 4
|
|
1262
|
+
}
|
|
1263
|
+
pick_best_province = {
|
|
1264
|
+
scale = "$scale$"
|
|
1265
|
+
scope = $scope$
|
|
1266
|
+
global_trigger = "$global_trigger$"
|
|
1267
|
+
event_target_name = "$event_target_name$"
|
|
1268
|
+
number = 5
|
|
1269
|
+
}
|
|
1270
|
+
pick_best_province = {
|
|
1271
|
+
scale = "$scale$"
|
|
1272
|
+
scope = $scope$
|
|
1273
|
+
global_trigger = "$global_trigger$"
|
|
1274
|
+
event_target_name = "$event_target_name$"
|
|
1275
|
+
number = 6
|
|
1276
|
+
}
|
|
1277
|
+
pick_best_province = {
|
|
1278
|
+
scale = "$scale$"
|
|
1279
|
+
scope = $scope$
|
|
1280
|
+
global_trigger = "$global_trigger$"
|
|
1281
|
+
event_target_name = "$event_target_name$"
|
|
1282
|
+
number = 7
|
|
1283
|
+
}
|
|
1284
|
+
pick_best_province = {
|
|
1285
|
+
scale = "$scale$"
|
|
1286
|
+
scope = $scope$
|
|
1287
|
+
global_trigger = "$global_trigger$"
|
|
1288
|
+
event_target_name = "$event_target_name$"
|
|
1289
|
+
number = 8
|
|
1290
|
+
}
|
|
1291
|
+
pick_best_province = {
|
|
1292
|
+
scale = "$scale$"
|
|
1293
|
+
scope = $scope$
|
|
1294
|
+
global_trigger = "$global_trigger$"
|
|
1295
|
+
event_target_name = "$event_target_name$"
|
|
1296
|
+
number = 9
|
|
1297
|
+
}
|
|
1298
|
+
pick_best_province = {
|
|
1299
|
+
scale = "$scale$"
|
|
1300
|
+
scope = $scope$
|
|
1301
|
+
global_trigger = "$global_trigger$"
|
|
1302
|
+
event_target_name = "$event_target_name$"
|
|
1303
|
+
number = 10
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
]
|
|
1307
|
+
$scope$ = {
|
|
1308
|
+
limit = {
|
|
1309
|
+
has_province_flag = $event_target_name$_exclude
|
|
1310
|
+
}
|
|
1311
|
+
clr_province_flag = $event_target_name$_exclude
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
pick_best_province = {
|
|
1317
|
+
$scope$ = {
|
|
1318
|
+
limit = {
|
|
1319
|
+
[[global_trigger] $global_trigger$ ]
|
|
1320
|
+
NOT = { has_province_flag = $event_target_name$_exclude }
|
|
1321
|
+
}
|
|
1322
|
+
save_event_target_as = $event_target_name$_$number$
|
|
1323
|
+
}
|
|
1324
|
+
$scope$ = {
|
|
1325
|
+
limit = {
|
|
1326
|
+
[[global_trigger] $global_trigger$ ]
|
|
1327
|
+
$scale$ = event_target:$event_target_name$_$number$
|
|
1328
|
+
NOT = { has_province_flag = $event_target_name$_exclude }
|
|
1329
|
+
}
|
|
1330
|
+
save_event_target_as = $event_target_name$_$number$
|
|
1331
|
+
}
|
|
1332
|
+
event_target:$event_target_name$_$number$ = {
|
|
1333
|
+
set_province_flag = $event_target_name$_exclude
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
create_general_with_pips = {
|
|
1338
|
+
create_general = {
|
|
1339
|
+
tradition = $tradition$
|
|
1340
|
+
[[add_fire] add_fire = $add_fire$ ]
|
|
1341
|
+
[[add_shock] add_shock = $add_shock$ ]
|
|
1342
|
+
[[add_manuever] add_manuever = $add_manuever$ ]
|
|
1343
|
+
[[add_siege] add_siege = $add_siege$ ]
|
|
1344
|
+
[[name] name = "$name$" ]
|
|
1345
|
+
[[culture] culture = $culture$ ]
|
|
1346
|
+
}
|
|
1347
|
+
custom_tooltip = ME_GENERAL_$add_fire$_$add_shock$_$add_manuever$_$add_siege$
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
mission_give_province_claims = {
|
|
1351
|
+
$id$ = {
|
|
1352
|
+
if = {
|
|
1353
|
+
limit = {
|
|
1354
|
+
NOT = { is_core = $tag$ }
|
|
1355
|
+
NOT = { is_permanent_claim = $tag$ }
|
|
1356
|
+
}
|
|
1357
|
+
add_permanent_claim = $tag$
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
mission_give_area_claims = {
|
|
1363
|
+
$group$ = {
|
|
1364
|
+
limit = {
|
|
1365
|
+
NOT = { is_core = $tag$ }
|
|
1366
|
+
NOT = { is_permanent_claim = $tag$ }
|
|
1367
|
+
}
|
|
1368
|
+
add_permanent_claim = $tag$
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
give_claims = {
|
|
1373
|
+
[[province]
|
|
1374
|
+
mission_give_province_claims = { id = $province$ tag = ROOT }
|
|
1375
|
+
]
|
|
1376
|
+
[[id]
|
|
1377
|
+
mission_give_province_claims = { id = $id$ tag = ROOT }
|
|
1378
|
+
]
|
|
1379
|
+
[[area]
|
|
1380
|
+
mission_give_area_claims = { group = $area$ tag = ROOT }
|
|
1381
|
+
]
|
|
1382
|
+
[[region]
|
|
1383
|
+
mission_give_area_claims = { group = $region$ tag = ROOT }
|
|
1384
|
+
]
|
|
1385
|
+
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
add_power_projection_mission = {
|
|
1389
|
+
add_power_projection = {
|
|
1390
|
+
type = mission_rewards_power_projection
|
|
1391
|
+
amount = $amount$
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
country_event_with_effect_insight = {
|
|
1396
|
+
country_event = {
|
|
1397
|
+
id = $id$
|
|
1398
|
+
[[days] days = $days$]
|
|
1399
|
+
[[random] random = $random$]
|
|
1400
|
+
[[tooltip] tooltip = $tooltip$]
|
|
1401
|
+
}
|
|
1402
|
+
custom_tooltip = EVENT_INSIGHT_INTRO
|
|
1403
|
+
tooltip = {
|
|
1404
|
+
$effect$
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
country_event_with_option_insight = {
|
|
1409
|
+
country_event = {
|
|
1410
|
+
id = $id$
|
|
1411
|
+
[[days] days = $days$]
|
|
1412
|
+
[[random] random = $random$]
|
|
1413
|
+
[[tooltip] tooltip = $tooltip$]
|
|
1414
|
+
}
|
|
1415
|
+
custom_tooltip = EVENT_INSIGHT_INTRO
|
|
1416
|
+
custom_tooltip = EVENT_INSIGHT_OPT_1
|
|
1417
|
+
tooltip = {
|
|
1418
|
+
$option_1$
|
|
1419
|
+
}
|
|
1420
|
+
[[option_2]
|
|
1421
|
+
custom_tooltip = EVENT_INSIGHT_OPT_2
|
|
1422
|
+
tooltip = {
|
|
1423
|
+
$option_2$
|
|
1424
|
+
}
|
|
1425
|
+
]
|
|
1426
|
+
[[option_3]
|
|
1427
|
+
custom_tooltip = EVENT_INSIGHT_OPT_3
|
|
1428
|
+
tooltip = {
|
|
1429
|
+
$option_3$
|
|
1430
|
+
}
|
|
1431
|
+
]
|
|
1432
|
+
[[option_4]
|
|
1433
|
+
custom_tooltip = EVENT_INSIGHT_OPT_4
|
|
1434
|
+
tooltip = {
|
|
1435
|
+
$option_4$
|
|
1436
|
+
}
|
|
1437
|
+
]
|
|
1438
|
+
[[option_5]
|
|
1439
|
+
custom_tooltip = EVENT_INSIGHT_OPT_5
|
|
1440
|
+
tooltip = {
|
|
1441
|
+
$option_5$
|
|
1442
|
+
}
|
|
1443
|
+
]
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
######################################
|
|
1447
|
+
# Branching Missions Preview Effects #
|
|
1448
|
+
######################################
|
|
1449
|
+
enable_branching_mission_review = {
|
|
1450
|
+
if = {
|
|
1451
|
+
limit = { ai = yes }
|
|
1452
|
+
country_event = { id = $ai_event_id$ }
|
|
1453
|
+
}
|
|
1454
|
+
else = {
|
|
1455
|
+
custom_tooltip = BYZ_unlock_branches_decision
|
|
1456
|
+
hidden_effect = {
|
|
1457
|
+
set_country_flag = can_choose_$key$_branching_missions
|
|
1458
|
+
change_variable = {
|
|
1459
|
+
which = can_preview_missions_var
|
|
1460
|
+
value = 1
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
select_current_missions_TEU = {
|
|
1467
|
+
if = {
|
|
1468
|
+
limit = { has_country_flag = teu_prussian_path }
|
|
1469
|
+
hidden_effect = {
|
|
1470
|
+
clr_country_flag = teu_crusader_path
|
|
1471
|
+
if = {
|
|
1472
|
+
limit = {
|
|
1473
|
+
has_country_flag = formed_prussia_flag
|
|
1474
|
+
NOT = { tag = PRU }
|
|
1475
|
+
NOT = { was_tag = PRU }
|
|
1476
|
+
}
|
|
1477
|
+
clr_country_flag = formed_prussia_flag
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
if = {
|
|
1482
|
+
limit = { has_country_flag = teu_crusader_path }
|
|
1483
|
+
hidden_effect = {
|
|
1484
|
+
clr_country_flag = teu_prussian_path
|
|
1485
|
+
clr_country_flag = teu_diplomacy_hre_path
|
|
1486
|
+
clr_country_flag = teu_conquest_hre_path
|
|
1487
|
+
set_country_flag = formed_prussia_flag
|
|
1488
|
+
}
|
|
1489
|
+
if = {
|
|
1490
|
+
limit = { has_mission = teu_defeat_the_poles }
|
|
1491
|
+
hidden_effect = {
|
|
1492
|
+
if = {
|
|
1493
|
+
limit = {
|
|
1494
|
+
has_mission = teu_crusader_mil_reform_1
|
|
1495
|
+
NOT = { mission_completed = teu_crusader_mil_reform_1 }
|
|
1496
|
+
}
|
|
1497
|
+
set_country_flag = teu_crusader_battle_counter
|
|
1498
|
+
}
|
|
1499
|
+
else = {
|
|
1500
|
+
clr_country_flag = teu_crusader_battle_counter
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
custom_tooltip = flavor_teu.10.b.ct
|
|
1505
|
+
if = {
|
|
1506
|
+
limit = { is_part_of_hre = yes }
|
|
1507
|
+
set_in_empire = no
|
|
1508
|
+
}
|
|
1509
|
+
samogitia_area = {
|
|
1510
|
+
limit = {
|
|
1511
|
+
NOT = { is_core = ROOT }
|
|
1512
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1513
|
+
}
|
|
1514
|
+
add_permanent_claim = ROOT
|
|
1515
|
+
}
|
|
1516
|
+
lithuania_area = {
|
|
1517
|
+
limit = {
|
|
1518
|
+
NOT = { is_core = ROOT }
|
|
1519
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1520
|
+
}
|
|
1521
|
+
add_permanent_claim = ROOT
|
|
1522
|
+
}
|
|
1523
|
+
mazovia_area = {
|
|
1524
|
+
limit = {
|
|
1525
|
+
NOT = { is_core = ROOT }
|
|
1526
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1527
|
+
}
|
|
1528
|
+
add_permanent_claim = ROOT
|
|
1529
|
+
}
|
|
1530
|
+
malopolska_area = {
|
|
1531
|
+
limit = {
|
|
1532
|
+
NOT = { is_core = ROOT }
|
|
1533
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1534
|
+
}
|
|
1535
|
+
add_permanent_claim = ROOT
|
|
1536
|
+
}
|
|
1537
|
+
central_poland_area = {
|
|
1538
|
+
limit = {
|
|
1539
|
+
NOT = { is_core = ROOT }
|
|
1540
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1541
|
+
}
|
|
1542
|
+
add_permanent_claim = ROOT
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
select_current_missions_TEU_PRU = {
|
|
1547
|
+
if = {
|
|
1548
|
+
limit = { has_country_flag = teu_diplomacy_hre_path }
|
|
1549
|
+
hidden_effect = {
|
|
1550
|
+
clr_country_flag = teu_conquest_hre_path
|
|
1551
|
+
clr_country_flag = teu_kingdom_prussia_path
|
|
1552
|
+
clr_country_flag = teu_joined_the_hre
|
|
1553
|
+
}
|
|
1554
|
+
if = {
|
|
1555
|
+
limit = {
|
|
1556
|
+
is_part_of_hre = no
|
|
1557
|
+
hre_size = 1
|
|
1558
|
+
}
|
|
1559
|
+
set_in_empire = yes
|
|
1560
|
+
emperor = { add_imperial_influence = 10 }
|
|
1561
|
+
}
|
|
1562
|
+
if = {
|
|
1563
|
+
limit = { tag = TEU }
|
|
1564
|
+
country_event = { id = flavor_teu.34 }
|
|
1565
|
+
}
|
|
1566
|
+
if = {
|
|
1567
|
+
limit = { exists = BRA }
|
|
1568
|
+
add_casus_belli = {
|
|
1569
|
+
type = cb_vassalize_mission
|
|
1570
|
+
target = BRA
|
|
1571
|
+
months = 240
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
mittelmark_area = {
|
|
1575
|
+
limit = {
|
|
1576
|
+
NOT = { is_core = ROOT }
|
|
1577
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1578
|
+
}
|
|
1579
|
+
add_permanent_claim = ROOT
|
|
1580
|
+
}
|
|
1581
|
+
neumark_area = {
|
|
1582
|
+
limit = {
|
|
1583
|
+
NOT = { is_core = ROOT }
|
|
1584
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1585
|
+
}
|
|
1586
|
+
add_permanent_claim = ROOT
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
if = {
|
|
1590
|
+
limit = { has_country_flag = teu_conquest_hre_path }
|
|
1591
|
+
if = {
|
|
1592
|
+
limit = {
|
|
1593
|
+
is_part_of_hre = no
|
|
1594
|
+
hre_size = 1
|
|
1595
|
+
}
|
|
1596
|
+
set_in_empire = yes
|
|
1597
|
+
emperor = { add_imperial_influence = 10 }
|
|
1598
|
+
}
|
|
1599
|
+
hidden_effect = {
|
|
1600
|
+
set_country_flag = teu_conquest_hre_path
|
|
1601
|
+
clr_country_flag = teu_diplomacy_hre_path
|
|
1602
|
+
clr_country_flag = teu_kingdom_prussia_path
|
|
1603
|
+
clr_country_flag = teu_joined_the_hre
|
|
1604
|
+
}
|
|
1605
|
+
if = {
|
|
1606
|
+
limit = { tag = TEU }
|
|
1607
|
+
country_event = { id = flavor_teu.34 }
|
|
1608
|
+
}
|
|
1609
|
+
mittelmark_area = {
|
|
1610
|
+
limit = {
|
|
1611
|
+
NOT = { is_core = ROOT }
|
|
1612
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1613
|
+
}
|
|
1614
|
+
add_permanent_claim = ROOT
|
|
1615
|
+
}
|
|
1616
|
+
neumark_area = {
|
|
1617
|
+
limit = {
|
|
1618
|
+
NOT = { is_core = ROOT }
|
|
1619
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1620
|
+
}
|
|
1621
|
+
add_permanent_claim = ROOT
|
|
1622
|
+
}
|
|
1623
|
+
vorpommern_area = {
|
|
1624
|
+
limit = {
|
|
1625
|
+
NOT = { is_core = ROOT }
|
|
1626
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1627
|
+
}
|
|
1628
|
+
add_permanent_claim = ROOT
|
|
1629
|
+
}
|
|
1630
|
+
hinter_pommern_area = {
|
|
1631
|
+
limit = {
|
|
1632
|
+
NOT = { is_core = ROOT }
|
|
1633
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1634
|
+
}
|
|
1635
|
+
add_permanent_claim = ROOT
|
|
1636
|
+
}
|
|
1637
|
+
mecklenburg_area = {
|
|
1638
|
+
limit = {
|
|
1639
|
+
NOT = { is_core = ROOT }
|
|
1640
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1641
|
+
}
|
|
1642
|
+
add_permanent_claim = ROOT
|
|
1643
|
+
}
|
|
1644
|
+
add_country_modifier = {
|
|
1645
|
+
name = teu_pru_prussian_unification_wars
|
|
1646
|
+
duration = 9125
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
if = {
|
|
1650
|
+
limit = { has_country_flag = teu_kingdom_prussia_path }
|
|
1651
|
+
if = {
|
|
1652
|
+
limit = { is_part_of_hre = yes }
|
|
1653
|
+
set_in_empire = no
|
|
1654
|
+
}
|
|
1655
|
+
add_prestige = 50
|
|
1656
|
+
if = {
|
|
1657
|
+
limit = { has_country_flag = teu_is_allowed_to_stay_in_the_hre }
|
|
1658
|
+
reverse_add_opinion = {
|
|
1659
|
+
who = emperor
|
|
1660
|
+
modifier = hre_country_left
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
hidden_effect = {
|
|
1664
|
+
clr_country_flag = teu_diplomacy_hre_path
|
|
1665
|
+
clr_country_flag = teu_conquest_hre_path
|
|
1666
|
+
clr_country_flag = teu_joined_the_hre
|
|
1667
|
+
}
|
|
1668
|
+
samogitia_area = {
|
|
1669
|
+
limit = {
|
|
1670
|
+
NOT = { is_core = ROOT }
|
|
1671
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1672
|
+
}
|
|
1673
|
+
add_permanent_claim = ROOT
|
|
1674
|
+
}
|
|
1675
|
+
lithuania_area = {
|
|
1676
|
+
limit = {
|
|
1677
|
+
NOT = { is_core = ROOT }
|
|
1678
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1679
|
+
}
|
|
1680
|
+
add_permanent_claim = ROOT
|
|
1681
|
+
}
|
|
1682
|
+
mazovia_area = {
|
|
1683
|
+
limit = {
|
|
1684
|
+
NOT = { is_core = ROOT }
|
|
1685
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1686
|
+
}
|
|
1687
|
+
add_permanent_claim = ROOT
|
|
1688
|
+
}
|
|
1689
|
+
malopolska_area = {
|
|
1690
|
+
limit = {
|
|
1691
|
+
NOT = { is_core = ROOT }
|
|
1692
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1693
|
+
}
|
|
1694
|
+
add_permanent_claim = ROOT
|
|
1695
|
+
}
|
|
1696
|
+
central_poland_area = {
|
|
1697
|
+
limit = {
|
|
1698
|
+
NOT = { is_core = ROOT }
|
|
1699
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1700
|
+
}
|
|
1701
|
+
add_permanent_claim = ROOT
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
select_current_missions_LIV = {
|
|
1706
|
+
if = {
|
|
1707
|
+
limit = {
|
|
1708
|
+
has_country_flag = liv_crusader_path
|
|
1709
|
+
}
|
|
1710
|
+
hidden_effect = {
|
|
1711
|
+
set_country_flag = formed_livonia_flag
|
|
1712
|
+
set_country_flag = formed_courland_flag
|
|
1713
|
+
}
|
|
1714
|
+
custom_tooltip = flavor_liv.1.b.ct
|
|
1715
|
+
lithuania_area = {
|
|
1716
|
+
limit = {
|
|
1717
|
+
NOT = { is_core = ROOT }
|
|
1718
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1719
|
+
}
|
|
1720
|
+
add_permanent_claim = ROOT
|
|
1721
|
+
}
|
|
1722
|
+
samogitia_area = {
|
|
1723
|
+
limit = {
|
|
1724
|
+
NOT = { is_core = ROOT }
|
|
1725
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1726
|
+
}
|
|
1727
|
+
add_permanent_claim = ROOT
|
|
1728
|
+
}
|
|
1729
|
+
karelia_area = {
|
|
1730
|
+
limit = {
|
|
1731
|
+
NOT = { is_core = ROOT }
|
|
1732
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1733
|
+
}
|
|
1734
|
+
add_permanent_claim = ROOT
|
|
1735
|
+
}
|
|
1736
|
+
novgorod_area = {
|
|
1737
|
+
limit = {
|
|
1738
|
+
NOT = { is_core = ROOT }
|
|
1739
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1740
|
+
}
|
|
1741
|
+
add_permanent_claim = ROOT
|
|
1742
|
+
}
|
|
1743
|
+
pskov_area = {
|
|
1744
|
+
limit = {
|
|
1745
|
+
NOT = { is_core = ROOT }
|
|
1746
|
+
NOT = { is_permanent_claim = ROOT }
|
|
1747
|
+
}
|
|
1748
|
+
add_permanent_claim = ROOT
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
select_current_missions_BYZ = {} #Empty
|
|
1753
|
+
select_current_missions_PER = {
|
|
1754
|
+
if = {
|
|
1755
|
+
limit = {
|
|
1756
|
+
OR = {
|
|
1757
|
+
has_country_flag = per_shia_missions
|
|
1758
|
+
has_country_flag = per_sunni_missions
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
country_event = { id = flavor_per.34 }
|
|
1762
|
+
}
|
|
1763
|
+
if = {
|
|
1764
|
+
limit = { has_country_flag = per_zoroastrian_missions }
|
|
1765
|
+
if = {
|
|
1766
|
+
limit = { NOT = { religion_group = zoroastrian_group } }
|
|
1767
|
+
country_event = { id = flavor_per.35 }
|
|
1768
|
+
}
|
|
1769
|
+
else = {
|
|
1770
|
+
change_estate_land_share = { estate = estate_church share = -5 }
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
select_current_missions = {
|
|
1776
|
+
hidden_effect = {
|
|
1777
|
+
clr_country_flag = can_choose_$key$_branching_missions
|
|
1778
|
+
change_variable = {
|
|
1779
|
+
which = can_preview_missions_var
|
|
1780
|
+
value = -1
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
select_current_missions_$key$ = yes
|
|
1784
|
+
}
|
|
1785
|
+
select_current_branch = {
|
|
1786
|
+
custom_tooltip = BYZ_end_preview
|
|
1787
|
+
if = {
|
|
1788
|
+
limit = { can_preview_mission_of_key = { key = TEU } }
|
|
1789
|
+
select_current_missions = { key = TEU }
|
|
1790
|
+
}
|
|
1791
|
+
if = {
|
|
1792
|
+
limit = { can_preview_mission_of_key = { key = TEU_PRU } }
|
|
1793
|
+
select_current_missions = { key = TEU_PRU }
|
|
1794
|
+
}
|
|
1795
|
+
if = {
|
|
1796
|
+
limit = { can_preview_mission_of_key = { key = LIV } }
|
|
1797
|
+
select_current_missions = { key = LIV }
|
|
1798
|
+
}
|
|
1799
|
+
if = {
|
|
1800
|
+
limit = { can_preview_mission_of_key = { key = BYZ } }
|
|
1801
|
+
select_current_missions = { key = BYZ }
|
|
1802
|
+
}
|
|
1803
|
+
if = {
|
|
1804
|
+
limit = { can_preview_mission_of_key = { key = PER } }
|
|
1805
|
+
select_current_missions = { key = PER }
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
clear_all_branching_flags = {
|
|
1810
|
+
#TEU
|
|
1811
|
+
if = {
|
|
1812
|
+
limit = { can_preview_mission_of_key = { key = TEU } }
|
|
1813
|
+
clr_country_flag = teu_prussian_path
|
|
1814
|
+
clr_country_flag = teu_crusader_path
|
|
1815
|
+
}
|
|
1816
|
+
#TEU-PRU
|
|
1817
|
+
if = {
|
|
1818
|
+
limit = { can_preview_mission_of_key = { key = TEU_PRU } }
|
|
1819
|
+
clr_country_flag = teu_conquest_hre_path
|
|
1820
|
+
clr_country_flag = teu_diplomacy_hre_path
|
|
1821
|
+
clr_country_flag = teu_kingdom_prussia_path
|
|
1822
|
+
}
|
|
1823
|
+
#LIV
|
|
1824
|
+
if = {
|
|
1825
|
+
limit = { can_preview_mission_of_key = { key = LIV } }
|
|
1826
|
+
clr_country_flag = liv_livonian_path
|
|
1827
|
+
clr_country_flag = liv_crusader_path
|
|
1828
|
+
}
|
|
1829
|
+
#BYZ
|
|
1830
|
+
if = {
|
|
1831
|
+
limit = { can_preview_mission_of_key = { key = BYZ } }
|
|
1832
|
+
clr_country_flag = BYZ_centralized
|
|
1833
|
+
clr_country_flag = BYZ_decentralized
|
|
1834
|
+
}
|
|
1835
|
+
#PER
|
|
1836
|
+
if = {
|
|
1837
|
+
limit = { can_preview_mission_of_key = { key = PER } }
|
|
1838
|
+
clr_country_flag = per_shia_missions
|
|
1839
|
+
clr_country_flag = per_sunni_missions
|
|
1840
|
+
clr_country_flag = per_zoroastrian_missions
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
preview_mission_branch_1 = {
|
|
1845
|
+
#TEU
|
|
1846
|
+
if = {
|
|
1847
|
+
limit = { can_preview_mission_of_key = { key = TEU } }
|
|
1848
|
+
set_country_flag = teu_prussian_path
|
|
1849
|
+
custom_tooltip = TEU_preview_prussian
|
|
1850
|
+
}
|
|
1851
|
+
#TEU_PRU
|
|
1852
|
+
if = {
|
|
1853
|
+
limit = { can_preview_mission_of_key = { key = TEU_PRU } }
|
|
1854
|
+
set_country_flag = teu_conquest_hre_path
|
|
1855
|
+
custom_tooltip = TEU_PRU_preview_hre_conquest
|
|
1856
|
+
}
|
|
1857
|
+
#LIV
|
|
1858
|
+
if = {
|
|
1859
|
+
limit = { can_preview_mission_of_key = { key = LIV } }
|
|
1860
|
+
set_country_flag = liv_livonian_path
|
|
1861
|
+
custom_tooltip = LIV_preview_livonian
|
|
1862
|
+
}
|
|
1863
|
+
#BYZ
|
|
1864
|
+
if = {
|
|
1865
|
+
limit = { can_preview_mission_of_key = { key = BYZ } }
|
|
1866
|
+
set_country_flag = BYZ_centralized
|
|
1867
|
+
custom_tooltip = BYZ_preview_centralized
|
|
1868
|
+
}
|
|
1869
|
+
#PER
|
|
1870
|
+
if = {
|
|
1871
|
+
limit = { can_preview_mission_of_key = { key = PER } }
|
|
1872
|
+
set_country_flag = per_shia_missions
|
|
1873
|
+
custom_tooltip = per_preview_shia_missions
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
preview_mission_branch_2 = {
|
|
1877
|
+
#TEU
|
|
1878
|
+
if = {
|
|
1879
|
+
limit = { can_preview_mission_of_key = { key = TEU } }
|
|
1880
|
+
set_country_flag = teu_crusader_path
|
|
1881
|
+
custom_tooltip = TEU_preview_crusader
|
|
1882
|
+
}
|
|
1883
|
+
#TEU_PRU
|
|
1884
|
+
if = {
|
|
1885
|
+
limit = { can_preview_mission_of_key = { key = TEU_PRU } }
|
|
1886
|
+
if = {
|
|
1887
|
+
limit = { hre_size = 1 }
|
|
1888
|
+
set_country_flag = teu_diplomacy_hre_path
|
|
1889
|
+
custom_tooltip = TEU_PRU_preview_hre_diplomacy
|
|
1890
|
+
}
|
|
1891
|
+
else = {
|
|
1892
|
+
set_country_flag = teu_kingdom_prussia_path
|
|
1893
|
+
custom_tooltip = TEU_PRU_preview_prussian_kingdom
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
#LIV
|
|
1897
|
+
if = {
|
|
1898
|
+
limit = { can_preview_mission_of_key = { key = LIV } }
|
|
1899
|
+
set_country_flag = liv_crusader_path
|
|
1900
|
+
custom_tooltip = LIV_preview_crusader
|
|
1901
|
+
}
|
|
1902
|
+
#BYZ
|
|
1903
|
+
if = {
|
|
1904
|
+
limit = { can_preview_mission_of_key = { key = BYZ } }
|
|
1905
|
+
set_country_flag = BYZ_decentralized
|
|
1906
|
+
custom_tooltip = BYZ_preview_decentralized
|
|
1907
|
+
}
|
|
1908
|
+
#PER
|
|
1909
|
+
if = {
|
|
1910
|
+
limit = { can_preview_mission_of_key = { key = PER } }
|
|
1911
|
+
set_country_flag = per_sunni_missions
|
|
1912
|
+
custom_tooltip = per_preview_sunni_missions
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
preview_mission_branch_3 = {
|
|
1916
|
+
#TEU_PRU
|
|
1917
|
+
if = {
|
|
1918
|
+
limit = { can_preview_mission_of_key = { key = TEU_PRU } }
|
|
1919
|
+
set_country_flag = teu_kingdom_prussia_path
|
|
1920
|
+
custom_tooltip = TEU_PRU_preview_prussian_kingdom
|
|
1921
|
+
}
|
|
1922
|
+
#PER
|
|
1923
|
+
if = {
|
|
1924
|
+
limit = { can_preview_mission_of_key = { key = PER } }
|
|
1925
|
+
set_country_flag = per_zoroastrian_missions
|
|
1926
|
+
custom_tooltip = per_preview_zoroastrian_missions
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
preview_mission_branch_4 = {
|
|
1930
|
+
}
|
|
1931
|
+
preview_mission_branch_5 = {
|
|
1932
|
+
}
|
|
1933
|
+
preview_mission_branch = {
|
|
1934
|
+
clear_all_branching_flags = yes
|
|
1935
|
+
preview_mission_branch_$branch$ = yes
|
|
1936
|
+
hidden_effect = { swap_non_generic_missions = yes }
|
|
819
1937
|
}
|