Diff to HTML by rtfpessoa

Files changed (3) hide show
  1. common/scripted_effects/00_scripted_effects.txt +11 -1
  2. common/scripted_effects/01_scripted_effects_for_estates.txt +11 -0
  3. common/scripted_effects/02_scripted_effects_mission_rewards.txt +910 -42
common/scripted_effects/00_scripted_effects.txt CHANGED
@@ -4092,6 +4092,7 @@ add_accepted_culture_or_dip_power = {
4092
4092
  }
4093
4093
  [[free]
4094
4094
  custom_tooltip = CULTURE_WILL_NOT_TAKE_SLOT_UNTIL_DEMOTED_TT
4095
+ custom_tooltip = ADD_ACCEPTED_CULTURE_TT
4095
4096
  hidden_effect = {
4096
4097
  add_country_modifier = {
4097
4098
  name = free_slot_for_$culture$
@@ -4101,7 +4102,7 @@ add_accepted_culture_or_dip_power = {
4101
4102
  }
4102
4103
  ]
4103
4104
  [[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
+ custom_tooltip = ADD_ACCEPTED_CULTURE_SLOT_LIMITATION_TT # "If the §YCulture§! is already an §YAccepted Culture§!, or if there are not enough §YSlots§!, gain §G100§! Diplomatic Power instead."
4105
4106
  ]
4106
4107
  hidden_effect = {
4107
4108
  if = {
@@ -5326,6 +5327,9 @@ update_entire_culture = {
5326
5327
  }
5327
5328
  }
5328
5329
  set_global_flag = updated_$culture$_flag
5330
+ [[clear_previous_accepted_culture]
5331
+ remove_accepted_culture = $culture$
5332
+ ]
5329
5333
  }
5330
5334
  }
5331
5335
 
@@ -5356,6 +5360,9 @@ update_entire_culture_foreign = {
5356
5360
  }
5357
5361
  set_consort_culture = $culture$_new
5358
5362
  }
5363
+ [[clear_previous_accepted_culture]
5364
+ remove_accepted_culture = $culture$
5365
+ ]
5359
5366
  }
5360
5367
  set_global_flag = updated_$culture$_flag
5361
5368
  }
@@ -5492,6 +5499,9 @@ update_entire_culture_group = {
5492
5499
  }
5493
5500
  set_consort_culture = $culture$_new
5494
5501
  }
5502
+ [[clear_previous_accepted_culture]
5503
+ remove_accepted_culture = $culture$
5504
+ ]
5495
5505
  }
5496
5506
  set_global_flag = updated_$culture$_flag
5497
5507
  }
common/scripted_effects/01_scripted_effects_for_estates.txt CHANGED
@@ -2251,6 +2251,17 @@ on_province_tax_building_built_estate_privileges_effect = {
2251
2251
  duration = -1
2252
2252
  }
2253
2253
  }
