diff --git a/src/common/achievements/az_achievements.txt b/src/common/achievements/az_achievements.txt index f6eb50a..9bdc2f0 100755 --- a/src/common/achievements/az_achievements.txt +++ b/src/common/achievements/az_achievements.txt @@ -904,3 +904,17 @@ az_ceshichengjiu_cj = { always = yes } } + +az_meizhoutiaozhan_cj2 = { + possible = { + difficulty > 1 + has_start_date < 1936.01.02 + has_any_custom_difficulty_setting = no + game_rules_allow_achievements = yes + } + + happened = { + not = { has_global_flag = modoption_dingzhenai_on } + has_global_flag = az_meizhoutiaozhan_cj_get2 + } +} diff --git a/src/common/ai_faction_theaters/ai_faction_theaters.txt b/src/common/ai_faction_theaters/ai_faction_theaters.txt deleted file mode 100755 index be6e465..0000000 --- a/src/common/ai_faction_theaters/ai_faction_theaters.txt +++ /dev/null @@ -1,1345 +0,0 @@ -# EUROPE - -western_europe = { - name = theater_western_europe - regions = { - 19 # Northern France - 5 # Benelux - 7 # Western Germany - 208 # Western France - 6 # North West Germany - 18 # English Channel - 1 # Southern England - 275 # Jutland - 20 # Southern France - 42 # Bay of Biscay - 21 # Alpine Region - } - cancel = { - OR = { - AND= { - # Germany should stop focusing on the Western Front when Barbarossa starts - original_tag = TIX - has_war_with = BFL - 219 = { is_controlled_by_ROOT_or_ally = no } - } - AND = { - # UK should not care overly much about the continent while France is Capitulated - YUW = { - is_in_faction_with = ROOT - has_capitulated = yes - } - } - has_war = no - } - } - - ai_will_do = { - base = 0 - modifier = { - add = 1 - capital_scope = { is_on_continent = europe} - } - modifier = { - add = 5 - OR = { - has_war_with = YUW - has_war_with = TIX - has_war_with = HOL - has_war_with = BEL - } - } - modifier = { - factor = 10 - is_historical_focus_on = yes - original_tag = BYG - is_in_faction_with = HUJ - } - modifier = { - factor = 0 - has_war = no - } - modifier = { - factor = 0 - original_tag = TIX - has_war_with = BFL - 219 = { is_controlled_by_ROOT_or_ally = no } # We can focus again on the west if we take Moscow - } - modifier = { - factor = 0 - original_tag = HUJ - YUW = { - is_in_faction_with = ROOT - has_capitulated = yes - } - } - } -} - -eastern_europe = { - name = theater_eastern_europe - regions = { - 8 # Eastern Germany - 38 # Western Poland - 9 # Czechoslovakia - 39 # Eastern Poland - 206 # Lower Baltic Sea - 37 # Baltic States - 27 #Northern Balkans - 132 #Novgorod - 131 #Belarus - 130 # Ukraine - 133 # Central Rusia - } - cancel = { - has_war = no - } - - ai_will_do = { - base = 0 - modifier = { - add = 1 - capital_scope = { is_on_continent = europe} - } - modifier = { - add = 1 - OR = { - has_war_with = POL - has_war_with = CZE - has_war_with = BFL - } - } - modifier = { - add = 10 - original_tag = BFL - has_war_with = TIX - } - modifier = { - factor = 0 - has_war = no - } - } -} - -barbarossa_north = { - name = theater_barbarossa_north - regions = { - 37 # Baltic States - 132 # Novgorod - 206 # Lower Baltic Sea - 9 # Gulf of Finland - 12 # Eastern Finland - 265 # Eastern Finland - 150 # Archangelsk - 278 # Western Finland - 279 # Gulf of Botnia - 277 # Northern Finland - 12 # Kola - 191 # Northern Norway - 46 # Barents Sea - - } - - cancel = { - NOT = { has_war_with = BFL } - } - - ai_will_do = { - base = 0 - modifier = { - add = 5 - original_tag = TIX - has_war_with = BFL - } - modifier = { - add = 1 - is_in_faction_with = TIX - has_war_with = BFL - } - - } -} - -barbarossa_center = { - name = theater_barbarossa_center - regions = { - 8 # Eastern Germany - 38 # Western Poland - 39 # Eastern Poland - 131 #Belarus - 133 # Central Russia - 40 # Transvolga - 138 # Urals - 22 # Czeckoslovakia - 14 # Trans-Urals - - } - preferred_countries = { - TIX SLO - } - cancel = { - NOT = { has_war_with = BFL } - } - - ai_will_do = { - base = 0 - modifier = { - add = 10 - original_tag = TIX - has_war_with = BFL - } - } -} - -barbarossa_south = { # For Barbarossas - name = theater_barbarossa_south - regions = { - 130 # Ukraine - 26 # Eastern Balkans - 27 #Northern Balkans - 30 # Black Sea - 15 # Kuban Region - 137 # Western Steppe - 267 # Transcaspia - 270 # Syrdania - - } - cancel = { - NOT = { has_war_with = BFL } - } - preferred_countries = { - ROM SAD - } - ai_will_do = { - base = 0 - modifier = { - add = 5 - OR = { - original_tag = TIX - is_in_faction_with = TIX - } - has_war_with = BFL - } - } -} - -north_sea_region = { - name = theater_north_sea_region - regions = { - 16 # North Sea - 174 # Norwegian Coast - 173 # Eastern North Sea - 11 # Southern Norway - 191 # Northern Norway - 2 # Northern England - 3 # Scotland - 4 # Ireland - 45 # Norwegian Sea - 161 # Iceland - 275 # Jutland Peninsula - 44 # Denmark Strait - 10 # Southern Sweden - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - OR = { - original_tag = HUJ - has_war_with = HUJ - original_tag = NOR - has_war_with = NOR - original_tag = ICE - has_war_with = ICE - original_tag = DEN - has_war_with = DEN - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - - -southern_europe = { - name = theater_southern_europe - regions = { - 23 # Italy - 169 # Tyrrhenian Sea - 168 # Adriatic Sea - 24 # Western Balkans - 25 # Greece - 202 # Aegean Sea - 21 # Alpine Region - 29 # Central Med - 68 # Western Med - - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - capital_scope = { is_on_continent = europe} - } - modifier = { - add = 2 - OR = { - has_war_with = SAD - has_war_with = YUG - has_war_with = GRE - original_tag = SAD - original_tag = YUG - original_tag = GRE - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - -black_sea_region = { - name = theater_black_sea_region - regions = { - 30 # Black Sea - 129 # Asia Minor - 26 # Eastern Balkans - 25 # Greece - 130 # Ukraine - 135 # Kuban Region - 134 # Caucasus Region - 202 # Aegean Sea - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - OR = { - controls_state = 21 # Edirne - controls_state = 211 # Varna - controls_state = 971 # Northern Dobrudja - controls_state = 137 # Crimea - controls_state = 231 # Georgia - controls_state = 192 # Odessa - } - any_enemy_country = { - controls_state = 21 # Edirne - controls_state = 211 # Varna - controls_state = 971 # Northern Dobrudja - controls_state = 137 # Crimea - controls_state = 231 # Georgia - controls_state = 192 # Odessa - } - } - modifier = { - factor = 2 - OR = { - original_tag = TUR - has_war_with = TUR - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - -scandinavia = { - name = theater_scandinavia - regions = { - 10 # Southern Sweden - 192 # Lower Norrland - 11 # Southern Norway - 191 # Northern Norway - 276 # Northern Norrland - 206 # Lower Baltic Sea - 275 # Jutland Peninsula - 173 # Eastern North Sea - 279 # Gulf of Bothnia - 277 # Northern Finland - 278 # Western Finland - 9 # Gulf of Finland - - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - capital_scope = { is_on_continent = europe} - } - modifier = { - add = 2 - OR = { - has_war_with = SWE - has_war_with = NOR - has_war_with = DEN - original_tag = SWE - original_tag = NOR - original_tag = DEN - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - -# AFRICA AND MIDDLE EAST -north_africa = { - name = theater_north_africa - regions = { - 225 # Tripoli - 128 # Egypt - 29 # Central Med - 126 # Eastern Maghreb - 182 # Western Maghreb - 48 # African Coast - 68 # Western Med - 69 # Eastern Med - 100 # Red Sea - - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - capital_scope = { is_on_continent = africa } - } - modifier = { - add = 2 - owns_any_state_of = { - 448 # Tripoli - 458 # Tunisia - 907 # Cairo - 447 # Alexandria - 459 # Algiers - 461 # Casablanca - } - } - modifier = { - factor = 0 - is_historical_focus_on = yes - tag = HUJ - } - modifier = { - factor = 0 - has_war = no - } - } -} - -north_africa_uk = { - name = theater_north_africa - regions = { - 128 # Egypt - 225 # Tripoli - 29 # Central Med - 126 # Eastern Maghreb - 182 # Western Maghreb - 48 # African Coast - 68 # Western Med - 69 # Eastern Med - 100 # Red Sea - } - cancel = { - - } - preferred_countries = { - AST SAF - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - original_tag = HUJ - } - modifier = { - factor = 2 - owns_any_state_of = { - 448 # Tripoli - 458 # Tunisia - 907 # Cairo - 447 # Alexandria - 459 # Algiers - 461 # Casablanca - } - } - modifier = { - factor = 5 - is_historical_focus_on = yes - tag = HUJ - } - modifier = { - factor = 0 - has_war = no - date < 1938.1.1 - } - } -} - -east_africa = { - name = east_africa - regions = { - 274 # Ogaden - 273 # Danakil - 17 # Ethiopian Highlands - 217 # Victoria - 102 # East African Coast - 100 # Red Sea - 216 # Upper Nile - 227 # North East Congo - 60 # West Indian Ocean - 181 # Madagascar - 183 # Central Africa - - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - capital_scope = { is_on_continent = africa } - } - modifier = { - add = 1 - owns_any_state_of = { - 559 # Somaliland - 217 # Shewa - 268 # French Somaliland - 269 # British Somaliland - 551 # Khartoum - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - -west_africa = { - name = theater_west_africa - regions = { - 226 # West Africa - 140 # Sub Saharan Africa - 184 # Cameroon - 272 # West Congo - 62 # Gulf of Guinea - 61 # Cap Verde Plain - 183 # Central Africa - 271 # South East Congo - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - capital_scope = { is_on_continent = africa } - } - modifier = { - add = 1 - owns_any_state_of = { - 779 # ivory Coast - 298 # Liberia - 295 # FLéopoldville - 274 # Ghana - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - -south_africa = { - name = theater_south_africa - regions = { - 139 # South Africa - 65 # Cape of Africa - 215 # Namibia - 223 # Zambezi - 185 # South East Africa - 224 # Angola - 103 # Mozambique Channel - - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - capital_scope = { is_on_continent = africa } - } - modifier = { - add = 1 - owns_any_state_of = { - 779 # ivory Coast - 298 # Liberia - 295 # FLéopoldville - 274 # Ghana - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - - -middle_east = { - name = middle_east - regions = { - 232 # Levant - 237 # Hejaz - 28 # Middle East - 129 # Asia Minor - 240 # Western Zagros - 196 # Central Arabia - 238 # East Arabia - 236 # South Arabia - 239 # Alborz - 116 # Central Iranian Range - 298 # Eastern Zagros - - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - capital_scope = { is_on_continent = middle_east } - } - modifier = { - add = 1 - owns_any_state_of = { - 454 # Palstine - 554 # Damascus - 291 # Baghdad - 292 # Nejd - 293 # North Yemen - 294 # Muscat - } - } - modifier = { - add = 1 - any_enemy_country = { - capital_scope = { is_on_continent = middle_east } - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - -persia = { - name = theater_persia - regions = { - 239 # Alborz - 116 # Central Iranian Range - 298 # Eastern Zagros - 203 # Persian Gulf - 232 # Levant - 28 # Middle East - 241 # Dash-E Kavir - 297 # Eastern Iranian Range - 291 # Baluchistan - 289 # South Afghanistan - 134 # Caucasus - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - capital_scope = { is_on_continent = middle_east } - } - modifier = { - add = 1 - OR = { - original_tag = PER - has_war_with = PER - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - -# ASIA -chinese_coastline = { - name = theater_chinese_coastline - regions = { - 77 # Yellow Sea - 76 # East China Sea - 143 # Northern China - 247 # Yantzee River Region - 164 # Eastern China - 155 # Western Manchuria - 248 # Guangxi - 75 # South China Sea - 186 # Korea - - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 5 - OR = { - is_literally_china = yes - original_tag = CHY - } - } - modifier = { - add = 2 - any_enemy_country = { - is_literally_china = yes - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - -chinese_mainland = { - name = theater_chinese_mainland - regions = { - 246 # Central China - 165 # Southern China - 245 # Shanxi Region - 249 # Yunnan - 250 # Kham - 144 # Western China - 200 # Quinghai - 244 # Chahar - 252 # Tien Shan - 145 # Taklamakan - 146 # Himalayas - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - has_war = yes # Don't bother with interior focus if not already at war. - OR = { - is_literally_china = yes - any_enemy_country = { - is_literally_china = yes - } - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - - - -south_east_asia = { - name = theater_south_east_asia - regions = { - 72 # Straits of Malacka - 188 # Malaya - 229 # Siam - 228 # South Indochina - 142 # North Indochina - 73 # Gulf of Thailand - 187 # Sumatra - 293 # Tenasserim - 294 # Rangoon - 101 # Bay of Bengal - 292 # Shan States - - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - OR = { - any_enemy_country = { - OR = { - controls_state = 1021 # Singapore - controls_state = 336 # Malaya - controls_state = 289 # Siam - controls_state = 671 # Tonkin - controls_state = 672 # Sumatra - } - } - controls_state = 1021 # Singapore - controls_state = 336 # Malaya - controls_state = 289 # Siam - controls_state = 671 # Tonkin - controls_state = 672 # Sumatra - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - -bengal = { - name = theater_bengal - regions = { - 101 # Bay of Bengal - 290 # Bengal - 231 # East Ghats - 230 # Cape Comorin - 294 # Rangoon - 141 # Eastern India - 293 # Tenasserim - 31 # Deccan Plateau - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - OR = { - any_enemy_country = { - OR = { - controls_state = 320 # French India - controls_state = 423 # French Madras - controls_state = 431 # Calcutta - controls_state = 431 # East Bengal - controls_state = 995 # Rangoon - controls_state = 289 # Siam - } - } - controls_state = 320 # French India - controls_state = 423 # French Madras - controls_state = 431 # Calcutta - controls_state = 431 # East Bengal - controls_state = 995 # Rangoon - controls_state = 289 # Siam - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - -northern_india = { - name = theater_northern_india - regions = { - 153 # Northern India - 190 # Pakistan - 162 # North Afghanistan - 289 # South Afghanistan - 291 # Baluchistan - 296 # Gujarat - 251 # Ngari - 297 # Eastern Iranian range - 104 # Arabian Sea - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - OR = { - any_enemy_country = { - OR = { - controls_state = 443 # Sind - controls_state = 439 # Dehli - controls_state = 440 # West Punjab - controls_state = 267 # Kabul - # controls_state = 410 # Sistan # Intentionally left out as I don't want the ai to pick this if they attacking Persia, but the other way around is ok. - } - } - controls_state = 443 # Sind - controls_state = 439 # Dehli - controls_state = 440 # West Punjab - controls_state = 267 # Kabul - controls_state = 410 # Sistan - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - -# PACIFIC -central_pacific = { - name = theater_central_pacific - regions = { - 105 # Hawaii Ridge - 176 # Central North Pacific - 172 # Pacific Line Ridge - 95 # West Emperor Chain - 180 # Micronesian Gap - 96 # North Emperor Chain - 97 # Eastern Micronesia - 177 # western North Pacific - 94 # Mariana Region - - } - cancel = { - # IF BYG lose control of Pearl harbor, then go for Coastine Defense instead - AND = { - original_tag = BYG - any_enemy_country = { - controls_state = 629 #Hawaii - } - } - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - original_tag = BYG - controls_state = 629 #Hawaii - } - modifier = { - add = 1 - has_war_with = CHY - controls_state = 629 #Hawaii - } - modifier = { - add = 1 - has_war_with = BYG - any_enemy_country = { - controls_state = 629 #Hawaii - } - } - modifier = { - factor = 0 - has_war = no - } - } - - -} - -us_west_coast = { - name = theater_us_west_coast - regions = { - 89 # Western Seaboard - 115 # North East Pacific - 114 # North Pacific - 171 # North West Coast - 218 # California - 118 # Cascades - 33 # Alaska - 105 # Hawaii Ridge - 176 # Central North Pacific - 88 # Bering Sea - 235 # British Columbia - } - cancel = { - # IF BYG retake Pearl harbor, then go for Central Pacific instead - AND = { - original_tag = BYG - controls_state = 629 #Hawaii - } - } - ai_will_do = { - base = 0 - modifier = { - add = 5 - original_tag = BYG - any_enemy_country = { - controls_state = 629 #Hawaii - } - } - modifier = { - add = 2 - has_war_with = BYG - controls_state = 629 #Hawaii - } - modifier = { - factor = 0 - has_war = no - } - } - - -} -south_pacific = { - name = theater_south_pacific - regions = { - 84 # Bismarck Sea - 93 # Java Sea - 83 # Solomon Sea - 81 # Coral Sea - 167 # New Guinea - 80 # Celebes Sea - 159 # Borneo - 75 # South China Sea - 194 # Eastern Australia - 94 # Mariana Region - 86 # Tasman Sea - - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 2 - OR = { - has_war_with = AST - is_in_faction_with = AST - original_tag = AST - } - has_navy_size = { - size > 40 - } - } - modifier = { - add = 1 - OR = { - capital_scope = { - is_on_continent = asia - is_on_continent = australia - is_on_continent = north_america - is_on_continent = south_america - } - } - has_navy_size = { - size > 150 - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - -japanese_home_islands = { - name = theater_japanese_home_islands - regions = { - 154 # Home Islands - 79 # Sea of Japan - 90 # Coast of Japan - 76 # East China Sea - 87 # Sea of Okhotsk - 94 # Mariana Region - 177 # West North Pacific - 78 # Philippine Sea - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - OR = { - has_war_with = CHY - original_tag = CHY - } - has_navy_size = { - size > 80 - } - } - modifier = { - add = 10 - has_war_with = CHY - has_navy_size = { - size > 150 - } - controls_state = 648 # Minamitorishima - controls_state = 94 # Iwo Jima - } - modifier = { - add = 10 - original_tag = CHY - any_enemy_country = { - controls_state = 94 # Iwo Jima - } - } - modifier = { - factor = 0 - has_war = no - } - } -} - - -# AMERICAS -us_east_coast = { - name = theater_us_east_coast - regions = { - 54 # Eastern Seaboard - 170 # Florida Coast - 197 # New England - 117 # East Coast - 211 # Gulf Coast - 55 # Newfoundland Sea - 213 # Maritimes - 214 # Appalachia - 198 # Great Lakes - 119 # South West - - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - OR = { - original_tag = BYG - AND = { - has_war_with = BYG - has_navy_size = { - size > 100 - } - OR = { - capital_scope = { is_on_continent = europe } - capital_scope = { is_on_continent = south_america } - capital_scope = { is_on_continent = north_america } - capital_scope = { is_on_continent = africa } - } - } - } - } - modifier = { - add = 2 - has_war_with = BYG - original_tag = TIX - 126 = { is_controlled_by_ROOT_or_ally = yes } # Greater London Area - 14 = { is_controlled_by_ROOT_or_ally = yes } # Brittany - 123 = { is_controlled_by_ROOT_or_ally = yes } # South-West England - } - modifier = { - factor = 0 - has_war = no - } - } -} - -central_america = { - name = theater_central_america - regions = { - 53 # Carribean Sea - 52 # Gulf of Mexico - 205 # Yucatan - 34 # Central America - 123 # Transvolcanic Belt - 107 # Western Canal Zone - 106 # Mexican Coast - 204 # Sierra Madre - 170 # Florida Coast - 124 # Northern South America - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - OR = { - has_war_with = HON - has_war_with = MEX - has_war_with = GUA - has_war_with = CUB - has_war_with = NIC - has_war_with = COS - has_war_with = PAN - has_war_with = HAI - has_war_with = DOM - } - } - modifier = { - factor = 0 - is_historical_focus_on = yes - OR = { - original_tag = TIX - original_tag = SAD - } - NOT = { 126 = { is_controlled_by_ROOT_or_ally = yes } } # We don't cross the atlantic unless we have conquered the United kingdom - } - modifier = { - factor = 0 - has_war = no - } - } -} - -gran_columbia = { - name = theater_gran_columbia - regions = { - 124 # Northern South America - 280 # Guyana - 201 # Northern Andes - 287 # Bolivia - 163 # Amazonas - 107 # Western Canal Zone - 109 # Peruvian Coast - 285 # Rio Tocantis - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - OR = { - has_war_with = VEN - has_war_with = COL - has_war_with = ECU - has_war_with = PER - has_war_with = BOL - } - } - modifier = { - factor = 0 - is_historical_focus_on = yes - OR = { - original_tag = TIX - original_tag = SAD - } - NOT = { 126 = { is_controlled_by_ROOT_or_ally = yes } } # We don't cross the atlantic unless we have conquered the United kingdom - } - modifier = { - factor = 0 - has_war = no - } - } -} - -south_south_america = { - name = theater_south_south_america - regions = { - 284 # Southern Andes - 283 # Patagonia - 35 # Pampas - 281 # Gran Chaco - 282 # Rio Grande do Sul - 108 # South American Coast - 63 # Argentine Coast - 64 # South Georgia Sea - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - OR = { - has_war_with = ARG - has_war_with = URU - has_war_with = PAR - has_war_with = DOH - } - } - modifier = { - factor = 0 - is_historical_focus_on = yes - OR = { - original_tag = TIX - original_tag = SAD - } - NOT = { 126 = { is_controlled_by_ROOT_or_ally = yes } } # We don't cross the atlantic unless we have conquered the United kingdom - } - modifier = { - factor = 0 - has_war = no - } - } -} - -brazil = { - name = theater_brazil - regions = { - 125 # Brazil - 288 # Central Brazil - 286 # Rio Grande Do North - 282 # Rio Grande do Sul - 163 # Amazonas - 287 # Bolivia - 281 # Gran Chaco - 280 # Guyana - 61 # Cap Verde Plain - 66 # South Central Atlantic - - } - cancel = { - has_war = no - } - ai_will_do = { - base = 0 - modifier = { - add = 1 - has_war_with = BRA - } - modifier = { - factor = 0 - is_historical_focus_on = yes - OR = { - original_tag = TIX - original_tag = SAD - } - NOT = { 126 = { is_controlled_by_ROOT_or_ally = yes } } # We don't cross the atlantic unless we have conquered the United kingdom - } - modifier = { - factor = 0 - has_war = no - } - } -} \ No newline at end of file diff --git a/src/common/ai_strategy/BFL.txt b/src/common/ai_strategy/BFL.txt index bd28e03..e2c68e5 100755 --- a/src/common/ai_strategy/BFL.txt +++ b/src/common/ai_strategy/BFL.txt @@ -469,6 +469,7 @@ BFL_rush_to_berlin = { enable = { date > 1943.1.1 has_war_with = TIX + TIX = { is_ai = yes } } abort_when_not_enabled = yes @@ -493,6 +494,7 @@ YUW_enemy = { } enable = { has_war_with = YUW + YUW = { is_ai = yes } } abort_when_not_enabled = yes ai_strategy = { diff --git a/src/common/ai_strategy/BYG.txt b/src/common/ai_strategy/BYG.txt index 56f62af..9f9a080 100755 --- a/src/common/ai_strategy/BYG.txt +++ b/src/common/ai_strategy/BYG.txt @@ -1937,4 +1937,74 @@ BYG_heavytank_production = { id = heavy_armor value = 20 } +} + +### Pacific war strategies + +BYG_CHY_pacific_war_dominance = { + allowed = { + OR = { + original_tag = BYG + original_tag = CHY + } + } + + enable = { + OR = { + has_war_with = BYG + has_war_with = CHY + } + surrender_progress < 0.15 #Just give up trying to compete now + set_temp_variable = { t = num_ships_with_type@carrier } + check_variable = { t > 4 } #We lost the carrier war now, time to retreat + } + + abort_when_not_enabled = yes + + ai_strategy = { + type = naval_dominance + id = micronesia_pacific_control_zone + value = 80 + } + + ai_strategy = { + type = naval_dominance + id = mariana_pacific_control_zone + value = 80 + } + + ai_strategy = { + type = naval_dominance + id = north_pacific_control_zone + value = 80 + } + + ai_strategy = { + type = naval_dominance + id = pearl_harbor_pacific_control_zone + value = 80 + } + +} + +BYG_dominate_the_home_islands = { + allowed = { + original_tag = BYG + } + + enable = { + has_war_with = CHY + OR = { + date > 1943.1.1 + controls_state = 645 #Iwo Jima + } + } + + abort_when_not_enabled = yes + + ai_strategy = { + type = naval_dominance + id = home_islands_control_zone + value = 100 + } } \ No newline at end of file diff --git a/src/common/ai_strategy/HUJ.txt b/src/common/ai_strategy/HUJ.txt index aefa1a7..9bb720d 100755 --- a/src/common/ai_strategy/HUJ.txt +++ b/src/common/ai_strategy/HUJ.txt @@ -2860,4 +2860,65 @@ HUJ_heavytank_production = { id = heavy_armor value = 40 } -} \ No newline at end of file +} + +HUJ_dominate_the_home_islands = { + allowed = { + original_tag = HUJ + } + + enable = { + has_war_with = CHY + date > 1943.1.1 + NOT = { has_war_with = TIX } + } + + abort_when_not_enabled = yes + + ai_strategy = { + type = naval_dominance + id = home_islands_control_zone + value = 100 + } + + ai_strategy = { + type = naval_dominance + id = micronesia_pacific_control_zone + value = 80 + } + + ai_strategy = { + type = naval_dominance + id = mariana_pacific_control_zone + value = 80 + } + +} + +HUJ_develop_mediterranean_supremacy = { + allowed = { + original_tag = HUJ + } + + enable = { + OR = { + has_war_with = SAD + has_war_with = SOU + } + date > 1940.1.1 + } + + abort_when_not_enabled = yes + + ai_strategy = { + type = naval_dominance + id = western_med_control_zone + value = 30 + } + + ai_strategy = { + type = naval_dominance + id = eastern_med_control_zone + value = 80 + } +} diff --git a/src/common/ai_strategy/SAD.txt b/src/common/ai_strategy/SAD.txt index 947a178..a3345ae 100755 --- a/src/common/ai_strategy/SAD.txt +++ b/src/common/ai_strategy/SAD.txt @@ -978,4 +978,33 @@ SAD_invasion_buffer = { subtract_invasions_from_need = no subtract_fronts_from_need = yes } +} + +ITA_contest_the_med = { + allowed = { + original_tag = SAD + } + + enable = { + OR = { + has_war_with = HUJ + has_war_with = SOU + } + date > 1939.10.10 + # We just want to always do this, this is our home coast + } + + abort_when_not_enabled = yes + + ai_strategy = { + type = naval_dominance + id = western_med_control_zone + value = 80 + } + + ai_strategy = { + type = naval_dominance + id = eastern_med_control_zone + value = 80 + } } \ No newline at end of file diff --git a/src/common/ai_strategy/TIX.txt b/src/common/ai_strategy/TIX.txt index aed9c13..e5fc14b 100755 --- a/src/common/ai_strategy/TIX.txt +++ b/src/common/ai_strategy/TIX.txt @@ -620,7 +620,7 @@ TIX_strike_BFL = { priority = 100 ordertype = front - execution_type = rush + execution_type = balanced execute_order = yes } @@ -1018,6 +1018,19 @@ TIX_war_YUW_no_ai = { ordertype = front execution_type = careful } + + ai_strategy = { + type = front_control + + tag = YUW + + ratio = 0.5 + + priority = 100 + ordertype = front + execution_type = balanced + execute_order = yes + } } @@ -2459,6 +2472,7 @@ TIX_blitz_france = { date < 1940.9.1 HOL = { has_capitulated = yes } is_historical_focus_on = yes + YUW = { is_ai = yes } } abort_when_not_enabled = yes diff --git a/src/common/ai_strategy/ai_tank_research.txt b/src/common/ai_strategy/ai_tank_research.txt deleted file mode 100755 index bd137e9..0000000 --- a/src/common/ai_strategy/ai_tank_research.txt +++ /dev/null @@ -1,1656 +0,0 @@ -ai_medium_tank_research_1 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = CHY - original_tag = DOH - original_tag = DH1 - original_tag = TIX - } - } - enable = { - has_tech = gwtank_chassis - date > 1937.1.1 - } - - abort = { - has_tech = basic_medium_tank_chassis - } - - ai_strategy = { - type = research_tech - id = 103 #basic_medium_tank_chassis - value = 2000 - } -} - -ai_medium_tank_research_2 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = CHY - original_tag = DOH - original_tag = DH1 - original_tag = TIX - - } - } - enable = { - has_tech = basic_medium_tank_chassis - date > 1937.1.1 - } - - abort = { - has_tech = improved_medium_tank_chassis - } - - ai_strategy = { - type = research_tech - id = 104 #improved_medium_tank_chassis - value = 2000 - } -} - -ai_medium_tank_research_3 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = CHY - original_tag = DOH - original_tag = DH1 - original_tag = TIX - - } - } - enable = { - has_tech = improved_medium_tank_chassis - date > 1941.1.1 - } - - abort = { - has_tech = advanced_medium_tank_chassis - } - - ai_strategy = { - type = research_tech - id = 105 #advanced_medium_tank_chassis - value = 2000 - } -} - -ai_light_tank_research_1 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = TIX - - original_tag = CHY - } - } - enable = { - has_tech = gwtank_chassis - date > 1936.1.1 - } - - abort = { - has_tech = basic_light_tank_chassis - } - - ai_strategy = { - type = research_tech - id = 98 #basic_light_tank_chassis - value = 2000 - } -} - -ai_light_tank_research_2 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = TIX - - original_tag = CHY - } - } - enable = { - has_tech = basic_light_tank_chassis - date > 1936.1.1 - } - - abort = { - has_tech = improved_light_tank_chassis - } - - ai_strategy = { - type = research_tech - id = 99 #improved_light_tank_chassis - value = 2000 - } -} - -ai_light_tank_research_3 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = TIX - - original_tag = CHY - } - } - enable = { - has_tech = improved_light_tank_chassis - date > 1941.1.1 - } - - abort = { - has_tech = advanced_light_tank_chassis - } - - ai_strategy = { - type = research_tech - id = 102 #advanced_light_tank_chassis - value = 2000 - } -} - -mechanised_infantry_research_1 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = TIX - original_tag = DOH - original_tag = DH1 - original_tag = CHY - original_tag = BLI - original_tag = SIR - } - } - enable = { - date > 1937.1.1 - } - - abort = { - has_tech = mechanised_infantry - } - - ai_strategy = { - type = research_tech - id = 455 #mechanised_infantry - value = 20000 - } -} - -mechanised_infantry_research_2 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = TIX - original_tag = DOH - original_tag = DH1 - original_tag = CHY - original_tag = BLI - original_tag = SIR - } - } - enable = { - date > 1941.1.1 - has_tech = mechanised_infantry - } - - abort = { - has_tech = mechanised_infantry2 - } - - ai_strategy = { - type = research_tech - id = 459 #mechanised_infantry2 - value = 20000 - } -} - -mechanised_infantry_research_3 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = TIX - original_tag = DOH - original_tag = DH1 - original_tag = CHY - original_tag = BLI - original_tag = SIR - } - } - enable = { - date > 1943.1.1 - has_tech = mechanised_infantry2 - } - - abort = { - has_tech = mechanised_infantry3 - } - - ai_strategy = { - type = research_tech - id = 460 #mechanised_infantry3 - value = 20000 - } -} - -DOH_ai_light_tank_research_1 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - has_idea = DOH_dfgg5 - } - - abort = { - has_tech = basic_light_tank_chassis - } - - ai_strategy = { - type = research_tech - id = 98 #basic_light_tank_chassis - value = 2000 - } -} - -DOH_ai_light_tank_research_2 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - has_tech = basic_light_tank_chassis - } - - abort = { - has_tech = improved_light_tank_chassis - } - - ai_strategy = { - type = research_tech - id = 99 #improved_light_tank_chassis - value = 2000 - } -} - -DOH_ai_light_tank_research_3 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1941.1.1 - } - - abort = { - has_tech = advanced_light_tank_chassis - } - - ai_strategy = { - type = research_tech - id = 102 #advanced_light_tank_chassis - value = 2000 - } -} - -ai_plane_research_1 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - } - } - enable = { - date > 1936.1.1 - } - - abort = { - has_tech = iw_small_airframe - } - - ai_strategy = { - type = research_tech - id = 287 #iw_small_airframe - value = 2000 - } - -} - -ai_plane_research_2 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - } - } - enable = { - has_tech = iw_small_airframe - } - - abort = { - has_tech = basic_small_airframe - } - - ai_strategy = { - type = research_tech - id = 288 #basic_small_airframe - value = 2000 - } - -} - -ai_plane_research_3_nohujsad = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = BYG - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - } - } - enable = { - date > 1939.1.1 - has_tech = basic_small_airframe - } - - abort = { - has_tech = improved_small_airframe - } - - ai_strategy = { - type = research_tech - id = 289 #improved_small_airframe - value = 2000 - } -} - -ai_plane_research_4_nohujsad = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = BYG - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - } - } - enable = { - date > 1943.1.1 - has_tech = improved_small_airframe - } - - abort = { - has_tech = advanced_small_airframe - } - - ai_strategy = { - type = research_tech - id = 290 #advanced_small_airframe - value = 2000 - } -} - -ai_plane_research_5_nosad = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = BYG - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - original_tag = HUJ - } - } - enable = { - date > 1944.1.1 - has_tech = advanced_small_airframe - } - - abort = { - has_tech = modern_small_airframe - } - - ai_strategy = { - type = research_tech - id = 291 #modern_small_airframe - value = 2000 - } -} - -ai_plane_research_3_huj = { - allowed = { - OR = { - original_tag = HUJ - original_tag = TIX - original_tag = SAD - } - } - enable = { - date > 1938.6.1 - has_tech = basic_small_airframe - } - - abort = { - has_tech = improved_small_airframe - } - - ai_strategy = { - type = research_tech - id = 289 #improved_small_airframe - value = 2000 - } -} - -ai_plane_research_4_huj = { - allowed = { - OR = { - original_tag = HUJ - original_tag = TIX - original_tag = SAD - } - } - enable = { - date > 1941.1.1 - has_tech = improved_small_airframe - } - - abort = { - has_tech = advanced_small_airframe - } - - ai_strategy = { - type = research_tech - id = 290 #advanced_small_airframe - value = 2000 - } -} - -ai_plane_research_DOH_1 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1936.1.1 - has_idea = DOH_dfgg5 - } - - abort = { - has_tech = iw_small_airframe - } - - ai_strategy = { - type = research_tech - id = 287 #iw_small_airframe - value = 2000 - } - -} - -ai_plane_research_DOH_2 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - has_tech = iw_small_airframe - } - - abort = { - has_tech = basic_small_airframe - } - - ai_strategy = { - type = research_tech - id = 288 #basic_small_airframe - value = 2000 - } - -} - -ai_plane_research_DOH_3 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1939.1.1 - has_tech = basic_small_airframe - } - - abort = { - has_tech = improved_small_airframe - } - - ai_strategy = { - type = research_tech - id = 289 #improved_small_airframe - value = 2000 - } -} - -ai_plane_research_DOH_4 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1943.1.1 - has_tech = improved_small_airframe - } - - abort = { - has_tech = advanced_small_airframe - } - - ai_strategy = { - type = research_tech - id = 290 #advanced_small_airframe - value = 2000 - } -} - -ai_plane_research_DOH_5 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1944.1.1 - has_tech = advanced_small_airframe - } - - abort = { - has_tech = modern_small_airframe - } - - ai_strategy = { - type = research_tech - id = 291 #modern_small_airframe - value = 2000 - } -} - -ai_large_plane_research_byghuj_1 = { - allowed = { - OR = { - original_tag = HUJ - original_tag = BYG - original_tag = TIX - } - } - enable = { - date > 1936.1.1 - } - - abort = { - has_tech = iw_large_airframe - } - - ai_strategy = { - type = research_tech - id = 298 #iw_large_airframe - value = 2000 - } - -} - -ai_large_plane_research_byghuj_2 = { - allowed = { - OR = { - original_tag = HUJ - original_tag = BYG - original_tag = TIX - } - } - enable = { - has_tech = iw_large_airframe - } - - abort = { - has_tech = basic_large_airframe - } - - ai_strategy = { - type = research_tech - id = 299 #basic_large_airframe - value = 2000 - } - -} - -ai_large_plane_research_byghuj_3 = { - allowed = { - OR = { - original_tag = HUJ - original_tag = BYG - original_tag = TIX - } - } - enable = { - date > 1940.1.1 - has_tech = basic_large_airframe - } - - abort = { - has_tech = improved_large_airframe - } - - ai_strategy = { - type = research_tech - id = 300 #improved_large_airframe - value = 2000 - } - -} - -ai_large_plane_research_byghuj_4 = { - allowed = { - OR = { - original_tag = HUJ - original_tag = BYG - original_tag = TIX - } - } - enable = { - date > 1944.1.1 - has_tech = improved_large_airframe - } - - abort = { - has_tech = advanced_large_airframe - } - - ai_strategy = { - type = research_tech - id = 301 #advanced_large_airframe - value = 2000 - } - -} - -ai_large_plane_research_byghuj_5 = { - allowed = { - OR = { - original_tag = HUJ - original_tag = BYG - original_tag = TIX - } - } - enable = { - date > 1945.1.1 - has_tech = advanced_large_airframe - } - - abort = { - has_tech = modern_large_airframe - } - - ai_strategy = { - type = research_tech - id = 302 #modern_large_airframe - value = 2000 - } - -} - -ai_large_plane_research_doh_1 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1936.1.1 - has_idea = DOH_dfgg5 - } - - abort = { - has_tech = iw_large_airframe - } - - ai_strategy = { - type = research_tech - id = 298 #iw_large_airframe - value = 2000 - } - -} - -ai_large_plane_research_doh_2 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - has_tech = iw_large_airframe - } - - abort = { - has_tech = basic_large_airframe - } - - ai_strategy = { - type = research_tech - id = 299 #basic_large_airframe - value = 2000 - } - -} - -ai_large_plane_research_doh_3 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1940.1.1 - has_tech = basic_large_airframe - } - - abort = { - has_tech = improved_large_airframe - } - - ai_strategy = { - type = research_tech - id = 300 #improved_large_airframe - value = 2000 - } - -} - -ai_large_plane_research_doh_4 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1944.1.1 - has_tech = improved_large_airframe - } - - abort = { - has_tech = advanced_large_airframe - } - - ai_strategy = { - type = research_tech - id = 301 #advanced_large_airframe - value = 2000 - } - -} - -ai_large_plane_research_doh_5 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1945.1.1 - has_tech = advanced_large_airframe - } - - abort = { - has_tech = modern_large_airframe - } - - ai_strategy = { - type = research_tech - id = 302 #modern_large_airframe - value = 2000 - } - -} - -ai_naval_research_1 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - } - } - enable = { - date > 1936.1.1 - } - - abort = { - has_tech = early_ship_hull_light - has_tech = early_ship_hull_cruiser - has_tech = early_ship_hull_heavy - has_tech = early_ship_hull_carrier - has_tech = early_ship_hull_submarine - } - - ai_strategy = { - type = research_tech - id = 1 #early_ship_hull_light - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 12 #early_ship_hull_cruiser - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 18 #early_ship_hull_heavy - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 25 #early_ship_hull_carrier - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 29 #early_ship_hull_submarine - value = 2000 - } -} - -ai_naval_research_1_doh = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1936.1.1 - has_idea = DOH_dfgg5 - } - - abort = { - has_tech = early_ship_hull_light - has_tech = early_ship_hull_cruiser - has_tech = early_ship_hull_heavy - has_tech = early_ship_hull_carrier - has_tech = early_ship_hull_submarine - } - - ai_strategy = { - type = research_tech - id = 1 #early_ship_hull_light - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 12 #early_ship_hull_cruiser - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 18 #early_ship_hull_heavy - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 25 #early_ship_hull_carrier - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 29 #early_ship_hull_submarine - value = 2000 - } -} - -ai_naval_research_2 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - original_tag = DOH - original_tag = DH1 - } - } - enable = { - date > 1936.1.1 - has_tech = early_ship_hull_light - has_tech = early_ship_hull_cruiser - has_tech = early_ship_hull_heavy - has_tech = early_ship_hull_carrier - has_tech = early_ship_hull_submarine - } - - abort = { - has_tech = basic_ship_hull_light - has_tech = basic_ship_hull_cruiser - has_tech = basic_ship_hull_heavy - has_tech = basic_ship_hull_carrier - has_tech = basic_ship_hull_submarine - } - - ai_strategy = { - type = research_tech - id = 2 #basic_ship_hull_light - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 13 #basic_ship_hull_cruiser - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 19 #basic_ship_hull_heavy - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 26 #basic_ship_hull_carrier - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 30 #basic_ship_hull_submarine - value = 2000 - } -} - -#ai_naval_research_heavy_ship = { -# allowed = { -# OR = { -# original_tag = YUW -# original_tag = BFL -# original_tag = HUJ -# original_tag = BYG -# original_tag = SAD -# original_tag = CHY -# original_tag = TIX -# original_tag = BLI -# original_tag = SIR -# original_tag = DOH -# original_tag = DH1 -# } -# } -# enable = { -# date > 1936.1.1 -# has_tech = basic_ship_hull_heavy -# } -# -# abort = { -# has_tech = ship_hull_super_heavy -# } -# -# ai_strategy = { -# type = research_tech -# id = 20 -# value = 2000 -# } -#} - -ai_naval_research_3 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - original_tag = DOH - original_tag = DH1 - } - } - enable = { - date > 1938.1.1 - has_tech = basic_ship_hull_light - has_tech = basic_ship_hull_cruiser - has_tech = basic_ship_hull_heavy - has_tech = basic_ship_hull_carrier - has_tech = basic_ship_hull_submarine - } - - abort = { - has_tech = improved_ship_hull_light - has_tech = improved_ship_hull_cruiser - has_tech = improved_ship_hull_heavy - has_tech = improved_ship_hull_carrier - has_tech = improved_ship_hull_submarine - } - - ai_strategy = { - type = research_tech - id = 3 #improved_ship_hull_light - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 14 #improved_ship_hull_cruiser - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 21 #improved_ship_hull_heavy - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 27 #improved_ship_hull_carrier - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 31 #improved_ship_hull_submarine - value = 2000 - } -} - -ai_naval_research_4 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - original_tag = DOH - original_tag = DH1 - } - } - enable = { - date > 1942.1.1 - has_tech = improved_ship_hull_light - has_tech = improved_ship_hull_cruiser - has_tech = improved_ship_hull_heavy - has_tech = improved_ship_hull_carrier - has_tech = improved_ship_hull_submarine - } - - abort = { - has_tech = advanced_ship_hull_light - has_tech = advanced_ship_hull_cruiser - has_tech = advanced_ship_hull_heavy - has_tech = advanced_ship_hull_carrier - has_tech = advanced_ship_hull_submarine - } - - ai_strategy = { - type = research_tech - id = 4 #advanced_ship_hull_light - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 15 #advanced_ship_hull_cruiser - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 22 #advanced_ship_hull_heavy - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 28 #advanced_ship_hull_carrier - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 32 #advanced_ship_hull_submarine - value = 2000 - } -} - -ai_naval_research_5 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - - } - } - enable = { - date > 1939.1.1 - } - - abort = { - has_tech = basic_light_shell - has_tech = basic_medium_shell - has_tech = basic_heavy_shell - has_tech = improved_light_shell - has_tech = improved_medium_shell - has_tech = improved_heavy_shell - has_tech = magnetic_detonator - has_tech = damage_control_1 - has_tech = fire_control_methods_1 - } - - ai_strategy = { - type = research_tech - id = 50 #basic_light_shell - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 55 #basic_medium_shell - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 62 #basic_heavy_shell - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 52 #improved_light_shell - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 57 #improved_medium_shell - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 63 #improved_heavy_shell - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 69 #magnetic_detonator - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 75 #damage_control_1 - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 78 #fire_control_methods_1 - value = 2000 - } -} - -ai_naval_research_6 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - - } - } - enable = { - date > 1939.1.1 - has_tech = damage_control_1 - has_tech = fire_control_methods_1 - } - - abort = { - has_tech = damage_control_2 - has_tech = fire_control_methods_2 - } - - ai_strategy = { - type = research_tech - id = 76 #damage_control_2 - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 79 #fire_control_methods_2 - value = 2000 - } - -} - -ai_naval_research_7 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - - } - } - enable = { - date > 1939.1.1 - has_tech = damage_control_2 - has_tech = fire_control_methods_2 - } - - abort = { - has_tech = damage_control_3 - has_tech = fire_control_methods_3 - } - - ai_strategy = { - type = research_tech - id = 77 #damage_control_3 - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 80 #fire_control_methods_3 - value = 2000 - } - -} - -ai_naval_research_8 = { - allowed = { - OR = { - original_tag = YUW - original_tag = BFL - original_tag = HUJ - original_tag = BYG - original_tag = SAD - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - - } - } - enable = { - date > 1941.1.1 - has_tech = magnetic_detonator - } - - abort = { - has_tech = electric_torpedo - has_tech = homing_torpedo - } - - ai_strategy = { - type = research_tech - id = 70 #electric_torpedo - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 71 #homing_torpedo - value = 2000 - } - -} - -ai_naval_research_DOH_5 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1939.1.1 - surrender_progress < 0.1 - } - - abort = { - has_tech = basic_light_shell - has_tech = basic_medium_shell - has_tech = basic_heavy_shell - has_tech = improved_light_shell - has_tech = improved_medium_shell - has_tech = improved_heavy_shell - has_tech = magnetic_detonator - has_tech = damage_control_1 - has_tech = fire_control_methods_1 - } - - ai_strategy = { - type = research_tech - id = 50 #basic_light_shell - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 55 #basic_medium_shell - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 62 #basic_heavy_shell - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 52 #improved_light_shell - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 57 #improved_medium_shell - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 63 #improved_heavy_shell - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 69 #magnetic_detonator - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 75 #damage_control_1 - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 78 #fire_control_methods_1 - value = 2000 - } -} - -ai_naval_research_DOH_6 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1939.1.1 - has_tech = damage_control_1 - has_tech = fire_control_methods_1 - surrender_progress < 0.1 - } - - abort = { - has_tech = damage_control_2 - has_tech = fire_control_methods_2 - } - - ai_strategy = { - type = research_tech - id = 76 #damage_control_2 - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 79 #fire_control_methods_2 - value = 2000 - } - -} - -ai_naval_research_DOH_7 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1939.1.1 - has_tech = damage_control_2 - has_tech = fire_control_methods_2 - surrender_progress < 0.1 - } - - abort = { - has_tech = damage_control_3 - has_tech = fire_control_methods_3 - } - - ai_strategy = { - type = research_tech - id = 77 #damage_control_3 - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 80 #fire_control_methods_3 - value = 2000 - } - -} - -ai_naval_research_DOH_8 = { - allowed = { - original_tag = DOH - original_tag = DH1 - } - enable = { - date > 1941.1.1 - has_tech = magnetic_detonator - surrender_progress < 0.1 - } - - abort = { - has_tech = electric_torpedo - has_tech = homing_torpedo - } - - ai_strategy = { - type = research_tech - id = 70 #electric_torpedo - value = 2000 - } - - ai_strategy = { - type = research_tech - id = 71 #homing_torpedo - value = 2000 - } - -} - -ai_tank_research_1 = { - allowed = { - original_tag = SIR - } - enable = { - date > 1936.1.1 - } - - abort = { - has_tech = gwtank_chassis - } - - ai_strategy = { - type = research_tech - id = 97 #gwtank_chassis - value = 2000 - } -} - -ai_heavy_tank_research_1 = { - allowed = { - original_tag = SIR - } - enable = { - has_tech = gwtank_chassis - date > 1936.1.1 - } - - abort = { - has_tech = basic_heavy_tank_chassis - } - - ai_strategy = { - type = research_tech - id = 107 #basic_heavy_tank_chassis - value = 2000 - } -} - -ai_heavy_tank_research_2 = { - allowed = { - OR = { - original_tag = SIR - original_tag = BLI - } - } - enable = { - has_tech = basic_heavy_tank_chassis - date > 1936.1.1 - } - - abort = { - has_tech = improved_heavy_tank_chassis - } - - ai_strategy = { - type = research_tech - id = 108 #improved_heavy_tank_chassis - value = 2000 - } -} - -ai_naval_submarine = { - allowed = { - OR = { - original_tag = SAD - original_tag = CHY - original_tag = TIX - original_tag = BLI - original_tag = SIR - } - } - enable = { - OR = { - has_idea = TY_fengkuangai - has_idea = TY_fengkuangai2 - has_idea = TY_fengkuangai3 - } - } - - abort_when_not_enabled = yes - - ai_strategy = { - type = role_ratio - id = naval_submarine - value = 40 - } - -} diff --git a/src/common/ai_strategy/default.txt b/src/common/ai_strategy/default.txt index 8ba19ed..1f132de 100755 --- a/src/common/ai_strategy/default.txt +++ b/src/common/ai_strategy/default.txt @@ -1,7 +1,5 @@ -# Written by Henrik "Groogy" Hansson -# Modified by Daniel "Da9L" Sjöberg - -default_unit_production = { #If adding country-unique ones, bear in mind that they STACK +default_unit_production = { + # If adding country-unique ones, bear in mind that they STACK unless excluding countries in the enable enable = { always = yes NOT = { @@ -14,6 +12,9 @@ default_unit_production = { #If adding country-unique ones, bear in mind that th tag = SOV original_tag = ITA original_tag = JAP + original_tag = HUN + original_tag = SIA + original_tag = USA original_tag = CHY original_tag = DOH original_tag = TIX @@ -30,6 +31,7 @@ default_unit_production = { #If adding country-unique ones, bear in mind that th } abort_when_not_enabled = yes + # Land division factors ai_strategy = { type = role_ratio id = paratroopers @@ -60,7 +62,7 @@ default_unit_production = { #If adding country-unique ones, bear in mind that th value = 80 } - #Air unit factors + # Air unit factors ai_strategy = { type = unit_ratio id = fighter @@ -153,9 +155,37 @@ default_unit_production = { #If adding country-unique ones, bear in mind that th } } +default_unit_production_super_heavies = { + enable = { + is_major = yes + num_of_military_factories > 150 # nly if we have loads of factories + date > 1943.6.1 # Lets wait until late war + NOT = { has_tech = main_battle_tank_chassis } # Abandon Super heavy projects if we start doing modern tanks instead + NOT = { has_government = democratic } # Let the authoritarian regimes spend money on this + } + abort_when_not_enabled = yes + ai_strategy = { + type = role_ratio + id = super_heavy_breakthrough_role + value = 1 + } +} + +default_unit_production_land_cruiser = { + enable = { + is_special_project_completed = sp:sp_land_land_cruiser + } + abort_when_not_enabled = yes + ai_strategy = { + type = role_ratio + id = mega_heavy_breakthrough_role + value = 2 + } +} + default_role_ratios = { enable = { - NOT = { + not = { has_dlc = "Man the Guns" } } @@ -189,7 +219,7 @@ default_role_ratios = { default_role_ratios = { enable = { has_dlc = "Man the Guns" - NOT = { + not = { OR = { original_tag = GER original_tag = ENG @@ -207,8 +237,8 @@ default_role_ratios = { original_tag = HUJ original_tag = BLI original_tag = SIR + original_tag = DH1 } - } } abort_when_not_enabled = yes @@ -278,21 +308,6 @@ default_surplus_management = { # If we manage to get all equipment we want, keep producing more stuff according to this enable = { always = yes # For now, applies to everyone - NOT = { - OR = { - original_tag = CHY - original_tag = DOH - original_tag = TIX - original_tag = YUW - original_tag = BFL - original_tag = BYG - original_tag = SAD - original_tag = HUJ - original_tag = BLI - original_tag = SIR - } - - } } abort_when_not_enabled = yes @@ -338,7 +353,7 @@ bba_air_prod_1 = { enable = { always = yes - NOT = { original_tag = GER } + NOT = { original_tag = GER } NOT = { original_tag = ENG } NOT = { original_tag = CHY } NOT = { original_tag = DOH } @@ -349,7 +364,7 @@ bba_air_prod_1 = { NOT = { original_tag = SAD } NOT = { original_tag = HUJ } NOT = { original_tag = BLI } - NOT = { original_tag = SIR } + NOT = { original_tag = SIR } } abort_when_not_enabled = yes @@ -378,7 +393,7 @@ bba_air_prod_1 = { id = cas value = 20 #because doctrine this = 15 } - + ai_strategy = { type = unit_ratio id = naval_bomber @@ -439,6 +454,18 @@ bba_air_prod_1 = { value = 1 } + ai_strategy = { + type = unit_ratio + id = cv_fighter + value = 10 + } + + ai_strategy = { + type = unit_ratio + id = cv_naval_bomber + value = 10 + } + } bba_support_boosts = { @@ -672,6 +699,7 @@ default_garrison_production = { original_tag = FRA original_tag = JAP original_tag = ENG + original_tag = SIA original_tag = CHY original_tag = DOH original_tag = TIX @@ -682,6 +710,7 @@ default_garrison_production = { original_tag = HUJ original_tag = BLI original_tag = SIR + original_tag = DH1 } ai_wants_divisions > 12 #Massively decreasing the amount of garrison and suppression the AI wants is_major = yes @@ -696,13 +725,6 @@ default_garrison_production = { id = garrison value = 5 } - - # Old garrison system against resistance - # ai_strategy = { - # type = role_ratio - # id = suppression - # value = 2 - # } } default_mountaineers_production = { @@ -761,7 +783,6 @@ default_mobile_production = { original_tag = BLI original_tag = SIR } - } } abort = { @@ -821,16 +842,6 @@ slightly_naval_focused_nation = { tag = ENG tag = FRA tag = ITA - tag = CHY - tag = DOH - tag = TIX - tag = YUW - tag = BFL - tag = BYG - tag = SAD - tag = HUJ - tag = BLI - tag = SIR } } abort_when_not_enabled = yes @@ -866,16 +877,6 @@ more_naval_focused_nation = { tag = JAP tag = USA tag = ENG - tag = CHY - tag = DOH - tag = TIX - tag = YUW - tag = BFL - tag = BYG - tag = SAD - tag = HUJ - tag = BLI - tag = SIR } date > "1941.1.1" # Delaying it by a couple of years } @@ -995,7 +996,7 @@ default_area_priority_non_africa = { NOT = { original_tag = ENG } NOT = { is_subject_of = ENG } NOT = { capital_scope = { is_on_continent = africa } } - NOT = { original_tag = CHY } + NOT = { original_tag = CHY } NOT = { original_tag = DOH } NOT = { original_tag = TIX } NOT = { original_tag = YUW } @@ -1191,7 +1192,7 @@ dont_build_capitals_if_on_treaty = { original_tag = ITA original_tag = ENG NOT = { has_idea = MTG_naval_treaty_adherent } - } + } } ai_strategy = { @@ -1223,16 +1224,18 @@ DEFAULT_early_template_design = { tag = JAP tag = USA tag = POL - tag = CHY - tag = DOH - tag = TIX - tag = YUW - tag = BFL - tag = BYG - tag = SAD - tag = HUJ - tag = BLI - tag = SIR + tag = SIA + original_tag = CHY + original_tag = DOH + original_tag = TIX + original_tag = YUW + original_tag = BFL + original_tag = BYG + original_tag = SAD + original_tag = HUJ + original_tag = BLI + original_tag = SIR + original_tag = DH1 } } date < 1940.1.1 @@ -1295,16 +1298,17 @@ DEFAULT_midlate_template_design = { tag = JAP tag = USA tag = POL - tag = CHY - tag = DOH - tag = TIX - tag = YUW - tag = BFL - tag = BYG - tag = SAD - tag = HUJ - tag = BLI - tag = SIR + tag = SIA + original_tag = CHY + original_tag = DOH + original_tag = TIX + original_tag = YUW + original_tag = BFL + original_tag = BYG + original_tag = SAD + original_tag = HUJ + original_tag = BLI + original_tag = SIR } } date > 1940.1.1 @@ -1625,6 +1629,297 @@ minors_dont_spy = { } } +### SPECIAL PROJECT STRATEGIES +default_build_a_nl_facility = { + enable = { + has_tech = atomic_research + num_of_civilian_factories > 25 + num_of_military_factories > 25 # Even if we have the base tech, let's wait until we have some kind of capacity + nuclear_facility < 1 # one is enough + } + abort_when_not_enabled = yes + ai_strategy = { + type = build_building + id = nuclear_facility + value = 100 + } +} + +default_build_a_nav_facility = { + enable = { + num_of_naval_factories > 25 # Only Naval Powers should bother with these unless specifically told to do otherwise + naval_facility < 1 # one is enough + } + abort_when_not_enabled = yes + ai_strategy = { + type = build_building + id = naval_facility + value = 100 + } +} + +# TODO MANU or THOMAS +default_build_a_gun_emplacement = { + enable = { + is_major = yes + } + abort_when_not_enabled = yes + ai_strategy = { + type = build_building + id = mega_gun_emplacement + value = 1 + } +} + +default_build_a_lw_facility = { + enable = { + is_major = yes + num_of_civilian_factories > 40 + num_of_military_factories > 40 + OR = { # Don't start until we can build decent tanks of some kind + has_tech = improved_light_tank_chassis + has_tech = basic_medium_tank_chassis + has_tech = improved_heavy_tank_chassis + } + land_facility < 1 # one is enough + } + abort_when_not_enabled = yes + ai_strategy = { + type = build_building + id = land_facility + value = 1 + } +} + +default_build_an_air_facility = { + allowed = { + NOT = { original_tag = GER } # Germany uses own strat + } + enable = { + + is_major = yes # Minors don't bother until strong enough to be considered major + num_of_military_factories > 40 # We should first build up our military industry + + OR = { # Don't start until we can build decent aircraft + has_tech = basic_small_airframe + has_tech = basic_medium_airframe + has_tech = basic_large_airframe + } + air_facility < 1 # one is enough + } + abort_when_not_enabled = yes + ai_strategy = { + type = build_building + id = air_facility + value = 1 + } +} + +default_become_spymaster_major = { + allowed = { + has_dlc = "La Resistance" + } + enable = { + is_major = yes + } + abort_when_not_enabled = yes + ai_strategy = { + type = become_spymaster + value = 30 + } +} +default_become_spymaster_minor = { + allowed = { + has_dlc = "La Resistance" + } + enable = { + is_major = no + } + abort_when_not_enabled = yes + ai_strategy = { + type = become_spymaster + value = 2 + } +} + +default_become_head_of_crypto = { + allowed = { + has_dlc = "No Compromise, No Surrender" + has_dlc = "La Resistance" + } + enable = { + always = yes + } + abort_when_not_enabled = yes + ai_strategy = { + type = become_head_of_crypto + value = 2 + } +} + +default_become_head_of_operations = { + allowed = { + has_dlc = "No Compromise, No Surrender" + has_dlc = "La Resistance" + } + enable = { + always = yes + } + abort_when_not_enabled = yes + ai_strategy = { + type = become_head_of_operations + value = 2 + } +} + +default_become_counter_intel = { + allowed = { + has_dlc = "No Compromise, No Surrender" + has_dlc = "La Resistance" + } + enable = { + always = yes + } + abort_when_not_enabled = yes + ai_strategy = { + type = become_head_of_counter_intel + value = 2 + } +} + +default_become_supreme_commander = { + allowed = { + has_dlc = "No Compromise, No Surrender" + has_dlc = "La Resistance" + } + enable = { + always = yes + } + abort_when_not_enabled = yes + ai_strategy = { + type = spent_faction_initiative_priority + id = unlock_faction_commander + value = 2 + } +} + +default_become_faction_leader = { + enable = { + always = yes + } + abort_when_not_enabled = yes + ai_strategy = { + type = pp_spend_priority + id = become_faction_leader + value = 100 + } +} + + +default_add_faction_facility = { + enable = { + always = yes + } + abort_when_not_enabled = yes + ai_strategy = { + type = spent_faction_initiative_priority + id = program + value = 5 + } +} + +default_unlock_doctrine_sharing = { + enable = { + always = yes + } + abort_when_not_enabled = yes + ai_strategy = { + type = spent_faction_initiative_priority + id = unlock_doctrine_sharing + value = 10 + } +} + +default_assign_supportive_scientist = { + + enable = { + OR = { + can_assign_supportive_scientist_to_faction = specialization_land + can_assign_supportive_scientist_to_faction = specialization_nuclear + can_assign_supportive_scientist_to_faction = specialization_naval + can_assign_supportive_scientist_to_faction = specialization_naval + } + has_political_power > 74 # mainly to add some time padding for the player to react, and to not spend pp on it if there are cheaper things that we could want to do + } + abort_when_not_enabled = yes + + ai_strategy = { + type = pp_spend_priority + id = supportive_scientist + value = 25 + } +} + +default_recruit_land_scientist = { + enable = { + OR = { + can_assign_supportive_scientist_to_faction = specialization_land + nuclear_facility > 0 + } + } + abort_when_not_enabled = yes + ai_strategy = { + type = recruit_scientist + id = specialization_land + value = 100 + } +} + +default_recruit_nuclear_scientist = { + enable = { + OR = { + can_assign_supportive_scientist_to_faction = specialization_nuclear + nuclear_facility > 0 + } + } + abort_when_not_enabled = yes + ai_strategy = { + type = recruit_scientist + id = specialization_nuclear + value = 100 + } +} + +default_recruit_naval_scientist = { + enable = { + OR = { + can_assign_supportive_scientist_to_faction = specialization_naval + naval_facility > 0 + } + } + abort_when_not_enabled = yes + ai_strategy = { + type = recruit_scientist + id = specialization_naval + value = 100 + } +} + +default_recruit_air_scientist = { + enable = { + OR = { + can_assign_supportive_scientist_to_faction = specialization_air + air_facility > 0 + } + } + abort_when_not_enabled = yes + ai_strategy = { + type = recruit_scientist + id = specialization_air + value = 100 + } +} + default_produce_some_trucks_for_buffer = { enable = { num_of_military_factories > 12 @@ -1643,14 +1938,13 @@ default_produce_some_trucks_for_buffer = { original_tag = BLI original_tag = SIR } - } } abort_when_not_enabled = yes ai_strategy = { - type = equipment_production_min_factories - id = motorized + type = equipment_production_min_factories_archetype + id = motorized_equipment value = 1 } } @@ -1758,3 +2052,73 @@ allies_avoid_starting_wars_during_endgame = { #Allies should avoid attacking.. w value = -400 } } + +we_dont_believe_in_mountain_tanks = { + enable = { + is_historical_focus_on = yes + } + abort_when_not_enabled = yes + + ai_strategy = { + type = front_armor_score + id = "GRE" + value = -100 + } + + ai_strategy = { + type = front_armor_score + id = "YUG" + value = -100 + } +} + +# Build some rockets (simple strats to have a minimum production at least ) +if_we_can_build_v1_rockets_we_want_rockets = { + enable = { + is_special_project_completed = sp:sp_rockets_flying_bomb + } + abort_when_not_enabled = yes + + ai_strategy = { + type = equipment_production_min_factories_archetype + id = guided_missile_equipment + value = 1 + } +} + +if_we_can_build_v2_rockets_we_want_v2_rockets = { + enable = { + is_special_project_completed = sp:sp_rockets_ballistic_missile + } + abort_when_not_enabled = yes + + ai_strategy = { + type = equipment_production_min_factories_archetype + id = ballistic_missile_equipment + value = 1 + } +} +if_we_can_build_sams_we_want_sams = { + enable = { + is_special_project_completed = sp:sp_rockets_ground_to_air_missile + } + abort_when_not_enabled = yes + + ai_strategy = { + type = equipment_production_min_factories_archetype + id = sam_missile_equipment + value = 1 + } +} +if_we_can_build_nuclear_missiles_we_want_nuclear_missiles = { + enable = { + is_special_project_completed = sp:sp_nuclear_warheads + } + abort_when_not_enabled = yes + + ai_strategy = { + type = equipment_production_min_factories_archetype + id = nuclear_missile_equipment + value = 1 + } +} diff --git a/src/common/buildings/00_buildings.txt b/src/common/buildings/00_buildings.txt index 59c81fb..969f780 100755 --- a/src/common/buildings/00_buildings.txt +++ b/src/common/buildings/00_buildings.txt @@ -39,6 +39,7 @@ buildings = { show_modifier = yes allied_build = yes + affects_energy = yes infrastructure_construction_effect = yes level_cap = { @@ -471,6 +472,7 @@ buildings = { base_cost = 35000 icon_frame = 27 #nuclear_reactor = yes + affects_energy = yes value = 10 infrastructure_construction_effect = yes @@ -478,7 +480,6 @@ buildings = { modifiers = { nuclear_production_factor = 3 thermonuclear_production_factor = 2 - #consumer_goods_factor = -0.05 } } @@ -585,6 +586,7 @@ buildings = { spawn_point = dam_spawn damage_factor = -1 is_buildable = no + affects_energy = yes need_detection = yes detecting_intel_type = civilian province_damage_modifiers = { flooded } @@ -639,6 +641,7 @@ buildings = { spawn_point = locks_spawn damage_factor = -1 is_buildable = no + affects_energy = yes always_shown = yes state_damage_modifier = { kiel_canal_damaged_modifier } only_display_if_exists = yes @@ -674,6 +677,46 @@ buildings = { } } + + #### Energy + + energy_infrastructure = { + base_cost = 12000 + icon_frame = 30 + value = 1 + + show_modifier = yes + affects_energy = yes + + infrastructure_construction_effect = yes + level_cap = { + state_max = 1 + shares_slots = yes + group_by = infrastructure_keystone + } + state_modifiers = { + local_factory_energy_consumption_per_infrastructure = -0.075 + } + } + + industrial_infrastructure = { + base_cost = 12000 + icon_frame = 31 + value = 1 + + show_modifier = yes + + + infrastructure_construction_effect = yes + level_cap = { + state_max = 1 + shares_slots = yes + group_by = infrastructure_keystone + } + state_modifiers = { + local_resource_gain_efficiency_per_infrastructure = 0.10 + } + } } spawn_points = { diff --git a/src/common/decisions/DOH_decision.txt b/src/common/decisions/DOH_decision.txt index 077a638..ffa6d91 100755 --- a/src/common/decisions/DOH_decision.txt +++ b/src/common/decisions/DOH_decision.txt @@ -133,6 +133,10 @@ DOH_decision_category = { controls_state = 761 controls_state = 527 controls_state = 525 + controls_state = 1028 + controls_state = 1029 + controls_state = 1030 + controls_state = 1031 } } days_remove = 70 @@ -342,13 +346,21 @@ DOH_decision_category = { available = { owns_state = 527 owns_state = 525 + owns_state = 1028 + owns_state = 1029 + owns_state = 1030 + owns_state = 1031 } cost = 25 fire_only_once = yes days_remove = 5 complete_effect = { - add_state_core = 527 - add_state_core = 525 + every_state = { + limit = { + is_core_of = KOR + } + add_core_of = DOH + } hidden_effect = { set_victory_points = { province = 4052 # 平壤 diff --git a/src/common/decisions/_debug_decisions.txt b/src/common/decisions/_debug_decisions.txt deleted file mode 100755 index 6568c07..0000000 --- a/src/common/decisions/_debug_decisions.txt +++ /dev/null @@ -1,260 +0,0 @@ -debug_decisions = { - - create_operative_debug = { - - icon = generic_research - - available = { - always = yes - } - - visible = { - always = yes - } - - fire_only_once = no - cost = 0 - - complete_effect = { - create_operative_leader = { - bypass_recruitment = yes - } - } - - ai_will_do = { - base = 0 - } - } - - create_recruitable_operative_not_to_spy_master_debug = { - icon = generic_research - - available = { - always = yes - } - - visible = { - always = yes - } - - fire_only_once = no - cost = 0 - - complete_effect = { - create_operative_leader = { - bypass_recruitment = no - available_to_spy_master = no - } - } - - ai_will_do = { - base = 0 - } - } - - create_recruitable_operative_debug = { - icon = generic_research - - available = { - always = yes - } - - visible = { - always = yes - } - - fire_only_once = no - cost = 0 - - complete_effect = { - create_operative_leader = { - bypass_recruitment = no - } - } - - ai_will_do = { - base = 0 - } - } - - - FRA_capture_operative_debug = { - available = { - NOT = { TAG = FRA } - num_of_operatives > 0 - } - - visible = { - always = yes - } - - fire_only_once = no - cost = 0 - - complete_effect = { - random_operative = { - limit = { - is_operative_captured = no - } - capture_operative = { - captured_by = FRA - } - } - } - - ai_will_do = { - base = 0 - } - - } - - FRA_turn_operative_debug = { - available = { - NOT = { TAG = FRA } - num_of_operatives > 0 - } - - visible = { - always = yes - } - - fire_only_once = no - cost = 0 - - complete_effect = { - random_operative = { - limit = { - is_operative_captured = no - } - set_nationality = FRA - operative_leader_event = { - id = lar_operative_event.5 - set_from_from = GER #tells the event which nationality to add - } - } - } - - ai_will_do = { - base = 0 - } - - } - - harm_operative_debug = { - available = { - num_of_operatives > 0 - } - - visible = { - always = yes - } - - fire_only_once = no - cost = 0 - - complete_effect = { - random_operative = { - harm_operative_leader = 1 - operative_leader_event = { - id = lar_operative_event.4 - set_from_from = URG - } - } - } - - ai_will_do = { - base = 0 - } - - } - - add_random_nationality = { - available = { - num_of_operatives > 0 - } - - visible = { - always = yes - } - - fire_only_once = no - cost = 0 - - complete_effect = { - random_country = { - limit = { - NOT = { tag = FROM } - } - FROM = { - random_operative = { - add_nationality = PREV.PREV - } - } - } - } - - ai_will_do = { - base = 0 - } - - } - - slot_machine = { # we pegi 18 now - available = { - always = yes - } - - visible = { - always = yes - } - - days_remove = 777 - - modifier = { - operative_slot = 99 - } - } - - decryption_tech_1 = { - days_remove = 100 - modifier = { - decryption = 1 - } - } - - decryption_tech_2 = { - days_remove = 100 - modifier = { - decryption = 1 - } - } - - decryption_tech_3 = { - days_remove = 100 - modifier = { - decryption = 1 - } - } - - encryption_tech_1 = { - days_remove = 100 - modifier = { - encryption = 1 - } - } - - encryption_tech_2 = { - days_remove = 100 - modifier = { - encryption = 1 - } - } - - encryption_tech_3 = { - days_remove = 100 - modifier = { - encryption = 1 - } - } - -} diff --git a/src/common/decisions/_generic_decisions.txt b/src/common/decisions/_generic_decisions.txt deleted file mode 100755 index ede7081..0000000 --- a/src/common/decisions/_generic_decisions.txt +++ /dev/null @@ -1,3640 +0,0 @@ -political_actions = { - - - targeted_race_for_the_bomb = { - - icon = generic_research - - allowed = { - always = yes - } - - available = { - #Target is FROM - has_tech = atomic_research - NOT = { has_global_flag = first_nuke_dropped } - NOT = { has_idea = race_for_the_bomb } - } - - target_root_trigger = { - has_tech = atomic_research - NOT = { has_global_flag = first_nuke_dropped } - NOT = { has_idea = race_for_the_bomb } - } - - #If this trigger matches a country. - target_trigger = { - #Target is FROM - FROM = { - NOT = { is_in_faction_with = ROOT } - has_tech = nuclear_reactor - any_owned_state = { - nuclear_reactor > 0 - } - } - } - - visible = { - #Target is FROM - has_tech = atomic_research - NOT = { has_global_flag = first_nuke_dropped } - NOT = { has_idea = race_for_the_bomb } - FROM = { - NOT = { is_in_faction_with = ROOT } - has_tech = nuclear_reactor - any_owned_state = { - nuclear_reactor > 0 - } - } - } - - complete_effect = { - set_country_flag = racing_for_the_bomb - add_ideas = race_for_the_bomb - } - - ai_will_do = { - factor = 1 - modifier = { - factor = 0 - any_other_country = { has_tech = nukes } - } - } - } - - improved_worker_conditions = { - - icon = generic_industry - priority = 10 - available = { - has_stability < 1.0 - if = { - limit = { - tag = SPR - } - NOT = { - has_idea = SPR_political_violence - } - } - } - - visible = { - always = yes - } - - fire_only_once = no - - modifier = { - stability_weekly = 0.005 - consumer_goods_factor = 0.10 - industrial_capacity_factory = -0.1 - } - - days_remove = 180 - days_re_enable = 540 - - cost = 100 - - complete_effect = { - - } - - ai_will_do = { - base = 0 - modifier = { - add = 1 - has_stability < 0.6 - has_political_power > 155 #Spend on other things first - } - modifier = { - factor = 0 - original_tag = SPR - NOT = { has_global_flag = spanish_civil_war } - } - modifier = { - factor = 0 - tag = ICE - has_completed_focus = ICE_not_our_king - NOT = { has_completed_focus = ICE_break_with_the_crown } - } - - modifier = { - add = 1000 - has_stability < 0.76 - original_tag = SWE - has_idea = SWE_hungershield - } - } - } -} - -economy_decisions = { - - dismantle_maginot = { - - icon = generic_construction - - allowed = { - NOT = { OR = { original_tag = GER original_tag = FRA } } - } - - cost = 50 - fire_only_once = yes - - days_remove = 200 - - available = { - controls_state = 28 - if = { - limit = { - FRA = { has_completed_focus = FRA_extend_the_maginot_line } - } - controls_state = 18 - controls_state = 29 - } - } - - visible = { - FRA = { - any_owned_state = { - is_controlled_by = ROOT - } - } - NOT = { is_in_faction_with = FRA } - } - - modifier = { - civilian_factory_use = 5 - } - - complete_effect = { - 28 = { - set_building_level = { - type = bunker - level = 2 - province = { - all_provinces = yes - level > 2 - } - } - } - if = { - limit = { - FRA = { has_completed_focus = FRA_extend_the_maginot_line } - } - 18 = { - set_building_level = { - type = bunker - level = 2 - province = { - all_provinces = yes - level > 2 - } - } - } - 29 = { - set_building_level = { - type = bunker - level = 2 - province = { - all_provinces = yes - level > 2 - } - } - } - } - if = { - limit = { - has_idea = FRA_protected_by_the_maginot_line - } - remove_ideas = FRA_protected_by_the_maginot_line - } - } - } - - restructure_supply_system = { #one time boost to get a few cheap supply hubs - - icon = GFX_decision_generic_construction - - visible = { - OR = { - is_major = no - AND = { - is_faction_leader = yes - num_of_factories < 51 #would be a minor if it wasn't for faction leader status - } - } - } - fire_only_once = yes - - days_remove = 120 - - ai_will_do = { - factor = 1 - modifier = { - num_of_factories < 30 - factor = 0 - } - } - - modifier = { - production_speed_supply_node_factor = 3 - } - - complete_effect = { - set_variable = { node_goal = num_of_supply_nodes } - add_to_variable = { node_goal = 3 } #maximum 3 additional nodes - } - - cancel_trigger = { - - check_variable = { node_goal < num_of_supply_nodes } #if the number of supply nodes exceeds the old number by +3, immediately cancel - } - } - seize_some_trains_woo = { #repeating train seize - - icon = GFX_decision_hol_draw_up_staff_plans - - visible = { - num_of_factories < 60 - } - - available = { - has_equipment = { train_equipment < 101 } - has_tech = basic_train - } - - days_remove = 180 - - ai_will_do = { - base = 0 - modifier = { - add = 1 - has_stability > 0.74 - NOT = { - original_tag = SWE - has_idea = SWE_hungershield - } - } - } - - complete_effect = { - add_equipment_to_stockpile = { - type = train_equipment - amount = 15 - } - add_stability = -0.05 - } - } -} - -propaganda_efforts = { - war_propaganda = { - - icon = generic_prepare_civil_war - - available = { - NOT = { has_country_flag = war_propaganda_campaign_running } - has_war_support < 0.5 - - if = { - limit = { - tag = SPR - has_dlc = "La Resistance" - } - NOT = { - has_idea = SPR_political_violence - } - } - if = { - limit = { - original_tag = SPR - has_dlc = "La Resistance" - } - has_global_flag = scw_over - } - } - - visible = { - OR = { - has_war_with_non_exiled_country = yes - any_neighbor_country = { - AND = { - NOT = { has_government = ROOT } - has_offensive_war = yes - has_added_tension_amount > 10 - } - } - } - } - - fire_only_once = no - - days_remove = 90 - days_re_enable = 180 - - cost = 150 - - modifier = { - war_support_weekly = 0.005 - } - - complete_effect = { - set_country_flag = war_propaganda_campaign_running - } - remove_effect = { - clr_country_flag = war_propaganda_campaign_running - } - - ai_will_do = { - base = 0 - modifier = { - add = 1 - has_war_support < 0.4 - has_war = yes - } - } - } - - war_propaganda_casualties = { - - icon = generic_prepare_civil_war - - available = { - #NOT = { has_country_flag = war_propaganda_campaign_running } - has_casualties_war_support < 0 - } - - visible = { - # has_war = yes - has_war_with_non_exiled_country = yes - } - - fire_only_once = no - - days_remove = 180 - - remove_trigger = { - has_war = no - } - - cost = 100 - - modifier = { - weekly_casualties_war_support = 0.006 - } - - #complete_effect = { - # set_country_flag = war_propaganda_campaign_running - #} - #remove_effect = { - # clr_country_flag = war_propaganda_campaign_running - #} - - ai_will_do = { - base = 0 - modifier = { - add = 10 #AI should probably just choose this one for general purposes. - has_war = yes - has_war_support < 0.7 - } - modifier = { - add = 20 - has_war = yes - has_war_support < 0.5 - } - modifier = { - add = 30 - has_war = yes - has_war_support < 0.3 - } - modifier = { - add = 201 #ie; consider prio idea - has_war = yes - has_casualties_war_support < -0.25 - } - modifier = { - factor = 0 - has_manpower < 100000 - has_political_power < 250 - OR = { - has_idea = volunteer_only - has_idea = limited_conscription - has_idea = extensive_conscription - } - } - } - } - - war_propaganda_convoys = { - - icon = GFX_decision_generic_naval - - available = { - #NOT = { has_country_flag = war_propaganda_campaign_running } - has_convoys_war_support < 0 - } - - visible = { - # has_war = yes - has_war_with_non_exiled_country = yes - } - - fire_only_once = no - - days_remove = 180 - - remove_trigger = { - has_war = no - } - - cost = 100 - - modifier = { - weekly_convoys_war_support = 0.006 - } - - #complete_effect = { - # set_country_flag = war_propaganda_campaign_running - #} - #remove_effect = { - # clr_country_flag = war_propaganda_campaign_running - #} - - ai_will_do = { - base = 0 - modifier = { - add = 201 #ie; consider prio idea - has_war = yes - has_convoys_war_support < -0.29 - } - modifier = { - factor = 0 - has_manpower < 100000 - has_political_power < 250 - OR = { - has_idea = volunteer_only - has_idea = limited_conscription - has_idea = extensive_conscription - } - } - } - } - - war_propaganda_bombing = { - - icon = GFX_decision_generic_air - - available = { - # NOT = { has_country_flag = war_propaganda_campaign_running } - has_bombing_war_support < 0 - } - - visible = { - # has_war = yes - has_war_with_non_exiled_country = yes - } - - fire_only_once = no - - days_remove = 180 - - remove_trigger = { - has_war = no - } - - cost = 100 - - modifier = { - weekly_bombing_war_support = 0.006 - } - - #complete_effect = { - # set_country_flag = war_propaganda_campaign_running - #} - #remove_effect = { - # clr_country_flag = war_propaganda_campaign_running - #} - - ai_will_do = { - base = 0 - modifier = { - add = 10 #AI should probably just choose this one for general purposes. - has_war = yes - has_war_support < 0.65 - } - modifier = { - add = 20 - has_war = yes - has_war_support < 0.50 - } - modifier = { - add = 30 - has_war = yes - has_war_support < 0.35 - } - modifier = { - add = 201 #ie; consider prio idea - has_war = yes - has_bombing_war_support < -0.20 - } - modifier = { - factor = 0 - has_manpower < 100000 - has_political_power < 250 - OR = { - has_idea = volunteer_only - has_idea = limited_conscription - has_idea = extensive_conscription - } - } - } - } - - war_propaganda_radio_industry = { - - icon = generic_prepare_civil_war - - available = { - IF = { - limit = { - tag = BRA - } - threat > 0.25 - #has_tech = radio - has_completed_focus = BRA_radio_nacional - } - ELSE = { - threat > 0.25 - has_tech = radio - } - } - - visible = { - if = { - limit = { - tag = SPR - has_dlc = "La Resistance" - } - NOT = { - has_idea = SPR_political_violence - } - } - if = { - limit = { - original_tag = SPR - has_dlc = "La Resistance" - } - has_global_flag = scw_over - } - } - - fire_only_once = yes - - cost = 75 - - complete_effect = { - add_war_support = 0.05 - } - - ai_will_do = { - base = 0 - modifier = { - add = 201 - has_war_support < 0.6 - } - } - } - - war_propaganda_film_industry = { - - icon = generic_prepare_civil_war - - available = { - has_war_with_non_exiled_country = yes - OR = { - is_major = yes - any_allied_country = { - is_major = yes - } - } - if = { - limit = { - NOT = { has_government = fascism } - } - threat > 0.5 - } - else = { - threat > 0.30 - } - } - - visible = { - if = { - limit = { - tag = SPR - has_dlc = "La Resistance" - } - NOT = { - has_idea = SPR_political_violence - } - } - if = { - limit = { - original_tag = SPR - has_dlc = "La Resistance" - } - has_global_flag = scw_over - } - } - - fire_only_once = yes - - cost = 100 - - complete_effect = { - effect_tooltip = { - add_war_support = 0.10 - } - hidden_effect = { - country_event = political.33 - } - } - - ai_will_do = { - base = 0 - modifier = { - add = 201 - has_war_support < 0.6 - } - } - } - -} - -operations = { - #MTG_TEST_NAVAL_MIXED_VS_MIXED_EARLY = { #MTG_TODO_GABRIEL: remove before launch (no seriously do not ship with this (hehe get it don't SHIP with it)) -# - # icon = generic - # name = "TEST: Mix vs Mix" - # - # allowed = { - # tag = CUB - # } -# - # available = { - # - # } - # - # cost = 0 - # - # ai_will_do = { - # factor = 0 - # } - # days_remove = -1 - # - # complete_effect = { - # set_technology = { - # early_battleship = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_MIXED_VS_MIXED_EARLY_BLUE" - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # add_fuel = 10000000 - # DOM = { - # set_technology = { - # early_battleship = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_MIXED_VS_MIXED_EARLY_RED" - # add_fuel = 10000000 - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # set_stability = 1 - # set_war_support = 1 - # } - # declare_war_on = { target = DOM type = annex_everything } - # set_stability = 1 - # set_war_support = 1 - # } - #} - #MTG_TEST_NAVAL_MIXED_VS_CV_MIXED_EARLY = { #MTG_TODO_GABRIEL: remove before launch (no seriously do not ship with this (hehe get it don't SHIP with it)) -# - # icon = generic - # name = "TEST: Mix vs Mix (with CVs)" - # - # allowed = { - # tag = CUB - # } -# - # available = { - # - # } - # - # cost = 0 - # - # ai_will_do = { - # factor = 0 - # } - # days_remove = -1 - # - # complete_effect = { - # set_technology = { - # early_battleship = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_MIXED_VS_MIXED_EARLY_BLUE" - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # add_fuel = 10000000 - # DOM = { - # set_technology = { - # early_battleship = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_CV_MIXED_VS_CV_MIXED_EARLY_RED" - # add_fuel = 10000000 - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # set_stability = 1 - # set_war_support = 1 - # } - # declare_war_on = { target = DOM type = annex_everything } - # set_stability = 1 - # set_war_support = 1 - # } - #} - #MTG_TEST_NAVAL_MIXED_VS_MIXED_SUBS_EARLY = { #MTG_TODO_GABRIEL: remove before launch (no seriously do not ship with this (hehe get it don't SHIP with it)) -# - # icon = generic - # name = "TEST: Mix vs Mix (with subs)" -# - # allowed = { - # tag = CUB - # } -# - # available = { - # - # } - # - # cost = 0 - # - # ai_will_do = { - # factor = 0 - # } - # days_remove = -1 - # modifier = { - # navy_fuel_consumption_factor = -1 - # } - # complete_effect = { - # set_technology = { - # early_battleship = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_MIXED_VS_MIXED_SUBS_EARLY_BLUE" - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # add_fuel = 10000000 - # DOM = { - # set_technology = { - # early_battleship = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_MIXED_VS_MIXED_SUBS_EARLY_RED" - # add_fuel = 10000000 - # set_stability = 1 - # set_war_support = 1 - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # } - # declare_war_on = { target = DOM type = annex_everything } - # set_stability = 1 - # set_war_support = 1 - # } - #} - #MTG_TEST_NAVAL_SCREENS_VS_MIXED_EARLY = { #MTG_TODO_GABRIEL: remove before launch (no seriously do not ship with this (hehe get it don't SHIP with it)) -# - # icon = generic - # name = "TEST: Screens vs Mix" -# - # allowed = { - # tag = CUB - # } -# - # available = { - # - # } - # - # cost = 0 - # - # ai_will_do = { - # factor = 0 - # } - # days_remove = -1 - # - # complete_effect = { - # set_technology = { - # early_battleship = 1 - # early_battlecruiser = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_SCREENS_EARLY_BLUE" - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # add_fuel = 10000000 - # DOM = { - # set_technology = { - # early_battleship = 1 - # early_battlecruiser = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_MIXED_VS_MIXED_EARLY_RED" - # add_fuel = 10000000 - # set_stability = 1 - # set_war_support = 1 - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # } - # declare_war_on = { target = DOM type = annex_everything } - # set_stability = 1 - # set_war_support = 1 - # } - #} - #MTG_TEST_NAVAL_SCREENS_VS_CV_MIXED_EARLY = { #MTG_TODO_GABRIEL: remove before launch (no seriously do not ship with this (hehe get it don't SHIP with it)) -# - # icon = generic - # name = "TEST: Screens vs Mix (with CV)" -# - # allowed = { - # tag = CUB - # } -# - # available = { - # - # } - # - # cost = 0 - # - # ai_will_do = { - # factor = 0 - # } - # days_remove = -1 - # - # complete_effect = { - # set_technology = { - # early_battleship = 1 - # early_battlecruiser = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_SCREENS_EARLY_BLUE" - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # add_fuel = 10000000 - # DOM = { - # set_technology = { - # early_battleship = 1 - # early_battlecruiser = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_CV_MIXED_VS_CV_MIXED_EARLY_RED" - # add_fuel = 10000000 - # set_stability = 1 - # set_war_support = 1 - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # } - # declare_war_on = { target = DOM type = annex_everything } - # set_stability = 1 - # set_war_support = 1 - # } - #} - #MTG_TEST_NAVAL_SCREENS_VS_CAPITALS_EARLY = { #MTG_TODO_GABRIEL: remove before launch (no seriously do not ship with this (hehe get it don't SHIP with it)) -# - # icon = generic - # name = "TEST: Screens vs Capitals" -# - # allowed = { - # tag = CUB - # } -# - # available = { - # - # } - # - # cost = 0 - # - # ai_will_do = { - # factor = 0 - # } - # days_remove = -1 - # complete_effect = { - # set_technology = { - # early_battleship = 1 - # early_battlecruiser = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_SCREENS_EARLY_BLUE" - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # add_fuel = 10000000 - # DOM = { - # set_technology = { - # early_battleship = 1 - # early_battlecruiser = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_CAPITAL_EARLY_RED" - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # add_fuel = 10000000 - # set_stability = 1 - # set_war_support = 1 - # } - # declare_war_on = { target = DOM type = annex_everything } - # set_stability = 1 - # set_war_support = 1 - # } - #} - #MTG_TEST_NAVAL_CAPITALS_VS_MIXED_EARLY = { #MTG_TODO_GABRIEL: remove before launch (no seriously do not ship with this (hehe get it don't SHIP with it)) -# - # icon = generic - # name = "TEST: Capitals vs Mix" - # - # allowed = { - # tag = CUB - # } -# - # available = { - # - # } - # - # cost = 0 - # - # ai_will_do = { - # factor = 0 - # } - # days_remove = -1 - # complete_effect = { - # set_technology = { - # early_battleship = 1 - # early_battlecruiser = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_CAPITAL_EARLY_BLUE" - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # add_fuel = 10000000 - # DOM = { - # set_technology = { - # early_battleship = 1 - # early_battlecruiser = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_MIXED_VS_MIXED_EARLY_RED" - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # add_fuel = 10000000 - # set_stability = 1 - # set_war_support = 1 - # } - # declare_war_on = { target = DOM type = annex_everything } - # set_stability = 1 - # set_war_support = 1 - # } - #} - #MTG_TEST_NAVAL_CAPITALS_VS_CV_MIXED_EARLY = { #MTG_TODO_GABRIEL: remove before launch (no seriously do not ship with this (hehe get it don't SHIP with it)) -# - # icon = generic -# - # name = "TEST: Capitals vs Mix (with CV)" - # - # allowed = { - # tag = CUB - # } -# - # available = { - # - # } - # - # cost = 0 - # - # ai_will_do = { - # factor = 0 - # } - # days_remove = -1 - # complete_effect = { - # set_technology = { - # early_battleship = 1 - # early_battlecruiser = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_CAPITAL_EARLY_BLUE" - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # add_fuel = 10000000 - # DOM = { - # set_technology = { - # early_battleship = 1 - # early_battlecruiser = 1 - # early_heavy_cruiser = 1 - # early_light_cruiser = 1 - # early_destroyer = 1 - # early_carrier = 1 - # early_submarine = 1 - # cv_fighter1 = 1 - # cv_CAS1 = 1 - # cv_naval_bomber1 = 1 - # } - # load_oob = "MTG_NAVAL_TEST_OOB_CV_MIXED_VS_CV_MIXED_EARLY_RED" - # add_ideas = { - # MTG_TEST_NAVAL_IDEA - # } - # add_fuel = 10000000 - # set_stability = 1 - # set_war_support = 1 - # } - # declare_war_on = { target = DOM type = annex_everything } - # set_stability = 1 - # set_war_support = 1 - # } - #} - - blow_suez_canal = { - - icon = GFX_decision_generic_ignite_civil_war - allowed = { - has_dlc = "Waking the Tiger" - } - available = { - controls_state = 446 - controls_state = 453 - OR = { - NOT = { - owns_state = 446 - owns_state = 453 - } - any_enemy_country = { - OR = { - controls_state = 452 - controls_state = 447 - controls_state = 456 - controls_state = 457 - controls_state = 454 - controls_state = 455 - } - } - } - } - - visible = { - has_war = yes - NOT = { has_global_flag = SUEZ_CANAL_BLOCKED } - any_controlled_state = { - OR = { - region = 28 - region = 128 - } - } - } - - fire_only_once = no - - days_remove = 30 - - cost = 75 - - modifier = { - civilian_factory_use = 5 - } - - complete_effect = { - hidden_effect = { - if = { - limit = { - NOT = { - owns_state = 446 - owns_state = 453 - } - } - random_country = { - limit = { - owns_state = 446 - owns_state = 453 - } - country_event = { id = generic.12 days = 1 } - } - } - } - } - - remove_effect = { - if = { - limit = { - OR = { - has_full_control_of_state = 446 - has_full_control_of_state = 453 - } - } - set_country_flag = blew_up_suez - set_global_flag = SUEZ_CANAL_BLOCKED - news_event = { id = wtt_news.40 hours = 6} - } - effect_tooltip = { - if = { - limit = { - ENG = { - owns_state = 446 - owns_state = 453 - } - } - add_war_support = -0.05 - add_stability = -0.05 - } - } - } - ai_will_do = { - base = 0 - modifier = { - add = 200 # Try to cut the enemy off from the mediterranean if you also occupy Gibraltar - OR = { - has_full_control_of_state = 118 - any_allied_country = { - has_full_control_of_state = 118 - } - } - has_war = yes - NOT = { tag = ENG } - } - modifier = { - add = 51 # Somewhat important if the baddies are coming - 446 = { - OWNER = { - OR = { - tag = ROOT - is_in_faction_with = ROOT - } - } - } - OR = { - 454 = { - NOT = { controller = { tag = ROOT } } - controller = { has_war_with = ROOT } - } - 907 = { - NOT = { controller = { tag = ROOT } } - controller = { has_war_with = ROOT } - } - 447 = { - NOT = { controller = { tag = ROOT } } - controller = { has_war_with = ROOT } - } - } - has_war = yes - is_in_faction_with = ENG - } - } - } - - blow_panama_canal = { - - icon = GFX_decision_generic_ignite_civil_war - allowed = { - has_dlc = "Waking the Tiger" - - } - available = { - has_full_control_of_state = 685 - } - - visible = { - has_war = yes - NOT = { has_global_flag = PANAMA_CANAL_BLOCKED } - any_controlled_state = { - OR = { - region = 34 - region = 124 - } - } - } - - fire_only_once = no - - days_remove = 30 - - cost = 75 - - modifier = { - civilian_factory_use = 5 - } - - complete_effect = { - hidden_effect = { - if = { - limit = { - NOT = { - owns_state = 685 - } - } - random_country = { - limit = { - owns_state = 685 - } - country_event = { id = generic.13 days = 1 } - } - } - } - } - - remove_effect = { - if = { - limit = { - OR = { - has_full_control_of_state = 685 - has_full_control_of_state = 304 - } - } - set_country_flag = blew_up_panama - set_global_flag = PANAMA_CANAL_BLOCKED - news_event = { id = wtt_news.41 hours = 6} - } - effect_tooltip = { - if = { - limit = { - USA = { owns_state = 685 } - } - add_war_support = -0.05 - add_stability = -0.05 - } - } - } - ai_will_do = { - factor = 1 - modifier = { - factor = 0 # Don't blow up the canal as USA. Ever. - tag = USA - } - modifier = { - factor = 0 # Don't blow up the canal if enemies have weak navies but you are a strong naval power - has_navy_size = { - size > 50 - } - NOT = { - any_enemy_country = { - has_navy_size = { - size > 50 - } - } - } - } - modifier = { - factor = 200 # Always blow up the canal as JAP or GER when at war with USA (priority) - OR = { - is_in_faction_with = JAP - is_in_faction_with = GER - } - has_war_with = USA - } - } - } -} - -special_projects = { - - rebuild_suez_canal = { - - icon = GFX_decision_generic_special_project - - available = { - has_full_control_of_state = 446 - has_full_control_of_state = 453 - num_of_civilian_factories > 15 - } - - visible = { - has_global_flag = SUEZ_CANAL_BLOCKED - } - - fire_only_once = no - - days_remove = 365 - - cost = 120 - - modifier = { - civilian_factory_use = 15 - } - - remove_effect = { - if = { - limit = { - has_full_control_of_state = 446 - has_full_control_of_state = 453 - } - set_country_flag = rebuilt_suez - clr_global_flag = SUEZ_CANAL_BLOCKED - news_event = { id = wtt_news.42 hours = 6} - } - } - - ai_will_do = { - factor = 1 - modifier = { - factor = 0 # Don't bother if your navy is weak AND not ENG - has_navy_size = { size < 100 } - NOT = { tag = ENG } - } - modifier = { - factor = 200 # Prioritize if Italy is being invaded and you can't get to the battlefront (no control of Gibraltar strait) - NOT = { - OR = { - has_full_control_of_state = 118 - any_allied_country = { - has_full_control_of_state = 118 - } - } - } - has_war_with = ITA - ITA = { surrender_progress > 0.1 } - has_full_control_of_state = 447 - has_full_control_of_state = 454 - has_full_control_of_state = 452 - has_full_control_of_state = 456 - has_full_control_of_state = 457 - NOT = { has_country_flag = blew_up_suez } - } - modifier = { - factor = 200 # Prioritize if UK - tag = ENG - } - modifier = { - factor = 10 # Prioritize if not at war - has_war = no - } - } - } - - rebuild_panama_canal = { - - icon = GFX_decision_generic_special_project - - available = { - has_full_control_of_state = 685 - NOT = { - any_enemy_country = { - controls_state = 304 - } - } - num_of_civilian_factories > 25 - } - - visible = { - has_global_flag = PANAMA_CANAL_BLOCKED - } - - fire_only_once = no - - days_remove = 180 - - cost = 400 - - modifier = { - civilian_factory_use = 25 - } - - remove_effect = { - if = { - limit = { - has_full_control_of_state = 685 - NOT = { - any_enemy_country = { - controls_state = 304 - } - } - } - set_country_flag = rebuilt_panama - clr_global_flag = PANAMA_CANAL_BLOCKED - news_event = { id = wtt_news.43 hours = 6 } - } - } - ai_will_do = { - factor = 1 - modifier = { - factor = 0 # Don't bother if your navy is weak AND not USA - has_navy_size = { size < 50 } - NOT = { tag = USA } - has_war = yes - } - modifier = { - factor = 200 # Prioritize if you decisively beat USA's navy - has_war_with = USA - USA = { has_navy_size = { size < 50 } } - has_navy_size = { size > 100 } - } - modifier = { - factor = 200 # Prioritize if USA - tag = USA - } - modifier = { - factor = 10 # Prioritize if not at war - has_war = no - } - } - } -} - -war_measures = { - - emergency_factory_conversion_defensive = { - - icon = generic_industry - - available = { - num_of_civilian_factories > 5 #Change this if amount of factories change - } - - visible = { - has_defensive_war = yes - has_offensive_war = no - num_of_controlled_states > 0 - } - - fire_only_once = no - - days_re_enable = 90 - - cost = 100 - - complete_effect = { - replace_civ_with_arms_factories = yes - add_war_support = -0.05 - } - ai_will_do = { - factor = 0 - } - } - - emergency_factory_conversion_offensive = { - - icon = generic_industry - - available = { - num_of_civilian_factories > 5 #Change this if amount of factories change - } - - visible = { - has_offensive_war = yes - } - - fire_only_once = no - - days_re_enable = 90 - - cost = 100 - - complete_effect = { - replace_civ_with_arms_factories = yes - add_war_support = -0.05 - add_stability = -0.03 - } - ai_will_do = { - factor = 0 - } - } - - desperate_defense = { - - icon = generic_prepare_civil_war - - available = { - surrender_progress > 0.5 - } - - visible = { - surrender_progress > 0 - } - - fire_only_once = no - - days_remove = 45 - days_re_enable = 360 - - cost = 50 - ai_will_do = { - factor = 1 - modifier = { - surrender_progress > 0.6 - factor = 10 - } - } - - modifier = { - defence = 0.2 - dig_in_speed_factor = 0.5 - } - - complete_effect = { - - } - } - - women_in_the_workforce = { - - icon = generic_industry - - allowed = { - always = yes - } - - available = { - has_war = yes - has_idea = tot_economic_mobilisation - OR = { - AND = { - has_government = democratic - has_war_support > 0.79 - } - AND = { - has_government = communism - has_war_support > 0.79 - } - AND = { - has_government = fascism - OR = { - has_war_support > 0.89 - surrender_progress > 0 - } - } - AND = { - has_government = neutrality - has_war_support > 0.84 - has_stability > 0.7 - } - } - } - visible = { - has_war = yes - } - cost = 100 - days_remove = -1 - remove_trigger = { - OR = { - has_war = no - NOT = { has_idea = tot_economic_mobilisation } - } - } - modifier = { - conscription = 0.03 - stability_factor = -0.05 - } - ai_will_do = { - factor = 1 - - modifier = { - factor = 3 - has_manpower < 100000 - } - } - complete_effect = { - if = { - limit = { - tag = CAN - } - country_event = { id = canada_vanilla.1 hours = 6 } # Ronnie the Bren Gun Girl - } - } - } - - war_bonds = { - - icon = generic_industry - - allowed = { - always = yes - } - - available = { - has_war = yes - OR = { - AND = { - has_government = democratic - has_war_support > 0.79 - } - AND = { - has_government = communism - has_war_support > 0.79 - } - AND = { - has_government = fascism - OR = { - has_war_support > 0.89 - surrender_progress > 0 - } - } - AND = { - has_government = neutrality - has_war_support > 0.84 - has_stability > 0.7 - } - } - } - visible = { - has_war = yes - NOT = { tag = SPC } - } - - fire_only_once = no - - days_remove = 180 - - cost = GER_war_bonds_var?50 - - modifier = { - consumer_goods_factor = -0.20 - } - - ai_will_do = { - factor = 1 - modifier = { - has_political_power < 100 - factor = 0 #use as pp dump - } - - modifier = { - factor = 0 - original_tag = SOV - SOV_save_pp_for_manpower_trouble = yes - } - } - - remove_effect = { - - } - - complete_effect = { - if = { - limit = { - check_variable = { - var = GER_war_bonds_var - value = 50 - compare = less_than - } - } - set_variable = { - var = GER_war_bonds_var - value = 50 - } - } - add_to_variable = { - var = GER_war_bonds_var - value = 25 - } - if = { - limit = { - check_variable = { - var = GER_war_bonds_var - value = 100 - compare = greater_than_or_equals - } - check_variable = { - var = GER_war_bonds_war_support_var - value = -0.025 - compare = greater_than - } - } - set_variable = { - var = GER_war_bonds_war_support_var - value = -0.025 - } - } - if = { - limit = { - check_variable = { - var = GER_war_bonds_war_support_var - value = -0.025 - compare = less_than_or_equals - } - } - add_to_variable = { - var = GER_war_bonds_war_support_var - value = -0.025 - } - add_war_support = GER_war_bonds_war_support_var - } - } - } - - diversify_special_forces = { - - icon = GFX_decision_generic_military - - available = { - date > 1940.1.1 - } - - visible = { - has_dlc = "Arms Against Tyranny" - NOT = { - OR = { - tag = HUJ #has a focus - tag = BYG #has a focus - tag = BFL #has a focus - tag = CHY #has a focus - } - } - } - - fire_only_once = yes - - cost = 50 - - complete_effect = { - add_potential_special_forces_tree = yes - } - ai_will_do = { - factor = 201 - modifier = { - factor = 0 - is_major = no - } - } - } - -} - -foreign_politics = { - object_to_attaches = { - - allowed = { - has_dlc = "Waking the Tiger" - } - - cost = 50 - fire_only_once = no - - days_re_enable = 30 - - available = { - } - - visible = { - FROM = { - NOT = { has_country_flag = rejected_withdrawing_attache } - NOT = { has_country_flag = rejected_withdrawing_attache@ROOT } - NOT = { has_country_flag = object_attache_going_on } - } - has_war = yes - has_capitulated = no - NOT = { has_war_with = FROM } - any_enemy_country = { - has_attache_from = FROM - } - NOT = { - AND = { - original_tag = SPR - has_completed_focus = SPR_regional_defense_council_of_aragon - } - } - } - - target_root_trigger = { - has_war = yes - has_capitulated = no - } - - target_trigger = { - NOT = { has_war_with = FROM } - #FROM = { has_sent_attache = yes } # Make such trigger to optimize if it becomes a performance problem again. - any_enemy_country = { - has_attache_from = FROM - } - } - - complete_effect = { - FROM = { country_event = { id = generic.14 hours = 6 } } - hidden_effect = { - FROM = { set_country_flag = object_attache_going_on } - } - } - ai_will_do = { - factor = 1 - } - } -} - -economy_decisions = { - infrastructure_building_slot = { - - icon = generic_construction - - allowed = { - always = yes - } - - cost = 100 - fire_only_once = no - - days_re_enable = 30 - - available = { - any_owned_state = { - NOT = { has_state_flag = infrastructure_building_slot_flag } - is_fully_controlled_by = ROOT - free_building_slots = { - building = infrastructure - size < 1 - } - } - } - - visible = { - any_owned_state = { - NOT = { has_state_flag = infrastructure_building_slot_flag } - is_fully_controlled_by = ROOT - free_building_slots = { - building = infrastructure - size < 1 - } - } - } - - complete_effect = { - random_owned_state = { - limit = { - is_fully_controlled_by = ROOT - free_building_slots = { - building = industrial_complex - size > 1 - include_locked = yes - } - free_building_slots = { - building = infrastructure - size < 1 - } - NOT = { has_state_flag = infrastructure_building_slot_flag } - } - add_extra_state_shared_building_slots = 1 - set_state_flag = infrastructure_building_slot_flag - } - } - ai_will_do = { - factor = 1 - modifier = { - factor = 10 - any_owned_state = { free_building_slots = { building = industrial_complex size < 1 include_locked = no } } - } - } - } - - war_building_slot = { - - icon = generic_construction - - allowed = { - always = yes - } - - cost = 50 - fire_only_once = no - - available = { - IF = { - limit = { - OR = { - has_dlc = "Man the Guns" - has_dlc = "By Blood Alone" - } - } - has_war_with_non_exiled_country = yes - } - ELSE = { - has_war = yes - } - any_owned_state = { - NOT = { has_state_flag = war_building_slot_flag } - is_fully_controlled_by = ROOT - } - } - - visible = { - has_war = yes - any_owned_state = { - NOT = { has_state_flag = war_building_slot_flag } - is_fully_controlled_by = ROOT - } - } - - complete_effect = { - add_war_support = -0.025 - add_stability = -0.025 - if = { - limit = { - any_owned_state = { - is_fully_controlled_by = ROOT - free_building_slots = { - building = industrial_complex - size > 1 - include_locked = yes - } - NOT = { has_state_flag = war_building_slot_flag } - infrastructure > 4 - } - } - random_owned_state = { - limit = { - is_fully_controlled_by = ROOT - free_building_slots = { - building = industrial_complex - size > 1 - include_locked = yes - } - NOT = { has_state_flag = war_building_slot_flag } - infrastructure > 4 - } - add_extra_state_shared_building_slots = 1 - set_state_flag = war_building_slot_flag - } - } - else_if = { - limit = { - any_owned_state = { - is_fully_controlled_by = ROOT - free_building_slots = { - building = industrial_complex - size > 1 - include_locked = yes - } - NOT = { has_state_flag = war_building_slot_flag } - infrastructure > 2 - } - } - random_owned_state = { - limit = { - is_fully_controlled_by = ROOT - free_building_slots = { - building = industrial_complex - size > 1 - include_locked = yes - } - NOT = { has_state_flag = war_building_slot_flag } - infrastructure > 2 - } - add_extra_state_shared_building_slots = 1 - set_state_flag = war_building_slot_flag - } - } - else = { - random_owned_state = { - limit = { - is_fully_controlled_by = ROOT - free_building_slots = { - building = industrial_complex - size > 1 - include_locked = yes - } - NOT = { has_state_flag = war_building_slot_flag } - infrastructure > 4 - } - add_extra_state_shared_building_slots = 1 - set_state_flag = war_building_slot_flag - } - } - } - ai_will_do = { - factor = 1 - modifier = { - factor = 10 - all_owned_state = { free_building_slots = { building = industrial_complex size < 1 include_locked = no } } - } - modifier = { - any_owned_state = { - infrastructure > 3 - free_building_slots = { building = industrial_complex size > 0 include_locked = no } - } - factor = 0 - } - } - } -} - -foreign_support = { - -### # # ### # # ## ### ## ## ### -# # # # # # ## ## # # # # # # # # # # -### # # ### # # # #### ### # # #### # # -# # # # # # # # # # # # # # # # # # -### ## # # # # # # # # ## # # ### - - ## # ## ## ### - # # # # # # # - # # # # # ## - # # # # # # # - ## ### ## ## ### - - CHI_close_burma_road = { - - allowed = { - #Everyone - } - - available = { - OR = { - AND = { - 288 = { #Burma - has_state_flag = CHI_needed_for_burma_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 325 = { #Yunnan - has_state_flag = CHI_needed_for_burma_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 640 = { #Mandalay - has_state_flag = CHI_needed_for_burma_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - } - } - - visible = { - is_subject = no - OR = { - AND = { - 288 = { #Burma - has_state_flag = CHI_needed_for_burma_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 325 = { #Yunnan - has_state_flag = CHI_needed_for_burma_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 640 = { #Mandalay - has_state_flag = CHI_needed_for_burma_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - } - any_other_country = { - check_variable = { CHI_burma_road_current_level > 0 } - NOT = { is_in_faction_with = ROOT } - } - } - - fire_only_once = no - - cost = 0 - - # modifier = { - - # } - - ai_will_do = { - factor = 1 - modifier = { - factor = 0 - any_country = { - check_variable = { CHI_burma_road_current_level > 0 } - OR = { - is_subject = no - is_subject_of = ROOT - is_in_faction_with = ROOT - } - NOT = { has_war_with = ROOT } - } - } - modifier = { - factor = 200 - any_country = { - check_variable = { CHI_burma_road_current_level > 0 } - OR = { - has_war_with = ROOT - AND = { - is_subject = yes - NOT = { is_subject_of = ROOT } - NOT = { is_in_faction_with = ROOT } - } - } - } - } - } - - complete_effect = { - hidden_effect = { - every_state = { - limit = { - has_state_flag = CHI_needed_for_burma_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - set_state_flag = CHI_burma_road_closed_state - } - } - random_country = { - #Country that had the route - limit = { check_variable = { CHI_burma_road_current_level > 0 } } - hidden_effect = { - set_variable = { tempvar = 0 } - subtract_from_variable = { var = tempvar value = CHI_burma_road_current_level } - - add_offsite_building = { type = arms_factory level = tempvar } - #In case we need to reopen - set_variable = { CHI_burma_road_closed_level = CHI_burma_road_current_level } - set_variable = { CHI_burma_road_current_level = 0 } - clear_variable = tempvar - } - country_event = { id = wtt_burma_road.2 } - custom_effect_tooltip = close_burma_road_explanation # Prints the contents of the CHI_burma_road_current_level variable - } - } - } - - ### ### ## ### ### # # - # # # # # # # # ## # - ### ## # # ### ## # ## - # # # # # # # # # - # # ### ## # ### # # - CHI_reopen_burma_road = { - - allowed = { - #Everyone - } - - available = { - OR = { - AND = { - 288 = { #Burma - has_state_flag = CHI_burma_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - is_subject_of = ROOT - } - } - } - } - AND = { - 325 = { #Yunnan - has_state_flag = CHI_burma_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - is_subject_of = ROOT - } - } - } - } - AND = { - 640 = { #Mandalay - has_state_flag = CHI_burma_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - is_subject_of = ROOT - } - } - } - } - } - } - - visible = { - is_subject = no - OR = { - AND = { - 288 = { #Burma - has_state_flag = CHI_burma_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - OR = { - is_subject_of = ROOT - check_variable = { CHI_burma_road_closed_level > 0 } - } - } - } - } - } - AND = { - 325 = { #Yunnan - has_state_flag = CHI_burma_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - OR = { - is_subject_of = ROOT - check_variable = { CHI_burma_road_closed_level > 0 } - } - } - } - } - } - AND = { - 640 = { #Mandalay - has_state_flag = CHI_burma_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - OR = { - is_subject_of = ROOT - check_variable = { CHI_burma_road_closed_level > 0 } - } - } - } - } - } - } - any_country = { - check_variable = { CHI_burma_road_closed_level > 0 } - NOT = { has_war_with = ROOT } - } - } - - fire_only_once = no - - cost = 0 - - #modifier = { - - #} - - ai_will_do = { - factor = 1 - modifier = { - factor = 200 - any_country = { - check_variable = { CHI_burma_road_closed_level > 0 } - OR = { - is_subject = no - is_subject_of = ROOT - is_in_faction_with = ROOT - } - NOT = { has_war_with = ROOT } - } - } - modifier = { - factor = 0 - any_country = { - check_variable = { CHI_burma_road_closed_level > 0 } - OR = { - has_war_with = ROOT - AND = { - is_subject = yes - NOT = { is_subject_of = ROOT } - NOT = { is_in_faction_with = ROOT } - } - } - } - } - } - - complete_effect = { - every_state = { - limit = { - has_state_flag = CHI_burma_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - OR = { - is_subject_of = ROOT - check_variable = { CHI_burma_road_closed_level > 0 } - } - } - } - } - custom_effect_tooltip = CHI_burma_road_reopen_state - clr_state_flag = CHI_burma_road_closed_state - } - - random_country = { - limit = { check_variable = { CHI_burma_road_closed_level > 0 } } - if = { - limit = { - any_state = { - has_state_flag = CHI_burma_road_closed_state - NOT = { is_controlled_by = ROOT } - CONTROLLER = { - NOT = { is_subject_of = ROOT } - NOT = { check_variable = { CHI_burma_road_closed_level > 0 } } - } - } - } - country_event = { id = wtt_burma_road.3 } #We opened our part of the road - } - else = { - #Road is fully reopened - if = { - limit = { NOT = { tag = ROOT } } - country_event = { id = wtt_burma_road.4 } - } - hidden_effect = { - add_offsite_building = { type = arms_factory level = CHI_burma_road_closed_level } - set_variable = { CHI_burma_road_current_level = CHI_burma_road_closed_level } - clear_variable = CHI_burma_road_closed_level - } - custom_effect_tooltip = reopen_burma_road_explanation # Prints the contents of the CHI_burma_road_closed_level variable - } - } - } - } - -# ### ### ## ### ## ## ### -# # # # # # # # # # # # # # -# ## # # # # ### # # #### # # -# # # # # # # # # # # # # # -### ### ### ## # # ## # # ### - - - ## # ## ## ### - # # # # # # # - # # # # # ## - # # # # # # # - ## ### ## ## ### - - CHI_close_ledo_road = { - - allowed = { - #Everyone - } - - available = { - OR = { - AND = { - 432 = { #Assam - has_state_flag = CHI_needed_for_ledo_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 325 = { #Yunnan - has_state_flag = CHI_needed_for_ledo_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 640 = { #Mandalay - has_state_flag = CHI_needed_for_ledo_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - } - } - - visible = { - is_subject = no - OR = { - AND = { - 432 = { #Assam - has_state_flag = CHI_needed_for_ledo_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 325 = { #Yunnan - has_state_flag = CHI_needed_for_ledo_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 640 = { #Mandalay - has_state_flag = CHI_needed_for_ledo_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - } - any_other_country = { - check_variable = { CHI_ledo_road_current_level > 0 } - NOT = { is_in_faction_with = ROOT } - } - } - - fire_only_once = no - - cost = 0 - - #modifier = { - - #} - - ai_will_do = { - factor = 1 - modifier = { - factor = 0 - any_country = { - check_variable = { CHI_ledo_road_current_level > 0 } - OR = { - is_subject = no - is_subject_of = ROOT - is_in_faction_with = ROOT - } - NOT = { has_war_with = ROOT } - } - } - modifier = { - factor = 200 - any_country = { - check_variable = { CHI_ledo_road_current_level > 0 } - OR = { - has_war_with = ROOT - AND = { - is_subject = yes - NOT = { is_subject_of = ROOT } - NOT = { is_in_faction_with = ROOT } - } - } - } - } - } - - complete_effect = { - hidden_effect = { - every_state = { - limit = { - has_state_flag = CHI_needed_for_ledo_road - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - set_state_flag = CHI_ledo_road_closed_state - } - } - random_country = { - #Country that had the route - limit = { check_variable = { CHI_ledo_road_current_level > 0 } } - hidden_effect = { - set_variable = { tempvar = 0 } - subtract_from_variable = { var = tempvar value = CHI_ledo_road_current_level } - - add_offsite_building = { type = arms_factory level = tempvar } - #In case we need to reopen - set_variable = { CHI_ledo_road_closed_level = CHI_ledo_road_current_level } - set_variable = { CHI_ledo_road_current_level = 0 } - clear_variable = tempvar - } - country_event = { id = wtt_ledo_road.2 } - custom_effect_tooltip = close_ledo_road_explanation # Prints the contents of the CHI_ledo_road_current_level variable - } - } - } - - ### ### ## ### ### # # - # # # # # # # # ## # - ### ## # # ### ## # ## - # # # # # # # # # - # # ### ## # ### # # - CHI_reopen_ledo_road = { - - allowed = { - #Everyone - } - - available = { - OR = { - AND = { - 432 = { #Assam - has_state_flag = CHI_ledo_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - is_subject_of = ROOT - } - } - } - } - AND = { - 325 = { #Yunnan - has_state_flag = CHI_ledo_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - is_subject_of = ROOT - } - } - } - } - AND = { - 640 = { #Mandalay - has_state_flag = CHI_ledo_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - is_subject_of = ROOT - } - } - } - } - } - } - - visible = { - is_subject = no - OR = { - AND = { - 432 = { #Assam - has_state_flag = CHI_ledo_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - OR = { - is_subject_of = ROOT - check_variable = { CHI_ledo_road_closed_level > 0 } - } - } - } - } - } - AND = { - 325 = { #Yunnan - has_state_flag = CHI_ledo_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - OR = { - is_subject_of = ROOT - check_variable = { CHI_ledo_road_closed_level > 0 } - } - } - } - } - } - AND = { - 640 = { #Mandalay - has_state_flag = CHI_ledo_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - OR = { - is_subject_of = ROOT - check_variable = { CHI_ledo_road_closed_level > 0 } - } - } - } - } - } - } - any_country = { - check_variable = { CHI_ledo_road_closed_level > 0 } - NOT = { has_war_with = ROOT } - } - any_state = { - has_state_flag = CHI_ledo_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - OR = { - is_subject_of = ROOT - check_variable = { CHI_ledo_road_closed_level > 0 } - } - } - } - } - } - - fire_only_once = no - - cost = 0 - - #modifier = { - - #} - - ai_will_do = { - factor = 1 - modifier = { - factor = 200 - any_country = { - check_variable = { CHI_ledo_road_closed_level > 0 } - OR = { - is_subject = no - is_subject_of = ROOT - is_in_faction_with = ROOT - } - NOT = { has_war_with = ROOT } - } - } - modifier = { - factor = 0 - any_country = { - check_variable = { CHI_ledo_road_closed_level > 0 } - OR = { - has_war_with = ROOT - AND = { - is_subject = yes - NOT = { is_subject_of = ROOT } - NOT = { is_in_faction_with = ROOT } - } - } - } - } - } - - complete_effect = { - every_state = { - limit = { - has_state_flag = CHI_ledo_road_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - OR = { - is_subject_of = ROOT - check_variable = { CHI_ledo_road_closed_level > 0 } - } - } - } - } - custom_effect_tooltip = CHI_ledo_road_reopen_state - clr_state_flag = CHI_ledo_road_closed_state - } - - random_country = { - limit = { check_variable = { CHI_ledo_road_closed_level > 0 } } - if = { - limit = { - any_state = { - has_state_flag = CHI_ledo_road_closed_state - NOT = { is_controlled_by = ROOT } - CONTROLLER = { - NOT = { is_subject_of = ROOT } - NOT = { check_variable = { CHI_ledo_road_closed_level > 0 } } - } - } - } - country_event = { id = wtt_ledo_road.3 } #We opened our part of the road - } - else = { - #Road is fully reopened - if = { - limit = { NOT = { tag = ROOT } } - country_event = { id = wtt_ledo_road.4 } - } - hidden_effect = { - add_offsite_building = { type = arms_factory level = CHI_ledo_road_closed_level } - set_variable = { CHI_ledo_road_current_level = CHI_ledo_road_closed_level } - clear_variable = CHI_ledo_road_closed_level - } - custom_effect_tooltip = reopen_ledo_road_explanation # Prints the contents of the CHI_ledo_road_closed_level variable - } - } - } - } - -### # # ### # # # # # # ### - # # # # # # # # ## ## # # - # #### ## #### # # # # # ### - # # # # # # # # # # # - # # # ### # # ## # # # - - ## # ## ## ### - # # # # # # # - # # # # # ## - # # # # # # # - ## ### ## ## ### - CHI_close_the_hump = { - - allowed = { - #Everyone - } - - available = { - OR = { - AND = { - 434 = { #Arunachal Pradesh - has_state_flag = CHI_needed_for_the_hump - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 601 = { #Xikang - has_state_flag = CHI_needed_for_the_hump - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - } - } - - visible = { - is_subject = no - OR = { - AND = { - 434 = { #Arunachal Pradesh - has_state_flag = CHI_needed_for_the_hump - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 601 = { #Xikang - has_state_flag = CHI_needed_for_the_hump - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - } - any_other_country = { - check_variable = { CHI_the_hump_current_level > 0 } - NOT = { is_in_faction_with = ROOT } - } - } - - fire_only_once = no - - cost = 0 - - #modifier = { - - #} - - ai_will_do = { - factor = 1 - modifier = { - factor = 0 - any_country = { - check_variable = { CHI_the_hump_current_level > 0 } - OR = { - is_subject = no - is_subject_of = ROOT - is_in_faction_with = ROOT - } - NOT = { has_war_with = ROOT } - } - } - modifier = { - factor = 200 - any_country = { - check_variable = { CHI_the_hump_current_level > 0 } - OR = { - has_war_with = ROOT - AND = { - is_subject = yes - NOT = { is_subject_of = ROOT } - NOT = { is_in_faction_with = ROOT } - } - } - } - } - } - - complete_effect = { - hidden_effect = { - every_state = { - limit = { - has_state_flag = CHI_needed_for_the_hump - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - set_state_flag = CHI_the_hump_closed_state - } - } - random_country = { - #Country that had the route - limit = { check_variable = { CHI_the_hump_current_level > 0 } } - hidden_effect = { - set_variable = { tempvar = 0 } - subtract_from_variable = { var = tempvar value = CHI_the_hump_current_level } - - add_offsite_building = { type = arms_factory level = tempvar } - #In case we need to reopen - set_variable = { CHI_the_hump_closed_level = CHI_the_hump_current_level } - set_variable = { CHI_the_hump_current_level = 0 } - clear_variable = tempvar - } - country_event = { id = wtt_the_hump.2 } - custom_effect_tooltip = close_the_hump_explanation # Prints the contents of the CHI_the_hump_current_level variable - } - } - } - - ### ### ## ### ### # # - # # # # # # # # ## # - ### ## # # ### ## # ## - # # # # # # # # # - # # ### ## # ### # # - CHI_reopen_the_hump = { - - allowed = { - #Everyone - } - - available = { - OR = { - AND = { - 434 = { #Arunachal Pradesh - has_state_flag = CHI_the_hump_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 601 = { #Xikang - has_state_flag = CHI_the_hump_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - } - } - - visible = { - is_subject = no - OR = { - AND = { - 434 = { #Arunachal Pradesh - has_state_flag = CHI_the_hump_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - OR = { - is_subject_of = ROOT - check_variable = { CHI_the_hump_closed_level > 0 } - } - } - } - } - } - AND = { - 601 = { #Xikang - has_state_flag = CHI_the_hump_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - OR = { - is_subject_of = ROOT - check_variable = { CHI_the_hump_closed_level > 0 } - } - } - } - } - } - } - any_country = { - check_variable = { CHI_the_hump_closed_level > 0 } - NOT = { has_war_with = ROOT } - } - } - - fire_only_once = no - - cost = 0 - - #modifier = { - - #} - - ai_will_do = { - factor = 1 - modifier = { - factor = 200 - any_country = { - check_variable = { CHI_the_hump_closed_level > 0 } - OR = { - is_subject = no - is_subject_of = ROOT - is_in_faction_with = ROOT - } - NOT = { has_war_with = ROOT } - } - } - modifier = { - factor = 0 - any_country = { - check_variable = { CHI_the_hump_closed_level > 0 } - OR = { - has_war_with = ROOT - AND = { - is_subject = yes - NOT = { is_subject_of = ROOT } - NOT = { is_in_faction_with = ROOT } - } - } - } - } - } - - complete_effect = { - every_state = { - limit = { - has_state_flag = CHI_the_hump_closed_state - OR = { - is_controlled_by = ROOT - CONTROLLER = { - OR = { - is_subject_of = ROOT - check_variable = { CHI_the_hump_closed_level > 0 } - } - } - } - } - custom_effect_tooltip = CHI_the_hump_reopen_state - clr_state_flag = CHI_the_hump_closed_state - } - - random_country = { - limit = { check_variable = { CHI_the_hump_closed_level > 0 } } - if = { - limit = { - any_state = { - has_state_flag = CHI_the_hump_closed_state - NOT = { is_controlled_by = ROOT } - CONTROLLER = { - NOT = { is_subject_of = ROOT } - NOT = { check_variable = { CHI_the_hump_closed_level > 0 } } - } - } - } - country_event = { id = wtt_the_hump.3 } #We opened our part of the road - } - else = { - #Road is fully reopened - if = { - limit = { NOT = { tag = ROOT } } - country_event = { id = wtt_the_hump.4 } - } - hidden_effect = { - add_offsite_building = { type = arms_factory level = CHI_the_hump_closed_level } - set_variable = { CHI_the_hump_current_level = CHI_the_hump_closed_level } - clear_variable = CHI_the_hump_closed_level - } - custom_effect_tooltip = reopen_the_hump_explanation # Prints the contents of the CHI_the_hump_closed_level variable - } - } - } - } - - -# # ## # # ## ### ### ## # # ### ### -# # # # ## # # # # # # # # # # # # -#### #### # ## # # # ### # # # # # ## -# # # # # # # # # # # # # # # # # -# # # # # # ## ### # # ## ## # ### - - ## # ## ## ### - # # # # # # # - # # # # # ## - # # # # # # # - ## ### ## ## ### - - CHI_close_hanoi_route = { - - allowed = { - #Everyone - } - - available = { - OR = { - AND = { - 671 = { #Tonkin - has_state_flag = CHI_needed_for_hanoi_route - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 325 = { #Yunnan - has_state_flag = CHI_needed_for_hanoi_route - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - } - } - - visible = { - is_subject = no - OR = { - AND = { - 671 = { #Tonkin - has_state_flag = CHI_needed_for_hanoi_route - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - AND = { - 325 = { #Yunnan - has_state_flag = CHI_needed_for_hanoi_route - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - } - } - any_other_country = { - check_variable = { CHI_hanoi_route_current_level > 0 } - NOT = { is_in_faction_with = ROOT } - } - } - - fire_only_once = no - - cost = 0 - - #modifier = { - - #} - - ai_will_do = { - factor = 1 - modifier = { - factor = 0 - any_country = { - check_variable = { CHI_hanoi_route_current_level > 0 } - OR = { - is_subject = no - is_subject_of = ROOT - is_in_faction_with = ROOT - } - NOT = { has_war_with = ROOT } - } - } - modifier = { - factor = 200 - any_country = { - check_variable = { CHI_hanoi_route_current_level > 0 } - OR = { - has_war_with = ROOT - AND = { - is_subject = yes - NOT = { is_subject_of = ROOT } - NOT = { is_in_faction_with = ROOT } - } - } - } - } - } - - complete_effect = { - hidden_effect = { - every_state = { - limit = { - has_state_flag = CHI_needed_for_hanoi_route - OR = { - is_controlled_by = ROOT - CONTROLLER = { is_subject_of = ROOT } - } - } - set_state_flag = CHI_hanoi_route_closed_state - } - } - random_country = { - #Country that had the route - limit = { check_variable = { CHI_hanoi_route_current_level > 0 } } - hidden_effect = { - set_variable = { tempvar = 0 } - subtract_from_variable = { var = tempvar value = CHI_hanoi_route_current_level } - - add_offsite_building = { type = arms_factory level = tempvar } - #In case we need to reopen - set_variable = { CHI_hanoi_route_closed_level = CHI_hanoi_route_current_level } - set_variable = { CHI_hanoi_route_current_level = 0 } - clear_variable = tempvar - } - country_event = { id = wtt_hanoi_route.2 } - custom_effect_tooltip = close_hanoi_route_explanation # Prints the contents of the CHI_hanoi_route_current_level variable - } - } - } -} - -generic_purchase_old_ships_category = { - purchase_ships_eng = { - cost = 50 - icon = GFX_decision_generic_naval - fire_only_once = no - visible = { - has_country_flag = generic_purchase_old_ships_flag - ENG = { - NOT = { - has_country_flag = sold_ships_to_us@ROOT - has_country_flag = negotiating_ship_purchase_flag@ROOT - } - } - NOT = { has_war_with = ENG} - } - available = { - NOT = { - ENG = { - OR = { - has_civil_war = yes - has_capitulated = yes - has_opinion = { - target = FROM - value < 30 - } - } - } - } - - } - days_remove = 14 - remove_effect = { - ENG = { - country_event = { - id = generic_purchase_ships_events.01 - hours = 1 - } - set_country_flag = negotiating_ship_purchase_flag@ROOT - } - } - } - purchase_ships_sov = { - cost = 50 - icon = GFX_decision_generic_naval - fire_only_once = no - visible = { - has_country_flag = generic_purchase_old_ships_flag - SOV = { - has_country_flag = sold_ships_to_us@ROOT - has_country_flag = negotiating_ship_purchase_flag@ROOT - } - - NOT = { has_war_with = SOV} - } - available = { - NOT = { - SOV = { - OR = { - has_civil_war = yes - has_capitulated = yes - has_opinion = { - target = FROM - value < 30 - } - } - } - } - - } - days_remove = 14 - remove_effect = { - SOV = { - country_event = { - id = generic_purchase_ships_events.01 - hours = 1 - } - set_country_flag = negotiating_ship_purchase_flag@ROOT - } - } - } - purchase_ships_ger = { - cost = 50 - icon = GFX_decision_generic_naval - fire_only_once = no - visible = { - has_country_flag = generic_purchase_old_ships_flag - GER = { - NOT = { - has_country_flag = sold_ships_to_us@ROOT - has_country_flag = negotiating_ship_purchase_flag@ROOT - } - - } - NOT = { has_war_with = GER} - } - available = { - NOT = { - GER = { - OR = { - has_civil_war = yes - has_capitulated = yes - has_opinion = { - target = FROM - value < 30 - } - } - } - } - - } - days_remove = 14 - remove_effect = { - GER = { - country_event = { - id = generic_purchase_ships_events.01 - hours = 1 - } - set_country_flag = negotiating_ship_purchase_flag@ROOT - } - } - } - purchase_ships_usa = { - cost = 50 - icon = GFX_decision_generic_naval - fire_only_once = no - visible = { - has_country_flag = generic_purchase_old_ships_flag - USA = { - NOT = { - has_country_flag = sold_ships_to_us@ROOT - has_country_flag = negotiating_ship_purchase_flag@ROOT - } - } - NOT = { has_war_with = USA} - } - available = { - NOT = { - USA = { - OR = { - has_civil_war = yes - has_capitulated = yes - has_opinion = { - target = FROM - value < 30 - } - } - } - } - - } - days_remove = 14 - remove_effect = { - USA = { - country_event = { - id = generic_purchase_ships_events.01 - hours = 1 - } - set_country_flag = negotiating_ship_purchase_flag@ROOT - } - } - } -} - -generic_refit_civilian_ships_category = { - refit_to_destroyer = { - cost = 15 - icon = GFX_decision_generic_merge_plant_ship - fire_only_once = no - visible = { - has_country_flag = refit_convoy_ships_flag - } - available = { - has_equipment = { - convoy > 9 - } - if = { - limit = { - has_dlc = "Man the Guns" - } - has_tech = early_ship_hull_light - } - else = { - has_tech = early_destroyer - } - } - days_remove = 50 - - complete_effect = { - add_equipment_to_stockpile = { - type = convoy_1 - amount = -10 - - } - } - remove_effect = { - if = { - limit = { - has_dlc = "Man the Guns" - } - if = { - limit = { - NOT = { has_country_flag = refit_to_destroyer_flag } #FIN gets flag along with Ship variants via the focus that unlocks these decisions - } - set_country_flag = refit_to_destroyer_flag - - create_equipment_variant = { - name = "Refitted Destroyer Class" - type = ship_hull_light_1 - name_group = "DEN_DD_HISTORICAL" #Note: Doesn't matter if ROOT is not DEN, the effect will grab the appropriate country-specific name list anyways - parent_version = 0 - modules = { - fixed_ship_battery_slot = ship_light_battery_1 - fixed_ship_anti_air_slot = ship_anti_air_1 - fixed_ship_fire_control_system_slot = ship_fire_control_system_0 - fixed_ship_radar_slot = empty - fixed_ship_engine_slot = light_ship_engine_1 - fixed_ship_torpedo_slot = ship_torpedo_1 - mid_1_custom_slot = empty - rear_1_custom_slot = empty - } - obsolete = yes - } - } - create_ship = { - type = ship_hull_light_1 - equipment_variant = "Refitted Destroyer Class" - creator = ROOT - name = "Coastguard" - } - } - #NO MTG - else = { - if = { - limit = { - NOT = { has_country_flag = refit_to_destroyer_flag } - } - set_country_flag = refit_to_destroyer_flag - - create_equipment_variant = { - name = "Refitted Destroyer Class" - type = destroyer_1 - upgrades = { - ship_torpedo_upgrade = 0 - destroyer_engine_upgrade = 0 - ship_ASW_upgrade = 0 - ship_anti_air_upgrade = 0 - } - obsolete = yes - } - } - create_ship = { - type = destroyer_1 - equipment_variant = "Refitted Destroyer Class" - creator = ROOT - name = "Coastguard" - } - } - } - } - refit_to_cruiser = { - cost = 30 - icon = GFX_decision_generic_merge_plant_ship - fire_only_once = no - visible = { - has_country_flag = refit_convoy_ships_flag - } - available = { - has_equipment = { - convoy > 19 - } - if = { - limit = { - has_dlc = "Man the Guns" - } - has_tech = early_ship_hull_cruiser - } - else = { - has_tech = early_light_cruiser - } - } - days_remove = 100 - - complete_effect = { - add_equipment_to_stockpile = { - type = convoy_1 - amount = -25 - } - } - remove_effect = { - if = { - limit = { - has_dlc = "Man the Guns" - } - if = { - limit = { - NOT = { has_country_flag = refit_to_cruiser_flag } #FIN gets flag along with Ship variants via the focus that unlocks these decisions - } - set_country_flag = refit_to_cruiser_flag - - create_equipment_variant = { - name = "Refitted Cruiser Class" - type = ship_hull_cruiser_1 - name_group = DEN_CL_HISTORICAL #Note: Doesn't matter if ROOT is not DEN, the effect will grab the appropriate country-specific name list anyways - parent_version = 0 - modules = { - fixed_ship_battery_slot = ship_light_medium_battery_1 - fixed_ship_anti_air_slot = ship_anti_air_1 - fixed_ship_fire_control_system_slot = ship_fire_control_system_0 - fixed_ship_radar_slot = empty - fixed_ship_engine_slot = cruiser_ship_engine_1 - fixed_ship_armor_slot = ship_armor_cruiser_1 - fixed_ship_secondaries_slot = dp_ship_secondaries_1 - mid_1_custom_slot = empty - mid_2_custom_slot = empty - rear_1_custom_slot = empty - } - obsolete = yes - } - } - create_ship = { - type = ship_hull_cruiser_1 - equipment_variant = "Refitted Cruiser Class" - creator = ROOT - name = "Protector" - } - } - else = { - if = { - limit = { - NOT = { has_country_flag = refit_to_cruiser_flag } - } - set_country_flag = refit_to_cruiser_flag - - create_equipment_variant = { - name = "Refitted Cruiser Class" - type = light_cruiser_1 - upgrades = { - ship_reliability_upgrade = 0 - ship_engine_upgrade = 0 - ship_gun_upgrade = 0 - ship_anti_air_upgrade = 0 - } - obsolete = yes - } - } - create_ship = { - type = light_cruiser_1 - equipment_variant = "Refitted Cruiser Class" - creator = ROOT - name = "Protector" - } - } - } - } -} \ No newline at end of file diff --git a/src/common/decisions/categories/00_decision_categories.txt b/src/common/decisions/categories/00_decision_categories.txt deleted file mode 100755 index 61fc663..0000000 --- a/src/common/decisions/categories/00_decision_categories.txt +++ /dev/null @@ -1,319 +0,0 @@ -debug_decisions = { - icon = generic_research - visible = { - is_debug = yes - } -} -propaganda_efforts = { - icon = generic_propaganda - - visible = { - - } -} -MTG_naval_treaties = { - picture = GFX_decision_cat_picture_naval_treaties - allowed = { - has_dlc = "Man the Guns" - } - visible = { - OR = { - has_naval_treaty_trigger = yes - is_major = yes - } - any_owned_state = { - is_coastal = yes - } - } -} -SAF_anti_colonialist_crusade = { - allowed = { - original_tag = SAF - } -} - -war_measures = { - icon = generic_propaganda - - visible = { - has_war = yes - } -} -operations = { - icon = GFX_decision_category_military_operation - -} - -foreign_support = { - icon = generic_political_actions - -} - -prestigious_projects = { - -} - -foreign_politics = { - icon = generic_political_actions -} - -political_actions = { - icon = generic_political_actions - - allowed = { - always = yes - } -} - -foreign_influence = { - icon = generic_political_actions -} - -fascism_on_the_rise = { - icon = generic_fascism - - allowed = { - NOT = { - AND = { - has_dlc = "Man the Guns" - OR = { - original_tag = USA - original_tag = MEX - original_tag = ENG - } - } - } - } - - #visible = { - # NOT = { has_government = fascism } - # has_idea_with_trait = fascist_demagogue - #} -} - -democratic_on_the_rise = { - icon = generic_democracy - - allowed = { - always = yes - } - - #visible = { - # NOT = { has_government = democratic } - # has_idea_with_trait = democratic_reformer - #} -} - -communism_on_the_rise = { - icon = generic_communism - - allowed = { - NOT = { - AND = { - has_dlc = "Man the Guns" - OR = { - original_tag = USA - original_tag = MEX - original_tag = ENG - } - } - } - } - - #visible = { - # NOT = { has_government = communism } - # has_idea_with_trait = communist_revolutionary - #} -} - -crisis = { - icon = generic_crisis - priority = 100 - - visible = { - OR = { - has_country_flag = crisis_in_progress - has_civil_war = yes - } - } -} - -demobilization = { - icon = generic_crisis - priority = 100 - - visible = { - has_war = no - } -} - -economy_decisions = { - icon = generic_economy - -} - -prospect_for_resources = { - icon = generic_prospect_for_resources - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -special_projects = { - - icon = generic_prospect_for_resources - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -governments_in_exile = { - - icon = generic_formable_nations - picture = GFX_decision_cat_picture_government_in_exile - allowed = { - has_dlc = "Man the Guns" - } -} - -category_exile_forces = { - - icon = infiltration - picture = GFX_decision_cat_picture_government_in_exile - allowed = { - has_dlc = "Man the Guns" - } -} -category_test_decisions = { - priority = 110 - visible = { - is_debug = yes - } -} - -lar_local_recruitment = { - allowed = { has_dlc = "La Resistance" } - - visible = { has_done_agency_upgrade = upgrade_training_centers } - - visibility_type = map_and_decisions_view - - on_map_area = { - state = 8 - name = LAR_recruitment_europe - zoom = 650 - - target_root_trigger = { - OR = { - has_country_flag = europe_recruitment_unlocked - capital_scope = { is_on_continent = europe } - } - } - } - - on_map_area = { - state = 373 - name = LAR_recruitment_north_america - zoom = 850 - - target_root_trigger = { - OR = { - has_country_flag = north_america_recruitment_unlocked - capital_scope = { is_on_continent = north_america } - } - } - } - - on_map_area = { - state = 487 - name = LAR_recruitment_south_america - zoom = 850 - - target_root_trigger = { - OR = { - has_country_flag = south_america_recruitment_unlocked - capital_scope = { is_on_continent = south_america } - } - } - } - - on_map_area = { - state = 295 - name = LAR_recruitment_africa - zoom = 850 - - target_root_trigger = { - OR = { - has_country_flag = africa_recruitment_unlocked - capital_scope = { is_on_continent = africa } - } - } - } - - on_map_area = { - state = 597 - name = LAR_recruitment_asia - zoom = 850 - - target_root_trigger = { - OR = { - has_country_flag = asia_recruitment_unlocked - capital_scope = { is_on_continent = asia } - } - NOT = { - tag = RAJ - tag = PAK - tag = BAN - tag = NEP - tag = BHU - tag = SRL - } - } - } - - on_map_area = { - state = 521 - name = LAR_recruitment_oceania - zoom = 850 - - target_root_trigger = { - OR = { - has_country_flag = australia_recruitment_unlocked - capital_scope = { is_on_continent = australia } - } - } - } - - on_map_area = { - state = 439 - name = LAR_recruitment_india - zoom = 850 - - target_root_trigger = { - OR = { - has_country_flag = india_recruitment_unlocked - tag = RAJ - tag = PAK - tag = BAN - tag = NEP - tag = BHU - tag = SRL - } - } - } - - on_map_area = { - state = 656 - name = LAR_recruitment_middle_east - zoom = 850 - - target_root_trigger = { - OR = { - has_country_flag = middle_east_recruitment_unlocked - capital_scope = { is_on_continent = middle_east } - } - } - } -} \ No newline at end of file diff --git a/src/common/decisions/categories/00_formable_categories.txt b/src/common/decisions/categories/00_formable_categories.txt deleted file mode 100755 index ce101bb..0000000 --- a/src/common/decisions/categories/00_formable_categories.txt +++ /dev/null @@ -1,241 +0,0 @@ -#formable_nations = { -# -# icon = generic_formable_nations -# -# allowed = { -# has_dlc = "Waking the Tiger" -# } -#} - -form_scandinavia_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_scandinavia - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_nordic_league_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_nordic_league - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_gran_colombia_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_gran_colombia - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_austria_hungary_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_austria_hungary - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_commonwealth_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_commonwealth - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_united_netherlands_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_united_netherlands - - allowed = { - OR = { - has_dlc = "Waking the Tiger" - AND = { - has_dlc = "Man the Guns" - tag = HOL - } - } - } -} - -form_united_central_america_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_united_central_america - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_baltic_federation_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_baltic_federation - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_ottoman_empire_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_ottoman_empire - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_european_union_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_european_union - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_mutapa_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_mutapa - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_roman_empire_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_roman_empire - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_persian_empire_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_persian_empire - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_byzantine_empire_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_byzantine_empire - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_arabia_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_arabia - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_majapahit_empire_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_majapahit_empire - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_rattanakosin_kingdom_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_rattanakosin_kingdom - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_hre_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_hre - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_greater_german_reich_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_hre - - allowed = { - has_dlc = "Waking the Tiger" - } -} - -form_andalusia_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_arabia - - allowed = { - has_dlc = "La Resistance" - } -} - -form_polynesia_category = { - - icon = generic_formable_nations - - picture = GFX_decision_cat_generic_arabia -} \ No newline at end of file diff --git a/src/common/decisions/categories/AL_decision_categories.txt b/src/common/decisions/categories/AL_decision_categories.txt index e553f9b..ee3d457 100755 --- a/src/common/decisions/categories/AL_decision_categories.txt +++ b/src/common/decisions/categories/AL_decision_categories.txt @@ -1,37 +1,37 @@ AL_decision_category = { icon = category_generic visible = { - + always = no } } AL_dabao_category = { icon = category_generic visible = { - + always = no } } AL_zhenghe_category = { icon = category_generic visible = { - + always = no } } #######彩蛋######## URA_decisions = { icon = ura - allowed = { always = yes } + allowed = { always = no } } jineng_decisions = { icon = ura - allowed = { always = yes } + allowed = { always = no } } xuanze_decisions = { icon = ura - allowed = { always = yes } + allowed = { always = no } } diff --git a/src/common/decisions/categories/keyan_decision_categories.txt b/src/common/decisions/categories/keyan_decision_categories.txt index 79b1602..7822e42 100755 --- a/src/common/decisions/categories/keyan_decision_categories.txt +++ b/src/common/decisions/categories/keyan_decision_categories.txt @@ -3,6 +3,6 @@ keyan_category = { priority = 4 picture = GFX_az_qiyedazigif visible = { - always = yes + shijianniangguojia_trigger = yes } } diff --git a/src/common/decisions/categories/liluntupo_decision_categories.txt b/src/common/decisions/categories/liluntupo_decision_categories.txt index 50d978b..ad9bc06 100755 --- a/src/common/decisions/categories/liluntupo_decision_categories.txt +++ b/src/common/decisions/categories/liluntupo_decision_categories.txt @@ -2,6 +2,6 @@ liluntupo_category = { icon = category_spr_the_seeds_of_revolution priority = 1 visible = { - always = yes + shijianniangguojia_trigger = yes } } diff --git a/src/common/decisions/categories/tianjiang_decision_categories.txt b/src/common/decisions/categories/tianjiang_decision_categories.txt index 57964a6..e4e7b17 100755 --- a/src/common/decisions/categories/tianjiang_decision_categories.txt +++ b/src/common/decisions/categories/tianjiang_decision_categories.txt @@ -128,7 +128,7 @@ HUJ_jianshezhimindi_jy = { } ALL_luxianzhinan = { allowed = { - always = yes + shijianniangguojia_trigger = yes } priority = 0 } @@ -184,7 +184,7 @@ TIX_quanlipingheng = { AZ_fkAIplayerjiaqiang = { icon = xingdong allowed = { - always = yes + shijianniangguojia_trigger = yes } priority = 10000 } diff --git a/src/common/decisions/formable_nation_decisions.txt b/src/common/decisions/formable_nation_decisions.txt deleted file mode 100755 index 5fff2f7..0000000 --- a/src/common/decisions/formable_nation_decisions.txt +++ /dev/null @@ -1,17647 +0,0 @@ -form_scandinavia_category = { - - form_scandinavia = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = NOR - original_tag = DEN - original_tag = SWE - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Arms Against Tyranny" - } - } - - available = { - is_subject = no - # Norway - custom_trigger_tooltip = { - tooltip = form_country_norway_required_states_tt - controls_state = 110 - controls_state = 142 - controls_state = 143 - controls_state = 144 - controls_state = 920 - controls_state = 921 - controls_state = 922 - controls_state = 923 - controls_state = 924 - controls_state = 925 - } - # Sweden - custom_trigger_tooltip = { - tooltip = form_country_sweden_required_states_tt - controls_state = 38 - controls_state = 124 - controls_state = 138 - controls_state = 139 - controls_state = 140 - controls_state = 141 - controls_state = 666 - controls_state = 913 - controls_state = 915 - controls_state = 916 - controls_state = 917 - controls_state = 918 - controls_state = 919 - } - # Denmark - custom_trigger_tooltip = { - tooltip = form_country_denmark_required_states_tt - controls_state = 37 - controls_state = 99 - #controls_state = 100 Iceland should not be included here - #controls_state = 101 Greenland should not be included here - controls_state = 337 - controls_state = 910 - controls_state = 911 - controls_state = 912 - } - } - - visible = { - OR = { - original_tag = NOR - original_tag = DEN - original_tag = SWE - } - NOT = { has_global_flag = form_nordic_league_flag } - NOT = { has_global_flag = form_scandinavia_flag } - } - - complete_effect = { - set_cosmetic_tag = SCA_UNIFIED - # Norway - custom_effect_tooltip = form_country_norway_coring_states_tt - hidden_effect = { - 110 = { add_core_of = ROOT } - 142 = { add_core_of = ROOT } - 143 = { add_core_of = ROOT } - 144 = { add_core_of = ROOT } - 920 = { add_core_of = ROOT } - 921 = { add_core_of = ROOT } - 922 = { add_core_of = ROOT } - 923 = { add_core_of = ROOT } - 924 = { add_core_of = ROOT } - 925 = { add_core_of = ROOT } - } - # Sweden - custom_effect_tooltip = form_country_sweden_coring_states_tt - hidden_effect = { - 124 = { add_core_of = ROOT } - 138 = { add_core_of = ROOT } - 139 = { add_core_of = ROOT } - 140 = { add_core_of = ROOT } - 141 = { add_core_of = ROOT } - 38 = { add_core_of = ROOT } - 666 = { add_core_of = ROOT } - 913 = { add_core_of = ROOT } - 915 = { add_core_of = ROOT } - 916 = { add_core_of = ROOT } - 917 = { add_core_of = ROOT } - 918 = { add_core_of = ROOT } - 919 = { add_core_of = ROOT } - } - # Denmark / European Mainland - custom_effect_tooltip = form_scandinavia_denmark_coring_states_tt - hidden_effect = { - 37 = { add_core_of = ROOT } - 99 = { add_core_of = ROOT } - 910 = { add_core_of = ROOT } - 911 = { add_core_of = ROOT } - 912 = { add_core_of = ROOT } - 337 = { add_core_of = ROOT } - } - hidden_effect = { - news_event = { id = wtt_news.53 hours = 6 } - set_global_flag = form_scandinavia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_nordic_league_category = { - - form_nordic_league = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = NOR - original_tag = DEN - original_tag = SWE - original_tag = FIN - original_tag = ICE - original_tag = EST - original_tag = GRN - original_tag = SMI - original_tag = KAR - } - OR = { - has_dlc = "Waking the Tiger" - AND = { - has_dlc = "Arms Against Tyranny" - OR = { - original_tag = NOR - original_tag = DEN - original_tag = SWE - original_tag = FIN - original_tag = ICE - original_tag = GRN - original_tag = SMI - original_tag = KAR - } - } - AND = { - has_dlc = "No Step Back" - original_tag = EST - } - } - } - - available = { - custom_trigger_tooltip = { - tooltip = form_nordic_nation_flag - hidden_trigger = { - NOT = { has_country_flag = form_nordic_nation_flag } - } - } - is_subject = no - if = { - limit = { - NOT = { original_tag = EST } - } - # Norway - custom_trigger_tooltip = { - tooltip = form_country_norway_required_states_tt - controls_state = 110 - controls_state = 142 - controls_state = 143 - controls_state = 144 - controls_state = 920 - controls_state = 921 - controls_state = 922 - controls_state = 923 - controls_state = 924 - controls_state = 925 - controls_state = 914 - } - # Sweden - custom_trigger_tooltip = { - tooltip = form_country_sweden_required_states_tt - controls_state = 38 - controls_state = 124 - controls_state = 138 - controls_state = 139 - controls_state = 140 - controls_state = 141 - controls_state = 666 - controls_state = 913 - controls_state = 915 - controls_state = 916 - controls_state = 917 - controls_state = 918 - controls_state = 919 - } - # Denmark - custom_trigger_tooltip = { - tooltip = form_country_denmark_required_states_tt - controls_state = 37 - controls_state = 99 - controls_state = 101 - controls_state = 337 - controls_state = 910 - controls_state = 911 - controls_state = 912 - } - # Finland - custom_trigger_tooltip = { - tooltip = form_country_finland_required_states_tt - controls_state = 111 - controls_state = 145 - controls_state = 148 - controls_state = 149 - controls_state = 150 - controls_state = 926 - controls_state = 927 - controls_state = 928 - controls_state = 929 - controls_state = 930 - # PETSAMO, SALLA and KARJALA left out intentionally - } - #Iceland - custom_trigger_tooltip = { - tooltip = form_country_iceland_required_states_tt - controls_state = 100 - } - } - else = { - custom_override_tooltip = { - tooltip = control_all_nordic_states_tt - all_country_of = { - target = { NOR DEN SWE } - all_core_state = { - or = { - controls_or_subject_of = yes - controller = { - original_tag = FIN - is_in_faction_with = ROOT - } - } - } - } - } - } - } - - visible = { - OR = { - original_tag = NOR - original_tag = DEN - original_tag = SWE - original_tag = FIN - original_tag = ICE - original_tag = GRN - original_tag = SMI - original_tag = KAR - AND = { - original_tag = EST - has_completed_focus = EST_form_scandinavia - } - } - NOT = { has_country_flag = form_nordic_nation_flag } - NOT = { has_global_flag = form_nordic_league_flag } - } - - complete_effect = { - hidden_effect = { - if = { - limit = { - original_tag = FIN - has_government = communism - } - set_country_flag = FIN_formed_nordic_union #Used to bring back this cosmetic tag after Kuusinen's cosmetic tag - } - } - set_cosmetic_tag = NDC_UNIFIED - # Norway - custom_effect_tooltip = form_country_norway_coring_states_tt - hidden_effect = { - 110 = { add_core_of = ROOT } - 142 = { add_core_of = ROOT } - 143 = { add_core_of = ROOT } - 144 = { add_core_of = ROOT } - 920 = { add_core_of = ROOT } - 921 = { add_core_of = ROOT } - 922 = { add_core_of = ROOT } - 923 = { add_core_of = ROOT } - 924 = { add_core_of = ROOT } - 925 = { add_core_of = ROOT } - 914 = { add_core_of = ROOT } - } - - if = { - limit = { - NOR = { - is_subject_of = ROOT - } - } - - NOR = { - every_unit_leader = { - set_nationality = ROOT - } - } - - annex_country = { - target = NOR - transfer_troops = yes - } - } - # Sweden - custom_effect_tooltip = form_country_sweden_coring_states_tt - hidden_effect = { - 38 = { add_core_of = ROOT } - 124 = { add_core_of = ROOT } - 138 = { add_core_of = ROOT } - 139 = { add_core_of = ROOT } - 140 = { add_core_of = ROOT } - 141 = { add_core_of = ROOT } - 666 = { add_core_of = ROOT } - 913 = { add_core_of = ROOT } - 915 = { add_core_of = ROOT } - 916 = { add_core_of = ROOT } - 917 = { add_core_of = ROOT } - 918 = { add_core_of = ROOT } - 919 = { add_core_of = ROOT } - } - - if = { - limit = { - SWE = { - is_subject_of = ROOT - } - } - - SWE = { - every_unit_leader = { - set_nationality = ROOT - } - } - - annex_country = { - target = SWE - transfer_troops = yes - } - } - # Denmark - custom_effect_tooltip = form_country_denmark_coring_states_tt - hidden_effect = { - 37 = { add_core_of = ROOT } - 99 = { add_core_of = ROOT } - 910 = { add_core_of = ROOT } - 911 = { add_core_of = ROOT } - 912 = { add_core_of = ROOT } - 100 = { add_core_of = ROOT } - 101 = { add_core_of = ROOT } - 337 = { add_core_of = ROOT } - } - - if = { - limit = { - DEN = { - is_subject_of = ROOT - } - } - - DEN = { - every_unit_leader = { - set_nationality = ROOT - } - } - - annex_country = { - target = DEN - transfer_troops = yes - } - } - - # Finland - custom_effect_tooltip = form_country_finland_coring_states_tt - hidden_effect = { - 111 = { add_core_of = ROOT } - 145 = { add_core_of = ROOT } - 148 = { add_core_of = ROOT } - 149 = { add_core_of = ROOT } - 150 = { add_core_of = ROOT } - 926 = { add_core_of = ROOT } - 927 = { add_core_of = ROOT } - 928 = { add_core_of = ROOT } - 929 = { add_core_of = ROOT } - 930 = { add_core_of = ROOT } - 722 = { add_core_of = ROOT } - 147 = { add_core_of = ROOT } - 146 = { add_core_of = ROOT } - } - - #Iceland - custom_effect_tooltip = form_country_iceland_coring_states_tt - hidden_effect = { - 100 = { add_core_of = ROOT } - } - - if = { - limit = { - FIN = { - is_subject_of = ROOT - OR = { - is_subject_of = ROOT - all_core_state = { - controller = { - tag = ROOT - } - } - } - } - } - - FIN = { - every_unit_leader = { - set_nationality = ROOT - } - } - - annex_country = { - target = FIN - transfer_troops = yes - } - } - - IF = { - limit = { - 933 = { - NOT = { - OR = { - is_owned_by = ROOT - is_claimed_by = ROOT - is_core_of = ROOT - } - } - } - } - 933 = { add_claim_by = ROOT } - } - - IF = { - limit = { - 213 = { - NOT = { - OR = { - is_owned_by = ROOT - is_claimed_by = ROOT - is_core_of = ROOT - } - } - } - } - 213 = { add_claim_by = ROOT } - } - - IF = { - limit = { - 215 = { - NOT = { - OR = { - is_owned_by = ROOT - is_claimed_by = ROOT - is_core_of = ROOT - } - } - } - } - 215 = { add_claim_by = ROOT } - } - - IF = { - limit = { - 216 = { - NOT = { - OR = { - is_owned_by = ROOT - is_claimed_by = ROOT - is_core_of = ROOT - } - } - } - } - 216 = { add_claim_by = ROOT } - } - - hidden_effect = { - if = { - limit = { NOT = { original_tag = EST } } - news_event = { id = wtt_news.54 hours = 6 } - } - else = { - news_event = { id = EST_events.3 hours = 6 } - } - set_country_flag = form_nordic_nation_flag - set_global_flag = form_nordic_league_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_north_sea_category = { - - form_north_sea_empire = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = NOR - original_tag = DEN - } - has_dlc = "Arms Against Tyranny" - } - - available = { - custom_trigger_tooltip = { - tooltip = form_nordic_nation_flag - hidden_trigger = { - NOT = { has_country_flag = form_nordic_nation_flag } - } - } - is_subject = no - # Norway - custom_trigger_tooltip = { - tooltip = form_north_sea_empire_norway_required_states_tt - controls_state = 110 - controls_state = 142 - controls_state = 143 - controls_state = 144 - controls_state = 920 - controls_state = 921 - controls_state = 922 - controls_state = 923 - controls_state = 924 - controls_state = 925 - } - # Denmark - custom_trigger_tooltip = { - tooltip = form_scandinavia_denmark_required_states_tt - controls_state = 37 - controls_state = 99 - controls_state = 911 - controls_state = 912 - #None of the islands are required - } - # Sweden - custom_trigger_tooltip = { - tooltip = form_north_sea_empire_swedish_required_states_tt - controls_state = 138 - controls_state = 915 - } - # England - controls_state = 123 - controls_state = 125 - controls_state = 126 - controls_state = 127 - controls_state = 128 - controls_state = 129 - controls_state = 130 - controls_state = 131 - controls_state = 931 - controls_state = 932 - controls_state = 132 - controls_state = 338 - controls_state = 931 - } - - visible = { - OR = { - original_tag = NOR - original_tag = DEN - } - hidden_trigger = { - NOT = { has_country_flag = form_nordic_nation_flag } - NOT = { has_global_flag = form_north_sea_empire_flag } - } - } - - complete_effect = { - set_cosmetic_tag = NSE_UNIFIED - # Norway - custom_effect_tooltip = form_country_norway_coring_states_tt - hidden_effect = { - 110 = { add_core_of = ROOT } - 142 = { add_core_of = ROOT } - 143 = { add_core_of = ROOT } - 144 = { add_core_of = ROOT } - 920 = { add_core_of = ROOT } - 921 = { add_core_of = ROOT } - 922 = { add_core_of = ROOT } - 923 = { add_core_of = ROOT } - 924 = { add_core_of = ROOT } - 925 = { add_core_of = ROOT } - } - # Denmark / European Mainland - custom_effect_tooltip = form_scandinavia_denmark_coring_states_tt - hidden_effect = { - 37 = { add_core_of = ROOT } - 99 = { add_core_of = ROOT } - 911 = { add_core_of = ROOT } - 912 = { add_core_of = ROOT } - #None of the islands are cored - } - # Sweden - custom_effect_tooltip = form_north_sea_empire_swedish_coring_states_tt - hidden_effect = { - 138 = { add_core_of = ROOT } - 915 = { add_core_of = ROOT } - } - # England - ROOT = { - add_state_core = 123 - add_state_core = 125 - add_state_core = 126 - add_state_core = 127 - add_state_core = 128 - add_state_core = 129 - add_state_core = 130 - add_state_core = 131 - add_state_core = 932 - add_state_core = 132 - add_state_core = 338 - add_state_core = 931 - } - hidden_effect = { - news_event = { id = aat_news.666 hours = 6 } - set_country_flag = form_nordic_nation_flag - set_global_flag = form_north_sea_empire_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_baltic_sea_empire_category = { - - form_baltic_sea_empire = { - - icon = generic_form_nation - - allowed = { - original_tag = DEN - has_dlc = "Arms Against Tyranny" - } - - available = { - custom_trigger_tooltip = { - tooltip = form_nordic_nation_flag - hidden_trigger = { - NOT = { has_country_flag = form_nordic_nation_flag } - } - } - is_subject = no - # Sweden - custom_trigger_tooltip = { - tooltip = form_country_sweden_required_states_tt - controls_state = 38 - controls_state = 124 - controls_state = 138 - controls_state = 139 - controls_state = 140 - controls_state = 141 - controls_state = 666 - controls_state = 913 - controls_state = 915 - controls_state = 916 - controls_state = 917 - controls_state = 918 - controls_state = 919 - } - # Denmark - custom_trigger_tooltip = { - tooltip = form_scandinavia_denmark_required_states_tt - controls_state = 37 - controls_state = 99 - controls_state = 911 - controls_state = 912 - #None of the islands are required - } - # Finland - custom_trigger_tooltip = { - tooltip = form_country_finland_required_states_tt - controls_state = 111 - controls_state = 145 - controls_state = 148 - controls_state = 149 - controls_state = 150 - controls_state = 926 - controls_state = 927 - controls_state = 928 - controls_state = 929 - controls_state = 930 - # PETSAMO, SALLA and KARJALA left out intentionally - } - custom_trigger_tooltip = { - tooltip = form_country_estonia_required_states_tt - controls_state = 13 - controls_state = 191 - controls_state = 811 - controls_state = 812 - controls_state = 813 - } - # Latvia - custom_trigger_tooltip = { - tooltip = form_country_latvia_required_states_tt - controls_state = 12 - controls_state = 190 - controls_state = 808 - controls_state = 809 - controls_state = 810 - } - # Lithuania - custom_trigger_tooltip = { - tooltip = form_country_lithuania_required_states_tt - controls_state = 11 - controls_state = 189 - controls_state = 814 - controls_state = 815 - } - } - - visible = { - original_tag = DEN - hidden_trigger = { - NOT = { has_country_flag = form_nordic_nation_flag } - } - } - - complete_effect = { - set_cosmetic_tag = DEN_imperial - # Sweden - custom_effect_tooltip = form_country_sweden_coring_states_tt - hidden_effect = { - 38 = { add_core_of = ROOT } - 124 = { add_core_of = ROOT } - 138 = { add_core_of = ROOT } - 139 = { add_core_of = ROOT } - 140 = { add_core_of = ROOT } - 141 = { add_core_of = ROOT } - 666 = { add_core_of = ROOT } - 913 = { add_core_of = ROOT } - 915 = { add_core_of = ROOT } - 916 = { add_core_of = ROOT } - 917 = { add_core_of = ROOT } - 918 = { add_core_of = ROOT } - 919 = { add_core_of = ROOT } - } - # Denmark / European Mainland - custom_effect_tooltip = form_scandinavia_denmark_coring_states_tt - hidden_effect = { - 37 = { add_core_of = ROOT } - 99 = { add_core_of = ROOT } - 910 = { add_core_of = ROOT } - 911 = { add_core_of = ROOT } - 912 = { add_core_of = ROOT } - } - # Finland - custom_effect_tooltip = form_country_finland_coring_states_tt - hidden_effect = { - 111 = { add_core_of = ROOT } - 145 = { add_core_of = ROOT } - 148 = { add_core_of = ROOT } - 149 = { add_core_of = ROOT } - 150 = { add_core_of = ROOT } - 926 = { add_core_of = ROOT } - 927 = { add_core_of = ROOT } - 928 = { add_core_of = ROOT } - 929 = { add_core_of = ROOT } - 930 = { add_core_of = ROOT } - # PETSAMO, SALLA and KARJALA left out intentionally - } - # Estonia - custom_effect_tooltip = form_country_estonia_coring_states_tt - hidden_effect = { - 13 = { add_core_of = ROOT } - 191 = { add_core_of = ROOT } - 811 = { add_core_of = ROOT } - 812 = { add_core_of = ROOT } - 813 = { add_core_of = ROOT } - } - # Latvia - custom_effect_tooltip = form_country_latvia_coring_states_tt - hidden_effect = { - 12 = { add_core_of = ROOT } - 190 = { add_core_of = ROOT } - 808 = { add_core_of = ROOT } - 809 = { add_core_of = ROOT } - 810 = { add_core_of = ROOT } - } - # Lithuania - custom_effect_tooltip = form_country_lithuania_coring_states_tt - hidden_effect = { - 11 = { add_core_of = ROOT } - 189 = { add_core_of = ROOT } - 188 = { add_core_of = ROOT } - 784 = { add_core_of = ROOT } - 814 = { add_core_of = ROOT } - 815 = { add_core_of = ROOT } - } - - hidden_effect = { - news_event = { id = aat_news.777 hours = 6 } - set_country_flag = form_nordic_nation_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_gran_colombia_category = { - - form_gran_colombia = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = PAN - original_tag = ECU - original_tag = COL - original_tag = VEN - original_tag = PRU - original_tag = CRC - original_tag = GYA - } - has_dlc = "Waking the Tiger" - } - - available = { - is_subject = no - controls_state = 490 - controls_state = 491 - controls_state = 304 - # Ecuador - custom_trigger_tooltip = { - tooltip = form_country_ecuador_required_states_tt - controls_state = 305 - controls_state = 649 - } - # Colombia - custom_trigger_tooltip = { - tooltip = form_country_colombia_required_states_tt - controls_state = 486 - controls_state = 306 - controls_state = 493 - } - # Venezuela - custom_trigger_tooltip = { - tooltip = form_country_venezuela_required_states_tt - controls_state = 489 - controls_state = 307 - controls_state = 488 - } - } - - visible = { - OR = { - original_tag = PAN - original_tag = ECU - original_tag = COL - original_tag = VEN - original_tag = PRU - } - NOT = { has_global_flag = form_gran_colombia_flag } - } - - complete_effect = { - set_cosmetic_tag = GCO_UNIFIED - 490 = { add_core_of = ROOT } - 491 = { add_core_of = ROOT } - 304 = { add_core_of = ROOT } - 685 = { add_core_of = ROOT } - 695 = { add_core_of = ROOT } - 687 = { add_core_of = ROOT } - # Ecuador - custom_effect_tooltip = form_country_ecuador_coring_states_tt - hidden_effect = { - 305 = { add_core_of = ROOT } - 649 = { add_core_of = ROOT } - } - # Colombia - custom_effect_tooltip = form_country_colombia_coring_states_tt - hidden_effect = { - 486 = { add_core_of = ROOT } - 306 = { add_core_of = ROOT } - 493 = { add_core_of = ROOT } - } - # Venezuela - custom_effect_tooltip = form_country_venezuela_coring_states_tt - hidden_effect = { - 489 = { add_core_of = ROOT } - 307 = { add_core_of = ROOT } - 488 = { add_core_of = ROOT } - } - - hidden_effect = { - news_event = { id = wtt_news.55 hours = 6 } - set_global_flag = form_gran_colombia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_austria_hungary_category = { - - form_austria_hungary = { - - icon = generic_form_nation - - highlight_states = { - highlight_state_targets = { - state = 102 - state = 853 - state = 103 - state = 104 - state = 804 - state = 109 - state = 45 - state = 83 - state = 76 - state = 84 - state = 764 - state = 82 - state = 848 - state = 153 - state = 152 - state = 4 - state = 975 - state = 976 - state = 69 - state = 9 - state = 75 - state = 74 - state = 72 - state = 70 - state = 664 - state = 71 - state = 73 - state = 972 - state = 155 - state = 43 - state = 973 - state = 974 - state = 154 - } - } - - on_map_mode = decision_view_only - - allowed = { - OR = { - original_tag = AUS - original_tag = CZE - original_tag = CRO - original_tag = SLO - original_tag = SLV - original_tag = TRA - original_tag = LBV - original_tag = BOS - original_tag = SIL - } - has_dlc = "Waking the Tiger" - } - - - available = { - is_subject = no - - custom_trigger_tooltip = { - tooltip = has_control_over_all_highlighted_states_tt - controls_state = 102 - controls_state = 853 - controls_state = 103 - controls_state = 104 - controls_state = 804 - controls_state = 109 - controls_state = 45 - controls_state = 83 - controls_state = 76 - controls_state = 84 - controls_state = 764 - controls_state = 82 - # Austria - controls_state = 848 - controls_state = 153 - controls_state = 152 - controls_state = 4 - controls_state = 975 - controls_state = 976 - - # Czechoslovakia - controls_state = 69 - controls_state = 9 - controls_state = 75 - controls_state = 74 - controls_state = 72 - controls_state = 70 - controls_state = 664 - controls_state = 71 - controls_state = 73 - controls_state = 972 - - # Hungary - controls_state = 155 - controls_state = 43 - controls_state = 973 - controls_state = 974 - controls_state = 154 - } - - } - - visible = { - OR = { - original_tag = AUS - original_tag = CZE - original_tag = CRO - original_tag = SLO - original_tag = SLV - original_tag = TRA - original_tag = LBV - original_tag = BOS - original_tag = SIL - } - NOT = { has_global_flag = form_austria_hungary_flag } - } - - complete_effect = { - set_cosmetic_tag = HUN_EMPIRE - - custom_effect_tooltip = generic_skip_one_line_tt - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - - hidden_effect = { - IF = { - limit = { - NOT = { tag = AUS } - } - AUS = { set_cosmetic_tag = AUS_NOT_WHITE } - } - - 102 = { add_core_of = ROOT } - 853 = { add_core_of = ROOT } - 103 = { add_core_of = ROOT } - 104 = { add_core_of = ROOT } - 804 = { add_core_of = ROOT } - 109 = { add_core_of = ROOT } - 45 = { add_core_of = ROOT } - 83 = { add_core_of = ROOT } - 76 = { add_core_of = ROOT } - 84 = { add_core_of = ROOT } - 39 = { add_core_of = ROOT } - 163 = { add_core_of = ROOT } - 736 = { add_core_of = ROOT } - 852 = { add_core_of = ROOT } - 850 = { add_core_of = ROOT } - 764 = { add_core_of = ROOT } - 82 = { add_core_of = ROOT } - - # Austria - custom_effect_tooltip = form_country_austria_coring_states_tt - hidden_effect = { - 848 = { add_core_of = ROOT } - 153 = { add_core_of = ROOT } - 152 = { add_core_of = ROOT } - 4 = { add_core_of = ROOT } - 975 = { add_core_of = ROOT } - 976 = { add_core_of = ROOT } - } - - # Czechoslovakia - custom_effect_tooltip = form_country_czechoslovakia_coring_states_tt - hidden_effect = { - 69 = { add_core_of = ROOT } - 9 = { add_core_of = ROOT } - 75 = { add_core_of = ROOT } - 74 = { add_core_of = ROOT } - 72 = { add_core_of = ROOT } - 70 = { add_core_of = ROOT } - 664 = { add_core_of = ROOT } - 71 = { add_core_of = ROOT } - 73 = { add_core_of = ROOT } - 972 = { add_core_of = ROOT } - } - - # Hungary - custom_effect_tooltip = form_country_hungary_coring_states_tt - hidden_effect = { - 155 = { add_core_of = ROOT } - 43 = { add_core_of = ROOT } - 973 = { add_core_of = ROOT } - 974 = { add_core_of = ROOT } - 154 = { add_core_of = ROOT } - } - - hidden_effect = { - news_event = { id = wtt_news.56 hours = 6 } - set_global_flag = form_austria_hungary_flag - } - } - - - } - - ai_will_do = { - factor = 202 - } - } - - reintegrate_austro_hungarian_empire = { - - icon = generic_form_nation - - allowed = { - original_tag = HUN - has_dlc = "Waking the Tiger" - } - - highlight_states = { - highlight_state_targets = { - state = 155 - state = 43 - state = 973 - state = 974 - state = 154 - state = 102 - state = 853 - state = 103 - state = 104 - state = 804 - state = 109 - state = 45 - state = 83 - state = 76 - state = 84 - state = 764 - state = 82 - state = 975 - state = 976 - state = 4 - state = 152 - state = 153 - state = 848 - state = 73 - state = 664 - state = 71 - state = 70 - state = 75 - state = 972 - state = 9 - state = 69 - state = 74 - state = 72 - state = 852 - state = 736 - state = 39 - state = 850 - state = 160 - state = 159 - state = 163 - } - } - - on_map_mode = decision_view_only - - visible = { - tag = HUN - OR = { - has_completed_focus = HUN_proclaim_the_restoration_of_austria_hungary - has_completed_focus = wuw_HUN_renovato_imperii - } - NOT = { has_global_flag = reintegrate_the_empire_flag } - } - - available = { - is_subject = no - controls_state = 155 - controls_state = 43 - controls_state = 973 - controls_state = 974 - controls_state = 154 - controls_state = 102 - controls_state = 853 - controls_state = 103 - controls_state = 104 - controls_state = 804 - controls_state = 109 - controls_state = 45 - controls_state = 83 - controls_state = 76 - controls_state = 84 - controls_state = 764 - controls_state = 82 - controls_state = 975 - controls_state = 976 - controls_state = 4 - controls_state = 152 - controls_state = 153 - controls_state = 848 - controls_state = 73 - controls_state = 664 - controls_state = 71 - controls_state = 70 - controls_state = 75 - controls_state = 972 - controls_state = 9 - controls_state = 69 - controls_state = 74 - controls_state = 72 - controls_state = 852 - controls_state = 736 - controls_state = 39 - controls_state = 850 - controls_state = 160 - controls_state = 159 - controls_state = 163 - } - - complete_effect = { - every_state = { - limit = { - NOT = { - is_core_of = ROOT - } - OR = { - state = 155 - state = 43 - state = 973 - state = 974 - state = 154 - state = 102 - state = 853 - state = 103 - state = 104 - state = 804 - state = 109 - state = 45 - state = 83 - state = 76 - state = 84 - state = 39 - state = 163 - state = 736 - state = 852 - state = 850 - state = 764 - state = 82 - state = 975 - state = 976 - state = 4 - state = 152 - state = 153 - state = 848 - state = 73 - state = 664 - state = 71 - state = 70 - state = 75 - state = 972 - state = 9 - state = 69 - state = 74 - state = 72 - state = 852 - state = 736 - state = 39 - state = 850 - state = 160 - state = 159 - state = 163 - } - } - add_core_of = ROOT - } - set_global_flag = reintegrate_the_empire_flag - } - - ai_will_do = { - factor = 202 - } - } -} - -form_commonwealth_category = { - - form_commonwealth = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = POL - original_tag = LIT - } - } - - available = { - is_subject = no - # Lithuania - custom_trigger_tooltip = { - tooltip = form_country_lithuania_required_states_tt - controls_state = 11 - controls_state = 189 - } - # Poland - custom_trigger_tooltip = { - tooltip = form_country_poland_required_states_tt - controls_state = 86 - controls_state = 87 - controls_state = 88 - controls_state = 90 - controls_state = 98 - controls_state = 10 - controls_state = 97 - controls_state = 92 - controls_state = 91 - controls_state = 89 - controls_state = 93 - controls_state = 94 - controls_state = 95 - controls_state = 96 - controls_state = 784 - } - OR = { - AND = { - original_tag = POL - core_compliance = { - occupied_country_tag = LIT - value > 80 - } - } - AND = { - original_tag = LIT - core_compliance = { - occupied_country_tag = POL - value > 80 - } - } - } - } - - visible = { - OR = { - original_tag = POL - original_tag = LIT - } - NOT = { has_global_flag = form_commonwealth_flag } - } - - complete_effect = { - if = { - limit = { has_cosmetic_tag = POL_KINGDOM_RUS } - set_cosmetic_tag = PLC_UNIFIED_RUS - } - else = { - set_cosmetic_tag = PLC_UNIFIED - } - POL_basic_form_commonwealth = yes - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_united_netherlands_category = { - - form_united_netherlands = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = HOL - original_tag = LUX - } - has_dlc = "Waking the Tiger" - } - - available = { - is_subject = no - controls_state = 8 - # Netherlands - custom_trigger_tooltip = { - tooltip = form_eu_netherlands_required_states_tt - controls_state = 7 - controls_state = 35 - controls_state = 36 - } - # Belgium - custom_trigger_tooltip = { - tooltip = form_eu_belgium_required_states_tt - controls_state = 6 - controls_state = 34 - controls_state = 977 - controls_state = 980 - } - } - - visible = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - } - NOT = { has_global_flag = form_united_netherlands_flag } - NOT = { has_global_flag = HOL_benelux_formed } - } - - complete_effect = { - set_cosmetic_tag = UNL_UNIFIED - 8 = { add_core_of = ROOT } - # Netherlands - custom_effect_tooltip = form_eu_netherlands_coring_states_tt - hidden_effect = { - 7 = { add_core_of = ROOT } - 35 = { add_core_of = ROOT } - 36 = { add_core_of = ROOT } - } - # Belgium - custom_effect_tooltip = form_eu_belgium_coring_states_tt - hidden_effect = { - 6 = { add_core_of = ROOT } - 34 = { add_core_of = ROOT } - 977 = { add_core_of = ROOT } - 980 = { add_core_of = ROOT } - } - hidden_effect = { - news_event = { id = wtt_news.58 hours = 6 } - set_global_flag = form_united_netherlands_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_united_central_america_category = { - - form_united_central_america = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = GUA - original_tag = ELS - original_tag = HON - original_tag = NIC - original_tag = COS - original_tag = BLZ - } - has_dlc = "Waking the Tiger" - } - - available = { - #is_subject = no - controls_state = 313 - controls_state = 314 - controls_state = 312 - controls_state = 317 - controls_state = 316 - } - - visible = { - OR = { - original_tag = GUA - original_tag = ELS - original_tag = HON - original_tag = NIC - original_tag = COS - original_tag = BLZ - } - NOT = { has_global_flag = form_united_central_america_flag } - } - - complete_effect = { - set_cosmetic_tag = USC_UNIFIED - 313 = { add_core_of = ROOT } - 314 = { add_core_of = ROOT } - 312 = { add_core_of = ROOT } - 317 = { add_core_of = ROOT } - 316 = { add_core_of = ROOT } - 311 = { add_core_of = ROOT } - hidden_effect = { - news_event = { id = wtt_news.59 hours = 6 } - set_global_flag = form_united_central_america_flag - } - } - - ai_will_do = { - factor = 200 - #modifier = { - # factor = 0 - # is_historical_focus_on = yes - #} - } - } - - integrate_northern_gran_colombia = { - - icon = GFX_decision_eng_trade_unions_support - - allowed = { - OR = { - original_tag = GUA - original_tag = ELS - original_tag = HON - original_tag = NIC - original_tag = COS - original_tag = BLZ - } - has_dlc = "Waking the Tiger" - } - - available = { - controls_state = 304 - } - - visible = { - OR = { - original_tag = GUA - original_tag = ELS - original_tag = HON - original_tag = NIC - original_tag = COS - } - has_global_flag = form_united_central_america_flag - NOT = { has_global_flag = integrated_panama_flag } - } - - complete_effect = { - 304 = { add_core_of = ROOT } - 685 = { add_core_of = ROOT } - hidden_effect = { - set_global_flag = integrated_panama_flag - } - } - - ai_will_do = { - factor = 500 - } - } - - integrate_yucatan = { - - icon = GFX_decision_eng_trade_unions_support - - allowed = { - OR = { - original_tag = GUA - original_tag = ELS - original_tag = HON - original_tag = NIC - original_tag = COS - original_tag = BLZ - } - has_dlc = "Waking the Tiger" - } - - available = { - controls_state = 474 - } - - visible = { - OR = { - original_tag = GUA - original_tag = ELS - original_tag = HON - original_tag = NIC - original_tag = COS - } - has_global_flag = form_united_central_america_flag - NOT = { has_global_flag = integrated_yucatan_flag } - } - - complete_effect = { - 474 = { add_core_of = ROOT } - 475 = { add_claim_by = ROOT } - hidden_effect = { - set_global_flag = integrated_yucatan_flag - } - } - - ai_will_do = { - factor = 500 - } - } -} - -form_baltic_federation_category = { - - form_baltic_federation = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = EST - original_tag = LAT - original_tag = LIT - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "No Step Back" - } - } - - available = { - is_subject = no - # Estonia - custom_trigger_tooltip = { - tooltip = form_country_estonia_required_states_tt - controls_state = 13 - controls_state = 191 - controls_state = 811 - controls_state = 812 - controls_state = 813 - } - # Latvia - custom_trigger_tooltip = { - tooltip = form_country_latvia_required_states_tt - controls_state = 12 - controls_state = 190 - controls_state = 808 - controls_state = 809 - controls_state = 810 - } - # Lithuania - custom_trigger_tooltip = { - tooltip = form_country_lithuania_required_states_tt - controls_state = 11 - controls_state = 189 - controls_state = 814 - controls_state = 815 - } - } - - visible = { - OR = { - original_tag = EST - original_tag = LAT - original_tag = LIT - } - NOT = { has_global_flag = form_baltic_federation_flag } - NOT = { has_cosmetic_tag = LIVONIA } - NOT = { has_completed_focus = LIT_claim_livonia_monarchy } - NOT = { has_completed_focus = LIT_POL_union } - } - - complete_effect = { - set_cosmetic_tag = BAL_UNIFIED - # Estonia - custom_effect_tooltip = form_country_estonia_coring_states_tt - hidden_effect = { - 13 = { add_core_of = ROOT } - 191 = { add_core_of = ROOT } - 811 = { add_core_of = ROOT } - 812 = { add_core_of = ROOT } - 813 = { add_core_of = ROOT } - } - # Latvia - custom_effect_tooltip = form_country_latvia_coring_states_tt - hidden_effect = { - 12 = { add_core_of = ROOT } - 190 = { add_core_of = ROOT } - 808 = { add_core_of = ROOT } - 809 = { add_core_of = ROOT } - 810 = { add_core_of = ROOT } - } - # Lithuania - custom_effect_tooltip = form_country_lithuania_coring_states_tt - hidden_effect = { - 11 = { add_core_of = ROOT } - 189 = { add_core_of = ROOT } - 188 = { add_core_of = ROOT } - 784 = { add_core_of = ROOT } - 814 = { add_core_of = ROOT } - 815 = { add_core_of = ROOT } - } - hidden_effect = { - news_event = { id = wtt_news.60 hours = 6 } - set_global_flag = form_baltic_federation_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_ottoman_empire_category = { - - form_ottoman_empire = { - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Waking the Tiger" - NOT = { has_dlc = "Battle for the Bosporus" } - } - - available = { - is_subject = no - controls_state = 679 - controls_state = 855 - controls_state = 856 - controls_state = 293 - controls_state = 454 - controls_state = 455 - controls_state = 656 - # Turkey - custom_trigger_tooltip = { - tooltip = form_country_turkey_required_states_tt - controls_state = 797 - controls_state = 341 - controls_state = 340 - controls_state = 339 - controls_state = 342 - controls_state = 343 - controls_state = 347 - controls_state = 49 - controls_state = 798 - controls_state = 346 - controls_state = 345 - controls_state = 356 - controls_state = 348 - controls_state = 344 - controls_state = 355 - controls_state = 349 - controls_state = 350 - controls_state = 354 - controls_state = 353 - controls_state = 352 - controls_state = 800 - controls_state = 799 - } - # Iraq - custom_trigger_tooltip = { - tooltip = form_country_iraq_required_states_tt - controls_state = 676 - controls_state = 675 - controls_state = 291 - controls_state = 1010 - controls_state = 1011 - } - # France - custom_trigger_tooltip = { - tooltip = form_persia_france_required_states_tt - # Syria - controls_state = 677 - controls_state = 680 - controls_state = 553 - controls_state = 554 - } - } - - visible = { - original_tag = TUR - NOT = { has_global_flag = form_ottoman_empire_flag } - } - - complete_effect = { - set_cosmetic_tag = OTT_UNIFIED - 679 = { add_core_of = ROOT } - 855 = { add_core_of = ROOT } - 856 = { add_core_of = ROOT } - 293 = { add_core_of = ROOT } - 665 = { add_core_of = ROOT } - 458 = { add_core_of = ROOT } - # Iraq - custom_effect_tooltip = form_country_iraq_coring_states_tt - hidden_effect = { - 676 = { add_core_of = ROOT } - 675 = { add_core_of = ROOT } - 291 = { add_core_of = ROOT } - 1010 = { add_core_of = ROOT } - 1011 = { add_core_of = ROOT } - } - # France - custom_effect_tooltip = form_persia_france_coring_states_tt - hidden_effect = { - 677 = { add_core_of = ROOT } - 799 = { add_core_of = ROOT } - 680 = { add_core_of = ROOT } - 553 = { add_core_of = ROOT } - 554 = { add_core_of = ROOT } - } - # Italian North Africa and Dodecanese - custom_effect_tooltip = form_ottoman_italy_coring_states_tt - hidden_effect = { - 448 = { add_core_of = ROOT } - 661 = { add_core_of = ROOT } - 449 = { add_core_of = ROOT } - 662 = { add_core_of = ROOT } - 450 = { add_core_of = ROOT } - 451 = { add_core_of = ROOT } - 663 = { add_core_of = ROOT } - 164 = { add_core_of = ROOT } - } - # Britain - custom_effect_tooltip = form_persia_britain_coring_states_tt - hidden_effect = { - 452 = { add_core_of = ROOT } - 447 = { add_core_of = ROOT } - 446 = { add_core_of = ROOT } - 456 = { add_core_of = ROOT } - 457 = { add_core_of = ROOT } - 453 = { add_core_of = ROOT } - 454 = { add_core_of = ROOT } - 455 = { add_core_of = ROOT } - 183 = { add_core_of = ROOT } - 656 = { add_core_of = ROOT } - 907 = { add_core_of = ROOT } - } - hidden_effect = { - news_event = { id = wtt_news.61 hours = 6 } - set_global_flag = form_ottoman_empire_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ott_reform_the_eyalet_of_rumelia = { #Greece + Albania + Bulgaria + South Yugoslavia - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - OR = { - has_country_leader = { - character = TUR_abdulmejid_ii - ruling_only = yes - } - has_country_leader = { - character = TUR_durrushehvar_i - ruling_only = yes - } - } - #Greece - custom_trigger_tooltip = { - tooltip = form_rumelia_greece_required_states_tt - controls_state = 47 - controls_state = 185 - controls_state = 731 - controls_state = 184 - } - #Bulgaria - custom_trigger_tooltip = { - tooltip = form_rumelia_bulgaria_required_states_tt - controls_state = 48 - controls_state = 801 - controls_state = 212 - controls_state = 211 - } - #Yugoslavia - custom_trigger_tooltip = { - tooltip = form_rumelia_yugoslavia_required_states_tt - controls_state = 106 - controls_state = 970 - controls_state = 803 - controls_state = 802 - controls_state = 108 - controls_state = 105 - controls_state = 107 - } - #Albania - custom_trigger_tooltip = { - tooltip = form_rumelia_albania_required_states_tt - controls_state = 44 - controls_state = 805 - controls_state = 934 - } - } - visible = { - original_tag = TUR - NOT = { has_global_flag = ottoman_balkans_flag } - has_completed_focus = TUR_reclaim_macedonia - } - - complete_effect = { - # Greece - custom_effect_tooltip = form_rumelia_greece_coring_states_tt - hidden_effect = { - 47 = { add_core_of = ROOT } - 185 = { add_core_of = ROOT } - 731 = { add_core_of = ROOT } - 184 = { add_core_of = ROOT } - } - # Bulgaria - custom_effect_tooltip = form_rumelia_bulgaria_coring_states_tt - hidden_effect = { - 48 = { add_core_of = ROOT } - 801 = { add_core_of = ROOT } - 212 = { add_core_of = ROOT } - 211 = { add_core_of = ROOT } - } - # Yugoslavia - custom_effect_tooltip = form_rumelia_yugoslavia_coring_states_tt - hidden_effect = { - 106 = { add_core_of = ROOT } - 970 = { add_core_of = ROOT } - 803 = { add_core_of = ROOT } - 802 = { add_core_of = ROOT } - 108 = { add_core_of = ROOT } - 105 = { add_core_of = ROOT } - 107 = { add_core_of = ROOT } - } - custom_effect_tooltip = form_rumelia_albania_coring_states_tt - hidden_effect = { - 44 = { add_core_of = ROOT } - 805 = { add_core_of = ROOT } - 934 = { add_core_of = ROOT } - } - hidden_effect = { - set_global_flag = ottoman_balkans_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ott_merge_the_eyalets_of_morea_crete_and_kibris = { #Greece + Cyprus - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - OR = { - has_country_leader = { - character = TUR_abdulmejid_ii - ruling_only = yes - } - has_country_leader = { - character = TUR_durrushehvar_i - ruling_only = yes - } - } - #Greece - controls_state = 186 - controls_state = 182 - controls_state = 187 - controls_state = 164 #Dodecanese - controls_state = 183 #Cyprus - } - - visible = { - original_tag = TUR - NOT = { has_global_flag = ottoman_greece_flag } - has_completed_focus = TUR_reclaim_macedonia - } - - complete_effect = { - 186 = { add_core_of = ROOT } - 182 = { add_core_of = ROOT } - 187 = { add_core_of = ROOT } - 164 = { add_core_of = ROOT } - 183 = { add_core_of = ROOT } - hidden_effect = { - set_global_flag = ottoman_greece_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ott_enlarge_the_vilayet_of_bosnia = { #Bosnia + Croatia - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - OR = { - has_country_leader = { - character = TUR_abdulmejid_ii - ruling_only = yes - } - has_country_leader = { - character = TUR_durrushehvar_i - ruling_only = yes - } - } - controls_state = 104 - controls_state = 804 - controls_state = 103 - } - - visible = { - original_tag = TUR - NOT = { has_global_flag = ottoman_bosnia_flag } - has_completed_focus = TUR_reclaiming_our_lost_empire - } - - complete_effect = { - 104 = { add_core_of = ROOT } - 804 = { add_core_of = ROOT } - 103 = { add_core_of = ROOT } - hidden_effect = { - set_global_flag = ottoman_bosnia_flag - 163 = { add_core_of = ROOT } - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ott_restore_the_vilayet_of_the_danube_and_moldova = { #Romania - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - OR = { - has_country_leader = { - character = TUR_abdulmejid_ii - ruling_only = yes - } - has_country_leader = { - character = TUR_durrushehvar_i - ruling_only = yes - } - } - controls_state = 46 - controls_state = 971 - controls_state = 79 - controls_state = 81 - controls_state = 77 - controls_state = 766 - controls_state = 84 - controls_state = 76 - controls_state = 83 - controls_state = 82 - } - - visible = { - original_tag = TUR - NOT = { has_global_flag = ottoman_romania_flag } - has_completed_focus = TUR_reclaiming_our_lost_empire - } - - complete_effect = { - 46 = { add_core_of = ROOT } - 971 = { add_core_of = ROOT } - 79 = { add_core_of = ROOT } - 81 = { add_core_of = ROOT } - 77 = { add_core_of = ROOT } - 766 = { add_core_of = ROOT } - 84 = { add_core_of = ROOT } - 76 = { add_core_of = ROOT } - 83 = { add_core_of = ROOT } - 82 = { add_core_of = ROOT } - hidden_effect = { - set_global_flag = ottoman_romania_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ott_restore_the_vilayet_of_halep = { #Syria - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - OR = { - has_country_leader = { - character = TUR_abdulmejid_ii - ruling_only = yes - } - has_country_leader = { - character = TUR_durrushehvar_i - ruling_only = yes - } - } - # France - custom_trigger_tooltip = { - tooltip = form_persia_france_required_states_tt - # Syria - controls_state = 680 - controls_state = 554 - controls_state = 799 - controls_state = 677 - } - } - - visible = { - original_tag = TUR - NOT = { has_global_flag = ottoman_syria_flag } - OR = { - has_completed_focus = TUR_reclaiming_our_lost_empire - has_completed_focus = TUR_the_damascus_diktat - } - } - - complete_effect = { - # French Syria - custom_effect_tooltip = form_ottoman_syria_coring_states_tt #only Syria formable decision that doesn't and shouldn't core Lebanon, that's its own decision - hidden_effect = { - 677 = { add_core_of = ROOT } - 680 = { add_core_of = ROOT } - 554 = { add_core_of = ROOT } - 799 = { add_core_of = ROOT } - } - hidden_effect = { - set_global_flag = ottoman_syria_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ott_restore_the_vilayet_of_beirut = { #Lebanon + Levant - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - OR = { - has_country_leader = { - character = TUR_abdulmejid_ii - ruling_only = yes - } - has_country_leader = { - character = TUR_durrushehvar_i - ruling_only = yes - } - } - controls_state = 454 - controls_state = 455 - controls_state = 553 - } - - visible = { - original_tag = TUR - NOT = { has_global_flag = ottoman_levant_flag } - has_completed_focus = TUR_reclaiming_our_lost_empire - } - - complete_effect = { - 454 = { add_core_of = ROOT } - 455 = { add_core_of = ROOT } - 553 = { add_core_of = ROOT } - hidden_effect = { - set_global_flag = ottoman_levant_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ott_restore_the_vilayet_of_baghdad = { #Iraq - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - OR = { - has_country_leader = { - character = TUR_abdulmejid_ii - ruling_only = yes - } - has_country_leader = { - character = TUR_durrushehvar_i - ruling_only = yes - } - } - # Iraq - custom_trigger_tooltip = { - tooltip = form_country_iraq_required_states_tt - controls_state = 676 - controls_state = 675 - controls_state = 291 - controls_state = 1010 - controls_state = 1011 - } - } - - visible = { - original_tag = TUR - NOT = { has_global_flag = ottoman_mesopotamia_flag } - has_completed_focus = TUR_reclaiming_our_lost_empire - } - - complete_effect = { - # Iraq - custom_effect_tooltip = form_country_iraq_coring_states_tt - hidden_effect = { - 676 = { add_core_of = ROOT } - 675 = { add_core_of = ROOT } - 291 = { add_core_of = ROOT } - 1010 = { add_core_of = ROOT } - 1011 = { add_core_of = ROOT } - } - hidden_effect = { - set_global_flag = ottoman_mesopotamia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ott_extend_the_lasha_eyalet = { #Arabia + Gulf + Oman - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - OR = { - has_country_leader = { - character = TUR_abdulmejid_ii - ruling_only = yes - } - has_country_leader = { - character = TUR_durrushehvar_i - ruling_only = yes - } - } - controls_state = 656 - controls_state = 765 - controls_state = 658 - controls_state = 292 - controls_state = 678 - controls_state = 857 - controls_state = 858 - controls_state = 854 - controls_state = 859 - controls_state = 1014 - controls_state = 1013 - - } - - visible = { - original_tag = TUR - NOT = { has_global_flag = ottoman_arabia_flag } - has_completed_focus = TUR_reclaiming_our_lost_empire - } - - complete_effect = { - 656 = { add_core_of = ROOT } - 765 = { add_core_of = ROOT } - 658 = { add_core_of = ROOT } - 292 = { add_core_of = ROOT } - 857 = { add_core_of = ROOT } - 858 = { add_core_of = ROOT } - 854 = { add_core_of = ROOT } - 855 = { add_core_of = ROOT } - 856 = { add_core_of = ROOT } - 859 = { add_core_of = ROOT } - 678 = { add_core_of = ROOT } - 294 = { add_core_of = ROOT } - 857 = { add_core_of = ROOT } - 858 = { add_core_of = ROOT } - 854 = { add_core_of = ROOT } - 859 = { add_core_of = ROOT } - 1014 = { add_core_of = ROOT } - 1013 = { add_core_of = ROOT } - 1015 = { add_core_of = ROOT } - 1016 = { add_core_of = ROOT } - create_wargoal = { - type = annex_everything - target = OMA - } - hidden_effect = { - set_global_flag = ottoman_arabia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ott_merge_the_eyalets_of_jeddah_habesh_and_yemen = { #Yemen + Hejaz - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - OR = { - has_country_leader = { - character = TUR_abdulmejid_ii - ruling_only = yes - } - has_country_leader = { - character = TUR_durrushehvar_i - ruling_only = yes - } - } - controls_state = 679 - controls_state = 293 - controls_state = 659 - controls_state = 855 - controls_state = 856 - controls_state = 992 - } - - visible = { - original_tag = TUR - NOT = { has_global_flag = ottoman_yemen_flag } - has_completed_focus = TUR_reclaiming_our_lost_empire - } - - complete_effect = { - 679 = { add_core_of = ROOT } - 293 = { add_core_of = ROOT } - 659 = { add_core_of = ROOT } - 855 = { add_core_of = ROOT } - 856 = { add_core_of = ROOT } - 992 = { add_core_of = ROOT } - hidden_effect = { - set_global_flag = ottoman_yemen_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ott_integrate_the_khedivate_of_egypt = { #Egypt - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - OR = { - has_country_leader = { - character = TUR_abdulmejid_ii - ruling_only = yes - } - has_country_leader = { - character = TUR_durrushehvar_i - ruling_only = yes - } - } - controls_state = 446 - controls_state = 447 - controls_state = 453 - controls_state = 452 - controls_state = 456 - controls_state = 457 - controls_state = 552 - controls_state = 767 - controls_state = 551 - controls_state = 883 - controls_state = 907 - } - - visible = { - original_tag = TUR - NOT = { has_global_flag = ottoman_egypt_flag } - has_completed_focus = TUR_reclaiming_our_lost_empire - } - - complete_effect = { - 446 = { add_core_of = ROOT } - 447 = { add_core_of = ROOT } - 453 = { add_core_of = ROOT } - 452 = { add_core_of = ROOT } - 456 = { add_core_of = ROOT } - 457 = { add_core_of = ROOT } - 552 = { add_core_of = ROOT } - 767 = { add_core_of = ROOT } - 551 = { add_core_of = ROOT } - 883 = { add_core_of = ROOT } - 907 = { add_core_of = ROOT } - hidden_effect = { - set_global_flag = ottoman_egypt_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ott_restore_the_vilayet_of_tripolitania = { #Libya - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - OR = { - has_country_leader = { - character = TUR_abdulmejid_ii - ruling_only = yes - } - has_country_leader = { - character = TUR_durrushehvar_i - ruling_only = yes - } - } - controls_state = 448 - controls_state = 661 - controls_state = 449 - controls_state = 662 - controls_state = 450 - controls_state = 451 - controls_state = 663 - } - - visible = { - original_tag = TUR - NOT = { has_global_flag = ottoman_libya_flag } - has_completed_focus = TUR_reclaiming_our_lost_empire - } - - complete_effect = { - # Italian North Africa - custom_effect_tooltip = form_ottoman_italy_coring_states_tt - hidden_effect = { - 448 = { add_core_of = ROOT } - 661 = { add_core_of = ROOT } - 449 = { add_core_of = ROOT } - 662 = { add_core_of = ROOT } - 450 = { add_core_of = ROOT } - 451 = { add_core_of = ROOT } - 663 = { add_core_of = ROOT } - } - hidden_effect = { - set_global_flag = ottoman_libya_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ott_absorb_the_tunis_and_algerian_eyalets = { #Tunisia + Algeria - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - OR = { - has_country_leader = { - character = TUR_abdulmejid_ii - ruling_only = yes - } - has_country_leader = { - character = TUR_durrushehvar_i - ruling_only = yes - } - } - controls_state = 458 - controls_state = 665 - controls_state = 459 - controls_state = 460 - controls_state = 513 - } - - visible = { - original_tag = TUR - NOT = { has_global_flag = ottoman_tunisia_flag } - has_completed_focus = TUR_reclaiming_our_lost_empire - } - - complete_effect = { - 458 = { add_core_of = ROOT } - 665 = { add_core_of = ROOT } - 459 = { add_core_of = ROOT } - 460 = { add_core_of = ROOT } - 513 = { add_core_of = ROOT } - hidden_effect = { - set_global_flag = ottoman_tunisia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_european_union_category = { - - form_european_union = { - - icon = generic_form_nation - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 8 - state = 7 - state = 35 - state = 36 - state = 6 - state = 34 - state = 977 - state = 980 - state = 29 - state = 18 - state = 17 - state = 28 - state = 15 - state = 16 - state = 27 - state = 14 - state = 30 - state = 24 - state = 23 - state = 33 - state = 26 - state = 20 - state = 32 - state = 735 - state = 25 - state = 22 - state = 21 - state = 851 - state = 19 - state = 1 - state = 785 - state = 31 - state = 806 - state = 158 - state = 159 - state = 39 - state = 160 - state = 161 - state = 162 - state = 157 - state = 2 - state = 117 - state = 156 - state = 115 - state = 114 - state = 736 - state = 849 - state = 850 - state = 852 - state = 51 - state = 42 - state = 56 - state = 57 - state = 55 - state = 50 - state = 978 - state = 59 - state = 58 - state = 909 - state = 60 - state = 54 - state = 52 - state = 53 - state = 61 - state = 64 - state = 65 - state = 62 - state = 68 - state = 66 - state = 67 - state = 63 - state = 5 - state = 763 - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - - OR = { - AND = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - } - has_government = democratic - } - AND = { - original_tag = ENG - has_country_leader = { - character = ENG_oswald_mosley - ruling_only = yes - } - has_completed_focus = ENG_imperial_federation - } - AND = { - original_tag = HUN - has_country_leader = { - character = HUN_otto_von_habsburg - ruling_only = yes - } - has_government = neutrality - has_completed_focus = wuw_HUN_renovato_imperii - } - AND = { - original_tag = AUS - OR = { - AND = { - has_country_leader = { - character = HUN_otto_von_habsburg - ruling_only = yes - } - has_completed_focus = AUS_the_danubian_federation - is_faction_leader = yes - } - AND = { - has_completed_focus = AUS_the_right_to_self_determination - has_government = democratic - } - } - } - AND = { - original_tag = GER - has_completed_focus = GER_european_confederation - } - } - - NOT = { has_global_flag = form_european_union_flag } - - is_major = yes - - } - - available = { - is_subject = no - - controls_state = 8 - - # Netherlands - custom_trigger_tooltip = { - tooltip = form_eu_netherlands_required_states_tt - controls_state = 7 - controls_state = 35 - controls_state = 36 - } - - # Belgium - custom_trigger_tooltip = { - tooltip = form_eu_belgium_required_states_tt - controls_state = 6 - controls_state = 34 - controls_state = 977 - controls_state = 980 - } - - # France - custom_trigger_tooltip = { - tooltip = form_eu_france_required_states_tt - controls_state = 29 - controls_state = 18 - controls_state = 17 - controls_state = 28 - controls_state = 15 - controls_state = 16 - controls_state = 27 - controls_state = 14 - controls_state = 30 - controls_state = 24 - controls_state = 23 - controls_state = 33 - controls_state = 26 - controls_state = 20 - controls_state = 32 - controls_state = 735 - controls_state = 25 - controls_state = 22 - controls_state = 21 - controls_state = 851 - controls_state = 19 - controls_state = 1 - controls_state = 785 - controls_state = 31 - controls_state = 806 - } - - # Italy - custom_trigger_tooltip = { - tooltip = form_eu_italy_required_states_tt - controls_state = 158 - controls_state = 159 - controls_state = 39 - controls_state = 160 - controls_state = 161 - controls_state = 162 - controls_state = 157 - controls_state = 2 - controls_state = 117 - controls_state = 156 - controls_state = 115 - controls_state = 114 - controls_state = 736 - controls_state = 849 - controls_state = 850 - controls_state = 852 - } - - # Germany - custom_trigger_tooltip = { - tooltip = form_country_germany_required_states_tt - controls_state = 51 - controls_state = 42 - controls_state = 56 - controls_state = 57 - controls_state = 55 - controls_state = 50 - controls_state = 978 #BADEN - controls_state = 59 - controls_state = 58 - controls_state = 909 #New state of SCHLESWIG - controls_state = 60 - controls_state = 54 - controls_state = 52 - controls_state = 53 - controls_state = 61 - controls_state = 64 - controls_state = 65 - controls_state = 62 - controls_state = 68 - controls_state = 66 - controls_state = 67 - controls_state = 63 - controls_state = 5 - controls_state = 763 - } - } - - complete_effect = { - - IF = { - limit = { - NOT = { original_tag = ENG } - } - set_cosmetic_tag = EUR_UNIFIED - } - ELSE = { - set_cosmetic_tag = ENG_imperial_federation_unified #Europe-a-Nation - } - - 8 = { add_core_of = ROOT } # Luxembourg - - # Netherlands - custom_effect_tooltip = form_eu_netherlands_coring_states_tt - hidden_effect = { - 7 = { add_core_of = ROOT } # Holland - 35 = { add_core_of = ROOT } # Brabant - 36 = { add_core_of = ROOT } # Friesland - } - - # Belgium - custom_effect_tooltip = form_eu_belgium_coring_states_tt - hidden_effect = { - 6 = { add_core_of = ROOT } # Vlaanderen - 34 = { add_core_of = ROOT } # Wallonie - 977 = { add_core_of = ROOT } # Antwerp - 980 = { add_core_of = ROOT } # Ardennes - } - - # France - custom_effect_tooltip = form_eu_france_coring_states_tt - hidden_effect = { - 29 = { add_core_of = ROOT } # Nord-pas-de-calais - 18 = { add_core_of = ROOT } # Champagne - 17 = { add_core_of = ROOT } # Franche-Comte - 28 = { add_core_of = ROOT } # Alsace-Lorraine - 15 = { add_core_of = ROOT } # Normandy - 16 = { add_core_of = ROOT } # Ile de France - 27 = { add_core_of = ROOT } # Bourgogne - 14 = { add_core_of = ROOT } # Brittany - 30 = { add_core_of = ROOT } # Loire - 24 = { add_core_of = ROOT } # Centre - 23 = { add_core_of = ROOT } # Poitou - 33 = { add_core_of = ROOT } # Centre-sud - 26 = { add_core_of = ROOT } # Auveragne - 20 = { add_core_of = ROOT } # Rhone - 32 = { add_core_of = ROOT } # Alpes - 735 = { add_core_of = ROOT } # Savoy - 25 = { add_core_of = ROOT } # Limousin - 22 = { add_core_of = ROOT } # Languedoc - 21 = { add_core_of = ROOT } # Bouches-du-Rhone - 851 = { add_core_of = ROOT } # Var - 19 = { add_core_of = ROOT } # Aquitaine - 1 = { add_core_of = ROOT } # Corsica - 785 = { add_core_of = ROOT } # Picardy - 31 = { add_core_of = ROOT } # Midi Pyrinees - 806 = { add_core_of = ROOT } # Pyrinees-Atlantique - } - - # Italy - custom_effect_tooltip = form_eu_italy_coring_states_tt - hidden_effect = { - 158 = { add_core_of = ROOT } # Piemonte - 159 = { add_core_of = ROOT } # Lombardy - 39 = { add_core_of = ROOT } # Alto Adige - 160 = { add_core_of = ROOT } # Venice - 161 = { add_core_of = ROOT } # Emilia Romagna - 162 = { add_core_of = ROOT } # Tuscany - 157 = { add_core_of = ROOT } # Abruzzo - 2 = { add_core_of = ROOT } # Lazio - 117 = { add_core_of = ROOT } # Campania - 156 = { add_core_of = ROOT } # Calbria - 115 = { add_core_of = ROOT } # Sicily - 114 = { add_core_of = ROOT } # Sardinia - 736 = { add_core_of = ROOT } # Litorale - 163 = { add_core_of = ROOT } # Zara - 849 = { add_core_of = ROOT } # Puglia - 850 = { add_core_of = ROOT } # Trentino - 852 = { add_core_of = ROOT } # Istria - } - - # Germany - custom_effect_tooltip = form_country_germany_coring_states_tt - hidden_effect = { - 51 = { add_core_of = ROOT } # Rhineland - 42 = { add_core_of = ROOT } # Moselland - 56 = { add_core_of = ROOT } # Weser-ems - 57 = { add_core_of = ROOT } # Westfalen - 55 = { add_core_of = ROOT } # Hessen - 50 = { add_core_of = ROOT } # Wurttemberg - 978 = { add_core_of = ROOT } # Baden - 59 = { add_core_of = ROOT } # Hannover - 58 = { add_core_of = ROOT } # Holstein - 909 = { add_core_of = ROOT } # Schleswig - 60 = { add_core_of = ROOT } # Thuringia - 54 = { add_core_of = ROOT } # Franken - 52 = { add_core_of = ROOT } # Oberbayern - 53 = { add_core_of = ROOT } # Niederbayern - 61 = { add_core_of = ROOT } # Mecklenburg - 64 = { add_core_of = ROOT } # Brandenberg - 65 = { add_core_of = ROOT } # Sachsen - 62 = { add_core_of = ROOT } # Vorpommern - 68 = { add_core_of = ROOT } # Ostmark - 66 = { add_core_of = ROOT } # Niederschlesien - 67 = { add_core_of = ROOT } # Oberschlesien - 63 = { add_core_of = ROOT } # Hinterpommern - 5 = { add_core_of = ROOT } # Ermland-Masuren - 763 = { add_core_of = ROOT } # Königsberg - } - - 116 = { add_core_of = ROOT } # Malta - - hidden_effect = { - news_event = { id = wtt_news.62 hours = 6 } - set_global_flag = form_european_union_flag - set_country_flag = form_european_union_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_alpine_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 845 # Jura Mountains - state = 3 # Swiss Plateu - state = 847 # Western Swiss Alps - state = 846 # Ticino - state = 151 # Eastern Swiss Alps - state = 848 # Vorarlberg - state = 153 # Tyrol - state = 152 # Oberösterreich - state = 976 # Steiermark-Kärnten - state = 4 # Niederösterreich - state = 975 # Burgenland - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_alpine_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 845 # Jura Mountains - controls_state = 3 # Swiss Plateu - controls_state = 847 # Western Swiss Alps - controls_state = 846 # Ticino - controls_state = 151 # Eastern Swiss Alps - controls_state = 848 # Vorarlberg - controls_state = 153 # Tyrol - controls_state = 152 # Oberösterreich - controls_state = 976 # Steiermark-Kärnten - controls_state = 4 # Niederösterreich - controls_state = 975 # Burgenland - } - - days_remove = 70 - - # YES it is intentional that these don't have any cancel triggers! - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 845 # Jura Mountains - state = 3 # Swiss Plateu - state = 847 # Western Swiss Alps - state = 846 # Ticino - state = 151 # Eastern Swiss Alps - state = 848 # Vorarlberg - state = 153 # Tyrol - state = 152 # Oberösterreich - state = 976 # Steiermark-Kärnten - state = 4 # Niederösterreich - state = 975 # Burgenland - } - } - add_core_of = ROOT - } - } - - hidden_effect = { - set_global_flag = EU_integrated_alpine_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_iberian_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 177 # Islas Baleares - state = 165 # Catalonia - state = 167 # Valencia - state = 794 # Eastern Aragon - state = 166 # Western Aragon - state = 172 # Navarra - state = 792 # Pais Vasco - state = 790 # Asturias - state = 171 # Galicia - state = 174 # Leon - state = 791 # Valladolid - state = 176 # Burgos - state = 793 # Guadalajara - state = 168 # Murcia - state = 788 # Salamanca - state = 41 # Madrid - state = 175 # Ciudad Real - state = 170 # Extramadura - state = 789 # Cordoba - state = 173 # Granada - state = 169 # Sevilla - state = 118 # Gibraltar - state = 180 # Porto - state = 181 # Guarda - state = 112 # Lisbon - state = 795 # Santarem - state = 179 # Beja - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_iberian_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 177 # Islas Baleares - controls_state = 165 # Catalonia - controls_state = 167 # Valencia - controls_state = 794 # Eastern Aragon - controls_state = 166 # Western Aragon - controls_state = 172 # Navarra - controls_state = 792 # Pais Vasco - controls_state = 790 # Asturias - controls_state = 171 # Galicia - controls_state = 174 # Leon - controls_state = 791 # Valladolid - controls_state = 176 # Burgos - controls_state = 793 # Guadalajara - controls_state = 168 # Murcia - controls_state = 788 # Salamanca - controls_state = 41 # Madrid - controls_state = 175 # Ciudad Real - controls_state = 170 # Extramadura - controls_state = 789 # Cordoba - controls_state = 173 # Granada - controls_state = 169 # Sevilla - controls_state = 118 # Gibraltar - controls_state = 180 # Porto - controls_state = 181 # Guarda - controls_state = 112 # Lisbon - controls_state = 795 # Santarem - controls_state = 179 # Beja - } - - days_remove = 70 - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 177 # Islas Baleares - state = 165 # Catalonia - state = 167 # Valencia - state = 794 # Eastern Aragon - state = 166 # Western Aragon - state = 172 # Navarra - state = 792 # Pais Vasco - state = 790 # Asturias - state = 171 # Galicia - state = 174 # Leon - state = 791 # Valladolid - state = 176 # Burgos - state = 793 # Guadalajara - state = 168 # Murcia - state = 788 # Salamanca - state = 41 # Madrid - state = 175 # Ciudad Real - state = 170 # Extramadura - state = 789 # Cordoba - state = 173 # Granada - state = 169 # Sevilla - state = 118 # Gibraltar - state = 180 # Porto - state = 181 # Guarda - state = 112 # Lisbon - state = 795 # Santarem - state = 179 # Beja - } - } - add_core_of = ROOT - } - } - - hidden_effect = { - set_global_flag = EU_integrated_iberian_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_west_slavic_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 69 # North Sudetenland - state = 972 # South Sudetenland - state = 9 # Bohemia - state = 75 # Moravia - state = 74 # Czech Silesia - state = 72 # Zaolzie - state = 70 # Western Slovakia - state = 664 # Southern Slovakia - state = 71 # Eastern Slovakia - state = 73 # Carpathian Ruthenia - state = 762 # Katowice - state = 86 # Poznan - state = 85 # Danzig - state = 807 # Gdynia - state = 98 # Plock - state = 87 # Lodz - state = 10 # Warsaw - state = 90 # Kielce - state = 88 # Krakow - state = 89 # Stanislawow - state = 91 # Lwow - state = 92 # Lublin - state = 97 # Bialystok - state = 95 # Nowgrodek - state = 96 # Wiljeka - state = 784 # Wilno - state = 94 # Polesie - state = 93 # Wolyn - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_west_slavic_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 69 # North Sudetenland - controls_state = 972 # South Sudetenland - controls_state = 9 # Bohemia - controls_state = 75 # Moravia - controls_state = 74 # Czech Silesia - controls_state = 72 # Zaolzie - controls_state = 70 # Western Slovakia - controls_state = 664 # Southern Slovakia - controls_state = 71 # Eastern Slovakia - controls_state = 73 # Carpathian Ruthenia - controls_state = 762 # Katowice - controls_state = 86 # Poznan - controls_state = 85 # Danzig - controls_state = 807 # Gdynia - controls_state = 98 # Plock - controls_state = 87 # Lodz - controls_state = 10 # Warsaw - controls_state = 90 # Kielce - controls_state = 88 # Krakow - controls_state = 89 # Stanislawow - controls_state = 91 # Lwow - controls_state = 92 # Lublin - controls_state = 97 # Bialystok - controls_state = 95 # Nowgrodek - controls_state = 96 # Wiljeka - controls_state = 784 # Wilno - controls_state = 94 # Polesie - controls_state = 93 # Wolyn - } - - days_remove = 70 - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 69 # North Sudetenland - state = 972 # South Sudetenland - state = 9 # Bohemia - state = 75 # Moravia - state = 74 # Czech Silesia - state = 72 # Zaolzie - state = 70 # Western Slovakia - state = 664 # Southern Slovakia - state = 71 # Eastern Slovakia - state = 73 # Carpathian Ruthenia - state = 762 # Katowice - state = 86 # Poznan - state = 85 # Danzig - state = 807 # Gdynia - state = 98 # Plock - state = 87 # Lodz - state = 10 # Warsaw - state = 90 # Kielce - state = 88 # Krakow - state = 89 # Stanislawow - state = 91 # Lwow - state = 92 # Lublin - state = 97 # Bialystok - state = 95 # Nowgrodek - state = 96 # Wiljeka - state = 784 # Wilno - state = 94 # Polesie - state = 93 # Wolyn - } - } - add_core_of = ROOT - } - } - - hidden_effect = { - set_global_flag = EU_integrated_west_slavic_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_baltic_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 188 # Memel - state = 189 # Semigallen - state = 814 # Sudava - state = 11 # Kaunas - state = 815 # Aukstailjia - state = 190 # Kurzeme - state = 809 # Zemgale - state = 808 # Riga - state = 810 # Latgale - state = 12 # Vidzeme - state = 191 # Tartu - state = 13 # Pärnu - state = 813 # Virumaa - state = 812 # Harju - state = 811 # Saremaa - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_baltic_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 188 # Memel - controls_state = 189 # Semigallen - controls_state = 814 # Sudava - controls_state = 11 # Kaunas - controls_state = 815 # Aukstailjia - controls_state = 190 # Kurzeme - controls_state = 809 # Zemgale - controls_state = 808 # Riga - controls_state = 810 # Latgale - controls_state = 12 # Vidzeme - controls_state = 191 # Tartu - controls_state = 13 # Pärnu - controls_state = 813 # Virumaa - controls_state = 812 # Harju - controls_state = 811 # Saremaa - } - - days_remove = 70 - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 188 # Memel - state = 189 # Semigallen - state = 814 # Sudava - state = 11 # Kaunas - state = 815 # Aukstailjia - state = 190 # Kurzeme - state = 809 # Zemgale - state = 808 # Riga - state = 810 # Latgale - state = 12 # Vidzeme - state = 191 # Tartu - state = 13 # Pärnu - state = 813 # Virumaa - state = 812 # Harju - state = 811 # Saremaa - } - } - add_core_of = ROOT - } - } - - hidden_effect = { - set_global_flag = EU_integrated_baltic_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_british_isles_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 127 # Sussex - state = 123 # South-West England - state = 338 # Gloustershire - state = 126 # Greater London Area - state = 125 # East Anglia - state = 129 # East Midlands - state = 128 # West Midlands - state = 122 # Wales - state = 132 # Lancashire - state = 130 # Yorkshire - state = 931 # Cumbria - state = 131 # Northumberland - state = 932 # Isle of Man - state = 133 # Lanark - state = 121 # Lothian - state = 136 # Aberdeenshire - state = 120 # Scottish Highlands - state = 933 # Shetland Islands - state = 119 # Northern Ireland - state = 113 # Leinster - state = 134 # Connaught - state = 135 # Munster - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_isles_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 127 # Sussex - controls_state = 123 # South-West England - controls_state = 338 # Gloustershire - controls_state = 126 # Greater London Area - controls_state = 125 # East Anglia - controls_state = 129 # East Midlands - controls_state = 128 # West Midlands - controls_state = 122 # Wales - controls_state = 132 # Lancashire - controls_state = 130 # Yorkshire - controls_state = 931 # Cumbria - controls_state = 131 # Northumberland - controls_state = 932 # Isle of Man - controls_state = 133 # Lanark - controls_state = 121 # Lothian - controls_state = 136 # Aberdeenshire - controls_state = 120 # Scottish Highlands - controls_state = 933 # Shetland Islands - controls_state = 119 # Northern Ireland - controls_state = 113 # Leinster - controls_state = 134 # Connaught - controls_state = 135 # Munster - } - - days_remove = 70 - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 127 # Sussex - state = 123 # South-West England - state = 338 # Gloustershire - state = 126 # Greater London Area - state = 125 # East Anglia - state = 129 # East Midlands - state = 128 # West Midlands - state = 122 # Wales - state = 132 # Lancashire - state = 130 # Yorkshire - state = 931 # Cumbria - state = 131 # Northumberland - state = 932 # Isle of Man - state = 133 # Lanark - state = 121 # Lothian - state = 136 # Aberdeenshire - state = 120 # Scottish Highlands - state = 933 # Shetland Islands - state = 119 # Northern Ireland - state = 113 # Leinster - state = 134 # Connaught - state = 135 # Munster - } - } - add_core_of = ROOT - } - } - - hidden_effect = { - set_global_flag = EU_integrated_isles_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_scandinavian_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 912 # North Schleswig - state = 99 # Jutland - state = 911 # Fyn - state = 37 # Sjaelland - state = 910 # Bornholm - state = 138 # Skåne - state = 124 # Gotland - state = 139 # Småland - state = 140 # Västergötland - state = 915 # Bohuslän - state = 913 # Östergötland - state = 919 # Värmland - state = 141 # Södermanland - state = 916 # Dalarna - state = 38 # Gävleborg - state = 917 # Jämtland - state = 918 # Västerbotten - state = 666 # Norrbotten - state = 110 # Oslofjord - state = 921 # Telemark - state = 922 # agder - state = 142 # Vestlandet - state = 920 # Opplandene - state = 143 # Trondelag - state = 923 # Helgeland - state = 144 # Nordland - state = 924 # Troms - state = 925 # Finnmark - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_scandinavia_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 912 # North Schleswig - controls_state = 99 # Jutland - controls_state = 911 # Fyn - controls_state = 37 # Sjaelland - controls_state = 910 # Bornholm - controls_state = 138 # Skåne - controls_state = 124 # Gotland - controls_state = 139 # Småland - controls_state = 140 # Västergötland - controls_state = 915 # Bohuslän - controls_state = 913 # Östergötland - controls_state = 919 # Värmland - controls_state = 141 # Södermanland - controls_state = 916 # Dalarna - controls_state = 38 # Gävleborg - controls_state = 917 # Jämtland - controls_state = 918 # Västerbotten - controls_state = 666 # Norrbotten - controls_state = 110 # Oslofjord - controls_state = 921 # Telemark - controls_state = 922 # agder - controls_state = 142 # Vestlandet - controls_state = 920 # Opplandene - controls_state = 143 # Trondelag - controls_state = 923 # Helgeland - controls_state = 144 # Nordland - controls_state = 924 # Troms - controls_state = 925 # Finnmark - } - - days_remove = 70 - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 912 # North Schleswig - state = 99 # Jutland - state = 911 # Fyn - state = 37 # Sjaelland - state = 910 # Bornholm - state = 138 # Skåne - state = 124 # Gotland - state = 139 # Småland - state = 140 # Västergötland - state = 915 # Bohuslän - state = 913 # Östergötland - state = 919 # Värmland - state = 141 # Södermanland - state = 916 # Dalarna - state = 38 # Gävleborg - state = 917 # Jämtland - state = 918 # Västerbotten - state = 666 # Norrbotten - state = 110 # Oslofjord - state = 921 # Telemark - state = 922 # agder - state = 142 # Vestlandet - state = 920 # Opplandene - state = 143 # Trondelag - state = 923 # Helgeland - state = 144 # Nordland - state = 924 # Troms - state = 925 # Finnmark - } - } - add_core_of = ROOT - } - } - - custom_effect_tooltip = generic_skip_one_line_tt - - # Faroe Islands - 337 = { - add_core_of = ROOT - } - - # Jan Mayen - 914 = { - add_core_of = ROOT - } - - # Iceland - 100 = { - add_core_of = ROOT - } - - # Greenland - 101 = { - add_core_of = ROOT - } - - hidden_effect = { - set_global_flag = EU_integrated_scandinavia_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_karelo_finnish_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 148 # Lappi - state = 722 # Petsamo - state = 147 # Salla - state = 929 # Oulu - state = 150 # Kuopio - state = 146 # Karjala - state = 928 # Kymi - state = 930 ## Mikkeli - state = 149 # Vaasa - state = 927 # Häme - state = 926 # Turku - state = 111 # Helsinki - state = 145 # Åland - state = 213 # Murmansk - state = 215 # Onega - state = 216 # Olonets - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_finnish_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 148 # Lappi - controls_state = 722 # Petsamo - controls_state = 147 # Salla - controls_state = 929 # Oulu - controls_state = 150 # Kuopio - controls_state = 146 # Karjala - controls_state = 928 # Kymi - controls_state = 930 ## Mikkeli - controls_state = 149 # Vaasa - controls_state = 927 # Häme - controls_state = 926 # Turku - controls_state = 111 # Helsinki - controls_state = 145 # Åland - controls_state = 213 # Murmansk - controls_state = 215 # Onega - controls_state = 216 # Olonets - } - - days_remove = 70 - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 148 # Lappi - state = 722 # Petsamo - state = 147 # Salla - state = 929 # Oulu - state = 150 # Kuopio - state = 146 # Karjala - state = 928 # Kymi - state = 930 ## Mikkeli - state = 149 # Vaasa - state = 927 # Häme - state = 926 # Turku - state = 111 # Helsinki - state = 145 # Åland - state = 213 # Murmansk - state = 215 # Onega - state = 216 # Olonets - } - } - add_core_of = ROOT - } - } - - hidden_effect = { - set_global_flag = EU_integrated_finnish_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_balkan_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 150 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 155 # North Transdanubia - state = 974 # South Transdanubia - state = 973 # Bacs-Bodrog - state = 43 # Northern Hungary - state = 154 # Alföld - state = 80 # Bucovina - state = 78 # Besarabia - state = 766 # Southern Besarabia - state = 79 # Moldova - state = 76 # North Transylvania - state = 83 # Crisana - state = 84 # Transylvania - state = 82 # Banat - state = 81 # Oltenia - state = 46 # Muntenia - state = 971 # Northern Dobruja - state = 77 # Dobruja - state = 102 # North Slovenia - state = 853 # Ljubljana - state = 103 # Dalmatia - state = 109 # Croatia - state = 45 # Vojvodina - state = 764 # West Banat - state = 104 # Bosnia - state = 804 # Herzegovina - state = 105 # Montenegro - state = 107 # Serbia - state = 108 # Morava - state = 802 # Kosovo - state = 803 # Southern Serbia - state = 970 # Debar - state = 106 # Macedonia - state = 934 # Schkoder - state = 44 # Tirana - state = 805 # Northern Epirus - state = 48 # Sofia - state = 801 # Moesia - state = 211 # Burgas - state = 212 # Plovdiv - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_balkan_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 155 # North Transdanubia - controls_state = 974 # South Transdanubia - controls_state = 973 # Bacs-Bodrog - controls_state = 43 # Northern Hungary - controls_state = 154 # Alföld - controls_state = 80 # Bucovina - controls_state = 78 # Besarabia - controls_state = 766 # Southern Besarabia - controls_state = 79 # Moldova - controls_state = 76 # North Transylvania - controls_state = 83 # Crisana - controls_state = 84 # Transylvania - controls_state = 82 # Banat - controls_state = 81 # Oltenia - controls_state = 46 # Muntenia - controls_state = 971 # Northern Dobruja - controls_state = 77 # Dobruja - controls_state = 102 # North Slovenia - controls_state = 853 # Ljubljana - controls_state = 103 # Dalmatia - controls_state = 109 # Croatia - controls_state = 45 # Vojvodina - controls_state = 764 # West Banat - controls_state = 104 # Bosnia - controls_state = 804 # Herzegovina - controls_state = 105 # Montenegro - controls_state = 107 # Serbia - controls_state = 108 # Morava - controls_state = 802 # Kosovo - controls_state = 803 # Southern Serbia - controls_state = 970 # Debar - controls_state = 106 # Macedonia - controls_state = 934 # Schkoder - controls_state = 44 # Tirana - controls_state = 805 # Northern Epirus - controls_state = 48 # Sofia - controls_state = 801 # Moesia - controls_state = 211 # Burgas - controls_state = 212 # Plovdiv - } - - days_remove = 70 - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 155 # North Transdanubia - state = 974 # South Transdanubia - state = 973 # Bacs-Bodrog - state = 43 # Northern Hungary - state = 154 # Alföld - state = 80 # Bucovina - state = 78 # Besarabia - state = 766 # Southern Besarabia - state = 79 # Moldova - state = 76 # North Transylvania - state = 83 # Crisana - state = 84 # Transylvania - state = 82 # Banat - state = 81 # Oltenia - state = 46 # Muntenia - state = 971 # Northern Dobruja - state = 77 # Dobruja - state = 102 # North Slovenia - state = 853 # Ljubljana - state = 103 # Dalmatia - state = 109 # Croatia - state = 45 # Vojvodina - state = 764 # West Banat - state = 104 # Bosnia - state = 804 # Herzegovina - state = 105 # Montenegro - state = 107 # Serbia - state = 108 # Morava - state = 802 # Kosovo - state = 803 # Southern Serbia - state = 970 # Debar - state = 106 # Macedonia - state = 934 # Schkoder - state = 44 # Tirana - state = 805 # Northern Epirus - state = 48 # Sofia - state = 801 # Moesia - state = 211 # Burgas - state = 212 # Plovdiv - } - } - add_core_of = ROOT - } - } - - hidden_effect = { - set_global_flag = EU_integrated_balkan_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_aegean_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 185 # Epirus - state = 186 # Pelopennese - state = 47 # Attica - state = 731 # Central Macedonia - state = 184 # Thrace - state = 341 # Edirne - state = 797 # Istanbul - state = 187 # Aegean Islands - state = 182 # Crete - state = 164 # Dodecanese Islands - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_aegean_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 185 # Epirus - controls_state = 186 # Pelopennese - controls_state = 47 # Attica - controls_state = 731 # Central Macedonia - controls_state = 184 # Thrace - controls_state = 341 # Edirne - controls_state = 797 # Istanbul - controls_state = 187 # Aegean Islands - controls_state = 182 # Crete - controls_state = 164 # Dodecanese Islands - } - - days_remove = 70 - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 185 # Epirus - state = 186 # Pelopennese - state = 47 # Attica - state = 731 # Central Macedonia - state = 184 # Thrace - state = 341 # Edirne - state = 797 # Istanbul - state = 187 # Aegean Islands - state = 182 # Crete - state = 164 # Dodecanese Islands - } - } - add_core_of = ROOT - } - } - - custom_effect_tooltip = generic_skip_one_line_tt - - # Cyprus - 183 = { - add_core_of = ROOT - } - - hidden_effect = { - set_global_flag = EU_integrated_aegean_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_belarusian_and_ukrainian_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 207 # Vitebsk - state = 206 # Minsk - state = 204 # Bobrysk - state = 194 # Mozyr - state = 241 # Gomel - state = 199 # Proskuriv - state = 201 # Zhytomyr - state = 198 # Vinnytsia - state = 202 # Kyiv - state = 193 # Chernihiv - state = 203 # Cherkasy - state = 834 # Balta-Tiraspol - state = 192 # Odessa - state = 197 # Mykholaiv - state = 259 # Poltava - state = 225 # Sumy - state = 226 # Dnipropetrovsk - state = 196 # Kharkiv - state = 200 # Zaporizhia - state = 221 # Kharkiv - state = 227 # Donetsk - state = 228 # Luhansk - state = 137 # Crimea - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_ukrainian_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 207 # Vitebsk - controls_state = 206 # Minsk - controls_state = 204 # Bobrysk - controls_state = 194 # Mozyr - controls_state = 241 # Gomel - controls_state = 199 # Proskuriv - controls_state = 201 # Zhytomyr - controls_state = 198 # Vinnytsia - controls_state = 202 # Kyiv - controls_state = 193 # Chernihiv - controls_state = 203 # Cherkasy - controls_state = 834 # Balta-Tiraspol - controls_state = 192 # Odessa - controls_state = 197 # Mykholaiv - controls_state = 259 # Poltava - controls_state = 225 # Sumy - controls_state = 226 # Dnipropetrovsk - controls_state = 196 # Kharkiv - controls_state = 200 # Zaporizhia - controls_state = 221 # Kharkiv - controls_state = 227 # Donetsk - controls_state = 228 # Luhansk - controls_state = 137 # Crimea - } - - days_remove = 70 - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 207 # Vitebsk - state = 206 # Minsk - state = 204 # Bobrysk - state = 194 # Mozyr - state = 241 # Gomel - state = 199 # Proskuriv - state = 201 # Zhytomyr - state = 198 # Vinnytsia - state = 202 # Kyiv - state = 193 # Chernihiv - state = 203 # Cherkasy - state = 834 # Balta-Tiraspol - state = 192 # Odessa - state = 197 # Mykholaiv - state = 259 # Poltava - state = 225 # Sumy - state = 226 # Dnipropetrovsk - state = 196 # Kharkiv - state = 200 # Zaporizhia - state = 221 # Kharkiv - state = 227 # Donetsk - state = 228 # Luhansk - state = 137 # Crimea - } - } - add_core_of = ROOT - } - } - - hidden_effect = { - set_global_flag = EU_integrated_ukrainian_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_caucasian_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 233 # Sochi - state = 827 # Kabardino-Balkaria - state = 828 # North Ossetia - state = 821 # Chechnya - state = 232 # Dagestan - state = 826 # Abkhazia - state = 231 # Georgia - state = 230 # Armenia - state = 229 # Azerbaijan - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_caucasian_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 233 # Sochi - controls_state = 827 # Kabardino-Balkaria - controls_state = 828 # North Ossetia - controls_state = 821 # Chechnya - controls_state = 232 # Dagestan - controls_state = 826 # Abkhazia - controls_state = 231 # Georgia - controls_state = 230 # Armenia - controls_state = 229 # Azerbaijan - } - - days_remove = 70 - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 233 # Sochi - state = 827 # Kabardino-Balkaria - state = 828 # North Ossetia - state = 821 # Chechnya - state = 232 # Dagestan - state = 826 # Abkhazia - state = 231 # Georgia - state = 230 # Armenia - state = 229 # Azerbaijan - } - } - add_core_of = ROOT - } - } - - hidden_effect = { - set_global_flag = EU_integrated_caucasian_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_kuban_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 235 # Stavropol - state = 234 # Krasnodar - state = 218 # Rostov - state = 238 # Volgodonsk - state = 245 # Millerovo - state = 237 # Kalmykia - state = 217 # Stalingrad - state = 236 # Astrakhan - state = 265 # Mikhaylovka - state = 239 # Saratov - state = 829 # Volga Germany - state = 401 # Balakovo - state = 407 # Uralsk - state = 406 # Guryev - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_kuban_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 235 # Stavropol - controls_state = 234 # Krasnodar - controls_state = 218 # Rostov - controls_state = 238 # Volgodonsk - controls_state = 245 # Millerovo - controls_state = 237 # Kalmykia - controls_state = 217 # Stalingrad - controls_state = 236 # Astrakhan - controls_state = 265 # Mikhaylovka - controls_state = 239 # Saratov - controls_state = 829 # Volga Germany - controls_state = 401 # Balakovo - controls_state = 407 # Uralsk - controls_state = 406 # Guryev - } - - days_remove = 70 - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 235 # Stavropol - state = 234 # Krasnodar - state = 218 # Rostov - state = 238 # Volgodonsk - state = 245 # Millerovo - state = 237 # Kalmykia - state = 217 # Stalingrad - state = 236 # Astrakhan - state = 265 # Mikhaylovka - state = 239 # Saratov - state = 829 # Volga Germany - state = 401 # Balakovo - state = 407 # Uralsk - state = 406 # Guryev - } - } - add_core_of = ROOT - } - } - - hidden_effect = { - set_global_flag = EU_integrated_kuban_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - - EU_russian_expansion_decision = { - - icon = GFX_decision_generic_nationalism - - cost = 150 - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 195 # Leningrad - state = 208 # Luga - state = 244 # Volkhov - state = 263 # Novgorod - state = 209 # Pskov - state = 210 # Nevel - state = 246 # Rhzev - state = 264 # Tikhvin - state = 247 # Kalinin - state = 248 # Yaroslavl - state = 351 # Vologda - state = 879 # Kargopol - state = 880 # Kotlas - state = 214 # Arkhangelsk - state = 825 # Nenetsi - state = 262 # Pechora - state = 397 # Syktyvkar - state = 400 # Kirov - state = 581 # Northern Urals - state = 398 # Perm - state = 242 # Smolensk - state = 243 # Roslavl - state = 224 # Bryansk - state = 222 # Orel - state = 220 # Kursk - state = 240 # Belgorod - state = 260 # Voronezh - state = 258 # Lipetsk - state = 257 # Tambov - state = 205 # Kaluga - state = 223 # Tula - state = 254 # Ryazan - state = 219 # Moscow - state = 253 # Ivanovo - state = 255 # Penza - state = 252 # Gorky - state = 250 # Ulyanosky - state = 251 # Kuybyshev - state = 652 # Orenburg - state = 651 # Ufa - state = 399 # Udmurtia - state = 249 # kazan - state = 833 # Mari El - state = 256 # Chuvashia - state = 573 # Zlatoust - } - } - - allowed = { - OR = { - original_tag = HOL - original_tag = BEL - original_tag = LUX - original_tag = FRA - original_tag = ITA - original_tag = GER - original_tag = WGR - original_tag = ENG - AND = { - OR = { - original_tag = AUS - original_tag = HUN - } - has_dlc = "Gotterdammerung" - } - } - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Man the Guns" - } - } - - visible = { - NOT = { has_global_flag = EU_integrated_russian_states_flag } - has_global_flag = form_european_union_flag - } - - available = { - controls_state = 195 # Leningrad - controls_state = 208 # Luga - controls_state = 244 # Volkhov - controls_state = 263 # Novgorod - controls_state = 209 # Pskov - controls_state = 210 # Nevel - controls_state = 246 # Rhzev - controls_state = 264 # Tikhvin - controls_state = 247 # Kalinin - controls_state = 248 # Yaroslavl - controls_state = 351 # Vologda - controls_state = 879 # Kargopol - controls_state = 880 # Kotlas - controls_state = 214 # Arkhangelsk - controls_state = 825 # Nenetsi - controls_state = 262 # Pechora - controls_state = 397 # Syktyvkar - controls_state = 400 # Kirov - controls_state = 581 # Northern Urals - controls_state = 398 # Perm - controls_state = 242 # Smolensk - controls_state = 243 # Roslavl - controls_state = 224 # Bryansk - controls_state = 222 # Orel - controls_state = 220 # Kursk - controls_state = 240 # Belgorod - controls_state = 260 # Voronezh - controls_state = 258 # Lipetsk - controls_state = 257 # Tambov - controls_state = 205 # Kaluga - controls_state = 223 # Tula - controls_state = 254 # Ryazan - controls_state = 219 # Moscow - controls_state = 253 # Ivanovo - controls_state = 255 # Penza - controls_state = 252 # Gorky - controls_state = 250 # Ulyanosky - controls_state = 251 # Kuybyshev - controls_state = 652 # Orenburg - controls_state = 651 # Ufa - controls_state = 399 # Udmurtia - controls_state = 249 # kazan - controls_state = 833 # Mari El - controls_state = 256 # Chuvashia - controls_state = 573 # Zlatoust - } - - days_remove = 70 - - remove_effect = { - - custom_effect_tooltip = gain_cores_on_the_highlighted_states_tt - hidden_effect = { - every_state = { - limit = { - OR = { - state = 195 # Leningrad - state = 208 # Luga - state = 244 # Volkhov - state = 263 # Novgorod - state = 209 # Pskov - state = 210 # Nevel - state = 246 # Rhzev - state = 264 # Tikhvin - state = 247 # Kalinin - state = 248 # Yaroslavl - state = 351 # Vologda - state = 879 # Kargopol - state = 880 # Kotlas - state = 214 # Arkhangelsk - state = 825 # Nenetsi - state = 262 # Pechora - state = 397 # Syktyvkar - state = 400 # Kirov - state = 581 # Northern Urals - state = 398 # Perm - state = 242 # Smolensk - state = 243 # Roslavl - state = 224 # Bryansk - state = 222 # Orel - state = 220 # Kursk - state = 240 # Belgorod - state = 260 # Voronezh - state = 258 # Lipetsk - state = 257 # Tambov - state = 205 # Kaluga - state = 223 # Tula - state = 254 # Ryazan - state = 219 # Moscow - state = 253 # Ivanovo - state = 255 # Penza - state = 252 # Gorky - state = 250 # Ulyanosky - state = 251 # Kuybyshev - state = 652 # Orenburg - state = 651 # Ufa - state = 399 # Udmurtia - state = 249 # kazan - state = 833 # Mari El - state = 256 # Chuvashia - state = 573 # Zlatoust - } - } - add_core_of = ROOT - } - } - - hidden_effect = { - set_global_flag = EU_integrated_russian_states_flag - } - - } - - ai_will_do = { - base = 200 - } - } - -} - -form_mutapa_category = { - - form_mutapa = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = SAF - original_tag = BOT - original_tag = ZIM - original_tag = MZB - original_tag = BAR - original_tag = ZAM - } - has_dlc = "Waking the Tiger" - } - - visible = { - OR = { - original_tag = SAF - original_tag = BOT - original_tag = ZIM - original_tag = MZB - original_tag = BAR - original_tag = ZAM - } - NOT = { has_global_flag = form_mutapa_flag } - } - - available = { - #is_subject = no - controls_state = 541 - controls_state = 893 - controls_state = 894 - controls_state = 895 - controls_state = 681 - controls_state = 719 - controls_state = 275 - controls_state = 542 - controls_state = 545 - controls_state = 544 - controls_state = 896 - controls_state = 897 - controls_state = 771 - controls_state = 981 - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 541 - state = 893 - state = 894 - state = 895 - state = 681 - state = 719 - state = 275 - state = 542 - state = 545 - state = 544 - state = 896 - state = 897 - state = 771 - state = 981 - } - } - - complete_effect = { - set_cosmetic_tag = MUT_UNIFIED - 541 = { add_core_of = ROOT } - 681 = { add_core_of = ROOT } - 719 = { add_core_of = ROOT } - 275 = { add_core_of = ROOT } - 542 = { add_core_of = ROOT } - 545 = { add_core_of = ROOT } - 544 = { add_core_of = ROOT } - 896 = { add_core_of = ROOT } - 897 = { add_core_of = ROOT } - 893 = { add_core_of = ROOT } - 894 = { add_core_of = ROOT } - 895 = { add_core_of = ROOT } - 771 = { add_core_of = ROOT } - 981 = { add_core_of = ROOT } - hidden_effect = { - news_event = { id = wtt_news.63 hours = 6 } - set_global_flag = form_mutapa_flag - } - } - - ai_will_do = { - base = 200 - } - } -} - -form_roman_empire_category = { - - form_roman_empire = { - - icon = generic_form_nation - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - is_subject = no - custom_trigger_tooltip = { - tooltip = form_country_albania_required_states_tt - # Albania - controls_state = 44 - controls_state = 934 - controls_state = 805 - } - # Yugoslavia - custom_trigger_tooltip = { - tooltip = form_country_mare_nostrum_required_states_tt - controls_state = 163 - controls_state = 853 - controls_state = 103 - controls_state = 104 - controls_state = 804 - controls_state = 105 - } - # Greece - custom_trigger_tooltip = { - tooltip = form_country_mare_nostrum_greece_required_states_tt - controls_state = 185 - controls_state = 731 - controls_state = 47 - controls_state = 186 - controls_state = 184 - controls_state = 187 - controls_state = 182 - controls_state = 164 #DODECANESE initially controlled by Italy - } - # Turkey - custom_trigger_tooltip = { - tooltip = form_country_mare_nostrum_turkey_required_states_tt - controls_state = 341 - controls_state = 797 - controls_state = 340 - controls_state = 339 - controls_state = 342 - controls_state = 345 - controls_state = 344 - if = { # HATAY will most likely be handed over from FRA to TUR, this hopefully prevents some confusion - limit = { - 799 = { - is_controlled_by = TUR - } - } - controls_state = 799 - } - } - # Italy - custom_trigger_tooltip = { - tooltip = form_spqr_italy_required_states_tt - controls_state = 158 - controls_state = 162 - controls_state = 114 - controls_state = 2 - controls_state = 117 - controls_state = 156 - controls_state = 115 - controls_state = 849 - controls_state = 157 - controls_state = 161 - controls_state = 160 - controls_state = 736 - controls_state = 852 - controls_state = 39 - controls_state = 850 - controls_state = 849 - controls_state = 852 - controls_state = 159 - } - # Spain - custom_trigger_tooltip = { - tooltip = form_spqr_coastal_spain_required_states_tt - controls_state = 165 - controls_state = 177 - controls_state = 167 - controls_state = 168 - controls_state = 173 - } - # France - custom_trigger_tooltip = { - tooltip = form_spqr_coastal_france_required_states_tt - controls_state = 1 - controls_state = 735 - controls_state = 851 - controls_state = 21 - controls_state = 22 - controls_state = 31 - } - # British Mediterranean - custom_trigger_tooltip = { - tooltip = form_mare_nostrum_coastal_uk_required_states_tt - controls_state = 118 - controls_state = 116 - controls_state = 183 - } - # North Africa (Morocco to Libya) - custom_trigger_tooltip = { - tooltip = form_country_mare_nostrum_north_africa_required_states_tt - #Morocco - controls_state = 290 - controls_state = 461 - #Algeria - controls_state = 459 - controls_state = 460 - #Tunisia - controls_state = 458 - controls_state = 665 - #Libya - controls_state = 448 - controls_state = 449 - controls_state = 450 - controls_state = 451 - controls_state = 661 - controls_state = 662 - controls_state = 663 - } - # Middle East (Egypt to Syria) - custom_trigger_tooltip = { - tooltip = form_country_mare_nostrum_middle_east_required_states_tt - #Egypt - controls_state = 452 - controls_state = 447 - controls_state = 907 - controls_state = 446 - controls_state = 453 - #Palestine - controls_state = 454 - #Lebanon - controls_state = 553 - #Syria - controls_state = 677 - if = { # HATAY will most likely be handed over from FRA to TUR, this hopefully prevents some confusion - limit = { - 799 = { - NOT = { is_controlled_by = TUR } - } - } - controls_state = 799 - } - } - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = form_roman_empire_flag } - ITA = { - OR = { - has_completed_focus = ITA_mare_nostrum_bba - has_completed_focus = ITA_the_catholic_dominion - } - } - } - - complete_effect = { - set_cosmetic_tag = SPQR_UNIFIED - custom_effect_tooltip = form_spqr_core_mare_nostrum_states_tt - hidden_effect = { - - 1 = { add_core_of = ROOT } - 735 = { add_core_of = ROOT } - 851 = { add_core_of = ROOT } - 21 = { add_core_of = ROOT } - 22 = { add_core_of = ROOT } - 31 = { add_core_of = ROOT } - 165 = { add_core_of = ROOT } - 177 = { add_core_of = ROOT } - 167 = { add_core_of = ROOT } - 168 = { add_core_of = ROOT } - 173 = { add_core_of = ROOT } - 118 = { add_core_of = ROOT } - 290 = { add_core_of = ROOT } - 461 = { add_core_of = ROOT } - 459 = { add_core_of = ROOT } - 460 = { add_core_of = ROOT } - 116 = { add_core_of = ROOT } - 458 = { add_core_of = ROOT } - 665 = { add_core_of = ROOT } - 448 = { add_core_of = ROOT } - 661 = { add_core_of = ROOT } - 273 = { add_core_of = ROOT } - 662 = { add_core_of = ROOT } - 449 = { add_core_of = ROOT } - 450 = { add_core_of = ROOT } - 663 = { add_core_of = ROOT } - 451 = { add_core_of = ROOT } - 452 = { add_core_of = ROOT } - 447 = { add_core_of = ROOT } - 907 = { add_core_of = ROOT } - 446 = { add_core_of = ROOT } - 453 = { add_core_of = ROOT } - 454 = { add_core_of = ROOT } - 553 = { add_core_of = ROOT } - 183 = { add_core_of = ROOT } - 677 = { add_core_of = ROOT } - 799 = { add_core_of = ROOT } - 344 = { add_core_of = ROOT } - 345 = { add_core_of = ROOT } - 342 = { add_core_of = ROOT } - 164 = { add_core_of = ROOT } - 182 = { add_core_of = ROOT } - 339 = { add_core_of = ROOT } - 187 = { add_core_of = ROOT } - 340 = { add_core_of = ROOT } - 797 = { add_core_of = ROOT } - 341 = { add_core_of = ROOT } - 184 = { add_core_of = ROOT } - 731 = { add_core_of = ROOT } - 47 = { add_core_of = ROOT } - 186 = { add_core_of = ROOT } - 185 = { add_core_of = ROOT } - 805 = { add_core_of = ROOT } - 44 = { add_core_of = ROOT } - 934 = { add_core_of = ROOT } - 105 = { add_core_of = ROOT } - 103 = { add_core_of = ROOT } - 163 = { add_core_of = ROOT } - 804 = { add_core_of = ROOT } - 104 = { add_core_of = ROOT } - 853 = { add_core_of = ROOT } - - } - - - hidden_effect = { - news_event = { id = wtt_news.64 hours = 6 } - set_global_flag = form_roman_empire_flag - if = { - limit = { - has_country_leader = { ruling_only = yes character = ITA_benito_mussolini } - } - ITA_benito_mussolini = { - set_character_name = { - name = ITA_benito_mussolini_roman_emperor - } - set_portraits = { - civilian = { large = GFX_portrait_italy_emperor_mussolini } - } - } - } - #else_if = { #Skipping Balbo and Grandi for now since they have no roman emperor portraits - # limit = { - # has_country_leader = { ruling_only = yes character = ITA_italo_balbo } - # } - # ITA_italo_balbo = { - # set_character_name = { - # name = ITA_italo_balbo_roman_emperor - # } - # } - #} - #else_if = { #Skipping Balbo and Grandi for now since they have no roman emperor portraits - # limit = { - # has_country_leader = { ruling_only = yes character = ITA_dino_grandi } - # } - # ITA_dino_grandi = { - # set_character_name = { - # name = ITA_dino_grandi_roman_emperor - # } - # } - #} - else_if = { #Skipping Balbo and Grandi for now since they have no roman emperor portraits - limit = { - has_country_leader = { ruling_only = yes character = ITA_vittorio_emanuele_iii } - } - ITA_vittorio_emanuele_iii = { - set_character_name = { - name = ITA_vittorio_emanuele_iii_roman_emperor - } - set_portraits = { - civilian = { large = GFX_portrait_ITA_emperor_vittorio_emanuele_III } - } - } - } - else_if = { #Skipping Balbo and Grandi for now since they have no roman emperor portraits - limit = { - has_country_leader = { ruling_only = yes character = ITA_prince_umberto } - } - ITA_prince_umberto = { - set_character_name = { - name = ITA_prince_umberto_roman_emperor - } - - set_portraits = { - civilian = { large = GFX_portrait_ITA_emperor_umberto } - } - } - } - if = { - limit = { - has_government = fascism - } - ITA_remove_king_vittorio_emanuele_as_idea = yes - } - } - - add_stability = 0.1 - - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - - reintigrate_hispania = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 794 #Eastern Aragon - controls_state = 166 #Western Aragon - controls_state = 172 #Navarra - controls_state = 792 #Pais Vasco - controls_state = 790 #Asturias - controls_state = 171 #Galicia - controls_state = 174 #Leon - controls_state = 791 #Valladolid - controls_state = 176 #Burgos - controls_state = 793 #Guadalajara - controls_state = 788 #Salamanca - controls_state = 41 #Madrid - controls_state = 175 #Ciudad Real - controls_state = 170 #Extramadura - controls_state = 789 #Cordoba - controls_state = 169 #Sevilla - controls_state = 179 #Beja - controls_state = 795 #Santarem - controls_state = 112 #Lisbon - controls_state = 181 #Guarda - controls_state = 180 #Porto - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = reclaim_hispania_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - # Eastern Aragon - 794 = { add_core_of = ROOT } - - # Western Aragon - 166 = { add_core_of = ROOT } - - # Navarra - 172 = { add_core_of = ROOT } - - # Pais Vasco - 792 = { add_core_of = ROOT } - - # Asturias - 790 = { add_core_of = ROOT } - - # Galicia - 171 = { add_core_of = ROOT } - - # Leon - 174 = { add_core_of = ROOT } - - # Valladolid - 791 = { add_core_of = ROOT } - - # Burgos - 176 = { add_core_of = ROOT } - - # Guadalajara - 793 = { add_core_of = ROOT } - - # Salamanca - 788 = { add_core_of = ROOT } - - # Madrid - 41 = { add_core_of = ROOT } - - # Ciudad Real - 175 = { add_core_of = ROOT } - - # Extramadura - 170 = { add_core_of = ROOT } - - # Cordoba - 789 = { add_core_of = ROOT } - - # Sevilla - 169 = { add_core_of = ROOT } - - # Beja - 179 = { add_core_of = ROOT } - - # Santarem - 795 = { add_core_of = ROOT } - - # Lisbon - 112 = { add_core_of = ROOT } - - # Guarda - 181 = { add_core_of = ROOT } - - # Porto - 180 = { add_core_of = ROOT } - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = reclaim_hispania_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - - reintigrate_dacia = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 76 #North Transylvania - controls_state = 84 #Transylvania - controls_state = 83 #Crisana - controls_state = 81 #Oltenia - controls_state = 82 #Banat - controls_state = 764 #West Banat - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = reclaim_dacia_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - # North Transylvania - 76 = { add_core_of = ROOT } - - # Transylvania - 84 = { add_core_of = ROOT } - - # Crisana - 83 = { add_core_of = ROOT } - - # Oltenia - 81 = { add_core_of = ROOT } - - # Banat - 82 = { add_core_of = ROOT } - - # West Banat - 764 = { add_core_of = ROOT } - - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = reclaim_dacia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - - reintigrate_moesia = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 766 #Southern Bessarabia - - controls_state = 46 #Muntenia - - controls_state = 971 #Constanta - - controls_state = 77 #Dobrudja - - controls_state = 211 #Burgas - - controls_state = 801 #Moesia - - controls_state = 212 #Plovdiv - - controls_state = 48 #Sofia - - controls_state = 803 #Southern Serbia - - controls_state = 106 #Macedonia - - controls_state = 970 #Debar - - controls_state = 802 #Kosovo - - controls_state = 108 #Morava - - controls_state = 107 #Serbia - - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = reclaim_moesia_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - # Southern Bessarabia - 766 = { add_core_of = ROOT } - - # Muntenia - 46 = { add_core_of = ROOT } - - # Constanta - 971 = { add_core_of = ROOT } - - # Dobrudja - 77 = { add_core_of = ROOT } - - # Burgas - 211 = { add_core_of = ROOT } - - # Moesia - 801 = { add_core_of = ROOT } - - # Plovdiv - 212 = { add_core_of = ROOT } - - # Sofia - 48 = { add_core_of = ROOT } - - # Southern Serbia - 803 = { add_core_of = ROOT } - - # Macedonia - 106 = { add_core_of = ROOT } - - # Debar - 970 = { add_core_of = ROOT } - - # Kosovo - 802 = { add_core_of = ROOT } - - # Morava - 108 = { add_core_of = ROOT } - - # Serbia - 107 = { add_core_of = ROOT } - - - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = reclaim_moesia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - reintigrate_aegyptus = { - - icon = GFX_decision_generic_nationalism - - cost = 75 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 552 #Western Desert - controls_state = 456 #Aswan - controls_state = 457 #Eastern Desert - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = reclaim_aegyptus_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - # Western Desert - 552 = { add_core_of = ROOT } - - # Aswan - 456 = { add_core_of = ROOT } - - # Eastern Desert - 457 = { add_core_of = ROOT } - - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = reclaim_aegyptus_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - restore_mesopotamia = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 656 #Kuwait - controls_state = 291 #Baghdad - controls_state = 675 #Al Hajara - controls_state = 676 #Mosul - controls_state = 680 #Deir-az-Zur - controls_state = 350 #Diyarbakir - controls_state = 1010 #Al-Anbar - controls_state = 1011 #Al-Basrah - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = restore_mesopotamia_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Kuwait - 656 = { add_core_of = ROOT } - - # Baghdad - 291 = { add_core_of = ROOT } - - # Al Hajara - 675 = { add_core_of = ROOT } - - # Mosul - 676 = { add_core_of = ROOT } - - # Deir-az-Zur - 680 = { add_core_of = ROOT } - - # Diyarbakir - 350 = { add_core_of = ROOT } - - # Al Anbar - 1010 = { add_core_of = ROOT } - - # Al Basrah - 1011 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = restore_mesopotamia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - reconquer_galatia_et_cappadocia = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 347 #Izmit - controls_state = 49 #Ankara - controls_state = 343 #Afyon - controls_state = 346 #Konya - controls_state = 356 #Kastamonu - controls_state = 798 #Amasya - controls_state = 348 #Kayseri - controls_state = 349 #Sivas - controls_state = 355 #Samsun - controls_state = 354 #Trabzon - - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = reconquer_cappadocia_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Izmit - 347 = { add_core_of = ROOT } - - # Ankara - 49 = { add_core_of = ROOT } - - # Afyon - 343 = { add_core_of = ROOT } - - # Konya - 346 = { add_core_of = ROOT } - - # Kastamonu - 356 = { add_core_of = ROOT } - - # Amasya - 798 = { add_core_of = ROOT } - - # Kayseri - 348 = { add_core_of = ROOT } - - # Sivas - 349 = { add_core_of = ROOT } - - # Samsun - 355 = { add_core_of = ROOT } - - # Trabzon - 354 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = reconquer_cappadocia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - integrate_armenian_lands = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 230 #Armenia - controls_state = 800 #Van - controls_state = 353 #Tunceli - controls_state = 352 #Hakkari - - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = integrate_armenia_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Armenia - 230 = { add_core_of = ROOT } - - # Van - 800 = { add_core_of = ROOT } - - # Tunceli - 353 = { add_core_of = ROOT } - - # Hakkari - 352 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = integrate_armenia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - restore_order_in_arabia_petra = { - - icon = GFX_decision_generic_nationalism - - cost = 75 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 554 #Damascus - controls_state = 455 #Jordan - controls_state = 854 #Jawf - controls_state = 855 #Tabuk - - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = integrate_petra_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Damascus - 554 = { add_core_of = ROOT } - - # Jordan - 455 = { add_core_of = ROOT } - - # Jawf - 854 = { add_core_of = ROOT } - - # Tabuk - 855 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = integrate_petra_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - restore_order_in_mauretania = { - - icon = GFX_decision_generic_nationalism - - cost = 75 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 513 #Tlemcen - controls_state = 514 #Algerian Desert - controls_state = 462 #Marrakech - controls_state = 783 #Sidi Ifni - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = integrate_mauretania_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Tlemcen - 513 = { add_core_of = ROOT } - - # Algerian Desert - 514 = { add_core_of = ROOT } - - # Marrakech - 462 = { add_core_of = ROOT } - - # Sidi Ifni - 783 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = integrate_mauretania_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - return_to_pannonia = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 43 #Northern Hungary - controls_state = 973 #Bacs - controls_state = 974 #Southern Transdanubia - controls_state = 154 #Alföld - controls_state = 155 #Transdanubia - controls_state = 45 #Vojvodina - controls_state = 109 #Croatia - controls_state = 102 #North Slovenia - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = integrate_pannonia_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Northern Hungary - 43 = { add_core_of = ROOT } - - # Alföld - 154 = { add_core_of = ROOT } - - # Bacs - 973 = { add_core_of = ROOT } - - # Transdanubia - 155 = { add_core_of = ROOT } - - # South Transdanubia - 974 = { add_core_of = ROOT } - - # Vojvodina - 45 = { add_core_of = ROOT } - - # Croatia - 109 = { add_core_of = ROOT } - - # North Slovenia - 102 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = integrate_pannonia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - restore_roman_rule_to_raetia_et_noricum = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 4 #Lower Austria - controls_state = 152 #Upper Austria - controls_state = 153 #Tyrol - controls_state = 848 #Vorarlberg - controls_state = 975 #Burgenland - controls_state = 976 #Steirmark Kärten - controls_state = 151 #Eastern Swiss Alps - controls_state = 846 #Ticino - controls_state = 847 #Western Swiss Alps - controls_state = 3 #Swiss Plateu - controls_state = 845 #Jura Mountains - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = integrate_alps_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Lower Austria - 4 = { add_core_of = ROOT } - - # Upper Austria - 152 = { add_core_of = ROOT } - - # Tyrol - 153 = { add_core_of = ROOT } - - # Vorarlberg - 848 = { add_core_of = ROOT } - - #Burgenland - 975 = { add_core_of = ROOT } - - #Steirmark Kärten - 976 = { add_core_of = ROOT } - - # Eastern Swiss Alps - 151 = { add_core_of = ROOT } - - # Ticino - 846 = { add_core_of = ROOT } - - # Western Swiss Alps - 847 = { add_core_of = ROOT } - - # Swiss Plateu - 3 = { add_core_of = ROOT } - - # Jura Mountains - 845 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = integrate_alps_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - restore_roman_rule_to_gaul = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 806 #Pyrenees-Atlantiques - controls_state = 19 #Aquitaine - controls_state = 25 #Limousin - controls_state = 26 #Auveragne - controls_state = 20 #Rhone - controls_state = 32 #Alpes - controls_state = 33 #Centre-Sud - controls_state = 23 #Poitou - controls_state = 30 #Loire - controls_state = 14 #Brittany - controls_state = 27 #Bourgogne - controls_state = 17 #Franche-Comte - controls_state = 28 #Alsace-Lorraine - controls_state = 16 #Ile De France - controls_state = 24 #Centre - controls_state = 15 #Normandy - controls_state = 785 #Picardy - controls_state = 18 #Champagne - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = integrate_gaul_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Pyrenees-Atlantiques - 806 = { add_core_of = ROOT } - - # Aquitaine - 19 = { add_core_of = ROOT } - - # Limousin - 25 = { add_core_of = ROOT } - - # Auveragne - 26 = { add_core_of = ROOT } - - # Rhone - 20 = { add_core_of = ROOT } - - # Alpes - 32 = { add_core_of = ROOT } - - # Centre-Sud - 33 = { add_core_of = ROOT } - - # Poitou - 23 = { add_core_of = ROOT } - - # Loire - 30 = { add_core_of = ROOT } - - # Brittany - 14 = { add_core_of = ROOT } - - # Bourgogne - 27 = { add_core_of = ROOT } - - # Franche-Comte - 17 = { add_core_of = ROOT } - - # Alsace-Lorraine - 28 = { add_core_of = ROOT } - - # Ile De France - 16 = { add_core_of = ROOT } - - # Centre - 24 = { add_core_of = ROOT } - - # Normandy - 15 = { add_core_of = ROOT } - - # Picardy - 785 = { add_core_of = ROOT } - - # Champagne - 18 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = integrate_gaul_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - restore_roman_rule_to_belgica = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 35 #Brabant - controls_state = 6 #Vlaanderen - controls_state = 34 #Wallonia - controls_state = 977 #Antwerpen - controls_state = 980 #Ardennes - controls_state = 8 #Luxembourg - controls_state = 29 #Nord-Pas-De-Calais - - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = integrate_belgica_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Brabant - 35 = { add_core_of = ROOT } - - # Vlaanderen - 6 = { add_core_of = ROOT } - - # Wallonia - 34 = { add_core_of = ROOT } - - # Antwerpen - 977 = { add_core_of = ROOT } - - # Ardennes - 980 = { add_core_of = ROOT } - - # Luxembourg - 8 = { add_core_of = ROOT } - - # Nord-Pas-De-Calais - 29 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = integrate_belgica_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - occupy_iberia = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 229 #Azerbaijan - controls_state = 231 #Georgia - controls_state = 826 #Abkhazia - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = occupy_iberia_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Azerbaijan - 229 = { add_core_of = ROOT } - - # Georgia - 231 = { add_core_of = ROOT } - - # Abkhazia - 826 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = occupy_iberia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - return_to_britannia = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 127 #Sussex - controls_state = 123 #South-West England - controls_state = 338 #Gloucestershire - controls_state = 126 #Greater London Area - controls_state = 125 #East Anglia - controls_state = 128 #West Midlands - controls_state = 122 #Wales - controls_state = 129 #East Midlands - controls_state = 132 #Lancashire - controls_state = 130 #Yorkshire - controls_state = 131 #Nothern England - controls_state = 931 #Cumbria - controls_state = 932 #Mann - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = return_to_britannia_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Sussex - 127 = { add_core_of = ROOT } - - # South-West England - 123 = { add_core_of = ROOT } - - # Gloucestershire - 338 = { add_core_of = ROOT } - - # Greater London Area - 126 = { add_core_of = ROOT } - - # East Anglia - 125 = { add_core_of = ROOT } - - # West Midlands - 128 = { add_core_of = ROOT } - - # Wales - 122 = { add_core_of = ROOT } - - # East Midlands - 129 = { add_core_of = ROOT } - - # Lancashire - 132 = { add_core_of = ROOT } - - # Yorkshire - 130 = { add_core_of = ROOT } - - # Nothern England - 131 = { add_core_of = ROOT } - - # Cumbria - 931 = { add_core_of = ROOT } - - # Mann - 932 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = return_to_britannia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - conquer_hibernia = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 113 #Leinster - controls_state = 135 #Munster - controls_state = 134 #Connaught - controls_state = 119 #Northern Ireland - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = conquer_hibernia_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Leinster - 113 = { add_core_of = ROOT } - - # Munster - 135 = { add_core_of = ROOT } - - # Connaught - 134 = { add_core_of = ROOT } - - # Northern Ireland - 119 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = conquer_hibernia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - conquer_caledonia = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 133 #Lanark - controls_state = 121 #Lothian - controls_state = 136 #Aberdeenshire - controls_state = 120 #Scottish Highlands - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = conquer_caledonia_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Lanark - 133 = { add_core_of = ROOT } - - # Lothian - 121 = { add_core_of = ROOT } - - # Aberdeenshire - 136 = { add_core_of = ROOT } - - # Scottish Highlands - 120 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = conquer_caledonia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - avenge_teutoburg = { - - icon = GFX_decision_generic_nationalism - - cost = 100 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 7 #Holland - controls_state = 36 #Friesland - controls_state = 56 #Weser-Ems - controls_state = 57 #Westfalen - controls_state = 51 #Rhineland - controls_state = 42 #Moselland - controls_state = 55 #Hessen - controls_state = 54 #Franken - controls_state = 50 #Wurtemberg - controls_state = 978 #Baden - controls_state = 52 #Oberbayern - controls_state = 53 #Niederbayern - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = avenge_teutoberg_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Holland - 7 = { add_core_of = ROOT } - - # Friesland - 36 = { add_core_of = ROOT } - - # Weser-Ems - 56 = { add_core_of = ROOT } - - # Westfalen - 57 = { add_core_of = ROOT } - - # Rhineland - 51 = { add_core_of = ROOT } - - # Moselland - 42 = { add_core_of = ROOT } - - # Hessen - 55 = { add_core_of = ROOT } - - # Franken - 54 = { add_core_of = ROOT } - - # Wurtemberg - 50 = { add_core_of = ROOT } - - # Baden - 978 = { add_core_of = ROOT } - - # Oberbayern - 52 = { add_core_of = ROOT } - - # Niederbayern - 53 = { add_core_of = ROOT } - - - add_stability = -0.05 - - hidden_effect = { - set_global_flag = avenge_teutoberg_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - reestablish_the_bosporan_kingdom = { - - icon = GFX_decision_generic_nationalism - - cost = 120 - - allowed = { - original_tag = ITA - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "By Blood Alone" - } - } - - available = { - - controls_state = 192 #Odessa - controls_state = 197 #Mykolaiv - controls_state = 196 #Kherson - controls_state = 137 #Crimea - controls_state = 226 #Dnipropetrovsk - controls_state = 200 #Zaporozhe - controls_state = 227 #Stalino - controls_state = 218 #Rostov - controls_state = 234 #Krasnodar - - OR = { - CRI = { - exists = no - } - CRI = { - is_subject_of = ITA - } - } - - } - - visible = { - original_tag = ITA - NOT = { has_global_flag = the_bosporan_kingdom_flag } - has_global_flag = form_roman_empire_flag - } - - complete_effect = { - - - # Odessa - 192 = { add_core_of = CRI } - - # Mykolaiv - 197 = { add_core_of = CRI } - - # Kherson - 196 = { add_core_of = CRI } - - # Dnipropetrovsk - 226 = { add_core_of = CRI } - - # Zaporozhe - 200 = { add_core_of = CRI } - - # Stalino - 227 = { add_core_of = CRI } - - # Rostov - 218 = { add_core_of = CRI } - - # Krasnodar - 234 = { add_core_of = CRI } - - CRI = { - transfer_state = 192 - transfer_state = 197 - transfer_state = 196 - transfer_state = 137 - transfer_state = 226 - transfer_state = 200 - transfer_state = 227 - transfer_state = 218 - transfer_state = 234 - - set_cosmetic_tag = regnum_bospori - } - - - hidden_effect = { - set_global_flag = the_bosporan_kingdom_flag - - IF = { - limit = { - ITA = { - has_government = fascism - } - } - CRI = { - set_politics = { - ruling_party = fascism - elections_allowed = no - last_election = "1935.12.17" - election_frequency = 48 - } - } - } - IF = { - limit = { - ITA = { - has_government = neutrality - } - } - CRI = { - set_politics = { - ruling_party = neutrality - elections_allowed = no - last_election = "1935.12.17" - election_frequency = 48 - } - } - } - - ROOT = { - puppet = CRI - } - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_persian_empire_category = { - - form_persian_empire = { - - icon = generic_form_nation - - on_map_mode = decision_view_only - - allowed = { - OR = { - original_tag = PER - original_tag = AFG - } - has_dlc = "Waking the Tiger" - NOT = { - has_dlc = "Graveyard of Empires" - } - } - - available = { - is_subject = no - # Iran - custom_trigger_tooltip = { - tooltip = form_country_iran_required_states_tt - controls_state = 419 - controls_state = 421 - controls_state = 420 - controls_state = 417 - controls_state = 413 - controls_state = 266 - controls_state = 418 - controls_state = 411 - controls_state = 412 - controls_state = 416 - controls_state = 414 - controls_state = 410 - controls_state = 1000 - controls_state = 1001 - controls_state = 1004 - controls_state = 1002 - controls_state = 1003 - } - # Afghanistan - custom_trigger_tooltip = { - tooltip = form_country_afghanistan_required_states_tt - controls_state = 415 - controls_state = 267 - controls_state = 1009 - controls_state = 1007 - controls_state = 1008 - controls_state = 1006 - controls_state = 1005 - } - # Iraq - custom_trigger_tooltip = { - tooltip = form_country_iraq_required_states_tt - controls_state = 676 - controls_state = 675 - controls_state = 291 - controls_state = 1010 - controls_state = 1011 - } - # Turkey - custom_trigger_tooltip = { - tooltip = form_country_turkey_required_states_tt - controls_state = 797 - controls_state = 341 - controls_state = 340 - controls_state = 339 - controls_state = 342 - controls_state = 343 - controls_state = 347 - controls_state = 49 - controls_state = 798 - controls_state = 346 - controls_state = 345 - controls_state = 356 - controls_state = 348 - controls_state = 344 - controls_state = 355 - controls_state = 349 - controls_state = 350 - controls_state = 354 - controls_state = 353 - controls_state = 352 - controls_state = 800 - controls_state = 799 - } - # France: Syria - custom_trigger_tooltip = { - tooltip = form_persia_france_required_states_tt - controls_state = 677 - controls_state = 680 - controls_state = 553 - controls_state = 554 - } - # Italy: North Africa / Dodecanese - custom_trigger_tooltip = { - tooltip = form_persia_italy_required_states_tt - controls_state = 164 - controls_state = 450 - controls_state = 451 - controls_state = 663 - } - # Britain: Egypt / Middle East - custom_trigger_tooltip = { - tooltip = form_persia_britain_required_states_tt - controls_state = 452 - controls_state = 447 - controls_state = 446 - controls_state = 456 - controls_state = 457 - controls_state = 453 - controls_state = 454 - controls_state = 455 - controls_state = 183 - controls_state = 656 - controls_state = 907 - } - controls_state = 1013 - } - - highlight_states = { - highlight_state_targets = { - state = 452 - state = 447 - state = 446 - state = 456 - state = 457 - state = 453 - state = 454 - state = 455 - state = 183 - state = 656 - state = 907 - state = 164 - state = 450 - state = 451 - state = 663 - state = 677 - state = 680 - state = 553 - state = 554 - state = 797 - state = 341 - state = 340 - state = 339 - state = 342 - state = 343 - state = 347 - state = 49 - state = 798 - state = 346 - state = 345 - state = 356 - state = 348 - state = 344 - state = 355 - state = 349 - state = 350 - state = 354 - state = 353 - state = 352 - state = 800 - state = 799 - state = 676 - state = 675 - state = 291 - state = 415 - state = 267 - state = 419 - state = 421 - state = 420 - state = 417 - state = 413 - state = 266 - state = 418 - state = 411 - state = 412 - state = 416 - state = 414 - state = 410 - state = 1010 - state = 1011 - state = 1000 - state = 1001 - state = 1004 - state = 1002 - state = 1003 - state = 1009 - state = 1007 - state = 1008 - state = 1006 - state = 1005 - state = 1013 - } - } - - visible = { - OR = { - original_tag = PER - original_tag = AFG - } - NOT = { has_global_flag = form_persian_empire_flag } - } - - complete_effect = { - set_cosmetic_tag = PER_UNIFIED - # Iran - custom_effect_tooltip = form_country_iran_coring_states_tt - hidden_effect = { - 419 = { add_core_of = ROOT } - 421 = { add_core_of = ROOT } - 420 = { add_core_of = ROOT } - 417 = { add_core_of = ROOT } - 413 = { add_core_of = ROOT } - 266 = { add_core_of = ROOT } - 418 = { add_core_of = ROOT } - 411 = { add_core_of = ROOT } - 412 = { add_core_of = ROOT } - 416 = { add_core_of = ROOT } - 414 = { add_core_of = ROOT } - 410 = { add_core_of = ROOT } - 1000 = { add_core_of = ROOT } - 1001 = { add_core_of = ROOT } - 1004 = { add_core_of = ROOT } - 1002 = { add_core_of = ROOT } - 1003 = { add_core_of = ROOT } - } - # Afghanistan - custom_effect_tooltip = form_country_afghanistan_coring_states_tt - hidden_effect = { - 415 = { add_core_of = ROOT } - 267 = { add_core_of = ROOT } - 1009 = { add_core_of = ROOT } - 1007 = { add_core_of = ROOT } - 1008 = { add_core_of = ROOT } - 1006 = { add_core_of = ROOT } - 1005 = { add_core_of = ROOT } - } - # Iraq - custom_effect_tooltip = form_country_iraq_coring_states_tt - hidden_effect = { - 676 = { add_core_of = ROOT } - 675 = { add_core_of = ROOT } - 291 = { add_core_of = ROOT } - 1010 = { add_core_of = ROOT } - 1011 = { add_core_of = ROOT } - } - # Turkey - custom_effect_tooltip = form_country_turkey_coring_states_tt - hidden_effect = { - 797 = { add_core_of = ROOT } - 341 = { add_core_of = ROOT } - 340 = { add_core_of = ROOT } - 339 = { add_core_of = ROOT } - 342 = { add_core_of = ROOT } - 343 = { add_core_of = ROOT } - 347= { add_core_of = ROOT } - 49 = { add_core_of = ROOT } - 798 = { add_core_of = ROOT } - 346 = { add_core_of = ROOT } - 345 = { add_core_of = ROOT } - 356 = { add_core_of = ROOT } - 348 = { add_core_of = ROOT } - 344 = { add_core_of = ROOT } - 355 = { add_core_of = ROOT } - 349 = { add_core_of = ROOT } - 350 = { add_core_of = ROOT } - 354 = { add_core_of = ROOT } - 353 = { add_core_of = ROOT } - 352 = { add_core_of = ROOT } - 800 = { add_core_of = ROOT } - 799 = { add_core_of = ROOT } - } - # France - custom_effect_tooltip = form_persia_france_coring_states_tt - hidden_effect = { - 677 = { add_core_of = ROOT } - 680 = { add_core_of = ROOT } - 553 = { add_core_of = ROOT } - 554 = { add_core_of = ROOT } - } - # Italy - custom_effect_tooltip = form_persia_italy_coring_states_tt - hidden_effect = { - 164 = { add_core_of = ROOT } - 450 = { add_core_of = ROOT } - 451 = { add_core_of = ROOT } - 663 = { add_core_of = ROOT } - } - # Britain - custom_effect_tooltip = form_persia_britain_coring_states_tt - hidden_effect = { - 452 = { add_core_of = ROOT } - 447 = { add_core_of = ROOT } - 446 = { add_core_of = ROOT } - 456 = { add_core_of = ROOT } - 457 = { add_core_of = ROOT } - 453 = { add_core_of = ROOT } - 454 = { add_core_of = ROOT } - 455 = { add_core_of = ROOT } - 183 = { add_core_of = ROOT } - 656 = { add_core_of = ROOT } - 907 = { add_core_of = ROOT } - } - - 1013 = { add_core_of = ROOT } - hidden_effect = { - news_event = { id = wtt_news.65 hours = 6 } - set_global_flag = form_persian_empire_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_byzantine_empire_category = { - - form_byzantine_empire = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - has_dlc = "Waking the Tiger" - NOT = { has_dlc = "Battle for the Bosporus" } - } - - available = { - is_subject = no - controls_state = 82 - controls_state = 81 - controls_state = 46 - controls_state = 971 - controls_state = 77 - #Albania - controls_state = 44 - controls_state = 805 - controls_state = 934 - # Greece - custom_trigger_tooltip = { - tooltip = form_country_greece_required_states_tt - controls_state = 185 - controls_state = 731 - controls_state = 47 - controls_state = 186 - controls_state = 184 - controls_state = 187 - controls_state = 182 - } - # Turkey - custom_trigger_tooltip = { - tooltip = form_country_turkey_required_states_tt - controls_state = 797 - controls_state = 341 - controls_state = 340 - controls_state = 339 - controls_state = 342 - controls_state = 343 - controls_state = 347 - controls_state = 49 - controls_state = 798 - controls_state = 346 - controls_state = 345 - controls_state = 356 - controls_state = 348 - controls_state = 344 - controls_state = 355 - controls_state = 349 - controls_state = 350 - controls_state = 354 - controls_state = 353 - controls_state = 352 - controls_state = 800 - controls_state = 799 #HATAY, REMOVE FROM AVAILABLE AND ADD CORE IN EFFECT - } - # Bulgaria - custom_trigger_tooltip = { - tooltip = form_country_bulgaria_required_states_tt - controls_state = 48 - controls_state = 212 - controls_state = 211 - controls_state = 801 - } - # Yugoslavia - custom_trigger_tooltip = { - tooltip = form_country_yugoslavia_required_states_tt - controls_state = 102 - controls_state = 853 - controls_state = 103 - controls_state = 109 - controls_state = 104 - controls_state = 45 - controls_state = 107 - controls_state = 105 - controls_state = 108 - controls_state = 106 - controls_state = 970 - controls_state = 764 - controls_state = 802 - controls_state = 803 - controls_state = 804 - } - } - - visible = { - NOT = { has_global_flag = form_byzantine_empire_flag } - } - - complete_effect = { - set_cosmetic_tag = BYZ_UNIFIED - set_capital = { state = 341 } - 341 = { add_core_of = ROOT } - hidden_effect = { 341 = { set_state_name = "Constantinople" } } - set_province_name = { id = 9833 name = "Constantinople" } - 82 = { add_core_of = ROOT } - 81 = { add_core_of = ROOT } - 46 = { add_core_of = ROOT } - 971 = { add_core_of = ROOT } - 77 = { add_core_of = ROOT } - #Albania - 44 = { add_core_of = ROOT } - 805 = { add_core_of = ROOT } - 934 = { add_core_of = ROOT } - # Greece - custom_effect_tooltip = form_country_greece_coring_states_tt - hidden_effect = { - 185 = { add_core_of = ROOT } - 731 = { add_core_of = ROOT } - 47 = { add_core_of = ROOT } - 186 = { add_core_of = ROOT } - 184 = { add_core_of = ROOT } - 187 = { add_core_of = ROOT } - 182 = { add_core_of = ROOT } - } - # Turkey - custom_effect_tooltip = form_country_turkey_coring_states_tt - hidden_effect = { - 341 = { add_core_of = ROOT } - 340 = { add_core_of = ROOT } - 339 = { add_core_of = ROOT } - 342 = { add_core_of = ROOT } - 343 = { add_core_of = ROOT } - 347 = { add_core_of = ROOT } - 49 = { add_core_of = ROOT } - 346 = { add_core_of = ROOT } - 345 = { add_core_of = ROOT } - 356 = { add_core_of = ROOT } - 348 = { add_core_of = ROOT } - 344 = { add_core_of = ROOT } - 355 = { add_core_of = ROOT } - 349 = { add_core_of = ROOT } - 350 = { add_core_of = ROOT } - 354 = { add_core_of = ROOT } - 353 = { add_core_of = ROOT } - 352 = { add_core_of = ROOT } - 799 = { add_core_of = ROOT } - 797 = { add_core_of = ROOT } - 798 = { add_core_of = ROOT } - 800 = { add_core_of = ROOT } - } - # Bulgaria - custom_effect_tooltip = form_country_bulgaria_coring_states_tt - hidden_effect = { - 48 = { add_core_of = ROOT } - 212 = { add_core_of = ROOT } - 211 = { add_core_of = ROOT } - 801 = { add_core_of = ROOT } - } - # Yugoslavia - custom_effect_tooltip = form_country_yugoslavia_coring_states_tt - hidden_effect = { - 102 = { add_core_of = ROOT } - 853 = { add_core_of = ROOT } - 103 = { add_core_of = ROOT } - 109 = { add_core_of = ROOT } - 104 = { add_core_of = ROOT } - 45 = { add_core_of = ROOT } - 107 = { add_core_of = ROOT } - 105 = { add_core_of = ROOT } - 108 = { add_core_of = ROOT } - 106 = { add_core_of = ROOT } - 970 = { add_core_of = ROOT } - 764 = { add_core_of = ROOT } - 802 = { add_core_of = ROOT } - 803 = { add_core_of = ROOT } - 804 = { add_core_of = ROOT } - - } - hidden_effect = { - news_event = { id = wtt_news.66 hours = 6 } - set_global_flag = form_byzantine_empire_flag - } - set_country_flag = achivement_i_swear_im_not_a_byzantophile - set_country_flag = achivement_istanbul_is_constantinople_again - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - byz_restore_byzantium = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - has_completed_focus = GRE_reviving_the_double_headed_eagle - # Greece - custom_trigger_tooltip = { - tooltip = form_country_greece_required_states_tt - controls_state = 185 - controls_state = 731 - controls_state = 47 - controls_state = 186 - controls_state = 184 - controls_state = 187 - controls_state = 182 - } - # Turkey - custom_trigger_tooltip = { - tooltip = form_country_turkey_required_states_tt - controls_state = 797 - controls_state = 341 - controls_state = 340 - controls_state = 339 - controls_state = 342 - controls_state = 343 - controls_state = 347 - controls_state = 49 - controls_state = 798 - controls_state = 346 - controls_state = 345 - controls_state = 356 - controls_state = 348 - controls_state = 344 - controls_state = 355 - controls_state = 349 - controls_state = 350 - controls_state = 354 - controls_state = 353 - controls_state = 352 - controls_state = 800 - } - } - - visible = { - AND = { - has_completed_focus = GRE_horror_and_fear - has_government = fascism - } - NOT = { has_global_flag = form_byzantine_empire_flag } - } - - complete_effect = { - set_country_flag = GRE_byz_unified_flag - GRE_set_appropriate_cosmetic_tag = yes - set_capital = { state = 797 } - 797 = { add_core_of = ROOT } - hidden_effect = { 797 = { set_state_name = "Constantinople" } } - set_province_name = { id = 9833 name = "Constantinople" } - # Greece - custom_effect_tooltip = form_country_greece_coring_states_tt - hidden_effect = { - 185 = { add_core_of = ROOT } - 731 = { add_core_of = ROOT } - 47 = { add_core_of = ROOT } - 186 = { add_core_of = ROOT } - 184 = { add_core_of = ROOT } - 187 = { add_core_of = ROOT } - 182 = { add_core_of = ROOT } - 731 = { set_state_name = "Thessalonica" } - 184 = { set_state_name = "Strymon" } - } - # Turkey - custom_effect_tooltip = form_country_turkey_coring_states_tt - hidden_effect = { - 341 = { add_core_of = ROOT } - 340 = { set_state_name = "Thracia" } - set_province_name = { id = 947 name = "Prusa" } - 340 = { add_core_of = ROOT } - 340 = { set_state_name = "Prusa" } - set_province_name = { id = 947 name = "Prusa" } - 339 = { add_core_of = ROOT } - 339 = { set_state_name = "Samos" } - set_province_name = { id = 4112 name = "Smyrna" } - 342 = { add_core_of = ROOT } - 342 = { set_state_name = "Cibyrrhaeot" } - set_province_name = { id = 1005 name = "Attaleia" } - 343 = { add_core_of = ROOT } - 343 = { set_state_name = "Thrakesion" } - set_province_name = { id = 9878 name = "Nicopolis" } - set_province_name = { id = 10041 name = "Attouda" } - 347 = { add_core_of = ROOT } - 347 = { set_state_name = "Optimaton" } - set_province_name = { id = 11811 name = "Nikomedeia" } - set_province_name = { id = 904 name = "Pontoheraclea" } - 49 = { add_core_of = ROOT } - 49 = { set_state_name = "Bukellarion" } - set_province_name = { id = 11747 name = "Ancyra" } - set_province_name = { id = 3951 name = "Dorylaion" } - 346 = { add_core_of = ROOT } - 346 = { set_state_name = "Anatolikon" } - set_province_name = { id = 940 name = "Ikonion" } - 345 = { add_core_of = ROOT } - 345 = { set_state_name = "Seleucia" } - set_province_name = { id = 10056 name = "Hadrianopolis" } - 356 = { add_core_of = ROOT } - 356 = { set_state_name = "Paphlagonia" } - set_province_name = { id = 6995 name = "Sinope" } - set_province_name = { id = 6938 name = "Kastamone" } - 348 = { add_core_of = ROOT } - 348 = { set_state_name = "Cappadocia" } - set_province_name = { id = 3870 name = "Caesarea" } - 344 = { add_core_of = ROOT } - 344 = { set_state_name = "Cilicia" } - set_province_name = { id = 11746 name = "Tarsus" } - set_province_name = { id = 886 name = "Germanicia" } - set_province_name = { id = 9893 name = "Ravanda" } - 355 = { add_core_of = ROOT } - 355 = { set_state_name = "Armeniakon" } - set_province_name = { id = 11881 name = "Amisos" } - 349 = { add_core_of = ROOT } - 349 = { set_state_name = "Koloneia" } - set_province_name = { id = 9777 name = "Sebasteia" } - 798 = { add_core_of = ROOT } - 798 = { set_state_name = "Carsiano" } - set_province_name = { id = 919 name = "Amaseia" } - set_province_name = { id = 3862 name = "Taouion" } - 350 = { add_core_of = ROOT } - 350 = { set_state_name = "Melitene" } - set_province_name = { id = 7620 name = "Melitene" } - set_province_name = { id = 9823 name = "Justinopolis" } - set_province_name = { id = 4512 name = "Amida" } - 354 = { add_core_of = ROOT } - 354 = { set_state_name = "Chaldia" } - set_province_name = { id = 9932 name = "Trebizond" } - 353 = { add_core_of = ROOT } - 353 = { set_state_name = "Manzikert" } - set_province_name = { id = 11853 name = "Theodosiopolis" } - 352 = { add_core_of = ROOT } - 352 = { set_state_name = "Hubushkia" } - set_province_name = { id = 12476 name = "Kondylis" } - 800 = { add_core_of = ROOT } - 800 = { set_state_name = "Vaspurakan" } - set_province_name = { id = 6935 name = "Eua" } - 799 = { add_core_of = ROOT } - 799 = { set_state_name = "Antioch" } - set_province_name = { id = 12029 name = "Antiochia" } - } - hidden_effect = { - news_event = { id = wtt_news.66 hours = 6 } - set_global_flag = form_byzantine_empire_flag - swap_ruler_traits = { remove = archon_basileus add = autokrator } - } - set_country_flag = achivement_i_swear_im_not_a_byzantophile - set_country_flag = achivement_istanbul_is_constantinople_again - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - byz_triumph_for_the_balkans = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - # Albania - custom_trigger_tooltip = { - tooltip = form_country_dyrrachium_required_states_tt - controls_state = 44 - controls_state = 105 - controls_state = 805 - controls_state = 934 - } - # Romania - custom_trigger_tooltip = { - tooltip = form_country_paristrion_required_states_tt - controls_state = 82 - controls_state = 81 - controls_state = 46 - controls_state = 971 - controls_state = 77 - controls_state = 766 - } - # Bulgaria - custom_trigger_tooltip = { - tooltip = form_country_boulgarias_required_states_tt - controls_state = 48 - controls_state = 212 - controls_state = 211 - controls_state = 106 - controls_state = 970 - controls_state = 801 - } - # Yugoslavia - custom_trigger_tooltip = { - tooltip = form_country_sirmium_required_states_tt - controls_state = 102 - controls_state = 853 - controls_state = 103 - controls_state = 109 - controls_state = 104 - controls_state = 45 - controls_state = 107 - controls_state = 108 - controls_state = 802 - controls_state = 803 - controls_state = 804 - controls_state = 764 - } - } - - visible = { - if = { - limit = { has_dlc = "Battle for the Bosporus" } - has_completed_focus = GRE_byzantine_themata - } - NOT = { has_global_flag = triumph_for_the_balkans } - } - - complete_effect = { - # Albania - custom_effect_tooltip = form_country_dyrrachium_coring_states_tt - hidden_effect = { - 44 = { add_core_of = ROOT } - 44 = { set_state_name = "Illyria" } - set_province_name = { id = 9914 name = "Kastrioti" } - set_province_name = { id = 11767 name = "Aulon" } - 105 = { add_core_of = ROOT } - 105 = { set_state_name = "Dyrrhachion" } - set_province_name = { id = 9809 name = "Dyrrhachium" } - 805 = { add_core_of = ROOT } - set_province_name = { id = 914 name = "Argyrokastro" } - 934 = { add_core_of = ROOT } - } - # Romania - custom_effect_tooltip = form_country_paristrion_coring_states_tt - hidden_effect = { - 82 = { add_core_of = ROOT } - 82 = { set_state_name = "Pannonia" } - 81 = { add_core_of = ROOT } - 48 = { set_state_name = "Wallachia" } - set_province_name = { id = 6652 name = "Pelendava" } - 46 = { add_core_of = ROOT } - 971 = { add_core_of = ROOT } - 46 = { set_state_name = "Paristrion" } - set_province_name = { id = 9617 name = "Kosmidis" } - set_province_name = { id = 3663 name = "Tarnovo" } - 77 = { add_core_of = ROOT } - 77 = { set_state_name = "Anchialus" } - set_province_name = { id = 11597 name = "Mesembria" } - 766 = { add_core_of = ROOT } - 766 = { set_state_name = "Silistra" } - set_province_name = { id = 6727 name = "Velissarios" } - - } - # Bulgaria - custom_effect_tooltip = form_country_boulgarias_coring_states_tt - hidden_effect = { - 48 = { add_core_of = ROOT } - 48 = { set_state_name = "Philippopolis" } - set_province_name = { id = 949 name = "Serdica" } - 212 = { add_core_of = ROOT } - 212 = { set_state_name = "Philippopolis" } - set_province_name = { id = 6923 name = "Philippopolis" } - 211 = { add_core_of = ROOT } - 211 = { set_state_name = "Pyrgos" } - set_province_name = { id = 9902 name = "Poros" } - set_province_name = { id = 9783 name = "Odessos" } - 106 = { add_core_of = ROOT } - 970 = { add_core_of = ROOT } - 106 = { set_state_name = "Boulgarias" } - set_province_name = { id = 3882 name = "Scupi" } - 731 = { set_state_name = "Macedonia" } - 801 = { add_core_of = ROOT } - } - # Yugoslavia - custom_effect_tooltip = form_country_sirmium_coring_states_tt - hidden_effect = { - 102 = { add_core_of = ROOT } - 853 = { add_core_of = ROOT } - 103 = { add_core_of = ROOT } - set_province_name = { id = 3924 name = "Spalatum" } - 109 = { add_core_of = ROOT } - set_province_name = { id = 11581 name = "Venizelos" } - 104 = { add_core_of = ROOT } - 104 = { set_state_name = "Bosona" } - 45 = { add_core_of = ROOT } - 107 = { add_core_of = ROOT } - 107 = { set_state_name = "Sirmium" } - set_province_name = { id = 11586 name = "Belograd" } - 108 = { add_core_of = ROOT } - 108 = { set_state_name = "Pizren" } - set_province_name = { id = 9602 name = "Naissus" } - 802 = { add_core_of = ROOT } - 803 = { add_core_of = ROOT } - 804 = { add_core_of = ROOT } - 764 = { add_core_of = ROOT } - } - hidden_effect = { - set_global_flag = triumph_for_the_balkans - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - byz_triumph_for_italy = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Battle for the Bosporus" - } - } - - available = { - is_subject = no - # Italy - custom_trigger_tooltip = { - tooltip = form_eu_italy_required_states_tt - controls_state = 158 - controls_state = 159 - controls_state = 39 - controls_state = 160 - controls_state = 161 - controls_state = 162 - controls_state = 157 - controls_state = 2 - controls_state = 117 - controls_state = 156 - controls_state = 115 - controls_state = 736 - controls_state = 849 - controls_state = 850 - controls_state = 852 - controls_state = 163 - } - } - - visible = { - original_tag = GRE - NOT = { has_global_flag = triumph_for_italy } - if = { - limit = { - has_dlc = "Battle for the Bosporus" - } - has_completed_focus = GRE_byzantine_themata - } - } - - complete_effect = { - # Italy - custom_effect_tooltip = form_eu_italy_coring_states_tt - hidden_effect = { - 158 = { add_core_of = ROOT } - 159 = { add_core_of = ROOT } - 39 = { add_core_of = ROOT } - 160 = { add_core_of = ROOT } - 161 = { add_core_of = ROOT } - 162 = { add_core_of = ROOT } - 157 = { add_core_of = ROOT } - 2 = { add_core_of = ROOT } - 117 = { add_core_of = ROOT } - 156 = { add_core_of = ROOT } - 115 = { add_core_of = ROOT } - 736 = { add_core_of = ROOT } - 849 = { add_core_of = ROOT } - 850 = { add_core_of = ROOT } - 852 = { add_core_of = ROOT } - 163 = { add_core_of = ROOT } - set_global_flag = triumph_for_italy - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - byz_triumph_for_middle_east = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - OR = { - has_dlc = "Waking the Tiger" - has_dlc = "Battle for the Bosporus" - } - } - - available = { - is_subject = no - # France: Syria - controls_state = 677 - controls_state = 680 - controls_state = 553 - controls_state = 554 - # Italy: Dodecanese - controls_state = 164 - # Britain: Middle East - controls_state = 453 - controls_state = 454 - controls_state = 455 - controls_state = 183 - controls_state = 799 - } - - visible = { - original_tag = GRE - NOT = { has_global_flag = triumph_for_middle_east } - if = { - limit = { has_dlc = "Battle for the Bosporus"} - has_completed_focus = GRE_byzantine_themata - } - } - - complete_effect = { - 677 = { add_core_of = ROOT } - 680 = { add_core_of = ROOT } - 553 = { add_core_of = ROOT } - 554 = { add_core_of = ROOT } - 164 = { add_core_of = ROOT } - 453 = { add_core_of = ROOT } - 454 = { add_core_of = ROOT } - 455 = { add_core_of = ROOT } - 183 = { add_core_of = ROOT } - 799 = { add_core_of = ROOT } - set_global_flag = triumph_for_middle_east - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - byz_triumph_for_egypt_and_tunis = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - has_dlc = "Waking the Tiger" - } - - available = { - is_subject = no - if = { - limit = { has_dlc = "Battle for the Bosporus"} - has_completed_focus = GRE_reviving_the_double_headed_eagle - } - # French North Africa - controls_state = 458 - controls_state = 665 - # Italian North Africa - controls_state = 449 - controls_state = 662 - controls_state = 448 - controls_state = 661 - controls_state = 450 - controls_state = 451 - controls_state = 663 - # Britain: Egypt - controls_state = 452 - controls_state = 447 - controls_state = 446 - controls_state = 456 - controls_state = 457 - controls_state = 907 - } - - visible = { - - NOT = { has_global_flag = triumph_for_egypt_and_tunis } - if = { - limit = { - has_dlc = "Battle for the Bosporus" - } - has_completed_focus = GRE_byzantine_themata - } - } - - complete_effect = { - 458 = { add_core_of = ROOT } - 665 = { add_core_of = ROOT } - 449 = { add_core_of = ROOT } - 662 = { add_core_of = ROOT } - 448 = { add_core_of = ROOT } - 661 = { add_core_of = ROOT } - 450 = { add_core_of = ROOT } - 451 = { add_core_of = ROOT } - 663 = { add_core_of = ROOT } - 452 = { add_core_of = ROOT } - 447 = { add_core_of = ROOT } - 446 = { add_core_of = ROOT } - 456 = { add_core_of = ROOT } - 457 = { add_core_of = ROOT } - 907 = { add_core_of = ROOT } - set_global_flag = triumph_for_egypt_and_tunis - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_arabia_category = { - - form_arabia = { - - icon = generic_form_nation - - on_map_mode = decision_view_only - - allowed = { - has_dlc = "Waking the Tiger" - } - - visible = { - OR = { - # Iraq - original_tag = IRQ - # Saudi Arabia - original_tag = SAU - # Yemen - original_tag = YEM - # Oman - original_tag = OMA - # Egypt - original_tag = EGY - # Libya - original_tag = LBA - # Jordan - original_tag = JOR - # Palestine - original_tag = PAL - # Lebanon - original_tag = LEB - # Syria - original_tag = SYR - # Kuwait - original_tag = KUW - # United Arab Emirates - original_tag = UAE - # Qatar - original_tag = QAT - # Tunisia - original_tag = TUN - # Algeria - original_tag = ALG - # Morocco - original_tag = MOR - # Sahrawi Arab Republic - original_tag = WES - # Mauretania - original_tag = MRT - # Sudan - original_tag = SUD - # Bahrain - original_tag = BHR - # South Arabia - original_tag = FSA - # Imamate of Oman - original_tag = IMO - } - NOT = { has_global_flag = form_arabia_flag } - } - - highlight_states = { - highlight_state_targets = { - state = 293 - state = 992 - state = 659 - state = 906 - state = 658 - state = 765 - state = 294 - state = 1014 - state = 1013 - state = 1015 - state = 1016 - state = 292 - state = 679 - state = 678 - state = 857 - state = 858 - state = 854 - state = 855 - state = 856 - state = 859 - state = 293 - } - } - - available = { - - # Saudi Arabia + Yemen - controls_state = 292 - controls_state = 679 - controls_state = 678 - controls_state = 857 - controls_state = 858 - controls_state = 854 - controls_state = 855 - controls_state = 856 - controls_state = 859 - controls_state = 293 - - # Omani States - controls_state = 1013 # Musandam - controls_state = 1015 # Oman - controls_state = 1016 # Dhofar - controls_state = 294 # Muscat - - } - - complete_effect = { - - set_cosmetic_tag = ARA_UNIFIED - - # Saudi Arabia - custom_effect_tooltip = form_country_saudi_coring_states_tt - hidden_effect = { - 292 = { add_core_of = ROOT } - 679 = { add_core_of = ROOT } - 678 = { add_core_of = ROOT } - 857 = { add_core_of = ROOT } - 858 = { add_core_of = ROOT } - 854 = { add_core_of = ROOT } - 855 = { add_core_of = ROOT } - 856 = { add_core_of = ROOT } - 859 = { add_core_of = ROOT } - } - - 293 = { add_core_of = ROOT } # Yemen - 992 = { add_core_of = ROOT } # Aden Province - 659 = { add_core_of = ROOT } # South Yemen - 906 = { add_core_of = ROOT } # Socotra - 658 = { add_core_of = ROOT } # Trucial States - 765 = { add_core_of = ROOT } # Qatar - 294 = { add_core_of = ROOT } # Muscat - 1014 = { add_core_of = ROOT } # Bahrain - 1013 = { add_core_of = ROOT } # Musandam - 1015 = { add_core_of = ROOT } # Oman - 1016 = { add_core_of = ROOT } # Dhofar - - hidden_effect = { - news_event = { id = wtt_news.67 hours = 6 } - set_global_flag = form_arabia_flag - set_country_flag = is_arabia_flag - } - - } - - ai_will_do = { - base = 200 - } - - } - - # Iraq + Kuwait - integrate_the_fertile_crescent = { - - icon = GFX_decision_generic_nationalism - - fire_only_once = yes - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 676 - state = 675 - state = 291 - state = 1011 - state = 1010 - state = 656 - state = 413 - } - } - - allowed = { - has_dlc = "Waking the Tiger" - } - - visible = { - has_global_flag = form_arabia_flag - has_country_flag = is_arabia_flag - } - - available = { - - controls_state = 676 - controls_state = 675 - controls_state = 291 - controls_state = 1011 - controls_state = 1010 - - } - - complete_effect = { - - 676 = { add_core_of = ROOT } - 675 = { add_core_of = ROOT } - 291 = { add_core_of = ROOT } - 413 = { add_core_of = ROOT } - 656 = { add_core_of = ROOT } - 1011 = { add_core_of = ROOT } - 1010 = { add_core_of = ROOT } - - } - - ai_will_do = { - base = 200 - } - } - - # Syria + Lebanon + Jordan + Palestine - integrate_the_levantine_states = { - - icon = GFX_decision_generic_nationalism - - fire_only_once = yes - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 677 - state = 680 - state = 553 - state = 554 - state = 455 - state = 454 - state = 799 - } - } - - allowed = { - has_dlc = "Waking the Tiger" - } - - visible = { - has_global_flag = form_arabia_flag - has_country_flag = is_arabia_flag - } - - available = { - - controls_state = 677 - controls_state = 680 - controls_state = 553 - controls_state = 554 - controls_state = 455 - controls_state = 454 - - } - - complete_effect = { - - 677 = { add_core_of = ROOT } # Aleppo - 680 = { add_core_of = ROOT } # Deir az zur - 553 = { add_core_of = ROOT } # Lebanon - 554 = { add_core_of = ROOT } # Damascus - - 455 = { add_core_of = ROOT } # Jordan - 454 = { add_core_of = ROOT } # Palestine - 799 = { add_core_of = ROOT } # Hatay - - } - - ai_will_do = { - base = 200 - } - } - - # Egypt + North Sudan - integrate_the_western_mashriq = { - - icon = GFX_decision_generic_nationalism - - fire_only_once = yes - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 907 - state = 552 - state = 452 - state = 447 - state = 446 - state = 456 - state = 457 - state = 453 - state = 551 - state = 883 - state = 767 - } - } - - allowed = { - has_dlc = "Waking the Tiger" - } - - visible = { - has_global_flag = form_arabia_flag - has_country_flag = is_arabia_flag - } - - available = { - - controls_state = 907 - controls_state = 452 - controls_state = 447 - controls_state = 446 - controls_state = 456 - controls_state = 457 - controls_state = 453 - controls_state = 551 - controls_state = 883 - - } - - complete_effect = { - - 907 = { add_core_of = ROOT } # Cairo - 552 = { add_core_of = ROOT } # Western Desert - 452 = { add_core_of = ROOT } # Matrouh - 447 = { add_core_of = ROOT } # Alexandria - 446 = { add_core_of = ROOT } # Suez - 456 = { add_core_of = ROOT } # Aswan - 457 = { add_core_of = ROOT } # Eastern Desert - 453 = { add_core_of = ROOT } # Sinai - 551 = { add_core_of = ROOT } # Kharthoum - 883 = { add_core_of = ROOT } # Kassala - 767 = { add_core_of = ROOT } # North Darfur - - } - - ai_will_do = { - base = 200 - } - } - - # Libya + Tunisia - integrate_the_eastern_maghreb = { - - icon = GFX_decision_generic_nationalism - - fire_only_once = yes - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 448 - state = 661 - state = 449 - state = 662 - state = 450 - state = 451 - state = 663 - state = 273 - state = 458 - state = 665 - } - } - - allowed = { - has_dlc = "Waking the Tiger" - } - - visible = { - has_global_flag = form_arabia_flag - has_country_flag = is_arabia_flag - } - - available = { - - controls_state = 448 - controls_state = 661 - controls_state = 449 - controls_state = 662 - controls_state = 450 - controls_state = 451 - controls_state = 663 - controls_state = 458 - controls_state = 665 - - } - - complete_effect = { - - # Tunisia - 458 = { add_core_of = ROOT } - 665 = { add_core_of = ROOT } - - # Libya - 448 = { add_core_of = ROOT } - 661 = { add_core_of = ROOT } - 449 = { add_core_of = ROOT } - 662 = { add_core_of = ROOT } - 450 = { add_core_of = ROOT } - 451 = { add_core_of = ROOT } - 663 = { add_core_of = ROOT } - 273 = { add_core_of = ROOT } - - } - - ai_will_do = { - base = 200 - } - } - - # Algeria + Morocco - integrate_the_al_maghribiyah_and_al_jazair = { - - icon = GFX_decision_generic_nationalism - - fire_only_once = yes - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 290 - state = 783 - state = 460 - state = 513 - state = 459 - state = 461 - state = 462 - state = 514 - state = 799 - } - } - - allowed = { - has_dlc = "Waking the Tiger" - } - - visible = { - has_global_flag = form_arabia_flag - has_country_flag = is_arabia_flag - } - - available = { - - controls_state = 290 - controls_state = 783 - controls_state = 460 - controls_state = 513 - controls_state = 459 - controls_state = 461 - controls_state = 462 - - } - - complete_effect = { - - # Spanish Africa - 290 = { add_core_of = ROOT } - 783 = { add_core_of = ROOT } - - # French Africa - 460 = { add_core_of = ROOT } - 513 = { add_core_of = ROOT } - 459 = { add_core_of = ROOT } - 461 = { add_core_of = ROOT } - 462 = { add_core_of = ROOT } - 514 = { add_core_of = ROOT } - - } - - ai_will_do = { - base = 200 - } - } - - # West Sahara + Mauretania - integrate_the_west_sahara = { - - icon = GFX_decision_generic_nationalism - - fire_only_once = yes - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 699 - state = 786 - state = 557 - } - } - - allowed = { - has_dlc = "Waking the Tiger" - } - - visible = { - has_global_flag = form_arabia_flag - has_country_flag = is_arabia_flag - } - - available = { - - controls_state = 699 - controls_state = 557 - - } - - complete_effect = { - - 699 = { add_core_of = ROOT } - 786 = { add_core_of = ROOT } - 557 = { add_core_of = ROOT } - - } - - ai_will_do = { - base = 200 - } - } - -} - -form_majapahit_empire_category = { - - form_majapahit_empire = { - - icon = generic_form_nation - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 672 - state = 335 - state = 334 - state = 667 - state = 673 - state = 668 - state = 667 - state = 738 - state = 669 - state = 336 - state = 333 - state = 1021 - state = 1023 - state = 1024 - state = 1022 - } - } - - allowed = { - OR = { - tag = INS - tag = MAL - } - #傻逼P社 - } - - available = { - - # Dutch East Indies - custom_trigger_tooltip = { - tooltip = form_majapahit_nei_required_states_tt - controls_state = 672 - controls_state = 335 - controls_state = 334 - controls_state = 667 - controls_state = 673 - controls_state = 668 - controls_state = 667 - controls_state = 738 - controls_state = 669 - } - # British Malaya - custom_trigger_tooltip = { - tooltip = form_majapahit_malaya_required_states_tt - controls_state = 336 - controls_state = 333 - controls_state = 1023 - controls_state = 1024 - } - controls_state = 1021 - } - - visible = { - NOT = { has_global_flag = form_majapahit_empire_flag } - } - - complete_effect = { - set_cosmetic_tag = MAJ_UNIFIED - # Dutch East Indies - custom_effect_tooltip = form_country_nei_coring_states_tt - hidden_effect = { - 672 = { add_core_of = ROOT } - 335 = { add_core_of = ROOT } - 334 = { add_core_of = ROOT } - 667 = { add_core_of = ROOT } - 673 = { add_core_of = ROOT } - 668 = { add_core_of = ROOT } - 667 = { add_core_of = ROOT } - 738 = { add_core_of = ROOT } - 669 = { add_core_of = ROOT } - } - # British Malaya - custom_effect_tooltip = form_country_malaya_coring_states_tt - hidden_effect = { - 336 = { add_core_of = ROOT } - 333 = { add_core_of = ROOT } - 1023 = { add_core_of = ROOT } - 1024 = { add_core_of = ROOT } - } - 721 = { add_core_of = ROOT } - 711 = { add_core_of = ROOT } - 712 = { add_core_of = ROOT } - 1021 = { add_core_of = ROOT } - 1022 = { add_core_of = ROOT } - hidden_effect = { - news_event = { id = wtt_news.68 hours = 6 } - set_global_flag = form_majapahit_empire_flag - } - } - - ai_will_do = { - base = 200 - } - } - - integrate_papua = { - - icon = generic_form_nation - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 523 - state = 979 - } - } - - allowed = { - - } - - fire_only_once = yes - - available = { - controls_state = 523 - controls_state = 979 - } - - visible = { - has_global_flag = form_majapahit_empire_flag - } - - complete_effect = { - 523 = { add_core_of = ROOT } - 979 = { add_core_of = ROOT } - } - - ai_will_do = { - base = 200 - } - } - - integrate_the_northern_malays = { - - icon = generic_form_nation - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 724 - } - } - - allowed = { - - } - - fire_only_once = yes - - available = { - controls_state = 724 - } - - visible = { - has_global_flag = form_majapahit_empire_flag - } - - complete_effect = { - 724 = { add_core_of = ROOT } - } - - ai_will_do = { - base = 200 - } - } - - integrate_the_philippines = { - - icon = generic_form_nation - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 623 - state = 327 - state = 624 - state = 626 - state = 628 - state = 625 - state = 627 - state = 1025 - state = 1026 - state = 1027 - } - } - - allowed = { - - } - - fire_only_once = yes - - available = { - controls_state = 623 - controls_state = 327 - controls_state = 624 - controls_state = 626 - controls_state = 628 - controls_state = 625 - controls_state = 627 - controls_state = 1025 - controls_state = 1026 - controls_state = 1027 - } - - visible = { - has_global_flag = form_majapahit_empire_flag - } - - complete_effect = { - 623 = { add_core_of = ROOT } - 327 = { add_core_of = ROOT } - 624 = { add_core_of = ROOT } - 626 = { add_core_of = ROOT } - 628 = { add_core_of = ROOT } - 625 = { add_core_of = ROOT } - 627 = { add_core_of = ROOT } - 1025 = { add_core_of = ROOT } - 1026 = { add_core_of = ROOT } - 1027 = { add_core_of = ROOT } - } - - ai_will_do = { - base = 200 - } - } - -} - -form_maphilindo_category = { - form_maphilindo = { - icon = generic_form_nation - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 672 - state = 335 - state = 334 - state = 667 - state = 673 - state = 668 - state = 667 - state = 738 - state = 669 - state = 336 - state = 333 - state = 1023 - state = 1024 - state = 1022 - state = 623 - state = 327 - state = 624 - state = 626 - state = 628 - state = 625 - state = 627 - state = 1025 - state = 1026 - state = 1027 - } - } - - available = { - # Dutch East Indies - custom_trigger_tooltip = { - tooltip = form_majapahit_nei_required_states_tt - controls_state = 672 - controls_state = 335 - controls_state = 334 - controls_state = 667 - controls_state = 673 - controls_state = 668 - controls_state = 667 - controls_state = 738 - controls_state = 669 - } - # British Malaya - custom_trigger_tooltip = { - tooltip = form_majapahit_malaya_required_states_tt - controls_state = 336 - controls_state = 333 - controls_state = 1023 - controls_state = 1024 - } - # Philippines - custom_trigger_tooltip = { - tooltip = form_maphilindo_philippines_required_states_tt - controls_state = 623 - controls_state = 327 - controls_state = 624 - controls_state = 626 - controls_state = 628 - controls_state = 625 - controls_state = 627 - controls_state = 1025 - controls_state = 1026 - controls_state = 1027 - } - } - - fire_only_once = yes - - complete_effect = { - set_cosmetic_tag = PHI_maphilindo_tag - set_global_flag = PHI_maphilindo_flag - # Dutch East Indies - custom_effect_tooltip = form_country_nei_coring_states_tt - hidden_effect = { - 672 = { add_core_of = ROOT } - 335 = { add_core_of = ROOT } - 334 = { add_core_of = ROOT } - 667 = { add_core_of = ROOT } - 673 = { add_core_of = ROOT } - 668 = { add_core_of = ROOT } - 667 = { add_core_of = ROOT } - 738 = { add_core_of = ROOT } - 669 = { add_core_of = ROOT } - 1022 = { add_core_of = ROOT } - } - # British Malaya - custom_effect_tooltip = form_country_malaya_coring_states_tt - hidden_effect = { - 336 = { add_core_of = ROOT } - 333 = { add_core_of = ROOT } - 1023 = { add_core_of = ROOT } - 1024 = { add_core_of = ROOT } - } - 721 = { add_core_of = ROOT } - 711 = { add_core_of = ROOT } - 712 = { add_core_of = ROOT } - 1021 = { add_core_of = ROOT } - } - - ai_will_do = { - base = 200 - } - } - - integrate_siam = { - highlight_states = { - highlight_state_targets = { - state = 289 - state = 868 - state = 869 - state = 724 - } - } - - on_map_mode = decision_view_only - - available = { - controls_state = 289 - controls_state = 868 - controls_state = 869 - controls_state = 724 - } - - visible = { - has_global_flag = PHI_maphilindo_flag - } - - fire_only_once = yes - - ai_will_do = { - base = 200 - } - - complete_effect = { - if = { - limit = { - NOT = { - has_global_flag = PHI_ASEAN_flag - } - } - set_global_flag = PHI_ASEAN_flag - set_cosmetic_tag = PHI_asean_tag - } - 289 = { add_core_of = ROOT } - 868 = { add_core_of = ROOT } - 869 = { add_core_of = ROOT } - 724 = { add_core_of = ROOT } - } - } - - integrate_indochina = { - - highlight_states = { - highlight_state_targets = { - state = 670 - state = 671 - state = 1017 - state = 286 - state = 741 - } - } - - on_map_mode = decision_view_only - - available = { - controls_state = 670 - controls_state = 671 - controls_state = 1017 - controls_state = 286 - controls_state = 741 - } - - visible = { - has_global_flag = PHI_maphilindo_flag - } - - fire_only_once = yes - - ai_will_do = { - base = 200 - } - - complete_effect = { - if = { - limit = { - NOT = { - has_global_flag = PHI_ASEAN_flag - } - } - set_global_flag = PHI_ASEAN_flag - set_cosmetic_tag = PHI_asean_tag - } - 670 = { add_core_of = ROOT } - 671 = { add_core_of = ROOT } - 1017 = { add_core_of = ROOT } - 286 = { add_core_of = ROOT } - 741 = { add_core_of = ROOT } - } - } - - integrate_burma = { - - highlight_states = { - highlight_state_targets = { - state = 998 - state = 288 - state = 997 - state = 996 - state = 640 - state = 999 - state = 993 - state = 995 - state = 994 - } - } - - on_map_mode = decision_view_only - - available = { - controls_state = 998 - controls_state = 288 - controls_state = 997 - controls_state = 996 - controls_state = 640 - controls_state = 999 - controls_state = 993 - controls_state = 995 - controls_state = 994 - } - - visible = { - has_global_flag = PHI_maphilindo_flag - } - - fire_only_once = yes - - ai_will_do = { - base = 200 - } - - complete_effect = { - if = { - limit = { - NOT = { - has_global_flag = PHI_ASEAN_flag - } - } - set_global_flag = PHI_ASEAN_flag - set_cosmetic_tag = PHI_asean_tag - } - 998 = { add_core_of = ROOT } - 288 = { add_core_of = ROOT } - 997 = { add_core_of = ROOT } - 996 = { add_core_of = ROOT } - 640 = { add_core_of = ROOT } - 999 = { add_core_of = ROOT } - 993 = { add_core_of = ROOT } - 995 = { add_core_of = ROOT } - 994 = { add_core_of = ROOT } - } - } -} - -form_rattanakosin_kingdom_category = { - - form_rattanakosin_kingdom = { - - icon = generic_form_nation - - allowed = { - original_tag = SIA - has_dlc = "Waking the Tiger" - } - - available = { - is_subject = no - # Siam - controls_state = 289 - controls_state = 868 - controls_state = 869 - controls_state = 724 - # Cambodia - controls_state = 741 - # Laos - controls_state = 670 - } - - visible = { - original_tag = SIA - NOT = { has_global_flag = form_rattanakosin_kingdom_flag } - } - - complete_effect = { - set_cosmetic_tag = RAT_UNIFIED - 741 = { add_core_of = ROOT } - 670 = { add_core_of = ROOT } - hidden_effect = { - news_event = { id = wtt_news.69 hours = 6 } - set_global_flag = form_rattanakosin_kingdom_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_hre_category = { - - form_hre = { - - icon = generic_form_nation - - allowed = { - - OR = { - original_tag = GER - AND = { - original_tag = AUS - has_dlc = "Gotterdammerung" - } - } - - } - - available = { - - is_subject = no - - # Germany - custom_trigger_tooltip = { - tooltip = form_hre_germany_required_states_tt - controls_state = 51 - controls_state = 42 - controls_state = 56 - controls_state = 57 - controls_state = 55 - controls_state = 50 - controls_state = 978 #BADEN - controls_state = 59 - controls_state = 58 - controls_state = 909 #New state of SCHLESWIG - controls_state = 60 - controls_state = 54 - controls_state = 52 - controls_state = 53 - controls_state = 61 - controls_state = 64 - controls_state = 65 - controls_state = 62 - controls_state = 68 - controls_state = 66 - controls_state = 67 - controls_state = 63 - } - - controls_state = 8 - controls_state = 28 - controls_state = 735 - controls_state = 69 - controls_state = 972 - controls_state = 9 - controls_state = 75 - controls_state = 74 - controls_state = 158 - controls_state = 159 - controls_state = 39 - controls_state = 850 - controls_state = 160 - controls_state = 161 - controls_state = 162 - controls_state = 736 - controls_state = 852 - controls_state = 102 - controls_state = 853 - - # Switzerland - custom_trigger_tooltip = { - tooltip = form_country_switzerland_required_states_tt - controls_state = 3 #Swiss Plateau - controls_state = 151 #Eastern Swiss Alps - controls_state = 845 #Jura Mountains - controls_state = 847 #Western Swiss Alps - controls_state = 846 #Ticino - } - - # Austria - custom_trigger_tooltip = { - tooltip = form_country_austria_required_states_tt - controls_state = 848 - controls_state = 153 - controls_state = 152 - controls_state = 4 - controls_state = 975 - controls_state = 976 - controls_state = 848 #Vorarlberg - } - - # Netherlands - custom_trigger_tooltip = { - tooltip = form_eu_netherlands_required_states_tt - controls_state = 7 - controls_state = 35 - controls_state = 36 - } - - # Belgium - custom_trigger_tooltip = { - tooltip = form_eu_belgium_required_states_tt - controls_state = 6 - controls_state = 34 - controls_state = 977 - controls_state = 980 - } - - } - - visible = { - IF = { - limit = { - has_dlc = "Gotterdammerung" - } - OR = { - AND = { - original_tag = GER - has_completed_focus = GER_restore_the_holy_roman_empire - } - AND = { - original_tag = AUS - has_government = neutrality - has_completed_focus = AUS_legacy_of_the_empire - OR = { - has_country_leader = { - ruling_only = yes # default = yes - character = AUS_ernst_rudiger_starhemberg - } - has_country_leader = { - ruling_only = yes # default = yes - character = AUS_alois_of_liechtenstein - } - } - } - } - } - ELSE_IF = { - limit = { - NOT = { - has_dlc = "Gotterdammerung" - } - } - AND = { - original_tag = GER - has_government = neutrality - has_country_leader = { - ruling_only = yes - character = GER_victoria - } - } - } - - NOT = { has_global_flag = form_hre_flag } - } - - complete_effect = { - - set_cosmetic_tag = HRE_UNIFIED - - 8 = { add_core_of = ROOT } #Luxembourg - 28 = { add_core_of = ROOT } #Alsace - 735 = { add_core_of = ROOT } #Savoy - 158 = { add_core_of = ROOT } #Piedmont - 159 = { add_core_of = ROOT } #Lombardy - 39 = { add_core_of = ROOT } #South Tyrol - 160 = { add_core_of = ROOT } #Veneto - 161 = { add_core_of = ROOT } #Emilia Romagna - 162 = { add_core_of = ROOT } #Tuscany - 736 = { add_core_of = ROOT } #Litorale - 850 = { add_core_of = ROOT } #Trentino - 852 = { add_core_of = ROOT } #Istria - 102 = { add_core_of = ROOT } #North Slovenia - 853 = { add_core_of = ROOT } #Ljubljana - - #Czechoslovakia, not all - 69 = { add_core_of = ROOT } #Sudetenland - 972 = { add_core_of = ROOT } #South Sudetenland - 9 = { add_core_of = ROOT } #Bohemia - 75 = { add_core_of = ROOT } #Moravia - 74 = { add_core_of = ROOT } #East Sudetenland - - #Germany - custom_effect_tooltip = form_hre_germany_coring_states_tt - hidden_effect = { - 51 = { add_core_of = ROOT } # Rhineland - 42 = { add_core_of = ROOT } # Moselland - 56 = { add_core_of = ROOT } # Weser-ems - 57 = { add_core_of = ROOT } # Westfalen - 55 = { add_core_of = ROOT } # Hessen - 50 = { add_core_of = ROOT } # Wurttemberg - 978 = { add_core_of = ROOT } # Baden - 59 = { add_core_of = ROOT } # Hannover - 58 = { add_core_of = ROOT } # Holstein - 909 = { add_core_of = ROOT } # Schleswig - 60 = { add_core_of = ROOT } # Thuringia - 54 = { add_core_of = ROOT } # Franken - 52 = { add_core_of = ROOT } # Oberbayern - 53 = { add_core_of = ROOT } # Niederbayern - 61 = { add_core_of = ROOT } # Mecklenburg - 64 = { add_core_of = ROOT } # Brandenberg - 65 = { add_core_of = ROOT } # Sachsen - 62 = { add_core_of = ROOT } # Vorpommern - 68 = { add_core_of = ROOT } # Ostmark - 66 = { add_core_of = ROOT } # Niederschlesien - 67 = { add_core_of = ROOT } # Oberschlesien - 63 = { add_core_of = ROOT } # Hinterpommern - } - - # Switzerland - custom_effect_tooltip = form_country_switzerland_coring_states_tt - hidden_effect = { - 3 = { add_core_of = ROOT } - 151 = { add_core_of = ROOT } - 845 = { add_core_of = ROOT } - 847 = { add_core_of = ROOT } - 846 = { add_core_of = ROOT } - } - - # Austria - custom_effect_tooltip = form_country_austria_coring_states_tt - hidden_effect = { - 848 = { add_core_of = ROOT } - 153 = { add_core_of = ROOT } - 152 = { add_core_of = ROOT } - 4 = { add_core_of = ROOT } - 975 = { add_core_of = ROOT } - 976 = { add_core_of = ROOT } - } - - # Netherlands - custom_effect_tooltip = form_eu_netherlands_coring_states_tt - hidden_effect = { - 7 = { add_core_of = ROOT } - 35 = { add_core_of = ROOT } - 36 = { add_core_of = ROOT } - } - - # Belgium - custom_effect_tooltip = form_eu_belgium_coring_states_tt - hidden_effect = { - 6 = { add_core_of = ROOT } - 34 = { add_core_of = ROOT } - 977 = { add_core_of = ROOT } - 980 = { add_core_of = ROOT } - } - - hidden_effect = { - news_event = { id = wtt_news.70 hours = 6 } - set_global_flag = form_hre_flag - } - - } - - ai_will_do = { - factor = 200 - } - } -} - -form_greater_german_reich_category = { - - form_greater_german_reich = { - - icon = generic_form_nation - - allowed = { - original_tag = GER - has_dlc = "Waking the Tiger" - } - - cost = 25 - - available = { - is_subject = no - 16 = { #Paris - state_is_fully_controlled_by_ROOT_or_subject = yes - } - 9 = { #Prague - state_is_fully_controlled_by_ROOT_or_subject = yes - } - 10 = { #Warsaw - state_is_fully_controlled_by_ROOT_or_subject = yes - } - 195 = { #Leningrad - state_is_fully_controlled_by_ROOT_or_subject = yes - } - 219 = { #Moscow - state_is_fully_controlled_by_ROOT_or_subject = yes - } - 217 = { #Stalingrad - state_is_fully_controlled_by_ROOT_or_subject = yes - } - all_owned_state = { - is_fully_controlled_by = ROOT - } - } - - visible = { - AND = { - original_tag = GER - has_government = fascism - # Should be formable by other Nazis as well - #has_country_leader = { - # ruling_only = yes - # character = GER_adolf_hitler - #} - } - NOT = { has_global_flag = form_greater_german_reich_flag } - OR = { - AND = { - has_war_with = FRA - FRA = { has_capitulated = yes } - } - AND = { - owns_state = 16 - has_full_control_of_state = 16 - } - 219 = { - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - } - - complete_effect = { - add_war_support = 0.05 - add_stability = 0.05 - set_cosmetic_tag = GER_greater_german_reich - set_province_name = { - id = 6521 - name = VICTORY_POINTS_6521_Germania - } - add_victory_points = { - province = 6521 - value = 25 - } - hidden_effect = { - set_global_flag = form_greater_german_reich_flag - } - custom_effect_tooltip = generic_skip_one_line_tt - if = { - limit = { - 39 = { #Alto Adige - NOT = { is_core_of = GER} - any_neighbor_state = { - is_core_of = GER - } - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - if = { - limit = { - 39 = { - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - add_state_core = 39 - } - } - if = { - limit = { - 850 = { #Trentino - NOT = { is_core_of = GER} - state_is_fully_controlled_by_ROOT_or_subject = yes - } - 39 = { #Alto Adige needs to be in German control to gain a core on Trentino - any_neighbor_state = { - is_core_of = GER - } - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - if = { - limit = { - 850 = { - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - add_state_core = 850 - } - } - if = { - limit = { - 3 = { #Swiss Plateau - NOT = { is_core_of = GER} - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - if = { - limit = { - 3 = { - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - add_state_core = 3 - } - } - if = { - limit = { - 847 = { #Western Swiss Alps - NOT = { is_core_of = GER} - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - if = { - limit = { - 847 = { - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - add_state_core = 847 - } - } - if = { - limit = { - 151 = { #Eastern Swiss Alps - NOT = { is_core_of = GER} - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - if = { - limit = { - 151 = { - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - add_state_core = 151 - } - } - if = { - limit = { - 85 = { #Danzig - NOT = { is_core_of = GER} - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - if = { - limit = { - 85 = { - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - add_state_core = 85 - } - } - if = { - limit = { - 807 = { #Gdynia - NOT = { is_core_of = GER} - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - if = { - limit = { - 807 = { - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - add_state_core = 807 - } - } - if = { - limit = { - 86 = { #Poznan - NOT = { is_core_of = GER} - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - if = { - limit = { - 86 = { - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - add_state_core = 86 - } - } - if = { - limit = { - 762 = { #Katowice - NOT = { is_core_of = GER} - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - if = { - limit = { - 762 = { - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - add_state_core = 762 - } - } - if = { - limit = { - 912 = { #Sonderjylland - NOT = { is_core_of = GER} - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - if = { - limit = { - 912 = { - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - add_state_core = 912 - } - } - if = { - limit = { - 102 = { #North Slovenia - NOT = { is_core_of = GER} - state_is_fully_controlled_by_ROOT_or_subject = yes - any_neighbor_state = { - is_core_of = GER - } - } - } - if = { - limit = { - 102 = { - state_is_fully_controlled_by_ROOT_or_subject = yes - } - } - add_state_core = 102 - } - } - } - - ai_will_do = { - factor = 200 - } - } -} - -form_greater_german_state_category = { - - form_greater_proletarian_state = { - - icon = generic_form_nation - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 8 - state = 7 - state = 35 - state = 36 - state = 6 - state = 34 - state = 977 - state = 980 - state = 29 - state = 18 - state = 17 - state = 28 - state = 15 - state = 16 - state = 27 - state = 14 - state = 30 - state = 24 - state = 23 - state = 33 - state = 26 - state = 20 - state = 32 - state = 735 - state = 25 - state = 22 - state = 21 - state = 851 - state = 19 - state = 1 - state = 785 - state = 31 - state = 806 - #state = 158 - #state = 159 - #state = 39 - #state = 160 - #state = 161 - #state = 162 - #state = 157 - #state = 2 - #state = 117 - #state = 156 - #state = 115 - #state = 114 - #state = 736 - #state = 849 - #state = 850 - #state = 852 - state = 51 - state = 42 - state = 56 - state = 57 - state = 55 - state = 50 - state = 978 - state = 59 - state = 58 - state = 909 - state = 60 - state = 54 - state = 52 - state = 53 - state = 61 - state = 64 - state = 65 - state = 62 - state = 68 - state = 66 - state = 67 - state = 63 - state = 5 - state = 763 - state = 127 # Sussex - state = 123 # South-West England - state = 338 # Gloustershire - state = 126 # Greater London Area - state = 125 # East Anglia - state = 129 # East Midlands - state = 128 # West Midlands - state = 122 # Wales - state = 132 # Lancashire - state = 130 # Yorkshire - state = 931 # Cumbria - state = 131 # Northumberland - state = 133 # Lanark - state = 121 # Lothian - state = 136 # Aberdeenshire - state = 120 # Scottish Highlands - } - } - - allowed = { - has_dlc = "Gotterdammerung" - original_tag = GER - } - - visible = { - is_major = yes - has_completed_focus = GER_hegemony_over_europe - NOT = { has_global_flag = form_greater_proletarian_state_flag } - } - - available = { - is_subject = no - - controls_state = 8 - - # Netherlands - custom_trigger_tooltip = { - tooltip = form_eu_netherlands_required_states_tt - controls_state = 7 - controls_state = 35 - controls_state = 36 - } - - # Belgium - custom_trigger_tooltip = { - tooltip = form_eu_belgium_required_states_tt - controls_state = 6 - controls_state = 34 - controls_state = 977 - controls_state = 980 - } - - # France - custom_trigger_tooltip = { - tooltip = form_eu_france_required_states_tt - controls_state = 29 - controls_state = 18 - controls_state = 17 - controls_state = 28 - controls_state = 15 - controls_state = 16 - controls_state = 27 - controls_state = 14 - controls_state = 30 - controls_state = 24 - controls_state = 23 - controls_state = 33 - controls_state = 26 - controls_state = 20 - controls_state = 32 - controls_state = 735 - controls_state = 25 - controls_state = 22 - controls_state = 21 - controls_state = 851 - controls_state = 19 - controls_state = 1 - controls_state = 785 - controls_state = 31 - controls_state = 806 - } - - # Italy - #custom_trigger_tooltip = { - # tooltip = form_eu_italy_required_states_tt - # controls_state = 158 - # controls_state = 159 - # controls_state = 39 - # controls_state = 160 - # controls_state = 161 - # controls_state = 162 - # controls_state = 157 - # controls_state = 2 - # controls_state = 117 - # controls_state = 156 - # controls_state = 115 - # controls_state = 114 - # controls_state = 736 - # controls_state = 849 - # controls_state = 850 - # controls_state = 852 - #} - - # Germany - custom_trigger_tooltip = { - tooltip = form_country_germany_required_states_tt - controls_state = 51 - controls_state = 42 - controls_state = 56 - controls_state = 57 - controls_state = 55 - controls_state = 50 - controls_state = 978 #BADEN - controls_state = 59 - controls_state = 58 - controls_state = 909 #New state of SCHLESWIG - controls_state = 60 - controls_state = 54 - controls_state = 52 - controls_state = 53 - controls_state = 61 - controls_state = 64 - controls_state = 65 - controls_state = 62 - controls_state = 68 - controls_state = 66 - controls_state = 67 - controls_state = 63 - controls_state = 5 - controls_state = 763 - } - - custom_trigger_tooltip = { - tooltip = form_proletarian_state_british_mainland_required_states_tt - controls_state = 127 # Sussex - controls_state = 123 # South-West England - controls_state = 338 # Gloustershire - controls_state = 126 # Greater London Area - controls_state = 125 # East Anglia - controls_state = 129 # East Midlands - controls_state = 128 # West Midlands - controls_state = 122 # Wales - controls_state = 132 # Lancashire - controls_state = 130 # Yorkshire - controls_state = 931 # Cumbria - controls_state = 131 # Northumberland - controls_state = 133 # Lanark - controls_state = 121 # Lothian - controls_state = 136 # Aberdeenshire - controls_state = 120 # Scottish Highlands - } - } - - complete_effect = { - set_global_flag = form_greater_proletarian_state_flag - set_cosmetic_tag = GER_greater_proletarian_german_state - - custom_effect_tooltip = generic_skip_one_line_tt - - 8 = { add_core_of = ROOT } # Luxembourg - - # Netherlands - custom_effect_tooltip = form_eu_netherlands_coring_states_tt - hidden_effect = { - 7 = { add_core_of = ROOT } # Holland - 35 = { add_core_of = ROOT } # Brabant - 36 = { add_core_of = ROOT } # Friesland - } - - # Belgium - custom_effect_tooltip = form_eu_belgium_coring_states_tt - hidden_effect = { - 6 = { add_core_of = ROOT } # Vlaanderen - 34 = { add_core_of = ROOT } # Wallonie - 977 = { add_core_of = ROOT } # Antwerp - 980 = { add_core_of = ROOT } # Ardennes - } - - # France - custom_effect_tooltip = form_eu_france_coring_states_tt - hidden_effect = { - 29 = { add_core_of = ROOT } # Nord-pas-de-calais - 18 = { add_core_of = ROOT } # Champagne - 17 = { add_core_of = ROOT } # Franche-Comte - 28 = { add_core_of = ROOT } # Alsace-Lorraine - 15 = { add_core_of = ROOT } # Normandy - 16 = { add_core_of = ROOT } # Ile de France - 27 = { add_core_of = ROOT } # Bourgogne - 14 = { add_core_of = ROOT } # Brittany - 30 = { add_core_of = ROOT } # Loire - 24 = { add_core_of = ROOT } # Centre - 23 = { add_core_of = ROOT } # Poitou - 33 = { add_core_of = ROOT } # Centre-sud - 26 = { add_core_of = ROOT } # Auveragne - 20 = { add_core_of = ROOT } # Rhone - 32 = { add_core_of = ROOT } # Alpes - 735 = { add_core_of = ROOT } # Savoy - 25 = { add_core_of = ROOT } # Limousin - 22 = { add_core_of = ROOT } # Languedoc - 21 = { add_core_of = ROOT } # Bouches-du-Rhone - 851 = { add_core_of = ROOT } # Var - 19 = { add_core_of = ROOT } # Aquitaine - 1 = { add_core_of = ROOT } # Corsica - 785 = { add_core_of = ROOT } # Picardy - 31 = { add_core_of = ROOT } # Midi Pyrinees - 806 = { add_core_of = ROOT } # Pyrinees-Atlantique - } - - # Italy - #custom_effect_tooltip = form_eu_italy_coring_states_tt - #hidden_effect = { - # 158 = { add_core_of = ROOT } # Piemonte - # 159 = { add_core_of = ROOT } # Lombardy - # 39 = { add_core_of = ROOT } # Alto Adige - # 160 = { add_core_of = ROOT } # Venice - # 161 = { add_core_of = ROOT } # Emilia Romagna - # 162 = { add_core_of = ROOT } # Tuscany - # 157 = { add_core_of = ROOT } # Abruzzo - # 2 = { add_core_of = ROOT } # Lazio - # 117 = { add_core_of = ROOT } # Campania - # 156 = { add_core_of = ROOT } # Calbria - # 115 = { add_core_of = ROOT } # Sicily - # 114 = { add_core_of = ROOT } # Sardinia - # 736 = { add_core_of = ROOT } # Litorale - # 163 = { add_core_of = ROOT } # Zara - # 849 = { add_core_of = ROOT } # Puglia - # 850 = { add_core_of = ROOT } # Trentino - # 852 = { add_core_of = ROOT } # Istria - #} - - # Germany - custom_effect_tooltip = form_country_germany_coring_states_tt - hidden_effect = { - 51 = { add_core_of = ROOT } # Rhineland - 42 = { add_core_of = ROOT } # Moselland - 56 = { add_core_of = ROOT } # Weser-ems - 57 = { add_core_of = ROOT } # Westfalen - 55 = { add_core_of = ROOT } # Hessen - 50 = { add_core_of = ROOT } # Wurttemberg - 978 = { add_core_of = ROOT } # Baden - 59 = { add_core_of = ROOT } # Hannover - 58 = { add_core_of = ROOT } # Holstein - 909 = { add_core_of = ROOT } # Schleswig - 60 = { add_core_of = ROOT } # Thuringia - 54 = { add_core_of = ROOT } # Franken - 52 = { add_core_of = ROOT } # Oberbayern - 53 = { add_core_of = ROOT } # Niederbayern - 61 = { add_core_of = ROOT } # Mecklenburg - 64 = { add_core_of = ROOT } # Brandenberg - 65 = { add_core_of = ROOT } # Sachsen - 62 = { add_core_of = ROOT } # Vorpommern - 68 = { add_core_of = ROOT } # Ostmark - 66 = { add_core_of = ROOT } # Niederschlesien - 67 = { add_core_of = ROOT } # Oberschlesien - 63 = { add_core_of = ROOT } # Hinterpommern - 5 = { add_core_of = ROOT } # Ermland-Masuren - 763 = { add_core_of = ROOT } # Königsberg - } - - # Germany - custom_effect_tooltip = form_proletarian_state_british_mainland_coring_states_tt - hidden_effect = { - 127 = { add_core_of = ROOT } # Sussex - 123 = { add_core_of = ROOT } # South-West England - 338 = { add_core_of = ROOT } # Gloustershire - 126 = { add_core_of = ROOT } # Greater London Area - 125 = { add_core_of = ROOT } # East Anglia - 129 = { add_core_of = ROOT } # East Midlands - 128 = { add_core_of = ROOT } # West Midlands - 122 = { add_core_of = ROOT } # Wales - 132 = { add_core_of = ROOT } # Lancashire - 130 = { add_core_of = ROOT } # Yorkshire - 931 = { add_core_of = ROOT } # Cumbria - 131 = { add_core_of = ROOT } # Northumberland - 133 = { add_core_of = ROOT } # Lanark - 121 = { add_core_of = ROOT } # Lothian - 136 = { add_core_of = ROOT } # Aberdeenshire - 120 = { add_core_of = ROOT } # Scottish Highlands - } - - hidden_effect = { - news_event = { id = GOT_newsevents.1 hours = 6 } - set_global_flag = form_greater_proletarian_state_flag - } - } - ai_will_do = { - base = 200 - } - } -} - -form_andalusia_category = { - - form_andalusia = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = MOR - original_tag = ALG - original_tag = TUN - original_tag = WES - original_tag = LBA - original_tag = RIF - } - has_dlc = "La Resistance" - } - - available = { - is_subject = no - # Spain - controls_state = 173 - controls_state = 789 - controls_state = 168 - controls_state = 167 - controls_state = 175 - controls_state = 170 - controls_state = 169 - # Portugal - controls_state = 179 - controls_state = 795 - } - - visible = { - OR = { - original_tag = MOR - original_tag = ALG - original_tag = TUN - original_tag = WES - original_tag = LBA - original_tag = RIF - } - NOT = { has_global_flag = form_andalusia_flag } - ADU = { exists = no } - } - - complete_effect = { - set_cosmetic_tag = ADU - # Andalusia - custom_effect_tooltip = form_country_andalusia_coring_states_tt - hidden_effect = { - 165 = { add_core_of = ROOT } - 171 = { add_core_of = ROOT } - 792 = { add_core_of = ROOT } - 172 = { add_core_of = ROOT } - 790 = { add_core_of = ROOT } - 789 = { add_core_of = ROOT } - 41 = { add_core_of = ROOT } - 173 = { add_core_of = ROOT } - 169 = { add_core_of = ROOT } - 168 = { add_core_of = ROOT } - 167 = { add_core_of = ROOT } - 794 = { add_core_of = ROOT } - 793 = { add_core_of = ROOT } - 791 = { add_core_of = ROOT } - 788 = { add_core_of = ROOT } - 178 = { add_core_of = ROOT } - 177 = { add_core_of = ROOT } - 176 = { add_core_of = ROOT } - 175 = { add_core_of = ROOT } - 174 = { add_core_of = ROOT } - 170 = { add_core_of = ROOT } - 166 = { add_core_of = ROOT } - 112 = { add_core_of = ROOT } - 179 = { add_core_of = ROOT } - 180 = { add_core_of = ROOT } - 181 = { add_core_of = ROOT } - 697 = { add_core_of = ROOT } - 698 = { add_core_of = ROOT } - 795 = { add_core_of = ROOT } - 118 = { add_core_of = ROOT } - set_capital = { state = 789 } - } - hidden_effect = { - news_event = { id = lar_news.281 hours = 6 } - set_global_flag = form_andalusia_flag - set_country_flag = country_formed_andalusia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - adu_restore_sultanate_of_africa = { - - icon = generic_form_nation - - allowed = { - has_dlc = "La Resistance" - } - - available = { - is_subject = no - custom_trigger_tooltip = { - tooltip = north_africa_needed_tooltip - #Morocco - controls_state = 290 - controls_state = 461 - controls_state = 462 - controls_state = 783 - #Tunisia - controls_state = 458 - controls_state = 665 - #Algeria - controls_state = 459 - controls_state = 460 - controls_state = 513 - #Libya - controls_state = 448 - controls_state = 449 - controls_state = 450 - controls_state = 451 - controls_state = 661 - controls_state = 662 - controls_state = 663 - } - } - - visible = { - has_country_flag = country_formed_andalusia_flag - NOT = { has_global_flag = sultanate_of_africa_flag } - has_dlc = "La Resistance" - } - - complete_effect = { - # North Africa - custom_effect_tooltip = coring_north_africa_tt - hidden_effect = { - #Morocco - 290 = { add_core_of = ROOT } - 461 = { add_core_of = ROOT } - 462 = { add_core_of = ROOT } - 783 = { add_core_of = ROOT } - #Tunisia - 458 = { add_core_of = ROOT } - 665 = { add_core_of = ROOT } - #Western Sahara - 699 = { add_core_of = ROOT } - #Algeria - 459 = { add_core_of = ROOT } - 460 = { add_core_of = ROOT } - 513 = { add_core_of = ROOT } - 514 = { add_core_of = ROOT } - #Libya - 273 = { add_core_of = ROOT } - 448 = { add_core_of = ROOT } - 449 = { add_core_of = ROOT } - 450 = { add_core_of = ROOT } - 451 = { add_core_of = ROOT } - 661 = { add_core_of = ROOT } - 662 = { add_core_of = ROOT } - 663 = { add_core_of = ROOT } - set_global_flag = sultanate_of_africa_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - adu_mediterrenean_emirates = { - - icon = generic_form_nation - - allowed = { - has_dlc = "La Resistance" - } - - available = { - is_subject = no - # Med Islands - #Sicily - controls_state = 115 - #Malta - controls_state = 116 - #Rhodes - controls_state = 164 - #Crete - controls_state = 182 - #Cyprus - controls_state = 183 - } - - visible = { - has_country_flag = country_formed_andalusia_flag - NOT = { has_global_flag = emirate_of_sicily_flag } - has_dlc = "La Resistance" - } - - complete_effect = { - # Med Islands - #Sicily - 115 = { add_core_of = ROOT } - #Malta - 116 = { add_core_of = ROOT } - #Rhodes - 164 = { add_core_of = ROOT } - #Crete - 182 = { add_core_of = ROOT } - #Cyprus - 183 = { add_core_of = ROOT } - #Sardinia and Corsica - 114 = { add_core_of = ROOT } - 1 = { add_core_of = ROOT } - - hidden_effect = { set_global_flag = emirate_of_sicily_flag } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - adu_restore_umayyad_caliphate = { - - icon = generic_form_nation - - allowed = { - has_dlc = "La Resistance" - } - - available = { - is_subject = no - # Iraq - custom_trigger_tooltip = { - tooltip = form_country_iraq_required_states_tt - controls_state = 676 - controls_state = 675 - controls_state = 291 - } - # Saudi Arabia - custom_trigger_tooltip = { - tooltip = form_country_saudi_required_states_tt - controls_state = 292 - controls_state = 679 - controls_state = 678 - controls_state = 857 - controls_state = 858 - controls_state = 854 - controls_state = 855 - controls_state = 856 - controls_state = 859 - } - # France - custom_trigger_tooltip = { - tooltip = form_persia_france_required_states_tt - # Syria - controls_state = 677 - controls_state = 680 - controls_state = 553 - controls_state = 554 - controls_state = 799 - } - custom_trigger_tooltip = { - tooltip = form_country_egypt_required_states_tt - controls_state = 453 - controls_state = 456 - controls_state = 446 - controls_state = 907 - controls_state = 457 - controls_state = 452 - controls_state = 447 - } - controls_state = 679 - controls_state = 293 - controls_state = 294 - controls_state = 454 - controls_state = 455 - controls_state = 656 - controls_state = 658 - controls_state = 765 - controls_state = 659 - controls_state = 906 - # New GOE States - controls_state = 1010 - controls_state = 1011 - controls_state = 992 - controls_state = 1014 - controls_state = 1013 - controls_state = 1015 - controls_state = 1016 - } - - visible = { - has_country_flag = country_formed_andalusia_flag - has_global_flag = emirate_of_sicily_flag - has_global_flag = sultanate_of_africa_flag - NOT = { has_global_flag = restored_umayyad_flag } - has_dlc = "La Resistance" - } - - complete_effect = { - custom_effect_tooltip = middle_east_coring_states_tt - hidden_effect = { - # Iraq - 676 = { add_core_of = ROOT } - 675 = { add_core_of = ROOT } - 291 = { add_core_of = ROOT } - # Saudi Arabia - 292 = { add_core_of = ROOT } - 679 = { add_core_of = ROOT } - 678 = { add_core_of = ROOT } - 857 = { add_core_of = ROOT } - 858 = { add_core_of = ROOT } - 854 = { add_core_of = ROOT } - 855 = { add_core_of = ROOT } - 856 = { add_core_of = ROOT } - 859 = { add_core_of = ROOT } - # Colonial Arabia - 677 = { add_core_of = ROOT } - 680 = { add_core_of = ROOT } - 553 = { add_core_of = ROOT } - 554 = { add_core_of = ROOT } - 679 = { add_core_of = ROOT } - 293 = { add_core_of = ROOT } - 294 = { add_core_of = ROOT } - 454 = { add_core_of = ROOT } - 455 = { add_core_of = ROOT } - 656 = { add_core_of = ROOT } - 658 = { add_core_of = ROOT } - 799 = { add_core_of = ROOT } - 765 = { add_core_of = ROOT } - 659 = { add_core_of = ROOT } - 906 = { add_core_of = ROOT } - 1010 = { add_core_of = ROOT } - 1011 = { add_core_of = ROOT } - 992 = { add_core_of = ROOT } - 1014 = { add_core_of = ROOT } - 1013 = { add_core_of = ROOT } - 1015 = { add_core_of = ROOT } - 1016 = { add_core_of = ROOT } - # Egypt - 552 = { add_core_of = ROOT } - 453 = { add_core_of = ROOT } - 456 = { add_core_of = ROOT } - 446 = { add_core_of = ROOT } - 907 = { add_core_of = ROOT } - 457 = { add_core_of = ROOT } - 452 = { add_core_of = ROOT } - 447 = { add_core_of = ROOT } - set_global_flag = restored_umayyad_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - adu_recreate_rashid_expansion = { - - icon = generic_form_nation - - allowed = { - has_dlc = "La Resistance" - } - - available = { - is_subject = no - # Iran - custom_trigger_tooltip = { - tooltip = form_country_iran_required_states_tt - controls_state = 419 - controls_state = 421 - controls_state = 420 - controls_state = 417 - controls_state = 413 - controls_state = 266 - controls_state = 418 - controls_state = 411 - controls_state = 412 - controls_state = 416 - controls_state = 414 - controls_state = 410 - controls_state = 1000 - controls_state = 1001 - controls_state = 1002 - controls_state = 1003 - controls_state = 1004 - } - # Afghanistan - custom_trigger_tooltip = { - tooltip = form_country_afghanistan_required_states_tt - controls_state = 415 - controls_state = 267 - controls_state = 1005 - controls_state = 1006 - controls_state = 1007 - controls_state = 1008 - controls_state = 1009 - } - # Pakistan - custom_trigger_tooltip = { - tooltip = form_country_pakistani_required_states_tt - controls_state = 787 - controls_state = 445 - controls_state = 442 - controls_state = 444 - controls_state = 440 - controls_state = 443 - controls_state = 441 - controls_state = 987 - controls_state = 988 - controls_state = 1012 - } - - } - - visible = { - has_country_flag = country_formed_andalusia_flag - has_global_flag = restored_umayyad_flag - NOT = { has_global_flag = restored_rashid_flag } - has_dlc = "La Resistance" - } - - complete_effect = { - # Iran - custom_effect_tooltip = form_country_iran_coring_states_tt - hidden_effect = { - 419 = { add_core_of = ROOT } - 421 = { add_core_of = ROOT } - 420 = { add_core_of = ROOT } - 417 = { add_core_of = ROOT } - 413 = { add_core_of = ROOT } - 266 = { add_core_of = ROOT } - 418 = { add_core_of = ROOT } - 411 = { add_core_of = ROOT } - 412 = { add_core_of = ROOT } - 416 = { add_core_of = ROOT } - 414 = { add_core_of = ROOT } - 410 = { add_core_of = ROOT } - 1000 = { add_core_of = ROOT } - 1001 = { add_core_of = ROOT } - 1002 = { add_core_of = ROOT } - 1003 = { add_core_of = ROOT } - 1004 = { add_core_of = ROOT } - } - # Afghanistan - custom_effect_tooltip = form_country_afghanistan_coring_states_tt - hidden_effect = { - 415 = { add_core_of = ROOT } - 267 = { add_core_of = ROOT } - 1005 = { add_core_of = ROOT } - 1006 = { add_core_of = ROOT } - 1007 = { add_core_of = ROOT } - 1008 = { add_core_of = ROOT } - 1009 = { add_core_of = ROOT } - } - # Pakistan - custom_effect_tooltip = form_country_pakistan_coring_states_tt - hidden_effect = { - 787 = { add_core_of = ROOT } - 445 = { add_core_of = ROOT } - 442 = { add_core_of = ROOT } - 444 = { add_core_of = ROOT } - 440 = { add_core_of = ROOT } - 441 = { add_core_of = ROOT } - 443 = { add_core_of = ROOT } - 987 = { add_core_of = ROOT } - 988 = { add_core_of = ROOT } - 1012 = { add_core_of = ROOT } - } - hidden_effect = { set_global_flag = restored_rashid_flag } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - adu_northern_expansion = { - - icon = generic_form_nation - - allowed = { - has_dlc = "La Resistance" - } - - available = { - is_subject = no - # Azerbaijan - controls_state = 229 - # Armenia - controls_state = 230 - # Georgia - controls_state = 231 - # Northern Caucasus - controls_state = 232 - controls_state = 233 - controls_state = 821 - controls_state = 828 - controls_state = 827 - controls_state = 826 - # Turkey - controls_state = 350 - controls_state = 352 - controls_state = 353 - controls_state = 354 - controls_state = 800 - } - - visible = { - has_country_flag = country_formed_andalusia_flag - has_global_flag = restored_umayyad_flag - NOT = { has_global_flag = andalusia_north_expansion_flag } - has_dlc = "La Resistance" - } - - complete_effect = { - # Azerbaijan - 229 = { add_core_of = ROOT } - # Armenia - 230 = { add_core_of = ROOT } - # Georgia - 231 = { add_core_of = ROOT } - # Grozny - 232 = { add_core_of = ROOT } - 233 = { add_core_of = ROOT } - 821 = { add_core_of = ROOT } - 828 = { add_core_of = ROOT } - 827 = { add_core_of = ROOT } - 826 = { add_core_of = ROOT } - # Turkey - 350 = { add_core_of = ROOT } - 352 = { add_core_of = ROOT } - 353 = { add_core_of = ROOT } - 354 = { add_core_of = ROOT } - 800 = { add_core_of = ROOT } - hidden_effect = { set_global_flag = andalusia_north_expansion_flag } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -maghreb_formable_category = { - - unite_maghreb = { - - icon = generic_form_nation - - allowed = { - } - - visible = { - NOT = { has_global_flag = maghreb_formed_flag } - } - - available = { - - controls_state = 290 - controls_state = 461 - controls_state = 462 - controls_state = 783 - controls_state = 699 - controls_state = 557 - controls_state = 513 - controls_state = 459 - controls_state = 460 - controls_state = 458 - controls_state = 665 - controls_state = 448 - controls_state = 661 - controls_state = 449 - controls_state = 662 - controls_state = 450 - controls_state = 663 - controls_state = 451 - - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 290 - state = 461 - state = 462 - state = 783 - state = 699 - state = 557 - state = 513 - state = 459 - state = 460 - state = 458 - state = 665 - state = 448 - state = 661 - state = 449 - state = 662 - state = 450 - state = 663 - state = 451 - state = 786 - state = 514 - state = 273 - } - } - - complete_effect = { - hidden_effect = { - drop_cosmetic_tag = yes - } - set_cosmetic_tag = united_mahgreb - - custom_effect_tooltip = generic_skip_one_line_tt - - add_state_core = 290 - add_state_core = 461 - add_state_core = 462 - add_state_core = 783 - add_state_core = 699 - add_state_core = 557 - add_state_core = 513 - add_state_core = 459 - add_state_core = 460 - add_state_core = 458 - add_state_core = 665 - add_state_core = 448 - add_state_core = 661 - add_state_core = 449 - add_state_core = 662 - add_state_core = 450 - add_state_core = 663 - add_state_core = 451 - add_state_core = 786 - add_state_core = 514 - add_state_core = 273 - - hidden_effect = { - set_global_flag = maghreb_formed_flag - } - } - - ai_will_do = { - base = 2000 - } - } -} - -form_polynesia_category = { - - form_polynesia = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = HAW - original_tag = TAH - original_tag = GUM - original_tag = FSM - original_tag = SAM - original_tag = SOL - original_tag = FIJ - original_tag = NZL - original_tag = RAP - original_tag = PLU - } - } - - available = { - OR = { - is_subject = no - has_autonomy_state = autonomy_dominion #New Zealand should be able to do it - } - # Polynesia - controls_state = 284 #North Island - controls_state = 629 #Hawaii - controls_state = 684 #Caroline Islands - controls_state = 638 #Guam - controls_state = 641 #Tahiti - controls_state = 646 #Saipan - controls_state = 723 #South Island - controls_state = 726 #Samoa - } - - visible = { - OR = { - original_tag = HAW - original_tag = TAH - original_tag = GUM - original_tag = FSM - original_tag = SAM - original_tag = SOL - original_tag = FIJ - original_tag = NZL - original_tag = RAP - original_tag = PLU - } - NOT = { has_global_flag = form_polynesia_flag } - } - - complete_effect = { - set_cosmetic_tag = united_polynesia - # Polynesia - custom_effect_tooltip = form_country_polynesia_coring_states_tt - hidden_effect = { - 284 = { add_core_of = ROOT } - 524 = { add_core_of = ROOT } #Taiwan - 629 = { add_core_of = ROOT } - 630 = { add_core_of = ROOT } - 631 = { add_core_of = ROOT } - 632 = { add_core_of = ROOT } - 633 = { add_core_of = ROOT } - 634 = { add_core_of = ROOT } - 635 = { add_core_of = ROOT } - 636 = { add_core_of = ROOT } - 638 = { add_core_of = ROOT } - 639 = { add_core_of = ROOT } - 641 = { add_core_of = ROOT } - 642 = { add_core_of = ROOT } - 643 = { add_core_of = ROOT } - 645 = { add_core_of = ROOT } #Iwo Jima - 646 = { add_core_of = ROOT } - 647 = { add_core_of = ROOT } - 648 = { add_core_of = ROOT } - 684 = { add_core_of = ROOT } - 723 = { add_core_of = ROOT } - 725 = { add_core_of = ROOT } - 726 = { add_core_of = ROOT } - 727 = { add_core_of = ROOT } - 734 = { add_core_of = ROOT } - 270 = { add_core_of = ROOT } # Pitcairn - 948 = { add_core_of = ROOT } # Easter Island - } - hidden_effect = { - news_event = { id = lar_news.291 hours = 6 } - set_global_flag = form_polynesia_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - NZL_demand_islands = { - - icon = generic_form_nation - - allowed = { - original_tag = NZL - } - - available = { - OR = { - is_subject = no - has_autonomy_state = autonomy_dominion #New Zealand should be able to do it - } - has_completed_focus = NZL_maori_volunteers - hidden_trigger = { - NOT = { has_country_flag = is_demanding_flag } - any_country = { - NOT = { tag = ROOT } - is_in_faction_with = ROOT - NOT = { - OR = { - original_tag = HAW - original_tag = TAH - original_tag = GUM - original_tag = FSM - original_tag = SAM - original_tag = SOL - original_tag = FIJ - original_tag = NZL - original_tag = PLU - original_tag = RAP - } - } - OR = { - controls_state = 284 - controls_state = 629 - controls_state = 630 - controls_state = 631 - controls_state = 632 - controls_state = 633 - controls_state = 634 - controls_state = 635 - controls_state = 636 - controls_state = 638 - controls_state = 639 - controls_state = 641 - controls_state = 642 - controls_state = 643 - controls_state = 645 #Iwo Jima - controls_state = 646 - controls_state = 647 - controls_state = 648 - controls_state = 684 - controls_state = 723 - controls_state = 725 - controls_state = 726 - controls_state = 727 - controls_state = 734 - } - NOT = { has_country_flag = has_been_asked_for_islands_flag } - } - } - } - - visible = { - original_tag = NZL - NOT = { has_global_flag = form_polynesia_flag } - has_completed_focus = NZL_maori_volunteers - hidden_trigger = { - NOT = { has_country_flag = is_demanding_flag } - any_country = { - NOT = { tag = ROOT } - is_in_faction_with = ROOT - NOT = { - OR = { - original_tag = HAW - original_tag = TAH - original_tag = GUM - original_tag = FSM - original_tag = SAM - original_tag = SOL - original_tag = FIJ - original_tag = NZL - original_tag = PLU - original_tag = RAP - } - } - OR = { - controls_state = 284 - controls_state = 629 - controls_state = 630 - controls_state = 631 - controls_state = 632 - controls_state = 633 - controls_state = 634 - controls_state = 635 - controls_state = 636 - controls_state = 638 - controls_state = 639 - controls_state = 641 - controls_state = 642 - controls_state = 643 - controls_state = 645 #Iwo Jima - controls_state = 646 - controls_state = 647 - controls_state = 648 - controls_state = 684 - controls_state = 723 - controls_state = 725 - controls_state = 726 - controls_state = 727 - controls_state = 734 - } - NOT = { has_country_flag = has_been_asked_for_islands_flag } - } - } - } - - complete_effect = { - random_country = { - limit = { - NOT = { tag = ROOT } - is_in_faction_with = ROOT - NOT = { - OR = { - original_tag = HAW - original_tag = TAH - original_tag = GUM - original_tag = FSM - original_tag = SAM - original_tag = SOL - original_tag = FIJ - original_tag = NZL - original_tag = PLU - original_tag = RAP - } - } - OR = { - controls_state = 284 - controls_state = 629 - controls_state = 630 - controls_state = 631 - controls_state = 632 - controls_state = 633 - controls_state = 634 - controls_state = 635 - controls_state = 636 - controls_state = 638 - controls_state = 639 - controls_state = 641 - controls_state = 642 - controls_state = 643 - controls_state = 645 #Iwo Jima - controls_state = 646 - controls_state = 647 - controls_state = 648 - controls_state = 684 - controls_state = 723 - controls_state = 725 - controls_state = 726 - controls_state = 727 - controls_state = 734 - } - hidden_trigger = { NOT = { has_country_flag = has_been_asked_for_islands_flag } } - } - save_event_target_as = new_zealand_island_demand_target - } - event_target:new_zealand_island_demand_target = { - country_event = { id = tfv_new_zealand.9 days = 3 } - set_country_flag = has_been_asked_for_islands_flag - } - } - - ai_will_do = { - factor = 0 - } - } -} - -form_greater_greece_category = { - - form_greater_greece = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - if = { - limit = { - has_government = democratic - } - has_completed_focus = GRE_nenikikamen - } - # Greece - custom_trigger_tooltip = { - tooltip = form_country_greece_required_states_tt - controls_state = 185 - controls_state = 731 - controls_state = 47 - controls_state = 186 - controls_state = 184 - controls_state = 187 - controls_state = 182 - } - # Turkey - custom_trigger_tooltip = { - tooltip = form_country_turkish_coastal_required_states_tt - controls_state = 797 - controls_state = 341 - controls_state = 340 - controls_state = 339 - controls_state = 347 - } - # Dodecanese - if = { - limit = { - NOT = { has_government = democratic } - } - custom_trigger_tooltip = { - tooltip = form_country_dodecanese_required_state_tt - controls_state = 164 - } - } - # Cyprus - if = { - limit = { - NOT = { has_government = democratic } - } - custom_trigger_tooltip = { - tooltip = form_country_cyprus_required_state_tt - controls_state = 183 - } - } - } - - visible = { - NOT = { has_global_flag = form_greater_greece_flag } - OR = { - AND = { - has_completed_focus = GRE_the_modern_movement - has_country_leader = { - character = GRE_ioannis_metaxas - ruling_only = yes - } - } - AND = { - has_completed_focus = GRE_resurrecting_the_megali_idea - NOT = { - has_country_leader = { - character = GRE_georgios_kosmidis - ruling_only = yes - } - } - } - has_completed_focus = GRE_prepare_for_the_great_anti_fascist_war - } - } - - complete_effect = { - set_country_flag = GRE_GREATER_GREECE_flag - GRE_set_appropriate_cosmetic_tag = yes - # Greece - custom_effect_tooltip = form_country_greece_coring_states_tt - hidden_effect = { - 185 = { add_core_of = ROOT } - 731 = { add_core_of = ROOT } - 47 = { add_core_of = ROOT } - 186 = { add_core_of = ROOT } - 184 = { add_core_of = ROOT } - 187 = { add_core_of = ROOT } - 182 = { add_core_of = ROOT } - 164 = { add_core_of = ROOT } - 183 = { add_core_of = ROOT } - } - # Turkey - custom_effect_tooltip = form_country_turkish_coast_coring_states_tt - hidden_effect = { - 340 = { add_core_of = ROOT } - 340 = { set_state_name = "Prousa" } - set_province_name = { id = 947 name = "Prousa" } - set_province_name = { id = 947 name = "Palaeokastron" } - 341 = { add_core_of = ROOT } - 341 = { set_state_name = "Thrace" } - set_province_name = { id = 11842 name = "Adrianople" } - 797 = { add_core_of = ROOT } - 797 = { set_state_name = "Constantinople" } - set_province_name = { id = 9833 name = "Constantinople" } - 184 = { set_state_name = "Eastern Macedonia" } - 339 = { add_core_of = ROOT } - 339 = { set_state_name = "Smyrni" } - set_province_name = { id = 4112 name = "Smyrna" } - set_province_name = { id = 928 name = "Magnesia" } - 347 = { add_core_of = ROOT } - 347 = { set_state_name = "Nikomedeia" } - set_province_name = { id = 11811 name = "Nikomedeia" } - set_province_name = { id = 904 name = "Kieros" } - if = { - limit = { - controls_state = 342 - } - 342 = { add_core_of = ROOT } - 342 = { set_state_name = "Attalis" } - set_province_name = { id = 1005 name = "Attaleia" } - } - } - # Cyprus - custom_effect_tooltip = form_country_cyprus_coring_state_tt - hidden_effect = { - 183 = { add_core_of = ROOT } - } - hidden_effect = { - 805 = { add_core_of = ROOT } - } - hidden_effect = { - if = { - limit = { - has_government = democratic - } - news_event = { id = bftb_news.302 hours = 6 } - } - set_global_flag = form_greater_greece_flag - set_country_flag = achivement_istanbul_is_constantinople_again - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - GRE_appoint_aristotle_onassis_as_prime_minister = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - AND = { - has_government = democratic - has_completed_focus = GRE_nenikikamen - } - } - - visible = { - has_global_flag = form_greater_greece_flag - } - - fire_only_once = yes - - complete_effect = { - retire_country_leader = yes - add_country_leader_role = { - character = GRE_aristotle_onassis - country_leader = { - expire = "1965.1.1" - ideology = liberalism - traits = { - the_young_magnate - } - } - promote_leader = yes - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - rename_antalya = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - if = { - limit = { - has_government = democratic - } - has_completed_focus = GRE_nenikikamen - } - controls_state = 342 - # Dodecanese - custom_trigger_tooltip = { - tooltip = form_country_dodecanese_required_state_tt - controls_state = 164 - } - } - - visible = { - has_global_flag = form_greater_greece_flag - NOT = { 342 = { is_core_of = ROOT } } - } - - fire_only_once = yes - - complete_effect = { - add_stability = 0.05 - add_war_support = 0.05 - 342 = { add_core_of = ROOT } - 342 = { set_state_name = "Attalis" } - set_province_name = { id = 1005 name = "Attaleia" } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - rename_gjirokaster = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - if = { - limit = { - has_government = democratic - } - has_completed_focus = GRE_nenikikamen - } - controls_state = 805 - } - - visible = { - has_global_flag = form_greater_greece_flag - } - - fire_only_once = yes - - complete_effect = { - add_stability = 0.05 - add_war_support = 0.05 - set_province_name = { id = 914 name = "Argyrokastro" } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - GRE_move_capital_to_constantinople = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - if = { - limit = { - has_government = democratic - } - has_completed_focus = GRE_nenikikamen - } - controls_state = 797 - } - - visible = { - has_global_flag = form_greater_greece_flag - NOT = { has_country_flag = GRE_chose_a_new_capital_city } - } - - fire_only_once = yes - - complete_effect = { - add_war_support = 0.05 - set_capital = { state = 797 } - hidden_effect = { - set_country_flag = GRE_chose_a_new_capital_city - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - move_capital_to_thessaloniki = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - if = { - limit = { - has_government = democratic - } - has_completed_focus = GRE_nenikikamen - } - controls_state = 797 - } - - visible = { - has_global_flag = form_greater_greece_flag - NOT = { has_country_flag = GRE_chose_a_new_capital_city } - } - - fire_only_once = yes - - complete_effect = { - add_stability = 0.1 - set_capital = { state = 731 } - hidden_effect = { - set_country_flag = GRE_chose_a_new_capital_city - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_macedonian_empire_category = { - - form_macedonian_empire = { - - icon = generic_form_nation - - allowed = { - original_tag = GRE - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - # Greece - custom_trigger_tooltip = { - tooltip = form_country_greece_required_states_tt - controls_state = 185 - controls_state = 731 - controls_state = 47 - controls_state = 186 - controls_state = 184 - controls_state = 187 - controls_state = 182 - } - # Macedonia [ Bulgaria / Yugoslav Macedonia / Albania ] - custom_trigger_tooltip = { - tooltip = form_country_southern_yugoslavia_required_states_tt - controls_state = 48 - controls_state = 212 - controls_state = 801 - controls_state = 211 - controls_state = 106 - controls_state = 970 - controls_state = 803 - controls_state = 105 - controls_state = 44 - controls_state = 805 - controls_state = 934 - } - # Iran - custom_trigger_tooltip = { - tooltip = form_country_iran_required_states_tt - controls_state = 419 - controls_state = 421 - controls_state = 420 - controls_state = 417 - controls_state = 413 - controls_state = 266 - controls_state = 418 - controls_state = 411 - controls_state = 412 - controls_state = 416 - controls_state = 414 - controls_state = 410 - controls_state = 1000 - controls_state = 1001 - controls_state = 1002 - controls_state = 1003 - controls_state = 1004 - } - # Afghanistan - custom_trigger_tooltip = { - tooltip = form_country_afghanistan_required_states_tt - controls_state = 415 - controls_state = 267 - controls_state = 1005 - controls_state = 1006 - controls_state = 1007 - controls_state = 1008 - controls_state = 1009 - } - # Central Asia - custom_trigger_tooltip = { - tooltip = form_country_southern_central_asia_required_states_tt - controls_state = 742 # Tajikistan - controls_state = 405 # Uzbekistan - controls_state = 732 # Kyrgyzstan - } - # Iraq - custom_trigger_tooltip = { - tooltip = form_country_iraq_required_states_tt - controls_state = 676 - controls_state = 675 - controls_state = 291 - controls_state = 1010 - controls_state = 1011 - } - # Turkey - custom_trigger_tooltip = { - tooltip = form_country_turkey_required_states_tt - controls_state = 341 - controls_state = 340 - controls_state = 339 - controls_state = 342 - controls_state = 343 - controls_state = 347 - controls_state = 49 - controls_state = 346 - controls_state = 345 - controls_state = 356 - controls_state = 348 - controls_state = 344 - controls_state = 355 - controls_state = 349 - controls_state = 350 - controls_state = 354 - controls_state = 353 - controls_state = 352 - controls_state = 797 - controls_state = 798 - controls_state = 799 - controls_state = 800 - } - # France: Syria - custom_trigger_tooltip = { - tooltip = form_persia_france_required_states_tt - controls_state = 677 - controls_state = 680 - controls_state = 553 - controls_state = 554 - } - # Britain: Egypt - custom_trigger_tooltip = { - tooltip = form_country_egypt_required_states_tt - controls_state = 452 - controls_state = 447 - controls_state = 446 - controls_state = 456 - controls_state = 453 - controls_state = 457 - controls_state = 907 - } - # Britain: Levant / Kuwait - custom_trigger_tooltip = { - tooltip = form_country_british_levant_required_states_tt - controls_state = 454 - controls_state = 455 - controls_state = 656 - } - # Raj / Punjab - custom_trigger_tooltip = { - tooltip = form_country_punjab_required_states_tt - controls_state = 440 - controls_state = 443 - controls_state = 441 - controls_state = 787 - controls_state = 442 - controls_state = 445 - controls_state = 444 - } - } - - visible = { - original_tag = GRE - OR = { - AND = { - has_completed_focus = GRE_moulding_the_new_world_order - has_country_leader = { - character = GRE_george_mercouris - ruling_only = yes - } - } - AND = { - has_completed_focus = GRE_protectors_of_the_mediterranean - has_country_leader = { - name = "George II" - ruling_only = yes - } - } - } - NOT = { has_global_flag = form_macedonian_empire_flag } - } - - complete_effect = { - set_country_flag = GRE_mae_flag - GRE_set_appropriate_cosmetic_tag = yes - # Iran - custom_effect_tooltip = form_country_iran_coring_states_tt - hidden_effect = { - 419 = { add_core_of = ROOT } - 421 = { add_core_of = ROOT } - 420 = { add_core_of = ROOT } - 417 = { add_core_of = ROOT } - 413 = { add_core_of = ROOT } - 266 = { add_core_of = ROOT } - 418 = { add_core_of = ROOT } - 411 = { add_core_of = ROOT } - 412 = { add_core_of = ROOT } - 416 = { add_core_of = ROOT } - 414 = { add_core_of = ROOT } - 410 = { add_core_of = ROOT } - 1000 = { add_core_of = ROOT } - 1001 = { add_core_of = ROOT } - 1002 = { add_core_of = ROOT } - 1003 = { add_core_of = ROOT } - 1004 = { add_core_of = ROOT } - } - # Afghanistan - custom_effect_tooltip = form_country_afghanistan_coring_states_tt - hidden_effect = { - 415 = { add_core_of = ROOT } - 267 = { add_core_of = ROOT } - 1005 = { add_core_of = ROOT } - 1006 = { add_core_of = ROOT } - 1007 = { add_core_of = ROOT } - 1008 = { add_core_of = ROOT } - 1009 = { add_core_of = ROOT } - } - # Iraq - custom_effect_tooltip = form_country_iraq_coring_states_tt - hidden_effect = { - 676 = { add_core_of = ROOT } - 675 = { add_core_of = ROOT } - 291 = { add_core_of = ROOT } - 1010 = { add_core_of = ROOT } - 1011 = { add_core_of = ROOT } - } - # Turkey - custom_effect_tooltip = form_country_turkey_coring_states_tt - hidden_effect = { - 341 = { add_core_of = ROOT } - 340 = { add_core_of = ROOT } - 339 = { add_core_of = ROOT } - 342 = { add_core_of = ROOT } - 343 = { add_core_of = ROOT } - 347 = { add_core_of = ROOT } - 49 = { add_core_of = ROOT } - 346 = { add_core_of = ROOT } - 345 = { add_core_of = ROOT } - 356 = { add_core_of = ROOT } - 348 = { add_core_of = ROOT } - 344 = { add_core_of = ROOT } - 355 = { add_core_of = ROOT } - 349 = { add_core_of = ROOT } - 350 = { add_core_of = ROOT } - 354 = { add_core_of = ROOT } - 353 = { add_core_of = ROOT } - 352 = { add_core_of = ROOT } - 797 = { add_core_of = ROOT } - 798 = { add_core_of = ROOT } - 800 = { add_core_of = ROOT } - 799 = { add_core_of = ROOT } - } - # France - custom_effect_tooltip = form_persia_france_coring_states_tt - hidden_effect = { - 677 = { add_core_of = ROOT } - 680 = { add_core_of = ROOT } - 553 = { add_core_of = ROOT } - 554 = { add_core_of = ROOT } - } - # Italy - custom_effect_tooltip = form_persia_italy_coring_states_tt - hidden_effect = { - 164 = { add_core_of = ROOT } - 450 = { add_core_of = ROOT } - 451 = { add_core_of = ROOT } - 663 = { add_core_of = ROOT } - } - # Britain - custom_effect_tooltip = form_persia_britain_coring_states_tt - hidden_effect = { - 452 = { add_core_of = ROOT } - 447 = { add_core_of = ROOT } - 446 = { add_core_of = ROOT } - 456 = { add_core_of = ROOT } - 457 = { add_core_of = ROOT } - 453 = { add_core_of = ROOT } - 454 = { add_core_of = ROOT } - 455 = { add_core_of = ROOT } - 183 = { add_core_of = ROOT } - 656 = { add_core_of = ROOT } - 118 = { add_core_of = ROOT } - 907 = { add_core_of = ROOT } - 552 = { add_core_of = ROOT } - } - # Cyprus - 183 = { add_core_of = ROOT } - # Macedonia - 106 = { add_core_of = ROOT } - 803 = { add_core_of = ROOT } - # Bulgaria - 48 = { add_core_of = ROOT } - 212 = { add_core_of = ROOT } - 211 = { add_core_of = ROOT } - 801 = { add_core_of = ROOT } - # Albania and Montenegro - 805 = { add_core_of = ROOT } - 44 = { add_core_of = ROOT } - 934 = { add_core_of = ROOT } - 105 = { add_core_of = ROOT } - 970 = { add_core_of = ROOT } - 77 = { add_core_of = ROOT } - 971 = { add_core_of = ROOT } - # Central Asia - 742 = { add_core_of = ROOT } - 405 = { add_core_of = ROOT } - 732 = { add_core_of = ROOT } - # Pakistan - 441 = { add_core_of = ROOT } - 787 = { add_core_of = ROOT } - 440 = { add_core_of = ROOT } - 442 = { add_core_of = ROOT } - 445 = { add_core_of = ROOT } - 443 = { add_core_of = ROOT } - 444 = { add_core_of = ROOT } - 987 = { add_core_of = ROOT } - 988 = { add_core_of = ROOT } - 1012 = { add_core_of = ROOT } - hidden_effect = { - set_global_flag = form_macedonian_empire_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - - -form_turan_category = { - - form_turan = { - - icon = generic_form_nation - - allowed = { - original_tag = TUR - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - # Turkey - custom_trigger_tooltip = { - tooltip = form_country_turkey_required_states_tt - controls_state = 797 - controls_state = 341 - controls_state = 340 - controls_state = 339 - controls_state = 342 - controls_state = 343 - controls_state = 347 - controls_state = 49 - controls_state = 798 - controls_state = 346 - controls_state = 345 - controls_state = 356 - controls_state = 348 - controls_state = 344 - controls_state = 355 - controls_state = 349 - controls_state = 350 - controls_state = 354 - controls_state = 353 - controls_state = 352 - controls_state = 800 - } - # Syria - custom_trigger_tooltip = { - tooltip = form_country_turan_syria_required_states_tt - controls_state = 677 - controls_state = 680 - } - # Iraq - custom_trigger_tooltip = { - tooltip = form_country_turan_iraq_required_states_tt - controls_state = 676 - } - # Persia - custom_trigger_tooltip = { - tooltip = form_country_turan_iran_required_states_tt - controls_state = 421 - controls_state = 419 - controls_state = 420 - controls_state = 417 - controls_state = 413 - controls_state = 266 - controls_state = 416 - controls_state = 1000 - controls_state = 1001 - controls_state = 1004 - } - # Azerbaijan - custom_trigger_tooltip = { - tooltip = form_country_turan_azerbaijan_required_states_tt - controls_state = 229 - } - # Kuban Region + Crimea - custom_trigger_tooltip = { - tooltip = form_country_turan_kuban_crimea_required_states_tt - controls_state = 233 - controls_state = 232 - controls_state = 235 - controls_state = 234 - controls_state = 237 - controls_state = 238 - controls_state = 236 - controls_state = 407 - controls_state = 406 - controls_state = 218 - controls_state = 227 - controls_state = 228 - controls_state = 200 - controls_state = 196 - controls_state = 137 - } - # Urals + Central Asia - custom_trigger_tooltip = { - tooltip = form_country_turan_urals_central_asia_required_states_tt - controls_state = 582 - controls_state = 402 - controls_state = 583 - controls_state = 587 - controls_state = 585 - controls_state = 584 - controls_state = 405 - controls_state = 404 - controls_state = 586 - controls_state = 732 - controls_state = 742 - controls_state = 589 - controls_state = 588 - controls_state = 590 - controls_state = 570 - controls_state = 571 - controls_state = 823 - controls_state = 832 - controls_state = 831 - controls_state = 830 - controls_state = 882 - controls_state = 881 - controls_state = 651 - controls_state = 249 - controls_state = 256 - } - # Siberia - custom_trigger_tooltip = { - tooltip = form_country_turan_siberia_required_states_tt - controls_state = 654 - controls_state = 40 - controls_state = 569 - controls_state = 568 - controls_state = 329 - controls_state = 567 - controls_state = 566 - controls_state = 564 - controls_state = 563 - controls_state = 565 - controls_state = 561 - controls_state = 574 - controls_state = 576 - controls_state = 562 - controls_state = 874 - controls_state = 644 - controls_state = 876 - controls_state = 877 - controls_state = 637 - controls_state = 822 - controls_state = 878 - } - } - - visible = { - original_tag = TUR - has_completed_focus = TUR_turanist_ambition - NOT = { has_global_flag = form_turan_flag } - } - - complete_effect = { - set_country_flag = TUR_trn_flag - TUR_set_appropriate_cosmetic_tag = yes - hidden_effect = { - news_event = { id = bftb_news.209 hours = 6 } - #TURKEY - 797 = { add_core_of = TUR } - 341 = { add_core_of = TUR } - 340 = { add_core_of = TUR } - 339 = { add_core_of = TUR } - 342 = { add_core_of = TUR } - 343 = { add_core_of = TUR } - 347 = { add_core_of = TUR } - 49 = { add_core_of = TUR } - 798 = { add_core_of = TUR } - 346 = { add_core_of = TUR } - 345 = { add_core_of = TUR } - 356 = { add_core_of = TUR } - 348 = { add_core_of = TUR } - 344 = { add_core_of = TUR } - 355 = { add_core_of = TUR } - 349 = { add_core_of = TUR } - 350 = { add_core_of = TUR } - 354 = { add_core_of = TUR } - 353 = { add_core_of = TUR } - 352 = { add_core_of = TUR } - 800 = { add_core_of = TUR } - 799 = { add_core_of = TUR } - #SYRIA - 677 = { add_core_of = TUR } - 680 = { add_core_of = TUR } - #IRAQ - 676 = { add_core_of = TUR } - 291 = { add_core_of = TUR } - #PERSIA - 421 = { add_core_of = TUR } - 419 = { add_core_of = TUR } - 420 = { add_core_of = TUR } - 417 = { add_core_of = TUR } - 413 = { add_core_of = TUR } - 266 = { add_core_of = TUR } - 416 = { add_core_of = TUR } - 1000 = { add_core_of = TUR } - 1001 = { add_core_of = TUR } - 1004 = { add_core_of = TUR } - #AZERBAIJAN - 229 = { add_core_of = TUR } - #KUBAN REGION + CRIMEA - 233 = { add_core_of = TUR } - 232 = { add_core_of = TUR } - 235 = { add_core_of = TUR } - 234 = { add_core_of = TUR } - 237 = { add_core_of = TUR } - 238 = { add_core_of = TUR } - 236 = { add_core_of = TUR } - 407 = { add_core_of = TUR } - 406 = { add_core_of = TUR } - 218 = { add_core_of = TUR } - 227 = { add_core_of = TUR } - 228 = { add_core_of = TUR } - 200 = { add_core_of = TUR } - 196 = { add_core_of = TUR } - 137 = { add_core_of = TUR } - 821 = { add_core_of = TUR } - 826 = { add_core_of = TUR } - 827 = { add_core_of = TUR } - 828 = { add_core_of = TUR } - #URALS + CENTRAL ASIA - 582 = { add_core_of = TUR } - 402 = { add_core_of = TUR } - 583 = { add_core_of = TUR } - 587 = { add_core_of = TUR } - 585 = { add_core_of = TUR } - 584 = { add_core_of = TUR } - 405 = { add_core_of = TUR } - 404 = { add_core_of = TUR } - 586 = { add_core_of = TUR } - 732 = { add_core_of = TUR } - 742 = { add_core_of = TUR } - 589 = { add_core_of = TUR } - 588 = { add_core_of = TUR } - 590 = { add_core_of = TUR } - 830 = { add_core_of = TUR } - 823 = { add_core_of = TUR } - 831 = { add_core_of = TUR } - 832 = { add_core_of = TUR } - 881 = { add_core_of = TUR } - 882 = { add_core_of = TUR } - 651 = { add_core_of = TUR } - 249 = { add_core_of = TUR } - 256 = { add_core_of = TUR } - #SIBERIA - 654 = { add_core_of = TUR } - 40 = { add_core_of = TUR } - 569 = { add_core_of = TUR } - 568 = { add_core_of = TUR } - 329 = { add_core_of = TUR } - 567 = { add_core_of = TUR } - 566 = { add_core_of = TUR } - 564 = { add_core_of = TUR } - 563 = { add_core_of = TUR } - 565 = { add_core_of = TUR } - 561 = { add_core_of = TUR } - 574 = { add_core_of = TUR } - 575 = { add_core_of = TUR } - 576 = { add_core_of = TUR } - 562 = { add_core_of = TUR } - 874 = { add_core_of = TUR } - 644 = { add_core_of = TUR } - 876 = { add_core_of = TUR } - 877 = { add_core_of = TUR } - 637 = { add_core_of = TUR } - 822 = { add_core_of = TUR } - 875 = { add_core_of = TUR } - 878 = { add_core_of = TUR } - set_global_flag = form_turan_flag - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - integrate_the_magyars = { - - icon = generic_form_nation - - allowed = { - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - has_global_flag = form_turan_flag - # Hungary + Slovakia - controls_state = 155 - controls_state = 43 - controls_state = 973 - controls_state = 974 - controls_state = 154 - controls_state = 664 - controls_state = 974 - controls_state = 973 - # Romania + Banat - controls_state = 76 - controls_state = 84 - controls_state = 82 - controls_state = 764 - controls_state = 45 - controls_state = 83 - } - - visible = { - has_completed_focus = TUR_subdue_the_magyars - } - - fire_only_once = yes - - complete_effect = { - # Hungary - 155 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 43 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 973 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 974 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 154 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 664 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 974 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 973 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - # Romania - 76 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 84 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 82 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 83 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 764 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 45 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - assimilate_the_chinese_turks = { - - icon = generic_form_nation - - allowed = { - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - has_global_flag = form_turan_flag - # Sinkiang - controls_state = 619 - controls_state = 287 - controls_state = 759 - controls_state = 760 - controls_state = 617 - controls_state = 618 - # Xibei San Ma - controls_state = 604 - controls_state = 755 - controls_state = 756 - controls_state = 754 - controls_state = 283 - controls_state = 753 - controls_state = 616 - # Nationalist China - controls_state = 752 - controls_state = 751 - controls_state = 601 - controls_state = 746 - # Mongolia / Manchuria - controls_state = 330 - controls_state = 817 - controls_state = 818 - controls_state = 819 - controls_state = 820 - controls_state = 612 - controls_state = 611 - controls_state = 621 - controls_state = 761 - controls_state = 714 - controls_state = 717 - } - - visible = { - has_completed_focus = TUR_cin_turkleri - } - - fire_only_once = yes - - complete_effect = { - # Sinkiang - 619 = { add_core_of = ROOT } - 287 = { add_core_of = ROOT } - 759 = { add_core_of = ROOT } - 760 = { add_core_of = ROOT } - 617 = { add_core_of = ROOT } - 618 = { add_core_of = ROOT } - # China - 604 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 755 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 756 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 754 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 283 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 753 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 616 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 752 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 751 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 601 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 612 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 611 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 621 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 761 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 714 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 717 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 746 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - #Mongolia - 330 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 817 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 818 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 819 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 820 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - unite_with_the_finno_ugrians = { - - icon = generic_form_nation - - allowed = { - has_dlc = "Battle for the Bosporus" - } - - available = { - is_subject = no - has_global_flag = form_turan_flag - # Finland + Karelia - controls_state = 111 #UUSIMAA (Helsinki) - controls_state = 150 #KUOPIO - controls_state = 149 #VAASA - controls_state = 148 #LAPPI - controls_state = 146 #KARJALA - controls_state = 147 #SALLA - controls_state = 722 #PETSAMO - controls_state = 926 #TURKU - controls_state = 927 #HÄME - controls_state = 928 #KYME - controls_state = 929 #OULU - controls_state = 930 #MIKKELI - - controls_state = 213 #MURMANSK - controls_state = 215 #ONEGA - controls_state = 216 #OLONETS - controls_state = 145 - - # Estonia - controls_state = 13 - controls_state = 191 - controls_state = 813 - controls_state = 812 - controls_state = 811 - } - - visible = { - has_completed_focus = TUR_crowning_ourselves_with_the_fin_ugor - } - - fire_only_once = yes - - complete_effect = { - #FINLAND + KARELIA - 111 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 150 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 149 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 148 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 146 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 147 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 926 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 927 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 928 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 929 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 930 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 722 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 145 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - - 213 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 215 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 216 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - #ESTONIA - 13 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 191 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 811 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 812 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - 813 = { add_dynamic_modifier = { modifier = turanist_assimilation } } - - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - -form_turkestan_category = { - - form_turkestan = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = TAN # Tannu Tuva - original_tag = KAZ # Kazakhstan - original_tag = UZB # Uzbekistan - original_tag = KYR # Kyrgyzstan - original_tag = TAJ # Tajikistan - original_tag = TMS # Turkmenistan - original_tag = SIK # Sinkiang - original_tag = BUK # Bukhara - original_tag = KHI # Khiva - original_tag = KKP # Karakalpakstan - original_tag = KUM # Kumul Khanate - } - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 402 - state = 404 - state = 406 - state = 407 - state = 583 - state = 586 - state = 587 - state = 588 - state = 589 - state = 590 - state = 881 - state = 882 - state = 405 - state = 585 - state = 831 - state = 823 - state = 830 - state = 732 - state = 742 - state = 584 - state = 832 - state = 881 - state = 882 - } - } - - available = { - custom_trigger_tooltip = { - tooltip = form_country_kazakhstan_required_states - controls_state = 402 - controls_state = 404 - controls_state = 406 - controls_state = 407 - controls_state = 583 - controls_state = 586 - controls_state = 587 - controls_state = 588 - controls_state = 589 - controls_state = 590 - controls_state = 881 - controls_state = 882 - } - custom_trigger_tooltip = { - tooltip = form_country_uzbekistan_required_states - controls_state = 405 - controls_state = 585 - controls_state = 831 - } - controls_state = 823 - controls_state = 830 - controls_state = 732 # Kyrgyzstan - controls_state = 742 # Tajikistan - controls_state = 584 # Turkmenistan - controls_state = 832 # Tashauz - controls_state = 881 - controls_state = 882 - } - - visible = { - OR = { - original_tag = TAN # Tannu Tuva - original_tag = KAZ # Kazakhstan - original_tag = UZB # Uzbekistan - original_tag = KYR # Kyrgyzstan - original_tag = TAJ # Tajikistan - original_tag = TMS # Turkmenistan - original_tag = SIK # Sinkiang - original_tag = BUK # Bukhara - original_tag = KHI # Khiva - original_tag = KKP # Karakalpakstan - original_tag = KUM # Kumul Khanate - } - NOT = { has_global_flag = form_turkestan_flag } - } - - complete_effect = { - set_cosmetic_tag = turkestan_united - - # Kazakhstan - custom_effect_tooltip = form_country_kazakhstan_coring_states_tt - hidden_effect = { - 402 = { add_core_of = ROOT } - 404 = { add_core_of = ROOT } - 406 = { add_core_of = ROOT } - 407 = { add_core_of = ROOT } - 583 = { add_core_of = ROOT } - 586 = { add_core_of = ROOT } - 587 = { add_core_of = ROOT } - 588 = { add_core_of = ROOT } - 589 = { add_core_of = ROOT } - 590 = { add_core_of = ROOT } - 881 = { add_core_of = ROOT } - 882 = { add_core_of = ROOT } - } - - # Turkmenistan - 584 = { add_core_of = ROOT } - - # Tashauz - 832 = { add_core_of = ROOT } - - # Uzbekistan - custom_effect_tooltip = form_country_uzbekistan_coring_states_tt - hidden_effect = { - 405 = { add_core_of = ROOT } - 585 = { add_core_of = ROOT } - 830 = { add_core_of = ROOT } - 823 = { add_core_of = ROOT } - 831 = { add_core_of = ROOT } - } - - # Kyrgyzstan - 732 = { add_core_of = ROOT } - - # Tajikistan - 742 = { add_core_of = ROOT } - - # Tuva - 329 = { add_core_of = ROOT } - - # Altai - 654 = { add_core_of = ROOT } - 40 = { add_core_of = ROOT } - - # Sinkiang - custom_effect_tooltip = form_country_sinkiang_coring_states_tt - hidden_effect = { - 287 = { add_core_of = ROOT } - 617 = { add_core_of = ROOT } - 618 = { add_core_of = ROOT } - 619 = { add_core_of = ROOT } - 759 = { add_core_of = ROOT } - 760 = { add_core_of = ROOT } - } - - add_ideas = soldiers_of_the_steppe - - hidden_effect = { - news_event = { id = nsb_news.3 hours = 6 } - set_global_flag = form_turkestan_flag - } - } - - ai_will_do = { - base = 200 - } - } -} - - - - -form_mountainous_republic_category = { - - form_mountainous_republic = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = DAG # Dagestan - original_tag = CIN # Chechnya-Ingushetia - original_tag = NOA # North Ossetia-Alania - original_tag = KBK # Kabardino-Balkaria - original_tag = ABK # Abkhazia - } - } - - available = { - controls_state = 232 # Dagestan - controls_state = 821 # Chechnya-Ingushetia - controls_state = 828 # North Ossetia - controls_state = 827 # Kabardino-Balkaria - controls_state = 826 # Abkhazia - } - - visible = { - OR = { - original_tag = DAG # Dagestan - original_tag = CIN # Chechnya-Ingushetia - original_tag = NOA # North Ossetia-Alania - original_tag = KBK # Kabardino-Balkaria - original_tag = ABK # Abkhazia - } - NOT = { has_global_flag = form_mountainous_republic_flag } - has_dlc = "No Step Back" - } - - complete_effect = { - set_cosmetic_tag = mountainous_republics_unified - - # Dagestan - 232 = { add_core_of = ROOT } - - # Chechnya-Ingushetia - 821 = { add_core_of = ROOT } - - # North Ossetia - 828 = { add_core_of = ROOT } - - # Kabardino-Balkaria - 827 = { add_core_of = ROOT } - - # Abkhazia - 826 = { add_core_of = ROOT } - - # Sochi - 233 = { add_core_of = ROOT } - - hidden_effect = { - news_event = { id = nsb_news.301 hours = 8 } - set_global_flag = form_mountainous_republic_flag - } - } - - ai_will_do = { - base = 200 - } - } -} - - -form_transcaucasus_category = { - - form_transcaucasian_republic = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - has_dlc = "No Step Back" - } - - visible = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - NOT = { has_global_flag = form_transcaucasia_flag } - } - - available = { - controls_state = 826 # Abkhazia - controls_state = 231 # Georgia - controls_state = 230 # Armenia - controls_state = 229 # Azerbaijan - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 826 # Abkhazia - state = 231 # Georgia - state = 230 # Armenia - state = 229 # Azerbaijan - } - } - - complete_effect = { - set_cosmetic_tag = transcaucasia_unified - - # Abkhazia - 826 = { add_core_of = ROOT } - - # Georgia - 231 = { add_core_of = ROOT } - - # Armenia - 230 = { add_core_of = ROOT } - - # Azerbaijan - 229 = { add_core_of = ROOT } - - hidden_effect = { - news_event = { id = nsb_news.302 hours = 8 } - set_global_flag = form_transcaucasia_flag - } - } - - ai_will_do = { - base = 200 - } - } - - - - unite_azeris = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - } - - visible = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - has_global_flag = form_transcaucasia_flag - NOT = { has_global_flag = azeris_united_flag } - has_dlc = "No Step Back" - } - - available = { - controls_state = 419 # West AZR - controls_state = 1000 # East AZR - controls_state = 420 # Gilan - } - - complete_effect = { - - # West AZR - 419 = { add_core_of = ROOT } - - # East AZR - 1000 = { add_core_of = ROOT } - - # Gilan - 420 = { add_core_of = ROOT } - - hidden_effect = { - set_global_flag = azeris_united_flag - } - } - - ai_will_do = { - base = 200 - } - } - - - claim_northern_caucasus = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - } - - visible = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - has_global_flag = form_transcaucasia_flag - NOT = { has_global_flag = northern_caucasus_claimed_flag } - has_dlc = "No Step Back" - } - - available = { - controls_state = 232 # Dagestan - controls_state = 821 # Chechnya-Ingushetia - controls_state = 828 # North Ossetia - controls_state = 827 # Kabardino-Balkaria - controls_state = 233 # Sochi - } - - complete_effect = { - - # Sochi - 233 = { add_core_of = ROOT } - - # Kabardino-Balkaria - 827 = { add_core_of = ROOT } - - # North Ossetia - 828 = { add_core_of = ROOT } - - # Chechnya-Ingushetia - 821 = { add_core_of = ROOT } - - # Gagestan - 232 = { add_core_of = ROOT } - - #add_ideas = soldiers_of_the_steppe - - hidden_effect = { - set_global_flag = northern_caucasus_claimed_flag - } - } - - ai_will_do = { - base = 200 - } - } - - - liberate_anatolian_peoples = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - } - - visible = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - has_global_flag = form_transcaucasia_flag - NOT = { has_global_flag = anatolians_liberated_flag } - has_dlc = "No Step Back" - } - - available = { - controls_state = 354 # Trabzon - controls_state = 800 # Van - } - - complete_effect = { - - # Trabzon - 354 = { add_core_of = ROOT } - - # Van - 800 = { add_core_of = ROOT } - - hidden_effect = { - set_global_flag = anatolians_liberated_flag - } - } - - ai_will_do = { - base = 200 - } - } - - - restore_kalmyks = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - } - - available = { - is_subject = no - controls_state = 237 # Kalmykia - controls_state = 236 # Astrakhan - NOT = { has_government = communism } - NOT = { has_government = democratic } - } - - visible = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - has_global_flag = form_transcaucasia_flag - NOT = { has_global_flag = kalmyk_khanate_restored_flag } - - has_dlc = "No Step Back" - } - - complete_effect = { - - custom_effect_tooltip = release_kalmyk_khanate_tt - - hidden_effect = { - - set_global_flag = kalmyk_khanate_restored_flag - - # Astrakhan - 236 = { add_core_of = KAL } - - KAL = { - transfer_state = 237 - transfer_state = 236 - if = { - limit = { - ROOT = { controls_state = 217 } #Stalingrad - } - add_state_core = 217 - transfer_state = 217 - } - if = { - limit = { - ROOT = { controls_state = 407 } #Uralsk - } - add_state_core = 407 - transfer_state = 407 - } - if = { - limit = { - ROOT = { controls_state = 406 } #Guryev - } - add_state_core = 406 - transfer_state = 406 - } - if = { - limit = { - ROOT = { controls_state = 401 } #Balakovo - } - add_state_core = 401 - transfer_state = 401 - } - if = { - limit = { - ROOT = { controls_state = 829 } #Engels-Marxstadt - } - add_state_core = 829 - transfer_state = 829 - } - if = { - limit = { - ROOT = { controls_state = 238 } #Volgodonsk - } - add_state_core = 238 - transfer_state = 238 - } - load_oob = "KAL_khanate_battalions" - } - - puppet = KAL - - if = { - limit = { - has_war_with = SOV - } - KAL = { - add_to_war = { - targeted_alliance = PREV - enemy = SOV - hostility_reason = asked_to_join - } - } - } - - - - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - - restore_crimean_khanate = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - } - - available = { - is_subject = no - controls_state = 137 # Crimea - controls_state = 196 # Kherson - NOT = { has_government = communism } - NOT = { has_government = democratic } - } - - visible = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - has_global_flag = form_transcaucasia_flag - NOT = { has_global_flag = crimean_khanate_restored_flag } - - has_dlc = "No Step Back" - } - - complete_effect = { - - custom_effect_tooltip = restore_crimean_khanate_tt - - - hidden_effect = { - - set_global_flag = crimean_khanate_restored_flag - - CRI = { - transfer_state = 137 # Crimea - transfer_state = 196 # Kherson - if = { - limit = { - ROOT = { controls_state = 200 } #Zaporozhe - } - add_state_core = 200 - transfer_state = 200 - } - if = { - limit = { - ROOT = { controls_state = 227 } #Stalino - } - add_state_core = 227 - transfer_state = 227 - } - if = { - limit = { - ROOT = { controls_state = 218 } #Rostov - } - add_state_core = 218 - transfer_state = 218 - } - if = { - limit = { - ROOT = { controls_state = 228 } #Voroshilovgrad - } - add_state_core = 228 - transfer_state = 228 - } - if = { - limit = { - ROOT = { controls_state = 234 } #Krasnodar - } - add_state_core = 234 - transfer_state = 234 - } - if = { - limit = { - ROOT = { controls_state = 245 } #Millerovo - } - add_state_core = 245 - transfer_state = 245 - } - if = { - limit = { - ROOT = { controls_state = 226 } #Dnipropetrovsk - } - add_state_core = 226 - transfer_state = 226 - } - load_oob = "CRI_khanate_soldiers" - } - - puppet = CRI - - if = { - limit = { - has_war_with = SOV - } - CRI = { - add_to_war = { - targeted_alliance = ROOT - enemy = SOV - hostility_reason = asked_to_join - } - } - } - if = { - limit = { - has_war_with = UKR - } - CRI = { - add_to_war = { - targeted_alliance = ROOT - enemy = UKR - hostility_reason = asked_to_join - } - } - } - - - - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - - release_turkish_kurdistan = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - } - - available = { - is_subject = no - controls_state = 352 # Hakkari - controls_state = 353 # Tunceli - controls_state = 350 # Diyarbakir - } - - visible = { - OR = { - original_tag = GEO # Georgia - original_tag = ARM # Armenia - original_tag = AZR # Azerbaijan - } - has_global_flag = form_transcaucasia_flag - NOT = { has_global_flag = anatolian_kurds_subjugated_flag } - - has_dlc = "No Step Back" - } - - complete_effect = { - - custom_effect_tooltip = release_anatolian_kurdistan_tt - - - hidden_effect = { - - set_global_flag = anatolian_kurds_subjugated_flag - - KUR = { - transfer_state = 350 # Diyarbakir - transfer_state = 352 # Hakkari - transfer_state = 353 # Tunceli - if = { - limit = { - ROOT = { controls_state = 344 } #Malatya - } - add_state_core = 344 - transfer_state = 344 - } - load_oob = "KUR_liberation_troops" - } - - puppet = KUR - - if = { - limit = { - has_war_with = TUR - } - KUR = { - add_to_war = { - targeted_alliance = ROOT - enemy = TUR - hostility_reason = asked_to_join - } - } - } - - - - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - - - -form_siberia_category = { - - form_siberian_republic = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = YAK # Yakutia - original_tag = FER # Far Eastern Republic - original_tag = CKK # Chukotka - original_tag = VLA # Vladivostok - original_tag = BYA # Buryatia - original_tag = TAY # Taymyria - original_tag = ALT # Altai - original_tag = YAM # Yamalia - original_tag = OVO # Ostyak-Vogulia - original_tag = TAN # Tannu Tuva - original_tag = KHA # Khakassia - original_tag = EVE # Evenkia - } - } - - visible = { - OR = { - original_tag = YAK # Yakutia - original_tag = FER # Far Eastern Republic - original_tag = CKK # Chukotka - original_tag = VLA # Vladivostok - original_tag = BYA # Buryatia - original_tag = TAY # Taymyria - original_tag = ALT # Altai - original_tag = YAM # Yamalia - original_tag = OVO # Ostyak-Vogulia - original_tag = TAN # Tannu Tuva - original_tag = KHA # Khakassia - original_tag = EVE # Evenkia - } - NOT = { has_global_flag = form_siberian_republic_flag } - has_dlc = "No Step Back" - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 564 # Buryatia - state = 563 # Chita - state = 574 # Yakutsk - state = 516 # Taymyria - state = 644 # Kolyma - state = 876 # Udachny - state = 877 # Verkhoyansk - state = 878 # Khatagansky - state = 565 # Bodaybo - state = 575 # Kirensk - state = 576 # Yeniseisk - } - } - - available = { - controls_state = 564 # Buryatia - controls_state = 563 # Chita - controls_state = 574 # Yakutsk - controls_state = 516 # Taymyria - controls_state = 644 # Kolyma - controls_state = 876 # Udachny - controls_state = 877 # Verkhoyansk - controls_state = 878 # Khatagansky - controls_state = 565 # Bodaybo - controls_state = 575 # Kirensk - controls_state = 576 # Yeniseisk - } - - complete_effect = { - - set_cosmetic_tag = siberia_unified - - custom_effect_tooltip = form_siberia_russian_siberia_coring_states_tt - - custom_effect_tooltip = form_siberia_yakutia_coring_states_tt - - custom_effect_tooltip = form_siberia_altai_coring_states_tt - - custom_effect_tooltip = form_siberia_ostyak_coring_states_tt - - custom_effect_tooltip = form_siberia_yamalia_coring_states_tt - - # Taymyria - 516 = { add_core_of = ROOT } - - # Buryatia - 564 = { add_core_of = ROOT } - - # Tannu Tuva - 329 = { add_core_of = ROOT } - - # Chita - 563 = { add_core_of = ROOT } - - # Yeniseisk - 576 = { add_core_of = ROOT } - - # Kirensk - 575 = { add_core_of = ROOT } - - # Boyadbo - 565 = { add_core_of = ROOT } - - # Kemerovo/Khakassia - 569 = { add_core_of = ROOT } - - hidden_effect = { - - # Yakutsk - 574 = { add_core_of = ROOT } - - # Kolyma - 644 = { add_core_of = ROOT } - - # Udachny - 876 = { add_core_of = ROOT } - - # Verkhoyansk - 877 = { add_core_of = ROOT } - - # Oyrot Region - 654 = { add_core_of = ROOT } - - # Altai Krai - 40 = { add_core_of = ROOT } - - # Surgut - 577 = { add_core_of = ROOT } - - # Tobolsk - 580 = { add_core_of = ROOT } - - # Yamalia - 824 = { add_core_of = ROOT } - - # Salekhard - 579 = { add_core_of = ROOT } - - # Tyumen - 403 = { add_core_of = ROOT } - - # Omsk - 571 = { add_core_of = ROOT } - - # Tomsk - 578 = { add_core_of = ROOT } - - # Novosibirsk - 570 = { add_core_of = ROOT } - - # Krasnoyarsk - 568 = { add_core_of = ROOT } - - # Bratsk - 567 = { add_core_of = ROOT } - - # Irkutsk - 566 = { add_core_of = ROOT } - - #Khatangsky - 878 = { add_core_of = ROOT } - - news_event = { id = nsb_news.303 hours = 8 } - - set_global_flag = form_siberian_republic_flag - - } - } - - ai_will_do = { - base = 200 - } - } - - - conquer_the_fareast = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = YAK # Yakutia - original_tag = FER # Far Eastern Republic - original_tag = CKK # Chukotka - original_tag = VLA # Vladivostok - original_tag = BYA # Buryatia - original_tag = TAY # Taymyria - original_tag = ALT # Altai - original_tag = YAM # Yamalia - original_tag = OVO # Ostyak-Vogulia - original_tag = TAN # Tannu Tuva - original_tag = KHA # Khakassia - original_tag = EVE # Evenkia - } - } - - visible = { - OR = { - original_tag = YAK # Yakutia - original_tag = FER # Far Eastern Republic - original_tag = CKK # Chukotka - original_tag = VLA # Vladivostok - original_tag = BYA # Buryatia - original_tag = TAY # Taymyria - original_tag = ALT # Altai - original_tag = YAM # Yamalia - original_tag = OVO # Ostyak-Vogulia - original_tag = TAN # Tannu Tuva - original_tag = KHA # Khakassia - original_tag = EVE # Evenkia - } - - has_global_flag = form_siberian_republic_flag - NOT = { has_global_flag = far_east_integrated_flag } - has_dlc = "No Step Back" - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 822 # Chukotka - state = 875 # Chukchi Peninsula - state = 637 # Kamchatka - state = 562 # Okhotsk - state = 874 # Magadan - state = 560 # Nikolayevsk - state = 655 # North Sakhalin - state = 561 # Amur - state = 657 # Birobidzhan - state = 409 # Khabravosk - state = 408 # Vladivostok - } - } - - available = { - controls_state = 822 # Chukotka - controls_state = 875 # Chukchi Peninsula - controls_state = 637 # Kamchatka - controls_state = 562 # Okhotsk - controls_state = 874 # Magadan - controls_state = 560 # Nikolayevsk - controls_state = 655 # North Sakhalin - controls_state = 561 # Amur - controls_state = 657 # Birobidzhan - controls_state = 409 # Khabravosk - controls_state = 408 # Vladivostok - } - - complete_effect = { - - custom_effect_tooltip = far_eastern_states_coring_states_tt - - hidden_effect = { - - # Chukotka - 822 = { add_core_of = ROOT } - - # Chukchi Peninsula - 875 = { add_core_of = ROOT } - - # Kamchatka - 637 = { add_core_of = ROOT } - - # Okhotsk - 562 = { add_core_of = ROOT } - - # Magadan - 874 = { add_core_of = ROOT } - - # Amur - 561 = { add_core_of = ROOT } - - # Birobidzhan - 657 = { add_core_of = ROOT } - - # Nikolayevsk - 560 = { add_core_of = ROOT } - - # North Sakhalin - 655 = { add_core_of = ROOT } - - # Khabravosk - 409 = { add_core_of = ROOT } - - # Vladivostok - 408 = { add_core_of = ROOT } - - set_global_flag = far_east_integrated_flag - - } - } - - ai_will_do = { - base = 200 - } - } - - - push_to_the_urals = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = YAK # Yakutia - original_tag = FER # Far Eastern Republic - original_tag = CKK # Chukotka - original_tag = VLA # Vladivostok - original_tag = BYA # Buryatia - original_tag = TAY # Taymyria - original_tag = ALT # Altai - original_tag = YAM # Yamalia - original_tag = OVO # Ostyak-Vogulia - original_tag = TAN # Tannu Tuva - original_tag = KHA # Khakassia - original_tag = EVE # Evenkia - } - } - - visible = { - OR = { - original_tag = YAK # Yakutia - original_tag = FER # Far Eastern Republic - original_tag = CKK # Chukotka - original_tag = VLA # Vladivostok - original_tag = BYA # Buryatia - original_tag = TAY # Taymyria - original_tag = ALT # Altai - original_tag = YAM # Yamalia - original_tag = OVO # Ostyak-Vogulia - original_tag = TAN # Tannu Tuva - original_tag = KHA # Khakassia - original_tag = EVE # Evenkia - } - - has_global_flag = form_siberian_republic_flag - NOT = { has_global_flag = urals_integrated_flag } - has_dlc = "No Step Back" - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 653 # Sverdlovsk - state = 572 # Chelyabinsk - state = 582 # Magnitogorsk - state = 573 # Zlatoust - state = 398 # Perm - state = 581 # Northern Urals - } - } - - available = { - controls_state = 653 # Sverdlovsk - controls_state = 572 # Chelyabinsk - controls_state = 582 # Magnitogorsk - controls_state = 573 # Zlatoust - controls_state = 398 # Perm - controls_state = 581 # Northern Urals - } - - complete_effect = { - - # Sverdlovsk - 653 = { add_core_of = ROOT } - - # Chelyabinsk - 572 = { add_core_of = ROOT } - - # Magnitogorsk - 582 = { add_core_of = ROOT } - - # Zlatoust - 573 = { add_core_of = ROOT } - - # Perm - 398 = { add_core_of = ROOT } - - # Northern Urals - 581 = { add_core_of = ROOT } - - hidden_effect = { - - set_global_flag = urals_integrated_flag - - } - } - - ai_will_do = { - base = 200 - } - } - - - liberate_the_ainu = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = YAK # Yakutia - original_tag = FER # Far Eastern Republic - original_tag = CKK # Chukotka - original_tag = VLA # Vladivostok - original_tag = BYA # Buryatia - original_tag = TAY # Taymyria - original_tag = ALT # Altai - original_tag = YAM # Yamalia - original_tag = OVO # Ostyak-Vogulia - original_tag = TAN # Tannu Tuva - original_tag = KHA # Khakassia - original_tag = EVE # Evenkia - } - } - - visible = { - OR = { - original_tag = YAK # Yakutia - original_tag = FER # Far Eastern Republic - original_tag = CKK # Chukotka - original_tag = VLA # Vladivostok - original_tag = BYA # Buryatia - original_tag = TAY # Taymyria - original_tag = ALT # Altai - original_tag = YAM # Yamalia - original_tag = OVO # Ostyak-Vogulia - original_tag = TAN # Tannu Tuva - original_tag = KHA # Khakassia - original_tag = EVE # Evenkia - } - - has_global_flag = form_siberian_republic_flag - NOT = { has_global_flag = ainu_integrated_flag } - has_dlc = "No Step Back" - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 537 # South Sakhalin - state = 555 # Kuril Islands - state = 536 # Hokkaido - } - } - - available = { - controls_state = 537 # South Sakhalin - controls_state = 555 # Kuril Islands - controls_state = 536 # Hokkaido - } - - complete_effect = { - - # South Sakhalin - 537 = { add_core_of = ROOT } - - # Kuril Islands - 555 = { add_core_of = ROOT } - - # Hokkaido - 536 = { add_core_of = ROOT } - - hidden_effect = { - - set_global_flag = ainu_integrated_flag - - } - } - - ai_will_do = { - base = 200 - } - } - - liberate_manchuria = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = YAK # Yakutia - original_tag = FER # Far Eastern Republic - original_tag = CKK # Chukotka - original_tag = VLA # Vladivostok - original_tag = BYA # Buryatia - original_tag = TAY # Taymyria - original_tag = ALT # Altai - original_tag = YAM # Yamalia - original_tag = OVO # Ostyak-Vogulia - original_tag = TAN # Tannu Tuva - original_tag = KHA # Khakassia - original_tag = EVE # Evenkia - } - } - - visible = { - OR = { - original_tag = YAK # Yakutia - original_tag = FER # Far Eastern Republic - original_tag = CKK # Chukotka - original_tag = VLA # Vladivostok - original_tag = BYA # Buryatia - original_tag = TAY # Taymyria - original_tag = ALT # Altai - original_tag = YAM # Yamalia - original_tag = OVO # Ostyak-Vogulia - original_tag = TAN # Tannu Tuva - original_tag = KHA # Khakassia - original_tag = EVE # Evenkia - } - - has_global_flag = form_siberian_republic_flag - NOT = { has_global_flag = manchus_integrated_flag } - has_dlc = "No Step Back" - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 761 # Hulunbuir - state = 714 # Heliungkiang - state = 717 # Sungkiang - state = 715 # Liaoning - state = 328 # Kirin - state = 716 # Liaotung - state = 610 # Jehol - state = 745 # Dalian - } - } - - available = { - controls_state = 761 # Hulunbuir - controls_state = 714 # Heliungkiang - controls_state = 717 # Sungkiang - controls_state = 715 # Liaoning - controls_state = 328 # Kirin - controls_state = 716 # Liaotung - controls_state = 610 # Jehol - controls_state = 745 # Dalian - } - - complete_effect = { - - # Hulunbuir - 761 = { add_core_of = ROOT } - - # Heliungkiang - 714 = { add_core_of = ROOT } - - # Sungkiang - 717 = { add_core_of = ROOT } - - # Liaoning - 715 = { add_core_of = ROOT } - - # Kirin - 328 = { add_core_of = ROOT } - - # Liaotung - 716 = { add_core_of = ROOT } - - # Jehol - 610 = { add_core_of = ROOT } - - # Dalian - 745 = { add_core_of = ROOT } - - hidden_effect = { - - set_global_flag = manchus_integrated_flag - - } - } - - ai_will_do = { - base = 200 - } - } -} - - - - -form_idel_ural_category = { - - form_idel_uralic_republic = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = MEL # Mari EL - original_tag = CHU # Chuvashia - original_tag = TAT # Tatarstan - original_tag = UDM # Udmurtia - original_tag = BSK # Bashkortostan - } - } - - visible = { - OR = { - original_tag = MEL # Mari EL - original_tag = CHU # Chuvashia - original_tag = TAT # Tatarstan - original_tag = UDM # Udmurtia - original_tag = BSK # Bashkortostan - } - NOT = { has_global_flag = form_idel_ural_flag } - has_dlc = "No Step Back" - } - - available = { - controls_state = 833 # Mari El - controls_state = 256 # Chuvashia - controls_state = 249 # Kazan - controls_state = 399 # Udmurtia - controls_state = 651 # Ufa - } - - complete_effect = { - set_cosmetic_tag = idel_ural - - # Kazan - 249 = { add_core_of = ROOT } - - # Mari El - 833 = { add_core_of = ROOT } - - # Chuvashia - 256 = { add_core_of = ROOT } - - # Udmurtia - 399 = { add_core_of = ROOT } - - # Ufa - 651 = { add_core_of = ROOT } - - hidden_effect = { - - news_event = { id = nsb_news.304 hours = 8 } - - set_global_flag = form_idel_ural_flag - - } - } - - ai_will_do = { - base = 200 - } - } -} - -form_ethiopian_empire_category = { - - form_empire_of_axum = { - - icon = generic_form_nation - - allowed = { - original_tag = ETH # Ethiopia # Maybe add Eritrea as well? - } - - available = { - controls_all_ethiopian_core_states = yes - controls_state = 550 # Eritrea - controls_state = 293 # Yemen - } - - visible = { - has_completed_focus = ETH_restore_the_empire_of_axum - NOT = { has_global_flag = form_axum_flag } - } - - complete_effect = { - set_cosmetic_tag = empire_of_axum - 659 = { add_core_of = ROOT } - 550 = { add_core_of = ROOT } - 293 = { add_core_of = ROOT } - 906 = { add_core_of = ROOT } - 268 = { add_core_of = ROOT } - 883 = { add_core_of = ROOT } - 551 = { add_core_of = ROOT } - 886 = { add_core_of = ROOT } - 992 = { add_core_of = ROOT } - - hidden_effect = { - - set_global_flag = form_axum_flag - - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ETH_move_capital_to_axum = { - - icon = generic_form_nation - - allowed = { - original_tag = ETH # Ethiopia - } - - available = { - controls_all_ethiopian_core_states = yes - 842 = { - is_owned_by = ROOT - is_fully_controlled_by = ROOT - } - NOT = { has_country_flag = ETH_has_moved_capital_flag } - } - cost = 50 - - visible = { - has_cosmetic_tag = empire_of_axum - } - fire_only_once = yes - - complete_effect = { - set_capital = { - state = 842 - remember_old_capital = no - } - 842 = { - add_victory_points = { - province = 13237 - value = 5 - } - ETH_upgrade_state_category = yes - } - #custom_effect_tooltip = ETH_prevents_further_capital_moves_tt - #set_country_flag = ETH_has_moved_capital_flag - } - - ai_will_do = { - factor = 100 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - form_empire_of_solomon = { - - icon = generic_form_nation - - allowed = { - original_tag = ETH # Ethiopia - } - - available = { - controls_all_ethiopian_core_states = yes - controls_state = 454 # Palestine - controls_state = 453 # Siniai - controls_state = 446 # Suez - } - - visible = { - has_completed_focus = ETH_the_one_true_heir_of_solomon - NOT = { has_global_flag = form_empire_of_solomon_flag } - } - - complete_effect = { - set_cosmetic_tag = empire_of_solomon - 453 = { add_core_of = ROOT } - 446 = { add_core_of = ROOT } - 907 = { add_core_of = ROOT } - 447 = { add_core_of = ROOT } - 457 = { add_core_of = ROOT } - 456 = { add_core_of = ROOT } - - hidden_effect = { - news_event = { - id = bba_news.5 - hours = 8 - } - - set_global_flag = form_empire_of_solomon_flag - - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - ETH_move_capital_to_jerusalem = { - - icon = generic_form_nation - - allowed = { - original_tag = ETH # Ethiopia - } - - available = { - controls_all_ethiopian_core_states = yes - 454 = { - is_owned_by = ROOT - is_fully_controlled_by = ROOT - } - NOT = { has_country_flag = ETH_has_moved_capital_flag } - } - cost = 50 - - visible = { - 454 = { is_owned_and_controlled_by = ROOT } - OR = { - has_government = neutrality - has_government = fascism - } - NOT = { has_cosmetic_tag = gojjam } - NOT = { has_cosmetic_tag = jimma } - } - fire_only_once = yes - - complete_effect = { - set_capital = { - state = 454 - remember_old_capital = no - } - 454 = { - add_victory_points = { - province = 1086 - value = 9 - } - ETH_upgrade_state_category = yes - add_core_of = ROOT - } - custom_effect_tooltip = ETH_prevents_further_capital_moves_tt - set_country_flag = ETH_has_moved_capital_flag - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } - - form_empire_of_zion = { - - icon = generic_form_nation - - allowed = { - original_tag = ETH # Ethiopia - } - - available = { - controls_all_ethiopian_core_states = yes - controls_state = 689 - } - - visible = { - has_completed_focus = ETH_jah - NOT = { has_global_flag = form_empire_of_zion_flag } - } - - complete_effect = { - set_cosmetic_tag = empire_of_zion - custom_effect_tooltip = create_empire_of_zion_tt - hidden_effect = { - every_state = { - limit = { - OR = { - region = 170 - region = 53 - state = 695 - } - is_controlled_by_ROOT_or_subject = yes - } - remove_claim_by = ROOT - add_core_of = ROOT - } - - set_global_flag = form_empire_of_zion_flag - - } - news_event = { - id = bba_news.6 - hours = 10 - } - } - - ai_will_do = { - factor = 200 - modifier = { - factor = 0 - is_historical_focus_on = yes - } - } - } -} - - -form_east_africa_category = { - - form_east_africa = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = KEN # Kenya - original_tag = UGA # Uganda - original_tag = TZN # Tanzania - original_tag = RWA # Rwanda - original_tag = BRD # Burundi - original_tag = COG # Congo - } - } - - visible = { - OR = { - original_tag = KEN # Kenya - original_tag = UGA # Uganda - original_tag = TZN # Tanzania - original_tag = RWA # Rwanda - original_tag = BRD # Burundi - AND = { - has_dlc = "Gotterdammerung" - original_tag = COG # Congo - has_completed_focus = COG_unify_east_africa - } - } - NOT = { has_global_flag = form_east_africa_flag } - } - - available = { - controls_state = 546 # Tanganyika - controls_state = 547 # Nairobi - controls_state = 905 # Mombasa - controls_state = 904 # Nyanza-Rift Velley - controls_state = 548 # Uganda - } - - complete_effect = { - set_cosmetic_tag = east_africa - - # Tanganyika - 546 = { add_core_of = ROOT } - - # Nairobi - 547 = { add_core_of = ROOT } - - # Nyanza-Rift Valley - 904 = { add_core_of = ROOT } - - # Mombasa - 905 = { add_core_of = ROOT } - - # Uganda - 548 = { add_core_of = ROOT } - - # Rwanda - 768 = { add_claim_by = ROOT } - - # Burundi - 769 = { add_claim_by = ROOT } - - # Jubaland - 844 = { add_claim_by = ROOT } - - #add_ideas = soldiers_of_the_steppe - - hidden_effect = { - - news_event = { id = bba_africa_news.1 hours = 8 } - - set_global_flag = form_east_africa_flag - - } - } - - ai_will_do = { - base = 200 - } - } - - integrate_ruanda_urundi = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = KEN # Kenya - original_tag = UGA # Uganda - original_tag = TZN # Tanzania - original_tag = RWA # Rwanda - original_tag = BRD # Burundi - original_tag = COG # Congo - } - } - - fire_only_once = yes - - visible = { - - has_global_flag = form_east_africa_flag - - - } - - available = { - controls_state = 768 # Rwanda - controls_state = 769 # Burundi - } - - complete_effect = { - - # Rwanda - 768 = { add_core_of = ROOT } - - # Burundi - 769 = { add_core_of = ROOT } - - - } - - ai_will_do = { - base = 200 - } - } - - dominate_malawi = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = KEN # Kenya - original_tag = UGA # Uganda - original_tag = TZN # Tanzania - original_tag = RWA # Rwanda - original_tag = BRD # Burundi - original_tag = COG # Congo - } - } - - visible = { - - has_global_flag = form_east_africa_flag - - } - - available = { - controls_state = 770 # Malawi - controls_state = 897 # Zambezia-Mocambique - } - - fire_only_once = yes - - complete_effect = { - - # Malawi - 770 = { add_core_of = ROOT } - - # Zambezia-Mocambique - 897 = { add_core_of = ROOT } - - - } - - ai_will_do = { - base = 200 - } - } - - liberate_sidamo = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = KEN # Kenya - original_tag = UGA # Uganda - original_tag = TZN # Tanzania - original_tag = RWA # Rwanda - original_tag = BRD # Burundi - original_tag = COG # Congo - } - } - - visible = { - - has_global_flag = form_east_africa_flag - - } - - available = { - controls_state = 837 # Sidamo - } - - fire_only_once = yes - - complete_effect = { - - # Sidamo - 837 = { add_core_of = ROOT } - - - } - - ai_will_do = { - base = 200 - } - } - - unite_the_somalis = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = KEN # Kenya - original_tag = UGA # Uganda - original_tag = TZN # Tanzania - original_tag = RWA # Rwanda - original_tag = BRD # Burundi - original_tag = COG # Congo - } - } - - visible = { - - has_global_flag = form_east_africa_flag - - } - - available = { - controls_state = 844 # Jubaland - controls_state = 559 # Somaliland - controls_state = 269 # British Somaliland - controls_state = 836 # Bale - controls_state = 835 # Hararghe - controls_state = 268 # Djibouti - controls_state = 903 # Garissa - } - - fire_only_once = yes - - complete_effect = { - - # Jubaland - 844 = { add_core_of = ROOT } - - # Garissa - 903 = { add_core_of = ROOT } - - # Somaliland - 559 = { add_core_of = ROOT } - - # British Somaliland - 269 = { add_core_of = ROOT } - - # Bale - 836 = { add_core_of = ROOT } - - # Hararghe - 835 = { add_core_of = ROOT } - - # Djibouti - 268 = { add_core_of = ROOT } - - # Socotra - 906 = { add_claim_by = ROOT } - - - } - - ai_will_do = { - base = 200 - } - } - - conquer_the_comoros = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = KEN # Kenya - original_tag = UGA # Uganda - original_tag = TZN # Tanzania - original_tag = RWA # Rwanda - original_tag = BRD # Burundi - original_tag = COG # Congo - } - } - - visible = { - - has_global_flag = form_east_africa_flag - - } - - available = { - controls_state = 708 # Comoro Islands - } - - fire_only_once = yes - - complete_effect = { - - # Comoro Islands - 708 = { add_core_of = ROOT } - - } - - ai_will_do = { - base = 200 - } - } -} - - -form_horn_of_africa_africa_category = { - - form_the_horn_of_africa = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = ETH # Ethiopia - original_tag = ERI # Eritrea - original_tag = SOM # Somalia - original_tag = TIG # Tigray - original_tag = QEM # Qemant State - original_tag = AFA # Afar - original_tag = HAR # Harar - original_tag = ORO # Oromia - original_tag = SID # Sidamo - original_tag = GBA # Gambela - original_tag = BEG # Benishangul-Gumuz State - original_tag = DJI # Djibouti - } - } - - visible = { - IF = { - limit = { - original_tag = ETH - } - has_completed_focus = ETH_develop_the_horn_of_africa - } - ELSE_IF = { - limit = { - OR = { - original_tag = AFA - original_tag = ORO - original_tag = QEM - original_tag = TIG - original_tag = BEG - original_tag = HAR - original_tag = SID - original_tag = GBA - } - } - has_completed_focus = HOA_proclaim_east-african_hegemony - } - OR = { - original_tag = ETH # Ethiopia - original_tag = ERI # Eritrea - original_tag = SOM # Somalia - original_tag = TIG # Tigray - original_tag = QEM # Qemant State - original_tag = AFA # Afar - original_tag = HAR # Harar - original_tag = ORO # Oromia - original_tag = SID # Sidamo - original_tag = GBA # Gambela - original_tag = BEG # Benishangul-Gumuz State - original_tag = DJI # Djibouti - } - NOT = { has_global_flag = form_horn_of_africa_flag } - - has_dlc = "By Blood Alone" - } - - available = { - IF = { - limit = { - original_tag = ETH - } - has_completed_focus = ETH_develop_the_horn_of_africa - controls_state = 842 # Tigray - controls_state = 843 # Wello - controls_state = 908 # Afar - controls_state = 841 # Begemder - controls_state = 840 # Gojjam - controls_state = 839 # Welega - controls_state = 838 # Illubabor-Kaffa - controls_state = 837 # Sidamo - controls_state = 271 # Shewa - controls_state = 836 # Bale - controls_state = 835 # Hararghe - controls_state = 550 # Eritrea - controls_state = 268 # French Somaliland - controls_state = 269 # British Somaliland - controls_state = 559 # Somaliland - controls_state = 844 # Jubaland - } - ELSE_IF = { - limit = { - OR = { - original_tag = AFA - original_tag = ORO - original_tag = QEM - original_tag = TIG - original_tag = BEG - original_tag = HAR - original_tag = SID - original_tag = GBA - } - } - has_completed_focus = HOA_proclaim_east-african_hegemony - controls_state = 842 # Tigray - controls_state = 843 # Wello - controls_state = 908 # Afar - controls_state = 841 # Begemder - controls_state = 840 # Gojjam - controls_state = 839 # Welega - controls_state = 838 # Illubabor-Kaffa - controls_state = 837 # Sidamo - controls_state = 271 # Shewa - controls_state = 836 # Bale - controls_state = 835 # Hararghe - controls_state = 550 # Eritrea - controls_state = 268 # French Somaliland - controls_state = 269 # British Somaliland - controls_state = 559 # Somaliland - controls_state = 844 # Jubaland - } - ELSE = { - controls_state = 842 # Tigray - controls_state = 843 # Wello - controls_state = 908 # Afar - controls_state = 841 # Begemder - controls_state = 840 # Gojjam - controls_state = 839 # Welega - controls_state = 838 # Illubabor-Kaffa - controls_state = 837 # Sidamo - controls_state = 271 # Shewa - controls_state = 836 # Bale - controls_state = 835 # Hararghe - controls_state = 550 # Eritrea - controls_state = 268 # French Somaliland - controls_state = 269 # British Somaliland - controls_state = 559 # Somaliland - controls_state = 844 # Jubaland - } - } - - complete_effect = { - set_cosmetic_tag = horn_of_africa - - # Tigray - 842 = { add_core_of = ROOT } - - # Wello - 843 = { add_core_of = ROOT } - - # Afar - 908 = { add_core_of = ROOT } - - # Begemder - 841 = { add_core_of = ROOT } - - # Gojjam - 840 = { add_core_of = ROOT } - - # Welega - 839 = { add_core_of = ROOT } - - # Illubabor-Kaffa - 838 = { add_core_of = ROOT } - - # Sidamo - 837 = { add_core_of = ROOT } - - # Shewa - 271 = { add_core_of = ROOT } - - # Bale - 836 = { add_core_of = ROOT } - - # Hararghe - 835 = { add_core_of = ROOT } - - # Eritrea - 550 = { add_core_of = ROOT } - - # French Somaliland - 268 = { add_core_of = ROOT } - - # British Somaliland - 269 = { add_core_of = ROOT } - - # Somaliland - 559 = { add_core_of = ROOT } - - # Jubaland - 844 = { add_core_of = ROOT } - - # Socotra - 906 = { add_claim_by = ROOT } - - hidden_effect = { - - news_event = { id = bba_africa_news.2 hours = 8 } - - set_global_flag = form_horn_of_africa_flag - - } - } - - ai_will_do = { - base = 200 - } - } - - conquer_socotra = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = ETH # Ethiopia - original_tag = ERI # Eritrea - original_tag = SOM # Somalia - original_tag = TIG # Tigray - original_tag = QEM # Qemant State - original_tag = AFA # Afar - original_tag = HAR # Harar - original_tag = ORO # Oromia - original_tag = SID # Sidamo - original_tag = GBA # Gambela - original_tag = BEG # Benishangul-Gumuz State - original_tag = DJI # Djibouti - } - } - - visible = { - OR = { - original_tag = ETH # Ethiopia - original_tag = ERI # Eritrea - original_tag = SOM # Somalia - original_tag = TIG # Tigray - original_tag = QEM # Qemant State - original_tag = AFA # Afar - original_tag = HAR # Harar - original_tag = ORO # Oromia - original_tag = SID # Sidamo - original_tag = GBA # Gambela - original_tag = BEG # Benishangul-Gumuz State - original_tag = DJI # Djibouti - } - - has_global_flag = form_horn_of_africa_flag - NOT = { has_global_flag = socotra_conquered_flag } - has_dlc = "By Blood Alone" - } - - available = { - controls_state = 906 # Socotra - } - - complete_effect = { - - # Socotra - 906 = { add_core_of = ROOT } - - hidden_effect = { - - set_global_flag = socotra_conquered_flag - - } - } - - ai_will_do = { - base = 200 - } - } - - - integrate_the_south = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = ETH # Ethiopia - original_tag = ERI # Eritrea - original_tag = SOM # Somalia - original_tag = TIG # Tigray - original_tag = QEM # Qemant State - original_tag = AFA # Afar - original_tag = HAR # Harar - original_tag = ORO # Oromia - original_tag = SID # Sidamo - original_tag = GBA # Gambela - original_tag = BEG # Benishangul-Gumuz State - original_tag = DJI # Djibouti - } - } - - visible = { - OR = { - original_tag = ETH # Ethiopia - original_tag = ERI # Eritrea - original_tag = SOM # Somalia - original_tag = TIG # Tigray - original_tag = QEM # Qemant State - original_tag = AFA # Afar - original_tag = HAR # Harar - original_tag = ORO # Oromia - original_tag = SID # Sidamo - original_tag = GBA # Gambela - original_tag = BEG # Benishangul-Gumuz State - original_tag = DJI # Djibouti - } - - has_global_flag = form_horn_of_africa_flag - NOT = { has_global_flag = integrate_the_south_flag } - - has_dlc = "By Blood Alone" - } - - available = { - controls_state = 903 # Garissa - controls_state = 547 # Nairobi - controls_state = 905 # Mombasa - controls_state = 904 # Nyanza-Rift Valley - controls_state = 548 # Uganda - } - - complete_effect = { - - # Garissa - 903 = { add_core_of = ROOT } - - # Nairobi - 547 = { add_core_of = ROOT } - - # Mombasa - 905 = { add_core_of = ROOT } - - # Nyanza-Rift Valley - 904 = { add_core_of = ROOT } - - # Uganda - 548 = { add_core_of = ROOT } - - hidden_effect = { - - set_global_flag = integrate_the_south_flag - - } - } - - ai_will_do = { - base = 200 - } - } - - - the_upper_nile = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = ETH # Ethiopia - original_tag = ERI # Eritrea - original_tag = SOM # Somalia - original_tag = TIG # Tigray - original_tag = QEM # Qemant State - original_tag = AFA # Afar - original_tag = HAR # Harar - original_tag = ORO # Oromia - original_tag = SID # Sidamo - original_tag = GBA # Gambela - original_tag = BEG # Benishangul-Gumuz State - original_tag = DJI # Djibouti - } - } - - visible = { - OR = { - original_tag = ETH # Ethiopia - original_tag = ERI # Eritrea - original_tag = SOM # Somalia - original_tag = TIG # Tigray - original_tag = QEM # Qemant State - original_tag = AFA # Afar - original_tag = HAR # Harar - original_tag = ORO # Oromia - original_tag = SID # Sidamo - original_tag = GBA # Gambela - original_tag = BEG # Benishangul-Gumuz State - original_tag = DJI # Djibouti - } - - has_global_flag = form_horn_of_africa_flag - NOT = { has_global_flag = the_upper_nile_flag } - - has_dlc = "By Blood Alone" - } - - available = { - controls_state = 886 # Blue Nile - controls_state = 884 # Upper Nile - } - - complete_effect = { - - # Blue Nile - 886 = { add_core_of = ROOT } - - # Upper Nile - 884 = { add_core_of = ROOT } - - hidden_effect = { - - set_global_flag = the_upper_nile_flag - - } - } - - ai_will_do = { - base = 200 - } - } -} - - -greater_italy_category = { - - proclaim_greater_italy = { - - icon = generic_form_nation - - allowed = { - original_tag = ITA # Italy - } - - visible = { - OR = { - original_tag = ITA # Italy - } - - NOT = { has_global_flag = greater_italy_flag } - - } - - available = { - has_completed_focus = ITA_towards_a_greater_italy - custom_trigger_tooltip = { - tooltip = greater_italy_required_states - controls_state = 852 # Istria - controls_state = 736 # Litorale - controls_state = 160 # Veneto - controls_state = 39 # Alto Adige - controls_state = 850 # Trentino - controls_state = 159 # Lombardia - controls_state = 158 # Piedmonte - controls_state = 161 # Emilia Romagna - controls_state = 162 # Toscana - controls_state = 157 # Abruzzo - controls_state = 2 # Latium - controls_state = 849 # Puglia - controls_state = 117 # Campania - controls_state = 156 # Calabria - controls_state = 115 # Sicilia - controls_state = 114 # Sardegna - } - custom_trigger_tooltip = { - tooltip = greater_italy_required_other_states - AND = { - OR = { - ITA = { - controls_state = 1 # Corsica - } - any_country = { - is_subject_of = ITA - controls_state = 1 # Corsica - } - } - OR = { - ITA = { - controls_state = 846 # Ticino - } - any_country = { - is_subject_of = ITA - controls_state = 846 # Ticino - } - } - OR = { - ITA = { - controls_state = 735 # Savoy - } - any_country = { - is_subject_of = ITA - controls_state = 735 # Savoy - } - } - OR = { - ITA = { - controls_state = 163 # Zara - } - any_country = { - is_subject_of = ITA - controls_state = 163 # Zara - } - } - OR = { - ITA = { - controls_state = 103 # Dalmatia - } - any_country = { - is_subject_of = ITA - controls_state = 103 # Dalmatia - } - } - OR = { - ITA = { - controls_state = 853 # Ljubljana - } - any_country = { - is_subject_of = ITA - controls_state = 853 # Ljubljana - } - } - OR = { - ITA = { - controls_state = 116 # Malta - } - any_country = { - is_subject_of = ITA - controls_state = 116 # Malta - } - } - OR = { - ITA = { - controls_state = 182 # Crete - } - any_country = { - is_subject_of = ITA - controls_state = 182 # Crete - } - } - OR = { - ITA = { - controls_state = 164 # Dodecaneso - } - any_country = { - is_subject_of = ITA - controls_state = 164 # Dodecaneso - } - } - } - } - - } - - complete_effect = { - set_cosmetic_tag = greater_italy - - custom_effect_tooltip = greater_italy_effect_tooltip - - add_ideas = ITA_italia_irredenta_achieved - - hidden_effect = { - - # Corsica - ITA = { - transfer_state = 1 - } - 1 = { - add_core_of = ROOT - set_state_name = ITA_italian_corsica_name - } - set_province_name = { - id = 3838 - name = ITA_italian_ajaccio_name - } - - # Ticino - ITA = { - transfer_state = 846 - } - 846 = { add_core_of = ROOT } - - # Savoy - ITA = { - transfer_state = 735 - } - 735 = { - add_core_of = ROOT - set_state_name = ITA_italian_savoy_name - } - set_province_name = { - id = 9909 - name = ITA_italian_nice_name - } - set_province_name = { - id = 778 - name = ITA_italian_annecy_name - } - - # Zara - ITA = { - transfer_state = 163 - } - 163 = { add_core_of = ROOT } - - # Dalmatia - ITA = { - transfer_state = 103 - } - 103 = { - add_core_of = ROOT - set_state_name = ITA_italian_dalmatia_name - } - set_province_name = { - id = 3924 - name = ITA_italian_split_name - } - set_province_name = { - id = 6889 - name = ITA_italian_dubrovnik_name - } - - # Ljubljana - ITA = { - transfer_state = 853 - } - 853 = { - add_core_of = ROOT - set_state_name = ITA_italian_ljubljana_state_name - } - set_province_name = { - id = 9627 - name = ITA_italian_ljubljana_name - } - - # Malta - ITA = { - transfer_state = 116 - } - 116 = { add_core_of = ROOT } - - # Crete - ITA = { - transfer_state = 182 - } - 182 = { - add_core_of = ROOT - set_state_name = ITA_italian_crete_name - } - set_province_name = { - id = 12058 - name = ITA_italian_chania_name - } - set_province_name = { - id = 9940 - name = ITA_italian_heraklion_name - } - - # Dodecaneso - ITA = { - transfer_state = 164 - } - 164 = { add_core_of = ROOT } - - news_event = { id = bba_italian_formables_news.1 hours = 8 } - - set_global_flag = greater_italy_flag - - } - } - - ai_will_do = { - base = 500 - } - } -} - -form_sweden_hungary_category = { - - proclaim_sweden_hungary = { - - icon = generic_form_nation - - allowed = { - original_tag = HUN # Hungary - } - - visible = { - - original_tag = HUN # Hungary - - NOT = { has_global_flag = sweden_hungary_formed_flag } - - has_completed_focus = wuw_HUN_elect_a_democratic_king - - } - - available = { - has_completed_focus = wuw_HUN_elect_a_democratic_king # They have a Swedish King - has_country_flag = HUN_carl_wilhelm_took_absolute_control - custom_trigger_tooltip = { - tooltip = sweden_hungary_required_states - controls_state = 155 # North Transdanubia - controls_state = 974 # South Transdanubia - controls_state = 43 # Northern Hungary - controls_state = 973 # Bacs Bodrog - controls_state = 154 # Alföld - } - custom_trigger_tooltip = { - tooltip = sweden_hungary_required_other_states - AND = { - OR = { - HUN = { - controls_state = 138 # Skåne - } - any_country = { - is_subject_of = HUN - controls_state = 138 # Skåne - } - } - OR = { - HUN = { - controls_state = 139 # Småland - } - any_country = { - is_subject_of = HUN - controls_state = 139 # Småland - } - } - OR = { - HUN = { - controls_state = 140 # Västergötland - } - any_country = { - is_subject_of = HUN - controls_state = 140 # Västergötland - } - } - OR = { - HUN = { - controls_state = 915 # Bohuslän - } - any_country = { - is_subject_of = HUN - controls_state = 915 # Bohuslän - } - } - OR = { - HUN = { - controls_state = 124 # Gotland - } - any_country = { - is_subject_of = HUN - controls_state = 124 # Gotland - } - } - OR = { - HUN = { - controls_state = 913 # Östergötland - } - any_country = { - is_subject_of = HUN - controls_state = 913 # Östergötland - } - } - OR = { - HUN = { - controls_state = 919 # Värmland - } - any_country = { - is_subject_of = HUN - controls_state = 919 # Värmland - } - } - OR = { - HUN = { - controls_state = 141 # Södermanland - } - any_country = { - is_subject_of = HUN - controls_state = 141 # Södermanland - } - } - OR = { - HUN = { - controls_state = 916 # Dalarna - } - any_country = { - is_subject_of = HUN - controls_state = 916 # Dalarna - } - } - OR = { - HUN = { - controls_state = 38 # Gävleborg - } - any_country = { - is_subject_of = HUN - controls_state = 38 # Gävleborg - } - } - OR = { - HUN = { - controls_state = 917 # Jämtland - } - any_country = { - is_subject_of = HUN - controls_state = 917 # Jämtland - } - } - OR = { - HUN = { - controls_state = 918 # Västerbotten - } - any_country = { - is_subject_of = HUN - controls_state = 918 # Västerbotten - } - } - OR = { - HUN = { - controls_state = 666 # Norrbotten - } - any_country = { - is_subject_of = HUN - controls_state = 666 # Norrbotten - } - } - } - } - - } - - complete_effect = { - set_cosmetic_tag = HUN_sweden_hungary_unified - - custom_effect_tooltip = sweden_hungary_effect_tooltip - - hidden_effect = { - - # Skåne - HUN = { - transfer_state = 138 - } - 138 = { - add_core_of = ROOT - } - - # Småland - HUN = { - transfer_state = 139 - } - 139 = { - add_core_of = ROOT - } - - # Västergötland - HUN = { - transfer_state = 140 - } - 140 = { - add_core_of = ROOT - } - - # Bohuslän - HUN = { - transfer_state = 915 - } - 915 = { - add_core_of = ROOT - } - - # Östergötland!!!!!!! - HUN = { - transfer_state = 913 - } - 913 = { - add_core_of = ROOT - } - - # Gotland - HUN = { - transfer_state = 124 - } - 124 = { - add_core_of = ROOT - } - - # Värmland.. - HUN = { - transfer_state = 919 - } - 919 = { - add_core_of = ROOT - } - - # Södermanland - HUN = { - transfer_state = 141 - } - 141 = { - add_core_of = ROOT - } - - # Dalarna - HUN = { - transfer_state = 916 - } - 916 = { - add_core_of = ROOT - } - - # Gävleborg - HUN = { - transfer_state = 38 - } - 38 = { - add_core_of = ROOT - } - - # Jämtland - HUN = { - transfer_state = 917 - } - 917 = { - add_core_of = ROOT - } - - # Västerbotten - HUN = { - transfer_state = 918 - } - 918 = { - add_core_of = ROOT - } - - # Norrbotten - HUN = { - transfer_state = 666 - } - 666 = { - add_core_of = ROOT - } - - set_global_flag = sweden_hungary_formed_flag - - } - } - - ai_will_do = { - base = 500 - } - } -} - -antilles_category = { - - unite_the_antilles = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = HAI # Haiti - original_tag = DOM # Dominican Republic - original_tag = PUE # Puerto Rico - original_tag = CUB # Cuba - original_tag = JAM # Jamaica - original_tag = BAH # Bahamas - original_tag = GDL # Guadeloupe - original_tag = BAS # British Antilles - } - } - - visible = { - OR = { - original_tag = HAI # Haiti - original_tag = DOM # Dominican Republic - original_tag = PUE # Puerto Rico - original_tag = CUB # Cuba - original_tag = JAM # Jamaica - original_tag = BAH # Bahamas - original_tag = GDL # Guadeloupe - original_tag = BAS # British Antilles - } - - NOT = { has_global_flag = antilles_formed_flag } - - } - - available = { - - 319 = { - is_fully_controlled_by = ROOT - } - - 318 = { - is_fully_controlled_by = ROOT - } - - 315 = { - is_fully_controlled_by = ROOT - } - - } - - complete_effect = { - set_cosmetic_tag = antilles - - custom_effect_tooltip = generic_skip_one_line_tt - - # Dominican Republic - IF = { - limit = { - NOT = { - 319 = { - is_core_of = ROOT - } - } - } - 319 = { add_core_of = ROOT } - } - - # Haiti - IF = { - limit = { - NOT = { - 318 = { - is_core_of = ROOT - } - } - } - 318 = { add_core_of = ROOT } - } - - # Cuba - IF = { - limit = { - NOT = { - 315 = { - is_core_of = ROOT - } - } - } - 315 = { add_core_of = ROOT } - } - - # Jamaica - IF = { - limit = { - NOT = { - 689 = { - is_core_of = ROOT - } - } - } - 689 = { add_core_of = ROOT } - } - - # Northern Bahamas - IF = { - limit = { - NOT = { - 690 = { - is_core_of = ROOT - } - } - } - 690 = { add_core_of = ROOT } - } - - # Southern Bahamas - IF = { - limit = { - NOT = { - 693 = { - is_core_of = ROOT - } - } - } - 693 = { add_core_of = ROOT } - } - - # Puerto Rico - IF = { - limit = { - NOT = { - 686 = { - is_core_of = ROOT - } - } - } - 686 = { add_core_of = ROOT } - } - - # French Caribbean - IF = { - limit = { - NOT = { - 694 = { - is_core_of = ROOT - } - } - } - 694 = { add_core_of = ROOT } - } - - # Leeward Islands - IF = { - limit = { - NOT = { - 308 = { - is_core_of = ROOT - } - } - } - 308 = { add_core_of = ROOT } - } - - # Windward Islands - IF = { - limit = { - NOT = { - 692 = { - is_core_of = ROOT - } - } - } - 692 = { add_core_of = ROOT } - } - - hidden_effect = { - set_global_flag = antilles_formed_flag - - news_event = { - id = south_american_news.20 - hours = 6 - } - - } - } - - ai_will_do = { - base = 2000 - } - } - - integrate_the_netherlands_antilles = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = HAI # Haiti - original_tag = DOM # Dominican Republic - original_tag = PUE # Puerto Rico - original_tag = CUB # Cuba - original_tag = JAM # Jamaica - original_tag = BAH # Bahamas - original_tag = GDL # Guadeloupe - original_tag = BAS # British Antilles - } - } - - visible = { - OR = { - original_tag = HAI # Haiti - original_tag = DOM # Dominican Republic - original_tag = PUE # Puerto Rico - original_tag = CUB # Cuba - original_tag = JAM # Jamaica - original_tag = BAH # Bahamas - original_tag = GDL # Guadeloupe - original_tag = BAS # British Antilles - } - - has_global_flag = antilles_formed_flag - NOT = { has_global_flag = integrated_curacao_flag } - - } - - available = { - - 695 = { - is_fully_controlled_by = ROOT - } - - } - - complete_effect = { - - custom_effect_tooltip = generic_skip_one_line_tt - - # Curacao - IF = { - limit = { - NOT = { - 695 = { - is_core_of = ROOT - } - } - } - 695 = { add_core_of = ROOT } - } - - hidden_effect = { - set_global_flag = integrated_curacao_flag - } - } - - ai_will_do = { - base = 2000 - } - } - - integrate_trinidad_and_tobago = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = HAI # Haiti - original_tag = DOM # Dominican Republic - original_tag = PUE # Puerto Rico - original_tag = CUB # Cuba - original_tag = JAM # Jamaica - original_tag = BAH # Bahamas - original_tag = GDL # Guadeloupe - original_tag = BAS # British Antilles - } - } - - visible = { - OR = { - original_tag = HAI # Haiti - original_tag = DOM # Dominican Republic - original_tag = PUE # Puerto Rico - original_tag = CUB # Cuba - original_tag = JAM # Jamaica - original_tag = BAH # Bahamas - original_tag = GDL # Guadeloupe - original_tag = BAS # British Antilles - } - - has_global_flag = antilles_formed_flag - NOT = { has_global_flag = integrated_tobago_flag } - - } - - available = { - - 691 = { - is_fully_controlled_by = ROOT - } - - } - - complete_effect = { - - custom_effect_tooltip = generic_skip_one_line_tt - - # Tobago - IF = { - limit = { - NOT = { - 691 = { - is_core_of = ROOT - } - } - } - 691 = { add_core_of = ROOT } - } - - hidden_effect = { - set_global_flag = integrated_tobago_flag - } - } - - ai_will_do = { - base = 2000 - } - } -} - -latin_africa_category = { - - unite_latin_africa = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = COG # Congo Leopoldville - original_tag = KAT # Katanga - original_tag = RCG # Congo Brazzaville - original_tag = RWA # Rwanda - original_tag = BRD # Burundi - original_tag = ANG # Angola - original_tag = GAB # Gabon - original_tag = EQG # Equatorial Guinea - original_tag = CMR # Cameroon - original_tag = CHA # Chad - original_tag = CAR # Central African Republic - } - } - - visible = { - OR = { - original_tag = COG # Congo Leopoldville - original_tag = KAT # Katanga - original_tag = RCG # Congo Brazzaville - original_tag = RWA # Rwanda - original_tag = BRD # Burundi - original_tag = ANG # Angola - original_tag = GAB # Gabon - original_tag = EQG # Equatorial Guinea - original_tag = CMR # Cameroon - original_tag = CHA # Chad - original_tag = CAR # Central African Republic - } - - NOT = { has_global_flag = latin_africa_formed_flag } - - } - - available = { - - 295 = { - is_controlled_by = ROOT - } - - 888 = { - is_controlled_by = ROOT - } - - 889 = { - is_controlled_by = ROOT - } - - 890 = { - is_controlled_by = ROOT - } - - 718 = { - is_controlled_by = ROOT - } - - 538 = { - is_controlled_by = ROOT - } - - 768 = { - is_controlled_by = ROOT - } - - 769 = { - is_controlled_by = ROOT - } - - 796 = { - is_controlled_by = ROOT - } - - 540 = { - is_controlled_by = ROOT - } - - 891 = { - is_controlled_by = ROOT - } - - 892 = { - is_controlled_by = ROOT - } - - 772 = { - is_controlled_by = ROOT - } - - 539 = { - is_controlled_by = ROOT - } - - 297 = { - is_controlled_by = ROOT - } - - 773 = { - is_controlled_by = ROOT - } - - 660 = { - is_controlled_by = ROOT - } - - 774 = { - is_controlled_by = ROOT - } - - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 295 - state = 888 - state = 889 - state = 890 - state = 718 - state = 538 - state = 768 - state = 769 - state = 796 - state = 540 - state = 891 - state = 892 - state = 772 - state = 539 - state = 297 - state = 773 - state = 660 - state = 774 - } - } - - complete_effect = { - hidden_effect = { - drop_cosmetic_tag = yes - } - set_cosmetic_tag = latin_africa - - custom_effect_tooltip = generic_skip_one_line_tt - - # Leopoldville - IF = { - limit = { - NOT = { - 295 = { - is_core_of = ROOT - } - } - } - 295 = { add_core_of = ROOT } - } - - # Coquilhatville - IF = { - limit = { - NOT = { - 538 = { - is_core_of = ROOT - } - } - } - 538 = { add_core_of = ROOT } - } - - # Lusambo - IF = { - limit = { - NOT = { - 888 = { - is_core_of = ROOT - } - } - } - 888 = { add_core_of = ROOT } - } - - # Elizabethville - IF = { - limit = { - NOT = { - 889 = { - is_core_of = ROOT - } - } - } - 889 = { add_core_of = ROOT } - } - - # Costermanville - IF = { - limit = { - NOT = { - 890 = { - is_core_of = ROOT - } - } - } - 890 = { add_core_of = ROOT } - } - - # Stanleyville - IF = { - limit = { - NOT = { - 718 = { - is_core_of = ROOT - } - } - } - 718 = { add_core_of = ROOT } - } - - # Rwanda - IF = { - limit = { - NOT = { - 768 = { - is_core_of = ROOT - } - } - } - 768 = { add_core_of = ROOT } - } - - # Burundi - IF = { - limit = { - NOT = { - 769 = { - is_core_of = ROOT - } - } - } - 769 = { add_core_of = ROOT } - } - - # North Angola - IF = { - limit = { - NOT = { - 796 = { - is_core_of = ROOT - } - } - } - 796 = { add_core_of = ROOT } - } - - # Luanda - IF = { - limit = { - NOT = { - 540 = { - is_core_of = ROOT - } - } - } - 540 = { add_core_of = ROOT } - } - - # South West Angola - IF = { - limit = { - NOT = { - 892 = { - is_core_of = ROOT - } - } - } - 892 = { add_core_of = ROOT } - } - - # Zambesi - IF = { - limit = { - NOT = { - 891 = { - is_core_of = ROOT - } - } - } - 891 = { add_core_of = ROOT } - } - - # Middle Congo - IF = { - limit = { - NOT = { - 772 = { - is_core_of = ROOT - } - } - } - 772 = { add_core_of = ROOT } - } - - # Gabon - IF = { - limit = { - NOT = { - 539 = { - is_core_of = ROOT - } - } - } - 539 = { add_core_of = ROOT } - } - - # Equatorial Guinea - IF = { - limit = { - NOT = { - 297 = { - is_core_of = ROOT - } - } - } - 297 = { add_core_of = ROOT } - } - - # Sao Tome - IF = { - limit = { - NOT = { - 705 = { - is_core_of = ROOT - } - } - } - 705 = { add_core_of = ROOT } - } - - # Cameroon - IF = { - limit = { - NOT = { - 773 = { - is_core_of = ROOT - } - } - } - 773 = { add_core_of = ROOT } - } - - # Equatorial Africa - IF = { - limit = { - NOT = { - 660 = { - is_core_of = ROOT - } - } - } - 660 = { add_core_of = ROOT } - } - - # Chad - IF = { - limit = { - NOT = { - 774 = { - is_core_of = ROOT - } - } - } - 774 = { add_core_of = ROOT } - } - - # B.E.T - IF = { - limit = { - NOT = { - 775 = { - is_core_of = ROOT - } - } - } - 775 = { add_core_of = ROOT } - } - - hidden_effect = { - set_global_flag = latin_africa_formed_flag - - news_event = { - id = ww_congo.16 - hours = 6 - } - - } - } - - ai_will_do = { - base = 2000 - } - } -} - - -germany_formable_category = { - - declare_germany_reunified_decision = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - } - - visible = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - AND = { - original_tag = LUX # Luxembourg - has_game_rule = { - rule = germany_fragmentation_status - option = GERMANY_FRAGMENTED - } - } - - } - - NOT = { has_global_flag = germany_reformed_flag } - - } - - available = { - - 909 = { # Schleswig - is_controlled_by = ROOT - } - - 58 = { # Holstein - is_controlled_by = ROOT - } - - 61 = { # Mecklenburg - is_controlled_by = ROOT - } - - 62 = { # Vorpommern - is_controlled_by = ROOT - } - - #63 = { # Hinterpommern - # is_controlled_by = ROOT - #} - # - #68 = { # Ostmark - # is_controlled_by = ROOT - #} - # - #66 = { # Niederschlesien - # is_controlled_by = ROOT - #} - # - #67 = { # Oberschlesien - # is_controlled_by = ROOT - #} - - 64 = { # Brandenburg - is_controlled_by = ROOT - } - - 65 = { # Sachsen - is_controlled_by = ROOT - } - - 60 = { # Thüringen - is_controlled_by = ROOT - } - - 59 = { # Hannover - is_controlled_by = ROOT - } - - 56 = { # Weser-Ems - is_controlled_by = ROOT - } - - 57 = { # Westfalen - is_controlled_by = ROOT - } - - 55 = { # Hessen - is_controlled_by = ROOT - } - - 51 = { # Rhineland - is_controlled_by = ROOT - } - - 42 = { # Moselland - is_controlled_by = ROOT - } - - 978 = { # Baden - is_controlled_by = ROOT - } - - 50 = { # Württemberg - is_controlled_by = ROOT - } - - 54 = { # Franken - is_controlled_by = ROOT - } - - 53 = { # Niederbayern - is_controlled_by = ROOT - } - - 52 = { # Oberbayern - is_controlled_by = ROOT - } - - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 909 - state = 58 - state = 61 - state = 62 - state = 64 - state = 65 - state = 60 - state = 59 - state = 56 - state = 57 - state = 55 - state = 51 - state = 42 - state = 978 - state = 50 - state = 54 - state = 53 - state = 52 - } - } - - cost = 100 - - complete_effect = { - hidden_effect = { - drop_cosmetic_tag = yes - } - set_cosmetic_tag = reunified_germany - - custom_effect_tooltip = generic_skip_one_line_tt - - custom_effect_tooltip = declare_germany_reunified_decision_tt - hidden_effect = { - # Brandenburg - IF = { - limit = { - NOT = { - 64 = { - is_core_of = ROOT - } - } - } - 64 = { add_core_of = ROOT } - } - - # Vorpommern - IF = { - limit = { - NOT = { - 62 = { - is_core_of = ROOT - } - } - } - 62 = { add_core_of = ROOT } - } - - # Mecklenburg - IF = { - limit = { - NOT = { - 61 = { - is_core_of = ROOT - } - } - } - 61 = { add_core_of = ROOT } - } - - # Sachsen - IF = { - limit = { - NOT = { - 65 = { - is_core_of = ROOT - } - } - } - 65 = { add_core_of = ROOT } - } - - # Holstein - IF = { - limit = { - NOT = { - 58 = { - is_core_of = ROOT - } - } - } - 58 = { add_core_of = ROOT } - } - - # Schleswig - IF = { - limit = { - NOT = { - 909 = { - is_core_of = ROOT - } - } - } - 909 = { add_core_of = ROOT } - } - - # Hannover - IF = { - limit = { - NOT = { - 59 = { - is_core_of = ROOT - } - } - } - 59 = { add_core_of = ROOT } - } - - # Thüringen - IF = { - limit = { - NOT = { - 60 = { - is_core_of = ROOT - } - } - } - 60 = { add_core_of = ROOT } - } - - # Weser-Ems - IF = { - limit = { - NOT = { - 56 = { - is_core_of = ROOT - } - } - } - 56 = { add_core_of = ROOT } - } - - # Westfalen - IF = { - limit = { - NOT = { - 57 = { - is_core_of = ROOT - } - } - } - 57 = { add_core_of = ROOT } - } - - # Hessen - IF = { - limit = { - NOT = { - 55 = { - is_core_of = ROOT - } - } - } - 55 = { add_core_of = ROOT } - } - - # Rhineland - IF = { - limit = { - NOT = { - 51 = { - is_core_of = ROOT - } - } - } - 51 = { add_core_of = ROOT } - } - - # Moselland - IF = { - limit = { - NOT = { - 42 = { - is_core_of = ROOT - } - } - } - 42 = { add_core_of = ROOT } - } - - # Baden - IF = { - limit = { - NOT = { - 978 = { - is_core_of = ROOT - } - } - } - 978 = { add_core_of = ROOT } - } - - # Württemberg - IF = { - limit = { - NOT = { - 50 = { - is_core_of = ROOT - } - } - } - 50 = { add_core_of = ROOT } - } - - # Franken - IF = { - limit = { - NOT = { - 54 = { - is_core_of = ROOT - } - } - } - 54 = { add_core_of = ROOT } - } - - # Oberbayern - IF = { - limit = { - NOT = { - 52 = { - is_core_of = ROOT - } - } - } - 52 = { add_core_of = ROOT } - } - - # Niederbayern - IF = { - limit = { - NOT = { - 53 = { - is_core_of = ROOT - } - } - } - 53 = { add_core_of = ROOT } - } - - set_global_flag = germany_reformed_flag - - country_event = { - id = wuw_GER_releasable.1 - hours = 0 - } - - news_event = { - id = wuw_GER_news.1 - hours = 16 - } - } - - } - - ai_will_do = { - base = 2500 - } - } - - reintegrate_luxemburg = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - } - - visible = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - - NOT = { - 8 = { - is_core_of = ROOT - } - } - - has_global_flag = germany_reformed_flag - NOT = { has_global_flag = reintegrated_lumexburg_flag } - - } - - available = { - - 8 = { - is_fully_controlled_by = ROOT - } - - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 8 - } - } - - cost = 25 - - complete_effect = { - - # Luxemburg - IF = { - limit = { - NOT = { - 8 = { - is_core_of = ROOT - } - } - } - 8 = { add_core_of = ROOT } - } - - hidden_effect = { - 8 = { - set_state_name = 8_lux_name - } - - set_province_name = { - id = 6583 - name = 6583_german_unification_lux_name - } - - set_global_flag = reintegrated_lumexburg_flag - } - } - - ai_will_do = { - base = 2000 - } - } - - reintegrate_elsass_lothringen = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - } - - visible = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - - NOT = { - 28 = { - is_core_of = ROOT - } - } - - has_global_flag = germany_reformed_flag - NOT = { has_global_flag = reintigrated_alsace_loraine_flag } - - } - - available = { - - 28 = { - is_fully_controlled_by = ROOT - } - - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 28 - } - } - - cost = 25 - - complete_effect = { - - # Alsace-Lorraine - IF = { - limit = { - NOT = { - 28 = { - is_core_of = ROOT - } - } - } - 28 = { add_core_of = ROOT } - } - - hidden_effect = { - 28 = { set_state_name = 28_german_name } - set_province_name = { id = 9503 name = province_9503_german_name } - set_province_name = { id = 678 name = province_678_german_name } - - set_global_flag = reintigrated_alsace_loraine_flag - } - } - - ai_will_do = { - base = 2000 - } - } - - reintegrate_south_jutland = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - } - - visible = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - - NOT = { - 912 = { - is_core_of = ROOT - } - } - - has_global_flag = germany_reformed_flag - NOT = { has_global_flag = reintigrated_south_jutland_flag } - - } - - available = { - - 912 = { - is_fully_controlled_by = ROOT - } - - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 912 - } - } - - cost = 25 - - complete_effect = { - - # South Jutland - IF = { - limit = { - NOT = { - 912 = { - is_core_of = ROOT - } - } - } - 912 = { add_core_of = ROOT } - } - - hidden_effect = { - 912 = { set_state_name = 912_german_name } - set_province_name = { id = 13258 name = province_13258_german_name } - - set_global_flag = reintigrated_south_jutland_flag - } - } - - ai_will_do = { - base = 2000 - } - } - - reintegrate_east_prussia = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - } - - visible = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - - NOT = { - AND = { - 5 = { - is_core_of = ROOT - } - 763 = { - is_core_of = ROOT - } - 188 = { - is_core_of = ROOT - } - } - } - - has_global_flag = germany_reformed_flag - NOT = { has_global_flag = reintigrated_east_prussia_flag } - - } - - available = { - - 5 = { - is_fully_controlled_by = ROOT - } - - 763 = { - is_fully_controlled_by = ROOT - } - - 188 = { - is_fully_controlled_by = ROOT - } - - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 5 - state = 763 - state = 188 - } - } - - cost = 50 - - complete_effect = { - - # Ermland-Masuren - IF = { - limit = { - NOT = { - 5 = { - is_core_of = ROOT - } - } - } - 5 = { add_core_of = ROOT } - } - - # Königsberg - IF = { - limit = { - NOT = { - 763 = { - is_core_of = ROOT - } - } - } - 763 = { add_core_of = ROOT } - } - - # Memel - IF = { - limit = { - NOT = { - 188 = { - is_core_of = ROOT - } - } - } - 188 = { add_core_of = ROOT } - } - - hidden_effect = { - set_global_flag = reintigrated_east_prussia_flag - } - } - - ai_will_do = { - base = 2000 - } - } - - reintegrate_silesia = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - } - - visible = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - - NOT = { - AND = { - 66 = { - is_core_of = ROOT - } - 67 = { - is_core_of = ROOT - } - 762 = { - is_core_of = ROOT - } - } - } - - has_global_flag = germany_reformed_flag - NOT = { has_global_flag = reintigrated_silesia_flag } - - } - - available = { - - 66 = { - is_fully_controlled_by = ROOT - } - - 67 = { - is_fully_controlled_by = ROOT - } - - 762 = { - is_fully_controlled_by = ROOT - } - - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 66 - state = 67 - state = 762 - } - } - - cost = 50 - - complete_effect = { - - # Lower Silesia - IF = { - limit = { - NOT = { - 66 = { - is_core_of = ROOT - } - } - } - 66 = { add_core_of = ROOT } - } - - # Upper Silesia - IF = { - limit = { - NOT = { - 67 = { - is_core_of = ROOT - } - } - } - 67 = { add_core_of = ROOT } - } - - # Katowice - IF = { - limit = { - NOT = { - 762 = { - is_core_of = ROOT - } - } - } - 762 = { add_core_of = ROOT } - } - - hidden_effect = { - 762 = { set_state_name = 762_german_name } - set_province_name = { id = 6464 name = province_6464_german_name } - - set_global_flag = reintigrated_silesia_flag - } - } - - ai_will_do = { - base = 2000 - } - } - - reintegrate_posen_west_prussia = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - } - - visible = { - OR = { - original_tag = PRE # Prussia - original_tag = MEK # Mecklenburg - original_tag = VGE # Volga Germany - original_tag = SHL # Schleswig-Holstein - original_tag = HAN # Hannover - original_tag = HES # Hesse - original_tag = RHI # Rhineland - original_tag = WUR # Wurtemmburg - original_tag = BAY # Bavaria - original_tag = THU # Thuringia - original_tag = SAX # Saxony - original_tag = LUX # Luxembourg - original_tag = DNZ # Danzig - original_tag = WGR # West Germany - original_tag = DDR # East Germany - original_tag = UBD # United Baltic Duchy - } - - NOT = { - AND = { - 68 = { - is_core_of = ROOT - } - 63 = { - is_core_of = ROOT - } - 86 = { - is_core_of = ROOT - } - 807 = { - is_core_of = ROOT - } - 85 = { - is_core_of = ROOT - } - } - } - - has_global_flag = germany_reformed_flag - NOT = { has_global_flag = reintigrated_posen_west_prussia_flag } - - } - - available = { - - 68 = { - is_fully_controlled_by = ROOT - } - - 63 = { - is_fully_controlled_by = ROOT - } - - 86 = { - is_fully_controlled_by = ROOT - } - - 807 = { - is_fully_controlled_by = ROOT - } - - 85 = { - is_fully_controlled_by = ROOT - } - - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 68 - state = 63 - state = 86 - state = 807 - state = 85 - } - } - - cost = 75 - - complete_effect = { - - # Posen - IF = { - limit = { - NOT = { - 86 = { - is_core_of = ROOT - } - } - } - 86 = { add_core_of = ROOT } - } - - # Ostmark - IF = { - limit = { - NOT = { - 68 = { - is_core_of = ROOT - } - } - } - 68 = { add_core_of = ROOT } - } - - # Hinterpommern - IF = { - limit = { - NOT = { - 63 = { - is_core_of = ROOT - } - } - } - 63 = { add_core_of = ROOT } - } - - # Gdynia - IF = { - limit = { - NOT = { - 807 = { - is_core_of = ROOT - } - } - } - 807 = { add_core_of = ROOT } - } - - # Danzig - IF = { - limit = { - NOT = { - 85 = { - is_core_of = ROOT - } - } - } - 85 = { add_core_of = ROOT } - } - - hidden_effect = { - 807 = { set_state_name = 807_german_name } - 86 = { set_state_name = 86_german_name } - set_province_name = { id = 9263 name = province_9263_german_name } - set_province_name = { id = 3295 name = province_3295_german_name } - set_province_name = { id = 6558 name = province_6558_german_name } - - set_global_flag = reintigrated_posen_west_prussia_flag - } - } - - ai_will_do = { - base = 2000 - } - } - - -} - - -neo_assyrian_empire_category = { - - neo_assyrian_empire_decision = { - - icon = generic_form_nation - - allowed = { - original_tag = ASY # Assyria - } - - visible = { - original_tag = ASY # Assyria - - - NOT = { has_global_flag = neo_assyria_formed_flag } - - } - - available = { - - 676 = { - is_controlled_by = ROOT - } - - 291 = { - is_controlled_by = ROOT - } - - 1010 = { - is_controlled_by = ROOT - } - - 675 = { - is_controlled_by = ROOT - } - - 1011 = { - is_controlled_by = ROOT - } - - 656 = { - is_controlled_by = ROOT - } - - 680 = { - is_controlled_by = ROOT - } - - 554 = { - is_controlled_by = ROOT - } - - 677 = { - is_controlled_by = ROOT - } - - 799 = { - is_controlled_by = ROOT - } - - 553 = { - is_controlled_by = ROOT - } - - 344 = { - is_controlled_by = ROOT - } - - 350 = { - is_controlled_by = ROOT - } - - 454 = { - is_controlled_by = ROOT - } - - 455 = { - is_controlled_by = ROOT - } - - 453 = { - is_controlled_by = ROOT - } - - 446 = { - is_controlled_by = ROOT - } - - 907 = { - is_controlled_by = ROOT - } - - 447 = { - is_controlled_by = ROOT - } - - 348 = { - is_controlled_by = ROOT - } - - 345 = { - is_controlled_by = ROOT - } - - - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 676 - state = 291 - state = 1010 - state = 675 - state = 1011 - state = 656 - state = 680 - state = 554 - state = 677 - state = 799 - state = 553 - state = 344 - state = 350 - state = 454 - state = 455 - state = 453 - state = 446 - state = 907 - state = 447 - state = 348 - state = 345 - } - } - - complete_effect = { - hidden_effect = { - drop_cosmetic_tag = yes - } - set_cosmetic_tag = ASY_neo_assyrian_empire - - custom_effect_tooltip = generic_skip_one_line_tt - - add_state_core = 676 - add_state_core = 291 - add_state_core = 1010 - add_state_core = 675 - add_state_core = 1011 - add_state_core = 656 - add_state_core = 680 - add_state_core = 554 - add_state_core = 677 - add_state_core = 799 - add_state_core = 553 - add_state_core = 344 - add_state_core = 350 - add_state_core = 454 - add_state_core = 455 - add_state_core = 453 - add_state_core = 446 - add_state_core = 907 - add_state_core = 447 - add_state_core = 348 - add_state_core = 345 - - hidden_effect = { - set_global_flag = neo_assyria_formed_flag - } - } - - ai_will_do = { - base = 2000 - } - } -} - -neo_mesopotamia_category = { - - neo_mesopotamia_decision = { - - icon = generic_form_nation - - allowed = { - OR = { - original_tag = KUR #Kurdistan - original_tag = IRQ # Iraq, can release ASY, and release and form KUR - original_tag = SYR - original_tag = PAL - original_tag = EGY - original_tag = KUW - original_tag = LEB - } - - } - - visible = { - OR = { - original_tag = KUR #Kurdistan - original_tag = SYR - original_tag = PAL - original_tag = EGY - original_tag = KUW - original_tag = LEB - any_country = { #Anyone who can form Kurdistan - original_tag = IRQ - OR = { - has_country_leader = { - ruling_only = yes - character = IRQ_ahmed_barzani - } - has_country_leader = { - ruling_only = yes - character = IRQ_mustafa_barzani - } - } - } - } - - - NOT = { has_global_flag = neo_mesopotamia_formed_flag } - - } - - on_map_mode = decision_view_only - - ai_will_do = { - base = 2000 - } - - available = { - 413 = { - is_fully_controlled_by = ROOT - } - 421 = { - is_fully_controlled_by = ROOT - } - 1001 = { - is_fully_controlled_by = ROOT - } - 676 = { - is_fully_controlled_by = ROOT - } - 291 = { - is_fully_controlled_by = ROOT - } - 1011 = { - is_fully_controlled_by = ROOT - } - 656 = { - is_fully_controlled_by = ROOT - } - 675 = { - is_fully_controlled_by = ROOT - } - 1010 = { - is_fully_controlled_by = ROOT - } - 680 = { - is_fully_controlled_by = ROOT - } - 677 = { - is_fully_controlled_by = ROOT - } - 799 = { - is_fully_controlled_by = ROOT - } - 350 = { - is_fully_controlled_by = ROOT - } - 344 = { - is_fully_controlled_by = ROOT - } - 183 = { - is_fully_controlled_by = ROOT - } - 554 = { - is_fully_controlled_by = ROOT - } - 553 = { - is_fully_controlled_by = ROOT - } - 454 = { - is_fully_controlled_by = ROOT - } - 453 = { - is_fully_controlled_by = ROOT - } - 446 = { - is_fully_controlled_by = ROOT - } - 907 = { - is_fully_controlled_by = ROOT - } - 447 = { - is_fully_controlled_by = ROOT - } - } - - highlight_states = { - highlight_state_targets = { - state = 413 - state = 421 - state = 1001 - state = 676 - state = 291 - state = 1011 - state = 656 - state = 675 - state = 1010 - state = 680 - state = 677 - state = 799 - state = 350 - state = 344 - state = 183 - state = 554 - state = 553 - state = 454 - state = 453 - state = 446 - state = 907 - state = 447 - } - } - - complete_effect = { - hidden_effect = { - drop_cosmetic_tag = yes - } - - set_cosmetic_tag = neo_mesopotamia - - custom_effect_tooltip = generic_skip_one_line_tt - - add_state_core = 413 - add_state_core = 421 - add_state_core = 1001 - add_state_core = 676 - add_state_core = 291 - add_state_core = 1011 - add_state_core = 656 - add_state_core = 675 - add_state_core = 1010 - add_state_core = 680 - add_state_core = 677 - add_state_core = 799 - add_state_core = 350 - add_state_core = 344 - add_state_core = 183 - add_state_core = 554 - add_state_core = 553 - add_state_core = 454 - add_state_core = 453 - add_state_core = 446 - add_state_core = 907 - add_state_core = 447 - - hidden_effect = { - set_global_flag = neo_mesopotamia_formed_flag - } - } - } -} - -greater_mongolia_category = { - - unite_greater_mongolia = { - - icon = generic_form_nation - - allowed = { - } - - visible = { - NOT = { has_global_flag = greater_mongolia_formed_flag } - } - - available = { - - controls_state = 818 - controls_state = 817 - controls_state = 330 - controls_state = 820 - controls_state = 819 - controls_state = 564 - controls_state = 329 - controls_state = 654 - controls_state = 760 - controls_state = 756 - controls_state = 621 - controls_state = 746 - controls_state = 612 - controls_state = 611 - controls_state = 761 - controls_state = 563 - controls_state = 566 - controls_state = 616 - controls_state = 1043 - controls_state = 1040 - - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 818 - state = 817 - state = 330 - state = 820 - state = 819 - state = 564 - state = 329 - state = 654 - state = 760 - state = 756 - state = 621 - state = 746 - state = 612 - state = 611 - state = 761 - state = 563 - state = 566 - state = 616 - state = 1043 - state = 1040 - } - } - - complete_effect = { - hidden_effect = { - drop_cosmetic_tag = yes - } - set_cosmetic_tag = greater_mongolia - - custom_effect_tooltip = generic_skip_one_line_tt - - add_state_core = 818 - add_state_core = 817 - add_state_core = 330 - add_state_core = 820 - add_state_core = 819 - add_state_core = 564 - add_state_core = 329 - add_state_core = 654 - add_state_core = 760 - add_state_core = 756 - add_state_core = 621 - add_state_core = 746 - add_state_core = 612 - add_state_core = 611 - add_state_core = 761 - add_state_core = 563 - add_state_core = 566 - add_state_core = 616 - add_state_core = 1043 - add_state_core = 1040 - - hidden_effect = { - - set_global_flag = greater_mongolia_formed_flag - - } - } - - ai_will_do = { - base = 2000 - } - } -} - -greater_hui_state_category = { - - unite_hui_states = { - - icon = generic_form_nation - - allowed = { - } - - visible = { - NOT = { has_global_flag = greater_ma_state_formed_flag } - } - - available = { - - controls_state = 756 - controls_state = 616 - #controls_state = 283 - #controls_state = 753 - controls_state = 754 - controls_state = 755 - controls_state = 604 - controls_state = 759 - #controls_state = 287 - #controls_state = 619 - controls_state = 1042 - controls_state = 1040 - controls_state = 1044 - #controls_state = 1045 - - } - - on_map_mode = decision_view_only - - highlight_states = { - highlight_state_targets = { - state = 756 - state = 616 - #state = 283 - #state = 753 - state = 754 - state = 755 - state = 604 - state = 759 - state = 287 - #state = 619 - state = 1042 - state = 1040 - state = 1044 - #state = 1045 - } - } - - complete_effect = { - hidden_effect = { - drop_cosmetic_tag = yes - } - set_cosmetic_tag = united_ma_clique_tag - - custom_effect_tooltip = generic_skip_one_line_tt - - add_state_core = 756 - add_state_core = 616 - add_state_core = 283 - add_state_core = 753 - add_state_core = 754 - add_state_core = 755 - add_state_core = 604 - add_state_core = 759 - add_state_core = 287 - add_state_core = 619 - add_state_core = 1042 - add_state_core = 1040 - add_state_core = 1044 - add_state_core = 1045 - - hidden_effect = { - set_global_flag = greater_ma_state_formed_flag - } - } - - ai_will_do = { - base = 2000 - } - } -} diff --git a/src/common/decisions/tianjiang_aizuobi_decisions.txt b/src/common/decisions/tianjiang_aizuobi_decisions.txt index da7b6bd..e733937 100755 --- a/src/common/decisions/tianjiang_aizuobi_decisions.txt +++ b/src/common/decisions/tianjiang_aizuobi_decisions.txt @@ -1665,15 +1665,6 @@ tianjiang_aizuobi = { set_technology = { armor_tech_2 = 1 } - set_technology = { - antitank1 = 1 - } - set_technology = { - antitank2 = 1 - } - set_technology = { - antitank3 = 1 - } set_technology = { amphibious_mechanized_infantry = 1 } diff --git a/src/common/decisions/tianjiang_decision.txt b/src/common/decisions/tianjiang_decision.txt index 2675221..f7b316f 100755 --- a/src/common/decisions/tianjiang_decision.txt +++ b/src/common/decisions/tianjiang_decision.txt @@ -8063,6 +8063,10 @@ YUW_fuyyongjueyi = { add_core_of = YUW remove_core_of = BEL } + 980 = { + add_core_of = YUW + remove_core_of = BEL + } release_on_controlled = HOL release_on_controlled = AUS release_on_controlled = HUN @@ -8091,6 +8095,7 @@ YUW_fuyyongjueyi = { BEL = { set_cosmetic_tag = FLDS add_state_claim = 34 + add_state_claim = 980 } } } @@ -15675,9 +15680,20 @@ AZ_chaowu_jyz = { visible = { is_debug = yes } + complete_effect = { - #set_country_flag = az_lizijianongpao_on + #set_country_flag = az_beilunyinqing_on #clr_country_flag = BYG_lizipao_lengquezhong + #every_state = { + # limit = { + # not = { is_core_of = YUW } + # is_owned_and_controlled_by = YUW + # } + # add_dynamic_modifier = { + # modifier = YUW_sesefushi_state + # scope = YUW + # } + #} } } @@ -15720,10 +15736,10 @@ AZ_meizhoutiaozhan_jyz = { not = { has_global_flag = modoption_fengkuangai_on } } custom_trigger_tooltip = { - tooltip = "完美达成过本次每周挑战目标" + tooltip = "完美达成过本次每月挑战目标" has_completed_custom_achievement = { mod = az_achievements - achievement = az_meizhoutiaozhan_cj + achievement = az_meizhoutiaozhan_cj2 } } custom_trigger_tooltip = { @@ -15747,7 +15763,8 @@ AZ_meizhoutiaozhan_jyz = { not = { has_global_flag = az_meizhoutiaozhan_action } } available = { - tag = BFL + tag = YUW + is_historical_focus_on = no custom_trigger_tooltip = { tooltip = az_aikongzhiqitaguojia all_other_country = { @@ -15759,7 +15776,8 @@ AZ_meizhoutiaozhan_jyz = { complete_effect = { #activate_mission = AZ_meizhoutiaozhan_jy_wanmei_time #activate_mission = AZ_meizhoutiaozhan_jy_dacheng_time - set_global_flag = az_meizhoutiaozhan_BFL + #set_global_flag = az_meizhoutiaozhan_BFL + set_global_flag = az_meizhoutiaozhan_YUW set_global_flag = az_meizhoutiaozhan_action add_ideas = AZ_mztz_playerbuff } @@ -15884,7 +15902,7 @@ AZ_meizhoutiaozhan_jyz = { } days_mission_timeout = 2190 complete_effect = { - set_global_flag = az_meizhoutiaozhan_cj_get + set_global_flag = az_meizhoutiaozhan_cj_get2 custom_effect_tooltip = get_zs_shuliang_2500 add_to_variable = { var = zs_sl @@ -16007,4 +16025,54 @@ AZ_meizhoutiaozhan_jyz = { } } } + AZ_meizhoutiaozhan_jy_YUW_misson = { + icon = generic_scorched_earth + cost = 0 + visible = { + is_ai = no + has_global_flag = az_meizhoutiaozhan_YUW + } + fire_only_once = yes + available = { + has_completed_focus = YUW_buyetinghaodemang + all_state = { + owner = { + OR = { + tag = YUW + is_ally_with = YUW + } + } + OR = { + is_core_of = YUW + owner = { + is_ally_with = YUW + not = { tag = YUW } + } + has_dynamic_modifier = { + modifier = YUW_sesefushi_state + scope = YUW + } + } + } + } + complete_effect = { + if = { + limit = { + date < 1945.1.1 + } + set_global_flag = az_meizhoutiaozhan_cj_get2 + custom_effect_tooltip = get_zs_shuliang_10000 + add_to_variable = { + var = zs_sl + value = 10000 + } + }else = { + custom_effect_tooltip = get_zs_shuliang_7500 + add_to_variable = { + var = zs_sl + value = 7500 + } + } + } + } } \ No newline at end of file diff --git a/src/common/decisions/xiaomaipu_decisions.txt b/src/common/decisions/xiaomaipu_decisions.txt index 570f5b6..05d145d 100755 --- a/src/common/decisions/xiaomaipu_decisions.txt +++ b/src/common/decisions/xiaomaipu_decisions.txt @@ -447,7 +447,7 @@ xiaomaipu_category = { } days_remove = 200 ai_will_do = { - factor = 1000 + factor = 5 } modifier = { civilian_factory_use = 10 @@ -469,14 +469,6 @@ xiaomaipu_category = { } ai_will_do = { factor = 0 - modifier = { - OR = { - tag = HUJ - tag = BYG - tag = CHY - } - add = 3 - } } days_remove = 90 available = { @@ -527,31 +519,7 @@ xiaomaipu_category = { is_ai = yes } ai_will_do = { - factor = 5 - modifier = { - AND = { - date < 1942.1.1 - OR = { - tag = TIX - tag = BFL - tag = DOH - tag = YUW - } - } - factor = 0 - } - modifier = { - AND = { - date > 1939.1.1 - OR = { - tag = HUJ - tag = CHY - tag = SAD - tag = BYG - } - } - factor = 0 - } + factor = 0 } days_remove = 120 available = { @@ -596,16 +564,7 @@ xiaomaipu_category = { army_college_lujunzhanshukeyan = { icon = shu ai_will_do = { - factor = 5 - modifier = { - OR = { - tag = TIX - tag = BFL - tag = DOH - tag = YUW - } - add = 5 - } + factor = 0 } days_remove = 90 available = { diff --git a/src/common/decisions/xingdong_decisions.txt b/src/common/decisions/xingdong_decisions.txt index aaed323..7c9354d 100755 --- a/src/common/decisions/xingdong_decisions.txt +++ b/src/common/decisions/xingdong_decisions.txt @@ -1246,7 +1246,7 @@ xingdong_category = { days_remove = 60 ai_will_do = { - factor = 5 + factor = 0 } fixed_random_seed = no complete_effect = { @@ -1716,7 +1716,7 @@ xingdong_category = { days_remove = 7 cost = 25 ai_will_do = { - base = 10 + base = 0 } remove_effect = { guojishengyu_up_1 = yes @@ -1734,7 +1734,7 @@ xingdong_category = { days_remove = 7 cost = 25 ai_will_do = { - base = 10 + base = 0 } remove_effect = { add_research_slot = 1 @@ -2300,12 +2300,12 @@ xingdong_category = { visible = { } - days_remove = 120 + days_remove = 180 modifier = { - mass_assault_mastery_gain_factor = 1 - grand_battleplan_mastery_gain_factor = 1 - superior_firepower_mastery_gain_factor = 1 - new_mobile_warfare_mastery_gain_factor = 1 + mass_assault_mastery_gain_factor = 5 + grand_battleplan_mastery_gain_factor = 5 + superior_firepower_mastery_gain_factor = 5 + new_mobile_warfare_mastery_gain_factor = 5 } custom_cost_trigger = { check_variable = { diff --git a/src/common/defines/az_defines.lua b/src/common/defines/az_defines.lua index d1d17c9..ae398e4 100755 --- a/src/common/defines/az_defines.lua +++ b/src/common/defines/az_defines.lua @@ -39,7 +39,7 @@ NDefines.NAI.ASSIGN_TANKS_TO_NON_WAR_FRONT = -12 --将坦克师分配到 NDefines.NAI.PLAN_ACTIVATION_SUPERIORITY_AGGRO = 1.6 --这个数值越大AI执行计划越谨慎 NDefines.NAI.MIN_PLAN_VALUE_TO_MICRO_INACTIVE = 0.8 --AI将不考虑计划未被激活并且评估低于此数值的计划 NDefines.NAI.ATTACK_HEAVILY_DEFENDED_LIMIT = 2.1 --AI不会对防御严密的战线发动攻击,除非他们认为自己拥有这种优势(1.0=100%) -NDefines.NAI.RESEARCH_BONUS_FACTOR = 5.0 -- AI会优先研发有科技加成的科技 +NDefines.NAI.RESEARCH_BONUS_FACTOR = 100.0 -- AI会优先研发有科技加成的科技 NDefines.NMilitary.FIELD_EXPERIENCE_MAX_PER_DAY = 3.0 -- 你每天可以获得的最多xp NDefines.NGame.GAME_SPEED_SECONDS = { 1.0, 0.2, 0.1, 0.05, 0.0 } --提速,必须是5的倍数 NDefines.NCountry.SPECIAL_FORCES_CAP_BASE = 0.1 --特种部队基础上限 diff --git a/src/common/doctrines/subdoctrines/land/combat_support_subdoctrines.txt b/src/common/doctrines/subdoctrines/land/combat_support_subdoctrines.txt index d0c3e74..d0c0bfa 100755 --- a/src/common/doctrines/subdoctrines/land/combat_support_subdoctrines.txt +++ b/src/common/doctrines/subdoctrines/land/combat_support_subdoctrines.txt @@ -566,11 +566,11 @@ mobile_recon_and_assault = { base = 1 modifier = { factor = 75 - original_tag = TIX + original_tag = GER } modifier = { factor = 75 - original_tag = BYG + original_tag = USA } modifier = { factor = 0 @@ -665,11 +665,11 @@ mobile_recon_and_assault_no_lar = { base = 1 modifier = { factor = 75 - original_tag = TIX + original_tag = GER } modifier = { factor = 75 - original_tag = BYG + original_tag = USA } modifier = { factor = 0 @@ -806,7 +806,7 @@ self_propelled_support = { category_self_propelled_artillery = { maximum_speed = 0.3 } - category_self_propelled_anti_air= { + category_self_propelled_anti_air = { maximum_speed = 0.3 } category_tank_destroyers = { @@ -817,7 +817,7 @@ self_propelled_support = { category_self_propelled_artillery = { hard_attack = 0.05 } - category_self_propelled_anti_air= { + category_self_propelled_anti_air = { soft_attack = 0.1 hard_attack = 0.05 } @@ -830,12 +830,13 @@ self_propelled_support = { max_organisation = 10 default_morale = 0.4 } - category_self_propelled_anti_air= { + category_self_propelled_anti_air = { max_organisation = 10 default_morale = 0.4 } category_tank_destroyers = { max_organisation = 10 + hard_attack = 0.15 default_morale = 0.4 } } @@ -988,11 +989,11 @@ field_engineering = { base = 1 modifier = { factor = 75 - original_tag = SAD + original_tag = ITA } modifier = { factor = 75 - original_tag = CHY + original_tag = JAP } } @@ -1020,14 +1021,14 @@ field_engineering = { movement = 0.2 } } - #TODO_JBE: replace with category of engineers + rewards = { rapid_fire_lane_clearance = { engineer = { max_organisation = 5 battalion_mult = { category = category_all_infantry - entrenchment = 0.01 + entrenchment = 0.02 } } maintenance_company = { @@ -1051,6 +1052,10 @@ field_engineering = { soft_attack = 0.1 defense = 0.1 } + battalion_mult = { + category = category_all_infantry + soft_attack = 0.05 + } } } smoke_projector_training = { diff --git a/src/common/doctrines/subdoctrines/land/operations_subdoctrines.txt b/src/common/doctrines/subdoctrines/land/operations_subdoctrines.txt index 14047d6..99f3578 100755 --- a/src/common/doctrines/subdoctrines/land/operations_subdoctrines.txt +++ b/src/common/doctrines/subdoctrines/land/operations_subdoctrines.txt @@ -596,6 +596,8 @@ last_stand_AZ = { } ##################################以下为原版################################### + + mission_type_tactics = { track = operations name = SUBDOCTRINE_MISSION_TYPE_TACTICS @@ -610,7 +612,7 @@ mission_type_tactics = { base = 1 modifier = { factor = 50 - original_tag = TIX + original_tag = GER } modifier = { @@ -679,7 +681,6 @@ last_stand = { name = SUBDOCTRINE_LAST_STAND description = SUBDOCTRINE_LAST_STAND_DESC icon = GFX_doctrine_last_stand_medium - #TODO: Add trigger tag for surrender progress xp_cost = 100 xp_type = army @@ -716,7 +717,7 @@ last_stand = { } stocking_up = { #4 - no_supply_grace = 72 # more hours before supply penalty changes + no_supply_grace = 72 } breaking_out = { #5 @@ -744,7 +745,7 @@ infiltration_tactics = { base = 1 modifier = { factor = 50 - original_tag = CHY + original_tag = JAP } } @@ -848,9 +849,9 @@ grand_assault = { modifier = { factor = 50 OR = { - original_tag = HUJ - original_tag = YUW - original_tag = SAD + original_tag = ENG + original_tag = FRA + original_tag = ITA } } @@ -946,7 +947,7 @@ deep_battle = { base = 1 modifier = { factor = 50 - original_tag = BFL + original_tag = SOV } modifier = { @@ -1073,7 +1074,7 @@ deep_battle_no_lar = { base = 1 modifier = { factor = 50 - original_tag = BFL + original_tag = SOV } modifier = { @@ -1313,7 +1314,7 @@ rapid_domination = { base = 1 modifier = { factor = 50 - original_tag = BYG + original_tag = USA } modifier = { @@ -1401,7 +1402,7 @@ expeditionary_warfare = { name = SUBDOCTRINE_EXPEDITIONARY_WARFARE description = SUBDOCTRINE_EXPEDITIONARY_WARFARE_DESC icon = GFX_doctrine_expeditionary_warfare_medium - #TODO: Add trigger tag for surrender progress + xp_cost = 100 xp_type = army diff --git a/src/common/doctrines/tracks/air_doctrine_track.txt b/src/common/doctrines/tracks/air_doctrine_track.txt new file mode 100755 index 0000000..fef04d4 --- /dev/null +++ b/src/common/doctrines/tracks/air_doctrine_track.txt @@ -0,0 +1,62 @@ + +fighter_aircraft = { + name = DOCTRINE_TRACK_FIGHTER_AIRCRAFT + background = "GFX_air_superiority_bg" + icon = "GFX_doctrine_milestone_fighter_air" + icon_frame = "GFX_doctrine_decor_air" + mastery = { + multiplier = 8.0 + equipment = { + fighter + interceptor + jizaijianniang_fighter + } + } +} + +strike_aircraft = { + name = DOCTRINE_TRACK_STRIKE_AIRCRAFT + background = "GFX_battlefield_destruction_bg" + icon = "GFX_doctrine_milestone_striker_air" + icon_frame = "GFX_doctrine_decor_air" + mastery = { + multiplier = 8.0 + equipment = { + cas + naval_bomber + suicide + jizaijianniang_fighter + } + } +} + +medium_aircraft = { + name = DOCTRINE_TRACK_MEDIUM_AIRCRAFT + background = "GFX_operational_destruction_bg" + icon = "GFX_doctrine_milestone_medium_air" + icon_frame = "GFX_doctrine_decor_air" + mastery = { + multiplier = 8.0 + equipment = { + tactical_bomber + heavy_fighter + scout_plane + jizaijianniang_fighter + } + } +} + +heavy_aircraft = { + name = DOCTRINE_TRACK_HEAVY_AIRCRAFT + background = "GFX_strategic_destruction_bg" + icon = "GFX_doctrine_milestone_heavy_air" + icon_frame = "GFX_doctrine_decor_air" + mastery = { + multiplier = 8.0 + equipment = { + strategic_bomber + maritime_patrol_plane + jizaijianniang_fighter + } + } +} diff --git a/src/common/factions/goals/faction_goals_long_term.txt b/src/common/factions/goals/faction_goals_long_term.txt index 9c6788f..9b1bdd6 100755 --- a/src/common/factions/goals/faction_goals_long_term.txt +++ b/src/common/factions/goals/faction_goals_long_term.txt @@ -185,8 +185,8 @@ faction_goal_secure_chinese_waters = { operators = { limit = { OR = { - controller = { is_in_faction_with = JAP } - is_controlled_by = JAP + controller = { is_in_faction_with = CHY } + is_controlled_by = CHY } } } @@ -211,7 +211,7 @@ faction_goal_no_japanese_in_china = { FROM = { is_literally_china = yes any_enemy_country = { - original_tag = JAP + original_tag = CHY } } @@ -223,8 +223,8 @@ faction_goal_no_japanese_in_china = { operators = { limit = { OR = { - controller = { is_in_faction_with = JAP } - is_controlled_by = JAP + controller = { is_in_faction_with = CHY } + is_controlled_by = CHY } } } @@ -235,6 +235,10 @@ faction_goal_no_japanese_in_china = { } complete_effect = { add_faction_power_projection = 100 + custom_effect_tooltip = generic_skip_one_line_tt + custom_effect_tooltip = THE_FACTION_LEADER + add_faction_initiative = 1 + custom_effect_tooltip = generic_skip_one_line_tt every_collection_element = { input = { input = game:scope @@ -246,8 +250,11 @@ faction_goal_no_japanese_in_china = { } name = INFLUENCE_ABOVE_30_PERCENT } - add_faction_influence_ratio = 0.1 + add_faction_influence_ratio = 0.2 add_faction_initiative = 1 + add_political_power = 100 + army_experience = 100 + add_manpower = 100000 } } ai_will_do = { @@ -271,7 +278,7 @@ faction_goal_align_china = { group = FOCUS_FILTER_ANNEXATION visible = { FROM = { - original_tag = JAP + original_tag = CHY } } completed = { @@ -291,8 +298,15 @@ faction_goal_align_china = { } } complete_effect = { - add_faction_power_projection = 300 + custom_effect_tooltip = generic_skip_one_line_tt + custom_effect_tooltip = THE_FACTION_LEADER + add_faction_initiative = 1 + add_popularity = { + ideology = ROOT + popularity = 0.1 + } + custom_effect_tooltip = generic_skip_one_line_tt every_collection_element = { input = { input = game:scope @@ -307,6 +321,7 @@ faction_goal_align_china = { } custom_effect_tooltip = INFLUENCE_ABOVE_30_PERCENT add_faction_initiative = 1 + add_political_power = 100 } } ai_will_do = { @@ -328,7 +343,7 @@ faction_goal_war_on_communism_in_asia = { } visible = { FROM = { - original_tag = JAP + original_tag = CHY has_completed_focus = JAP_the_great_spiritual_evil } } @@ -393,7 +408,7 @@ faction_goal_contain_japanese_expansion_asia = { } visible = { FROM = { - original_tag = USA + original_tag = BYG has_country_flag = USA_unlock_contain_japanese_goal } date > 1940.1.1 @@ -406,7 +421,7 @@ faction_goal_contain_japanese_expansion_asia = { } } completed = { - JAP = { + CHY = { IF = { limit = { is_in_faction = no @@ -463,7 +478,7 @@ faction_goal_contain_japanese_expansion_asia = { modifier = { add = 10 # Really do it when at war any_enemy_country = { - original_tag = JAP + original_tag = CHY } } } @@ -483,12 +498,24 @@ faction_goal_eastern_european_security = { category = long_term group = FOCUS_FILTER_POLITICAL_CHARACTER visible = { - FROM = { original_tag = SOV } + FROM = { original_tag = BFL } } completed = { count_triggers = { - amount = 6 + amount = 6 + EST = { + is_subject_of = ROOT + is_in_faction_with = ROOT + } + LAT = { + is_subject_of = ROOT + is_in_faction_with = ROOT + } + LIT = { + is_subject_of = ROOT + is_in_faction_with = ROOT + } POL = { is_subject_of = ROOT is_in_faction_with = ROOT @@ -505,6 +532,10 @@ faction_goal_eastern_european_security = { is_subject_of = ROOT is_in_faction_with = ROOT } + SLO = { + is_subject_of = ROOT + is_in_faction_with = ROOT + } BUL = { is_subject_of = ROOT is_in_faction_with = ROOT @@ -517,6 +548,10 @@ faction_goal_eastern_european_security = { is_subject_of = ROOT is_in_faction_with = ROOT } + ALB = { + is_subject_of = ROOT + is_in_faction_with = ROOT + } TUR = { is_subject_of = ROOT is_in_faction_with = ROOT @@ -540,9 +575,9 @@ faction_goal_eastern_european_security = { date > 1938.1.1 } modifier = { - add = 9 # SOV should always prio this + add = 9 # BFL should always prio this date > 1938.1.1 - original_tag = SOV + original_tag = BFL } } } @@ -562,18 +597,18 @@ faction_goal_eliminate_the_twin_threats = { visible = { FROM = { original_tag = POL - NOT = { is_in_faction_with = SOV } - NOT = { is_in_faction_with = GER } + NOT = { is_in_faction_with = BFL } + NOT = { is_in_faction_with = TIX } } } completed = { - SOV = { + BFL = { OR = { exists = no is_in_faction_with = ROOT } } - GER = { + TIX = { OR = { exists = no is_in_faction_with = ROOT @@ -610,14 +645,14 @@ faction_goal_disarm_aggression_central_powers = { visible = { FROM = { OR = { - original_tag = FRA + original_tag = YUW original_tag = CZE } has_government = democratic } OR = { any_country_with_original_tag = { - original_tag_to_check = GER + original_tag_to_check = TIX NOT = { has_government = democratic } } any_country_with_original_tag = { @@ -637,10 +672,10 @@ faction_goal_disarm_aggression_central_powers = { completed = { OR = { any_country_with_original_tag = { - original_tag_to_check = GER + original_tag_to_check = TIX has_government = democratic } - GER = { exists = no } + TIX = { exists = no } } OR = { any_country_with_original_tag = { @@ -701,7 +736,7 @@ faction_goal_rule_the_waves = { visible = { FROM = { OR = { - original_tag = ENG # Britannia always wants to Rule! + original_tag = HUJ # Britannia always wants to Rule! num_of_naval_factories > 19 } } @@ -784,9 +819,9 @@ faction_goal_rule_the_waves = { modifier = { add = 10 # These boys always want to give it a shot OR = { - original_tag = ENG - original_tag = USA - original_tag = JAP + original_tag = HUJ + original_tag = BYG + original_tag = CHY } is_historical_focus_on = yes } @@ -839,7 +874,7 @@ faction_goal_strategic_bombing_campaign = { operators = { faction_members limit = { - has_army_size = { + has_deployed_air_force_size = { size > 49 type = strategic_bomber } @@ -1330,7 +1365,7 @@ faction_goal_defeat_of_anti_fascists = { faction_members limit = { OR = { - has_government = fascism + has_government = communism has_government = democratic } } @@ -1436,7 +1471,7 @@ faction_goal_defeat_of_anti_communists = { modifier = { add = 1 # If war with communists you probably hate them any_enemy_country = { - has_government = communism + has_government = fascism } } } @@ -1465,7 +1500,7 @@ faction_goal_the_red_tide = { name = FACTION_NAME } manpower = yes - size > 10000000 + size > 3000000 } } complete_effect = { @@ -1474,14 +1509,16 @@ faction_goal_the_red_tide = { custom_effect_tooltip = HAS_DEPLOYED_AT_LEAST_5M_MANPOWER every_faction_member = { limit = { - check_variable = { deployed_army_manpower_k > 5000 } + check_variable = { deployed_army_manpower_k > 500 } } hidden_effect = { + add_faction_initiative = 1 add_faction_influence_ratio = 0.05 army_experience = 50 } } effect_tooltip = { + add_faction_initiative = 1 add_faction_influence_ratio = 0.05 army_experience = 50 } diff --git a/src/common/factions/goals/faction_goals_medium_term.txt b/src/common/factions/goals/faction_goals_medium_term.txt index 93a2e61..9042c90 100755 --- a/src/common/factions/goals/faction_goals_medium_term.txt +++ b/src/common/factions/goals/faction_goals_medium_term.txt @@ -552,7 +552,7 @@ faction_goal_control_the_chinese_coast = { } } complete_effect = { - add_faction_power_projection = 100 + add_faction_power_projection = 200 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = THE_FACTION_LEADER add_faction_initiative = 1 @@ -567,8 +567,47 @@ faction_goal_control_the_chinese_coast = { name = ALL_FACTION_MEMBERS } custom_effect_tooltip = ALL_FACTION_MEMBERS - army_experience = 50 + army_experience = 50 add_war_support = 0.05 + add_stability = 0.05 + } + every_collection_element = { + input = { + input = game:scope + operators = { + faction_members + } + + name = ALL_FACTION_MEMBERS + } + custom_effect_tooltip = ALL_FACTION_MEMBERS + army_experience = 50 + add_war_support = 0.1 + add_stability = 0.05 + } + every_state = { + limit = { + OR = { + state = 1033 + state = 592 + state = 593 + state = 595 + state = 596 + state = 613 + state = 1034 + state = 598 + state = 597 + } + } + add_building_construction = { + type = coastal_bunker + level = 2 + instant_build = yes + province = { + all_provinces = yes + limit_to_naval_base = yes + } + } } } ai_will_do = { @@ -804,6 +843,7 @@ faction_goal_control_the_chinese_capitals = { custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = THE_FACTION_LEADER add_faction_initiative = 1 + custom_effect_tooltip = generic_skip_one_line_tt every_collection_element = { input = { input = game:scope @@ -814,7 +854,9 @@ faction_goal_control_the_chinese_capitals = { name = ALL_FACTION_MEMBERS } custom_effect_tooltip = ALL_FACTION_MEMBERS - army_experience = 50 + army_experience = 50 + air_experience = 25 + navy_experience = 25 } } ai_will_do = { @@ -908,7 +950,7 @@ faction_goal_indifference_is_a_threat = { input = collection:europe_non_aligned_countries name = COLLECTION_COUNTRIES_EUROPE_NON_ALIGNED } - value < 3 + value < 5 } } complete_effect = { @@ -1099,20 +1141,39 @@ faction_goal_marine_corps = { complete_effect = { add_faction_power_projection = 100 custom_effect_tooltip = generic_skip_one_line_tt - every_collection_element = { - input = { - input = game:scope - operators = { - faction_members - limit = { - has_army_size = { - size > 0 - unit_category = category_amphibious_tanks + hidden_effect = { + every_collection_element = { + input = { + input = game:scope + operators = { + faction_members + limit = { + has_army_size = { + size > 0 + unit_category = category_amphibious_tanks + } } } + name = ALL_FACTION_MEMBERS_WITH_1_AMPHIBIOUS + } + random_character = { + tooltip = ONE_GENERAL + visible_when_empty = yes + limit = { + is_army_leader = yes + is_field_marshal = no + NOT = { has_trait = cavalry_officer } + NOT = { has_trait = panzer_leader } + NOT = { has_trait = naval_invader } + } + gain_xp = 400 + add_attack = 1 + add_trait = { trait = naval_invader } } - name = ALL_FACTION_MEMBERS_WITH_1_AMPHIBIOUS } + } + custom_effect_tooltip = ALL_FACTION_MEMBERS_WITH_1_AMPHIBIOUS + effect_tooltip = { random_character = { tooltip = ONE_GENERAL visible_when_empty = yes @@ -1121,11 +1182,11 @@ faction_goal_marine_corps = { is_field_marshal = no NOT = { has_trait = cavalry_officer } NOT = { has_trait = panzer_leader } - NOT = { has_trait = invader } + NOT = { has_trait = naval_invader } } gain_xp = 400 add_attack = 1 - add_trait = { trait = invader } + add_trait = { trait = naval_invader } } } custom_effect_tooltip = generic_skip_one_line_tt @@ -1186,7 +1247,7 @@ faction_goal_submarine_force = { operators = { faction_members limit = { - has_army_size = { + has_navy_size = { size > 24 type = submarine } @@ -1274,7 +1335,7 @@ faction_goal_convoy_escort_force = { operators = { faction_members limit = { - has_army_size = { + has_navy_size = { size > 24 type = screen_ship } @@ -1359,7 +1420,7 @@ faction_goal_air_superiority = { operators = { faction_members limit = { - has_army_size = { + has_deployed_air_force_size = { size > 249 type = fighter } diff --git a/src/common/factions/goals/faction_goals_short_term.txt b/src/common/factions/goals/faction_goals_short_term.txt index bc9dfcc..8bea708 100755 --- a/src/common/factions/goals/faction_goals_short_term.txt +++ b/src/common/factions/goals/faction_goals_short_term.txt @@ -48,6 +48,7 @@ faction_goal_one_germany = { complete_effect = { add_faction_power_projection = 50 custom_effect_tooltip = THE_FACTION_LEADER + add_faction_initiative = 1 add_stability = 0.05 } ai_will_do = { @@ -75,11 +76,12 @@ faction_goal_building_up_guam = { FROM = { NOT = { controls_state = 638 } } } completed = { - 638 = { naval_base > 3 } + 638 = { naval_base > 2 } } complete_effect = { - add_faction_power_projection = 50 + add_faction_power_projection = 100 custom_effect_tooltip = THE_FACTION_LEADER + add_faction_initiative = 1 add_war_support = 0.02 } ai_will_do = { @@ -126,6 +128,10 @@ faction_goal_guerilla_expansion = { } complete_effect = { add_faction_power_projection = 100 + custom_effect_tooltip = generic_skip_one_line_tt + custom_effect_tooltip = THE_FACTION_LEADER + add_faction_initiative = 1 + custom_effect_tooltip = generic_skip_one_line_tt every_collection_element = { input = { input = game:scope @@ -144,8 +150,8 @@ faction_goal_guerilla_expansion = { ai_will_do = { base = 3 # Pretty much everyone should want to do this modifier = { - add = 2 # DOH cares more - original_tag = DOH + add = 2 # PRC cares more + original_tag = PRC } } } @@ -934,7 +940,7 @@ faction_goal_ensure_military_r_d = { name = OWNS_LISTED_STATE } custom_effect_tooltip = OWNS_LISTED_STATE - add_faction_influence_ratio = 0.05 + OWNER = { add_faction_influence_ratio = 0.05 } } every_faction_member = { if = { @@ -1040,7 +1046,7 @@ faction_goal_military_infrastructure = { NOT = { is_in_faction_with = ROOT } } } - infrastructure < 5 + infrastructure < 4 } } name = COLLECTION_FACTION_BORDER_STATES_FULL_INFRASTRUCTURE @@ -1060,12 +1066,12 @@ faction_goal_military_infrastructure = { NOT = { is_in_faction_with = ROOT } } } - infrastructure < 5 + infrastructure < 4 } } name = COLLECTION_FACTION_BORDER_STATES_FULL_INFRASTRUCTURE } - value < 1 + value < 10 } } complete_effect = { @@ -1262,6 +1268,9 @@ faction_goal_war_on_democracy = { NOT = { has_government = democratic } + faction_leader = { + NOT = { has_government = democratic } + } } any_country = { has_government = democratic @@ -1333,6 +1342,7 @@ faction_goal_an_armored_fist = { limit = { is_unit_leader = yes OR = { + has_trait = armor_officer has_trait = panzer_leader has_trait = panzer_expert } @@ -1374,6 +1384,7 @@ faction_goal_an_infantry_army = { limit = { is_unit_leader = yes OR = { + has_trait = infantry_officer has_trait = infantry_leader has_trait = infantry_expert } @@ -5092,7 +5103,7 @@ faction_goal_fortify_iwo_jima = { anti_air_building > 0 any_province_building_level = { province = { - id = 10265 + id = 13025 } building = coastal_bunker level > 1 diff --git a/src/common/ideas/az_psh_army_spirits.txt b/src/common/ideas/az_psh_army_spirits.txt index e7f05f9..4797d3d 100755 --- a/src/common/ideas/az_psh_army_spirits.txt +++ b/src/common/ideas/az_psh_army_spirits.txt @@ -109,6 +109,34 @@ ideas = { factor = 1000 } } + + psh_yymj = { + ledger = army + picture = cult_of_heroism_army_spirit + visible = { + OR = { + tag = TIX + tag = SAD + tag = CHY + tag = HUJ + tag = BYG + tag = HUJ + tag = YUW + tag = BFL + tag = DOH + tag = BLI + } + } + + modifier = { + unit_medal_effectiveness = 0.5 + grant_medal_cost_factor = -1 + } + + ai_will_do = { + factor = 0 + } + } } diff --git a/src/common/ideas/azurlane_generic.txt b/src/common/ideas/azurlane_generic.txt index dd02a3e..308de06 100755 --- a/src/common/ideas/azurlane_generic.txt +++ b/src/common/ideas/azurlane_generic.txt @@ -463,6 +463,32 @@ ideas = { # Special ones that can be applied on other countries through focus system. country = { + TY_fkAIdebuffplayer = { + picture = dingzhenai + allowed_civil_war = { + always = yes + } + modifier = { + #generate_wargoal_tension = 1 + guarantee_cost = 99999 + bunker_max_level_terrain_limit = -5 + coastal_bunker_max_level_terrain_limit = -5 + #justify_war_goal_time = 99999 + } + } + TY_fkAIdebuffplayer_teding = { + picture = dingzhenai + cancel = { + date > 1939.9.1 + } + allowed_civil_war = { + always = yes + } + modifier = { + generate_wargoal_tension = 1 + justify_war_goal_time = 99999 + } + } az_hjll_1 = { picture = dingzhenai allowed_civil_war = { @@ -593,6 +619,9 @@ ideas = { always = yes } modifier = { + automatic_grant_medal_chance = 1 + unit_medal_effectiveness = 1 + planning_decay_rate_factor = -0.8 consumer_goods_expected_value = -0.05 production_cost_industrial_complex_factor = -0.1 production_cost_arms_factory_factor = -0.1 @@ -639,6 +668,9 @@ ideas = { always = yes } modifier = { + automatic_grant_medal_chance = 1 + unit_medal_effectiveness = 1 + planning_decay_rate_factor = -0.8 consumer_goods_expected_value = -0.05 production_cost_industrial_complex_factor = -0.1 production_cost_arms_factory_factor = -0.1 @@ -688,6 +720,9 @@ ideas = { always = yes } modifier = { + automatic_grant_medal_chance = 1 + unit_medal_effectiveness = 1 + planning_decay_rate_factor = -0.8 consumer_goods_expected_value = -0.05 production_cost_industrial_complex_factor = -0.1 production_cost_arms_factory_factor = -0.1 diff --git a/src/common/ideas/fazhanfangzhen.txt b/src/common/ideas/fazhanfangzhen.txt index 11a9d46..f95b5d7 100755 --- a/src/common/ideas/fazhanfangzhen.txt +++ b/src/common/ideas/fazhanfangzhen.txt @@ -445,6 +445,10 @@ ideas = { mobilization_speed = 1 conscription_factor = 0.25 training_time_army_factor = -0.5 + mass_assault_mastery_gain_factor = 0.5 + grand_battleplan_mastery_gain_factor = 0.5 + superior_firepower_mastery_gain_factor = 0.5 + new_mobile_warfare_mastery_gain_factor = 0.5 } } xingzhenggongzuo = { @@ -493,6 +497,10 @@ ideas = { navy_chief_cost_factor = -0.2 air_chief_cost_factor = -0.2 high_command_cost_factor = -0.33 + mass_assault_mastery_gain_factor = 0.5 + grand_battleplan_mastery_gain_factor = 0.5 + superior_firepower_mastery_gain_factor = 0.5 + new_mobile_warfare_mastery_gain_factor = 0.5 } } } diff --git a/src/common/ideas/tianjiang.txt b/src/common/ideas/tianjiang.txt index fe26e8e..717a92c 100755 --- a/src/common/ideas/tianjiang.txt +++ b/src/common/ideas/tianjiang.txt @@ -87,33 +87,42 @@ ideas = { is_ai = yes } modifier = { - conscription = 0.25 - conscription_factor = 1 + stability_factor = 1.25 + war_support_factor = 2 + #conscription = 0.25 + #conscription_factor = 1 #army_strength_factor = 0.2 #cavalry_attack_factor = 8 #cavalry_defence_factor = 8 #army_artillery_attack_factor = 4 #army_infantry_defence_factor = 3 - army_armor_attack_factor = 1 - army_armor_defence_factor = 1 + #army_armor_attack_factor = 1 + #army_armor_defence_factor = 1 #breakthrough_factor = 3 #conscription = 0.25 #conscription_factor = 1 - mobilization_speed = 5 - army_core_attack_factor = 2 - army_core_defence_factor = 12 - air_mission_efficiency = -1 - naval_damage_factor = -1 - naval_defense_factor = -1 + #mobilization_speed = 5 + #army_core_attack_factor = 2 + #army_core_defence_factor = 12 + #air_mission_efficiency = -1 + #naval_damage_factor = -1 + #naval_defense_factor = -1 #org_loss_when_moving = -0.5 #recon_factor = 1 - #army_speed_factor = 0.25 + army_speed_factor = -0.15 #supply_node_range = -0.2 #supply_consumption_factor = 0.25 #research_speed_factor = 1 - #army_attack_against_major_factor = 0.5 - #army_defence_against_major_factor = 0.5 - #army_breakthrough_against_major_factor = 0.5 + army_attack_against_major_factor = 0.5 + army_defence_against_major_factor = 0.5 + army_breakthrough_against_major_factor = 0.5 + max_dig_in_factor = 2 + dig_in_speed_factor = 50 + experience_gain_army_factor = -0.8 + mass_assault_mastery_gain_factor = -0.5 + grand_battleplan_mastery_gain_factor = -0.5 + superior_firepower_mastery_gain_factor = -0.5 + new_mobile_warfare_mastery_gain_factor = -0.5 #special_forces_attack_factor = 3 #special_forces_defence_factor = 3 #special_forces_cap_flat = 99999 @@ -199,11 +208,12 @@ ideas = { #conscription_factor = 1 #mobilization_speed = 1 #army_core_attack_factor = 5 - #army_core_defence_factor = 5 + army_core_defence_factor = 25 #stability_factor = 1.25 #war_support_factor = 2 - army_speed_factor = 0.2 - #army_defence_factor = 2 + army_speed_factor = 0.25 + army_attack_factor = 2 + army_defence_factor = 2 #max_dig_in_factor = 2 #dig_in_speed_factor = 0.5 #army_attack_against_major_factor = -0.8 @@ -215,19 +225,19 @@ ideas = { #army_infantry_attack_factor = 2 #army_infantry_defence_factor = 3 #army_artillery_attack_factor = 4 - production_factory_start_efficiency_factor = 0.5 - line_change_production_efficiency_factor = 1 - production_factory_max_efficiency_factor = 0.3 - production_factory_efficiency_gain_factor = 1 - army_armor_attack_factor = 2 - army_armor_defence_factor = 2 - } - targeted_modifier = { - tag = BYG - attack_bonus_against = -0.8 - defense_bonus_against = -0.8 - breakthrough_bonus_against = -0.8 + #production_factory_start_efficiency_factor = 0.5 + #line_change_production_efficiency_factor = 1 + #production_factory_max_efficiency_factor = 0.3 + #production_factory_efficiency_gain_factor = 1 + #army_armor_attack_factor = 2 + #army_armor_defence_factor = 2 } + #targeted_modifier = { + # tag = BYG + # attack_bonus_against = -0.8 + # defense_bonus_against = -0.8 + # breakthrough_bonus_against = -0.8 + #} equipment_bonus = { #infantry_equipment = { # build_cost_ic = 0.15 @@ -255,8 +265,24 @@ ideas = { # build_cost_ic = 0.15 # instant = yes #} - armor = { - build_cost_ic = -0.25 + #armor = { + # build_cost_ic = -0.25 + # instant = yes + #} + small_plane_airframe = { + build_cost_ic = 10 + instant = yes + } + small_plane_cas_airframe = { + build_cost_ic = 10 + instant = yes + } + medium_plane_airframe = { + build_cost_ic = 10 + instant = yes + } + large_plane_airframe = { + build_cost_ic = 10 instant = yes } } @@ -3661,6 +3687,11 @@ ideas = { attack_bonus_against = 1 defense_bonus_against = 1 } + targeted_modifier = { + tag = BYG + attack_bonus_against = 1 + defense_bonus_against = 1 + } } CHY_fkAIbuff_player = { @@ -3916,9 +3947,9 @@ ideas = { always = yes } modifier = { - army_org_factor = 1.5 - army_morale_factor = 2 - army_strength_factor = 0.5 + army_org_factor = 4 + army_morale_factor = 3 + army_strength_factor = 3 } } @@ -3928,7 +3959,7 @@ ideas = { always = yes } modifier = { - army_strength_factor = 1 + army_strength_factor = 2 } } @@ -4008,14 +4039,14 @@ ideas = { always = yes } modifier = { - army_attack_factor = 3 - army_defence_factor = 3 - army_attack_against_major_factor = 0.2 - army_defence_against_major_factor = 0.2 - army_breakthrough_against_major_factor = 0.2 - army_attack_against_minor_factor = 0.5 - army_defence_against_minor_factor = 0.5 - army_breakthrough_against_minor_factor = 0.5 + army_attack_factor = 5 + army_defence_factor = 5 + army_attack_against_major_factor = 1 + army_defence_against_major_factor = 1 + army_breakthrough_against_major_factor = 1 + army_attack_against_minor_factor = 1 + army_defence_against_minor_factor = 1 + army_breakthrough_against_minor_factor = 1 } } @@ -4065,9 +4096,9 @@ ideas = { always = yes } modifier = { - army_strength_factor = 1.5 - army_org_factor = 2 - army_morale_factor = 2 + army_strength_factor = 4 + army_org_factor = 5 + army_morale_factor = 5 planning_speed = 10 production_factory_start_efficiency_factor = 1 line_change_production_efficiency_factor = 1 @@ -4082,14 +4113,14 @@ ideas = { #terrain_penalty_reduction = 1 industrial_capacity_dockyard = 20 positioning = 2 - army_attack_factor = 3 - army_defence_factor = 3 - army_attack_against_major_factor = 0.2 - army_defence_against_major_factor = 0.2 - army_breakthrough_against_major_factor = 0.2 - army_attack_against_minor_factor = 0.5 - army_defence_against_minor_factor = 0.5 - army_breakthrough_against_minor_factor = 0.5 + army_attack_factor = 5 + army_defence_factor = 5 + army_attack_against_major_factor = 1 + army_defence_against_major_factor = 1 + army_breakthrough_against_major_factor = 1 + army_attack_against_minor_factor = 1 + army_defence_against_minor_factor = 1 + army_breakthrough_against_minor_factor = 1 } equipment_bonus = { ship_hull_cruiser = { diff --git a/src/common/ideologies/00_ideologies.txt b/src/common/ideologies/00_ideologies.txt index f04c83f..be4c0d3 100755 --- a/src/common/ideologies/00_ideologies.txt +++ b/src/common/ideologies/00_ideologies.txt @@ -53,7 +53,7 @@ ideologies = { join_faction_tension = 0.80 lend_lease_tension = 0.50 send_volunteers_tension = 0.50 - guarantee_tension = 0.25 + guarantee_tension = 0.4 # annex_cost_factor = 0.5 # Deprecated, use common\peace_conference\00_generic_peace.txt instead civilian_intel_to_others = 20.0 army_intel_to_others = 5.0 diff --git a/src/common/national_focus/beifanglianhe.txt b/src/common/national_focus/beifanglianhe.txt index a7e98fc..54295af 100755 --- a/src/common/national_focus/beifanglianhe.txt +++ b/src/common/national_focus/beifanglianhe.txt @@ -3660,12 +3660,6 @@ relative_position_id = BFL_12 mutually_exclusive = { focus = BFL_12 } available = { - if = { - limit = { - is_ai = no - } - not = { has_global_flag = az_meizhoutiaozhan_action } - } NOT = { has_completed_focus = BFL_kongjunjianshe } NOT = { has_completed_focus = BFL_lujunjianshe } NOT = { has_completed_focus = BFL_wanchengdiergewunianjihua } diff --git a/src/common/national_focus/chongying_new.txt b/src/common/national_focus/chongying_new.txt index 06725f2..1519292 100755 --- a/src/common/national_focus/chongying_new.txt +++ b/src/common/national_focus/chongying_new.txt @@ -2439,212 +2439,9 @@ } } hidden_effect = { - if = { - limit = { - NOT = { - has_idea = TY_dingzhenai - } - is_ai = yes - OR = { has_global_flag = AZ_fengkuangAI_citiao_10 - has_global_flag = AZ_fengkuangAI_citiao_ex - } - } - division_template = { - name = "关东边防师" - division_names_group = JAP_ARM_01 - regiments = { - medium_armor = { - x = 0 - y = 0 - } - medium_armor = { - x = 0 - y = 1 - } - medium_armor = { - x = 0 - y = 2 - } - medium_armor = { - x = 0 - y = 3 - } - medium_armor = { - x = 1 - y = 0 - } - medium_armor = { - x = 1 - y = 1 - } - medium_armor = { - x = 1 - y = 2 - } - medium_armor = { - x = 1 - y = 3 - } - medium_tank_destroyer_brigade = { - x = 2 - y = 0 - } - medium_sp_anti_air_brigade = { - x = 2 - y = 1 - } - infantry = { - x = 3 - y = 0 - } - infantry = { - x = 3 - y = 1 - } - infantry = { - x = 3 - y = 2 - } - infantry = { - x = 3 - y = 3 - } - infantry = { - x = 4 - y = 0 - } - infantry = { - x = 4 - y = 1 - } - infantry = { - x = 4 - y = 2 - } - infantry = { - x = 4 - y = 3 - } - } - support = { - armored_engineer = { - x = 0 - y = 0 - } - light_tank_recon = { - x = 0 - y = 1 - } - medium_flame_tank = { - x = 0 - y = 2 - } - armored_maintenance = { - x = 0 - y = 3 - } - helicopter_field_hospital = { - x = 0 - y = 4 - } - } - } - } - if = { - limit = { - NOT = { - has_idea = TY_dingzhenai - } - NOT = { is_ai = yes } - OR = { has_global_flag = AZ_fengkuangAI_citiao_10 - has_global_flag = AZ_fengkuangAI_citiao_ex - } - } - division_template = { - name = "关东边防师" - division_names_group = JAP_ARM_01 - regiments = { - artillery_brigade = { - x = 0 - y = 0 - } - artillery_brigade = { - x = 0 - y = 1 - } - artillery_brigade = { - x = 1 - y = 0 - } - artillery_brigade = { - x = 1 - y = 1 - } - medium_armor = { - x = 2 - y = 0 - } - infantry = { - x = 3 - y = 0 - } - infantry = { - x = 3 - y = 1 - } - infantry = { - x = 3 - y = 2 - } - infantry = { - x = 3 - y = 3 - } - infantry = { - x = 4 - y = 0 - } - infantry = { - x = 4 - y = 1 - } - infantry = { - x = 4 - y = 2 - } - infantry = { - x = 4 - y = 3 - } - } - support = { - armored_engineer = { - x = 0 - y = 0 - } - light_tank_recon = { - x = 0 - y = 1 - } - armored_maintenance = { - x = 0 - y = 3 - } - helicopter_field_hospital = { - x = 0 - y = 4 - } - } - } - } if = { limit = { NOT = { has_idea = TY_dingzhenai } - NOT = { has_idea = TY_fengkuangai } - NOT = { has_idea = TY_fengkuangai2 } - NOT = { has_idea = TY_fengkuangai3 } - NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } - NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } } division_template = { name = "关东边防师" @@ -4500,6 +4297,7 @@ transfer_state = 745 transfer_state = 716 transfer_state = 524 + transfer_state = 1043 give_resource_rights = { receiver = CHY state = 328 diff --git a/src/common/national_focus/donghuang_new.txt b/src/common/national_focus/donghuang_new.txt index dfcd781..9156ba5 100755 --- a/src/common/national_focus/donghuang_new.txt +++ b/src/common/national_focus/donghuang_new.txt @@ -5290,6 +5290,7 @@ focus_tree = { add_state_core = 625 add_state_core = 627 add_state_core = 624 + add_state_core = 1017 } } focus = { @@ -6322,6 +6323,10 @@ focus_tree = { controls_state = 761 controls_state = 527 controls_state = 525 + controls_state = 1028 + controls_state = 1029 + controls_state = 1030 + controls_state = 1031 } cancel_if_invalid = yes continue_if_invalid = no @@ -6356,6 +6361,7 @@ focus_tree = { has_full_control_of_state = 608 has_full_control_of_state = 615 has_full_control_of_state = 621 + has_full_control_of_state = 1039 } cancel_if_invalid = yes continue_if_invalid = no @@ -6384,24 +6390,12 @@ focus_tree = { instant_build = yes province = 9843 } - add_building_construction = { - type = bunker - level = 3 - instant_build = yes - province = 4140 - } add_building_construction = { type = bunker level = 2 instant_build = yes province = 12026 } - add_building_construction = { - type = bunker - level = 3 - instant_build = yes - province = 10068 - } add_building_construction = { type = bunker level = 2 @@ -6416,13 +6410,19 @@ focus_tree = { instant_build = yes province = 10480 } + add_building_construction = { + type = bunker + level = 2 + instant_build = yes + province = 12432 + } } 621 = { add_building_construction = { type = bunker level = 2 instant_build = yes - province = 7158 + province = 4525 } add_building_construction = { type = bunker @@ -6432,15 +6432,15 @@ focus_tree = { } add_building_construction = { type = bunker - level = 1 + level = 2 instant_build = yes - province = 7048 + province = 12609 } add_building_construction = { type = bunker level = 2 instant_build = yes - province = 12331 + province = 10424 } add_building_construction = { type = supply_node @@ -6459,6 +6459,26 @@ focus_tree = { target_province = 7418 } } + 1039 = { + add_building_construction = { + type = bunker + level = 3 + instant_build = yes + province = 9776 + } + add_building_construction = { + type = bunker + level = 3 + instant_build = yes + province = 6904 + } + add_building_construction = { + type = bunker + level = 3 + instant_build = yes + province = 1590 + } + } } } focus = { diff --git a/src/common/national_focus/donghuangyuanzhengjun.txt b/src/common/national_focus/donghuangyuanzhengjun.txt index 288c39a..89ea7d3 100755 --- a/src/common/national_focus/donghuangyuanzhengjun.txt +++ b/src/common/national_focus/donghuangyuanzhengjun.txt @@ -2658,6 +2658,10 @@ add_state_core = 422 add_state_core = 281 add_state_core = 979 + add_state_core = 1027 + add_state_core = 1026 + add_state_core = 1025 + add_state_core = 1022 } } } diff --git a/src/common/national_focus/netherlands.txt b/src/common/national_focus/netherlands.txt index 906557b..d35318d 100755 --- a/src/common/national_focus/netherlands.txt +++ b/src/common/national_focus/netherlands.txt @@ -3216,7 +3216,6 @@ focus_tree = { bonus = 0.5 ahead_reduction = 2 uses = 2 - category = cl_tech category = ca_tech } } @@ -6481,8 +6480,14 @@ focus_tree = { available_if_capitulated = yes completion_reward = { + set_rule = { can_create_factions = yes } - create_faction = HOL_benelux + create_faction_from_template = { + template = faction_template_defensive_democratic + name = HOL_benelux + icon = GFX_faction_logo_generic_13 + } + custom_effect_tooltip = generic_skip_one_line_tt BEL = { custom_effect_tooltip = HOL_form_the_benelux_bel_tt @@ -6574,11 +6579,19 @@ focus_tree = { custom_effect_tooltip = generic_skip_one_line_tt - create_faction = BEL_european_union + create_faction_from_template = { + template = faction_template_european_unity + name = BEL_european_union + icon = GFX_faction_logo_eu + } } ELSE = { - create_faction = BEL_european_union + create_faction_from_template = { + template = faction_template_european_unity + name = BEL_european_union + icon = GFX_faction_logo_eu + } } set_cosmetic_tag = european_union_leader diff --git a/src/common/national_focus/tiexue.txt b/src/common/national_focus/tiexue.txt index 9992548..c285e42 100755 --- a/src/common/national_focus/tiexue.txt +++ b/src/common/national_focus/tiexue.txt @@ -4228,6 +4228,12 @@ focus_tree = { NOT = { country_exists = AUS } + if = { + limit = { + is_ai = no + } + not = { has_global_flag = AZ_fengkuangAI_citiao_ex } + } } bypass = { OR = { @@ -4321,6 +4327,12 @@ focus_tree = { NOT = { has_completed_focus = TIX_yubilanhangxianjiaohao } + if = { + limit = { + is_ai = no + } + not = { has_global_flag = AZ_fengkuangAI_citiao_ex } + } } bypass = { OR = { @@ -4593,9 +4605,17 @@ focus_tree = { } } available = { + is_puppet = no NOT = { has_completed_focus = TIX_yubilanhangxianjiaohao } + if = { + limit = { + is_ai = no + has_global_flag = AZ_fengkuangAI_citiao_ex + } + date > 1939.7.1 + } } bypass = { OR = { @@ -4680,9 +4700,17 @@ focus_tree = { FOCUS_FILTER_HISTORICAL } available = { + is_puppet = no NOT = { has_completed_focus = TIX_yubilanhangxianjiaohao } + if = { + limit = { + is_ai = no + has_global_flag = AZ_fengkuangAI_citiao_ex + } + date > 1939.9.1 + } } bypass = { } @@ -4856,6 +4884,12 @@ focus_tree = { NOT = { country_exists = AUS } + if = { + limit = { + is_ai = no + } + not = { has_global_flag = AZ_fengkuangAI_citiao_ex } + } } bypass = { OR = { @@ -4952,6 +4986,12 @@ focus_tree = { NOT = { country_exists = CZE } + if = { + limit = { + is_ai = no + } + not = { has_global_flag = AZ_fengkuangAI_citiao_ex } + } } bypass = { OR = { @@ -5105,10 +5145,18 @@ focus_tree = { has_war_with = YUW } available = { + is_puppet = no NOT = { has_completed_focus = TIX_yubilanhangxianjiaohao } NOT = { has_non_aggression_pact_with = YUW } + if = { + limit = { + is_ai = no + has_global_flag = AZ_fengkuangAI_citiao_ex + } + date > 1940.1.1 + } } cancel_if_invalid = yes continue_if_invalid = no @@ -5159,9 +5207,17 @@ focus_tree = { } } available = { + is_puppet = no NOT = { has_completed_focus = TIX_yubilanhangxianjiaohao } + if = { + limit = { + is_ai = no + has_global_flag = AZ_fengkuangAI_citiao_ex + } + date > 1939.10.1 + } } bypass = { YUW = { @@ -5200,6 +5256,18 @@ focus_tree = { country_event = TIX_event.10 } } + if = { + limit = { + HUJ = { + is_puppet = no + exists = yes + not = { has_war_with = TIX } + } + } + HUJ = { + country_event = HUJ_event.5 + } + } } } focus = { @@ -6436,6 +6504,13 @@ focus_tree = { has_army_manpower = { size > 1500000 } + if = { + limit = { + is_ai = no + has_global_flag = AZ_fengkuangAI_citiao_ex + } + date > 1941.1.1 + } } cost = 7 search_filters = { diff --git a/src/common/on_actions/13_goe_on_actions.txt b/src/common/on_actions/13_goe_on_actions.txt deleted file mode 100755 index 6bf88a1..0000000 --- a/src/common/on_actions/13_goe_on_actions.txt +++ /dev/null @@ -1,1750 +0,0 @@ - -#删除弱智印度的部分检测 -on_actions = { - on_monthly_AFG = { - effect = { - IF = { - limit = { - has_completed_focus = AFG_electrification - any_core_state = { - NOT = { - has_dynamic_modifier = { modifier = AFG_electrification_modifier } - } - } - } - - IF = { - limit = { - check_variable = { AFG_electrification_cooldown > 0 } - } - set_variable = { AFG_electrification_cooldown = 0 } - - random_core_state = { - limit = { - has_dynamic_modifier = { modifier = AFG_electrification_modifier } - NOT = { - OR = { - is_island_state = yes - has_state_category = large_island - has_state_category = small_island - has_state_category = tiny_island - } - } - } - random_neighbor_state = { - limit = { - NOT = { - has_dynamic_modifier = { modifier = AFG_electrification_modifier } - } - is_core_of = ROOT - } - add_dynamic_modifier = { modifier = AFG_electrification_modifier } - } - } - } - ELSE = { - add_to_variable = { AFG_electrification_cooldown = 1 } - } - } - } - } - - #ROOT is the nation being released, FROM is the overlord. - on_startup = { - effect = { - if = { - limit = { - has_dlc = "Graveyard of Empires" - } - if = { #Fix for OOS - limit = { is_historical_focus_on = no } - RAJ = { - random_owned_state = { - set_variable = { global.famine_state = THIS } - - } - } - } - RAJ = { - every_owned_state = { - limit = { - check_variable = { core_countries^num > 0 } - } - - for_each_scope_loop = { - array = core_countries - if = { - limit = { - NOT = { THIS = { original_tag = RAJ } } - NOT = { THIS = { original_tag = YEM } } #not u - NOT = { - is_in_array = { - array = RAJ.raj_releasables - value = THIS - } - } - } - add_to_array = { RAJ.raj_releasables = THIS } - } - - } - } - } - - RAJ = { - set_occupation_law_where_available = foreign_civilian_oversight - } - } - } - #Achievement Related Arrays - effect = { - every_state = { - limit = { - OR = { - state = 731 #Central Macedonia - state = 184 #Thrace - state = 341 #Edirne - state = 164 #Dodecaneso/Rhodes - state = 183 #Cyprus - state = 231 #Georgia - state = 229 #Azerbaijan - state = 230 #Armenia - state = 451 #Derna - state = 450 #Benghasi - state = 663 #Cyrenaica - state = 584 #Ashkhabad - state = 832 #Tashauz - state = 831 #Khiva - state = 585 # Navoi - state = 442 #Peshawar - - region = 129 #Asia Minor - region = 232 #Levant - region = 128 #Egypt - region = 28 #Middle East - region = 240 #Zagros - region = 239 #Alborz - region = 116 #Central Ira - region = 241 #Dasht-e Kav - region = 291 #Baluchistan - region = 289 #South AFG - region = 162 #North AFG - region = 269 #Samarkand - region = 190 #Pakistan - } - } - add_to_array = { PER.PER_achaemenid_empire_states = THIS } - } - every_state = { - limit = { - is_on_continent = middle_east - } - add_to_array = { global.GOE_middle_east_array = THIS } - } - every_state = { - limit = { - OR = { - #state = 442 #Peshawar - state = 787 #Northern Kashmir - state = 441 #Kashmir - state = 986 #East Punkab - state = 438 #United Provinces - state = 323 #Nepal - state = 985 #Sikkim - state = 431 #West Bengal - state = 324 #Bhutan - state = 432 #Assam - state = 434 #Arunachal Pradesh - state = 990 #Manipur - } - } - add_to_array = { AFG.AFG_himalaya_states_array = THIS } - } - } - } - - - on_release_as_puppet = { - effect = { - if = { - limit = { - FROM = { - original_tag = RAJ - has_completed_focus = RAJ_princely_autonomy - } - - ROOT = { - is_raj_releasable = yes - } - } - - add_ideas = idea_RAJ_princely_autonomy - } - - if = { - limit = { - FROM = { - original_tag = RAJ - has_completed_focus = RAJ_funnel_british_investments_into_princely_states - } - - ROOT = { - NOT = { has_country_flag = has_recieved_civ_from_funnel_british_investments } - is_raj_releasable = yes - } - } - FROM = { build_civ_in_indian_releasables_once = yes } - } - } - } - - # ROOT is the subject, FROM is the previous overlord. - on_subject_free = { - effect = { - if = { - limit = { - has_dlc = "Graveyard of Empires" - ROOT = { - original_tag = RAJ - NOT = { has_global_flag = RAJ_GOE_partition_has_happened } - } - FROM = { original_tag = ENG } - NOT = { - OR = { - has_completed_focus = RAJ_red_in_the_shadows - has_completed_focus = RAJ_great_depression_price_controls - has_completed_focus = RAJ_forward_bloc - has_completed_focus = RAJ_his_majestys_loyal_government - } - } - - } - - RAJ = { - country_event = { id = GOE_RAJ_partition.6 hours = 2 } - } - } - } - } - - #fired when two countries end up at war with each other (on_war is fired when a country goes to war against anyone and is not fired again when it enters war against another country unless it went to peace first) - on_war_relation_added = { - effect = { - if = { - limit = { - OR = { - FROM = { - original_tag = RAJ - has_completed_focus = RAJ_jugantar - } - - ROOT = { - original_tag = RAJ - has_completed_focus = RAJ_jugantar - } - } - - OR = { - FROM = { original_tag = PAK } - ROOT = { original_tag = PAK } - } - } - - RAJ = { - division_template = { - name = "Jugantar Militia" - is_locked = no - regiments = { - irregular_infantry = { x = 0 y = 0 } - irregular_infantry = { x = 0 y = 1 } - irregular_infantry = { x = 0 y = 2 } - irregular_infantry = { x = 0 y = 3 } - irregular_infantry = { x = 1 y = 0 } - irregular_infantry = { x = 1 y = 1 } - - } - support = { - - } - } - if = { - limit = { - controls_state = 435 - } - 435 = { - create_unit = { - division = "name = \"Jugantar Militia\" division_template = \"Jugantar Militia\" start_experience_factor = 0.05 start_equipment_factor = 1 start_manpower_factor = 1" - owner = RAJ - allow_spawning_on_enemy_provs = yes - count = 3 - } - } - } - - if = { - limit = { - controls_state = 426 - } - 426 = { - create_unit = { - division = "name = \"Jugantar Militia\" division_template = \"Jugantar Militia\" start_experience_factor = 0.05 start_equipment_factor = 1 start_manpower_factor = 1" - owner = RAJ - allow_spawning_on_enemy_provs = yes - count = 3 - } - } - } - - if = { - limit = { - controls_state = 432 - } - 432 = { - create_unit = { - division = "name = \"Jugantar Militia\" division_template = \"Jugantar Militia\" start_experience_factor = 0.05 start_equipment_factor = 1 start_manpower_factor = 1" - owner = RAJ - allow_spawning_on_enemy_provs = yes - count = 3 - } - } - } - - } - } - } - effect = { - if = { - limit = { - - FROM = { - original_tag = PER - has_country_flag = PER_sold_oil_flag - } - ROOT = { - NOT = { - original_tag = PER - } - has_country_flag = PER_has_PER_resource_rights - } - } - ROOT = { - remove_resource_rights = 413 - } - FROM = { - add_offsite_building = { type = industrial_complex level = -3 } - } - } - - if = { - limit = { - AND = { - ROOT = { - original_tag = PER - has_country_flag = PER_sold_oil_flag - } - FROM = { - NOT = { - original_tag = PER - } - has_country_flag = PER_has_PER_resource_rights - } - } - } - FROM = { - remove_resource_rights = 413 - } - ROOT = { - add_offsite_building = { type = industrial_complex level = -3 } - } - } - } - effect = { - #block raj releasables from insta joining facftions if they spawn - if = { - limit = { - is_in_array = { - array = RAJ.raj_releasables - value = FROM - } - FROM = { - is_ai = yes - NOT = { original_tag = RAJ } - } - } - - FROM = { - set_rule = { can_join_factions = no } - country_event = { id = GOE_RAJ.35 days = 60 } #reset rule - } - } - - if = { - limit = { - is_in_array = { - array = RAJ.raj_releasables - value = ROOT - } - ROOT = { - is_ai = yes - NOT = { original_tag = RAJ } - } - } - - ROOT = { - set_rule = { can_join_factions = no } - country_event = { id = GOE_RAJ.35 days = 60 } #reset rule - } - } - - - if = { - limit = { - OR = { - ROOT = { - original_tag = RAJ - has_completed_focus = RAJ_revolt_of_the_princes - } - FROM = { - original_tag = RAJ - has_completed_focus = RAJ_revolt_of_the_princes - } - } - - OR = { - ROOT = { - tag = event_target:UK_INDIA - } - FROM = { - tag = event_target:UK_INDIA - } - } - } - - every_possible_country = { - limit = { - is_in_array = { - array = RAJ.raj_releasables - value = THIS - } - any_core_state = { - is_controlled_by = event_target:UK_INDIA - controller = { - NOT = { - is_subject_of = ROOT - } - } - } - is_raj_or_raj_inheritor = no - } - - event_target:UK_INDIA = { release = PREV } - RAJ = { - set_autonomy = { - target=PREV - autonomy_state = autonomy_dominion - freedom_level = 0.1 # 0-1 - end_wars = no # default yes. will not cancel non civil wars if set to no - end_civil_wars = no # default yes. will not cancel civil wars if set to no - } - } - - division_template = { - name = "Princely Security Forces" - is_locked = no - #division_names_group = NAMELIST_ID # optional - priority = 1 # optional - #template_counter = # optional - regiments = { - infantry = { x = 0 y = 0 } - infantry = { x = 0 y = 1 } - infantry = { x = 0 y = 2 } - infantry = { x = 1 y = 0 } - infantry = { x = 1 y = 1 } - infantry = { x = 1 y = 2 } - - } - support = { - - } - } - - capital_scope = { - create_unit = { - division = "name = \"Princely Security Forces\" division_template = \"Princely Security Forces\" start_experience_factor = 0.1 start_equipment_factor = 1 start_manpower_factor = 1" - owner = PREV - allow_spawning_on_enemy_provs = yes - count = 3 - - } - if = { - limit = { - owner = { #These are bigger and needs more divisions - tag = HYD - tag = RJP - tag = MYS - } - } - - create_unit = { - division = "name = \"Princely Security Forces\" division_template = \"Princely Security Forces\" start_experience_factor = 0.1 start_equipment_factor = 1 start_manpower_factor = 1" - owner = PREV - allow_spawning_on_enemy_provs = yes - count = 3 - - } - } - } - - } - } - if = { - limit = { - NOT = { has_global_flag = RAJ_GOE_partition_is_over } - has_global_flag = RAJ_GOE_partition_has_happened - ROOT = { - OR = { - original_tag = RAJ - original_tag = BAN - original_tag = PAK - } - } - - FROM = { - OR = { - original_tag = RAJ - original_tag = BAN - original_tag = PAK - } - } - - ENG = { - exists = yes - is_subject = no - } - } - if = { - limit = { - FROM = { - is_ai = no - } - } - FROM = { - country_event = { - id = GOE_RAJ_partition.9 - } - activate_mission = RAJ_GOE_eng_is_getting_involved_in_war - } - } - - - if = { - limit = { - ROOT = { - is_ai = no - } - } - ROOT = { - country_event = { - id = GOE_RAJ_partition.9 - } - activate_mission = RAJ_GOE_eng_is_getting_involved_in_war - } - } - } - - if = { - limit = { - OR = { - FROM = { original_tag = DIP } - PREV = { original_tag = DIP } - } - } - - DIP = { - set_rule = { can_join_factions = no } - set_popularities = { - democratic= 0 - neutrality = 100 - fascism = 0 - communism = 0 - } - set_politics = { - ruling_party = neutrality - elections_allowed = yes - last_election = 1935.1.1 - - - } - set_party_name = { - ideology = neutrality - long_name = "Anarchism" - name = "Anarchism" - } - } - } - # Will tidy this up with scripted effects someday (TM) - #It was in fact, not tidied up - IF = { - limit = { - OR = { - AND = { - FROM = { original_tag = AFG } - ROOT = { - original_tag = SOU - any_owned_state = { - has_dynamic_modifier = { - modifier = AFG_resistance_active_here - } - } - } - } - AND = { - ROOT = { original_tag = AFG } - FROM = { - original_tag = SOU - any_owned_state = { - has_dynamic_modifier = { - modifier = AFG_resistance_active_here - } - } - } - } - } - } - every_state = { - limit = { - is_owned_and_controlled_by = SOU - has_dynamic_modifier = { - modifier = AFG_resistance_active_here - } - } - OWNER = { - country_event = { - id = AFG_political_events.91 - hours = 1 - } - } - IF = { - limit = { - ROOT = { original_tag = AFG } - } - transfer_state_to = ROOT - } - ELSE = { - transfer_state_to = FROM - } - } - IF = { - limit = { - FROM = { original_tag = AFG } - } - IF = { - limit = { - any_owned_state = { - is_core_of = UZB - NOT = { - is_core_of = ROOT - } - } - UZB = { exists = no } - } - FROM = { - every_owned_state = { - limit = { - is_core_of = UZB - NOT = { - is_core_of = ROOT - } - } - transfer_state_to = UZB - } - puppet = UZB - UZB = { - add_to_war = { - targeted_alliance = FROM - enemy = ROOT - hostility_reason = asked_to_join - single_target_only = yes - } - AFG_create_puppet_army = yes - } - } - } - IF = { - limit = { - any_owned_state = { - is_core_of = TAJ - NOT = { - is_core_of = ROOT - } - } - TAJ = { exists = no } - } - FROM = { - every_owned_state = { - limit = { - is_core_of = TAJ - NOT = { - is_core_of = ROOT - } - } - transfer_state_to = TAJ - } - puppet = TAJ - TAJ = { - add_to_war = { - targeted_alliance = FROM - enemy = ROOT - hostility_reason = asked_to_join - single_target_only = yes - } - AFG_create_puppet_army = yes - } - } - } - IF = { - limit = { - any_owned_state = { - is_core_of = TMS - NOT = { - is_core_of = ROOT - } - } - TMS = { exists = no } - } - FROM = { - every_owned_state = { - limit = { - is_core_of = TMS - NOT = { - is_core_of = ROOT - } - } - transfer_state_to = TMS - } - puppet = TMS - TMS = { - add_to_war = { - targeted_alliance = FROM - enemy = ROOT - hostility_reason = asked_to_join - single_target_only = yes - } - AFG_create_puppet_army = yes - } - } - } - IF = { - limit = { - any_owned_state = { - is_core_of = KYR - NOT = { - is_core_of = ROOT - } - } - KYR = { exists = no } - } - FROM = { - every_owned_state = { - limit = { - is_core_of = KYR - NOT = { - is_core_of = ROOT - } - } - transfer_state_to = KYR - } - puppet = KYR - KYR = { - add_to_war = { - targeted_alliance = FROM - enemy = ROOT - hostility_reason = asked_to_join - single_target_only = yes - } - AFG_create_puppet_army = yes - } - } - } - } - ELSE_IF = { - limit = { - ROOT = { original_tag = AFG } - } - IF = { - limit = { - any_owned_state = { - is_core_of = UZB - NOT = { - is_core_of = ROOT - } - } - UZB = { exists = no } - } - ROOT = { - every_owned_state = { - limit = { - is_core_of = UZB - NOT = { - is_core_of = ROOT - } - } - transfer_state_to = UZB - } - puppet = UZB - UZB = { - add_to_war = { - targeted_alliance = ROOT - enemy = FROM - hostility_reason = asked_to_join - single_target_only = yes - } - AFG_create_puppet_army = yes - } - } - } - IF = { - limit = { - any_owned_state = { - is_core_of = TAJ - NOT = { - is_core_of = ROOT - } - } - TAJ = { exists = no } - } - ROOT = { - every_owned_state = { - limit = { - is_core_of = TAJ - NOT = { - is_core_of = ROOT - } - } - transfer_state_to = TAJ - } - puppet = TAJ - TAJ = { - add_to_war = { - targeted_alliance = ROOT - enemy = FROM - hostility_reason = asked_to_join - single_target_only = yes - } - AFG_create_puppet_army = yes - } - } - } - IF = { - limit = { - any_owned_state = { - is_core_of = TMS - NOT = { - is_core_of = ROOT - } - } - TMS = { exists = no } - } - ROOT = { - every_owned_state = { - limit = { - is_core_of = TMS - NOT = { - is_core_of = ROOT - } - } - transfer_state_to = TMS - } - puppet = TMS - TMS = { - add_to_war = { - targeted_alliance = ROOT - enemy = FROM - hostility_reason = asked_to_join - single_target_only = yes - } - AFG_create_puppet_army = yes - } - } - } - IF = { - limit = { - any_owned_state = { - is_core_of = KYR - NOT = { - is_core_of = ROOT - } - } - KYR = { exists = no } - } - ROOT = { - every_owned_state = { - limit = { - is_core_of = KYR - NOT = { - is_core_of = ROOT - } - } - transfer_state_to = KYR - } - puppet = KYR - KYR = { - add_to_war = { - targeted_alliance = ROOT - enemy = FROM - hostility_reason = asked_to_join - single_target_only = yes - } - AFG_create_puppet_army = yes - } - } - } - } - } - - if = { - limit = { - OR = { - ROOT = { original_tag = ENG } - FROM = { original_tag = ENG } - } - - OR = { - ROOT = { original_tag = RAJ } - FROM = { original_tag = RAJ } - } - RAJ = { NOT = { has_completed_focus = RAJ_keep_british_generals } } - } - - RAJ = { - every_army_leader = { - limit = { - has_trait = loyalty_to_britain - } - - set_nationality = ENG - } - } - } - } - } - - on_peace = { - effect = { - IF = { - limit = { - THIS = { original_tag = RAJ } - THIS = { has_completed_focus = RAJ_war_taxes } - } - THIS = { - set_variable = { - var = amount_of_times_raised_taxes - value = 0 - } - set_variable = { - var = RAJ_war_taxes_war_support - value = 0 - } - set_variable = { - var = RAJ_war_taxes_stability - value = 0 - } - set_variable = { - var = RAJ_war_taxes_mil - value = 0 - } - } - } - } - } - - #FROM is war target - #ROOT is country declaring war - on_declare_war = { - effect = { - IF = { - limit = { - has_dlc = "Graveyard of Empires" - AND = { - OR = { - FROM = { - original_tag = AFG - has_country_flag = AFG_signed_oil_deal_flag - } - ROOT = { - original_tag = AFG - has_country_flag = AFG_signed_oil_deal_flag - } - } - OR = { - FROM = { - has_country_flag = made_oil_deal_with_afg_flag - } - ROOT = { - has_country_flag = made_oil_deal_with_afg_flag - } - } - } - } - IF = { - limit = { - FROM = { - has_country_flag = made_oil_deal_with_afg_flag - } - } - FROM = { - country_event = { - id = AFG_industrial_events.16 - hours = 1 - } - remove_resource_rights = 267 - } - } - ELSE = { - ROOT = { - country_event = { - id = AFG_industrial_events.16 - hours = 1 - } - remove_resource_rights = 267 - } - } - } - #Picking out who is the leader in a war when invading Iran - IF = { - limit = { - FROM = { - original_tag = PER - NOT = { - has_country_flag = PER_has_been_invaded - } - } - has_dlc = "Graveyard of Empires" - } - ROOT = { - set_country_flag = PER_invading_country_flag - } - FROM = { - hidden_effect = { - set_country_flag = PER_has_been_invaded - } - } - } - } - } - - on_subject_free = { - effect = { - ##ROOT is subject FROM is previous overlord - if = { - limit = { - OR = { - ROOT = { - original_tag = PAK - } - - FROM = { - original_tag = RAJ - } - } - } - - RAJ = { - every_army_leader = { - limit = { - has_trait = loyalty_to_pakistan - } - - set_nationality = PAK - } - } - } - - - if = { - limit = { - ROOT = { - has_dlc = "Graveyard of Empires" - has_dynamic_modifier = { modifier = idea_RAJ_tea_exports } - } - } - - ROOT = { remove_dynamic_modifier = { modifier = idea_RAJ_tea_exports } } - } - - if = { - limit = { - ROOT = { has_variable = RAJ_times_expanded_tea_exports } - } - ROOT = { - clear_variable = RAJ_times_expanded_tea_exports - set_variable = { RAJ_times_expanded_tea_exports = 0 } - } - } - } - } - - #ROOT is capitulated country, FROM is winner. - on_capitulation_immediate = { - effect = { - if = { - limit = { - ROOT = { is_raj_or_raj_inheritor = yes } - } - - for_each_scope_loop = { - array = RAJ.owned_states_at_game_start - if = { - limit = { - controller = { - NOT = { is_raj_or_raj_inheritor = yes } - NOT = { is_in_faction_with = ROOT } - } - - NOT = { has_dynamic_modifier = { modifier = idea_RAJ_resistant_to_occupation } } - NOT = {has_state_flag = RAJ_resistance_already_squashed_flag } - } - - add_dynamic_modifier = { - modifier = idea_RAJ_resistant_to_occupation - days = 1400 - } - - - } - } - } - - #Bose capitulated other RAJ - if = { - limit = { - ROOT = { - original_tag = RAJ - } - FROM = { - has_war_with = ENG - original_tag = RAJ - OR = { - has_country_leader = { - character = RAJ_subhas_chanda_bose - } - - has_country_leader = { - character = RAJ_v_d_savarkar - } - } - } - } - - RAJ = { country_event = { id = GOE_RAJ.21 hours = 2 } } - } - } - #Capitulations Pertaining to Achievements - effect = { - if = { - limit = { - ROOT = { - OR = { - original_tag = AFG - original_tag = IRQ - original_tag = PER - original_tag = RAJ - } - } - FROM = { - OR = { - #any_other_country = { - # is_in_faction_with = FROM - #} - original_tag = AFG - original_tag = IRQ - original_tag = PER - original_tag = RAJ - } - } - } - if = { - limit = { - ROOT = { - original_tag = AFG - } - } - FROM = { - set_country_flag = GOE_capitulated_AFG - } - } - if = { - limit = { - ROOT = { - original_tag = IRQ - } - } - FROM = { - set_country_flag = GOE_capitulated_IRQ - } - } - if = { - limit = { - ROOT = { - original_tag = PER - } - } - FROM = { - set_country_flag = GOE_capitulated_PER - } - } - if = { - limit = { - ROOT = { - original_tag = RAJ - } - } - FROM = { - set_country_flag = GOE_capitulated_RAJ - } - } - } - if = { - limit = { - ROOT = { - original_tag = SOV - } - FROM = { - original_tag = AFG - } - } - FROM = { - set_country_flag = AFG_capitulated_Soviet - } - } - if = { - limit = { - ROOT = { - tag = POL - } - } - ROOT = { - set_country_flag = POL_has_capitulated_flag - } - } - if = { - limit = { - ROOT = { - original_tag = SAU - } - FROM = { - original_tag = IRQ - } - } - FROM = { - set_country_flag = IRQ_capitulated_SAU - } - } - } - effect = { - IF = { - limit = { - ROOT = { - tag = RAJ - has_country_flag = RAJ_mughal_uprising_started - } - } - ROOT = { - clr_country_flag = RAJ_mughal_uprising_started - } - FROM = { - annex_country = { - target = ROOT - transfer_troops = no - } - } - } - } - } - - #ROOT is new controller, FROM is old controller, FROM.FROM is state ID. - on_state_control_changed = { - effect = { - if = { - limit = { - has_dlc = "Graveyard of Empires" - FROM.FROM = { state = 733 } - ROOT = { - OR = { - AND = { - original_tag = JAP - has_country_flag = agreed_to_help_bose - NOT = { has_war_with = RAJ } - } - AND = { - original_tag = RAJ - OR = { - has_country_leader = { character = RAJ_subhas_chanda_bose } - has_country_leader = { character = RAJ_v_d_savarkar } - } - } - } - } - } - RAJ = { - transfer_state = 733 - } - } - - if = { - limit = { - has_dlc = "Graveyard of Empires" - - FROM = { - is_raj_or_raj_inheritor = yes - } - is_in_array = { - array = RAJ.owned_states_at_game_start - value = FROM.FROM - } - - NOT = { - has_dynamic_modifier = { modifier = idea_RAJ_resistant_to_occupation } - } - ROOT = { has_war_with = FROM } - FROM.FROM = { NOT = { is_core_of = ROOT } } - - } - - FROM.FROM = { - add_dynamic_modifier = { - modifier = idea_RAJ_resistant_to_occupation - days = 1400 - } - - set_state_flag = RAJ_resistance_already_squashed_flag - } - } - else_if = { - limit = { - has_dlc = "Graveyard of Empires" - ROOT = { - is_raj_or_raj_inheritor = yes - } - - FROM.FROM = { has_dynamic_modifier = { modifier = idea_RAJ_resistant_to_occupation } } - } - FROM.FROM = { remove_dynamic_modifier = { modifier = idea_RAJ_resistant_to_occupation } } - } - - if = { #Free Bose - limit = { - has_dlc = "Graveyard of Empires" - RAJ = { has_country_flag = has_arrested_bose } - FROM.FROM = { state = var:global.bose_arrest_location } - } - - RAJ = { country_event = { id = GOE_RAJ.26 hours = 2 } } - } - - if = { - limit = { - FROM.FROM = { - OR = { - is_core_of = BRM - is_in_array = { - array = RAJ.owned_states_at_game_start - value = THIS - } - NOT = { has_state_flag = RAJ_time_to_retake_state_famine } - } - } - - FROM = { - OR = { - original_tag = RAJ - original_tag = BRM - } - } - } - - FROM.FROM = { - set_state_flag = { flag = RAJ_time_to_retake_state_famine days = 30 value = 1 } - } - } - } - effect = { #does not work when placed in on_capitulation or on_annexation, might be connected to an assert that fires off once the Raj caps the Mughals stating that the Raj doesn't have a war with them... - if = { - limit = { - has_dlc = "Graveyard of Empires" - FROM.FROM = { - has_dynamic_modifier = { - modifier = idea_RAJ_mughal_influence - } - } - } - - FROM.FROM = { - remove_dynamic_modifier = { - modifier = idea_RAJ_mughal_influence - days = 1400 - } - } - } - } - - effect = { #does not work when placed in on_capitulation or on_annexation, might be connected to an assert that fires off once the Raj caps the Mughals stating that the Raj doesn't have a war with them... - if = { - limit = { - has_dlc = "Graveyard of Empires" - ROOT = { - original_tag = RAJ - has_completed_focus = RAJ_the_legacy_of_babur - } - FROM.FROM = { - NOT = { - has_dynamic_modifier = { - modifier = idea_RAJ_mughal_influence - } - } - } - } - - FROM.FROM = { - add_dynamic_modifier = { - modifier = idea_RAJ_mughal_influence - } - } - } - } - } - - #FROM is faction leader on join faction requests. THIS DOES NOT FIRE ON ADD_TO_FACTION EFFECT! USE ON_OFFER_JOIN_FACTION! - ON_OFFER_JOIN_FACTION = { - effect = { # Adding the correct stuff for faction joiners for the AH joint focus tree - IF = { - limit = { - has_dlc = "Graveyard of Empires" - FROM = { - original_tag = AFG - has_idea = neutrality_idea - } - } - FROM = { - remove_ideas = { - idea = neutrality_idea - } - } - } - } - } - - #ROOT is sender, FROM is receiver. - on_send_volunteers = { - effect = { - if = { - limit = { - ROOT = { - has_completed_focus = RAJ_a_private_military - NOT = { - is_in_array = { - array = pmc_recievers - value = FROM - } - } - } - - } - - ROOT = { - add_to_array = { pmc_recievers = FROM } - log = "[FROM.GetName]" - add_to_array = { pmc_timer = 77 } #in weeks - add_offsite_building = { - type = industrial_complex - level = 1 - } - } - } - } - } - - on_monthly_PER = { - effect = { - IF = { - limit = { - AND = { - kurdistan_exists = no - 1000 = { - is_owned_by = SOU - } - 420 = { - is_owned_by = SOU - } - 419 = { - is_owned_by = SOU - } - SOU = { - has_government = communism - } - } - } - SOU = { - country_event = { - id = PER_communist_events.20 - hours = 1 - } - } - } - } - } - - on_monthly_PAL = { - effect = { - IF = { - limit = { - date > 1936.3.1 - OR = { - PAL = { - exists = yes - is_subject_of = ENG - } - 454 = { - is_owned_by = ENG - } - } - NOT = { has_global_flag = the_1936_PAL_revolt_has_happened } - } - every_country = { - limit = { - OR = { - tag = ENG - capital_scope = { - is_on_continent = middle_east - } - } - } - news_event = { - id = GOE_IRQ_news.1 - days = 19 - } - } - set_global_flag = the_1936_PAL_revolt_has_happened - } - } - } - - on_release_as_puppet = { - effect = { - IF = { - limit = { - FROM = { original_tag = RAJ } - ROOT = { - is_in_array = { - array = RAJ.raj_releasables - value = THIS - } - } - } - RAJ = { - if = { - limit = { - check_variable = { RAJ_hindu_mahasabha_released < 0.32 } - } - add_to_variable = { RAJ_hindu_mahasabha_released = 0.04 } - } - } - RAJ = { - add_to_variable = { RAJ_hindu_mahasabha_counter = 1 } - } - } - RAJ = { - clamp_variable = { - var = RAJ_hindu_mahasabha_released - min = 0 - max = 32 - } - } - } - } - - on_capitulation = { - effect = { - IF = { - limit = { - ROOT = { - is_in_array = { - array = RAJ.raj_releasables - value = THIS - } - } - RAJ = { check_variable = { RAJ_hindu_mahasabha_released > 0.03 } } - } - RAJ = { - if = { - limit = { - check_variable = { RAJ_hindu_mahasabha_counter < 8 } - } - subtract_from_variable = { RAJ_hindu_mahasabha_released = 0.04 } - } - subtract_from_variable = { RAJ_hindu_mahasabha_counter = 1 } - } - } - RAJ = { - clamp_variable = { - var = RAJ_hindu_mahasabha_released - min = 0 - max = 32 - } - } - } - } - - on_subject_annexed = { - effect = { - IF = { - limit = { - FROM = { original_tag = RAJ } - ROOT = { - is_in_array = { - array = RAJ.raj_releasables - value = THIS - } - } - RAJ = { check_variable = { RAJ_hindu_mahasabha_released > 0.03 } } - } - RAJ = { - if = { - limit = { - check_variable = { RAJ_hindu_mahasabha_counter < 8 } - } - subtract_from_variable = { RAJ_hindu_mahasabha_released = 0.04 } - } - subtract_from_variable = { RAJ_hindu_mahasabha_counter = 1 } - } - } - RAJ = { - clamp_variable = { - var = RAJ_hindu_mahasabha_released - min = 0 - max = 32 - } - } - } - } - - on_subject_free = { - effect = { - IF = { - limit = { - FROM = { original_tag = RAJ } - ROOT = { - is_in_array = { - array = RAJ.raj_releasables - value = THIS - } - } - RAJ = { check_variable = { RAJ_hindu_mahasabha_released > 0.03 } } - } - RAJ = { - if = { - limit = { - check_variable = { RAJ_hindu_mahasabha_counter < 8 } - } - subtract_from_variable = { RAJ_hindu_mahasabha_released = 0.04 } - } - subtract_from_variable = { RAJ_hindu_mahasabha_counter = 1 } - } - } - RAJ = { - clamp_variable = { - var = RAJ_hindu_mahasabha_released - min = 0 - max = 32 - } - } - } - } - - on_declare_war = { - effect = { - IF = { - limit = { - OR = { - tag = IRQ - tag = AFG - tag = PER - tag = TUR - } - has_dynamic_modifier = { modifier = SSB_saadabad_pact } - OR = { - AND = { - FROM = { tag = PER } - PER = { has_dynamic_modifier = { modifier = SSB_saadabad_pact} } - } - AND = { - FROM = { tag = TUR } - TUR = { has_dynamic_modifier = { modifier = SSB_saadabad_pact} } - } - AND = { - FROM = { tag = AFG } - AFG = { has_dynamic_modifier = { modifier = SSB_saadabad_pact} } - } - AND = { - FROM = { tag = IRQ } - IRQ = { has_dynamic_modifier = { modifier = SSB_saadabad_pact} } - } - } - } - custom_effect_tooltip = SSB_you_will_lose_the_bonus_tt - hidden_effect = { - remove_dynamic_modifier = { modifier = SSB_saadabad_pact } - PER = { - if = { - limit = { has_dynamic_modifier = { modifier = SSB_saadabad_pact } } - country_event = { - id = PER_SSB_events.8 - hours = 12 - } - } - } - AFG = { - if = { - limit = { has_dynamic_modifier = { modifier = SSB_saadabad_pact } } - country_event = { - id = PER_SSB_events.8 - hours = 12 - } - } - } - IRQ = { - if = { - limit = { has_dynamic_modifier = { modifier = SSB_saadabad_pact } } - country_event = { - id = PER_SSB_events.8 - hours = 12 - } - } - } - TUR = { - if = { - limit = { has_dynamic_modifier = { modifier = SSB_saadabad_pact } } - country_event = { - id = PER_SSB_events.8 - hours = 12 - } - } - } - } - } - } - } - - on_annex = { - effect = { - if = { - limit = { - FROM = { - has_country_flag = IRQ_has_become_kurdistan_flag - } - } - clr_global_flag = kurdistan_exists_flag - } - } - } -} \ No newline at end of file diff --git a/src/common/on_actions/ai+pp_actions.txt b/src/common/on_actions/ai+pp_actions.txt index a00962e..0bf6f4a 100755 --- a/src/common/on_actions/ai+pp_actions.txt +++ b/src/common/on_actions/ai+pp_actions.txt @@ -10,10 +10,10 @@ on_actions = { } } } - on_monthly = { + on_monthly_CHY = { effect = { IF = { OR = { not = { has_global_flag = tianchengzhaohuan } not = { has_global_flag = tianchengzhaohuan_not } } } - every_country = { + CHY = { limit = { has_character = CHY_tiancheng OR = { has_tech = radio_detection is_ai = yes } diff --git a/src/common/on_actions/az_doh_dh1.txt b/src/common/on_actions/az_doh_dh1.txt index c0bf476..5b9579b 100755 --- a/src/common/on_actions/az_doh_dh1.txt +++ b/src/common/on_actions/az_doh_dh1.txt @@ -41,7 +41,7 @@ on_actions = { } } } - on_weekly = { + on_weekly_DOH = { effect = { DOH_modifier_effect = yes DOH_point_weekly_limit = yes @@ -81,7 +81,7 @@ on_actions = { } } } - on_monthly = { + on_monthly_DH1 = { effect = { if = { limit = { diff --git a/src/common/special_projects/projects/az_superwar_special_projects.txt b/src/common/special_projects/projects/az_superwar_special_projects.txt index 2b21b6d..5d63ca9 100755 --- a/src/common/special_projects/projects/az_superwar_special_projects.txt +++ b/src/common/special_projects/projects/az_superwar_special_projects.txt @@ -15,9 +15,13 @@ chromium = 10 } } - visible = { + allowed = { FROM = { tag = BFL + } + } + visible = { + FROM = { is_ai = no } } @@ -61,12 +65,19 @@ chromium = 30 } } - visible = { + + allowed = { FROM = { tag = BFL + } + } + + visible = { + FROM = { is_ai = no } } + available = { } @@ -108,12 +119,19 @@ chromium = 50 } } - visible = { + + allowed = { FROM = { tag = BFL + } + } + + visible = { + FROM = { is_ai = no } } + available = { } @@ -289,9 +307,13 @@ chromium = 10 } } - visible = { + allowed = { FROM = { tag = TIX + } + } + visible = { + FROM = { is_ai = no } } @@ -335,9 +357,13 @@ chromium = 30 } } - visible = { + allowed = { FROM = { tag = TIX + } + } + visible = { + FROM = { is_ai = no } } @@ -382,9 +408,13 @@ chromium = 50 } } - visible = { + allowed = { FROM = { tag = TIX + } + } + visible = { + FROM = { is_ai = no } } @@ -458,9 +488,13 @@ chromium = 10 } } - visible = { + allowed = { FROM = { tag = HUJ + } + } + visible = { + FROM = { is_ai = no } } @@ -504,9 +538,13 @@ chromium = 30 } } - visible = { + allowed = { FROM = { tag = HUJ + } + } + visible = { + FROM = { is_ai = no } } @@ -551,9 +589,13 @@ chromium = 50 } } - visible = { + allowed = { FROM = { tag = HUJ + } + } + visible = { + FROM = { is_ai = no } } @@ -596,9 +638,13 @@ chromium = 10 } } - visible = { + allowed = { FROM = { tag = YUW + } + } + visible = { + FROM = { is_ai = no } } @@ -642,9 +688,13 @@ chromium = 30 } } - visible = { + allowed = { FROM = { tag = YUW + } + } + visible = { + FROM = { is_ai = no } } @@ -689,9 +739,13 @@ chromium = 50 } } - visible = { + allowed = { FROM = { tag = YUW + } + } + visible = { + FROM = { is_ai = no } } @@ -743,9 +797,13 @@ chromium = 10 } } - visible = { + allowed = { FROM = { tag = BYG + } + } + visible = { + FROM = { is_ai = no } } @@ -789,9 +847,13 @@ chromium = 30 } } - visible = { + allowed = { FROM = { tag = BYG + } + } + visible = { + FROM = { is_ai = no } } @@ -836,9 +898,13 @@ chromium = 50 } } - visible = { + allowed = { FROM = { tag = BYG + } + } + visible = { + FROM = { is_ai = no } } @@ -880,9 +946,13 @@ chromium = 10 } } - visible = { + allowed = { FROM = { tag = BYG + } + } + visible = { + FROM = { is_ai = no } } @@ -926,9 +996,13 @@ chromium = 30 } } - visible = { + allowed = { FROM = { tag = BYG + } + } + visible = { + FROM = { is_ai = no } } @@ -973,9 +1047,13 @@ chromium = 50 } } - visible = { + allowed = { FROM = { tag = BYG + } + } + visible = { + FROM = { is_ai = no } } @@ -1017,9 +1095,13 @@ chromium = 10 } } - visible = { + allowed = { FROM = { tag = SAD + } + } + visible = { + FROM = { is_ai = no } } @@ -1063,9 +1145,13 @@ chromium = 30 } } - visible = { + allowed = { FROM = { tag = SAD + } + } + visible = { + FROM = { is_ai = no } } @@ -1110,9 +1196,13 @@ chromium = 50 } } - visible = { + allowed = { FROM = { tag = SAD + } + } + visible = { + FROM = { is_ai = no } } @@ -1154,9 +1244,13 @@ chromium = 10 } } - visible = { + allowed = { FROM = { tag = CHY + } + } + visible = { + FROM = { is_ai = no } } @@ -1200,9 +1294,13 @@ chromium = 30 } } - visible = { + allowed = { FROM = { tag = CHY + } + } + visible = { + FROM = { is_ai = no } } @@ -1247,9 +1345,13 @@ chromium = 50 } } - visible = { + allowed = { FROM = { tag = CHY + } + } + visible = { + FROM = { is_ai = no } } @@ -1291,9 +1393,13 @@ chromium = 10 } } - visible = { + allowed = { FROM = { tag = DOH + } + } + visible = { + FROM = { is_ai = no } } @@ -1339,9 +1445,13 @@ chromium = 30 } } - visible = { + allowed = { FROM = { tag = DOH + } + } + visible = { + FROM = { is_ai = no } } @@ -1386,9 +1496,13 @@ chromium = 50 } } - visible = { + allowed = { FROM = { tag = DOH + } + } + visible = { + FROM = { is_ai = no } } diff --git a/src/events/AZ_tianjiangEvents.txt b/src/events/AZ_tianjiangEvents.txt index c92b8d7..1045f95 100755 --- a/src/events/AZ_tianjiangEvents.txt +++ b/src/events/AZ_tianjiangEvents.txt @@ -10464,6 +10464,18 @@ country_event = { activate_mission = AZ_fkAI_xuanzebuff_time set_country_flag = AZ_fkAI_playertime add_ideas = TY_fkAI_wanjiagangtiezhiqu + add_ideas = TY_fkAIdebuffplayer + } + every_country = { + limit = { + is_ai = no + OR = { + tag = TIX + tag = YUW + tag = BFL + } + } + add_ideas = TY_fkAIdebuffplayer_teding } } ai_chance = { @@ -13120,7 +13132,7 @@ country_event = { country_event = { id = az_tianjiang.389 - title = "关于每周挑战" + title = "关于每月挑战" desc = az_tianjiang.389.d picture = GFX_report_event_generic_read_write is_triggered_only = yes @@ -13443,7 +13455,7 @@ country_event = { country_event = { id = az_tianjiang.412 title = "自选稀有效果!" - desc = "恭喜你完美达成了每周挑战的通关条件!现在你可以在这里自选一个想要的特殊效果。" + desc = "恭喜你完美达成了每月挑战的通关条件!现在你可以在这里自选一个想要的特殊效果。" picture = GFX_aze_kelifulan is_triggered_only = yes option = { @@ -13498,10 +13510,22 @@ country_event = { } } } + trigger = { + HUJ = { is_ai = yes } + BYG = { is_ai = yes } + YUW = { is_ai = yes } + DOH = { is_ai = yes } + } ai_chance = { base = 100 } } + option = { + name = "谁?" + ai_chance = { + base = 1 + } + } } country_event = { diff --git a/src/events/CHY_new1_shijian.txt b/src/events/CHY_new1_shijian.txt index 400b6ec..0a93923 100755 --- a/src/events/CHY_new1_shijian.txt +++ b/src/events/CHY_new1_shijian.txt @@ -507,6 +507,7 @@ country_event = { transfer_state = 717 transfer_state = 328 transfer_state = 524 + transfer_state = 1043 CHY = { country_event = CHY_new1_shijian.1301 } diff --git a/src/events/CHY_shijian.txt b/src/events/CHY_shijian.txt index 6baddd3..0da3545 100755 --- a/src/events/CHY_shijian.txt +++ b/src/events/CHY_shijian.txt @@ -400,6 +400,13 @@ country_event = { transfer_state = 328 transfer_state = 610 transfer_state = 715 + transfer_state = 717 + transfer_state = 714 + transfer_state = 761 + transfer_state = 611 + transfer_state = 612 + transfer_state = 1043 + transfer_state = 609 } } option = { @@ -611,6 +618,7 @@ country_event = { transfer_state = 717 transfer_state = 328 transfer_state = 524 + transfer_state = 1043 } option = { name = CHY_event.27.b @@ -650,6 +658,7 @@ country_event = { transfer_state = 717 transfer_state = 328 transfer_state = 524 + transfer_state = 1043 } } diff --git a/src/events/MTG_Netherlands.txt b/src/events/MTG_Netherlands.txt index 9761193..895bd85 100755 --- a/src/events/MTG_Netherlands.txt +++ b/src/events/MTG_Netherlands.txt @@ -472,11 +472,11 @@ country_event = { ideology = democratic popularity = -0.05 } - #retire_country_leader = yes - #promote_character = { - # character = HOL_pieter_sjoerds_gerbrandy - # ideology = conservatism - #} + retire_country_leader = yes + promote_character = { + character = HOL_pieter_sjoerds_gerbrandy + ideology = conservatism + } if = { limit = { has_idea = HOL_weak_government @@ -936,7 +936,7 @@ country_event = { factor = 50 modifier = { factor = 0 - is_in_faction_with = SOV + is_in_faction_with = BFL } modifier = { factor = 0 @@ -1017,7 +1017,7 @@ country_event = { factor = 50 modifier = { factor = 0 - is_in_faction_with = SOV + is_in_faction_with = BFL } modifier = { factor = 0 @@ -1098,7 +1098,7 @@ country_event = { factor = 50 modifier = { factor = 0 - is_in_faction_with = SOV + is_in_faction_with = BFL } modifier = { factor = 0 @@ -1280,7 +1280,7 @@ country_event = { factor = 50 modifier = { factor = 0 - is_in_faction_with = SOV + is_in_faction_with = BFL } modifier = { factor = 0 @@ -1476,7 +1476,7 @@ country_event = { factor = 50 modifier = { factor = 0 - is_in_faction_with = SOV + is_in_faction_with = BFL } modifier = { factor = 0 @@ -1704,7 +1704,7 @@ country_event = { factor = 50 modifier = { factor = 0 - is_in_faction_with = SOV + is_in_faction_with = BFL } modifier = { factor = 0 @@ -2774,7 +2774,7 @@ country_event = { name = excellent if = { limit = { - any_state = { + any_controlled_state = { is_fully_controlled_by = ROOT is_on_continent = europe } @@ -3010,7 +3010,11 @@ country_event = { autonomy_state = autonomy_free } } - create_faction = GER_central_powers_faction + create_faction_from_template = { + template = faction_template_GER_mitteleuropa_alliance + name = GER_central_powers_faction + icon = GFX_faction_logo_generic_13 + } add_to_faction = HOL } } diff --git a/src/events/NSB_NewsEvents.txt b/src/events/NSB_NewsEvents.txt deleted file mode 100755 index 8c96310..0000000 --- a/src/events/NSB_NewsEvents.txt +++ /dev/null @@ -1,1370 +0,0 @@ -add_namespace = nsb_news - -#Polish Peasant's strike civil war -news_event = { - id = nsb_news.1 - title = nsb_news.1.t - desc = nsb_news.1.desc - picture = GFX_news_event_ger_civil_war - - major = yes - - is_triggered_only = yes - - option = { #Communist nations - name = nsb_news.1.a - trigger = { - has_government = communism - NOT = { tag = POL } - } - } - - option = { #Sanation Poland - name = nsb_news.1.b - trigger = { - original_tag = POL - NOT = { has_cosmetic_tag = POL_PEASANT } - } - } - - option = { #Peasant Poland - name = nsb_news.1.c - trigger = { - original_tag = POL - has_cosmetic_tag = POL_PEASANT - } - } - - option = { #Fascist Germany revels at Poland tearing itself apart - name = nsb_news.1.d - trigger = { - has_government = fascism - original_tag = GER - } - } - - option = { #Fallback - Others - name = nsb_news.1.e - trigger = { - NOT = { has_government = communism } - OR = { - NOT = { - original_tag = POL - } - AND = { - original_tag = GER - NOT = { has_government = fascism } - } - } - } - } -} - -#Poland gains Liberia -news_event = { - id = nsb_news.2 - title = nsb_news.2.t - desc = { - text = nsb_news.2.desc.dem - trigger = { - POL = { NOT = { has_government = communism } } - } - } - desc = { - text = nsb_news.2.desc.com - trigger = { - POL = { has_government = communism } - } - } - picture = GFX_news_event_imro - - major = yes - - is_triggered_only = yes - - option = { #USA mad - name = nsb_news.2.a - trigger = { - original_tag = USA - } - add_opinion_modifier = { - target = POL - modifier = annex_liberia_opinion - } - } - - option = { #Liberia, I for one welcome our Polish overlords. - name = nsb_news.2.b - trigger = { - original_tag = LIB - } - } - - option = { #Poland - name = nsb_news.2.c - trigger = { - original_tag = POL - } - } - - option = { #Fallback - Others - name = nsb_news.2.d - trigger = { - NOT = { - original_tag = POL - original_tag = LIB - original_tag = USA - has_government = communism - } - } - } - - option = { #Communist nations and Poland is not Communist - name = nsb_news.2.e - trigger = { - has_government = communism - POL = { NOT = { has_government = communism } } - NOT = { tag = POL } - } - } - - option = { #Communist nations and Poland is Communist - name = nsb_news.2.f - trigger = { - has_government = communism - POL = { has_government = communism } - NOT = { tag = POL } - NOT = { tag = LIB } - } - } -} - -# United Turkestan -news_event = { - id = nsb_news.3 - title = nsb_news.3.t - desc = nsb_news.3.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.3.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.3.b - trigger = { - NOT = { tag = FROM } - } - } -} - -# Clamp Down on Danzig -news_event = { - id = nsb_news.4 - title = nsb_news.4.t - desc = nsb_news.4.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.4.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.4.b - trigger = { - NOT = { tag = FROM } - has_government = democratic - GER = { - NOT = { - OR = { - has_completed_focus = GER_rhineland - has_completed_focus = GER_oppose_hitler - } - } - } - } - } - option = { - name = nsb_news.4.c - trigger = { - NOT = { tag = FROM } - has_government = democratic - GER = { - OR = { - has_completed_focus = GER_rhineland - has_completed_focus = GER_oppose_hitler - } - } - } - } - option = { - name = nsb_news.4.d - trigger = { - tag = GER - NOT = { has_government = democratic } - } - } - option = { - name = nsb_news.4.e - trigger = { - NOT = { tag = GER } - NOT = { tag = FROM } - NOT = { has_government = democratic } - } - } -} - -# Poland chooses a King -news_event = { - id = nsb_news.5 - title = nsb_news.5.t - desc = { - text = nsb_news.5.desc.saxon - trigger = { - POL = { has_completed_focus = POL_claiming_lithuania } - } - } - desc = { - text = nsb_news.5.desc.romania - trigger = { - POL = { has_completed_focus = POL_hohenzollern } - } - } - desc = { - text = nsb_news.5.desc.cossack - trigger = { - POL = { has_completed_focus = POL_cossack_king } - } - } - desc = { - text = nsb_news.5.desc.romanov - trigger = { - POL = { has_completed_focus = POL_romanov } - } - } - desc = { - text = nsb_news.5.desc.habsburg - trigger = { - POL = { has_completed_focus = POL_habsburg } - } - } - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.5.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.5.b - trigger = { - NOT = { tag = FROM } - POL = { - NOT = { - OR = { - has_completed_focus = POL_cossack_king - has_completed_focus = POL_romanov - } - } - } - } - } - option = { - name = nsb_news.5.c - trigger = { - NOT = { tag = FROM } - POL = { - OR = { - has_completed_focus = POL_cossack_king - has_completed_focus = POL_romanov - } - } - } - } -} - -# Poland becomes fascist -news_event = { - id = nsb_news.6 - title = nsb_news.6.t - desc = nsb_news.6.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.6.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.6.b - trigger = { - NOT = { tag = FROM } - has_government = democratic - } - } - option = { - name = nsb_news.4.e - trigger = { - NOT = { tag = FROM } - NOT = { has_government = democratic } - } - } -} - -# Poland and somebody else enters PU -news_event = { - id = nsb_news.7 - title = nsb_news.7.t - desc = nsb_news.7.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.7.a - trigger = { - OR = { - tag = FROM - tag = POL - } - } - } - option = { - name = nsb_news.7.b - trigger = { - NOT = { - tag = FROM - tag = POL - } - } - } -} - -# Karl Gero becomes King of Lithuania -news_event = { - id = nsb_news.8 - title = nsb_news.8.t - desc = nsb_news.8.desc - picture = GFX_news_event_023 - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.8.a - trigger = { - NOT = { tag = POL } - has_government = communism - } - } - - option = { - name = nsb_news.8.b - trigger = { - tag = POL - } - } - - option = { - name = nsb_news.8.c - trigger = { - tag = LIT - } - } - - option = { - name = nsb_news.8.d - trigger = { - NOT = { - tag = LIT - tag = POL - has_government = communism - } - } - } -} - - -# Soviet Civil War -news_event = { - id = nsb_news.9 - title = nsb_news.9.t - desc = { - text = nsb_news.9.desc_left - trigger = { - SOV = { SOV_is_left_opposition = yes } - } - } - desc = { - text = nsb_news.9.desc_right - trigger = { - SOV = { SOV_is_right_opposition = yes } - } - } - desc = { - text = nsb_news.9.desc_exiles - trigger = { - SOV = { SOV_is_exiles = yes } - } - } - - picture = GFX_news_event_generic_riot - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.9.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.9.b - trigger = { - NOT = { tag = FROM } - has_government = democratic - SOV = { has_government = communism } - } - } - option = { - name = nsb_news.9.c - trigger = { - NOT = { tag = FROM } - OR = { - has_government = fascism - has_government = neutrality - } - NOT = {has_country_leader_ideology = anarchism} - SOV = { has_government = communism } - } - } - option = { - name = nsb_news.9.d - trigger = { - NOT = { tag = FROM } - has_country_leader_ideology = stalinism - SOV = { has_government = communism } - } - } - option = { - name = nsb_news.9.e - trigger = { - NOT = { tag = FROM } - has_government = communism - NOT = { has_country_leader_ideology = stalinism } - SOV = { has_government = communism } - } - } - option = { - name = nsb_news.9.f - trigger = { - NOT = { tag = FROM } - has_country_leader_ideology = anarchism - } - } - option = { - name = nsb_news.9.g - trigger = { - NOT = { tag = FROM } - has_government = democratic - SOV = { NOT = { has_government = communism } } - } - } - option = { - name = nsb_news.9.h - trigger = { - NOT = { tag = FROM } - has_government = communism - SOV = { NOT = { has_government = communism } } - } - } - option = { - name = nsb_news.9.i - trigger = { - NOT = { tag = FROM } - NOT = { has_government = communism } - NOT = { has_government = democratic } - NOT = { has_country_leader_ideology = anarchism } - SOV = { NOT = { has_government = communism } } - } - } -} -# Soviet Civil War Over -news_event = { - id = nsb_news.10 - title = nsb_news.10.t - picture = GFX_news_event_generic_ruins - major = yes - is_triggered_only = yes - # Stalinist Victory - desc = { - text = nsb_news.10.desc_stalinist - trigger = { - SOS = { exists = yes } - } - } - # Communist Opposition Victory - desc = { - text = nsb_news.10.desc_communist_opposition - trigger = { - OR = { - SOT = { exists = yes } - SOB = { exists = yes } - } - } - } - # Exiles Victory - Not puppet of Japan - desc = { - text = nsb_news.10.desc_exiles - trigger = { - SOP = { - exists = yes - is_puppet = no - } - } - } - # Exiles Victory - Puppet of Japan - desc = { - text = nsb_news.10.desc_exiles_puppet - trigger = { - SOP = { - exists = yes - is_puppet = yes - } - } - } - option = { - name = nsb_news.10.a - trigger = { - tag = FROM - } - } - ### Exiles Victory - # Communist countries - option = { - name = nsb_news.10.b - trigger = { - NOT = { tag = FROM } - ROOT = { - has_government = communism - } - SOV = { NOT = { has_government = communism } } - } - } - # Democracies - option = { - name = nsb_news.10.c - trigger = { - NOT = { tag = FROM } - ROOT = { - has_government = democratic - } - SOV = { NOT = { has_government = communism } } - } - } - # Others - option = { - name = nsb_news.10.d - trigger = { - NOT = { tag = FROM } - ROOT = { - NOT = { has_government = democratic } - NOT = { has_government = communism } - } - SOV = { NOT = { has_government = communism } } - } - } - ### Communist Victory - # Non-Stalinist Communist countries - option = { - name = nsb_news.10.e - trigger = { - NOT = { tag = FROM } - ROOT = { - has_government = communism - NOT = { has_country_leader_ideology = stalinism } - } - SOV = { has_government = communism } - } - } - # Stalinist Communist countries - option = { - name = nsb_news.10.f - trigger = { - NOT = { tag = FROM } - ROOT = { - has_government = communism - has_country_leader_ideology = stalinism - } - SOV = { has_government = communism } - } - } - # Others - option = { - name = nsb_news.10.g - trigger = { - NOT = { tag = FROM } - ROOT = { - NOT = { has_government = communism } - } - SOV = { has_government = communism } - } - } -} - -# The Death of Stalin -news_event = { - id = nsb_news.11 - title = nsb_news.11.t - desc = nsb_news.11.desc - picture = GFX_news_event_generic_funeral - - is_triggered_only = yes - - option = { - name = nsb_news.11.a - trigger = { - NOT = { has_country_leader_ideology = stalinism } - } - } - option = { - name = nsb_news.11.b - trigger = { has_country_leader_ideology = stalinism } - } - -} -# Beriya Coup -news_event = { - id = nsb_news.12 - title = nsb_news.12.t - desc = nsb_news.12.desc - picture = GFX_news_event_soviet_tanks - - is_triggered_only = yes - - option = { - name = nsb_news.12.a - trigger = { - NOT = { has_country_leader_ideology = stalinism } - } - } - option = { - name = nsb_news.12.b - trigger = { has_country_leader_ideology = stalinism } - } - -} -# Trotsky Assassination (raid on his villa) -news_event = { - id = nsb_news.100 - title = news.37.t - desc = nsb_news.100.desc - picture = GFX_news_event_024 - - major = yes - - is_triggered_only = yes - - immediate = { - hidden_effect = { - if = { - limit = { - tag = SOV - } - SOV_kill_trotsky_effect = yes - } - } - } - - option = { - name = news.37.a - trigger = { - NOT = { - TAG = SOV - is_in_faction_with = SOV - tag = MEX - } - } - } - - option = { - name = news.37.a - trigger = { - tag = MEX - NOT = { is_in_faction_with = SOV } - } - - effect_tooltip = { - retire_character = MEX_leon_trotsky - } - } - - option = { - name = news.37.b - trigger = { TAG = SOV } - - if = { - limit = { - has_idea = trotskyite_plot_nsb - } - effect_tooltip = { - retire_character = SOV_lev_trotsky - } - swap_ideas = { - remove_idea = trotskyite_plot_nsb - add_idea = trotskyite_plot_purged - } - } - } - - option = { - name = news.37.c - trigger = { - is_in_faction_with = SOV - NOT = { - tag = SOV - } - } - } -} - -# Trotsky Survives Assassination (raid on his villa) -news_event = { - id = nsb_news.101 - title = news.38.t - desc = nsb_news.101.desc - picture = GFX_news_event_023 - - major = yes - - is_triggered_only = yes - - immediate = { - set_global_flag = trotsky_survives - } - - option = { - name = news.38.a - trigger = { NOT = { TAG = SOV } } - } - option = { - name = news.38.b - trigger = { TAG = SOV } - } -} - -# Successful Defensive Pact with Allies -> SOV-FRA (default) + maybe POL -news_event = { - id = nsb_news.102 - title = nsb_news.102.t - desc = { - text = nsb_news.102.desc_default - trigger = { - NOT = { has_global_flag = SOV_collective_security_pact_poland_inlcuded_flag } - } - } - desc = { - text = nsb_news.102.desc_poland - trigger = { - has_global_flag = SOV_collective_security_pact_poland_inlcuded_flag - } - } - picture = "[GetSovietPactImage]" - - major = yes - - is_triggered_only = yes - - option = { #Other people around - name = nsb_news.102.a - - trigger = { - NOT = { - tag = SOV - tag = event_target:SOV_collective_security_pact_integrant - AND = { - tag = POL - has_global_flag = SOV_collective_security_pact_poland_inlcuded_flag - } - } - } - } - - option = { #Integrants of the pact - name = nsb_news.102.b - - trigger = { - OR = { - tag = SOV - tag = event_target:SOV_collective_security_pact_integrant - AND = { - tag = POL - has_global_flag = SOV_collective_security_pact_poland_inlcuded_flag - } - } - } - - hidden_effect = { #Clean things up thank you - if = { - limit = { - tag = SOV - has_global_flag = SOV_collective_security_pact_poland_inlcuded_flag - } - clr_global_flag = SOV_collective_security_pact_poland_inlcuded_flag - } - clear_global_event_target = SOV_collective_security_pact_integrant - } - } -} - -# Successful Soviet-German Trade Agreement -news_event = { - id = nsb_news.103 - title = nsb_news.103.t - desc = nsb_news.103.desc - picture = GFX_news_event_aid_pact - - major = yes - - is_triggered_only = yes - - option = { #SOV || GER - name = nsb_news.103.a - - trigger = { - OR = { - tag = SOV - tag = GER - } - } - } - - option = { #Others - name = nsb_news.103.b - - trigger = { - NOT = { - tag = SOV - tag = GER - } - } - } -} - -# Anglo-Soviet Invasion of Iran -news_event = { - id = nsb_news.104 - title = nsb_news.104.t - desc = nsb_news.104.desc - picture = GFX_news_event_SOV_invasion_iran - - major = yes - - is_triggered_only = yes - - option = { #SOV || GER - name = nsb_news.104.a - - trigger = { - OR = { - tag = SOV - tag = ENG - } - } - } - - option = { #Others - name = nsb_news.104.b - - trigger = { - NOT = { - tag = SOV - tag = ENG - } - } - } -} - -#傻逼P社,第四你妈了个臭逼的国际 -#New 4th International News Event - -### formables -# United Mountainous Republics -news_event = { - id = nsb_news.301 - title = nsb_news.301.t - desc = nsb_news.301.d - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.301.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.301.b - trigger = { - NOT = { tag = FROM } - } - } -} - - -# Transcaucasian Federation -news_event = { - id = nsb_news.302 - title = nsb_news.302.t - desc = nsb_news.302.d - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.302.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.302.b - trigger = { - NOT = { tag = FROM } - } - } -} - - -# Siberian Republic -news_event = { - id = nsb_news.303 - title = nsb_news.303.t - desc = nsb_news.303.d - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.303.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.303.b - trigger = { - NOT = { tag = FROM } - } - } -} - - -# Idel-Ural Republic -news_event = { - id = nsb_news.304 - title = nsb_news.304.t - desc = nsb_news.304.d - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.304.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.304.b - trigger = { - NOT = { tag = FROM } - } - } -} - -#400s -#__________________________________________________ - -# Tsar Vladimir I -news_event = { - id = nsb_news.400 - title = nsb_news.400.t - desc = nsb_news.400.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.400.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.400.b - trigger = { - NOT = { tag = FROM } - NOT = { has_government = communism } - } - } - option = { - name = nsb_news.400.c - trigger = { - NOT = { tag = FROM } - has_government = communism - } - } -} - -# Dismantle the Zemsky Sobor - Fascists take over in Russia -news_event = { - id = nsb_news.401 - title = nsb_news.401.t - desc = nsb_news.401.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.401.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.401.b - trigger = { - NOT = { tag = FROM } - NOT = { has_government = fascism } - } - } - option = { - name = nsb_news.401.c - trigger = { - NOT = { tag = FROM } - has_government = fascism - } - } -} - -# Berlin/Moscow Axis -news_event = { - id = nsb_news.402 - title = nsb_news.402.t - desc = nsb_news.402.desc - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.402.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.402.b - trigger = { - tag = GER - } - } - option = { - name = nsb_news.402.c - trigger = { - NOT = { - tag = FROM - tag = GER - } - has_government = fascism - } - } - option = { - name = nsb_news.402.d - trigger = { - NOT = { - tag = FROM - tag = GER - } - NOT = { has_government = fascism } - } - } -} - -# Intervention in the Americas -news_event = { - id = nsb_news.403 - title = nsb_news.403.t - desc = nsb_news.403.desc - picture = GFX_news_event_fascist_militia - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.403.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.403.b - trigger = { - tag = USA - } - } - option = { - name = nsb_news.403.c - trigger = { - NOT = { - tag = FROM - tag = USA - } - has_government = fascism - } - } - option = { - name = nsb_news.403.d - trigger = { - NOT = { - tag = FROM - tag = USA - } - NOT = { has_government = fascism } - } - } -} - -# Third Rome -news_event = { - id = nsb_news.404 - title = nsb_news.404.t - desc = nsb_news.404.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.404.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.404.b - trigger = { - NOT = { tag = FROM } - } - } -} - -# Panslavic Nationalism -news_event = { - id = nsb_news.405 - title = nsb_news.405.t - desc = nsb_news.405.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.405.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.405.b - trigger = { - NOT = { - tag = FROM - } - } - } -} - -# Our Slavic Commitments -news_event = { - id = nsb_news.406 - title = nsb_news.406.t - desc = nsb_news.406.desc - picture = GFX_news_event_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.406.a - trigger = { - tag = FROM - } - } - option = { - name = nsb_news.406.b - trigger = { - OR = { - tag = POL - tag = BUL - tag = YUG - tag = CZE - } - } - } - option = { - name = nsb_news.406.c - trigger = { - NOT = { - tag = FROM - tag = POL - tag = BUL - tag = YUG - tag = CZE - } - } - } -} - -# Triple Entente -news_event = { - id = nsb_news.407 - title = nsb_news.407.t - desc = nsb_news.407.desc - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.407.a - trigger = { - OR = { - tag = FROM - tag = SOV - } - } - } - option = { - name = nsb_news.407.b - trigger = { - NOT = { - tag = FROM - tag = SOV - } - } - } -} - -# Triple Entente - third member joins -news_event = { - id = nsb_news.408 - title = nsb_news.408.t - desc = nsb_news.408.desc - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.408.a - trigger = { - OR = { - tag = ENG - tag = FRA - tag = SOV - } - } - } - option = { - name = nsb_news.408.b - trigger = { - NOT = { - tag = ENG - tag = FRA - tag = SOV - } - } - } -} - -# Berlin-Moscow Axis: Japan joins -news_event = { - id = nsb_news.409 - title = nsb_news.409.t - desc = nsb_news.409.desc - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = nsb_news.409.a - trigger = { - OR = { - tag = GER - tag = JAP - tag = SOV - } - } - } - option = { - name = nsb_news.409.b - trigger = { - NOT = { - tag = GER - tag = JAP - tag = SOV - } - } - } -} \ No newline at end of file diff --git a/src/events/NewsEvents.txt b/src/events/NewsEvents.txt deleted file mode 100755 index 3e848d2..0000000 --- a/src/events/NewsEvents.txt +++ /dev/null @@ -1,12999 +0,0 @@ -########################### -# News Events -########################### - -add_namespace = news - -# Marco Polo Bridge I -news_event = { - id = news.1 - title = news.1.t - desc = news.1.d - picture = GFX_news_event_001 - - major = yes - - is_triggered_only = yes - - option = { - name = news.1.a - trigger = { - NOT = { - TAG = JAP - TAG = CHI - } - } - } - option = { - name = news.1.b - trigger = { TAG = JAP } - } - option = { - name = news.1.c - trigger = { TAG = CHI } - } -} - -# Marco Polo Bridge II -news_event = { - id = news.2 - title = news.1.t - desc = news.2.d - picture = GFX_news_event_018 - - major = yes - - is_triggered_only = yes - - option = { - name = news.2.a - trigger = { - NOT = { - TAG = JAP - TAG = CHI - } - } - } - option = { - name = news.2.b - trigger = { TAG = JAP } - } - option = { - name = news.2.c - trigger = { TAG = CHI } - } -} - -# French Indochina I -news_event = { - id = news.5 - title = news.5.t - desc = news.5.d - picture = GFX_news_event_002 - - major = yes - - is_triggered_only = yes - - option = { - name = news.5.a - trigger = { - NOT = { - TAG = JAP - TAG = FRA - is_in_faction_with = JAP - } - } - } - option = { - name = news.5.b - trigger = { TAG = JAP } - } - option = { - name = news.5.c - trigger = { TAG = FRA } - } - option = { - name = news.5.e - trigger = { - NOT = { - TAG = JAP - TAG = FRA - } - is_in_faction_with = JAP - } - } -} - -# French Indochina II -news_event = { - id = news.6 - title = news.5.t - desc = news.6.d - picture = GFX_news_event_002 - - major = yes - - is_triggered_only = yes - - option = { - name = news.6.a - trigger = { - NOT = { - TAG = JAP - TAG = FRA - is_in_faction_with = JAP - } - } - } - option = { - name = news.6.b - trigger = { TAG = JAP } - } - option = { - name = news.6.c - trigger = { TAG = FRA } - } - option = { - name = news.6.e - trigger = { - NOT = { - TAG = JAP - TAG = FRA - } - is_in_faction_with = JAP - } - } -} - -# Soviet - Japanese Border Conflict (Soviets Win) -news_event = { - id = news.7 - title = news.7.t - desc = news.7.d - picture = GFX_news_event_005 - - major = yes - - is_triggered_only = yes - - option = { - name = news.7.a - trigger = { - NOT = { - TAG = JAP - TAG = SOV - } - } - } - option = { - name = news.7.b - trigger = { TAG = JAP } - } - option = { - name = news.7.c - trigger = { TAG = SOV } - } -} - -# Soviet - Japanese Border Conflict (Japanese Win) -news_event = { - id = news.8 - title = news.7.t - desc = news.8.d - picture = GFX_news_event_004 - - major = yes - - is_triggered_only = yes - - option = { - name = news.7.a - trigger = { - NOT = { - TAG = JAP - TAG = SOV - } - } - } - option = { - name = news.8.b - trigger = { TAG = JAP } - } - option = { - name = news.8.c - trigger = { TAG = SOV } - } -} - -# Soviet - Japanese Border Conflict (Soviet Withdrawal) -news_event = { - id = news.9 - title = news.9.t - desc = news.9.d - picture = GFX_news_event_004 - - major = yes - - is_triggered_only = yes - - option = { - name = news.9.a - trigger = { - NOT = { - TAG = JAP - TAG = SOV - } - } - } - option = { - name = news.9.b - trigger = { TAG = JAP } - } - option = { - name = news.9.c - trigger = { TAG = SOV } - } -} - -# Romania surrenders Bessarabia -news_event = { - id = news.10 - title = news.10.t - desc = news.10.d - picture = SOMEPIC - - major = yes - - is_triggered_only = yes - - option = { - name = news.10.a - trigger = { - NOT = { - TAG = SOV - TAG = ROM - TAG = GER - } - } - } - option = { - name = news.10.b - trigger = { TAG = SOV } - } - option = { - name = news.10.c - trigger = { TAG = ROM } - } - option = { - name = news.10.e - trigger = { TAG = GER } - } -} - -# Romania refuses to surrender Bessarabia -news_event = { - id = news.11 - title = news.11.t - desc = news.11.d - picture = GFX_news_event_romanian_soldiers - - major = yes - - is_triggered_only = yes - - option = { - name = news.11.a - trigger = { - NOT = { - TAG = SOV - TAG = ROM - TAG = GER - } - } - } - option = { - name = news.11.b - trigger = { TAG = SOV } - } - option = { - name = news.11.c - trigger = { TAG = ROM } - } - option = { - name = news.11.e - trigger = { TAG = GER } - } -} - -# Finland Refuses Demands -news_event = { - id = news.12 - title = news.12.t - desc = news.12.d - picture = GFX_news_event_011 - - major = yes - - is_triggered_only = yes - - option = { - name = news.12.a - trigger = { - NOT = { - TAG = SOV - TAG = FIN - TAG = GER - is_in_faction_with = SOV - } - } - } - option = { - name = news.12.b - trigger = { TAG = SOV } - } - option = { - name = news.12.c - trigger = { TAG = FIN } - } - option = { - name = news.12.e - trigger = { TAG = GER } - } - option = { - name = news.12.f - trigger = { - NOT = { - TAG = SOV - TAG = FIN - TAG = GER - } - is_in_faction_with = SOV - } - } -} - -# Finland Accepts Demands -news_event = { - id = news.13 - title = news.13.t - desc = news.13.d - picture = GFX_news_event_012 - - major = yes - - is_triggered_only = yes - - option = { - name = news.13.a - trigger = { - NOT = { - TAG = SOV - TAG = FIN - TAG = GER - is_in_faction_with = SOV - } - } - } - option = { - name = news.13.b - trigger = { TAG = SOV } - } - option = { - name = news.13.c - trigger = { TAG = FIN } - } - option = { - name = news.13.e - trigger = { TAG = GER } - } - - option = { - name = news.13.f - trigger = { - NOT = { - TAG = SOV - TAG = FIN - TAG = GER - } - is_in_faction_with = SOV - } - } -} - - -# Soviet Union annexes Tannu Tuva -news_event = { - id = news.14 - title = news.14.t - desc = news.14.d - picture = GFX_news_event_006 - - major = yes - - is_triggered_only = yes - - option = { - name = news.14.a - trigger = { - NOT = { - TAG = SOV - } - } - } - option = { - name = news.14.b - trigger = { TAG = SOV } - } -} - -# Second Vienna Award - Northern Transylvania -news_event = { - id = news.15 - title = news.15.t - desc = news.15.d - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.15.a - trigger = { - NOT = { - TAG = GER - TAG = ROM - TAG = HUN - } - } - } - option = { - name = news.15.b - trigger = { TAG = GER } - } - option = { - name = news.15.c - trigger = { TAG = ROM } - } - option = { - name = news.15.e - trigger = { TAG = HUN } - } -} - -# Second Vienna Award - All of Transylvania -news_event = { - id = news.16 - title = news.15.t - desc = news.16.d - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.15.a - trigger = { - NOT = { - TAG = GER - TAG = ROM - TAG = HUN - } - } - } - option = { - name = news.15.b - trigger = { TAG = GER } - } - option = { - name = news.15.c - trigger = { TAG = ROM } - } - option = { - name = news.15.e - trigger = { TAG = HUN } - } -} - -# Second Vienna Award - Romania Rejects Verdict (Northern Transylvania) -news_event = { - id = news.17 - title = news.17.t - desc = news.17.d - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.17.a - trigger = { - NOT = { - TAG = GER - TAG = ROM - TAG = HUN - } - } - } - option = { - name = news.17.b - trigger = { TAG = GER } - } - option = { - name = news.17.c - trigger = { TAG = ROM } - } - option = { - name = news.17.e - trigger = { TAG = HUN } - } -} - -# Second Vienna Award - Romania Rejects Verdict (All of Transylvania) -news_event = { - id = news.18 - title = news.17.t - desc = news.18.d - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.17.a - trigger = { - NOT = { - TAG = GER - TAG = ROM - TAG = HUN - } - } - } - option = { - name = news.17.b - trigger = { TAG = GER } - } - option = { - name = news.17.c - trigger = { TAG = ROM } - } - option = { - name = news.17.e - trigger = { TAG = HUN } - } -} - -# German Claims Memel - Lithania Folds -news_event = { - id = news.19 - title = news.19.t - desc = news.19.d - picture = GFX_news_event_romanian_soldiers - - major = yes - - is_triggered_only = yes - - option = { - name = news.19.a - trigger = { - NOT = { - TAG = GER - TAG = LIT - is_in_faction_with = GER - } - } - } - option = { - name = news.19.b - trigger = { TAG = GER } - } - option = { - name = news.19.c - trigger = { TAG = LIT } - } - option = { - name = news.19.e - trigger = { - NOT = { - TAG = GER - TAG = LIT - } - is_in_faction_with = GER - } - } -} - -# German Claims Memel - Lithuania Rejects Demands -news_event = { - id = news.20 - title = news.20.t - desc = news.20.d - picture = GFX_news_event_german_soldiers - - major = yes - - is_triggered_only = yes - - option = { - name = news.20.a - trigger = { - NOT = { - TAG = GER - TAG = LIT - is_in_faction_with = GER - } - } - } - option = { - name = news.20.b - trigger = { TAG = GER } - } - option = { - name = news.20.c - trigger = { TAG = LIT } - } - option = { - name = news.20.b - trigger = { - NOT = { - TAG = GER - TAG = LIT - } - is_in_faction_with = GER - } - } -} - -# Treaty of Craiova -news_event = { - id = news.21 - title = news.21.t - desc = news.21.d - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.21.a - trigger = { - NOT = { - TAG = BUL - TAG = ROM - } - } - } - option = { - name = news.21.b - trigger = { TAG = BUL } - } - option = { - name = news.21.c - trigger = { TAG = ROM } - } -} - -# Italian Ultimatum - Zog Yields -news_event = { - id = news.22 - title = news.22.t - desc = news.22.d - picture = GFX_news_event_008 - - major = yes - - is_triggered_only = yes - - option = { - name = news.22.a - trigger = { - NOT = { - TAG = ITA - TAG = ALB - is_in_faction_with = ITA - } - } - } - option = { - name = news.22.b - trigger = { TAG = ITA } - } - option = { - name = news.22.c - trigger = { - NOT = { - TAG = ITA - TAG = ALB - } - is_in_faction_with = ITA - } - } -} - -# Italian Ultimatum - Zog Resists -news_event = { - id = news.23 - title = news.23.t - desc = news.23.d - picture = GFX_news_event_016 - - major = yes - - is_triggered_only = yes - - option = { - name = news.23.a - trigger = { - NOT = { - TAG = ITA - TAG = ALB - } - } - } - option = { - name = news.23.b - trigger = { TAG = ITA } - } - option = { - name = news.23.c - trigger = { TAG = ALB } - } -} - -# Reichstag Speech (The Polish Question) -news_event = { - id = news.24 - title = news.24.t - desc = news.24.d - picture = GFX_news_event_hitler_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.24.a - } -} - -# Remilitarization of the Rhineland (Peaceful) -news_event = { - id = news.25 - title = news.25.t - desc = news.25.d - picture = GFX_news_event_hitler_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.25.a - trigger = { - NOT = { - TAG = GER - TAG = FRA - TAG = ENG - is_in_faction_with = GER - } - } - } - option = { - name = news.25.b - trigger = { TAG = GER } - } - option = { - name = news.25.c - trigger = { TAG = FRA } - } - option = { - name = news.25.e - trigger = { TAG = ENG } - } - option = { - name = news.25.b - trigger = { - NOT = { - TAG = GER - TAG = FRA - TAG = ENG - } - is_in_faction_with = GER - } - } -} - -# Remilitarization of the Rhineland (France and Britain go to war) -news_event = { - id = news.26 - title = news.25.t - desc = news.26.d - picture = GFX_news_event_020 - - major = yes - - is_triggered_only = yes - - option = { - name = news.26.a - trigger = { - NOT = { - TAG = GER - TAG = FRA - TAG = ENG - } - } - } - option = { - name = news.26.b - trigger = { TAG = GER } - } - option = { - name = news.26.c - trigger = { TAG = FRA } - } - option = { - name = news.26.e - trigger = { TAG = ENG } - } -} - -# Remilitarization of the Rhineland (France goes to war) -news_event = { - id = news.27 - title = news.25.t - desc = news.27.d - picture = GFX_news_event_german_inspect_troops - - major = yes - - is_triggered_only = yes - - option = { - name = news.26.a - trigger = { - NOT = { - TAG = GER - TAG = FRA - } - } - } - option = { - name = news.26.b - trigger = { TAG = GER } - } - option = { - name = news.26.c - trigger = { TAG = FRA } - } -} - -# Oster Conspiracy (Himmler assumes leadership) -news_event = { - id = news.28 - title = news.28.t - desc = news.28.d - picture = GFX_news_event_heinrich_himmler - - major = yes - - is_triggered_only = yes - - option = { - name = news.28.a - trigger = { - NOT = { - TAG = GER - TAG = FRA - TAG = ENG - is_in_faction_with = GER - } - } - } - option = { - name = news.28.b - trigger = { - OR = { - TAG = GER - is_in_faction_with = GER - } - } - } - option = { - name = news.28.c - trigger = { - OR = { - TAG = FRA - TAG = ENG - } - } - } -} - -# Oster Conspiracy (Göring assumes leadership) -news_event = { - id = news.29 - title = news.28.t - desc = news.29.d - picture = GFX_news_event_herman_goring - - major = yes - - is_triggered_only = yes - - option = { - name = news.28.a - trigger = { - NOT = { - TAG = GER - TAG = FRA - TAG = ENG - is_in_faction_with = GER - } - } - } - option = { - name = news.28.b - trigger = { - OR = { - TAG = GER - is_in_faction_with = GER - } - } - } - option = { - name = news.28.c - trigger = { - OR = { - TAG = FRA - TAG = ENG - } - } - } -} - -# Oster Conspiracy (Hitler survives) -news_event = { - id = news.30 - title = news.30.t - desc = news.30.d - picture = GFX_news_event_german_officers - - major = yes - - is_triggered_only = yes - - option = { - name = news.30.a - trigger = { - NOT = { - TAG = GER - TAG = FRA - TAG = ENG - } - } - } - option = { - name = news.28.b - trigger = { TAG = GER } - } - option = { - name = news.30.c - trigger = { TAG = FRA } - } - option = { - name = news.30.e - trigger = { TAG = ENG } - } -} - -# Oster Conspiracy (Civil War) -news_event = { - id = news.31 - title = news.31.t - desc = news.31.d - picture = GFX_news_event_soldiers_marching - - major = yes - - is_triggered_only = yes - - option = { - name = news.31.a - trigger = { - NOT = { - TAG = GER - TAG = FRA - TAG = ENG - } - } - } - option = { - name = news.31.b - trigger = { - AND = { - TAG = GER - has_country_flag = german_rebels - } - } - } - option = { - name = news.31.c - trigger = { - AND = { - TAG = GER - NOT = { has_country_flag = german_rebels } - } - } - } - option = { - name = news.31.e - trigger = { - OR = { - TAG = FRA - TAG = ENG - } - } - } -} - -# The Molotov-Ribbentrop Pact -news_event = { - id = news.32 - title = news.32.t - desc = news.32.d - picture = GFX_news_event_017 - - major = yes - - is_triggered_only = yes - - option = { - name = news.32.a - trigger = { - NOT = { - TAG = GER - TAG = SOV - is_in_faction_with = GER - is_in_faction_with = SOV - } - } - if = { - limit = { - original_tag = ENG - has_government = communism - } - create_country_leader = { - name = "Rajani Palme Dutt" - desc = "POLITICS_PALME_DUTT_DESC" - picture = "Portrait_Britain_Palme_Dutt.dds" - expire = "1965.1.1" - ideology = leninism - traits = { - comintern_workhorse - } - } - } - } - option = { - name = news.32.b - trigger = { - OR = { - TAG = GER - is_in_faction_with = GER - } - NOT = { - tag = SOV - } - NOT = { - is_in_faction_with = SOV - } - } - } - option = { - name = news.32.c - trigger = { - OR = { - TAG = SOV - is_in_faction_with = SOV - } - NOT = { - tag = GER - is_in_faction_with = GER - } - } - } - option = { - name = news.32.e - trigger = { - OR = { - AND = { - tag = GER - is_in_faction_with = SOV - } - AND = { - tag = SOV - is_in_faction_with = GER - } - AND = { - is_in_faction_with = SOV - is_in_faction_with = GER - } - } - } - } -} - -# USSR Occupies Eastern Poland -news_event = { - id = news.33 - title = news.33.t - desc = news.33.d - picture = GFX_news_event_006 - - major = yes - - is_triggered_only = yes - - option = { - name = news.33.a - trigger = { - NOT = { - TAG = GER - TAG = SOV - is_in_faction_with = GER - is_in_faction_with = SOV - } - } - } - option = { - name = news.33.b - trigger = { - NOT = { TAG = SOV } #fix for unholy alliance - OR = { - TAG = GER - is_in_faction_with = GER - } - } - } - option = { - name = news.33.c - trigger = { - NOT = { TAG = GER } # fix for unholy alliance - OR = { - TAG = SOV - is_in_faction_with = SOV - } - } - } -} - -# Second Compiegne Armistice -news_event = { - id = news.34 - title = news.34.t - desc = news.34.d - picture = GFX_news_event_hitler_handshake - - major = yes - - is_triggered_only = yes - - option = { - name = news.34.a - trigger = { - OR = { - NOT = { original_tag = FRA } - AND = { - original_tag = FRA - NOT = { has_government = democratic } - } - } - NOT = { TAG = GER } - NOT = { is_in_faction_with = GER } - } - } - option = { - name = news.34.b - trigger = { - OR = { - is_in_faction_with = GER - TAG = GER - } - } - } - option = { - name = news.34.c - trigger = { - original_tag = FRA - has_government = democratic - } - } -} - -# Franco-British Union -news_event = { - id = news.35 - title = news.35.t - desc = news.35.d - picture = GFX_news_event_churchill_degaulle - - major = yes - - is_triggered_only = yes - - option = { - name = news.35.a - trigger = { - NOT = { TAG = GER } - NOT = { TAG = ENG } - NOT = { is_in_faction_with = GER } - NOT = { is_in_faction_with = ENG } - } - } - option = { - name = news.35.b - trigger = { - OR = { - is_in_faction_with = GER - TAG = GER - } - } - } - option = { - name = news.35.c - trigger = { - OR = { - is_in_faction_with = ENG - TAG = ENG - } - } - } -} - -# Anschluss of Austria -news_event = { - id = news.36 - title = news.36.t - desc = news.36.d - picture = GFX_news_event_german_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.36.a - trigger = { - NOT = { - TAG = GER - TAG = ITA - TAG = FRA - TAG = ENG - } - } - } - option = { - name = news.36.b - trigger = { TAG = GER } - } - option = { - name = news.36.c - trigger = { TAG = ITA } - } - option = { - name = news.36.e - trigger = { - OR = { - TAG = FRA - TAG = ENG - } - } - } -} - -# Trotsky Assassination -news_event = { - id = news.37 - title = news.37.t - desc = news.37.d - picture = GFX_news_event_024 - - major = yes - - is_triggered_only = yes - - immediate = { - set_global_flag = trotsky_dead - } - - option = { - name = news.37.a - trigger = { - NOT = { - TAG = SOV - is_in_faction_with = SOV - } - } - } - option = { - name = news.37.b - trigger = { TAG = SOV } - } - - option = { - name = news.37.c - trigger = { - is_in_faction_with = SOV - NOT = { - tag = SOV - } - } - } -} - -# Trotsky Survives Assassination -news_event = { - id = news.38 - title = news.38.t - desc = news.38.d - picture = GFX_news_event_023 - - major = yes - - is_triggered_only = yes - - immediate = { - set_global_flag = trotsky_survives - } - - option = { - name = news.38.a - trigger = { NOT = { TAG = SOV } } - } - option = { - name = news.38.b - trigger = { TAG = SOV } - } -} - -# Trotsky Dies Sneaking Into USSR -news_event = { - id = news.39 - title = news.39.t - desc = news.39.d - picture = GFX_news_event_024 - - major = yes - - is_triggered_only = yes - - immediate = { - set_global_flag = trotsky_dead - } - - option = { - name = news.39.a - trigger = { NOT = { TAG = SOV } } - } - option = { - name = news.39.b - trigger = { TAG = SOV } - } -} - -# Trotsky Usurps Leadership -news_event = { - id = news.40 - title = news.40.t - desc = news.40.d - picture = GFX_news_event_023 - - major = yes - - is_triggered_only = yes - - option = { - name = news.40.a - trigger = { NOT = { TAG = SOV } } - } - option = { - name = news.40.b - trigger = { TAG = SOV } - } -} - -# Second Trotsky Assassination -news_event = { - id = news.41 - title = news.41.t - desc = news.41.d - picture = GFX_news_event_024 - - major = yes - - is_triggered_only = yes - - option = { - name = news.37.a - trigger = { NOT = { TAG = SOV } } - } - option = { - name = news.37.b - trigger = { TAG = SOV } - } - - option = { - name = news.37.c - trigger = { - is_in_faction_with = SOV - NOT = { - tag = SOV - } - } - } -} - -# Hindenburg Disaster -news_event = { - id = news.42 - title = news.42.t - desc = news.42.d - picture = GFX_news_event_025 - - major = yes - - is_triggered_only = yes - - immediate = { - set_global_flag = hindenburg_destroyed - } - - option = { - name = news.42.a - } -} - -# Hindenburg Disaster Averted -news_event = { - id = news.43 - title = news.43.t - desc = news.43.d - picture = GFX_news_event_hindenburg_intact - - major = yes - - is_triggered_only = yes - - immediate = { - set_global_flag = hindenburg_survives - } - - option = { - name = news.43.a - } -} - -# Flight of Rudolf Hess -news_event = { - id = news.44 - title = news.44.t - desc = news.44.d - picture = GFX_news_event_029 - - major = yes - - is_triggered_only = yes - - show_major = { - NOT = { tag = GER } - } - - option = { - name = news.44.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - } - } - } - option = { - name = news.44.b - trigger = { TAG = GER } - } - option = { - name = news.44.c - trigger = { TAG = ENG } - } -} - -# Rudolf Hess Killed -news_event = { - id = news.45 - title = news.45.t - desc = news.45.d - picture = GFX_news_event_029 - - major = yes - - is_triggered_only = yes - - show_major = { - NOT = { tag = GER } - } - - option = { - name = news.45.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - } - } - } - option = { - name = news.45.b - trigger = { TAG = GER } - } - option = { - name = news.45.c - trigger = { TAG = ENG } - } -} - -# Flight of Rudolf Hess (Hindenburg) -news_event = { - id = news.46 - title = news.44.t - desc = news.46.d - picture = GFX_news_event_026 - - major = yes - - is_triggered_only = yes - - show_major = { - NOT = { tag = GER } - } - - option = { - name = news.38.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - } - } - } - option = { - name = news.44.b - trigger = { TAG = GER } - } - option = { - name = news.44.c - trigger = { TAG = ENG } - } -} - -# Rudolf Hess Killed (Hindenburg) -news_event = { - id = news.47 - title = news.45.t - desc = news.47.d - picture = GFX_news_event_026 - - major = yes - - is_triggered_only = yes - - show_major = { - NOT = { tag = GER } - } - - option = { - name = news.38.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - } - } - } - option = { - name = news.47.b - trigger = { TAG = GER } - } - option = { - name = news.47.c - trigger = { TAG = ENG } - } -} - -# Amelia Earhart Disappears -news_event = { - id = news.48 - title = news.48.t - desc = news.48.d - picture = GFX_news_event_028 - - major = yes - - is_triggered_only = yes - - immediate = { - set_global_flag = earhart_disappeared - } - - option = { - name = news.48.a - } -} - -# Amelia Earhart Completes World Flight -news_event = { - id = news.49 - title = news.49.t - desc = news.49.d - picture = GFX_news_event_028 - - major = yes - - is_triggered_only = yes - - option = { - name = news.49.a - } -} - -# Trotsky Trigger (HIDDEN) -news_event = { - id = news.50 - hidden = yes - - fire_only_once = yes - - trigger = { - date > 1940.8.1 - country_exists = SOV - SOV = { - has_government = communism - NOT = { has_country_flag = counter_purge } - } - NOT = { has_global_flag = flag_mexico_invited_trotsky_to_government } # This saves the Trotsky - } - - mean_time_to_happen = { - days = 90 - } - - immediate = { - random_list = { - 50 = { SOV = { news_event = { id = news.37 } } } - 50 = { SOV = { news_event = { id = news.38 } } } - } - } - - option = { - name = news.50.a - } -} - -# Hindenburg Trigger (HIDDEN) -news_event = { - id = news.51 - hidden = yes - - fire_only_once = yes - - trigger = { - date > 1937.5.5 - date < 1939.5.5 - country_exists = USA - country_exists = GER - USA = { has_war = no } - GER = { has_war = no } - GER = { has_civil_war = no } - NOT = { has_global_flag = hindenburg_destroyed } - NOT = { has_global_flag = hindenburg_event_in_progress } - } - - mean_time_to_happen = { - days = 240 - } - - immediate = { - random_list = { - 70 = { - modifier = { - factor = 0 - has_global_flag = GER_air_safety_regulations_flag - } - USA = { news_event = { id = news.42 } } - } - 30 = { USA = { news_event = { id = news.43 } } } - } - } - - option = { - name = news.51.a - } -} - -# Rudolf Hess Trigger (HIDDEN) -news_event = { - id = news.52 - hidden = yes - - fire_only_once = yes - - trigger = { - country_exists = ENG - country_exists = GER - country_exists = SOV - GER = { - has_war_with = ENG - NOT = { has_war_with = SOV } - has_government = fascism - has_country_leader = { ruling_only = yes name = "Adolf Hitler" } - } - has_global_flag = fall_of_france - NOT = { has_global_flag = hindenburg_survives } - ENG = { # No Sea Lion - controls_state = 127 - controls_state = 123 - controls_state = 126 - controls_state = 338 - controls_state = 125 - controls_state = 129 - controls_state = 128 - controls_state = 122 - controls_state = 132 - controls_state = 130 - controls_state = 131 - controls_state = 121 - controls_state = 133 - controls_state = 136 - controls_state = 120 - } - } - - mean_time_to_happen = { - days = 30 - } - - immediate = { - random_list = { - 50 = { - ENG = { news_event = { id = news.44 } } - GER = { country_event = { id = germany.107 } } - } - 50 = { - ENG = { news_event = { id = news.45 } } - GER = { country_event = { id = germany.108 } } - } - } - } - - option = { - name = news.52.a - } -} - -# Rudolf Hess Hindenburg Trigger (HIDDEN) -news_event = { - id = news.53 - hidden = yes - - fire_only_once = yes - - trigger = { - country_exists = ENG - country_exists = GER - country_exists = SOV - GER = { - has_war_with = ENG - NOT = { has_war_with = SOV } - has_government = fascism - } - has_global_flag = fall_of_france - has_global_flag = hindenburg_survives - ENG = { # No Sea Lion - controls_state = 127 - controls_state = 123 - controls_state = 126 - controls_state = 338 - controls_state = 125 - controls_state = 129 - controls_state = 128 - controls_state = 122 - controls_state = 132 - controls_state = 130 - controls_state = 131 - controls_state = 121 - controls_state = 133 - controls_state = 136 - controls_state = 120 - } - } - - mean_time_to_happen = { - days = 30 - } - - immediate = { - random_list = { - - #Flight in Hinden - 15 = { - ENG = { news_event = { id = news.46 } } - GER = { country_event = { id = germany.109 } } - } - 15 = { - ENG = { news_event = { id = news.47 } } - GER = { country_event = { id = germany.110 } } - } - - #Ordinary flight - 35 = { - ENG = { news_event = { id = news.44 } } - GER = { country_event = { id = germany.107 } } - } - 35 = { - ENG = { news_event = { id = news.45 } } - GER = { country_event = { id = germany.108 } } - } - - } - } - - option = { - name = news.53.a - } -} - -# Amelia Earhart Trigger (HIDDEN) -news_event = { - id = news.54 - hidden = yes - - fire_only_once = yes - - trigger = { - date > 1937.7.1 - NOT = { has_global_flag = earhart_disappeared} - country_exists = USA - USA = { has_war = no } - NOT = { has_country_flag = amelia_active_ace } - } - - immediate = { - random_list = { - 50 = { ENG = { news_event = { id = news.48 } } } - 50 = { ENG = { news_event = { id = news.49 } } } - } - } - - option = { - name = news.54.a - } -} - -# Anglo-Polish Alliance -news_event = { - id = news.55 - title = news.55.t - desc = news.55.d - picture = GFX_news_event_021 - - major = yes - fire_only_once = yes - - trigger = { - POL = { - is_in_faction_with = ENG - is_in_faction_with = FRA - NOT = { is_in_faction_with = GER } - } - GER = { - has_completed_focus = GER_demand_memel - NOT = { has_completed_focus = GER_poland_friend } - } - } - - option = { - name = news.55.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - TAG = POL - TAG = FRA - } - } - } - option = { - name = news.55.b - trigger = { TAG = GER } - } - option = { - name = news.55.c - trigger = { TAG = ENG } - } - option = { - name = news.55.e - trigger = { TAG = POL } - } - option = { - name = news.55.f - trigger = { TAG = FRA } - } -} - -# Munich Agreement -news_event = { - id = news.56 - title = news.56.t - desc = news.56.d - picture = GFX_news_event_019 - - major = yes - - is_triggered_only = yes - - option = { - name = news.56.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - TAG = CZE - } - } - } - option = { - name = news.56.b - trigger = { TAG = GER } - } - option = { - name = news.56.c - trigger = { TAG = ENG } - } - option = { - name = news.56.e - trigger = { TAG = CZE } - } -} - -# Sudeten Crisis (French and British Support) -news_event = { - id = news.57 - title = news.57.t - desc = news.57.d - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.57.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - TAG = FRA - TAG = CZE - } - } - } - option = { - name = news.57.b - trigger = { TAG = GER } - } - option = { - name = news.57.c - trigger = { - OR = { - TAG = ENG - TAG = FRA - } - } - } - option = { - name = news.57.e - trigger = { TAG = CZE } - } -} - -# Sudeten Crisis (French Support) -news_event = { - id = news.58 - title = news.57.t - desc = news.58.d - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.57.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - TAG = FRA - TAG = CZE - } - } - } - option = { - name = news.58.b - trigger = { TAG = GER } - } - option = { - name = news.58.c - trigger = { TAG = ENG } - } - option = { - name = news.58.e - trigger = { TAG = CZE } - } - option = { - name = news.58.f - trigger = { TAG = FRA } - } -} - -# Munich Agreement (Czechs Resist) -news_event = { - id = news.59 - title = news.59.t - desc = news.59.d - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.59.a - trigger = { - NOT = { - TAG = GER - TAG = CZE - } - } - } - option = { - name = news.59.b - trigger = { TAG = GER } - } - option = { - name = news.59.c - trigger = { TAG = CZE } - } -} - -# End of Czechoslovakia -news_event = { - id = news.60 - title = news.60.t - desc = { - text = news.60.d - trigger = { has_global_flag = end_of_czechoslovakia } - } - desc = { - text = news.60.d_2 - trigger = { NOT = { has_global_flag = end_of_czechoslovakia } } - } - picture = GFX_news_event_german_inspect_troops - - major = yes - - is_triggered_only = yes - - option = { - name = news.60.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - TAG = FRA - } - } - } - option = { - name = news.60.b - trigger = { TAG = GER } - } - option = { - name = news.60.c - trigger = { - OR = { - TAG = ENG - TAG = FRA - } - } - } -} - -# End of Czechoslovakia (Hungary Annexes Slovakia) -news_event = { - id = news.61 - title = news.60.t - desc = { - text = news.61.d - trigger = { has_global_flag = end_of_czechoslovakia } - } - desc = { - text = news.61.d_2 - trigger = { NOT = { has_global_flag = end_of_czechoslovakia } } - } - picture = GFX_news_event_german_inspect_troops - - major = yes - - is_triggered_only = yes - - option = { - name = news.60.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - TAG = FRA - TAG = HUN - } - } - } - option = { - name = news.60.b - trigger = { TAG = GER } - } - option = { - name = news.60.c - trigger = { - OR = { - TAG = FRA - TAG = ENG - } - } - } - option = { - name = news.60.e - trigger = { TAG = HUN } - } -} - -# End of Czechoslovakia (Germany annexes everything) -news_event = { - id = news.62 - title = news.60.t - desc = { - text = news.62.d - trigger = { has_global_flag = end_of_czechoslovakia } - } - desc = { - text = news.62.d_2 - trigger = { NOT = { has_global_flag = end_of_czechoslovakia } } - } - picture = GFX_news_event_german_inspect_troops - - major = yes - - is_triggered_only = yes - - option = { - name = news.60.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - TAG = FRA - } - } - } - option = { - name = news.60.b - trigger = { TAG = GER } - } - option = { - name = news.60.c - trigger = { - OR = { - TAG = ENG - TAG = FRA - } - } - } -} - -# The Spanish Civil War -news_event = { - id = news.63 - title = news.63.t - desc = news.63.d - picture = GFX_news_event_032 - - major = yes - - is_triggered_only = yes - - option = { - name = news.63.a - trigger = { - NOT = { original_tag = SPR } - } - } - option = { - name = news.63.b - trigger = { - original_tag = SPR - } - } -} - -# End of the Spanish Civil War (Nationalist victory) -news_event = { - id = news.64 - title = news.64.t - desc = news.64.d - picture = GFX_news_event_033 - - major = yes - - trigger = { - has_global_flag = spanish_civil_war - NOT = { has_global_flag = scw_over } - NOT = { has_dlc = "La Resistance" } - SPR = { has_civil_war = no } - any_other_country = { - original_tag = SPR - has_government = fascism - } - all_country = { - OR = { - NOT = { original_tag = SPR } - has_government = fascism - } - } - } - - mean_time_to_happen = { - days = 2 - } - - immediate = { - set_global_flag = nationalist_victory - set_global_flag = scw_over - } - - option = { - name = news.64.a - trigger = { - NOT = { original_tag = SPA } - } - } - option = { - name = news.64.b - trigger = { original_tag = SPA } - delete_unit_template_and_units = { division_template = "Brigada Legionario" } - } -} - -# End of the Spanish Civil War (Republican victory) -news_event = { - id = news.65 - title = news.64.t - desc = news.65.d - picture = GFX_news_event_034 - - major = yes - - trigger = { - has_global_flag = spanish_civil_war - NOT = { has_global_flag = scw_over } - NOT = { has_dlc = "La Resistance" } - SPR = { has_civil_war = no } - any_other_country = { - original_tag = SPR - NOT = { has_government = fascism } - } - all_country = { - OR = { - NOT = { original_tag = SPR } - NOT = { has_government = fascism } - } - } - } - - mean_time_to_happen = { - days = 2 - } - - immediate = { - set_global_flag = republican_victory - set_global_flag = scw_over - } - - option = { - name = news.65.a - trigger = { - NOT = { original_tag = SPR } - } - } - option = { - name = news.64.b - trigger = { original_tag = SPR } - delete_unit_template_and_units = { division_template = "Brigada Internacionales" } - } -} - -# Games of the XI Olympiad -news_event = { - id = news.66 - title = news.66.t - desc = { - text = news.66.d - trigger = { - NOT = { has_global_flag = GER_civil_war_end } - } - } - desc = { - text = news.66.d.b - trigger = { - has_global_flag = GER_civil_war_end - } - } - picture = GFX_news_event_olympics_1940 - - major = yes - - trigger = { - date > 1936.8.15 - NOT = { has_global_flag = olympics_1936 } - NOT = { has_global_flag = civil_war_olympics } - country_exists = GER - country_exists = USA - GER = { has_war = no } - GER = { has_civil_war = no } - FRA = { has_war = no } - ENG = { has_war = no } - USA = { has_war = no } - } - - mean_time_to_happen = { - days = 2 - } - - immediate = { - set_global_flag = olympics_1936 - } - - option = { - name = news.66.a - trigger = { - NOT = { TAG = GER } - } - } - option = { - name = news.66.b - trigger = { TAG = GER } - } -} - -# Games of the XII Olympiad (Tokyo) -news_event = { - id = news.67 - title = news.67.t - desc = news.67.d - picture = GFX_news_event_070 - - major = yes - - trigger = { - date > 1940.10.5 - has_global_flag = olympics_1936 - NOT = { - has_global_flag = olympics_jap_1940 - has_global_flag = olympics_fin_1940 - } - country_exists = JAP - country_exists = USA - country_exists = GER - GER = { has_war = no } - FRA = { has_war = no } - ENG = { has_war = no } - USA = { has_war = no } - JAP = { has_war = no } - } - - mean_time_to_happen = { - days = 2 - } - - immediate = { - set_global_flag = olympics_jap_1940 - } - - option = { - name = news.66.a - } -} - -# Games of the XII Olympiad (Helsinki) -news_event = { - id = news.68 - title = news.67.t - desc = news.68.d - picture = GFX_news_event_069 - - major = yes - - trigger = { - date > 1940.8.3 - has_global_flag = olympics_1936 - NOT = { - has_global_flag = olympics_jap_1940 - has_global_flag = olympics_fin_1940 - } - country_exists = FIN - country_exists = USA - country_exists = GER - country_exists = ITA - JAP = { has_war = yes } - FIN = { has_war = no } - ITA = { has_war = no } - SOV = { has_war = no } - GER = { has_war = no } - FRA = { has_war = no } - ENG = { has_war = no } - USA = { has_war = no } - } - - mean_time_to_happen = { - days = 2 - } - - immediate = { - set_global_flag = olympics_fin_1940 - } - - option = { - name = news.66.a - } -} - -# Baltic country annexed (base event baltic.5) -news_event = { - id = news.69 - title = news.69.t - desc = news.69.d - picture = GFX_news_event_064 - - major = yes - - is_triggered_only = yes - - trigger = { - NOT = { has_global_flag = news.69_fired } - } - - immediate = { - set_global_flag = news.69_fired - } - - option = { - name = news.69.a - trigger = { - has_government = communism - } - } - - option = { - name = news.69.b - trigger = { - NOT = { - has_government = communism - } - } - } -} - -#Baltic country puppeted (base event baltic.5) -news_event = { - id = news.70 - title = news.70.t - desc = news.70.d - picture = GFX_news_event_064 - - major = yes - - trigger = { - NOT = { has_global_flag = news.70_fired } - } - - immediate = { - set_global_flag = news.70_fired - } - - is_triggered_only = yes - - option = { - name = news.69.a - trigger = { - has_government = communism - } - } - - option = { - name = news.69.b - trigger = { - NOT = { - has_government = communism - } - } - } -} - -#Hidden event to trigger actual annexation (base event baltic.5) -news_event = { - id = news.71 - - hidden = yes - - major = yes - - is_triggered_only = yes - - immediate = { - if = { - limit = { FROM = { tag = LIT } } - SOV = { - annex_country = { - target = LIT - transfer_troops = yes } - add_named_threat = { threat = 2 name = soviet.35_threat_LIT } - } - } - if = { - limit = { FROM = { tag = FIN } } - SOV = { - annex_country = { - target = FIN - transfer_troops = yes } - add_named_threat = { threat = 5 name = soviet.35_threat_FIN } - } - } - if = { - limit = { FROM = { tag = EST } } - SOV = { - annex_country = { - target = EST - transfer_troops = yes } - add_named_threat = { threat = 2 name = soviet.35_threat_EST } - } - } - if = { - limit = { FROM = { tag = LAT } } - SOV = { - annex_country = { - target = LAT - transfer_troops = yes } - add_named_threat = { threat = 2 name = soviet.35_threat_LAT } - } - } - } -} - - -# The Fall of Warsaw (Germany) -news_event = { - id = news.100 - title = news.100.t - desc = news.100.d - picture = GFX_news_event_germany_victory - - major = yes - - trigger = { - 10 = { is_controlled_by = GER } - 10 = { is_owned_by = POL } - GER = { has_war_with = POL } - NOT = { has_global_flag = fall_of_warsaw_ger } - } - - immediate = { - set_global_flag = fall_of_warsaw_ger - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.100.a - trigger = { - NOT = { - TAG = GER - TAG = POL - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.100.c - trigger = { TAG = POL } - } -} - -# The Fall of Paris (Germany) -news_event = { - id = news.101 - title = news.101.t - desc = news.101.d - picture = GFX_news_event_german_soldiers - - major = yes - - trigger = { - 16 = { is_controlled_by = GER } - 16 = { is_owned_by = FRA } - FRA = { has_war_with = GER } - NOT = { has_global_flag = fall_of_paris_ger } - } - - immediate = { - set_global_flag = fall_of_paris_ger - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.101.a - trigger = { - NOT = { - TAG = GER - TAG = FRA - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.100.c - trigger = { TAG = FRA } - } -} - -# The Fall of London (Germany) -news_event = { - id = news.102 - title = news.102.t - desc = news.102.d - picture = GFX_news_event_soldiers_marching - - major = yes - - trigger = { - 126 = { is_controlled_by = GER } - 126 = { is_owned_by = ENG } - GER = { has_war_with = ENG } - NOT = { has_global_flag = fall_of_london_ger } - } - - immediate = { - set_global_flag = fall_of_london_ger - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# The Fall of Leningrad -news_event = { - id = news.103 - title = news.103.t - desc = news.103.d - picture = GFX_news_event_soldiers_marching - - major = yes - - trigger = { - 195 = { is_controlled_by = GER } - 195 = { is_owned_by = SOV } - GER = { has_war_with = SOV } - NOT = { has_global_flag = fall_of_leningrad } - } - - immediate = { - set_global_flag = fall_of_leningrad - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = GER - TAG = SOV - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.103.c - trigger = { TAG = SOV } - } -} - -# The Fall of Kiev -news_event = { - id = news.104 - title = news.104.t - desc = news.104.d - picture = GFX_news_event_kiev_ruins - - major = yes - - trigger = { - 202 = { is_controlled_by = GER } - 202 = { is_owned_by = SOV } - GER = { has_war_with = SOV } - NOT = { has_global_flag = fall_of_kiev } - } - - immediate = { - set_global_flag = fall_of_kiev - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = GER - TAG = SOV - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.103.c - trigger = { TAG = SOV } - } -} - -# The Fall of Stalingrad -news_event = { - id = news.105 - title = news.105.t - desc = news.105.d - picture = GFX_news_event_soviet_soldiers_ruins - - major = yes - - trigger = { - 217 = { is_controlled_by = GER } - 217 = { is_owned_by = SOV } - GER = { has_war_with = SOV } - NOT = { has_global_flag = fall_of_stalingrad } - } - - immediate = { - set_global_flag = fall_of_stalingrad - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = GER - TAG = SOV - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.103.c - trigger = { TAG = SOV } - } -} - -# The Fall of Moscow -news_event = { - id = news.106 - title = news.106.t - desc = news.106.d - picture = GFX_news_event_soldiers_marching - - major = yes - - trigger = { - 219 = { is_controlled_by = GER } - 219 = { is_owned_by = SOV } - SOV = { has_war_with = GER } - NOT = { has_global_flag = fall_of_moscow } - } - - immediate = { - set_global_flag = fall_of_moscow - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.106.a - trigger = { - NOT = { - TAG = GER - TAG = SOV - } - } - } - option = { - name = news.106.b - trigger = { TAG = GER } - } - option = { - name = news.106.c - trigger = { TAG = SOV } - } -} - -# The Fall of Sevastopol -news_event = { - id = news.107 - title = news.107.t - desc = news.107.d - picture = GFX_news_event_kiev_ruins - - major = yes - - trigger = { - 137 = { is_controlled_by = GER } - 137 = { is_owned_by = SOV } - GER = { has_war_with = SOV } - NOT = { has_global_flag = fall_of_sevastopol } - } - - immediate = { - set_global_flag = fall_of_sevastopol - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = GER - TAG = SOV - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.103.c - trigger = { TAG = SOV } - } -} - -# The Fall of Baku -news_event = { - id = news.108 - title = news.108.t - desc = news.108.d - picture = GFX_news_event_kiev_ruins - - major = yes - - trigger = { - 229 = { is_controlled_by = GER } - 229 = { is_owned_by = SOV } - GER = { has_war_with = SOV } - NOT = { has_global_flag = fall_of_baku } - } - - immediate = { - set_global_flag = fall_of_baku - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = GER - TAG = SOV - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.103.c - trigger = { TAG = SOV } - } -} - -# The Fall of Cairo (Germany) -news_event = { - id = news.109 - title = news.109.t - desc = news.109.d - picture = GFX_news_event_042 - - major = yes - - trigger = { - 446 = { is_controlled_by = GER } - 446 = { is_owned_by = ENG } - GER = { has_war_with = ENG } - NOT = { has_global_flag = fall_of_cairo } - } - - immediate = { - set_global_flag = fall_of_cairo - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# The Fall of Washington -news_event = { - id = news.110 - title = news.110.t - desc = news.110.d - picture = GFX_news_event_soldiers_marching - - major = yes - - trigger = { - 361 = { is_controlled_by = GER } - 361 = { is_owned_by = USA } - GER = { has_war_with = USA } - NOT = { has_global_flag = fall_of_washington } - } - - immediate = { - set_global_flag = fall_of_washington - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = GER - TAG = USA - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.100.c - trigger = { TAG = USA } - } -} - -# The Fall of New York -news_event = { - id = news.111 - title = news.111.t - desc = news.111.d - picture = GFX_news_event_soldiers_marching - - major = yes - - trigger = { - 358 = { is_controlled_by = GER } - 358 = { is_owned_by = USA } - GER = { has_war_with = USA } - NOT = { has_global_flag = fall_of_new_york } - } - - immediate = { - set_global_flag = fall_of_new_york - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = GER - TAG = USA - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.100.c - trigger = { TAG = USA } - } -} - -# The Fall of Gibraltar (Germany) -news_event = { - id = news.112 - title = news.112.t - desc = news.112.d - picture = GFX_news_event_052 - - major = yes - - trigger = { - 118 = { is_controlled_by = GER } - 118 = { is_owned_by = ENG } - GER = { has_war_with = ENG } - NOT = { has_global_flag = fall_of_gibraltar_ger } - } - - immediate = { - set_global_flag = fall_of_gibraltar_ger - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# The Fall of Cairo (Italy) -news_event = { - id = news.113 - title = news.109.t - desc = news.113.d - picture = GFX_news_event_italian_tank_desert - - major = yes - - trigger = { - 446 = { is_controlled_by = ITA } - 446 = { is_owned_by = ENG } - ITA = { has_war_with = ENG } - NOT = { has_global_flag = fall_of_cairo_ita } - } - - immediate = { - set_global_flag = fall_of_cairo_ita - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = ITA - TAG = ENG - } - } - } - option = { - name = news.113.b - trigger = { TAG = ITA } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# The Fall of Paris (Italy) -news_event = { - id = news.114 - title = news.101.t - desc = news.114.d - picture = GFX_news_event_soldiers_marching - - major = yes - - trigger = { - 16 = { is_controlled_by = ITA } - 16 = { is_owned_by = FRA } - ITA = { has_war_with = FRA } - NOT = { has_global_flag = fall_of_paris_ita } - } - - immediate = { - set_global_flag = fall_of_paris_ita - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = ITA - TAG = FRA - } - } - } - option = { - name = news.113.b - trigger = { TAG = ITA } - } - option = { - name = news.100.c - trigger = { TAG = FRA } - } -} - -# The Fall of London (Italy) -news_event = { - id = news.115 - title = news.102.t - desc = news.115.d - picture = GFX_news_event_churchill_ruins - - major = yes - - trigger = { - 126 = { is_controlled_by = ITA } - 126 = { is_owned_by = ENG } - ITA = { has_war_with = ENG } - NOT = { has_global_flag = fall_of_london_ita } - } - - immediate = { - set_global_flag = fall_of_london_ita - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = ITA - TAG = ENG - } - } - } - option = { - name = news.113.b - trigger = { TAG = ITA } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# The Fall of Gibraltar (Italy) -news_event = { - id = news.116 - title = news.112.t - desc = news.116.d - picture = GFX_news_event_052 - - major = yes - - trigger = { - 118 = { is_controlled_by = ITA } - 118 = { is_owned_by = ENG } - ITA = { has_war_with = ENG } - NOT = { has_global_flag = fall_of_gibraltar_ita } - } - - immediate = { - set_global_flag = fall_of_gibraltar_ita - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = ITA - TAG = ENG - } - } - } - option = { - name = news.113.b - trigger = { TAG = ITA } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# The Fall of Singapore -news_event = { - id = news.117 - title = news.117.t - desc = news.117.d - picture = GFX_news_event_038 - - major = yes - - trigger = { - 336 = { is_controlled_by = JAP } - 336 = { is_owned_by = ENG } - JAP = { has_war_with = ENG } - NOT = { has_global_flag = fall_of_singapore } - } - - immediate = { - set_global_flag = fall_of_singapore - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = JAP - TAG = ENG - } - } - } - option = { - name = news.117.b - trigger = { TAG = JAP } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# The Fall of Pearl Harbor -news_event = { - id = news.118 - title = news.118.t - desc = news.118.d - picture = GFX_news_event_soldiers_marching - - major = yes - - trigger = { - 629 = { is_controlled_by = JAP } - 629 = { is_owned_by = USA } - JAP = { has_war_with = USA } - NOT = { has_global_flag = fall_of_pearl_harbor } - } - - immediate = { - set_global_flag = fall_of_pearl_harbor - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = JAP - TAG = USA - } - } - } - option = { - name = news.117.b - trigger = { TAG = JAP } - } - option = { - name = news.100.c - trigger = { TAG = USA } - } -} - -# The Fall of Sydney -news_event = { - id = news.119 - title = news.119.t - desc = news.119.d - picture = GFX_news_event_047 - - major = yes - - trigger = { - 285 = { is_controlled_by = JAP } - 285 = { is_owned_by = AST } - JAP = { has_war_with = AST } - NOT = { has_global_flag = fall_of_sydney } - } - - immediate = { - set_global_flag = fall_of_sydney - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = JAP - TAG = AST - } - } - } - option = { - name = news.117.b - trigger = { TAG = JAP } - } - option = { - name = news.100.c - trigger = { TAG = AST } - } -} - -# The Fall of Los Angeles -news_event = { - id = news.120 - title = news.120.t - desc = news.120.d - picture = GFX_news_event_soldiers_marching - - major = yes - - trigger = { - 378 = { is_controlled_by = JAP } - 378 = { is_owned_by = USA } - JAP = { has_war_with = USA } - NOT = { has_global_flag = fall_of_los_angeles } - } - - immediate = { - set_global_flag = fall_of_los_angeles - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = JAP - TAG = USA - } - } - } - option = { - name = news.117.b - trigger = { TAG = JAP } - } - option = { - name = news.100.c - trigger = { TAG = USA } - } -} - -# The Fall of Nanjing -news_event = { - id = news.121 - title = news.121.t - desc = news.121.d - picture = GFX_news_event_048 - - major = yes - - trigger = { - 613 = { is_controlled_by = JAP } - 613 = { is_owned_by = CHI } - JAP = { has_war_with = CHI } - NOT = { has_global_flag = fall_of_nanjing } - } - - immediate = { - set_global_flag = fall_of_nanjing - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = JAP - TAG = CHI - } - } - } - option = { - name = news.117.b - trigger = { TAG = JAP } - } - option = { - name = news.100.c - trigger = { TAG = CHI } - } -} - -# The Fall of Vladivostok -news_event = { - id = news.122 - title = news.122.t - desc = news.122.d - picture = GFX_news_event_050 - - major = yes - - trigger = { - 408 = { is_controlled_by = JAP } - 408 = { is_owned_by = SOV } - JAP = { has_war_with = SOV } - NOT = { has_global_flag = fall_of_vladivostok } - } - - immediate = { - set_global_flag = fall_of_vladivostok - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = JAP - TAG = SOV - } - } - } - option = { - name = news.117.b - trigger = { TAG = JAP } - } - option = { - name = news.103.c - trigger = { TAG = SOV } - } -} - -# The Fall of Hong Kong -news_event = { - id = news.123 - title = news.123.t - desc = news.123.d - picture = GFX_news_event_040 - - major = yes - - trigger = { - 326 = { is_controlled_by = JAP } - 326 = { is_owned_by = ENG } - JAP = { has_war_with = ENG } - NOT = { has_global_flag = fall_of_hong_kong } - } - - immediate = { - set_global_flag = fall_of_hong_kong - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = JAP - TAG = ENG - } - } - } - option = { - name = news.117.b - trigger = { TAG = JAP } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# The Fall of Manila -news_event = { - id = news.124 - title = news.124.t - desc = news.124.d - picture = GFX_news_event_039 - - major = yes - - trigger = { - 327 = { is_controlled_by = JAP } - 327 = { is_owned_by = PHI } - JAP = { has_war_with = PHI } - NOT = { has_global_flag = fall_of_manila } - } - - immediate = { - set_global_flag = fall_of_manila - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = JAP - TAG = PHI - TAG = USA - } - } - } - option = { - name = news.117.b - trigger = { TAG = JAP } - } - option = { - name = news.100.c - trigger = { - OR = { - TAG = PHI - TAG = USA - } - } - } -} - -# The Fall of Calcutta -news_event = { - id = news.125 - title = news.125.t - desc = news.125.d - picture = GFX_news_event_046 - - major = yes - - trigger = { - 431 = { is_controlled_by = JAP } - 431 = { is_owned_by = ENG } - JAP = { has_war_with = ENG } - NOT = { has_global_flag = fall_of_calcutta } - } - - immediate = { - set_global_flag = fall_of_calcutta - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = JAP - TAG = ENG - } - } - } - option = { - name = news.117.b - trigger = { TAG = JAP } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# The Fall of New Delhi -news_event = { - id = news.126 - title = news.126.t - desc = news.126.d - picture = GFX_news_event_041 - - major = yes - - trigger = { - 439 = { is_controlled_by = JAP } - 439 = { is_owned_by = ENG } - JAP = { has_war_with = ENG } - NOT = { has_global_flag = fall_of_new_delhi } - } - - immediate = { - set_global_flag = fall_of_new_delhi - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = JAP - TAG = ENG - } - } - } - option = { - name = news.117.b - trigger = { TAG = JAP } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# The Fall of the Panama Canal -news_event = { - id = news.127 - title = news.127.t - desc = news.127.d - picture = GFX_news_event_soldiers_marching - - major = yes - - trigger = { - 685 = { is_controlled_by = JAP } - 685 = { is_owned_by = USA } - JAP = { has_war_with = USA } - NOT = { has_global_flag = fall_of_panama } - } - - immediate = { - set_global_flag = fall_of_panama - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = JAP - TAG = USA - } - } - } - option = { - name = news.117.b - trigger = { TAG = JAP } - } - option = { - name = news.100.c - trigger = { TAG = USA } - } -} - -# The Fall of Berlin (USA) -news_event = { - id = news.128 - title = news.128.t - desc = news.128.d - picture = GFX_news_event_german_reichstag_ruins - - major = yes - - trigger = { - 64 = { is_controlled_by = USA } - 64 = { is_owned_by = GER } - USA = { has_war_with = GER } - NOT = { has_global_flag = fall_of_berlin_usa } - } - - immediate = { - set_global_flag = fall_of_berlin_usa - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.139.a - trigger = { - NOT = { - TAG = USA - TAG = GER - } - } - } - option = { - name = news.128.b - trigger = { TAG = USA } - } - option = { - name = news.100.c - trigger = { TAG = GER } - } -} - -# The Fall of Berlin (Britain) -news_event = { - id = news.129 - title = news.128.t - desc = news.129.d - picture = GFX_news_event_054 - - major = yes - - trigger = { - 64 = { is_controlled_by = ENG } - 64 = { is_owned_by = GER } - ENG = { has_war_with = GER } - NOT = { has_global_flag = fall_of_berlin_eng } - } - - immediate = { - set_global_flag = fall_of_berlin_eng - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.139.a - trigger = { - NOT = { - TAG = ENG - TAG = GER - } - } - } - option = { - name = news.129.b - trigger = { TAG = ENG } - } - option = { - name = news.100.c - trigger = { TAG = GER } - } -} - -# The Fall of Berlin (France) -news_event = { - id = news.130 - title = news.128.t - desc = news.130.d - picture = GFX_news_event_german_reichstag_ruins_02 - - major = yes - - trigger = { - 64 = { is_controlled_by = FRA } - 64 = { is_owned_by = GER } - FRA = { has_war_with = GER } - NOT = { has_global_flag = fall_of_berlin_fra } - } - - immediate = { - set_global_flag = fall_of_berlin_fra - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = FRA - TAG = GER - } - } - } - option = { - name = news.130.b - trigger = { TAG = FRA } - } - option = { - name = news.100.c - trigger = { TAG = GER } - } -} - -# The Fall of Berlin (Poland) -news_event = { - id = news.131 - title = news.128.t - desc = news.131.d - picture = GFX_news_event_soldiers_marching - - major = yes - - trigger = { - 64 = { is_controlled_by = POL } - 64 = { is_owned_by = GER } - POL = { has_war_with = GER } - NOT = { has_global_flag = fall_of_berlin_pol } - } - - immediate = { - set_global_flag = fall_of_berlin_pol - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = POL - TAG = GER - } - } - } - option = { - name = news.131.b - trigger = { TAG = POL } - } - option = { - name = news.100.c - trigger = { TAG = GER } - } -} - -# The Fall of Rome (Allies) -news_event = { - id = news.132 - title = news.132.t - desc = news.132.d - picture = GFX_news_event_057 - - major = yes - - trigger = { - OR = { - 2 = { is_controlled_by = ENG } - 2 = { is_controlled_by = USA } - 2 = { is_controlled_by = AST } - 2 = { is_controlled_by = CAN } - 2 = { is_controlled_by = NZL } - 2 = { is_controlled_by = SAF } - } - OR = { - 2 = { is_owned_by = ITA } - 2 = { is_owned_by = GER } - } - NOT = { has_global_flag = fall_of_rome_allies } - } - - immediate = { - set_global_flag = fall_of_rome_allies - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = ENG - TAG = USA - TAG = AST - TAG = CAN - TAG = NZL - TAG = SAF - TAG = ITA - TAG = GER - } - } - } - option = { - name = news.132.b - trigger = { - OR = { - TAG = ENG - TAG = USA - TAG = AST - TAG = CAN - TAG = NZL - TAG = SAF - } - } - } - option = { - name = news.100.c - trigger = { - OR = { - TAG = GER - TAG = ITA - } - } - } -} - -# The Fall of Rome (France) -news_event = { - id = news.133 - title = news.132.t - desc = news.133.d - picture = GFX_news_event_french_parade - - major = yes - - trigger = { - 2 = { is_controlled_by = FRA } - 2 = { is_owned_by = ITA } - FRA = { has_war_with = ITA } - NOT = { has_global_flag = fall_of_rome_fra } - } - - immediate = { - set_global_flag = fall_of_rome_fra - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = FRA - TAG = ITA - } - } - } - option = { - name = news.130.b - trigger = { TAG = FRA } - } - option = { - name = news.100.c - trigger = { TAG = ITA } - } -} - -# The Liberation of Paris (Allies) -news_event = { - id = news.134 - title = news.134.t - desc = news.134.d - picture = GFX_news_event_051 - - major = yes - - is_triggered_only = yes - - trigger = { - NOT = { has_global_flag = liberation_of_paris } - has_global_flag = fall_of_france - } - - immediate = { - set_global_flag = liberation_of_paris - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = ENG - TAG = USA - TAG = AST - TAG = FRA - TAG = CAN - TAG = NZL - TAG = SAF - TAG = GER - } - } - } - option = { - name = news.145.a - trigger = { - OR = { - TAG = ENG - TAG = USA - TAG = AST - TAG = FRA - TAG = CAN - TAG = NZL - TAG = SAF - } - } - } - option = { - name = news.100.c - trigger = { TAG = GER } - } -} - -# The Fall of Tokyo (USA) -news_event = { - id = news.135 - title = news.135.t - desc = news.135.d - picture = GFX_news_event_053 - - major = yes - - trigger = { - 282 = { is_controlled_by = USA } - 282 = { is_owned_by = JAP } - USA = { has_war_with = JAP } - NOT = { has_global_flag = fall_of_tokyo_usa } - } - - immediate = { - set_global_flag = fall_of_tokyo_usa - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = USA - TAG = JAP - } - } - } - option = { - name = news.128.b - trigger = { TAG = USA } - } - option = { - name = news.100.c - trigger = { TAG = JAP } - } -} - -# The Fall of Moscow (Allies) -news_event = { - id = news.136 - title = news.106.t - desc = news.136.d - picture = GFX_news_event_soldiers_marching - - major = yes - - trigger = { - OR = { - 219 = { is_controlled_by = ENG } - 219 = { is_controlled_by = USA } - 219 = { is_controlled_by = AST } - 219 = { is_controlled_by = CAN } - 219 = { is_controlled_by = NZL } - 219 = { is_controlled_by = SAF } - 219 = { is_controlled_by = FRA } - } - 219 = { is_owned_by = SOV } - NOT = { has_global_flag = fall_of_moscow_allies } - } - - immediate = { - set_global_flag = fall_of_moscow_allies - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = ENG - TAG = USA - TAG = AST - TAG = CAN - TAG = NZL - TAG = SAF - TAG = SOV - } - } - } - option = { - name = news.132.b - trigger = { - OR = { - TAG = ENG - TAG = USA - TAG = AST - TAG = CAN - TAG = NZL - TAG = SAF - } - } - } - option = { - name = news.100.c - trigger = { TAG = SOV } - } -} - -# The Liberation of London (USA) -news_event = { - id = news.137 - title = news.137.t - desc = news.137.d - picture = GFX_news_event_061 - - major = yes - is_triggered_only = yes - trigger = { - NOT = { has_global_flag = liberation_of_london } - has_global_flag = fall_of_london_ger - } - - immediate = { - set_global_flag = liberation_of_london - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = USA - TAG = GER - } - } - } - option = { - name = news.128.b - trigger = { TAG = USA } - } - option = { - name = news.100.c - trigger = { TAG = GER } - } -} - -# The Fall of Warsaw (USSR) -news_event = { - id = news.138 - title = news.100.t - desc = news.138.d - picture = GFX_news_event_067 - - major = yes - - trigger = { - 10 = { is_controlled_by = SOV } - 10 = { is_owned_by = POL } - SOV = { has_war_with = POL } - NOT = { has_global_flag = fall_of_warsaw_sov } - } - - immediate = { - set_global_flag = fall_of_warsaw_sov - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.100.a - trigger = { - NOT = { - TAG = SOV - TAG = POL - } - } - } - option = { - name = news.138.b - trigger = { TAG = SOV } - } - option = { - name = news.100.c - trigger = { TAG = POL } - } -} - -# The Liberation of Warsaw -news_event = { - id = news.139 - title = news.139.t - desc = news.139.d - picture = GFX_news_event_polish_resistance_warsaw - - major = yes - is_triggered_only = yes - trigger = { - NOT = { has_global_flag = liberation_of_warsaw } - has_global_flag = fall_of_warsaw_ger - } - - immediate = { - set_global_flag = liberation_of_warsaw - } - - option = { - name = news.139.a - trigger = { - NOT = { - TAG = SOV - TAG = GER - } - } - } - option = { - name = news.138.b - trigger = { TAG = SOV } - } - option = { - name = news.100.c - trigger = { TAG = GER } - } -} - -# The Fall of Berlin (USSR) -news_event = { - id = news.140 - title = news.128.t - desc = news.140.d - picture = GFX_news_event_german_reichstag_graffiti_ruins - - major = yes - - trigger = { - 64 = { is_controlled_by = SOV } - 64 = { is_owned_by = GER } - GER = { has_war_with = SOV } - NOT = { has_global_flag = fall_of_berlin_sov } - } - - immediate = { - set_global_flag = fall_of_berlin_sov - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.140.a - trigger = { - NOT = { - TAG = SOV - TAG = GER - } - } - } - option = { - name = news.140.b - trigger = { TAG = SOV } - } - option = { - name = news.100.c - trigger = { TAG = GER } - } -} - -# The Fall of Rome (USSR) -news_event = { - id = news.141 - title = news.132.t - desc = news.141.d - picture = GFX_news_event_063 - - major = yes - - trigger = { - 2 = { is_controlled_by = SOV } - 2 = { is_owned_by = ITA } - SOV = { has_war_with = ITA } - NOT = { has_global_flag = fall_of_rome_sov } - } - - immediate = { - set_global_flag = fall_of_rome_sov - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.140.a - trigger = { - NOT = { - TAG = SOV - TAG = ITA - } - } - } - option = { - name = news.138.b - trigger = { TAG = SOV } - } - option = { - name = news.100.c - trigger = { TAG = ITA } - } -} - -# The Fall of Paris (USSR) -news_event = { - id = news.142 - title = news.101.t - desc = news.142.d - picture = GFX_news_event_064 - - major = yes - - trigger = { - 16 = { is_controlled_by = SOV } - 16 = { is_owned_by = FRA } - SOV = { has_war_with = FRA } - NOT = { has_global_flag = fall_of_paris_sov } - } - - immediate = { - set_global_flag = fall_of_paris_sov - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.140.a - trigger = { - NOT = { - TAG = SOV - TAG = FRA - } - } - } - option = { - name = news.138.b - trigger = { TAG = SOV } - } - option = { - name = news.100.c - trigger = { TAG = FRA } - } -} - -# The Liberation of Paris (USSR) -news_event = { - id = news.143 - title = news.134.t - desc = news.143.d - picture = GFX_news_event_073 - - major = yes - - trigger = { - 16 = { is_controlled_by = SOV } - 16 = { is_owned_by = GER } - NOT = { has_global_flag = liberation_of_paris_sov } - has_global_flag = fall_of_france - } - - immediate = { - set_global_flag = liberation_of_paris_sov - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.143.a - trigger = { - NOT = { - TAG = SOV - TAG = GER - } - } - } - option = { - name = news.138.b - trigger = { TAG = SOV } - } - option = { - name = news.100.c - trigger = { TAG = GER } - } -} - -# The Fall of London (USSR) -news_event = { - id = news.144 - title = news.102.t - desc = news.144.d - picture = GFX_news_event_063 - - major = yes - - trigger = { - 126 = { is_controlled_by = SOV } - 126 = { is_owned_by = ENG } - SOV = { has_war_with = ENG } - NOT = { has_global_flag = fall_of_london_sov } - } - - immediate = { - set_global_flag = fall_of_london_sov - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.140.a - trigger = { - NOT = { - TAG = SOV - TAG = ENG - } - } - } - option = { - name = news.138.b - trigger = { TAG = SOV } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# The Liberation of London (USSR) -news_event = { - id = news.145 - title = news.137.t - desc = news.145.d - picture = GFX_news_event_063 - - major = yes - - trigger = { - 126 = { is_controlled_by = SOV } - 126 = { is_owned_by = GER } - NOT = { has_global_flag = liberation_of_london_sov } - has_global_flag = fall_of_london_ger - } - - immediate = { - set_global_flag = liberation_of_london_sov - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = SOV - TAG = GER - } - } - } - option = { - name = news.138.b - trigger = { TAG = SOV } - } - option = { - name = news.100.c - trigger = { TAG = GER } - } -} - -# The Fall of Tokyo (USSR) -news_event = { - id = news.146 - title = news.135.t - desc = news.146.d - picture = GFX_news_event_072 - - major = yes - - trigger = { - 282 = { is_controlled_by = SOV } - 282 = { is_owned_by = JAP } - SOV = { has_war_with = JAP } - NOT = { has_global_flag = fall_of_tokyo_sov } - } - - immediate = { - set_global_flag = fall_of_tokyo_sov - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = SOV - TAG = JAP - } - } - } - option = { - name = news.138.b - trigger = { TAG = SOV } - } - option = { - name = news.100.c - trigger = { TAG = JAP } - } -} - -# The Fall of Leningrad (Finland) -news_event = { - id = news.147 - title = news.103.t - desc = news.147.d - picture = GFX_news_event_056 - - major = yes - - trigger = { - 195 = { is_controlled_by = FIN } - 195 = { is_owned_by = SOV } - SOV = { has_war_with = FIN } - NOT = { has_global_flag = fall_of_leningrad_fin } - } - - immediate = { - set_global_flag = fall_of_leningrad_fin - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = FIN - TAG = SOV - } - } - } - option = { - name = news.132.b - trigger = { TAG = FIN } - } - option = { - name = news.100.c - trigger = { TAG = SOV } - } -} - -# The Fall of Tokyo (China) -news_event = { - id = news.148 - title = news.135.t - desc = news.148.d - picture = GFX_news_event_chinese_soldiers_march - - major = yes - - trigger = { - 282 = { is_controlled_by = CHI } - 282 = { is_owned_by = JAP } - JAP = { has_war_with = CHI } - NOT = { has_global_flag = fall_of_tokyo_chi } - } - - immediate = { - set_global_flag = fall_of_tokyo_chi - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = CHI - TAG = JAP - } - } - } - option = { - name = news.132.b - trigger = { TAG = CHI } - } - option = { - name = news.100.c - trigger = { TAG = JAP } - } -} - -# The Fall of Gibraltar (Spain) -news_event = { - id = news.149 - title = news.112.t - desc = news.149.d - picture = GFX_news_event_052 - - major = yes - - trigger = { - any_other_country = { - original_tag = SPR - controls_state = 118 - has_war_with = ENG - } - 118 = { is_owned_by = ENG } - NOT = { - AND = { - has_global_flag = spanish_civil_war - NOT = { has_global_flag = scw_over } - } - } - NOT = { has_global_flag = fall_of_gibraltar_spa } - } - - immediate = { - set_global_flag = fall_of_gibraltar_spa - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { original_tag = SPR } - NOT = { tag = ENG } - } - } - option = { - name = news.132.b - trigger = { - original_tag = SPR - } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# Yugoslav Coup -news_event = { - id = news.150 - title = news.150.t - desc = news.150.d - picture = GFX_news_event_yugoslav_coup - - major = yes - - is_triggered_only = yes - - option = { - name = news.145.a - trigger = { NOT = { tag = GER } } - } - - option = { - name = news.150.b - trigger = { tag = GER } - create_wargoal = { - type = take_state_focus - target = YUG - generator = { 107 } - } - } -} - -# Remilitarization of the Rhineland (Germany Backs Down, Allied Pressure) -news_event = { - id = news.151 - title = news.151.t - desc = news.151.d - picture = GFX_news_event_hitler_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.151.a - trigger = { - NOT = { - TAG = GER - TAG = FRA - TAG = ENG - is_in_faction_with = GER - } - } - } - option = { - name = news.151.b - trigger = { - OR = { - TAG = GER - is_in_faction_with = GER - } - } - } - option = { - name = news.151.c - trigger = { - OR = { - TAG = FRA - TAG = ENG - } - } - } -} - -# Remilitarization of the Rhineland (Germany Backs Down, French Pressure) -news_event = { - id = news.152 - title = news.151.t - desc = news.152.d - picture = GFX_news_event_hitler_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.151.a - trigger = { - NOT = { - TAG = GER - TAG = FRA - TAG = ENG - is_in_faction_with = GER - } - } - } - option = { - name = news.151.b - trigger = { - OR = { - TAG = GER - is_in_faction_with = GER - } - } - } - option = { - name = news.152.c - trigger = { TAG = FRA } - } - option = { - name = news.152.e - trigger = { TAG = ENG } - } -} - -# Germany Breaks Molotov-Ribbentrop Pact -news_event = { - id = news.153 - title = news.153.t - desc = news.153.d - picture = GFX_news_event_german_inspect_troops - - major = yes - - trigger = { - SOV = { - has_defensive_war_with = GER - has_opinion_modifier = MR_pact - } - } - - mean_time_to_happen = { - days = 2 - } - - immediate = { - hidden_effect = { - SOV = { - remove_opinion_modifier = { target = GER modifier = MR_pact } - remove_ideas = SOV_molotov_ribbentrop_pact - } - GER = { remove_opinion_modifier = { target = SOV modifier = MR_pact } } - every_other_country = { - limit = { has_opinion_modifier = MR_pact_fascists } - remove_opinion_modifier = { target = GER modifier = MR_pact_fascists } - } - } - } - - option = { - name = news.153.a - trigger = { - NOT = { - TAG = GER - TAG = SOV - is_in_faction_with = SOV - } - } - if = { - limit = { - original_tag = ENG - has_government = communism - has_country_leader = { - name = "Rajani Palme Dutt" - ruling_only = yes - } - } - create_country_leader = { - name = "Harry Pollitt" - desc = "POLITICS_HARRY_POLLITT_DESC" - picture = "portrait_eng_harry_pollitt.dds" - expire = "1965.1.1" - ideology = leninism - traits = { - staunch_stalinist - } - } - } - } - option = { - name = news.153.b - trigger = { TAG = GER } - } - option = { - name = news.153.c - trigger = { - OR = { - TAG = SOV - is_in_faction_with = SOV - } - } - } -} - -# USSR Breaks Molotov-Ribbentrop Pact -news_event = { - id = news.154 - title = news.154.t - desc = news.154.d - picture = GFX_news_event_006 - - major = yes - - trigger = { - GER = { - has_defensive_war_with = SOV - has_opinion_modifier = MR_pact - } - } - - mean_time_to_happen = { - days = 2 - } - - immediate = { - hidden_effect = { - SOV = { - remove_opinion_modifier = { target = GER modifier = MR_pact } - remove_ideas = SOV_molotov_ribbentrop_pact - } - GER = { remove_opinion_modifier = { target = SOV modifier = MR_pact } } - every_other_country = { - limit = { has_opinion_modifier = MR_pact_fascists } - remove_opinion_modifier = { target = GER modifier = MR_pact_fascists } - } - } - } - - option = { - name = news.153.a - trigger = { - NOT = { - TAG = GER - TAG = SOV - is_in_faction_with = GER - } - } - } - option = { - name = news.154.b - trigger = { - OR = { - TAG = GER - is_in_faction_with = GER - } - } - } - option = { - name = news.154.c - trigger = { TAG = SOV } - } -} - -# Germany declares war without having remilitarized Rhineland. Which then happens. -news_event = { - id = news.155 - title = news.155.t - desc = news.155.d - picture = GFX_news_event_german_soldiers - - major = yes - - trigger = { - NOT = { has_global_flag = rhineland_militarized_war } - GER = { - OR = { - has_country_flag = GER_rhineland_backed_down - NOT = { has_completed_focus = GER_rhineland } - } - has_offensive_war = yes - } - 42 = { - is_demilitarized_zone = no - } - } - - immediate = { - set_global_flag = rhineland_militarized_war - } - - - mean_time_to_happen = { - days = 2 - } - - option = { - trigger = { NOT = { tag = GER } } - name = news.155.a - } - option = { - trigger = { tag = GER } - name = news.155.b - } -} - -# Komet Sighted -news_event = { - id = news.156 - title = news.156.t - desc = news.156.d - picture = GFX_news_event_komet - - #major = yes - - fire_only_once = yes - - trigger = { - tag = GER - has_tech = rocket_engines - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.156.a - add_stability = -0.01 - custom_effect_tooltip = news.156.a.tt - add_stability = 0.01 - custom_effect_tooltip = news.156.a.2.tt - } -} - -# USA intervenes in war between ppl in America -news_event = { - id = news.157 - title = news.157.t - desc = news.157.d - picture = GFX_news_event_020 - - major = yes - - # Use the below if we only want it to fire once - #trigger = { - # NOT = { has_global_flag = news.157_fired } - #} - #immediate = { set_global_flag = news.157_fired } - - is_triggered_only = yes - - option = { - trigger = { tag = USA } - name = news.157.a_usa - } - option = { - trigger = { NOT = { tag = USA } } - name = news.157.a - } -} -# USA intervenes in war between ppl in America -news_event = { - id = news.158 - title = news.158.t - desc = news.158.d - picture = GFX_news_event_020 - - major = yes - - # Use the below if we only want it to fire once - #trigger = { - # NOT = { has_global_flag = news.158_fired } - #} - #immediate = { set_global_flag = news.158_fired } - - is_triggered_only = yes - - option = { - trigger = { tag = USA } - name = news.158.a_usa - } - option = { - trigger = { NOT = { tag = USA } } - name = news.158.a - } -} - -# Faction Founded! -news_event = { - id = news.159 - title = news.159.t - desc = { - text = news.159.d_01 - trigger = { FROM = { has_government = neutrality } } - } - desc = { - text = news.159.d_02 - trigger = { FROM = { has_government = democratic } } - } - desc = { - text = news.159.d_03 - trigger = { FROM = { has_government = fascism } } - } - desc = { - text = news.159.d_04 - trigger = { FROM = { has_government = communism } } - } - - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - trigger = { - NOT = { tag = FROM } - NOT = { is_in_faction_with = FROM } - } - name = news.159.a - every_other_country = { - limit = { is_in_faction_with = FROM } - custom_effect_tooltip = news.159.tt - } - } - option = { - trigger = { tag = FROM } - name = news.159.b - } - option = { - trigger = { - NOT = { tag = FROM } - is_in_faction_with = FROM - } - name = news.159.c - } -} - -# Germany has defensive war without having remilitarized Rhineland. Which then happens. -#news_event = { -# id = news.160 -# title = news.160.t -# desc = news.160.d -# picture = GFX_news_event_german_soldiers - -# major = yes - -# trigger = { -# NOT = { has_global_flag = rhineland_militarized_war } -# GER = { -# OR = { -# has_country_flag = GER_rhineland_backed_down -# NOT = { has_completed_focus = GER_rhineland } -# } -# has_defensive_war = yes -# NOT = { has_civil_war = yes } -# } -# 42 = { -# is_demilitarized_zone = no -# } -# } - -# immediate = { -# set_global_flag = rhineland_militarized_war -# } - - -# mean_time_to_happen = { -# days = 2 -# } - -# option = { -# trigger = { NOT = { tag = GER } } -# name = news.160.a -# } -# option = { -# trigger = { tag = GER } -# name = news.160.b -# } -#} - -# France bans communism -news_event = { - id = news.161 - title = news.161.t - desc = news.161.d - picture = GFX_news_event_worker_protests - - major = yes - - is_triggered_only = yes - - option = { - trigger = { has_government = fascism } - name = news.161.a - } - option = { - trigger = { has_government = communism } - name = news.161.b - } - option = { - trigger = { - NOT = { has_government = fascism } - NOT = { has_government = communism } - NOT = { tag = FRA } - } - name = news.161.c - } - option = { - trigger = { tag = FRA } - name = news.161.e - } -} - -# End of Spanish Civil War (Inconclusive) -news_event = { - id = news.162 - title = news.64.t - desc = news.162.d - picture = GFX_news_event_032 - - major = yes - - trigger = { - has_global_flag = spanish_civil_war - SPR = { has_civil_war = no } - NOT = { has_global_flag = scw_over } - NOT = { has_dlc = "La Resistance" } - any_other_country = { - original_tag = SPR - has_government = fascism - } - any_other_country = { - original_tag = SPR - NOT = { has_government = fascism } - } - } - - mean_time_to_happen = { - days = 2 - } - - immediate = { - set_global_flag = scw_over - } - - option = { - name = news.162.a - trigger = { - NOT = { original_tag = SPR } - } - } - option = { - name = news.162.b - trigger = { original_tag = SPR } - } -} - -# London Conference -news_event = { - id = news.163 - title = news.163.t - desc = news.163.d - picture = GFX_news_event_019 - - major = yes - - is_triggered_only = yes - - option = { - name = news.163.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - TAG = YUG - } - } - } - option = { - name = news.163.b - trigger = { TAG = GER } - } - option = { - name = news.163.c - trigger = { TAG = ENG } - } - option = { - name = news.163.e - trigger = { TAG = YUG } - } -} - -# Slovenian Crisis (British and possibly French Support) -news_event = { - id = news.164 - title = news.164.t - desc = { - text = news.164.d - trigger = { NOT = { has_global_flag = FRA_abandoned_yugoslavia } } - } - desc = { - text = news.164.d_FRA_abandoned_yugoslavia - trigger = { has_global_flag = FRA_abandoned_yugoslavia } - } - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.164.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - TAG = FRA - TAG = YUG - } - } - } - option = { - name = news.164.b - trigger = { TAG = GER } - } - option = { - name = news.164.c - trigger = { - OR = { - TAG = ENG - AND = { - TAG = FRA - NOT = { has_global_flag = FRA_abandoned_yugoslavia } - } - } - } - } - option = { - name = news.164.e - trigger = { TAG = YUG } - } - option = { - name = news.164.f - trigger = { - TAG = FRA - has_global_flag = FRA_abandoned_yugoslavia - } - } -} - -# Slovenian Crisis (French Support) -news_event = { - id = news.165 - title = news.165.t - desc = news.165.d - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.165.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - TAG = FRA - TAG = YUG - } - } - } - option = { - name = news.165.b - trigger = { TAG = GER } - } - option = { - name = news.165.c - trigger = { TAG = ENG } - } - option = { - name = news.165.e - trigger = { TAG = YUG } - } - option = { - name = news.165.f - trigger = { TAG = FRA } - } -} - -# London Agreement (Yugoslavia Resist) -news_event = { - id = news.166 - title = news.166.t - desc = news.166.d - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.166.a - trigger = { - NOT = { - TAG = GER - TAG = YUG - } - } - } - option = { - name = news.166.b - trigger = { TAG = GER } - } - option = { - name = news.166.c - trigger = { TAG = YUG } - } -} - -# Slovenian Crisis (Italian Support) -news_event = { - id = news.167 - title = news.167.t - desc = news.167.d - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.167.a - trigger = { - NOT = { - TAG = GER - TAG = ITA - TAG = YUG - } - } - } - option = { - name = news.167.b - trigger = { TAG = GER } - } - option = { - name = news.167.e - trigger = { TAG = ITA } - } - option = { - name = news.167.c - trigger = { TAG = YUG } - } -} - -#First Ljubljana award -news_event = { - id = news.168 - title = news.168.t - desc = news.168.d - - picture = GFX_news_event_019 - - major = yes - - is_triggered_only = yes - - option = { - name = news.168.a - trigger = { - OR = { - TAG = GER - is_in_faction_with = GER - } - NOT = { tag = HUN } - NOT = { tag = BUL } - NOT = { tag = ITA } - NOT = { tag = YUG } - } - } - option = { - name = news.168.b - trigger = { TAG = YUG } - } - option = { - name = news.168.c - trigger = { - NOT = { TAG = GER } - NOT = { TAG = YUG } - NOT = { tag = HUN } - NOT = { tag = BUL } - NOT = { tag = ITA } - NOT = { is_in_faction_with = GER } - } - } - option = { - name = news.168.e - trigger = { - TAG = HUN - HUN = { - has_country_flag = GER_first_ljubljana_award - } - } - } - option = { - name = news.168.f - trigger = { - TAG = HUN - HUN = { - NOT = { has_country_flag = GER_first_ljubljana_award } - } - } - } - option = { - name = news.168.g - trigger = { - TAG = BUL - BUL = { - has_country_flag = GER_first_ljubljana_award - } - } - } - option = { - name = news.168.h - trigger = { - TAG = BUL - BUL = { - NOT = { has_country_flag = GER_first_ljubljana_award } - } - } - } - option = { - name = news.168.i - trigger = { - TAG = ITA - ITA = { - has_country_flag = GER_first_ljubljana_award - } - } - } - option = { - name = news.168.j - trigger = { - TAG = ITA - ITA = { - NOT = { has_country_flag = GER_first_ljubljana_award } - } - } - } -} - -news_event = { - id = news.169 - title = news.169.t - desc = { - text = news.169.d_annex_YUG - trigger = { - has_global_flag = GER_fate_of_yugoslavia_annex_YUG - } - } - desc = { - text = news.169.d_puppet_CRO_annex_YUG - trigger = { - has_global_flag = GER_fate_of_yugoslavia_puppet_CRO_annex_YUG - } - } - desc = { - text = news.169.d_puppet_CRO_YUG - trigger = { - has_global_flag = GER_fate_of_yugoslavia_puppet_CRO_YUG - } - } - - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.169.a - trigger = { - TAG = GER - } - } - option = { - name = news.169.b - trigger = { - NOT = { TAG = GER } - is_in_faction_with = GER - } - } - option = { - name = news.169.c - trigger = { - NOT = { TAG = GER } - NOT = { is_in_faction_with = GER } - is_in_faction = yes - } - } - option = { - name = news.169.e - trigger = { - NOT = { TAG = GER } - is_in_faction = no - } - } -} - -news_event = { - id = news.170 - title = news.170.t - desc = { - text = news.170.d_BUL - trigger = { - has_global_flag = GER_second_ljubljana_award_BUL_event - NOT = { has_global_flag = GER_second_ljubljana_award_ITA_event } - } - } - desc = { - text = news.170.d_ITA - trigger = { - has_global_flag = GER_second_ljubljana_award_ITA_event - NOT = { has_global_flag = GER_second_ljubljana_award_BUL_event } - } - } - desc = { - text = news.170.d_ITA_BUL - trigger = { - has_global_flag = GER_second_ljubljana_award_ITA_event - has_global_flag = GER_second_ljubljana_award_BUL_event - } - } - desc = { - text = news.170.d_GER - trigger = { - has_global_flag = GER_second_ljubljana_award_GER_event - } - } - - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.170.a - trigger = { - TAG = GER - } - } - option = { - name = news.170.b - trigger = { - NOT = { TAG = GER } - is_in_faction_with = GER - } - } - option = { - name = news.170.c - trigger = { - NOT = { TAG = GER } - NOT = { is_in_faction_with = GER } - is_in_faction = yes - } - } - option = { - name = news.170.e - trigger = { - NOT = { TAG = GER } - is_in_faction = no - } - } -} - -news_event = { - id = news.171 - title = news.171.t - desc = { - text = news.171.d_BUL - trigger = { - has_global_flag = GER_second_ljubljana_award_BUL_event - NOT = { has_global_flag = GER_second_ljubljana_award_ITA_event } - } - } - desc = { - text = news.171.d_ITA - trigger = { - has_global_flag = GER_second_ljubljana_award_ITA_event - NOT = { has_global_flag = GER_second_ljubljana_award_BUL_event } - } - } - desc = { - text = news.171.d_ITA_BUL - trigger = { - has_global_flag = GER_second_ljubljana_award_ITA_event - has_global_flag = GER_second_ljubljana_award_BUL_event - } - } - desc = { - text = news.171.d_GER - trigger = { - has_global_flag = GER_second_ljubljana_award_GER_event - } - } - - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.171.a - trigger = { - TAG = GER - } - } - option = { - name = news.171.b - trigger = { - NOT = { TAG = GER } - is_in_faction_with = GER - } - } - option = { - name = news.171.c - trigger = { - NOT = { TAG = GER } - NOT = { is_in_faction_with = GER } - is_in_faction = yes - NOT = { tag = GRE } - } - } - option = { - name = news.171.e - trigger = { - NOT = { TAG = GER } - is_in_faction = no - NOT = { tag = GRE } - } - } - option = { - name = news.171.f - trigger = { - tag = GRE - } - } -} - -news_event = { - id = news.172 - title = news.172.t - desc = news.172.d - - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.172.a - trigger = { - TAG = GER - } - } - option = { - name = news.172.b - trigger = { - NOT = { TAG = GER } - NOT = { TAG = GRE } - is_in_faction_with = GER - } - } - option = { - name = news.172.c - trigger = { - NOT = { TAG = GER } - NOT = { is_in_faction_with = GER } - is_in_faction = yes - NOT = { tag = GRE } - } - } - option = { - name = news.172.e - trigger = { - NOT = { TAG = GER } - is_in_faction = no - NOT = { tag = GRE } - } - } - option = { - name = news.172.f - trigger = { - tag = GRE - } - } -} - - - -#FROM pursues nuclear technology -news_event = { - id = news.174 - title = news.174.t - picture = GFX_news_event_069 - desc = news.174.d - - major = yes - - is_triggered_only = yes - - #We should follow this development. - option = { - name = news.174.a - trigger = { - NOT = { - is_in_faction_with = FROM - has_war_with = FROM - tag = FROM - } - } - } - - #Let us hope their research bears fruit. - option = { - name = news.174.b - trigger = { - is_in_faction_with = FROM - NOT = { - tag = FROM - } - } - } - - #It will never amount to anything. - option = { - name = news.174.c - trigger = { - has_war_with = FROM - } - } - - #We will conduct our research in secret. - option = { - name = news.174.e - trigger = { - tag = FROM - } - } -} - - -#France joins Britain -news_event = { - id = news.175 - title = news.175.t - picture = GFX_news_event_churchill_degaulle - desc = news.175.d - - major = yes - - is_triggered_only = yes - - #We stand together. - option = { - name = news.175.a - trigger = { - OR = { - tag = ENG - tag = FRA - } - } - } - - #They are preparing for the worst. - option = { - name = news.175.b - trigger = { - FRA = { - has_war = no - } - NOT = { - OR = { - tag = FRA - tag = ENG - tag = GER - } - } - } - } - - #Banding together like cornered rats. - option = { - name = news.175.c - trigger = { - OR = { - tag = GER - has_war_with = FRA - } - } - } - - #Britain has thrown in their lot. - option = { - name = news.175.e - trigger = { - FRA = { - has_war = yes - } - NOT = { - has_war_with = FRA - } - NOT = { - OR = { - tag = FRA - tag = ENG - tag = GER - } - } - } - } -} - - - -#Britain rejects French alliance -news_event = { - id = news.176 - title = news.176.t - picture = GFX_news_event_churchill_degaulle - desc = news.176.d - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #They should have asked more nicely. - option = { - name = news.176.a - trigger = { - tag = ENG - } - } - - #Our old enemies stand divided. - option = { - name = news.176.b - trigger = { - tag = GER - } - } - - #A dark day for the old allies. - option = { - name = news.176.c - trigger = { - NOT = { - OR = { - tag = ENG - tag = GER - } - } - } - } -} - -#The Little Entente -news_event = { - id = news.177 - title = news.177.t - desc = news.177.d - picture = GFX_news_event_057 - - major = yes - - is_triggered_only = yes - - #Don't come crying to us later, then! - option = { - name = news.177.a - trigger = { - tag = ENG - } - } - - #Vive la France! - option = { - name = news.177.b - trigger = { - tag = FRA - } - } - - #We must never again let France have hegemony in Europe. - option = { - name = news.177.c - trigger = { - OR = { - tag = GER - tag = ITA - if = { - limit = { - NOT = { has_dlc = "La Resistance" } - } - AND = { - original_tag = SPR - has_government = fascism - } - } - if = { - limit = { - has_dlc = "La Resistance" - } - tag = SPA - } - tag = SOV - } - } - } - - #Europe must unite against Fascist aggressors! - option = { - name = news.177.e - trigger = { - tag = CZE - NOT = { - has_government = fascism - } - } - } - - #European tension is growing. - option = { - name = news.177.f - trigger = { - NOT = { - tag = GER - tag = ITA - tag = SOV - if = { - limit = { - NOT = { has_dlc = "La Resistance" } - } - AND = { - original_tag = SPR - NOT = { - has_government = fascism - } - } - } - if = { - limit = { - has_dlc = "La Resistance" - } - NOT = { tag = SPA } - } - tag = FRA - tag = ENG - AND = { - tag = CZE - has_government = fascism - } - } - } - } -} - - -#The Left Ascendant in France -news_event = { - id = news.178 - title = news.178.t - desc = news.178.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #France is with us towards the future! - option = { - name = news.178.a - trigger = { - has_government = communism - } - } - - #A sure sign of French weakness. - option = { - name = news.178.b - trigger = { - has_government = fascism - } - } - - #A tragic day for the Third Republic. - option = { - name = news.178.c - trigger = { - has_government = democratic - } - } - - #A worrisome development. - option = { - name = news.178.e - trigger = { - has_government = neutrality - } - } -} - - -#The Right Ascendant in France -news_event = { - id = news.179 - title = news.179.t - desc = news.179.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #The French government is an enemy of its people! - option = { - name = news.179.a - trigger = { - has_government = communism - } - } - - #This could once again make France a great nation. - option = { - name = news.179.b - trigger = { - has_government = fascism - } - } - - #A tragic day for the Third Republic. - option = { - name = news.179.c - trigger = { - has_government = democratic - } - } - - #A worrisome development. - option = { - name = news.179.e - trigger = { - has_government = neutrality - } - } -} - - -#France Is Welcomed by the Comintern -news_event = { - id = news.180 - title = news.180.t - desc = news.180.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - immediate = { - FRA = { - save_event_target_as = France - } - } - - #United towards the World Revolution! - option = { - name = news.180.a - trigger = { - OR = { - has_government = communism - tag = FRA - } - } - } - - #Their alliance will crumble soon enough. - option = { - name = news.180.b - trigger = { - has_government = fascism - NOT = { - tag = FRA - } - } - } - - #The enemies of democracy must not be allowed to grow stronger. - option = { - name = news.180.c - trigger = { - has_government = democratic - NOT = { - tag = FRA - } - } - } - - #France has picked her side. - option = { - name = news.180.e - trigger = { - has_government = neutrality - NOT = { - tag = FRA - } - } - } -} - - -#Italy And France Unite -news_event = { - id = news.181 - title = news.181.t - desc = news.181.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - immediate = { - FRA = { - save_event_target_as = France - } - } - - #Together we stand strong! - option = { - name = news.181.a - trigger = { - OR = { - tag = FRA - tag = ITA - } - } - } - - - #The enemies of democracy grow stronger. - option = { - name = news.181.b - trigger = { - NOT = { - tag = FRA - } - NOT = { - tag = ITA - } - has_government = democratic - } - } - - #An unexpected Friendship - option = { - name = news.181.c - trigger = { - NOT = { - tag = FRA - } - NOT = { - tag = ITA - } - NOT = { - has_government = democratic - } - } - } -} - - -#France Joins the [From.GetFaction] (Germany) -news_event = { - id = news.182 - title = news.182.t - desc = news.182.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - immediate = { - FRA = { - save_event_target_as = France - } - } - - #Nothing can threaten the [From.GetFaction]! - option = { - name = news.182.a - trigger = { - is_in_faction_with = GER - } - } - - #The new [From.GetName] looms over Europe. - option = { - name = news.182.b - trigger = { - NOT = { - is_in_faction_with = GER - } - is_in_faction = yes - NOT = { - tag = ENG - } - } - } - - #European diplomacy realigns along the Paris-Berlin Axis. - option = { - name = news.182.c - trigger = { - NOT = { - is_in_faction = yes - } - } - } - - option = { - name = news.182.e - trigger = { - tag = ENG - } - } -} - - -#[From.GetName] Rejects French Offer of Alliance! -news_event = { - id = news.183 - title = news.183.t - desc = news.183.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - immediate = { - FRA = { - save_event_target_as = France - } - } - - #How dare they! - option = { - name = news.183.a - trigger = { - tag = FRA - } - } - - #We can live with them as our enemies. - option = { - name = news.183.b - trigger = { - tag = FROM - } - } - - #As long as they are busy fighting each other... - option = { - name = news.183.c - trigger = { - NOT = { - OR = { - tag = FRA - tag = FROM - } - } - } - } -} - - -#Italy Pursues Closer Bonds With Germany -news_event = { - id = news.184 - title = news.184.t - desc = news.184.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #Our nations share many common interests. - option = { - name = news.184.a - trigger = { - tag = GER - } - } - - #We will keep an eye on the situation. - option = { - name = news.184.b - trigger = { - NOT = { tag = GER } - } - } -} - -#Italy Seeks Extensive Military Pact -news_event = { - id = news.185 - title = news.185.t - desc = news.185.d - picture = GFX_news_053 - - major = yes - - is_triggered_only = yes - - #Italy at the heart of a new power structure. - option = { - name = news.185.a - trigger = { - OR = { - tag = ITA - is_in_faction_with = ITA - } - } - } - - #A new power structure in the Mediterrenean - option = { - name = news.185.b - trigger = { - NOT = { - OR = { - tag = ITA - is_in_faction_with = ITA - } - } - NOT = { - OR = { - tag = YUG - tag = BUL - tag = ALB - } - } - } - } - - option = { - name = news.185.c - trigger = { - NOT = { - is_in_faction_with = ITA - } - OR = { - tag = YUG - tag = BUL - tag = ALB - } - } - } -} - -#Italy Lays Claim to Greek Territory -news_event = { - id = news.186 - title = news.186.t - desc = news.186.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - GRE = { - save_event_target_as = Greece - } - } - - #Italy should be in control of the Aegean - option = { - name = news.186.a - trigger = { - is_in_faction_with = ITA - } - } - - #Outrageous claims! - option = { - name = news.186.b - trigger = { - NOT = { - is_in_faction_with = ITA - } - } - } -} - -#Italy Seeks to Improve Relations With Greece -news_event = { - id = news.187 - title = news.187.t - desc = news.187.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - immediate = { - GRE = { - save_event_target_as = Greece - } - } - - #Surely they share our interests. - option = { - name = news.187.a - trigger = { - is_in_faction_with = ITA - } - } - - #This is not surprising. - option = { - name = news.187.b - trigger = { - NOT = { - is_in_faction_with = ITA - } - } - } - - #We do have much shared history. - option = { - name = news.187.c - trigger = { - NOT = { - is_in_faction_with = ITA - } - tag = GRE - } - } -} - -#Italy Seeks Reconciliation With Turkey -news_event = { - id = news.188 - title = news.188.t - desc = news.188.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - trigger = { - NOT = { - OR = { - tag = ITA - tag = TUR - } - } - } - - option = { - name = news.188.a - trigger = { - is_in_faction_with = ITA - } - } - - option = { - name = news.188.b - trigger = { - has_war_with = ITA - } - } - - option = { - name = news.188.c - trigger = { - NOT = { - OR = { - is_in_faction_with = ITA - has_war_with = ITA - } - } - } - } -} - -#Italy Demands Anatolian Naval Bases -news_event = { - id = news.189 - title = news.189.t - desc = news.189.d - picture = GFX_news_event_german_speech - - major = yes - - is_triggered_only = yes - - #This matter was settled! - option = { - name = news.189.a - trigger = { - tag = TUR - } - } - - #We will have what we were promised! - option = { - name = news.189.b - trigger = { - tag = ITA - } - } - - #Their rivalry is intensifying. - option = { - name = news.189.c - trigger = { - NOT ={ - OR = { - tag = ITA - tag = TUR - } - } - } - } -} - -#Spain Cedes the Balearic Islands -news_event = { - id = news.190 - title = news.190.t - desc = news.190.d - picture = GFX_news_event_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - immediate = { - ITA = { - save_event_target_as = Italy - } - } - - #This is an important step towards complete Mediterranean dominance. - option = { - name = news.190.a - trigger = { - tag = ITA - } - } - - # - option = { - name = news.190.b - trigger = { - is_in_faction_with = ITA - NOT = { tag = ITA } - } - } - - #Italy is strengthening its grip on the Mediterrenean. - option = { - name = news.190.b - trigger = { - NOT = { is_in_faction_with = ITA } - NOT = { - OR = { - tag = FROM - tag = ITA - } - } - } - } - - #A symbol of the \"dear friendship\" between our nations. - option = { - name = news.190.c - trigger = { - tag = FROM - } - } -} - - -#Italy Establishes Alliance With Spain -#news_event = { -# id = news.191 -# title = news.191.t -# desc = news.191.d -# picture = GFX_news_event_french_parade -# -# is_triggered_only = yes -# -# option = { -# name = news.191.a -# } -#} - -#Italy Announces Claims On Yugoslavian Territory -news_event = { - id = news.192 - title = news.192.t - desc = news.192.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #Those are Yugoslavian lands, not Italian! - option = { - name = news.192.a - trigger = { - tag = YUG - } - } - - #They are upsetting the already fragile balance in the region. - option = { - name = news.192.b - trigger = { - NOT = { - OR = { - tag = YUG - tag = ITA - } - } - NOT = { - has_government = fascism - } - } - } - - #Those territories seem more Italian than Yugoslavian. - option = { - name = news.192.c - trigger = { - NOT = { - OR = { - tag = YUG - tag = ITA - } - } - has_government = fascism - } - } -} - -#Italy Establishes Permanent Diplomatic Mission in Yugoslavia -news_event = { - id = news.193 - title = news.193.t - desc = news.193.d - picture = GFX_news_event_yugoslavian_coup - - major = yes - - is_triggered_only = yes - - #Our nations stand together as friends. - option = { - name = news.193.a - trigger = { - OR = { - tag = ITA - tag = YUG - } - } - } - - #There will be peace in the Adriatic. - option = { - name = news.193.b - trigger = { - NOT = { - OR = { - tag = ITA - tag = YUG - } - } - ITA = { - has_war = no - } - } - } - - #It will be interesting to see where this ends. - option = { - name = news.193.c - trigger = { - NOT = { - OR = { - tag = ITA - tag = YUG - } - } - ITA = { - has_war = yes - } - } - } -} - -#Eastern Poland Ceded to the Soviet Union -news_event = { - id = news.194 - title = news.194.t - desc = news.194.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - POL = { - save_event_target_as = Poland - } - } - - #[Poland.GetName] recognises the strength of the [From.GetFactionName]! - option = { - name = news.194.a - trigger = { - is_in_faction_with = SOV - } - } - - #The [From.GetName] consumes everything in its path. - option = { - name = news.194.b - trigger = { - NOT = { - is_in_faction_with = SOV - } - is_in_faction = yes - } - } - - #[Poland.GetName] must have been left with no other choice. - option = { - name = news.194.c - trigger = { - is_in_faction = no - } - } -} - -#Eastern Germany Passed to Poland -news_event = { - id = news.195 - title = news.195.t - desc = news.195.d - picture = GFX_news_event_polish_tanks - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - SOV = { - save_event_target_as = Soviet - } - GER = { - save_event_target_as = Germany - } - } - - #[Soviet.GetName] honors its treaties. - option = { - name = news.195.a - trigger = { - is_in_faction_with = SOV - } - } - - #Let us hope a free Poland can rise from the ashes created by its \"protector.\" - option = { - name = news.195.b - trigger = { - NOT = { - is_in_faction_with = SOV - } - is_in_faction = yes - } - } - - #A geographic shift for Poland. Again. - option = { - name = news.195.c - trigger = { - is_in_faction = no - } - } -} - - -#The Comintern Seeks to Destabilize Western Powers -news_event = { - id = news.196 - title = news.196.t - desc = news.196.d - picture = GFX_news_event_worker_protest - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #Democracy shall never be brought low! - option = { - name = news.196.a - trigger = { - has_government = democratic - } - } - - #A laughable effort! - option = { - name = news.196.b - trigger = { - has_government = fascism - } - } - - #Rise, brothers and sisters! - option = { - name = news.196.c - trigger = { - has_government = communism - } - } - - #The clash of ideologies is the last battle of civilizations. - option = { - name = news.196.e - trigger = { - has_government = neutrality - } - } -} - - -#[From.GetName] Gives in to [Soviet.GetAdjective] Ultimatum -news_event = { - id = news.197 - title = news.197.t - desc = news.197.d - picture = GFX_news_events_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - SOV = { - save_event_target_as = Soviet - } - } - - #They should be pleased we offered them such good terms. - option = { - name = news.197.a - trigger = { - tag = SOV - } - } - - #The [Soviet.GetName] must be stopped! - option = { - name = news.197.b - trigger = { - NOT = { - tag = SOV - } - has_war_with = SOV - } - } - - #The [Soviet.GetName] is positioning to enter the Mediterranean. - option = { - name = news.197.c - trigger = { - NOT = { - tag = SOV - has_war_with = SOV - } - } - } -} - -#Greece Resists Soviet Ultimatum -news_event = { - id = news.198 - title = news.198.t - desc = news.198.d - picture = GFX_news_event_020 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - SOV = { - save_event_target_as = Soviet - } - } - - #Then the time for talk is over. - option = { - name = news.198.a - trigger = { - tag = SOV - } - } - - #The warmongers of [Soviet.GetName] must be stopped! - option = { - name = news.198.b - trigger = { - NOT = { - tag = SOV - } - has_war_with = SOV - NOT = { - is_in_faction_with = GRE - } - } - } - - #This was their ultimatum. Greece must prepare for war. - option = { - name = news.198.c - trigger = { - NOT = { - tag = SOV - has_war_with = SOV - } - NOT = { - is_in_faction_with = GRE - } - } - } - - #We stand with [From.GetName] - option = { - name = news.198.e - trigger = { - is_in_faction_with = GRE - } - } -} - - -#[Romania.GetName] Cedes Bessarabia to the [From.GetName] -news_event = { - id = news.199 - title = news.199.t - desc = news.199.d - picture = GFX_news_events_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - ROM = { - save_event_target_as = Romania - } - } - - #This is essential to the [From.GetAdjective] strategy. - option = { - name = news.199.a - trigger = { - is_in_faction_with = SOV - } - } - - #The countries of the world must face the evil of the [From.GetName]! - option = { - name = news.199.b - trigger = { - has_war_with = SOV - } - } - - #[Romania.GetName] is in an unfortunate position. - option = { - name = news.199.c - trigger = { - NOT = { - is_in_faction_with = SOV - } - NOT = { - has_war_with = SOV - } - } - } -} - -#Germany Exerts Influence Over Czechoslovakia -news_event = { - id = news.200 - title = news.200.t - desc = news.200.d - picture = GFX_news_event_hitler_speech - - major = yes - - is_triggered_only = yes - - immediate = { - CZE = { - save_event_target_as = Czech - } - } - - #German friendship is preferable to German overlordship. - option = { - name = news.200.a - trigger = { - tag = CZE - } - } - - #The Czech have always been friends of the Germans. - option = { - name = news.200.b - trigger = { - tag = GER - } - } - - #The [From.GetName] continues to expand their sphere of influence unabated. - option = { - name = news.200.c - trigger = { - OR = { - has_government = democratic - has_government = communism - } - NOT = { - OR = { - tag = GER - tag = CZE - tag = ENG - } - } - } - } - - #Peace for our time? - option = { - name = news.200.e - trigger = { - NOT = { - OR = { - has_government = democratic - has_government = communism - } - } - NOT = { - OR = { - tag = GER - tag = CZE - tag = ENG - } - } - } - } - - #Great news for when [Root.GetLeader] returns from vacation in Munich! - option = { - name = news.200.f - trigger = { - tag = ENG - } - } -} - - -#Germany Puppets Turkey -news_event = { - id = news.201 - title = news.201.t - desc = news.201.d - picture = GFX_news_events_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - immediate = { - GER = { - save_event_target_as = Germany - } - SOV = { - save_event_target_as = Soviet - } - } - - trigger = { - NOT = { - tag = TUR - } - } - - #The new Turkish government secures our competitiveness in the Mediterranean. - option = { - name = news.201.a - trigger = { - tag = GER - } - } - - #This terrible force is felling countries like dominoes. - option = { - name = news.201.b - trigger = { - OR = { - has_war_with = GER - has_war_with = SOV - } - } - } - - #[From.GetName] couldn't resist the strength of the [Germany.GetFactionName]. - option = { - name = news.201.c - trigger = { - is_in_faction_with = GER - NOT = { - OR = { - tag = GER - tag = SOV - } - } - } - } - - #The alliance is strengthening our position and remains highly beneficial. For now. - option = { - name = news.201.e - trigger = { - tag = SOV - } - } - - #Turkey has fallen victim to the predatory [Germany.GetFactionName]. - option = { - name = news.201.f - trigger = { - NOT = { - is_in_faction_with = GER - } - NOT = { - OR = { - tag = GER - tag = SOV - } - } - } - } -} - - - - - -#Danzig For Slovakia -news_event = { - id = news.202 - title = news.202.t - desc = news.202.d - picture = GFX_news_events_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - POL = { - save_event_target_as = Poland - } - } - - #A fair exchange to correct the mistakes of Versailles. - option = { - name = news.202.a - trigger = { - is_in_faction_with = GER - } - } - - #Cooperation makes us stronger than conflict does. - option = { - name = news.202.b - trigger = { - is_in_faction_with = POL - NOT = { - is_in_faction_with = GER - } - } - } - - #This is a blatant breach of Versailles! - option = { - name = news.202.c - trigger = { - OR = { - tag = ENG - tag = FRA - } - } - } - - #Conflict over Danzig has been averted. - option = { - name = news.202.e - trigger = { - NOT = { - OR = { - tag = ENG - tag = FRA - } - } - NOT = { - is_in_faction_with = POL - } - NOT = { - is_in_faction_with = GER - } - } - } -} - -#Danzig Ceded -news_event = { - id = news.203 - title = news.203.t - desc = news.203.d - picture = GFX_news_events_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.203.a - trigger = { - has_government = democratic - NOT = { - is_in_faction_with = GER - } - } - } - - option = { - name = news.203.b - trigger = { - is_in_faction_with = GER - } - } - - option = { - name = news.203.c - trigger = { - has_government = neutrality - NOT = { - is_in_faction_with = GER - } - } - } - - option = { - name = news.203.e - trigger = { - has_government = communism - NOT = { - is_in_faction_with = GER - } - } - } -} - - -#Poland Refuses to Cede Danzig -news_event = { - id = news.204 - title = news.204.t - desc = news.204.d - picture = GFX_news_event_polish_tanks - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #They have ignored every warning! - option = { - name = news.204.a - trigger = { - is_in_faction = yes - NOT = { - is_in_faction_with = GER - } - NOT = { - is_in_faction_with = POL - } - } - } - - # - option = { - name = news.204.b - trigger = { - is_in_faction_with = GER - } - } - - #Together we must stop this aggressor! - option = { - name = news.204.c - trigger = { - is_in_faction_with = POL - } - } - - #This is a grave situation. - option = { - name = news.204.e - trigger = { - is_in_faction = no - } - } -} - - -#Pax Americana -news_event = { - id = news.205 - title = news.205.t - desc = { - text = news.205.d_america - trigger = { - has_country_flag = monroe_doctrine - } - } - desc = { - text = news.205.d_not_america - trigger = { - NOT = { - has_country_flag = monroe_doctrine - } - } - } - picture = GFX_news_event_soldiers_marching - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.205.a - trigger = { - has_country_flag = monroe_doctrine - } - } - - option = { - name = news.205.b - trigger = { - is_in_faction_with = USA - NOT = { - has_country_flag = monroe_doctrine - } - } - } - - option = { - name = news.205.c - trigger = { - has_war_with = USA - } - } - - option = { - name = news.205.e - trigger = { - NOT = { - OR = { - is_in_faction_with = USA - has_war_with = USA - has_country_flag = monroe_doctrine - } - } - } - } -} - -#US Aims for the Empire -news_event = { - id = news.206 - title = news.206.t - desc = { - text = news.206.d_communist - trigger = { - has_government = communism - } - } - desc = { - text = news.206.d_not_communist - trigger = { - NOT = { - has_government = communism - } - } - } - picture = GFX_news_event_006 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.206.a - trigger = { - has_government = communism - } - } - - option = { - name = news.206.b - trigger = { - OR = { - tag = ENG - is_puppet_of = ENG - } - NOT = { - has_government = communism - } - } - } - - option = { - name = news.206.c - trigger = { - has_government = democratic - NOT = { - OR = { - tag = ENG - is_puppet_of = ENG - } - } - } - } - - option = { - name = news.206.e - trigger = { - has_government = fascism - NOT = { - OR = { - tag = ENG - is_puppet_of = ENG - } - } - } - } - - option = { - name = news.206.f - trigger = { - has_government = neutrality - } - } -} - -#US Seeks to Dismantle the Comintern -news_event = { - id = news.207 - title = news.207.t - desc = { - text = news.207.d_fascism - trigger = { - has_government = fascism - } - } - desc = { - text = news.207.d_not_fascism - trigger = { - NOT = { - has_government = fascism - } - } - } - picture = GFX_news_event_021 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.207.a - trigger = { - has_government = fascism - NOT = { - is_in_faction_with = SOV - } - } - } - - option = { - name = news.207.b - trigger = { - has_government = communism - NOT = { - is_in_faction_with = SOV - } - } - } - - option = { - name = news.207.c - trigger = { - is_in_faction_with = SOV - } - } - - option = { - name = news.207.e - trigger = { - NOT = { - has_government = fascism - has_government = communism - is_in_faction_with = USA - is_in_faction_with = SOV - } - } - } - - option = { - name = news.207.f - trigger = { - NOT = { - has_government = fascism - } - is_in_faction_with = USA - } - } -} - -#Japan Embraces Nanshin-ron -news_event = { - id = news.208 - title = news.208.t - desc = news.208.d - picture = GFX_news_event_020 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.208.a - trigger = { - OR = { - tag = ENG - tag = FRA - tag = HOL - } - } - } - - option = { - name = news.208.b - trigger = { - tag = USA - } - } - - option = { - name = news.208.c - trigger = { - tag = SOV - } - } - - option = { - name = news.208.e - trigger = { - NOT = { - OR = { - tag = ENG - tag = FRA - tag = HOL - tag = USA - tag = SOV - } - } - } - } -} - -#Japanese Embraces Hokushin-ron -news_event = { - id = news.209 - title = news.209.t - desc = news.209.d - picture = GFX_news_event_041 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.209.a - trigger = { - OR = { - tag = ENG - tag = FRA - tag = HOL - } - } - } - - option = { - name = news.209.b - trigger = { - tag = USA - } - } - - option = { - name = news.209.c - trigger = { - tag = SOV - } - } - - option = { - name = news.209.e - trigger = { - NOT = { - OR = { - tag = ENG - tag = FRA - tag = HOL - tag = USA - tag = SOV - } - } - } - } -} - -#Japan Puppets China -news_event = { - id = news.210 - title = news.210.t - desc = news.210.d - picture = GFX_news_event_040 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.210.a - trigger = { - is_in_faction_with = JAP - } - } - - option = { - name = news.210.b - trigger = { - tag = SOV - NOT = { - is_in_faction_with = JAP - } - } - } - - option = { - name = news.210.c - trigger = { - OR = { - tag = USA - tag = ENG - tag = FRA - } - NOT = { - is_in_faction_with = JAP - } - } - } - - option = { - name = news.210.e - trigger = { - NOT = { - OR = { - tag = USA - tag = ENG - tag = FRA - tag = SOV - } - } - NOT = { - is_in_faction_with = JAP - } - } - } -} - -#Japan Claims Hegemony Over East Asia -news_event = { - id = news.211 - title = news.211.t - desc = news.211.d - picture = GFX_news_event_048 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.211.a - trigger = { - is_in_faction_with = JAP - } - } - - option = { - name = news.211.b - trigger = { - tag = GER - NOT = { - is_in_faction_with = JAP - } - } - } - - option = { - name = news.211.c - trigger = { - tag = SOV - NOT = { - is_in_faction_with = JAP - } - } - } - - option = { - name = news.211.e - trigger = { - tag = USA - NOT = { - is_in_faction_with = JAP - } - } - } - - option = { - name = news.211.f - trigger = { - OR = { - tag = ENG - tag = FRA - tag = HOL - tag = RAJ - } - NOT = { - is_in_faction_with = JAP - } - } - } - - option = { - name = news.211.g - trigger = { - NOT = { - OR = { - tag = GER - tag = SOV - tag = USA - tag = ENG - tag = FRA - tag = HOL - tag = RAJ - } - } - NOT = { - is_in_faction_with = JAP - } - } - } -} - -#Japan Moves Closer to Germany -news_event = { - id = news.212 - title = news.212.t - desc = { - text = news.212.d_axis - trigger = { - OR = { - tag = GER - is_in_faction_with = GER - } - } - } - desc = { - text = news.212.d_not_axis - trigger = { - NOT = { - OR = { - tag = GER - is_in_faction_with = GER - } - } - } - } - picture = GFX_news_event_hitler_handshake - - major = yes - - is_triggered_only = yes - - option = { - name = news.212.a - trigger = { - OR = { - tag = GER - is_in_faction_with = GER - } - NOT = { - has_war_with = JAP - } - } - } - - option = { - name = news.212.b - trigger = { - OR = { - has_war_with = JAP - has_war_with = GER - } - } - } - - option = { - name = news.212.c - trigger = { - NOT = { - OR = { - tag = GER - is_in_faction_with = GER - } - } - NOT = { - OR = { - has_war_with = GER - has_war_with = JAP - } - } - } - } -} - - -#US Aims to Stop Fascism -news_event = { - id = news.213 - title = news.213.t - desc = { - text = news.213.d_peace - trigger = { - NOT = { - USA = { - has_war_with = GER - } - } - } - } - desc = { - text = news.213.d_war - trigger = { - OR = { - USA = { - has_war_with = GER - } - any_other_country = { - is_in_faction_with = USA - has_war_with = GER - } - } - } - } - picture = GFX_news_event_005 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.213.a - trigger = { - tag = GER - } - } - - option = { - name = news.213.b - trigger = { - is_in_faction_with = GER - NOT = { - tag = GER - } - } - } - - option = { - name = news.213.c - trigger = { - has_war_with = GER - } - } - - option = { - name = news.213.e - trigger = { - NOT = { - tag = GER - } - NOT = { - is_in_faction_with = GER - } - NOT = { - has_war_with = GER - } - } - } -} - -#Poland Seeks Baltic Cooperation -news_event = { - id = news.214 - title = news.214.t - desc = { - text = news.214.d_baltic - trigger = { - OR = { - tag = EST - tag = LAT - tag = LIT - } - } - } - desc = { - text = news.214.d_not_baltic - trigger = { - NOT = { - OR = { - tag = EST - tag = LAT - tag = LIT - } - } - } - } - picture = GFX_news_event_polish_army - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.214.a - trigger = { - NOT = { - OR = { - tag = EST - tag = LAT - tag = LIT - tag = GER - tag = SOV - } - } - } - } - - option = { - name = news.214.b - trigger = { - tag = SOV - } - } - - option = { - name = news.214.c - trigger = { - tag = GER - } - } - - option = { - name = news.214.e - trigger = { - OR = { - tag = EST - tag = LAT - tag = LIT - } - } - } -} - - -#Anti-Soviet Pact -news_event = { - id = news.215 - title = news.215.t - desc = { - text = news.215.d_soviet - trigger = { - tag = SOV - } - } - desc = { - text = news.215.d_not_soviet - trigger = { - NOT = { - tag = SOV - } - } - } - picture = GFX_news_event_hitler_handshake - - major = yes - - is_triggered_only = yes - - option = { - name = news.215.a - trigger = { - has_idea = anti_soviet_pact - } - } - - option = { - name = news.215.b - trigger = { - has_government = communism - NOT = { - has_idea = anti_soviet_pact - } - } - } - - option = { - name = news.215.c - trigger = { - NOT = { - OR = { - has_government = communism - has_idea = anti_soviet_pact - } - } - } - } -} - -#Turkey Resists German Ultimatum -news_event = { - id = news.216 - title = news.216.t - desc = news.216.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.216.a - trigger = { - has_war_with = GER - NOT = { - is_in_faction_with = TUR - } - } - } - - option = { - name = news.216.b - trigger = { - is_in_faction_with = TUR - NOT = { - is_in_faction_with = GER - } - } - } - - option = { - name = news.216.c - trigger = { - is_in_faction_with = GER - } - } - - option = { - name = news.216.e - trigger = { - NOT = { - OR = { - is_in_faction_with = GER - is_in_faction_with = TUR - has_war_with = GER - } - } - } - } -} - -#Turkey Joins Allies to Avoid Ultimatum -news_event = { - id = news.217 - title = news.217.t - desc = news.217.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.217.a - trigger = { - is_in_faction_with = TUR - } - } - - option = { - name = news.217.b - trigger = { - has_war_with = GER - NOT = { - is_in_faction_with = TUR - } - } - } - - option = { - name = news.217.c - trigger = { - OR = { - tag = GER - is_in_faction_with = GER - } - } - } - - option = { - name = news.217.e - trigger = { - NOT = { - OR = { - tag = GER - is_in_faction_with = GER - is_in_faction_with = TUR - has_war_with = GER - } - } - } - } -} - -#No bananas -news_event = { - id = news.218 - title = news.218.t - desc = news.218.d - picture = GFX_news_event_worker_protests - - trigger = { - tag = ENG - OR = { - has_idea = war_economy - has_idea = tot_economic_mobilisation - } - any_other_country = { - is_major = yes - has_war_with = ENG - } - controls_state = 126 - } - - mean_time_to_happen = { - months = 16 - } - - fire_only_once = yes - - option = { - name = news.218.a - } -} - -#Soviet Union's Great Purge -news_event = { - id = news.219 - title = news.219.t - desc = news.219.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.219.a - trigger = { - has_government = communism - } - } - - option = { - name = news.219.b - trigger = { - has_government = fascism - } - } - - option ={ - name = news.219.c - trigger = { - NOT = { - OR = { - has_government = fascism - has_government = communism - } - } - } - } -} - -#Officers Revolt in the Soviet Union -news_event = { - id = news.220 - title = news.220.t - desc = news.220.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.220.a - trigger = { - has_government = communism - NOT = { - tag = SOV - } - NOT = { - has_war_with = SOV - } - } - } - - option = { - name = news.220.b - trigger = { - original_tag = SOV - } - } - - option = { - name = news.220.c - trigger = { - has_war_with = SOV - NOT = { - original_tag = SOV - } - } - } - - option = { - name = news.220.e - trigger = { - has_government = fascism - NOT = { - original_tag = SOV - } - NOT = { - has_war_with = SOV - } - } - } - - option = { - name = news.220.f - trigger = { - NOT = { - OR = { - has_government = communism - has_government = fascism - original_tag = SOV - has_war_with = SOV - } - } - } - } -} - -#Trotsky Strikes Back -news_event = { - id = news.221 - title = news.221.t - desc = news.221.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.221.a - trigger = { - OR = { - has_government = communism - } - } - } - - option = { - name = news.221.b - trigger = { - NOT = { - has_government = communism - } - NOT = { - tag = MEX - } - } - } - - option = { - name = news.221.c - trigger = { - tag = MEX - } - } -} - -#UK Plans Scandinavian Intervention -news_event = { - id = news.222 - title = news.222.t - desc = news.222.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.222.a - trigger = { - tag = ENG - } - } - - option = { - name = news.222.b - trigger = { - OR = { - tag = NOR - tag = SWE - tag = DEN - } - NOT = { - is_in_faction_with = ENG - } - } - } - - option = { - name = news.222.c - trigger = { - is_in_faction_with = ENG - NOT = { - OR = { - tag = ENG - } - } - } - } - - option = { - name = news.222.e - trigger = { - is_in_faction = yes - NOT = { - is_in_faction_with = ENG - } - NOT = { - OR = { - tag = SWE - tag = NOR - tag = DEN - } - } - } - } - - option = { - name = news.222.f - trigger = { - NOT = { - OR = { - tag = ENG - tag = DEN - tag = NOR - tag = SWE - is_in_faction_with = ENG - is_in_faction = yes - } - } - } - } -} - -#UK Plans Intervention in the Benelux -news_event = { - id = news.223 - title = news.223.t - desc = news.223.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.223.a - trigger = { - tag = ENG - } - } - - option = { - name = news.223.b - trigger = { - OR = { - tag = BEL - tag = HOL - tag = LUX - } - } - } - - option = { - name = news.223.c - trigger = { - is_in_faction_with = ENG - NOT = { - tag = ENG - } - } - } - - option = { - name = news.223.e - trigger = { - is_in_faction = yes - NOT = { - is_in_faction_with = ENG - } - NOT = { - OR = { - tag = BEL - tag = HOL - tag = LUX - } - } - } - } - - option = { - name = news.223.f - trigger = { - NOT = { - OR = { - tag = ENG - tag = BEL - tag = HOL - tag = LUX - is_in_faction_with = ENG - is_in_faction = yes - } - } - } - } -} - - -#British Influence on Spain -news_event = { - id = news.224 - title = news.224.t - desc = news.224.d - picture = GFX_news_event_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - hidden_effect = { - random_other_country = { - limit = { - original_tag = SPR - } - save_event_target_as = Spain - } - } - } - - option = { - name = news.224.a - trigger = { - original_tag = SPR - } - } - - option = { - name = news.224.b - trigger = { - NOT = { - original_tag = SPR - } - OR = { - has_government = fascism - has_government = communism - } - } - } - - option = { - name = news.224.c - trigger = { - NOT = { - OR = { - original_tag = SPR - has_government = fascism - has_government = communism - } - } - } - } -} - - - - -#British Influence on Turkey -news_event = { - id = news.225 - title = news.225.t - desc = news.225.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.225.a - trigger = { - tag = TUR - } - } - - option = { - name = news.225.b - trigger = { - NOT = { - tag = TUR - } - OR = { - has_government = fascism - has_government = communism - } - } - } - - option = { - name = news.225.c - trigger = { - NOT = { - OR = { - tag = TUR - has_government = fascism - has_government = communism - } - } - } - } -} - -#British Influence on Greece -news_event = { - id = news.226 - title = news.226.t - desc = news.226.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.226.a - trigger = { - tag = GRE - } - } - - option = { - name = news.226.b - trigger = { - NOT = { - tag = GRE - } - OR = { - has_government = fascism - has_government = communism - } - } - } - - option = { - name = news.226.c - trigger = { - NOT = { - OR = { - tag = GRE - has_government = fascism - has_government = communism - } - } - } - } -} - -news_event = { - id = news.227 - title = news.227.t - desc = news.227.d - picture = GFX_news_event_generic_sign_treaty1 - - fire_only_once = yes - - trigger = { - tag = USA - has_war_with = GER - divisions_in_state = { - state = 64 - size > 0 - } - NOT = { - GER = { - has_capitulated = yes - } - } - NOT = { - SOV = { - divisions_in_state = { - state = 64 - size > 0 - } - } - } - } - - mean_time_to_happen = { - months = 60 - } - - option = { - name = news.227.a - } -} - - -#British Diplomatic Balkan Strategy -news_event = { - id = news.228 - title = news.228.t - desc = news.228.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = news.228.a - trigger = { - OR = { - tag = YUG - tag = GRE - tag = ROM - } - NOT = { - is_in_faction_with = GER - } - } - } - - option = { - name = news.228.b - trigger = { - OR = { - is_in_faction_with = GER - AND = { - tag = GER - NOT = { - is_in_faction_with = ENG - } - } - AND = { - tag = ITA - NOT = { - is_in_faction_with = ENG - } - } - AND = { - tag = BUL - NOT = { - is_in_faction_with = ENG - } - } - AND = { - tag = HUN - NOT = { - is_in_faction_with = ENG - } - } - } - } - } - - option = { - name = news.228.c - trigger = { - OR = { - is_in_faction_with = ENG - tag = ENG - } - NOT = { - OR = { - tag = YUG - tag = GRE - tag = ROM - } - } - } - } - - option = { - name = news.228.e - trigger = { - NOT = { - OR = { - tag = YUG - tag = HUN - tag = GRE - tag = ROM - tag = BUL - tag = GER - tag = ENG - } - is_in_faction_with = GER - is_in_faction_with = ENG - } - } - } -} - - -#Greece Refuses Puppeting -news_event = { - id = news.229 - title = news.229.t - desc = news.229.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.229.a - trigger = { - OR = { - tag = ENG - has_war_with = GER - is_in_faction_with = ENG - } - } - } - - option = { - name = news.229.b - trigger = { - OR = { - is_in_faction_with = GER - has_war_with = GRE - } - } - } - - option = { - name = news.229.c - trigger = { - NOT = { - OR = { - tag = ENG - has_war_with = GER - is_in_faction_with = ENG - is_in_faction_with = GER - has_war_with = GRE - } - } - } - } -} - -#US Supports Democratic Rebellions -news_event = { - id = news.230 - title = news.230.t - desc = news.230.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = news.230.a - trigger = { - OR = { - tag = MEX - tag = ARG - } - } - } - - option = { - name = news.230.b - trigger = { - tag = USA - } - } - - option = { - name = news.230.c - trigger = { - has_government = democratic - NOT = { - OR = { - tag = USA - tag = MEX - tag = ARG - } - } - } - } - - option = { - name = news.230.e - trigger = { - NOT = { - has_government = democratic - tag = USA - tag = MEX - tag = ARG - } - } - } -} - -#Japan Seeks War in China -news_event = { - id = news.231 - title = news.231.t - desc = news.231.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.231.a - trigger = { - is_independent_china_or_warlord = yes - } - } - - option = { - name = news.231.b - trigger = { - is_independent_china_or_warlord = no - } - } -} - - -#Germany Seeks Scandinavian Support -news_event = { - id = news.232 - title = news.232.t - desc = news.232.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - trigger = { - NOT = { - tag = GER - } - } - - option = { - name = news.232.a - trigger = { - OR = { - tag = DEN - tag = SWE - tag = NOR - } - NOT = { - has_war_with = GER - } - } - } - - option = { - name = news.232.b - trigger = { - has_war_with = GER - } - } - - option = { - name = news.232.c - trigger = { - NOT = { - OR = { - tag = DEN - tag = SWE - tag = NOR - has_war_with = GER - } - } - } - } -} - - -#Germany Plans Northern Intervention -news_event = { - id = news.233 - title = news.233.t - desc = { - text = news.233.d_war - trigger = { - OR = { - NOR = { - has_war_with = GER - } - DEN = { - has_war_with = GER - } - } - } - } - desc = { - text = news.233.d_no_war - trigger = { - NOT = { - OR = { - NOR = { - has_war_with = GER - } - DEN = { - has_war_with = GER - } - } - } - } - } - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.233.a - trigger = { - OR = { - tag = DEN - tag = NOR - } - } - } - - option = { - name = news.233.b - trigger = { - has_war_with = GER - NOT = { - OR = { - tag = DEN - tag = NOR - } - } - } - } - - option = { - name = news.233.c - trigger = { - NOT = { - OR = { - tag = DEN - tag = NOR - has_war_with = GER - } - } - } - } -} - - -#Germany Moves to Strike Around Maginot -news_event = { - id = news.234 - title = news.234.t - desc = news.234.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = news.234.a - trigger = { - OR = { - tag = BEL - tag = LUX - } - } - } - - option = { - name = news.234.b - trigger = { - OR = { - tag = HOL - is_in_faction_with = BEL - is_in_faction_with = LUX - is_in_faction_with = HOL - } - has_war_with = GER - } - } - - option = { - name = news.234.c - trigger = { - NOT = { - OR = { - tag = HOL - tag = BEL - tag = LUX - is_in_faction_with = HOL - is_in_faction_with = LUX - is_in_faction_with = BEL - } - } - } - } -} - -news_event = { - id = news.235 - title = news.235.t - desc = news.235.d - picture = GFX_news_event_generic_sign_treaty1 - - fire_only_once = yes - - trigger = { - tag = GER - has_government = fascism - has_war_with = USA - divisions_in_state = { - state = 378 - size > 3 - } - NOT = { - OR = { - has_global_flag = chaplin_seized - has_global_flag = chaplin_resistance - } - } - } - - mean_time_to_happen = { - months = 12 - } - - immediate = { - hidden_effect = { - set_global_flag = chaplin_seized - } - } - - option = { - name = news.235.a - } -} - -#Yalta Conference -news_event = { - id = news.236 - title = news.236.t - desc = news.236.d - picture = GFX_news_event_generic_sign_treaty1 - - is_triggered_only = yes - - major = yes - - option = { - name = news.236.a - trigger = { - tag = GER - } - } - - option = { - name = news.236.b - trigger = { - OR = { - event_target:yalta_origin = { - tag = ROOT - } - event_target:yalta_partner = { - tag = ROOT - } - } - } - } - - option = { - name = news.236.c - trigger = { - NOT = { - OR = { - event_target:yalta_origin = { - tag = ROOT - } - event_target:yalta_partner = { - tag = ROOT - } - } - } - has_war_with = GER - } - } - - option = { - name = news.236.e - trigger = { - NOT = { - OR = { - event_target:yalta_origin = { - tag = ROOT - } - event_target:yalta_partner = { - tag = ROOT - } - } - } - NOT = { - has_war_with = GER - } - NOT = { - tag = GER - } - } - } -} - -# Anschluss of Austria in civil war -news_event = { - id = news.237 - title = news.237.t - desc = news.237.d - picture = GFX_news_event_german_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.237.a - trigger = { - NOT = { - TAG = GER - TAG = ITA - TAG = FRA - TAG = ENG - } - } - } - option = { - name = news.237.b - trigger = { TAG = GER } - } - option = { - name = news.237.c - trigger = { TAG = ITA } - } - option = { - name = news.237.e - trigger = { - OR = { - TAG = FRA - TAG = ENG - } - } - } -} - -# Australia Singapore Strategy transfer -news_event = { - id = news.238 - title = news.238.t - desc = news.238.d - picture = GFX_news_event_ast_troops_landing - - major = yes - - is_triggered_only = yes - - option = { - name = news.238.a - trigger = { - NOT = { - TAG = ENG - TAG = AST - TAG = JAP - } - } - } - option = { - name = news.238.b - trigger = { TAG = ENG } - } - option = { - name = news.238.c - trigger = { TAG = AST } - } - option = { - name = news.238.e - trigger = { TAG = JAP } - } -} - -# Australia joins Comintern faction -news_event = { - id = news.239 - title = news.239.t - desc = news.239.d - picture = GFX_news_event_stalin_meeting - - major = yes - - is_triggered_only = yes - - option = { - name = news.239.a - trigger = { - NOT = { - TAG = SOV - TAG = AST - } - NOT = { - has_government = fascism - } - NOT = { - has_government = communism - } - } - } - option = { - name = news.239.b - trigger = { - OR = { - TAG = SOV - has_government = communism - } - NOT = { - TAG = AST - } - } - } - option = { - name = news.239.c - trigger = { TAG = AST } - } - option = { - name = news.239.e - trigger = { - NOT = { - TAG = SOV - TAG = AST - } - has_government = fascism - } - } -} - -# Australia protects Dutch colonies in SEA -news_event = { - id = news.240 - title = news.240.t - desc = news.240.d - picture = GFX_news_event_ast_troops_landing - - major = yes - - is_triggered_only = yes - - option = { - name = news.240.a - trigger = { - NOT = { - TAG = HOL - TAG = AST - } - } - } - option = { - name = news.240.b - trigger = { TAG = HOL } - } - option = { - name = news.240.c - trigger = { TAG = AST } - } -} - -# Australia puppets NZ - AST_nz_puppet focus -news_event = { - id = news.241 - title = news.241.t - desc = news.241.d - picture = GFX_news_event_generic_rally - - major = yes - - is_triggered_only = yes - - option = { - name = news.241.a - trigger = { - NOT = { - TAG = NZL - TAG = AST - } - } - } - option = { - name = news.241.b - trigger = { TAG = NZL } - } - option = { - name = news.241.c - trigger = { TAG = AST } - } -} - -# Australia granted governship over Malaysia - AST_swpa_protector focu -news_event = { - id = news.242 - title = news.242.t - desc = news.242.d - picture = GFX_news_event_ast_troops_landing - - major = yes - - is_triggered_only = yes - - option = { - name = news.242.a - trigger = { - NOT = { - TAG = ENG - TAG = AST - } - } - } - option = { - name = news.242.b - trigger = { TAG = ENG } - } - option = { - name = news.242.c - trigger = { TAG = AST } - } -} - -# Autralia founds faction with Japan - AST_a_deal_with_japan focus -news_event = { - id = news.243 - title = news.243.t - desc = news.243.d - picture = GFX_news_event_japanese_army_parade - - major = yes - - is_triggered_only = yes - - option = { - name = news.243.a - trigger = { - NOT = { - TAG = JAP - TAG = AST - } - } - } - option = { - name = news.243.b - trigger = { TAG = JAP } - } - option = { - name = news.243.c - trigger = { TAG = AST } - } -} - -# Australia found South-West Pacific Initiative \wo USA - AST_the_south_west_pacific_initiative focus -news_event = { - id = news.244 - title = news.244.t - desc = news.244.d - picture = GFX_news_event_ast_parliament_house - - major = yes - - is_triggered_only = yes - - option = { - name = news.244.a - trigger = { - NOT = { - TAG = AST - } - } - } - option = { - name = news.244.b - trigger = { TAG = AST } - } -} - -# Australia founds South-West Pacific Initiative \w USA - AST_the_south_west_pacific_initiative focus -news_event = { - id = news.245 - title = news.245.t - desc = news.245.d - picture = GFX_news_event_generic_usa_treaty - - major = yes - - is_triggered_only = yes - - option = { - name = news.245.a - trigger = { - NOT = { - TAG = AST - TAG = USA - } - } - } - option = { - name = news.245.b - trigger = { TAG = AST } - } - option = { - name = news.245.c - trigger = { TAG = USA } - } -} - -# Canada founds the North-American Alliance \w USA - CAN_north_american_alliance focus -news_event = { - id = news.246 - title = news.246.t - desc = news.246.d - picture = GFX_news_event_generic_usa_treaty - - major = yes - - is_triggered_only = yes - - option = { - name = news.246.a - trigger = { - NOT = { - TAG = CAN - TAG = USA - } - } - } - option = { - name = news.246.b - trigger = { TAG = CAN } - } - option = { - name = news.246.c - trigger = { TAG = USA } - } -} - -# Canada joins the axis - CAN_join_germany focus -# While Germany is at war -news_event = { - id = news.247 - title = news.247.t - desc = news.247.d - picture = GFX_news_event_canada_army - - major = yes - - is_triggered_only = yes - - option = { - name = news.247.a - trigger = { - NOT = { - TAG = CAN - TAG = GER - } - NOT = { - has_war_with = GER - } - } - } - option = { - name = news.247.b - trigger = { TAG = CAN } - } - option = { - name = news.247.c - trigger = { TAG = GER } - } - option = { - name = news.247.e - trigger = { - has_war_with = GER - } - } -} - -# ENG hands over newfoundland and labrador to CAN's demands - CAN_demand_labrador_and_newfoundland focus -news_event = { - id = news.248 - title = news.248.t - desc = news.248.d - picture = GFX_news_event_canada_treaty - - major = yes - - is_triggered_only = yes - - option = { - name = news.248.a - trigger = { - NOT = { - TAG = CAN - TAG = ENG - } - } - } - option = { - name = news.248.b - trigger = { TAG = CAN } - } - option = { - name = news.248.c - trigger = { TAG = ENG } - } -} - -# CAN and MEX creates faction against US - CAN_skewer_the_eagle -news_event = { - id = news.249 - title = news.249.t - desc = news.249.d - picture = GFX_news_event_canada_army - - major = yes - - is_triggered_only = yes - - option = { - name = news.249.a - trigger = { - NOT = { - TAG = CAN - TAG = MEX - TAG = USA - } - } - } - option = { - name = news.249.b - trigger = { TAG = CAN } - } - option = { - name = news.249.c - trigger = { TAG = MEX } - } - - option = { - name = news.249.e - trigger = { TAG = USA } - } -} - -# MEX civil war started by hidden initiative of CAN - CAN_support_a_synarchist_baja focus -news_event = { - id = news.250 - title = news.250.t - desc = news.250.d - picture = GFX_news_event_mex_civil_war - - major = yes - - is_triggered_only = yes - - option = { - name = news.250.a - trigger = { - NOT = { - TAG = CAN - TAG = MEX - } - } - } - option = { - name = news.250.b - trigger = { TAG = CAN } - } - option = { - name = news.250.c - trigger = { TAG = MEX } - } -} - -#Canada aims for Patriation -#Fired from CAN_patriation focus -news_event = { - id = news.251 - title = news.251.t - desc = news.251.d - picture = GFX_news_event_canada_patriation - - major = yes - - is_triggered_only = yes - - # Is in the same faction as ENG (presumably Allies) - option = { - name = news.251.a - trigger = { - is_in_faction_with = ENG - NOT = { - tag = ENG - } - NOT = { - original_tag = CAN - } - } - } - # Is in a faction "competing" with ENG's - option = { - name = news.251.b - trigger = { - is_in_faction = yes - NOT = { - is_in_faction_with = ENG - } - } - } - # Is ENG - option = { - name = news.251.c - trigger = { - tag = ENG - } - } - # Is not ENG, is not in a faction. - option = { - name = news.251.e - trigger = { - NOT = { - tag = ENG - tag = CAN #otherwise will trigger two options if CAN not in faction - } - is_in_faction = no - } - } - # Is CAN - option = { - name = news.251.f - trigger = { - tag = CAN - } - } -} - -# Canada joins the axis - CAN_join_germany focus -# While Germany is at peace -news_event = { - id = news.252 - title = news.252.t - desc = news.252.d - picture = GFX_news_event_canada_army - - major = yes - - is_triggered_only = yes - - option = { - name = news.252.a - trigger = { - NOT = { - TAG = CAN - TAG = GER - } - is_in_faction = no - } - } - option = { - name = news.252.b - trigger = { TAG = CAN } - } - option = { - name = news.252.c - trigger = { TAG = GER } - } - option = { - name = news.252.e - trigger = { - NOT = { - tag = CAN - } - NOT = { - tag = GER - } - is_in_faction = yes - NOT = { - is_in_faction_with = GER - } - } - } - option = { - name = news.252.f - trigger = { - NOT = { - tag = CAN - } - NOT = { - tag = GER - } - is_in_faction_with = GER - } - } -} - -#Australia seeks distance from Commonwealth -#Fired from AST_never_another_gallipoli focus -news_event = { - id = news.253 - title = news.253.t - desc = news.253.d - picture = GFX_news_event_generic_rally - - major = yes - - is_triggered_only = yes - - # Is in the same faction as ENG (presumably Allies) - option = { - name = news.253.a - trigger = { - is_in_faction_with = ENG - NOT = { - tag = ENG - } - NOT = { - tag = AST - } - } - } - # Is in a faction "competing" with ENG's - option = { - name = news.253.b - trigger = { - is_in_faction = yes - NOT = { - is_in_faction_with = ENG - } - } - } - # Is ENG - option = { - name = news.253.c - trigger = { - tag = ENG - } - } - # Is not ENG, is not in a faction. - option = { - name = news.253.e - trigger = { - NOT = { - tag = ENG - } - is_in_faction = no - } - } - # Is AST - option = { - name = news.253.f - trigger = { - tag = AST - } - } -} - - -# Fascist path AST annexes New Zealand - Fired from event tfv_australia.21 -news_event = { - id = news.254 - title = news.254.t - desc = news.254.d - picture = GFX_news_event_generic_army - - major = yes - - is_triggered_only = yes - - option = { - name = news.254.a - trigger = { - NOT = { - tag = AST - } - NOT = { - tag = ENG - } - NOT = { - is_in_faction_with = ENG - } - } - } - option = { - name = news.254.b - trigger = { TAG = AST } - } - option = { - name = news.254.c - trigger = { - OR = { - tag = ENG - is_in_faction_with = ENG - } - } - } -} - -#SAF takes over British Colonies -news_event = { - id = news.260 - title = news.260.t - desc = news.260.desc - picture = GFX_news_event_south_africa_patrol - - major = yes - - is_triggered_only = yes - - option = { - name = news.260.a - trigger = { - NOT = { - tag = SAF - } - NOT = { - tag = ENG - } - NOT = { - is_in_faction_with = ENG - } - } - } - option = { - name = news.260.b - trigger = { TAG = SAF } - } - option = { - name = news.260.c - trigger = { - OR = { - tag = ENG - is_in_faction_with = ENG - } - NOT = { TAG = SAF } - } - } -} -# Britain compromisses, releases KEN/ZIM -news_event = { - id = news.261 - title = news.261.t - desc = news.261.desc - picture = GFX_news_event_kenya_army - - major = yes - - is_triggered_only = yes - - option = { - name = news.261.a - trigger = { - NOT = { - tag = SAF - } - NOT = { - tag = ENG - } - NOT = { - is_in_faction_with = ENG - } - } - } - option = { - name = news.261.b - trigger = { TAG = SAF } - } - option = { - name = news.261.c - trigger = { - OR = { - tag = ENG - is_in_faction_with = ENG - } - NOT = { TAG = SAF } - } - } -} -#The South African Civil War -news_event = { - id = news.262 - title = news.262.t - desc = news.262.desc - picture = GFX_news_event_saf_civil_war - - major = yes - - is_triggered_only = yes - - option = { - name = news.262.a - trigger = { - NOT = { - tag = SAF - } - NOT = { - tag = ENG - } - NOT = { - is_in_faction_with = ENG - } - has_government = fascism - } - } - option = { - name = news.262.b - trigger = { TAG = SAF } - } - option = { - name = news.262.c - trigger = { - OR = { - tag = ENG - is_in_faction_with = ENG - } - NOT = { TAG = SAF } - } - } -} -# SAF Burn the Portraits -news_event = { - id = news.263 - title = news.263.t - desc = news.263.desc - picture = GFX_news_event_generic_riot - - major = yes - - is_triggered_only = yes - - option = { - name = news.263.a - trigger = { - NOT = { - tag = SAF - } - NOT = { - tag = ENG - } - NOT = { - is_in_faction_with = ENG - } - has_government = communism - } - } - option = { - name = news.263.b - trigger = { TAG = SAF } - } - option = { - name = news.263.c - trigger = { - OR = { - tag = ENG - is_in_faction_with = ENG - } - NOT = { - has_government = communism - } - NOT = { tag = SAF } - } - } -} - -#SAF communist Faction/anti-colonialist crusade -news_event = { - id = news.264 - title = news.264.t - desc = news.264.desc - picture = GFX_news_event_stalin_meeting - - major = yes - - is_triggered_only = yes - - option = { - name = news.264.a - trigger = { - OR = { - Tag = ENG - TAG = BEL - TAG = POR - TAG = FRA - } - } - } - option = { - name = news.264.b - trigger = { TAG = SAF } - } - option = { - name = news.264.c - trigger = { - NOT = { - Tag = ENG - TAG = BEL - TAG = POR - TAG = FRA - TAG = SOV - TAG = SAF - } - } - } - option = { - name = news.264.d - trigger = { TAG = SOV } - } - -} - -#SAF demands Madagascar -news_event = { - id = news.265 - title = news.265.t - desc = news.265.desc - picture = GFX_news_event_stalin_meeting - - major = yes - - is_triggered_only = yes - - option = { - name = news.265.a - trigger = { - TAG = FRA - } - } - option = { - name = news.265.b - trigger = { TAG = SAF } - } - option = { - name = news.265.c - trigger = { - NOT = { - TAG = FRA - TAG = SOV - TAG = SAF - } - } - } - option = { - name = news.265.d - trigger = { TAG = SOV } - } - -} -#NZL finishes Bob Semple tank -news_event = { - id = news.270 - title = news.270.t - desc = news.270.desc - picture = GFX_news_event_glorious_vehicle - - major = yes - - fire_only_once = yes - - trigger = { - NZL = { has_tech = basic_light_tank } - } - - option = { - name = news.270.a - trigger = { - TAG = NZL - } - } - option = { - name = news.270.b - trigger = { - NOT = { - TAG = NZL - } - } - } - -} - -#NZL finishes Big Bob tank -news_event = { - id = news.271 - title = news.271.t - desc = news.271.desc - picture = GFX_news_event_glorious_vehicle - - major = yes - - fire_only_once = yes - - trigger = { - NZL = { has_tech = super_heavy_tank } - } - - option = { - name = news.271.a - trigger = { - TAG = NZL - } - } - option = { - name = news.271.b - trigger = { - NOT = { - TAG = NZL - } - } - } - -} - - -#RAJ gets famine -news_event = { - id = news.272 - title = news.272.t - desc = news.272.desc - picture = GFX_news_event_indian_famine - - major = yes - - fire_only_once = yes - - is_triggered_only = yes - - option = { - name = news.272.a - trigger = { - TAG = RAJ - } - } - option = { - name = news.272.b - trigger = { - NOT = { tag = RAJ } - NOT = { tag = ENG } - } - } - option = { - name = news.272.c - trigger = { - tag = ENG - } - } -} - -#RAJ famine is over -news_event = { - id = news.273 - title = news.273.t - desc = news.273.desc - picture = GFX_news_event_indian_famine - - major = yes - - fire_only_once = yes - - is_triggered_only = yes - - option = { - name = news.273.a - trigger = { - original_tag = RAJ - } - } - option = { - name = news.273.b - trigger = { - NOT = { original_tag = RAJ } - } - } -} -# News event - RAJ release GER helps -news_event = { - id = news.280 - title = news.280.t - desc = news.280.desc - picture = GFX_news_event_bose_meeting - - major = yes - - is_triggered_only = yes - - option = { - name = news.280.a - trigger = { - TAG = RAJ - } - } - option = { - name = news.280.b - trigger = { - NOT = { - TAG = RAJ - TAG = GER - is_in_faction_with = GER - TAG = ENG - is_in_faction_with = ENG - } - } - } - option = { - name = news.280.c - trigger = { - OR = { - TAG = GER - is_in_faction_with = GER - } - } - } - - option = { - name = news.280.d - trigger = { - OR = { - TAG = ENG - is_in_faction_with = ENG - } - NOT = { TAG = RAJ } - NOT = { TAG = GER } #in case of alliance between Germany and England - NOT = { is_in_faction_with = GER } - } - } - -} - -# News event - RAJ release SOV helps -news_event = { - id = news.281 - title = news.281.t - desc = news.281.desc - picture = GFX_news_event_bose - - major = yes - - is_triggered_only = yes - - option = { - name = news.281.a - trigger = { - TAG = RAJ - } - } - option = { - name = news.281.b - trigger = { - NOT = { - TAG = RAJ - TAG = SOV - is_in_faction_with = SOV - TAG = ENG - is_in_faction_with = ENG - } - } - } - option = { - name = news.281.c - trigger = { - OR = { - TAG = SOV - is_in_faction_with = SOV - } - } - } - - option = { - name = news.281.d - trigger = { - OR = { - TAG = ENG - is_in_faction_with = ENG - } - NOT = { TAG = RAJ } - NOT = { TAG = SOV } - NOT = { is_in_faction_with = SOV } - } - } - -} - -# News event - RAJ quit India movement -news_event = { - id = news.282 - title = news.282.t - desc = news.282.desc - picture = GFX_news_event_quit_india_movement - - major = yes - - is_triggered_only = yes - - option = { - name = news.282.a - trigger = { - TAG = RAJ - } - } - option = { - name = news.282.b - trigger = { - NOT = { - TAG = RAJ - } - } - } - - -} - -# News event - RAJ Indian National Congress -news_event = { - id = news.283 - title = news.283.t - desc = news.283.desc - picture = GFX_news_event_india_protests - - major = yes - - is_triggered_only = yes - - option = { - name = news.283.a - trigger = { - TAG = RAJ - } - } - option = { - name = news.283.b - trigger = { - NOT = { - TAG = RAJ - } - } - } - - -} - -# News event - RAJ Swaraj -news_event = { - id = news.284 - title = news.284.t - desc = news.284.desc - picture = GFX_news_event_india_protests2 - - major = yes - - is_triggered_only = yes - - option = { - name = news.284.a - trigger = { - TAG = RAJ - } - } - option = { - name = news.284.b - trigger = { - NOT = { - TAG = RAJ - } - } - } - - -} - -# News event - PAK free -news_event = { - id = news.285 - title = news.285.t - desc = news.285.desc - picture = GFX_news_event_partition_of_india - - major = yes - - is_triggered_only = yes - - option = { - name = news.285.a - trigger = { - TAG = RAJ - } - } - option = { - name = news.285.b - trigger = { - TAG = PAK - } - } - option = { - name = news.285.c - trigger = { - NOT = { - TAG = RAJ - TAG = PAK - } - } - } - - -} - -# Australia severs ties and breaks free -news_event = { - id = news.286 - title = news.286.t - desc = news.286.desc - picture = GFX_news_event_ast_parliament_house - - major = yes - - is_triggered_only = yes - - option = { - name = news.286.a - trigger = { - NOT = { - TAG = AST - TAG = ENG - is_in_faction_with = ENG - } - } - } - option = { - name = news.286.b - trigger = { TAG = AST } - } - - option = { - name = news.286.c - trigger = { - OR = { - TAG = ENG - is_in_faction_with = ENG - } - } - } -} - -# Soviet honors MR pact -news_event = { - id = news.287 - title = news.287.t - desc = news.287.desc - picture = GFX_news_event_006 - - major = yes - - is_triggered_only = yes - - option = { - name = news.287.a - trigger = { - NOT = { - TAG = GER - TAG = SOV - is_in_faction_with = GER - is_in_faction_with = SOV - } - } - } - option = { - name = news.287.b - trigger = { - NOT = { TAG = SOV } #fix for unholy alliance - OR = { - TAG = GER - is_in_faction_with = GER - } - } - } - option = { - name = news.287.c - trigger = { - NOT = { TAG = GER } # fix for unholy alliance - OR = { - TAG = SOV - is_in_faction_with = SOV - } - } - } -} -#chinese united front forms -news_event = { - id = news.288 - title = news.288.t - desc = news.288.desc - picture = GFX_news_event_chinese_soldiers_march - - major = yes - - is_triggered_only = yes - - option = { - name = news.288.a - trigger = { - OR = { - TAG = CHI - TAG = PRC - } - } - } - option = { - name = news.288.b - trigger = { - NOT = { - TAG = CHI - TAG = PRC - } - OR = { - TAG = JAP - is_in_faction_with = JAP - } - } - } - option = { - name = news.288.c - trigger = { - NOT = { - TAG = PRC - TAG = CHI - TAG = JAP - is_in_faction_with = JAP - } - - } - } -} - -# GENERIC nation joins an Alliance -news_event = { - id = news.289 - title = news.289.t - picture = GFX_news_event_generic_sign_treaty3 - desc = news.289.d - - major = yes - - is_triggered_only = yes - - #Together we will prevail. - option = { - name = news.289.a - trigger = { - OR = { - has_country_flag = alliance_inviter@FROM - has_country_flag = alliance_applicant@FROM - } - } - hidden_effect = { - clr_country_flag = alliance_inviter@FROM - clr_country_flag = alliance_applicant@FROM - } - } - - #They prepare for what is coming. - option = { - name = news.289.b - trigger = { - NOT = { FROM = { has_war = yes } } - event_target:alliance_inviter = { - NOT = { has_war = yes } - } - NOT = { - any_allied_country = { - has_country_flag = alliance_applicant@FROM - } - } - AND = { - NOT = { has_country_flag = alliance_inviter@FROM } - NOT = { has_country_flag = alliance_applicant@FROM } - } - } - hidden_effect = { - clr_country_flag = alliance_inviter@FROM - clr_country_flag = alliance_applicant@FROM - } - } - - #It will not avail them! - option = { - name = news.289.c - trigger = { - any_enemy_country = { - OR = { - has_country_flag = alliance_inviter@FROM - has_country_flag = alliance_applicant@FROM - } - } - } - hidden_effect = { - clr_country_flag = alliance_inviter@FROM - clr_country_flag = alliance_applicant@FROM - } - } - - #The war escalates... - option = { - name = news.289.e - trigger = { - NOT = { - any_allied_country = { - OR = { - has_country_flag = alliance_inviter@FROM - has_country_flag = alliance_applicant@FROM - } - } - any_enemy_country = { - OR = { - has_country_flag = alliance_inviter@FROM - has_country_flag = alliance_applicant@FROM - } - } - } - event_target:alliance_inviter = { - has_war = yes - } - AND = { - NOT = { has_country_flag = alliance_inviter@FROM } - NOT = { has_country_flag = alliance_applicant@FROM } - } - } - hidden_effect = { - clr_country_flag = alliance_inviter@FROM - clr_country_flag = alliance_applicant@FROM - } - } - - #Our alliance grows stronger. - option = { - name = news.289.f - trigger = { - any_allied_country = { - OR = { - has_country_flag = alliance_inviter@FROM - has_country_flag = alliance_applicant@FROM - } - } - AND = { - NOT = { has_country_flag = alliance_inviter@FROM } - NOT = { has_country_flag = alliance_applicant@FROM } - } - } - hidden_effect = { - clr_country_flag = alliance_inviter@FROM - clr_country_flag = alliance_applicant@FROM - } - } -} - -#Austria invites Habsburg Prince -news_event = { - id = news.290 - title = news.290.t - desc = news.290.desc - picture = GFX_news_event_royal_visit - - major = yes - - is_triggered_only = yes - - option = { - name = news.290.a - trigger = { - TAG = HUN - } - } - option = { - name = news.290.b - trigger = { - TAG = AUS - } - } - option = { - name = news.290.c - trigger = { - TAG = GER - } - } - option = { - name = news.290.e - trigger = { - NOT = { - TAG = HUN - TAG = AUS - TAG = GER - } - } - } -} - -#Austria votes yes on referendum - no shenanigans -news_event = { - id = news.291 - title = news.291.t - desc = news.291.desc - picture = GFX_news_event_election_vote - - major = yes - - is_triggered_only = yes - - option = { - name = news.291.a - trigger = { - TAG = HUN - } - } - option = { - name = news.291.b - trigger = { - TAG = GER - } - } - option = { - name = news.291.c - trigger = { - NOT = { - TAG = HUN - TAG = GER - } - } - } -} - -#Austria votes yes on referendum - suspected shenanigans -news_event = { - id = news.292 - title = news.291.t - desc = news.292.desc - picture = GFX_news_event_generic_riot - - major = yes - - is_triggered_only = yes - - option = { - name = news.292.a - trigger = { - TAG = HUN - } - } - option = { - name = news.292.b - trigger = { - TAG = GER - } - } - option = { - name = news.292.c - trigger = { - NOT = { - TAG = HUN - TAG = GER - has_government = democratic - } - } - } - option = { - name = news.292.e - trigger = { - NOT = { - TAG = HUN - TAG = GER - } - has_government = democratic - } - } -} - -#Austria votes no on referendum - Hungary lets it slide -news_event = { - id = news.293 - title = news.293.t - desc = news.293.desc - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.293.a - trigger = { - TAG = HUN - } - } - option = { - name = news.293.b - trigger = { - TAG = AUS - } - } - option = { - name = news.293.c - trigger = { - TAG = GER - } - } - option = { - name = news.293.e - trigger = { - NOT = { - TAG = HUN - TAG = AUS - TAG = GER - } - } - } -} - -#Austria votes no on referendum - Hungary prepares for war! -news_event = { - id = news.294 - title = news.294.t - desc = news.294.desc - picture = GFX_news_event_military_planning - - major = yes - - is_triggered_only = yes - - option = { - name = news.294.a - trigger = { - TAG = HUN - } - } - option = { - name = news.294.b - trigger = { - TAG = AUS - } - } - option = { - name = news.294.c - trigger = { - TAG = GER - } - } - option = { - name = news.294.e - trigger = { - NOT = { - TAG = HUN - TAG = AUS - TAG = GER - } - } - } -} - -#Hungary restores Austria-Hungary -news_event = { - id = news.295 - title = news.295.t - desc = news.295.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = news.295.a - trigger = { - TAG = HUN - } - } - option = { - name = news.295.b - trigger = { - TAG = GER - } - } - option = { - name = news.295.c - trigger = { - NOT = { - TAG = HUN - TAG = GER - TAG = CZE - TAG = ROM - TAG = YUG - TAG = POL - TAG = ITA - } - } - } - option = { - name = news.295.e - trigger = { - OR = { - TAG = CZE - TAG = ROM - TAG = YUG - TAG = POL - TAG = ITA - } - } - } -} - -#Hungary elects a democratic king -news_event = { - id = news.296 - title = news.296.t - desc = news.296.desc - picture = GFX_news_event_royal_visit - - major = yes - - is_triggered_only = yes - - option = { - name = news.290.a - trigger = { - TAG = HUN - } - } - option = { - name = news.296.b - trigger = { - NOT = { TAG = HUN } - OR = { - has_government = fascism - has_government = communism - } - } - } - option = { - name = news.296.c - trigger = { - NOT = { TAG = HUN } - has_government = democratic - } - } -} - -#Hungary elects a fascist king -news_event = { - id = news.297 - title = news.297.t - desc = news.297.desc - picture = GFX_news_event_royal_visit - - major = yes - - is_triggered_only = yes - - option = { - name = news.290.a - trigger = { - TAG = HUN - } - } - option = { - name = news.297.b - trigger = { - NOT = { TAG = HUN } - OR = { - has_government = democratic - has_government = communism - } - } - } - option = { - name = news.297.c - trigger = { - NOT = { TAG = HUN } - has_government = fascism - } - } -} - -#Hungary renounces the Treaty of Trianon -news_event = { - id = news.298 - title = news.298.t - desc = news.298.desc - picture = GFX_news_event_german_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.298.a - trigger = { - TAG = HUN - } - } - option = { - name = news.298.b - trigger = { - NOT = { TAG = HUN } - NOT = { has_government = fascism } - } - } - option = { - name = news.298.c - trigger = { - NOT = { TAG = HUN } - has_government = fascism - } - } -} - -#Hungary proclaims Greater Hungary -news_event = { - id = news.299 - title = news.299.t - desc = news.299.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = news.299.a - trigger = { - TAG = HUN - } - } - option = { - name = news.299.b - trigger = { - NOT = { TAG = HUN } - } - } -} - -#Hungary demands Transylvania -news_event = { - id = news.300 - title = news.300.t - desc = news.300.desc - picture = GFX_news_event_hungary_refused - - major = yes - - is_triggered_only = yes - - option = { - name = news.300.a - trigger = { - TAG = HUN - } - } - option = { - name = news.300.b - trigger = { - TAG = ROM - } - } - option = { - name = news.300.c - trigger = { - NOT = { - TAG = HUN - TAG = ROM - } - } - } -} - -#Romania folds and gives up Transylvania -news_event = { - id = news.301 - title = news.301.t - desc = news.301.desc - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = news.301.a - trigger = { - TAG = HUN - } - } - option = { - name = news.301.b - trigger = { - TAG = ROM - } - } - option = { - name = news.301.c - trigger = { - NOT = { - TAG = HUN - TAG = ROM - } - } - } -} - -#Hungary and Romania unable to find solution, war looms -news_event = { - id = news.302 - title = news.302.t - desc = news.302.desc - picture = GFX_news_event_hungarian_soldiers - - major = yes - - is_triggered_only = yes - - option = { - name = news.302.a - trigger = { - TAG = HUN - } - } - option = { - name = news.302.b - trigger = { - TAG = ROM - } - } - option = { - name = news.302.c - trigger = { - NOT = { - TAG = HUN - TAG = ROM - } - } - } -} - -#Hungary demands Southern Slovakia -news_event = { - id = news.303 - title = news.303.t - desc = news.303.desc - picture = GFX_news_event_hungary_refused - - major = yes - - is_triggered_only = yes - - option = { - name = news.303.a - trigger = { - TAG = HUN - } - } - option = { - name = news.303.b - trigger = { - TAG = CZE - } - } - option = { - name = news.300.c - trigger = { - NOT = { - TAG = HUN - TAG = CZE - } - } - } -} - -#Czechoslovakia folds and gives up Southern Slovakia -news_event = { - id = news.304 - title = news.304.t - desc = news.304.desc - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = news.304.a - trigger = { - TAG = HUN - } - } - option = { - name = news.301.b - trigger = { - TAG = CZE - } - } - option = { - name = news.301.c - trigger = { - NOT = { - TAG = HUN - TAG = CZE - } - } - } -} - -#Hungary and Czechoslovakia unable to find solution, war looms -news_event = { - id = news.305 - title = news.305.t - desc = news.305.desc - picture = GFX_news_event_hungarian_soldiers - - major = yes - - is_triggered_only = yes - - option = { - name = news.302.a - trigger = { - TAG = HUN - } - } - option = { - name = news.302.b - trigger = { - TAG = CZE - } - } - option = { - name = news.302.c - trigger = { - NOT = { - TAG = HUN - TAG = CZE - } - } - } -} - -#Hungary demands the Vojvodina -news_event = { - id = news.306 - title = news.306.t - desc = news.306.desc - picture = GFX_news_event_hungary_refused - - major = yes - - is_triggered_only = yes - - option = { - name = news.306.a - trigger = { - TAG = HUN - } - } - option = { - name = news.306.b - trigger = { - TAG = YUG - } - } - option = { - name = news.300.c - trigger = { - NOT = { - TAG = HUN - TAG = YUG - } - } - } -} - -#Yugoslavia folds and gives up the Vojvodina -news_event = { - id = news.307 - title = news.307.t - desc = news.307.desc - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = news.307.a - trigger = { - TAG = HUN - } - } - option = { - name = news.301.b - trigger = { - TAG = YUG - } - } - option = { - name = news.301.c - trigger = { - NOT = { - TAG = HUN - TAG = YUG - } - } - } -} - -#Hungary and Yugoslavia unable to find solution, war looms -news_event = { - id = news.308 - title = news.308.t - desc = news.308.desc - picture = GFX_news_event_hungarian_soldiers - - major = yes - - is_triggered_only = yes - - option = { - name = news.302.a - trigger = { - TAG = HUN - } - } - option = { - name = news.302.b - trigger = { - TAG = YUG - } - } - option = { - name = news.302.c - trigger = { - NOT = { - TAG = HUN - TAG = YUG - } - } - } -} - -#Hungary claims overlordship over Slovakia -news_event = { - id = news.309 - title = news.309.t - desc = { - text = news.309.desc.a - trigger = { - OR = { - NOT = { country_exists = SLO } - AND = { - country_exists = SLO - SLO = { is_subject = yes } - } - } - } - } - desc = { - text = news.309.desc.b - trigger = { - country_exists = SLO - SLO = { is_subject = no } - } - } - picture = GFX_news_event_hungary_refused - - major = yes - - is_triggered_only = yes - - option = { - name = news.309.a - trigger = { - TAG = HUN - } - } - option = { - name = news.309.b - trigger = { - TAG = CZE - OR = { - NOT = { country_exists = SLO } - AND = { - country_exists = SLO - SLO = { is_subject = yes } - } - } - } - } - option = { - name = news.309.c - trigger = { - AND = { - TAG = SLO - SLO = { is_subject = no } - } - } - } - option = { - name = news.300.c - trigger = { - NOT = { - TAG = HUN - TAG = CZE - AND = { - TAG = SLO - SLO = { is_subject = yes } - } - } - } - } -} - -#CZE/SLO folds and gives up Slovakia -news_event = { - id = news.310 - title = news.310.t - desc = { - text = news.310.desc.a - trigger = { - OR = { - NOT = { country_exists = SLO } - AND = { - country_exists = SLO - SLO = { is_subject = yes } - } - } - } - } - desc = { - text = news.310.desc.b - trigger = { - country_exists = SLO - SLO = { is_subject = no } - } - } - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = news.310.a - trigger = { - TAG = HUN - } - } - option = { - name = news.310.b - trigger = { - TAG = CZE - } - } - option = { - name = news.301.c - trigger = { - NOT = { - TAG = HUN - TAG = CZE - } - } - } -} - -#Hungary and CZE/SLO unable to find solution, war looms -news_event = { - id = news.311 - title = news.311.t - desc = { - text = news.311.desc.a - trigger = { - OR = { - NOT = { country_exists = SLO } - AND = { - country_exists = SLO - SLO = { is_subject = yes } - } - } - } - } - desc = { - text = news.311.desc.b - trigger = { - country_exists = SLO - SLO = { is_subject = no } - } - } - picture = GFX_news_event_hungarian_soldiers - - major = yes - - is_triggered_only = yes - - option = { - name = news.302.a - trigger = { - TAG = HUN - } - } - option = { - name = news.311.b - trigger = { - OR = { - TAG = CZE - TAG = SLO - } - } - } - option = { - name = news.302.c - trigger = { - NOT = { - TAG = HUN - TAG = CZE - TAG = SLO - } - } - } -} - -#Rome Protocols renewed -news_event = { - id = news.312 - title = news.312.t - desc = { - text = news.312.desc.a - trigger = { - country_exists = AUS - } - } - desc = { - text = news.312.desc.b - trigger = { - NOT = { country_exists = AUS } - } - } - picture = GFX_news_event_hitler_handshake - - major = yes - - is_triggered_only = yes - - option = { - name = news.312.a - trigger = { - OR = { - TAG = HUN - TAG = ITA - TAG = AUS - } - } - } - option = { - name = news.312.b - trigger = { - TAG = GER - } - } - option = { - name = news.312.c - trigger = { - NOT = { - TAG = HUN - TAG = ITA - TAG = AUS - TAG = GER - } - } - } -} - -#Pact of Rome formed -news_event = { - id = news.313 - title = news.313.t - desc = { - text = news.313.desc.a - trigger = { - country_exists = AUS - } - } - desc = { - text = news.313.desc.b - trigger = { - NOT = { country_exists = AUS } - } - } - picture = GFX_news_event_generic_sign_treaty3 - - major = yes - - is_triggered_only = yes - - option = { - name = news.313.a - trigger = { - OR = { - TAG = HUN - TAG = ITA - TAG = AUS - } - } - } - option = { - name = news.313.b - trigger = { - TAG = GER - } - } - option = { - name = news.313.c - trigger = { - NOT = { - TAG = HUN - TAG = ITA - TAG = AUS - TAG = GER - } - } - } -} - -#Horthy Assassinated -news_event = { - id = news.314 - title = news.314.t - desc = news.314.desc - picture = GFX_news_event_generic_funeral - - major = yes - - is_triggered_only = yes - - option = { - name = news.314.a - trigger = { - TAG = HUN - } - } - option = { - name = news.314.b - trigger = { - has_government = communism - NOT = { TAG = HUN } - } - } - option = { - name = news.314.c - trigger = { - NOT = { - has_government = communism - } - NOT = { TAG = HUN } - } - } -} - -#Austria deniees referendum -news_event = { - id = news.315 - title = news.315.t - desc = news.315.desc - picture = GFX_news_event_hungarian_soldiers - - major = yes - - is_triggered_only = yes - - option = { - name = news.294.a - trigger = { - TAG = HUN - } - } - option = { - name = news.294.b - trigger = { - TAG = AUS - } - } - option = { - name = news.294.c - trigger = { - TAG = GER - } - } - option = { - name = news.294.e - trigger = { - NOT = { - TAG = HUN - TAG = AUS - TAG = GER - } - } - } -} - -#Renew Polish-Romanian Alliance -news_event = { - id = news.316 - title = news.316.t - desc = news.316.desc - picture = GFX_news_event_romania_poland_visit - - major = yes - - is_triggered_only = yes - - option = { - name = news.316.a - trigger = { - OR = { - TAG = ROM - TAG = POL - } - } - } - option = { - name = news.316.b - trigger = { - OR = { - TAG = GER - TAG = SOV - } - } - } - option = { - name = news.316.c - trigger = { - NOT = { - TAG = ROM - TAG = POL - TAG = GER - TAG = SOV - } - } - } -} - -#Cordon Sanitaire -news_event = { - id = news.317 - title = news.317.t - desc = news.317.desc - picture = GFX_news_event_generic_sign_treaty3 - - major = yes - - is_triggered_only = yes - - option = { - name = news.317.a - trigger = { - TAG = ROM - } - } - option = { - name = news.317.b - trigger = { - OR = { - AND = { - TAG = POL - is_in_faction_with = ROM - } - AND = { - TAG = CZE - is_in_faction_with = ROM - } - } - } - } - option = { - name = news.317.g - trigger = { - OR = { - TAG = GER - TAG = SOV - } - } - } - option = { - name = news.317.e - trigger = { - OR = { - NOT = { - TAG = ROM - TAG = POL - TAG = CZE - TAG = GER - TAG = SOV - has_government = communism - has_government = fascism - } - AND = { - OR = { - TAG = POL - TAG = CZE - } - NOT = { has_government = communism } - NOT = { has_government = fascism } - NOT = { is_in_faction_with = ROM } - } - } - } - } - option = { - name = news.317.f - trigger = { - OR = { - AND = { - NOT = { - TAG = ROM - TAG = POL - TAG = CZE - TAG = GER - TAG = SOV - } - OR = { - has_government = communism - has_government = fascism - } - } - AND = { - OR = { - TAG = POL - TAG = CZE - } - OR = { - has_government = communism - has_government = fascism - } - NOT = { is_in_faction_with = ROM } - } - } - } - } -} - -#Bulgaria Submits to Romanian Ultimatum -news_event = { - id = news.318 - title = news.318.t - desc = news.318.desc - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = news.318.a - trigger = { - TAG = ROM - } - } - option = { - name = news.318.b - trigger = { - TAG = BUL - } - } - option = { - name = news.318.c - trigger = { - NOT = { - TAG = ROM - TAG = BUL - } - } - } -} - -#Bulgaria Rejects Romanian Ultimatum - War might start -news_event = { - id = news.319 - title = news.319.t - desc = news.319.desc - picture = GFX_news_event_bulgarian_soldiers - - major = yes - - is_triggered_only = yes - - option = { - name = news.319.a - trigger = { - TAG = ROM - } - } - option = { - name = news.319.b - trigger = { - TAG = BUL - } - } - option = { - name = news.319.c - trigger = { - NOT = { - TAG = ROM - TAG = BUL - } - } - } -} - -#Divide Yugoslavia - Yugoslavia Refuses -news_event = { - id = news.320 - title = news.320.t - desc = news.320.desc - picture = GFX_news_event_romanian_soldiers - - major = yes - - is_triggered_only = yes - - option = { - name = news.320.a - trigger = { - TAG = ROM - } - } - option = { - name = news.320.b - trigger = { - TAG = YUG - } - } - option = { - name = news.320.c - trigger = { - OR = { - AND = { - TAG = GER - ROM = { - has_country_flag = ROM_YUG_GER_approves - } - } - AND = { - TAG = ITA - ROM = { - has_country_flag = ROM_YUG_ITA_approves - } - } - } - } - } - option = { - name = news.320.e - trigger = { - OR = { - NOT = { - TAG = ROM - TAG = YUG - } - AND = { - TAG = GER - ROM = { - NOT = { has_country_flag = ROM_YUG_GER_approves } - } - } - AND = { - TAG = ITA - ROM = { - NOT = { has_country_flag = ROM_YUG_ITA_approves } - } - } - } - } - } -} - -#Divide Yugoslavia - Yugoslavia Accepts Under Pressure -news_event = { - id = news.321 - title = news.321.t - desc = news.321.desc - picture = GFX_news_event_yugoslavian_split - - major = yes - - is_triggered_only = yes - - option = { - name = news.321.a - trigger = { - TAG = ROM - } - } - option = { - name = news.321.b - trigger = { - OR = { - AND = { - TAG = GER - ROM = { - has_country_flag = ROM_YUG_GER_approves - } - } - AND = { - TAG = ITA - ROM = { - has_country_flag = ROM_YUG_ITA_approves - } - } - } - } - } - option = { - name = news.321.c - trigger = { - OR = { - NOT = { - TAG = ROM - TAG = YUG - TAG = POL - TAG = GER - TAG = ITA - } - AND = { - TAG = GER - ROM = { - NOT = { has_country_flag = ROM_YUG_GER_approves } - } - } - AND = { - TAG = ITA - ROM = { - NOT = { has_country_flag = ROM_YUG_ITA_approves } - } - } - } - } - } - option = { - name = news.321.e - trigger = { - TAG = POL - } - } -} - -#King Michael's Coup -news_event = { - id = news.322 - title = news.322.t - desc = news.322.desc - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.322.a - trigger = { - TAG = ROM - } - } - option = { - name = news.322.b - trigger = { - NOT = { TAG = ROM } - } - } -} - -#King Carol II Forced to Abdicate -news_event = { - id = news.323 - title = news.323.t - desc = news.323.desc - picture = GFX_news_event_romania_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = news.323.a - trigger = { - TAG = ROM - } - } - option = { - name = news.323.b - trigger = { - NOT = { TAG = ROM } - } - } -} - -#Divide Yugoslavia - Yugoslavia Agrees Immediately -news_event = { - id = news.324 - title = news.324.t - desc = news.324.desc - picture = GFX_news_event_yugoslavian_split - - major = yes - - is_triggered_only = yes - - option = { - name = news.324.a - trigger = { - TAG = ROM - } - } - option = { - name = news.324.b - trigger = { - NOT = { - TAG = ROM - TAG = YUG - } - } - } -} - -#Yugoslavia Claims Bulgaria -news_event = { - id = news.325 - title = news.325.t - desc = news.325.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = news.325.a - trigger = { - TAG = YUG - } - } - option = { - name = news.325.b - trigger = { - TAG = BUL - } - } - option = { - name = news.325.c - trigger = { - NOT = { - TAG = YUG - TAG = BUL - } - } - } -} - -#The Banovina of Croatia -news_event = { - id = news.326 - title = news.326.t - desc = news.326.desc - picture = GFX_news_event_banovina_croatia - - major = yes - - is_triggered_only = yes - - option = { - name = news.326.a - trigger = { - TAG = YUG - } - } - option = { - name = news.326.b - trigger = { - TAG = CRO - } - } - option = { - name = news.326.c - trigger = { - NOT = { - TAG = YUG - TAG = CRO - } - } - } -} - -#Yugoslavia Claims Macedonia -news_event = { - id = news.327 - title = news.327.t - desc = news.327.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = news.327.a - trigger = { - TAG = YUG - } - } - option = { - name = news.327.b - trigger = { - TAG = GRE - } - } - option = { - name = news.327.c - trigger = { - NOT = { - TAG = YUG - TAG = GRE - } - } - } -} - -#Yugoslavia Claims Italian Border -news_event = { - id = news.328 - title = news.328.t - desc = news.328.desc - picture = GFX_news_event_generic_parliament - - major = yes - - is_triggered_only = yes - - option = { - name = news.328.a - trigger = { - TAG = YUG - } - } - option = { - name = news.328.b - trigger = { - TAG = ITA - } - } - option = { - name = news.328.c - trigger = { - NOT = { - TAG = YUG - TAG = ITA - } - } - } -} - -#Yugoslavia Recognizes Soviet Union -news_event = { - id = news.329 - title = news.329.t - desc = news.329.desc - picture = GFX_news_event_stalin_meeting - - major = yes - - is_triggered_only = yes - - option = { - name = news.329.a - trigger = { - TAG = YUG - } - } - option = { - name = news.329.b - trigger = { - TAG = SOV - } - } - option = { - name = news.329.c - trigger = { - NOT = { - TAG = YUG - TAG = SOV - } - } - } -} - -#The Pan-Slavic Worker's Congress -news_event = { - id = news.330 - title = news.330.t - desc = news.330.desc - picture = GFX_news_event_generic_sign_treaty3 - - major = yes - - is_triggered_only = yes - - option = { - name = news.330.a - trigger = { - TAG = YUG - } - } - option = { - name = news.330.b - trigger = { - TAG = SOV - } - } - option = { - name = news.330.c - trigger = { - OR = { - TAG = BUL - TAG = ALB - } - } - } - option = { - name = news.330.e - trigger = { - NOT = { - TAG = YUG - TAG = SOV - TAG = BUL - TAG = ALB - } - } - } -} - -#Icelandic Independence -news_event = { - id = news.331 - title = news.331.t - desc = news.331.desc - picture = GFX_news_event_generic_sign_treaty3 - - major = yes - - is_triggered_only = yes - - option = { - name = news.331.a - } -} - -#Mers-El-Kebir - French Surrender -news_event = { - id = news.332 - title = news.332.t - desc = news.332.desc - picture = GFX_news_event_generic_sign_treaty3 - - major = yes - - is_triggered_only = yes - - option = { - name = news.332.a - trigger = { - is_in_faction_with = ENG - NOT = { original_tag = FRA } - } - } - option = { - name = news.332.b - trigger = { - is_in_faction_with = ENG - original_tag = FRA - } - } - option = { - name = news.332.c - trigger = { - is_in_faction_with = GER - NOT = { original_tag = FRA } - } - } - option = { - name = news.332.d - trigger = { - is_in_faction_with = GER - original_tag = FRA - } - } - option = { - name = news.332.e - trigger = { - NOT = { is_in_faction_with = ENG } - NOT = { is_in_faction_with = GER } - } - } -} - -#Mers-El-Kebir - Attack -news_event = { - id = news.333 - title = news.333.t - desc = news.333.desc - picture = GFX_news_event_generic_sign_treaty3 - - major = yes - - is_triggered_only = yes - - option = { - name = news.333.a - trigger = { - is_in_faction_with = ENG - NOT = { original_tag = FRA } - } - } - option = { - name = news.333.b - trigger = { - is_in_faction_with = ENG - original_tag = FRA - } - } - option = { - name = news.333.c - trigger = { - is_in_faction_with = GER - NOT = { original_tag = FRA } - } - } - option = { - name = news.333.d - trigger = { - is_in_faction_with = GER - original_tag = FRA - } - } - option = { - name = news.333.e - trigger = { - NOT = { is_in_faction_with = ENG } - NOT = { is_in_faction_with = GER } - } - } -} -news_event = { #Panay Incident - initial incident - id = news.334 - title = news.334.t - desc = news.334.d - picture = GFX_news_event_panay_incident - - trigger = { - NOT = { tag = USA } - } - - major = yes - - is_triggered_only = yes - - option = { - name = news.334.a - trigger = { - NOT = { - OR = { - TAG = JAP - TAG = ENG - } - } - } - } - option = { - name = news.334.b - trigger = { TAG = JAP } - } - option = { - name = news.334.c - trigger = { TAG = ENG } - ENG = { - add_opinion_modifier = { target = JAP modifier = panay_inc2_opinion_modifier } - } - } -} - -news_event = { #Panay Incident - US declares war on Japan - id = news.335 - title = news.335.t - desc = news.335.d - picture = GFX_news_event_usa_japan_at_war - - major = yes - - is_triggered_only = yes - - option = { - name = news.335.a - trigger = { - NOT = { - OR = { - tag = USA - tag = JAP - AND = { - has_war_with = JAP - NOT = { has_war_with = USA } - } - AND = { - has_war_with = CHI - NOT = { has_war_with = JAP } - } - } - } - } - } - option = { - name = news.335.b - trigger = { - tag = USA - } - } - option = { - name = news.335.c - trigger = { - tag = JAP - } - } - option = { - name = news.335.e - trigger = { - has_war_with = JAP - NOT = { has_war_with = USA } - NOT = { tag = USA } - } - } - option = { - name = news.335.f - trigger = { - has_war_with = CHI - NOT = { has_war_with = JAP } - NOT = { tag = JAP } - } - } -} - -# Mexico occupies Texas - Remember the Alamo -news_event = { - id = news.336 - title = news.336.title - desc = news.336.desc - picture = GFX_news_event_047 - - major = yes - - trigger = { - 375 = { is_fully_controlled_by = MEX } - MEX = { has_war_with = USA } - NOT = { has_global_flag = remember_the_alamo } - } - - immediate = { - set_global_flag = remember_the_alamo - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.336.a - trigger = { - OR = { - TAG = MEX - is_in_faction_with = MEX - } - } - } - option = { - name = news.336.b - trigger = { - OR = { - TAG = USA - is_in_faction_with = USA - } - } - } - option = { - name = news.336.c - trigger = { - NOT = { - OR = { - TAG = MEX - is_in_faction_with = MEX - TAG = USA - is_in_faction_with = USA - } - } - } - } -} diff --git a/src/events/ai_bianzhi.txt b/src/events/ai_bianzhi.txt index 711223f..0a75a02 100755 --- a/src/events/ai_bianzhi.txt +++ b/src/events/ai_bianzhi.txt @@ -13,6 +13,15 @@ country_event = { } option = { name = "ai_bianzhi.1.a" + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } set_technology = { tech_military_police = 1 } set_technology = { tech_maintenance_company = 1 } set_technology = { tech_maintenance_company2 = 1 } @@ -289,6 +298,15 @@ country_event = { } option = { name = "ai_bianzhi.2.a" + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } set_technology = { tech_military_police = 1 } set_technology = { tech_maintenance_company = 1 } set_technology = { tech_maintenance_company2 = 1 } @@ -593,6 +611,15 @@ country_event = { } option = { name = "ai_bianzhi.3.a" + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } set_technology = { tech_logistics_company = 1 } set_technology = { tech_military_police = 1 } set_technology = { tech_maintenance_company = 1 } @@ -947,6 +974,15 @@ country_event = { } option = { name = "ai_bianzhi.4.a" + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } set_technology = { tech_logistics_company = 1 } set_technology = { tech_military_police = 1 } set_technology = { tech_maintenance_company = 1 } @@ -1622,6 +1658,15 @@ country_event = { } option = { name = "ai_bianzhi.6.a" + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } set_technology = { tech_logistics_company = 1 } set_technology = { tech_military_police = 1 } set_technology = { tech_maintenance_company = 1 } @@ -1937,7 +1982,15 @@ country_event = { } option = { name = "ai_bianzhi.7.a" - + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } set_technology = { tech_logistics_company = 1 } set_technology = { tech_signal_company = 1 } set_technology = { tech_military_police = 1 } @@ -2291,8 +2344,15 @@ country_event = { } option = { name = "ai_bianzhi.8.a" - - + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } set_technology = { amphibious_drive = 1 } set_technology = { tech_logistics_company = 1 } set_technology = { tech_maintenance_company = 1 } @@ -2742,6 +2802,15 @@ country_event = { } option = { name = "ai_bianzhi.9.a" + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } set_technology = { tech_logistics_company = 1 } set_technology = { tech_maintenance_company = 1 } set_technology = { tech_maintenance_company2 = 1 } @@ -3017,6 +3086,15 @@ country_event = { } option = { name = "ai_bianzhi.10.a" + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } set_technology = { tech_logistics_company = 1 } set_technology = { tech_maintenance_company = 1 } set_technology = { tech_maintenance_company2 = 1 } diff --git a/src/gfx/achievements/az_meizhoutiaozhan_cj2.dds b/src/gfx/achievements/az_meizhoutiaozhan_cj2.dds new file mode 100755 index 0000000..001f963 Binary files /dev/null and b/src/gfx/achievements/az_meizhoutiaozhan_cj2.dds differ diff --git a/src/gfx/achievements/az_meizhoutiaozhan_cj2_grey.dds b/src/gfx/achievements/az_meizhoutiaozhan_cj2_grey.dds new file mode 100755 index 0000000..bf0f146 Binary files /dev/null and b/src/gfx/achievements/az_meizhoutiaozhan_cj2_grey.dds differ diff --git a/src/gfx/achievements/az_meizhoutiaozhan_cj2_not_eligible.dds b/src/gfx/achievements/az_meizhoutiaozhan_cj2_not_eligible.dds new file mode 100755 index 0000000..99bf668 Binary files /dev/null and b/src/gfx/achievements/az_meizhoutiaozhan_cj2_not_eligible.dds differ diff --git a/src/history/countries/XGE - Xier Germany.txt b/src/history/countries/XGE - Xier Germany.txt index 1455112..919e467 100755 --- a/src/history/countries/XGE - Xier Germany.txt +++ b/src/history/countries/XGE - Xier Germany.txt @@ -34,7 +34,7 @@ set_variable = { AUS_pub_slot_C = 0 } ######################################### ################阵营##################### ######################################### -create_faction = Solidarity_Pact +#create_faction = Solidarity_Pact ######################################### ################人物##################### ######################################### diff --git a/src/interface/countrystateview.gui b/src/interface/countrystateview.gui index 3a07b29..282beb0 100755 --- a/src/interface/countrystateview.gui +++ b/src/interface/countrystateview.gui @@ -75,6 +75,29 @@ guiTypes = { format = left fixedsize = yes } + + iconType ={ + name ="energy_consumption_bg" + spriteType = "GFX_victorypoint_stateview_bg" + position = { x = 403 y = 121 } + } + + iconType = { + name = "energy_icon" + spriteType = "GFX_modifiers_energy" + position = { x = 418 y = 118 } + } + + instantTextboxType = { + name = "energy_text" + position = { x = 398 y = 124 } + textureFile = "" + font = "hoi_16mbs" + text = "" + maxWidth = 30 + maxHeight = 30 + format = center + } gridBoxType = { name = "state_shared_slot_building_entries" diff --git a/src/localisation/simp_chinese/az_misc_l_simp_chinese.yml b/src/localisation/simp_chinese/az_misc_l_simp_chinese.yml index e6a0e95..8ac8335 100755 --- a/src/localisation/simp_chinese/az_misc_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/az_misc_l_simp_chinese.yml @@ -1,6 +1,6 @@ l_simp_chinese: - gengxinshuoming_title2:0"2.16更新内容" - gengxinshuoming_text2:"1.AI下兵更多,而且会造一些重坦师。\n2.舰娘国后期都不会缺煤炭了。\n\n§O已经整合50建筑槽MOD,无需再额外启动!!!§!\nMOD内95%的长文案由AI生成,§C所有文案当做同人小说来看就好§!!MOD交流群539127559\n最下方的决议里有路线指南和舰娘羁绊事件。出现成就条件满足但无法去完成的情况请打开历史国策。" + gengxinshuoming_title2:0"2.18更新内容" + gengxinshuoming_text2:"1.调整了全词条的数值,大幅提高双方HP与组织度。\n2.加强了精通度决议效果,且舰娘机可以获取空军精通度(未测试)。\n3.调整了部分AI。\n\n§O已经整合50建筑槽MOD,无需再额外启动!!!§!\nMOD内95%的长文案由AI生成,§C所有文案当做同人小说来看就好§!!MOD交流群539127559\n最下方的决议里有路线指南和舰娘羁绊事件。出现成就条件满足但无法去完成的情况请打开历史国策。" az_openstart_button_tooltip:0"打开碧蓝MOD开始界面" dancingxiaotiancheng_tooltip:0"§RDancing~§! §CDancing~§! §YNon Stop§! §Bmy§! §GDancing~§!" az_start_mainwindow_stratgame_btn_tooltip:0"§Y◆注意◆§!确认你已完成所有MOD设定,点击开始游戏后将§R无法更改§!任何设定§Y◆注意◆§!" @@ -306,35 +306,39 @@ az_gaobaoqichuan_cj_DESC:"现在,是幻想时间。" az_zhanxinjiyuan_cj_NAME:1"崭新纪元" az_zhanxinjiyuan_cj_DESC:"属于团结主义的黎明已经到来!" DOH_zaozhan_cjwx:"提前与重樱开战" -az_meizhoutiaozhan_cj_NAME:"完美通关" -az_meizhoutiaozhan_cj_DESC:"在每周挑战中达成完美通关条件。" +az_meizhoutiaozhan_cj_NAME:"完美通关:北联" +az_meizhoutiaozhan_cj_DESC:"在每月挑战中达成北联的完美通关条件。" +az_meizhoutiaozhan_cj2_NAME:"完美通关:鸢尾" +az_meizhoutiaozhan_cj2_DESC:"在每月挑战中达成鸢尾的完美通关条件。" az_ceshichengjiu_cj_NAME:"路过的蛮啾" az_ceshichengjiu_cj_DESC:"这是一个测试成就,请无视喵。" -##################每周挑战############## -az_tianjiang.389.d:"每周挑战是碧蓝MOD在最近一次更新中新添加的机制,玩家可以通过开启挑战来获得各种平时无法得到的加成,并与同样获得特殊增益的AI进行对抗。\n\n该模式的目的是给喜欢在碧蓝MOD中PVE的玩家一个动态的环境,因此每周都会对双方的BUFF以及挑战的目标进行更新。\n\n每周挑战不绑定历史国策,可以与疯狂AI或者历史挑战、丁真AI同时开启,但会在一定程度上影响其本身的难度。该机制属于单机游玩专属,联机时无法启用。\n\n如果对此模式有想法或意见,欢迎加群讨论。" -AZ_meizhoutiaozhan_jyz:"每周挑战" -AZ_meizhoutiaozhan_jyz_desc:"本周挑战国家:§Y北联§!\n本周路线要求:§Y任意红线§!\n本周挑战目标:§R按历史国策流程进入冷战路线,并完成“致命冲击”外的任意冷战最终国策§!\n本周§G玩家效果§!:卫国战争+人海战术+宁死不屈+侧重陆军\n本周§RAI效果§!:闪电战+坦克工厂+强化产线+后续乏力\n\n目前难度适中,有建议欢迎加群反馈。" +##################每月挑战############## +az_tianjiang.389.d:"每月挑战是碧蓝MOD在最近一次更新中新添加的机制,玩家可以通过开启挑战来获得各种平时无法得到的加成,并与同样获得特殊增益的AI进行对抗。\n\n该模式的目的是给喜欢在碧蓝MOD中PVE的玩家一个动态的环境,因此每月都会对双方的BUFF以及挑战的目标进行更新。\n\n每月挑战不绑定历史国策,可以与疯狂AI或者历史挑战、丁真AI同时开启,但会在一定程度上影响其本身的难度。该机制属于单机游玩专属,联机时无法启用。\n\n如果对此模式有想法或意见,欢迎加群讨论。" +AZ_meizhoutiaozhan_jyz:"每月挑战" +AZ_meizhoutiaozhan_jyz_desc:"本月挑战国家:§Y鸢尾§!\n本月路线要求:§Y莫加多尔§!\n本月挑战目标:§R在非历史国策下,向全世界散播涩涩腐蚀(盟友与附庸除外)§!\n本月§G玩家效果§!:强者战争+团结一致+堑壕战+不思进取\n本月§RAI效果§!:速度至上+战无不胜+宁死不屈+黑云遮日\n\n目前难度适中,有建议欢迎加群反馈。" AZ_meizhoutiaozhan_jy_debug:"测试决议" AZ_meizhoutiaozhan_jy_aibuff:"AI决议" -AZ_meizhoutiaozhan_jy_on:"开启§Y每周挑战§!" -AZ_meizhoutiaozhan_jy_off:"不启用§Y每周挑战§!" +AZ_meizhoutiaozhan_jy_on:"开启§Y每月挑战§!" +AZ_meizhoutiaozhan_jy_on_desc:"如果条件都满足但决议是灰色的,说明你没有关闭历史国策。" +AZ_meizhoutiaozhan_jy_off:"不启用§Y每月挑战§!" AZ_meizhoutiaozhan_jy_time:"选择时间倒计时" -AZ_meizhoutiaozhan_jy_time_desc:"如果不进行选择,则自动不启用每周挑战。" +AZ_meizhoutiaozhan_jy_time_desc:"如果不进行选择,则自动不启用每月挑战。" az_aikongzhiqitaguojia:"所有其他国家都是由AI控制的" -az_meizhoutiaozhan_action:"启用了每周挑战" -az_meizhoutiaozhan_down:"关闭了每周挑战" +az_meizhoutiaozhan_action:"启用了每月挑战" +az_meizhoutiaozhan_down:"关闭了每月挑战" AZ_meizhoutiaozhan_jy_wanmei_time:"完美达成目标" az_meizhoutiaozhan_buwanmei:"超过时间限制,无法获得额外奖励" AZ_meizhoutiaozhan_jy_dacheng_time:"成功完成目标" az_meizhoutiaozhan_shibai:"§R超过最大时间限制,挑战失败§!" -AZ_mztz_AIbuff:"每周挑战:AI效果" -AZ_mztz_playerbuff:"每周挑战:玩家效果" -AZ_meizhoutiaozhan_jy_BFL_misson:"每周挑战:北联" +AZ_mztz_AIbuff:"每月挑战:AI效果" +AZ_mztz_playerbuff:"每月挑战:玩家效果" +AZ_meizhoutiaozhan_jy_BFL_misson:"每月挑战:北联" AZ_meizhoutiaozhan_jy_BFL_misson_desc:"在1945年之前完成视为完美完成目标,将获得额外奖励并获得成就。" AZ_meizhoutiaozhan_jiangli:"完美通关的奖励" -AZ_meizhoutiaozhan_jiangli_desc:"如果你完美达成过每周挑战的通关条件(解锁了对应成就),那么你就可以在这里自选各种平时玩不到的增益!" -az_meizhoutiaozhan_cj_get:"完美达成每周挑战通关条件" +AZ_meizhoutiaozhan_jiangli_desc:"如果你完美达成过每月挑战的通关条件(解锁了对应成就),那么你就可以在这里自选各种平时玩不到的增益!" +az_meizhoutiaozhan_cj_get:"完美达成每月挑战通关条件" +az_meizhoutiaozhan_cj_get2:"完美达成每月挑战通关条件" AZ_mztz_xiaoma_idea:"挑战奖励:超级小马" az_shenjingbaizhan_tech:"词条:身经百战" az_shenjingbaizhan_tech_desc:"疯狂AI地形修正" @@ -343,6 +347,8 @@ az_jianniangguo_tech:"碧蓝航线MOD加成" az_jianniangguo_tech_desc:"防止数值膨胀导致激情互秒。" az_liluntupo_new_tech:"理论突破" az_liluntupo_new_tech_desc:"双学说,落幕。" +AZ_meizhoutiaozhan_jy_YUW_misson:"每月挑战:鸢尾" +AZ_meizhoutiaozhan_jy_YUW_misson_desc:"在1945年之前完成视为完美完成目标,将获得额外奖励并获得成就。" #########################临时文本,P社为什么不写本地化############################ @@ -360,4 +366,9 @@ az_aimeitanzuobi: "舰娘国特殊能源" modifier_experience_gain_medium_armor_combat_factor: "战斗中获取的中坦经验:" modifier_experience_gain_heavy_armor_combat_factor: "战斗中获取的重坦经验:" shijianniangguojia_trigger_tooltip: "§Y[ROOT.getname]§!是舰娘国家" -az_meitanzuobi: "舰娘国特殊能源" \ No newline at end of file +az_meitanzuobi: "舰娘国特殊能源" +TY_fkAIdebuffplayer: "疯狂AI全词条玩家debuff" +TY_fkAIdebuffplayer_desc: "由于最近难度变低,因此添加该debuff。" +psh_yymj: "英勇蛮啾" +psh_yymj_desc: "为英勇的蛮啾们颁发勋章!" +TY_fkAIdebuffplayer_teding: "疯狂AI全词条玩家额外debuff(特定国家)" \ No newline at end of file