2254
+ if = {
2255
+ limit = {
2256
+ owner = { has_estate_privilege = estate_brahmins_development_of_temples }
2257
+ religion_group = dharmic
2258
+ has_tax_building_trigger = yes
2259
+ }
2260
+ add_province_modifier = {
2261
+ name = estate_brahmins_development_of_temples_mod
2262
+ duration = -1
2263
+ }
2264
+ }
2254
2265
  if = {
2255
2266
  limit = {
2256
2267
  owner = {
common/scripted_effects/02_scripted_effects_mission_rewards.txt CHANGED
@@ -1446,6 +1446,26 @@ country_event_with_option_insight = {
1446
1446
  ######################################
1447
1447
  # Branching Missions Preview Effects #
1448
1448
  ######################################
1449
+ enable_branching_mission_review_of_batch = {
1450
+ if = {
1451
+ limit = { not = { has_country_flag = has_batch_1_active } }
1452
+ set_country_flag = has_batch_1_active
1453
+ set_country_flag = can_choose_$key$_1_branching_missions
1454
+ }
1455
+ else_if = {
1456
+ limit = { not = { has_country_flag = has_batch_2_active } }
1457
+ set_country_flag = has_batch_2_active
1458
+ set_country_flag = can_choose_$key$_2_branching_missions
1459
+ }
1460
+ else_if = {
1461
+ limit = { not = { has_country_flag = has_batch_3_active } }
1462
+ set_country_flag = has_batch_3_active
1463
+ set_country_flag = can_choose_$key$_3_branching_missions
1464
+ }
1465
+ else = {
1466
+ log = "Too many mission batches active at the same time. Make sure that any given moment only 3 batches are active to preview"
1467
+ }
1468
+ }
1449
1469
  enable_branching_mission_review = {
1450
1470
  if = {
1451
1471
  limit = { ai = yes }
@@ -1454,7 +1474,7 @@ enable_branching_mission_review = {
1454
1474
  else = {
1455
1475
  custom_tooltip = BYZ_unlock_branches_decision
1456
1476
  hidden_effect = {
1457
- set_country_flag = can_choose_$key$_branching_missions
1477
+ enable_branching_mission_review_of_batch = { key = $key$ }
1458
1478
  change_variable = {
1459
1479
  which = can_preview_missions_var
1460
1480
  value = 1
@@ -1462,7 +1482,176 @@ enable_branching_mission_review = {
1462
1482
  }
1463
1483
  }
1464
1484
  }
1485
+ enable_branching_mission_review_without_ai = {
1486
+ custom_tooltip = BYZ_unlock_branches_decision
1487
+ hidden_effect = {
1488
+ enable_branching_mission_review_of_batch = { key = $key$ }
1489
+ change_variable = {
1490
+ which = can_preview_missions_var
1491
+ value = 1
1492
+ }
1493
+ }
1494
+ }
1465
1495
 
1496
+ select_current_missions_MAL = {} #Empty on purpose, preview system only implemented for the sake of completion
1497
+ select_current_missions_SON = {
1498
+ if = {
1499
+ limit = { has_country_flag = son_islamic_focus }
1500
+ hidden_effect = { clr_country_flag = son_tolerance_focus }
1501
+ add_estate_loyalty = {
1502
+ estate = estate_church
1503
+ loyalty = 10
1504
+ }
1505
+ add_estate_loyalty = {
1506
+ estate = estate_nobles
1507
+ loyalty = -10
1508
+ }
1509
+ add_estate_loyalty = {
1510
+ estate = estate_dhimmi
1511
+ loyalty = -10
1512
+ }
1513
+ }
1514
+ if = {
1515
+ limit = { has_country_flag = son_tolerance_focus }
1516
+ hidden_effect = { clr_country_flag = son_islamic_focus }
1517
+ add_estate_loyalty = {
1518
+ estate = estate_church
1519
+ loyalty = -10
1520
+ }
1521
+ add_estate_loyalty = {
1522
+ estate = estate_nobles
1523
+ loyalty = 10
1524
+ }
1525
+ add_estate_loyalty = {
1526
+ estate = estate_dhimmi
1527
+ loyalty = 10
1528
+ }
1529
+ }
1530
+ }
1531
+ select_current_missions_KON = {} #Empty on purpose, preview system only implemented for the sake of completion
1532
+ select_scandinavian_religion_mission_effect = {
1533
+ if = {
1534
+ limit = { has_country_flag = sca_unlock_catholic_missions }
1535
+ if = {
1536
+ limit = { NOT = { religion = catholic } }
1537
+ add_stability = -2
1538
+ custom_tooltip = flavor_sca.1.a.tt
1539
+ if = {
1540
+ limit = {
1541
+ NOT = { religion = coptic }
1542
+ NOT = { religion = orthodox }
1543
+ }
1544
+ hidden_effect = {
1545
+ every_known_country = {
1546
+ limit = {
1547
+ religion = ROOT
1548
+ }
1549
+ add_opinion = {
1550
+ who = ROOT
1551
+ modifier = swe_abandoned_the_reformation
1552
+ }
1553
+ }
1554
+ }
1555
+ }
1556
+ else = {
1557
+ hidden_effect = {
1558
+ every_known_country = {
1559
+ limit = {
1560
+ religion = ROOT
1561
+ }
1562
+ add_opinion = {
1563
+ who = ROOT
1564
+ modifier = swe_betrayed_our_faith
1565
+ }
1566
+ }
1567
+ }
1568
+ }
1569
+ change_religion = catholic
1570
+ capital_scope = {
1571
+ change_religion = catholic
1572
+ }
1573
+ random_owned_province = {
1574
+ limit = {
1575
+ region = scandinavia_region
1576
+ NOT = { religion = catholic }
1577
+ }
1578
+ change_religion = catholic
1579
+ }
1580
+ }
1581
+ }
1582
+ if = {
1583
+ limit = { has_country_flag = sca_unlock_protestant_missions }
1584
+ if = {
1585
+ limit = { religion = catholic }
1586
+ add_stability = -2
1587
+ custom_tooltip = flavor_sca.1.a.tt
1588
+ hidden_effect = {
1589
+ every_known_country = {
1590
+ limit = {
1591
+ religion = ROOT
1592
+ }
1593
+ add_opinion = {
1594
+ who = ROOT
1595
+ modifier = swe_betrayed_the_holy_see
1596
+ }
1597
+ }
1598
+ }
1599
+ change_religion = protestant
1600
+ capital_scope = {
1601
+ change_religion = protestant
1602
+ }
1603
+ random_owned_province = {
1604
+ limit = {
1605
+ region = scandinavia_region
1606
+ religion = catholic
1607
+ }
1608
+ change_religion = protestant
1609
+ }
1610
+ }
1611
+ else = {
1612
+ capital_scope = {
1613
+ change_religion = ROOT
1614
+ }
1615
+ random_owned_province = {
1616
+ limit = {
1617
+ region = scandinavia_region
1618
+ NOT = { religion = ROOT }
1619
+ }
1620
+ change_religion = ROOT
1621
+ }
1622
+ }
1623
+ }
1624
+ if = {
1625
+ limit = { has_country_flag = sca_unlock_humanist_missions }
1626
+ custom_tooltip = flavor_sca.1.d.tt
1627
+ hidden_effect = {
1628
+ every_known_country = {
1629
+ limit = {
1630
+ religion_group = christian
1631
+ NOT = { religion = orthodox }
1632
+ NOT = { religion = coptic }
1633
+ }
1634
+ add_opinion = {
1635
+ who = ROOT
1636
+ modifier = swe_is_not_for_us
1637
+ }
1638
+ }
1639
+ }
1640
+ }
1641
+ if = {
1642
+ limit = { has_country_flag = sca_unlock_norse_missions }
1643
+ add_army_tradition = 5
1644
+ }
1645
+ }
1646
+ select_current_missions_SWE = {
1647
+ select_scandinavian_religion_mission_effect = yes
1648
+ }
1649
+ select_current_missions_DAN = {
1650
+ select_scandinavian_religion_mission_effect = yes
1651
+ }
1652
+ select_current_missions_NOR = {
1653
+ select_scandinavian_religion_mission_effect = yes
1654
+ }
1466
1655
  select_current_missions_TEU = {
1467
1656
  if = {
1468
1657
  limit = { has_country_flag = teu_prussian_path }
@@ -1749,7 +1938,324 @@ select_current_missions_LIV = {
1749
1938
  }
1750
1939
  }
1751
1940
  }
1752
- select_current_missions_BYZ = {} #Empty
1941
+ select_current_missions_POL = {} #Empty on purpose, preview system only implemented for the sake of completion
1942
+ select_current_missions_TUR = {
1943
+ if = {
1944
+ limit = { has_country_flag = tur_chose_legalism }
1945
+ hidden_effect = {
1946
+ clr_country_flag = tur_chose_mysticism
1947
+ clr_country_flag = tur_non_muslim_path_flag
1948
+ }
1949
+ add_country_modifier = {
1950
+ name = tur_embraced_legalism_modifier
1951
+ duration = 18250
1952
+ }
1953
+ }
1954
+ if = {
1955
+ limit = { has_country_flag = tur_chose_mysticism }
1956
+ hidden_effect = {
1957
+ clr_country_flag = tur_chose_legalism
1958
+ clr_country_flag = tur_non_muslim_path_flag
1959
+ }
1960
+ add_country_modifier = {
1961
+ name = tur_embraced_mysticism_modifier
1962
+ duration = 18250
1963
+ }
1964
+ }
1965
+ if = {
1966
+ limit = { has_country_flag = tur_non_muslim_path_flag }
1967
+ hidden_effect = {
1968
+ clr_country_flag = tur_chose_legalism
1969
+ clr_country_flag = tur_chose_mysticism
1970
+ }
1971
+ add_country_modifier = {
1972
+ name = tur_end_of_the_caliphate_modifier
1973
+ duration = 18250
1974
+ }
1975
+ }
1976
+ }
1977
+ select_current_missions_MNG = {
1978
+ if = {
1979
+ limit = { has_country_flag = mng_dynamic_1 }
1980
+ clr_country_flag = mng_dynamic_2
1981
+ add_country_modifier = {
1982
+ name = haijin_policy_modifier
1983
+ duration = -1
1984
+ desc = until_we_complete_the_appropriate_missions_desc
1985
+ }
1986
+ }
1987
+ if = {
1988
+ limit = { has_country_flag = mng_dynamic_2 }
1989
+ clr_country_flag = mng_dynamic_1
1990
+ add_country_modifier = {
1991
+ name = haijin_policy_modifier
1992
+ duration = -1
1993
+ desc = until_we_complete_the_appropriate_missions_desc
1994
+ }
1995
+ }
1996
+ }
1997
+ select_current_missions_QNG = {
1998
+ if = {
1999
+ limit = { has_country_flag = qng_open_ports_flag }
2000
+ clr_country_flag = qng_close_ports_flag
2001
+ if = {
2002
+ limit = { has_reform = mercantilistic_approach_reform }
2003
+ add_government_reform = free_trade_reform
2004
+ }
2005
+ add_country_modifier = {
2006
+ name = qng_free_trade_modifier
2007
+ duration = 9125
2008
+ }
2009
+ }
2010
+ if = {
2011
+ limit = { has_country_flag = qng_close_ports_flag }
2012
+ clr_country_flag = qng_open_ports_flag
2013
+ if = {
2014
+ limit = { has_reform = free_trade_reform }
2015
+ add_government_reform = mercantilistic_approach_reform
2016
+ }
2017
+ add_country_modifier = {
2018
+ name = qng_mercantilism_modifier
2019
+ duration = -1
2020
+ }
2021
+ }
2022
+ }
2023
+ select_current_missions_GBR = {
2024
+ if = {
2025
+ limit = { has_country_flag = eng_took_gbr_branch }
2026
+ clr_country_flag = eng_took_ave_branch
2027
+ add_country_modifier = {
2028
+ name = gbr_isolation_policy
2029
+ duration = 9125
2030
+ }
2031
+ }
2032
+ if = {
2033
+ limit = { has_country_flag = eng_took_ave_branch }
2034
+ clr_country_flag = eng_took_gbr_branch
2035
+ if = {
2036
+ limit = {
2037
+ FRA = {
2038
+ is_subject = no
2039
+ }
2040
+ }
2041
+ add_casus_belli = {
2042
+ target = FRA
2043
+ type = cb_hundred_years_union
2044
+ months = 360
2045
+ }
2046
+ }
2047
+ ile_de_france_area = {
2048
+ limit = {
2049
+ NOT = { is_core = ROOT }
2050
+ NOT = { is_permanent_claim = ROOT }
2051
+ }
2052
+ add_permanent_claim = ROOT
2053
+ }
2054
+ champagne_area = {
2055
+ limit = {
2056
+ NOT = { is_core = ROOT }
2057
+ NOT = { is_permanent_claim = ROOT }
2058
+ }
2059
+ add_permanent_claim = ROOT
2060
+ }
2061
+ }
2062
+ }
2063
+ select_current_missions_FRA = {
2064
+ if = {
2065
+ limit = { has_country_flag = fra_chose_to_piss_off_pope_flag }
2066
+ add_country_modifier = {
2067
+ name = fra_italian_wars_modifier
2068
+ duration = 7300
2069
+ }
2070
+ piedmont_area = {
2071
+ limit = {
2072
+ NOT = { owned_by = ROOT }
2073
+ NOT = { is_core = ROOT }
2074
+ }
2075
+ add_permanent_claim = ROOT
2076
+ }
2077
+ liguria_area = {
2078
+ limit = {
2079
+ NOT = { owned_by = ROOT }
2080
+ NOT = { is_core = ROOT }
2081
+ }
2082
+ add_permanent_claim = ROOT
2083
+ }
2084
+ lombardy_area = {
2085
+ limit = {
2086
+ NOT = { owned_by = ROOT }
2087
+ NOT = { is_core = ROOT }
2088
+ }
2089
+ add_permanent_claim = ROOT
2090
+ }
2091
+ if = {
2092
+ limit = {
2093
+ NAP = { is_subject = no exists = yes }
2094
+ }
2095
+ add_casus_belli = {
2096
+ target = NAP
2097
+ type = cb_vassalize_mission
2098
+ months = 180
2099
+ }
2100
+ }
2101
+ else = {
2102
+ naples_area = {
2103
+ limit = {
2104
+ NOT = { owned_by = ROOT }
2105
+ NOT = { is_core = ROOT }
2106
+ is_empty = no
2107
+ }
2108
+ add_permanent_claim = ROOT
2109
+ }
2110
+ calabria_area = {
2111
+ limit = {
2112
+ NOT = { owned_by = ROOT }
2113
+ NOT = { is_core = ROOT }
2114
+ is_empty = no
2115
+ }
2116
+ add_permanent_claim = ROOT
2117
+ }
2118
+ apulia_area = {
2119
+ limit = {
2120
+ NOT = { owned_by = ROOT }
2121
+ NOT = { is_core = ROOT }
2122
+ is_empty = no
2123
+ }
2124
+ add_permanent_claim = ROOT
2125
+ }
2126
+ }
2127
+ }
2128
+ if = {
2129
+ limit = { has_country_flag = fra_papal_lap_dop_flag }
2130
+ add_country_modifier = {
2131
+ name = fra_resurgence_of_crusader_fervor_modifier
2132
+ duration = 9125
2133
+ }
2134
+ palestine_area = {
2135
+ limit = {
2136
+ NOT = { owned_by = ROOT }
2137
+ NOT = { is_core = ROOT }
2138
+ }
2139
+ add_permanent_claim = ROOT
2140
+ }
2141
+ }
2142
+ }
2143
+ select_current_missions_FRA_HRE = {
2144
+ if = { #Special case when the HRE is already dissolved
2145
+ limit = {
2146
+ not = { hre_size = 1 }
2147
+ }
2148
+ add_country_modifier = {
2149
+ name = fra_triumph_over_austria_modifier
2150
+ duration = -1
2151
+ }
2152
+ add_dip_power = 200
2153
+ clr_country_flag = fra_shed_the_blood_of_the_saxon_man_flag
2154
+ set_country_flag = fra_fufujoni_flag
2155
+ swap_non_generic_missions = yes
2156
+ }
2157
+ else = {
2158
+ if = {
2159
+ limit = { has_country_flag = fra_fufujoni_flag }
2160
+ clr_country_flag = fra_shed_the_blood_of_the_saxon_man_flag
2161
+ add_country_modifier = {
2162
+ name = fra_war_east_modifier
2163
+ duration = 5475
2164
+ }
2165
+ if = {
2166
+ limit = { hre_size = 1 }
2167
+ custom_tooltip = fra_enable_war_on_the_empire_cb_tt
2168
+ hidden_effect = { set_country_flag = fra_enable_war_on_the_empire_cb_flag }
2169
+ }
2170
+ }
2171
+ if = {
2172
+ limit = {
2173
+ or = {
2174
+ has_country_flag = fra_shed_the_blood_of_the_saxon_man_flag
2175
+ is_emperor = yes
2176
+ }
2177
+ }
2178
+ clr_country_flag = fra_fufujoni_flag
2179
+ add_country_modifier = {
2180
+ name = fra_charlemagne_legacy_modifier
2181
+ duration = 7300
2182
+ }
2183
+ every_elector = {
2184
+ limit = {
2185
+ has_opinion = {
2186
+ who = ROOT
2187
+ value = 0
2188
+ }
2189
+ }
2190
+ add_opinion = {
2191
+ who = ROOT
2192
+ modifier = fra_charlemagne_legacy_opinion_modifier
2193
+ }
2194
+ }
2195
+ add_power_projection = {
2196
+ type = mission_rewards_power_projection
2197
+ amount = 25
2198
+ }
2199
+ if = {
2200
+ limit = {
2201
+ not = { has_country_flag = fra_shed_the_blood_of_the_saxon_man_flag }
2202
+ is_emperor = yes
2203
+ }
2204
+ set_country_flag = fra_shed_the_blood_of_the_saxon_man_flag
2205
+ custom_tooltip = fra_charlemagne_legacy_tt
2206
+ swap_non_generic_missions = yes #Another special for the moment France becomes Emperor before selecing any of the branching missions
2207
+ }
2208
+ }
2209
+ }
2210
+ }
2211
+ select_current_missions_JAP = {
2212
+ if = {
2213
+ limit = { has_country_flag = jap_mushashi_5_books_flag }
2214
+ clr_country_flag = jap_domineering_naval_focus_flag
2215
+ add_army_tradition = 10
2216
+ add_country_modifier = {
2217
+ name = jap_mushashi_5_books_modifier
2218
+ duration = -1
2219
+ }
2220
+ }
2221
+ if = {
2222
+ limit = { has_country_flag = jap_domineering_naval_focus_flag }
2223
+ clr_country_flag = jap_mushashi_5_books_flag
2224
+ add_navy_tradition = 20
2225
+ add_country_modifier = {
2226
+ name = jap_domineering_naval_focus_modifier
2227
+ duration = -1
2228
+ }
2229
+ }
2230
+ }
2231
+ select_current_missions_JAP_RELI = {
2232
+ if = {
2233
+ limit = { has_country_flag = christianity_defeated_flag }
2234
+ clr_country_flag = a_kirishitan_realm
2235
+ if = {
2236
+ limit = { has_country_flag = significant_christian_presence_flag }
2237
+ set_estate_privilege = estate_church_japanese_christian_communities_privilege
2238
+ }
2239
+ else = {
2240
+ add_country_modifier = {
2241
+ name = jap_shinto_warriors_modifier
2242
+ duration = -1
2243
+ }
2244
+ }
2245
+ }
2246
+ if = {
2247
+ limit = { has_country_flag = a_kirishitan_realm }
2248
+ clr_country_flag = christianity_defeated_flag
2249
+ override_country_name = KRJ
2250
+ set_country_flag = is_KRJ_flag
2251
+ set_country_flag = has_overriden_name_flag
2252
+ add_country_modifier = {
2253
+ name = jap_protectors_east_catholicism
2254
+ duration = 10950
2255
+ }
2256
+ }
2257
+ }
2258
+ select_current_missions_BYZ = {} #Empty, nothing should happen
1753
2259
  select_current_missions_PER = {
1754
2260
  if = {
1755
2261
  limit = {
@@ -1774,7 +2280,9 @@ select_current_missions_PER = {
1774
2280
 
1775
2281
  select_current_missions = {
1776
2282
  hidden_effect = {
1777
- clr_country_flag = can_choose_$key$_branching_missions
2283
+ clr_country_flag = can_choose_$key$_1_branching_missions
2284
+ clr_country_flag = can_choose_$key$_2_branching_missions
2285
+ clr_country_flag = can_choose_$key$_3_branching_missions
1778
2286
  change_variable = {
1779
2287
  which = can_preview_missions_var
1780
2288
  value = -1
@@ -1784,57 +2292,163 @@ select_current_missions = {
1784
2292
  }
1785
2293
  select_current_branch = {
1786
2294
  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
- }
2295
+ hidden_effect = { clr_country_flag = has_batch_$batch$_active }
2296
+ #Origins
2297
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = MAL batch = $batch$ } } select_current_missions = { key = MAL } }
2298
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = SON batch = $batch$ } } select_current_missions = { key = SON } }
2299
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = KON batch = $batch$ } } select_current_missions = { key = KON } }
2300
+ #Lions of the North
2301
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = SWE batch = $batch$ } } select_current_missions = { key = SWE } }
2302
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = DAN batch = $batch$ } } select_current_missions = { key = DAN } }
2303
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = NOR batch = $batch$ } } select_current_missions = { key = NOR } }
2304
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = TEU batch = $batch$ } } select_current_missions = { key = TEU } }
2305
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = TEU_PRU batch = $batch$ } } select_current_missions = { key = TEU_PRU } }
2306
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = LIV batch = $batch$ } } select_current_missions = { key = LIV } }
2307
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = POL batch = $batch$ } } select_current_missions = { key = POL } }
2308
+ #Domination
2309
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = TUR batch = $batch$ } } select_current_missions = { key = TUR } }
2310
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = MNG batch = $batch$ } } select_current_missions = { key = MNG } }
2311
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = QNG batch = $batch$ } } select_current_missions = { key = QNG } }
2312
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = JAP batch = $batch$ } } select_current_missions = { key = JAP } }
2313
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = JAP_RELI batch = $batch$ } } select_current_missions = { key = JAP_RELI } }
2314
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = FRA batch = $batch$ } } select_current_missions = { key = FRA } }
2315
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = FRA_HRE batch = $batch$ } } select_current_missions = { key = FRA_HRE } }
2316
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = GBR batch = $batch$ } } select_current_missions = { key = GBR } }
2317
+ #King of Kings
2318
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = BYZ batch = $batch$ } } select_current_missions = { key = BYZ } }
2319
+ if = { limit = { can_preview_mission_of_key_and_batch = { key = PER batch = $batch$ } } select_current_missions = { key = PER } }
1807
2320
  }
1808
2321
 
1809
2322
  clear_all_branching_flags = {
2323
+ #Origins
2324
+ #MAL
2325
+ if = {
2326
+ limit = { can_preview_mission_of_key_and_batch = { key = MAL batch = $batch$ } }
2327
+ clr_country_flag = mal_decide_for_conversion
2328
+ clr_country_flag = mal_decide_for_tolerance
2329
+ }
2330
+ #SON
2331
+ if = {
2332
+ limit = { can_preview_mission_of_key_and_batch = { key = SON batch = $batch$ } }
2333
+ clr_country_flag = son_islamic_focus
2334
+ clr_country_flag = son_tolerance_focus
2335
+ }
2336
+ #KON
2337
+ if = {
2338
+ limit = { can_preview_mission_of_key_and_batch = { key = KON batch = $batch$ } }
2339
+ clr_country_flag = kon_picked_fetishism
2340
+ clr_country_flag = kon_picked_side_with_europeans
2341
+ }
2342
+ #Lions of the North
2343
+ #SWE
2344
+ if = {
2345
+ limit = { can_preview_mission_of_key_and_batch = { key = SWE batch = $batch$ } }
2346
+ clr_country_flag = sca_unlock_catholic_missions
2347
+ clr_country_flag = sca_unlock_protestant_missions
2348
+ clr_country_flag = sca_unlock_norse_missions
2349
+ clr_country_flag = sca_unlock_humanist_missions
2350
+ }
2351
+ #DAN
2352
+ if = {
2353
+ limit = { can_preview_mission_of_key_and_batch = { key = DAN batch = $batch$ } }
2354
+ clr_country_flag = sca_unlock_catholic_missions
2355
+ clr_country_flag = sca_unlock_protestant_missions
2356
+ clr_country_flag = sca_unlock_norse_missions
2357
+ clr_country_flag = sca_unlock_humanist_missions
2358
+ }
2359
+ #NOR
2360
+ if = {
2361
+ limit = { can_preview_mission_of_key_and_batch = { key = NOR batch = $batch$ } }
2362
+ clr_country_flag = sca_unlock_catholic_missions
2363
+ clr_country_flag = sca_unlock_protestant_missions
2364
+ clr_country_flag = sca_unlock_norse_missions
2365
+ clr_country_flag = sca_unlock_humanist_missions
2366
+ }
1810
2367
  #TEU
1811
2368
  if = {
1812
- limit = { can_preview_mission_of_key = { key = TEU } }
2369
+ limit = { can_preview_mission_of_key_and_batch = { key = TEU batch = $batch$ } }
1813
2370
  clr_country_flag = teu_prussian_path
1814
2371
  clr_country_flag = teu_crusader_path
1815
2372
  }
1816
2373
  #TEU-PRU
1817
2374
  if = {
1818
- limit = { can_preview_mission_of_key = { key = TEU_PRU } }
2375
+ limit = { can_preview_mission_of_key_and_batch = { key = TEU_PRU batch = $batch$ } }
1819
2376
  clr_country_flag = teu_conquest_hre_path
1820
2377
  clr_country_flag = teu_diplomacy_hre_path
1821
2378
  clr_country_flag = teu_kingdom_prussia_path
1822
2379
  }
1823
2380
  #LIV
1824
2381
  if = {
1825
- limit = { can_preview_mission_of_key = { key = LIV } }
2382
+ limit = { can_preview_mission_of_key_and_batch = { key = LIV batch = $batch$ } }
1826
2383
  clr_country_flag = liv_livonian_path
1827
2384
  clr_country_flag = liv_crusader_path
1828
2385
  }
2386
+ #POL
2387
+ if = {
2388
+ limit = { can_preview_mission_of_key_and_batch = { key = POL batch = $batch$ } }
2389
+ clr_country_flag = pol_chose_pu_flag
2390
+ clr_country_flag = pol_denied_pu_flag
2391
+ }
2392
+ #Domination
2393
+ #TUR
2394
+ if = {
2395
+ limit = { can_preview_mission_of_key_and_batch = { key = TUR batch = $batch$ } }
2396
+ clr_country_flag = tur_chose_legalism
2397
+ clr_country_flag = tur_chose_mysticism
2398
+ clr_country_flag = tur_non_muslim_path_flag
2399
+ }
2400
+ #MNG
2401
+ if = {
2402
+ limit = { can_preview_mission_of_key_and_batch = { key = MNG batch = $batch$ } }
2403
+ clr_country_flag = mng_dynamic_1
2404
+ clr_country_flag = mng_dynamic_2
2405
+ }
2406
+ #QNG
2407
+ if = {
2408
+ limit = { can_preview_mission_of_key_and_batch = { key = QNG batch = $batch$ } }
2409
+ clr_country_flag = qng_open_ports_flag
2410
+ clr_country_flag = qng_close_ports_flag
2411
+ }
2412
+ #JAP
2413
+ if = {
2414
+ limit = { can_preview_mission_of_key_and_batch = { key = JAP batch = $batch$ } }
2415
+ clr_country_flag = jap_mushashi_5_books_flag
2416
+ clr_country_flag = jap_domineering_naval_focus_flag
2417
+ }
2418
+ #JAP_RELI
2419
+ if = {
2420
+ limit = { can_preview_mission_of_key_and_batch = { key = JAP_RELI batch = $batch$ } }
2421
+ clr_country_flag = christianity_defeated_flag
2422
+ clr_country_flag = a_kirishitan_realm
2423
+ }
2424
+ #FRA
2425
+ if = {
2426
+ limit = { can_preview_mission_of_key_and_batch = { key = FRA batch = $batch$ } }
2427
+ clr_country_flag = fra_chose_to_piss_off_pope_flag
2428
+ clr_country_flag = fra_papal_lap_dop_flag
2429
+ }
2430
+ #FRA_HRE
2431
+ if = {
2432
+ limit = { can_preview_mission_of_key_and_batch = { key = FRA_HRE batch = $batch$ } }
2433
+ clr_country_flag = fra_shed_the_blood_of_the_saxon_man_flag
2434
+ clr_country_flag = fra_fufujoni_flag
2435
+ }
2436
+ #GBR
2437
+ if = {
2438
+ limit = { can_preview_mission_of_key_and_batch = { key = GBR batch = $batch$ } }
2439
+ clr_country_flag = eng_took_gbr_branch
2440
+ clr_country_flag = eng_took_ave_branch
2441
+ }
2442
+ #King of Kings
1829
2443
  #BYZ
1830
2444
  if = {
1831
- limit = { can_preview_mission_of_key = { key = BYZ } }
2445
+ limit = { can_preview_mission_of_key_and_batch = { key = BYZ batch = $batch$ } }
1832
2446
  clr_country_flag = BYZ_centralized
1833
2447
  clr_country_flag = BYZ_decentralized
1834
2448
  }
1835
2449
  #PER
1836
2450
  if = {
1837
- limit = { can_preview_mission_of_key = { key = PER } }
2451
+ limit = { can_preview_mission_of_key_and_batch = { key = PER batch = $batch$ } }
1838
2452
  clr_country_flag = per_shia_missions
1839
2453
  clr_country_flag = per_sunni_missions
1840
2454
  clr_country_flag = per_zoroastrian_missions
@@ -1842,47 +2456,179 @@ clear_all_branching_flags = {
1842
2456
  }
1843
2457
 
1844
2458
  preview_mission_branch_1 = {
2459
+ #Origins
2460
+ #MAL
2461
+ if = {
2462
+ limit = { can_preview_mission_of_key_and_batch = { key = MAL batch = $batch$ } }
2463
+ set_country_flag = mal_decide_for_conversion
2464
+ custom_tooltip = MAL_preview_conversion
2465
+ }
2466
+ #SON
2467
+ if = {
2468
+ limit = { can_preview_mission_of_key_and_batch = { key = SON batch = $batch$ } }
2469
+ set_country_flag = son_islamic_focus
2470
+ custom_tooltip = SON_preview_islamic
2471
+ }
2472
+ #KON
2473
+ if = {
2474
+ limit = { can_preview_mission_of_key_and_batch = { key = KON batch = $batch$ } }
2475
+ set_country_flag = kon_picked_fetishism
2476
+ custom_tooltip = KON_preview_fetishism
2477
+ }
2478
+ #Lions of the North
2479
+ #SWE
2480
+ if = {
2481
+ limit = { can_preview_mission_of_key_and_batch = { key = SWE batch = $batch$ } }
2482
+ set_country_flag = sca_unlock_catholic_missions
2483
+ custom_tooltip = SCA_preview_catholic
2484
+ }
2485
+ #DAN
2486
+ if = {
2487
+ limit = { can_preview_mission_of_key_and_batch = { key = DAN batch = $batch$ } }
2488
+ set_country_flag = sca_unlock_catholic_missions
2489
+ custom_tooltip = SCA_preview_catholic
2490
+ }
2491
+ #NOR
2492
+ if = {
2493
+ limit = { can_preview_mission_of_key_and_batch = { key = NOR batch = $batch$ } }
2494
+ set_country_flag = sca_unlock_catholic_missions
2495
+ custom_tooltip = SCA_preview_catholic
2496
+ }
1845
2497
  #TEU
1846
2498
  if = {
1847
- limit = { can_preview_mission_of_key = { key = TEU } }
2499
+ limit = { can_preview_mission_of_key_and_batch = { key = TEU batch = $batch$ } }
1848
2500
  set_country_flag = teu_prussian_path
1849
2501
  custom_tooltip = TEU_preview_prussian
1850
2502
  }
1851
2503
  #TEU_PRU
1852
2504
  if = {
1853
- limit = { can_preview_mission_of_key = { key = TEU_PRU } }
2505
+ limit = { can_preview_mission_of_key_and_batch = { key = TEU_PRU batch = $batch$ } }
1854
2506
  set_country_flag = teu_conquest_hre_path
1855
2507
  custom_tooltip = TEU_PRU_preview_hre_conquest
1856
2508
  }
1857
2509
  #LIV
1858
2510
  if = {
1859
- limit = { can_preview_mission_of_key = { key = LIV } }
2511
+ limit = { can_preview_mission_of_key_and_batch = { key = LIV batch = $batch$ } }
1860
2512
  set_country_flag = liv_livonian_path
1861
2513
  custom_tooltip = LIV_preview_livonian
1862
2514
  }
2515
+ #POL
2516
+ if = {
2517
+ limit = { can_preview_mission_of_key_and_batch = { key = POL batch = $batch$ } }
2518
+ set_country_flag = pol_chose_pu_flag
2519
+ custom_tooltip = POL_preview_lith
2520
+ }
2521
+ #Domination
2522
+ #TUR
2523
+ if = {
2524
+ limit = { can_preview_mission_of_key_and_batch = { key = TUR batch = $batch$ } }
2525
+ set_country_flag = tur_chose_legalism
2526
+ custom_tooltip = TUR_preview_legalism
2527
+ }
2528
+ #MNG
2529
+ if = {
2530
+ limit = { can_preview_mission_of_key_and_batch = { key = MNG batch = $batch$ } }
2531
+ set_country_flag = mng_dynamic_1
2532
+ custom_tooltip = MNG_preview_improve_haijin
2533
+ }
2534
+ #QNG
2535
+ if = {
2536
+ limit = { can_preview_mission_of_key_and_batch = { key = QNG batch = $batch$ } }
2537
+ set_country_flag = qng_open_ports_flag
2538
+ custom_tooltip = QNG_preview_open_ports
2539
+ }
2540
+ #GBR
2541
+ if = {
2542
+ limit = { can_preview_mission_of_key_and_batch = { key = GBR batch = $batch$ } }
2543
+ set_country_flag = eng_took_gbr_branch
2544
+ custom_tooltip = ENG_preview_gbr_branch
2545
+ }
2546
+ #FRA
2547
+ if = {
2548
+ limit = { can_preview_mission_of_key_and_batch = { key = FRA batch = $batch$ } }
2549
+ set_country_flag = fra_chose_to_piss_off_pope_flag
2550
+ custom_tooltip = FRA_preview_italian_wars
2551
+ }
2552
+ #FRA_HRE
2553
+ if = {
2554
+ limit = { can_preview_mission_of_key_and_batch = { key = FRA_HRE batch = $batch$ } }
2555
+ set_country_flag = fra_shed_the_blood_of_the_saxon_man_flag
2556
+ custom_tooltip = FRA_preview_charlemagnes_legacy
2557
+ }
2558
+ #JAP
2559
+ if = {
2560
+ limit = { can_preview_mission_of_key_and_batch = { key = JAP batch = $batch$ } }
2561
+ set_country_flag = jap_mushashi_5_books_flag
2562
+ custom_tooltip = JAP_preview_mushashi_5_books
2563
+ }
2564
+ #JAP_RELI
2565
+ if = {
2566
+ limit = { can_preview_mission_of_key_and_batch = { key = JAP_RELI batch = $batch$ } }
2567
+ set_country_flag = christianity_defeated_flag
2568
+ custom_tooltip = JAP_preview_christianity_defeated
2569
+ }
2570
+ #King of Kings
1863
2571
  #BYZ
1864
2572
  if = {
1865
- limit = { can_preview_mission_of_key = { key = BYZ } }
2573
+ limit = { can_preview_mission_of_key_and_batch = { key = BYZ batch = $batch$ } }
1866
2574
  set_country_flag = BYZ_centralized
1867
2575
  custom_tooltip = BYZ_preview_centralized
1868
2576
  }
1869
2577
  #PER
1870
2578
  if = {
1871
- limit = { can_preview_mission_of_key = { key = PER } }
2579
+ limit = { can_preview_mission_of_key_and_batch = { key = PER batch = $batch$ } }
1872
2580
  set_country_flag = per_shia_missions
1873
2581
  custom_tooltip = per_preview_shia_missions
1874
2582
  }
1875
2583
  }
1876
2584
  preview_mission_branch_2 = {
2585
+ #Origins
2586
+ #MAL
2587
+ if = {
2588
+ limit = { can_preview_mission_of_key_and_batch = { key = MAL batch = $batch$ } }
2589
+ set_country_flag = mal_decide_for_tolerance
2590
+ custom_tooltip = MAL_preview_tolerance
2591
+ }
2592
+ #SON
2593
+ if = {
2594
+ limit = { can_preview_mission_of_key_and_batch = { key = SON batch = $batch$ } }
2595
+ set_country_flag = son_tolerance_focus
2596
+ custom_tooltip = SON_preview_tolerance
2597
+ }
2598
+ #KON
2599
+ if = {
2600
+ limit = { can_preview_mission_of_key_and_batch = { key = KON batch = $batch$ } }
2601
+ set_country_flag = kon_picked_side_with_europeans
2602
+ custom_tooltip = KON_preview_christian
2603
+ }
2604
+ #Lions of the North
2605
+ #SWE
2606
+ if = {
2607
+ limit = { can_preview_mission_of_key_and_batch = { key = SWE batch = $batch$ } }
2608
+ set_country_flag = sca_unlock_protestant_missions
2609
+ custom_tooltip = SCA_preview_protestant
2610
+ }
2611
+ #DAN
2612
+ if = {
2613
+ limit = { can_preview_mission_of_key_and_batch = { key = DAN batch = $batch$ } }
2614
+ set_country_flag = sca_unlock_protestant_missions
2615
+ custom_tooltip = SCA_preview_protestant
2616
+ }
2617
+ #NOR
2618
+ if = {
2619
+ limit = { can_preview_mission_of_key_and_batch = { key = NOR batch = $batch$ } }
2620
+ set_country_flag = sca_unlock_protestant_missions
2621
+ custom_tooltip = SCA_preview_protestant
2622
+ }
1877
2623
  #TEU
1878
2624
  if = {
1879
- limit = { can_preview_mission_of_key = { key = TEU } }
2625
+ limit = { can_preview_mission_of_key_and_batch = { key = TEU batch = $batch$ } }
1880
2626
  set_country_flag = teu_crusader_path
1881
2627
  custom_tooltip = TEU_preview_crusader
1882
2628
  }
1883
2629
  #TEU_PRU
1884
2630
  if = {
1885
- limit = { can_preview_mission_of_key = { key = TEU_PRU } }
2631
+ limit = { can_preview_mission_of_key_and_batch = { key = TEU_PRU batch = $batch$ } }
1886
2632
  if = {
1887
2633
  limit = { hre_size = 1 }
1888
2634
  set_country_flag = teu_diplomacy_hre_path
@@ -1895,43 +2641,165 @@ preview_mission_branch_2 = {
1895
2641
  }
1896
2642
  #LIV
1897
2643
  if = {
1898
- limit = { can_preview_mission_of_key = { key = LIV } }
2644
+ limit = { can_preview_mission_of_key_and_batch = { key = LIV batch = $batch$ } }
1899
2645
  set_country_flag = liv_crusader_path
1900
2646
  custom_tooltip = LIV_preview_crusader
1901
2647
  }
2648
+ #POL
2649
+ if = {
2650
+ limit = { can_preview_mission_of_key_and_batch = { key = POL batch = $batch$ } }
2651
+ set_country_flag = pol_denied_pu_flag
2652
+ custom_tooltip = POL_preview_hre
2653
+ }
2654
+ #Domination
2655
+ #TUR
2656
+ if = {
2657
+ limit = { can_preview_mission_of_key_and_batch = { key = TUR batch = $batch$ } }
2658
+ set_country_flag = tur_chose_mysticism
2659
+ custom_tooltip = TUR_preview_mysticism
2660
+ }
2661
+ #MNG
2662
+ if = {
2663
+ limit = { can_preview_mission_of_key_and_batch = { key = MNG batch = $batch$ } }
2664
+ set_country_flag = mng_dynamic_2
2665
+ custom_tooltip = MNG_preview_repeal_haijin
2666
+ }
2667
+ #QNG
2668
+ if = {
2669
+ limit = { can_preview_mission_of_key_and_batch = { key = QNG batch = $batch$ } }
2670
+ set_country_flag = qng_close_ports_flag
2671
+ custom_tooltip = QNG_preview_close_ports
2672
+ }
2673
+ #GBR
2674
+ if = {
2675
+ limit = { can_preview_mission_of_key_and_batch = { key = GBR batch = $batch$ } }
2676
+ set_country_flag = eng_took_ave_branch
2677
+ custom_tooltip = ENG_preview_ave_branch
2678
+ }
2679
+ #FRA
2680
+ if = {
2681
+ limit = { can_preview_mission_of_key_and_batch = { key = FRA batch = $batch$ } }
2682
+ set_country_flag = fra_papal_lap_dop_flag
2683
+ custom_tooltip = FRA_preview_crusader_kings
2684
+ }
2685
+ #FRA_HRE
2686
+ if = {
2687
+ limit = { can_preview_mission_of_key_and_batch = { key = FRA_HRE batch = $batch$ } }
2688
+ set_country_flag = fra_fufujoni_flag
2689
+ custom_tooltip = FRA_preview_kill_hre
2690
+ }
2691
+ #JAP
2692
+ if = {
2693
+ limit = { can_preview_mission_of_key_and_batch = { key = JAP batch = $batch$ } }
2694
+ set_country_flag = jap_domineering_naval_focus_flag
2695
+ custom_tooltip = JAP_preview_domineering_naval_focus
2696
+ }
2697
+ #JAP_RELI
2698
+ if = {
2699
+ limit = { can_preview_mission_of_key_and_batch = { key = JAP_RELI batch = $batch$ } }
2700
+ set_country_flag = a_kirishitan_realm
2701
+ custom_tooltip = JAP_preview_a_kirishitan_realm
2702
+ }
2703
+ #King of Kings
1902
2704
  #BYZ
1903
2705
  if = {
1904
- limit = { can_preview_mission_of_key = { key = BYZ } }
2706
+ limit = { can_preview_mission_of_key_and_batch = { key = BYZ batch = $batch$ } }
1905
2707
  set_country_flag = BYZ_decentralized
1906
2708
  custom_tooltip = BYZ_preview_decentralized
1907
2709
  }
1908
2710
  #PER
1909
2711
  if = {
1910
- limit = { can_preview_mission_of_key = { key = PER } }
2712
+ limit = { can_preview_mission_of_key_and_batch = { key = PER batch = $batch$ } }
1911
2713
  set_country_flag = per_sunni_missions
1912
2714
  custom_tooltip = per_preview_sunni_missions
1913
2715
  }
1914
2716
  }
1915
2717
  preview_mission_branch_3 = {
2718
+ #Origins
2719
+ # none
2720
+ #Lions of the North
2721
+ #SWE
2722
+ if = {
2723
+ limit = { can_preview_mission_of_key_and_batch = { key = SWE batch = $batch$ } }
2724
+ set_country_flag = sca_unlock_humanist_missions
2725
+ custom_tooltip = SCA_preview_humanist
2726
+ }
2727
+ #DAN
2728
+ if = {
2729
+ limit = { can_preview_mission_of_key_and_batch = { key = DAN batch = $batch$ } }
2730
+ set_country_flag = sca_unlock_humanist_missions
2731
+ custom_tooltip = SCA_preview_humanist
2732
+ }
2733
+ #NOR
2734
+ if = {
2735
+ limit = { can_preview_mission_of_key_and_batch = { key = NOR batch = $batch$ } }
2736
+ set_country_flag = sca_unlock_humanist_missions
2737
+ custom_tooltip = SCA_preview_humanist
2738
+ }
1916
2739
  #TEU_PRU
1917
2740
  if = {
1918
- limit = { can_preview_mission_of_key = { key = TEU_PRU } }
2741
+ limit = { can_preview_mission_of_key_and_batch = { key = TEU_PRU batch = $batch$ } }
1919
2742
  set_country_flag = teu_kingdom_prussia_path
1920
2743
  custom_tooltip = TEU_PRU_preview_prussian_kingdom
1921
2744
  }
2745
+ #Domination
2746
+ #TUR
2747
+ if = {
2748
+ limit = { can_preview_mission_of_key_and_batch = { key = TUR batch = $batch$ } }
2749
+ set_country_flag = tur_non_muslim_path_flag
2750
+ custom_tooltip = TUR_preview_non_muslim_path
2751
+ }
2752
+ #King of Kings
1922
2753
  #PER
1923
2754
  if = {
1924
- limit = { can_preview_mission_of_key = { key = PER } }
2755
+ limit = { can_preview_mission_of_key_and_batch = { key = PER batch = $batch$ } }
1925
2756
  set_country_flag = per_zoroastrian_missions
1926
2757
  custom_tooltip = per_preview_zoroastrian_missions
1927
2758
  }
1928
2759
  }
1929
2760
  preview_mission_branch_4 = {
2761
+ #Origins
2762
+ # none
2763
+ #Lions of the North
2764
+ #SWE
2765
+ if = {
2766
+ limit = { can_preview_mission_of_key_and_batch = { key = SWE batch = $batch$ } }
2767
+ set_country_flag = sca_unlock_norse_missions
2768
+ custom_tooltip = SCA_preview_norse
2769
+ }
2770
+ #DAN
2771
+ if = {
2772
+ limit = { can_preview_mission_of_key_and_batch = { key = DAN batch = $batch$ } }
2773
+ set_country_flag = sca_unlock_norse_missions
2774
+ custom_tooltip = SCA_preview_norse
2775
+ }
2776
+ #NOR
2777
+ if = {
2778
+ limit = { can_preview_mission_of_key_and_batch = { key = NOR batch = $batch$ } }
2779
+ set_country_flag = sca_unlock_norse_missions
2780
+ custom_tooltip = SCA_preview_norse
2781
+ }
2782
+ #Domination
2783
+ # none
2784
+ #King of Kings
2785
+ # none
1930
2786
  }
1931
2787
  preview_mission_branch_5 = {
2788
+ #Origins
2789
+ # none
2790
+ #Lions of the North
2791
+ # none
2792
+ #Domination
2793
+ # none
2794
+ #King of Kings
2795
+ # none
2796
+ if = {
2797
+ limit = { can_preview_mission_of_key_and_batch = { key = DUMMY batch = $batch$ } }
2798
+ custom_tooltip = COOL_EFFECT
2799
+ }
1932
2800
  }
1933
2801
  preview_mission_branch = {
1934
- clear_all_branching_flags = yes
1935
- preview_mission_branch_$branch$ = yes
2802
+ clear_all_branching_flags = { batch = $batch$ }
2803
+ preview_mission_branch_$branch$ = { batch = $batch$ }
1936
2804
  hidden_effect = { swap_non_generic_missions = yes }
1937
2805
  }