diff --git a/src/common/ai_equipment/BFL_tank.txt b/src/common/ai_equipment/BFL_tank.txt index 18acb61..7e04cd1 100755 --- a/src/common/ai_equipment/BFL_tank.txt +++ b/src/common/ai_equipment/BFL_tank.txt @@ -177,7 +177,7 @@ BFL_medium_flame_tank = { priority = { factor = 10000 modifier = { - not = { has_tech = improved_medium_tank_chassis } + NOT = { has_tech = improved_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -402,7 +402,7 @@ BFL_medium_tanks = { priority = { factor = 3000 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -587,7 +587,7 @@ BFL_medium_tank_destroyers = { priority = { factor = 300 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -791,7 +791,7 @@ BFL_medium_tank_anti_air = { priority = { factor = 1000 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } diff --git a/src/common/ai_equipment/BYG_tank.txt b/src/common/ai_equipment/BYG_tank.txt index 698c972..eb84a75 100755 --- a/src/common/ai_equipment/BYG_tank.txt +++ b/src/common/ai_equipment/BYG_tank.txt @@ -180,7 +180,7 @@ BYG_medium_flame_tank = { priority = { factor = 10000 modifier = { - not = { has_tech = improved_medium_tank_chassis } + NOT = { has_tech = improved_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -421,7 +421,7 @@ BYG_medium_tanks = { priority = { factor = 200 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -604,7 +604,7 @@ BYG_medium_tank_destroyers = { priority = { factor = 300 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -808,7 +808,7 @@ BYG_medium_tank_anti_air = { priority = { factor = 1000 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -996,7 +996,7 @@ BYG_medium_tank_amphibious = { priority = { factor = 3000 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -1177,7 +1177,7 @@ BYG_medium_tank_artillery = { priority = { factor = 1500 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } diff --git a/src/common/ai_equipment/CHY_tank.txt b/src/common/ai_equipment/CHY_tank.txt index ba81a79..b8478ae 100755 --- a/src/common/ai_equipment/CHY_tank.txt +++ b/src/common/ai_equipment/CHY_tank.txt @@ -16,7 +16,7 @@ CHY_light_tanks = { factor = 0 #let's not waste XP here } modifier = { - not = { country_exists = DOH } + NOT = { country_exists = DOH } factor = 0 } } @@ -100,7 +100,7 @@ CHY_light_tanks = { factor = 0 #let's not waste XP here } modifier = { - not = { country_exists = DOH } + NOT = { country_exists = DOH } factor = 0 } } @@ -368,7 +368,7 @@ CHY_medium_flame_tank = { factor = 0 } modifier = { - not = { has_tech = improved_medium_tank_chassis } + NOT = { has_tech = improved_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -453,7 +453,7 @@ CHY_medium_flame_tank = { factor = 0 } modifier = { - not = { has_tech = improved_medium_tank_chassis } + NOT = { has_tech = improved_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -706,7 +706,7 @@ CHY_medium_tanks = { factor = 0 } modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -901,7 +901,7 @@ CHY_medium_tanks = { factor = 0 } modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -1101,7 +1101,7 @@ CHY_medium_tank_destroyers = { factor = 0 } modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -1284,7 +1284,7 @@ CHY_medium_tank_destroyers = { factor = 0 } modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -1500,7 +1500,7 @@ CHY_medium_tank_anti_air = { factor = 0 } modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } diff --git a/src/common/ai_equipment/DOH_tank.txt b/src/common/ai_equipment/DOH_tank.txt index bfbedaf..de8972b 100755 --- a/src/common/ai_equipment/DOH_tank.txt +++ b/src/common/ai_equipment/DOH_tank.txt @@ -3,7 +3,7 @@ DOH_light_tanks = { blocked_for = {} - available_for = {DOH} + available_for = {DOH DH1} roles = { land_light_tank @@ -130,7 +130,7 @@ DOH_medium_flame_tank = { blocked_for = {} - available_for = {DOH} + available_for = {DOH DH1} roles = { land_medium_tank_flamethrower @@ -182,7 +182,7 @@ DOH_medium_flame_tank = { priority = { factor = 10000 modifier = { - not = { has_tech = improved_medium_tank_chassis } + NOT = { has_tech = improved_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -224,7 +224,7 @@ DOH_medium_tanks = { blocked_for = {} - available_for = { DOH } + available_for = { DOH DH1 } roles = { land_medium_tank @@ -407,7 +407,7 @@ DOH_medium_tanks = { priority = { factor = 3000 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -468,7 +468,7 @@ DOH_medium_tanks = { DOH_medium_tank_destroyers = { category = land blocked_for = {} - available_for = { DOH } + available_for = { DOH DH1 } roles = { land_medium_tank_destroyer } @@ -593,7 +593,7 @@ DOH_medium_tank_destroyers = { priority = { factor = 300 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -651,7 +651,7 @@ DOH_medium_tank_destroyers = { DOH_medium_tank_anti_air = { category = land blocked_for = {} - available_for = { DOH } + available_for = { DOH DH1 } roles = { land_medium_tank_anti_air } @@ -797,7 +797,7 @@ DOH_medium_tank_anti_air = { priority = { factor = 1000 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } diff --git a/src/common/ai_equipment/HUJ_tank.txt b/src/common/ai_equipment/HUJ_tank.txt index 1e8bd00..f74a3f3 100755 --- a/src/common/ai_equipment/HUJ_tank.txt +++ b/src/common/ai_equipment/HUJ_tank.txt @@ -177,7 +177,7 @@ HUJ_medium_flame_tank = { priority = { factor = 10000 modifier = { - not = { has_tech = improved_medium_tank_chassis } + NOT = { has_tech = improved_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -418,7 +418,7 @@ HUJ_medium_tanks = { priority = { factor = 200 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -601,7 +601,7 @@ HUJ_medium_tank_destroyers = { priority = { factor = 300 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -805,7 +805,7 @@ HUJ_medium_tank_anti_air = { priority = { factor = 1000 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -995,7 +995,7 @@ HUJ_medium_tank_amphibious = { priority = { factor = 3000 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } diff --git a/src/common/ai_equipment/SAD_tank.txt b/src/common/ai_equipment/SAD_tank.txt index d022030..6f2be2b 100755 --- a/src/common/ai_equipment/SAD_tank.txt +++ b/src/common/ai_equipment/SAD_tank.txt @@ -500,7 +500,7 @@ SAD_medium_flame_tank = { priority = { factor = 10000 modifier = { - not = { has_tech = improved_medium_tank_chassis } + NOT = { has_tech = improved_medium_tank_chassis } factor = 0 #let's not waste XP here } } diff --git a/src/common/ai_equipment/TIX_tank.txt b/src/common/ai_equipment/TIX_tank.txt index 2a091bd..2fa9737 100755 --- a/src/common/ai_equipment/TIX_tank.txt +++ b/src/common/ai_equipment/TIX_tank.txt @@ -177,7 +177,7 @@ TIX_medium_flame_tank = { priority = { factor = 10000 modifier = { - not = { has_tech = improved_medium_tank_chassis } + NOT = { has_tech = improved_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -342,7 +342,7 @@ TIX_medium_tank_destroyers = { priority = { factor = 500 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -601,7 +601,7 @@ TIX_medium_tanks = { priority = { factor = 200 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -805,7 +805,7 @@ TIX_medium_tank_anti_air = { priority = { factor = 1000 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } diff --git a/src/common/ai_equipment/YUW_tank.txt b/src/common/ai_equipment/YUW_tank.txt index e3ed31f..7746b91 100755 --- a/src/common/ai_equipment/YUW_tank.txt +++ b/src/common/ai_equipment/YUW_tank.txt @@ -177,7 +177,7 @@ YUW_medium_flame_tank = { priority = { factor = 10000 modifier = { - not = { has_tech = improved_medium_tank_chassis } + NOT = { has_tech = improved_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -416,7 +416,7 @@ YUW_medium_tanks = { priority = { factor = 200 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -613,7 +613,7 @@ YUW_medium_tank_destroyers = { priority = { factor = 300 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } @@ -821,7 +821,7 @@ YUW_medium_tank_anti_air = { priority = { factor = 1000 modifier = { - not = { has_tech = advanced_medium_tank_chassis } + NOT = { has_tech = advanced_medium_tank_chassis } factor = 0 #let's not waste XP here } } diff --git a/src/common/ai_focuses/ITA.txt b/src/common/ai_focuses/ITA.txt index a07c5dc..3acf91c 100755 --- a/src/common/ai_focuses/ITA.txt +++ b/src/common/ai_focuses/ITA.txt @@ -1,45 +1,45 @@ ai_historical_focus_list_ITA = { - ai_national_focuses = { - ITA_ethiopian_war_logistics - ITA_victoryinETH - ITA_industrial_effort - ITA_army_primacy - ITA_mare_nostrum - ITA_light_ship_effort - ITA_industrial_effort_2 - ITA_modernized_artillery - ITA_air_innovation - ITA_slovenia_dalmatia_claims - ITA_modernized_army - ITA_fortification_effort - ITA_extra_tech_slot - ITA_special_forces - ITA_capital_ships - ITA_bulgaria_friend - ITA_albania_war_goal - ITA_pact_of_steel - ITA_escort_effort - ITA_submarine_effort - ITA_italian_highways - ITA_carrier_effort - ITA_romania_friend - ITA_bomber_effort - ITA_greece_war_goal - ITA_german_rd_treaty - ITA_german_millitary_cooperation - ITA_naval_air_effort - ITA_atlantic_fleet - ITA_marines_and_landing_craft - ITA_air_innovation_2 - ITA_armored_effort - ITA_claims_on_france - ITA_sea_wolves - ITA_secret_weapons - ITA_jet_engine_effort - ITA_prospect_for_oil - ITA_libyan_refineries - ITA_libyan_infrastructure - } + # ai_national_focuses = { + # ITA_ethiopian_war_logistics + # ITA_victoryinETH + # ITA_industrial_effort + # ITA_army_primacy + # ITA_mare_nostrum + # ITA_light_ship_effort + # ITA_industrial_effort_2 + # ITA_modernized_artillery + # ITA_air_innovation + # ITA_slovenia_dalmatia_claims + # ITA_modernized_army + # ITA_fortification_effort + # ITA_extra_tech_slot + # ITA_special_forces + # ITA_capital_ships + # ITA_bulgaria_friend + # ITA_albania_war_goal + # ITA_pact_of_steel + # ITA_escort_effort + # ITA_submarine_effort + # ITA_italian_highways + # ITA_carrier_effort + # ITA_romania_friend + # ITA_bomber_effort + # ITA_greece_war_goal + # ITA_german_rd_treaty + # ITA_german_millitary_cooperation + # ITA_naval_air_effort + # ITA_atlantic_fleet + # ITA_marines_and_landing_craft + # ITA_air_innovation_2 + # ITA_armored_effort + # ITA_claims_on_france + # ITA_sea_wolves + # ITA_secret_weapons + # ITA_jet_engine_effort + # ITA_prospect_for_oil + # ITA_libyan_refineries + # ITA_libyan_infrastructure + # } } diff --git a/src/common/ai_strategy/BFL.txt b/src/common/ai_strategy/BFL.txt index 0d07f0c..dfe5493 100755 --- a/src/common/ai_strategy/BFL.txt +++ b/src/common/ai_strategy/BFL.txt @@ -105,7 +105,7 @@ BFL_unit_production_air = { original_tag = BFL } enable = { - always = YES + always = yes } abort = { always = no @@ -787,8 +787,8 @@ BFL_prio_military_even_at_peace = { date > 1939.6.1 } abort = { - or = { - not = { country_exists = TIX } + OR = { + NOT = { country_exists = TIX } TIX = { is_subject = yes } is_in_faction_with = TIX date > 1941.7.1 @@ -1049,11 +1049,11 @@ BFL_area_priority = { } enable = { is_historical_focus_on = yes - not = { has_war_with = CHY } + NOT = { has_war_with = CHY } } abort = { - or = { + OR = { has_war_with = CHY has_war_with = HUJ } diff --git a/src/common/ai_strategy/CHY.txt b/src/common/ai_strategy/CHY.txt index c06688f..312245a 100755 --- a/src/common/ai_strategy/CHY.txt +++ b/src/common/ai_strategy/CHY.txt @@ -37,7 +37,7 @@ CHY_unit_production_air_at_week = { num_of_military_factories < 150 } abort = { - or = { + OR = { num_of_military_factories > 150 date > 1940.1.1 NOT = { country_exists = DOH } @@ -106,7 +106,7 @@ CHY_unit_production_air_at_strong = { original_tag = CHY } enable = { - or = { + OR = { num_of_military_factories > 150 date > 1940.1.1 NOT = { country_exists = DOH } @@ -170,7 +170,7 @@ CHY_unit_production_army_before_1940 = { } } abort = { - or = { + OR = { num_of_military_factories > 150 date > 1940.1.1 NOT = { country_exists = DOH } @@ -255,7 +255,7 @@ CHY_unit_production_army_after_1940 = { original_tag = CHY } enable = { - or = { + OR = { num_of_military_factories > 150 date > 1940.1.1 NOT = { country_exists = DOH } @@ -677,7 +677,7 @@ CHY_ignore_north = { enable = { country_exists = BFL date < 1942.1.1 - not = { has_war_with = BFL } + NOT = { has_war_with = BFL } } abort_when_not_enabled = yes @@ -996,9 +996,9 @@ CHY_prio_military_even_at_peace = { date < 1939.1.1 } abort = { - or = { + OR = { date > 1939.1.1 - not = { country_exists = DOH } + NOT = { country_exists = DOH } DOH = { is_subject = yes } is_in_faction_with = DOH has_game_rule = { @@ -1028,7 +1028,7 @@ CHY_prio_military_no_doh = { rule = CHY_ai_behavior option = CHY_changmen_line_focus } - not = { country_exists = DOH } + NOT = { country_exists = DOH } DOH = { is_subject = yes } is_in_faction_with = DOH } diff --git a/src/common/ai_strategy/DOH.txt b/src/common/ai_strategy/DOH.txt index 317fdba..00ef8da 100755 --- a/src/common/ai_strategy/DOH.txt +++ b/src/common/ai_strategy/DOH.txt @@ -78,7 +78,7 @@ DOH_weishejunfa = { original_tag = DOH } enable = { - not = { has_completed_focus = DOH_weishejunfa } + NOT = { has_completed_focus = DOH_weishejunfa } } abort = { has_completed_focus = DOH_fangfanjinlin @@ -502,8 +502,8 @@ DOH_prio_military_even_at_peace = { date > 1936.1.1 } abort = { - or = { - not = { country_exists = CHY } + OR = { + NOT = { country_exists = CHY } CHY = { is_subject = yes } is_in_faction_with = CHY DOH = { controls_state = 716 } @@ -641,7 +641,7 @@ DOH_hunker_down_now = { } abort = { - or = { + OR = { date > 1942.1.1 #We accept our fate after this point CHY = { has_war_with = BFL } CHY = { has_war_with = BYG } diff --git a/src/common/ai_strategy/HUJ.txt b/src/common/ai_strategy/HUJ.txt index 9183774..26453d4 100755 --- a/src/common/ai_strategy/HUJ.txt +++ b/src/common/ai_strategy/HUJ.txt @@ -149,7 +149,7 @@ HUJ_unit_production_at_week = { } } abort = { - or = { + OR = { num_of_military_factories > 150 date > 1940.1.1 has_idea = TY_dingzhenai @@ -220,7 +220,7 @@ HUJ_unit_production_at_strong = { } enable = { - or = { + OR = { num_of_military_factories > 150 date > 1940.1.1 } @@ -440,7 +440,7 @@ HUJ_lifeline_of_the_empire = { } enable = { - or = { + OR = { has_war_with = TIX has_war_with = BYG has_war_with = BFL @@ -463,7 +463,7 @@ HUJ_lifeline_of_the_empire = { HUJ_BYG_focus_on_europe = { allowed = { - or = { + OR = { original_tag = HUJ original_tag = BYG } @@ -492,8 +492,8 @@ HUJ_time_to_ditch_FRA = { YUW = { has_capitulated = no } - not = { country_exists = WEX } - not = { is_in_faction_with = BYG } + NOT = { country_exists = WEX } + NOT = { is_in_faction_with = BYG } } abort_when_not_enabled = yes @@ -686,7 +686,7 @@ HUJ_wushibfl = { } enable = { - or = { + OR = { has_war_with = CHY has_war_with = SAD has_war_with = YUW @@ -712,7 +712,7 @@ HUJ_wushitix = { original_tag = HUJ } enable = { - or = { + OR = { has_war_with = CHY has_war_with = SAD has_war_with = YUW @@ -921,7 +921,7 @@ HUJ_defend_Britain = { original_tag = HUJ } enable = { - or = { + OR = { has_war_with = TIX has_war_with = CHY has_war_with = SAD @@ -1278,11 +1278,11 @@ HUJ_dengluqidong_sad = { } enable = { has_war_with = SAD - or = { + OR = { date > 1941.1.1 SAD = { is_ai = no } } - or = { + OR = { is_historical_focus_on = yes SAD = { is_ai = no } } @@ -1323,11 +1323,11 @@ HUJ_dengluqidong_tix = { } enable = { has_war_with = TIX - or = { + OR = { date > 1942.6.1 TIX = { is_ai = no } } - or = { + OR = { is_historical_focus_on = yes TIX = { is_ai = no } } @@ -1368,11 +1368,11 @@ HUJ_dengluqidong_wex = { } enable = { has_war_with = WEX - or = { + OR = { date > 1942.6.1 WEX = { is_ai = no } } - or = { + OR = { is_historical_focus_on = yes WEX = { is_ai = no } } diff --git a/src/common/ai_strategy/SAD.txt b/src/common/ai_strategy/SAD.txt index 3f41968..6fce851 100755 --- a/src/common/ai_strategy/SAD.txt +++ b/src/common/ai_strategy/SAD.txt @@ -286,7 +286,7 @@ TIX_ally = { country_exists = TIX } abort = { - or = { + OR = { NOT = { country_exists = TIX } TIX = { NOT = { has_government = fascism } } } diff --git a/src/common/ai_strategy/TIX.txt b/src/common/ai_strategy/TIX.txt index a3a2e86..d61c18e 100755 --- a/src/common/ai_strategy/TIX.txt +++ b/src/common/ai_strategy/TIX.txt @@ -660,7 +660,7 @@ TIX_strike_BFL_crazyaivsai = { has_completed_focus = TIX_qifujuxiong date < 1941.8.1 BFL = { is_ai = yes } - BFL = { or = { + BFL = {OR = { has_idea = TY_fengkuangai has_idea = TY_fengkuangai2 has_idea = TY_fengkuangai3 @@ -735,8 +735,8 @@ TIX_area_priority = { date > 1941.3.1 } abort = { - or = { - not = { country_exists = BFL } + OR = { + NOT = { country_exists = BFL } BFL = { is_subject = yes } is_in_faction_with = BFL } @@ -959,7 +959,7 @@ TIX_war_maginot_line = { has_war_with = YUW OR = { POL = { has_capitulated = yes } - not = { country_exists = POL } + NOT = { country_exists = POL } } } } @@ -1493,7 +1493,7 @@ TIX_ignore_little_country = { original_tag = TIX } enable = { - or = { + OR = { has_war_with = BFL has_war_with = SAD has_war_with = HUJ @@ -1595,7 +1595,7 @@ spain_help_TIX = { } abort = { OR = { - not = { + NOT = { TIX = { has_government = fascism } } SPA = { has_completed_focus = SPA_join_the_allies } @@ -1665,7 +1665,7 @@ TIX_we_dont_fight_pathetic_sweden = { # :O } abort = { SWE = { - not = { has_idea = neutrality_idea } + NOT = { has_idea = neutrality_idea } } } ai_strategy = { @@ -1693,7 +1693,7 @@ TIX_we_dont_fight_pathetic_sweden_on_historical = { # :O } abort = { SWE = { - not = { has_idea = neutrality_idea } + NOT = { has_idea = neutrality_idea } } } ai_strategy = { @@ -1846,7 +1846,7 @@ TIX_donthelpnor = { abort = { OR = { has_war_with = BFL - not = { country_exists = BFL } + NOT = { country_exists = BFL } } } @@ -1889,7 +1889,7 @@ TIX_hold_up_in_bfl = { #We got this far but there are bigger targets to worry ab is_historical_focus_on = yes BFL = { has_capitulated = no } BFL = { is_ai = yes } - or = { + OR = { YUW = { is_ai = yes } YUW = { has_capitulated = yes } } @@ -1918,10 +1918,10 @@ TIX_attack_DOH = { original_tag = TIX } enable = { - not = { country_exists = BFL } + NOT = { country_exists = BFL } TIX = { has_government = fascism - not = { is_in_faction_with = DOH } + NOT = { is_in_faction_with = DOH } } DOH = { is_ai = no } } diff --git a/src/common/ai_strategy/YUW.txt b/src/common/ai_strategy/YUW.txt index 226e28c..def2853 100755 --- a/src/common/ai_strategy/YUW.txt +++ b/src/common/ai_strategy/YUW.txt @@ -407,7 +407,7 @@ YUW_zhenduibfl = { } enable = { - or = { + OR = { has_completed_focus = YUW_jiuguoxingdong has_completed_focus = YUW_rushensuoyuan has_completed_focus = YUW_chedijingjigaige @@ -439,7 +439,7 @@ YUW_dont_do_so_many_naval_invasions_please = { allowed = { original_tag = YUW } enable = { - or = { + OR = { has_completed_focus = YUW_jiuguoxingdong has_completed_focus = YUW_rushensuoyuan has_completed_focus = YUW_chedijingjigaige diff --git a/src/common/ai_strategy/ai_tank_research.txt b/src/common/ai_strategy/ai_tank_research.txt index 73fcb03..2ea2c4b 100755 --- a/src/common/ai_strategy/ai_tank_research.txt +++ b/src/common/ai_strategy/ai_tank_research.txt @@ -1,6 +1,6 @@ ai_medium_tank_research_1 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -8,6 +8,7 @@ ai_medium_tank_research_1 = { original_tag = SAD original_tag = CHY original_tag = DOH + original_tag = DH1 original_tag = TIX } } @@ -29,7 +30,7 @@ ai_medium_tank_research_1 = { ai_medium_tank_research_2 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -37,6 +38,7 @@ ai_medium_tank_research_2 = { original_tag = SAD original_tag = CHY original_tag = DOH + original_tag = DH1 original_tag = TIX } @@ -59,7 +61,7 @@ ai_medium_tank_research_2 = { ai_medium_tank_research_3 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -67,6 +69,7 @@ ai_medium_tank_research_3 = { original_tag = SAD original_tag = CHY original_tag = DOH + original_tag = DH1 original_tag = TIX } @@ -89,7 +92,7 @@ ai_medium_tank_research_3 = { ai_light_tank_research_1 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -118,7 +121,7 @@ ai_light_tank_research_1 = { ai_light_tank_research_2 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -147,7 +150,7 @@ ai_light_tank_research_2 = { ai_light_tank_research_3 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -176,7 +179,7 @@ ai_light_tank_research_3 = { mechanised_infantry_research_1 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -184,6 +187,7 @@ mechanised_infantry_research_1 = { original_tag = SAD original_tag = TIX original_tag = DOH + original_tag = DH1 original_tag = CHY original_tag = BLI original_tag = SIR @@ -206,7 +210,7 @@ mechanised_infantry_research_1 = { mechanised_infantry_research_2 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -214,6 +218,7 @@ mechanised_infantry_research_2 = { original_tag = SAD original_tag = TIX original_tag = DOH + original_tag = DH1 original_tag = CHY original_tag = BLI original_tag = SIR @@ -237,7 +242,7 @@ mechanised_infantry_research_2 = { mechanised_infantry_research_3 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -245,6 +250,7 @@ mechanised_infantry_research_3 = { original_tag = SAD original_tag = TIX original_tag = DOH + original_tag = DH1 original_tag = CHY original_tag = BLI original_tag = SIR @@ -269,6 +275,7 @@ mechanised_infantry_research_3 = { DOH_ai_light_tank_research_1 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { has_idea = DOH_dfgg5 @@ -288,6 +295,7 @@ DOH_ai_light_tank_research_1 = { DOH_ai_light_tank_research_2 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { has_tech = basic_light_tank_chassis @@ -307,6 +315,7 @@ DOH_ai_light_tank_research_2 = { DOH_ai_light_tank_research_3 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1941.1.1 @@ -325,7 +334,7 @@ DOH_ai_light_tank_research_3 = { ai_plane_research_1 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -354,7 +363,7 @@ ai_plane_research_1 = { ai_plane_research_2 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -383,7 +392,7 @@ ai_plane_research_2 = { ai_plane_research_3_nohujsad = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = BYG @@ -411,7 +420,7 @@ ai_plane_research_3_nohujsad = { ai_plane_research_4_nohujsad = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = BYG @@ -439,7 +448,7 @@ ai_plane_research_4_nohujsad = { ai_plane_research_5_nosad = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = BYG @@ -468,7 +477,7 @@ ai_plane_research_5_nosad = { ai_plane_research_3_huj = { allowed = { - or = { + OR = { original_tag = HUJ original_tag = TIX original_tag = SAD @@ -492,7 +501,7 @@ ai_plane_research_3_huj = { ai_plane_research_4_huj = { allowed = { - or = { + OR = { original_tag = HUJ original_tag = TIX original_tag = SAD @@ -517,6 +526,7 @@ ai_plane_research_4_huj = { ai_plane_research_DOH_1 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1936.1.1 @@ -538,6 +548,7 @@ ai_plane_research_DOH_1 = { ai_plane_research_DOH_2 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { has_tech = iw_small_airframe @@ -558,6 +569,7 @@ ai_plane_research_DOH_2 = { ai_plane_research_DOH_3 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1939.1.1 @@ -578,6 +590,7 @@ ai_plane_research_DOH_3 = { ai_plane_research_DOH_4 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1943.1.1 @@ -598,6 +611,7 @@ ai_plane_research_DOH_4 = { ai_plane_research_DOH_5 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1944.1.1 @@ -617,7 +631,7 @@ ai_plane_research_DOH_5 = { ai_large_plane_research_byghuj_1 = { allowed = { - or = { + OR = { original_tag = HUJ original_tag = BYG original_tag = TIX @@ -641,7 +655,7 @@ ai_large_plane_research_byghuj_1 = { ai_large_plane_research_byghuj_2 = { allowed = { - or = { + OR = { original_tag = HUJ original_tag = BYG original_tag = TIX @@ -665,7 +679,7 @@ ai_large_plane_research_byghuj_2 = { ai_large_plane_research_byghuj_3 = { allowed = { - or = { + OR = { original_tag = HUJ original_tag = BYG original_tag = TIX @@ -690,7 +704,7 @@ ai_large_plane_research_byghuj_3 = { ai_large_plane_research_byghuj_4 = { allowed = { - or = { + OR = { original_tag = HUJ original_tag = BYG original_tag = TIX @@ -715,7 +729,7 @@ ai_large_plane_research_byghuj_4 = { ai_large_plane_research_byghuj_5 = { allowed = { - or = { + OR = { original_tag = HUJ original_tag = BYG original_tag = TIX @@ -741,6 +755,7 @@ ai_large_plane_research_byghuj_5 = { ai_large_plane_research_doh_1 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1936.1.1 @@ -762,6 +777,7 @@ ai_large_plane_research_doh_1 = { ai_large_plane_research_doh_2 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { has_tech = iw_large_airframe @@ -782,6 +798,7 @@ ai_large_plane_research_doh_2 = { ai_large_plane_research_doh_3 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1940.1.1 @@ -803,6 +820,7 @@ ai_large_plane_research_doh_3 = { ai_large_plane_research_doh_4 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1944.1.1 @@ -824,6 +842,7 @@ ai_large_plane_research_doh_4 = { ai_large_plane_research_doh_5 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1945.1.1 @@ -844,7 +863,7 @@ ai_large_plane_research_doh_5 = { ai_naval_research_1 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -902,6 +921,7 @@ ai_naval_research_1 = { ai_naval_research_1_doh = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1936.1.1 @@ -949,7 +969,7 @@ ai_naval_research_1_doh = { ai_naval_research_2 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -960,6 +980,7 @@ ai_naval_research_2 = { original_tag = BLI original_tag = SIR original_tag = DOH + original_tag = DH1 } } enable = { @@ -1012,7 +1033,7 @@ ai_naval_research_2 = { ai_naval_research_heavy_ship = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -1023,6 +1044,7 @@ ai_naval_research_heavy_ship = { original_tag = BLI original_tag = SIR original_tag = DOH + original_tag = DH1 } } enable = { @@ -1043,7 +1065,7 @@ ai_naval_research_heavy_ship = { ai_naval_research_3 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -1054,6 +1076,7 @@ ai_naval_research_3 = { original_tag = BLI original_tag = SIR original_tag = DOH + original_tag = DH1 } } enable = { @@ -1106,7 +1129,7 @@ ai_naval_research_3 = { ai_naval_research_4 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -1117,6 +1140,7 @@ ai_naval_research_4 = { original_tag = BLI original_tag = SIR original_tag = DOH + original_tag = DH1 } } enable = { @@ -1169,7 +1193,7 @@ ai_naval_research_4 = { ai_naval_research_5 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -1255,7 +1279,7 @@ ai_naval_research_5 = { ai_naval_research_6 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -1295,7 +1319,7 @@ ai_naval_research_6 = { ai_naval_research_7 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -1335,7 +1359,7 @@ ai_naval_research_7 = { ai_naval_research_8 = { allowed = { - or = { + OR = { original_tag = YUW original_tag = BFL original_tag = HUJ @@ -1375,6 +1399,7 @@ ai_naval_research_8 = { ai_naval_research_DOH_5 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1939.1.1 @@ -1451,6 +1476,7 @@ ai_naval_research_DOH_5 = { ai_naval_research_DOH_6 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1939.1.1 @@ -1481,6 +1507,7 @@ ai_naval_research_DOH_6 = { ai_naval_research_DOH_7 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1939.1.1 @@ -1511,6 +1538,7 @@ ai_naval_research_DOH_7 = { ai_naval_research_DOH_8 = { allowed = { original_tag = DOH + original_tag = DH1 } enable = { date > 1941.1.1 @@ -1539,7 +1567,7 @@ ai_naval_research_DOH_8 = { ai_naval_submarine = { allowed = { - or = { + OR = { original_tag = SAD original_tag = CHY original_tag = TIX diff --git a/src/common/ai_strategy/default.txt b/src/common/ai_strategy/default.txt index a56b026..8ba19ed 100755 --- a/src/common/ai_strategy/default.txt +++ b/src/common/ai_strategy/default.txt @@ -24,6 +24,7 @@ default_unit_production = { #If adding country-unique ones, bear in mind that th original_tag = HUJ original_tag = BLI original_tag = SIR + original_tag = DH1 } } } @@ -154,7 +155,7 @@ default_unit_production = { #If adding country-unique ones, bear in mind that th default_role_ratios = { enable = { - not = { + NOT = { has_dlc = "Man the Guns" } } @@ -188,7 +189,7 @@ default_role_ratios = { default_role_ratios = { enable = { has_dlc = "Man the Guns" - not = { + NOT = { OR = { original_tag = GER original_tag = ENG @@ -277,7 +278,7 @@ 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 = { + NOT = { OR = { original_tag = CHY original_tag = DOH @@ -747,7 +748,7 @@ default_mobile_production = { NOT = { original_tag = GER } ai_wants_divisions > 11 has_tech = motorised_infantry - not = { + NOT = { OR = { original_tag = CHY original_tag = DOH @@ -1629,7 +1630,7 @@ default_produce_some_trucks_for_buffer = { num_of_military_factories > 12 has_tech = tech_trucks has_equipment = { motorized_equipment < 3000 } - not = { + NOT = { OR = { original_tag = CHY original_tag = DOH diff --git a/src/common/ai_strategy_plans/CHI_warlord_alternate_strategy_plan.txt b/src/common/ai_strategy_plans/CHI_warlord_alternate_strategy_plan.txt index 8a4ff10..ad9b5a3 100755 --- a/src/common/ai_strategy_plans/CHI_warlord_alternate_strategy_plan.txt +++ b/src/common/ai_strategy_plans/CHI_warlord_alternate_strategy_plan.txt @@ -9,7 +9,7 @@ CHI_warlord_alternate_plan_nationalist = { has_completed_focus = CHI_cooperation_with_the_nationalists } abort = { - not = { + NOT = { has_focus_tree = china_warlord_focus } } @@ -60,7 +60,7 @@ CHI_warlord_alternate_plan_communist = { has_completed_focus = CHI_cooperation_with_the_communists } abort = { - not = { + NOT = { has_focus_tree = china_warlord_focus } } diff --git a/src/common/ai_strategy_plans/CZE_historical_strategy_plan.txt b/src/common/ai_strategy_plans/CZE_historical_strategy_plan.txt index b3cec19..276b038 100755 --- a/src/common/ai_strategy_plans/CZE_historical_strategy_plan.txt +++ b/src/common/ai_strategy_plans/CZE_historical_strategy_plan.txt @@ -24,12 +24,12 @@ CZE_historical_strategy_plan = { abort = { OR = { GER = { - not = { + NOT = { has_government = fascism } } FRA = { - not = { has_government = democratic } + NOT = { has_government = democratic } } } has_game_rule = { diff --git a/src/common/ai_strategy_plans/ENG_historical_strategy_plan.txt b/src/common/ai_strategy_plans/ENG_historical_strategy_plan.txt index bc3f982..a8235c5 100755 --- a/src/common/ai_strategy_plans/ENG_historical_strategy_plan.txt +++ b/src/common/ai_strategy_plans/ENG_historical_strategy_plan.txt @@ -10,7 +10,7 @@ ENG_historical_plan = { AND = { is_historical_focus_on = yes OR = { - not = { has_dlc = "Man the Guns" } + NOT = { has_dlc = "Man the Guns" } has_game_rule = { rule = ENG_ai_behavior option = DEFAULT diff --git a/src/common/ai_strategy_plans/GER.txt b/src/common/ai_strategy_plans/GER.txt index 028c082..bb7fba8 100755 --- a/src/common/ai_strategy_plans/GER.txt +++ b/src/common/ai_strategy_plans/GER.txt @@ -6,11 +6,11 @@ German_historical = { original_tag = GER } enable = { - or = { + OR = { AND = { is_historical_focus_on = yes OR = { - not = { has_dlc = "Waking the Tiger" } + NOT = { has_dlc = "Waking the Tiger" } has_game_rule = { rule = GER_ai_behavior option = DEFAULT diff --git a/src/common/ai_strategy_plans/JAP_historical_strategy_plan.txt b/src/common/ai_strategy_plans/JAP_historical_strategy_plan.txt index 8ec2726..a10cbcb 100755 --- a/src/common/ai_strategy_plans/JAP_historical_strategy_plan.txt +++ b/src/common/ai_strategy_plans/JAP_historical_strategy_plan.txt @@ -10,7 +10,7 @@ JAP_historical_plan = { AND = { is_historical_focus_on = yes OR = { - not = { has_dlc = "Waking the Tiger" } + NOT = { has_dlc = "Waking the Tiger" } has_game_rule = { rule = JAP_ai_behavior option = DEFAULT diff --git a/src/common/ai_strategy_plans/MAN_alternate_strategy_plan.txt b/src/common/ai_strategy_plans/MAN_alternate_strategy_plan.txt index 13ca376..ac8de8b 100755 --- a/src/common/ai_strategy_plans/MAN_alternate_strategy_plan.txt +++ b/src/common/ai_strategy_plans/MAN_alternate_strategy_plan.txt @@ -125,7 +125,7 @@ MAN_alternate_plan_independent = { } enable = { has_completed_focus = MAN_independence_war - not = { + NOT = { has_war_with = JAP } is_subject = no # actually won diff --git a/src/common/ai_strategy_plans/ROM_alternate_strategy_plans.txt b/src/common/ai_strategy_plans/ROM_alternate_strategy_plans.txt index 6d46973..5883de3 100755 --- a/src/common/ai_strategy_plans/ROM_alternate_strategy_plans.txt +++ b/src/common/ai_strategy_plans/ROM_alternate_strategy_plans.txt @@ -207,7 +207,7 @@ ROM_communist = { abort = { is_subject = yes OVERLORD = { - not = { has_government = communism } + NOT = { has_government = communism } } } diff --git a/src/common/ai_strategy_plans/SAF_alternate_strategy_plan.txt b/src/common/ai_strategy_plans/SAF_alternate_strategy_plan.txt index bc4ac13..05ae20c 100755 --- a/src/common/ai_strategy_plans/SAF_alternate_strategy_plan.txt +++ b/src/common/ai_strategy_plans/SAF_alternate_strategy_plan.txt @@ -235,7 +235,7 @@ SAF_alternate_fascist = { } abort = { GER = { - not = { + NOT = { has_government = fascism } } @@ -346,7 +346,7 @@ SAF_alternate_fascist_2 = { } } GER = { - not = { + NOT = { has_government = fascism } } diff --git a/src/common/ai_strategy_plans/USA_alternate_strategy_plan.txt b/src/common/ai_strategy_plans/USA_alternate_strategy_plan.txt index 711ebfe..8842d14 100755 --- a/src/common/ai_strategy_plans/USA_alternate_strategy_plan.txt +++ b/src/common/ai_strategy_plans/USA_alternate_strategy_plan.txt @@ -115,7 +115,7 @@ USA_alternate_plan_2 = { original_tag = USA } enable = { - not = { + NOT = { OR = { has_game_rule = { rule = USA_ai_behavior diff --git a/src/common/ai_strategy_plans/USA_historical_strategy_plan.txt b/src/common/ai_strategy_plans/USA_historical_strategy_plan.txt index c09f27a..7ca2656 100755 --- a/src/common/ai_strategy_plans/USA_historical_strategy_plan.txt +++ b/src/common/ai_strategy_plans/USA_historical_strategy_plan.txt @@ -10,7 +10,7 @@ USA_historical_plan = { AND = { is_historical_focus_on = yes OR = { - not = { has_dlc = "Man the Guns" } + NOT = { has_dlc = "Man the Guns" } has_game_rule = { rule = USA_ai_behavior option = DEFAULT @@ -37,12 +37,12 @@ USA_historical_plan = { has_completed_focus = GER_oppose_hitler } ENG = { - not = { has_government = democratic } + NOT = { has_government = democratic } } has_war_with = CAN has_war_with = MEX JAP = { - not = { + NOT = { OR = { has_government = fascism has_government = neutrality diff --git a/src/common/ai_strategy_plans/az_bfl_focusplan.txt b/src/common/ai_strategy_plans/az_bfl_focusplan.txt index f446a28..bf2479e 100755 --- a/src/common/ai_strategy_plans/az_bfl_focusplan.txt +++ b/src/common/ai_strategy_plans/az_bfl_focusplan.txt @@ -7,7 +7,7 @@ BFL_historical = { } enable = { has_global_flag = MOD_azurlane_tianjiangjianniang - or = { + OR = { is_historical_focus_on = yes has_game_rule = { @@ -15,7 +15,7 @@ BFL_historical = { option = BFL_historical_focus } } - not = { has_global_flag = modoption_historicalbossai_on } + NOT = { has_global_flag = modoption_historicalbossai_on } } abort = { has_completed_focus = BFL_beijiyanjiuyuan diff --git a/src/common/ai_strategy_plans/az_byg_focusplan.txt b/src/common/ai_strategy_plans/az_byg_focusplan.txt index 05641e5..4399f1b 100755 --- a/src/common/ai_strategy_plans/az_byg_focusplan.txt +++ b/src/common/ai_strategy_plans/az_byg_focusplan.txt @@ -6,7 +6,7 @@ BYG_historical = { original_tag = BYG } enable = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { diff --git a/src/common/ai_strategy_plans/az_chy_focusplan.txt b/src/common/ai_strategy_plans/az_chy_focusplan.txt index 42c6846..30cd56d 100755 --- a/src/common/ai_strategy_plans/az_chy_focusplan.txt +++ b/src/common/ai_strategy_plans/az_chy_focusplan.txt @@ -7,7 +7,7 @@ CHY_historical = { } enable = { has_global_flag = MOD_azurlane_tianjiangjianniang - or = { + OR = { is_historical_focus_on = yes has_game_rule = { diff --git a/src/common/ai_strategy_plans/az_doh_focusplan.txt b/src/common/ai_strategy_plans/az_doh_focusplan.txt index 11bb297..1eb6d45 100755 --- a/src/common/ai_strategy_plans/az_doh_focusplan.txt +++ b/src/common/ai_strategy_plans/az_doh_focusplan.txt @@ -7,7 +7,7 @@ DOH_historical = { } enable = { has_global_flag = MOD_azurlane_tianjiangjianniang - or = { + OR = { is_historical_focus_on = yes has_game_rule = { rule = DOH_ai_behavior diff --git a/src/common/ai_strategy_plans/az_huj_focusplan.txt b/src/common/ai_strategy_plans/az_huj_focusplan.txt index 8dbc581..32a1a62 100755 --- a/src/common/ai_strategy_plans/az_huj_focusplan.txt +++ b/src/common/ai_strategy_plans/az_huj_focusplan.txt @@ -6,7 +6,7 @@ HUJ_historical_new = { original_tag = HUJ } enable = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { diff --git a/src/common/ai_strategy_plans/az_tix_focusplan.txt b/src/common/ai_strategy_plans/az_tix_focusplan.txt index 9e9b35e..3bb723c 100755 --- a/src/common/ai_strategy_plans/az_tix_focusplan.txt +++ b/src/common/ai_strategy_plans/az_tix_focusplan.txt @@ -7,7 +7,7 @@ TIX_historical = { } enable = { has_global_flag = MOD_azurlane_tianjiangjianniang - or = { + OR = { is_historical_focus_on = yes has_game_rule = { diff --git a/src/common/ai_strategy_plans/az_yuw_focusplan.txt b/src/common/ai_strategy_plans/az_yuw_focusplan.txt index 3f26b8f..cfde7cf 100755 --- a/src/common/ai_strategy_plans/az_yuw_focusplan.txt +++ b/src/common/ai_strategy_plans/az_yuw_focusplan.txt @@ -6,7 +6,7 @@ YUW_historical_new = { original_tag = YUW } enable = { - or = { + OR = { is_historical_focus_on = yes #新版本鸢尾历史国策 has_game_rule = { @@ -14,7 +14,7 @@ YUW_historical_new = { option = YUW_historical_focus_new } } - not = { has_global_flag = modoption_historicalbossai_on } + NOT = { has_global_flag = modoption_historicalbossai_on } } abort = { has_completed_focus = YUW_yongwangzhiqian @@ -78,7 +78,7 @@ YUW_historical = { original_tag = YUW } enable = { - or = { + OR = { #is_historical_focus_on = yes #旧版本鸢尾历史国策 has_game_rule = { @@ -746,7 +746,7 @@ YUW_jiaojuzhe_banerwei = { original_tag = YUW } enable = { - or = { + OR = { has_game_rule = { rule = YUW_ai_behavior option = YUW_jiaojuzhe_banerwei diff --git a/src/common/ai_templates/az_generic.txt b/src/common/ai_templates/az_generic.txt index c096c76..5bb9a9a 100755 --- a/src/common/ai_templates/az_generic.txt +++ b/src/common/ai_templates/az_generic.txt @@ -175,7 +175,7 @@ armor_default = { engineer = 1 mot_recon = 1 artillery = 1 - fight_shipgirl = 1 + fight_shipgirl_fankong = 1 command_shipgirl = 1 } @@ -194,7 +194,7 @@ armor_default = { armored_car_recon light_tank_recon artillery - fight_shipgirl + fight_shipgirl_fankong command_shipgirl mot_artillery_brigade } @@ -394,7 +394,7 @@ armor_default = { artillery = 1 maintenance_company = 1 logistics_company = 1 - fight_shipgirl = 1 + fight_shipgirl_fankong = 1 } regiments = { @@ -423,7 +423,7 @@ armor_default = { artillery #anti_tank mot_artillery_brigade - fight_shipgirl + fight_shipgirl_fankong } replace_at_match = 0.95 @@ -510,7 +510,7 @@ armor_default = { artillery = 1 maintenance_company = 1 logistics_company = 1 - fight_shipgirl = 1 + fight_shipgirl_fankong = 1 command_shipgirl = 1 } @@ -539,7 +539,7 @@ armor_default = { logistics_company artillery #anti_tank - fight_shipgirl + fight_shipgirl_fankong command_shipgirl mot_artillery_brigade } @@ -714,7 +714,7 @@ armor_default = { logistics_company = 1 maintenance_company = 1 artillery = 1 - fight_shipgirl = 1 + fight_shipgirl_fankong = 1 command_shipgirl = 1 } @@ -746,7 +746,7 @@ armor_default = { signal_company maintenance_company logistics_company - fight_shipgirl + fight_shipgirl_fankong command_shipgirl anti_tank artillery @@ -1050,7 +1050,7 @@ suppression_default = { } regiments = { - cavalry = 25 + cavalry = 24 } } @@ -1277,7 +1277,7 @@ infantry_big_default = { signal_company = 1 logistics_company = 1 command_shipgirl = 1 - fight_shipgirl = 1 + fight_shipgirl_fankong = 1 } regiments = { @@ -1298,7 +1298,7 @@ infantry_big_default = { artillery_brigade signal_company command_shipgirl - fight_shipgirl + fight_shipgirl_fankong } replace_at_match = 0.95 @@ -1387,7 +1387,7 @@ infantry_big_default = { signal_company = 1 logistics_company = 1 command_shipgirl = 1 - fight_shipgirl = 1 + fight_shipgirl_fankong = 1 } regiments = { @@ -1410,7 +1410,7 @@ infantry_big_default = { signal_company heavy_sp_anti_air_brigade command_shipgirl - fight_shipgirl + fight_shipgirl_fankong } } } @@ -1847,13 +1847,9 @@ jianniangshi = { upgrade_prio = { factor = 2 - modifier = { - factor = 1 - modifier = { - factor = 2 - date > 1938.1.1 - } + add = 2 + date > 1938.1.1 } } @@ -1919,22 +1915,23 @@ jianniangshi = { support = { recon = 1 engineer = 1 - fight_shipgirl = 1 + fight_shipgirl_fankong = 1 + fight_shipgirl_tuji = 1 command_shipgirl = 1 } regiments = { - shipgirl_brigade = 5 + shipgirl_brigade_xunyang = 5 } } allowed_types = { - shipgirl_brigade + fight_shipgirl_fankong + fight_shipgirl_tuji engineer command_shipgirl - fight_shipgirl } } } diff --git a/src/common/ai_templates/templates_BYG.txt b/src/common/ai_templates/templates_BYG.txt index c8e70e7..88222fe 100755 --- a/src/common/ai_templates/templates_BYG.txt +++ b/src/common/ai_templates/templates_BYG.txt @@ -19,9 +19,9 @@ armor_default = { modifier = { add = 100 NOT = { has_idea = TY_dingzhenai } - not = { has_idea = TY_fengkuangai } - not = { has_idea = TY_fengkuangai2 } - not = { has_idea = TY_fengkuangai3 } + NOT = { has_idea = TY_fengkuangai } + NOT = { has_idea = TY_fengkuangai2 } + NOT = { has_idea = TY_fengkuangai3 } } } production_prio = { @@ -29,9 +29,9 @@ armor_default = { modifier = { add = 100 NOT = { has_idea = TY_dingzhenai } - not = { has_idea = TY_fengkuangai } - not = { has_idea = TY_fengkuangai2 } - not = { has_idea = TY_fengkuangai3 } + NOT = { has_idea = TY_fengkuangai } + NOT = { has_idea = TY_fengkuangai2 } + NOT = { has_idea = TY_fengkuangai3 } } } target_width = 22.0 diff --git a/src/common/ai_templates/templates_CHY.txt b/src/common/ai_templates/templates_CHY.txt index 0a9e34b..0303ef9 100755 --- a/src/common/ai_templates/templates_CHY.txt +++ b/src/common/ai_templates/templates_CHY.txt @@ -21,7 +21,7 @@ armor_default = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 country_exists = DOH - not = { has_country_flag = CHY_friend_with_doh } + NOT = { has_country_flag = CHY_friend_with_doh } } } production_prio = { @@ -31,7 +31,7 @@ armor_default = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 country_exists = DOH - not = { has_country_flag = CHY_friend_with_doh } + NOT = { has_country_flag = CHY_friend_with_doh } } } target_width = 42.0 @@ -397,7 +397,7 @@ infantry_CHY = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 country_exists = DOH - not = { has_country_flag = CHY_friend_with_doh } + NOT = { has_country_flag = CHY_friend_with_doh } DOH = { is_ai = yes } NOT = { has_idea = TY_fengkuangai } NOT = { has_idea = TY_fengkuangai2 } @@ -411,7 +411,7 @@ infantry_CHY = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 country_exists = DOH - not = { has_country_flag = CHY_friend_with_doh } + NOT = { has_country_flag = CHY_friend_with_doh } DOH = { is_ai = yes } NOT = { has_idea = TY_fengkuangai } NOT = { has_idea = TY_fengkuangai2 } @@ -461,7 +461,7 @@ infantry_CHY = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 country_exists = DOH - not = { has_country_flag = CHY_friend_with_doh } + NOT = { has_country_flag = CHY_friend_with_doh } DOH = { is_ai = yes } OR = { has_idea = TY_fengkuangai has_idea = TY_fengkuangai2 @@ -475,7 +475,7 @@ infantry_CHY = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 country_exists = DOH - not = { has_country_flag = CHY_friend_with_doh } + NOT = { has_country_flag = CHY_friend_with_doh } DOH = { is_ai = yes } OR = { has_idea = TY_fengkuangai has_idea = TY_fengkuangai2 @@ -525,7 +525,7 @@ infantry_CHY = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 country_exists = DOH - not = { has_country_flag = CHY_friend_with_doh } + NOT = { has_country_flag = CHY_friend_with_doh } NOT = { has_idea = TY_fengkuangai } NOT = { has_idea = TY_fengkuangai2 } NOT = { has_idea = TY_fengkuangai3 } @@ -539,7 +539,7 @@ infantry_CHY = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 country_exists = DOH - not = { has_country_flag = CHY_friend_with_doh } + NOT = { has_country_flag = CHY_friend_with_doh } NOT = { has_idea = TY_fengkuangai } NOT = { has_idea = TY_fengkuangai2 } NOT = { has_idea = TY_fengkuangai3 } @@ -591,7 +591,7 @@ infantry_CHY = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 country_exists = DOH - not = { has_country_flag = CHY_friend_with_doh } + NOT = { has_country_flag = CHY_friend_with_doh } OR = { has_idea = TY_fengkuangai has_idea = TY_fengkuangai2 has_idea = TY_fengkuangai3 } @@ -605,7 +605,7 @@ infantry_CHY = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 country_exists = DOH - not = { has_country_flag = CHY_friend_with_doh } + NOT = { has_country_flag = CHY_friend_with_doh } OR = { has_idea = TY_fengkuangai has_idea = TY_fengkuangai2 has_idea = TY_fengkuangai3 } diff --git a/src/common/ai_templates/templates_DOH.txt b/src/common/ai_templates/templates_DOH.txt index b5aa2e6..0f4a2d1 100755 --- a/src/common/ai_templates/templates_DOH.txt +++ b/src/common/ai_templates/templates_DOH.txt @@ -1,6 +1,6 @@ armor_default = { available_for = { - DOH + DOH DH1 } roles = { armor @@ -21,9 +21,9 @@ armor_default = { add = 100 NOT = { has_idea = TY_dingzhenai } num_of_military_factories > 150 - not = { has_idea = TY_fengkuangai } - not = { has_idea = TY_fengkuangai2 } - not = { has_idea = TY_fengkuangai3 } + NOT = { has_idea = TY_fengkuangai } + NOT = { has_idea = TY_fengkuangai2 } + NOT = { has_idea = TY_fengkuangai3 } } } production_prio = { @@ -32,9 +32,9 @@ armor_default = { add = 100 NOT = { has_idea = TY_dingzhenai } num_of_military_factories > 150 - not = { has_idea = TY_fengkuangai } - not = { has_idea = TY_fengkuangai2 } - not = { has_idea = TY_fengkuangai3 } + NOT = { has_idea = TY_fengkuangai } + NOT = { has_idea = TY_fengkuangai2 } + NOT = { has_idea = TY_fengkuangai3 } } } target_width = 42 @@ -134,7 +134,7 @@ armor_default = { garrison_default = { available_for = { - DOH + DOH DH1 } roles = { garrison @@ -172,7 +172,7 @@ garrison_default = { infantry_DOH = { available_for = { - DOH + DOH DH1 } roles = { infantry @@ -192,7 +192,7 @@ infantry_DOH = { add = 100 NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 - not = { has_tech = human_wave_offensive } + NOT = { has_tech = human_wave_offensive } } } production_prio = { @@ -201,7 +201,7 @@ infantry_DOH = { add = 100 NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 - not = { has_tech = human_wave_offensive } + NOT = { has_tech = human_wave_offensive } } } target_width = 42.0 diff --git a/src/common/ai_templates/templates_HUJ.txt b/src/common/ai_templates/templates_HUJ.txt index 53a6916..f6639a6 100755 --- a/src/common/ai_templates/templates_HUJ.txt +++ b/src/common/ai_templates/templates_HUJ.txt @@ -19,9 +19,9 @@ armor_default = { modifier = { add = 100 NOT = { has_idea = TY_dingzhenai } - not = { has_idea = TY_fengkuangai } - not = { has_idea = TY_fengkuangai2 } - not = { has_idea = TY_fengkuangai3 } + NOT = { has_idea = TY_fengkuangai } + NOT = { has_idea = TY_fengkuangai2 } + NOT = { has_idea = TY_fengkuangai3 } } } production_prio = { @@ -29,9 +29,9 @@ armor_default = { modifier = { add = 100 NOT = { has_idea = TY_dingzhenai } - not = { has_idea = TY_fengkuangai } - not = { has_idea = TY_fengkuangai2 } - not = { has_idea = TY_fengkuangai3 } + NOT = { has_idea = TY_fengkuangai } + NOT = { has_idea = TY_fengkuangai2 } + NOT = { has_idea = TY_fengkuangai3 } } } target_width = 42 diff --git a/src/common/ai_templates/templates_SAD.txt b/src/common/ai_templates/templates_SAD.txt index c4dbdfb..07d2c86 100755 --- a/src/common/ai_templates/templates_SAD.txt +++ b/src/common/ai_templates/templates_SAD.txt @@ -69,9 +69,9 @@ armor_default = { add = 100 NOT = { has_idea = TY_dingzhenai } num_of_military_factories > 150 - not = { has_idea = TY_fengkuangai } - not = { has_idea = TY_fengkuangai2 } - not = { has_idea = TY_fengkuangai3 } + NOT = { has_idea = TY_fengkuangai } + NOT = { has_idea = TY_fengkuangai2 } + NOT = { has_idea = TY_fengkuangai3 } } } production_prio = { @@ -80,9 +80,9 @@ armor_default = { add = 100 NOT = { has_idea = TY_dingzhenai } num_of_military_factories > 150 - not = { has_idea = TY_fengkuangai } - not = { has_idea = TY_fengkuangai2 } - not = { has_idea = TY_fengkuangai3 } + NOT = { has_idea = TY_fengkuangai } + NOT = { has_idea = TY_fengkuangai2 } + NOT = { has_idea = TY_fengkuangai3 } } } target_width = 42 diff --git a/src/common/ai_templates/templates_TIX.txt b/src/common/ai_templates/templates_TIX.txt index ede07dc..b81d5b9 100755 --- a/src/common/ai_templates/templates_TIX.txt +++ b/src/common/ai_templates/templates_TIX.txt @@ -69,9 +69,9 @@ armor_default = { add = 100 NOT = { has_idea = TY_dingzhenai } num_of_military_factories > 200 - not = { has_idea = TY_fengkuangai } - not = { has_idea = TY_fengkuangai2 } - not = { has_idea = TY_fengkuangai3 } + NOT = { has_idea = TY_fengkuangai } + NOT = { has_idea = TY_fengkuangai2 } + NOT = { has_idea = TY_fengkuangai3 } } } production_prio = { @@ -80,9 +80,9 @@ armor_default = { add = 100 NOT = { has_idea = TY_dingzhenai } num_of_military_factories > 200 - not = { has_idea = TY_fengkuangai } - not = { has_idea = TY_fengkuangai2 } - not = { has_idea = TY_fengkuangai3 } + NOT = { has_idea = TY_fengkuangai } + NOT = { has_idea = TY_fengkuangai2 } + NOT = { has_idea = TY_fengkuangai3 } } } target_width = 42 diff --git a/src/common/characters/XGE.txt b/src/common/characters/XGE.txt index 519741e..8207885 100755 --- a/src/common/characters/XGE.txt +++ b/src/common/characters/XGE.txt @@ -47,7 +47,7 @@ characters = { } country_leader = { desc = "POLITICS_GER_Wilhelm_TTT_DESC" - ideology = enlightened_despotism + ideology = despotism expire = "1965.1.1.1" traits = { } @@ -63,7 +63,7 @@ characters = { } country_leader = { desc = "" - ideology = Spartacus + ideology = nazism expire = "2011.1.1.1" id = -1 } @@ -408,11 +408,11 @@ characters = { name = GER_georghans_reinhardt portraits = { civilian = { - large = "gfx/leaders/XGE/Portrait_Germany_georghans_reinhardt.dds" + #large = "gfx/leaders/XGE/Portrait_Germany_georghans_reinhardt.dds" small = "gfx/interface/ideas/XGE/idea_GER_georghans_reinhardt.dds" } army = { - large = "gfx/leaders/XGE/Portrait_Germany_georghans_reinhardt.dds" + #large = "gfx/leaders/XGE/Portrait_Germany_georghans_reinhardt.dds" small = "gfx/interface/ideas/XGE/idea_GER_georghans_reinhardt.dds" } } @@ -547,11 +547,11 @@ characters = { name = GER_friedrich_schulz portraits = { civilian = { - large = "gfx/leaders/XGE/Portrait_Germany_friedrich_schulz.dds" + #large = "gfx/leaders/XGE/Portrait_Germany_friedrich_schulz.dds" small = "gfx/interface/ideas/XGE/idea_GER_friedrich_schulz.dds" } army = { - large = "gfx/leaders/XGE/Portrait_Germany_friedrich_schulz.dds" + #large = "gfx/leaders/XGE/Portrait_Germany_friedrich_schulz.dds" small = "gfx/interface/ideas/XGE/idea_GER_friedrich_schulz.dds" } } @@ -704,11 +704,11 @@ characters = { name = GER_gotthard_heinrici portraits = { civilian = { - large = "gfx/leaders/XGE/Portrait_Germany_gotthard_heinrici.dds" + #large = "gfx/leaders/XGE/Portrait_Germany_gotthard_heinrici.dds" small = "gfx/interface/ideas/XGE/idea_GER_gotthard_heinrici.dds" } army = { - large = "gfx/leaders/XGE/Portrait_Germany_gotthard_heinrici.dds" + #large = "gfx/leaders/XGE/Portrait_Germany_gotthard_heinrici.dds" small = "gfx/interface/ideas/XGE/idea_GER_gotthard_heinrici.dds" } } @@ -874,12 +874,12 @@ characters = { name = "欧根亲王" portraits = { civilian = { - large = "gfx/leaders/KMS/KMS_Prinz.dds" - small = "gfx/interface/ideas/KMS/KMS_Prinz_idea.dds" + #large = "gfx/leaders/KMS/KMS_Prinz.dds" + #small = "gfx/interface/ideas/KMS/KMS_Prinz_idea.dds" } navy = { - large = "gfx/leaders/KMS/KMS_Prinz.dds" - small = "gfx/interface/ideas/KMS/KMS_Prinz_idea.dds" + #large = "gfx/leaders/KMS/KMS_Prinz.dds" + #small = "gfx/interface/ideas/KMS/KMS_Prinz_idea.dds" } } navy_leader = { @@ -900,12 +900,12 @@ characters = { name = "美因茨" portraits = { civilian = { - large = "gfx/leaders/KMS/KMS_Mainz.dds" - small = "gfx/interface/ideas/KMS/KMS_Mainz_idea.dds" + #large = "gfx/leaders/KMS/KMS_Mainz.dds" + #small = "gfx/interface/ideas/KMS/KMS_Mainz_idea.dds" } navy = { - large = "gfx/leaders/KMS/KMS_Mainz.dds" - small = "gfx/interface/ideas/KMS/KMS_Mainz_idea.dds" + #large = "gfx/leaders/KMS/KMS_Mainz.dds" + #small = "gfx/interface/ideas/KMS/KMS_Mainz_idea.dds" } } navy_leader = { @@ -954,12 +954,12 @@ characters = { name = "Z23" portraits = { civilian = { - large = "gfx/leaders/KMS/KMS_Z23.dds" - small = "gfx/interface/ideas/KMS/KMS_Z23_idea.dds" + #large = "gfx/leaders/KMS/KMS_Z23.dds" + #small = "gfx/interface/ideas/KMS/KMS_Z23_idea.dds" } navy = { - large = "gfx/leaders/KMS/KMS_Z23.dds" - small = "gfx/interface/ideas/KMS/KMS_Z23_idea.dds" + #large = "gfx/leaders/KMS/KMS_Z23.dds" + #small = "gfx/interface/ideas/KMS/KMS_Z23_idea.dds" } } navy_leader = { @@ -1064,14 +1064,6 @@ characters = { idea_token = speer allowed = { } - equipment_bonus = { - armor = { - reliability = -0.1 - instant = yes - build_cost_ic = -0.17 - instant = yes - } - } traits = { armaments_organizer } @@ -1296,11 +1288,8 @@ characters = { allowed = { } available = { - NOT = { - has_country_leader = { - ruling_only = yes - character = GER_maiye - } + XGE_maiye = { + is_country_leader = no } } traits = { @@ -1728,7 +1717,7 @@ characters = { name = DVL_Friedrich_August_von_Hayek portraits = { civilian = { - small = "gfx/interface/ideas/DVL/Friedrich_August_von_Hayek.png" + #small = "gfx/interface/ideas/DVL/Friedrich_August_von_Hayek.png" } } advisor = { @@ -1737,7 +1726,7 @@ characters = { allowed = { } visible = { - or = { + OR = { has_country_flag = Friedrich_August_von_Hayek_coming } } @@ -1745,7 +1734,7 @@ characters = { has_government = democratic } traits = { - freedom_ecomic + #freedom_ecomic } ai_will_do = { factor = 10 diff --git a/src/common/characters/az_BFL_characters.txt b/src/common/characters/az_BFL_characters.txt index 8e54ef7..9d64ba2 100755 --- a/src/common/characters/az_BFL_characters.txt +++ b/src/common/characters/az_BFL_characters.txt @@ -335,7 +335,7 @@ characters={ idea_token = beilaluosi traits = { trait_beilaluosi } available = { - or = { + OR = { is_ai = yes BFL_beilaluosi = { is_field_marshal = yes } } @@ -841,7 +841,7 @@ characters={ available = { if = { limit = { tag = BFL } NOT = { has_completed_focus = BFL_wuhaishenxianghua } - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } has_completed_focus = BFL_24 } } diff --git a/src/common/characters/az_BLI_characters.txt b/src/common/characters/az_BLI_characters.txt index 8f14fe8..a7ca1d2 100755 --- a/src/common/characters/az_BLI_characters.txt +++ b/src/common/characters/az_BLI_characters.txt @@ -79,7 +79,7 @@ characters={ idea_token = huangjinbuli traits = { trait_huangjinbuli } available = { - or = { + OR = { hidden_trigger = { is_ai = yes } BLI_huangjinbuli = { is_field_marshal = yes } } diff --git a/src/common/characters/az_BYG_characters.txt b/src/common/characters/az_BYG_characters.txt index 547335f..b437467 100755 --- a/src/common/characters/az_BYG_characters.txt +++ b/src/common/characters/az_BYG_characters.txt @@ -163,7 +163,6 @@ characters={ } } legacy_id = 08005 - picture = "bulaimodun.png" traits = { infantry_officer trait_reckless xunyang_army } skill = 3 attack_skill = 3 @@ -748,7 +747,7 @@ characters={ name = BYG_tikangdeluojia portraits={ army = { - large="gfx/leaders/BYG/tikangdeluojia.png" + #large="gfx/leaders/BYG/tikangdeluojia.png" small="gfx/interface/ideas/idea_tikangdeluojia.png" } } @@ -804,7 +803,7 @@ characters={ name = BYG_youqibing portraits={ army = { - large="gfx/leaders/BYG/youqibing.png" + #large="gfx/leaders/BYG/youqibing.png" small="gfx/interface/ideas/idea_youqibing.png" } } @@ -926,7 +925,7 @@ characters={ name = BYG_ailunsamuna portraits={ army = { - large="gfx/leaders/BYG/ailunsamuna.png" + #large="gfx/leaders/BYG/ailunsamuna.png" small="gfx/interface/ideas/idea_ailunsamuna.png" } } @@ -998,7 +997,7 @@ characters={ name = BYG_nvzaoshen portraits={ army = { - large="gfx/leaders/BYG/nvzaoshen.png" + #large="gfx/leaders/BYG/nvzaoshen.png" small="gfx/interface/ideas/idea_nvzaoshen.png" } } @@ -1146,7 +1145,7 @@ characters={ name = BYG_yinggelahan portraits={ army = { - large="gfx/leaders/BYG/yinggelahan.png" + #large="gfx/leaders/BYG/yinggelahan.png" small="gfx/interface/ideas/idea_yinggelahan.png" } } @@ -1226,7 +1225,7 @@ characters={ portraits={ army = { large="gfx/leaders/BYG/ankeleiqi.png" - small="gfx/interface/ideas/idea_ankeleiqi.png" + #small="gfx/interface/ideas/idea_ankeleiqi.png" } } corps_commander = { diff --git a/src/common/characters/az_CHY_characters.txt b/src/common/characters/az_CHY_characters.txt index 1a277d8..0e0e159 100755 --- a/src/common/characters/az_CHY_characters.txt +++ b/src/common/characters/az_CHY_characters.txt @@ -14,7 +14,7 @@ characters={ traits = { trait_changmen } available = { - not = { + NOT = { has_country_flag = CHY_purge_2 } } @@ -125,7 +125,7 @@ characters={ if = { limit = { tag = CHY } has_completed_focus = CHY_mingshidexiaomaipu - not = { has_completed_focus = CHY_caifagaizao } + NOT = { has_completed_focus = CHY_caifagaizao } } } @@ -177,7 +177,7 @@ characters={ idea_token = chicheng traits = { trait_chicheng } available = { - not = { + NOT = { has_country_flag = CHY_purge_1 } } @@ -228,7 +228,7 @@ characters={ idea_token = jiahe traits = { trait_jiahe } available = { - not = { + NOT = { has_country_flag = CHY_purge_1 } } @@ -405,7 +405,6 @@ characters={ } } legacy_id = 07009 - picture = "birui.jpg" traits = { zhanlie_army trait_cautious } skill = 3 attack_skill = 3 @@ -1051,7 +1050,7 @@ characters={ if = { limit = { tag = CHY } has_completed_focus = CHY_sumi - not = { has_completed_focus = CHY_caifagaizao } + NOT = { has_completed_focus = CHY_caifagaizao } } } diff --git a/src/common/characters/az_HUJ_characters.txt b/src/common/characters/az_HUJ_characters.txt index 699b28b..32d422e 100755 --- a/src/common/characters/az_HUJ_characters.txt +++ b/src/common/characters/az_HUJ_characters.txt @@ -797,7 +797,7 @@ characters={ name = HUJ_heianjie portraits={ army = { - large="gfx/leaders/HUJ/heianjie.png" + #large="gfx/leaders/HUJ/heianjie.png" small="gfx/interface/ideas/idea_heianjie.png" } } diff --git a/src/common/characters/az_SAD_characters.txt b/src/common/characters/az_SAD_characters.txt index 0bf7b9e..e07ba18 100755 --- a/src/common/characters/az_SAD_characters.txt +++ b/src/common/characters/az_SAD_characters.txt @@ -838,7 +838,7 @@ characters={ portraits={ army = { large="gfx/leaders/SAD/boerzhanuo.png" - small="gfx/interface/ideas/idea_boerzhanuo.png" + #small="gfx/interface/ideas/idea_boerzhanuo.png" } } corps_commander = { @@ -862,7 +862,7 @@ characters={ portraits={ army = { large="gfx/leaders/SAD/duoliya.png" - small="gfx/interface/ideas/idea_duoliya.png" + #small="gfx/interface/ideas/idea_duoliya.png" } } corps_commander = { diff --git a/src/common/characters/az_SIR_characters.txt b/src/common/characters/az_SIR_characters.txt index b539786..ba2bec5 100755 --- a/src/common/characters/az_SIR_characters.txt +++ b/src/common/characters/az_SIR_characters.txt @@ -93,7 +93,7 @@ characters={ expire = "2000.1.1" ideology = siren_ideology traits = { - gjsr + zgjsr } } field_marshal = { @@ -124,7 +124,7 @@ characters={ expire = "2000.1.1" ideology = siren_ideology traits = { - gjsr + zgjsr } } field_marshal = { @@ -154,7 +154,7 @@ characters={ expire = "2000.1.1" ideology = siren_ideology traits = { - gjsr + zgjsr } } field_marshal = { @@ -184,7 +184,7 @@ characters={ expire = "2000.1.1" ideology = siren_ideology traits = { - gjsr + zgjsr } } field_marshal = { diff --git a/src/common/characters/az_TIX_characters.txt b/src/common/characters/az_TIX_characters.txt index 81794e2..f1262d9 100755 --- a/src/common/characters/az_TIX_characters.txt +++ b/src/common/characters/az_TIX_characters.txt @@ -1347,7 +1347,7 @@ characters={ portraits={ army = { large="gfx/leaders/TIX/leigensibao.png" - small="gfx/interface/ideas/idea_leigensibao.png" + #small="gfx/interface/ideas/idea_leigensibao.png" } } corps_commander = { @@ -1371,7 +1371,7 @@ characters={ portraits={ army = { large="gfx/leaders/TIX/aerwensilaiben.png" - small="gfx/interface/ideas/idea_aerwensilaiben.png" + #small="gfx/interface/ideas/idea_aerwensilaiben.png" } } corps_commander = { diff --git a/src/common/characters/az_WEX_characters.txt b/src/common/characters/az_WEX_characters.txt index b98ca29..a4dc40b 100755 --- a/src/common/characters/az_WEX_characters.txt +++ b/src/common/characters/az_WEX_characters.txt @@ -15,16 +15,16 @@ characters={ slot = political_advisor idea_token = rangbaer available = { - or = { + OR = { has_completed_focus = YUW_weixixingdong1 has_completed_focus = YUW_rangbaerdemingling has_government = fascism } - or = { - not = {has_completed_focus = YUW_zhengquzhendezhichi} + OR = { + NOT = {has_completed_focus = YUW_zhengquzhendezhichi} has_completed_focus = YUW_tuanjieweixixingdong } - not = { + NOT = { has_completed_focus = YUW_yuanweishengkaidejijie } } diff --git a/src/common/characters/az_YUW_characters.txt b/src/common/characters/az_YUW_characters.txt index e82f8bf..5a011b2 100755 --- a/src/common/characters/az_YUW_characters.txt +++ b/src/common/characters/az_YUW_characters.txt @@ -17,11 +17,11 @@ characters={ available = { if = { limit = { tag = YUW } - not = { + NOT = { has_completed_focus = YUW_weixixingdong1 } - or = { - not = { + OR = { + NOT = { has_completed_focus = YUW_zhidugeming } has_completed_focus = YUW_yulisailiuhejie @@ -82,19 +82,19 @@ characters={ available = { if = { limit = { tag = YUW } - or = { + OR = { has_completed_focus = YUW_weixixingdong1 has_completed_focus = YUW_rangbaerdemingling has_government = fascism } - or = { - not = {has_completed_focus = YUW_zhengquzhendezhichi} + OR = { + NOT = {has_completed_focus = YUW_zhengquzhendezhichi} has_completed_focus = YUW_tuanjieweixixingdong } - not = { + NOT = { has_completed_focus = YUW_yuanweishengkaidejijie } - not = { + NOT = { has_completed_focus = YUW_zhangkongjiaoting } } @@ -386,7 +386,7 @@ characters={ slot = political_advisor idea_token = shengnvzhende available = { - not = {has_completed_focus = YUW_rangbaerdemingling} + NOT = {has_completed_focus = YUW_rangbaerdemingling} } traits = { zjr silent_workhorse } ai_will_do = { @@ -952,7 +952,7 @@ characters={ } available = { - or = { + OR = { tag = YUW tag = WEX has_war_with = TIX @@ -1060,7 +1060,7 @@ characters={ portraits={ army = { large="gfx/leaders/YUW/leimaer.png" - small="gfx/interface/ideas/idea_leimaer.png" + #small="gfx/interface/ideas/idea_leimaer.png" } } @@ -1086,7 +1086,7 @@ characters={ portraits={ army = { large="gfx/leaders/YUW/kaiersheng.png" - small="gfx/interface/ideas/idea_kaiersheng.png" + #small="gfx/interface/ideas/idea_kaiersheng.png" } } @@ -1112,7 +1112,7 @@ characters={ portraits={ army = { large="gfx/leaders/YUW/jishang.png" - small="gfx/interface/ideas/idea_jishang.png" + #small="gfx/interface/ideas/idea_jishang.png" } } @@ -1138,7 +1138,7 @@ characters={ portraits={ army = { large="gfx/leaders/YUW/liang.png" - small="gfx/interface/ideas/idea_liang.png" + #small="gfx/interface/ideas/idea_liang.png" } } @@ -1164,7 +1164,7 @@ characters={ portraits={ army = { large="gfx/leaders/YUW/kelaimengsuo.png" - small="gfx/interface/ideas/idea_kelaimengsuo.png" + #small="gfx/interface/ideas/idea_kelaimengsuo.png" } } @@ -1190,7 +1190,7 @@ characters={ portraits={ army = { large="gfx/leaders/YUW/xufolun.png" - small="gfx/interface/ideas/idea_xufolun.png" + #small="gfx/interface/ideas/idea_xufolun.png" } } @@ -1215,7 +1215,7 @@ characters={ portraits={ army = { large="gfx/leaders/YUW/xukufu.png" - small="gfx/interface/ideas/idea_xukufu.png" + #small="gfx/interface/ideas/idea_xukufu.png" } } diff --git a/src/common/characters/az_misc_characters.txt b/src/common/characters/az_misc_characters.txt index 0d7ac71..7f32873 100755 --- a/src/common/characters/az_misc_characters.txt +++ b/src/common/characters/az_misc_characters.txt @@ -341,7 +341,7 @@ characters={ name = futian portraits={ army = { - large="gfx/leaders/zhihuiguan/futian.png" + #large="gfx/leaders/zhihuiguan/futian.png" small="gfx/interface/ideas/idea_futian.png" } } @@ -848,7 +848,7 @@ characters={ portraits={ army = { large="gfx/leaders/zhihuiguan/xiaoguanghui.png" - small="gfx/interface/ideas/idea_xxiaoguanghui.png" + #small="gfx/interface/ideas/idea_xxiaoguanghui.png" } } corps_commander = { diff --git a/src/common/country_leader/azng_al_traits.txt b/src/common/country_leader/azng_al_traits.txt index 4f8a318..9235d61 100755 --- a/src/common/country_leader/azng_al_traits.txt +++ b/src/common/country_leader/azng_al_traits.txt @@ -1,3 +1,4 @@ +### 这个文件在军工组织DLC更新以后已经失效 leader_traits = { AL_political_1 = { @@ -358,36 +359,36 @@ leader_traits = { experience_gain_air_factor = 0.25 #东煌设计 air_range_factor = 0.15 #白鹰设计 equipment_bonus = { - fighter_equipment = { - instant = yes - build_cost_ic = -0.05 #重樱设计 - reliability = 0.05 #铁血设计 - } - cv_fighter_equipment = { - instant = yes - build_cost_ic = -0.05 #重樱设计 - reliability = 0.05 - } - heavy_fighter_equipment = { - instant = yes - build_cost_ic = -0.1 #皇家设计 - reliability = 0.05 - } - strat_bomber_equipment = { - instant = yes - build_cost_ic = -0.1 #皇家设计 - reliability = 0.05 #铁血设计 - } - CAS_equipment = { - instant = yes - build_cost_ic = -0.05 #重樱设计 - reliability = 0.05 #铁血设计 - } - tac_bomber_equipment = { - instant = yes - build_cost_ic = -0.1 #皇家设计 - reliability = 0.05 - } + # fighter_equipment = { + # instant = yes + # build_cost_ic = -0.05 #重樱设计 + # reliability = 0.05 #铁血设计 + # } + # cv_fighter_equipment = { + # instant = yes + # build_cost_ic = -0.05 #重樱设计 + # reliability = 0.05 + # } + # heavy_fighter_equipment = { + # instant = yes + # build_cost_ic = -0.1 #皇家设计 + # reliability = 0.05 + # } + # strat_bomber_equipment = { + # instant = yes + # build_cost_ic = -0.1 #皇家设计 + # reliability = 0.05 #铁血设计 + # } + # CAS_equipment = { + # instant = yes + # build_cost_ic = -0.05 #重樱设计 + # reliability = 0.05 #铁血设计 + # } + # tac_bomber_equipment = { + # instant = yes + # build_cost_ic = -0.1 #皇家设计 + # reliability = 0.05 + # } } } AL_plane_BFL = { @@ -413,56 +414,56 @@ leader_traits = { AL_plane_TIX = { random = no equipment_bonus = { - fighter_equipment = { - instant = yes - reliability = 0.05 - } - strat_bomber_equipment = { - instant = yes - reliability = 0.05 - } - CAS_equipment = { - instant = yes - reliability = 0.05 - } + # fighter_equipment = { + # instant = yes + # reliability = 0.05 + # } + # strat_bomber_equipment = { + # instant = yes + # reliability = 0.05 + # } + # CAS_equipment = { + # instant = yes + # reliability = 0.05 + # } } } AL_plane_CHY = { random = no equipment_bonus = { - fighter_equipment = { - instant = yes - build_cost_ic = -0.05 #重樱设计 - } - cv_fighter_equipment = { - instant = yes - build_cost_ic = -0.05 #重樱设计 - reliability = 0.05 - } - CAS_equipment = { - instant = yes - build_cost_ic = -0.05 #重樱设计 - } + # fighter_equipment = { + # instant = yes + # build_cost_ic = -0.05 #重樱设计 + # } + # cv_fighter_equipment = { + # instant = yes + # build_cost_ic = -0.05 #重樱设计 + # reliability = 0.05 + # } + # CAS_equipment = { + # instant = yes + # build_cost_ic = -0.05 #重樱设计 + #} } } AL_plane_HUJ = { random = no equipment_bonus = { - heavy_fighter_equipment = { - instant = yes - build_cost_ic = -0.1 #皇家设计 - reliability = 0.05 - } - strat_bomber_equipment = { - instant = yes - build_cost_ic = -0.1 #皇家设计 - reliability = 0.05 - } - tac_bomber_equipment = { - instant = yes - build_cost_ic = -0.1 #皇家设计 - reliability = 0.05 - } + # heavy_fighter_equipment = { + # instant = yes + # build_cost_ic = -0.1 #皇家设计 + # reliability = 0.05 + # } + # strat_bomber_equipment = { + # instant = yes + # build_cost_ic = -0.1 #皇家设计 + # reliability = 0.05 + # } + # tac_bomber_equipment = { + # instant = yes + # build_cost_ic = -0.1 #皇家设计 + # reliability = 0.05 + # } } } @@ -625,5 +626,4 @@ leader_traits = { production_speed_coastal_bunker_factor = 0.40 #皇家设计 } - } \ No newline at end of file diff --git a/src/common/country_leader/azng_traits.txt b/src/common/country_leader/azng_traits.txt index 240da38..4f42712 100755 --- a/src/common/country_leader/azng_traits.txt +++ b/src/common/country_leader/azng_traits.txt @@ -320,7 +320,7 @@ leader_traits = { random = no experience_gain_air = 0.2 equipment_bonus = { - strat_bomber_equipment = { + strategic_bomber = { air_bombing = 0.1 instant = yes } diff --git a/src/common/decisions/AL_decisions.txt b/src/common/decisions/AL_decisions.txt index d80943b..31e7a43 100755 --- a/src/common/decisions/AL_decisions.txt +++ b/src/common/decisions/AL_decisions.txt @@ -1,7 +1,6 @@ - +## 这个文件可能需要重构 AL_decision_category = { - - #AL_qiantiao = { + #AL_qiantiao = { # icon = ger_military_buildup # allowed = { # @@ -21,5079 +20,4822 @@ AL_decision_category = { # add_political_power = -500 # } #} - - ##################转移倒计时########## - AL_zhuanyi_CHY = { - icon = eng_propaganda_campaigns - highlight_states = { - highlight_state_targets = { - state = 536 - } - } - allowed = { - NOT = { - TAG = CHY - } - } - available = { - custom_trigger_tooltip = { - tooltip = "重樱的物资技术转移已全部完成" - AND = { - has_country_flag = AL_CHY_junxu - has_country_flag = AL_CHY_gongye - has_country_flag = AL_CHY_plane - has_country_flag = AL_CHY_tank - has_country_flag = AL_CHY_ship - has_country_flag = AL_CHY_manqiu - has_country_flag = AL_CHY_jungong - has_country_flag = AL_CHY_minggong - } - } - - } - activation = { - has_country_flag = AL_alone - } - visible = { - has_country_flag = AL_alone - } - fixed_random_seed = no - is_good = no - fire_only_once = yes - days_mission_timeout = 300 - timeout_effect = { - custom_effect_tooltip = AL_zhuanyi_suoding - set_country_flag = AL_CHY_finish - } - - complete_effect = { - add_political_power = 50 - set_country_flag = AL_CHY_finish - custom_effect_tooltip = AL_zhuanyi_CHY_all_get - set_country_flag = AL_CHY_all_get + ##################转移倒计时########## + AL_zhuanyi_CHY = { + icon = eng_propaganda_campaigns + highlight_states = { + highlight_state_targets = { + state = 536 } } - - - AL_zhuanyi_DOH = { - icon = eng_propaganda_campaigns - highlight_states = { - highlight_state_targets = { - state = 591 - } - } - allowed = { - NOT = { - tag = DOH - } - } - available = { - custom_trigger_tooltip = { - tooltip = "东煌的物资技术转移已全部完成" - AND = { - has_country_flag = AL_DOH_junxu - has_country_flag = AL_DOH_gongye - has_country_flag = AL_DOH_plane - has_country_flag = AL_DOH_tank - has_country_flag = AL_DOH_ship - has_country_flag = AL_DOH_manqiu - has_country_flag = AL_DOH_jungong - has_country_flag = AL_DOH_minggong - } - } - - } - activation = { - has_country_flag = AL_alone - } - visible = { - has_country_flag = AL_alone - } - fixed_random_seed = no - is_good = no - fire_only_once = yes - days_mission_timeout = 300 - timeout_effect = { - custom_effect_tooltip = AL_zhuanyi_suoding - set_country_flag = AL_DOH_finish - } - - complete_effect = { - add_political_power = 50 - set_country_flag = AL_DOH_finish - custom_effect_tooltip = AL_zhuanyi_DOH_all_get - set_country_flag = AL_DOH_all_get + allowed = { + NOT = { + TAG = CHY } } - - AL_zhuanyi_TIX = { - icon = eng_propaganda_campaigns - highlight_states = { - highlight_state_targets = { - state = 37 + available = { + custom_trigger_tooltip = { + tooltip = "重樱的物资技术转移已全部完成" + AND = { + has_country_flag = AL_CHY_junxu + has_country_flag = AL_CHY_gongye + has_country_flag = AL_CHY_plane + has_country_flag = AL_CHY_tank + has_country_flag = AL_CHY_ship + has_country_flag = AL_CHY_manqiu + has_country_flag = AL_CHY_jungong + has_country_flag = AL_CHY_minggong } } - allowed = { - NOT = { - tag = TIX - } - } - available = { - custom_trigger_tooltip = { - tooltip = "铁血的物资技术转移已全部完成" - AND = { - has_country_flag = AL_TIX_junxu - has_country_flag = AL_TIX_gongye - has_country_flag = AL_TIX_plane - has_country_flag = AL_TIX_tank - has_country_flag = AL_TIX_ship - has_country_flag = AL_TIX_manqiu - has_country_flag = AL_TIX_jungong - has_country_flag = AL_TIX_minggong - } - } - - } - activation = { - has_country_flag = AL_alone - - } - visible = { - has_country_flag = AL_alone - } - fixed_random_seed = no - is_good = no - fire_only_once = yes - days_mission_timeout = 300 - timeout_effect = { - custom_effect_tooltip = AL_zhuanyi_suoding - set_country_flag = AL_TIX_finish - } - - complete_effect = { - add_political_power = 50 - set_country_flag = AL_TIX_finish - custom_effect_tooltip = AL_zhuanyi_TIX_all_get - set_country_flag = AL_TIX_all_get - } } - - AL_zhuanyi_HUJ = { - icon = eng_propaganda_campaigns - - highlight_states = { - highlight_state_targets = { - state = 119 - } - } - allowed = { - NOT = { - tag = HUJ - } - } - available = { - custom_trigger_tooltip = { - tooltip = "皇家的物资技术转移已全部完成" - AND = { - has_country_flag = AL_HUJ_junxu - has_country_flag = AL_HUJ_gongye - has_country_flag = AL_HUJ_plane - has_country_flag = AL_HUJ_tank - has_country_flag = AL_HUJ_ship - has_country_flag = AL_HUJ_manqiu - has_country_flag = AL_HUJ_jungong - has_country_flag = AL_HUJ_minggong - } - } - - } - activation = { - has_country_flag = AL_alone - - } - visible = { + activation = { has_country_flag = AL_alone - } - fixed_random_seed = no - is_good = no - fire_only_once = yes - days_mission_timeout = 300 - timeout_effect = { - custom_effect_tooltip = AL_zhuanyi_suoding - set_country_flag = AL_HUJ_finish - } - - complete_effect = { - add_political_power = 50 - set_country_flag = AL_HUJ_finish - custom_effect_tooltip = AL_zhuanyi_HUJ_all_get - set_country_flag = AL_HUJ_all_get + } + visible = { + has_country_flag = AL_alone + } + fixed_random_seed = no + is_good = no + fire_only_once = yes + days_mission_timeout = 300 + timeout_effect = { + custom_effect_tooltip = AL_zhuanyi_suoding + set_country_flag = AL_CHY_finish + } + complete_effect = { + add_political_power = 50 + set_country_flag = AL_CHY_finish + custom_effect_tooltip = AL_zhuanyi_CHY_all_get + set_country_flag = AL_CHY_all_get + } + } + AL_zhuanyi_DOH = { + icon = eng_propaganda_campaigns + highlight_states = { + highlight_state_targets = { + state = 591 } } - - AL_zhuanyi_BFL = { - icon = eng_propaganda_campaigns - - highlight_states = { - highlight_state_targets = { - state = 213 - } - } - allowed = { - NOT = { - tag = BFL - } - } - available = { - custom_trigger_tooltip = { - tooltip = "北方联合的物资技术转移已全部完成" - AND = { - has_country_flag = AL_BFL_junxu - has_country_flag = AL_BFL_gongye - has_country_flag = AL_BFL_plane - has_country_flag = AL_BFL_tank - has_country_flag = AL_BFL_ship - has_country_flag = AL_BFL_manqiu - has_country_flag = AL_BFL_jungong - has_country_flag = AL_BFL_minggong - } - } - - } - activation = { - has_country_flag = AL_alone - - } - visible = { - has_country_flag = AL_alone - } - fixed_random_seed = no - is_good = no - fire_only_once = yes - days_mission_timeout = 300 - timeout_effect = { - custom_effect_tooltip = AL_zhuanyi_suoding - set_country_flag = AL_BFL_finish - } - - complete_effect = { - add_political_power = 50 - set_country_flag = AL_BFL_finish - custom_effect_tooltip = AL_zhuanyi_BFL_all_get - set_country_flag = AL_BFL_all_get + allowed = { + NOT = { + tag = DOH } } - - AL_zhuanyi_BYG = { - icon = eng_propaganda_campaigns - highlight_states = { - highlight_state_targets = { - state = 315 + available = { + custom_trigger_tooltip = { + tooltip = "东煌的物资技术转移已全部完成" + AND = { + has_country_flag = AL_DOH_junxu + has_country_flag = AL_DOH_gongye + has_country_flag = AL_DOH_plane + has_country_flag = AL_DOH_tank + has_country_flag = AL_DOH_ship + has_country_flag = AL_DOH_manqiu + has_country_flag = AL_DOH_jungong + has_country_flag = AL_DOH_minggong } } - - allowed = { - NOT = { - tag = BYG - } - } - available = { - custom_trigger_tooltip = { - tooltip = "白鹰的物资技术转移已全部完成" - AND = { - has_country_flag = AL_BYG_junxu - has_country_flag = AL_BYG_gongye - has_country_flag = AL_BYG_plane - has_country_flag = AL_BYG_tank - has_country_flag = AL_BYG_ship - has_country_flag = AL_BYG_manqiu - has_country_flag = AL_BYG_jungong - has_country_flag = AL_BYG_minggong - } - } - - } - activation = { - has_country_flag = AL_alone - } - visible = { - has_country_flag = AL_alone - } - fixed_random_seed = no - is_good = no - fire_only_once = yes - days_mission_timeout = 300 - timeout_effect = { - custom_effect_tooltip = AL_zhuanyi_suoding - set_country_flag = AL_BYG_finish - } - - complete_effect = { - add_political_power = 50 - set_country_flag = AL_BYG_finish - custom_effect_tooltip = AL_zhuanyi_BYG_all_get - set_country_flag = AL_BYG_all_get - } } - - AL_zhuanyi_YUW = { - icon = eng_propaganda_campaigns - - highlight_states = { - highlight_state_targets = { - state = 1 - } - } - allowed = { - NOT = { - tag = YUW - } - } - available = { - custom_trigger_tooltip = { - tooltip = "鸢尾的物资技术转移已全部完成" - AND = { - has_country_flag = AL_YUW_junxu - has_country_flag = AL_YUW_gongye - has_country_flag = AL_YUW_plane - has_country_flag = AL_YUW_tank - has_country_flag = AL_YUW_ship - has_country_flag = AL_YUW_manqiu - has_country_flag = AL_YUW_jungong - has_country_flag = AL_YUW_minggong - } - } - - } - activation = { - has_country_flag = AL_alone - - } - visible = { + activation = { has_country_flag = AL_alone - } - fixed_random_seed = no - is_good = no - fire_only_once = yes - days_mission_timeout = 300 - timeout_effect = { - custom_effect_tooltip = AL_zhuanyi_suoding - set_country_flag = AL_YUW_finish - } - - complete_effect = { - add_political_power = 50 - set_country_flag = AL_YUW_finish - custom_effect_tooltip = AL_zhuanyi_YUW_all_get - set_country_flag = AL_YUW_all_get + } + visible = { + has_country_flag = AL_alone + } + fixed_random_seed = no + is_good = no + fire_only_once = yes + days_mission_timeout = 300 + timeout_effect = { + custom_effect_tooltip = AL_zhuanyi_suoding + set_country_flag = AL_DOH_finish + } + complete_effect = { + add_political_power = 50 + set_country_flag = AL_DOH_finish + custom_effect_tooltip = AL_zhuanyi_DOH_all_get + set_country_flag = AL_DOH_all_get + } + } + AL_zhuanyi_TIX = { + icon = eng_propaganda_campaigns + highlight_states = { + highlight_state_targets = { + state = 37 } } - - AL_zhuanyi_SAD = { - icon = eng_propaganda_campaigns - highlight_states = { - highlight_state_targets = { - state = 115 - } - } - - allowed = { - NOT = { - tag = SAD - } - } - available = { - custom_trigger_tooltip = { - tooltip = "萨丁的物资技术转移已全部完成" - AND = { - has_country_flag = AL_SAD_junxu - has_country_flag = AL_SAD_gongye - has_country_flag = AL_SAD_plane - has_country_flag = AL_SAD_tank - has_country_flag = AL_SAD_ship - has_country_flag = AL_SAD_manqiu - has_country_flag = AL_SAD_jungong - has_country_flag = AL_SAD_minggong - } - } - - } - activation = { - has_country_flag = AL_alone - - } - visible = { - has_country_flag = AL_alone - } - fixed_random_seed = no - is_good = no - fire_only_once = yes - days_mission_timeout = 300 - timeout_effect = { - custom_effect_tooltip = AL_zhuanyi_suoding - set_country_flag = AL_SAD_finish - } - - complete_effect = { - add_political_power = 50 - set_country_flag = AL_SAD_finish - custom_effect_tooltip = AL_zhuanyi_SAD_all_get - set_country_flag = AL_SAD_all_get + allowed = { + NOT = { + tag = TIX } } - + available = { + custom_trigger_tooltip = { + tooltip = "铁血的物资技术转移已全部完成" + AND = { + has_country_flag = AL_TIX_junxu + has_country_flag = AL_TIX_gongye + has_country_flag = AL_TIX_plane + has_country_flag = AL_TIX_tank + has_country_flag = AL_TIX_ship + has_country_flag = AL_TIX_manqiu + has_country_flag = AL_TIX_jungong + has_country_flag = AL_TIX_minggong + } + } + } + activation = { + has_country_flag = AL_alone + } + visible = { + has_country_flag = AL_alone + } + fixed_random_seed = no + is_good = no + fire_only_once = yes + days_mission_timeout = 300 + timeout_effect = { + custom_effect_tooltip = AL_zhuanyi_suoding + set_country_flag = AL_TIX_finish + } + complete_effect = { + add_political_power = 50 + set_country_flag = AL_TIX_finish + custom_effect_tooltip = AL_zhuanyi_TIX_all_get + set_country_flag = AL_TIX_all_get + } + } + AL_zhuanyi_HUJ = { + icon = eng_propaganda_campaigns + highlight_states = { + highlight_state_targets = { + state = 119 + } + } + allowed = { + NOT = { + tag = HUJ + } + } + available = { + custom_trigger_tooltip = { + tooltip = "皇家的物资技术转移已全部完成" + AND = { + has_country_flag = AL_HUJ_junxu + has_country_flag = AL_HUJ_gongye + has_country_flag = AL_HUJ_plane + has_country_flag = AL_HUJ_tank + has_country_flag = AL_HUJ_ship + has_country_flag = AL_HUJ_manqiu + has_country_flag = AL_HUJ_jungong + has_country_flag = AL_HUJ_minggong + } + } + } + activation = { + has_country_flag = AL_alone + } + visible = { + has_country_flag = AL_alone + } + fixed_random_seed = no + is_good = no + fire_only_once = yes + days_mission_timeout = 300 + timeout_effect = { + custom_effect_tooltip = AL_zhuanyi_suoding + set_country_flag = AL_HUJ_finish + } + complete_effect = { + add_political_power = 50 + set_country_flag = AL_HUJ_finish + custom_effect_tooltip = AL_zhuanyi_HUJ_all_get + set_country_flag = AL_HUJ_all_get + } + } + AL_zhuanyi_BFL = { + icon = eng_propaganda_campaigns + highlight_states = { + highlight_state_targets = { + state = 213 + } + } + allowed = { + NOT = { + tag = BFL + } + } + available = { + custom_trigger_tooltip = { + tooltip = "北方联合的物资技术转移已全部完成" + AND = { + has_country_flag = AL_BFL_junxu + has_country_flag = AL_BFL_gongye + has_country_flag = AL_BFL_plane + has_country_flag = AL_BFL_tank + has_country_flag = AL_BFL_ship + has_country_flag = AL_BFL_manqiu + has_country_flag = AL_BFL_jungong + has_country_flag = AL_BFL_minggong + } + } + } + activation = { + has_country_flag = AL_alone + } + visible = { + has_country_flag = AL_alone + } + fixed_random_seed = no + is_good = no + fire_only_once = yes + days_mission_timeout = 300 + timeout_effect = { + custom_effect_tooltip = AL_zhuanyi_suoding + set_country_flag = AL_BFL_finish + } + complete_effect = { + add_political_power = 50 + set_country_flag = AL_BFL_finish + custom_effect_tooltip = AL_zhuanyi_BFL_all_get + set_country_flag = AL_BFL_all_get + } + } + AL_zhuanyi_BYG = { + icon = eng_propaganda_campaigns + highlight_states = { + highlight_state_targets = { + state = 315 + } + } + allowed = { + NOT = { + tag = BYG + } + } + available = { + custom_trigger_tooltip = { + tooltip = "白鹰的物资技术转移已全部完成" + AND = { + has_country_flag = AL_BYG_junxu + has_country_flag = AL_BYG_gongye + has_country_flag = AL_BYG_plane + has_country_flag = AL_BYG_tank + has_country_flag = AL_BYG_ship + has_country_flag = AL_BYG_manqiu + has_country_flag = AL_BYG_jungong + has_country_flag = AL_BYG_minggong + } + } + } + activation = { + has_country_flag = AL_alone + } + visible = { + has_country_flag = AL_alone + } + fixed_random_seed = no + is_good = no + fire_only_once = yes + days_mission_timeout = 300 + timeout_effect = { + custom_effect_tooltip = AL_zhuanyi_suoding + set_country_flag = AL_BYG_finish + } + complete_effect = { + add_political_power = 50 + set_country_flag = AL_BYG_finish + custom_effect_tooltip = AL_zhuanyi_BYG_all_get + set_country_flag = AL_BYG_all_get + } + } + AL_zhuanyi_YUW = { + icon = eng_propaganda_campaigns + highlight_states = { + highlight_state_targets = { + state = 1 + } + } + allowed = { + NOT = { + tag = YUW + } + } + available = { + custom_trigger_tooltip = { + tooltip = "鸢尾的物资技术转移已全部完成" + AND = { + has_country_flag = AL_YUW_junxu + has_country_flag = AL_YUW_gongye + has_country_flag = AL_YUW_plane + has_country_flag = AL_YUW_tank + has_country_flag = AL_YUW_ship + has_country_flag = AL_YUW_manqiu + has_country_flag = AL_YUW_jungong + has_country_flag = AL_YUW_minggong + } + } + } + activation = { + has_country_flag = AL_alone + } + visible = { + has_country_flag = AL_alone + } + fixed_random_seed = no + is_good = no + fire_only_once = yes + days_mission_timeout = 300 + timeout_effect = { + custom_effect_tooltip = AL_zhuanyi_suoding + set_country_flag = AL_YUW_finish + } + complete_effect = { + add_political_power = 50 + set_country_flag = AL_YUW_finish + custom_effect_tooltip = AL_zhuanyi_YUW_all_get + set_country_flag = AL_YUW_all_get + } + } + AL_zhuanyi_SAD = { + icon = eng_propaganda_campaigns + highlight_states = { + highlight_state_targets = { + state = 115 + } + } + allowed = { + NOT = { + tag = SAD + } + } + available = { + custom_trigger_tooltip = { + tooltip = "萨丁的物资技术转移已全部完成" + AND = { + has_country_flag = AL_SAD_junxu + has_country_flag = AL_SAD_gongye + has_country_flag = AL_SAD_plane + has_country_flag = AL_SAD_tank + has_country_flag = AL_SAD_ship + has_country_flag = AL_SAD_manqiu + has_country_flag = AL_SAD_jungong + has_country_flag = AL_SAD_minggong + } + } + } + activation = { + has_country_flag = AL_alone + } + visible = { + has_country_flag = AL_alone + } + fixed_random_seed = no + is_good = no + fire_only_once = yes + days_mission_timeout = 300 + timeout_effect = { + custom_effect_tooltip = AL_zhuanyi_suoding + set_country_flag = AL_SAD_finish + } + complete_effect = { + add_political_power = 50 + set_country_flag = AL_SAD_finish + custom_effect_tooltip = AL_zhuanyi_SAD_all_get + set_country_flag = AL_SAD_all_get + } + } ################### #####萨丁转移###### ################### - - AL_zhuanyi_SAD_junxu = { - icon = ger_military_buildup - highlight_states = { - highlight_state_targets = { - state = 115 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = SAD - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的撒丁技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_SAD_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_SAD_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - custom_effect_tooltip = AL_zhuanyi_start_junxu - set_country_flag = AL_zhuanyi_SAD_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_SAD_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_junxu - set_country_flag = AL_SAD_junxu - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.43 - } - } - ai_will_do = { - factor = 1 + AL_zhuanyi_SAD_junxu = { + icon = ger_military_buildup + highlight_states = { + highlight_state_targets = { + state = 115 } } - - AL_zhuanyi_SAD_gongye = { - icon = generic_construction - highlight_states = { - highlight_state_targets = { - state = 115 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = SAD - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的撒丁技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_SAD_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_SAD_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - custom_effect_tooltip = AL_zhuanyi_start_gongye - set_country_flag = AL_zhuanyi_SAD_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_SAD_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_gongye - set_country_flag = AL_SAD_gongye - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.43 - } - } - ai_will_do = { - factor = 1 + on_map_mode = map_only + allowed = { + NOT = { + tag = SAD } } - - AL_zhuanyi_SAD_plane = { - icon = generic_air - - highlight_states = { - highlight_state_targets = { - state = 115 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的撒丁技术物资正在转移" NOT = { - tag = SAD - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的撒丁技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_SAD_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_SAD_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_plane - set_country_flag = AL_zhuanyi_SAD_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_SAD_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_plane - set_country_flag = AL_SAD_plane - random_owned_controlled_state = { - limit = { - air_base < 9 - } - add_building_construction = { - type = air_base - level = 2 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.43 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_SAD_tank = { - icon = generic_tank - - highlight_states = { - highlight_state_targets = { - state = 115 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = SAD - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的撒丁技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_SAD_ongoing - } - } - } - visible = { + visible = { has_country_flag = AL_alone - not = { - has_country_flag = AL_SAD_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_tank - set_country_flag = AL_zhuanyi_SAD_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_SAD_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_tank - set_country_flag = AL_SAD_tank - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.43 - } - } - ai_will_do = { - factor = 1 + NOT = { + has_country_flag = AL_SAD_finish } } - - AL_zhuanyi_SAD_ship = { - icon = generic_naval - - highlight_states = { - highlight_state_targets = { - state = 115 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = SAD - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的撒丁技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_SAD_ongoing + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_junxu + set_country_flag = AL_zhuanyi_SAD_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_SAD_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_junxu + set_country_flag = AL_SAD_junxu + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 0 + include_locked = yes } } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_SAD_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_ship - set_country_flag = AL_zhuanyi_SAD_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_SAD_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_ship - set_country_flag = AL_SAD_ship - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = dockyard - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.43 + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes } } - ai_will_do = { - factor = 1 + hidden_effect = { + country_event = AL_event.43 } } - - AL_zhuanyi_SAD_manqiu = { - icon = ger_mefo_bills - - highlight_states = { - highlight_state_targets = { - state = 115 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = SAD - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的撒丁技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_SAD_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_SAD_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_manqiu - set_country_flag = AL_zhuanyi_SAD_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_SAD_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_manqiu - set_country_flag = AL_SAD_manqiu - add_manpower = 50000 - hidden_effect = { - country_event = AL_event.43 - } - } - ai_will_do = { - factor = 1 + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_SAD_gongye = { + icon = generic_construction + highlight_states = { + highlight_state_targets = { + state = 115 } } - - AL_zhuanyi_SAD_jungong = { - icon = generic_industry - - highlight_states = { - highlight_state_targets = { - state = 115 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = SAD - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的撒丁技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_SAD_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_SAD_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_jungong - set_country_flag = AL_zhuanyi_SAD_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_SAD_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_jungong - set_country_flag = AL_SAD_jungong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = arms_factory - level = 3 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.43 - } - - } - ai_will_do = { - factor = 1 + on_map_mode = map_only + allowed = { + NOT = { + tag = SAD } } - - AL_zhuanyi_SAD_minggong = { - icon = generic_factory - - highlight_states = { - highlight_state_targets = { - state = 115 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的撒丁技术物资正在转移" NOT = { - tag = SAD - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的撒丁技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_SAD_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_SAD_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_minggong - set_country_flag = AL_zhuanyi_SAD_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_SAD_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_minggong - set_country_flag = AL_SAD_minggong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.43 - } - - } - ai_will_do = { - factor = 1 - } } - - + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_SAD_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_gongye + set_country_flag = AL_zhuanyi_SAD_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_SAD_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_gongye + set_country_flag = AL_SAD_gongye + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.43 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_SAD_plane = { + icon = generic_air + highlight_states = { + highlight_state_targets = { + state = 115 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = SAD + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的撒丁技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_SAD_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_SAD_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_plane + set_country_flag = AL_zhuanyi_SAD_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_SAD_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_plane + set_country_flag = AL_SAD_plane + random_owned_controlled_state = { + limit = { + air_base < 9 + } + add_building_construction = { + type = air_base + level = 2 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.43 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_SAD_tank = { + icon = generic_tank + highlight_states = { + highlight_state_targets = { + state = 115 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = SAD + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的撒丁技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_SAD_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_SAD_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_tank + set_country_flag = AL_zhuanyi_SAD_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_SAD_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_tank + set_country_flag = AL_SAD_tank + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.43 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_SAD_ship = { + icon = generic_naval + highlight_states = { + highlight_state_targets = { + state = 115 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = SAD + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的撒丁技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_SAD_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_SAD_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_ship + set_country_flag = AL_zhuanyi_SAD_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_SAD_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_ship + set_country_flag = AL_SAD_ship + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = dockyard + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.43 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_SAD_manqiu = { + icon = ger_mefo_bills + highlight_states = { + highlight_state_targets = { + state = 115 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = SAD + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的撒丁技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_SAD_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_SAD_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_manqiu + set_country_flag = AL_zhuanyi_SAD_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_SAD_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_manqiu + set_country_flag = AL_SAD_manqiu + add_manpower = 50000 + hidden_effect = { + country_event = AL_event.43 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_SAD_jungong = { + icon = generic_industry + highlight_states = { + highlight_state_targets = { + state = 115 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = SAD + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的撒丁技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_SAD_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_SAD_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_jungong + set_country_flag = AL_zhuanyi_SAD_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_SAD_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_jungong + set_country_flag = AL_SAD_jungong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = arms_factory + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.43 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_SAD_minggong = { + icon = generic_factory + highlight_states = { + highlight_state_targets = { + state = 115 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = SAD + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的撒丁技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_SAD_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_SAD_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_minggong + set_country_flag = AL_zhuanyi_SAD_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_SAD_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_minggong + set_country_flag = AL_SAD_minggong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.43 + } + } + ai_will_do = { + factor = 1 + } + } ################### #####重樱转移###### ################### - - AL_zhuanyi_CHY_junxu = { - icon = ger_military_buildup - - allowed = { + AL_zhuanyi_CHY_junxu = { + icon = ger_military_buildup + allowed = { + NOT = { + tag = CHY + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的重樱技术物资正在转移" NOT = { - tag = CHY - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的重樱技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_CHY_ongoing - } } } - highlight_states = { - highlight_state_targets = { - state = 536 - } + } + highlight_states = { + highlight_state_targets = { + state = 536 } - on_map_mode = map_only - visible = { + } + on_map_mode = map_only + visible = { has_country_flag = AL_alone - not = { - has_country_flag = AL_CHY_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_junxu - set_country_flag = AL_zhuanyi_CHY_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_CHY_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_junxu - set_country_flag = AL_CHY_junxu - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.42 - } - } - ai_will_do = { - factor = 1 + NOT = { + has_country_flag = AL_CHY_finish } } - - AL_zhuanyi_CHY_gongye = { - icon = generic_construction - - highlight_states = { - highlight_state_targets = { - state = 536 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = CHY - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的重樱技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_CHY_ongoing + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_junxu + set_country_flag = AL_zhuanyi_CHY_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_CHY_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_junxu + set_country_flag = AL_CHY_junxu + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 0 + include_locked = yes } } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_CHY_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_gongye - set_country_flag = AL_zhuanyi_CHY_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_CHY_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_gongye - set_country_flag = AL_CHY_gongye - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.42 + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes } } - ai_will_do = { - factor = 1 + hidden_effect = { + country_event = AL_event.42 } } - - AL_zhuanyi_CHY_plane = { - icon = generic_air - - highlight_states = { - highlight_state_targets = { - state = 536 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = CHY - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的重樱技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_CHY_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_CHY_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_plane - set_country_flag = AL_zhuanyi_CHY_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_CHY_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_plane - set_country_flag = AL_CHY_plane - random_owned_controlled_state = { - limit = { - air_base < 9 - } - add_building_construction = { - type = air_base - level = 2 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.42 - } - } - ai_will_do = { - factor = 1 + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_CHY_gongye = { + icon = generic_construction + highlight_states = { + highlight_state_targets = { + state = 536 } } - - AL_zhuanyi_CHY_tank = { - icon = generic_tank - - highlight_states = { - highlight_state_targets = { - state = 536 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = CHY - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的重樱技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_CHY_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_CHY_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_tank - set_country_flag = AL_zhuanyi_CHY_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_CHY_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_tank - set_country_flag = AL_CHY_tank - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.42 - } - } - ai_will_do = { - factor = 1 + on_map_mode = map_only + allowed = { + NOT = { + tag = CHY } } - - AL_zhuanyi_CHY_ship = { - icon = generic_naval - - highlight_states = { - highlight_state_targets = { - state = 536 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的重樱技术物资正在转移" NOT = { - tag = CHY - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的重樱技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_CHY_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_CHY_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_ship - set_country_flag = AL_zhuanyi_CHY_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_CHY_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_ship - set_country_flag = AL_CHY_ship - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = dockyard - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.42 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_CHY_manqiu = { - icon = ger_mefo_bills - - highlight_states = { - highlight_state_targets = { - state = 536 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = CHY - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的重樱技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_CHY_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_CHY_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_manqiu - set_country_flag = AL_zhuanyi_CHY_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_CHY_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_manqiu - set_country_flag = AL_CHY_manqiu - add_manpower = 50000 - hidden_effect = { - country_event = AL_event.42 - } - } - ai_will_do = { - factor = 1 + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_CHY_finish } } - - AL_zhuanyi_CHY_jungong = { - icon = generic_industry - - highlight_states = { - highlight_state_targets = { - state = 536 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = CHY - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的重樱技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_CHY_ongoing + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_gongye + set_country_flag = AL_zhuanyi_CHY_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_CHY_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_gongye + set_country_flag = AL_CHY_gongye + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes } } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_CHY_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_jungong - set_country_flag = AL_zhuanyi_CHY_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_CHY_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_jungong - set_country_flag = AL_CHY_jungong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = arms_factory - level = 3 - instant_build = yes - } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes } - hidden_effect = { - country_event = AL_event.42 - } - } - ai_will_do = { - factor = 1 + hidden_effect = { + country_event = AL_event.42 } } - - AL_zhuanyi_CHY_minggong = { - icon = generic_factory - - highlight_states = { - highlight_state_targets = { - state = 536 - } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_CHY_plane = { + icon = generic_air + highlight_states = { + highlight_state_targets = { + state = 536 } - on_map_mode = map_only - allowed = { + } + on_map_mode = map_only + allowed = { + NOT = { + tag = CHY + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的重樱技术物资正在转移" NOT = { - tag = CHY - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的重樱技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_CHY_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_CHY_finish + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_CHY_finish } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_minggong - set_country_flag = AL_zhuanyi_CHY_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_CHY_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_minggong - set_country_flag = AL_CHY_minggong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_plane + set_country_flag = AL_zhuanyi_CHY_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_CHY_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_plane + set_country_flag = AL_CHY_plane + random_owned_controlled_state = { + limit = { + air_base < 9 } - hidden_effect = { - country_event = AL_event.42 + add_building_construction = { + type = air_base + level = 2 + instant_build = yes } } - ai_will_do = { - factor = 1 + hidden_effect = { + country_event = AL_event.42 } - } - - + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_CHY_tank = { + icon = generic_tank + highlight_states = { + highlight_state_targets = { + state = 536 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = CHY + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的重樱技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_CHY_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_CHY_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_tank + set_country_flag = AL_zhuanyi_CHY_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_CHY_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_tank + set_country_flag = AL_CHY_tank + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.42 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_CHY_ship = { + icon = generic_naval + highlight_states = { + highlight_state_targets = { + state = 536 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = CHY + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的重樱技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_CHY_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_CHY_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_ship + set_country_flag = AL_zhuanyi_CHY_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_CHY_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_ship + set_country_flag = AL_CHY_ship + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = dockyard + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.42 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_CHY_manqiu = { + icon = ger_mefo_bills + highlight_states = { + highlight_state_targets = { + state = 536 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = CHY + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的重樱技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_CHY_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_CHY_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_manqiu + set_country_flag = AL_zhuanyi_CHY_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_CHY_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_manqiu + set_country_flag = AL_CHY_manqiu + add_manpower = 50000 + hidden_effect = { + country_event = AL_event.42 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_CHY_jungong = { + icon = generic_industry + highlight_states = { + highlight_state_targets = { + state = 536 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = CHY + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的重樱技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_CHY_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_CHY_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_jungong + set_country_flag = AL_zhuanyi_CHY_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_CHY_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_jungong + set_country_flag = AL_CHY_jungong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = arms_factory + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.42 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_CHY_minggong = { + icon = generic_factory + highlight_states = { + highlight_state_targets = { + state = 536 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = CHY + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的重樱技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_CHY_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_CHY_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_minggong + set_country_flag = AL_zhuanyi_CHY_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_CHY_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_minggong + set_country_flag = AL_CHY_minggong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.42 + } + } + ai_will_do = { + factor = 1 + } + } ################### #####东煌转移###### ################### - - AL_zhuanyi_DOH_junxu = { - icon = ger_military_buildup - - highlight_states = { - highlight_state_targets = { - state = 591 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = DOH - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的东煌技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_DOH_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_DOH_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_junxu - set_country_flag = AL_zhuanyi_DOH_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_DOH_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_junxu - set_country_flag = AL_DOH_junxu - hidden_effect = { - country_event = AL_event.41 - } - } - ai_will_do = { - factor = 1 + AL_zhuanyi_DOH_junxu = { + icon = ger_military_buildup + highlight_states = { + highlight_state_targets = { + state = 591 } } - - AL_zhuanyi_DOH_gongye = { - icon = generic_construction - - highlight_states = { - highlight_state_targets = { - state = 591 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = DOH - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的东煌技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_DOH_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_DOH_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_gongye - set_country_flag = AL_zhuanyi_DOH_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_DOH_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_gongye - set_country_flag = AL_DOH_gongye - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.41 - } - } - ai_will_do = { - factor = 1 + on_map_mode = map_only + allowed = { + NOT = { + tag = DOH } } - - AL_zhuanyi_DOH_plane = { - icon = generic_air - - highlight_states = { - highlight_state_targets = { - state = 591 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的东煌技术物资正在转移" NOT = { - tag = DOH - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的东煌技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_DOH_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_DOH_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_plane - set_country_flag = AL_zhuanyi_DOH_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_DOH_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_plane - set_country_flag = AL_DOH_plane - random_owned_controlled_state = { - limit = { - air_base < 9 - } - add_building_construction = { - type = air_base - level = 2 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.41 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_DOH_tank = { - icon = generic_tank - - highlight_states = { - highlight_state_targets = { - state = 591 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = DOH - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的东煌技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_DOH_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_DOH_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_tank - set_country_flag = AL_zhuanyi_DOH_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_DOH_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_tank - set_country_flag = AL_DOH_tank - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.41 - } - } - ai_will_do = { - factor = 1 + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_DOH_finish } } - - AL_zhuanyi_DOH_ship = { - icon = generic_naval - - highlight_states = { - highlight_state_targets = { - state = 591 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = DOH - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的东煌技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_DOH_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_DOH_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_ship - set_country_flag = AL_zhuanyi_DOH_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_DOH_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_ship - set_country_flag = AL_DOH_ship - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = dockyard - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.41 - } - } - ai_will_do = { - factor = 1 + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_junxu + set_country_flag = AL_zhuanyi_DOH_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_DOH_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_junxu + set_country_flag = AL_DOH_junxu + hidden_effect = { + country_event = AL_event.41 } } - - AL_zhuanyi_DOH_manqiu = { - icon = ger_mefo_bills - - highlight_states = { - highlight_state_targets = { - state = 591 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = DOH - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的东煌技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_DOH_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_DOH_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_manqiu - set_country_flag = AL_zhuanyi_DOH_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_DOH_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_manqiu - set_country_flag = AL_DOH_manqiu - add_manpower = 50000 - hidden_effect = { - country_event = AL_event.41 - } - } - ai_will_do = { - factor = 1 + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_DOH_gongye = { + icon = generic_construction + highlight_states = { + highlight_state_targets = { + state = 591 } } - - AL_zhuanyi_DOH_jungong = { - icon = generic_industry - - highlight_states = { - highlight_state_targets = { - state = 591 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = DOH - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的东煌技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_DOH_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_DOH_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_jungong - set_country_flag = AL_zhuanyi_DOH_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_DOH_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_jungong - set_country_flag = AL_DOH_jungong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = arms_factory - level = 3 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.41 - } - } - ai_will_do = { - factor = 1 + on_map_mode = map_only + allowed = { + NOT = { + tag = DOH } } - - AL_zhuanyi_DOH_minggong = { - icon = generic_factory - - highlight_states = { - highlight_state_targets = { - state = 591 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的东煌技术物资正在转移" NOT = { - tag = DOH - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的东煌技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_DOH_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_DOH_finish + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_DOH_finish } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_minggong - set_country_flag = AL_zhuanyi_DOH_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_DOH_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_minggong - set_country_flag = AL_DOH_minggong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_gongye + set_country_flag = AL_zhuanyi_DOH_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_DOH_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_gongye + set_country_flag = AL_DOH_gongye + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes } } - hidden_effect = { - country_event = AL_event.41 + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes } } - ai_will_do = { - factor = 1 + hidden_effect = { + country_event = AL_event.41 } - } - - + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_DOH_plane = { + icon = generic_air + highlight_states = { + highlight_state_targets = { + state = 591 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = DOH + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的东煌技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_DOH_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_DOH_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_plane + set_country_flag = AL_zhuanyi_DOH_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_DOH_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_plane + set_country_flag = AL_DOH_plane + random_owned_controlled_state = { + limit = { + air_base < 9 + } + add_building_construction = { + type = air_base + level = 2 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.41 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_DOH_tank = { + icon = generic_tank + highlight_states = { + highlight_state_targets = { + state = 591 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = DOH + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的东煌技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_DOH_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_DOH_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_tank + set_country_flag = AL_zhuanyi_DOH_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_DOH_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_tank + set_country_flag = AL_DOH_tank + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.41 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_DOH_ship = { + icon = generic_naval + highlight_states = { + highlight_state_targets = { + state = 591 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = DOH + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的东煌技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_DOH_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_DOH_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_ship + set_country_flag = AL_zhuanyi_DOH_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_DOH_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_ship + set_country_flag = AL_DOH_ship + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = dockyard + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.41 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_DOH_manqiu = { + icon = ger_mefo_bills + highlight_states = { + highlight_state_targets = { + state = 591 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = DOH + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的东煌技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_DOH_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_DOH_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_manqiu + set_country_flag = AL_zhuanyi_DOH_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_DOH_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_manqiu + set_country_flag = AL_DOH_manqiu + add_manpower = 50000 + hidden_effect = { + country_event = AL_event.41 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_DOH_jungong = { + icon = generic_industry + highlight_states = { + highlight_state_targets = { + state = 591 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = DOH + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的东煌技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_DOH_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_DOH_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_jungong + set_country_flag = AL_zhuanyi_DOH_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_DOH_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_jungong + set_country_flag = AL_DOH_jungong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = arms_factory + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.41 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_DOH_minggong = { + icon = generic_factory + highlight_states = { + highlight_state_targets = { + state = 591 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = DOH + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的东煌技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_DOH_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_DOH_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_minggong + set_country_flag = AL_zhuanyi_DOH_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_DOH_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_minggong + set_country_flag = AL_DOH_minggong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.41 + } + } + ai_will_do = { + factor = 1 + } + } ################### #####皇家转移###### ################### - - AL_zhuanyi_HUJ_junxu = { - icon = ger_military_buildup - - highlight_states = { - highlight_state_targets = { - state = 119 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = HUJ - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的皇家技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_HUJ_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_HUJ_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_junxu - set_country_flag = AL_zhuanyi_HUJ_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_HUJ_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_junxu - set_country_flag = AL_HUJ_junxu - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.48 - } - } - ai_will_do = { - factor = 1 + AL_zhuanyi_HUJ_junxu = { + icon = ger_military_buildup + highlight_states = { + highlight_state_targets = { + state = 119 } } - - AL_zhuanyi_HUJ_gongye = { - icon = generic_construction - - on_map_mode = map_only - allowed = { - NOT = { - tag = HUJ - } - } - highlight_states = { - highlight_state_targets = { - state = 119 - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的皇家技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_HUJ_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_HUJ_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_gongye - set_country_flag = AL_zhuanyi_HUJ_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_HUJ_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_gongye - set_country_flag = AL_HUJ_gongye - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.48 - } - } - ai_will_do = { - factor = 1 + on_map_mode = map_only + allowed = { + NOT = { + tag = HUJ } } - - AL_zhuanyi_HUJ_plane = { - icon = generic_air - - highlight_states = { - highlight_state_targets = { - state = 119 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的皇家技术物资正在转移" NOT = { - tag = HUJ - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的皇家技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_HUJ_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_HUJ_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_plane - set_country_flag = AL_zhuanyi_HUJ_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_HUJ_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_plane - set_country_flag = AL_HUJ_plane - random_owned_controlled_state = { - limit = { - air_base < 9 - } - add_building_construction = { - type = air_base - level = 2 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.48 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_HUJ_tank = { - icon = generic_tank - - highlight_states = { - highlight_state_targets = { - state = 119 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = HUJ - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的皇家技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_HUJ_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_HUJ_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_tank - set_country_flag = AL_zhuanyi_HUJ_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_HUJ_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_tank - set_country_flag = AL_HUJ_tank - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.48 - } - } - ai_will_do = { - factor = 1 + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_HUJ_finish } } - - AL_zhuanyi_HUJ_ship = { - icon = generic_naval - - highlight_states = { - highlight_state_targets = { - state = 119 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = HUJ - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的皇家技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_HUJ_ongoing + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_junxu + set_country_flag = AL_zhuanyi_HUJ_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_HUJ_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_junxu + set_country_flag = AL_HUJ_junxu + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes } } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_HUJ_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_ship - set_country_flag = AL_zhuanyi_HUJ_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_HUJ_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_ship - set_country_flag = AL_HUJ_ship - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = dockyard - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.48 + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes } } - ai_will_do = { - factor = 1 + hidden_effect = { + country_event = AL_event.48 } } - - AL_zhuanyi_HUJ_manqiu = { - icon = ger_mefo_bills - - highlight_states = { - highlight_state_targets = { - state = 119 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = HUJ - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的皇家技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_HUJ_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_HUJ_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_manqiu - set_country_flag = AL_zhuanyi_HUJ_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_HUJ_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_manqiu - set_country_flag = AL_HUJ_manqiu - add_manpower = 50000 - hidden_effect = { - country_event = AL_event.48 - } - } - ai_will_do = { - factor = 1 + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_HUJ_gongye = { + icon = generic_construction + on_map_mode = map_only + allowed = { + NOT = { + tag = HUJ } } - - AL_zhuanyi_HUJ_jungong = { - icon = generic_industry - - highlight_states = { - highlight_state_targets = { - state = 119 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = HUJ - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的皇家技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_HUJ_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_HUJ_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_jungong - set_country_flag = AL_zhuanyi_HUJ_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_HUJ_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_jungong - set_country_flag = AL_HUJ_jungong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = arms_factory - level = 3 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.48 - } - } - ai_will_do = { - factor = 1 + highlight_states = { + highlight_state_targets = { + state = 119 } } - - AL_zhuanyi_HUJ_minggong = { - icon = generic_factory - - highlight_states = { - highlight_state_targets = { - state = 119 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的皇家技术物资正在转移" NOT = { - tag = HUJ - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的皇家技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_HUJ_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_HUJ_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_minggong - set_country_flag = AL_zhuanyi_HUJ_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_HUJ_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_minggong - set_country_flag = AL_HUJ_minggong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.48 - } - } - ai_will_do = { - factor = 1 - } } - + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_HUJ_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_gongye + set_country_flag = AL_zhuanyi_HUJ_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_HUJ_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_gongye + set_country_flag = AL_HUJ_gongye + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.48 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_HUJ_plane = { + icon = generic_air + highlight_states = { + highlight_state_targets = { + state = 119 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = HUJ + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的皇家技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_HUJ_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_HUJ_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_plane + set_country_flag = AL_zhuanyi_HUJ_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_HUJ_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_plane + set_country_flag = AL_HUJ_plane + random_owned_controlled_state = { + limit = { + air_base < 9 + } + add_building_construction = { + type = air_base + level = 2 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.48 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_HUJ_tank = { + icon = generic_tank + highlight_states = { + highlight_state_targets = { + state = 119 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = HUJ + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的皇家技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_HUJ_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_HUJ_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_tank + set_country_flag = AL_zhuanyi_HUJ_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_HUJ_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_tank + set_country_flag = AL_HUJ_tank + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.48 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_HUJ_ship = { + icon = generic_naval + highlight_states = { + highlight_state_targets = { + state = 119 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = HUJ + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的皇家技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_HUJ_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_HUJ_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_ship + set_country_flag = AL_zhuanyi_HUJ_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_HUJ_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_ship + set_country_flag = AL_HUJ_ship + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = dockyard + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.48 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_HUJ_manqiu = { + icon = ger_mefo_bills + highlight_states = { + highlight_state_targets = { + state = 119 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = HUJ + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的皇家技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_HUJ_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_HUJ_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_manqiu + set_country_flag = AL_zhuanyi_HUJ_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_HUJ_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_manqiu + set_country_flag = AL_HUJ_manqiu + add_manpower = 50000 + hidden_effect = { + country_event = AL_event.48 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_HUJ_jungong = { + icon = generic_industry + highlight_states = { + highlight_state_targets = { + state = 119 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = HUJ + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的皇家技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_HUJ_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_HUJ_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_jungong + set_country_flag = AL_zhuanyi_HUJ_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_HUJ_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_jungong + set_country_flag = AL_HUJ_jungong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = arms_factory + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.48 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_HUJ_minggong = { + icon = generic_factory + highlight_states = { + highlight_state_targets = { + state = 119 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = HUJ + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的皇家技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_HUJ_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_HUJ_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_minggong + set_country_flag = AL_zhuanyi_HUJ_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_HUJ_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_minggong + set_country_flag = AL_HUJ_minggong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.48 + } + } + ai_will_do = { + factor = 1 + } + } ################### #####北方转移###### ################### - - AL_zhuanyi_BFL_junxu = { - icon = ger_military_buildup - - highlight_states = { - highlight_state_targets = { - state = 213 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = BFL - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的北联技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_BFL_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BFL_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_junxu - set_country_flag = AL_zhuanyi_BFL_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BFL_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_junxu - set_country_flag = AL_BFL_junxu - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.47 - } - } - ai_will_do = { - factor = 1 + AL_zhuanyi_BFL_junxu = { + icon = ger_military_buildup + highlight_states = { + highlight_state_targets = { + state = 213 } } - - AL_zhuanyi_BFL_gongye = { - icon = generic_construction - - highlight_states = { - highlight_state_targets = { - state = 213 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = BFL - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的北联技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_BFL_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BFL_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_gongye - set_country_flag = AL_zhuanyi_BFL_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BFL_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_gongye - set_country_flag = AL_BFL_gongye - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.47 - } - } - ai_will_do = { - factor = 1 + on_map_mode = map_only + allowed = { + NOT = { + tag = BFL } } - - AL_zhuanyi_BFL_plane = { - icon = generic_air - - highlight_states = { - highlight_state_targets = { - state = 213 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的北联技术物资正在转移" NOT = { - tag = BFL - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的北联技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_BFL_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BFL_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_plane - set_country_flag = AL_zhuanyi_BFL_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BFL_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_plane - set_country_flag = AL_BFL_plane - random_owned_controlled_state = { - limit = { - air_base < 9 - } - add_building_construction = { - type = air_base - level = 2 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.47 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_BFL_tank = { - icon = generic_tank - - highlight_states = { - highlight_state_targets = { - state = 213 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = BFL - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的北联技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_BFL_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BFL_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_tank - set_country_flag = AL_zhuanyi_BFL_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BFL_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_tank - set_country_flag = AL_BFL_tank - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.47 - } - } - ai_will_do = { - factor = 1 + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BFL_finish } } - - AL_zhuanyi_BFL_ship = { - icon = generic_naval - - highlight_states = { - highlight_state_targets = { - state = 213 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = BFL - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的北联技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_BFL_ongoing + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_junxu + set_country_flag = AL_zhuanyi_BFL_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BFL_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_junxu + set_country_flag = AL_BFL_junxu + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes } } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BFL_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_ship - set_country_flag = AL_zhuanyi_BFL_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BFL_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_ship - set_country_flag = AL_BFL_ship - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = dockyard - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.47 + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes } } - ai_will_do = { - factor = 1 + hidden_effect = { + country_event = AL_event.47 } } - - AL_zhuanyi_BFL_manqiu = { - icon = ger_mefo_bills - - highlight_states = { - highlight_state_targets = { - state = 213 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = BFL - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的北联技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_BFL_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BFL_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_manqiu - set_country_flag = AL_zhuanyi_BFL_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BFL_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_manqiu - set_country_flag = AL_BFL_manqiu - add_manpower = 50000 - hidden_effect = { - country_event = AL_event.47 - } - } - ai_will_do = { - factor = 1 + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BFL_gongye = { + icon = generic_construction + highlight_states = { + highlight_state_targets = { + state = 213 } } - - AL_zhuanyi_BFL_jungong = { - icon = generic_industry - - highlight_states = { - highlight_state_targets = { - state = 213 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = BFL - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的北联技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_BFL_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BFL_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_jungong - set_country_flag = AL_zhuanyi_BFL_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BFL_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_jungong - set_country_flag = AL_BFL_jungong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = arms_factory - level = 3 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.47 - } - } - ai_will_do = { - factor = 1 + on_map_mode = map_only + allowed = { + NOT = { + tag = BFL } } - - AL_zhuanyi_BFL_minggong = { - icon = generic_factory - - highlight_states = { - highlight_state_targets = { - state = 213 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的北联技术物资正在转移" NOT = { - tag = BFL - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的北联技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_BFL_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BFL_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_minggong - set_country_flag = AL_zhuanyi_BFL_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BFL_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_minggong - set_country_flag = AL_BFL_minggong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.47 - } - } - ai_will_do = { - factor = 1 - } } - - + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BFL_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_gongye + set_country_flag = AL_zhuanyi_BFL_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BFL_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_gongye + set_country_flag = AL_BFL_gongye + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.47 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BFL_plane = { + icon = generic_air + highlight_states = { + highlight_state_targets = { + state = 213 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = BFL + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的北联技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_BFL_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BFL_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_plane + set_country_flag = AL_zhuanyi_BFL_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BFL_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_plane + set_country_flag = AL_BFL_plane + random_owned_controlled_state = { + limit = { + air_base < 9 + } + add_building_construction = { + type = air_base + level = 2 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.47 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BFL_tank = { + icon = generic_tank + highlight_states = { + highlight_state_targets = { + state = 213 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = BFL + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的北联技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_BFL_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BFL_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_tank + set_country_flag = AL_zhuanyi_BFL_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BFL_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_tank + set_country_flag = AL_BFL_tank + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.47 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BFL_ship = { + icon = generic_naval + highlight_states = { + highlight_state_targets = { + state = 213 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = BFL + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的北联技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_BFL_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BFL_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_ship + set_country_flag = AL_zhuanyi_BFL_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BFL_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_ship + set_country_flag = AL_BFL_ship + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = dockyard + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.47 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BFL_manqiu = { + icon = ger_mefo_bills + highlight_states = { + highlight_state_targets = { + state = 213 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = BFL + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的北联技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_BFL_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BFL_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_manqiu + set_country_flag = AL_zhuanyi_BFL_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BFL_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_manqiu + set_country_flag = AL_BFL_manqiu + add_manpower = 50000 + hidden_effect = { + country_event = AL_event.47 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BFL_jungong = { + icon = generic_industry + highlight_states = { + highlight_state_targets = { + state = 213 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = BFL + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的北联技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_BFL_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BFL_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_jungong + set_country_flag = AL_zhuanyi_BFL_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BFL_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_jungong + set_country_flag = AL_BFL_jungong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = arms_factory + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.47 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BFL_minggong = { + icon = generic_factory + highlight_states = { + highlight_state_targets = { + state = 213 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = BFL + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的北联技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_BFL_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BFL_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_minggong + set_country_flag = AL_zhuanyi_BFL_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BFL_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_minggong + set_country_flag = AL_BFL_minggong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.47 + } + } + ai_will_do = { + factor = 1 + } + } ################### #####白鹰转移###### ################### - - AL_zhuanyi_BYG_junxu = { - icon = ger_military_buildup - - highlight_states = { - highlight_state_targets = { - state = 315 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = BYG - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的白鹰技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_BYG_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BYG_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_junxu - set_country_flag = AL_zhuanyi_BYG_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BYG_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_junxu - set_country_flag = AL_BYG_junxu - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.46 - } - } - ai_will_do = { - factor = 1 + AL_zhuanyi_BYG_junxu = { + icon = ger_military_buildup + highlight_states = { + highlight_state_targets = { + state = 315 } } - - AL_zhuanyi_BYG_gongye = { - icon = generic_construction - - highlight_states = { - highlight_state_targets = { - state = 315 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = BYG - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的白鹰技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_BYG_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BYG_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_gongye - set_country_flag = AL_zhuanyi_BYG_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BYG_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_gongye - set_country_flag = AL_BYG_gongye - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.46 - } - } - ai_will_do = { - factor = 1 + on_map_mode = map_only + allowed = { + NOT = { + tag = BYG } } - - AL_zhuanyi_BYG_plane = { - icon = generic_air - - highlight_states = { - highlight_state_targets = { - state = 315 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的白鹰技术物资正在转移" NOT = { - tag = BYG - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的白鹰技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_BYG_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BYG_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_plane - set_country_flag = AL_zhuanyi_BYG_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BYG_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_plane - set_country_flag = AL_BYG_plane - random_owned_controlled_state = { - limit = { - air_base < 9 - } - add_building_construction = { - type = air_base - level = 2 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.46 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_BYG_tank = { - icon = generic_tank - - highlight_states = { - highlight_state_targets = { - state = 315 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = BYG - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的白鹰技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_BYG_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BYG_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_tank - set_country_flag = AL_zhuanyi_BYG_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BYG_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_tank - set_country_flag = AL_BYG_tank - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.46 - } - } - ai_will_do = { - factor = 1 + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BYG_finish } } - - AL_zhuanyi_BYG_ship = { - icon = generic_naval - - highlight_states = { - highlight_state_targets = { - state = 315 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = BYG - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的白鹰技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_BYG_ongoing + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_junxu + set_country_flag = AL_zhuanyi_BYG_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BYG_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_junxu + set_country_flag = AL_BYG_junxu + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes } } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BYG_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_ship - set_country_flag = AL_zhuanyi_BYG_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BYG_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_ship - set_country_flag = AL_BYG_ship - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = dockyard - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.46 + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes } } - ai_will_do = { - factor = 1 + hidden_effect = { + country_event = AL_event.46 } } - - AL_zhuanyi_BYG_manqiu = { - icon = ger_mefo_bills - - highlight_states = { - highlight_state_targets = { - state = 315 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = BYG - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的白鹰技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_BYG_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BYG_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_manqiu - set_country_flag = AL_zhuanyi_BYG_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BYG_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_manqiu - set_country_flag = AL_BYG_manqiu - add_manpower = 50000 - hidden_effect = { - country_event = AL_event.46 - } - } - ai_will_do = { - factor = 1 + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BYG_gongye = { + icon = generic_construction + highlight_states = { + highlight_state_targets = { + state = 315 } } - - AL_zhuanyi_BYG_jungong = { - icon = generic_industry - - highlight_states = { - highlight_state_targets = { - state = 315 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = BYG - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的白鹰技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_BYG_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BYG_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_jungong - set_country_flag = AL_zhuanyi_BYG_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BYG_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_jungong - set_country_flag = AL_BYG_jungong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = arms_factory - level = 3 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.46 - } - } - ai_will_do = { - factor = 1 + on_map_mode = map_only + allowed = { + NOT = { + tag = BYG } } - - AL_zhuanyi_BYG_minggong = { - icon = generic_factory - - highlight_states = { - highlight_state_targets = { - state = 315 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的白鹰技术物资正在转移" NOT = { - tag = BYG - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的白鹰技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_BYG_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_BYG_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_minggong - set_country_flag = AL_zhuanyi_BYG_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_BYG_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_minggong - set_country_flag = AL_BYG_minggong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.46 - } - } - ai_will_do = { - factor = 1 - } } - - + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BYG_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_gongye + set_country_flag = AL_zhuanyi_BYG_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BYG_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_gongye + set_country_flag = AL_BYG_gongye + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.46 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BYG_plane = { + icon = generic_air + highlight_states = { + highlight_state_targets = { + state = 315 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = BYG + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的白鹰技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_BYG_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BYG_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_plane + set_country_flag = AL_zhuanyi_BYG_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BYG_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_plane + set_country_flag = AL_BYG_plane + random_owned_controlled_state = { + limit = { + air_base < 9 + } + add_building_construction = { + type = air_base + level = 2 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.46 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BYG_tank = { + icon = generic_tank + highlight_states = { + highlight_state_targets = { + state = 315 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = BYG + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的白鹰技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_BYG_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BYG_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_tank + set_country_flag = AL_zhuanyi_BYG_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BYG_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_tank + set_country_flag = AL_BYG_tank + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.46 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BYG_ship = { + icon = generic_naval + highlight_states = { + highlight_state_targets = { + state = 315 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = BYG + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的白鹰技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_BYG_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BYG_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_ship + set_country_flag = AL_zhuanyi_BYG_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BYG_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_ship + set_country_flag = AL_BYG_ship + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = dockyard + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.46 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BYG_manqiu = { + icon = ger_mefo_bills + highlight_states = { + highlight_state_targets = { + state = 315 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = BYG + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的白鹰技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_BYG_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BYG_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_manqiu + set_country_flag = AL_zhuanyi_BYG_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BYG_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_manqiu + set_country_flag = AL_BYG_manqiu + add_manpower = 50000 + hidden_effect = { + country_event = AL_event.46 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BYG_jungong = { + icon = generic_industry + highlight_states = { + highlight_state_targets = { + state = 315 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = BYG + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的白鹰技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_BYG_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BYG_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_jungong + set_country_flag = AL_zhuanyi_BYG_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BYG_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_jungong + set_country_flag = AL_BYG_jungong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = arms_factory + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.46 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_BYG_minggong = { + icon = generic_factory + highlight_states = { + highlight_state_targets = { + state = 315 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = BYG + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的白鹰技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_BYG_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_BYG_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_minggong + set_country_flag = AL_zhuanyi_BYG_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_BYG_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_minggong + set_country_flag = AL_BYG_minggong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.46 + } + } + ai_will_do = { + factor = 1 + } + } ################### #####鸢尾转移###### ################### - - AL_zhuanyi_YUW_junxu = { - icon = ger_military_buildup - - highlight_states = { - highlight_state_targets = { - state = 1 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = YUW - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的鸢尾技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_YUW_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_YUW_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_junxu - set_country_flag = AL_zhuanyi_YUW_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_YUW_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_junxu - set_country_flag = AL_YUW_junxu - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.45 - } - } - ai_will_do = { - factor = 1 + AL_zhuanyi_YUW_junxu = { + icon = ger_military_buildup + highlight_states = { + highlight_state_targets = { + state = 1 } } - - AL_zhuanyi_YUW_gongye = { - icon = generic_construction - - highlight_states = { - highlight_state_targets = { - state = 1 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = YUW - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的鸢尾技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_YUW_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_YUW_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_gongye - set_country_flag = AL_zhuanyi_YUW_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_YUW_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_gongye - set_country_flag = AL_YUW_gongye - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.45 - } - } - ai_will_do = { - factor = 1 + on_map_mode = map_only + allowed = { + NOT = { + tag = YUW } } - - AL_zhuanyi_YUW_plane = { - icon = generic_air - - highlight_states = { - highlight_state_targets = { - state = 1 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的鸢尾技术物资正在转移" NOT = { - tag = YUW - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的鸢尾技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_YUW_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_YUW_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_plane - set_country_flag = AL_zhuanyi_YUW_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_YUW_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_plane - set_country_flag = AL_YUW_plane - random_owned_controlled_state = { - limit = { - air_base < 9 - } - add_building_construction = { - type = air_base - level = 2 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.45 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_YUW_tank = { - icon = generic_tank - - highlight_states = { - highlight_state_targets = { - state = 1 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = YUW - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的鸢尾技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_YUW_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_YUW_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_tank - set_country_flag = AL_zhuanyi_YUW_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_YUW_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_tank - set_country_flag = AL_YUW_tank - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.45 - } - } - ai_will_do = { - factor = 1 + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_YUW_finish } } - - AL_zhuanyi_YUW_ship = { - icon = generic_naval - - highlight_states = { - highlight_state_targets = { - state = 1 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = YUW - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的鸢尾技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_YUW_ongoing + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_junxu + set_country_flag = AL_zhuanyi_YUW_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_YUW_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_junxu + set_country_flag = AL_YUW_junxu + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes } } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_YUW_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_ship - set_country_flag = AL_zhuanyi_YUW_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_YUW_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_ship - set_country_flag = AL_YUW_ship - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = dockyard - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.45 + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes } } - ai_will_do = { - factor = 1 + hidden_effect = { + country_event = AL_event.45 } } - - AL_zhuanyi_YUW_manqiu = { - icon = ger_mefo_bills - - highlight_states = { - highlight_state_targets = { - state = 1 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = YUW - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的鸢尾技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_YUW_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_YUW_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_manqiu - set_country_flag = AL_zhuanyi_YUW_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_YUW_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_manqiu - set_country_flag = AL_YUW_manqiu - add_manpower = 50000 - hidden_effect = { - country_event = AL_event.45 - } - } - ai_will_do = { - factor = 1 + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_YUW_gongye = { + icon = generic_construction + highlight_states = { + highlight_state_targets = { + state = 1 } } - - AL_zhuanyi_YUW_jungong = { - icon = generic_industry - - highlight_states = { - highlight_state_targets = { - state = 1 - } - } - on_map_mode = map_only - allowed = { - NOT = { - tag = YUW - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的鸢尾技术物资正在转移" - not = { - has_country_flag = AL_zhuanyi_YUW_ongoing - } - } - } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_YUW_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_jungong - set_country_flag = AL_zhuanyi_YUW_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_YUW_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_jungong - set_country_flag = AL_YUW_jungong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = arms_factory - level = 3 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.45 - } - } - ai_will_do = { - factor = 1 + on_map_mode = map_only + allowed = { + NOT = { + tag = YUW } } - - AL_zhuanyi_YUW_minggong = { - icon = generic_factory - - highlight_states = { - highlight_state_targets = { - state = 1 - } + available = { + has_navy_size = { + size > 49 + type = convoy } - on_map_mode = map_only - allowed = { + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的鸢尾技术物资正在转移" NOT = { - tag = YUW - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的鸢尾技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_YUW_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_YUW_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_minggong - set_country_flag = AL_zhuanyi_YUW_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_YUW_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_minggong - set_country_flag = AL_YUW_minggong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.45 - } - } - ai_will_do = { - factor = 1 - } } - - + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_YUW_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_gongye + set_country_flag = AL_zhuanyi_YUW_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_YUW_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_gongye + set_country_flag = AL_YUW_gongye + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.45 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_YUW_plane = { + icon = generic_air + highlight_states = { + highlight_state_targets = { + state = 1 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = YUW + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的鸢尾技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_YUW_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_YUW_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_plane + set_country_flag = AL_zhuanyi_YUW_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_YUW_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_plane + set_country_flag = AL_YUW_plane + random_owned_controlled_state = { + limit = { + air_base < 9 + } + add_building_construction = { + type = air_base + level = 2 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.45 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_YUW_tank = { + icon = generic_tank + highlight_states = { + highlight_state_targets = { + state = 1 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = YUW + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的鸢尾技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_YUW_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_YUW_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_tank + set_country_flag = AL_zhuanyi_YUW_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_YUW_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_tank + set_country_flag = AL_YUW_tank + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.45 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_YUW_ship = { + icon = generic_naval + highlight_states = { + highlight_state_targets = { + state = 1 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = YUW + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的鸢尾技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_YUW_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_YUW_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_ship + set_country_flag = AL_zhuanyi_YUW_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_YUW_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_ship + set_country_flag = AL_YUW_ship + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = dockyard + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.45 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_YUW_manqiu = { + icon = ger_mefo_bills + highlight_states = { + highlight_state_targets = { + state = 1 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = YUW + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的鸢尾技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_YUW_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_YUW_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_manqiu + set_country_flag = AL_zhuanyi_YUW_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_YUW_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_manqiu + set_country_flag = AL_YUW_manqiu + add_manpower = 50000 + hidden_effect = { + country_event = AL_event.45 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_YUW_jungong = { + icon = generic_industry + highlight_states = { + highlight_state_targets = { + state = 1 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = YUW + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的鸢尾技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_YUW_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_YUW_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_jungong + set_country_flag = AL_zhuanyi_YUW_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_YUW_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_jungong + set_country_flag = AL_YUW_jungong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = arms_factory + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.45 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_YUW_minggong = { + icon = generic_factory + highlight_states = { + highlight_state_targets = { + state = 1 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = YUW + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的鸢尾技术物资正在转移" + NOT = { + has_country_flag = AL_zhuanyi_YUW_ongoing + } + } + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_YUW_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_minggong + set_country_flag = AL_zhuanyi_YUW_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_YUW_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_minggong + set_country_flag = AL_YUW_minggong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + } + hidden_effect = { + country_event = AL_event.45 + } + } + ai_will_do = { + factor = 1 + } + } ################### #####铁血转移###### ################### - - AL_zhuanyi_TIX_junxu = { - icon = ger_military_buildup - - highlight_states = { - highlight_state_targets = { - state = 37 - } + AL_zhuanyi_TIX_junxu = { + icon = ger_military_buildup + highlight_states = { + highlight_state_targets = { + state = 37 } - on_map_mode = map_only - allowed = { + } + on_map_mode = map_only + allowed = { + NOT = { + tag = TIX + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的铁血技术物资正在转移" NOT = { - tag = TIX - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的铁血技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_TIX_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_TIX_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_junxu - set_country_flag = AL_zhuanyi_TIX_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_TIX_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_junxu - set_country_flag = AL_TIX_junxu - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.44 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_TIX_gongye = { - icon = generic_construction - - highlight_states = { - highlight_state_targets = { - state = 37 + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_TIX_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_junxu + set_country_flag = AL_zhuanyi_TIX_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_TIX_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_junxu + set_country_flag = AL_TIX_junxu + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes } } - on_map_mode = map_only - allowed = { + hidden_effect = { + country_event = AL_event.44 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_TIX_gongye = { + icon = generic_construction + highlight_states = { + highlight_state_targets = { + state = 37 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = TIX + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的铁血技术物资正在转移" NOT = { - tag = TIX - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的铁血技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_TIX_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_TIX_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_gongye - set_country_flag = AL_zhuanyi_TIX_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_TIX_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_gongye - set_country_flag = AL_TIX_gongye - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.44 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_TIX_plane = { - icon = generic_air - - highlight_states = { - highlight_state_targets = { - state = 37 + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_TIX_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_gongye + set_country_flag = AL_zhuanyi_TIX_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_TIX_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_gongye + set_country_flag = AL_TIX_gongye + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes } } - on_map_mode = map_only - allowed = { + hidden_effect = { + country_event = AL_event.44 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_TIX_plane = { + icon = generic_air + highlight_states = { + highlight_state_targets = { + state = 37 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = TIX + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的铁血技术物资正在转移" NOT = { - tag = TIX - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的铁血技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_TIX_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_TIX_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_plane - set_country_flag = AL_zhuanyi_TIX_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_TIX_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_plane - set_country_flag = AL_TIX_plane - random_owned_controlled_state = { - limit = { - air_base < 9 - } - add_building_construction = { - type = air_base - level = 2 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.44 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_TIX_tank = { - icon = generic_tank - - highlight_states = { - highlight_state_targets = { - state = 37 + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_TIX_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_plane + set_country_flag = AL_zhuanyi_TIX_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_TIX_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_plane + set_country_flag = AL_TIX_plane + random_owned_controlled_state = { + limit = { + air_base < 9 + } + add_building_construction = { + type = air_base + level = 2 + instant_build = yes } } - on_map_mode = map_only - allowed = { + hidden_effect = { + country_event = AL_event.44 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_TIX_tank = { + icon = generic_tank + highlight_states = { + highlight_state_targets = { + state = 37 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = TIX + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的铁血技术物资正在转移" NOT = { - tag = TIX - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的铁血技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_TIX_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_TIX_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_tank - set_country_flag = AL_zhuanyi_TIX_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_TIX_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_tank - set_country_flag = AL_TIX_tank - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.44 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_TIX_ship = { - icon = generic_naval - - highlight_states = { - highlight_state_targets = { - state = 37 + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_TIX_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_tank + set_country_flag = AL_zhuanyi_TIX_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_TIX_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_tank + set_country_flag = AL_TIX_tank + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes } } - on_map_mode = map_only - allowed = { + hidden_effect = { + country_event = AL_event.44 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_TIX_ship = { + icon = generic_naval + highlight_states = { + highlight_state_targets = { + state = 37 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = TIX + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的铁血技术物资正在转移" NOT = { - tag = TIX - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的铁血技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_TIX_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_TIX_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_ship - set_country_flag = AL_zhuanyi_TIX_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_TIX_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_ship - set_country_flag = AL_TIX_ship - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = dockyard - size > 0 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.44 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_TIX_manqiu = { - icon = ger_mefo_bills - - highlight_states = { - highlight_state_targets = { - state = 37 + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_TIX_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_ship + set_country_flag = AL_zhuanyi_TIX_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_TIX_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_ship + set_country_flag = AL_TIX_ship + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = dockyard + size > 0 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes } } - on_map_mode = map_only - allowed = { + hidden_effect = { + country_event = AL_event.44 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_TIX_manqiu = { + icon = ger_mefo_bills + highlight_states = { + highlight_state_targets = { + state = 37 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = TIX + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的铁血技术物资正在转移" NOT = { - tag = TIX - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的铁血技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_TIX_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_TIX_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_manqiu - set_country_flag = AL_zhuanyi_TIX_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_TIX_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_manqiu - set_country_flag = AL_TIX_manqiu - add_manpower = 50000 - hidden_effect = { - country_event = AL_event.44 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_TIX_jungong = { - icon = generic_industry - - highlight_states = { - highlight_state_targets = { - state = 37 - } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_TIX_finish } - on_map_mode = map_only - allowed = { + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_manqiu + set_country_flag = AL_zhuanyi_TIX_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_TIX_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_manqiu + set_country_flag = AL_TIX_manqiu + add_manpower = 50000 + hidden_effect = { + country_event = AL_event.44 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_TIX_jungong = { + icon = generic_industry + highlight_states = { + highlight_state_targets = { + state = 37 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = TIX + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的铁血技术物资正在转移" NOT = { - tag = TIX - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的铁血技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_TIX_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_TIX_finish - } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_jungong - set_country_flag = AL_zhuanyi_TIX_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_TIX_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_jungong - set_country_flag = AL_TIX_jungong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = arms_factory - level = 3 - instant_build = yes - } - } - hidden_effect = { - country_event = AL_event.44 - } - } - ai_will_do = { - factor = 1 - } } - - AL_zhuanyi_TIX_minggong = { - icon = generic_factory - - highlight_states = { - highlight_state_targets = { - state = 37 + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_TIX_finish + } + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_jungong + set_country_flag = AL_zhuanyi_TIX_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_TIX_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_jungong + set_country_flag = AL_TIX_jungong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = arms_factory + size > 2 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = arms_factory + level = 3 + instant_build = yes } } - on_map_mode = map_only - allowed = { + hidden_effect = { + country_event = AL_event.44 + } + } + ai_will_do = { + factor = 1 + } + } + AL_zhuanyi_TIX_minggong = { + icon = generic_factory + highlight_states = { + highlight_state_targets = { + state = 37 + } + } + on_map_mode = map_only + allowed = { + NOT = { + tag = TIX + } + } + available = { + has_navy_size = { + size > 49 + type = convoy + } + has_completed_focus = AL_zhuanyi + custom_trigger_tooltip = { + tooltip = "没有其他的铁血技术物资正在转移" NOT = { - tag = TIX - } - } - available = { - has_navy_size = { - size > 49 - type = convoy - } - has_completed_focus = AL_zhuanyi - custom_trigger_tooltip = { - tooltip = "没有其他的铁血技术物资正在转移" - not = { has_country_flag = AL_zhuanyi_TIX_ongoing - } } } - visible = { - has_country_flag = AL_alone - not = { - has_country_flag = AL_TIX_finish + } + visible = { + has_country_flag = AL_alone + NOT = { + has_country_flag = AL_TIX_finish } - } - days_remove = 30 - fire_only_once = yes - cost = 25 - complete_effect = { - - custom_effect_tooltip = AL_zhuanyi_start_minggong - set_country_flag = AL_zhuanyi_TIX_ongoing - } - remove_effect = { - clr_country_flag = AL_zhuanyi_TIX_ongoing - custom_effect_tooltip = AL_zhuanyi_finish_minggong - set_country_flag = AL_TIX_minggong - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 2 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes + } + days_remove = 30 + fire_only_once = yes + cost = 25 + complete_effect = { + custom_effect_tooltip = AL_zhuanyi_start_minggong + set_country_flag = AL_zhuanyi_TIX_ongoing + } + remove_effect = { + clr_country_flag = AL_zhuanyi_TIX_ongoing + custom_effect_tooltip = AL_zhuanyi_finish_minggong + set_country_flag = AL_TIX_minggong + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = industrial_complex + size > 2 + include_locked = yes } } - hidden_effect = { - country_event = AL_event.44 + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes } } - ai_will_do = { - factor = 1 + hidden_effect = { + country_event = AL_event.44 } } - -#################转移至地下/难民/测试选项########################### - TEST_pt_1 = { - icon = ger_military_buildup - available = { - num_of_factories > 500 - has_army_experience > 99 - has_air_experience > 99 - has_navy_experience > 99 - has_army_manpower = { - size > 2000000 - } - } - visible = { - is_ai = no - is_debug = yes - } - days_remove = 2 - complete_effect = { - add_manpower = 100 - } - } - - TEST_pt_2 = { - icon = ger_military_buildup - available = { - - - - - - - - has_navy_size = { - size > 400 - } - num_of_controlled_states > 30 - land_doctrine_level > 5 - any_other_country = { - not = { is_in_faction_with = ROOT } - exists = no + ai_will_do = { + factor = 1 } } - visible = { - is_ai = no - is_debug = yes - } - days_remove = 2 - complete_effect = { - - } - } - - TEST_pt_3 = { - icon = ger_military_buildup - available = { - has_political_power > 500 - has_stability = 1 - has_war_support = 1 - arms_factory > 700 - industrial_complex > 700 - dockyard > 700 - command_power > 300 - num_researched_technologies > 125 - num_of_nukes > 10 - num_of_controlled_states > 100 - agency_upgrade_number > 10 - any_owned_state = { - arms_factory > 24 - } - any_owned_state = { - industrial_complex > 24 - } - any_owned_state = { - dockyard > 24 - } - } - visible = { - is_ai = no - is_debug = yes - } - days_remove = 2 - complete_effect = { - - } - } - - TEST_pt_4 = { - icon = ger_military_buildup - available = { - controls_province = 11506 - controls_province = 6521 - controls_province = 6103 - controls_province = 9904 - controls_province = 6380 - } - visible = { - is_ai = no - is_debug = yes - } - days_remove = 2 - complete_effect = { - - } - } - - TEST_pt_5 = { - icon = ger_military_buildup - available = { - any_army_leader = { - attack_skill_level > 8 - } - all_army_leader = { - OR = { - is_field_marshal = yes - num_units > 23 - } - } - any_army_leader = { - is_field_marshal = yes - has_trait = expert_delegator - } - has_war = yes - any_enemy_country = { - casualties_inflicted_by = { - opponent = ROOT - thousands > 2000 + #################转移至地下/难民/测试选项########################### + TEST_pt_1 = { + icon = ger_military_buildup + available = { + num_of_factories > 500 + has_army_experience > 99 + has_air_experience > 99 + has_navy_experience > 99 + has_army_manpower = { + size > 2000000 } } - is_in_peace_conference = yes - num_divisions > 200 - has_equipment = { # - infantry_equipment > 100000 # - #不能放一起 - } # - has_equipment = { # - artillery_equipment > 10000 # - } - has_fuel > 1000000 - fuel_ratio > 0.99 - has_navy_size = { unit = battleship size > 9 } - has_navy_size = { unit = carrier size > 9 } - any_army_leader = { - - logistics_skill_level > 6 - + visible = { + is_ai = no + is_debug = yes } - has_deployed_air_force_size = { - size > 500 + days_remove = 2 + complete_effect = { + add_manpower = 100 } - land_doctrine_level > 8 } - visible = { - is_ai = no - is_debug = yes - } - days_remove = 2 - complete_effect = { - - } - } - - TEST_pt_6 = { - icon = ger_military_buildup - available = { - has_navy_size = { - size = 0 - } - casualties_k > 5000 - land_doctrine_level < 2 - any_owned_state = { - is_capital = yes - arms_factory = 0 - industrial_complex = 0 - dockyard = 0 - } - has_intelligence_agency = yes - agency_upgrade_number = 0 - fuel_ratio < 0.01 - surrender_progress > 0.75 - has_army_manpower = { - size < 50000 - } - amount_manpower_in_deployment_queue < 10000 - has_equipment = { ##同理,无法重复! - infantry_equipment < 0 - artillery_equipment < 0 - anti_tank_equipment < 0 - } - has_army_size = { - size < 20 - } - has_equipment = { - fighter_equipment < 50 - } - has_deployed_air_force_size = { - size < 50 - } - num_researched_technologies < 10 - num_of_civilian_factories < 1 #改为小于 - political_power_daily < 0 - has_political_power < 0 - } - visible = { - is_ai = no - is_debug = yes - } - days_remove = 2 - complete_effect = { - - } - } - - TEST_pt_7 = { - icon = ger_military_buildup - available = { - - } - visible = { - is_ai = no - is_debug = yes - } - days_remove = 2 - complete_effect = { - - } - } - - TEST_pt_8 = { - icon = ger_military_buildup - available = { - has_railway_connection = { - start_province = 4135 - target_province = 12299 - } - all_owned_state = { - has_railway_level = { - state = PREV - level = 5 + TEST_pt_2 = { + icon = ger_military_buildup + available = { + has_navy_size = { + size > 400 } - } + num_of_controlled_states > 30 + land_doctrine_level > 5 + any_other_country = { + NOT = { + is_in_faction_with = ROOT + } + exists = no + } + } + visible = { + is_ai = no + is_debug = yes + } + days_remove = 2 + complete_effect = { + } } - visible = { - is_ai = no - is_debug = yes + TEST_pt_3 = { + icon = ger_military_buildup + available = { + has_political_power > 500 + has_stability = 1 + has_war_support = 1 + arms_factory > 700 + industrial_complex > 700 + dockyard > 700 + command_power > 300 + num_researched_technologies > 125 + num_of_nukes > 10 + num_of_controlled_states > 100 + agency_upgrade_number > 10 + any_owned_state = { + arms_factory > 24 + } + any_owned_state = { + industrial_complex > 24 + } + any_owned_state = { + dockyard > 24 + } + } + visible = { + is_ai = no + is_debug = yes + } + days_remove = 2 + complete_effect = { + } } - days_remove = 2 - complete_effect = { - + TEST_pt_4 = { + icon = ger_military_buildup + available = { + controls_province = 11506 + controls_province = 6521 + controls_province = 6103 + controls_province = 9904 + controls_province = 6380 + } + visible = { + is_ai = no + is_debug = yes + } + days_remove = 2 + complete_effect = { + } } - } - - TEST_pt_9 = { - icon = ger_military_buildup - available = { - any_owned_state = { + TEST_pt_5 = { + icon = ger_military_buildup + available = { + any_army_leader = { + attack_skill_level > 8 + } + all_army_leader = { + OR = { + is_field_marshal = yes + num_units > 23 + } + } + any_army_leader = { + is_field_marshal = yes + has_trait = expert_delegator + } + has_war = yes + any_enemy_country = { + casualties_inflicted_by = { + opponent = ROOT + thousands > 2000 + } + } + is_in_peace_conference = yes + num_divisions > 200 + has_equipment = { + # + infantry_equipment > 100000 # + #不能放一起 + } + # + has_equipment = { + # + artillery_equipment > 10000 # + } + has_fuel > 1000000 + fuel_ratio > 0.99 + has_navy_size = { + unit = battleship + size > 9 + } + has_navy_size = { + unit = carrier + size > 9 + } + any_army_leader = { + logistics_skill_level > 6 + } + has_deployed_air_force_size = { + size > 500 + } + land_doctrine_level > 8 + } + visible = { + is_ai = no + is_debug = yes + } + days_remove = 2 + complete_effect = { + } + } + TEST_pt_6 = { + icon = ger_military_buildup + available = { + has_navy_size = { + size = 0 + } + casualties_k > 5000 + land_doctrine_level < 2 + any_owned_state = { + is_capital = yes + arms_factory = 0 + industrial_complex = 0 + dockyard = 0 + } + has_intelligence_agency = yes + agency_upgrade_number = 0 + fuel_ratio < 0.01 + surrender_progress > 0.75 + has_army_manpower = { + size < 50000 + } + amount_manpower_in_deployment_queue < 10000 + has_equipment = { + ##同理,无法重复! + infantry_equipment < 0 + artillery_equipment < 0 + anti_tank_equipment < 0 + } + has_army_size = { + size < 20 + } + has_equipment = { + fighter_equipment < 50 + } + has_deployed_air_force_size = { + size < 50 + } + num_researched_technologies < 10 + num_of_civilian_factories < 1 #改为小于 + political_power_daily < 0 + has_political_power < 0 + } + visible = { + is_ai = no + is_debug = yes + } + days_remove = 2 + complete_effect = { + } + } + TEST_pt_7 = { + icon = ger_military_buildup + available = { + } + visible = { + is_ai = no + is_debug = yes + } + days_remove = 2 + complete_effect = { + } + } + TEST_pt_8 = { + icon = ger_military_buildup + available = { + has_railway_connection = { + start_province = 4135 + target_province = 12299 + } + all_owned_state = { + has_railway_level = { + state = PREV + level = 5 + } + } + } + visible = { + is_ai = no + is_debug = yes + } + days_remove = 2 + complete_effect = { + } + } + TEST_pt_9 = { + icon = ger_military_buildup + available = { + any_owned_state = { has_railway_level = { state = PREV level = 3 } - } - all_owned_state = { - infrastructure > 2 - } - - } - visible = { - is_ai = no - is_debug = yes - } - days_remove = 2 - complete_effect = { - - } - } - - TEST_pt_10 = { - icon = ger_military_buildup - available = { - - } - visible = { - is_ai = no - is_debug = yes - } - days_remove = 2 - complete_effect = { - - } - } - ################## - AL_nanmin = { - icon = xingdong - allowed = { - } - available = { - NOT = { - country_exists = SIR - country_exists = SR1 - country_exists = SR2 - country_exists = SR3 - country_exists = SR4 - } - } - activation = { - has_country_flag = AL_jieshounanmin - OR = { - country_exists = SIR - country_exists = SR1 - country_exists = SR2 - country_exists = SR3 - country_exists = SR4 } - } + all_owned_state = { + infrastructure > 2 + } + } + visible = { + is_ai = no + is_debug = yes + } + days_remove = 2 + complete_effect = { + } + } + TEST_pt_10 = { + icon = ger_military_buildup + available = { + } + visible = { + is_ai = no + is_debug = yes + } + days_remove = 2 + complete_effect = { + } + } + ################## + AL_nanmin = { + icon = xingdong + allowed = { + } + available = { + NOT = { + country_exists = SIR + country_exists = SR1 + country_exists = SR2 + country_exists = SR3 + country_exists = SR4 + } + } + activation = { + has_country_flag = AL_jieshounanmin + OR = { + country_exists = SIR + country_exists = SR1 + country_exists = SR2 + country_exists = SR3 + country_exists = SR4 + } + } fixed_random_seed = no - is_good = yes + is_good = yes fire_only_once = no - days_mission_timeout = 89 + days_mission_timeout = 89 days_re_enable = 1 - timeout_effect = { - custom_effect_tooltip = AL_nanmin_is_coming - hidden_effect = { - random_list = { - 40 = { country_event = AL_event.2 } - 2 = { - country_event = AL_event.3 - modifier = { - factor = 0 - has_country_flag = AL_event_3 - } - } - 2 = { - country_event = AL_event.4 - modifier = { - factor = 0 - has_country_flag = AL_event_4 - } - } - 2 = { - country_event = AL_event.5 - modifier = { - factor = 0 - has_country_flag = AL_event_5 - } - } - 1 = { - country_event = AL_event.6 - modifier = { - factor = 0 - has_country_flag = AL_event_6 - } - } - 2 = { - country_event = AL_event.7 - modifier = { - factor = 0 - has_country_flag = AL_event_7 - } - } - 2 = { - country_event = AL_event.9 - modifier = { - factor = 0 - has_country_flag = AL_event_9 - } - } - 2 = { + timeout_effect = { + custom_effect_tooltip = AL_nanmin_is_coming + hidden_effect = { + random_list = { + 40 = { + country_event = AL_event.2 + } + 2 = { + country_event = AL_event.3 + modifier = { + factor = 0 + has_country_flag = AL_event_3 + } + } + 2 = { + country_event = AL_event.4 + modifier = { + factor = 0 + has_country_flag = AL_event_4 + } + } + 2 = { + country_event = AL_event.5 + modifier = { + factor = 0 + has_country_flag = AL_event_5 + } + } + 1 = { + country_event = AL_event.6 + modifier = { + factor = 0 + has_country_flag = AL_event_6 + } + } + 2 = { + country_event = AL_event.7 + modifier = { + factor = 0 + has_country_flag = AL_event_7 + } + } + 2 = { + country_event = AL_event.9 + modifier = { + factor = 0 + has_country_flag = AL_event_9 + } + } + 2 = { country_event = AL_event.10 modifier = { factor = 0 @@ -5101,13 +4843,13 @@ AL_decision_category = { } modifier = { factor = 5 - not = { - has_country_flag = AL_event_10 + NOT = { + has_country_flag = AL_event_10 } TAG = DOH } } - 2 = { + 2 = { country_event = AL_event.11 modifier = { factor = 0 @@ -5115,92 +4857,93 @@ AL_decision_category = { } modifier = { factor = 5 - not = { - has_country_flag = AL_event_11 + NOT = { + has_country_flag = AL_event_11 } TAG = DOH } } - 4 = { country_event = AL_event.8 } - } - } - } - - complete_effect = { - - } - } - -#################偷运##################### - + 4 = { + country_event = AL_event.8 + } + } + } + } + complete_effect = { + } + } + #################偷运##################### AL_touyun_1 = { - icon = xingdong + icon = xingdong available = { - has_equipment = { - motorized_equipment > 999 - } + has_equipment = { + motorized_equipment > 999 + } arms_factory < 199 } visible = { - has_completed_focus = AL_touyun1 + has_completed_focus = AL_touyun1 } days_remove = 239 days_re_enable = 1 fire_only_once = no cost = 50 complete_effect = { - add_equipment_to_stockpile = { type = motorized_equipment amount = -1000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -1000 + } } remove_effect = { random_state = { limit = { - is_controlled_by = SIR - arms_factory > 1 + is_controlled_by = SIR + arms_factory > 1 } remove_building = { - type = arms_factory - level = 2 - } + type = arms_factory + level = 2 + } } random_state = { limit = { - is_controlled_by = SR1 - arms_factory > 1 + is_controlled_by = SR1 + arms_factory > 1 } remove_building = { - type = arms_factory - level = 2 - } + type = arms_factory + level = 2 + } } random_state = { limit = { - is_controlled_by = SR2 - arms_factory > 1 + is_controlled_by = SR2 + arms_factory > 1 } remove_building = { - type = arms_factory - level = 2 - } + type = arms_factory + level = 2 + } } random_state = { limit = { - is_controlled_by = SR3 - arms_factory > 1 + is_controlled_by = SR3 + arms_factory > 1 } remove_building = { - type = arms_factory - level = 2 - } + type = arms_factory + level = 2 + } } random_state = { limit = { - is_controlled_by = SR4 - arms_factory > 1 + is_controlled_by = SR4 + arms_factory > 1 } remove_building = { - type = arms_factory - level = 2 - } + type = arms_factory + level = 2 + } } random_owned_controlled_state = { limit = { @@ -5237,75 +4980,77 @@ AL_decision_category = { factor = 1 } } - AL_touyun_2 = { - icon = xingdong + icon = xingdong available = { - has_equipment = { - motorized_equipment > 999 - } + has_equipment = { + motorized_equipment > 999 + } industrial_complex < 199 } visible = { - has_completed_focus = AL_touyun1 + has_completed_focus = AL_touyun1 } days_remove = 239 days_re_enable = 1 fire_only_once = no cost = 50 complete_effect = { - add_equipment_to_stockpile = { type = motorized_equipment amount = -1000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -1000 + } } remove_effect = { random_state = { limit = { - is_controlled_by = SIR - industrial_complex > 1 + is_controlled_by = SIR + industrial_complex > 1 } remove_building = { - type = industrial_complex - level = 2 - } + type = industrial_complex + level = 2 + } } random_state = { limit = { - is_controlled_by = SR1 - industrial_complex > 1 + is_controlled_by = SR1 + industrial_complex > 1 } remove_building = { - type = industrial_complex - level = 2 - } + type = industrial_complex + level = 2 + } } random_state = { limit = { - is_controlled_by = SR2 - industrial_complex > 1 + is_controlled_by = SR2 + industrial_complex > 1 } remove_building = { - type = industrial_complex - level = 2 - } + type = industrial_complex + level = 2 + } } random_state = { limit = { - is_controlled_by = SR3 - industrial_complex > 1 + is_controlled_by = SR3 + industrial_complex > 1 } remove_building = { - type = industrial_complex - level = 2 - } + type = industrial_complex + level = 2 + } } random_state = { limit = { - is_controlled_by = SR4 - industrial_complex > 1 + is_controlled_by = SR4 + industrial_complex > 1 } remove_building = { - type = industrial_complex - level = 2 - } + type = industrial_complex + level = 2 + } } random_owned_controlled_state = { limit = { @@ -5342,75 +5087,77 @@ AL_decision_category = { factor = 1 } } - AL_touyun_3 = { - icon = xingdong + icon = xingdong available = { - has_equipment = { - motorized_equipment > 999 - } + has_equipment = { + motorized_equipment > 999 + } dockyard < 199 } visible = { - has_completed_focus = AL_touyun2 + has_completed_focus = AL_touyun2 } days_remove = 239 days_re_enable = 1 fire_only_once = no cost = 50 complete_effect = { - add_equipment_to_stockpile = { type = motorized_equipment amount = -1000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -1000 + } } remove_effect = { random_state = { limit = { - is_controlled_by = SIR - dockyard > 1 + is_controlled_by = SIR + dockyard > 1 } remove_building = { - type = dockyard - level = 2 - } + type = dockyard + level = 2 + } } random_state = { limit = { - is_controlled_by = SR1 - dockyard > 1 + is_controlled_by = SR1 + dockyard > 1 } remove_building = { - type = dockyard - level = 2 - } + type = dockyard + level = 2 + } } random_state = { limit = { - is_controlled_by = SR2 - dockyard > 1 + is_controlled_by = SR2 + dockyard > 1 } remove_building = { - type = dockyard - level = 2 - } + type = dockyard + level = 2 + } } random_state = { limit = { - is_controlled_by = SR3 - dockyard > 1 + is_controlled_by = SR3 + dockyard > 1 } remove_building = { - type = dockyard - level = 2 - } + type = dockyard + level = 2 + } } random_state = { limit = { - is_controlled_by = SR4 - dockyard > 1 + is_controlled_by = SR4 + dockyard > 1 } remove_building = { - type = dockyard - level = 2 - } + type = dockyard + level = 2 + } } random_owned_controlled_state = { limit = { @@ -5447,114 +5194,122 @@ AL_decision_category = { factor = 1 } } - -####################################################### -#######################国际纵队######################## -####################################################### - - + ####################################################### + #######################国际纵队######################## + ####################################################### AL_guojizongdui_fight = { icon = eng_support_imperialist_coup state_target = yes target_root_trigger = { has_country_flag = AL_guojizongdui } - target_trigger = { FROM = { - state_is_important_trigger = yes - not = { is_controlled_by = ROOT } + state_is_important_trigger = yes + not = { + is_controlled_by = ROOT + } } } - available = { ROOT = { - custom_trigger_tooltip = { - tooltip = "没有执行其他地区的进攻计划" - not = { has_country_flag = AL_guojizongdui_fight } - } + custom_trigger_tooltip = { + tooltip = "没有执行其他地区的进攻计划" + not = { + has_country_flag = AL_guojizongdui_fight + } + } } ROOT = { - not = { has_idea = AL_guojizongdui_back } + not = { + has_idea = AL_guojizongdui_back + } } ROOT = { has_equipment = { - infantry_equipment > 3999 - } + infantry_equipment > 3999 + } } ROOT = { has_equipment = { - support_equipment > 599 - } + support_equipment > 599 + } } ROOT = { has_equipment = { - artillery_equipment > 199 - } - } + artillery_equipment > 199 + } + } } - - visible = { FROM = { - state_is_important_trigger = yes - not = { is_controlled_by = ROOT } + state_is_important_trigger = yes + not = { + is_controlled_by = ROOT + } } } - on_map_mode = map_only fire_only_once = no fixed_random_seed = no - cost = 25 + cost = 25 days_remove = 49 - days_re_enable = 1 - complete_effect = { - ROOT = { - set_country_flag = AL_guojizongdui_fight - add_equipment_to_stockpile = { type = infantry_equipment amount = -4000 } - add_equipment_to_stockpile = { type = support_equipment amount = -600 } - add_equipment_to_stockpile = { type = artillery_equipment amount = -200 } + days_re_enable = 1 + complete_effect = { + ROOT = { + set_country_flag = AL_guojizongdui_fight + add_equipment_to_stockpile = { + type = infantry_equipment + amount = -4000 + } + add_equipment_to_stockpile = { + type = support_equipment + amount = -600 + } + add_equipment_to_stockpile = { + type = artillery_equipment + amount = -200 + } } } remove_effect = { - custom_effect_tooltip = AL_guojizongdui_fight_1 + custom_effect_tooltip = AL_guojizongdui_fight_1 clr_country_flag = AL_guojizongdui_fight - - random_list = { - 50 = { - ROOT = { - country_event = AL_event.50 - } - } - 50 = { - ROOT = { - country_event = AL_event.51 - } + random_list = { + 50 = { + ROOT = { + country_event = AL_event.50 } - } - } - - } - - - - AL_guojizongdui_back = { - icon = xingdong - available = { - custom_trigger_tooltip = { - tooltip = "没有执行其他地区的进攻计划" - not = { has_country_flag = AL_guojizongdui_fight } + } + 50 = { + ROOT = { + country_event = AL_event.51 + } + } + } + } + } + AL_guojizongdui_back = { + icon = xingdong + available = { + custom_trigger_tooltip = { + tooltip = "没有执行其他地区的进攻计划" + NOT = { + has_country_flag = AL_guojizongdui_fight + } + } + NOT = { + has_idea = AL_guojizongdui_back } - not = { has_idea = AL_guojizongdui_back } } visible = { - has_completed_focus = AL_guoji + has_completed_focus = AL_guoji } days_remove = 10 days_re_enable = 350 fire_only_once = no cost = 50 - complete_effect = { + complete_effect = { add_timed_idea = { idea = AL_guojizongdui_back days = 360 @@ -5563,6390 +5318,7283 @@ AL_decision_category = { remove_effect = { custom_effect_tooltip = AL_guojizongdui_back_1 hidden_effect = { - AL_guojizongdui_back = yes + AL_guojizongdui_back = yes } } ai_will_do = { factor = 1 } } - - # AL_guojizongdui_up = { - # icon = xingdong - # available = { - # custom_trigger_tooltip = { - # tooltip = "没有执行其他地区的进攻计划" - # not = { has_country_flag = AL_guojizongdui_fight } - # } - # not = { has_idea = AL_guojizongdui_back } - # } - # visible = { - # has_completed_focus = AL_win_coming - # } - # days_remove = 30 - # fire_only_once = yes - # cost = 50 - # complete_effect = { - # - # } - # remove_effect = { - # custom_effect_tooltip = AL_guojizongdui_back_1 - # hidden_effect = { - # AL_guojizongdui_back = yes - # } - # } - # ai_will_do = { - # factor = 1 - # } - # } - - - - - + # AL_guojizongdui_up = { + # icon = xingdong + # available = { + # custom_trigger_tooltip = { + # tooltip = "没有执行其他地区的进攻计划" + # NOT = { has_country_flag = AL_guojizongdui_fight } + # } + # NOT = { has_idea = AL_guojizongdui_back } + # } + # visible = { + # has_completed_focus = AL_win_coming + # } + # days_remove = 30 + # fire_only_once = yes + # cost = 50 + # complete_effect = { + # + # } + # remove_effect = { + # custom_effect_tooltip = AL_guojizongdui_back_1 + # hidden_effect = { + # AL_guojizongdui_back = yes + # } + # } + # ai_will_do = { + # factor = 1 + # } + # } +} -} #################################### # 整合设计商 #################################### AL_zhenghe_category = { - AL_zhenghe_tank_CHY = { icon = AL_tank_CHY - available = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - has_completed_focus = AL_zhenghe2 + has_completed_focus = AL_zhenghe2 } days_remove = zhenghe_tank_CHY_days_remove cost = zhenghe_tank_CHY_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_tank_ongoing + set_country_flag = AL_zhenghe_tank_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_tank_ongoing + clr_country_flag = AL_zhenghe_tank_ongoing custom_effect_tooltip = AL_zhenghe_tank_CHY_1 set_country_flag = AL_zhenghe_tank_CHY - add_to_variable = { AL_zhenghe_tank = 1 } - AL_modifier_reset = yes + add_to_variable = { + AL_zhenghe_tank = 1 + } + AL_modifier_reset = yes #效果 - add_to_variable = { AL_reliability = 0.10 } - + add_to_variable = { + AL_reliability = 0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_tank_HUJ = { icon = AL_tank_HUJ - available = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - has_completed_focus = AL_zhenghe2 + has_completed_focus = AL_zhenghe2 } days_remove = zhenghe_tank_HUJ_days_remove cost = zhenghe_tank_HUJ_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_tank_ongoing + set_country_flag = AL_zhenghe_tank_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_tank_ongoing + clr_country_flag = AL_zhenghe_tank_ongoing custom_effect_tooltip = AL_zhenghe_tank_HUJ_1 set_country_flag = AL_zhenghe_tank_HUJ - add_to_variable = { AL_zhenghe_tank = 1 } + add_to_variable = { + AL_zhenghe_tank = 1 + } AL_modifier_reset = yes #效果 - add_to_variable = { AL_ap_attack = 0.10 } - - + add_to_variable = { + AL_ap_attack = 0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_tank_BYG = { icon = AL_tank_BYG - available = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - has_completed_focus = AL_zhenghe2 + has_completed_focus = AL_zhenghe2 } days_remove = zhenghe_tank_BYG_days_remove cost = zhenghe_tank_BYG_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_tank_ongoing + set_country_flag = AL_zhenghe_tank_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_tank_ongoing + clr_country_flag = AL_zhenghe_tank_ongoing custom_effect_tooltip = AL_zhenghe_tank_BYG_1 set_country_flag = AL_zhenghe_tank_BYG - add_to_variable = { AL_zhenghe_tank = 1 } + add_to_variable = { + AL_zhenghe_tank = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_soft_attack = 0.15 } - + add_to_variable = { + AL_soft_attack = 0.15 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_tank_YUW = { icon = AL_tank_YUW - available = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - has_completed_focus = AL_zhenghe2 + has_completed_focus = AL_zhenghe2 } days_remove = zhenghe_tank_YUW_days_remove cost = zhenghe_tank_YUW_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_tank_ongoing + set_country_flag = AL_zhenghe_tank_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_tank_ongoing + clr_country_flag = AL_zhenghe_tank_ongoing custom_effect_tooltip = AL_zhenghe_tank_YUW_1 set_country_flag = AL_zhenghe_tank_YUW - add_to_variable = { AL_zhenghe_tank = 1 } + add_to_variable = { + AL_zhenghe_tank = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_armor_value = 0.10 } - + add_to_variable = { + AL_armor_value = 0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_tank_TIX = { icon = AL_tank_TIX - available = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - has_completed_focus = AL_zhenghe2 + has_completed_focus = AL_zhenghe2 } days_remove = zhenghe_tank_TIX_days_remove cost = zhenghe_tank_TIX_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_tank_ongoing + set_country_flag = AL_zhenghe_tank_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_tank_ongoing + clr_country_flag = AL_zhenghe_tank_ongoing custom_effect_tooltip = AL_zhenghe_tank_TIX_1 set_country_flag = AL_zhenghe_tank_TIX - add_to_variable = { AL_zhenghe_tank = 1 } + add_to_variable = { + AL_zhenghe_tank = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_maximum_speed = 0.10 } - + add_to_variable = { + AL_maximum_speed = 0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_tank_BFL = { icon = AL_tank_BFL - available = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - has_completed_focus = AL_zhenghe2 + has_completed_focus = AL_zhenghe2 } days_remove = zhenghe_tank_BFL_days_remove cost = zhenghe_tank_BFL_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_tank_ongoing + set_country_flag = AL_zhenghe_tank_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_tank_ongoing + clr_country_flag = AL_zhenghe_tank_ongoing custom_effect_tooltip = AL_zhenghe_tank_BFL_1 set_country_flag = AL_zhenghe_tank_BFL - add_to_variable = { AL_zhenghe_tank = 1 } + add_to_variable = { + AL_zhenghe_tank = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_armor_build_cost_ic = -0.10 } - + add_to_variable = { + AL_armor_build_cost_ic = -0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_tank_DOH = { icon = AL_tank_DOH - available = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - has_completed_focus = AL_zhenghe2 + has_completed_focus = AL_zhenghe2 } days_remove = zhenghe_tank_DOH_days_remove cost = zhenghe_tank_DOH_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_tank_ongoing + set_country_flag = AL_zhenghe_tank_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_tank_ongoing + clr_country_flag = AL_zhenghe_tank_ongoing custom_effect_tooltip = AL_zhenghe_tank_DOH_1 set_country_flag = AL_zhenghe_tank_DOH - add_to_variable = { AL_zhenghe_tank = 1 } + add_to_variable = { + AL_zhenghe_tank = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_reliability = 0.05 } - + add_to_variable = { + AL_reliability = 0.05 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_tank_SAD = { icon = AL_tank_SAD - available = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他坦克制造商正在整合" - not = { - has_country_flag = AL_zhenghe_tank_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他坦克制造商正在整合" + not = { + has_country_flag = AL_zhenghe_tank_ongoing + } } - } - has_completed_focus = AL_zhenghe2 + has_completed_focus = AL_zhenghe2 } days_remove = zhenghe_tank_SAD_days_remove cost = zhenghe_tank_SAD_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_tank_ongoing + set_country_flag = AL_zhenghe_tank_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_tank_ongoing + clr_country_flag = AL_zhenghe_tank_ongoing custom_effect_tooltip = AL_zhenghe_tank_SAD_1 set_country_flag = AL_zhenghe_tank_SAD - add_to_variable = { AL_zhenghe_tank = 1 } + add_to_variable = { + AL_zhenghe_tank = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_hard_attack = 0.05 } - + add_to_variable = { + AL_hard_attack = 0.05 + } } ai_will_do = { factor = 1 } } - - - - - - - AL_zhenghe_ship_CHY = { - icon = AL_ship_CHY - + icon = AL_ship_CHY available = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - has_completed_focus = AL_zhenghe5 + has_completed_focus = AL_zhenghe5 } days_remove = zhenghe_ship_CHY_days_remove cost = zhenghe_ship_CHY_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_ship_ongoing + set_country_flag = AL_zhenghe_ship_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_ship_ongoing + clr_country_flag = AL_zhenghe_ship_ongoing custom_effect_tooltip = AL_zhenghe_ship_CHY_1 set_country_flag = AL_zhenghe_ship_CHY - add_to_variable = { AL_zhenghe_ship = 1 } - AL_modifier_reset = yes - - #效果 - add_to_variable = { AL_navy_fuel_consumption_factor = -0.10 } - add_to_variable = { AL_experience_gain_navy_factor = 0.3 } - + add_to_variable = { + AL_zhenghe_ship = 1 + } + AL_modifier_reset = yes + #效果 + add_to_variable = { + AL_navy_fuel_consumption_factor = -0.1 + } + add_to_variable = { + AL_experience_gain_navy_factor = 0.3 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_ship_HUJ = { icon = AL_ship_HUJ - available = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - has_completed_focus = AL_zhenghe5 + has_completed_focus = AL_zhenghe5 } days_remove = zhenghe_ship_HUJ_days_remove cost = zhenghe_ship_HUJ_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_ship_ongoing + set_country_flag = AL_zhenghe_ship_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_ship_ongoing + clr_country_flag = AL_zhenghe_ship_ongoing custom_effect_tooltip = AL_zhenghe_ship_HUJ_1 set_country_flag = AL_zhenghe_ship_HUJ - add_to_variable = { AL_zhenghe_ship = 1 } + add_to_variable = { + AL_zhenghe_ship = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_naval_coordination = 0.05 } - + add_to_variable = { + AL_naval_coordination = 0.05 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_ship_BYG = { - icon = AL_ship_BYG - + icon = AL_ship_BYG available = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - has_completed_focus = AL_zhenghe5 + has_completed_focus = AL_zhenghe5 } days_remove = zhenghe_ship_BYG_days_remove cost = zhenghe_ship_BYG_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_ship_ongoing + set_country_flag = AL_zhenghe_ship_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_ship_ongoing + clr_country_flag = AL_zhenghe_ship_ongoing custom_effect_tooltip = AL_zhenghe_ship_BYG_1 set_country_flag = AL_zhenghe_ship_BYG - add_to_variable = { AL_zhenghe_ship = 1 } + add_to_variable = { + AL_zhenghe_ship = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_carrier_build_cost_ic = -0.10 } - add_to_variable = { AL_navy_max_range_factor = 0.10 } - + add_to_variable = { + AL_carrier_build_cost_ic = -0.1 + } + add_to_variable = { + AL_navy_max_range_factor = 0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_ship_YUW = { - icon = AL_ship_YUW - + icon = AL_ship_YUW available = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - has_completed_focus = AL_zhenghe5 + has_completed_focus = AL_zhenghe5 } days_remove = zhenghe_ship_YUW_days_remove cost = zhenghe_ship_YUW_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_ship_ongoing + set_country_flag = AL_zhenghe_ship_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_ship_ongoing + clr_country_flag = AL_zhenghe_ship_ongoing custom_effect_tooltip = AL_zhenghe_ship_YUW_1 set_country_flag = AL_zhenghe_ship_YUW - add_to_variable = { AL_zhenghe_ship = 1 } + add_to_variable = { + AL_zhenghe_ship = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_heavy_build_cost_ic = -0.10 } - + add_to_variable = { + AL_heavy_build_cost_ic = -0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_ship_TIX = { icon = AL_ship_TIX - available = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - has_completed_focus = AL_zhenghe5 + has_completed_focus = AL_zhenghe5 } days_remove = zhenghe_ship_TIX_days_remove cost = zhenghe_ship_TIX_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_ship_ongoing + set_country_flag = AL_zhenghe_ship_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_ship_ongoing + clr_country_flag = AL_zhenghe_ship_ongoing custom_effect_tooltip = AL_zhenghe_ship_TIX_1 set_country_flag = AL_zhenghe_ship_TIX - add_to_variable = { AL_zhenghe_ship = 1 } + add_to_variable = { + AL_zhenghe_ship = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_submarine_build_cost_ic = -0.15 } - + add_to_variable = { + AL_submarine_build_cost_ic = -0.15 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_ship_BFL = { - icon = AL_ship_BFL - + icon = AL_ship_BFL available = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - has_completed_focus = AL_zhenghe5 + has_completed_focus = AL_zhenghe5 } days_remove = zhenghe_ship_BFL_days_remove cost = zhenghe_ship_BFL_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_ship_ongoing + set_country_flag = AL_zhenghe_ship_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_ship_ongoing + clr_country_flag = AL_zhenghe_ship_ongoing custom_effect_tooltip = AL_zhenghe_ship_BFL_1 set_country_flag = AL_zhenghe_ship_BFL - add_to_variable = { AL_zhenghe_ship = 1 } + add_to_variable = { + AL_zhenghe_ship = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_industrial_capacity_dockyard = 0.25 } - + add_to_variable = { + AL_industrial_capacity_dockyard = 0.25 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_ship_DOH = { - icon = AL_ship_DOH - + icon = AL_ship_DOH available = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - has_completed_focus = AL_zhenghe5 + has_completed_focus = AL_zhenghe5 } days_remove = zhenghe_ship_DOH_days_remove cost = zhenghe_ship_DOH_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_ship_ongoing + set_country_flag = AL_zhenghe_ship_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_ship_ongoing + clr_country_flag = AL_zhenghe_ship_ongoing custom_effect_tooltip = AL_zhenghe_ship_DOH_1 set_country_flag = AL_zhenghe_ship_DOH - add_to_variable = { AL_zhenghe_ship = 1 } + add_to_variable = { + AL_zhenghe_ship = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_light_build_cost_ic = -0.1 } + add_to_variable = { + AL_light_build_cost_ic = -0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_ship_SAD = { - icon = AL_ship_SAD - + icon = AL_ship_SAD available = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他舰船制造商正在整合" - not = { - has_country_flag = AL_zhenghe_ship_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他舰船制造商正在整合" + not = { + has_country_flag = AL_zhenghe_ship_ongoing + } } - } - has_completed_focus = AL_zhenghe5 + has_completed_focus = AL_zhenghe5 } days_remove = zhenghe_ship_SAD_days_remove cost = zhenghe_ship_SAD_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_ship_ongoing + set_country_flag = AL_zhenghe_ship_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_ship_ongoing + clr_country_flag = AL_zhenghe_ship_ongoing custom_effect_tooltip = AL_zhenghe_ship_SAD_1 set_country_flag = AL_zhenghe_ship_SAD - add_to_variable = { AL_zhenghe_ship = 1 } + add_to_variable = { + AL_zhenghe_ship = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_cruiser_build_cost_ic = -0.1 } + add_to_variable = { + AL_cruiser_build_cost_ic = -0.1 + } } ai_will_do = { factor = 1 } } - - - - - AL_zhenghe_plane_CHY = { icon = AL_plane_CHY - available = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - has_completed_focus = AL_zhenghe4 + has_completed_focus = AL_zhenghe4 } days_remove = zhenghe_plane_CHY_days_remove cost = zhenghe_plane_CHY_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_plane_ongoing + set_country_flag = AL_zhenghe_plane_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_plane_ongoing + clr_country_flag = AL_zhenghe_plane_ongoing custom_effect_tooltip = AL_zhenghe_plane_CHY_1 set_country_flag = AL_zhenghe_plane_CHY - add_to_variable = { AL_zhenghe_plane = 1 } - AL_modifier_reset = yes - + add_to_variable = { + AL_zhenghe_plane = 1 + } + AL_modifier_reset = yes #效果 - add_to_variable = { AL_fighter_build_cost_ic = -0.05 } - add_to_variable = { AL_cv_fighter_build_cost_ic = -0.05 } - add_to_variable = { AL_CAS_build_cost_ic = -0.05 } + add_to_variable = { + AL_fighter_build_cost_ic = -0.05 + } + add_to_variable = { + AL_cv_fighter_build_cost_ic = -0.05 + } + add_to_variable = { + AL_CAS_build_cost_ic = -0.05 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_plane_HUJ = { icon = AL_plane_HUJ - available = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - has_completed_focus = AL_zhenghe4 + has_completed_focus = AL_zhenghe4 } days_remove = zhenghe_plane_HUJ_days_remove cost = zhenghe_plane_HUJ_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_plane_ongoing + set_country_flag = AL_zhenghe_plane_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_plane_ongoing + clr_country_flag = AL_zhenghe_plane_ongoing custom_effect_tooltip = AL_zhenghe_plane_HUJ_1 set_country_flag = AL_zhenghe_plane_HUJ - add_to_variable = { AL_zhenghe_plane = 1 } + add_to_variable = { + AL_zhenghe_plane = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_heavy_fighter_build_cost_ic = -0.1 } - add_to_variable = { AL_heavy_fighter_reliability = 0.05 } - add_to_variable = { AL_strat_bomber_build_cost_ic = -0.1 } - add_to_variable = { AL_tac_bomber_build_cost_ic = -0.1 } - add_to_variable = { AL_tac_bomber_reliability = 0.05 } + add_to_variable = { + AL_heavy_fighter_build_cost_ic = -0.1 + } + add_to_variable = { + AL_heavy_fighter_reliability = 0.05 + } + add_to_variable = { + AL_strat_bomber_build_cost_ic = -0.1 + } + add_to_variable = { + AL_tac_bomber_build_cost_ic = -0.1 + } + add_to_variable = { + AL_tac_bomber_reliability = 0.05 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_plane_BYG = { icon = AL_plane_BYG - available = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - has_completed_focus = AL_zhenghe4 + has_completed_focus = AL_zhenghe4 } days_remove = zhenghe_plane_BYG_days_remove cost = zhenghe_plane_BYG_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_plane_ongoing + set_country_flag = AL_zhenghe_plane_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_plane_ongoing + clr_country_flag = AL_zhenghe_plane_ongoing custom_effect_tooltip = AL_zhenghe_plane_BYG_1 set_country_flag = AL_zhenghe_plane_BYG - add_to_variable = { AL_zhenghe_plane = 1 } + add_to_variable = { + AL_zhenghe_plane = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_air_range_factor = 0.15 } + add_to_variable = { + AL_air_range_factor = 0.15 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_plane_YUW = { icon = AL_plane_YUW - available = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - has_completed_focus = AL_zhenghe4 + has_completed_focus = AL_zhenghe4 } days_remove = zhenghe_plane_YUW_days_remove cost = zhenghe_plane_YUW_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_plane_ongoing + set_country_flag = AL_zhenghe_plane_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_plane_ongoing + clr_country_flag = AL_zhenghe_plane_ongoing custom_effect_tooltip = AL_zhenghe_plane_YUW_1 set_country_flag = AL_zhenghe_plane_YUW - add_to_variable = { AL_zhenghe_plane = 1 } + add_to_variable = { + AL_zhenghe_plane = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_army_bonus_air_superiority_factor = 0.1 } + add_to_variable = { + AL_army_bonus_air_superiority_factor = 0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_plane_TIX = { icon = AL_plane_TIX - available = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - has_completed_focus = AL_zhenghe4 + has_completed_focus = AL_zhenghe4 } days_remove = zhenghe_plane_TIX_days_remove cost = zhenghe_plane_TIX_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_plane_ongoing + set_country_flag = AL_zhenghe_plane_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_plane_ongoing + clr_country_flag = AL_zhenghe_plane_ongoing custom_effect_tooltip = AL_zhenghe_plane_TIX_1 set_country_flag = AL_zhenghe_plane_TIX - add_to_variable = { AL_zhenghe_plane = 1 } + add_to_variable = { + AL_zhenghe_plane = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_fighter_reliability = 0.1 } - add_to_variable = { AL_strat_bomber_reliability = 0.1 } - add_to_variable = { AL_CAS_reliability = 0.1 } + add_to_variable = { + AL_fighter_reliability = 0.1 + } + add_to_variable = { + AL_strat_bomber_reliability = 0.1 + } + add_to_variable = { + AL_CAS_reliability = 0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_plane_BFL = { icon = AL_plane_BFL - available = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - has_completed_focus = AL_zhenghe4 + has_completed_focus = AL_zhenghe4 } days_remove = zhenghe_plane_BFL_days_remove cost = zhenghe_plane_BFL_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_plane_ongoing + set_country_flag = AL_zhenghe_plane_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_plane_ongoing + clr_country_flag = AL_zhenghe_plane_ongoing custom_effect_tooltip = AL_zhenghe_plane_BFL_1 set_country_flag = AL_zhenghe_plane_BFL - add_to_variable = { AL_zhenghe_plane = 1 } + add_to_variable = { + AL_zhenghe_plane = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_air_weather_penalty = -0.2 } + add_to_variable = { + AL_air_weather_penalty = -0.2 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_plane_DOH = { icon = AL_plane_DOH - available = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - not = { - has_country_flag = AL_zhenghe_plane_ongoing - } - has_completed_focus = AL_zhenghe4 + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } + has_completed_focus = AL_zhenghe4 } days_remove = zhenghe_plane_DOH_days_remove cost = zhenghe_plane_DOH_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_plane_ongoing + set_country_flag = AL_zhenghe_plane_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_plane_ongoing + clr_country_flag = AL_zhenghe_plane_ongoing custom_effect_tooltip = AL_zhenghe_plane_DOH_1 set_country_flag = AL_zhenghe_plane_DOH - add_to_variable = { AL_zhenghe_plane = 1 } + add_to_variable = { + AL_zhenghe_plane = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_experience_gain_air_factor = 0.25 } + add_to_variable = { + AL_experience_gain_air_factor = 0.25 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_plane_SAD = { icon = AL_plane_SAD - available = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他飞机制造商正在整合" - not = { - has_country_flag = AL_zhenghe_plane_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他飞机制造商正在整合" + not = { + has_country_flag = AL_zhenghe_plane_ongoing + } } - } - has_completed_focus = AL_zhenghe4 + has_completed_focus = AL_zhenghe4 } days_remove = zhenghe_plane_SAD_days_remove cost = zhenghe_plane_SAD_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_plane_ongoing + set_country_flag = AL_zhenghe_plane_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_plane_ongoing + clr_country_flag = AL_zhenghe_plane_ongoing custom_effect_tooltip = AL_zhenghe_plane_SAD_1 set_country_flag = AL_zhenghe_plane_SAD - add_to_variable = { AL_zhenghe_plane = 1 } + add_to_variable = { + AL_zhenghe_plane = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_air_mission_efficiency = 0.15 } + add_to_variable = { + AL_air_mission_efficiency = 0.15 + } } ai_will_do = { factor = 1 } } - - - - - AL_zhenghe_junxu_CHY = { icon = AL_junxu_CHY - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - has_completed_focus = AL_zhenghe3 + has_completed_focus = AL_zhenghe3 } days_remove = zhenghe_junxu_CHY_days_remove cost = zhenghe_junxu_CHY_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_junxu_ongoing + set_country_flag = AL_zhenghe_junxu_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_junxu_ongoing + clr_country_flag = AL_zhenghe_junxu_ongoing custom_effect_tooltip = AL_zhenghe_junxu_CHY_1 set_country_flag = AL_zhenghe_junxu_CHY - add_to_variable = { AL_zhenghe_junxu = 1 } - AL_modifier_reset = yes - - #效果 - add_to_variable = { AL_experience_gain_army_factor = 0.25 } + add_to_variable = { + AL_zhenghe_junxu = 1 + } + AL_modifier_reset = yes + #效果 + add_to_variable = { + AL_experience_gain_army_factor = 0.25 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_junxu_HUJ = { icon = AL_junxu_HUJ - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - has_completed_focus = AL_zhenghe3 + has_completed_focus = AL_zhenghe3 } days_remove = zhenghe_junxu_HUJ_days_remove cost = zhenghe_junxu_HUJ_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_junxu_ongoing + set_country_flag = AL_zhenghe_junxu_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_junxu_ongoing + clr_country_flag = AL_zhenghe_junxu_ongoing custom_effect_tooltip = AL_zhenghe_junxu_HUJ_1 set_country_flag = AL_zhenghe_junxu_HUJ - add_to_variable = { AL_zhenghe_junxu = 1 } + add_to_variable = { + AL_zhenghe_junxu = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_infantry_reliability = 0.05 } - add_to_variable = { AL_artillery_reliability = 0.05 } + add_to_variable = { + AL_infantry_reliability = 0.05 + } + add_to_variable = { + AL_artillery_reliability = 0.05 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_junxu_BYG = { icon = AL_junxu_BYG - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - has_completed_focus = AL_zhenghe3 + has_completed_focus = AL_zhenghe3 } days_remove = zhenghe_junxu_BYG_days_remove cost = zhenghe_junxu_BYG_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_junxu_ongoing + set_country_flag = AL_zhenghe_junxu_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_junxu_ongoing + clr_country_flag = AL_zhenghe_junxu_ongoing custom_effect_tooltip = AL_zhenghe_junxu_BYG_1 set_country_flag = AL_zhenghe_junxu_BYG - add_to_variable = { AL_zhenghe_junxu = 1 } + add_to_variable = { + AL_zhenghe_junxu = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_artillery_build_cost_ic = -0.05 } - add_to_variable = { AL_artillery_soft_attack = 0.05 } + add_to_variable = { + AL_artillery_build_cost_ic = -0.05 + } + add_to_variable = { + AL_artillery_soft_attack = 0.05 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_junxu_YUW = { icon = AL_junxu_YUW - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - has_completed_focus = AL_zhenghe3 + has_completed_focus = AL_zhenghe3 } days_remove = zhenghe_junxu_YUW_days_remove cost = zhenghe_junxu_YUW_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_junxu_ongoing + set_country_flag = AL_zhenghe_junxu_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_junxu_ongoing + clr_country_flag = AL_zhenghe_junxu_ongoing custom_effect_tooltip = AL_zhenghe_junxu_YUW_1 set_country_flag = AL_zhenghe_junxu_YUW - add_to_variable = { AL_zhenghe_junxu = 1 } + add_to_variable = { + AL_zhenghe_junxu = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_infantry_soft_attack = 0.1 } + add_to_variable = { + AL_infantry_soft_attack = 0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_junxu_TIX = { icon = AL_junxu_TIX - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - has_completed_focus = AL_zhenghe3 + has_completed_focus = AL_zhenghe3 } days_remove = zhenghe_junxu_TIX_days_remove cost = zhenghe_junxu_TIX_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_junxu_ongoing + set_country_flag = AL_zhenghe_junxu_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_junxu_ongoing + clr_country_flag = AL_zhenghe_junxu_ongoing custom_effect_tooltip = AL_zhenghe_junxu_TIX_1 set_country_flag = AL_zhenghe_junxu_TIX - add_to_variable = { AL_zhenghe_junxu = 1 } + add_to_variable = { + AL_zhenghe_junxu = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_motorized_build_cost_ic = -0.05 } - add_to_variable = { AL_motorized_maximum_speed = 0.05 } + add_to_variable = { + AL_motorized_build_cost_ic = -0.05 + } + add_to_variable = { + AL_motorized_maximum_speed = 0.05 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_junxu_BFL = { icon = AL_junxu_BFL - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - has_completed_focus = AL_zhenghe3 + has_completed_focus = AL_zhenghe3 } days_remove = zhenghe_junxu_BFL_days_remove cost = zhenghe_junxu_BFL_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_junxu_ongoing + set_country_flag = AL_zhenghe_junxu_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_junxu_ongoing + clr_country_flag = AL_zhenghe_junxu_ongoing custom_effect_tooltip = AL_zhenghe_junxu_BFL_1 set_country_flag = AL_zhenghe_junxu_BFL - add_to_variable = { AL_zhenghe_junxu = 1 } + add_to_variable = { + AL_zhenghe_junxu = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_mot_build_cost_ic = -0.1 } - add_to_variable = { AL_mot_soft_attack = 0.05 } + add_to_variable = { + AL_mot_build_cost_ic = -0.1 + } + add_to_variable = { + AL_mot_soft_attack = 0.05 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_junxu_DOH = { icon = AL_junxu_DOH - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - has_completed_focus = AL_zhenghe3 + has_completed_focus = AL_zhenghe3 } days_remove = zhenghe_junxu_DOH_days_remove cost = zhenghe_junxu_DOH_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_junxu_ongoing + set_country_flag = AL_zhenghe_junxu_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_junxu_ongoing + clr_country_flag = AL_zhenghe_junxu_ongoing custom_effect_tooltip = AL_zhenghe_junxu_DOH_1 set_country_flag = AL_zhenghe_junxu_DOH - add_to_variable = { AL_zhenghe_junxu = 1 } + add_to_variable = { + AL_zhenghe_junxu = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_infantry_build_cost_ic = -0.15 } + add_to_variable = { + AL_infantry_build_cost_ic = -0.15 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_junxu_SAD = { icon = AL_junxu_SAD - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他军需制造商正在整合" - not = { - has_country_flag = AL_zhenghe_junxu_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军需制造商正在整合" + not = { + has_country_flag = AL_zhenghe_junxu_ongoing + } } - } - has_completed_focus = AL_zhenghe3 + has_completed_focus = AL_zhenghe3 } days_remove = zhenghe_junxu_SAD_days_remove cost = zhenghe_junxu_SAD_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_junxu_ongoing + set_country_flag = AL_zhenghe_junxu_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_junxu_ongoing + clr_country_flag = AL_zhenghe_junxu_ongoing custom_effect_tooltip = AL_zhenghe_junxu_SAD_1 set_country_flag = AL_zhenghe_junxu_SAD - add_to_variable = { AL_zhenghe_junxu = 1 } + add_to_variable = { + AL_zhenghe_junxu = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_motorized_reliability = 0.05 } - add_to_variable = { AL_motorized_build_cost_ic = -0.05 } + add_to_variable = { + AL_motorized_reliability = 0.05 + } + add_to_variable = { + AL_motorized_build_cost_ic = -0.05 + } } ai_will_do = { factor = 1 } } - - - - - AL_zhenghe_gongye_CHY = { icon = AL_gongye_CHY - available = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - has_completed_focus = AL_zhenghe1 + has_completed_focus = AL_zhenghe1 } days_remove = zhenghe_gongye_CHY_days_remove cost = zhenghe_gongye_CHY_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_gongye_ongoing + set_country_flag = AL_zhenghe_gongye_ongoing } - remove_effect = { - clr_country_flag = AL_zhenghe_gongye_ongoing + remove_effect = { + clr_country_flag = AL_zhenghe_gongye_ongoing custom_effect_tooltip = AL_zhenghe_gongye_CHY_1 set_country_flag = AL_zhenghe_gongye_CHY - add_to_variable = { AL_zhenghe_gongye = 1 } - AL_modifier_reset = yes - - #效果 - add_to_variable = { AL_economy_cost_factor = -0.75 } + add_to_variable = { + AL_zhenghe_gongye = 1 + } + AL_modifier_reset = yes + #效果 + add_to_variable = { + AL_economy_cost_factor = -0.75 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_gongye_HUJ = { icon = AL_gongye_HUJ - available = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - has_completed_focus = AL_zhenghe1 + has_completed_focus = AL_zhenghe1 } days_remove = zhenghe_gongye_HUJ_days_remove cost = zhenghe_gongye_HUJ_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_gongye_ongoing + set_country_flag = AL_zhenghe_gongye_ongoing } - remove_effect = { - clr_country_flag = AL_zhenghe_gongye_ongoing + remove_effect = { + clr_country_flag = AL_zhenghe_gongye_ongoing custom_effect_tooltip = AL_zhenghe_gongye_HUJ_1 set_country_flag = AL_zhenghe_gongye_HUJ - add_to_variable = { AL_zhenghe_gongye = 1 } + add_to_variable = { + AL_zhenghe_gongye = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_production_speed_coastal_bunker_factor = 0.5 } + add_to_variable = { + AL_production_speed_coastal_bunker_factor = 0.5 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_gongye_BYG = { icon = AL_gongye_BYG - available = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - has_completed_focus = AL_zhenghe1 + has_completed_focus = AL_zhenghe1 } days_remove = zhenghe_gongye_BYG_days_remove cost = zhenghe_gongye_BYG_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_gongye_ongoing + set_country_flag = AL_zhenghe_gongye_ongoing } - remove_effect = { - clr_country_flag = AL_zhenghe_gongye_ongoing + remove_effect = { + clr_country_flag = AL_zhenghe_gongye_ongoing custom_effect_tooltip = AL_zhenghe_gongye_BYG_1 set_country_flag = AL_zhenghe_gongye_BYG - add_to_variable = { AL_zhenghe_gongye = 1 } + add_to_variable = { + AL_zhenghe_gongye = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_production_speed_industrial_complex_factor = 0.15 } + add_to_variable = { + AL_production_speed_industrial_complex_factor = 0.15 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_gongye_YUW = { icon = AL_gongye_YUW - available = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - has_completed_focus = AL_zhenghe1 + has_completed_focus = AL_zhenghe1 } days_remove = zhenghe_gongye_YUW_days_remove cost = zhenghe_gongye_YUW_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_gongye_ongoing + set_country_flag = AL_zhenghe_gongye_ongoing } - remove_effect = { - clr_country_flag = AL_zhenghe_gongye_ongoing + remove_effect = { + clr_country_flag = AL_zhenghe_gongye_ongoing custom_effect_tooltip = AL_zhenghe_gongye_YUW_1 set_country_flag = AL_zhenghe_gongye_YUW - add_to_variable = { AL_zhenghe_gongye = 1 } + add_to_variable = { + AL_zhenghe_gongye = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_production_speed_bunker_factor = 0.5 } + add_to_variable = { + AL_production_speed_bunker_factor = 0.5 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_gongye_TIX = { icon = AL_gongye_TIX - available = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - has_completed_focus = AL_zhenghe1 + has_completed_focus = AL_zhenghe1 } days_remove = zhenghe_gongye_TIX_days_remove cost = zhenghe_gongye_TIX_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_gongye_ongoing + set_country_flag = AL_zhenghe_gongye_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_gongye_ongoing + clr_country_flag = AL_zhenghe_gongye_ongoing custom_effect_tooltip = AL_zhenghe_gongye_TIX_1 set_country_flag = AL_zhenghe_gongye_TIX - add_to_variable = { AL_zhenghe_gongye = 1 } + add_to_variable = { + AL_zhenghe_gongye = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_industrial_capacity_factory = 0.1 } - add_to_variable = { AL_production_factory_start_efficiency_factor = 0.1 } + add_to_variable = { + AL_industrial_capacity_factory = 0.1 + } + add_to_variable = { + AL_production_factory_start_efficiency_factor = 0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_gongye_BFL = { icon = AL_gongye_BFL - available = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - has_completed_focus = AL_zhenghe1 + has_completed_focus = AL_zhenghe1 } days_remove = zhenghe_gongye_BFL_days_remove cost = zhenghe_gongye_BFL_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_gongye_ongoing + set_country_flag = AL_zhenghe_gongye_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_gongye_ongoing + clr_country_flag = AL_zhenghe_gongye_ongoing custom_effect_tooltip = AL_zhenghe_gongye_BFL_1 set_country_flag = AL_zhenghe_gongye_BFL - add_to_variable = { AL_zhenghe_gongye = 1 } + add_to_variable = { + AL_zhenghe_gongye = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_production_factory_efficiency_gain_factor = 0.1 } - add_to_variable = { AL_industrial_capacity_factory = 0.1 } + add_to_variable = { + AL_production_factory_efficiency_gain_factor = 0.1 + } + add_to_variable = { + AL_industrial_capacity_factory = 0.1 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_gongye_DOH = { icon = AL_gongye_DOH - available = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - has_completed_focus = AL_zhenghe1 + has_completed_focus = AL_zhenghe1 } days_remove = zhenghe_gongye_DOH_days_remove cost = zhenghe_gongye_DOH_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_gongye_ongoing + set_country_flag = AL_zhenghe_gongye_ongoing } - remove_effect = { - clr_country_flag = AL_zhenghe_gongye_ongoing + remove_effect = { + clr_country_flag = AL_zhenghe_gongye_ongoing custom_effect_tooltip = AL_zhenghe_gongye_DOH_1 set_country_flag = AL_zhenghe_gongye_DOH - add_to_variable = { AL_zhenghe_gongye = 1 } + add_to_variable = { + AL_zhenghe_gongye = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_production_lack_of_resource_penalty_factor = -0.6 } + add_to_variable = { + AL_production_lack_of_resource_penalty_factor = -0.6 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_gongye_SAD = { icon = AL_gongye_SAD - available = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - num_of_civilian_factories_available_for_projects > 4 + num_of_civilian_factories_available_for_projects > 4 } visible = { - custom_trigger_tooltip = { - tooltip = "没有其他工业设计商正在整合" - not = { - has_country_flag = AL_zhenghe_gongye_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他工业设计商正在整合" + not = { + has_country_flag = AL_zhenghe_gongye_ongoing + } } - } - has_completed_focus = AL_zhenghe1 + has_completed_focus = AL_zhenghe1 } days_remove = zhenghe_gongye_SAD_days_remove cost = zhenghe_gongye_SAD_cost - fire_only_once = yes + fire_only_once = yes modifier = { civilian_factory_use = 5 } complete_effect = { - set_country_flag = AL_zhenghe_gongye_ongoing + set_country_flag = AL_zhenghe_gongye_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_gongye_ongoing + clr_country_flag = AL_zhenghe_gongye_ongoing custom_effect_tooltip = AL_zhenghe_gongye_SAD_1 set_country_flag = AL_zhenghe_gongye_SAD - add_to_variable = { AL_zhenghe_gongye = 1 } + add_to_variable = { + AL_zhenghe_gongye = 1 + } AL_modifier_reset = yes - #效果 - add_to_variable = { AL_consumer_goods_factor = -0.05 } + add_to_variable = { + AL_consumer_goods_factor = -0.05 + } } ai_will_do = { factor = 1 } } - AL_zhenghe_jundui_SAD = { icon = generic_army_support - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军队正在整合" - not = { - has_country_flag = AL_zhenghe_jundui_ongoing + custom_trigger_tooltip = { + tooltip = "没有其他军队正在整合" + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } } - } } visible = { - not = { - has_country_flag = AL_zhenghe_jundui_ongoing + not = { + has_country_flag = AL_zhenghe_jundui_ongoing } - has_country_flag = AL_lianhejun + has_country_flag = AL_lianhejun } days_remove = zhenghe_jundui_SAD_days_remove cost = zhenghe_jundui_SAD_cost - fire_only_once = yes - modifier = { - war_support_weekly = -0.005 - stability_weekly = -0.005 - } - complete_effect = { - set_country_flag = AL_zhenghe_jundui_ongoing - } - remove_effect = { - clr_country_flag = AL_zhenghe_jundui_ongoing - AL_lianhejun_up = yes - } - ai_will_do = { - factor = 1 - } - } - - AL_zhenghe_jundui_BYG = { - icon = generic_army_support - - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军队正在整合" - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - } - } - visible = { - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - has_country_flag = AL_lianhejun - } - days_remove = zhenghe_jundui_BYG_days_remove - cost = zhenghe_jundui_BYG_cost - fire_only_once = yes - modifier = { - war_support_weekly = -0.005 - stability_weekly = -0.005 - } - complete_effect = { - set_country_flag = AL_zhenghe_jundui_ongoing - } - remove_effect = { - clr_country_flag = AL_zhenghe_jundui_ongoing - AL_lianhejun_up = yes - } - ai_will_do = { - factor = 1 - } - } - - AL_zhenghe_jundui_CHY = { - icon = generic_army_support - - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军队正在整合" - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - } - } - visible = { - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - has_country_flag = AL_lianhejun - } - days_remove = zhenghe_jundui_CHY_days_remove - cost = zhenghe_jundui_CHY_cost - fire_only_once = yes - modifier = { - war_support_weekly = -0.005 - stability_weekly = -0.005 - } - complete_effect = { - set_country_flag = AL_zhenghe_jundui_ongoing - } - remove_effect = { - clr_country_flag = AL_zhenghe_jundui_ongoing - AL_lianhejun_up = yes - } - ai_will_do = { - factor = 1 - } - } - - AL_zhenghe_jundui_YUW = { - icon = generic_army_support - - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军队正在整合" - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - } - } - visible = { - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - has_country_flag = AL_lianhejun - } - days_remove = zhenghe_jundui_YUW_days_remove - cost = zhenghe_jundui_YUW_cost - fire_only_once = yes - modifier = { - war_support_weekly = -0.005 - stability_weekly = -0.005 - } - complete_effect = { - set_country_flag = AL_zhenghe_jundui_ongoing - } - remove_effect = { - clr_country_flag = AL_zhenghe_jundui_ongoing - AL_lianhejun_up = yes - } - ai_will_do = { - factor = 1 - } - } - - AL_zhenghe_jundui_HUJ = { - icon = generic_army_support - - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军队正在整合" - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - } - } - visible = { - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - has_country_flag = AL_lianhejun - } - days_remove = zhenghe_jundui_HUJ_days_remove - cost = zhenghe_jundui_HUJ_cost - fire_only_once = yes - modifier = { - war_support_weekly = -0.005 - stability_weekly = -0.005 - } - complete_effect = { - set_country_flag = AL_zhenghe_jundui_ongoing - } - remove_effect = { - clr_country_flag = AL_zhenghe_jundui_ongoing - AL_lianhejun_up = yes - } - ai_will_do = { - factor = 1 - } - } - - AL_zhenghe_jundui_TIX = { - icon = generic_army_support - - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军队正在整合" - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - } - } - visible = { - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - has_country_flag = AL_lianhejun - } - days_remove = zhenghe_jundui_TIX_days_remove - cost = zhenghe_jundui_TIX_cost - fire_only_once = yes - modifier = { - war_support_weekly = -0.005 - stability_weekly = -0.005 - } - complete_effect = { - set_country_flag = AL_zhenghe_jundui_ongoing - } - remove_effect = { - clr_country_flag = AL_zhenghe_jundui_ongoing - AL_lianhejun_up = yes - } - ai_will_do = { - factor = 1 - } - } - - AL_zhenghe_jundui_DOH = { - icon = generic_army_support - - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军队正在整合" - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - } - } - visible = { - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - has_country_flag = AL_lianhejun - } - days_remove = zhenghe_jundui_DOH_days_remove - cost = zhenghe_jundui_DOH_cost - fire_only_once = yes - modifier = { - war_support_weekly = -0.005 - stability_weekly = -0.005 - } - complete_effect = { - set_country_flag = AL_zhenghe_jundui_ongoing - } - remove_effect = { - clr_country_flag = AL_zhenghe_jundui_ongoing - AL_lianhejun_up = yes - } - ai_will_do = { - factor = 1 - } - } - - AL_zhenghe_jundui_BFL = { - icon = generic_army_support - - available = { - custom_trigger_tooltip = { - tooltip = "没有其他军队正在整合" - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - } - } - visible = { - not = { - has_country_flag = AL_zhenghe_jundui_ongoing - } - has_country_flag = AL_lianhejun - } - days_remove = zhenghe_jundui_BFL_days_remove - cost = zhenghe_jundui_BFL_cost - fire_only_once = yes + fire_only_once = yes modifier = { war_support_weekly = -0.005 stability_weekly = -0.005 } complete_effect = { - set_country_flag = AL_zhenghe_jundui_ongoing + set_country_flag = AL_zhenghe_jundui_ongoing } remove_effect = { - clr_country_flag = AL_zhenghe_jundui_ongoing - AL_lianhejun_up = yes + clr_country_flag = AL_zhenghe_jundui_ongoing + AL_lianhejun_up = yes + } + ai_will_do = { + factor = 1 + } + } + AL_zhenghe_jundui_BYG = { + icon = generic_army_support + available = { + custom_trigger_tooltip = { + tooltip = "没有其他军队正在整合" + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + } + } + visible = { + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + has_country_flag = AL_lianhejun + } + days_remove = zhenghe_jundui_BYG_days_remove + cost = zhenghe_jundui_BYG_cost + fire_only_once = yes + modifier = { + war_support_weekly = -0.005 + stability_weekly = -0.005 + } + complete_effect = { + set_country_flag = AL_zhenghe_jundui_ongoing + } + remove_effect = { + clr_country_flag = AL_zhenghe_jundui_ongoing + AL_lianhejun_up = yes + } + ai_will_do = { + factor = 1 + } + } + AL_zhenghe_jundui_CHY = { + icon = generic_army_support + available = { + custom_trigger_tooltip = { + tooltip = "没有其他军队正在整合" + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + } + } + visible = { + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + has_country_flag = AL_lianhejun + } + days_remove = zhenghe_jundui_CHY_days_remove + cost = zhenghe_jundui_CHY_cost + fire_only_once = yes + modifier = { + war_support_weekly = -0.005 + stability_weekly = -0.005 + } + complete_effect = { + set_country_flag = AL_zhenghe_jundui_ongoing + } + remove_effect = { + clr_country_flag = AL_zhenghe_jundui_ongoing + AL_lianhejun_up = yes + } + ai_will_do = { + factor = 1 + } + } + AL_zhenghe_jundui_YUW = { + icon = generic_army_support + available = { + custom_trigger_tooltip = { + tooltip = "没有其他军队正在整合" + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + } + } + visible = { + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + has_country_flag = AL_lianhejun + } + days_remove = zhenghe_jundui_YUW_days_remove + cost = zhenghe_jundui_YUW_cost + fire_only_once = yes + modifier = { + war_support_weekly = -0.005 + stability_weekly = -0.005 + } + complete_effect = { + set_country_flag = AL_zhenghe_jundui_ongoing + } + remove_effect = { + clr_country_flag = AL_zhenghe_jundui_ongoing + AL_lianhejun_up = yes + } + ai_will_do = { + factor = 1 + } + } + AL_zhenghe_jundui_HUJ = { + icon = generic_army_support + available = { + custom_trigger_tooltip = { + tooltip = "没有其他军队正在整合" + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + } + } + visible = { + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + has_country_flag = AL_lianhejun + } + days_remove = zhenghe_jundui_HUJ_days_remove + cost = zhenghe_jundui_HUJ_cost + fire_only_once = yes + modifier = { + war_support_weekly = -0.005 + stability_weekly = -0.005 + } + complete_effect = { + set_country_flag = AL_zhenghe_jundui_ongoing + } + remove_effect = { + clr_country_flag = AL_zhenghe_jundui_ongoing + AL_lianhejun_up = yes + } + ai_will_do = { + factor = 1 + } + } + AL_zhenghe_jundui_TIX = { + icon = generic_army_support + available = { + custom_trigger_tooltip = { + tooltip = "没有其他军队正在整合" + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + } + } + visible = { + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + has_country_flag = AL_lianhejun + } + days_remove = zhenghe_jundui_TIX_days_remove + cost = zhenghe_jundui_TIX_cost + fire_only_once = yes + modifier = { + war_support_weekly = -0.005 + stability_weekly = -0.005 + } + complete_effect = { + set_country_flag = AL_zhenghe_jundui_ongoing + } + remove_effect = { + clr_country_flag = AL_zhenghe_jundui_ongoing + AL_lianhejun_up = yes + } + ai_will_do = { + factor = 1 + } + } + AL_zhenghe_jundui_DOH = { + icon = generic_army_support + available = { + custom_trigger_tooltip = { + tooltip = "没有其他军队正在整合" + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + } + } + visible = { + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + has_country_flag = AL_lianhejun + } + days_remove = zhenghe_jundui_DOH_days_remove + cost = zhenghe_jundui_DOH_cost + fire_only_once = yes + modifier = { + war_support_weekly = -0.005 + stability_weekly = -0.005 + } + complete_effect = { + set_country_flag = AL_zhenghe_jundui_ongoing + } + remove_effect = { + clr_country_flag = AL_zhenghe_jundui_ongoing + AL_lianhejun_up = yes + } + ai_will_do = { + factor = 1 + } + } + AL_zhenghe_jundui_BFL = { + icon = generic_army_support + available = { + custom_trigger_tooltip = { + tooltip = "没有其他军队正在整合" + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + } + } + visible = { + not = { + has_country_flag = AL_zhenghe_jundui_ongoing + } + has_country_flag = AL_lianhejun + } + days_remove = zhenghe_jundui_BFL_days_remove + cost = zhenghe_jundui_BFL_cost + fire_only_once = yes + modifier = { + war_support_weekly = -0.005 + stability_weekly = -0.005 + } + complete_effect = { + set_country_flag = AL_zhenghe_jundui_ongoing + } + remove_effect = { + clr_country_flag = AL_zhenghe_jundui_ongoing + AL_lianhejun_up = yes } ai_will_do = { factor = 1 } } - } #################################### ### 工业调控 #################################### AL_dabao_category = { - - AL_dabao_all_close = { + AL_dabao_all_close = { icon = generic_construction - available = { - custom_trigger_tooltip = { - tooltip = "已开启工业打包机制" - has_country_flag = AL_dabao_start + custom_trigger_tooltip = { + tooltip = "已开启工业打包机制" + has_country_flag = AL_dabao_start } } - - visible = { - has_country_flag = AL_dabao_start + has_country_flag = AL_dabao_start OR = { - has_country_flag = AL_dabao_put - has_country_flag = AL_dabao_get + has_country_flag = AL_dabao_put + has_country_flag = AL_dabao_get } } - fire_only_once = no - complete_effect = { + complete_effect = { clr_country_flag = AL_dabao_put clr_country_flag = AL_dabao_get } } - AL_dabao_get_3_1 = { - icon = generic_decision - available = { + icon = generic_decision + available = { custom_trigger_tooltip = { tooltip = "达到一定的卡车库存量(详见效果)" - OR = { - AND = { - num_of_factories < 100 - has_equipment = { motorized_equipment > 1000 } + OR = { + AND = { + num_of_factories < 100 + has_equipment = { + motorized_equipment > 1000 } - AND = { - num_of_factories < 200 - has_equipment = { motorized_equipment > 3000 } + } + AND = { + num_of_factories < 200 + has_equipment = { + motorized_equipment > 3000 } - AND = { - num_of_factories < 300 - has_equipment = { motorized_equipment > 6000 } + } + AND = { + num_of_factories < 300 + has_equipment = { + motorized_equipment > 6000 } - AND = { - num_of_factories < 400 - has_equipment = { motorized_equipment > 9000 } + } + AND = { + num_of_factories < 400 + has_equipment = { + motorized_equipment > 9000 } - AND = { - num_of_factories < 500 - has_equipment = { motorized_equipment > 12000 } + } + AND = { + num_of_factories < 500 + has_equipment = { + motorized_equipment > 12000 } - AND = { - num_of_factories < 600 - has_equipment = { motorized_equipment > 15000 } + } + AND = { + num_of_factories < 600 + has_equipment = { + motorized_equipment > 15000 } - AND = { - num_of_factories < 700 - has_equipment = { motorized_equipment > 18000 } + } + AND = { + num_of_factories < 700 + has_equipment = { + motorized_equipment > 18000 } - AND = { - num_of_factories < 800 - has_equipment = { motorized_equipment > 21000 } + } + AND = { + num_of_factories < 800 + has_equipment = { + motorized_equipment > 21000 } - AND = { - num_of_factories < 900 - has_equipment = { motorized_equipment > 24000 } + } + AND = { + num_of_factories < 900 + has_equipment = { + motorized_equipment > 24000 } - AND = { - num_of_factories < 1000 - has_equipment = { motorized_equipment > 27000 } + } + AND = { + num_of_factories < 1000 + has_equipment = { + motorized_equipment > 27000 } - has_equipment = { motorized_equipment > 30000 } - } + } + has_equipment = { + motorized_equipment > 30000 + } + } } custom_trigger_tooltip = { tooltip = "距离上次扩建已过去一年" - not = { + NOT = { has_country_flag = AL_kuojian_finish } } } visible = { - has_country_flag = AL_dabao_start + has_country_flag = AL_dabao_start } days_remove = 60 fire_only_once = no days_re_enable = 10 cost = 300 modifier = { - production_speed_buildings_factor = -1.0 + production_speed_buildings_factor = -1 } complete_effect = { if = { limit = { num_of_factories > 999 } - add_equipment_to_stockpile = { type = motorized_equipment amount = -30000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -30000 + } } else_if = { - limit = { + limit = { num_of_factories > 899 } - add_equipment_to_stockpile = { type = motorized_equipment amount = -27000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -27000 + } } else_if = { - limit = { + limit = { num_of_factories > 799 } - add_equipment_to_stockpile = { type = motorized_equipment amount = -24000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -24000 + } } else_if = { - limit = { + limit = { num_of_factories > 699 } - add_equipment_to_stockpile = { type = motorized_equipment amount = -21000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -21000 + } } else_if = { - limit = { + limit = { num_of_factories > 599 } - add_equipment_to_stockpile = { type = motorized_equipment amount = -18000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -18000 + } } else_if = { - limit = { + limit = { num_of_factories > 499 } - add_equipment_to_stockpile = { type = motorized_equipment amount = -15000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -15000 + } } else_if = { - limit = { + limit = { num_of_factories > 399 } - add_equipment_to_stockpile = { type = motorized_equipment amount = -12000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -12000 + } } else_if = { - limit = { + limit = { num_of_factories > 299 } - add_equipment_to_stockpile = { type = motorized_equipment amount = -9000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -9000 + } } else_if = { - limit = { + limit = { num_of_factories > 199 } - add_equipment_to_stockpile = { type = motorized_equipment amount = -6000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -6000 + } } else_if = { - limit = { + limit = { num_of_factories > 99 } - add_equipment_to_stockpile = { type = motorized_equipment amount = -3000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -3000 + } } else = { - add_equipment_to_stockpile = { type = motorized_equipment amount = -1000 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -1000 + } } - } - remove_effect = { + remove_effect = { AL_factory_3_1 = yes set_country_flag = { flag = AL_kuojian_finish days = 365 - } + } } ai_will_do = { factor = 1 } } - AL_dabao_zhuanhuoxing_arms_factory = { - icon = generic_merge_plant_tank + icon = generic_merge_plant_tank available = { - custom_trigger_tooltip = { - tooltip = "军工储备至少有3个" - check_variable = { AL_arms_factory > 2 } + custom_trigger_tooltip = { + tooltip = "军工储备至少有3个" + check_variable = { + AL_arms_factory > 2 + } } has_equipment = { - motorized_equipment > 299 - } + motorized_equipment > 299 + } } visible = { - has_country_flag = AL_dabao_start + has_country_flag = AL_dabao_start } days_remove = 89 fire_only_once = no days_re_enable = 1 cost = 25 complete_effect = { - add_equipment_to_stockpile = { type = motorized_equipment amount = -300 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -300 + } custom_effect_tooltip = AL_arms_factory_lose_3 - subtract_from_variable = { AL_arms_factory = 3 } + subtract_from_variable = { + AL_arms_factory = 3 + } } - remove_effect = { - add_offsite_building = { + remove_effect = { + add_offsite_building = { type = arms_factory level = 3 } - } ai_will_do = { factor = 1 } } - AL_dabao_zhuanhuoxing_industrial_complex = { - icon = generic_factory + icon = generic_factory available = { - custom_trigger_tooltip = { - tooltip = "民工储备至少有3个" - check_variable = { AL_industrial_complex > 2 } + custom_trigger_tooltip = { + tooltip = "民工储备至少有3个" + check_variable = { + AL_industrial_complex > 2 + } } has_equipment = { - motorized_equipment > 299 - } + motorized_equipment > 299 + } } visible = { - has_country_flag = AL_dabao_start + has_country_flag = AL_dabao_start } days_remove = 89 fire_only_once = no days_re_enable = 1 cost = 25 complete_effect = { - add_equipment_to_stockpile = { type = motorized_equipment amount = -300 } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -300 + } custom_effect_tooltip = AL_industrial_complex_lose_3 - subtract_from_variable = { AL_industrial_complex = 3 } + subtract_from_variable = { + AL_industrial_complex = 3 + } } - remove_effect = { - add_offsite_building = { + remove_effect = { + add_offsite_building = { type = industrial_complex level = 3 } - } ai_will_do = { factor = 1 } } - - - -############打包模式################ - AL_dabao_get_open = { + ############打包模式################ + AL_dabao_get_open = { icon = generic_construction - available = { - custom_trigger_tooltip = { - tooltip = "已开启工业打包机制" - has_country_flag = AL_dabao_start + custom_trigger_tooltip = { + tooltip = "已开启工业打包机制" + has_country_flag = AL_dabao_start } } - - visible = { - has_country_flag = AL_dabao_start + has_country_flag = AL_dabao_start NOT = { - has_country_flag = AL_dabao_get + has_country_flag = AL_dabao_get } } - fire_only_once = no complete_effect = { - custom_effect_tooltip = AL_dabao_change + custom_effect_tooltip = AL_dabao_change clr_country_flag = AL_dabao_put set_country_flag = AL_dabao_get } } - - - - AL_dabao_get_arms_factory = { + AL_dabao_get_arms_factory = { icon = generic_merge_plant_tank state_target = yes target_root_trigger = { has_country_flag = AL_dabao_start - } - target_trigger = { FROM = { is_controlled_by = ROOT } } - available = { - ROOT = { - custom_trigger_tooltip = { - tooltip = "已开启工业打包机制" - has_country_flag = AL_dabao_start + ROOT = { + custom_trigger_tooltip = { + tooltip = "已开启工业打包机制" + has_country_flag = AL_dabao_start } } ROOT = { - custom_trigger_tooltip = { - tooltip = "现在是打包模式" - has_country_flag = AL_dabao_get - } + custom_trigger_tooltip = { + tooltip = "现在是打包模式" + has_country_flag = AL_dabao_get + } } ROOT = { has_equipment = { - motorized_equipment > 149 - } - } + motorized_equipment > 149 + } + } FROM = { - arms_factory > 2 + arms_factory > 2 } } - - visible = { FROM = { - is_controlled_by = ROOT + is_controlled_by = ROOT } has_country_flag = AL_dabao_get } - on_map_mode = map_only fire_only_once = no - cost = 10 + cost = 10 days_remove = 14 - days_re_enable = 1 + days_re_enable = 1 complete_effect = { - ROOT = { - add_equipment_to_stockpile = { type = motorized_equipment amount = -150 } - } + ROOT = { + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -150 + } + } } remove_effect = { FROM = { - remove_building = { - type = arms_factory - level = 3 - } - } - ROOT = { - custom_effect_tooltip = AL_arms_factory_3 - add_to_variable = { AL_arms_factory = 3 } - } - + remove_building = { + type = arms_factory + level = 3 + } + } + ROOT = { + custom_effect_tooltip = AL_arms_factory_3 + add_to_variable = { + AL_arms_factory = 3 + } + } } - } - - - AL_dabao_get_industrial_complex = { + AL_dabao_get_industrial_complex = { icon = generic_factory state_target = yes target_root_trigger = { has_country_flag = AL_dabao_start - } - target_trigger = { FROM = { is_controlled_by = ROOT } } - available = { - ROOT = { - custom_trigger_tooltip = { - tooltip = "已开启工业打包机制" - has_country_flag = AL_dabao_start + ROOT = { + custom_trigger_tooltip = { + tooltip = "已开启工业打包机制" + has_country_flag = AL_dabao_start } } - ROOT = { + ROOT = { custom_trigger_tooltip = { - tooltip = "现在是打包模式" - has_country_flag = AL_dabao_get - } + tooltip = "现在是打包模式" + has_country_flag = AL_dabao_get + } } - ROOT = { + ROOT = { has_equipment = { - motorized_equipment > 149 - } - } + motorized_equipment > 149 + } + } FROM = { - industrial_complex > 2 + industrial_complex > 2 } } - - visible = { FROM = { - is_controlled_by = ROOT + is_controlled_by = ROOT } has_country_flag = AL_dabao_get } - on_map_mode = map_only fire_only_once = no - cost = 10 + cost = 10 days_remove = 14 - days_re_enable = 1 + days_re_enable = 1 complete_effect = { - ROOT = { - add_equipment_to_stockpile = { type = motorized_equipment amount = -150 } + ROOT = { + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -150 + } } } remove_effect = { FROM = { - remove_building = { - type = industrial_complex - level = 3 - } - } - ROOT = { - custom_effect_tooltip = AL_industrial_complex_3 - add_to_variable = { AL_industrial_complex = 3 } - } + remove_building = { + type = industrial_complex + level = 3 + } + } + ROOT = { + custom_effect_tooltip = AL_industrial_complex_3 + add_to_variable = { + AL_industrial_complex = 3 + } + } } } - - - - -############放置模式################ - - AL_dabao_put_open = { + ############放置模式################ + AL_dabao_put_open = { icon = generic_construction - available = { - custom_trigger_tooltip = { - tooltip = "已开启工业打包机制" - has_country_flag = AL_dabao_start + custom_trigger_tooltip = { + tooltip = "已开启工业打包机制" + has_country_flag = AL_dabao_start } - } - - visible = { - has_country_flag = AL_dabao_start + has_country_flag = AL_dabao_start NOT = { - has_country_flag = AL_dabao_put - } + has_country_flag = AL_dabao_put + } } - fire_only_once = no complete_effect = { - custom_effect_tooltip = AL_dabao_change + custom_effect_tooltip = AL_dabao_change set_country_flag = AL_dabao_put clr_country_flag = AL_dabao_get } } - - AL_dabao_put_arms_factory = { icon = generic_merge_plant_tank state_target = yes target_root_trigger = { has_country_flag = AL_dabao_start - } - target_trigger = { FROM = { is_controlled_by = ROOT } } - available = { - ROOT = { - custom_trigger_tooltip = { - tooltip = "已开启工业打包机制" - has_country_flag = AL_dabao_start + ROOT = { + custom_trigger_tooltip = { + tooltip = "已开启工业打包机制" + has_country_flag = AL_dabao_start } } - ROOT = { - custom_trigger_tooltip = { - tooltip = "现在是放置模式" - has_country_flag = AL_dabao_put - } + ROOT = { + custom_trigger_tooltip = { + tooltip = "现在是放置模式" + has_country_flag = AL_dabao_put + } } ROOT = { has_equipment = { - motorized_equipment > 149 - } - } - ROOT = { - custom_trigger_tooltip = { - tooltip = "至少有3个储备军工" - check_variable = { AL_arms_factory > 2 } + motorized_equipment > 149 + } + } + ROOT = { + custom_trigger_tooltip = { + tooltip = "至少有3个储备军工" + check_variable = { + AL_arms_factory > 2 + } } } FROM = { - custom_trigger_tooltip = { - tooltip = "有位置能放置3个军用工厂(包括未解锁建筑槽)" - free_building_slots = { - building = arms_factory - size > 2 - include_locked = yes + custom_trigger_tooltip = { + tooltip = "有位置能放置3个军用工厂(包括未解锁建筑槽)" + free_building_slots = { + building = arms_factory + size > 2 + include_locked = yes + } + } } - } - } } - visible = { FROM = { - is_controlled_by = ROOT + is_controlled_by = ROOT } has_country_flag = AL_dabao_put } - on_map_mode = map_only fire_only_once = no - cost = 10 + cost = 10 days_remove = 14 - days_re_enable = 1 + days_re_enable = 1 complete_effect = { - ROOT = { - add_equipment_to_stockpile = { type = motorized_equipment amount = -150 } - custom_effect_tooltip = AL_arms_factory_lose_3 - subtract_from_variable = { AL_arms_factory = 3 } + ROOT = { + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -150 + } + custom_effect_tooltip = AL_arms_factory_lose_3 + subtract_from_variable = { + AL_arms_factory = 3 + } } } remove_effect = { FROM = { - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = arms_factory - level = 3 - instant_build = yes - } - } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = arms_factory + level = 3 + instant_build = yes + } + } } - } - - - AL_dabao_put_industrial_complex = { + AL_dabao_put_industrial_complex = { icon = generic_factory state_target = yes target_root_trigger = { has_country_flag = AL_dabao_start - } - target_trigger = { FROM = { is_controlled_by = ROOT } } - available = { - ROOT = { - custom_trigger_tooltip = { - tooltip = "已开启工业打包机制" - has_country_flag = AL_dabao_start + ROOT = { + custom_trigger_tooltip = { + tooltip = "已开启工业打包机制" + has_country_flag = AL_dabao_start } } - ROOT = { + ROOT = { custom_trigger_tooltip = { - tooltip = "现在是放置模式" - has_country_flag = AL_dabao_put - } + tooltip = "现在是放置模式" + has_country_flag = AL_dabao_put + } } - ROOT = { + ROOT = { has_equipment = { - motorized_equipment > 149 - } - } - ROOT = { - custom_trigger_tooltip = { - tooltip = "至少有3个储备民工" - check_variable = { AL_industrial_complex > 2 } + motorized_equipment > 149 + } + } + ROOT = { + custom_trigger_tooltip = { + tooltip = "至少有3个储备民工" + check_variable = { + AL_industrial_complex > 2 + } } } FROM = { - custom_trigger_tooltip = { - tooltip = "有位置能放置3个民用工厂(包括未解锁建筑槽)" - free_building_slots = { - building = industrial_complex - size > 2 - include_locked = yes - } - } + custom_trigger_tooltip = { + tooltip = "有位置能放置3个民用工厂(包括未解锁建筑槽)" + free_building_slots = { + building = industrial_complex + size > 2 + include_locked = yes + } + } } } - - visible = { FROM = { - is_controlled_by = ROOT + is_controlled_by = ROOT } has_country_flag = AL_dabao_put } - on_map_mode = map_only fire_only_once = no - cost = 10 + cost = 10 days_remove = 14 - days_re_enable = 1 + days_re_enable = 1 complete_effect = { - ROOT = { - add_equipment_to_stockpile = { type = motorized_equipment amount = -150 } - custom_effect_tooltip = AL_industrial_complex_lose_3 - subtract_from_variable = { AL_industrial_complex = 3 } + ROOT = { + add_equipment_to_stockpile = { + type = motorized_equipment + amount = -150 + } + custom_effect_tooltip = AL_industrial_complex_lose_3 + subtract_from_variable = { + AL_industrial_complex = 3 + } } } remove_effect = { FROM = { - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + } } - } + } } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ################################################## #######################彩蛋部分#################### ################################################## URA_decisions = { - #选择马娘 xuanze = { - icon = ura_1 - allowed = { + icon = ura_1 + allowed = { + } + available = { + is_ai = no } - available = { is_ai = no } visible = { - has_country_flag = URA - is_ai = no + has_country_flag = URA + is_ai = no } cost = 0 fixed_random_seed = no complete_effect = { - country_event = URAPD_event.1 - clr_country_flag = URA - custom_effect_tooltip = pingjia_183 - hidden_effect = { - country_event = { id = URAPD_event.2 days = 183 } - } + country_event = URAPD_event.1 + clr_country_flag = URA + custom_effect_tooltip = pingjia_183 + hidden_effect = { + country_event = { + id = URAPD_event.2 + days = 183 + } + } } - remove_effect = { } - ai_will_do = { factor = 0 } - } - + ai_will_do = { + factor = 0 + } + } #速度训练 xunlian_S = { - icon = ura_S - allowed = { + icon = ura_S + allowed = { } - available = { - has_stability > 0.2 - custom_trigger_tooltip = { + available = { + has_stability > 0.2 + custom_trigger_tooltip = { tooltip = "没有其他训练在进行" - not = { - has_country_flag = URA_con - } - } + NOT = { + has_country_flag = URA_con + } + } } visible = { - has_country_flag = URA_2 - is_ai = no + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 10 - modifier = { + modifier = { } fixed_random_seed = no complete_effect = { - set_country_flag = URA_con + set_country_flag = URA_con } remove_effect = { - jiuzhen_S = yes - clr_country_flag = URA_con - set_temp_variable = { temp1 = basic_S_S } - multiply_temp_variable = { temp1 = data_X } - multiply_temp_variable = { temp1 = up_S } - round_temp_variable = temp1 - add_to_variable = { var = data_S value = temp1 tooltip = data_S_ch1 } - set_temp_variable = { temp2 = basic_S_L } - multiply_temp_variable = { temp2 = data_X } - multiply_temp_variable = { temp2 = up_L } - round_temp_variable = temp2 - add_to_variable = { var = data_L value = temp2 tooltip = data_L_ch2 } - add_to_variable = { var = data_P value = 2 tooltip = data_P_2 } - custom_effect_tooltip = data_P_gailv - jiuzhen = yes - hidden_effect = { - random_list = { - 30 = { } - 40 = { - get_skill = yes - country_event = URAPD_event.13 - } - 3 = { country_event = { id = URAPD_event.14 } } - 3 = { country_event = { id = URAPD_event.15 } } - 3 = { country_event = { id = URAPD_event.16 } } - 3 = { country_event = { id = URAPD_event.17 } } - 3 = { country_event = { id = URAPD_event.18 } } - 3 = { country_event = { id = URAPD_event.3 } } - } + jiuzhen_S = yes + clr_country_flag = URA_con + set_temp_variable = { + temp1 = basic_S_S + } + multiply_temp_variable = { + temp1 = data_X + } + multiply_temp_variable = { + temp1 = up_S + } + round_temp_variable = temp1 + add_to_variable = { + var = data_S + value = temp1 + tooltip = data_S_ch1 + } + set_temp_variable = { + temp2 = basic_S_L + } + multiply_temp_variable = { + temp2 = data_X + } + multiply_temp_variable = { + temp2 = up_L + } + round_temp_variable = temp2 + add_to_variable = { + var = data_L + value = temp2 + tooltip = data_L_ch2 + } + add_to_variable = { + var = data_P + value = 2 + tooltip = data_P_2 + } + custom_effect_tooltip = data_P_gailv + jiuzhen = yes + hidden_effect = { + random_list = { + 30 = { + } + 40 = { + get_skill = yes + country_event = URAPD_event.13 + } + 3 = { + country_event = { + id = URAPD_event.14 + } + } + 3 = { + country_event = { + id = URAPD_event.15 + } + } + 3 = { + country_event = { + id = URAPD_event.16 + } + } + 3 = { + country_event = { + id = URAPD_event.17 + } + } + 3 = { + country_event = { + id = URAPD_event.18 + } + } + 3 = { + country_event = { + id = URAPD_event.3 + } + } + } + } } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - - - #耐力训练 xunlian_N = { - icon = ura_N - allowed = { + icon = ura_N + allowed = { } - available = { - has_stability > 0.2 - custom_trigger_tooltip = { + available = { + has_stability > 0.2 + custom_trigger_tooltip = { tooltip = "没有其他训练在进行" - not = { - has_country_flag = URA_con - } - } + NOT = { + has_country_flag = URA_con + } + } } visible = { - has_country_flag = URA_2 - is_ai = no + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 10 - modifier = { + modifier = { } fixed_random_seed = no complete_effect = { - set_country_flag = URA_con + set_country_flag = URA_con } remove_effect = { - jiuzhen_N = yes - clr_country_flag = URA_con - set_temp_variable = { temp1 = basic_N_N } - multiply_temp_variable = { temp1 = data_X } - multiply_temp_variable = { temp1 = up_N } - round_temp_variable = temp1 - add_to_variable = { var = data_N value = temp1 tooltip = data_N_ch1 } - set_temp_variable = { temp2 = basic_N_G } - multiply_temp_variable = { temp2 = data_X } - multiply_temp_variable = { temp2 = up_G } - round_temp_variable = temp2 - add_to_variable = { var = data_G value = temp2 tooltip = data_G_ch2 } - add_to_variable = { var = data_P value = 2 tooltip = data_P_2 } - custom_effect_tooltip = data_P_gailv - jiuzhen = yes - hidden_effect = { - random_list = { - 30 = { } - 40 = { - get_skill = yes - country_event = URAPD_event.13 - } - 3 = { country_event = { id = URAPD_event.14 } } - 3 = { country_event = { id = URAPD_event.15 } } - 3 = { country_event = { id = URAPD_event.16 } } - 3 = { country_event = { id = URAPD_event.17 } } - 3 = { country_event = { id = URAPD_event.18 } } - 3 = { country_event = { id = URAPD_event.3 } } - } + jiuzhen_N = yes + clr_country_flag = URA_con + set_temp_variable = { + temp1 = basic_N_N + } + multiply_temp_variable = { + temp1 = data_X + } + multiply_temp_variable = { + temp1 = up_N + } + round_temp_variable = temp1 + add_to_variable = { + var = data_N + value = temp1 + tooltip = data_N_ch1 + } + set_temp_variable = { + temp2 = basic_N_G + } + multiply_temp_variable = { + temp2 = data_X + } + multiply_temp_variable = { + temp2 = up_G + } + round_temp_variable = temp2 + add_to_variable = { + var = data_G + value = temp2 + tooltip = data_G_ch2 + } + add_to_variable = { + var = data_P + value = 2 + tooltip = data_P_2 + } + custom_effect_tooltip = data_P_gailv + jiuzhen = yes + hidden_effect = { + random_list = { + 30 = { + } + 40 = { + get_skill = yes + country_event = URAPD_event.13 + } + 3 = { + country_event = { + id = URAPD_event.14 + } + } + 3 = { + country_event = { + id = URAPD_event.15 + } + } + 3 = { + country_event = { + id = URAPD_event.16 + } + } + 3 = { + country_event = { + id = URAPD_event.17 + } + } + 3 = { + country_event = { + id = URAPD_event.18 + } + } + 3 = { + country_event = { + id = URAPD_event.3 + } + } + } + } } - - + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - - - #力量训练 xunlian_L = { - icon = ura_L - allowed = { + icon = ura_L + allowed = { } - available = { - has_stability > 0.2 - custom_trigger_tooltip = { + available = { + has_stability > 0.2 + custom_trigger_tooltip = { tooltip = "没有其他训练在进行" - not = { - has_country_flag = URA_con - } - } + NOT = { + has_country_flag = URA_con + } + } } visible = { - has_country_flag = URA_2 - is_ai = no + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 10 - modifier = { + modifier = { } fixed_random_seed = no complete_effect = { - set_country_flag = URA_con + set_country_flag = URA_con } remove_effect = { - jiuzhen_L = yes - clr_country_flag = URA_con - set_temp_variable = { temp1 = basic_L_L } - multiply_temp_variable = { temp1 = data_X } - multiply_temp_variable = { temp1 = up_L } - round_temp_variable = temp1 - add_to_variable = { var = data_L value = temp1 tooltip = data_L_ch1 } - set_temp_variable = { temp2 = basic_L_N } - multiply_temp_variable = { temp2 = data_X } - multiply_temp_variable = { temp2 = up_N } - round_temp_variable = temp2 - add_to_variable = { var = data_N value = temp2 tooltip = data_N_ch2 } - add_to_variable = { var = data_P value = 2 tooltip = data_P_2 } - custom_effect_tooltip = data_P_gailv - jiuzhen = yes - hidden_effect = { - random_list = { - 30 = { } - 40 = { - get_skill = yes - country_event = URAPD_event.13 - } - 3 = { country_event = { id = URAPD_event.14 } } - 3 = { country_event = { id = URAPD_event.15 } } - 3 = { country_event = { id = URAPD_event.16 } } - 3 = { country_event = { id = URAPD_event.17 } } - 3 = { country_event = { id = URAPD_event.18 } } - 3 = { country_event = { id = URAPD_event.3 } } - } + jiuzhen_L = yes + clr_country_flag = URA_con + set_temp_variable = { + temp1 = basic_L_L + } + multiply_temp_variable = { + temp1 = data_X + } + multiply_temp_variable = { + temp1 = up_L + } + round_temp_variable = temp1 + add_to_variable = { + var = data_L + value = temp1 + tooltip = data_L_ch1 + } + set_temp_variable = { + temp2 = basic_L_N + } + multiply_temp_variable = { + temp2 = data_X + } + multiply_temp_variable = { + temp2 = up_N + } + round_temp_variable = temp2 + add_to_variable = { + var = data_N + value = temp2 + tooltip = data_N_ch2 + } + add_to_variable = { + var = data_P + value = 2 + tooltip = data_P_2 + } + custom_effect_tooltip = data_P_gailv + jiuzhen = yes + hidden_effect = { + random_list = { + 30 = { + } + 40 = { + get_skill = yes + country_event = URAPD_event.13 + } + 3 = { + country_event = { + id = URAPD_event.14 + } + } + 3 = { + country_event = { + id = URAPD_event.15 + } + } + 3 = { + country_event = { + id = URAPD_event.16 + } + } + 3 = { + country_event = { + id = URAPD_event.17 + } + } + 3 = { + country_event = { + id = URAPD_event.18 + } + } + 3 = { + country_event = { + id = URAPD_event.3 + } + } + } + } } - - + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - - - - #根性训练 xunlian_G = { - icon = ura_G - allowed = { + icon = ura_G + allowed = { } - available = { - has_stability > 0.2 - custom_trigger_tooltip = { + available = { + has_stability > 0.2 + custom_trigger_tooltip = { tooltip = "没有其他训练在进行" - not = { - has_country_flag = URA_con - } - } + NOT = { + has_country_flag = URA_con + } + } } visible = { - has_country_flag = URA_2 - is_ai = no + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 10 - modifier = { + modifier = { } fixed_random_seed = no complete_effect = { - set_country_flag = URA_con + set_country_flag = URA_con } remove_effect = { - jiuzhen_G = yes - clr_country_flag = URA_con - set_temp_variable = { temp1 = basic_G_G } - multiply_temp_variable = { temp1 = data_X } - multiply_temp_variable = { temp1 = up_G } - round_temp_variable = temp1 - add_to_variable = { var = data_G value = temp1 tooltip = data_G_ch1 } - set_temp_variable = { temp2 = basic_G_S } - multiply_temp_variable = { temp2 = data_X } - multiply_temp_variable = { temp2 = up_S } - round_temp_variable = temp2 - add_to_variable = { var = data_S value = temp2 tooltip = data_S_ch2 } - set_temp_variable = { temp3 = basic_G_L } - multiply_temp_variable = { temp3 = data_X } - multiply_temp_variable = { temp3 = up_L } - round_temp_variable = temp3 - add_to_variable = { var = data_L value = temp3 tooltip = data_L_ch3 } - add_to_variable = { var = data_P value = 2 tooltip = data_P_2 } - custom_effect_tooltip = data_P_gailv - jiuzhen = yes - hidden_effect = { - random_list = { - 30 = { } - 40 = { - get_skill = yes - country_event = URAPD_event.13 - } - 3 = { country_event = { id = URAPD_event.14 } } - 3 = { country_event = { id = URAPD_event.15 } } - 3 = { country_event = { id = URAPD_event.16 } } - 3 = { country_event = { id = URAPD_event.17 } } - 3 = { country_event = { id = URAPD_event.18 } } - 3 = { country_event = { id = URAPD_event.3 } } - } + jiuzhen_G = yes + clr_country_flag = URA_con + set_temp_variable = { + temp1 = basic_G_G + } + multiply_temp_variable = { + temp1 = data_X + } + multiply_temp_variable = { + temp1 = up_G + } + round_temp_variable = temp1 + add_to_variable = { + var = data_G + value = temp1 + tooltip = data_G_ch1 + } + set_temp_variable = { + temp2 = basic_G_S + } + multiply_temp_variable = { + temp2 = data_X + } + multiply_temp_variable = { + temp2 = up_S + } + round_temp_variable = temp2 + add_to_variable = { + var = data_S + value = temp2 + tooltip = data_S_ch2 + } + set_temp_variable = { + temp3 = basic_G_L + } + multiply_temp_variable = { + temp3 = data_X + } + multiply_temp_variable = { + temp3 = up_L + } + round_temp_variable = temp3 + add_to_variable = { + var = data_L + value = temp3 + tooltip = data_L_ch3 + } + add_to_variable = { + var = data_P + value = 2 + tooltip = data_P_2 + } + custom_effect_tooltip = data_P_gailv + jiuzhen = yes + hidden_effect = { + random_list = { + 30 = { + } + 40 = { + get_skill = yes + country_event = URAPD_event.13 + } + 3 = { + country_event = { + id = URAPD_event.14 + } + } + 3 = { + country_event = { + id = URAPD_event.15 + } + } + 3 = { + country_event = { + id = URAPD_event.16 + } + } + 3 = { + country_event = { + id = URAPD_event.17 + } + } + 3 = { + country_event = { + id = URAPD_event.18 + } + } + 3 = { + country_event = { + id = URAPD_event.3 + } + } + } + } } - - + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - - #文化训练 xunlian_Z = { - icon = ura_Z - allowed = { + icon = ura_Z + allowed = { } - available = { - has_stability > 0.2 - custom_trigger_tooltip = { + available = { + has_stability > 0.2 + custom_trigger_tooltip = { tooltip = "没有其他训练在进行" - not = { - has_country_flag = URA_con - } - } + NOT = { + has_country_flag = URA_con + } + } } visible = { - has_country_flag = URA_2 - is_ai = no + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 10 - modifier = { + modifier = { } fixed_random_seed = no complete_effect = { - set_country_flag = URA_con + set_country_flag = URA_con } remove_effect = { - jiuzhen_Z = yes - clr_country_flag = URA_con - set_temp_variable = { temp1 = basic_Z_Z } - multiply_temp_variable = { temp1 = data_X } - multiply_temp_variable = { temp1 = up_Z } - round_temp_variable = temp1 - add_to_variable = { var = data_Z value = temp1 tooltip = data_Z_ch1 } - set_temp_variable = { temp2 = basic_Z_S } - multiply_temp_variable = { temp2 = data_X } - multiply_temp_variable = { temp2 = up_S } - round_temp_variable = temp2 - add_to_variable = { var = data_S value = temp2 tooltip = data_S_ch2 } - add_to_variable = { var = data_P value = 4 tooltip = data_P_4 } - custom_effect_tooltip = data_P_gailv - jiuzhen = yes - hidden_effect = { - random_list = { - 30 = { } - 40 = { - get_skill = yes - country_event = URAPD_event.13 - } - 3 = { country_event = { id = URAPD_event.14 } } - 3 = { country_event = { id = URAPD_event.15 } } - 3 = { country_event = { id = URAPD_event.16 } } - 3 = { country_event = { id = URAPD_event.17 } } - 3 = { country_event = { id = URAPD_event.18 } } - 3 = { country_event = { id = URAPD_event.3 } } - } + jiuzhen_Z = yes + clr_country_flag = URA_con + set_temp_variable = { + temp1 = basic_Z_Z + } + multiply_temp_variable = { + temp1 = data_X + } + multiply_temp_variable = { + temp1 = up_Z + } + round_temp_variable = temp1 + add_to_variable = { + var = data_Z + value = temp1 + tooltip = data_Z_ch1 + } + set_temp_variable = { + temp2 = basic_Z_S + } + multiply_temp_variable = { + temp2 = data_X + } + multiply_temp_variable = { + temp2 = up_S + } + round_temp_variable = temp2 + add_to_variable = { + var = data_S + value = temp2 + tooltip = data_S_ch2 + } + add_to_variable = { + var = data_P + value = 4 + tooltip = data_P_4 + } + custom_effect_tooltip = data_P_gailv + jiuzhen = yes + hidden_effect = { + random_list = { + 30 = { + } + 40 = { + get_skill = yes + country_event = URAPD_event.13 + } + 3 = { + country_event = { + id = URAPD_event.14 + } + } + 3 = { + country_event = { + id = URAPD_event.15 + } + } + 3 = { + country_event = { + id = URAPD_event.16 + } + } + 3 = { + country_event = { + id = URAPD_event.17 + } + } + 3 = { + country_event = { + id = URAPD_event.18 + } + } + 3 = { + country_event = { + id = URAPD_event.3 + } + } + } + } } - - + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - - xunlian_X_up = { - icon = ura_1 - allowed = { + icon = ura_1 + allowed = { } - available = { - has_stability > 0.4 - num_of_civilian_factories_available_for_projects > 2 - custom_trigger_tooltip = { + available = { + has_stability > 0.4 + num_of_civilian_factories_available_for_projects > 2 + custom_trigger_tooltip = { tooltip = "没有其他训练在进行" - not = { - has_country_flag = URA_con - } - } + NOT = { + has_country_flag = URA_con + } + } } visible = { - has_country_flag = URA_2 - is_ai = no - check_variable = { var = data_X value = 1.2 compare = less_than } + has_country_flag = URA_2 + is_ai = no + check_variable = { + var = data_X + value = 1.2 + compare = less_than + } } cost = 50 days_remove = 10 - modifier = { - civilian_factory_use = 3 + modifier = { + civilian_factory_use = 3 } fixed_random_seed = no - complete_effect = { - set_country_flag = URA_con + complete_effect = { + set_country_flag = URA_con } remove_effect = { - add_to_variable = { var = data_X value = 0.1 tooltip = level_X_UP } - clr_country_flag = URA_con - jiuzhen = yes + add_to_variable = { + var = data_X + value = 0.1 + tooltip = level_X_UP + } + clr_country_flag = URA_con + jiuzhen = yes + } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - - - #速度训练加强 + #速度训练加强 xunlian_S_up = { - icon = get_up - allowed = { + icon = get_up + allowed = { } - available = { - has_stability > 0.4 - num_of_civilian_factories_available_for_projects > 2 + available = { + has_stability > 0.4 + num_of_civilian_factories_available_for_projects > 2 } visible = { - has_country_flag = URA_2 - is_ai = no - check_variable = { var = ex_level_S value = 5 compare = less_than } + has_country_flag = URA_2 + is_ai = no + check_variable = { + var = ex_level_S + value = 5 + compare = less_than + } } cost = 50 days_remove = 60 - modifier = { - civilian_factory_use = 3 + modifier = { + civilian_factory_use = 3 } fixed_random_seed = no - complete_effect = { + complete_effect = { } remove_effect = { - add_to_variable = { var = ex_level_S value = 1 tooltip = level_S_UP } - jiuzhen = yes + add_to_variable = { + var = ex_level_S + value = 1 + tooltip = level_S_UP + } + jiuzhen = yes + } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - xunlian_N_up = { - icon = get_up - allowed = { + icon = get_up + allowed = { } - available = { - has_stability > 0.4 - num_of_civilian_factories_available_for_projects > 2 + available = { + has_stability > 0.4 + num_of_civilian_factories_available_for_projects > 2 } visible = { - has_country_flag = URA_2 - is_ai = no - check_variable = { var = ex_level_N value = 5 compare = less_than } + has_country_flag = URA_2 + is_ai = no + check_variable = { + var = ex_level_N + value = 5 + compare = less_than + } } cost = 50 days_remove = 60 - modifier = { - civilian_factory_use = 3 + modifier = { + civilian_factory_use = 3 } fixed_random_seed = no - complete_effect = { + complete_effect = { } remove_effect = { - add_to_variable = { var = ex_level_N value = 1 tooltip = level_N_UP } - jiuzhen = yes + add_to_variable = { + var = ex_level_N + value = 1 + tooltip = level_N_UP + } + jiuzhen = yes + } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - xunlian_L_up = { - icon = get_up - allowed = { + icon = get_up + allowed = { } - available = { - has_stability > 0.4 - num_of_civilian_factories_available_for_projects > 2 + available = { + has_stability > 0.4 + num_of_civilian_factories_available_for_projects > 2 } visible = { - has_country_flag = URA_2 - is_ai = no - check_variable = { var = ex_level_L value = 5 compare = less_than } + has_country_flag = URA_2 + is_ai = no + check_variable = { + var = ex_level_L + value = 5 + compare = less_than + } } cost = 50 days_remove = 60 - modifier = { - civilian_factory_use = 3 + modifier = { + civilian_factory_use = 3 } fixed_random_seed = no - complete_effect = { + complete_effect = { } remove_effect = { - add_to_variable = { var = ex_level_L value = 1 tooltip = level_L_UP } - jiuzhen = yes + add_to_variable = { + var = ex_level_L + value = 1 + tooltip = level_L_UP + } + jiuzhen = yes + } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - xunlian_G_up = { - icon = get_up - allowed = { + icon = get_up + allowed = { } - available = { - has_stability > 0.4 - num_of_civilian_factories_available_for_projects > 2 + available = { + has_stability > 0.4 + num_of_civilian_factories_available_for_projects > 2 } visible = { - has_country_flag = URA_2 - is_ai = no - check_variable = { var = ex_level_G value = 5 compare = less_than } + has_country_flag = URA_2 + is_ai = no + check_variable = { + var = ex_level_G + value = 5 + compare = less_than + } } cost = 50 days_remove = 60 - modifier = { - civilian_factory_use = 3 + modifier = { + civilian_factory_use = 3 } fixed_random_seed = no - complete_effect = { + complete_effect = { } remove_effect = { - add_to_variable = { var = ex_level_G value = 1 tooltip = level_G_UP } - jiuzhen = yes + add_to_variable = { + var = ex_level_G + value = 1 + tooltip = level_G_UP + } + jiuzhen = yes + } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - - xunlian_Z_up = { - icon = get_up - allowed = { + icon = get_up + allowed = { } - available = { - has_stability > 0.4 - num_of_civilian_factories_available_for_projects > 2 + available = { + has_stability > 0.4 + num_of_civilian_factories_available_for_projects > 2 } visible = { - has_country_flag = URA_2 - is_ai = no - check_variable = { var = ex_level_Z value = 5 compare = less_than } + has_country_flag = URA_2 + is_ai = no + check_variable = { + var = ex_level_Z + value = 5 + compare = less_than + } } cost = 50 days_remove = 60 - modifier = { - civilian_factory_use = 3 + modifier = { + civilian_factory_use = 3 } fixed_random_seed = no - complete_effect = { + complete_effect = { } remove_effect = { - add_to_variable = { var = ex_level_Z value = 1 tooltip = level_Z_UP } - jiuzhen = yes + add_to_variable = { + var = ex_level_Z + value = 1 + tooltip = level_Z_UP + } + jiuzhen = yes + } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - maniang_change_now = { - icon = get_up - allowed = { + icon = get_up + allowed = { } - available = { - + available = { } visible = { - has_country_flag = URA_2 - is_ai = no + has_country_flag = URA_2 + is_ai = no } cost = 0 fixed_random_seed = no - complete_effect = { - country_event = URAPD_event.19 + complete_effect = { + country_event = URAPD_event.19 } remove_effect = { - } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #测试 test_1 = { - icon = get_up + icon = get_up allowed = { - } - available = { + available = { } visible = { - is_debug = yes - has_country_flag = URA_2 - is_ai = no + is_debug = yes + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 1 - modifier = { + modifier = { } fixed_random_seed = no complete_effect = { - } remove_effect = { - get_skill = yes + get_skill = yes country_event = URAPD_event.13 } - ai_will_do = { factor = 0 } - } - - test_2 = { - icon = get_up - allowed = { + ai_will_do = { + factor = 0 } - available = { + } + test_2 = { + icon = get_up + allowed = { + } + available = { } visible = { - is_debug = yes - has_country_flag = URA_2 - is_ai = no + is_debug = yes + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 1 - modifier = { + modifier = { } fixed_random_seed = no complete_effect = { - set_country_flag = URA_skill_1 - set_country_flag = URA_skill_2 - set_country_flag = URA_skill_3 - set_country_flag = URA_skill_4 - set_country_flag = URA_skill_5 - set_country_flag = URA_skill_6 - set_country_flag = URA_skill_7 - set_country_flag = URA_skill_8 - set_country_flag = URA_skill_9 - set_country_flag = URA_skill_10 - set_country_flag = URA_skill_11 - set_country_flag = URA_skill_12 - set_country_flag = URA_skill_13 - set_country_flag = URA_skill_14 - set_country_flag = URA_skill_15 - set_country_flag = URA_skill_16 - set_country_flag = URA_skill_17 - set_country_flag = URA_skill_18 - set_country_flag = URA_skill_19 - set_country_flag = URA_skill_20 - set_country_flag = URA_skill_21 - set_country_flag = URA_skill_22 - set_country_flag = URA_skill_23 - set_country_flag = URA_skill_24 - set_country_flag = URA_skill_25 - set_country_flag = URA_skill_26 - set_country_flag = URA_skill_27 - set_country_flag = URA_skill_28 - set_country_flag = URA_skill_29 - set_country_flag = URA_skill_30 - set_country_flag = URA_skill_31 - set_country_flag = URA_skill_32 - set_country_flag = URA_skill_33 - set_country_flag = URA_skill_34 - set_country_flag = URA_skill_35 - set_country_flag = URA_skill_36 - set_country_flag = URA_skill_37 - set_country_flag = URA_skill_38 - set_country_flag = URA_skill_39 - set_country_flag = URA_skill_40 - set_country_flag = URA_skill_41 - set_country_flag = URA_skill_42 - set_country_flag = URA_skill_43 - set_country_flag = URA_skill_44 - set_country_flag = URA_skill_45 - set_country_flag = URA_skill_46 - set_country_flag = URA_skill_47 - set_country_flag = URA_skill_48 - set_country_flag = URA_skill_49 - set_country_flag = URA_skill_50 - set_country_flag = URA_skill_51 - set_country_flag = URA_skill_52 - set_country_flag = URA_skill_53 - set_country_flag = URA_skill_54 - set_country_flag = URA_skill_55 - set_country_flag = URA_skill_56 - set_country_flag = URA_skill_57 - set_country_flag = URA_skill_58 - set_country_flag = URA_skill_59 - set_country_flag = URA_skill_60 - set_country_flag = URA_skill_61 - set_country_flag = URA_skill_62 - set_country_flag = URA_skill_63 - set_country_flag = URA_skill_64 - set_country_flag = URA_skill_65 - set_country_flag = URA_skill_66 - set_country_flag = URA_skill_67 - set_country_flag = URA_skill_68 - set_country_flag = URA_skill_69 - set_country_flag = URA_skill_70 - set_country_flag = URA_skill_71 + set_country_flag = URA_skill_1 + set_country_flag = URA_skill_2 + set_country_flag = URA_skill_3 + set_country_flag = URA_skill_4 + set_country_flag = URA_skill_5 + set_country_flag = URA_skill_6 + set_country_flag = URA_skill_7 + set_country_flag = URA_skill_8 + set_country_flag = URA_skill_9 + set_country_flag = URA_skill_10 + set_country_flag = URA_skill_11 + set_country_flag = URA_skill_12 + set_country_flag = URA_skill_13 + set_country_flag = URA_skill_14 + set_country_flag = URA_skill_15 + set_country_flag = URA_skill_16 + set_country_flag = URA_skill_17 + set_country_flag = URA_skill_18 + set_country_flag = URA_skill_19 + set_country_flag = URA_skill_20 + set_country_flag = URA_skill_21 + set_country_flag = URA_skill_22 + set_country_flag = URA_skill_23 + set_country_flag = URA_skill_24 + set_country_flag = URA_skill_25 + set_country_flag = URA_skill_26 + set_country_flag = URA_skill_27 + set_country_flag = URA_skill_28 + set_country_flag = URA_skill_29 + set_country_flag = URA_skill_30 + set_country_flag = URA_skill_31 + set_country_flag = URA_skill_32 + set_country_flag = URA_skill_33 + set_country_flag = URA_skill_34 + set_country_flag = URA_skill_35 + set_country_flag = URA_skill_36 + set_country_flag = URA_skill_37 + set_country_flag = URA_skill_38 + set_country_flag = URA_skill_39 + set_country_flag = URA_skill_40 + set_country_flag = URA_skill_41 + set_country_flag = URA_skill_42 + set_country_flag = URA_skill_43 + set_country_flag = URA_skill_44 + set_country_flag = URA_skill_45 + set_country_flag = URA_skill_46 + set_country_flag = URA_skill_47 + set_country_flag = URA_skill_48 + set_country_flag = URA_skill_49 + set_country_flag = URA_skill_50 + set_country_flag = URA_skill_51 + set_country_flag = URA_skill_52 + set_country_flag = URA_skill_53 + set_country_flag = URA_skill_54 + set_country_flag = URA_skill_55 + set_country_flag = URA_skill_56 + set_country_flag = URA_skill_57 + set_country_flag = URA_skill_58 + set_country_flag = URA_skill_59 + set_country_flag = URA_skill_60 + set_country_flag = URA_skill_61 + set_country_flag = URA_skill_62 + set_country_flag = URA_skill_63 + set_country_flag = URA_skill_64 + set_country_flag = URA_skill_65 + set_country_flag = URA_skill_66 + set_country_flag = URA_skill_67 + set_country_flag = URA_skill_68 + set_country_flag = URA_skill_69 + set_country_flag = URA_skill_70 + set_country_flag = URA_skill_71 } remove_effect = { - } - ai_will_do = { factor = 0 } - } + ai_will_do = { + factor = 0 + } + } } jineng_decisions = { -#########通用技能########## - #气候适应 - Skill_1 = { - icon = skill_1 - allowed = { + #########通用技能########## + #气候适应 + Skill_1 = { + icon = skill_1 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_1 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_1 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - acclimatization_cold_climate_gain_factor = 0.4 - acclimatization_hot_climate_gain_factor = 0.4 - + modifier = { + acclimatization_cold_climate_gain_factor = 0.4 + acclimatization_hot_climate_gain_factor = 0.4 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_2 = { - icon = skill_2 - allowed = { + Skill_2 = { + icon = skill_2 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_2 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_2 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - training_time_army_factor = -0.5 + modifier = { + training_time_army_factor = -0.5 minimum_training_level = -0.5 max_training = 0.5 - } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_3 = { - icon = skill_3 - allowed = { + Skill_3 = { + icon = skill_3 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_3 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_3 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - army_speed_factor = 0.2 - air_maximum_speed_factor = 0.2 - Navy_speed_factor = 0.2 - + modifier = { + army_speed_factor = 0.2 + air_maximum_speed_factor = 0.2 + Navy_speed_factor = 0.2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_4 = { - icon = skill_4 - allowed = { + Skill_4 = { + icon = skill_4 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_4 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_4 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - Army_org_factor = 0.2 - Army_org_regain = 0.3 - org_loss_when_moving = -0.4 - + modifier = { + Army_org_factor = 0.2 + Army_org_regain = 0.3 + org_loss_when_moving = -0.4 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_5 = { - icon = skill_5 - allowed = { + Skill_5 = { + icon = skill_5 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_5 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_5 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - Experience_gain_army_factor = 0.5 - Experience_gain_army_unit_factor = 0.5 - + modifier = { + Experience_gain_army_factor = 0.5 + Experience_gain_army_unit_factor = 0.5 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_6 = { - icon = skill_6 - allowed = { + Skill_6 = { + icon = skill_6 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_6 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_6 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - terrain_penalty_reduction = 0.4 - pocket_penalty = -0.3 - no_supply_grace = 96 - + modifier = { + terrain_penalty_reduction = 0.4 + pocket_penalty = -0.3 + no_supply_grace = 96 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_7 = { - icon = skill_7 - allowed = { + Skill_7 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_7 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_7 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - max_dig_in_factor = 0.2 - dig_in_speed_factor = 1.0 + modifier = { + max_dig_in_factor = 0.2 + dig_in_speed_factor = 1 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_8 = { - icon = skill_8 - allowed = { + Skill_8 = { + icon = skill_8 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_8 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_8 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - Army_attack_factor = 0.25 - Army_defence_factor = 0.25 + modifier = { + Army_attack_factor = 0.25 + Army_defence_factor = 0.25 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_9 = { - icon = skill_9 - allowed = { + Skill_9 = { + icon = skill_9 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_9 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_9 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - max_planning = 0.2 - planning_speed = 0.5 - + modifier = { + max_planning = 0.2 + planning_speed = 0.5 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_10 = { - icon = skill_10 - allowed = { + Skill_10 = { + icon = skill_10 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_10 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_10 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - air_attack_factor = 0.2 - air_defence_factor = 0.2 - + modifier = { + air_attack_factor = 0.2 + air_defence_factor = 0.2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_11 = { - icon = skill_11 - allowed = { + Skill_11 = { + icon = skill_11 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_11 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_11 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - air_weather_penalty = -0.4 - air_night_penalty = -0.25 - + modifier = { + air_weather_penalty = -0.4 + air_night_penalty = -0.25 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_12 = { - icon = skill_12 - allowed = { + Skill_12 = { + icon = skill_12 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_12 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_12 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - Winter_attrition_factor = -0.2 - heat_attrition_factor = -0.2 - + modifier = { + Winter_attrition_factor = -0.2 + heat_attrition_factor = -0.2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_13 = { - icon = skill_13 - allowed = { + Skill_13 = { + icon = skill_13 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_13 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_13 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - Naval_strike_targetting_factor = 0.3 - Naval_strike_agility_factor = 0.2 - + modifier = { + Naval_strike_targetting_factor = 0.3 + Naval_strike_agility_factor = 0.2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_14 = { - icon = skill_14 - allowed = { + Skill_14 = { + icon = skill_14 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_14 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_14 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - political_power_factor = 0.7 - + modifier = { + political_power_factor = 0.7 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_15 = { - icon = skill_15 - allowed = { + Skill_15 = { + icon = skill_15 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_15 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_15 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - research_speed_factor = 0.4 - + modifier = { + research_speed_factor = 0.4 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_16 = { - icon = skill_16 - allowed = { + Skill_16 = { + icon = skill_16 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_16 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_16 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - war_support_weekly = 0.005 - stability_weekly = 0.005 - + modifier = { + war_support_weekly = 0.005 + stability_weekly = 0.005 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_17 = { - icon = skill_17 - allowed = { + Skill_17 = { + icon = skill_17 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_17 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_17 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - special_forces_training_time_factor = -0.4 - special_forces_no_supply_grace = 48 - special_forces_attack_factor = 0.2 - special_forces_defence_factor = 0.2 + modifier = { + special_forces_training_time_factor = -0.4 + special_forces_no_supply_grace = 48 + special_forces_attack_factor = 0.2 + special_forces_defence_factor = 0.2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_18 = { - icon = skill_18 - allowed = { + Skill_18 = { + icon = skill_18 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_18 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_18 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - air_range_factor = 0.2 - extra_paratrooper_supply_grace = 96 - air_superiority_efficiency = 0.15 + modifier = { + air_range_factor = 0.2 + extra_paratrooper_supply_grace = 96 + air_superiority_efficiency = 0.15 paratrooper_count_per_plane = 10 - paradrop_organization_factor = 0.2 - paratrooper_aa_defense = 0.3 - + paradrop_organization_factor = 0.2 + paratrooper_aa_defense = 0.3 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_19 = { - icon = skill_19 - allowed = { + Skill_19 = { + icon = skill_19 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_19 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_19 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - extra_marine_supply_grace = 96 - invasion_preparation = -0.5 - transport_capacity = -0.5 - naval_invasion_capacity = 12 - amphibious_invasion_defence = 0.3 + modifier = { + extra_marine_supply_grace = 96 + invasion_preparation = -0.5 + transport_capacity = -0.5 + naval_invasion_capacity = 12 + amphibious_invasion_defence = 0.3 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_20 = { - icon = skill_20 - allowed = { + Skill_20 = { + icon = skill_20 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_20 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_20 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - navy_submarine_attack_factor = 0.2 - navy_submarine_defence_factor = 0.2 - naval_torpedo_hit_chance_factor = 0.15 - naval_torpedo_reveal_chance_factor = -0.15 - naval_torpedo_screen_penetration_factor = 0.15 - naval_torpedo_cooldown_factor = -0.2 - torpedo_attack = 0.2 - sub_retreat_speed = 0.2 - navy_visibility = -0.10 - + modifier = { + navy_submarine_attack_factor = 0.2 + navy_submarine_defence_factor = 0.2 + naval_torpedo_hit_chance_factor = 0.15 + naval_torpedo_reveal_chance_factor = -0.15 + naval_torpedo_screen_penetration_factor = 0.15 + naval_torpedo_cooldown_factor = -0.2 + torpedo_attack = 0.2 + sub_retreat_speed = 0.2 + navy_visibility = -0.1 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_21 = { - icon = skill_21 - allowed = { + Skill_21 = { + icon = skill_21 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_21 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_21 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - navy_carrier_air_attack_factor = 0.2 - navy_carrier_air_targetting_factor = 0.2 - navy_carrier_air_agility_factor = 0.2 - + modifier = { + navy_carrier_air_attack_factor = 0.2 + navy_carrier_air_targetting_factor = 0.2 + navy_carrier_air_agility_factor = 0.2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_22 = { - icon = skill_22 - allowed = { + Skill_22 = { + icon = skill_22 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_22 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_22 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - navy_capital_ship_attack_factor = 0.25 - navy_capital_ship_defence_factor = 0.25 - naval_detection = 0.15 - naval_strike = 0.15 + modifier = { + navy_capital_ship_attack_factor = 0.25 + navy_capital_ship_defence_factor = 0.25 + naval_detection = 0.15 + naval_strike = 0.15 naval_hit_chance = 0.15 Naval_critical_score_chance_factor = 0.4 - } + } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_23 = { - icon = skill_23 - allowed = { + Skill_23 = { + icon = skill_23 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_23 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_23 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - experience_gain_army = 1 - + modifier = { + experience_gain_army = 1 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_24 = { - icon = skill_24 - allowed = { + Skill_24 = { + icon = skill_24 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_24 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_24 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - experience_gain_navy = 1 - + modifier = { + experience_gain_navy = 1 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_25 = { - icon = skill_25 - allowed = { + Skill_25 = { + icon = skill_25 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_25 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_25 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - experience_gain_air = 1 - + modifier = { + experience_gain_air = 1 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_26 = { - icon = skill_26 - allowed = { + Skill_26 = { + icon = skill_26 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_26 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_26 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - command_power_gain_mult = 1 - + modifier = { + command_power_gain_mult = 1 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_27 = { - icon = skill_27 - allowed = { + Skill_27 = { + icon = skill_27 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_27 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_27 + is_ai = no } cost = 0 days_remove = 240 - modifier = { - - + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { - every_army_leader = { - add_skill_level = 1 - add_logistics = 1 - add_planning = 1 - add_defense = 1 - add_attack = 1 - } + every_army_leader = { + add_skill_level = 1 + add_logistics = 1 + add_planning = 1 + add_defense = 1 + add_attack = 1 + } + } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - # - Skill_28 = { - icon = skill_28 - allowed = { + Skill_28 = { + icon = skill_28 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_28 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_28 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - - + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { - add_ace = { name = "FighterAce" surname = "Lady-1" callsign = "Madam-1" type = fighter_genius is_female = yes } - add_ace = { name = "FighterAce" surname = "Lady-2" callsign = "Madam-2" type = fighter_genius is_female = yes } + add_ace = { + name = "FighterAce" + surname = "Lady-1" + callsign = "Madam-1" + type = fighter_genius + is_female = yes + } + add_ace = { + name = "FighterAce" + surname = "Lady-2" + callsign = "Madam-2" + type = fighter_genius + is_female = yes + } + } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - # - Skill_29 = { - icon = skill_29 - allowed = { + Skill_29 = { + icon = skill_29 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_29 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_29 + is_ai = no } cost = 0 days_remove = 360 - modifier = { - - + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { - set_technology = { nukes = 1 } + set_technology = { + nukes = 1 + } + } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - # - Skill_30 = { - icon = skill_30 - allowed = { + Skill_30 = { + icon = skill_30 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_30 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_30 + is_ai = no } cost = 0 days_remove = 720 - modifier = { - - + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - add_research_slot = 1 - } - ai_will_do = { factor = 0 } - } - - # - Skill_31 = { - icon = skill_31 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_31 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - - army_infantry_attack_factor = 0.15 - army_infantry_defence_factor = 0.15 - army_infantry_speed_factor = 0.15 - custom_effect_tooltip = infa_up - experience_gain_infantry_training_factor = 0.4 - experience_gain_infantry_combat_factor = 0.4 - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_32 = { - icon = skill_32 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_32 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - - motorized_attack_factor = 0.15 - motorized_defence_factor = 0.15 - motorized_speed_factor = 0.15 - custom_effect_tooltip = motuo_up - experience_gain_motorized_training_factor = 0.4 - experience_gain_motorized_combat_factor = 0.4 - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_33 = { - icon = skill_33 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_33 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - - Army_artillery_attack_factor = 0.15 - Army_artillery_defence_factor = 0.15 - Army_artillery_speed_factor = 0.15 - custom_effect_tooltip = arti_up - experience_gain_artillery_training_factor = 0.4 - experience_gain_artillery_combat_factor = 0.4 - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_34 = { - icon = skill_34 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_34 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - - army_armor_attack_factor = 0.15 - army_armor_defence_factor = 0.15 - army_armor_speed_factor = 0.15 - custom_effect_tooltip = armor_up - experience_gain_armored_car_training_factor = 0.4 - experience_gain_armored_car_combat_factor = 0.4 - experience_gain_armored_car_recon_training_factor = 0.4 - experience_gain_armored_car_recon_combat_factor = 0.4 - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_35 = { - icon = skill_35 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_35 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - conscription = 0.03 - conscription_factor = 0.3 - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_36 = { - icon = skill_36 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_36 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - consumer_goods_factor = -0.05 - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_37 = { - icon = skill_37 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_37 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - production_speed_infrastructure_factor = 0.15 - production_speed_industrial_complex_factor = 0.15 - production_speed_arms_factory_factor = 0.15 - production_speed_dockyard_factor = 0.15 - production_speed_fuel_silo_factor = 0.20 - production_speed_synthetic_refinery_factor = 0.20 - production_speed_naval_base_factor = 0.20 - production_speed_radar_station_factor = 0.20 - production_speed_air_base_factor = 0.20 - production_speed_anti_air_building_factor = 0.20 - production_speed_bunker_factor = 0.20 - production_speed_coastal_bunker_factor = 0.20 - production_speed_rocket_site_factor = 0.20 - production_speed_nuclear_reactor_factor = 0.15 - - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - - # - Skill_38 = { - icon = skill_38 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_38 - is_ai = no - } - cost = 0 - days_remove = 90 - modifier = { - - - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - add_offsite_building = { type = industrial_complex level = 3 } - } - ai_will_do = { factor = 0 } - } - - # - Skill_39 = { - icon = skill_39 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_39 - is_ai = no - } - cost = 0 - days_remove = 90 - modifier = { - - - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - add_offsite_building = { type = arms_factory level = 3 } - } - ai_will_do = { factor = 0 } - } - - # - Skill_40 = { - icon = skill_40 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_40 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - - - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - every_state = { - limit = { is_controlled_by = ROOT } - add_extra_state_shared_building_slots = 1 - } - } - ai_will_do = { factor = 0 } - } - - # - Skill_41 = { - icon = skill_41 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_41 - is_ai = no - } - cost = 0 - days_remove = 90 - modifier = { - - - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - every_state = { - limit = { is_controlled_by = ROOT } - add_building_construction = { - type = infrastructure - level = 1 - instant_build = yes - } - } - } - ai_will_do = { factor = 0 } - } - - # - Skill_42 = { - icon = skill_42 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_42 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - Equipment_capture_factor = 0.5 - - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_43 = { - icon = skill_43 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_43 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - required_garrison_factor = -0.2 - compliance_growth = 0.5 - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_44 = { - icon = skill_44 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_44 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - send_volunteer_size = 12 - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_45 = { - icon = skill_45 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_45 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - conversion_cost_civ_to_mil_factor= -0.5 - conversion_cost_mil_to_civ_factor = -0.5 - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_46 = { - icon = skill_46 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_46 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - industrial_capacity_factory = 0.2 - industrial_capacity_dockyard = 0.2 - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_47 = { - icon = skill_47 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_47 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - production_factory_max_efficiency_factor = 0.15 - production_factory_efficiency_gain_factor = 0.10 - production_lack_of_resource_penalty_factor = -0.3 - line_change_production_efficiency_factor = 0.15 - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_48 = { - icon = skill_48 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_48 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - base_fuel_gain_factor = 0.4 - Fuel_gain_factor = 0.4 - navy_fuel_consumption_factor = -0.3 - air_fuel_consumption_factor = -0.3 - Army_fuel_consumption_factor = -0.3 - - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_49 = { - icon = skill_49 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_49 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - political_advisor_cost_factor = -0.25 - trade_laws_cost_factor = -0.25 - mobilization_laws_cost_factor = -0.25 - economy_cost_factor = -0.25 - high_command_cost_factor = -0.25 - air_chief_cost_factor = -0.25 - army_chief_cost_factor = -0.25 - navy_chief_cost_factor = -0.25 - - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_50 = { - icon = skill_50 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_50 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - surrender_limit = 0.15 - - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - } - ai_will_do = { factor = 0 } - } - - # - Skill_51 = { - icon = skill_51 - allowed = { - } - available = { - custom_trigger_tooltip = { - tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no - has_war = yes - } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_51 - is_ai = no - } - cost = 0 - days_remove = 120 - modifier = { - - - } - fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - every_country = { - limit = { has_war_with = ROOT } - add_equipment_to_stockpile = { - type = infantry_equipment - amount = -5000 - } - ROOT = { - add_equipment_to_stockpile = { - type = infantry_equipment - amount = 5000 - } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less } - } - } - ai_will_do = { factor = 0 } + remove_effect = { + add_research_slot = 1 + } + ai_will_do = { + factor = 0 + } } - # - Skill_52 = { - icon = skill_52 - allowed = { + Skill_31 = { + icon = skill_31 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - has_war = yes - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_52 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_31 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + army_infantry_attack_factor = 0.15 + army_infantry_defence_factor = 0.15 + army_infantry_speed_factor = 0.15 + custom_effect_tooltip = infa_up + experience_gain_infantry_training_factor = 0.4 + experience_gain_infantry_combat_factor = 0.4 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_32 = { + icon = skill_32 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_32 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + motorized_attack_factor = 0.15 + motorized_defence_factor = 0.15 + motorized_speed_factor = 0.15 + custom_effect_tooltip = motuo_up + experience_gain_motorized_training_factor = 0.4 + experience_gain_motorized_combat_factor = 0.4 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_33 = { + icon = skill_33 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_33 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + Army_artillery_attack_factor = 0.15 + Army_artillery_defence_factor = 0.15 + Army_artillery_speed_factor = 0.15 + custom_effect_tooltip = arti_up + experience_gain_artillery_training_factor = 0.4 + experience_gain_artillery_combat_factor = 0.4 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_34 = { + icon = skill_34 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_34 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + army_armor_attack_factor = 0.15 + army_armor_defence_factor = 0.15 + army_armor_speed_factor = 0.15 + custom_effect_tooltip = armor_up + experience_gain_armored_car_training_factor = 0.4 + experience_gain_armored_car_combat_factor = 0.4 + experience_gain_armored_car_recon_training_factor = 0.4 + experience_gain_armored_car_recon_combat_factor = 0.4 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_35 = { + icon = skill_35 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_35 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + conscription = 0.03 + conscription_factor = 0.3 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_36 = { + icon = skill_36 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_36 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + consumer_goods_factor = -0.05 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_37 = { + icon = skill_37 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_37 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + production_speed_infrastructure_factor = 0.15 + production_speed_industrial_complex_factor = 0.15 + production_speed_arms_factory_factor = 0.15 + production_speed_dockyard_factor = 0.15 + production_speed_fuel_silo_factor = 0.2 + production_speed_synthetic_refinery_factor = 0.2 + production_speed_naval_base_factor = 0.2 + production_speed_radar_station_factor = 0.2 + production_speed_air_base_factor = 0.2 + production_speed_anti_air_building_factor = 0.2 + production_speed_bunker_factor = 0.2 + production_speed_coastal_bunker_factor = 0.2 + production_speed_rocket_site_factor = 0.2 + production_speed_nuclear_reactor_factor = 0.15 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_38 = { + icon = skill_38 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_38 + is_ai = no + } + cost = 0 + days_remove = 90 + modifier = { + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + add_offsite_building = { + type = industrial_complex + level = 3 + } + } + ai_will_do = { + factor = 0 + } + } + # + Skill_39 = { + icon = skill_39 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_39 + is_ai = no + } + cost = 0 + days_remove = 90 + modifier = { + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + add_offsite_building = { + type = arms_factory + level = 3 + } + } + ai_will_do = { + factor = 0 + } + } + # + Skill_40 = { + icon = skill_40 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_40 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + every_state = { + limit = { + is_controlled_by = ROOT + } + add_extra_state_shared_building_slots = 1 + } + } + ai_will_do = { + factor = 0 + } + } + # + Skill_41 = { + icon = skill_41 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_41 + is_ai = no + } + cost = 0 + days_remove = 90 + modifier = { + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + every_state = { + limit = { + is_controlled_by = ROOT + } + add_building_construction = { + type = infrastructure + level = 1 + instant_build = yes + } + } + } + ai_will_do = { + factor = 0 + } + } + # + Skill_42 = { + icon = skill_42 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_42 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + Equipment_capture_factor = 0.5 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_43 = { + icon = skill_43 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_43 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + required_garrison_factor = -0.2 + compliance_growth = 0.5 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_44 = { + icon = skill_44 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_44 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + send_volunteer_size = 12 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_45 = { + icon = skill_45 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_45 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + conversion_cost_civ_to_mil_factor = -0.5 + conversion_cost_mil_to_civ_factor = -0.5 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_46 = { + icon = skill_46 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_46 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + industrial_capacity_factory = 0.2 + industrial_capacity_dockyard = 0.2 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_47 = { + icon = skill_47 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_47 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + production_factory_max_efficiency_factor = 0.15 + production_factory_efficiency_gain_factor = 0.1 + production_lack_of_resource_penalty_factor = -0.3 + line_change_production_efficiency_factor = 0.15 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_48 = { + icon = skill_48 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_48 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + base_fuel_gain_factor = 0.4 + Fuel_gain_factor = 0.4 + navy_fuel_consumption_factor = -0.3 + air_fuel_consumption_factor = -0.3 + Army_fuel_consumption_factor = -0.3 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_49 = { + icon = skill_49 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_49 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + political_advisor_cost_factor = -0.25 + trade_laws_cost_factor = -0.25 + mobilization_laws_cost_factor = -0.25 + economy_cost_factor = -0.25 + high_command_cost_factor = -0.25 + air_chief_cost_factor = -0.25 + army_chief_cost_factor = -0.25 + navy_chief_cost_factor = -0.25 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_50 = { + icon = skill_50 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_50 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + surrender_limit = 0.15 + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + } + ai_will_do = { + factor = 0 + } + } + # + Skill_51 = { + icon = skill_51 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no + has_war = yes + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_51 + is_ai = no + } + cost = 0 + days_remove = 120 + modifier = { + } + fixed_random_seed = no + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } + } + remove_effect = { + every_country = { + limit = { + has_war_with = ROOT + } + add_equipment_to_stockpile = { + type = infantry_equipment + amount = -5000 + } + ROOT = { + add_equipment_to_stockpile = { + type = infantry_equipment + amount = 5000 + } + } + } + } + ai_will_do = { + factor = 0 + } + } + # + Skill_52 = { + icon = skill_52 + allowed = { + } + available = { + custom_trigger_tooltip = { + tooltip = data_P_more + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + has_war = yes + is_ai = no + } + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_52 + is_ai = no } cost = 0 days_remove = 5 - modifier = { - + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { - division_template = { + division_template = { name = "卫戍团" regiments = { - infantry = { x = 0 y = 0 } - infantry = { x = 0 y = 1 } - infantry = { x = 0 y = 2 } - infantry = { x = 0 y = 3 } + infantry = { + x = 0 + y = 0 + } + infantry = { + x = 0 + y = 1 + } + infantry = { + x = 0 + y = 2 + } + infantry = { + x = 0 + y = 3 + } } - } - every_state = { - limit = { - is_controlled_by = ROOT - is_capital = yes } - create_unit = { + every_state = { + limit = { + is_controlled_by = ROOT + is_capital = yes + } + create_unit = { division = "name = \"卫戍团\" division_template = \"卫戍团\" start_experience_factor = 0.1 start_equipment_factor = 0.3" owner = ROOT } - create_unit = { + create_unit = { division = "name = \"卫戍团\" division_template = \"卫戍团\" start_experience_factor = 0.1 start_equipment_factor = 0.3" owner = ROOT } - create_unit = { + create_unit = { division = "name = \"卫戍团\" division_template = \"卫戍团\" start_experience_factor = 0.1 start_equipment_factor = 0.3" owner = ROOT } - create_unit = { + create_unit = { division = "name = \"卫戍团\" division_template = \"卫戍团\" start_experience_factor = 0.1 start_equipment_factor = 0.3" owner = ROOT } - create_unit = { + create_unit = { division = "name = \"卫戍团\" division_template = \"卫戍团\" start_experience_factor = 0.1 start_equipment_factor = 0.3" owner = ROOT } - create_unit = { + create_unit = { division = "name = \"卫戍团\" division_template = \"卫戍团\" start_experience_factor = 0.1 start_equipment_factor = 0.3" owner = ROOT - } + } + } } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - # - Skill_53 = { - icon = skill_53 - allowed = { + Skill_53 = { + icon = skill_53 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - has_war = yes - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + has_war = yes + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_53 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_53 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - - - - - - - - - - + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { - every_country = { - limit = { has_war_with = ROOT } - every_army_leader = { - add_timed_unit_leader_trait = { - trait = wounded - days = 20 - } - } + every_country = { + limit = { + has_war_with = ROOT + } + every_army_leader = { + add_timed_unit_leader_trait = { + trait = wounded + days = 20 + } + } + } } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - # - Skill_54 = { - icon = skill_54 - allowed = { + Skill_54 = { + icon = skill_54 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_54 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_54 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - commando_trait_chance_factor = 0.7 - + modifier = { + commando_trait_chance_factor = 0.7 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_55 = { - icon = skill_55 - allowed = { + Skill_55 = { + icon = skill_55 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_55 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_55 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - land_equipment_upgrade_xp_cost = -0.5 - naval_equipment_upgrade_xp_cost = -0.5 - air_equipment_upgrade_xp_cost = -0.5 + modifier = { + land_equipment_upgrade_xp_cost = -0.5 + naval_equipment_upgrade_xp_cost = -0.5 + air_equipment_upgrade_xp_cost = -0.5 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_56 = { - icon = skill_56 - allowed = { + Skill_56 = { + icon = skill_56 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_56 - not = { - has_country_flag = URA_skill_72 - } - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_56 + NOT = { + has_country_flag = URA_skill_72 + } + is_ai = no } cost = 0 days_remove = 60 - modifier = { - - + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } - remove_effect = { + remove_effect = { if = { - limit = { - NOT = { has_tech = basic_heavy_tank } + limit = { + NOT = { + has_tech = basic_heavy_tank + } } - set_technology = { basic_heavy_tank = 1 } - } - if = { - limit = { - NOT = { has_tech = super_heavy_tank } + set_technology = { + basic_heavy_tank = 1 } - set_technology = { super_heavy_tank = 1 } - } - if = { - limit = { - NOT = { has_tech = tech_maintenance_company } - } - set_technology = { tech_maintenance_company = 1 } } if = { - limit = { - NOT = { has_tech = mechanised_infantry } + limit = { + NOT = { + has_tech = super_heavy_tank + } + } + set_technology = { + super_heavy_tank = 1 } - set_technology = { mechanised_infantry = 1 } } - division_template = { + if = { + limit = { + NOT = { + has_tech = tech_maintenance_company + } + } + set_technology = { + tech_maintenance_company = 1 + } + } + if = { + limit = { + NOT = { + has_tech = mechanised_infantry + } + } + set_technology = { + mechanised_infantry = 1 + } + } + division_template = { name = "移动要塞" is_locked = yes regiments = { - mechanized = { x = 0 y = 0 } - mechanized = { x = 0 y = 1 } - mechanized = { x = 0 y = 2 } - mechanized = { x = 0 y = 3 } - mechanized = { x = 0 y = 4 } - mechanized = { x = 1 y = 0 } - mechanized = { x = 1 y = 1 } - mechanized = { x = 1 y = 2 } - mechanized = { x = 1 y = 3 } - mechanized = { x = 1 y = 4 } - heavy_armor = { x = 2 y = 0 } - heavy_armor = { x = 2 y = 1 } - heavy_armor = { x = 2 y = 2 } - heavy_armor = { x = 2 y = 3 } - heavy_armor = { x = 2 y = 4 } - heavy_armor = { x = 3 y = 0 } - heavy_armor = { x = 3 y = 1 } - heavy_armor = { x = 3 y = 2 } - heavy_armor = { x = 3 y = 3 } - heavy_armor = { x = 3 y = 4 } - super_heavy_armor = { x = 4 y = 0 } - super_heavy_armor = { x = 4 y = 1 } - super_heavy_armor = { x = 4 y = 2 } - super_heavy_armor = { x = 4 y = 3 } - super_heavy_armor = { x = 4 y = 4 } + mechanized = { + x = 0 + y = 0 + } + mechanized = { + x = 0 + y = 1 + } + mechanized = { + x = 0 + y = 2 + } + mechanized = { + x = 0 + y = 3 + } + mechanized = { + x = 0 + y = 4 + } + mechanized = { + x = 1 + y = 0 + } + mechanized = { + x = 1 + y = 1 + } + mechanized = { + x = 1 + y = 2 + } + mechanized = { + x = 1 + y = 3 + } + mechanized = { + x = 1 + y = 4 + } + heavy_armor = { + x = 2 + y = 0 + } + heavy_armor = { + x = 2 + y = 1 + } + heavy_armor = { + x = 2 + y = 2 + } + heavy_armor = { + x = 2 + y = 3 + } + heavy_armor = { + x = 2 + y = 4 + } + heavy_armor = { + x = 3 + y = 0 + } + heavy_armor = { + x = 3 + y = 1 + } + heavy_armor = { + x = 3 + y = 2 + } + heavy_armor = { + x = 3 + y = 3 + } + heavy_armor = { + x = 3 + y = 4 + } + super_heavy_armor = { + x = 4 + y = 0 + } + super_heavy_armor = { + x = 4 + y = 1 + } + super_heavy_armor = { + x = 4 + y = 2 + } + super_heavy_armor = { + x = 4 + y = 3 + } + super_heavy_armor = { + x = 4 + y = 4 + } } support = { - engineer = { x = 0 y = 0 } - logistics_company = { x = 0 y = 1 } - maintenance_company = { x = 0 y = 2 } + engineer = { + x = 0 + y = 0 + } + logistics_company = { + x = 0 + y = 1 + } + maintenance_company = { + x = 0 + y = 2 + } } - + } + custom_effect_tooltip = yanjiuyaosai + set_country_flag = URA_skill_72 } - custom_effect_tooltip = yanjiuyaosai - set_country_flag = URA_skill_72 + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - Skill_72 = { - icon = skill_56 - allowed = { + icon = skill_56 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_72 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_72 + is_ai = no } cost = 0 days_remove = 60 - modifier = { - - + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } - } - remove_effect = { - every_state = { - limit = { - is_controlled_by = ROOT - is_capital = yes - } - create_unit = { - division = "name = \"移动要塞\" division_template = \"移动要塞\" start_experience_factor = 1.0 start_equipment_factor = 1.0" - owner = ROOT + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less } } + remove_effect = { + every_state = { + limit = { + is_controlled_by = ROOT + is_capital = yes + } + create_unit = { + division = "name = \"移动要塞\" division_template = \"移动要塞\" start_experience_factor = 1.0 start_equipment_factor = 1.0" + owner = ROOT + } + } + } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - - # - Skill_57 = { - icon = skill_57 - allowed = { + Skill_57 = { + icon = skill_57 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_57 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_57 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - breakthrough_bonus_against = 0.5 - + modifier = { + breakthrough_bonus_against = 0.5 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_58 = { - icon = skill_58 - allowed = { + Skill_58 = { + icon = skill_58 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_58 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_58 + is_ai = no } cost = 0 days_remove = 120 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { - every_country = { - limit = { has_war_with = ROOT } - add_stability = -0.25 - add_war_support = -0.25 + every_country = { + limit = { + has_war_with = ROOT + } + add_stability = -0.25 + add_war_support = -0.25 + } } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - # - Skill_59 = { - icon = skill_59 - allowed = { + Skill_59 = { + icon = skill_59 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_59 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_59 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - - + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { - custom_effect_tooltip = junhuoku - every_country = { - limit = { has_war_with = ROOT } - set_equipment_fraction = 0.8 + custom_effect_tooltip = junhuoku + every_country = { + limit = { + has_war_with = ROOT + } + set_equipment_fraction = 0.8 + } } + ai_will_do = { + factor = 0 } - ai_will_do = { factor = 0 } } - # - Skill_60 = { - icon = skill_60 - allowed = { + Skill_60 = { + icon = skill_60 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_60 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_60 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - resistance_decay_on_our_occupied_states = -0.5 - resistance_growth_on_our_occupied_states = 0.5 + modifier = { + resistance_decay_on_our_occupied_states = -0.5 + resistance_growth_on_our_occupied_states = 0.5 Resistance_damage_to_garrison_on_our_occupied_states = 0.5 - } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_61 = { - icon = skill_61 - allowed = { + Skill_61 = { + icon = skill_61 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_61 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_61 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - local_resources_factor = 0.20 - + modifier = { + local_resources_factor = 0.2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - # - Skill_62 = { - icon = skill_62 - allowed = { + Skill_62 = { + icon = skill_62 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_62 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_62 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - military_leader_cost_factor = -0.5 - army_leader_start_defense_level = 2 - army_leader_start_attack_level = 2 - army_leader_start_logistics_level = 2 - army_leader_start_planning_level = 2 + modifier = { + military_leader_cost_factor = -0.5 + army_leader_start_defense_level = 2 + army_leader_start_attack_level = 2 + army_leader_start_logistics_level = 2 + army_leader_start_planning_level = 2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_63 = { - icon = skill_63 - allowed = { + Skill_63 = { + icon = skill_63 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_63 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_63 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - naval_coordination = 0.15 - navy_org_factor = 0.15 - } + modifier = { + naval_coordination = 0.15 + navy_org_factor = 0.15 + } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_64 = { - icon = skill_64 - allowed = { + Skill_64 = { + icon = skill_64 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_64 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_64 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - operation_cost = -0.5 + modifier = { + operation_cost = -0.5 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_65 = { - icon = skill_65 - allowed = { + Skill_65 = { + icon = skill_65 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_65 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_65 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - intelligence_agency_defense = 2 - + modifier = { + intelligence_agency_defense = 2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_66 = { - icon = skill_66 - allowed = { + Skill_66 = { + icon = skill_66 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_66 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_66 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - agency_upgrade_time = -0.5 - + modifier = { + agency_upgrade_time = -0.5 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_67 = { - icon = skill_67 - allowed = { + Skill_67 = { + icon = skill_67 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_67 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_67 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - decryption_factor = 0.3 - encryption_factor = 0.3 - + modifier = { + decryption_factor = 0.3 + encryption_factor = 0.3 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_68 = { - icon = skill_68 - allowed = { + Skill_68 = { + icon = skill_68 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_68 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_68 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - civilian_intel_factor = 0.40 - + modifier = { + civilian_intel_factor = 0.4 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_69 = { - icon = skill_69 - allowed = { + Skill_69 = { + icon = skill_69 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_69 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_69 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - navy_intel_factor = 0.40 - + modifier = { + navy_intel_factor = 0.4 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_70 = { - icon = skill_70 - allowed = { + Skill_70 = { + icon = skill_70 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_70 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_70 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - airforce_intel_factor = 0.40 - + modifier = { + airforce_intel_factor = 0.4 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # - Skill_71 = { - icon = skill_71 - allowed = { + Skill_71 = { + icon = skill_71 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_2 - has_country_flag = URA_skill_71 - is_ai = no + visible = { + has_country_flag = URA_2 + has_country_flag = URA_skill_71 + is_ai = no } cost = 0 days_remove = 120 - modifier = { - Army_intel_factor = 0.40 - + modifier = { + Army_intel_factor = 0.4 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - - -#########个人技能########## - - #流星 - jineng_maniang_1 = { - icon = skill_7 - allowed = { + #########个人技能########## + #流星 + jineng_maniang_1 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_1 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_1 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - consumer_goods_factor = 0.01 - army_speed_factor = 0.25 + modifier = { + consumer_goods_factor = 0.01 + army_speed_factor = 0.25 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #最前方的景色绝不让出…! - jineng_maniang_2 = { - icon = skill_7 - allowed = { + jineng_maniang_2 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_2 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_2 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - army_attack_factor = 0.5 + modifier = { + army_attack_factor = 0.5 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - - - - #究极帝王舞步 - jineng_maniang_3 = { - icon = skill_7 - allowed = { + #究极帝王舞步 + jineng_maniang_3 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_3 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_3 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - army_org_factor = 0.2 - army_morale_factor = 0.4 + modifier = { + army_org_factor = 0.2 + army_morale_factor = 0.4 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #红焰变速/LP1211-M - jineng_maniang_4 = { - icon = skill_7 - allowed = { + jineng_maniang_4 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_4 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_4 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - - modifier = { - + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } add_timed_idea = { idea = jineng_maniang_4 days = 180 @@ -11954,166 +12602,207 @@ jineng_decisions = { } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #煌星的歌舞剧 - jineng_maniang_5 = { - icon = skill_7 - allowed = { + jineng_maniang_5 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_5 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_5 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - consumer_goods_factor = -0.1 + modifier = { + consumer_goods_factor = -0.1 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #胜利的鼓动 - jineng_maniang_6 = { - icon = skill_7 - allowed = { + jineng_maniang_6 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_6 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_6 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - consumer_goods_factor = 0.01 - army_artillery_attack_factor = 0.2 - army_artillery_defence_factor = 0.2 + modifier = { + consumer_goods_factor = 0.01 + army_artillery_attack_factor = 0.2 + army_artillery_defence_factor = 0.2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #不沉舰,起锚! - jineng_maniang_7 = { - icon = skill_7 - allowed = { + jineng_maniang_7 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_7 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_7 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - experience_gain_navy_factor = 1 - naval_hit_chance = 0.15 - naval_coordination = 0.05 + modifier = { + experience_gain_navy_factor = 1 + naval_hit_chance = 0.15 + naval_coordination = 0.05 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #切割×DRIVE! - jineng_maniang_8 = { - icon = skill_7 - allowed = { + jineng_maniang_8 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_8 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_8 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - experience_gain_army = 2 - experience_gain_army_factor = 1 + modifier = { + experience_gain_army = 2 + experience_gain_army_factor = 1 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #华丽 红色王牌 - jineng_maniang_9 = { - icon = skill_7 - allowed = { + jineng_maniang_9 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_9 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_9 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - - modifier = { - - } - + modifier = { + } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } add_timed_idea = { idea = jineng_maniang_9 days = 180 @@ -12121,195 +12810,247 @@ jineng_decisions = { } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #胜利射门! - jineng_maniang_10 = { - icon = skill_7 - allowed = { + jineng_maniang_10 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_10 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_10 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - heat_attrition_factor = -0.4 - army_attack_factor = 0.15 + modifier = { + heat_attrition_factor = -0.4 + army_attack_factor = 0.15 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #精神一到,何事不成 - jineng_maniang_11 = { - icon = skill_7 - allowed = { + jineng_maniang_11 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_11 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_11 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - enemy_partisan_effect = 2 - production_speed_industrial_complex_factor = 0.4 + modifier = { + enemy_partisan_effect = 2 + production_speed_industrial_complex_factor = 0.4 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #单挑!DEAD HEAT! - jineng_maniang_12 = { - icon = skill_7 - allowed = { + jineng_maniang_12 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_12 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_12 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - conscription = 0.05 + modifier = { + conscription = 0.05 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #为了完成显贵的使命 - jineng_maniang_13 = { - icon = skill_7 - allowed = { + jineng_maniang_13 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_13 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_13 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - war_support_weekly = 0.01 - stability_weekly = 0.01 + modifier = { + war_support_weekly = 0.01 + stability_weekly = 0.01 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #场外飞身扑☆身体突击 - jineng_maniang_14 = { - icon = skill_7 - allowed = { + jineng_maniang_14 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_14 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_14 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - cavalry_attack_factor = 0.60 - cavalry_defence_factor = 0.60 + modifier = { + cavalry_attack_factor = 0.6 + cavalry_defence_factor = 0.6 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #献给维多利亚的舞蹈 - jineng_maniang_15 = { - icon = skill_7 - allowed = { + jineng_maniang_15 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_15 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_15 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - - modifier = { - army_bonus_air_superiority_factor = 0.15 - + modifier = { + army_bonus_air_superiority_factor = 0.15 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } add_timed_idea = { idea = jineng_maniang_15 days = 180 @@ -12317,598 +13058,755 @@ jineng_decisions = { } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #Shadow Break - jineng_maniang_16 = { - icon = skill_7 - allowed = { + jineng_maniang_16 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_16 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_16 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - - modifier = { - + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } - add_timed_idea = { + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } + add_timed_idea = { idea = jineng_maniang_16 days = 180 - } + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #汝,仰望皇帝的神威吧 - jineng_maniang_17 = { - icon = skill_7 - allowed = { + jineng_maniang_17 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_17 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_17 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - production_speed_arms_factory_factor = 0.3 - production_speed_air_base_factor = 0.4 - production_speed_naval_base_factor = 0.4 - production_speed_rocket_site_factor = 0.4 - production_speed_radar_station_factor = 0.4 - production_speed_nuclear_reactor_factor = 0.4 - production_speed_bunker_factor = 0.6 - production_speed_coastal_bunker_factor = 0.6 - production_speed_anti_air_building_factor = 0.5 + modifier = { + production_speed_arms_factory_factor = 0.3 + production_speed_air_base_factor = 0.4 + production_speed_naval_base_factor = 0.4 + production_speed_rocket_site_factor = 0.4 + production_speed_radar_station_factor = 0.4 + production_speed_nuclear_reactor_factor = 0.4 + production_speed_bunker_factor = 0.6 + production_speed_coastal_bunker_factor = 0.6 + production_speed_anti_air_building_factor = 0.5 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #自尊之刃 - jineng_maniang_18 = { - icon = skill_7 - allowed = { + jineng_maniang_18 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_18 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_18 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - industrial_capacity_factory = 0.3 - industrial_capacity_dockyard = 0.3 + modifier = { + industrial_capacity_factory = 0.3 + industrial_capacity_dockyard = 0.3 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #Angling×Skimming - jineng_maniang_19 = { - icon = skill_7 - allowed = { + jineng_maniang_19 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_19 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_19 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - max_planning = 0.4 + modifier = { + max_planning = 0.4 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #∴win Q.E.D. - jineng_maniang_20 = { - icon = skill_7 - allowed = { + jineng_maniang_20 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_20 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_20 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - max_planning = 0.2 - planning_speed = 0.6 + modifier = { + max_planning = 0.2 + planning_speed = 0.6 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #闪耀☆着地 - jineng_maniang_21 = { - icon = skill_7 - allowed = { + jineng_maniang_21 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_21 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_21 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - experience_gain_air = 2 - experience_gain_air_factor = 1 + modifier = { + experience_gain_air = 2 + experience_gain_air_factor = 1 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #G00 1st.F∞; - jineng_maniang_22 = { - icon = skill_7 - allowed = { + jineng_maniang_22 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_22 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_22 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - army_bonus_air_superiority_factor = 0.1 - air_weather_penalty = -0.9 - air_range_factor = 0.3 + modifier = { + army_bonus_air_superiority_factor = 0.1 + air_weather_penalty = -0.9 + air_range_factor = 0.3 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #赤茨阿纳波里克! - jineng_maniang_23 = { - icon = skill_7 - allowed = { + jineng_maniang_23 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_23 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_23 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - army_core_attack_factor = 0.6 - army_core_defence_factor = 0.6 + modifier = { + army_core_attack_factor = 0.6 + army_core_defence_factor = 0.6 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #蓝玫瑰猎人 - jineng_maniang_24 = { - icon = skill_7 - allowed = { + jineng_maniang_24 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_24 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_24 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - supply_consumption_factor = -0.30 - army_org_factor = 0.2 + modifier = { + supply_consumption_factor = -0.3 + army_org_factor = 0.2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #U=ma2 - jineng_maniang_25 = { - icon = skill_8 - allowed = { + jineng_maniang_25 = { + icon = skill_8 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_25 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_25 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - research_speed_factor = 0.4 + modifier = { + research_speed_factor = 0.4 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # 给你胜利的票! - jineng_maniang_26 = { - icon = skill_7 - allowed = { + jineng_maniang_26 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_26 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_26 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - mobilization_speed = 0.6 - land_reinforce_rate = 0.5 + modifier = { + mobilization_speed = 0.6 + land_reinforce_rate = 0.5 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - # #LookatCurren - jineng_maniang_27 = { - icon = skill_7 - allowed = { + jineng_maniang_27 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_27 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_27 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - max_dig_in = 12 - recon_factor_while_entrenched = 0.4 - dig_in_speed_factor = 0.5 + modifier = { + max_dig_in = 12 + recon_factor_while_entrenched = 0.4 + dig_in_speed_factor = 0.5 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #KEEP IT REAL. - jineng_maniang_28 = { - icon = skill_7 - allowed = { + jineng_maniang_28 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_28 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_28 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - send_volunteer_size = 12 + modifier = { + send_volunteer_size = 12 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #优等生×进王=大胜利 - jineng_maniang_29 = { - icon = skill_7 - allowed = { + jineng_maniang_29 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_29 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_29 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - training_time_factor = -0.5 - army_attack_factor = 0.2 + modifier = { + training_time_factor = -0.5 + army_attack_factor = 0.2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #纯洁之心 - jineng_maniang_30 = { - icon = skill_8 - allowed = { + jineng_maniang_30 = { + icon = skill_8 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_30 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_30 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - political_power_factor = 1 - political_advisor_cost_factor = -0.25 - trade_laws_cost_factor = -0.25 - mobilization_laws_cost_factor = -0.25 - economy_cost_factor = -0.25 - high_command_cost_factor = -0.25 - air_chief_cost_factor = -0.25 - army_chief_cost_factor = -0.25 - navy_chief_cost_factor = -0.25 + modifier = { + political_power_factor = 1 + political_advisor_cost_factor = -0.25 + trade_laws_cost_factor = -0.25 + mobilization_laws_cost_factor = -0.25 + economy_cost_factor = -0.25 + high_command_cost_factor = -0.25 + air_chief_cost_factor = -0.25 + army_chief_cost_factor = -0.25 + navy_chief_cost_factor = -0.25 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # 闪亮闪亮☆STARDOM - jineng_maniang_31 = { - icon = skill_7 - allowed = { + jineng_maniang_31 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_31 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_31 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - local_resources_factor = 1 + modifier = { + local_resources_factor = 1 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - # Nemesis - jineng_maniang_32 = { - icon = skill_7 - allowed = { + jineng_maniang_32 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_32 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_32 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - experience_gain_army = 1 - experience_gain_navy = 1 - experience_gain_air = 1 + modifier = { + experience_gain_army = 1 + experience_gain_navy = 1 + experience_gain_air = 1 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #兴奋的最高顶 - jineng_maniang_33 = { - icon = skill_8 - allowed = { + jineng_maniang_33 = { + icon = skill_8 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_33 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_33 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - - modifier = { - command_power_gain_mult = 1 - + modifier = { + command_power_gain_mult = 1 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } add_timed_idea = { idea = jineng_maniang_33 days = 180 @@ -12916,36 +13814,42 @@ jineng_decisions = { } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #来,来,让我来 - jineng_maniang_34 = { - icon = skill_7 - allowed = { + jineng_maniang_34 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_34 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_34 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - - modifier = { - - + modifier = { } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } add_timed_idea = { idea = jineng_maniang_34 days = 180 @@ -12953,1703 +13857,2987 @@ jineng_decisions = { } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #一定要在那之前…! - jineng_maniang_35 = { - icon = skill_7 - allowed = { + jineng_maniang_35 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_35 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_35 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - equipment_capture = 0.3 - industry_air_damage_factor = -0.4 - surrender_limit = 0.2 + modifier = { + equipment_capture = 0.3 + industry_air_damage_factor = -0.4 + surrender_limit = 0.2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #Pride of KING - jineng_maniang_36 = { - icon = skill_7 - allowed = { + jineng_maniang_36 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_36 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_36 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - industry_repair_factor = 1 - no_supply_grace = 48 - surrender_limit = 0.2 + modifier = { + industry_repair_factor = 1 + no_supply_grace = 48 + surrender_limit = 0.2 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - # - jineng_maniang_37 = { - icon = skill_7 - allowed = { + jineng_maniang_37 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_37 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_37 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - industrial_capacity_factory = 0.4 + modifier = { + industrial_capacity_factory = 0.4 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - # - jineng_maniang_38 = { - icon = skill_7 - allowed = { + jineng_maniang_38 = { + icon = skill_7 + allowed = { } available = { - custom_trigger_tooltip = { + custom_trigger_tooltip = { tooltip = data_P_more_1 - check_variable = { var = data_P value = 20 compare = greater_than_or_equals } - } - is_ai = no + check_variable = { + var = data_P + value = 20 + compare = greater_than_or_equals + } + } + is_ai = no } - visible = { - has_country_flag = URA_maniang_38 - has_country_flag = URA_2 - is_ai = no + visible = { + has_country_flag = URA_maniang_38 + has_country_flag = URA_2 + is_ai = no } cost = 0 days_remove = 180 - modifier = { - equipment_capture = 0.7 + modifier = { + equipment_capture = 0.7 } fixed_random_seed = no - complete_effect = { - subtract_from_variable = { var = data_P value = 20 tooltip = data_P_less_1 } + complete_effect = { + subtract_from_variable = { + var = data_P + value = 20 + tooltip = data_P_less_1 + } } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - - - - - - - } - -xuanze_decisions = { - #特别周 - maniang_1 = { - icon = char_1 - allowed = { +xuanze_decisions = { + #特别周 + maniang_1 = { + icon = char_1 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_1 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_1 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 102 } - add_to_variable = { var = data_N value = 108 } - add_to_variable = { var = data_L value = 120 } - add_to_variable = { var = data_G value = 110 } - add_to_variable = { var = data_Z value = 110 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.2 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 102 + } + add_to_variable = { + var = data_N + value = 108 + } + add_to_variable = { + var = data_L + value = 120 + } + add_to_variable = { + var = data_G + value = 110 + } + add_to_variable = { + var = data_Z + value = 110 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.2 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze set_country_flag = URA_2 set_country_flag = URA_maniang_1 - - - - } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #无声铃鹿 - maniang_2 = { - icon = char_2 - allowed = { + maniang_2 = { + icon = char_2 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_2 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_2 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 124 } - add_to_variable = { var = data_N value = 102 } - add_to_variable = { var = data_L value = 94 } - add_to_variable = { var = data_G value = 122 } - add_to_variable = { var = data_Z value = 108 } - set_variable = { var = up_S value = 1.2 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1.1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 124 + } + add_to_variable = { + var = data_N + value = 102 + } + add_to_variable = { + var = data_L + value = 94 + } + add_to_variable = { + var = data_G + value = 122 + } + add_to_variable = { + var = data_Z + value = 108 + } + set_variable = { + var = up_S + value = 1.2 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1.1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze set_country_flag = URA_2 set_country_flag = URA_maniang_2 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #东海帝王 - maniang_3 = { - icon = char_3 - allowed = { + maniang_3 = { + icon = char_3 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_3 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_3 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 109 } - add_to_variable = { var = data_N value = 109 } - add_to_variable = { var = data_L value = 102 } - add_to_variable = { var = data_G value = 112 } - add_to_variable = { var = data_Z value = 118 } - set_variable = { var = up_S value = 1.2 } - set_variable = { var = up_N value = 1.1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 109 + } + add_to_variable = { + var = data_N + value = 109 + } + add_to_variable = { + var = data_L + value = 102 + } + add_to_variable = { + var = data_G + value = 112 + } + add_to_variable = { + var = data_Z + value = 118 + } + set_variable = { + var = up_S + value = 1.2 + } + set_variable = { + var = up_N + value = 1.1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze set_country_flag = URA_2 set_country_flag = URA_maniang_3 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #丸善斯基 - maniang_4 = { - icon = char_4 - allowed = { + maniang_4 = { + icon = char_4 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_4 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_4 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 118 } - add_to_variable = { var = data_N value = 84 } - add_to_variable = { var = data_L value = 105 } - add_to_variable = { var = data_G value = 122 } - add_to_variable = { var = data_Z value = 121 } - set_variable = { var = up_S value = 1.1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.2 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 118 + } + add_to_variable = { + var = data_N + value = 84 + } + add_to_variable = { + var = data_L + value = 105 + } + add_to_variable = { + var = data_G + value = 122 + } + add_to_variable = { + var = data_Z + value = 121 + } + set_variable = { + var = up_S + value = 1.1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.2 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze set_country_flag = URA_2 set_country_flag = URA_maniang_4 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #富士奇石 - maniang_5 = { - icon = char_5 - allowed = { + maniang_5 = { + icon = char_5 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_5 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_5 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 117 } - add_to_variable = { var = data_N value = 107 } - add_to_variable = { var = data_L value = 100 } - add_to_variable = { var = data_G value = 118 } - add_to_variable = { var = data_Z value = 108 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.2 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 117 + } + add_to_variable = { + var = data_N + value = 107 + } + add_to_variable = { + var = data_L + value = 100 + } + add_to_variable = { + var = data_G + value = 118 + } + add_to_variable = { + var = data_Z + value = 108 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.2 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze set_country_flag = URA_2 set_country_flag = URA_maniang_5 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #小栗帽 - maniang_6 = { - icon = char_6 - allowed = { + maniang_6 = { + icon = char_6 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_6 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_6 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 124 } - add_to_variable = { var = data_N value = 81 } - add_to_variable = { var = data_L value = 130 } - add_to_variable = { var = data_G value = 103 } - add_to_variable = { var = data_Z value = 112 } - set_variable = { var = up_S value = 1.2 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 124 + } + add_to_variable = { + var = data_N + value = 81 + } + add_to_variable = { + var = data_L + value = 130 + } + add_to_variable = { + var = data_G + value = 103 + } + add_to_variable = { + var = data_Z + value = 112 + } + set_variable = { + var = up_S + value = 1.2 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_6 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #黄金船 - maniang_7 = { - icon = char_7 - allowed = { + maniang_7 = { + icon = char_7 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_7 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_7 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 106 } - add_to_variable = { var = data_N value = 124 } - add_to_variable = { var = data_L value = 102 } - add_to_variable = { var = data_G value = 99 } - add_to_variable = { var = data_Z value = 92 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.2 } - set_variable = { var = up_L value = 1.1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 106 + } + add_to_variable = { + var = data_N + value = 124 + } + add_to_variable = { + var = data_L + value = 102 + } + add_to_variable = { + var = data_G + value = 99 + } + add_to_variable = { + var = data_Z + value = 92 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.2 + } + set_variable = { + var = up_L + value = 1.1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_7 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #伏特加 - maniang_8 = { - icon = char_8 - allowed = { + maniang_8 = { + icon = char_8 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_8 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_8 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 124 } - add_to_variable = { var = data_N value = 79 } - add_to_variable = { var = data_L value = 136 } - add_to_variable = { var = data_G value = 97 } - add_to_variable = { var = data_Z value = 114 } - set_variable = { var = up_S value = 1.1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.2 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 124 + } + add_to_variable = { + var = data_N + value = 79 + } + add_to_variable = { + var = data_L + value = 136 + } + add_to_variable = { + var = data_G + value = 97 + } + add_to_variable = { + var = data_Z + value = 114 + } + set_variable = { + var = up_S + value = 1.1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.2 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_8 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #大和赤骥 - maniang_9 = { - icon = char_9 - allowed = { + maniang_9 = { + icon = char_9 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_9 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_9 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 109 } - add_to_variable = { var = data_N value = 99 } - add_to_variable = { var = data_L value = 103 } - add_to_variable = { var = data_G value = 122 } - add_to_variable = { var = data_Z value = 117 } - set_variable = { var = up_S value = 1.1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1.2 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 109 + } + add_to_variable = { + var = data_N + value = 99 + } + add_to_variable = { + var = data_L + value = 103 + } + add_to_variable = { + var = data_G + value = 122 + } + add_to_variable = { + var = data_Z + value = 117 + } + set_variable = { + var = up_S + value = 1.1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1.2 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_9 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #大树快车 - maniang_10 = { - icon = char_10 - allowed = { + maniang_10 = { + icon = char_10 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_10 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_10 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 118 } - add_to_variable = { var = data_N value = 87 } - add_to_variable = { var = data_L value = 119 } - add_to_variable = { var = data_G value = 113 } - add_to_variable = { var = data_Z value = 113 } - set_variable = { var = up_S value = 1.2 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 118 + } + add_to_variable = { + var = data_N + value = 87 + } + add_to_variable = { + var = data_L + value = 119 + } + add_to_variable = { + var = data_G + value = 113 + } + add_to_variable = { + var = data_Z + value = 113 + } + set_variable = { + var = up_S + value = 1.2 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_10 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #草上飞 - maniang_11 = { - icon = char_11 - allowed = { + maniang_11 = { + icon = char_11 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_11 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_11 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 118 } - add_to_variable = { var = data_N value = 91 } - add_to_variable = { var = data_L value = 129 } - add_to_variable = { var = data_G value = 96 } - add_to_variable = { var = data_Z value = 116 } - set_variable = { var = up_S value = 1.2 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 118 + } + add_to_variable = { + var = data_N + value = 91 + } + add_to_variable = { + var = data_L + value = 129 + } + add_to_variable = { + var = data_G + value = 96 + } + add_to_variable = { + var = data_Z + value = 116 + } + set_variable = { + var = up_S + value = 1.2 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_11 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #菱亚马逊 - maniang_12 = { - icon = char_12 - allowed = { + maniang_12 = { + icon = char_12 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_12 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_12 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 113 } - add_to_variable = { var = data_N value = 103 } - add_to_variable = { var = data_L value = 129 } - add_to_variable = { var = data_G value = 100 } - add_to_variable = { var = data_Z value = 105 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.2 } - set_variable = { var = up_G value = 1.1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 113 + } + add_to_variable = { + var = data_N + value = 103 + } + add_to_variable = { + var = data_L + value = 129 + } + add_to_variable = { + var = data_G + value = 100 + } + add_to_variable = { + var = data_Z + value = 105 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.2 + } + set_variable = { + var = up_G + value = 1.1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_12 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #目白麦昆 - maniang_13 = { - icon = char_13 - allowed = { + maniang_13 = { + icon = char_13 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_13 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_13 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 87 } - add_to_variable = { var = data_N value = 136 } - add_to_variable = { var = data_L value = 87 } - add_to_variable = { var = data_G value = 125 } - add_to_variable = { var = data_Z value = 115 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.2 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 87 + } + add_to_variable = { + var = data_N + value = 136 + } + add_to_variable = { + var = data_L + value = 87 + } + add_to_variable = { + var = data_G + value = 125 + } + add_to_variable = { + var = data_Z + value = 115 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.2 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_13 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #神鹰 - maniang_14 = { - icon = char_14 - allowed = { + maniang_14 = { + icon = char_14 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_14 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_14 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 110 } - add_to_variable = { var = data_N value = 98 } - add_to_variable = { var = data_L value = 103 } - add_to_variable = { var = data_G value = 121 } - add_to_variable = { var = data_Z value = 118 } - set_variable = { var = up_S value = 1.2 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 110 + } + add_to_variable = { + var = data_N + value = 98 + } + add_to_variable = { + var = data_L + value = 103 + } + add_to_variable = { + var = data_G + value = 121 + } + add_to_variable = { + var = data_Z + value = 118 + } + set_variable = { + var = up_S + value = 1.2 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_14 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #好歌剧 - maniang_15 = { - icon = char_15 - allowed = { + maniang_15 = { + icon = char_15 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_15 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_15 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 91 } - add_to_variable = { var = data_N value = 132 } - add_to_variable = { var = data_L value = 91 } - add_to_variable = { var = data_G value = 125 } - add_to_variable = { var = data_Z value = 111 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.2 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 91 + } + add_to_variable = { + var = data_N + value = 132 + } + add_to_variable = { + var = data_L + value = 91 + } + add_to_variable = { + var = data_G + value = 125 + } + add_to_variable = { + var = data_Z + value = 111 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.2 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_15 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #成田白仁 - maniang_16 = { - icon = char_16 - allowed = { + maniang_16 = { + icon = char_16 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_16 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_16 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 113 } - add_to_variable = { var = data_N value = 109 } - add_to_variable = { var = data_L value = 122 } - add_to_variable = { var = data_G value = 108 } - add_to_variable = { var = data_Z value = 98 } - set_variable = { var = up_S value = 1.1 } - set_variable = { var = up_N value = 1.2 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 113 + } + add_to_variable = { + var = data_N + value = 109 + } + add_to_variable = { + var = data_L + value = 122 + } + add_to_variable = { + var = data_G + value = 108 + } + add_to_variable = { + var = data_Z + value = 98 + } + set_variable = { + var = up_S + value = 1.1 + } + set_variable = { + var = up_N + value = 1.2 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_16 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #鲁道夫象征 - maniang_17 = { - icon = char_17 - allowed = { + maniang_17 = { + icon = char_17 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_17 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_17 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 106 } - add_to_variable = { var = data_N value = 111 } - add_to_variable = { var = data_L value = 101 } - add_to_variable = { var = data_G value = 118 } - add_to_variable = { var = data_Z value = 114 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.2 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1.1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 106 + } + add_to_variable = { + var = data_N + value = 111 + } + add_to_variable = { + var = data_L + value = 101 + } + add_to_variable = { + var = data_G + value = 118 + } + add_to_variable = { + var = data_Z + value = 114 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.2 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1.1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_17 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #气槽 - maniang_18 = { - icon = char_18 - allowed = { + maniang_18 = { + icon = char_18 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_18 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_18 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 111 } - add_to_variable = { var = data_N value = 105 } - add_to_variable = { var = data_L value = 105 } - add_to_variable = { var = data_G value = 112 } - add_to_variable = { var = data_Z value = 117 } - set_variable = { var = up_S value = 1.1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.2 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 111 + } + add_to_variable = { + var = data_N + value = 105 + } + add_to_variable = { + var = data_L + value = 105 + } + add_to_variable = { + var = data_G + value = 112 + } + add_to_variable = { + var = data_Z + value = 117 + } + set_variable = { + var = up_S + value = 1.1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.2 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_18 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #星云天空 - maniang_19 = { - icon = char_19 - allowed = { + maniang_19 = { + icon = char_19 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_19 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_19 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 120 } - add_to_variable = { var = data_N value = 120 } - add_to_variable = { var = data_L value = 108 } - add_to_variable = { var = data_G value = 101 } - add_to_variable = { var = data_Z value = 101 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.2 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 120 + } + add_to_variable = { + var = data_N + value = 120 + } + add_to_variable = { + var = data_L + value = 108 + } + add_to_variable = { + var = data_G + value = 101 + } + add_to_variable = { + var = data_Z + value = 101 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.2 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_19 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #琵琶晨光 - maniang_20 = { - icon = char_20 - allowed = { + maniang_20 = { + icon = char_20 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_20 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_20 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 104 } - add_to_variable = { var = data_N value = 114 } - add_to_variable = { var = data_L value = 101 } - add_to_variable = { var = data_G value = 114 } - add_to_variable = { var = data_Z value = 117 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1.1 } - set_variable = { var = up_Z value = 1.2 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 104 + } + add_to_variable = { + var = data_N + value = 114 + } + add_to_variable = { + var = data_L + value = 101 + } + add_to_variable = { + var = data_G + value = 114 + } + add_to_variable = { + var = data_Z + value = 117 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1.1 + } + set_variable = { + var = up_Z + value = 1.2 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_20 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #重炮 - maniang_21 = { - icon = char_21 - allowed = { + maniang_21 = { + icon = char_21 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_21 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_21 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 94 } - add_to_variable = { var = data_N value = 130 } - add_to_variable = { var = data_L value = 86 } - add_to_variable = { var = data_G value = 123 } - add_to_variable = { var = data_Z value = 117 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.2 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1.1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 94 + } + add_to_variable = { + var = data_N + value = 130 + } + add_to_variable = { + var = data_L + value = 86 + } + add_to_variable = { + var = data_G + value = 123 + } + add_to_variable = { + var = data_Z + value = 117 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.2 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1.1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_21 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #美浦波旁 - maniang_22 = { - icon = char_22 - allowed = { + maniang_22 = { + icon = char_22 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_22 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_22 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 117 } - add_to_variable = { var = data_N value = 88 } - add_to_variable = { var = data_L value = 112 } - add_to_variable = { var = data_G value = 124 } - add_to_variable = { var = data_Z value = 109 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.2 } - set_variable = { var = up_L value = 1.1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 117 + } + add_to_variable = { + var = data_N + value = 88 + } + add_to_variable = { + var = data_L + value = 112 + } + add_to_variable = { + var = data_G + value = 124 + } + add_to_variable = { + var = data_Z + value = 109 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.2 + } + set_variable = { + var = up_L + value = 1.1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_22 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #目白赖恩 - maniang_23 = { - icon = char_23 - allowed = { + maniang_23 = { + icon = char_23 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_23 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_23 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 120 } - add_to_variable = { var = data_N value = 91 } - add_to_variable = { var = data_L value = 130 } - add_to_variable = { var = data_G value = 98 } - add_to_variable = { var = data_Z value = 111 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.2 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 120 + } + add_to_variable = { + var = data_N + value = 91 + } + add_to_variable = { + var = data_L + value = 130 + } + add_to_variable = { + var = data_G + value = 98 + } + add_to_variable = { + var = data_Z + value = 111 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.2 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_23 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #米浴 - maniang_24 = { - icon = char_24 - allowed = { + maniang_24 = { + icon = char_24 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_24 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_24 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 87 } - add_to_variable = { var = data_N value = 143 } - add_to_variable = { var = data_L value = 86 } - add_to_variable = { var = data_G value = 125 } - add_to_variable = { var = data_Z value = 109 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1.2 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 87 + } + add_to_variable = { + var = data_N + value = 143 + } + add_to_variable = { + var = data_L + value = 86 + } + add_to_variable = { + var = data_G + value = 125 + } + add_to_variable = { + var = data_Z + value = 109 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1.2 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_24 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #爱丽速子 - maniang_25 = { - icon = char_25 - allowed = { + #爱丽速子 + maniang_25 = { + icon = char_25 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_25 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_25 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 112 } - add_to_variable = { var = data_N value = 104 } - add_to_variable = { var = data_L value = 104 } - add_to_variable = { var = data_G value = 108 } - add_to_variable = { var = data_Z value = 122 } - set_variable = { var = up_S value = 1.2 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1.1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 112 + } + add_to_variable = { + var = data_N + value = 104 + } + add_to_variable = { + var = data_L + value = 104 + } + add_to_variable = { + var = data_G + value = 108 + } + add_to_variable = { + var = data_Z + value = 122 + } + set_variable = { + var = up_S + value = 1.2 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1.1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_25 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #胜利奖券 - maniang_26 = { - icon = char_26 - allowed = { + maniang_26 = { + icon = char_26 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_26 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_26 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 120 } - add_to_variable = { var = data_N value = 93 } - add_to_variable = { var = data_L value = 125 } - add_to_variable = { var = data_G value = 101 } - add_to_variable = { var = data_Z value = 111 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.1 } - set_variable = { var = up_L value = 1.2 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 120 + } + add_to_variable = { + var = data_N + value = 93 + } + add_to_variable = { + var = data_L + value = 125 + } + add_to_variable = { + var = data_G + value = 101 + } + add_to_variable = { + var = data_Z + value = 111 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.1 + } + set_variable = { + var = up_L + value = 1.2 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_26 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #真机伶 - maniang_27 = { - icon = char_27 - allowed = { + maniang_27 = { + icon = char_27 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_27 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_27 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 119 } - add_to_variable = { var = data_N value = 71 } - add_to_variable = { var = data_L value = 130 } - add_to_variable = { var = data_G value = 111 } - add_to_variable = { var = data_Z value = 119 } - set_variable = { var = up_S value = 1.1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.2 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 119 + } + add_to_variable = { + var = data_N + value = 71 + } + add_to_variable = { + var = data_L + value = 130 + } + add_to_variable = { + var = data_G + value = 111 + } + add_to_variable = { + var = data_Z + value = 119 + } + set_variable = { + var = up_S + value = 1.1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.2 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_27 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #黄金城 - maniang_28 = { - icon = char_28 - allowed = { + maniang_28 = { + icon = char_28 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_28 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_28 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 109 } - add_to_variable = { var = data_N value = 113 } - add_to_variable = { var = data_L value = 114 } - add_to_variable = { var = data_G value = 112 } - add_to_variable = { var = data_Z value = 102 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.1 } - set_variable = { var = up_G value = 1.2 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 109 + } + add_to_variable = { + var = data_N + value = 113 + } + add_to_variable = { + var = data_L + value = 114 + } + add_to_variable = { + var = data_G + value = 112 + } + add_to_variable = { + var = data_Z + value = 102 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.1 + } + set_variable = { + var = up_G + value = 1.2 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_28 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #樱花进王 - maniang_29 = { - icon = char_29 - allowed = { + maniang_29 = { + icon = char_29 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_29 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_29 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 120 } - add_to_variable = { var = data_N value = 74 } - add_to_variable = { var = data_L value = 128 } - add_to_variable = { var = data_G value = 116 } - add_to_variable = { var = data_Z value = 112 } - set_variable = { var = up_S value = 1.2 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 120 + } + add_to_variable = { + var = data_N + value = 74 + } + add_to_variable = { + var = data_L + value = 128 + } + add_to_variable = { + var = data_G + value = 116 + } + add_to_variable = { + var = data_Z + value = 112 + } + set_variable = { + var = up_S + value = 1.2 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_29 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #超级小海湾 - maniang_30 = { - icon = char_30 - allowed = { + maniang_30 = { + icon = char_30 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_30 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_30 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 184 } - add_to_variable = { var = data_N value = 129 } - add_to_variable = { var = data_L value = 92 } - add_to_variable = { var = data_G value = 129 } - add_to_variable = { var = data_Z value = 116 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.2 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 184 + } + add_to_variable = { + var = data_N + value = 129 + } + add_to_variable = { + var = data_L + value = 92 + } + add_to_variable = { + var = data_G + value = 129 + } + add_to_variable = { + var = data_Z + value = 116 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.2 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_30 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #醒目飞鹰 - maniang_31 = { - icon = char_31 - allowed = { + maniang_31 = { + icon = char_31 + allowed = { } - available = { - is_ai = no + available = { + is_ai = no } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_31 - } - + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_31 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 115 } - add_to_variable = { var = data_N value = 104 } - add_to_variable = { var = data_L value = 104 } - add_to_variable = { var = data_G value = 122 } - add_to_variable = { var = data_Z value = 105 } - set_variable = { var = up_S value = 1.2 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 115 + } + add_to_variable = { + var = data_N + value = 104 + } + add_to_variable = { + var = data_L + value = 104 + } + add_to_variable = { + var = data_G + value = 122 + } + add_to_variable = { + var = data_Z + value = 105 + } + set_variable = { + var = up_S + value = 1.2 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_31 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #成田大进 - maniang_32 = { - icon = char_32 - allowed = { + maniang_32 = { + icon = char_32 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_32 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_32 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 118 } - add_to_variable = { var = data_N value = 100 } - add_to_variable = { var = data_L value = 121 } - add_to_variable = { var = data_G value = 97 } - add_to_variable = { var = data_Z value = 114 } - set_variable = { var = up_S value = 1.1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1.2 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 118 + } + add_to_variable = { + var = data_N + value = 100 + } + add_to_variable = { + var = data_L + value = 121 + } + add_to_variable = { + var = data_G + value = 97 + } + add_to_variable = { + var = data_Z + value = 114 + } + set_variable = { + var = up_S + value = 1.1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1.2 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_32 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #春乌拉拉 - maniang_33 = { - icon = char_33 - allowed = { + maniang_33 = { + icon = char_33 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_33 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_33 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 115 } - add_to_variable = { var = data_N value = 79 } - add_to_variable = { var = data_L value = 123 } - add_to_variable = { var = data_G value = 119 } - add_to_variable = { var = data_Z value = 114 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.1 } - set_variable = { var = up_G value = 1.2 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 115 + } + add_to_variable = { + var = data_N + value = 79 + } + add_to_variable = { + var = data_L + value = 123 + } + add_to_variable = { + var = data_G + value = 119 + } + add_to_variable = { + var = data_Z + value = 114 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.1 + } + set_variable = { + var = up_G + value = 1.2 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_33 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #待兼福来 - maniang_34 = { - icon = char_34 - allowed = { + maniang_34 = { + icon = char_34 + allowed = { } - available = { - is_ai = no - } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_34 + available = { + is_ai = no } + visible = { + has_country_flag = URA_xuanze + is_ai = no + NOT = { + has_country_flag = URA_maniang_34 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 106 } - add_to_variable = { var = data_N value = 111 } - add_to_variable = { var = data_L value = 121 } - add_to_variable = { var = data_G value = 111 } - add_to_variable = { var = data_Z value = 101 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.2 } - set_variable = { var = up_L value = 1.1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 106 + } + add_to_variable = { + var = data_N + value = 111 + } + add_to_variable = { + var = data_L + value = 121 + } + add_to_variable = { + var = data_G + value = 111 + } + add_to_variable = { + var = data_Z + value = 101 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.2 + } + set_variable = { + var = up_L + value = 1.1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_34 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #优秀素质 - maniang_35 = { - icon = char_35 - allowed = { + maniang_35 = { + icon = char_35 + allowed = { } - available = { - is_ai = no + available = { + is_ai = no } - visible = { - has_country_flag = URA_xuanze - is_ai = no - not = { - has_country_flag = URA_maniang_35 - } + visible = { + has_country_flag = URA_xuanze + is_ai = no + not = { + has_country_flag = URA_maniang_35 + } } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 118 } - add_to_variable = { var = data_N value = 99 } - add_to_variable = { var = data_L value = 123 } - add_to_variable = { var = data_G value = 96 } - add_to_variable = { var = data_Z value = 114 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.2 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 118 + } + add_to_variable = { + var = data_N + value = 99 + } + add_to_variable = { + var = data_L + value = 123 + } + add_to_variable = { + var = data_G + value = 96 + } + add_to_variable = { + var = data_Z + value = 114 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.2 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_35 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - #帝王光辉 - maniang_36 = { - icon = char_36 - allowed = { + maniang_36 = { + icon = char_36 + allowed = { } - available = { - is_ai = no + available = { + is_ai = no } - visible = { - has_country_flag = URA_xuanze - not = { - has_country_flag = URA_maniang_36 - } - is_ai = no + visible = { + has_country_flag = URA_xuanze + NOT = { + has_country_flag = URA_maniang_36 + } + is_ai = no } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 120 } - add_to_variable = { var = data_N value = 82 } - add_to_variable = { var = data_L value = 127 } - add_to_variable = { var = data_G value = 100 } - add_to_variable = { var = data_Z value = 121 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.2 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1.1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 120 + } + add_to_variable = { + var = data_N + value = 82 + } + add_to_variable = { + var = data_L + value = 127 + } + add_to_variable = { + var = data_G + value = 100 + } + add_to_variable = { + var = data_Z + value = 121 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.2 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1.1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_36 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #名将怒涛 - maniang_37 = { - icon = char_37 - allowed = { + maniang_37 = { + icon = char_37 + allowed = { } - available = { - is_ai = no + available = { + is_ai = no } - visible = { - has_country_flag = URA_xuanze - not = { - has_country_flag = URA_maniang_37 - } - is_ai = no + visible = { + has_country_flag = URA_xuanze + NOT = { + has_country_flag = URA_maniang_37 + } + is_ai = no } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 113 } - add_to_variable = { var = data_N value = 116 } - add_to_variable = { var = data_L value = 104 } - add_to_variable = { var = data_G value = 118 } - add_to_variable = { var = data_Z value = 99 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1.2 } - set_variable = { var = up_L value = 1 } - set_variable = { var = up_G value = 1.1 } - set_variable = { var = up_Z value = 1 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 113 + } + add_to_variable = { + var = data_N + value = 116 + } + add_to_variable = { + var = data_L + value = 104 + } + add_to_variable = { + var = data_G + value = 118 + } + add_to_variable = { + var = data_Z + value = 99 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1.2 + } + set_variable = { + var = up_L + value = 1 + } + set_variable = { + var = up_G + value = 1.1 + } + set_variable = { + var = up_Z + value = 1 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_37 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - #荣进闪耀 - maniang_38 = { - icon = char_38 - allowed = { + maniang_38 = { + icon = char_38 + allowed = { } - available = { - is_ai = no + available = { + is_ai = no } - visible = { - has_country_flag = URA_xuanze - not = { - has_country_flag = URA_maniang_38 - } - is_ai = no + visible = { + has_country_flag = URA_xuanze + NOT = { + has_country_flag = URA_maniang_38 + } + is_ai = no } cost = 0 - modifier = { + modifier = { } fixed_random_seed = no - complete_effect = { - add_to_variable = { var = data_S value = 122 } - add_to_variable = { var = data_N value = 101 } - add_to_variable = { var = data_L value = 113 } - add_to_variable = { var = data_G value = 100 } - add_to_variable = { var = data_Z value = 114 } - set_variable = { var = up_S value = 1 } - set_variable = { var = up_N value = 1 } - set_variable = { var = up_L value = 1.1 } - set_variable = { var = up_G value = 1 } - set_variable = { var = up_Z value = 1.2 } - set_variable = { var = data_X value = 1 } + complete_effect = { + add_to_variable = { + var = data_S + value = 122 + } + add_to_variable = { + var = data_N + value = 101 + } + add_to_variable = { + var = data_L + value = 113 + } + add_to_variable = { + var = data_G + value = 100 + } + add_to_variable = { + var = data_Z + value = 114 + } + set_variable = { + var = up_S + value = 1 + } + set_variable = { + var = up_N + value = 1 + } + set_variable = { + var = up_L + value = 1.1 + } + set_variable = { + var = up_G + value = 1 + } + set_variable = { + var = up_Z + value = 1.2 + } + set_variable = { + var = data_X + value = 1 + } clr_country_flag = URA_xuanze - set_country_flag = URA_2 + set_country_flag = URA_2 set_country_flag = URA_maniang_38 } remove_effect = { } - ai_will_do = { factor = 0 } + ai_will_do = { + factor = 0 + } } - - - - - - -} - - +} diff --git a/src/common/decisions/BFL_decisions.txt b/src/common/decisions/BFL_decisions.txt index 6448039..edfac2b 100755 --- a/src/common/decisions/BFL_decisions.txt +++ b/src/common/decisions/BFL_decisions.txt @@ -6,7 +6,7 @@ bfl_jihua_category = { available = { if = { limit = { has_global_flag = MOD_azurlane_sairenzhizai } - or = { + OR = { AND = { is_ai = yes date > 1940.1.1 @@ -19,7 +19,7 @@ bfl_jihua_category = { } else_if = { limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - or = { + OR = { AND = { is_ai = yes date > 1940.12.1 @@ -977,7 +977,7 @@ bfl_jiansheshehuizhuyi_category = { icon = generic_construction visible = { tag = BFL - not = { has_country_flag = BFL_wunianjihua_start } + NOT = { has_country_flag = BFL_wunianjihua_start } has_completed_focus = BFL_xiayigewunianjihua } days_remove = 180 diff --git a/src/common/decisions/BLI_decisions.txt b/src/common/decisions/BLI_decisions.txt index 53fa37a..2ad0a7e 100755 --- a/src/common/decisions/BLI_decisions.txt +++ b/src/common/decisions/BLI_decisions.txt @@ -257,10 +257,10 @@ BLI_get_core = { has_full_control_of_state = 691 has_full_control_of_state = 695 has_global_flag = MOD_azurlane_tianjiangjianniang - or = { + OR = { has_war_with = SIR SIR = { is_puppet_of = BLI } - not = { country_exists = SIR } + NOT = { country_exists = SIR } } } visible = { diff --git a/src/common/decisions/CHY_Pacific_decisions.txt b/src/common/decisions/CHY_Pacific_decisions.txt index 9fb848f..6cd0ad8 100755 --- a/src/common/decisions/CHY_Pacific_decisions.txt +++ b/src/common/decisions/CHY_Pacific_decisions.txt @@ -26,8 +26,10 @@ CHY_Marcus_Island = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { - state = 648 + highlight_states = { + highlight_state_targets = { + state = 648 + } } fire_only_once = yes remove_effect = { @@ -110,8 +112,10 @@ CHY_Iwo_Jima = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { - state = 645 + highlight_states = { + highlight_state_targets = { + state = 645 + } } fire_only_once = yes remove_effect = { @@ -193,8 +197,10 @@ CHY_Wake_Island = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { - state = 632 + highlight_states = { + highlight_state_targets = { + state = 632 + } } fire_only_once = yes remove_effect = { @@ -276,8 +282,10 @@ CHY_Midway_Island = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { - state = 631 + highlight_states = { + highlight_state_targets = { + state = 631 + } } fire_only_once = yes remove_effect = { @@ -359,8 +367,10 @@ CHY_Hawaii_State = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { - state = 629 + highlight_states = { + highlight_state_targets = { + state = 629 + } } fire_only_once = yes remove_effect = { @@ -442,8 +452,10 @@ CHY_Johnston_Atoll = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { - state = 630 + highlight_states = { + highlight_state_targets = { + state = 630 + } } fire_only_once = yes remove_effect = { @@ -525,8 +537,10 @@ CHY_LineIslands = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { - state = 727 + highlight_states = { + highlight_state_targets = { + state = 727 + } } fire_only_once = yes remove_effect = { @@ -608,8 +622,10 @@ CHY_Phoenix_Islands = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { - state = 642 + highlight_states = { + highlight_state_targets = { + state = 642 + } } fire_only_once = yes remove_effect = { @@ -691,9 +707,9 @@ CHY_Tahiti = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 641 - } + } } fire_only_once = yes remove_effect = { add_state_core = 641 @@ -774,9 +790,9 @@ CHY_buli = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 270 - } + } } fire_only_once = yes remove_effect = { add_state_core = 270 @@ -857,9 +873,9 @@ CHY_GALAPAGOS = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 649 - } + } } fire_only_once = yes remove_effect = { add_state_core = 649 @@ -940,9 +956,9 @@ CHY_Samoa = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 726 - } + } } fire_only_once = yes remove_effect = { add_state_core = 726 @@ -1023,9 +1039,9 @@ CHY_Ellis_islands = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 643 - } + } } fire_only_once = yes remove_effect = { add_state_core = 643 @@ -1106,9 +1122,9 @@ CHY_Fiji = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 636 - } + } } fire_only_once = yes remove_effect = { add_state_core = 636 @@ -1189,9 +1205,9 @@ CHY_Nouvelle_Caledonie = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 635 - } + } } fire_only_once = yes remove_effect = { add_state_core = 635 @@ -1272,9 +1288,9 @@ CHY_Nendo = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 734 - } + } } fire_only_once = yes remove_effect = { add_state_core = 734 @@ -1355,9 +1371,9 @@ CHY_Nauru = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 725 - } + } } fire_only_once = yes remove_effect = { add_state_core = 725 @@ -1438,9 +1454,9 @@ CHY_Gilbert_Islands = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 639 - } + } } fire_only_once = yes remove_effect = { add_state_core = 639 @@ -1521,9 +1537,9 @@ CHY_Marshall_Islands = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 633 - } + } } fire_only_once = yes remove_effect = { add_state_core = 633 @@ -1604,9 +1620,9 @@ CHY_Caroline_Islands = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 684 - } + } } fire_only_once = yes remove_effect = { add_state_core = 684 @@ -1687,9 +1703,9 @@ CHY_Palau = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 647 - } + } } fire_only_once = yes remove_effect = { add_state_core = 647 @@ -1770,9 +1786,9 @@ CHY_Guam = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 638 - } + } } fire_only_once = yes remove_effect = { add_state_core = 638 @@ -1853,9 +1869,9 @@ CHY_Attu = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 650 - } + } } fire_only_once = yes remove_effect = { add_state_core = 650 @@ -1936,9 +1952,9 @@ CHY_Saipan = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 646 - } + } } fire_only_once = yes remove_effect = { add_manpower = -50000 @@ -2018,9 +2034,9 @@ CHY_Solomon_Islands = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 634 - } + } } fire_only_once = yes remove_effect = { add_state_core = 634 @@ -2101,9 +2117,9 @@ CHY_Bismarck_Archipelaago = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 737 - } + } } fire_only_once = yes remove_effect = { add_state_core = 737 @@ -2184,9 +2200,9 @@ CHY_Kuril_Islands = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 555 - } + } } fire_only_once = yes remove_effect = { add_manpower = -50000 @@ -2266,9 +2282,9 @@ CHY_Ryukyu_islands = { modifier = { civilian_factory_use = 10 } - highlight_state_targets = { + highlight_states = { highlight_state_targets = { state = 526 - } + } } fire_only_once = yes remove_effect = { add_manpower = -50000 diff --git a/src/common/decisions/DH1_yuanzheng_decision.txt b/src/common/decisions/DH1_yuanzheng_decision.txt index db84709..4419789 100755 --- a/src/common/decisions/DH1_yuanzheng_decision.txt +++ b/src/common/decisions/DH1_yuanzheng_decision.txt @@ -4,11 +4,9 @@ @border_conflict_escalate_to_war_countdown = 45 @border_conflict_time_until_cancelled = 360 # Using BCE values for AI - DH1_yuanzheng_decision_category = { DH1_yuanzheng_mission = { - icon = border_war - + icon = border_war available = { FROM = { any_owned_state = { @@ -16,7 +14,9 @@ DH1_yuanzheng_decision_category = { OR = { AND = { OR = { - DH1 = { has_completed_focus = DH1_zhongnanbandao } + DH1 = { + has_completed_focus = DH1_zhongnanbandao + } is_debug = yes } OR = { @@ -30,7 +30,9 @@ DH1_yuanzheng_decision_category = { } AND = { OR = { - DH1 = { has_completed_focus = DH1_nanyacidalu } + DH1 = { + has_completed_focus = DH1_nanyacidalu + } is_debug = yes } OR = { @@ -44,74 +46,100 @@ DH1_yuanzheng_decision_category = { } any_neighbor_state = { is_fully_controlled_by = ROOT - set_temp_variable = { var:attacker_state_temp = id } + set_temp_variable = { + var:attacker_state_temp = id + } has_ROOT_at_least_1_div_in_current_state_scope = yes - hidden_trigger = { NOT = { has_state_flag = border_incident_active } } + hidden_trigger = { + NOT = { + has_state_flag = border_incident_active + } + } + } + NOT = { + has_state_flag = border_incident_active + } + set_temp_variable = { + var:defender_state_temp = id } - NOT = { has_state_flag = border_incident_active } - set_temp_variable = { var:defender_state_temp = id } } } } - visible = { - FROM = { exists = yes } - NOT = { + FROM = { + exists = yes + } + NOT = { AND = { - has_war_with = FROM + has_war_with = FROM is_ai = yes } - } - FROM = { has_not_initiated_border_incident_with_ROOT = yes } - FROM = { - NOT = { - is_subject_of = ROOT - } - NOT = { - is_in_faction_with = ROOT - } + } + FROM = { + has_not_initiated_border_incident_with_ROOT = yes + } + FROM = { + NOT = { + is_subject_of = ROOT } NOT = { - is_subject_of = FROM + is_in_faction_with = ROOT } - - OR = { - NOT = { has_border_war_with = FROM } - FROM = { - any_owned_state = { - is_controlled_by = FROM - hidden_trigger = { NOT = { has_state_flag = border_incident_active } } - any_neighbor_state = { - hidden_trigger = { NOT = { has_state_flag = border_incident_active } } - is_fully_controlled_by = ROOT + } + NOT = { + is_subject_of = FROM + } + OR = { + NOT = { + has_border_war_with = FROM + } + FROM = { + any_owned_state = { + is_controlled_by = FROM + hidden_trigger = { + NOT = { + has_state_flag = border_incident_active + } + } + any_neighbor_state = { + hidden_trigger = { + NOT = { + has_state_flag = border_incident_active + } + } + is_fully_controlled_by = ROOT } } } } } - # VPI by Yard1 - - target_trigger = { + target_trigger = { + exists = yes + } + target_array = neighbors + target_trigger = { + FROM = { exists = yes } - target_array = neighbors - - - target_trigger = { - FROM = { - exists = yes } - } - + } highlight_states = { highlight_states_trigger = { OR = { state = FROM.defender_state_vs_@ROOT AND = { is_owned_and_controlled_by = FROM - hidden_trigger = { NOT = { has_state_flag = border_incident_active } } + hidden_trigger = { + NOT = { + has_state_flag = border_incident_active + } + } any_neighbor_state = { - hidden_trigger = { NOT = { has_state_flag = border_incident_active } } + hidden_trigger = { + NOT = { + has_state_flag = border_incident_active + } + } has_ROOT_at_least_1_div_in_current_state_scope = yes is_fully_controlled_by = ROOT } @@ -119,11 +147,10 @@ DH1_yuanzheng_decision_category = { } } } - ai_will_do = { + ai_will_do = { base = 0 - modifier = { - DH1 = { + DH1 = { has_country_flag = DOH_DH1_kaishiyuanzheng_flag } add = 100 @@ -135,192 +162,229 @@ DH1_yuanzheng_decision_category = { add = 100 } } - cost = 15 - - fire_only_once = no - days_remove = @border_incident_escalation_countdown days_re_enable = 30 - war_with_target_on_remove = yes - complete_effect = { hidden_effect = { FROM = { random_owned_controlled_state = { limit = { - hidden_trigger = { NOT = { has_state_flag = border_incident_active } } + hidden_trigger = { + NOT = { + has_state_flag = border_incident_active + } + } any_neighbor_state = { - hidden_trigger = { NOT = { has_state_flag = border_incident_active } } + hidden_trigger = { + NOT = { + has_state_flag = border_incident_active + } + } has_ROOT_at_least_1_div_in_current_state_scope = yes is_fully_controlled_by = ROOT } } save_event_target_as = defender_state - set_variable = { FROM.defender_state_vs_@ROOT = id } - set_temp_variable = { defender_state_temp = id } + set_variable = { + FROM.defender_state_vs_@ROOT = id + } + set_temp_variable = { + defender_state_temp = id + } set_state_flag = border_incident_active } } random_state = { limit = { is_fully_controlled_by = ROOT - hidden_trigger = { NOT = { has_state_flag = border_incident_active } } + hidden_trigger = { + NOT = { + has_state_flag = border_incident_active + } + } has_ROOT_at_least_1_div_in_current_state_scope = yes any_neighbor_state = { state = var:FROM.defender_state_vs_@ROOT } } save_event_target_as = attacker_state - set_variable = { FROM.attacker_state_vs_@ROOT = id } - set_temp_variable = { attacker_state_temp = id } + set_variable = { + FROM.attacker_state_vs_@ROOT = id + } + set_temp_variable = { + attacker_state_temp = id + } set_state_flag = border_incident_active } } FROM = { - country_event = { id = az_NSB_border_incident_defender_warning.1 hours = 1 } - activate_targeted_decision = { target = ROOT decision = az_NSB_border_conflict_incident_warning_defender } + country_event = { + id = az_NSB_border_incident_defender_warning.1 + hours = 1 + } + activate_targeted_decision = { + target = ROOT + decision = az_NSB_border_conflict_incident_warning_defender + } } } remove_effect = { hidden_effect = { var:FROM.defender_state_vs_@ROOT = { - save_event_target_as = defender_state + save_event_target_as = defender_state } var:FROM.attacker_state_vs_@ROOT = { - save_event_target_as = attacker_state + save_event_target_as = attacker_state } FROM = { random_owned_controlled_state = { limit = { - hidden_trigger = { NOT = { has_state_flag = border_incident_active } } + hidden_trigger = { + NOT = { + has_state_flag = border_incident_active + } + } any_neighbor_state = { is_fully_controlled_by = ROOT has_ROOT_at_least_1_div_in_current_state_scope = yes - hidden_trigger = { NOT = { has_state_flag = border_incident_active } } + hidden_trigger = { + NOT = { + has_state_flag = border_incident_active + } + } } } - set_temp_variable = { defender_state_temp = id } + set_temp_variable = { + defender_state_temp = id + } } } random_state = { limit = { is_fully_controlled_by = ROOT - hidden_trigger = { NOT = { has_state_flag = border_incident_active } } + hidden_trigger = { + NOT = { + has_state_flag = border_incident_active + } + } has_ROOT_at_least_1_div_in_current_state_scope = yes any_neighbor_state = { state = var:FROM.defender_state_vs_@ROOT } } - set_temp_variable = { attacker_state_temp = id } + set_temp_variable = { + attacker_state_temp = id + } } } - activate_targeted_decision = { target = FROM decision = az_NSB_escalate_incident_to_border_conflict } - } - } - - #Mission for defender warning that a conflict with FROM is coming - az_NSB_border_conflict_incident_warning_defender = { - - icon = border_war - - allowed = { always = no } #Activated from effect - - available = { - hidden_trigger = { always = no } - } - - highlight_states = { - highlight_state_targets = { - state = var:defender_state_temp - state = var:ROOT.defender_state_vs_@FROM - } -} - - war_with_target_on_timeout = yes -#2 - ai_will_do = { - base = 0 #30 - modifier = { - + activate_targeted_decision = { + target = FROM + decision = az_NSB_escalate_incident_to_border_conflict + } + } + } + #Mission for defender warning that a conflict with FROM is coming + az_NSB_border_conflict_incident_warning_defender = { + icon = border_war + allowed = { + always = no + } #Activated from effect + available = { + hidden_trigger = { + always = no + } + } + highlight_states = { + highlight_state_targets = { + state = var:defender_state_temp + state = var:ROOT.defender_state_vs_@FROM + } + } + war_with_target_on_timeout = yes + #2 + ai_will_do = { + base = 0 #30 + modifier = { } } - days_mission_timeout = @border_incident_escalation_countdown - fire_only_once = yes - is_good = no - timeout_effect = { custom_effect_tooltip = escalation_possible_tooltip_for_defender custom_effect_tooltip = effects_if_border_conflict_is_lost effect_tooltip = { -# add_threat = 1 + # add_threat = 1 add_political_power = -10 - var:ROOT.defender_state_vs_@FROM = { FROM = { transfer_state = PREV } } + var:ROOT.defender_state_vs_@FROM = { + FROM = { + transfer_state = PREV + } + } } hidden_effect = { - remove_targeted_decision = { target = FROM decision = az_NSB_border_conflict_incident_warning_defender } - activate_targeted_decision = { target = FROM decision = az_NSB_border_conflict_escalation_warning_defender } + remove_targeted_decision = { + target = FROM + decision = az_NSB_border_conflict_incident_warning_defender + } + activate_targeted_decision = { + target = FROM + decision = az_NSB_border_conflict_escalation_warning_defender + } } } } - #Mission for defender warning FROM can escalate to war at any point is coming az_NSB_border_conflict_escalation_warning_defender = { - icon = border_war - - allowed = { always = no } #Activated from effect - + allowed = { + always = no + } #Activated from effect available = { - hidden_trigger = { always = no } - } - - highlight_states = { - highlight_state_targets = { - state = var:defender_state_temp - state = var:ROOT.defender_state_vs_@FROM - } -} - - war_with_target_on_timeout = yes -#3 - ai_will_do = { - base = 0 #30 - modifier = { - + hidden_trigger = { + always = no + } + } + highlight_states = { + highlight_state_targets = { + state = var:defender_state_temp + state = var:ROOT.defender_state_vs_@FROM + } + } + war_with_target_on_timeout = yes + #3 + ai_will_do = { + base = 0 #30 + modifier = { } } - days_mission_timeout = @border_conflict_incident_forgotten_timer - fire_only_once = yes - is_good = no - timeout_effect = { custom_effect_tooltip = from_cannot_escalate custom_effect_tooltip = effects_if_border_conflict_is_lost effect_tooltip = { -# add_threat = -1 + # add_threat = -1 add_political_power = -10 - var:ROOT.defender_state_vs_@FROM = { FROM = { transfer_state = PREV } } + var:ROOT.defender_state_vs_@FROM = { + FROM = { + transfer_state = PREV + } + } } - } + } } - #Mission for attacker to escalate or incident is forgotten #Decision to escalate incident on border with FROM to border conflict az_NSB_escalate_incident_to_border_conflict = { - icon = border_war - - allowed = { always = no } #Activated from effect - + allowed = { + always = no + } #Activated from effect available = { #var:FROM.attacker_state_vs_@ROOT = { # is_fully_controlled_by = ROOT @@ -331,34 +395,32 @@ DH1_yuanzheng_decision_category = { size > 0 } } - highlight_states = { - highlight_state_targets = { - state = var:FROM.attacker_state_vs_@ROOT - } + highlight_state_targets = { + state = var:FROM.attacker_state_vs_@ROOT + } } -#4 + #4 ai_will_do = { base = 200 modifier = { - } } - cancel_trigger = { is_in_faction_with = FROM } - selectable_mission = yes - - fire_only_once = yes #Reactivation handled in effect - + fire_only_once = yes #Reactivation handled in effect days_mission_timeout = @border_conflict_incident_forgotten_timer - timeout_effect = { custom_effect_tooltip = az_NSB_border_incident_delay_until_new_incident_120 hidden_effect = { - FROM = { remove_targeted_decision = { target = ROOT decision = az_NSB_border_conflict_escalation_warning_defender } } + FROM = { + remove_targeted_decision = { + target = ROOT + decision = az_NSB_border_conflict_escalation_warning_defender + } + } FROM = { var:attacker_state_vs_@ROOT = { clr_state_flag = border_incident_active @@ -371,7 +433,6 @@ DH1_yuanzheng_decision_category = { } } } - complete_effect = { start_border_war = { change_state_after_war = no @@ -382,7 +443,6 @@ DH1_yuanzheng_decision_category = { on_lose = az_NSB_border_conflict_lost_attacker.1 on_cancel = az_NSB_border_conflict_canceled_attacker.1 } - defender = { state = var:FROM.defender_state_vs_@ROOT num_provinces = 4 @@ -392,52 +452,61 @@ DH1_yuanzheng_decision_category = { } } FROM = { - activate_targeted_decision = { target = ROOT decision = az_NSB_border_conflict_escalate_conflict } - activate_targeted_decision = { target = ROOT decision = az_NSB_border_conflict_time_until_cancelled } + activate_targeted_decision = { + target = ROOT + decision = az_NSB_border_conflict_escalate_conflict + } + activate_targeted_decision = { + target = ROOT + decision = az_NSB_border_conflict_time_until_cancelled + } + } + activate_targeted_decision = { + target = FROM + decision = az_NSB_border_conflict_escalate_conflict + } + activate_targeted_decision = { + target = FROM + decision = az_NSB_border_conflict_time_until_cancelled } - activate_targeted_decision = { target = FROM decision = az_NSB_border_conflict_escalate_conflict } - activate_targeted_decision = { target = FROM decision = az_NSB_border_conflict_time_until_cancelled } } } - #Mission for attacker to win border war against FROM in X days az_NSB_border_conflict_time_until_cancelled = { - icon = border_war - - allowed = { always = no } #Activated from effect - + allowed = { + always = no + } #Activated from effect available = { - var:FROM.defender_state_vs_@ROOT = { has_border_war = no } - var:FROM.attacker_state_vs_@ROOT = { has_border_war = no } - } - - highlight_states = { - highlight_state_targets = { - state = var:defender_state_temp - state = var:FROM.defender_state_vs_@ROOT - } -} -#5 - ai_will_do = { - base = 0 # 100 - modifier = { - + var:FROM.defender_state_vs_@ROOT = { + has_border_war = no + } + var:FROM.attacker_state_vs_@ROOT = { + has_border_war = no + } + } + highlight_states = { + highlight_state_targets = { + state = var:defender_state_temp + state = var:FROM.defender_state_vs_@ROOT + } + } + #5 + ai_will_do = { + base = 0 # 100 + modifier = { } } - days_mission_timeout = @border_conflict_time_until_cancelled is_good = no - - fire_only_once = yes #Reactivation handled in effect - + fire_only_once = yes #Reactivation handled in effect complete_effect = { - } - timeout_effect = { if = { - limit = { is_border_conflict_defender_vs_FROM = yes } + limit = { + is_border_conflict_defender_vs_FROM = yes + } cancel_border_war = { defender = var:defender_state_vs_@FROM attacker = var:attacker_state_vs_@FROM @@ -450,43 +519,41 @@ DH1_yuanzheng_decision_category = { } } hidden_effect = { - remove_targeted_decision = { target = FROM decision = az_NSB_border_conflict_escalate_conflict } + remove_targeted_decision = { + target = FROM + decision = az_NSB_border_conflict_escalate_conflict + } } } } - #Decision to escalate conflict further az_NSB_border_conflict_escalate_conflict = { - icon = decision_generic_ignite_civil_war - - allowed = { always = no } #Activated from effect - + allowed = { + always = no + } #Activated from effect visible = { has_border_war_with = FROM } - highlight_states = { - highlight_state_targets = { - state = var:FROM.attacker_state_vs_@ROOT - state = var:ROOT.defender_state_vs_@FROM - } -} - - cost = 70 -#6 - ai_will_do = { - base = 0 #30 - modifier = { - + highlight_state_targets = { + state = var:FROM.attacker_state_vs_@ROOT + state = var:ROOT.defender_state_vs_@FROM } } - - fire_only_once = yes #Reactivation handled in effect - + cost = 70 + #6 + ai_will_do = { + base = 0 #30 + modifier = { + } + } + fire_only_once = yes #Reactivation handled in effect complete_effect = { if = { - limit = { is_border_conflict_defender_vs_FROM = yes } + limit = { + is_border_conflict_defender_vs_FROM = yes + } set_border_war_data = { attacker = var:ROOT.defender_state_vs_@FROM defender = var:ROOT.defender_state_vs_@FROM @@ -508,7 +575,10 @@ DH1_yuanzheng_decision_category = { days = @border_conflict_escalate_to_war_countdown value = 1 } - remove_targeted_decision = { target = ROOT decision = az_NSB_border_conflict_escalate_conflict } + remove_targeted_decision = { + target = ROOT + decision = az_NSB_border_conflict_escalate_conflict + } } set_country_flag = { flag = az_NSB_border_conflict_escalate_to_war_cooldown_@FROM @@ -516,71 +586,86 @@ DH1_yuanzheng_decision_category = { value = 1 } custom_effect_tooltip = in_45_days - activate_targeted_decision = { target = FROM decision = az_NSB_border_conflict_escalate_to_war } + activate_targeted_decision = { + target = FROM + decision = az_NSB_border_conflict_escalate_to_war + } } } - #Decision to escalate conflict further az_NSB_border_conflict_escalate_to_war = { - icon = decision_generic_ignite_civil_war - - allowed = { always = no } #Activated from effect - + allowed = { + always = no + } #Activated from effect visible = { - NOT = { has_country_flag = az_NSB_border_conflict_escalate_to_war_cooldown_@FROM } + NOT = { + has_country_flag = az_NSB_border_conflict_escalate_to_war_cooldown_@FROM + } has_border_war_with = FROM } - highlight_states = { - highlight_state_targets = { - state = var:FROM.defender_state_vs_@ROOT - state = var:ROOT.attacker_state_vs_@FROM - } -} - - cost = 50 -#7 - ai_will_do = { - base = 0 #30 - modifier = { - + highlight_state_targets = { + state = var:FROM.defender_state_vs_@ROOT + state = var:ROOT.attacker_state_vs_@FROM + } + } + cost = 50 + #7 + ai_will_do = { + base = 0 #30 + modifier = { } } - days_remove = 15 - - fire_only_once = yes #Reactivation handled in effect - + fire_only_once = yes #Reactivation handled in effect war_with_target_on_remove = yes - complete_effect = { if = { - limit = { is_border_conflict_defender_vs_FROM = yes } - var:ROOT.defender_state_vs_@FROM = { save_event_target_as = their_state } - var:ROOT.attacker_state_vs_@FROM = { save_event_target_as = our_state } + limit = { + is_border_conflict_defender_vs_FROM = yes + } + var:ROOT.defender_state_vs_@FROM = { + save_event_target_as = their_state + } + var:ROOT.attacker_state_vs_@FROM = { + save_event_target_as = our_state + } } else = { - var:FROM.defender_state_vs_@ROOT = { save_event_target_as = our_state } - var:FROM.attacker_state_vs_@ROOT = { save_event_target_as = their_state } + var:FROM.defender_state_vs_@ROOT = { + save_event_target_as = our_state + } + var:FROM.attacker_state_vs_@ROOT = { + save_event_target_as = their_state + } } FROM = { - country_event = { id = az_NSB_border_conflict_escalate_to_war.1 } - hidden_effect = { - remove_targeted_decision = { target = ROOT decision = az_NSB_border_conflict_escalate_to_war } + country_event = { + id = az_NSB_border_conflict_escalate_to_war.1 } - } + hidden_effect = { + remove_targeted_decision = { + target = ROOT + decision = az_NSB_border_conflict_escalate_to_war + } + } + } } - remove_effect = { cancel_border_war = { dont_fire_events = yes defender = var:FROM.defender_state_vs_@ROOT attacker = var:FROM.attacker_state_vs_@ROOT } - declare_war_on = { target = FROM type = annex_everything } + declare_war_on = { + target = FROM + type = annex_everything + } if = { - limit = { is_border_conflict_defender_vs_FROM = yes } + limit = { + is_border_conflict_defender_vs_FROM = yes + } var:attacker_state_vs_@FROM = { clr_state_flag = border_incident_active } @@ -604,35 +689,32 @@ DH1_yuanzheng_decision_category = { } } } - #Decision to back down from conflict az_NSB_border_conflict_back_out_of_conflict = { - - allowed = { always = no } #Activated from effect - + allowed = { + always = no + } #Activated from effect visible = { has_border_war_with = FROM } - highlight_states = { - highlight_state_targets = { - state = var:FROM.attacker_state_vs_@ROOT - state = var:ROOT.defender_state_vs_@FROM - } -} -#8 - ai_will_do = { - base = 0 #30 - modifier = { - + highlight_state_targets = { + state = var:FROM.attacker_state_vs_@ROOT + state = var:ROOT.defender_state_vs_@FROM } } - - fire_only_once = yes #Reactivation handled in effect - + #8 + ai_will_do = { + base = 0 #30 + modifier = { + } + } + fire_only_once = yes #Reactivation handled in effect complete_effect = { if = { - limit = { is_border_conflict_defender_vs_FROM = yes } + limit = { + is_border_conflict_defender_vs_FROM = yes + } finalize_border_war = { attacker_win = yes attacker = ROOT.attacker_state_vs_@FROM @@ -648,4 +730,4 @@ DH1_yuanzheng_decision_category = { } } } -} \ No newline at end of file +} diff --git a/src/common/decisions/DOH_decision.txt b/src/common/decisions/DOH_decision.txt index 6b38dad..f026178 100755 --- a/src/common/decisions/DOH_decision.txt +++ b/src/common/decisions/DOH_decision.txt @@ -78,7 +78,6 @@ DOH_decision_category = { } } } - is_good = no days_mission_timeout = 350 complete_effect = { @@ -137,7 +136,7 @@ DOH_decision_category = { } visible = { OR = { - is_debug = yes + is_debug = yes owns_state = 716 } } @@ -161,12 +160,12 @@ DOH_decision_category = { } visible = { OR = { - is_debug = yes + is_debug = yes has_completed_focus = DOH_huanxingjulong } } available = { - # owns_state = 329 + # owns_state = 329 owns_state = 563 owns_state = 561 owns_state = 657 @@ -214,15 +213,15 @@ DOH_decision_category = { set_state_name = DOH_boli_name } set_victory_points = { - province = 957 # 符拉迪沃斯托克/海参崴 + province = 957 # 符拉迪沃斯托克/海参崴 value = 20 } set_victory_points = { - province = 12189 # 哈巴罗夫斯克/伯力 + province = 12189 # 哈巴罗夫斯克/伯力 value = 20 } set_victory_points = { - province = 4705 # 赤塔/尼布楚 + province = 4705 # 赤塔/尼布楚 value = 10 } } @@ -235,7 +234,7 @@ DOH_decision_category = { } visible = { OR = { - is_debug = yes + is_debug = yes has_completed_focus = DOH_huanxingjulong } } @@ -256,11 +255,11 @@ DOH_decision_category = { } hidden_effect = { set_victory_points = { - province = 10627 # 克孜勒/乌里雅苏台 + province = 10627 # 克孜勒/乌里雅苏台 value = 10 } set_victory_points = { - province = 4801 # 乌兰巴托 + province = 4801 # 乌兰巴托 value = 15 } } @@ -273,7 +272,7 @@ DOH_decision_category = { } visible = { OR = { - is_debug = yes + is_debug = yes has_completed_focus = DOH_huanxingjulong } } @@ -301,11 +300,11 @@ DOH_decision_category = { } hidden_effect = { set_victory_points = { - province = 10062 # 香港 + province = 10062 # 香港 value = 20 } set_victory_points = { - province = 4189 # 澳门 + province = 4189 # 澳门 value = 10 } } @@ -318,7 +317,7 @@ DOH_decision_category = { } visible = { OR = { - is_debug = yes + is_debug = yes AND = { has_completed_focus = DOH_huanxingjulong has_completed_focus = DOH_ninghaixiaxiyang @@ -335,14 +334,13 @@ DOH_decision_category = { complete_effect = { add_state_core = 527 add_state_core = 525 - hidden_effect = { set_victory_points = { - province = 4052 # 平壤 + province = 4052 # 平壤 value = 15 } set_victory_points = { - province = 7125 # 汉城 + province = 7125 # 汉城 value = 20 } } @@ -426,11 +424,10 @@ DOH_decision_category = { on_map_mode = map_and_decisions_view target_array = controlled_states highlight_color_while_active = 1 - ai_will_do = { factor = 5 } - visible = { + visible = { FROM = { OR = { AND = { @@ -475,7 +472,6 @@ DOH_decision_category = { on_map_mode = map_and_decisions_view target_array = controlled_states highlight_color_while_active = 1 - ai_will_do = { factor = 5 } @@ -521,7 +517,6 @@ DOH_decision_category = { on_map_mode = map_and_decisions_view target_array = controlled_states highlight_color_while_active = 1 - ai_will_do = { factor = 5 } @@ -567,7 +562,6 @@ DOH_decision_category = { on_map_mode = map_and_decisions_view target_array = controlled_states highlight_color_while_active = 1 - ai_will_do = { factor = 5 } @@ -692,6 +686,7 @@ DOH_decision_category = { } #DOH_BFL_bifenggang_gaobie_decision } + DOH_industry_decision_category = { DOH_civ_to_arm_industry_decision = { icon = xingdong @@ -818,7 +813,6 @@ DOH_industry_decision_category = { } } } - # DOH_nciv_to_naval_industry_decision = { # icon = xingdong # ai_will_do = { @@ -912,7 +906,6 @@ DOH_industry_decision_category = { # } # } # } - # DOH_nciv_to_ship_industry_decision = { # icon = xingdong # ai_will_do = { @@ -978,7 +971,7 @@ DOH_industry_decision_category = { OR = { has_country_flag = DOH_auto_conv_com_arm has_country_flag = DOH_auto_conv_arm - } + } } } } @@ -1030,7 +1023,7 @@ DOH_industry_decision_category = { OR = { has_country_flag = DOH_auto_conv_com_arm has_country_flag = DOH_auto_conv_arm - } + } } } } @@ -1055,7 +1048,6 @@ DOH_industry_decision_category = { # } # cost = 0 # available = { - # } # complete_effect = { # add_cic = -1000 @@ -1205,7 +1197,6 @@ DOH_decision_debug_category = { } } cost = 10 - complete_effect = { custom_effect_tooltip = "减少1点投资" effect_tooltip = { @@ -1266,7 +1257,6 @@ DOH_decision_debug_category = { } } cost = 10 - complete_effect = { custom_effect_tooltip = "减少1点公共开支" effect_tooltip = { @@ -1327,7 +1317,6 @@ DOH_decision_debug_category = { } } cost = 10 - complete_effect = { custom_effect_tooltip = "减少1点额外科研经费" effect_tooltip = { @@ -1357,7 +1346,6 @@ DOH_decision_debug_category = { } } cost = 10 - complete_effect = { custom_effect_tooltip = "增加1点额外生产经费" effect_tooltip = { @@ -1389,7 +1377,6 @@ DOH_decision_debug_category = { } } cost = 10 - complete_effect = { custom_effect_tooltip = "减少1点额外生产经费" effect_tooltip = { @@ -1421,7 +1408,6 @@ DOH_decision_debug_category = { } } cost = 10 - complete_effect = { custom_effect_tooltip = "增加1点市场开放程度" effect_tooltip = { @@ -1453,7 +1439,6 @@ DOH_decision_debug_category = { } } cost = 10 - complete_effect = { custom_effect_tooltip = "减少1点市场开放程度" effect_tooltip = { @@ -1468,7 +1453,6 @@ DOH_decision_debug_category = { DOH_zhichilvchengfa_effect = yes } } - DOH_debug_1 = { icon = xingdong cost = 0 @@ -1597,7 +1581,10 @@ DOH_decision_debug_category = { } complete_effect = { complete_national_focus = DOH_donghuanggongyetixi - add_offsite_building = { type = industrial_complex level = 500 } + add_offsite_building = { + type = industrial_complex + level = 500 + } } } DOH_debug_6 = { @@ -1630,7 +1617,6 @@ DOH_decision_debug_category = { } } } - # DOH_debug_8 = { # icon = xingdong # cost = 0 @@ -1708,7 +1694,6 @@ DOH_duiwaitouzi_decision_category = { } } allowed = { - } target_trigger = { any_country = { @@ -1750,7 +1735,6 @@ DOH_duiwaitouzi_decision_category = { } } allowed = { - } available = { NOT = { @@ -1782,7 +1766,6 @@ DOH_duiwaitouzi_decision_category = { } } } - DOH_shuchu_yaoqiu = { icon = xingdong cost = 100 @@ -1797,7 +1780,6 @@ DOH_duiwaitouzi_decision_category = { } } allowed = { - } available = { custom_trigger_tooltip = { @@ -1825,7 +1807,6 @@ DOH_duiwaitouzi_decision_category = { DOH_neibufenqi_jianqin_effect = yes } } - shuchu_100_civ = { icon = xingdong cost = 50 @@ -1886,7 +1867,6 @@ DOH_duiwaitouzi_decision_category = { } } available = { - } complete_effect = { set_country_flag = DOH_auto_shuchu_civ @@ -1914,7 +1894,6 @@ DOH_duiwaitouzi_decision_category = { has_country_flag = DOH_auto_shuchu_civ } available = { - } complete_effect = { clr_country_flag = DOH_auto_shuchu_civ @@ -1922,7 +1901,7 @@ DOH_duiwaitouzi_decision_category = { } } } + # DOH_xianjinjianniangdebifenggang_decision_category = { # DOH_xianjinjianniangdebifenggang_decision - # } \ No newline at end of file diff --git a/src/common/decisions/GER_decisions.txt b/src/common/decisions/GER_decisions.txt index 19b5a3c..5637a43 100755 --- a/src/common/decisions/GER_decisions.txt +++ b/src/common/decisions/GER_decisions.txt @@ -404,7 +404,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 10 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -466,7 +466,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 202 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -507,13 +507,13 @@ GER_LIVE_SPARE = { } every_state = { limit = { - not = { - or = { + NOT = { + OR = { state = 137 state = 196 } } - or = { + OR = { region = 130 state = 89 state = 91 @@ -543,7 +543,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 16 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -590,12 +590,12 @@ GER_LIVE_SPARE = { } every_state = { limit = { - not = { - or = { + NOT = { + OR = { state = 28 } } - or = { + OR = { state = 1 region = 19 region = 20 @@ -619,7 +619,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 41 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -664,7 +664,7 @@ GER_LIVE_SPARE = { } every_state = { limit = { - or = { + OR = { region = 41 region = 209 region = 210 @@ -691,7 +691,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 126 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -736,7 +736,7 @@ GER_LIVE_SPARE = { } every_state = { limit = { - or = { + OR = { region = 1 region = 2 region = 3 @@ -760,7 +760,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 361 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -824,7 +824,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 110 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -869,7 +869,7 @@ GER_LIVE_SPARE = { } every_state = { limit = { - or = { + OR = { region = 10 region = 192 region = 276 @@ -895,7 +895,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 6 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -941,7 +941,7 @@ GER_LIVE_SPARE = { every_state = { limit = { region = 5 - not = { + NOT = { has_state_flag = Great_Germany_Area } } @@ -962,7 +962,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 195 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1003,7 +1003,7 @@ GER_LIVE_SPARE = { } every_state = { limit = { - or = { + OR = { region = 37 region = 132 region = 131 @@ -1043,7 +1043,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 219 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1084,7 +1084,7 @@ GER_LIVE_SPARE = { } every_state = { limit = { - or = { + OR = { region = 133 region = 150 region = 264 @@ -1092,8 +1092,8 @@ GER_LIVE_SPARE = { region = 137 region = 138 } - not = { - or = { + NOT = { + OR = { state = 245 state = 217 } @@ -1120,7 +1120,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 217 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1161,7 +1161,7 @@ GER_LIVE_SPARE = { } every_state = { limit = { - or = { + OR = { region = 135 region = 134 state = 245 @@ -1189,7 +1189,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 2 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1230,14 +1230,14 @@ GER_LIVE_SPARE = { } every_state = { limit = { - or = { + OR = { region = 23 state = 114 state = 158 state = 159 state = 160 } - not = { + NOT = { has_state_flag = Great_Germany_Area } } @@ -1257,7 +1257,7 @@ GER_LIVE_SPARE = { fire_only_once = yes available = { 70 = { - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1327,7 +1327,7 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GOL - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1350,7 +1350,7 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GOL - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1379,7 +1379,7 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GRA - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1402,7 +1402,7 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GRA - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1431,7 +1431,7 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GKR - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1454,7 +1454,7 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GKR - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1483,7 +1483,7 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GPT - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1506,7 +1506,7 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GPT - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1535,7 +1535,7 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GEG - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1558,7 +1558,7 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GEG - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1587,7 +1587,7 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GSA - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1610,7 +1610,7 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GSA - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1639,7 +1639,7 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GEN - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1662,7 +1662,7 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GEN - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1691,7 +1691,7 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GRB - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1714,7 +1714,7 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GRB - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1743,7 +1743,7 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GIN - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1766,7 +1766,7 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GIN - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1795,7 +1795,7 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GOV - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1818,7 +1818,7 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GOV - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1847,7 +1847,7 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GJS - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1870,7 +1870,7 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GJS - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1899,10 +1899,10 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GTA - not = { + NOT = { has_state_flag = Great_Germany_Area } - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1925,10 +1925,10 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GTA - not = { + NOT = { has_state_flag = Great_Germany_Area } - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -1957,7 +1957,7 @@ GER_LIVE_SPARE = { tooltip = "GER_CREATE_kuozhang" any_state = { is_core_of = GLO - or = { + OR = { is_controlled_by = XGE any_other_country = { NOT = { @@ -1980,7 +1980,7 @@ GER_LIVE_SPARE = { every_state = { limit = { is_core_of = GLO - or = { + OR = { is_controlled_by = XGE any_other_country = { is_subject_of = XGE @@ -2078,7 +2078,7 @@ GER_special_tank = { visible = { } available = { - not = { + NOT = { has_country_flag = GER_special_tank_on } } @@ -2107,7 +2107,7 @@ GER_special_tank = { visible = { } available = { - not = { + NOT = { has_country_flag = GER_special_tank_on } } @@ -2136,7 +2136,7 @@ GER_special_tank = { visible = { } available = { - not = { + NOT = { has_country_flag = GER_special_tank_on } } @@ -2165,7 +2165,7 @@ GER_special_tank = { visible = { } available = { - not = { + NOT = { has_country_flag = GER_special_tank_on } } @@ -2183,7 +2183,7 @@ GER_special_tank = { bonus = 1 ahead_reduction = 2 uses = 1 - category = cat_super_heavy_armor + category = cat_heavy_armor } } } @@ -2199,8 +2199,8 @@ GER_war_plan = { } available = { POL = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -2211,7 +2211,7 @@ GER_war_plan = { tag = POL } is_subject = no - not = { has_country_flag = GER_war_plan_going_on } + NOT = { has_country_flag = GER_war_plan_going_on } } cost = 10 days_remove = 20 @@ -2236,8 +2236,8 @@ GER_war_plan = { } available = { YUW = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -2248,7 +2248,7 @@ GER_war_plan = { tag = YUW } is_subject = no - not = { has_country_flag = GER_war_plan_going_on } + NOT = { has_country_flag = GER_war_plan_going_on } } cost = 10 days_remove = 20 @@ -2272,11 +2272,11 @@ GER_war_plan = { visible = { } available = { - or = { - and = { + OR = { + AND = { HOL = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -2287,10 +2287,10 @@ GER_war_plan = { tag = HOL } } - and = { + AND = { BEL = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -2301,10 +2301,10 @@ GER_war_plan = { tag = BEL } } - and = { + AND = { LUX = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -2317,7 +2317,7 @@ GER_war_plan = { } } is_subject = no - not = { has_country_flag = GER_war_plan_going_on } + NOT = { has_country_flag = GER_war_plan_going_on } } cost = 10 days_remove = 20 @@ -2344,8 +2344,8 @@ GER_war_plan = { } available = { SWI = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -2356,7 +2356,7 @@ GER_war_plan = { tag = SWI } is_subject = no - not = { has_country_flag = GER_war_plan_going_on } + NOT = { has_country_flag = GER_war_plan_going_on } } cost = 10 days_remove = 20 @@ -2381,8 +2381,8 @@ GER_war_plan = { } available = { HUJ = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -2391,10 +2391,10 @@ GER_war_plan = { } OR = { YUW = { has_capitulated = yes } - not = {country_exists = YUW } + NOT = {country_exists = YUW } } is_subject = no - not = { has_country_flag = GER_war_plan_going_on } + NOT = { has_country_flag = GER_war_plan_going_on } } cost = 10 days_remove = 20 @@ -2420,7 +2420,7 @@ GER_war_plan = { available = { has_war_with = HUJ is_subject = no - not = { has_country_flag = GER_war_plan_going_on } + NOT = { has_country_flag = GER_war_plan_going_on } HUJ = { controls_state = 131 } } cost = 10 @@ -2456,11 +2456,11 @@ GER_war_plan = { visible = { } available = { - or = { - and = { + OR = { + AND = { DEN = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -2471,10 +2471,10 @@ GER_war_plan = { tag = DEN } } - and = { + AND = { NOR = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -2487,7 +2487,7 @@ GER_war_plan = { } } is_subject = no - not = { has_country_flag = GER_war_plan_going_on } + NOT = { has_country_flag = GER_war_plan_going_on } } cost = 10 days_remove = 20 @@ -2513,8 +2513,8 @@ GER_war_plan = { } available = { CZE = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -2525,7 +2525,7 @@ GER_war_plan = { tag = CZE } is_subject = no - not = { has_country_flag = GER_war_plan_going_on } + NOT = { has_country_flag = GER_war_plan_going_on } } cost = 10 days_remove = 20 @@ -2550,8 +2550,8 @@ GER_war_plan = { } available = { SAD = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -2562,7 +2562,7 @@ GER_war_plan = { tag = SAD } is_subject = no - not = { has_country_flag = GER_war_plan_going_on } + NOT = { has_country_flag = GER_war_plan_going_on } } cost = 10 days_remove = 20 @@ -2587,8 +2587,8 @@ GER_war_plan = { } available = { BFL = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -2599,7 +2599,7 @@ GER_war_plan = { tag = BFL } is_subject = no - not = { has_country_flag = GER_war_plan_going_on } + NOT = { has_country_flag = GER_war_plan_going_on } } cost = 10 days_remove = 20 diff --git a/src/common/decisions/HUJ_decisions.txt b/src/common/decisions/HUJ_decisions.txt index 50f0a4a..333e2d9 100755 --- a/src/common/decisions/HUJ_decisions.txt +++ b/src/common/decisions/HUJ_decisions.txt @@ -10,19 +10,20 @@ huj_yihui_category = { } } visible = { - HUJ_weiershi = { is_country_leader = no } - } - - complete_effect = { - set_country_flag = { flag = renmingshouxiang_cd value = 1 days = 365 } + HUJ_weiershi = { + is_country_leader = no + } + } + complete_effect = { + set_country_flag = { + flag = renmingshouxiang_cd + value = 1 + days = 365 + } promote_character = { - character = HUJ_weiershi ideology = liberalism - } - - } ai_will_do = { factor = 0 @@ -30,6 +31,17 @@ huj_yihui_category = { } shouxiangrenwu_weiershiqinwang = { icon = weiershi + activation = { + HUJ_weiershi = { + is_country_leader = yes + } + } + cancel_trigger = { + HUJ_weiershi = { + is_country_leader = no + } + } + is_good = no available = { count_triggers = { amount = 5 @@ -84,17 +96,19 @@ huj_yihui_category = { } } visible = { - HUJ_weiershi = { is_country_leader = yes } - } + HUJ_weiershi = { + is_country_leader = yes + } + } + days_mission_timeout = 730 fire_only_once = yes - complete_effect = { + complete_effect = { add_political_power = 500 } ai_will_do = { factor = 10 } } - renmingshouxiang_hude = { icon = hude available = { @@ -106,37 +120,59 @@ huj_yihui_category = { } } visible = { - HUJ_hude = { is_country_leader = no } - + HUJ_hude = { + is_country_leader = no + } } - - complete_effect = { - set_country_flag = { flag = renmingshouxiang_cd value = 1 days = 365 } + complete_effect = { + set_country_flag = { + flag = renmingshouxiang_cd + value = 1 + days = 365 + } promote_character = HUJ_hude - } ai_will_do = { factor = 0 - } } shouxiangrenwu_hude = { icon = hude + activation = { + HUJ_hude = { + is_country_leader = yes + } + } + cancel_trigger = { + HUJ_hude = { + is_country_leader = no + } + } + is_good = no available = { num_of_factories > 400 has_stability > 0.89 has_war_support > 1 count_triggers = { amount = 2 - has_army_manpower = { size > 1000000 } - has_deployed_air_force_size = { size > 2000 } - has_navy_size = { size > 300 } + has_army_manpower = { + size > 1000000 + } + has_deployed_air_force_size = { + size > 2000 + } + has_navy_size = { + size > 300 + } num_of_military_factories > 200 } } visible = { - HUJ_hude = { is_country_leader = yes } - } + HUJ_hude = { + is_country_leader = yes + } + } + days_mission_timeout = 730 fire_only_once = yes complete_effect = { add_political_power = 1000 @@ -156,44 +192,62 @@ huj_yihui_category = { } } visible = { - HUJ_yanzhan = { is_country_leader = no } - NOT = { + HUJ_yanzhan = { + is_country_leader = no + } + NOT = { has_country_leader = { name = "厌战" ruling_only = yes } } } - - complete_effect = { - set_country_flag = { flag = renmingshouxiang_cd value = 1 days = 365 } - + complete_effect = { + set_country_flag = { + flag = renmingshouxiang_cd + value = 1 + days = 365 + } promote_character = HUJ_yanzhan - - - } ai_will_do = { factor = 0 modifier = { has_completed_focus = HUJ_youyakebushihuaping - NOT = { has_completed_focus = HUJ_guofangjianshe } + NOT = { + has_completed_focus = HUJ_guofangjianshe + } add = 10 } } } shouxiangrenwu_yanzhan = { icon = yanzhan + activation = { + HUJ_yanzhan = { + is_country_leader = yes + } + } + cancel_trigger = { + HUJ_yanzhan = { + is_country_leader = no + } + } available = { num_of_military_factories > 200 num_of_naval_factories > 70 has_war_support > 1.5 - has_army_manpower = { size > 750000 } + has_army_manpower = { + size > 750000 + } } visible = { - HUJ_yanzhan = { is_country_leader = yes } - } + HUJ_yanzhan = { + is_country_leader = yes + } + } fire_only_once = yes + days_mission_timeout = 730 complete_effect = { add_political_power = 300 army_experience = 100 @@ -207,7 +261,6 @@ huj_yihui_category = { renmingshouxiang_beierfasite = { icon = beifa available = { - custom_trigger_tooltip = { tooltip = rnemingshouxiang_trigger_tooltip NOT = { @@ -216,32 +269,50 @@ huj_yihui_category = { } } visible = { - HUJ_beierfasite = { is_country_leader = no } - + HUJ_beierfasite = { + is_country_leader = no + } } - - complete_effect = { - set_country_flag = { flag = renmingshouxiang_cd value = 1 days = 365 } + complete_effect = { + set_country_flag = { + flag = renmingshouxiang_cd + value = 1 + days = 365 + } promote_character = HUJ_beierfasite - } ai_will_do = { factor = 0 modifier = { has_completed_focus = HUJ_guofangjianshe - NOT = { has_completed_focus = HUJ_tiaojiaonvwang } + NOT = { + has_completed_focus = HUJ_tiaojiaonvwang + } add = 10 } } } shouxiangrenwu_beierfasite = { icon = beifa + activation = { + HUJ_beierfasite = { + is_country_leader = yes + } + } + cancel_trigger = { + HUJ_beierfasite = { + is_country_leader = no + } + } + days_mission_timeout = 730 available = { has_completed_focus = HUJ_tiaojiaonvwang } visible = { - HUJ_beierfasite = { is_country_leader = yes } - } + HUJ_beierfasite = { + is_country_leader = yes + } + } fire_only_once = yes complete_effect = { add_political_power = 150 @@ -254,7 +325,6 @@ huj_yihui_category = { renmingshouxiang_chaijun = { icon = chaijun available = { - custom_trigger_tooltip = { tooltip = rnemingshouxiang_trigger_tooltip NOT = { @@ -263,31 +333,45 @@ huj_yihui_category = { } } visible = { - HUJ_chaijun = { is_country_leader = no } + HUJ_chaijun = { + is_country_leader = no + } } - - complete_effect = { - set_country_flag = { flag = renmingshouxiang_cd value = 1 days = 365 } + complete_effect = { + set_country_flag = { + flag = renmingshouxiang_cd + value = 1 + days = 365 + } promote_character = HUJ_chaijun - } - ai_will_do = { factor = 0 - } } shouxiangrenwu_chaijun = { icon = chaijun + activation = { + HUJ_chaijun = { + is_country_leader = yes + } + } + cancel_trigger = { + HUJ_chaijun = { + is_country_leader = no + } + } + days_mission_timeout = 730 available = { has_stability > 1.24 has_war_support > 1.5 } fire_only_once = yes visible = { - HUJ_chaijun = { is_country_leader = yes } - } - + HUJ_chaijun = { + is_country_leader = yes + } + } complete_effect = { add_political_power = 250 } @@ -295,4 +379,4 @@ huj_yihui_category = { factor = 10 } } -} \ No newline at end of file +} diff --git a/src/common/decisions/SAD_decisions.txt b/src/common/decisions/SAD_decisions.txt index 7d254ce..5582c92 100755 --- a/src/common/decisions/SAD_decisions.txt +++ b/src/common/decisions/SAD_decisions.txt @@ -1,14 +1,12 @@ #购买武器(1政治点=15的IC产能) 1军工满效率每天5IC产出 10把步枪(净生产量+三分之一) 1.42火炮(净生产量+五分之一) 2卡车(净生产量+四分之一) sad_guofangjianshe_category = { - SAD_decision_tiaozhengjunfei_army = { icon = generic_prepare_civil_war - visible = { - NOT = { + NOT = { has_idea = SAD_junfei_army2 has_idea = SAD_junfei_1 - } + } } available = { custom_trigger_tooltip = { @@ -18,19 +16,12 @@ sad_guofangjianshe_category = { } } } - cost = 25 - days_remove = 7 - complete_effect = { - + complete_effect = { } remove_effect = { - - SAD_junfei_army = yes - - set_country_flag = { flag = SAD_decision_tiaozhengjunfei_cd days = 180 @@ -50,14 +41,13 @@ sad_guofangjianshe_category = { } SAD_decision_tiaozhengjunfei_navy = { icon = generic_naval - visible = { - NOT = { + NOT = { OR = { has_idea = SAD_junfei_navy2 has_idea = SAD_junfei_1 } - } + } } available = { custom_trigger_tooltip = { @@ -67,18 +57,12 @@ sad_guofangjianshe_category = { } } } - cost = 25 days_remove = 7 - complete_effect = { - + complete_effect = { } remove_effect = { - - SAD_junfei_navy = yes - - set_country_flag = { flag = SAD_decision_tiaozhengjunfei_cd days = 180 @@ -98,29 +82,24 @@ sad_guofangjianshe_category = { } SAD_decision_daliangzengjiajunfei = { icon = ger_mefo_bills - visible = { - has_completed_focus = SAD_chongzudeziyuan + has_completed_focus = SAD_chongzudeziyuan } available = { AND = { has_completed_focus = SAD_gongyejishu has_completed_focus = SAD_haiyungongsi - NOT = { has_idea = SAD_fbdzf } - + NOT = { + has_idea = SAD_fbdzf + } } } - cost = 100 days_remove = 7 - complete_effect = { - + complete_effect = { } - fire_only_once = yes remove_effect = { - - if = { limit = { has_idea = SAD_junfei_army2 @@ -166,18 +145,14 @@ sad_guofangjianshe_category = { add_idea = SAD_junfei_1 } } - } ai_will_do = { factor = 30 - } } SAD_decision_jinkougangtie = { icon = steel - visible = { - } fire_only_once = yes modifier = { @@ -185,14 +160,13 @@ sad_guofangjianshe_category = { } days_remove = 90 cost = 30 - complete_effect = { + complete_effect = { capital_scope = { add_resource = { type = steel amount = 20 } } - } remove_effect = { set_country_flag = SAD_decision_jinkougangtie_get @@ -203,7 +177,6 @@ sad_guofangjianshe_category = { } SAD_decision_jinkougangtie2 = { icon = steel - visible = { has_country_flag = SAD_decision_jinkougangtie_get } @@ -213,14 +186,13 @@ sad_guofangjianshe_category = { } days_remove = 120 cost = 50 - complete_effect = { + complete_effect = { capital_scope = { add_resource = { type = steel amount = 50 } } - } remove_effect = { set_country_flag = SAD_decision_jinkougangtie2_get @@ -231,7 +203,6 @@ sad_guofangjianshe_category = { } SAD_decision_jinkouxiyoujinshu = { icon = steel - visible = { has_country_flag = SAD_decision_jinkougangtie_get } @@ -241,7 +212,7 @@ sad_guofangjianshe_category = { } days_remove = 120 cost = 35 - complete_effect = { + complete_effect = { capital_scope = { add_resource = { type = tungsten @@ -252,7 +223,6 @@ sad_guofangjianshe_category = { amount = 18 } } - } remove_effect = { set_country_flag = SAD_decision_jinkouxiyoujinshu_get @@ -263,7 +233,6 @@ sad_guofangjianshe_category = { } SAD_decision_jinkoulvziyuan = { icon = steel - visible = { has_country_flag = SAD_decision_jinkougangtie_get } @@ -273,15 +242,13 @@ sad_guofangjianshe_category = { } days_remove = 120 cost = 40 - complete_effect = { + complete_effect = { capital_scope = { add_resource = { type = aluminium amount = 42 } - } - } remove_effect = { set_country_flag = SAD_decision_jinkoulvziyuan_get @@ -292,7 +259,6 @@ sad_guofangjianshe_category = { } SAD_decision_touzijungongye = { icon = generic_factory - visible = { NOT = { has_idea = SAD_junfei_1 @@ -305,12 +271,14 @@ sad_guofangjianshe_category = { } days_remove = 120 cost = 80 - complete_effect = { + complete_effect = { if = { limit = { - NOT = { has_idea = SAD_junfei_army2 } + NOT = { + has_idea = SAD_junfei_army2 + } } - SAD_junfei_army =YES + SAD_junfei_army = yes } set_country_flag = SAD_decision_touzijungongye_doing } @@ -320,7 +288,7 @@ sad_guofangjianshe_category = { add_building_construction = { type = arms_factory level = 4 - instant_build = yes + instant_build = yes } } clr_country_flag = SAD_decision_touzijungongye_doing @@ -331,7 +299,6 @@ sad_guofangjianshe_category = { } SAD_decision_touzizaochuanchang = { icon = generic_construction - visible = { NOT = { has_idea = SAD_junfei_1 @@ -344,14 +311,15 @@ sad_guofangjianshe_category = { } days_remove = 120 cost = 80 - complete_effect = { + complete_effect = { if = { limit = { - NOT = { has_idea = SAD_junfei_navy2 } + NOT = { + has_idea = SAD_junfei_navy2 + } } - SAD_junfei_navy =YES + SAD_junfei_navy = yes } - set_country_flag = SAD_decision_touzizaochuanchang_doing } remove_effect = { @@ -360,7 +328,7 @@ sad_guofangjianshe_category = { add_building_construction = { type = dockyard level = 2 - instant_build = yes + instant_build = yes } } random_owned_controlled_state = { @@ -368,7 +336,7 @@ sad_guofangjianshe_category = { add_building_construction = { type = dockyard level = 3 - instant_build = yes + instant_build = yes } } clr_country_flag = SAD_decision_touzizaochuanchang_doing @@ -379,20 +347,21 @@ sad_guofangjianshe_category = { } SAD_decision_gaishanlujunhuoshi = { icon = generic_military - days_remove = -1 modifier = { conscription = 0.01 no_supply_grace = 6 } cost = 50 - complete_effect = { + complete_effect = { set_country_flag = SAD_decision_gaishanlujunhuoshi_get if = { limit = { - NOT = { has_idea = SAD_junfei_army2 } + NOT = { + has_idea = SAD_junfei_army2 + } } - SAD_junfei_army =YES + SAD_junfei_army = yes } } ai_will_do = { @@ -401,20 +370,21 @@ sad_guofangjianshe_category = { } SAD_decision_tigaoshuibingsuzhi = { icon = generic_decision - days_remove = -1 modifier = { navy_org_factor = 0.1 experience_gain_navy_factor = 0.15 } cost = 50 - complete_effect = { + complete_effect = { set_country_flag = SAD_decision_tigaoshuibingsuzhi_get if = { limit = { - NOT = { has_idea = SAD_junfei_navy2 } + NOT = { + has_idea = SAD_junfei_navy2 + } } - SAD_junfei_navy =YES + SAD_junfei_navy = yes } } ai_will_do = { @@ -426,9 +396,10 @@ sad_guofangjianshe_category = { sadkeyanhezuo_category = { 34_heavy_tank = { icon = generic_tank - visible = { - NOT = { has_tech = basic_heavy_tank } + NOT = { + has_tech = basic_heavy_tank + } tag = SAD TIX = { has_tech = basic_heavy_tank @@ -437,29 +408,33 @@ sadkeyanhezuo_category = { fire_only_once = yes cost = 10 days_remove = 7 - remove_effect = { - set_technology = { basic_heavy_tank = 1 } + remove_effect = { + set_technology = { + basic_heavy_tank = 1 + } } ai_will_do = { factor = 100 } } - 41_heavy_tank = { icon = generic_tank - visible = { - NOT = { has_tech = improved_heavy_tank } + NOT = { + has_tech = improved_heavy_tank + } tag = SAD TIX = { - has_tech = improved_heavy_tank + has_tech = improved_heavy_tank } } fire_only_once = yes cost = 75 days_remove = 7 - remove_effect = { - set_technology = { improved_heavy_tank = 1 } + remove_effect = { + set_technology = { + improved_heavy_tank = 1 + } } ai_will_do = { factor = 100 @@ -467,40 +442,45 @@ sadkeyanhezuo_category = { } 43_heavy_tank = { icon = generic_tank - visible = { - NOT = { has_tech = advanced_heavy_tank } + NOT = { + has_tech = advanced_heavy_tank + } tag = SAD TIX = { - has_tech = advanced_heavy_tank + has_tech = advanced_heavy_tank } } fire_only_once = yes cost = 100 days_remove = 7 - remove_effect = { - set_technology = { advanced_heavy_tank = 1 } + remove_effect = { + set_technology = { + advanced_heavy_tank = 1 + } } ai_will_do = { factor = 100 } } - 39_medium_tank = { icon = generic_tank - visible = { - NOT = { has_tech = basic_medium_tank } + NOT = { + has_tech = basic_medium_tank + } tag = SAD TIX = { - has_tech = basic_medium_tank + has_tech = basic_medium_tank } } fire_only_once = yes cost = 50 days_remove = 7 - remove_effect = { - set_technology = { basic_medium_tank = 1 } + remove_effect = { + set_technology = { + basic_medium_tank = 1 + } } ai_will_do = { factor = 100 @@ -508,19 +488,22 @@ sadkeyanhezuo_category = { } 41_medium_tank = { icon = generic_tank - visible = { - NOT = { has_tech = improved_medium_tank } + NOT = { + has_tech = improved_medium_tank + } tag = SAD TIX = { - has_tech = improved_medium_tank + has_tech = improved_medium_tank } } fire_only_once = yes cost = 75 days_remove = 7 - remove_effect = { - set_technology = { improved_medium_tank = 1 } + remove_effect = { + set_technology = { + improved_medium_tank = 1 + } } ai_will_do = { factor = 100 @@ -528,19 +511,22 @@ sadkeyanhezuo_category = { } 43_medium_tank = { icon = generic_tank - visible = { - NOT = { has_tech = advanced_medium_tank } + NOT = { + has_tech = advanced_medium_tank + } tag = SAD TIX = { - has_tech = advanced_medium_tank + has_tech = advanced_medium_tank } } fire_only_once = yes cost = 100 days_remove = 7 - remove_effect = { - set_technology = { advanced_medium_tank = 1 } + remove_effect = { + set_technology = { + advanced_medium_tank = 1 + } } ai_will_do = { factor = 100 @@ -548,19 +534,22 @@ sadkeyanhezuo_category = { } 36_light_tank = { icon = generic_tank - visible = { - NOT = { has_tech = improved_light_tank } + NOT = { + has_tech = improved_light_tank + } tag = SAD TIX = { - has_tech = improved_light_tank + has_tech = improved_light_tank } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { improved_light_tank = 1 } + remove_effect = { + set_technology = { + improved_light_tank = 1 + } } ai_will_do = { factor = 100 @@ -568,19 +557,22 @@ sadkeyanhezuo_category = { } 41_light_tank = { icon = generic_tank - visible = { - NOT = { has_tech = advanced_light_tank } + NOT = { + has_tech = advanced_light_tank + } tag = SAD TIX = { - has_tech = advanced_light_tank + has_tech = advanced_light_tank } } fire_only_once = yes cost = 70 days_remove = 7 - remove_effect = { - set_technology = { advanced_light_tank = 1 } + remove_effect = { + set_technology = { + advanced_light_tank = 1 + } } ai_will_do = { factor = 100 @@ -588,19 +580,22 @@ sadkeyanhezuo_category = { } 36_zhandouji = { icon = generic_air - visible = { - NOT = { has_tech = fighter1 } + NOT = { + has_tech = fighter1 + } tag = TIX SAD = { - has_tech = fighter1 + has_tech = fighter1 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { fighter1 = 1 } + remove_effect = { + set_technology = { + fighter1 = 1 + } } ai_will_do = { factor = 100 @@ -608,19 +603,22 @@ sadkeyanhezuo_category = { } 40_zhandouji = { icon = generic_air - visible = { - NOT = { has_tech = fighter2 } + NOT = { + has_tech = fighter2 + } tag = TIX SAD = { - has_tech = fighter2 + has_tech = fighter2 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { fighter2 = 1 } + remove_effect = { + set_technology = { + fighter2 = 1 + } } ai_will_do = { factor = 100 @@ -628,40 +626,45 @@ sadkeyanhezuo_category = { } 44_zhandouji = { icon = generic_air - visible = { - NOT = { has_tech = fighter3 } + NOT = { + has_tech = fighter3 + } tag = TIX SAD = { - has_tech = fighter3 + has_tech = fighter3 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { fighter3 = 1 } + remove_effect = { + set_technology = { + fighter3 = 1 + } } ai_will_do = { factor = 100 } } - 36_zhiyuanji = { icon = generic_air - visible = { - NOT = { has_tech = CAS1 } + NOT = { + has_tech = CAS1 + } tag = TIX SAD = { - has_tech = CAS1 + has_tech = CAS1 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { CAS1 = 1 } + remove_effect = { + set_technology = { + CAS1 = 1 + } } ai_will_do = { factor = 100 @@ -669,19 +672,22 @@ sadkeyanhezuo_category = { } 40_zhiyuanji = { icon = generic_air - visible = { - NOT = { has_tech = CAS2 } + NOT = { + has_tech = CAS2 + } tag = TIX SAD = { - has_tech = CAS2 + has_tech = CAS2 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { CAS2 = 1 } + remove_effect = { + set_technology = { + CAS2 = 1 + } } ai_will_do = { factor = 100 @@ -689,19 +695,22 @@ sadkeyanhezuo_category = { } 44_zhiyuanji = { icon = generic_air - visible = { - NOT = { has_tech = CAS3 } + NOT = { + has_tech = CAS3 + } tag = TIX SAD = { - has_tech = CAS3 + has_tech = CAS3 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { CAS3 = 1 } + remove_effect = { + set_technology = { + CAS3 = 1 + } } ai_will_do = { factor = 100 @@ -709,19 +718,22 @@ sadkeyanhezuo_category = { } 36_haijunji = { icon = generic_air - visible = { - NOT = { has_tech = naval_bomber1 } + NOT = { + has_tech = naval_bomber1 + } tag = TIX SAD = { - has_tech = naval_bomber1 + has_tech = naval_bomber1 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { naval_bomber1 = 1 } + remove_effect = { + set_technology = { + naval_bomber1 = 1 + } } ai_will_do = { factor = 100 @@ -729,19 +741,22 @@ sadkeyanhezuo_category = { } 40_haijunji = { icon = generic_air - visible = { - NOT = { has_tech = naval_bomber2 } + NOT = { + has_tech = naval_bomber2 + } tag = TIX SAD = { - has_tech = naval_bomber2 + has_tech = naval_bomber2 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { naval_bomber2 = 1 } + remove_effect = { + set_technology = { + naval_bomber2 = 1 + } } ai_will_do = { factor = 100 @@ -749,19 +764,22 @@ sadkeyanhezuo_category = { } 44_haijunji = { icon = generic_air - visible = { - NOT = { has_tech = naval_bomber3 } + NOT = { + has_tech = naval_bomber3 + } tag = TIX SAD = { - has_tech = naval_bomber3 + has_tech = naval_bomber3 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { naval_bomber3 = 1 } + remove_effect = { + set_technology = { + naval_bomber3 = 1 + } } ai_will_do = { factor = 100 @@ -769,19 +787,22 @@ sadkeyanhezuo_category = { } 36_zhongzhanji = { icon = generic_air - visible = { - NOT = { has_tech = heavy_fighter1 } + NOT = { + has_tech = heavy_fighter1 + } tag = TIX SAD = { - has_tech = heavy_fighter1 + has_tech = heavy_fighter1 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { heavy_fighter1 = 1 } + remove_effect = { + set_technology = { + heavy_fighter1 = 1 + } } ai_will_do = { factor = 100 @@ -789,19 +810,22 @@ sadkeyanhezuo_category = { } 40_zhongzhanji = { icon = generic_air - visible = { - NOT = { has_tech = heavy_fighter2 } + NOT = { + has_tech = heavy_fighter2 + } tag = TIX SAD = { - has_tech = heavy_fighter2 + has_tech = heavy_fighter2 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { heavy_fighter2 = 1 } + remove_effect = { + set_technology = { + heavy_fighter2 = 1 + } } ai_will_do = { factor = 100 @@ -809,19 +833,22 @@ sadkeyanhezuo_category = { } 44_zhongzhanji = { icon = generic_air - visible = { - NOT = { has_tech = heavy_fighter3 } + NOT = { + has_tech = heavy_fighter3 + } tag = TIX SAD = { - has_tech = heavy_fighter3 + has_tech = heavy_fighter3 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { heavy_fighter3 = 1 } + remove_effect = { + set_technology = { + heavy_fighter3 = 1 + } } ai_will_do = { factor = 100 @@ -829,19 +856,22 @@ sadkeyanhezuo_category = { } 36_zhanshuhong = { icon = generic_air - visible = { - NOT = { has_tech = tactical_bomber1 } + NOT = { + has_tech = tactical_bomber1 + } tag = TIX SAD = { - has_tech = tactical_bomber1 + has_tech = tactical_bomber1 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { tactical_bomber1 = 1 } + remove_effect = { + set_technology = { + tactical_bomber1 = 1 + } } ai_will_do = { factor = 100 @@ -849,19 +879,22 @@ sadkeyanhezuo_category = { } 40_zhanshuhong = { icon = generic_air - visible = { - NOT = { has_tech = tactical_bomber2 } + NOT = { + has_tech = tactical_bomber2 + } tag = TIX SAD = { - has_tech = tactical_bomber2 + has_tech = tactical_bomber2 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { tactical_bomber2 = 1 } + remove_effect = { + set_technology = { + tactical_bomber2 = 1 + } } ai_will_do = { factor = 100 @@ -869,19 +902,22 @@ sadkeyanhezuo_category = { } 44_zhanshuhong = { icon = generic_air - visible = { - NOT = { has_tech = tactical_bomber3 } + NOT = { + has_tech = tactical_bomber3 + } tag = TIX SAD = { - has_tech = tactical_bomber3 + has_tech = tactical_bomber3 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { tactical_bomber3 = 1 } + remove_effect = { + set_technology = { + tactical_bomber3 = 1 + } } ai_will_do = { factor = 100 @@ -889,19 +925,22 @@ sadkeyanhezuo_category = { } 36_zhanluehong = { icon = generic_air - visible = { - NOT = { has_tech = strategic_bomber1 } + NOT = { + has_tech = strategic_bomber1 + } tag = TIX SAD = { - has_tech = strategic_bomber1 + has_tech = strategic_bomber1 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { strategic_bomber1 = 1 } + remove_effect = { + set_technology = { + strategic_bomber1 = 1 + } } ai_will_do = { factor = 100 @@ -909,19 +948,22 @@ sadkeyanhezuo_category = { } 40_zhanluehong = { icon = generic_air - visible = { - NOT = { has_tech = strategic_bomber2 } + NOT = { + has_tech = strategic_bomber2 + } tag = TIX SAD = { - has_tech = strategic_bomber2 + has_tech = strategic_bomber2 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { strategic_bomber2 = 1 } + remove_effect = { + set_technology = { + strategic_bomber2 = 1 + } } ai_will_do = { factor = 100 @@ -929,22 +971,25 @@ sadkeyanhezuo_category = { } 44_zhanluehong = { icon = generic_air - visible = { - NOT = { has_tech = strategic_bomber3 } + NOT = { + has_tech = strategic_bomber3 + } tag = TIX SAD = { - has_tech = strategic_bomber3 + has_tech = strategic_bomber3 } } fire_only_once = yes cost = 20 days_remove = 7 - remove_effect = { - set_technology = { strategic_bomber3 = 1 } + remove_effect = { + set_technology = { + strategic_bomber3 = 1 + } } ai_will_do = { factor = 100 } } -} \ No newline at end of file +} diff --git a/src/common/decisions/SIR_decisions.txt b/src/common/decisions/SIR_decisions.txt index 15e7980..535c785 100755 --- a/src/common/decisions/SIR_decisions.txt +++ b/src/common/decisions/SIR_decisions.txt @@ -1,18 +1,16 @@ #购买武器(1政治点=15的IC产能) 1军工满效率每天5IC产出 10把步枪(净生产量+三分之一) 1.42火炮(净生产量+五分之一) 2卡车(净生产量+四分之一) SIR_chuanbo_category = { - - SIR_sairenjiaochuanbo = { on_map_mode = map_and_decisions_view - priority = var:FROM.sir_fushi_ratio + priority = 100 icon = yujin target_trigger = { FROM = { always = yes } - } + } available = { - if = { + if = { limit = { FROM = { shijianniangguojia_trigger = yes @@ -20,14 +18,13 @@ SIR_chuanbo_category = { } set_temp_variable = { chuanjiao_cost_pp = 60 - } + } } else = { set_temp_variable = { chuanjiao_cost_pp = 30 } } - multiply_temp_variable = { chuanjiao_cost_pp = FROM.sir_fushi_state } @@ -50,39 +47,52 @@ SIR_chuanbo_category = { max = 2000 } } - #if = { - #limit = { - # check_variable = { FROM.sir_fushi_state } - #} + #limit = { + # check_variable = { FROM.sir_fushi_state } + #} #} FROM = { - - NOT = { has_war_with = ROOT } - NOT = { is_in_faction_with = ROOT } - NOT = { is_puppet_of = ROOT } - - + NOT = { + has_war_with = ROOT + } + NOT = { + is_in_faction_with = ROOT + } + NOT = { + is_puppet_of = ROOT + } } } cost = var:chuanjiao_cost_pp visible = { - FROM = { - - NOT = { has_war_with = ROOT } - NOT = { is_in_faction_with = ROOT } - NOT = { is_puppet_of = ROOT } - + NOT = { + has_war_with = ROOT + } + NOT = { + is_in_faction_with = ROOT + } + NOT = { + is_puppet_of = ROOT + } } #has_country_flag = show_SIR_jianlimimijidi } - remove_effect = { + remove_effect = { FROM = { - add_to_variable = { sir_fushi_state = 1 } - set_variable = { sir_fushi_ratio = sir_fushi_state } - divide_variable = { sir_fushi_ratio = num_core_states } - set_variable = { sir_fushi_ratio_show = sir_fushi_ratio} + add_to_variable = { + sir_fushi_state = 1 + } + set_variable = { + sir_fushi_ratio = sir_fushi_state + } + divide_variable = { + sir_fushi_ratio = num_core_states + } + set_variable = { + sir_fushi_ratio_show = sir_fushi_ratio + } multiply_variable = { sir_fushi_ratio_show = 100 } @@ -92,73 +102,72 @@ SIR_chuanbo_category = { sir_fushi_ratio > 0.9 } } - ROOT = { puppet = FROM } + ROOT = { + puppet = FROM + } } - } - } } } + siren_category = { - sir_xiunvdediyu = { - available = { + sir_xiunvdediyu = { + available = { always = no } - activation = { - has_country_flag = SIR_haishangxianjing_get + activation = { + has_country_flag = SIR_haishangxianjing_get } - is_good = yes - selectable_mission = no + is_good = yes + selectable_mission = no days_mission_timeout = 30 - fixed_random_seed = no - timeout_effect = { + fixed_random_seed = no + timeout_effect = { custom_effect_tooltip = sir_xiunvdediyu_tt add_manpower = 3000 hidden_effect = { random_list = { - 10 = { country_event = SIR_event.2 } - 10 = { country_event = SIR_event.3 } - 10 = { country_event = SIR_event.4 } - 10 = { country_event = SIR_event.5 } - 10 = { country_event = SIR_event.6 } + 10 = { + country_event = SIR_event.2 + } + 10 = { + country_event = SIR_event.3 + } + 10 = { + country_event = SIR_event.4 + } + 10 = { + country_event = SIR_event.5 + } + 10 = { + country_event = SIR_event.6 + } } - } + } } - complete_effect = { - + complete_effect = { } } } - SIR_get_core = { - SIR_core_1 = { - name = SIR_core_1 - icon = generic_nationalism - allowed = { original_tag = SIR } - available = { FROM = { compliance > 40 } has_global_flag = MOD_azurlane_tianjiangjianniang } - state_target = yes - on_map_mode = map_and_decisions_view - #targets = { } - target_array = controlled_states - target_trigger = { has_completed_focus = SIR_chuanjiaohuodong FROM = { @@ -168,32 +177,23 @@ SIR_get_core = { compliance > 40 } } - cost = 50 - - days_remove = 30 - modifier = { political_power_gain = -0.05 } - visible = { tag = SIR has_completed_focus = SIR_chuanjiaohuodong always = yes } - complete_effect = { - } - remove_effect = { FROM = { add_core_of = ROOT } } - ai_will_do = { factor = 1000 } @@ -217,7 +217,9 @@ SIR_get_core = { } } complete_effect = { - country_event = { id = SIR_event.11 } + country_event = { + id = SIR_event.11 + } } ai_will_do = { factor = 100 @@ -231,17 +233,23 @@ SIR_get_core = { has_full_control_of_state = 507 has_full_control_of_state = 506 has_global_flag = MOD_azurlane_tianjiangjianniang - or = { + OR = { has_war_with = BLI - BLI = { is_puppet_of = SIR } - not = { country_exists = BLI } + BLI = { + is_puppet_of = SIR + } + NOT = { + country_exists = BLI + } } } visible = { has_global_flag = MOD_azurlane_tianjiangjianniang } complete_effect = { - country_event = { id = SIR_event.10 } + country_event = { + id = SIR_event.10 + } } fire_only_once = yes ai_will_do = { @@ -259,11 +267,13 @@ SIR_get_core = { has_global_flag = MOD_azurlane_tianjiangjianniang } complete_effect = { - country_event = { id = SIR_event.12 } + country_event = { + id = SIR_event.12 + } } fire_only_once = yes ai_will_do = { factor = 100 } } -} \ No newline at end of file +} diff --git a/src/common/decisions/SOV.txt b/src/common/decisions/SOV.txt index ce94e88..ba2bae6 100755 --- a/src/common/decisions/SOV.txt +++ b/src/common/decisions/SOV.txt @@ -2289,7 +2289,7 @@ SOV_propaganda_campaigns = { available = { SOV_propaganda_poster_slot_available = yes - not = { has_idea = BFL_swjq } + NOT = { has_idea = BFL_swjq } surrender_progress < 0.15 } @@ -16914,7 +16914,7 @@ SOV_polish_territory = { OR = { any_country_with_core = { - not = { tag = POL } + NOT = { tag = POL } } state = 97 } diff --git a/src/common/decisions/USA.txt b/src/common/decisions/USA.txt index a72ab98..e92fe17 100755 --- a/src/common/decisions/USA.txt +++ b/src/common/decisions/USA.txt @@ -1,168 +1,192 @@ - USA_aid_britain = { USA_establish_personal_communication_with_former_naval_person = { - icon = generic_political_discourse - allowed = { original_tag = USA } - available = { - has_country_leader = { ruling_only = yes character = USA_franklin_delano_roosevelt } + has_country_leader = { + ruling_only = yes + character = USA_franklin_delano_roosevelt + } has_country_flag = blood_toil_tears_sweat_speech - ENG = { has_defensive_war = yes } + ENG = { + has_defensive_war = yes + } } - cost = 50 fire_only_once = yes ai_will_do = { factor = 1 modifier = { factor = 10 - has_opinion = { target = ENG value > 60 } + has_opinion = { + target = ENG + value > 60 + } } modifier = { factor = 10 - has_opinion = { target = ENG value > 99 } + has_opinion = { + target = ENG + value > 99 + } } } - visible = { has_war = no } - complete_effect = { add_war_support = 0.05 - add_opinion_modifier = { target = ENG modifier = USA_special_relationship } - reverse_add_opinion_modifier = { target = ENG modifier = USA_special_relationship } + add_opinion_modifier = { + target = ENG + modifier = USA_special_relationship + } + reverse_add_opinion_modifier = { + target = ENG + modifier = USA_special_relationship + } } } - USA_battle_domestic_isolationism = { - icon = generic_civil_support - allowed = { original_tag = USA } - available = { - has_country_leader = { ruling_only = yes character = USA_franklin_delano_roosevelt } + has_country_leader = { + ruling_only = yes + character = USA_franklin_delano_roosevelt + } has_country_flag = fight_on_the_beaches_speech - ENG = { has_defensive_war = yes } + ENG = { + has_defensive_war = yes + } } - cost = 50 fire_only_once = yes ai_will_do = { factor = 1 modifier = { factor = 10 - has_opinion = { target = ENG value > 60 } + has_opinion = { + target = ENG + value > 60 + } } modifier = { factor = 10 - has_opinion = { target = ENG value > 99 } + has_opinion = { + target = ENG + value > 99 + } } } - modifier = { - war_support_weekly = 0.002 + war_support_weekly = 0.002 } - days_remove = 180 - visible = { has_war = no } - complete_effect = { add_war_support = 0.05 } } - USA_emergency_arms_deliveries = { - icon = generic_prepare_civil_war - allowed = { original_tag = USA } - available = { - has_country_leader = { ruling_only = yes character = USA_franklin_delano_roosevelt } + has_country_leader = { + ruling_only = yes + character = USA_franklin_delano_roosevelt + } has_country_flag = this_was_their_finest_hour_speech - ENG = { has_defensive_war = yes } + ENG = { + has_defensive_war = yes + } } - cost = 50 fire_only_once = yes ai_will_do = { factor = 1 modifier = { factor = 10 - has_opinion = { target = ENG value > 60 } + has_opinion = { + target = ENG + value > 60 + } } modifier = { factor = 10 - has_opinion = { target = ENG value > 99 } + has_opinion = { + target = ENG + value > 99 + } } } - modifier = { - war_support_weekly = 0.005 + war_support_weekly = 0.005 } - days_remove = 30 - visible = { has_war = no } - complete_effect = { ENG = { - add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 20000 producer = USA } - add_equipment_to_stockpile = { type = artillery_equipment_1 amount = 300 producer = USA } - add_equipment_to_stockpile = { type = support_equipment_1 amount = 300 producer = USA } - country_event = { id = wtt_britain.30 } + add_equipment_to_stockpile = { + type = infantry_equipment_0 + amount = 20000 + producer = USA + } + add_equipment_to_stockpile = { + type = artillery_equipment_1 + amount = 300 + producer = USA + } + add_equipment_to_stockpile = { + type = support_equipment_1 + amount = 300 + producer = USA + } + country_event = { + id = wtt_britain.30 + } } } } - USA_arsenal_of_democracy_decision = { - icon = generic_industry - allowed = { original_tag = USA } - available = { - has_country_leader = { ruling_only = yes character = USA_franklin_delano_roosevelt } + has_country_leader = { + ruling_only = yes + character = USA_franklin_delano_roosevelt + } has_country_flag = mers_el_kebir_raid - ENG = { has_defensive_war = yes } + ENG = { + has_defensive_war = yes + } } - cost = 50 fire_only_once = yes ai_will_do = { factor = 10 } - visible = { has_war = no } - modifier = { - war_support_weekly = 0.001 + war_support_weekly = 0.001 industrial_capacity_factory = 0.02 industrial_capacity_dockyard = 0.02 consumer_goods_factor = -0.05 } - days_remove = 360 - complete_effect = { } } @@ -170,13 +194,10 @@ USA_aid_britain = { foreign_support = { USA_support_the_anti_fascist_war = { - icon = generic_industry - allowed = { original_tag = USA } - available = { NOT = { has_global_flag = USA_support_the_anti_fascist_war_flag @@ -186,24 +207,28 @@ foreign_support = { has_war_with = JAP } } - - targets = { CHI PRC GXC YUN SHX XSM SIK } + targets = { + CHI + PRC + GXC + YUN + SHX + XSM + SIK + } targets_dynamic = yes - target_root_trigger = { OR = { has_completed_focus = USA_limited_intervention has_completed_focus = USA_lend_lease_act } } - target_trigger = { FROM = { has_completed_focus = CHI_mission_to_the_us has_war_with = JAP } } - visible = { has_government = democratic FROM = { @@ -211,7 +236,6 @@ foreign_support = { has_war_with = JAP } } - cost = 25 ai_will_do = { factor = 50 @@ -224,64 +248,67 @@ foreign_support = { has_defensive_war = yes } } - modifier = { factor = 0.5 has_war_support > 0.6 } - modifier = { factor = 2 has_war_with = JAP } } - fire_only_once = no - modifier = { - civilian_factory_use = 5 + civilian_factory_use = 5 } - days_remove = 180 - complete_effect = { FROM = { - add_offsite_building = { type = arms_factory level = 3 } + add_offsite_building = { + type = arms_factory + level = 3 + } set_global_flag = USA_support_the_anti_fascist_war_flag } } - remove_effect = { add_war_support = 0.05 FROM = { - add_offsite_building = { type = arms_factory level = -3 } + add_offsite_building = { + type = arms_factory + level = -3 + } hidden_effect = { clr_global_flag = USA_support_the_anti_fascist_war_flag } } } } - USA_guns_for_the_anti_fascist_war = { - icon = generic_prepare_civil_war - allowed = { original_tag = USA } - available = { - has_equipment = { infantry_equipment > 999 } + has_equipment = { + infantry_equipment > 999 + } FROM = { has_completed_focus = CHI_mission_to_the_us has_idea = CHI_soong_mei_ling has_war_with = JAP } } - - targets = { CHI PRC GXC YUN SHX XSM SIK } + targets = { + CHI + PRC + GXC + YUN + SHX + XSM + SIK + } targets_dynamic = yes - target_trigger = { FROM = { has_completed_focus = CHI_mission_to_the_us @@ -289,7 +316,6 @@ foreign_support = { has_war_with = JAP } } - visible = { has_government = democratic FROM = { @@ -298,7 +324,6 @@ foreign_support = { has_war_with = JAP } } - cost = 25 ai_will_do = { factor = 25 @@ -311,22 +336,17 @@ foreign_support = { has_defensive_war = yes } } - modifier = { factor = 0.5 has_war_support < 0.6 } - modifier = { factor = 2 has_war_with = JAP } } - - fire_only_once = no - + fire_only_once = no days_re_enable = 180 - complete_effect = { ROOT = { send_equipment = { @@ -339,6 +359,7 @@ foreign_support = { } } } + USA_foreign_support = { USA_invite_donations_FROM = { icon = ger_mefo_bills @@ -368,7 +389,6 @@ USA_foreign_support = { } } } - USA_smuggle_weapons_FROM = { icon = generic_prepare_civil_war available = { @@ -377,7 +397,6 @@ USA_foreign_support = { visible = { has_completed_focus = USA_invite_foreign_support has_war = no - } target_trigger = { FROM = { @@ -414,7 +433,9 @@ USA_foreign_support = { exists = yes has_war = no has_government = fascism - not = { has_country_flag = USA_training_camps_approved } + NOT = { + has_country_flag = USA_training_camps_approved + } has_country_flag = USA_foreign_support_donations_approved } } @@ -424,7 +445,7 @@ USA_foreign_support = { } days_re_enable = 45 complete_effect = { - FROM = { + FROM = { country_event = mtg_usa_foreign_support.9 } } @@ -445,7 +466,9 @@ USA_foreign_support = { has_war = no has_government = fascism has_tech = fighter1 - not = { has_country_flag = usa_pilot_training } + NOT = { + has_country_flag = usa_pilot_training + } has_country_flag = USA_foreign_support_donations_approved } } @@ -491,6 +514,7 @@ USA_foreign_support = { } } } + economy_decisions = { USA_communal_domain = { icon = generic_operation @@ -512,7 +536,6 @@ economy_decisions = { factor = 1 } days_re_enable = 90 - complete_effect = { random_owned_controlled_state = { limit = { @@ -530,47 +553,47 @@ economy_decisions = { foreign_politics = { USA_guns_for_the_anti_bolshevist_war = { - icon = generic_prepare_civil_war - allowed = { original_tag = USA } - available = { OR = { - not = { has_government = SOV } - has_war_with = SOV #commie on commie violence - } - has_equipment = { infantry_equipment > 999 } + NOT = { + has_government = SOV + } + has_war_with = SOV #commie on commie violence + } + has_equipment = { + infantry_equipment > 999 + } FROM = { has_war_with = SOV - not = { + NOT = { has_war_with = ROOT } } } - target_root_trigger = { has_completed_focus = USA_anti_bolshevist_aid } - target_trigger = { FROM = { - not = { has_war_with = ROOT } + NOT = { + has_war_with = ROOT + } has_war_with = SOV } } - visible = { has_completed_focus = USA_anti_bolshevist_aid - FROM = { has_war_with = SOV } - SOV = { has_civil_war = no } + SOV = { + has_civil_war = no + } } - cost = 25 ai_will_do = { factor = 25 @@ -581,17 +604,13 @@ foreign_politics = { factor = 0.5 has_war_support < 0.6 } - modifier = { factor = 2 has_war_with = SOV } } - - fire_only_once = no - + fire_only_once = no days_re_enable = 180 - complete_effect = { ROOT = { send_equipment = { @@ -604,13 +623,12 @@ foreign_politics = { } } USA_form_defensive_alliance_north_american_dominion = { - icon = generic - available = { - not = { has_global_flag = mtg_usa_north_american_dominion_refused_faction } + NOT = { + has_global_flag = mtg_usa_north_american_dominion_refused_faction + } } - cost = 25 fire_only_once = yes ai_will_do = { @@ -620,13 +638,13 @@ foreign_politics = { factor = 20 } } - visible = { has_country_flag = north_american_dominion_refused is_in_faction = no - not = { has_global_flag = mtg_usa_north_american_dominion_refused_faction } + NOT = { + has_global_flag = mtg_usa_north_american_dominion_refused_faction + } } - complete_effect = { set_global_flag = mtg_usa_north_american_dominion_refused_faction set_rule = { @@ -639,13 +657,10 @@ foreign_politics = { } } USA_join_defensive_alliance_north_american_dominion = { - icon = generic - available = { has_global_flag = mtg_usa_north_american_dominion_refused_faction } - cost = 25 fire_only_once = yes ai_will_do = { @@ -655,12 +670,10 @@ foreign_politics = { factor = 20 } } - visible = { has_country_flag = north_american_dominion_refused is_in_faction = no } - complete_effect = { random_other_country = { limit = { @@ -690,12 +703,14 @@ foreign_politics = { factor = 0 } complete_effect = { - annex_country = { target = SOV transfer_troops = yes} - - + annex_country = { + target = SOV + transfer_troops = yes + } } } } + USA_war_plans = { USA_execute_war_plan_green = { icon = generic_operation @@ -848,7 +863,6 @@ USA_war_plans = { has_war_with = GXC has_war_with = XSM has_war_with = SIK - } } visible = { @@ -941,7 +955,6 @@ USA_war_plans = { amphibious_invasion = 0.1 invasion_preparation = -0.5 } - } USA_execute_war_plan_gold = { icon = generic_operation @@ -1001,6 +1014,7 @@ USA_war_plans = { } } } + USA_intervention_mandate = { USA_request_mandate_against_FROM = { available = { @@ -1024,15 +1038,19 @@ USA_intervention_mandate = { else = { congress_high_support_trigger = yes } - not = { has_war_with = FROM } + NOT = { + has_war_with = FROM + } } visible = { - not = { has_wargoal_against = FROM } + NOT = { + has_wargoal_against = FROM + } } target_trigger = { FROM = { exists = yes - not = { + NOT = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT @@ -1054,8 +1072,12 @@ USA_intervention_mandate = { } modifier = { OR = { - GER = { has_completed_focus = GER_danzig_or_war } - JAP = { has_completed_focus = JAP_intervene_in_china } + GER = { + has_completed_focus = GER_danzig_or_war + } + JAP = { + has_completed_focus = JAP_intervene_in_china + } } factor = 10 } @@ -1068,15 +1090,11 @@ USA_intervention_mandate = { } } USA_prepare_intervention_in_europe_against_FROM = { - icon = generic_prepare_civil_war - available = { - } - visible = { - not = { + NOT = { has_war_with = FROM } has_completed_focus = USA_focus_on_europe @@ -1088,10 +1106,11 @@ USA_intervention_mandate = { is_on_continent = europe } has_added_tension_amount > 10 - not = { has_government = democratic } + NOT = { + has_government = democratic + } } } - cost = 75 days_remove = 90 complete_effect = { @@ -1105,7 +1124,9 @@ USA_intervention_mandate = { if = { limit = { FROM = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } FROM = { @@ -1129,20 +1150,15 @@ USA_intervention_mandate = { } } USA_prepare_intervention_in_asia_against_FROM = { - icon = generic_prepare_civil_war - available = { - } - visible = { - not = { + NOT = { has_war_with = FROM } has_completed_focus = USA_focus_on_asia } - target_trigger = { FROM = { is_major = yes @@ -1150,7 +1166,9 @@ USA_intervention_mandate = { is_on_continent = asia } has_added_tension_amount > 10 - not = { has_government = democratic } + NOT = { + has_government = democratic + } } } cost = 75 @@ -1166,7 +1184,9 @@ USA_intervention_mandate = { if = { limit = { FROM = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } FROM = { @@ -1192,12 +1212,11 @@ USA_intervention_mandate = { USA_protest_anschluss = { icon = eng_propaganda_campaigns available = { - } visible = { has_country_flag = USA_anschluss_window has_completed_focus = USA_focus_on_europe - not = { + NOT = { has_war_with = GER } } @@ -1212,11 +1231,15 @@ USA_intervention_mandate = { } complete_effect = { add_war_support = 0.05 - GER = { country_event = mtg_usa_diplomatic_protest.1 } + GER = { + country_event = mtg_usa_diplomatic_protest.1 + } if = { limit = { GER = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } GER = { @@ -1227,7 +1250,7 @@ USA_intervention_mandate = { } } else = { - GER = { + GER = { modify_country_flag = { flag = USA_intervention_strikes value = 1 @@ -1239,12 +1262,11 @@ USA_intervention_mandate = { USA_protest_munich = { icon = eng_propaganda_campaigns available = { - } visible = { has_country_flag = USA_munich_window has_completed_focus = USA_focus_on_europe - not = { + NOT = { has_war_with = GER } } @@ -1259,11 +1281,15 @@ USA_intervention_mandate = { } complete_effect = { add_war_support = 0.05 - GER = { country_event = mtg_usa_diplomatic_protest.1 } + GER = { + country_event = mtg_usa_diplomatic_protest.1 + } if = { limit = { GER = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } GER = { @@ -1286,12 +1312,11 @@ USA_intervention_mandate = { USA_protest_molotov_ribbentrop = { icon = eng_propaganda_campaigns available = { - } visible = { has_country_flag = USA_MR_window has_completed_focus = USA_focus_on_europe - not = { + NOT = { has_war_with = GER } } @@ -1306,11 +1331,15 @@ USA_intervention_mandate = { } complete_effect = { add_war_support = 0.05 - GER = { country_event = mtg_usa_diplomatic_protest.1 } + GER = { + country_event = mtg_usa_diplomatic_protest.1 + } if = { limit = { GER = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } GER = { @@ -1331,7 +1360,9 @@ USA_intervention_mandate = { if = { limit = { SOV = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } SOV = { @@ -1354,12 +1385,11 @@ USA_intervention_mandate = { USA_protest_baltic_annexation = { icon = eng_propaganda_campaigns available = { - } visible = { has_country_flag = USA_baltic_window has_completed_focus = USA_focus_on_europe - not = { + NOT = { has_war_with = SOV } } @@ -1380,11 +1410,15 @@ USA_intervention_mandate = { } complete_effect = { add_war_support = 0.05 - SOV = { country_event = mtg_usa_diplomatic_protest.1 } + SOV = { + country_event = mtg_usa_diplomatic_protest.1 + } if = { limit = { SOV = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } SOV = { @@ -1407,12 +1441,11 @@ USA_intervention_mandate = { USA_protest_army_of_aggression = { icon = eng_propaganda_campaigns available = { - } visible = { has_country_flag = USA_army_of_aggression_window has_completed_focus = USA_focus_on_europe - not = { + NOT = { has_war_with = FRA } } @@ -1433,11 +1466,15 @@ USA_intervention_mandate = { } complete_effect = { add_war_support = 0.05 - FRA = { country_event = mtg_usa_diplomatic_protest.1 } + FRA = { + country_event = mtg_usa_diplomatic_protest.1 + } if = { limit = { FRA = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } FRA = { @@ -1460,12 +1497,11 @@ USA_intervention_mandate = { USA_protest_albania = { icon = eng_propaganda_campaigns available = { - } visible = { has_country_flag = USA_albania_window has_completed_focus = USA_focus_on_europe - not = { + NOT = { has_war_with = ITA } } @@ -1486,11 +1522,15 @@ USA_intervention_mandate = { } complete_effect = { add_war_support = 0.05 - ITA = { country_event = mtg_usa_diplomatic_protest.1 } + ITA = { + country_event = mtg_usa_diplomatic_protest.1 + } if = { limit = { ITA = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } ITA = { @@ -1513,12 +1553,11 @@ USA_intervention_mandate = { USA_protest_yugoslavia = { icon = eng_propaganda_campaigns available = { - } visible = { has_country_flag = USA_yugoslavia_window has_completed_focus = USA_focus_on_europe - not = { + NOT = { has_war_with = ITA } } @@ -1539,11 +1578,15 @@ USA_intervention_mandate = { } complete_effect = { add_war_support = 0.05 - ITA = { country_event = mtg_usa_diplomatic_protest.1 } + ITA = { + country_event = mtg_usa_diplomatic_protest.1 + } if = { limit = { ITA = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } ITA = { @@ -1566,7 +1609,6 @@ USA_intervention_mandate = { USA_protest_china = { icon = eng_propaganda_campaigns available = { - } visible = { OR = { @@ -1586,7 +1628,7 @@ USA_intervention_mandate = { } } has_completed_focus = USA_focus_on_asia - not = { + NOT = { has_war_with = JAP } } @@ -1601,11 +1643,15 @@ USA_intervention_mandate = { } complete_effect = { add_war_support = 0.05 - JAP = { country_event = mtg_usa_diplomatic_protest.1 } + JAP = { + country_event = mtg_usa_diplomatic_protest.1 + } if = { limit = { JAP = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } JAP = { @@ -1628,12 +1674,11 @@ USA_intervention_mandate = { USA_protest_indochina = { icon = eng_propaganda_campaigns available = { - } visible = { has_country_flag = USA_indochina_window has_completed_focus = USA_focus_on_asia - not = { + NOT = { has_war_with = JAP } } @@ -1648,11 +1693,15 @@ USA_intervention_mandate = { } complete_effect = { add_war_support = 0.05 - JAP = { country_event = mtg_usa_diplomatic_protest.1 } + JAP = { + country_event = mtg_usa_diplomatic_protest.1 + } if = { limit = { JAP = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } JAP = { @@ -1675,15 +1724,16 @@ USA_intervention_mandate = { USA_protest_panay = { icon = eng_propaganda_campaigns available = { - } visible = { has_country_flag = USA_panay_window has_completed_focus = USA_focus_on_asia - not = { + NOT = { has_war_with = JAP } - not = { has_wargoal_against = JAP } + NOT = { + has_wargoal_against = JAP + } } fire_only_once = yes cost = 25 @@ -1696,11 +1746,15 @@ USA_intervention_mandate = { } complete_effect = { add_war_support = 0.05 - JAP = { country_event = mtg_usa_diplomatic_protest.1 } + JAP = { + country_event = mtg_usa_diplomatic_protest.1 + } if = { limit = { JAP = { - not = { has_country_flag = USA_intervention_strikes } + NOT = { + has_country_flag = USA_intervention_strikes + } } } JAP = { @@ -1741,18 +1795,26 @@ USA_intervention_mandate = { } visible = { has_completed_focus = USA_reinforce_monroe_doctrine - not = { has_wargoal_against = FROM } - not = { has_war_with = FROM } + NOT = { + has_wargoal_against = FROM + } + NOT = { + has_war_with = FROM + } FROM = { exists = yes - not = { is_subject_of = ROOT } + NOT = { + is_subject_of = ROOT + } } } target_trigger = { FROM = { exists = yes - not = { has_war_with = ROOT } - NOT = { + NOT = { + has_war_with = ROOT + } + NOT = { has_government = ROOT is_subject_of = ROOT } @@ -1766,9 +1828,11 @@ USA_intervention_mandate = { has_civil_war = yes AND = { is_subject = yes - NOT = { tag = CAN } + NOT = { + tag = CAN + } OVERLORD = { - NOT = { + NOT = { capital_scope = { OR = { is_on_continent = north_america @@ -1819,9 +1883,13 @@ USA_intervention_mandate = { } visible = { has_completed_focus = USA_reinforce_monroe_doctrine - NOT = { has_wargoal_against = FROM } + NOT = { + has_wargoal_against = FROM + } FROM = { - NOT = { has_country_flag = USA_monroe_backed_down } #set when US player backs down in reply event + NOT = { + has_country_flag = USA_monroe_backed_down + } #set when US player backs down in reply event any_owned_state = { is_controlled_by = PREV OR = { @@ -1829,17 +1897,17 @@ USA_intervention_mandate = { is_on_continent = south_america } } - } + } } target_trigger = { FROM = { - NOT = { + NOT = { OR = { has_government = ROOT has_government = neutrality } } - NOT = { + NOT = { capital_scope = { OR = { is_on_continent = north_america @@ -1865,12 +1933,13 @@ USA_intervention_mandate = { } } complete_effect = { - FROM = { - country_event = mtg_usa_diplomatic_protest.2 + FROM = { + country_event = mtg_usa_diplomatic_protest.2 } } } } + USA_decolonisation = { USA_freedom_for_Papua = { available = { @@ -1889,7 +1958,7 @@ USA_decolonisation = { remove_effect = { PNG = { transfer_state = 523 - transfer_state = 737 + transfer_state = 737 } } } @@ -1915,7 +1984,9 @@ USA_decolonisation = { remove_effect = { if = { limit = { - not = { country_exists = INS } + NOT = { + country_exists = INS + } } every_state = { limit = { diff --git a/src/common/decisions/YUW_daxuan_decisions.txt b/src/common/decisions/YUW_daxuan_decisions.txt index bf08d54..2949886 100755 --- a/src/common/decisions/YUW_daxuan_decisions.txt +++ b/src/common/decisions/YUW_daxuan_decisions.txt @@ -1,48 +1,67 @@ - YUWmr = { - YUWmrsj = { +YUWmr = { + YUWmrsj = { allowed = { - tag = YUW + tag = YUW } - activation = { + activation = { has_completed_focus = YUW_shijieshengzhan } - available = {not = { country_exists = TIX country_exists = SAD country_exists = CHY country_exists = BFL country_exists = DOH country_exists = HUJ country_exists = BYG country_exists = BLI}} + available = { + NOT = { + country_exists = TIX + country_exists = SAD + country_exists = CHY + country_exists = BFL + country_exists = DOH + country_exists = HUJ + country_exists = BYG + country_exists = BLI + } + } days_mission_timeout = 730 is_good = no fire_only_once = yes timeout_effect = { - country_event = { id = YUW_event.18} + country_event = { + id = YUW_event.18 + } } - } - } - - - YUWdx = { - YUWdxsj = { +} + +YUWdx = { + YUWdxsj = { allowed = { - tag = YUW + tag = YUW } - activation = { + activation = { has_completed_focus = YUW_daxuan } - available = {always = no} + available = { + always = no + } days_mission_timeout = 180 is_good = no fire_only_once = yes timeout_effect = { - country_event = { id = YUW_event.6} - } + country_event = { + id = YUW_event.6 + } } + } YUWdxmzp1 = { allowed = { - tag = YUW + tag = YUW } activation = { has_idea = YUW_fdp has_completed_focus = YUW_daxuan } - available = {not = { has_idea = YUW_fdp }} + available = { + NOT = { + has_idea = YUW_fdp + } + } days_mission_timeout = 35 is_good = no fire_only_once = yes @@ -50,49 +69,67 @@ add_stability = -0.03 activate_mission = YUWdxmzp2 } - } + } YUWdxmzp2 = { allowed = { - tag = YUW + tag = YUW } activation = { always = no } - available = {not = { has_idea = YUW_fdp }} + available = { + NOT = { + has_idea = YUW_fdp + } + } days_mission_timeout = 35 is_good = no fire_only_once = yes timeout_effect = { add_stability = -0.04 activate_mission = YUWdxmzp3 - add_days_mission_timeout = { mission = YUWdxsj days = -35 } - } + add_days_mission_timeout = { + mission = YUWdxsj + days = -35 + } } + } YUWdxmzp3 = { allowed = { - tag = YUW + tag = YUW } activation = { always = no } - available = {not = { has_idea = YUW_fdp }} + available = { + NOT = { + has_idea = YUW_fdp + } + } days_mission_timeout = 70 is_good = no fire_only_once = yes timeout_effect = { add_stability = -0.05 activate_mission = YUWdxmzp4 - add_days_mission_timeout = { mission = YUWdxsj days = 35 } - } + add_days_mission_timeout = { + mission = YUWdxsj + days = 35 + } } + } YUWdxmzp4 = { allowed = { - tag = YUW + tag = YUW } activation = { always = no } - available = {not = { has_idea = YUW_fdp }} + available = { + NOT = { + has_idea = YUW_fdp + } + } days_mission_timeout = 35 is_good = no fire_only_once = yes @@ -100,49 +137,67 @@ add_stability = -0.06 activate_mission = YUWdxmzp5 } - } + } YUWdxmzp5 = { allowed = { - tag = YUW + tag = YUW } activation = { always = no } - available = {not = { has_idea = YUW_fdp }} + available = { + NOT = { + has_idea = YUW_fdp + } + } days_mission_timeout = 35 is_good = no fire_only_once = yes timeout_effect = { add_stability = -0.07 activate_mission = YUWdxmzp6 - add_days_mission_timeout = { mission = YUWdxsj days = -35 } - } + add_days_mission_timeout = { + mission = YUWdxsj + days = -35 + } } + } YUWdxmzp6 = { allowed = { - tag = YUW + tag = YUW } activation = { always = no } - available = {not = { has_idea = YUW_fdp }} + available = { + NOT = { + has_idea = YUW_fdp + } + } days_mission_timeout = 35 is_good = no fire_only_once = yes timeout_effect = { - add_stability = -0.08 - add_days_mission_timeout = { mission = YUWdxsj days = -70 } - } + add_stability = -0.08 + add_days_mission_timeout = { + mission = YUWdxsj + days = -70 + } } + } YUWdxfdp1 = { allowed = { - tag = YUW + tag = YUW } activation = { has_idea = YUW_mzp has_completed_focus = YUW_daxuan } - available = {not = { has_idea = YUW_mzp }} + available = { + NOT = { + has_idea = YUW_mzp + } + } days_mission_timeout = 35 is_good = no fire_only_once = yes @@ -151,15 +206,19 @@ add_stability = -0.03 activate_mission = YUWdxfdp2 } - } + } YUWdxfdp2 = { allowed = { - tag = YUW + tag = YUW } activation = { always = no } - available = {not = { has_idea = YUW_mzp }} + available = { + NOT = { + has_idea = YUW_mzp + } + } days_mission_timeout = 35 is_good = no fire_only_once = yes @@ -167,17 +226,24 @@ timeout_effect = { add_stability = -0.04 activate_mission = YUWdxfdp3 - add_days_mission_timeout = { mission = YUWdxsj days = 35 } - } + add_days_mission_timeout = { + mission = YUWdxsj + days = 35 + } } + } YUWdxfdp3 = { allowed = { - tag = YUW + tag = YUW } activation = { always = no } - available = {not = { has_idea = YUW_mzp }} + available = { + NOT = { + has_idea = YUW_mzp + } + } days_mission_timeout = 70 is_good = no fire_only_once = yes @@ -185,17 +251,24 @@ timeout_effect = { add_stability = -0.05 activate_mission = YUWdxfdp4 - add_days_mission_timeout = { mission = YUWdxsj days = 70 } - } + add_days_mission_timeout = { + mission = YUWdxsj + days = 70 + } } + } YUWdxfdp4 = { allowed = { - tag = YUW + tag = YUW } activation = { always = no } - available = {not = { has_idea = YUW_mzp }} + available = { + NOT = { + has_idea = YUW_mzp + } + } days_mission_timeout = 35 is_good = no fire_only_once = yes @@ -204,15 +277,19 @@ add_stability = -0.06 activate_mission = YUWdxfdp5 } - } + } YUWdxfdp5 = { allowed = { - tag = YUW + tag = YUW } activation = { always = no } - available = {not = { has_idea = YUW_mzp }} + available = { + NOT = { + has_idea = YUW_mzp + } + } days_mission_timeout = 35 is_good = no fire_only_once = yes @@ -220,254 +297,412 @@ timeout_effect = { add_stability = -0.07 activate_mission = YUWdxfdp6 - add_days_mission_timeout = { mission = YUWdxsj days = 35 } - } + add_days_mission_timeout = { + mission = YUWdxsj + days = 35 + } } + } YUWdxfdp6 = { allowed = { - tag = YUW + tag = YUW } activation = { always = no } - available = {not = { has_idea = YUW_mzp } } + available = { + NOT = { + has_idea = YUW_mzp + } + } days_mission_timeout = 35 is_good = no fire_only_once = yes icon = ger_reichskommissariats timeout_effect = { add_stability = -0.08 - add_days_mission_timeout = { mission = YUWdxsj days = 35 } - } + add_days_mission_timeout = { + mission = YUWdxsj + days = 35 + } } + } YUWdxfdp11 = { visible = { has_idea = YUW_mzp - } available = { - } cost = 10 days_remove = 5 fire_only_once = yes remove_effect = { hidden_effect = { - add_days_mission_timeout = { mission = YUWdxfdp1 days = 10 } - add_days_mission_timeout = { mission = YUWdxfdp2 days = 10 } - add_days_mission_timeout = { mission = YUWdxfdp3 days = 10 } - add_days_mission_timeout = { mission = YUWdxfdp4 days = 10 } - add_days_mission_timeout = { mission = YUWdxfdp5 days = 10 } - add_days_mission_timeout = { mission = YUWdxfdp6 days = 10 } - } - custom_effect_tooltip = "干扰对手,对手当前任务就会延时完成。" - } - ai_will_do = { - factor = 100 - } - } - YUWdxfdp12 = { - visible = { - has_idea = YUW_mzp - - } - available = { - - } - cost = 20 - days_remove = 50 - fire_only_once = yes - remove_effect = { - hidden_effect = { - add_days_mission_timeout = { mission = YUWdxfdp1 days = 15 } - add_days_mission_timeout = { mission = YUWdxfdp2 days = 15 } - add_days_mission_timeout = { mission = YUWdxfdp3 days = 15 } - add_days_mission_timeout = { mission = YUWdxfdp4 days = 15 } - add_days_mission_timeout = { mission = YUWdxfdp5 days = 15 } - add_days_mission_timeout = { mission = YUWdxfdp6 days = 15 } - } - custom_effect_tooltip = "加强对政府内我们支持者的保护,防止他们被维希派暗杀。" - } - ai_will_do = { - factor = 100 - } - } - YUWdxfdp13 = { - visible = { - has_idea = YUW_mzp - } - available = { - - } - cost = 30 - days_remove = 70 - fire_only_once = yes - remove_effect = { - hidden_effect = { - add_days_mission_timeout = { mission = YUWdxfdp1 days = 20 } - add_days_mission_timeout = { mission = YUWdxfdp2 days = 20 } - add_days_mission_timeout = { mission = YUWdxfdp3 days = 20 } - add_days_mission_timeout = { mission = YUWdxfdp4 days = 20 } - add_days_mission_timeout = { mission = YUWdxfdp5 days = 20 } - add_days_mission_timeout = { mission = YUWdxfdp6 days = 20 } - } - custom_effect_tooltip = "加强安保力量,每个议员都会获得人身安全保障。" - } - ai_will_do = { - factor = 100 - } - } - YUWdxfdp14 = { - visible = { - has_idea = YUW_mzp - } - available = { - - } - cost = 50 - days_remove = 100 - fire_only_once = yes - remove_effect = { - hidden_effect = { - add_days_mission_timeout = { mission = YUWdxfdp1 days = 35 } - add_days_mission_timeout = { mission = YUWdxfdp2 days = 35 } - add_days_mission_timeout = { mission = YUWdxfdp3 days = 35 } - add_days_mission_timeout = { mission = YUWdxfdp4 days = 35 } - add_days_mission_timeout = { mission = YUWdxfdp5 days = 35 } - add_days_mission_timeout = { mission = YUWdxfdp6 days = 35 } - } - custom_effect_tooltip = "选举必须是公平的,阻止维希派破坏选举公平的行为!" - } - ai_will_do = { - factor = 100 - } - } - YUWdxfdp11 = { - visible = { - has_idea = YUW_mzp - - } - available = { - - } - cost = 10 - days_remove = 5 - fire_only_once = yes - remove_effect = { - custom_effect_tooltip = "选举必须是公平的,阻止维希派破坏选举公平的行为!" - hidden_effect = { - add_days_mission_timeout = { mission = YUWdxfdp1 days = 10 } - add_days_mission_timeout = { mission = YUWdxfdp2 days = 10 } - add_days_mission_timeout = { mission = YUWdxfdp3 days = 10 } - add_days_mission_timeout = { mission = YUWdxfdp4 days = 10 } - add_days_mission_timeout = { mission = YUWdxfdp5 days = 10 } - add_days_mission_timeout = { mission = YUWdxfdp6 days = 10 } - } - } - ai_will_do = { - factor = 100 - } - } - YUWdxmzp11 = { - visible = { - has_idea = YUW_fdp - - } - available = { - - } - cost = 10 - days_remove = 5 - fire_only_once = yes - remove_effect = { - hidden_effect = { - add_days_mission_timeout = { mission = YUWdxmzp1 days = 10 } - add_days_mission_timeout = { mission = YUWdxmzp2 days = 10 } - add_days_mission_timeout = { mission = YUWdxmzp3 days = 10 } - add_days_mission_timeout = { mission = YUWdxmzp4 days = 10 } - add_days_mission_timeout = { mission = YUWdxmzp5 days = 10 } - add_days_mission_timeout = { mission = YUWdxmzp6 days = 10 } + add_days_mission_timeout = { + mission = YUWdxfdp1 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxfdp2 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxfdp3 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxfdp4 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxfdp5 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxfdp6 + days = 10 + } } custom_effect_tooltip = "干扰对手,对手当前任务就会延时完成。" } ai_will_do = { factor = 100 } - } - YUWdxmzp12 = { + } + YUWdxfdp12 = { visible = { - has_idea = YUW_fdp - + has_idea = YUW_mzp } available = { - } cost = 20 days_remove = 50 fire_only_once = yes remove_effect = { - hidden_effect = { - add_days_mission_timeout = { mission = YUWdxmzp1 days = 15 } - add_days_mission_timeout = { mission = YUWdxmzp2 days = 15 } - add_days_mission_timeout = { mission = YUWdxmzp3 days = 15 } - add_days_mission_timeout = { mission = YUWdxmzp4 days = 15 } - add_days_mission_timeout = { mission = YUWdxmzp5 days = 15 } - add_days_mission_timeout = { mission = YUWdxmzp6 days = 15 } + hidden_effect = { + add_days_mission_timeout = { + mission = YUWdxfdp1 + days = 15 + } + add_days_mission_timeout = { + mission = YUWdxfdp2 + days = 15 + } + add_days_mission_timeout = { + mission = YUWdxfdp3 + days = 15 + } + add_days_mission_timeout = { + mission = YUWdxfdp4 + days = 15 + } + add_days_mission_timeout = { + mission = YUWdxfdp5 + days = 15 + } + add_days_mission_timeout = { + mission = YUWdxfdp6 + days = 15 + } } - custom_effect_tooltip = "暗杀敌对派的支持者,让对方行动更加困难。" + custom_effect_tooltip = "加强对政府内我们支持者的保护,防止他们被维希派暗杀。" } ai_will_do = { factor = 100 } - } - YUWdxmzp13 = { + } + YUWdxfdp13 = { visible = { - has_idea = YUW_fdp + has_idea = YUW_mzp } available = { - } cost = 30 days_remove = 70 fire_only_once = yes remove_effect = { - hidden_effect = { - add_days_mission_timeout = { mission = YUWdxmzp1 days = 20 } - add_days_mission_timeout = { mission = YUWdxmzp2 days = 20 } - add_days_mission_timeout = { mission = YUWdxmzp3 days = 20 } - add_days_mission_timeout = { mission = YUWdxmzp4 days = 20 } - add_days_mission_timeout = { mission = YUWdxmzp5 days = 20 } - add_days_mission_timeout = { mission = YUWdxmzp6 days = 20 } - } - custom_effect_tooltip = "不给我们投票的坏人必须消失!" + hidden_effect = { + add_days_mission_timeout = { + mission = YUWdxfdp1 + days = 20 + } + add_days_mission_timeout = { + mission = YUWdxfdp2 + days = 20 + } + add_days_mission_timeout = { + mission = YUWdxfdp3 + days = 20 + } + add_days_mission_timeout = { + mission = YUWdxfdp4 + days = 20 + } + add_days_mission_timeout = { + mission = YUWdxfdp5 + days = 20 + } + add_days_mission_timeout = { + mission = YUWdxfdp6 + days = 20 + } + } + custom_effect_tooltip = "加强安保力量,每个议员都会获得人身安全保障。" } ai_will_do = { factor = 100 } - } - YUWdxmzp14 = { + } + YUWdxfdp14 = { visible = { - has_idea = YUW_fdp + has_idea = YUW_mzp } available = { - } cost = 50 days_remove = 100 fire_only_once = yes remove_effect = { hidden_effect = { - add_days_mission_timeout = { mission = YUWdxmzp1 days = 35 } - add_days_mission_timeout = { mission = YUWdxmzp2 days = 35 } - add_days_mission_timeout = { mission = YUWdxmzp3 days = 35 } - add_days_mission_timeout = { mission = YUWdxmzp4 days = 35 } - add_days_mission_timeout = { mission = YUWdxmzp5 days = 35 } - add_days_mission_timeout = { mission = YUWdxmzp6 days = 35 } + add_days_mission_timeout = { + mission = YUWdxfdp1 + days = 35 } + add_days_mission_timeout = { + mission = YUWdxfdp2 + days = 35 + } + add_days_mission_timeout = { + mission = YUWdxfdp3 + days = 35 + } + add_days_mission_timeout = { + mission = YUWdxfdp4 + days = 35 + } + add_days_mission_timeout = { + mission = YUWdxfdp5 + days = 35 + } + add_days_mission_timeout = { + mission = YUWdxfdp6 + days = 35 + } + } + custom_effect_tooltip = "选举必须是公平的,阻止维希派破坏选举公平的行为!" + } + ai_will_do = { + factor = 100 + } + } + YUWdxfdp11 = { + visible = { + has_idea = YUW_mzp + } + available = { + } + cost = 10 + days_remove = 5 + fire_only_once = yes + remove_effect = { + custom_effect_tooltip = "选举必须是公平的,阻止维希派破坏选举公平的行为!" + hidden_effect = { + add_days_mission_timeout = { + mission = YUWdxfdp1 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxfdp2 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxfdp3 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxfdp4 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxfdp5 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxfdp6 + days = 10 + } + } + } + ai_will_do = { + factor = 100 + } + } + YUWdxmzp11 = { + visible = { + has_idea = YUW_fdp + } + available = { + } + cost = 10 + days_remove = 5 + fire_only_once = yes + remove_effect = { + hidden_effect = { + add_days_mission_timeout = { + mission = YUWdxmzp1 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxmzp2 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxmzp3 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxmzp4 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxmzp5 + days = 10 + } + add_days_mission_timeout = { + mission = YUWdxmzp6 + days = 10 + } + } + custom_effect_tooltip = "干扰对手,对手当前任务就会延时完成。" + } + ai_will_do = { + factor = 100 + } + } + YUWdxmzp12 = { + visible = { + has_idea = YUW_fdp + } + available = { + } + cost = 20 + days_remove = 50 + fire_only_once = yes + remove_effect = { + hidden_effect = { + add_days_mission_timeout = { + mission = YUWdxmzp1 + days = 15 + } + add_days_mission_timeout = { + mission = YUWdxmzp2 + days = 15 + } + add_days_mission_timeout = { + mission = YUWdxmzp3 + days = 15 + } + add_days_mission_timeout = { + mission = YUWdxmzp4 + days = 15 + } + add_days_mission_timeout = { + mission = YUWdxmzp5 + days = 15 + } + add_days_mission_timeout = { + mission = YUWdxmzp6 + days = 15 + } + } + custom_effect_tooltip = "暗杀敌对派的支持者,让对方行动更加困难。" + } + ai_will_do = { + factor = 100 + } + } + YUWdxmzp13 = { + visible = { + has_idea = YUW_fdp + } + available = { + } + cost = 30 + days_remove = 70 + fire_only_once = yes + remove_effect = { + hidden_effect = { + add_days_mission_timeout = { + mission = YUWdxmzp1 + days = 20 + } + add_days_mission_timeout = { + mission = YUWdxmzp2 + days = 20 + } + add_days_mission_timeout = { + mission = YUWdxmzp3 + days = 20 + } + add_days_mission_timeout = { + mission = YUWdxmzp4 + days = 20 + } + add_days_mission_timeout = { + mission = YUWdxmzp5 + days = 20 + } + add_days_mission_timeout = { + mission = YUWdxmzp6 + days = 20 + } + } + custom_effect_tooltip = "不给我们投票的坏人必须消失!" + } + ai_will_do = { + factor = 100 + } + } + YUWdxmzp14 = { + visible = { + has_idea = YUW_fdp + } + available = { + } + cost = 50 + days_remove = 100 + fire_only_once = yes + remove_effect = { + hidden_effect = { + add_days_mission_timeout = { + mission = YUWdxmzp1 + days = 35 + } + add_days_mission_timeout = { + mission = YUWdxmzp2 + days = 35 + } + add_days_mission_timeout = { + mission = YUWdxmzp3 + days = 35 + } + add_days_mission_timeout = { + mission = YUWdxmzp4 + days = 35 + } + add_days_mission_timeout = { + mission = YUWdxmzp5 + days = 35 + } + add_days_mission_timeout = { + mission = YUWdxmzp6 + days = 35 + } + } custom_effect_tooltip = "用一点点好处,就能让议员们缠住民主派。" } ai_will_do = { factor = 100 } - } - } \ No newline at end of file + } +} diff --git a/src/common/decisions/YUW_decisions.txt b/src/common/decisions/YUW_decisions.txt index d77965b..477662f 100755 --- a/src/common/decisions/YUW_decisions.txt +++ b/src/common/decisions/YUW_decisions.txt @@ -10,17 +10,17 @@ yuw_mission_category = { } visible = { tag = YUW - NOT = { has_country_flag = YUW_dangerclear } + NOT = { + has_country_flag = YUW_dangerclear + } } - - complete_effect = { - + complete_effect = { } } yuwdecision_lalongzhende = { icon = eng_propaganda_campaigns fire_only_once = yes - complete_effect = { + complete_effect = { country_event = YUW_event.2 } ai_will_do = { @@ -32,11 +32,15 @@ yuw_mission_category = { available = { custom_trigger_tooltip = { tooltip = "距选择一个政策已过去60天" - NOT = { has_country_flag = yuwdecision_cd } + NOT = { + has_country_flag = yuwdecision_cd + } } } - visible = { - NOT = { has_country_flag = yuw_jinshen } + visible = { + NOT = { + has_country_flag = yuw_jinshen + } } ai_will_do = { factor = 60 @@ -45,8 +49,12 @@ yuw_mission_category = { modifier = { army_attack_factor = 0.05 } - complete_effect = { - set_country_flag = { flag = yuwdecision_cd value = 1 days = 60 } + complete_effect = { + set_country_flag = { + flag = yuwdecision_cd + value = 1 + days = 60 + } set_country_flag = yuw_jijin custom_effect_tooltip = yuw_ziyoufennujia2 add_to_variable = { @@ -60,11 +68,15 @@ yuw_mission_category = { available = { custom_trigger_tooltip = { tooltip = "距选择一个政策已过去60天" - NOT = { has_country_flag = yuwdecision_cd } + NOT = { + has_country_flag = yuwdecision_cd + } } } - visible = { - NOT = { has_country_flag = yuw_jijin } + visible = { + NOT = { + has_country_flag = yuw_jijin + } } ai_will_do = { factor = 5 @@ -73,8 +85,12 @@ yuw_mission_category = { modifier = { max_planning = 0.1 } - complete_effect = { - set_country_flag = { flag = yuwdecision_cd value = 1 days = 60 } + complete_effect = { + set_country_flag = { + flag = yuwdecision_cd + value = 1 + days = 60 + } custom_effect_tooltip = yuw_weixifennujia2 set_country_flag = yuw_jinshen add_to_variable = { @@ -88,11 +104,15 @@ yuw_mission_category = { available = { custom_trigger_tooltip = { tooltip = "距选择一个政策已过去60天" - NOT = { has_country_flag = yuwdecision_cd } + NOT = { + has_country_flag = yuwdecision_cd + } } } - visible = { - NOT = { has_country_flag = yuw_qinwai } + visible = { + NOT = { + has_country_flag = yuw_qinwai + } } days_remove = -1 ai_will_do = { @@ -113,8 +133,12 @@ yuw_mission_category = { attack_bonus_against = 0.1 defense_bonus_against = 0.1 } - complete_effect = { - set_country_flag = { flag = yuwdecision_cd value = 1 days = 60 } + complete_effect = { + set_country_flag = { + flag = yuwdecision_cd + value = 1 + days = 60 + } custom_effect_tooltip = yuw_ziyoufennujia1 set_country_flag = yuw_paiwai add_to_variable = { @@ -124,15 +148,19 @@ yuw_mission_category = { } } yuwdecision_duiwai_qinwai = { - icon = eng_propaganda_campaigns + icon = eng_propaganda_campaigns available = { custom_trigger_tooltip = { tooltip = "距选择一个政策已过去60天" - NOT = { has_country_flag = yuwdecision_cd } + NOT = { + has_country_flag = yuwdecision_cd + } } } - visible = { - NOT = { has_country_flag = yuw_paiwai } + visible = { + NOT = { + has_country_flag = yuw_paiwai + } } ai_will_do = { factor = 90 @@ -148,9 +176,14 @@ yuw_mission_category = { attack_bonus_against = 0.1 defense_bonus_against = 0.1 } - remove_effect = { } - complete_effect = { - set_country_flag = { flag = yuwdecision_cd value = 1 days = 60 } + remove_effect = { + } + complete_effect = { + set_country_flag = { + flag = yuwdecision_cd + value = 1 + days = 60 + } custom_effect_tooltip = yuw_weixifennujia1 set_country_flag = yuw_qinwai add_to_variable = { @@ -164,11 +197,15 @@ yuw_mission_category = { available = { custom_trigger_tooltip = { tooltip = "距选择一个政策已过去60天" - NOT = { has_country_flag = yuwdecision_cd } + NOT = { + has_country_flag = yuwdecision_cd + } } } - visible = { - NOT = { has_country_flag = yuw_yinxiu } + visible = { + NOT = { + has_country_flag = yuw_yinxiu + } } days_remove = -1 ai_will_do = { @@ -177,8 +214,12 @@ yuw_mission_category = { modifier = { stability_factor = 0.15 } - complete_effect = { - set_country_flag = { flag = yuwdecision_cd value = 1 days = 60 } + complete_effect = { + set_country_flag = { + flag = yuwdecision_cd + value = 1 + days = 60 + } custom_effect_tooltip = yuw_ziyoufennujia2 set_country_flag = yuw_rushi add_to_variable = { @@ -192,12 +233,15 @@ yuw_mission_category = { available = { custom_trigger_tooltip = { tooltip = "距选择一个政策已过去60天" - NOT = { has_country_flag = yuwdecision_cd } + NOT = { + has_country_flag = yuwdecision_cd + } } } - - visible = { - NOT = { has_country_flag = yuw_rushi } + visible = { + NOT = { + has_country_flag = yuw_rushi + } } days_remove = -1 ai_will_do = { @@ -206,8 +250,12 @@ yuw_mission_category = { modifier = { conscription = 0.015 } - complete_effect = { - set_country_flag = { flag = yuwdecision_cd value = 1 days = 60 } + complete_effect = { + set_country_flag = { + flag = yuwdecision_cd + value = 1 + days = 60 + } custom_effect_tooltip = yuw_weixifennujia2 set_country_flag = yuw_yinxiu add_to_variable = { @@ -221,11 +269,15 @@ yuw_mission_category = { available = { custom_trigger_tooltip = { tooltip = "距选择一个政策已过去60天" - NOT = { has_country_flag = yuwdecision_cd } + NOT = { + has_country_flag = yuwdecision_cd + } } } - visible = { - NOT = { has_country_flag = yuw_hujiao } + visible = { + NOT = { + has_country_flag = yuw_hujiao + } } ai_will_do = { factor = 0 @@ -235,8 +287,12 @@ yuw_mission_category = { planning_speed = 0.15 army_speed_factor = 0.05 } - complete_effect = { - set_country_flag = { flag = yuwdecision_cd value = 1 days = 60 } + complete_effect = { + set_country_flag = { + flag = yuwdecision_cd + value = 1 + days = 60 + } custom_effect_tooltip = yuw_ziyoufennujia3 set_country_flag = yuw_shengdian add_to_variable = { @@ -250,11 +306,15 @@ yuw_mission_category = { available = { custom_trigger_tooltip = { tooltip = "距选择一个政策已过去60天" - NOT = { has_country_flag = yuwdecision_cd } + NOT = { + has_country_flag = yuwdecision_cd + } } } - visible = { - NOT = { has_country_flag = yuw_shengdian } + visible = { + NOT = { + has_country_flag = yuw_shengdian + } } ai_will_do = { factor = 60 @@ -264,8 +324,12 @@ yuw_mission_category = { army_defence_factor = 0.1 experience_loss_factor = -0.25 } - complete_effect = { - set_country_flag = { flag = yuwdecision_cd value = 1 days = 60 } + complete_effect = { + set_country_flag = { + flag = yuwdecision_cd + value = 1 + days = 60 + } custom_effect_tooltip = yuw_weixifennujia3 set_country_flag = yuw_hujiao add_to_variable = { @@ -279,21 +343,21 @@ yuw_mission_category = { cost = 50 available = { has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } - visible = { - has_completed_focus = YUW_jiaotiaohaibugouduo + visible = { + has_completed_focus = YUW_jiaotiaohaibugouduo } remove_trigger = { - not = { - has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + NOT = { + has_country_leader = { + character = YUW_mojiaduoer + ruling_only = yes + } } - } - } + } ai_will_do = { factor = 100 } @@ -303,7 +367,7 @@ yuw_mission_category = { offensive_war_stability_factor = 0.5 war_support_weekly = 0.01 } - complete_effect = { + complete_effect = { custom_effect_tooltip = yuw_santoutongmengfennu } } @@ -312,21 +376,21 @@ yuw_mission_category = { cost = 50 available = { has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } - visible = { - has_completed_focus = YUW_jiaotiaohaibugouduo + visible = { + has_completed_focus = YUW_jiaotiaohaibugouduo } remove_trigger = { - not = { - has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + NOT = { + has_country_leader = { + character = YUW_mojiaduoer + ruling_only = yes + } } - } - } + } ai_will_do = { factor = 100 } @@ -336,7 +400,7 @@ yuw_mission_category = { conscription = 0.03 army_leader_start_level = 1 } - complete_effect = { + complete_effect = { custom_effect_tooltip = yuw_santoutongmengfennu } } @@ -345,21 +409,21 @@ yuw_mission_category = { cost = 50 available = { has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } - visible = { + visible = { has_completed_focus = YUW_jiaoyihaibugouxin } remove_trigger = { - not = { - has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + NOT = { + has_country_leader = { + character = YUW_mojiaduoer + ruling_only = yes + } } - } - } + } ai_will_do = { factor = 100 } @@ -370,7 +434,7 @@ yuw_mission_category = { research_speed_factor = 0.1 consumer_goods_factor = -0.4 } - complete_effect = { + complete_effect = { custom_effect_tooltip = yuw_santoutongmengfennu } } @@ -379,21 +443,21 @@ yuw_mission_category = { cost = 50 available = { has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } - visible = { + visible = { has_completed_focus = YUW_baituochangshishufu } remove_trigger = { - not = { - has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + NOT = { + has_country_leader = { + character = YUW_mojiaduoer + ruling_only = yes + } } - } - } + } ai_will_do = { factor = 100 } @@ -406,7 +470,7 @@ yuw_mission_category = { production_factory_max_efficiency_factor = 0.3 production_factory_efficiency_gain_factor = 0.3 } - complete_effect = { + complete_effect = { custom_effect_tooltip = yuw_santoutongmengfennu } } @@ -414,11 +478,11 @@ yuw_mission_category = { icon = generic_construction available = { is_ai = yes - or = { - has_completed_focus = YUW_tuanjieweixixingdong - has_completed_focus = YUW_jinjunbali - has_completed_focus = YUW_tingshinuhou - has_completed_focus = YUW_shenshengshiming + OR = { + has_completed_focus = YUW_tuanjieweixixingdong + has_completed_focus = YUW_jinjunbali + has_completed_focus = YUW_tingshinuhou + has_completed_focus = YUW_shenshengshiming } } visible = { @@ -429,30 +493,64 @@ yuw_mission_category = { factor = 100 } fire_only_once = yes - complete_effect = { - set_technology = { interwar_antitank = 1 } - set_technology = { armor_tech_2 = 1 } - set_technology = { antitank1 = 1 } - set_technology = { antitank2 = 1 } - set_technology = { antitank3 = 1 } - set_technology = { amphibious_mechanized_infantry = 1 } - set_technology = { interwar_antiair = 1 } - set_technology = { centimetric_radar = 1 } - set_technology = { improved_decimetric_radar = 1 } - set_technology = { decimetric_radar = 1 } - set_technology = { radio_detection = 1 } - set_technology = { radio = 1 } - set_technology = { tech_engineers2 = 1} + complete_effect = { + set_technology = { + interwar_antitank = 1 + } + set_technology = { + armor_tech_2 = 1 + } + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } + set_technology = { + amphibious_mechanized_infantry = 1 + } + set_technology = { + interwar_antiair = 1 + } + set_technology = { + centimetric_radar = 1 + } + set_technology = { + improved_decimetric_radar = 1 + } + set_technology = { + decimetric_radar = 1 + } + set_technology = { + radio_detection = 1 + } + set_technology = { + radio = 1 + } + set_technology = { + tech_engineers2 = 1 + } set_country_flag = yuw_zuobi1 - set_technology = { super_heavy_tank_chassis = 1} - set_technology = { engine_tech_2 = 1 } - set_technology = { tech_maintenance_company = 1 } - set_technology = { tech_maintenance_company2 = 1 } + set_technology = { + super_heavy_tank_chassis = 1 + } + set_technology = { + engine_tech_2 = 1 + } + set_technology = { + tech_maintenance_company = 1 + } + set_technology = { + tech_maintenance_company2 = 1 + } if = { limit = { - not = { - has_tech = basic_medium_tank_chassis - } + NOT = { + has_tech = basic_medium_tank_chassis + } } add_tech_bonus = { name = "装甲研究加成" @@ -461,14 +559,13 @@ yuw_mission_category = { ahead_reduction = 10 category = cat_medium_armor } - - } + } if = { limit = { - has_tech = basic_medium_tank_chassis - not = { - has_tech = improved_medium_tank_chassis - } + has_tech = basic_medium_tank_chassis + NOT = { + has_tech = improved_medium_tank_chassis + } } add_tech_bonus = { name = "装甲研究加成" @@ -477,8 +574,7 @@ yuw_mission_category = { ahead_reduction = 10 category = cat_medium_armor } - - } + } } } yuw_2222 = { @@ -495,120 +591,113 @@ yuw_mission_category = { ai_will_do = { factor = 100 } - complete_effect = { - army_experience = 500 - air_experience = 500 - create_equipment_variant = { - name = "MB.157" - type = small_plane_airframe_3 - parent_version = 0 - modules = { - fixed_main_weapon_slot = aircraft_cannon_2_2x - fixed_auxiliary_weapon_slot_1 = aircraft_cannon_2_2x - fixed_auxiliary_weapon_slot_2 = heavy_mg_4x - engine_type_slot = engine_4_1x - special_type_slot_1 = drop_tanks - special_type_slot_2 = self_sealing_fuel_tanks_small - special_type_slot_3 = armor_plate_small + complete_effect = { + army_experience = 500 + air_experience = 500 + create_equipment_variant = { + name = "MB.157" + type = small_plane_airframe_3 + parent_version = 0 + modules = { + fixed_main_weapon_slot = aircraft_cannon_2_2x + fixed_auxiliary_weapon_slot_1 = aircraft_cannon_2_2x + fixed_auxiliary_weapon_slot_2 = heavy_mg_4x + engine_type_slot = engine_4_1x + special_type_slot_1 = drop_tanks + special_type_slot_2 = self_sealing_fuel_tanks_small + special_type_slot_3 = armor_plate_small + } + upgrades = { + } + #icon = "gfx/interface/technologies/.dds" } - upgrades = { - + create_equipment_variant = { + name = "AMC 40”贞德“" + type = medium_tank_chassis_2 + parent_version = 0 + modules = { + main_armament_slot = tank_medium_cannon_2 + turret_type_slot = tank_medium_three_man_tank_turret + suspension_type_slot = tank_torsion_bar_suspension + armor_type_slot = tank_riveted_armor + engine_type_slot = tank_diesel_engine + special_type_slot_1 = tank_radio_3 + special_type_slot_2 = easy_maintenance + special_type_slot_3 = secondary_turret_small_cannon + special_type_slot_4 = secondary_turret_small_cannon + } + upgrades = { + tank_nsb_engine_upgrade = 9 + tank_nsb_armor_upgrade = 13 + } + icon = "gfx/interface/technologies/FRA_basic_main_tank.dds" } - #icon = "gfx/interface/technologies/.dds" + create_equipment_variant = { + name = "FCM 39”恶毒“" + type = light_tank_chassis_2 #light_tank_flame_chassis + parent_version = 0 + modules = { + main_armament_slot = flamethrower + turret_type_slot = tank_light_two_man_tank_turret + suspension_type_slot = tank_bogie_suspension + armor_type_slot = tank_riveted_armor + engine_type_slot = tank_gasoline_engine + special_type_slot_1 = secondary_turret_small_cannon + special_type_slot_2 = dozer_blade + special_type_slot_3 = additional_machine_guns + special_type_slot_4 = additional_machine_guns + } + upgrades = { + tank_nsb_engine_upgrade = 0 + tank_nsb_armor_upgrade = 0 + } + icon = "gfx/interface/technologies/FRA_basic_main_tank.dds" } - create_equipment_variant = { - name = "AMC 40”贞德“" - type = medium_tank_chassis_2 - parent_version = 0 - modules = { - main_armament_slot = tank_medium_cannon_2 - turret_type_slot = tank_medium_three_man_tank_turret - suspension_type_slot = tank_torsion_bar_suspension - armor_type_slot = tank_riveted_armor - engine_type_slot = tank_diesel_engine - special_type_slot_1 = tank_radio_3 - special_type_slot_2 = easy_maintenance - special_type_slot_3 = secondary_turret_small_cannon - special_type_slot_4 = secondary_turret_small_cannon + create_equipment_variant = { + name = "教廷之剑" + type = medium_tank_destroyer_chassis_2 + parent_version = 0 + modules = { + main_armament_slot = tank_heavy_cannon_3 + turret_type_slot = tank_medium_fixed_superstructure_turret + suspension_type_slot = tank_bogie_suspension + armor_type_slot = tank_riveted_armor + engine_type_slot = tank_gasoline_engine + special_type_slot_1 = secondary_turret_small_cannon + special_type_slot_2 = secondary_turret_small_cannon + special_type_slot_3 = easy_maintenance + special_type_slot_4 = dozer_blade + } + upgrades = { + tank_nsb_engine_upgrade = 0 + tank_nsb_armor_upgrade = 0 + } + #icon = "gfx/interface/technologies/FRA_basic_main_tank.dds" } - upgrades = { - tank_nsb_engine_upgrade = 9 - tank_nsb_armor_upgrade = 13 + create_equipment_variant = { + name = "杨大屌超重型坦克" + type = super_heavy_tank_chassis_1 + parent_version = 0 + modules = { + main_armament_slot = tank_super_heavy_cannon + turret_type_slot = tank_super_heavy_three_man_tank_turret + suspension_type_slot = tank_torsion_bar_suspension + armor_type_slot = tank_welded_armor + engine_type_slot = tank_gasoline_engine + special_type_slot_1 = tank_radio_3 + special_type_slot_2 = dozer_blade + special_type_slot_3 = additional_machine_guns + special_type_slot_4 = additional_machine_guns + } + upgrades = { + tank_nsb_engine_upgrade = 14 + tank_nsb_armor_upgrade = 14 + } + icon = "gfx/interface/technologies/ger_basic_main_tank.dds" } - icon = "gfx/interface/technologies/FRA_basic_main_tank.dds" - } - create_equipment_variant = { - name = "FCM 39”恶毒“" - type = light_tank_chassis_2 #light_tank_flame_chassis - parent_version = 0 - modules = { - main_armament_slot = flamethrower - turret_type_slot = tank_light_two_man_tank_turret - suspension_type_slot = tank_bogie_suspension - armor_type_slot = tank_riveted_armor - engine_type_slot = tank_gasoline_engine - special_type_slot_1 = secondary_turret_small_cannon - special_type_slot_2 = dozer_blade - special_type_slot_3 = additional_machine_guns - special_type_slot_4 = additional_machine_guns - } - upgrades = { - tank_nsb_engine_upgrade = 0 - tank_nsb_armor_upgrade = 0 - } - icon = "gfx/interface/technologies/FRA_basic_main_tank.dds" - } - - create_equipment_variant = { - name = "教廷之剑" - type = medium_tank_destroyer_chassis_2 - parent_version = 0 - modules = { - main_armament_slot = tank_heavy_cannon_3 - turret_type_slot = tank_medium_fixed_superstructure_turret - suspension_type_slot = tank_bogie_suspension - armor_type_slot = tank_riveted_armor - engine_type_slot = tank_gasoline_engine - special_type_slot_1 = secondary_turret_small_cannon - special_type_slot_2 = secondary_turret_small_cannon - special_type_slot_3 = easy_maintenance - special_type_slot_4 = dozer_blade - } - upgrades = { - tank_nsb_engine_upgrade = 0 - tank_nsb_armor_upgrade = 0 - } - #icon = "gfx/interface/technologies/FRA_basic_main_tank.dds" - } - - - create_equipment_variant = { - name = "杨大屌超重型坦克" - type = super_heavy_tank_chassis_1 - parent_version = 0 - modules = { - main_armament_slot = tank_super_heavy_cannon - turret_type_slot = tank_super_heavy_three_man_tank_turret - suspension_type_slot = tank_torsion_bar_suspension - armor_type_slot = tank_welded_armor - engine_type_slot = tank_gasoline_engine - special_type_slot_1 = tank_radio_3 - special_type_slot_2 = dozer_blade - special_type_slot_3 = additional_machine_guns - special_type_slot_4 = additional_machine_guns - } - upgrades = { - tank_nsb_engine_upgrade = 14 - tank_nsb_armor_upgrade = 14 - } - icon = "gfx/interface/technologies/GER_basic_main_tank.dds" - } - set_country_flag = yuw_zuobi2 - - + set_country_flag = yuw_zuobi2 } } - yuw_3333 = { icon = generic_construction available = { @@ -624,30 +713,29 @@ yuw_mission_category = { factor = 100 } complete_effect = { - army_experience = 500 - add_equipment_to_stockpile = { + army_experience = 500 + add_equipment_to_stockpile = { type = infantry_equipment - amount = 20000 + amount = 20000 producer = YUW - } - add_equipment_to_stockpile = { - type = support_equipment - amount = 2000 + } + add_equipment_to_stockpile = { + type = support_equipment + amount = 2000 producer = YUW - } - add_equipment_to_stockpile = { - type = artillery_equipment - amount = 2000 + } + add_equipment_to_stockpile = { + type = artillery_equipment + amount = 2000 producer = YUW - } - add_equipment_to_stockpile = { - type = medium_tank_chassis - amount = 8000 + } + add_equipment_to_stockpile = { + type = medium_tank_chassis + amount = 8000 producer = YUW } } - - } + } } yuw_dashengzhan_category = { @@ -658,14 +746,20 @@ yuw_dashengzhan_category = { } available = { is_puppet = no - has_army_manpower = { size > 1999999 } - or = { - date > 1939.6.1 - has_army_manpower = { size > 2999999 } + has_army_manpower = { + size > 1999999 + } + OR = { + date > 1939.6.1 + has_army_manpower = { + size > 2999999 + } } has_completed_focus = YUW_xinyangshouhuzhe country_exists = TIX - not = { is_in_faction_with = TIX } + NOT = { + is_in_faction_with = TIX + } } fire_only_once = yes days_remove = 60 @@ -673,11 +767,13 @@ yuw_dashengzhan_category = { ai_will_do = { factor = 100 } - complete_effect = { - + complete_effect = { } remove_effect = { - declare_war_on = { target = TIX type = annex_everything } + declare_war_on = { + target = TIX + type = annex_everything + } } } yuw_taofayiduan2 = { @@ -687,20 +783,26 @@ yuw_dashengzhan_category = { } available = { is_puppet = no - has_army_manpower = { size > 2999999 } - or = { - date > 1941.6.1 - has_army_manpower = { size > 4999999 } + has_army_manpower = { + size > 2999999 + } + OR = { + date > 1941.6.1 + has_army_manpower = { + size > 4999999 + } } has_completed_focus = YUW_xinyangshouhuzhe any_country = { - if = { - is_major= yes + is_major = yes has_government = communism - not = { is_in_faction_with = YUW } - not = { has_war_with = YUW } - has_capitulated = no + NOT = { + is_in_faction_with = YUW } + NOT = { + has_war_with = YUW + } + has_capitulated = no } } fire_only_once = yes @@ -709,30 +811,35 @@ yuw_dashengzhan_category = { ai_will_do = { factor = 0 modifier = { - or = { - is_in_faction_with = TIX - not = { country_exists = TIX } - } - add = 100 + OR = { + is_in_faction_with = TIX + NOT = { + country_exists = TIX + } + } + add = 100 } } - complete_effect = { - + complete_effect = { } remove_effect = { every_country = { - limit = { - is_major= yes - has_government = communism - not = { is_in_faction_with = YUW } - not = { has_war_with = YUW } - has_capitulated = no + limit = { + is_major = yes + has_government = communism + NOT = { + is_in_faction_with = YUW + } + NOT = { + has_war_with = YUW + } + has_capitulated = no } YUW = { - declare_war_on = { - target = PREV - type = annex_everything - } + declare_war_on = { + target = PREV + type = annex_everything + } } } } @@ -746,7 +853,9 @@ yuw_dashengzhan_category = { is_puppet = no has_war = no date > 1943.1.1 - not = { country_exists = BLI } + NOT = { + country_exists = BLI + } } fire_only_once = yes days_remove = 60 @@ -754,11 +863,13 @@ yuw_dashengzhan_category = { ai_will_do = { factor = 100 } - complete_effect = { - + complete_effect = { } remove_effect = { - declare_war_on = { target = SIR type = annex_everything } + declare_war_on = { + target = SIR + type = annex_everything + } } } yuw_shengdiylsl = { @@ -768,12 +879,12 @@ yuw_dashengzhan_category = { has_completed_focus = YUW_qishituandedashengzhan } available = { - or = { - controls_state = 454 - any_country = { - is_in_faction_with = YUW - controls_state = 454 - } + OR = { + controls_state = 454 + any_country = { + is_in_faction_with = YUW + controls_state = 454 + } } has_completed_focus = YUW_wuzhuangchaosheng } @@ -789,12 +900,11 @@ yuw_dashengzhan_category = { } remove_trigger = { any_country = { - controls_state = 454 - has_war_with = YUW + controls_state = 454 + has_war_with = YUW } - } + } } - yuw_shengdifdg = { icon = hol_war_on_pacifism days_remove = -1 @@ -802,15 +912,15 @@ yuw_dashengzhan_category = { has_completed_focus = YUW_qishituandedashengzhan } available = { - or = { - controls_state = 2 - any_country = { - is_in_faction_with = YUW - controls_state = 2 - } - SAD = { - has_idea = SAD_shengdishouhuzhe_idea - } + OR = { + controls_state = 2 + any_country = { + is_in_faction_with = YUW + controls_state = 2 + } + SAD = { + has_idea = SAD_shengdishouhuzhe_idea + } } has_completed_focus = YUW_wuzhuangchaosheng } @@ -824,12 +934,11 @@ yuw_dashengzhan_category = { } remove_trigger = { any_country = { - controls_state = 2 - has_war_with = YUW + controls_state = 2 + has_war_with = YUW } - } + } } - yuw_shengdisdyg = { icon = hol_war_on_pacifism days_remove = -1 @@ -837,12 +946,12 @@ yuw_dashengzhan_category = { has_completed_focus = YUW_qishituandedashengzhan } available = { - or = { - controls_state = 171 - any_country = { - is_in_faction_with = YUW - controls_state = 171 - } + OR = { + controls_state = 171 + any_country = { + is_in_faction_with = YUW + controls_state = 171 + } } has_completed_focus = YUW_wuzhuangchaosheng } @@ -856,12 +965,11 @@ yuw_dashengzhan_category = { } remove_trigger = { any_country = { - controls_state = 171 - has_war_with = YUW + controls_state = 171 + has_war_with = YUW } - } + } } - yuw_shengdisdyg2 = { icon = hol_exchange_intelligence_data visible = { @@ -872,19 +980,21 @@ yuw_dashengzhan_category = { has_global_flag = scw_over is_puppet = no is_in_faction = yes - or = { - has_government = democratic - has_government = neutrality + OR = { + has_government = democratic + has_government = neutrality } any_country = { - if = { original_tag = SPR owns_state = 41 has_government = democratic - not = { is_in_faction_with = YUW } - not = { has_war_with = YUW } + NOT = { + is_in_faction_with = YUW + } + NOT = { + has_war_with = YUW + } has_capitulated = no - } } } ai_will_do = { @@ -893,22 +1003,28 @@ yuw_dashengzhan_category = { fire_only_once = yes complete_effect = { every_country = { - limit = { - original_tag = SPR - owns_state = 41 - has_government = democratic - not = { is_in_faction_with = YUW } - not = { has_war_with = YUW } - OR = { - has_capitulated = no - is_subject = no + limit = { + original_tag = SPR + owns_state = 41 + has_government = democratic + NOT = { + is_in_faction_with = YUW + } + NOT = { + has_war_with = YUW + } + OR = { + has_capitulated = no + is_subject = no + } + } + country_event = { + id = YUW_event.46 + days = 2 } - } - country_event = { id = YUW_event.46 days = 2} } } } - yuw_shengdisdyg3 = { icon = hol_exchange_intelligence_data visible = { @@ -918,25 +1034,35 @@ yuw_dashengzhan_category = { available = { has_global_flag = scw_over is_puppet = no - or = { - has_government = democratic - has_government = neutrality + OR = { + has_government = democratic + has_government = neutrality } any_country = { - if = { original_tag = SPR owns_state = 41 - not = { has_government = democratic } - not = { is_in_faction_with = YUW } - not = { has_war_with = YUW } + NOT = { + has_government = democratic + } + NOT = { + is_in_faction_with = YUW + } + NOT = { + has_war_with = YUW + } has_capitulated = no - } } POR = { is_puppet = no - not = { is_in_faction_with = YUW } - not = { is_in_faction_with = HUJ } - not = { has_war_with = YUW } + NOT = { + is_in_faction_with = YUW + } + NOT = { + is_in_faction_with = HUJ + } + NOT = { + has_war_with = YUW + } has_capitulated = no } } @@ -946,28 +1072,36 @@ yuw_dashengzhan_category = { fire_only_once = yes complete_effect = { every_country = { - limit = { - original_tag = SPR - owns_state = 41 - not = { has_government = democratic } - not = { is_in_faction_with = YUW } - not = { has_war_with = YUW } - OR = { - has_capitulated = no - is_subject = no + limit = { + original_tag = SPR + owns_state = 41 + NOT = { + has_government = democratic + } + NOT = { + is_in_faction_with = YUW + } + NOT = { + has_war_with = YUW + } + OR = { + has_capitulated = no + is_subject = no + } + } + YUW = { + declare_war_on = { + target = PREV + type = annex_everything + } } } - YUW = { - declare_war_on = { - target = PREV + declare_war_on = { + target = POR type = annex_everything - } } - } - declare_war_on = { target = POR type = annex_everything } } } - yuw_shengdifdg2 = { icon = hol_exchange_intelligence_data fire_only_once = yes @@ -977,15 +1111,15 @@ yuw_dashengzhan_category = { cost = 50 available = { SAD = { - is_puppet = no - has_idea = SAD_shengdishouhuzhe_idea - is_in_faction = no + is_puppet = no + has_idea = SAD_shengdishouhuzhe_idea + is_in_faction = no } is_puppet = no is_in_faction = yes - or = { - has_government = democratic - has_government = neutrality + OR = { + has_government = democratic + has_government = neutrality } } ai_will_do = { @@ -993,39 +1127,38 @@ yuw_dashengzhan_category = { } complete_effect = { SAD = { - country_event = { id = YUW_event.46 days = 2} + country_event = { + id = YUW_event.46 + days = 2 + } } } } - YUW_chuanjiaobianhexin = { - icon = generic_form_nation state_target = yes on_map_mode = map_and_decisions_view target_array = controlled_states highlight_color_while_active = 1 - days_remove = hexinhua_cost_days cost = hexinhua_cost_pp - target_trigger = { FROM = { always = yes } } - visible = { has_completed_focus = YUW_zhengxinyongheng FROM = { compliance > 30 AND = { is_controlled_by = ROOT - NOT = { is_core_of = ROOT } + NOT = { + is_core_of = ROOT + } } } } - available = { FROM = { is_controlled_by = ROOT @@ -1036,132 +1169,145 @@ yuw_dashengzhan_category = { has_state_category = enclave has_state_category = tiny_island has_state_category = pastoral - } } - set_temp_variable = { hexinhua_cost_pp = 20 } + set_temp_variable = { + hexinhua_cost_pp = 20 + } } else_if = { limit = { - or = { + OR = { has_state_category = small_island - has_state_category = rural + has_state_category = rural } } - - set_temp_variable = { hexinhua_cost_pp = 40 } + set_temp_variable = { + hexinhua_cost_pp = 40 + } } else_if = { limit = { has_state_category = town } - - set_temp_variable = { hexinhua_cost_pp = 60 } + set_temp_variable = { + hexinhua_cost_pp = 60 + } } else_if = { limit = { has_state_category = large_town } - - set_temp_variable = { hexinhua_cost_pp = 80 } + set_temp_variable = { + hexinhua_cost_pp = 80 + } } else_if = { limit = { has_state_category = city } - - set_temp_variable = { hexinhua_cost_pp = 100 } + set_temp_variable = { + hexinhua_cost_pp = 100 + } } else_if = { limit = { has_state_category = large_city } - - set_temp_variable = { hexinhua_cost_pp = 120 } + set_temp_variable = { + hexinhua_cost_pp = 120 + } } else_if = { limit = { has_state_category = metropolis } - - set_temp_variable = { hexinhua_cost_pp = 140 } + set_temp_variable = { + hexinhua_cost_pp = 140 + } } else_if = { limit = { has_state_category = megalopolis } - - set_temp_variable = { hexinhua_cost_pp = 160 } + set_temp_variable = { + hexinhua_cost_pp = 160 + } } } - - } - - complete_effect = { FROM = { if = { limit = { state_population < 300000 } - set_temp_variable = { hexinhua_cost_days = 5 } + set_temp_variable = { + hexinhua_cost_days = 5 + } } else_if = { limit = { AND = { state_population > 299999 - state_population < 1000000 + state_population < 1000000 } - } - set_temp_variable = { hexinhua_cost_days = 10 } + set_temp_variable = { + hexinhua_cost_days = 10 + } } else_if = { limit = { AND = { state_population > 999999 - state_population < 3000000 + state_population < 3000000 } - } - set_temp_variable = { hexinhua_cost_days = 15 } + set_temp_variable = { + hexinhua_cost_days = 15 + } } else_if = { limit = { AND = { state_population > 2999999 - state_population < 6000000 + state_population < 6000000 } - } - set_temp_variable = { hexinhua_cost_days = 20 } + set_temp_variable = { + hexinhua_cost_days = 20 + } } else_if = { limit = { AND = { state_population > 5999999 - state_population < 12000000 + state_population < 12000000 } - } - set_temp_variable = { hexinhua_cost_days = 25 } + set_temp_variable = { + hexinhua_cost_days = 25 + } } else_if = { limit = { AND = { state_population > 11999999 - state_population < 25000000 + state_population < 25000000 } - } - set_temp_variable = { hexinhua_cost_days = 30 } + set_temp_variable = { + hexinhua_cost_days = 30 + } } else_if = { limit = { - state_population > 24999999 + state_population > 24999999 + } + set_temp_variable = { + hexinhua_cost_days = 50 } - set_temp_variable = { hexinhua_cost_days = 50 } } } } @@ -1170,9 +1316,8 @@ yuw_dashengzhan_category = { add_core_of = ROOT } } - ai_will_do = { factor = 99 } } -} \ No newline at end of file +} diff --git a/src/common/decisions/_generic_decisions.txt b/src/common/decisions/_generic_decisions.txt index b0ad424..ede7081 100755 --- a/src/common/decisions/_generic_decisions.txt +++ b/src/common/decisions/_generic_decisions.txt @@ -65,7 +65,7 @@ political_actions = { improved_worker_conditions = { icon = generic_industry - + priority = 10 available = { has_stability < 1.0 if = { @@ -111,63 +111,18 @@ political_actions = { original_tag = SPR NOT = { has_global_flag = spanish_civil_war } } - } - } - - promises_of_peace = { - - icon = generic_political_discourse - - available = { - has_war = no - has_war_support > 0.2 - has_stability < 1.0 - if = { - limit = { - tag = SPR - } - NOT = { - has_idea = SPR_political_violence - } - } - } - - visible = { - always = yes - } - - remove_trigger = { - has_war = yes - has_war_support < 0.05 - } - - fire_only_once = no - - modifier = { - stability_weekly = 0.005 - war_support_weekly = -0.01 - political_power_gain = -0.5 - } - - days_remove = 90 - days_re_enable = 360 - - cost = 50 - - complete_effect = { - - } - - ai_will_do = { - base = 0 modifier = { - add = 1 - has_stability < 0.4 + factor = 0 + tag = ICE + has_completed_focus = ICE_not_our_king + NOT = { has_completed_focus = ICE_break_with_the_crown } } + modifier = { - factor = 0 - original_tag = SPR - NOT = { has_global_flag = spanish_civil_war } + add = 1000 + has_stability < 0.76 + original_tag = SWE + has_idea = SWE_hungershield } } } @@ -601,8 +556,18 @@ propaganda_efforts = { icon = generic_prepare_civil_war available = { - threat > 0.25 - has_tech = radio + IF = { + limit = { + tag = BRA + } + threat > 0.25 + #has_tech = radio + has_completed_focus = BRA_radio_nacional + } + ELSE = { + threat > 0.25 + has_tech = radio + } } visible = { @@ -1293,20 +1258,14 @@ operations = { } set_country_flag = blew_up_suez set_global_flag = SUEZ_CANAL_BLOCKED - country_event = { id = wtt_news.40 hours = 6} + news_event = { id = wtt_news.40 hours = 6} } effect_tooltip = { if = { limit = { - OR = { - HUJ = { - owns_state = 446 - owns_state = 453 - } - EGY = { - owns_state = 446 - owns_state = 453 - } + ENG = { + owns_state = 446 + owns_state = 453 } } add_war_support = -0.05 @@ -1325,8 +1284,7 @@ operations = { } } has_war = yes - NOT = { tag = HUJ } - NOT = { tag = EGY } + NOT = { tag = ENG } } modifier = { add = 51 # Somewhat important if the baddies are coming @@ -1353,8 +1311,7 @@ operations = { } } has_war = yes - is_in_faction_with = HUJ - is_in_faction_with = EGY + is_in_faction_with = ENG } } } @@ -1419,7 +1376,7 @@ operations = { } set_country_flag = blew_up_panama set_global_flag = PANAMA_CANAL_BLOCKED - country_event = { id = wtt_news.41 hours = 6} + news_event = { id = wtt_news.41 hours = 6} } effect_tooltip = { if = { @@ -1496,7 +1453,7 @@ special_projects = { } set_country_flag = rebuilt_suez clr_global_flag = SUEZ_CANAL_BLOCKED - country_event = { id = wtt_news.42 hours = 6} + news_event = { id = wtt_news.42 hours = 6} } } @@ -1505,7 +1462,7 @@ special_projects = { modifier = { factor = 0 # Don't bother if your navy is weak AND not ENG has_navy_size = { size < 100 } - NOT = { tag = HUJ } + 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) @@ -1528,7 +1485,7 @@ special_projects = { } modifier = { factor = 200 # Prioritize if UK - tag = HUJ + tag = ENG } modifier = { factor = 10 # Prioritize if not at war @@ -1577,7 +1534,7 @@ special_projects = { } set_country_flag = rebuilt_panama clr_global_flag = PANAMA_CANAL_BLOCKED - country_event = { id = wtt_news.43 hours = 6 } + news_event = { id = wtt_news.43 hours = 6 } } } ai_will_do = { @@ -1743,7 +1700,7 @@ war_measures = { remove_trigger = { OR = { has_war = no - not = { has_idea = tot_economic_mobilisation } + NOT = { has_idea = tot_economic_mobilisation } } } modifier = { @@ -2273,9 +2230,9 @@ foreign_support = { cost = 0 - modifier = { + # modifier = { - } + # } ai_will_do = { factor = 1 @@ -2444,9 +2401,9 @@ foreign_support = { cost = 0 - modifier = { + #modifier = { - } + #} ai_will_do = { factor = 1 @@ -2620,9 +2577,9 @@ foreign_support = { cost = 0 - modifier = { + #modifier = { - } + #} ai_will_do = { factor = 1 @@ -2803,9 +2760,9 @@ foreign_support = { cost = 0 - modifier = { + #modifier = { - } + #} ai_will_do = { factor = 1 @@ -2959,9 +2916,9 @@ foreign_support = { cost = 0 - modifier = { + #modifier = { - } + #} ai_will_do = { factor = 1 @@ -3101,9 +3058,9 @@ foreign_support = { cost = 0 - modifier = { + #modifier = { - } + #} ai_will_do = { factor = 1 @@ -3259,9 +3216,9 @@ foreign_support = { cost = 0 - modifier = { + #modifier = { - } + #} ai_will_do = { factor = 1 @@ -3325,3 +3282,359 @@ foreign_support = { } } } + +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/tianjiang_decision_categories.txt b/src/common/decisions/categories/tianjiang_decision_categories.txt index e97a2b6..82b32f3 100755 --- a/src/common/decisions/categories/tianjiang_decision_categories.txt +++ b/src/common/decisions/categories/tianjiang_decision_categories.txt @@ -45,7 +45,7 @@ YUW_fangong = { original_tag = YUW } visible = { - or = { + OR = { has_completed_focus = YUW_zhianshike has_country_flag = YUW_huiguibentu } @@ -74,7 +74,7 @@ TIX_zongduxiaqujueyi = { } SAD_ITA = { allowed = { - or = { + OR = { original_tag = ITA original_tag = SAD } @@ -83,7 +83,7 @@ SAD_ITA = { } BYG_nuke = { allowed = { - or = { + OR = { original_tag = BYG original_tag = USA original_tag = USB diff --git a/src/common/decisions/chy_new1_decisions.txt b/src/common/decisions/chy_new1_decisions.txt index fb3c20b..5ae3ff5 100755 --- a/src/common/decisions/chy_new1_decisions.txt +++ b/src/common/decisions/chy_new1_decisions.txt @@ -600,8 +600,8 @@ CHY_hepinshouhuzhe_category = { FROM = { has_added_tension_amount > 20 has_offensive_war = yes - not = { has_country_flag = chy_junshixindong } - not = { has_war_with = CHY } + NOT = { has_country_flag = chy_junshixindong } + NOT = { has_war_with = CHY } } } visible = { @@ -614,8 +614,8 @@ CHY_hepinshouhuzhe_category = { FROM = { has_added_tension_amount > 20 has_offensive_war = yes - not = { has_country_flag = chy_junshixindong } - not = { has_war_with = CHY } + NOT = { has_country_flag = chy_junshixindong } + NOT = { has_war_with = CHY } } } visible = { diff --git a/src/common/decisions/keyan_decisions.txt b/src/common/decisions/keyan_decisions.txt index 9f2aa6c..05c132e 100755 --- a/src/common/decisions/keyan_decisions.txt +++ b/src/common/decisions/keyan_decisions.txt @@ -1,19 +1,17 @@ - keyan_category = { - yanfa_zhuli_xp = { icon = hude available = { custom_trigger_tooltip = { tooltip = "" - AND = { + AND = { has_army_experience > 150 has_navy_experience > 250 } } } custom_cost_trigger = { - AND = { + AND = { has_army_experience > 150 has_navy_experience > 250 } @@ -26,27 +24,25 @@ keyan_category = { ai_will_do = { factor = 0 } - complete_effect = { + complete_effect = { hidden_effect = { army_experience = -150 navy_experience = -250 } } remove_effect = { - hidden_effect = { scoped_sound_effect = AZ_wancheng_sound } + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound + } set_country_flag = yanfa_zhuli_xp_get custom_effect_tooltip = yanfa_xp_effect_tooltip - - - } } - yanfa_zhuli_wz = { icon = hude available = { custom_trigger_tooltip = { - tooltip = "" + tooltip = "" check_variable = { var = wz_sl value = 20000 @@ -70,29 +66,28 @@ keyan_category = { modifier = { political_power_cost = 1 } - ai_will_do = { factor = 5 } - complete_effect = { + complete_effect = { add_to_variable = { var = wz_sl value = -20000 } } remove_effect = { - hidden_effect = { scoped_sound_effect = AZ_wancheng_sound } + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound + } set_country_flag = yanfa_zhuli_wz_get custom_effect_tooltip = yanfa_wz_effect_tooltip } } - - yanfa_xzmf = { icon = xzmf available = { custom_trigger_tooltip = { - tooltip = "" + tooltip = "" check_variable = { var = xzmf_sl value = 5 @@ -116,22 +111,22 @@ keyan_category = { ai_will_do = { factor = 5 } - complete_effect = { + complete_effect = { add_to_variable = { var = xzmf_sl value = -5 } } remove_effect = { - hidden_effect = { scoped_sound_effect = AZ_wancheng_sound } + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound + } set_country_flag = yanfa_xzmf_get custom_effect_tooltip = yanfa_xzmf_effect_tooltip } } - zhuli_yanfa_completed = { icon = hude - visible = { has_country_flag = yanfa_xzmf_get } @@ -140,11 +135,10 @@ keyan_category = { fire_only_once = yes ai_will_do = { factor = 10 - } remove_effect = { - set_technology = { - keyantech_daxingyinqing = 1 + set_technology = { + keyantech_daxingyinqing = 1 keyantech_sunguan = 1 keyantech_huokong = 1 ship_hull_super_heavy = 1 @@ -162,7 +156,7 @@ keyan_category = { fixed_ship_fire_control_system_slot = ship_fire_control_system_xzmf fixed_ship_radar_slot = empty fixed_ship_engine_slot = heavy_ship_engine_xzmf - fixed_ship_secondaries_slot = dp_ship_secondaries + fixed_ship_secondaries_slot = empty fixed_ship_armor_slot = ship_armor_bb_3 front_1_custom_slot = empty mid_1_custom_slot = empty @@ -175,10 +169,10 @@ keyan_category = { add_equipment_production = { equipment = { type = ship_hull_heavy_4 - creator = ROOT + creator = ROOT version_name = "心智魔方试作型主力战列舰" } - name = "心智魔方试作型主力战列舰" + name = "心智魔方试作型主力战列舰" requested_factories = 1 progress = 1 amount = 1 @@ -186,10 +180,8 @@ keyan_category = { } } } - xianfeng_yanfa_completed = { icon = chaijun - visible = { has_country_flag = yanfa_xzmf_get } @@ -198,11 +190,10 @@ keyan_category = { fire_only_once = yes ai_will_do = { factor = 10 - } remove_effect = { - set_technology = { - keyantech_zhongxingyinqing = 1 + set_technology = { + keyantech_zhongxingyinqing = 1 keyantech_huokong = 1 advanced_ship_hull_cruiser = 1 improved_sonar = 1 @@ -230,10 +221,10 @@ keyan_category = { add_equipment_production = { equipment = { type = ship_hull_cruiser_4 - creator = ROOT + creator = ROOT version_name = "心智魔方试作型先锋巡洋舰" } - name = "心智魔方试作型先锋巡洋舰" + name = "心智魔方试作型先锋巡洋舰" requested_factories = 1 progress = 1 amount = 1 @@ -243,7 +234,6 @@ keyan_category = { } chihou_yanfa_completed = { icon = chaijun - visible = { has_country_flag = yanfa_xzmf_get } @@ -252,11 +242,10 @@ keyan_category = { fire_only_once = yes ai_will_do = { factor = 10 - } remove_effect = { - set_technology = { - keyantech_xiaoxingyinqing = 1 + set_technology = { + keyantech_xiaoxingyinqing = 1 keyantech_jianyongyulei = 1 advanced_light_battery = 1 advanced_dp_light_battery = 1 @@ -269,7 +258,7 @@ keyan_category = { parent_version = 0 modules = { fixed_ship_battery_slot = ship_light_battery_1 - fixed_ship_anti_air_slot = empty + fixed_ship_anti_air_slot = empty fixed_ship_fire_control_system_slot = ship_fire_control_system_0 fixed_ship_radar_slot = empty fixed_ship_engine_slot = light_ship_engine_xzmf @@ -284,10 +273,10 @@ keyan_category = { add_equipment_production = { equipment = { type = ship_hull_light_4 - creator = ROOT + creator = ROOT version_name = "心智魔方试作型斥候驱逐舰" } - name = "心智魔方试作型斥候驱逐舰" + name = "心智魔方试作型斥候驱逐舰" requested_factories = 1 progress = 1 amount = 1 @@ -297,7 +286,6 @@ keyan_category = { } cike_yanfa_completed = { icon = chaijun - visible = { has_country_flag = yanfa_xzmf_get } @@ -306,11 +294,10 @@ keyan_category = { fire_only_once = yes ai_will_do = { factor = 10 - } remove_effect = { - set_technology = { - keyantech_qiantingyinqing = 1 + set_technology = { + keyantech_qiantingyinqing = 1 keyantech_qiantingyulei = 1 advanced_ship_hull_submarine = 1 improved_submarine_snorkel = 1 @@ -322,7 +309,7 @@ keyan_category = { parent_version = 0 modules = { fixed_ship_torpedo_slot = ship_torpedo_sub_xzmf - fixed_ship_engine_slot = sub_ship_engine_xzmf + fixed_ship_engine_slot = sub_ship_engine_xzmf front_1_custom_slot = empty mid_1_custom_slot = empty rear_1_custom_slot = empty @@ -332,10 +319,10 @@ keyan_category = { add_equipment_production = { equipment = { type = ship_hull_submarine_4 - creator = ROOT + creator = ROOT version_name = "心智魔方试作型刺客潜艇" } - name = "心智魔方试作型刺客潜艇" + name = "心智魔方试作型刺客潜艇" requested_factories = 1 progress = 1 amount = 1 @@ -345,7 +332,6 @@ keyan_category = { } hangmu_yanfa_completed = { icon = chaijun - visible = { has_country_flag = yanfa_xzmf_get } @@ -354,11 +340,10 @@ keyan_category = { fire_only_once = yes ai_will_do = { factor = 10 - } remove_effect = { - set_technology = { - keyantech_hangmuyinqing = 1 + set_technology = { + keyantech_hangmuyinqing = 1 keyantech_jiku = 1 advanced_ship_hull_carrier = 1 } @@ -367,23 +352,23 @@ keyan_category = { type = ship_hull_carrier_3 parent_version = 0 modules = { - fixed_ship_deck_slot_1 = ship_deck_space_xzmf - fixed_ship_deck_slot_2 = empty - fixed_ship_anti_air_slot = ship_anti_air_2 - fixed_ship_radar_slot = empty - fixed_ship_engine_slot = carrier_ship_engine_xzmf - fixed_ship_secondaries_slot = ship_secondaries_1 - front_1_custom_slot = empty + fixed_ship_deck_slot_1 = ship_deck_space_xzmf + fixed_ship_deck_slot_2 = empty + fixed_ship_anti_air_slot = ship_anti_air_2 + fixed_ship_radar_slot = empty + fixed_ship_engine_slot = carrier_ship_engine_xzmf + fixed_ship_secondaries_slot = ship_secondaries_1 + front_1_custom_slot = empty } } hidden_effect = { add_equipment_production = { equipment = { type = ship_hull_carrier_3 - creator = ROOT + creator = ROOT version_name = "心智魔方试作型航空母舰" } - name = "心智魔方试作型航空母舰" + name = "心智魔方试作型航空母舰" requested_factories = 1 progress = 1 amount = 1 @@ -391,20 +376,23 @@ keyan_category = { } } } - ############################################################################################################################## DOH_daodantech = { icon = jian - visible = { tag = DOH } + visible = { + tag = DOH + } available = { if = { - limit = { is_ai = no } + limit = { + is_ai = no + } OR = { custom_trigger_tooltip = { tooltip = DOH_daodantech_trigger_tt has_country_flag = shikongchuansuo_get } - has_tech = advanced_rocket_engines + has_tech = advanced_rocket_engines } } } @@ -412,7 +400,9 @@ keyan_category = { days_remove = 30 cost = 150 remove_effect = { - set_technology = { keyantech_daodan = 1 } + set_technology = { + keyantech_daodan = 1 + } set_global_flag = DOH_faxiandaodan_get } ai_will_do = { @@ -425,16 +415,22 @@ keyan_category = { } buy_daodantech = { icon = jian - visible = { - NOT = { tag = DOH } + visible = { + NOT = { + tag = DOH + } is_ai = no - NOT = { has_tech = keyantech_daodan } + NOT = { + has_tech = keyantech_daodan + } has_global_flag = DOH_faxiandaodan_get } available = { - NOT = { has_tech = keyantech_daodan } + NOT = { + has_tech = keyantech_daodan + } custom_trigger_tooltip = { - tooltip = "" + tooltip = "" check_variable = { var = wz_sl value = 25000 @@ -450,73 +446,95 @@ keyan_category = { compare = greater_than_or_equals } } - days_remove = 2 cost = 300 complete_effect = { - add_to_variable = { wz_sl = -25000 } + add_to_variable = { + wz_sl = -25000 + } } remove_effect = { - set_technology = { keyantech_daodan = 1 } - if = { limit = { country_exists = DOH } - DOH = { country_event = junhuo.19 } + set_technology = { + keyantech_daodan = 1 + } + if = { + limit = { + country_exists = DOH + } + DOH = { + country_event = junhuo.19 + } } } } steal_daodantech = { icon = jian - visible = { - NOT = { tag = DOH } + visible = { + NOT = { + tag = DOH + } is_ai = no - NOT = { has_tech = keyantech_daodan } + NOT = { + has_tech = keyantech_daodan + } has_global_flag = DOH_faxiandaodan_get } available = { - NOT = { has_tech = keyantech_daodan } + NOT = { + has_tech = keyantech_daodan + } } days_remove = 7 cost = 300 remove_effect = { random_list = { 1 = { - set_technology = { keyantech_daodan = 1 } + set_technology = { + keyantech_daodan = 1 + } navy_experience = 10 - hidden_effect = { scoped_sound_effect = AZ_wancheng_sound } - } + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound + } + } 9 = { navy_experience = 1 - hidden_effect = { scoped_sound_effect = AZ_shibai_sound } + hidden_effect = { + scoped_sound_effect = AZ_shibai_sound + } } } - } } BYG_donglizhuangjiatech = { icon = jian - visible = { tag = BYG } + visible = { + tag = BYG + } available = { if = { - limit = { is_ai = no } + limit = { + is_ai = no + } OR = { AND = { has_tech = armor_tech_3 has_tech = nuclear_reactor } - custom_trigger_tooltip = { tooltip = DOH_daodantech_trigger_tt has_country_flag = shikongchuansuo_get } - } - } } fire_only_once = yes days_remove = 30 cost = 300 remove_effect = { - set_technology = { keyantech_donglizhuangjia = 1 } + set_technology = { + keyantech_donglizhuangjia = 1 + } set_global_flag = BYG_donglizhuangjiatech_get } ai_will_do = { @@ -529,16 +547,22 @@ keyan_category = { } buy_donglizhuangjiatech = { icon = jian - visible = { - NOT = { tag = BYG } + visible = { + NOT = { + tag = BYG + } is_ai = no - NOT = { has_tech = keyantech_donglizhuangjia } + NOT = { + has_tech = keyantech_donglizhuangjia + } has_global_flag = BYG_donglizhuangjiatech_get } available = { - NOT = { has_tech = keyantech_donglizhuangjia } + NOT = { + has_tech = keyantech_donglizhuangjia + } custom_trigger_tooltip = { - tooltip = "" + tooltip = "" check_variable = { var = wz_sl value = 25000 @@ -554,70 +578,87 @@ keyan_category = { compare = greater_than_or_equals } } - days_remove = 2 cost = 300 complete_effect = { - add_to_variable = { wz_sl = -25000 } + add_to_variable = { + wz_sl = -25000 + } } remove_effect = { - set_technology = { keyantech_donglizhuangjia = 1 } + set_technology = { + keyantech_donglizhuangjia = 1 + } } } steal_donglizhuangjiatech = { icon = jian - visible = { - NOT = { tag = BYG } + visible = { + NOT = { + tag = BYG + } is_ai = no - NOT = { has_tech = keyantech_donglizhuangjia } + NOT = { + has_tech = keyantech_donglizhuangjia + } has_global_flag = BYG_donglizhuangjiatech_get } available = { - NOT = { has_tech = keyantech_donglizhuangjia } + NOT = { + has_tech = keyantech_donglizhuangjia + } } days_remove = 7 cost = 300 remove_effect = { random_list = { 1 = { - set_technology = { keyantech_donglizhuangjia = 1 } + set_technology = { + keyantech_donglizhuangjia = 1 + } army_experience = 10 - hidden_effect = { scoped_sound_effect = AZ_wancheng_sound } - } + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound + } + } 9 = { army_experience = 1 - hidden_effect = { scoped_sound_effect = AZ_shibai_sound } + hidden_effect = { + scoped_sound_effect = AZ_shibai_sound + } } } - } } YUW_jupaotech = { icon = jian - visible = { tag = YUW } + visible = { + tag = YUW + } available = { if = { - limit = { is_ai = no } + limit = { + is_ai = no + } OR = { AND = { has_tech = artillery3 has_tech = antitank2 } - custom_trigger_tooltip = { tooltip = DOH_daodantech_trigger_tt has_country_flag = shikongchuansuo_get } - } - } } fire_only_once = yes days_remove = 30 cost = 200 remove_effect = { - set_technology = { keyantech_jupao = 1 } + set_technology = { + keyantech_jupao = 1 + } set_global_flag = YUW_jupaotech_get } ai_will_do = { @@ -630,16 +671,22 @@ keyan_category = { } buy_jupaotech = { icon = jian - visible = { - NOT = { tag = YUW } + visible = { + NOT = { + tag = YUW + } is_ai = no - NOT = { has_tech = keyantech_jupao } + NOT = { + has_tech = keyantech_jupao + } has_global_flag = YUW_jupaotech_get } available = { - NOT = { has_tech = keyantech_jupao } + NOT = { + has_tech = keyantech_jupao + } custom_trigger_tooltip = { - tooltip = "" + tooltip = "" check_variable = { var = wz_sl value = 25000 @@ -655,70 +702,86 @@ keyan_category = { compare = greater_than_or_equals } } - days_remove = 2 cost = 300 complete_effect = { - add_to_variable = { wz_sl = -25000 } + add_to_variable = { + wz_sl = -25000 + } } remove_effect = { - set_technology = { keyantech_jupao = 1 } - + set_technology = { + keyantech_jupao = 1 + } } } steal_jupaotech = { icon = jian - visible = { - NOT = { tag = YUW } + visible = { + NOT = { + tag = YUW + } is_ai = no - NOT = { has_tech = keyantech_jupao } + NOT = { + has_tech = keyantech_jupao + } has_global_flag = YUW_jupaotech_get } available = { - NOT = { has_tech = keyantech_jupao } + NOT = { + has_tech = keyantech_jupao + } } days_remove = 7 cost = 300 remove_effect = { random_list = { 1 = { - set_technology = { keyantech_jupao = 1 } + set_technology = { + keyantech_jupao = 1 + } army_experience = 10 - hidden_effect = { scoped_sound_effect = AZ_wancheng_sound } - } + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound + } + } 9 = { army_experience = 1 - hidden_effect = { scoped_sound_effect = AZ_shibai_sound } + hidden_effect = { + scoped_sound_effect = AZ_shibai_sound + } } } - } } CHY_hangmutech = { icon = jian - visible = { tag = CHY } + visible = { + tag = CHY + } available = { if = { - limit = { is_ai = no } + limit = { + is_ai = no + } OR = { AND = { has_tech = ship_hull_super_heavy } - custom_trigger_tooltip = { tooltip = DOH_daodantech_trigger_tt has_country_flag = shikongchuansuo_get } - } - } } fire_only_once = yes days_remove = 30 cost = 200 remove_effect = { - set_technology = { keyantech_juxinghangmu = 1 } + set_technology = { + keyantech_juxinghangmu = 1 + } set_global_flag = CHY_hangmutech_get } ai_will_do = { @@ -731,16 +794,22 @@ keyan_category = { } buy_hangmutech = { icon = jian - visible = { - NOT = { tag = CHY } + visible = { + NOT = { + tag = CHY + } is_ai = no - NOT = { has_tech = keyantech_juxinghangmu } + NOT = { + has_tech = keyantech_juxinghangmu + } has_global_flag = CHY_hangmutech_get } available = { - NOT = { has_tech = keyantech_juxinghangmu } + NOT = { + has_tech = keyantech_juxinghangmu + } custom_trigger_tooltip = { - tooltip = "" + tooltip = "" check_variable = { var = wz_sl value = 25000 @@ -756,71 +825,89 @@ keyan_category = { compare = greater_than_or_equals } } - days_remove = 2 cost = 300 complete_effect = { - add_to_variable = { wz_sl = -25000 } + add_to_variable = { + wz_sl = -25000 + } } remove_effect = { - set_technology = { keyantech_juxinghangmu = 1 } - + set_technology = { + keyantech_juxinghangmu = 1 + } } } steal_hangmutech = { icon = jian - visible = { - NOT = { tag = CHY } + visible = { + NOT = { + tag = CHY + } is_ai = no - NOT = { has_tech = keyantech_juxinghangmu } + NOT = { + has_tech = keyantech_juxinghangmu + } has_global_flag = CHY_hangmutech_get } available = { - NOT = { has_tech = keyantech_juxinghangmu } + NOT = { + has_tech = keyantech_juxinghangmu + } } days_remove = 7 cost = 300 remove_effect = { random_list = { 1 = { - set_technology = { keyantech_juxinghangmu = 1 } + set_technology = { + keyantech_juxinghangmu = 1 + } army_experience = 10 - hidden_effect = { scoped_sound_effect = AZ_wancheng_sound } - } + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound + } + } 9 = { army_experience = 1 - hidden_effect = { scoped_sound_effect = AZ_shibai_sound } + hidden_effect = { + scoped_sound_effect = AZ_shibai_sound + } } } - } } BFL_hangtiankeji = { icon = jian - visible = { tag = BFL } + visible = { + tag = BFL + } available = { if = { - limit = { is_ai = no } + limit = { + is_ai = no + } OR = { AND = { has_tech = nuclear_reactor } - custom_trigger_tooltip = { tooltip = DOH_daodantech_trigger_tt has_country_flag = shikongchuansuo_get } - } - } } fire_only_once = yes days_remove = 30 cost = 200 remove_effect = { - set_technology = { keyantech_feitingtoudanqi = 1 } - set_technology = { keyantech_hedonglifeijiyinqing = 1 } + set_technology = { + keyantech_feitingtoudanqi = 1 + } + set_technology = { + keyantech_hedonglifeijiyinqing = 1 + } set_global_flag = BFL_hangtiankeji_get } ai_will_do = { @@ -833,16 +920,22 @@ keyan_category = { } buy_hangtiankeji = { icon = jian - visible = { - NOT = { tag = BFL } + visible = { + NOT = { + tag = BFL + } is_ai = no - NOT = { has_tech = keyantech_feitingtoudanqi } + NOT = { + has_tech = keyantech_feitingtoudanqi + } has_global_flag = BFL_hangtiankeji } available = { - NOT = { has_tech = keyantech_feitingtoudanqi } + NOT = { + has_tech = keyantech_feitingtoudanqi + } custom_trigger_tooltip = { - tooltip = "" + tooltip = "" check_variable = { var = wz_sl value = 25000 @@ -858,51 +951,70 @@ keyan_category = { compare = greater_than_or_equals } } - days_remove = 2 cost = 300 complete_effect = { - add_to_variable = { wz_sl = -25000 } + add_to_variable = { + wz_sl = -25000 + } } remove_effect = { - set_technology = { keyantech_feitingtoudanqi = 1 } - set_technology = { keyantech_hedonglifeijiyinqing = 1 } - + set_technology = { + keyantech_feitingtoudanqi = 1 + } + set_technology = { + keyantech_hedonglifeijiyinqing = 1 + } } } steal_hangtiankeji = { icon = jian - visible = { - NOT = { tag = BFL } + visible = { + NOT = { + tag = BFL + } is_ai = no - NOT = { has_tech = keyantech_feitingtoudanqi } + NOT = { + has_tech = keyantech_feitingtoudanqi + } has_global_flag = BFL_hangtiankeji } available = { - NOT = { has_tech = keyantech_feitingtoudanqi } + NOT = { + has_tech = keyantech_feitingtoudanqi + } } days_remove = 7 cost = 300 remove_effect = { random_list = { 1 = { - set_technology = { keyantech_feitingtoudanqi = 1 } - set_technology = { keyantech_hedonglifeijiyinqing = 1 } + set_technology = { + keyantech_feitingtoudanqi = 1 + } + set_technology = { + keyantech_hedonglifeijiyinqing = 1 + } army_experience = 10 - hidden_effect = { scoped_sound_effect = AZ_wancheng_sound } - } + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound + } + } 9 = { army_experience = 1 - hidden_effect = { scoped_sound_effect = AZ_shibai_sound } + hidden_effect = { + scoped_sound_effect = AZ_shibai_sound + } } } - } } keyanxiezhu_quzhu_1 = { icon = chaijun available = { - NOT = { has_tech = shipgirltech_quzhupao_1 } + NOT = { + has_tech = shipgirltech_quzhupao_1 + } custom_trigger_tooltip = { tooltip = keyanxiezhu_quzhu_1_cost_trigger_tt check_variable = { @@ -910,34 +1022,48 @@ keyan_category = { } } if = { - limit = { has_government = communism } + limit = { + has_government = communism + } has_idea = BFL_zuozhanshiyanshi } if = { - limit = { has_government = democratic } + limit = { + has_government = democratic + } has_idea = BYG_zuozhanshiyanshi } if = { - limit = { has_government = neutrality } + limit = { + has_government = neutrality + } has_idea = DOH_zuozhanshiyanshi } if = { - limit = { has_government = fascism } + limit = { + has_government = fascism + } has_idea = TIX_zuozhanshiyanshi } - if = { - limit = { has_government = siren } - has_idea = SIR_zuozhanshiyanshi - } + # if = { + # limit = { + # has_government = siren + # } + # has_idea = SIR_zuozhanshiyanshi + # } } fire_only_once = yes days_remove = 30 cost = 80 complete_effect = { - add_to_variable = { wz_sl = -10000 } + add_to_variable = { + wz_sl = -10000 + } } remove_effect = { - set_technology = { shipgirltech_quzhupao_1 = 1 } + set_technology = { + shipgirltech_quzhupao_1 = 1 + } } ai_will_do = { base = 0 @@ -950,7 +1076,9 @@ keyan_category = { keyanxiezhu_xunyang_1 = { icon = chaijun available = { - NOT = { has_tech = shipgirltech_xunyangpao_1 } + NOT = { + has_tech = shipgirltech_xunyangpao_1 + } custom_trigger_tooltip = { tooltip = keyanxiezhu_quzhu_1_cost_trigger_tt check_variable = { @@ -958,34 +1086,48 @@ keyan_category = { } } if = { - limit = { has_government = communism } + limit = { + has_government = communism + } has_idea = BFL_zuozhanshiyanshi } if = { - limit = { has_government = democratic } + limit = { + has_government = democratic + } has_idea = BYG_zuozhanshiyanshi } if = { - limit = { has_government = neutrality } + limit = { + has_government = neutrality + } has_idea = DOH_zuozhanshiyanshi } if = { - limit = { has_government = fascism } + limit = { + has_government = fascism + } has_idea = TIX_zuozhanshiyanshi } - if = { - limit = { has_government = siren } - has_idea = SIR_zuozhanshiyanshi - } + # if = { + # limit = { + # has_government = siren + # } + # has_idea = SIR_zuozhanshiyanshi + # } } fire_only_once = yes days_remove = 30 cost = 100 complete_effect = { - add_to_variable = { wz_sl = -10000 } + add_to_variable = { + wz_sl = -10000 + } } remove_effect = { - set_technology = { shipgirltech_xunyangpao_1 = 1 } + set_technology = { + shipgirltech_xunyangpao_1 = 1 + } } ai_will_do = { base = 0 @@ -998,7 +1140,9 @@ keyan_category = { keyanxiezhu_zhanlie_1 = { icon = chaijun available = { - NOT = { has_tech = shipgirltech_zhanliepao_1 } + NOT = { + has_tech = shipgirltech_zhanliepao_1 + } custom_trigger_tooltip = { tooltip = keyanxiezhu_quzhu_1_cost_trigger_tt check_variable = { @@ -1006,34 +1150,48 @@ keyan_category = { } } if = { - limit = { has_government = communism } + limit = { + has_government = communism + } has_idea = BFL_zuozhanshiyanshi } if = { - limit = { has_government = democratic } + limit = { + has_government = democratic + } has_idea = BYG_zuozhanshiyanshi } if = { - limit = { has_government = neutrality } + limit = { + has_government = neutrality + } has_idea = DOH_zuozhanshiyanshi } if = { - limit = { has_government = fascism } + limit = { + has_government = fascism + } has_idea = TIX_zuozhanshiyanshi } - if = { - limit = { has_government = siren } - has_idea = SIR_zuozhanshiyanshi - } + # if = { + # limit = { + # has_government = siren + # } + # has_idea = SIR_zuozhanshiyanshi + # } } fire_only_once = yes days_remove = 30 cost = 150 complete_effect = { - add_to_variable = { wz_sl = -10000 } + add_to_variable = { + wz_sl = -10000 + } } remove_effect = { - set_technology = { shipgirltech_zhanliepao_1 = 1 } + set_technology = { + shipgirltech_zhanliepao_1 = 1 + } } ai_will_do = { base = 0 @@ -1046,7 +1204,9 @@ keyan_category = { keyanxiezhu_zujiekeyanxiaozu_1 = { icon = manjiu available = { - NOT = { has_country_flag = keyanxiezhu_zujiekeyanxiaozu_2_get } + NOT = { + has_country_flag = keyanxiezhu_zujiekeyanxiaozu_2_get + } custom_trigger_tooltip = { tooltip = keyanxiezhu_zujiekeyanxiaozu_1_cost_trigger_tt check_variable = { @@ -1054,29 +1214,41 @@ keyan_category = { } } if = { - limit = { has_government = communism } + limit = { + has_government = communism + } has_idea = BFL_zuozhanshiyanshi } if = { - limit = { has_government = democratic } + limit = { + has_government = democratic + } has_idea = BYG_zuozhanshiyanshi } if = { - limit = { has_government = neutrality } + limit = { + has_government = neutrality + } has_idea = DOH_zuozhanshiyanshi } if = { - limit = { has_government = fascism } + limit = { + has_government = fascism + } has_idea = TIX_zuozhanshiyanshi } - if = { - limit = { has_government = siren } - has_idea = SIR_zuozhanshiyanshi - } + # if = { + # limit = { + # has_government = siren + # } + # has_idea = SIR_zuozhanshiyanshi + # } } days_remove = 180 complete_effect = { - add_to_variable = { wz_sl = -12000 } + add_to_variable = { + wz_sl = -12000 + } add_research_slot = 1 set_country_flag = keyanxiezhu_zujiekeyanxiaozu_1_doing } @@ -1086,7 +1258,6 @@ keyan_category = { } ai_will_do = { base = 0 - } } keyanxiezhu_zujiekeyanxiaozu_2 = { @@ -1102,38 +1273,49 @@ keyan_category = { } } if = { - limit = { has_government = communism } + limit = { + has_government = communism + } has_idea = BFL_zuozhanshiyanshi } if = { - limit = { has_government = democratic } + limit = { + has_government = democratic + } has_idea = BYG_zuozhanshiyanshi } if = { - limit = { has_government = neutrality } + limit = { + has_government = neutrality + } has_idea = DOH_zuozhanshiyanshi } if = { - limit = { has_government = fascism } + limit = { + has_government = fascism + } has_idea = TIX_zuozhanshiyanshi } - if = { - limit = { has_government = siren } - has_idea = SIR_zuozhanshiyanshi - } + # if = { + # limit = { + # has_government = siren + # } + # has_idea = SIR_zuozhanshiyanshi + # } } fire_only_once = yes complete_effect = { add_research_slot = 1 custom_effect_tooltip = keyanxiezhu_zujiekeyanxiaozu_2_tt hidden_effect = { - add_to_variable = { zs_sl = -888 } + add_to_variable = { + zs_sl = -888 + } set_country_flag = keyanxiezhu_zujiekeyanxiaozu_2_get } } ai_will_do = { base = 0 - } } -} \ No newline at end of file +} diff --git a/src/common/decisions/liluntupo_decisions.txt b/src/common/decisions/liluntupo_decisions.txt index 59f9dfd..7c781cd 100755 --- a/src/common/decisions/liluntupo_decisions.txt +++ b/src/common/decisions/liluntupo_decisions.txt @@ -21,21 +21,22 @@ liluntupo_category = { custom_cost_trigger = { has_army_experience > 100 } - custom_cost_text = liluntupo_armyexp_100 days_remove = 180 ai_will_do = { factor = 1000 } fire_only_once = yes - complete_effect = { + complete_effect = { hidden_effect = { army_experience = -100 } set_country_flag = TY_army_jidong } remove_effect = { - set_technology = { mobile_warfare = 1 } + set_technology = { + mobile_warfare = 1 + } } } army_youhuo = { @@ -60,21 +61,22 @@ liluntupo_category = { custom_cost_trigger = { has_army_experience > 100 } - custom_cost_text = liluntupo_armyexp_100 days_remove = 180 ai_will_do = { factor = 1000 } fire_only_once = yes - complete_effect = { + complete_effect = { hidden_effect = { army_experience = -100 } set_country_flag = TY_army_youhuo } remove_effect = { - set_technology = { superior_firepower = 1 } + set_technology = { + superior_firepower = 1 + } } } army_juezhan = { @@ -99,21 +101,22 @@ liluntupo_category = { custom_cost_trigger = { has_army_experience > 100 } - custom_cost_text = liluntupo_armyexp_100 days_remove = 180 ai_will_do = { factor = 1000 } fire_only_once = yes - complete_effect = { + complete_effect = { hidden_effect = { army_experience = -100 } set_country_flag = TY_army_juezhan } remove_effect = { - set_technology = { trench_warfare = 1 } + set_technology = { + trench_warfare = 1 + } } } army_renhai = { @@ -126,7 +129,9 @@ liluntupo_category = { } visible = { has_country_flag = TY_army_liluntupo - NOT = { has_tech = mass_assault } + NOT = { + has_tech = mass_assault + } NOT = { OR = { has_country_flag = TY_army_jidong @@ -138,21 +143,22 @@ liluntupo_category = { custom_cost_trigger = { has_army_experience > 100 } - custom_cost_text = liluntupo_armyexp_100 days_remove = 180 ai_will_do = { factor = 1000 } fire_only_once = yes - complete_effect = { + complete_effect = { hidden_effect = { army_experience = -100 } set_country_flag = TY_army_renhai } remove_effect = { - set_technology = { mass_assault = 1 } + set_technology = { + mass_assault = 1 + } } } navy_cunzai = { @@ -160,13 +166,14 @@ liluntupo_category = { available = { custom_trigger_tooltip = { tooltip = "" - has_navy_experience > 100 } } visible = { has_country_flag = TY_navy_liluntupo - NOT = { has_tech = fleet_in_being } + NOT = { + has_tech = fleet_in_being + } NOT = { OR = { has_country_flag = TY_navy_zuduan @@ -177,21 +184,22 @@ liluntupo_category = { custom_cost_trigger = { has_navy_experience > 100 } - custom_cost_text = liluntupo_navyexp_100 days_remove = 180 ai_will_do = { factor = 1000 } fire_only_once = yes - complete_effect = { + complete_effect = { hidden_effect = { navy_experience = -100 } set_country_flag = TY_navy_cunzai } remove_effect = { - set_technology = { fleet_in_being = 1 } + set_technology = { + fleet_in_being = 1 + } } } navy_zuduan = { @@ -199,13 +207,14 @@ liluntupo_category = { available = { custom_trigger_tooltip = { tooltip = "" - has_navy_experience > 100 } } visible = { has_country_flag = TY_navy_liluntupo - NOT = { has_tech = trade_interdiction } + NOT = { + has_tech = trade_interdiction + } NOT = { OR = { has_country_flag = TY_navy_cunzai @@ -216,21 +225,22 @@ liluntupo_category = { custom_cost_trigger = { has_navy_experience > 100 } - custom_cost_text = liluntupo_navyexp_100 days_remove = 180 ai_will_do = { factor = 1000 } fire_only_once = yes - complete_effect = { + complete_effect = { hidden_effect = { navy_experience = -100 } set_country_flag = TY_navy_zuduan } remove_effect = { - set_technology = { trade_interdiction = 1 } + set_technology = { + trade_interdiction = 1 + } } } navy_daji = { @@ -238,13 +248,14 @@ liluntupo_category = { available = { custom_trigger_tooltip = { tooltip = "" - has_navy_experience > 100 } } visible = { has_country_flag = TY_navy_liluntupo - NOT = { has_tech = base_strike } + NOT = { + has_tech = base_strike + } NOT = { OR = { has_country_flag = TY_navy_cunzai @@ -255,21 +266,22 @@ liluntupo_category = { custom_cost_trigger = { has_navy_experience > 100 } - custom_cost_text = liluntupo_navyexp_100 days_remove = 180 ai_will_do = { factor = 1000 } fire_only_once = yes - complete_effect = { + complete_effect = { hidden_effect = { navy_experience = -100 } set_country_flag = TY_navy_daji } remove_effect = { - set_technology = { base_strike = 1 } + set_technology = { + base_strike = 1 + } } } air_pohuai = { @@ -277,13 +289,14 @@ liluntupo_category = { available = { custom_trigger_tooltip = { tooltip = "" - has_air_experience > 100 } } visible = { has_country_flag = TY_air_liluntupo - NOT = { has_tech = air_superiority } + NOT = { + has_tech = air_superiority + } NOT = { OR = { has_country_flag = TY_air_zhiyuan @@ -294,21 +307,22 @@ liluntupo_category = { custom_cost_trigger = { has_air_experience > 100 } - custom_cost_text = liluntupo_airexp_100 days_remove = 180 ai_will_do = { factor = 1000 } fire_only_once = yes - complete_effect = { + complete_effect = { hidden_effect = { air_experience = -100 } set_country_flag = TY_air_pohuai } remove_effect = { - set_technology = { air_superiority = 1 } + set_technology = { + air_superiority = 1 + } } } air_zhiyuan = { @@ -316,13 +330,14 @@ liluntupo_category = { available = { custom_trigger_tooltip = { tooltip = "" - has_air_experience > 100 } } visible = { has_country_flag = TY_air_liluntupo - NOT = { has_tech = formation_flying } + NOT = { + has_tech = formation_flying + } NOT = { OR = { has_country_flag = TY_air_pohuai @@ -333,21 +348,22 @@ liluntupo_category = { custom_cost_trigger = { has_air_experience > 100 } - custom_cost_text = liluntupo_airexp_100 days_remove = 180 ai_will_do = { factor = 1000 } fire_only_once = yes - complete_effect = { + complete_effect = { hidden_effect = { air_experience = -100 } set_country_flag = TY_air_zhiyuan } remove_effect = { - set_technology = { formation_flying = 1 } + set_technology = { + formation_flying = 1 + } } } air_zuozhan = { @@ -355,13 +371,14 @@ liluntupo_category = { available = { custom_trigger_tooltip = { tooltip = "" - has_air_experience > 100 } } visible = { has_country_flag = TY_air_liluntupo - NOT = { has_tech = force_rotation } + NOT = { + has_tech = force_rotation + } NOT = { OR = { has_country_flag = TY_air_pohuai @@ -372,21 +389,22 @@ liluntupo_category = { custom_cost_trigger = { has_air_experience > 100 } - custom_cost_text = liluntupo_airexp_100 days_remove = 180 ai_will_do = { factor = 1000 } fire_only_once = yes - complete_effect = { + complete_effect = { hidden_effect = { air_experience = -100 } set_country_flag = TY_air_zuozhan } remove_effect = { - set_technology = { force_rotation = 1 } + set_technology = { + force_rotation = 1 + } } } } diff --git a/src/common/decisions/shipgirl_jiefang_decisions.txt b/src/common/decisions/shipgirl_jiefang_decisions.txt index 33c5104..392d137 100755 --- a/src/common/decisions/shipgirl_jiefang_decisions.txt +++ b/src/common/decisions/shipgirl_jiefang_decisions.txt @@ -1,50 +1,50 @@ #购买武器(1政治点=15的IC产能) 1军工满效率每天5IC产出 10把步枪(净生产量+三分之一) 1.42火炮(净生产量+五分之一) 2卡车(净生产量+四分之一) jiefanglingtu_category = { - yaoqiuguihuanhexinlingtu_mapdecision = { - icon = lansegantan state_target = yes on_map_mode = map_only target_array = core_states highlight_color_while_active = 1 - ai_will_do = { factor = 0 - } cost = 100 - available = { custom_trigger_tooltip = { tooltip = yaoqiuguihuanhexinlingtu_mapdecision_trigger_tooltip FROM = { - controller = { NOT = { has_war_with = ROOT } } + controller = { + NOT = { + has_war_with = ROOT + } + } } } is_puppet = NO FROM = { - NOT = { is_controlled_by = ROOT } + NOT = { + is_controlled_by = ROOT + } } } - target_trigger = { FROM = { always = yes } } - visible = { NOT = { has_country_flag = yaoqiuguihuanhexinlingtu_mapdecision_cd } - FROM = { + FROM = { is_core_of = ROOT - - NOT = { has_state_flag = shouhuihexinlingtu_doing } - - NOT = { is_controlled_by = ROOT } - + NOT = { + has_state_flag = shouhuihexinlingtu_doing + } + NOT = { + is_controlled_by = ROOT + } NOT = { OR = { is_controlled_by = SIR @@ -52,7 +52,7 @@ jiefanglingtu_category = { is_controlled_by = SR2 is_controlled_by = SR3 is_controlled_by = SR4 - } + } } } } @@ -63,20 +63,21 @@ jiefanglingtu_category = { value = 1 } FROM = { - controller = { - country_event = { id = azevent.66 hours = 12 } + controller = { + country_event = { + id = azevent.66 + hours = 12 + } } } } } shouhuihexinlingtu_mapdecision = { - icon = hongsegantan state_target = yes on_map_mode = map_only target_array = core_states highlight_color_while_active = 1 - ai_will_do = { factor = 0 modifier = { @@ -93,19 +94,18 @@ jiefanglingtu_category = { modifier = { civilian_factory_use = 5 } - target_trigger = { FROM = { always = yes } } - visible = { - FROM = { + FROM = { has_state_flag = shouhuihexinlingtu_doing is_core_of = ROOT - NOT = { is_controlled_by = ROOT } - + NOT = { + is_controlled_by = ROOT + } NOT = { OR = { is_controlled_by = SIR @@ -113,22 +113,25 @@ jiefanglingtu_category = { is_controlled_by = SR2 is_controlled_by = SR3 is_controlled_by = SR4 - } + } } } } available = { num_of_civilian_factories_available_for_projects > 4 FROM = { - NOT = { is_controlled_by = ROOT } + NOT = { + is_controlled_by = ROOT + } } } - remove_effect = { ROOT = { transfer_state = FROM FROM = { - controller = { remove_state_core = FROM } + controller = { + remove_state_core = FROM + } clr_state_flag = shouhuihexinlingtu_doing } } diff --git a/src/common/decisions/tianjiang_aizuobi_decisions.txt b/src/common/decisions/tianjiang_aizuobi_decisions.txt index 4938df7..d5442ba 100755 --- a/src/common/decisions/tianjiang_aizuobi_decisions.txt +++ b/src/common/decisions/tianjiang_aizuobi_decisions.txt @@ -1,5 +1,5 @@ tianjiang_aizuobi = { - ai_byg_ruzhan_fa = { + ai_byg_ruzhan_fa = { available = { date > 1940.4.1 tag = BYG @@ -16,16 +16,18 @@ tianjiang_aizuobi = { factor = 10000 } fire_only_once = yes - complete_effect = { - set_technology = { mobile_warfare = 1 } + complete_effect = { + set_technology = { + mobile_warfare = 1 + } complete_national_focus = BYG_ziyouhanweizhe complete_national_focus = BYG_bilanhangxianfangyutongmeng complete_national_focus = BYG_lianbangdeyingxiong complete_national_focus = BYG_zongtongqinshangzhen complete_national_focus = BYG_xiandaishandianzhan } - } - ai_huj_zhimindi_fa = { + } + ai_huj_zhimindi_fa = { available = { date > 1939.10.10 tag = HUJ @@ -42,32 +44,42 @@ tianjiang_aizuobi = { factor = 10000 } fire_only_once = yes - complete_effect = { + complete_effect = { complete_national_focus = HUJ_tongzhibabuliedianhuj } - } - ai_tix_zaozhanbeilianzuobi = { + } + ai_tix_zaozhanbeilianzuobi = { available = { date > 1939.12.30 tag = TIX is_puppet = no - or = { - has_idea = TY_fengkuangai - has_idea = TY_fengkuangai2 - has_idea = TY_fengkuangai3 + OR = { + has_idea = TY_fengkuangai + has_idea = TY_fengkuangai2 + has_idea = TY_fengkuangai3 } is_ai = yes has_government = fascism has_global_flag = MOD_azurlane_tianjiangjianniang - or = { - BFL = { is_ai = no } - BYG = { is_ai = no } + OR = { + BFL = { + is_ai = no + } + BYG = { + is_ai = no + } } OR = { - YUW = { has_capitulated = yes } - NOT = { country_exists = YUW } + YUW = { + has_capitulated = yes + } + NOT = { + country_exists = YUW + } + } + NOT = { + has_global_flag = modoption_historicalbossai_on } - not = { has_global_flag = modoption_historicalbossai_on } } visible = { is_ai = yes @@ -78,45 +90,55 @@ tianjiang_aizuobi = { } fire_only_once = yes days_remove = 180 - complete_effect = { + complete_effect = { complete_national_focus = TIX_siweichuangxin complete_national_focus = TIX_libingmoma complete_national_focus = TIX_feixuzhixia - BFL = { country_event = az_tianjiang.231 } - BYG = { country_event = az_tianjiang.231 } - add_ai_strategy = { - type = prepare_for_war - id = "BFL" - value = 500 + BFL = { + country_event = az_tianjiang.231 + } + BYG = { + country_event = az_tianjiang.231 + } + add_ai_strategy = { + type = prepare_for_war + id = "BFL" + value = 500 } - } remove_effect = { complete_national_focus = TIX_qifujuxiong complete_national_focus = TIX_zhifujuxiong } - } - - ai_tix_zaozhanbeilianzuobi2 = { + } + ai_tix_zaozhanbeilianzuobi2 = { available = { date > 1940.6.30 tag = TIX is_puppet = no - or = { - has_idea = TY_fengkuangai - has_idea = TY_fengkuangai2 - has_idea = TY_fengkuangai3 + OR = { + has_idea = TY_fengkuangai + has_idea = TY_fengkuangai2 + has_idea = TY_fengkuangai3 } is_ai = yes has_government = fascism has_global_flag = MOD_azurlane_tianjiangjianniang - or = { - BFL = { is_ai = no } - BYG = { is_ai = no } + OR = { + BFL = { + is_ai = no + } + BYG = { + is_ai = no + } } OR = { - YUW = { has_capitulated = yes } - NOT = { country_exists = YUW } + YUW = { + has_capitulated = yes + } + NOT = { + country_exists = YUW + } } has_global_flag = modoption_historicalbossai_on } @@ -129,40 +151,46 @@ tianjiang_aizuobi = { } fire_only_once = yes days_remove = 180 - complete_effect = { + complete_effect = { complete_national_focus = TIX_siweichuangxin complete_national_focus = TIX_libingmoma complete_national_focus = TIX_feixuzhixia - BFL = { country_event = az_tianjiang.231 } - BYG = { country_event = az_tianjiang.231 } - add_ai_strategy = { - type = prepare_for_war - id = "BFL" - value = 500 + BFL = { + country_event = az_tianjiang.231 + } + BYG = { + country_event = az_tianjiang.231 + } + add_ai_strategy = { + type = prepare_for_war + id = "BFL" + value = 500 } - } remove_effect = { complete_national_focus = TIX_qifujuxiong complete_national_focus = TIX_zhifujuxiong } - } - - ai_tix_jinzhitaoke = { + } + ai_tix_jinzhitaoke = { available = { date > 1940.1.1 tag = TIX is_puppet = no - or = { - has_idea = TY_fengkuangai - has_idea = TY_fengkuangai2 - has_idea = TY_fengkuangai3 + OR = { + has_idea = TY_fengkuangai + has_idea = TY_fengkuangai2 + has_idea = TY_fengkuangai3 } is_ai = yes has_government = fascism has_global_flag = MOD_azurlane_tianjiangjianniang - YUW = { is_ai = no } - BFL = { is_ai = yes } + YUW = { + is_ai = no + } + BFL = { + is_ai = yes + } has_war_with = BFL } visible = { @@ -179,183 +207,257 @@ tianjiang_aizuobi = { attack_bonus_against = 99.99 defense_bonus_against = 99.99 } - - } - - ai_jianngshi_zuobi = { + } + ai_jianngshi_zuobi = { available = { - or = { - has_idea = TY_fengkuangai - has_idea = TY_fengkuangai2 - has_idea = TY_fengkuangai3 + OR = { + has_idea = TY_fengkuangai + has_idea = TY_fengkuangai2 + has_idea = TY_fengkuangai3 } is_ai = yes date > 1940.1.1 } - visible = { + visible = { is_ai = yes } ai_will_do = { factor = 10000 } fire_only_once = yes - complete_effect = { - set_technology = { shipgirltech_jichulilun = 1 } - set_technology = { shipgirltech_quzhupao_1 = 1 } - set_technology = { shipgirltech_quzhupao_2 = 1 } - set_technology = { shipgirltech_quzhupao_3 = 1 } - set_technology = { shipgirltech_xunyangpao_1 = 1 } - set_technology = { shipgirltech_xunyangpao_2 = 1 } - set_technology = { shipgirltech_xunyangpao_3 = 1 } - set_technology = { shipgirltech_zhanliepao_1 = 1 } - set_technology = { shipgirltech_zhanliepao_2 = 1 } - set_technology = { shipgirltech_zhanliepao_3 = 1 } - set_technology = { shipgirltech_zuozhanlilun_1 = 1 } - set_technology = { shipgirltech_zuozhanlilun_2 = 1 } - set_technology = { shipgirltech_zuozhanlilun_3 = 1 } - set_technology = { shipgirltech_jizaijianniang_2 = 1 } + complete_effect = { + set_technology = { + shipgirltech_jichulilun = 1 + } + set_technology = { + shipgirltech_quzhupao_1 = 1 + } + set_technology = { + shipgirltech_quzhupao_2 = 1 + } + set_technology = { + shipgirltech_quzhupao_3 = 1 + } + set_technology = { + shipgirltech_xunyangpao_1 = 1 + } + set_technology = { + shipgirltech_xunyangpao_2 = 1 + } + set_technology = { + shipgirltech_xunyangpao_3 = 1 + } + set_technology = { + shipgirltech_zhanliepao_1 = 1 + } + set_technology = { + shipgirltech_zhanliepao_2 = 1 + } + set_technology = { + shipgirltech_zhanliepao_3 = 1 + } + set_technology = { + shipgirltech_zuozhanlilun_1 = 1 + } + set_technology = { + shipgirltech_zuozhanlilun_2 = 1 + } + set_technology = { + shipgirltech_zuozhanlilun_3 = 1 + } + set_technology = { + shipgirltech_jizaijianniang_2 = 1 + } } - - } - - ai_jianngshi_zuobi_2 = { + } + ai_jianngshi_zuobi_2 = { available = { - or = { - has_idea = TY_fengkuangai - has_idea = TY_fengkuangai2 - has_idea = TY_fengkuangai3 + OR = { + has_idea = TY_fengkuangai + has_idea = TY_fengkuangai2 + has_idea = TY_fengkuangai3 } is_ai = yes date > 1942.1.1 } - visible = { + visible = { is_ai = yes } ai_will_do = { factor = 10000 } fire_only_once = yes - complete_effect = { - set_technology = { shipgirltech_zhinenghuajianzhuang = 1 } - set_technology = { shipgirltech_zuozhanlilun_4 = 1 } - set_technology = { shipgirltech_zuozhanlilun_5 = 1 } + complete_effect = { + set_technology = { + shipgirltech_zhinenghuajianzhuang = 1 + } + set_technology = { + shipgirltech_zuozhanlilun_4 = 1 + } + set_technology = { + shipgirltech_zuozhanlilun_5 = 1 + } } - - } - - ai_jianngshi_zuobi_3 = { + } + ai_jianngshi_zuobi_3 = { available = { - or = { - has_idea = TY_fengkuangai - has_idea = TY_fengkuangai2 - has_idea = TY_fengkuangai3 + OR = { + has_idea = TY_fengkuangai + has_idea = TY_fengkuangai2 + has_idea = TY_fengkuangai3 } is_ai = yes date > 1940.6.1 } - visible = { + visible = { is_ai = yes } ai_will_do = { factor = 10000 } fire_only_once = yes - complete_effect = { + complete_effect = { division_template = { - name = "舰娘师" + name = "舰娘师" division_names_group = shipgirl_zhanlie_01 is_locked = yes regiments = { - shipgirl_brigade_quzhu = { x = 0 y = 0 } - shipgirl_brigade_quzhu = { x = 0 y = 1 } - shipgirl_brigade_quzhu = { x = 0 y = 2 } - shipgirl_brigade_quzhu = { x = 0 y = 3 } - shipgirl_brigade_quzhu = { x = 1 y = 0 } - shipgirl_brigade_quzhu = { x = 1 y = 1 } - shipgirl_brigade_zhanlie = { x = 2 y = 0 } - shipgirl_brigade_zhanlie = { x = 2 y = 1 } - shipgirl_brigade_zhanlie = { x = 2 y = 2 } - shipgirl_brigade_zhanlie = { x = 2 y = 3 } - shipgirl_brigade_zhanlie = { x = 3 y = 0 } - shipgirl_brigade_zhanlie = { x = 3 y = 1 } + shipgirl_brigade_quzhu = { + x = 0 + y = 0 + } + shipgirl_brigade_quzhu = { + x = 0 + y = 1 + } + shipgirl_brigade_quzhu = { + x = 0 + y = 2 + } + shipgirl_brigade_quzhu = { + x = 0 + y = 3 + } + shipgirl_brigade_quzhu = { + x = 1 + y = 0 + } + shipgirl_brigade_quzhu = { + x = 1 + y = 1 + } + shipgirl_brigade_zhanlie = { + x = 2 + y = 0 + } + shipgirl_brigade_zhanlie = { + x = 2 + y = 1 + } + shipgirl_brigade_zhanlie = { + x = 2 + y = 2 + } + shipgirl_brigade_zhanlie = { + x = 2 + y = 3 + } + shipgirl_brigade_zhanlie = { + x = 3 + y = 0 + } + shipgirl_brigade_zhanlie = { + x = 3 + y = 1 + } } support = { - engineer = { x = 0 y = 0 } # (semi-mot) Engineer bn - light_tank_recon = { x = 0 y = 1 } - medium_flame_tank = { x = 0 y = 2 } - fight_shipgirl_tuji = { x = 0 y = 3 } - fight_shipgirl_fankong = { x = 0 y = 4 } + engineer = { + x = 0 + y = 0 + } + # (semi-mot) Engineer bn + light_tank_recon = { + x = 0 + y = 1 + } + medium_flame_tank = { + x = 0 + y = 2 + } + fight_shipgirl_tuji = { + x = 0 + y = 3 + } + fight_shipgirl_fankong = { + x = 0 + y = 4 + } } } - for_loop_effect = { + for_loop_effect = { start = 0 end = 6 - add = 1 - + add = 1 capital_scope = { create_unit = { division = "name = \"强袭舰娘师\" division_template = \"舰娘师\" start_experience_factor = 1 start_equipment_factor = 1" owner = ROOT - } + } } } create_railway_gun = { - equipment = az_equipment_liechepao_1 - name = "终极猫猫头" + equipment = az_equipment_liechepao_1 + name = "终极猫猫头" } create_railway_gun = { - equipment = az_equipment_liechepao_1 - name = "终极猫猫头" + equipment = az_equipment_liechepao_1 + name = "终极猫猫头" } } - - } - - ai_jianngshi_zuobi_4 = { + } + ai_jianngshi_zuobi_4 = { available = { - or = { - has_idea = TY_fengkuangai - has_idea = TY_fengkuangai2 - has_idea = TY_fengkuangai3 + OR = { + has_idea = TY_fengkuangai + has_idea = TY_fengkuangai2 + has_idea = TY_fengkuangai3 } is_ai = yes date > 1941.6.1 } - visible = { + visible = { is_ai = yes } days_re_enable = 365 ai_will_do = { factor = 10000 } - complete_effect = { - for_loop_effect = { + complete_effect = { + for_loop_effect = { start = 0 end = 4 - add = 1 - + add = 1 capital_scope = { create_unit = { division = "name = \"强袭舰娘师\" division_template = \"舰娘师\" start_experience_factor = 0.3 start_equipment_factor = 1" owner = ROOT - } + } } } create_railway_gun = { - equipment = az_equipment_liechepao_1 - name = "终极猫猫头" + equipment = az_equipment_liechepao_1 + name = "终极猫猫头" } } - - } - - zuobi = { + } + zuobi = { available = { tag = TIX is_ai = yes date > 1938.1.1 } - visible = { + visible = { tag = TIX is_ai = yes } @@ -363,27 +465,25 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { - add_equipment_to_stockpile = { - type = medium_tank_chassis - amount = 6000 + complete_effect = { + add_equipment_to_stockpile = { + type = medium_tank_chassis + amount = 6000 producer = TIX } - add_equipment_to_stockpile = { - type = motorized_equipment - amount = 6000 + add_equipment_to_stockpile = { + type = motorized_equipment + amount = 6000 producer = TIX - } + } } - - } - - zuobi_beilian = { + } + zuobi_beilian = { available = { tag = BFL is_ai = yes } - visible = { + visible = { tag = BFL is_ai = yes } @@ -391,19 +491,17 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { add_political_power = 450 } - - } - - zuobi_beilian_2 = { + } + zuobi_beilian_2 = { available = { tag = BFL is_ai = yes date > 1940.1.1 } - visible = { + visible = { tag = BFL is_ai = yes date > 1940.1.1 @@ -412,20 +510,18 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { add_political_power = 450 } - - } - - zuobi_beilian_3 = { + } + zuobi_beilian_3 = { available = { tag = BFL is_ai = yes has_war_with = TIX surrender_progress > 0.35 } - visible = { + visible = { tag = BFL is_ai = yes has_war_with = TIX @@ -435,19 +531,17 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { add_political_power = 1000 } - - } - - zuobi_baiying = { + } + zuobi_baiying = { available = { tag = BYG is_ai = yes date > 1939.6.1 } - visible = { + visible = { tag = BYG is_ai = yes } @@ -455,40 +549,80 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { - army_experience = 1000 - set_technology = { interwar_antitank = 1 } - set_technology = { armor_tech_1 = 1 } - set_technology = { armor_tech_2 = 1 } - set_technology = { antitank1 = 1 } - set_technology = { antitank2 = 1 } - set_technology = { antitank3 = 1 } - set_technology = { rocket_artillery = 1 } - set_technology = { amphibious_mechanized_infantry = 1 } - set_technology = { amphibious_tank_chassis = 1} - set_technology = { amphibious_drive = 1} - set_technology = { interwar_antiair = 1 } - set_technology = { centimetric_radar = 1 } - set_technology = { improved_decimetric_radar = 1 } - set_technology = { decimetric_radar = 1 } - set_technology = { radio_detection = 1 } - set_technology = { radio = 1 } - set_technology = { tech_engineers2 = 1} - set_technology = { engine_tech_1 = 1 } - set_technology = { engine_tech_2 = 1 } - set_technology = { mtg_landing_craft = 1 } - set_technology = { mtg_tank_landing_craft = 1 } - } - + complete_effect = { + army_experience = 1000 + set_technology = { + interwar_antitank = 1 + } + set_technology = { + armor_tech_1 = 1 + } + set_technology = { + armor_tech_2 = 1 + } + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } + set_technology = { + rocket_artillery = 1 + } + set_technology = { + amphibious_mechanized_infantry = 1 + } + set_technology = { + amphibious_tank_chassis = 1 + } + set_technology = { + amphibious_drive = 1 + } + set_technology = { + interwar_antiair = 1 + } + set_technology = { + centimetric_radar = 1 + } + set_technology = { + improved_decimetric_radar = 1 + } + set_technology = { + decimetric_radar = 1 + } + set_technology = { + radio_detection = 1 + } + set_technology = { + radio = 1 + } + set_technology = { + tech_engineers2 = 1 + } + set_technology = { + engine_tech_1 = 1 + } + set_technology = { + engine_tech_2 = 1 + } + set_technology = { + mtg_landing_craft = 1 + } + set_technology = { + mtg_tank_landing_craft = 1 + } } - - zuobi_2 = { + } + zuobi_2 = { available = { tag = BYG is_ai = yes date > 1940.1.1 } - visible = { + visible = { tag = BYG is_ai = yes } @@ -496,39 +630,46 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { army_experience = 2000 navy_experience = 2000 air_experience = 2000 - add_equipment_to_stockpile = { - type = medium_tank_amphibious_chassis - amount = 2000 + add_equipment_to_stockpile = { + type = medium_tank_amphibious_chassis + amount = 2000 producer = BYG } - add_equipment_to_stockpile = { - type = medium_tank_chassis - amount = 2000 + add_equipment_to_stockpile = { + type = medium_tank_chassis + amount = 2000 producer = BYG } } - } - - - - zuobi_baiying_2 = { + } + zuobi_baiying_2 = { available = { tag = BYG is_ai = yes date > 1940.3.1 - or = { - TIX = {is_ai = no} - SAD = {is_ai = no} - BFL = {is_ai = no} - CHY = {is_ai = no} - YUW = {is_ai = no} + OR = { + TIX = { + is_ai = no + } + SAD = { + is_ai = no + } + BFL = { + is_ai = no + } + CHY = { + is_ai = no + } + YUW = { + is_ai = no + } } } - visible = { + visible = { tag = BYG is_ai = yes } @@ -536,42 +677,42 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { army_experience = 2000 navy_experience = 2000 air_experience = 2000 - add_equipment_to_stockpile = { - type = medium_tank_amphibious_chassis - amount = 8000 + add_equipment_to_stockpile = { + type = medium_tank_amphibious_chassis + amount = 8000 producer = BYG } - add_equipment_to_stockpile = { - type = medium_tank_chassis - amount = 8000 + add_equipment_to_stockpile = { + type = medium_tank_chassis + amount = 8000 producer = BYG } } - - } - - zuobi_baiying_3 = { + } + zuobi_baiying_3 = { available = { tag = BYG is_ai = yes date > 1939.7.1 controls_state = 358 - NOT = { has_idea = TY_dingzhenai } - or = { - has_war_with = TIX - has_war_with = CHY - has_war_with = SAD - has_war_with = BFL - has_war_with = HUJ - has_war_with = DOH - has_war_with = YUW + NOT = { + has_idea = TY_dingzhenai + } + OR = { + has_war_with = TIX + has_war_with = CHY + has_war_with = SAD + has_war_with = BFL + has_war_with = HUJ + has_war_with = DOH + has_war_with = YUW } } - visible = { + visible = { tag = BYG is_ai = yes } @@ -580,18 +721,17 @@ tianjiang_aizuobi = { } fire_only_once = no days_re_enable = 180 - complete_effect = { + complete_effect = { load_oob = BYG_lqtk } - } - - zuobi_huj_1 = { + } + zuobi_huj_1 = { available = { tag = HUJ is_ai = yes date > 1939.6.1 } - visible = { + visible = { tag = HUJ is_ai = yes } @@ -599,52 +739,90 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { - army_experience = 1000 - set_technology = { interwar_antitank = 1 } - set_technology = { armor_tech_1 = 1 } - set_technology = { armor_tech_2 = 1 } - set_technology = { antitank1 = 1 } - set_technology = { antitank2 = 1 } - set_technology = { antitank3 = 1 } - set_technology = { amphibious_mechanized_infantry = 1 } - set_technology = { amphibious_tank_chassis = 1} - set_technology = { amphibious_drive = 1} - set_technology = { interwar_antiair = 1 } - set_technology = { centimetric_radar = 1 } - set_technology = { improved_decimetric_radar = 1 } - set_technology = { decimetric_radar = 1 } - set_technology = { radio_detection = 1 } - set_technology = { radio = 1 } - set_technology = { tech_engineers2 = 1} - set_technology = { engine_tech_1 = 1 } - set_technology = { engine_tech_2 = 1 } - set_technology = { mtg_landing_craft = 1 } - set_technology = { mtg_tank_landing_craft = 1 } - - + complete_effect = { + army_experience = 1000 + set_technology = { + interwar_antitank = 1 + } + set_technology = { + armor_tech_1 = 1 + } + set_technology = { + armor_tech_2 = 1 + } + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } + set_technology = { + amphibious_mechanized_infantry = 1 + } + set_technology = { + amphibious_tank_chassis = 1 + } + set_technology = { + amphibious_drive = 1 + } + set_technology = { + interwar_antiair = 1 + } + set_technology = { + centimetric_radar = 1 + } + set_technology = { + improved_decimetric_radar = 1 + } + set_technology = { + decimetric_radar = 1 + } + set_technology = { + radio_detection = 1 + } + set_technology = { + radio = 1 + } + set_technology = { + tech_engineers2 = 1 + } + set_technology = { + engine_tech_1 = 1 + } + set_technology = { + engine_tech_2 = 1 + } + set_technology = { + mtg_landing_craft = 1 + } + set_technology = { + mtg_tank_landing_craft = 1 + } } - - } - - zuobi_huj_2 = { + } + zuobi_huj_2 = { available = { tag = HUJ is_ai = yes date > 1939.7.1 controls_state = 126 - NOT = { has_idea = TY_dingzhenai } - or = { - has_war_with = TIX - has_war_with = CHY - has_war_with = SAD - has_war_with = BFL - has_war_with = BYG - has_war_with = DOH - has_war_with = YUW + NOT = { + has_idea = TY_dingzhenai + } + OR = { + has_war_with = TIX + has_war_with = CHY + has_war_with = SAD + has_war_with = BFL + has_war_with = BYG + has_war_with = DOH + has_war_with = YUW } } - visible = { + visible = { tag = HUJ is_ai = yes } @@ -653,26 +831,25 @@ tianjiang_aizuobi = { } fire_only_once = no days_re_enable = 180 - complete_effect = { + complete_effect = { load_oob = HUJ_lqtk } - } - - zuobi_huj_3 = { + } + zuobi_huj_3 = { available = { - or = { - tag = HUJ - tag = SAD - tag = TIX + OR = { + tag = HUJ + tag = SAD + tag = TIX } is_ai = yes date > 1938.6.1 } visible = { - or = { - tag = HUJ - tag = SAD - tag = TIX + OR = { + tag = HUJ + tag = SAD + tag = TIX } is_ai = yes } @@ -680,7 +857,7 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { set_country_flag = huj_3_1_yes add_tech_bonus = { name = "小型飞机研究加成" @@ -690,24 +867,23 @@ tianjiang_aizuobi = { category = light_air } } - } - - zuobi_huj_3_1 = { + } + zuobi_huj_3_1 = { available = { - or = { - tag = HUJ - tag = SAD - tag = TIX + OR = { + tag = HUJ + tag = SAD + tag = TIX } is_ai = yes has_country_flag = huj_3_1_yes has_tech = improved_small_airframe } visible = { - or = { - tag = HUJ - tag = SAD - tag = TIX + OR = { + tag = HUJ + tag = SAD + tag = TIX } is_ai = yes } @@ -717,36 +893,35 @@ tianjiang_aizuobi = { fire_only_once = yes complete_effect = { if = { - limit = { - tag = HUJ - tag = TIX - } - air_experience = 500 + limit = { + tag = HUJ + tag = TIX + } + air_experience = 500 } if = { - limit = { - tag = SAD - } - air_experience = 500 + limit = { + tag = SAD + } + air_experience = 500 } } - } - - zuobi_huj_4 = { + } + zuobi_huj_4 = { available = { - or = { - tag = HUJ - tag = SAD - tag = TIX + OR = { + tag = HUJ + tag = SAD + tag = TIX } is_ai = yes date > 1941.1.1 } visible = { - or = { - tag = HUJ - tag = SAD - tag = TIX + OR = { + tag = HUJ + tag = SAD + tag = TIX } is_ai = yes } @@ -754,7 +929,7 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { set_country_flag = huj_4_1_yes add_tech_bonus = { name = "小型飞机研究加成" @@ -764,24 +939,23 @@ tianjiang_aizuobi = { category = light_air } } - } - - zuobi_huj_4_1 = { + } + zuobi_huj_4_1 = { available = { - or = { - tag = HUJ - tag = SAD - tag = TIX + OR = { + tag = HUJ + tag = SAD + tag = TIX } is_ai = yes has_country_flag = huj_4_1_yes has_tech = advanced_small_airframe } visible = { - or = { - tag = HUJ - tag = SAD - tag = TIX + OR = { + tag = HUJ + tag = SAD + tag = TIX } is_ai = yes } @@ -791,34 +965,41 @@ tianjiang_aizuobi = { fire_only_once = yes complete_effect = { if = { - limit = { - tag = HUJ - tag = TIX - } - air_experience = 500 + limit = { + tag = HUJ + tag = TIX + } + air_experience = 500 } if = { - limit = { - tag = SAD - } - air_experience = 500 + limit = { + tag = SAD + } + air_experience = 500 } } - } - - zuobi_tiexue_2 = { + } + zuobi_tiexue_2 = { available = { tag = TIX is_ai = yes date > 1939.1.1 - or = { - BYG = {is_ai = no} - HUJ = {is_ai = no} - BFL = {is_ai = no} - YUW = {is_ai = no} + OR = { + BYG = { + is_ai = no + } + HUJ = { + is_ai = no + } + BFL = { + is_ai = no + } + YUW = { + is_ai = no + } } } - visible = { + visible = { tag = TIX is_ai = yes } @@ -826,19 +1007,17 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { army_experience = 2000 navy_experience = 2000 air_experience = 2000 - add_equipment_to_stockpile = { - type = medium_tank_chassis - amount = 15000 + add_equipment_to_stockpile = { + type = medium_tank_chassis + amount = 15000 producer = TIX } } - } - tix_huanzhuang = { icon = generic_construction available = { @@ -854,28 +1033,56 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { - army_experience = 1000 - set_technology = { interwar_antitank = 1 } - set_technology = { armor_tech_1 = 1 } - set_technology = { armor_tech_2 = 1 } - set_technology = { antitank1 = 1 } - set_technology = { antitank2 = 1 } - set_technology = { antitank3 = 1 } - set_technology = { amphibious_mechanized_infantry = 1 } - set_technology = { interwar_antiair = 1 } - set_technology = { centimetric_radar = 1 } - set_technology = { improved_decimetric_radar = 1 } - set_technology = { decimetric_radar = 1 } - set_technology = { radio_detection = 1 } - set_technology = { radio = 1 } - set_technology = { tech_engineers2 = 1} + complete_effect = { + army_experience = 1000 + set_technology = { + interwar_antitank = 1 + } + set_technology = { + armor_tech_1 = 1 + } + set_technology = { + armor_tech_2 = 1 + } + set_technology = { + antitank1 = 1 + } + set_technology = { + antitank2 = 1 + } + set_technology = { + antitank3 = 1 + } + set_technology = { + amphibious_mechanized_infantry = 1 + } + set_technology = { + interwar_antiair = 1 + } + set_technology = { + centimetric_radar = 1 + } + set_technology = { + improved_decimetric_radar = 1 + } + set_technology = { + decimetric_radar = 1 + } + set_technology = { + radio_detection = 1 + } + set_technology = { + radio = 1 + } + set_technology = { + tech_engineers2 = 1 + } set_country_flag = tix_zuobi1 - set_technology = { engine_tech_2 = 1 } - + set_technology = { + engine_tech_2 = 1 + } } } - tix_sairenkeji_fa = { icon = generic_construction available = { @@ -883,7 +1090,9 @@ tianjiang_aizuobi = { tag = TIX date > 1939.8.1 has_idea = TIX_fkAIbuff - not = { has_global_flag = modoption_historicalbossai_on } + NOT = { + has_global_flag = modoption_historicalbossai_on + } } visible = { tag = TIX @@ -893,26 +1102,25 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { - complete_national_focus = TIX_jixuheikeji - complete_national_focus = TIX_donglixitong - complete_national_focus = TIX_fangzhisairenfadongji - complete_national_focus = TIX_shengwugongcheng - complete_national_focus = TIX_yizhijishu - complete_national_focus = TIX_rengongzhineng - complete_national_focus = TIX_wanquansairen - complete_national_focus = TIX_heikejihuopao - complete_national_focus = TIX_heikejibuqiang + complete_effect = { + complete_national_focus = TIX_jixuheikeji + complete_national_focus = TIX_donglixitong + complete_national_focus = TIX_fangzhisairenfadongji + complete_national_focus = TIX_shengwugongcheng + complete_national_focus = TIX_yizhijishu + complete_national_focus = TIX_rengongzhineng + complete_national_focus = TIX_wanquansairen + complete_national_focus = TIX_heikejihuopao + complete_national_focus = TIX_heikejibuqiang } } - tix_sairenkeji_fa2 = { icon = generic_construction available = { is_ai = yes tag = TIX date > 1939.2.1 - has_global_flag = modoption_historicalbossai_on + has_global_flag = modoption_historicalbossai_on } visible = { tag = TIX @@ -922,11 +1130,10 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { - complete_national_focus = TIX_jixuheikeji + complete_effect = { + complete_national_focus = TIX_jixuheikeji } } - SAD_tankekeji_fa = { icon = generic_construction available = { @@ -943,19 +1150,18 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { - complete_national_focus = SAD_tankexueyuan - complete_national_focus = SAD_kuodazhaoshengguimo - complete_national_focus = SAD_changshizizhuyanfa - complete_national_focus = SAD_junkedaxue - complete_national_focus = SAD_jishujiehe - complete_national_focus = SAD_qianghuaqingtan - complete_national_focus = SAD_xuexitiexue - complete_national_focus = SAD_shengchanjishuzhidao - complete_national_focus = SAD_hezuoyanfa + complete_effect = { + complete_national_focus = SAD_tankexueyuan + complete_national_focus = SAD_kuodazhaoshengguimo + complete_national_focus = SAD_changshizizhuyanfa + complete_national_focus = SAD_junkedaxue + complete_national_focus = SAD_jishujiehe + complete_national_focus = SAD_qianghuaqingtan + complete_national_focus = SAD_xuexitiexue + complete_national_focus = SAD_shengchanjishuzhidao + complete_national_focus = SAD_hezuoyanfa } } - zuobi_chy_1 = { available = { tag = CHY @@ -963,7 +1169,7 @@ tianjiang_aizuobi = { date > 1936.1.1 has_tech = ship_hull_super_heavy } - visible = { + visible = { tag = CHY is_ai = yes } @@ -971,7 +1177,7 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { create_equipment_variant = { name = "超重型战列舰" type = ship_hull_super_heavy_1 @@ -998,25 +1204,23 @@ tianjiang_aizuobi = { add_equipment_production = { equipment = { type = ship_hull_super_heavy_1 - creator = CHY + creator = CHY version_name = "超重型战列舰" } - name = "大和" + name = "大和" requested_factories = 1 progress = 1 amount = 1 } - } } - zuobi_chy_2 = { available = { tag = CHY is_ai = yes date > 1937.1.1 } - visible = { + visible = { tag = CHY is_ai = yes } @@ -1024,28 +1228,27 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { add_equipment_production = { equipment = { type = ship_hull_super_heavy_1 - creator = CHY + creator = CHY version_name = "超重型战列舰" } - name = "长门" + name = "长门" requested_factories = 1 progress = 1 amount = 1 } } } - zuobi_chy_3 = { available = { tag = CHY is_ai = yes date > 1938.7.1 } - visible = { + visible = { tag = CHY is_ai = yes } @@ -1053,28 +1256,27 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { add_equipment_production = { equipment = { type = ship_hull_super_heavy_1 - creator = CHY + creator = CHY version_name = "超重型战列舰" } - name = "天城" + name = "天城" requested_factories = 1 progress = 1 amount = 1 } } } - zuobi_chy_4 = { available = { tag = CHY is_ai = yes date > 1940.1.1 } - visible = { + visible = { tag = CHY is_ai = yes } @@ -1082,28 +1284,27 @@ tianjiang_aizuobi = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { add_equipment_production = { equipment = { type = ship_hull_super_heavy_1 - creator = CHY + creator = CHY version_name = "超重型战列舰" } - name = "出云" + name = "出云" requested_factories = 1 progress = 1 amount = 1 } } } - zuobi_chy_5 = { available = { tag = CHY is_ai = yes date > 1941.1.1 } - visible = { + visible = { tag = CHY is_ai = yes } @@ -1112,11 +1313,11 @@ tianjiang_aizuobi = { } fire_only_once = no days_re_enable = 365 - complete_effect = { + complete_effect = { add_equipment_production = { equipment = { type = ship_hull_super_heavy_1 - creator = CHY + creator = CHY version_name = "超重型战列舰" } requested_factories = 1 @@ -1125,25 +1326,26 @@ tianjiang_aizuobi = { } } } - zuobi_chy_6 = { available = { tag = CHY is_ai = yes date > 1939.7.1 controls_state = 282 - NOT = { has_idea = TY_dingzhenai } - or = { - has_war_with = TIX - has_war_with = BYG - has_war_with = SAD - has_war_with = BFL - has_war_with = HUJ - has_war_with = DOH - has_war_with = YUW + NOT = { + has_idea = TY_dingzhenai + } + OR = { + has_war_with = TIX + has_war_with = BYG + has_war_with = SAD + has_war_with = BFL + has_war_with = HUJ + has_war_with = DOH + has_war_with = YUW } } - visible = { + visible = { tag = CHY is_ai = yes } @@ -1152,9 +1354,8 @@ tianjiang_aizuobi = { } fire_only_once = no days_re_enable = 180 - complete_effect = { + complete_effect = { load_oob = CHY_lqtk } - } - -} \ No newline at end of file + } +} diff --git a/src/common/decisions/tianjiang_decision.txt b/src/common/decisions/tianjiang_decision.txt index 1abdea6..2f7aaed 100755 --- a/src/common/decisions/tianjiang_decision.txt +++ b/src/common/decisions/tianjiang_decision.txt @@ -17,8 +17,8 @@ BFL_fanduipaiyinmou = { complete_effect = { custom_effect_tooltip = BFL_zzpianzhidu_fu10 add_to_variable = { - var = az_pianzhidu - value = -999 + var = az_pianzhidu + value = -999 } } } @@ -42,14 +42,23 @@ BFL_fanduipaiyinmou = { remove_effect = { custom_effect_tooltip = BFL_zzpianzhidu_fu10 add_to_variable = { - var = az_pianzhidu - value = -8 + var = az_pianzhidu + value = -8 } add_political_power = 50 add_stability = 0.05 - add_popularity = { ideology = democratic popularity = -0.01 } - add_popularity = { ideology = fascism popularity = -0.01 } - add_popularity = { ideology = neutrality popularity = -0.01 } + add_popularity = { + ideology = democratic + popularity = -0.01 + } + add_popularity = { + ideology = fascism + popularity = -0.01 + } + add_popularity = { + ideology = neutrality + popularity = -0.01 + } } } BFL_qingsaojundui = { @@ -72,8 +81,8 @@ BFL_fanduipaiyinmou = { remove_effect = { custom_effect_tooltip = BFL_zzpianzhidu_fu10 add_to_variable = { - var = az_pianzhidu - value = -8 + var = az_pianzhidu + value = -8 } add_political_power = 25 add_stability = 0.05 @@ -102,8 +111,8 @@ BFL_fanduipaiyinmou = { remove_effect = { custom_effect_tooltip = BFL_zzpianzhidu_fu10 add_to_variable = { - var = az_pianzhidu - value = -8 + var = az_pianzhidu + value = -8 } add_political_power = 25 add_stability = 0.05 @@ -112,17 +121,20 @@ BFL_fanduipaiyinmou = { BFL_yinmoujituandexingdong = { icon = SOV_the_workers_dictatorship priority = 100 - activation = { + activation = { always = no } complete_effect = { - add_popularity = { ideology = communism popularity = 0.2 } + add_popularity = { + ideology = communism + popularity = 0.2 + } } is_good = no available = { - or = { - has_completed_focus = BFL_19 - has_completed_focus = BFL_37 + OR = { + has_completed_focus = BFL_19 + has_completed_focus = BFL_37 } } days_mission_timeout = 180 @@ -130,9 +142,15 @@ BFL_fanduipaiyinmou = { custom_effect_tooltip = BFL_yinmoujituandexingdong_tt activate_mission = BFL_yinmoujituandexingdong hidden_effect = { - add_political_power = -50 - add_popularity = { ideology = democratic popularity = 0.03 } - add_popularity = { ideology = fascism popularity = 0.02 } + add_political_power = -50 + add_popularity = { + ideology = democratic + popularity = 0.03 + } + add_popularity = { + ideology = fascism + popularity = 0.02 + } } } } @@ -140,16 +158,16 @@ BFL_fanduipaiyinmou = { icon = SOV_the_military_conspiracy priority = 200 is_good = no - activation = { + activation = { always = no } complete_effect = { add_stability = 0.05 } available = { - or = { - has_completed_focus = BFL_19 - has_completed_focus = BFL_37 + OR = { + has_completed_focus = BFL_19 + has_completed_focus = BFL_37 } } days_mission_timeout = 365 @@ -157,32 +175,34 @@ BFL_fanduipaiyinmou = { custom_effect_tooltip = BFL_diyicidaqingxi_time_tt custom_effect_tooltip = BFL_zzpianzhidu_fu10 add_to_variable = { - var = az_pianzhidu - value = -30 + var = az_pianzhidu + value = -30 } activate_mission = BFL_diercidaqingxi_time set_country_flag = BFL_dqxchaoshi_1 add_political_power = -500 add_war_support = -0.5 add_stability = -0.5 - add_popularity = { ideology = communism popularity = 0.3 } + add_popularity = { + ideology = communism + popularity = 0.3 + } } } - BFL_diercidaqingxi_time = { icon = SOV_the_military_conspiracy priority = 200 is_good = no - activation = { + activation = { always = no } complete_effect = { add_stability = 0.05 } available = { - or = { - has_completed_focus = BFL_19 - has_completed_focus = BFL_37 + OR = { + has_completed_focus = BFL_19 + has_completed_focus = BFL_37 } } days_mission_timeout = 365 @@ -190,21 +210,24 @@ BFL_fanduipaiyinmou = { custom_effect_tooltip = BFL_diercidaqingxi_time_tt custom_effect_tooltip = BFL_zzpianzhidu_fu10 add_to_variable = { - var = az_pianzhidu - value = -30 + var = az_pianzhidu + value = -30 } set_country_flag = BFL_dqxchaoshi_2 add_political_power = -500 add_war_support = -0.5 add_stability = -0.5 - add_popularity = { ideology = communism popularity = 0.3 } + add_popularity = { + ideology = communism + popularity = 0.3 + } } } BFL_xiaoqingsao_time = { icon = SOV_the_military_conspiracy priority = 10 is_good = no - activation = { + activation = { always = no } complete_effect = { @@ -212,22 +235,25 @@ BFL_fanduipaiyinmou = { add_war_support = 0.1 } available = { - or = { - has_completed_focus = BFL_19 - has_completed_focus = BFL_37 + OR = { + has_completed_focus = BFL_19 + has_completed_focus = BFL_37 } } days_mission_timeout = 120 timeout_effect = { custom_effect_tooltip = BFL_zzpianzhidu_fu10 add_to_variable = { - var = az_pianzhidu - value = -2 + var = az_pianzhidu + value = -2 } add_political_power = -25 add_war_support = -0.035 add_stability = -0.035 - add_popularity = { ideology = communism popularity = 0.025 } + add_popularity = { + ideology = communism + popularity = 0.025 + } activate_mission = BFL_xiaoqingsao_time } } @@ -235,28 +261,28 @@ BFL_fanduipaiyinmou = { icon = SOV_the_stalin_constitution priority = 0 is_good = no - activation = { + activation = { always = no } complete_effect = { custom_effect_tooltip = BFL_zzpianzhidu_yichu add_to_variable = { - var = az_pianzhidu - value = -999 + var = az_pianzhidu + value = -999 } } available = { - or = { - has_completed_focus = BFL_19 - has_completed_focus = BFL_37 + OR = { + has_completed_focus = BFL_19 + has_completed_focus = BFL_37 } } days_mission_timeout = 60 timeout_effect = { custom_effect_tooltip = BFL_zzpianzhidu_10 add_to_variable = { - var = az_pianzhidu - value = 5 + var = az_pianzhidu + value = 5 } #add_political_power = -10 #add_war_support = -0.025 @@ -265,7 +291,6 @@ BFL_fanduipaiyinmou = { activate_mission = BFL_pianzhiduzengzhang } } - } BFL_neiwu = { @@ -273,20 +298,32 @@ BFL_neiwu = { icon = generic_political_discourse priority = 0 is_good = no - activation = { + activation = { always = no } complete_effect = { - add_popularity = { ideology = communism popularity = 0.2 } + add_popularity = { + ideology = communism + popularity = 0.2 + } } available = { has_completed_focus = BFL_42 } days_mission_timeout = 900 timeout_effect = { - add_popularity = { ideology = democratic popularity = 0.2 } - add_popularity = { ideology = fascism popularity = 0.1 } - add_popularity = { ideology = communism popularity = -0.3 } + add_popularity = { + ideology = democratic + popularity = 0.2 + } + add_popularity = { + ideology = fascism + popularity = 0.1 + } + add_popularity = { + ideology = communism + popularity = -0.3 + } load_focus_tree = bfl_apocrypha_focus } } @@ -295,13 +332,15 @@ BFL_neiwu = { available = { has_idea = BFL_zhengzhihuajundui0 has_completed_focus = BFL_zhongshijiaoyu - or = { - has_army_experience > 100 - is_ai = yes + OR = { + has_army_experience > 100 + is_ai = yes } } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } ai_will_do = { factor = 9000 @@ -309,7 +348,7 @@ BFL_neiwu = { cost = 100 days_remove = 120 fire_only_once = yes - complete_effect = { + complete_effect = { army_experience = -100 } remove_effect = { @@ -325,21 +364,23 @@ BFL_neiwu = { available = { has_country_flag = bflgaige1 has_completed_focus = BFL_junduizhengwei - or = { - has_army_experience > 200 - is_ai = yes + OR = { + has_army_experience > 200 + is_ai = yes } } ai_will_do = { factor = 9000 } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } cost = 100 days_remove = 120 fire_only_once = yes - complete_effect = { + complete_effect = { army_experience = -200 } remove_effect = { @@ -353,38 +394,46 @@ BFL_neiwu = { BFL_qdahongjun = { icon = AL_tank_BFL available = { - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { + has_country_flag = BFL_zzpianzhidu_on + } has_country_flag = bflgaige2 has_completed_focus = BFL_zongshenzuozhan - or = { - any_country = { - has_war_with = BFL + OR = { + any_country = { + has_war_with = BFL + } + is_ai = yes } - is_ai = yes - } - or = { - has_army_experience > 300 - is_ai = yes + OR = { + has_army_experience > 300 + is_ai = yes } } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } ai_will_do = { factor = 1 modifier = { - or = { - date > 1940.10.15 - TIX = { is_ai = no } - YUW = { is_ai = no } - } - factor = 10000 + OR = { + date > 1940.10.15 + TIX = { + is_ai = no + } + YUW = { + is_ai = no + } + } + factor = 10000 } } cost = 200 days_remove = 365 fire_only_once = yes - complete_effect = { + complete_effect = { army_experience = -300 } remove_effect = { @@ -404,16 +453,17 @@ BFL_neiwu = { factor = 90 } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } cost = 100 days_remove = 180 fire_only_once = yes modifier = { - consumer_goods_factor = 0.1 + consumer_goods_factor = 0.1 } - complete_effect = { - + complete_effect = { } remove_effect = { swap_ideas = { @@ -425,9 +475,9 @@ BFL_neiwu = { BFL_gyexiandaihua2 = { icon = generic_factory available = { - or = { - is_ai = yes - num_of_controlled_factories > 120 + OR = { + is_ai = yes + num_of_controlled_factories > 120 } has_idea = BFL_luohoudegongye1 } @@ -435,16 +485,17 @@ BFL_neiwu = { factor = 90 } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } cost = 100 days_remove = 180 fire_only_once = yes modifier = { - industrial_capacity_factory = -0.1 + industrial_capacity_factory = -0.1 } - complete_effect = { - + complete_effect = { } remove_effect = { swap_ideas = { @@ -456,11 +507,15 @@ BFL_neiwu = { BFL_gyexiandaihua3 = { icon = AL_gongye_BFL available = { - not = { has_country_flag = BFL_zzpianzhidu_on } - not = { has_idea = BFL_swjq } - or = { - is_ai = yes - num_of_controlled_factories > 240 + NOT = { + has_country_flag = BFL_zzpianzhidu_on + } + NOT = { + has_idea = BFL_swjq + } + OR = { + is_ai = yes + num_of_controlled_factories > 240 } has_idea = BFL_luohoudegongye2 } @@ -468,16 +523,17 @@ BFL_neiwu = { factor = 90 } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } cost = 200 days_remove = 180 fire_only_once = yes modifier = { - consumer_goods_factor = 0.2 + consumer_goods_factor = 0.2 } - complete_effect = { - + complete_effect = { } remove_effect = { swap_ideas = { @@ -492,47 +548,55 @@ BFL_renlei = { BFL_rlbmjj = { icon = revolt allowed = { - tag = BFL + tag = BFL } - activation = { + activation = { has_idea = BFL_bufuguanjiaoderenlei0 } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } complete_effect = { add_stability = 0.15 } - available = {not = {has_idea = BFL_bufuguanjiaoderenlei0}} + available = { + not = { + has_idea = BFL_bufuguanjiaoderenlei0 + } + } days_mission_timeout = 180 is_good = no timeout_effect = { - custom_effect_tooltip = BFL_rlbmjj11 - hidden_effect = { - activate_mission = BFL_rlbmjj - add_stability = -0.1 - } + custom_effect_tooltip = BFL_rlbmjj11 + hidden_effect = { + activate_mission = BFL_rlbmjj + add_stability = -0.1 + } } } BFL_hjscz = { icon = manjiu allowed = { - tag = BFL + tag = BFL } - activation = { - or = { - has_idea = BFL_bufuguanjiaoderenlei112 - has_idea = BFL_bufuguanjiaoderenlei1122 + activation = { + OR = { + has_idea = BFL_bufuguanjiaoderenlei112 + has_idea = BFL_bufuguanjiaoderenlei1122 } } available = { - or = { - has_idea = BFL_bufuguanjiaoderenlei1123 - has_idea = BFL_bufuguanjiaoderenlei113 + OR = { + has_idea = BFL_bufuguanjiaoderenlei1123 + has_idea = BFL_bufuguanjiaoderenlei113 } } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } complete_effect = { add_political_power = 100 @@ -540,25 +604,27 @@ BFL_renlei = { days_mission_timeout = 120 is_good = no timeout_effect = { - custom_effect_tooltip = BFL_hjscz11 - hidden_effect = { - activate_mission = BFL_hjscz - add_political_power = -20 - add_stability = 0.01 - add_war_support = 0.01 - if = { - limit = { - is_ai = yes - } - add_political_power = 220 - } - } + custom_effect_tooltip = BFL_hjscz11 + hidden_effect = { + activate_mission = BFL_hjscz + add_political_power = -20 + add_stability = 0.01 + add_war_support = 0.01 + if = { + limit = { + is_ai = yes + } + add_political_power = 220 + } + } } } BFL_anfu1 = { icon = lansegantan visible = { - not = {has_country_flag = bfl_renleixuanze} + NOT = { + has_country_flag = bfl_renleixuanze + } } available = { has_idea = BFL_bufuguanjiaoderenlei0 @@ -567,7 +633,9 @@ BFL_renlei = { factor = 10000 } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } cost = 150 days_remove = 120 @@ -575,7 +643,7 @@ BFL_renlei = { modifier = { political_power_cost = 0.5 } - complete_effect = { + complete_effect = { set_country_flag = bfl_renleixuanze } remove_effect = { @@ -589,7 +657,7 @@ BFL_renlei = { BFL_anfu2 = { icon = lansegantan visible = { - has_country_flag = bfl_xuanzeanfu1 + has_country_flag = bfl_xuanzeanfu1 } available = { has_idea = BFL_bufuguanjiaoderenlei11 @@ -599,7 +667,9 @@ BFL_renlei = { factor = 10000 } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } cost = 200 days_remove = 180 @@ -608,8 +678,7 @@ BFL_renlei = { consumer_goods_factor = 0.1 stability_weekly = 0.001 } - complete_effect = { - + complete_effect = { } remove_effect = { set_country_flag = bfl_xuanzeanfu2 @@ -622,7 +691,7 @@ BFL_renlei = { BFL_anfu3 = { icon = lansegantan visible = { - has_country_flag = bfl_xuanzeanfu2 + has_country_flag = bfl_xuanzeanfu2 } available = { has_idea = BFL_bufuguanjiaoderenlei112 @@ -632,7 +701,9 @@ BFL_renlei = { factor = 10000 } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } cost = 200 days_remove = 180 @@ -641,8 +712,7 @@ BFL_renlei = { consumer_goods_factor = 0.1 stability_weekly = 0.001 } - complete_effect = { - + complete_effect = { } remove_effect = { swap_ideas = { @@ -654,7 +724,9 @@ BFL_renlei = { BFL_zhenya1 = { icon = hongsegantan visible = { - not = {has_country_flag = bfl_renleixuanze} + NOT = { + has_country_flag = bfl_renleixuanze + } } available = { has_idea = BFL_bufuguanjiaoderenlei0 @@ -663,7 +735,9 @@ BFL_renlei = { factor = 0 } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } cost = 50 days_remove = 90 @@ -672,7 +746,7 @@ BFL_renlei = { war_support_weekly = -0.003 stability_weekly = -0.01 } - complete_effect = { + complete_effect = { add_stability = -0.1 set_country_flag = bfl_renleixuanze } @@ -697,7 +771,9 @@ BFL_renlei = { factor = 0 } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } cost = 100 days_remove = 120 @@ -705,7 +781,7 @@ BFL_renlei = { modifier = { war_support_weekly = -0.005 } - complete_effect = { + complete_effect = { add_war_support = -0.3 } remove_effect = { @@ -716,7 +792,7 @@ BFL_renlei = { } } } - BFL_zhenya3= { + BFL_zhenya3 = { visible = { has_country_flag = bfl_xuanzezhenya2 } @@ -727,7 +803,9 @@ BFL_renlei = { has_war = no } visible = { - NOT = { has_completed_focus = BFL_qiyonggaigepai } + NOT = { + has_completed_focus = BFL_qiyonggaigepai + } } ai_will_do = { factor = 0 @@ -742,24 +820,25 @@ BFL_renlei = { } } } - - - } TIX_jihua = { TIX_miaoshayuw = { icon = eng_propaganda_campaigns priority = 100 - activation = { + activation = { tag = TIX has_war_with = YUW has_offensive_war = yes YUW = { - has_government = democratic + has_government = democratic + } + NOT = { + has_country_flag = YUW_beimiaole + } + NOT = { + has_country_flag = YUW_meibeimiao } - not = { has_country_flag = YUW_beimiaole } - not = { has_country_flag = YUW_meibeimiao } } complete_effect = { add_political_power = 100 @@ -767,13 +846,13 @@ TIX_jihua = { add_war_support = 0.2 set_country_flag = YUW_beimiaole } - available = { + available = { YUW = { - or = { - exists = no - has_capitulated = yes - is_in_faction_with = TIX - } + OR = { + exists = no + has_capitulated = yes + is_in_faction_with = TIX + } } } days_mission_timeout = 365 @@ -787,12 +866,16 @@ TIX_jihua = { TIX_miaoshabfl = { icon = eng_propaganda_campaigns priority = 100 - activation = { + activation = { tag = TIX has_war_with = BFL has_offensive_war = yes - not = { has_country_flag = BFL_beimiaole } - not = { has_country_flag = BFL_meibeimiao } + NOT = { + has_country_flag = BFL_beimiaole + } + NOT = { + has_country_flag = BFL_meibeimiao + } } complete_effect = { add_political_power = 500 @@ -800,13 +883,13 @@ TIX_jihua = { add_war_support = 0.5 set_country_flag = BFL_beimiaole } - available = { + available = { BFL = { - or = { - exists = no - has_capitulated = yes - is_in_faction_with = TIX - } + OR = { + exists = no + has_capitulated = yes + is_in_faction_with = TIX + } } } days_mission_timeout = 365 @@ -818,11 +901,10 @@ TIX_jihua = { activate_mission = TIX_ruqinBFLdierjieduan } } - TIX_ruqinBFLdierjieduan = { icon = eng_propaganda_campaigns priority = 100 - activation = { + activation = { always = no } complete_effect = { @@ -830,13 +912,13 @@ TIX_jihua = { add_war_support = 0.2 set_country_flag = BFL_gggg } - available = { + available = { BFL = { - or = { - exists = no - has_capitulated = yes - is_in_faction_with = TIX - } + OR = { + exists = no + has_capitulated = yes + is_in_faction_with = TIX + } } } days_mission_timeout = 500 @@ -847,16 +929,15 @@ TIX_jihua = { set_country_flag = BFL_haishihuozhe } } - TIX_pol = { icon = generic_prepare_civil_war visible = { country_exists = POL } available = { - or = { - has_completed_focus = TIX_danzehuozhanzheng - has_completed_focus = TIX_danzehyuanqubaohu + OR = { + has_completed_focus = TIX_danzehuozhanzheng + has_completed_focus = TIX_danzehyuanqubaohu } has_war_with = POL } @@ -867,9 +948,9 @@ TIX_jihua = { days_remove = 180 fire_only_once = yes targeted_modifier = { - tag = POL - attack_bonus_against = 0.5 - defense_bonus_against = 0.5 + tag = POL + attack_bonus_against = 0.5 + defense_bonus_against = 0.5 } } TIX_yuw = { @@ -879,13 +960,13 @@ TIX_jihua = { } available = { has_war_with = YUW - or = { - has_war_with = HOL - has_war_with = BEL - has_war_with = LUX - YUW = { - has_completed_focus =YUW_didisanguodemingyun - } + OR = { + has_war_with = HOL + has_war_with = BEL + has_war_with = LUX + YUW = { + has_completed_focus = YUW_didisanguodemingyun + } } } ai_will_do = { @@ -896,37 +977,36 @@ TIX_jihua = { fire_only_once = yes complete_effect = { if = { - limit = { - has_government = fascism - } - activate_mission = TIX_naxiabali + limit = { + has_government = fascism + } + activate_mission = TIX_naxiabali } } targeted_modifier = { - tag = YUW - attack_bonus_against = 0.4 - defense_bonus_against = 0.4 + tag = YUW + attack_bonus_against = 0.4 + defense_bonus_against = 0.4 } targeted_modifier = { - tag = HOL - attack_bonus_against = 0.4 - defense_bonus_against = 0.4 + tag = HOL + attack_bonus_against = 0.4 + defense_bonus_against = 0.4 } targeted_modifier = { - tag = BEL - attack_bonus_against = 0.4 - defense_bonus_against = 0.4 + tag = BEL + attack_bonus_against = 0.4 + defense_bonus_against = 0.4 } targeted_modifier = { - tag = LUX - attack_bonus_against = 0.4 - defense_bonus_against = 0.4 + tag = LUX + attack_bonus_against = 0.4 + defense_bonus_against = 0.4 } modifier = { - army_speed_factor = 0.1 + army_speed_factor = 0.1 } } - TIX_huj = { icon = generic_prepare_civil_war visible = { @@ -935,11 +1015,17 @@ TIX_jihua = { available = { has_war_with = HUJ OR = { - YUW = { has_capitulated = yes } - YUW = { is_in_faction_with = TIX } - NOT = { country_exists = YUW } - country_exists = WEX + YUW = { + has_capitulated = yes } + YUW = { + is_in_faction_with = TIX + } + NOT = { + country_exists = YUW + } + country_exists = WEX + } } ai_will_do = { factor = 10000 @@ -949,16 +1035,16 @@ TIX_jihua = { fire_only_once = yes complete_effect = { if = { - limit = { - has_government = fascism - } - activate_mission = TIX_naxialundun + limit = { + has_government = fascism + } + activate_mission = TIX_naxialundun } } targeted_modifier = { - tag = HUJ - attack_bonus_against = 0.5 - defense_bonus_against = 0.5 + tag = HUJ + attack_bonus_against = 0.5 + defense_bonus_against = 0.5 } modifier = { naval_invasion_capacity = 10 @@ -972,20 +1058,20 @@ TIX_jihua = { country_exists = BFL } available = { - or = { - has_completed_focus = TIX_zhifujuxiong - has_completed_focus = TIX_danzehyuanqubaohu + OR = { + has_completed_focus = TIX_zhifujuxiong + has_completed_focus = TIX_danzehyuanqubaohu } has_war_with = BFL } complete_effect = { if = { - limit = { - has_government = fascism - } - activate_mission = TIX_beifangjituanjunderenwu - activate_mission = TIX_zhongyangjituanjunderenwu - activate_mission = TIX_nanfangjituanjunderenwu + limit = { + has_government = fascism + } + activate_mission = TIX_beifangjituanjunderenwu + activate_mission = TIX_zhongyangjituanjunderenwu + activate_mission = TIX_nanfangjituanjunderenwu } } ai_will_do = { @@ -995,9 +1081,9 @@ TIX_jihua = { days_remove = 365 fire_only_once = yes targeted_modifier = { - tag = BFL - attack_bonus_against = 0.4 - defense_bonus_against = 0.4 + tag = BFL + attack_bonus_against = 0.4 + defense_bonus_against = 0.4 } modifier = { supply_consumption_factor = -0.2 @@ -1011,15 +1097,15 @@ TIX_jihua = { country_exists = BYG } available = { - or = { - has_completed_focus = TIX_kuayuedaxiyang - has_government = neutrality + OR = { + has_completed_focus = TIX_kuayuedaxiyang + has_government = neutrality } - or = { - has_war_with = BYG - has_war_with = USA - has_war_with = CSA - has_war_with = USB + OR = { + has_war_with = BYG + has_war_with = USA + has_war_with = CSA + has_war_with = USB } } ai_will_do = { @@ -1029,24 +1115,24 @@ TIX_jihua = { days_remove = 730 fire_only_once = yes targeted_modifier = { - tag = BYG - attack_bonus_against = 0.3 - defense_bonus_against = 0.3 + tag = BYG + attack_bonus_against = 0.3 + defense_bonus_against = 0.3 } targeted_modifier = { - tag = USA - attack_bonus_against = 0.3 - defense_bonus_against = 0.3 + tag = USA + attack_bonus_against = 0.3 + defense_bonus_against = 0.3 } targeted_modifier = { - tag = USB - attack_bonus_against = 0.3 - defense_bonus_against = 0.3 + tag = USB + attack_bonus_against = 0.3 + defense_bonus_against = 0.3 } targeted_modifier = { - tag = CSA - attack_bonus_against = 0.3 - defense_bonus_against = 0.3 + tag = CSA + attack_bonus_against = 0.3 + defense_bonus_against = 0.3 } modifier = { industrial_capacity_dockyard = 0.3 @@ -1055,15 +1141,15 @@ TIX_jihua = { TIX_sad = { icon = generic_prepare_civil_war visible = { - or = { - country_exists = SAD - country_exists = ITA + OR = { + country_exists = SAD + country_exists = ITA } } available = { - or = { - has_war_with = SAD - has_war_with = ITA + OR = { + has_war_with = SAD + has_war_with = ITA } } ai_will_do = { @@ -1073,14 +1159,14 @@ TIX_jihua = { days_remove = 180 fire_only_once = yes targeted_modifier = { - tag = SAD - attack_bonus_against = 0.4 - defense_bonus_against = 0.4 + tag = SAD + attack_bonus_against = 0.4 + defense_bonus_against = 0.4 } targeted_modifier = { - tag = ITA - attack_bonus_against = 0.4 - defense_bonus_against = 0.4 + tag = ITA + attack_bonus_against = 0.4 + defense_bonus_against = 0.4 } } TIX_bksy = { @@ -1091,17 +1177,25 @@ TIX_jihua = { available = { is_ai = yes has_government = fascism - or = { - has_war_with = AUS - has_war_with = CZE - has_war_with = ROM - has_war_with = HUN + OR = { + has_war_with = AUS + has_war_with = CZE + has_war_with = ROM + has_war_with = HUN } - or = { - AUS = { is_ai = no } - CZE = { is_ai = no } - ROM = { is_ai = no } - HUN = { is_ai = no } + OR = { + AUS = { + is_ai = no + } + CZE = { + is_ai = no + } + ROM = { + is_ai = no + } + HUN = { + is_ai = no + } } } ai_will_do = { @@ -1158,23 +1252,23 @@ TIX_jihua = { available = { is_ai = yes has_government = fascism - or = { - HOL = { - is_ai = no - has_war_with = TIX - } - BEL = { - is_ai = no - has_war_with = TIX - } - LUX = { - is_ai = no - has_war_with = TIX - } - POL = { - is_ai = no - has_war_with = TIX - } + OR = { + HOL = { + is_ai = no + has_war_with = TIX + } + BEL = { + is_ai = no + has_war_with = TIX + } + LUX = { + is_ai = no + has_war_with = TIX + } + POL = { + is_ai = no + has_war_with = TIX + } } } ai_will_do = { @@ -1203,7 +1297,6 @@ TIX_jihua = { defense_bonus_against = 9.99 } } - } TIX_neiwu = { @@ -1212,11 +1305,11 @@ TIX_neiwu = { available = { has_completed_focus = TIX_chenglihansijituan custom_trigger_tooltip = { - tooltip = hansizhaiquan_rengzaiyunzuo - or = { - has_idea = TIX_hszq - has_idea = TIX_hszq_ex - } + tooltip = hansizhaiquan_rengzaiyunzuo + OR = { + has_idea = TIX_hszq + has_idea = TIX_hszq_ex + } } } ai_will_do = { @@ -1238,7 +1331,7 @@ TIX_neiwu = { factor = 100 } fire_only_once = yes - complete_effect = { + complete_effect = { country_event = az_tianjiang.51 } } @@ -1246,23 +1339,23 @@ TIX_neiwu = { icon = generic_military cost = 50 available = { - or = { - has_completed_focus = TIX_tiewanyuanshou - has_government = neutrality + OR = { + has_completed_focus = TIX_tiewanyuanshou + has_government = neutrality } - or = { - has_country_leader = { - name = "俾斯麦" - ruling_only = yes - } - has_completed_focus = TIX_chongxinqiyongbisimai + OR = { + has_country_leader = { + name = "俾斯麦" + ruling_only = yes + } + has_completed_focus = TIX_chongxinqiyongbisimai } } ai_will_do = { factor = 10000 } fire_only_once = yes - complete_effect = { + complete_effect = { add_ideas = TIX_ss } } @@ -1275,8 +1368,10 @@ TIX_neiwu = { has_government = fascism } remove_trigger = { - not = { has_government = fascism } - } + NOT = { + has_government = fascism + } + } ai_will_do = { factor = 10000 } @@ -1289,13 +1384,13 @@ TIX_neiwu = { cost = 50 icon = generic_police_action available = { - or = { - has_completed_focus = TIX_guojiayuanshoufa - has_completed_focus = TIX_chongxinqiyongbisimai + OR = { + has_completed_focus = TIX_guojiayuanshoufa + has_completed_focus = TIX_chongxinqiyongbisimai } - or = { - has_government = fascism - has_government = neutrality + OR = { + has_government = fascism + has_government = neutrality } } ai_will_do = { @@ -1314,9 +1409,9 @@ TIX_neiwu = { } available = { has_completed_focus = TIX_tiexuedehansi - or = { - has_completed_focus = TIX_tiexuededaolu - has_completed_focus = TIX_hexiexintiexue + OR = { + has_completed_focus = TIX_tiexuededaolu + has_completed_focus = TIX_hexiexintiexue } } ai_will_do = { @@ -1335,9 +1430,9 @@ TIX_neiwu = { } available = { has_completed_focus = TIX_chongjiangongye - or = { - has_completed_focus = TIX_tiexuededaolu - has_completed_focus = TIX_hexiexintiexue + OR = { + has_completed_focus = TIX_tiexuededaolu + has_completed_focus = TIX_hexiexintiexue } } ai_will_do = { @@ -1376,7 +1471,6 @@ TIX_neiwu = { add_ideas = TIX_motuoshengchanidea } } - TIX_zhengshihuahansizhaiquan = { cost = 200 icon = generic_merge_plant_tank @@ -1391,15 +1485,18 @@ TIX_neiwu = { fire_only_once = yes complete_effect = { effect_tooltip = { - swap_ideas = { - remove_idea = TIX_hszq - add_idea = TIX_hszq_ex - } + swap_ideas = { + remove_idea = TIX_hszq + add_idea = TIX_hszq_ex + } } custom_effect_tooltip = "汉斯债券的持续时间将得到大幅延长,并且不会因为进入战争状态而消失。" hidden_effect = { - remove_ideas = TIX_hszq - add_timed_idea = { idea = TIX_hszq_ex days = 3650 } + remove_ideas = TIX_hszq + add_timed_idea = { + idea = TIX_hszq_ex + days = 3650 + } } } } @@ -1419,7 +1516,10 @@ TIX_neiwu = { fire_only_once = yes complete_effect = { remove_ideas = TIX_hszq - add_timed_idea = { idea = TIX_hszq_ex days = 3650 } + add_timed_idea = { + idea = TIX_hszq_ex + days = 3650 + } } } TIX_jinjizhandoujixiangmu = { @@ -1427,8 +1527,8 @@ TIX_neiwu = { icon = generic_merge_plant_aircraft available = { any_country = { - has_war_with = TIX - is_major = yes + has_war_with = TIX + is_major = yes } } ai_will_do = { @@ -1446,15 +1546,17 @@ TIX_neiwu = { days_remove = -1 available = { any_country = { - has_war_with = TIX - is_major = yes + has_war_with = TIX + is_major = yes } has_government = fascism has_offensive_war = yes } remove_trigger = { - not = { has_government = fascism } - } + not = { + has_government = fascism + } + } ai_will_do = { factor = 10000 } @@ -1473,19 +1575,19 @@ TIX_neiwu = { icon = ger_reichskommissariats available = { any_country = { - has_war_with = TIX - is_major = yes + has_war_with = TIX + is_major = yes } has_government = fascism has_offensive_war = yes threat > 0.95 - or = { - if = { - has_war_with = YUW - has_war_with = HUJ - } - has_war_with = BFL - has_war_with = BYG + OR = { + AND = { + has_war_with = YUW + has_war_with = HUJ + } + has_war_with = BFL + has_war_with = BYG } } ai_will_do = { @@ -1504,19 +1606,19 @@ TIX_neiwu = { available = { is_ai = yes any_country = { - has_war_with = TIX - is_major = yes + has_war_with = TIX + is_major = yes } has_government = fascism has_offensive_war = yes threat > 0.5 - or = { - if = { - has_war_with = YUW - has_war_with = HUJ - } - has_war_with = BFL - has_war_with = BYG + OR = { + AND = { + has_war_with = YUW + has_war_with = HUJ + } + has_war_with = BFL + has_war_with = BYG } } ai_will_do = { @@ -1535,20 +1637,26 @@ HUJ_neiwu = { icon = beifa available = { threat > 0.2 - or = { - has_country_leader = { - name = "伊丽莎白" - ruling_only = yes + OR = { + has_country_leader = { + name = "伊丽莎白" + ruling_only = yes + } + has_country_leader = { + name = "贝尔法斯特" + ruling_only = yes + } } - has_country_leader = { - name = "贝尔法斯特" - ruling_only = yes - } - } - or = { - BYG = {has_added_tension_amount > 10} - SAD = {has_added_tension_amount > 10} - CHY = {has_added_tension_amount > 10} + OR = { + BYG = { + has_added_tension_amount > 10 + } + SAD = { + has_added_tension_amount > 10 + } + CHY = { + has_added_tension_amount > 10 + } } } visible = { @@ -1567,16 +1675,16 @@ HUJ_neiwu = { cost = 50 icon = weiershi available = { - or = { - has_country_leader = { - name = "伊丽莎白" - ruling_only = yes - } - threat > 0.3 - has_country_leader = { - name = "威尔士亲王" - ruling_only = yes - } + OR = { + has_country_leader = { + name = "伊丽莎白" + ruling_only = yes + } + threat > 0.3 + has_country_leader = { + name = "威尔士亲王" + ruling_only = yes + } } } visible = { @@ -1595,20 +1703,26 @@ HUJ_neiwu = { icon = yanzhan available = { threat > 0.2 - or = { - has_country_leader = { - name = "伊丽莎白" - ruling_only = yes + OR = { + has_country_leader = { + name = "伊丽莎白" + ruling_only = yes + } + has_country_leader = { + name = "厌战" + ruling_only = yes + } } - has_country_leader = { - name = "厌战" - ruling_only = yes - } - } - or = { - TIX = {has_added_tension_amount > 10} - BFL = {has_added_tension_amount > 10} - YUW = {has_added_tension_amount > 10} + OR = { + TIX = { + has_added_tension_amount > 10 + } + BFL = { + has_added_tension_amount > 10 + } + YUW = { + has_added_tension_amount > 10 + } } } visible = { @@ -1628,15 +1742,15 @@ HUJ_neiwu = { icon = chaijun available = { threat > 0.4 - or = { - has_country_leader = { - name = "伊丽莎白" - ruling_only = yes - } - has_country_leader = { - name = "柴郡" - ruling_only = yes - } + OR = { + has_country_leader = { + name = "伊丽莎白" + ruling_only = yes + } + has_country_leader = { + name = "柴郡" + ruling_only = yes + } } } visible = { @@ -1649,40 +1763,39 @@ HUJ_neiwu = { complete_effect = { add_stability = -0.05 every_country = { - limit = { - is_subject_of = HUJ - or = { - tag = CAN - tag = RAJ - tag = AST - tag = SAF - tag = NZL - } - } - add_ideas = HUJ_qiangpozhongc - set_country_flag = britain_enforced_our_loyalty + limit = { + is_subject_of = HUJ + OR = { + tag = CAN + tag = RAJ + tag = AST + tag = SAF + tag = NZL + } + } + add_ideas = HUJ_qiangpozhongc + set_country_flag = britain_enforced_our_loyalty } } } - HUJ_beifa_zhimindifangyu = { cost = 50 icon = beifa days_remove = 120 available = { - or = { - has_country_leader = { - name = "伊丽莎白" - ruling_only = yes + OR = { + has_country_leader = { + name = "伊丽莎白" + ruling_only = yes + } + has_country_leader = { + name = "贝尔法斯特" + ruling_only = yes + } } - has_country_leader = { - name = "贝尔法斯特" - ruling_only = yes - } - } - or = { - has_completed_focus = HUJ_quanqiufangwei - threat > 0.7 + OR = { + has_completed_focus = HUJ_quanqiufangwei + threat > 0.7 } } visible = { @@ -1740,26 +1853,25 @@ HUJ_neiwu = { } } } - HUJ_yanzhan_jinjidongyuan = { cost = 50 icon = yanzhan days_remove = 180 available = { - or = { - has_country_leader = { - name = "伊丽莎白" - ruling_only = yes - } - has_country_leader = { - name = "厌战" - ruling_only = yes - } - or = { - has_completed_focus = HUJ_bentufangyu - has_war = yes - threat > 0.8 - } + OR = { + has_country_leader = { + name = "伊丽莎白" + ruling_only = yes + } + has_country_leader = { + name = "厌战" + ruling_only = yes + } + OR = { + has_completed_focus = HUJ_bentufangyu + has_war = yes + threat > 0.8 + } } } visible = { @@ -1842,38 +1954,45 @@ HUJ_neiwu = { } } } - } BFL_weiguozz = { BFL_baoweisandacheng = { icon = eng_propaganda_campaigns priority = 100 - activation = { + activation = { has_global_flag = MOD_azurlane_tianjiangjianniang tag = BFL any_country = { - has_war_with = BFL - is_major = yes + has_war_with = BFL + is_major = yes } has_defensive_war = yes - not = { has_country_flag = BFL_baoweicg } - not = { has_country_flag = BFL_baoweisb } + NOT = { + has_country_flag = BFL_baoweicg + } + NOT = { + has_country_flag = BFL_baoweisb + } } complete_effect = { country_event = az_tianjiang.52 set_country_flag = BFL_baoweisb } available = { - - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } days_mission_timeout = 1050 is_good = yes timeout_effect = { - country_event = az_tianjiang.53 set_country_flag = BFL_baoweicg } @@ -1881,16 +2000,16 @@ BFL_weiguozz = { BFL_zhanzhengdejiaoxun = { icon = generic_prepare_civil_war visible = { - has_defensive_war = yes - any_country = { - has_war_with = BFL - is_major = yes + has_defensive_war = yes + any_country = { + has_war_with = BFL + is_major = yes } } available = { any_country = { - has_war_with = BFL - is_major = yes + has_war_with = BFL + is_major = yes } has_country_flag = bflgaige2 surrender_progress > 0.2 @@ -1901,7 +2020,7 @@ BFL_weiguozz = { cost = 50 days_remove = 365 fire_only_once = yes - complete_effect = { + complete_effect = { army_experience = -50 } modifier = { @@ -1915,17 +2034,17 @@ BFL_weiguozz = { BFL_fankangqinluezhe = { icon = generic_civil_support visible = { - has_defensive_war = yes - any_country = { - has_war_with = BFL - is_major = yes + has_defensive_war = yes + any_country = { + has_war_with = BFL + is_major = yes } } available = { has_defensive_war = yes any_country = { - has_war_with = BFL - is_major = yes + has_war_with = BFL + is_major = yes } surrender_progress > 0.25 } @@ -1934,33 +2053,35 @@ BFL_weiguozz = { } cost = 50 fire_only_once = yes - complete_effect = { + complete_effect = { every_state = { - limit = { - is_core_of = BFL - not = { is_controlled_by = BFL } - } - set_state_flag = all_youjiduizhengaihuodong - add_dynamic_modifier = { - modifier = BFL_youjidui_state - } + limit = { + is_core_of = BFL + NOT = { + is_controlled_by = BFL + } + } + set_state_flag = all_youjiduizhengaihuodong + add_dynamic_modifier = { + modifier = BFL_youjidui_state + } } } } BFL_buxuzaijinyibu = { icon = generic_civil_support visible = { - has_defensive_war = yes - any_country = { - has_war_with = BFL - is_major = yes + has_defensive_war = yes + any_country = { + has_war_with = BFL + is_major = yes } } available = { has_defensive_war = yes any_country = { - has_war_with = BFL - is_major = yes + has_war_with = BFL + is_major = yes } surrender_progress > 0.35 } @@ -1969,31 +2090,33 @@ BFL_weiguozz = { } cost = 50 fire_only_once = yes - complete_effect = { + complete_effect = { every_country = { - limit = { - has_war_with = BFL - is_major = yes - } - add_timed_idea = { days = 365 idea = BFL_houqinbeipohuai } + limit = { + has_war_with = BFL + is_major = yes + } + add_timed_idea = { + days = 365 + idea = BFL_houqinbeipohuai + } } } } - BFL_jrzsdcm = { icon = generic_assassination cost = 50 visible = { - has_defensive_war = yes - any_country = { - has_war_with = BFL - is_major = yes + has_defensive_war = yes + any_country = { + has_war_with = BFL + is_major = yes } } available = { any_country = { - has_war_with = BFL - is_major = yes + has_war_with = BFL + is_major = yes } surrender_progress > 0.25 } @@ -2012,21 +2135,20 @@ BFL_weiguozz = { add_political_power = 200 } } - BFL_wqxgjls = { icon = generic_cavalry cost = 50 visible = { - has_defensive_war = yes - any_country = { - has_war_with = BFL - is_major = yes + has_defensive_war = yes + any_country = { + has_war_with = BFL + is_major = yes } } available = { any_country = { - has_war_with = BFL - is_major = yes + has_war_with = BFL + is_major = yes } surrender_progress > 0.25 } @@ -2043,21 +2165,20 @@ BFL_weiguozz = { add_political_power = 200 } } - BFL_xiuzhulnglfx = { icon = generic_mountain_fortification cost = 30 visible = { - has_defensive_war = yes - any_country = { - has_war_with = BFL - is_major = yes + has_defensive_war = yes + any_country = { + has_war_with = BFL + is_major = yes } } available = { any_country = { - has_war_with = BFL - is_major = yes + has_war_with = BFL + is_major = yes } controls_state = 195 } @@ -2072,7 +2193,9 @@ BFL_weiguozz = { remove_effect = { 195 = { if = { - limit = { is_controlled_by = ROOT } + limit = { + is_controlled_by = ROOT + } add_dynamic_modifier = { modifier = BFL_sandachengfangxian_state } @@ -2092,21 +2215,20 @@ BFL_weiguozz = { } } } - BFL_xiuzhumskfx = { icon = generic_mountain_fortification cost = 50 visible = { - has_defensive_war = yes - any_country = { - has_war_with = BFL - is_major = yes + has_defensive_war = yes + any_country = { + has_war_with = BFL + is_major = yes } } available = { any_country = { - has_war_with = BFL - is_major = yes + has_war_with = BFL + is_major = yes } controls_state = 219 } @@ -2121,7 +2243,9 @@ BFL_weiguozz = { remove_effect = { 219 = { if = { - limit = { is_controlled_by = ROOT } + limit = { + is_controlled_by = ROOT + } add_dynamic_modifier = { modifier = BFL_sandachengfangxian_state } @@ -2177,21 +2301,20 @@ BFL_weiguozz = { } } } - BFL_xiuzhusdlglfx = { icon = generic_mountain_fortification cost = 50 visible = { - has_defensive_war = yes - any_country = { - has_war_with = BFL - is_major = yes + has_defensive_war = yes + any_country = { + has_war_with = BFL + is_major = yes } } available = { any_country = { - has_war_with = BFL - is_major = yes + has_war_with = BFL + is_major = yes } controls_state = 217 } @@ -2206,7 +2329,9 @@ BFL_weiguozz = { remove_effect = { 217 = { if = { - limit = { is_controlled_by = ROOT } + limit = { + is_controlled_by = ROOT + } add_dynamic_modifier = { modifier = BFL_sandachengfangxian_state } @@ -2250,20 +2375,19 @@ BFL_weiguozz = { } } } - BFL_227 = { icon = generic_military visible = { - has_defensive_war = yes - any_country = { - has_war_with = BFL - is_major = yes + has_defensive_war = yes + any_country = { + has_war_with = BFL + is_major = yes } } available = { any_country = { - has_war_with = BFL - is_major = yes + has_war_with = BFL + is_major = yes } has_country_flag = bflgaige2 surrender_progress > 0.4 @@ -2283,14 +2407,13 @@ BFL_weiguozz = { add_political_power = 300 } } - BFL_fangongshike = { icon = generic_tank visible = { - has_defensive_war = yes - any_country = { - has_war_with = BFL - is_major = yes + has_defensive_war = yes + any_country = { + has_war_with = BFL + is_major = yes } } days_remove = 400 @@ -2298,28 +2421,32 @@ BFL_weiguozz = { date > 1942.6.1 has_defensive_war = yes any_country = { - has_war_with = BFL - is_major = yes + has_war_with = BFL + is_major = yes } surrender_progress > 0.3 - or = { - date > 1943.6.1 - any_country = { - controls_state = 16 - not = {has_war_with = BFL} - } - any_country = { - is_major = yes - controls_state = 2 - not = {has_war_with = BFL} - } + OR = { + date > 1943.6.1 + any_country = { + controls_state = 16 + NOT = { + has_war_with = BFL + } + } + any_country = { + is_major = yes + controls_state = 2 + NOT = { + has_war_with = BFL + } + } } } ai_will_do = { factor = 10000 } fire_only_once = yes - complete_effect = { + complete_effect = { add_war_support = 0.4 } modifier = { @@ -2331,7 +2458,6 @@ BFL_weiguozz = { add_political_power = 200 } } - } YUW_fangong = { @@ -2345,45 +2471,59 @@ YUW_fangong = { is_in_faction_with = BYG has_completed_focus = YUW_changluguixiang any_country = { - controls_state = 123 - not = { has_war_with = YUW } + controls_state = 123 + NOT = { + has_war_with = YUW + } + } + NOT = { + controls_state = 14 + } + NOT = { + controls_state = 15 } - not = { controls_state = 14 } - not = { controls_state = 15 } has_war_with = TIX - or = { - TIX = { controls_state = 14 } - SAD = { controls_state = 14 } + OR = { + TIX = { + controls_state = 14 + } + SAD = { + controls_state = 14 + } } - or = { - TIX = { controls_state = 15 } - SAD = { controls_state = 15 } + OR = { + TIX = { + controls_state = 15 + } + SAD = { + controls_state = 15 + } } } ai_will_do = { factor = 0 modifier = { - date > 1942.6.1 - add = 100 + date > 1942.6.1 + add = 100 } } days_remove = 365 fire_only_once = yes complete_effect = { if = { - limit = { - is_ai = no - } - custom_effect_tooltip = YUW_youjiduibeifang - hidden_effect = { - load_oob = YUW_bwxd - } + limit = { + is_ai = no + } + custom_effect_tooltip = YUW_youjiduibeifang + hidden_effect = { + load_oob = YUW_bwxd + } } if = { - limit = { - is_ai = yes - } - load_oob = YUW_bwxdAI + limit = { + is_ai = yes + } + load_oob = YUW_bwxdAI } } modifier = { @@ -2405,21 +2545,29 @@ YUW_fangong = { has_completed_focus = YUW_changluguixiang controls_state = 1 any_country = { - controls_state = 114 - not = { has_war_with = YUW } + controls_state = 114 + NOT = { + has_war_with = YUW + } + } + NOT = { + controls_state = 21 } - not = { controls_state = 21 } has_war_with = TIX - or = { - TIX = { controls_state = 21 } - WEX = { controls_state = 21 } + OR = { + TIX = { + controls_state = 21 + } + WEX = { + controls_state = 21 + } } } ai_will_do = { factor = 0 modifier = { - date > 1942.3.1 - add = 100 + date > 1942.3.1 + add = 100 } } days_remove = 180 @@ -2427,7 +2575,7 @@ YUW_fangong = { complete_effect = { custom_effect_tooltip = YUW_youjiduinanfang hidden_effect = { - load_oob = YUW_lqbxd + load_oob = YUW_lqbxd } } modifier = { @@ -2441,26 +2589,26 @@ YUW_fangong = { YUW_yaoqiuguishun = { icon = generic_operation visible = { - not = { - WEX = { - has_completed_focus = WEX_chpnghuoxinsheng - } + NOT = { + WEX = { + has_completed_focus = WEX_chpnghuoxinsheng + } } } available = { - or = { - is_ai = yes - has_completed_focus = YUW_chenglilinshizhengfu - has_country_flag = YUW_huiguibentu + OR = { + is_ai = yes + has_completed_focus = YUW_chenglilinshizhengfu + has_country_flag = YUW_huiguibentu } controls_state = 16 - or = { - WEX = { - surrender_progress > 0.4 - } - WEX = { - is_in_faction_with = YUW - } + OR = { + WEX = { + surrender_progress > 0.4 + } + WEX = { + is_in_faction_with = YUW + } } } ai_will_do = { @@ -2468,22 +2616,26 @@ YUW_fangong = { } fire_only_once = yes complete_effect = { - annex_country = { target = WEX transfer_troops = no } + annex_country = { + target = WEX + transfer_troops = no + } } } YUW_zhaohuiweixipaijianniang = { icon = generic_break_treaty visible = { - } available = { - or = { - is_ai = yes - has_completed_focus = YUW_chenglilinshizhengfu - has_country_flag = YUW_huiguibentu + OR = { + is_ai = yes + has_completed_focus = YUW_chenglilinshizhengfu + has_country_flag = YUW_huiguibentu } controls_state = 16 - not = {country_exists = WEX} + NOT = { + country_exists = WEX + } } ai_will_do = { factor = 100 @@ -2491,136 +2643,133 @@ YUW_fangong = { fire_only_once = yes complete_effect = { TIX = { - YUW_rangbaer = { - set_nationality = YUW - } - YUW_aerjiliya = { - set_nationality = YUW - } - YUW_dunkerque = { - set_nationality = YUW - } - YUW_edu = { - set_nationality = YUW - } - YUW_beiyaen = { - set_nationality = YUW - } - YUW_wokelan = { - set_nationality = YUW - } - YUW_jialisuoniai = { - set_nationality = YUW - } - YUW_taertu = { - set_nationality = YUW - } - YUW_jiasikenie = { - set_nationality = YUW - } - YUW_xiafei = { - set_nationality = YUW - } - YUW_buqu = { - set_nationality = YUW - } - YUW_fulandeer = { - set_nationality = YUW - } - YUW_masaiqu = { - set_nationality = YUW - } - YUW_kelaimengsuo = { - set_nationality = YUW - } - YUW_kaiersheng = { - set_nationality = YUW - } - YUW_leimaer = { - set_nationality = YUW - } - YUW_xukufu = { - set_nationality = YUW - } - YUW_huajian = { - set_nationality = YUW - } - YUW_zhongjian = { - set_nationality = YUW - } - YUW_mojiaduoer = { - set_nationality = YUW - } + YUW_rangbaer = { + set_nationality = YUW + } + YUW_aerjiliya = { + set_nationality = YUW + } + YUW_dunkerque = { + set_nationality = YUW + } + YUW_edu = { + set_nationality = YUW + } + YUW_beiyaen = { + set_nationality = YUW + } + YUW_wokelan = { + set_nationality = YUW + } + YUW_jialisuoniai = { + set_nationality = YUW + } + YUW_taertu = { + set_nationality = YUW + } + YUW_jiasikenie = { + set_nationality = YUW + } + YUW_xiafei = { + set_nationality = YUW + } + YUW_buqu = { + set_nationality = YUW + } + YUW_fulandeer = { + set_nationality = YUW + } + YUW_masaiqu = { + set_nationality = YUW + } + YUW_kelaimengsuo = { + set_nationality = YUW + } + YUW_kaiersheng = { + set_nationality = YUW + } + YUW_leimaer = { + set_nationality = YUW + } + YUW_xukufu = { + set_nationality = YUW + } + YUW_huajian = { + set_nationality = YUW + } + YUW_zhongjian = { + set_nationality = YUW + } + YUW_mojiaduoer = { + set_nationality = YUW + } } SAD = { - YUW_rangbaer = { - set_nationality = YUW - } - YUW_aerjiliya = { - set_nationality = YUW - } - YUW_dunkerque = { - set_nationality = YUW - } - YUW_edu = { - set_nationality = YUW - } - YUW_beiyaen = { - set_nationality = YUW - } - YUW_wokelan = { - set_nationality = YUW - } - YUW_jialisuoniai = { - set_nationality = YUW - } - YUW_taertu = { - set_nationality = YUW - } - YUW_jiasikenie = { - set_nationality = YUW - } - YUW_xiafei = { - set_nationality = YUW - } - YUW_buqu = { - set_nationality = YUW - } - YUW_fulandeer = { - set_nationality = YUW - } - YUW_masaiqu = { - set_nationality = YUW - } - YUW_kelaimengsuo = { - set_nationality = YUW - } - YUW_kaiersheng = { - set_nationality = YUW - } - YUW_leimaer = { - set_nationality = YUW - } - YUW_xukufu = { - set_nationality = YUW - } - YUW_huajian = { - set_nationality = YUW - } - YUW_zhongjian = { - set_nationality = YUW - } - YUW_mojiaduoer = { - set_nationality = YUW - } + YUW_rangbaer = { + set_nationality = YUW + } + YUW_aerjiliya = { + set_nationality = YUW + } + YUW_dunkerque = { + set_nationality = YUW + } + YUW_edu = { + set_nationality = YUW + } + YUW_beiyaen = { + set_nationality = YUW + } + YUW_wokelan = { + set_nationality = YUW + } + YUW_jialisuoniai = { + set_nationality = YUW + } + YUW_taertu = { + set_nationality = YUW + } + YUW_jiasikenie = { + set_nationality = YUW + } + YUW_xiafei = { + set_nationality = YUW + } + YUW_buqu = { + set_nationality = YUW + } + YUW_fulandeer = { + set_nationality = YUW + } + YUW_masaiqu = { + set_nationality = YUW + } + YUW_kelaimengsuo = { + set_nationality = YUW + } + YUW_kaiersheng = { + set_nationality = YUW + } + YUW_leimaer = { + set_nationality = YUW + } + YUW_xukufu = { + set_nationality = YUW + } + YUW_huajian = { + set_nationality = YUW + } + YUW_zhongjian = { + set_nationality = YUW + } + YUW_mojiaduoer = { + set_nationality = YUW + } } } } - - } - TIX_zhanhou = { TIX_jiemengbanya = { icon = generic_political_discourse @@ -2631,55 +2780,79 @@ TIX_zhanhou = { available = { has_global_flag = scw_over is_puppet = no - or = { - has_government = fascism - has_government = neutrality + OR = { + has_government = fascism + has_government = neutrality } date > 1941.6.1 OR = { - YUW = { has_capitulated = yes } - YUW = { is_in_faction_with = TIX } - NOT = { country_exists = YUW } + YUW = { + has_capitulated = yes } + YUW = { + is_in_faction_with = TIX + } + NOT = { + country_exists = YUW + } + } any_country = { - if = { - original_tag = SPR - owns_state = 41 - not = {has_government = communism} - not = {has_government = democratic} - not = { is_in_faction_with = TIX } - not = { has_war_with = TIX } - has_capitulated = no + AND = { + original_tag = SPR + owns_state = 41 + NOT = { + has_government = communism } + NOT = { + has_government = democratic + } + NOT = { + is_in_faction_with = TIX + } + NOT = { + has_war_with = TIX + } + has_capitulated = no + } } } ai_will_do = { factor = 0 modifier = { - has_war = no - add = 100 + has_war = no + add = 100 } } fire_only_once = yes complete_effect = { every_country = { - limit = { - original_tag = SPR - owns_state = 41 - not = {has_government = communism} - not = {has_government = democratic} - not = { is_in_faction_with = TIX } - not = { has_war_with = TIX } - OR = { - has_capitulated = no - is_subject = no + limit = { + original_tag = SPR + owns_state = 41 + NOT = { + has_government = communism + } + NOT = { + has_government = democratic + } + NOT = { + is_in_faction_with = TIX + } + NOT = { + has_war_with = TIX + } + OR = { + has_capitulated = no + is_subject = no + } + } + country_event = { + id = az_tianjiang.63 + days = 2 } - } - country_event = { id = az_tianjiang.63 days = 2} } } } - TIX_jiemengruidian = { icon = generic_political_discourse visible = { @@ -2689,19 +2862,31 @@ TIX_zhanhou = { available = { date > 1941.1.1 is_puppet = no - or = { - has_government = fascism - has_government = neutrality + OR = { + has_government = fascism + has_government = neutrality } OR = { - YUW = { has_capitulated = yes } - YUW = { is_in_faction_with = TIX } - NOT = { country_exists = YUW } + YUW = { + has_capitulated = yes } + YUW = { + is_in_faction_with = TIX + } + NOT = { + country_exists = YUW + } + } SWE = { - not = {has_government = communism} - not = { is_in_faction_with = TIX } - not = { has_war_with = TIX } + NOT = { + has_government = communism + } + NOT = { + is_in_faction_with = TIX + } + NOT = { + has_war_with = TIX + } is_in_faction = no OR = { has_capitulated = no @@ -2712,18 +2897,20 @@ TIX_zhanhou = { ai_will_do = { factor = 0 modifier = { - has_war = no - add = 100 + has_war = no + add = 100 } } fire_only_once = yes complete_effect = { SWE = { - country_event = { id = az_tianjiang.64 days = 2} + country_event = { + id = az_tianjiang.64 + days = 2 + } } } } - TIX_weishetuerqi = { icon = generic_tank visible = { @@ -2733,25 +2920,45 @@ TIX_zhanhou = { available = { date > 1941.6.1 is_puppet = no - or = { - has_government = fascism - has_government = neutrality + OR = { + has_government = fascism + has_government = neutrality } OR = { - BFL = { has_capitulated = yes } - BFL = { is_in_faction_with = TIX } - NOT = { country_exists = BFL } - BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + BFL = { + has_capitulated = yes + } + BFL = { + is_in_faction_with = TIX + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 } } + } TUR = { - not = {has_government = communism} - not = { is_in_faction_with = TIX } - not = { is_in_faction_with = HUJ } - not = { has_war_with = TIX } + NOT = { + has_government = communism + } + NOT = { + is_in_faction_with = TIX + } + NOT = { + is_in_faction_with = HUJ + } + NOT = { + has_war_with = TIX + } OR = { has_capitulated = no is_subject = no @@ -2764,11 +2971,13 @@ TIX_zhanhou = { fire_only_once = yes complete_effect = { TUR = { - country_event = { id = az_tianjiang.65 days = 2} + country_event = { + id = az_tianjiang.65 + days = 2 + } } } } - TIX_zhanlingqidejieshu = { icon = generic_army_support visible = { @@ -2780,35 +2989,43 @@ TIX_zhanhou = { is_puppet = no has_government = fascism OR = { - HUJ = { has_capitulated = yes } - HUJ = { is_in_faction_with = TIX } - NOT = { country_exists = HUJ } - date > 1942.6.1 + HUJ = { + has_capitulated = yes } - not = { has_war_with = HUJ } + HUJ = { + is_in_faction_with = TIX + } + NOT = { + country_exists = HUJ + } + date > 1942.6.1 + } + NOT = { + has_war_with = HUJ + } country_exists = WEX WEX = { - is_subject_of = TIX - surrender_progress < 0.1 + is_subject_of = TIX + surrender_progress < 0.1 } - } ai_will_do = { factor = 1 modifier = { - or = { - date > 1944.1.1 - has_war = no - } - factor = 100 + OR = { + date > 1944.1.1 + has_war = no + } + factor = 100 } } fire_only_once = yes complete_effect = { - country_event = { id = az_tianjiang.66 } + country_event = { + id = az_tianjiang.66 + } } } - TIX_yuhuangjiayihe = { icon = generic_operation visible = { @@ -2819,37 +3036,46 @@ TIX_zhanhou = { is_puppet = no has_government = fascism is_faction_leader = yes - or = { - HUJ = { - is_faction_leader = yes - has_war_with = TIX - is_in_faction_with = BYG - } - BYG = { - is_faction_leader = yes - has_war_with = TIX - is_in_faction_with = HUJ - } + OR = { + HUJ = { + is_faction_leader = yes + has_war_with = TIX + is_in_faction_with = BYG + } + BYG = { + is_faction_leader = yes + has_war_with = TIX + is_in_faction_with = HUJ + } } OR = { - BFL = { has_capitulated = yes } - NOT = { country_exists = BFL } - BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } - } + BFL = { + has_capitulated = yes + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } + } } surrender_progress < 0.05 SAD = { - is_in_faction_with = TIX - surrender_progress < 0.1 + is_in_faction_with = TIX + surrender_progress < 0.1 } WEX = { - is_subject_of = TIX - surrender_progress < 0.4 + is_subject_of = TIX + surrender_progress < 0.4 } - } ai_will_do = { factor = 100 @@ -2857,43 +3083,54 @@ TIX_zhanhou = { fire_only_once = yes complete_effect = { if = { - limit = { - HUJ = { - is_faction_leader = yes - } - } - HUJ = { - country_event = { id = az_tianjiang.69 days = 3 } - } + limit = { + HUJ = { + is_faction_leader = yes + } + } + HUJ = { + country_event = { + id = az_tianjiang.69 + days = 3 + } + } } if = { - limit = { - BYG = { - is_faction_leader = yes - } - } - BYG = { - country_event = { id = az_tianjiang.70 days = 3 } - } + limit = { + BYG = { + is_faction_leader = yes + } + } + BYG = { + country_event = { + id = az_tianjiang.70 + days = 3 + } + } } } } - } TIX_zongduxiaqujueyi = { TIX_chongxinmingmingsanzuochengshi = { - icon = ger_reichskommissariats - available = { is_puppet = no has_government = fascism BFL = { - not = { has_war_with = TIX } - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + NOT = { + has_war_with = TIX + } + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } } ai_will_do = { @@ -2906,18 +3143,22 @@ TIX_zongduxiaqujueyi = { is_puppet = no } complete_effect = { - set_province_name = { id = 3529 name = "伏尔加格勒" } - set_province_name = { id = 3151 name = "腓特烈格勒" } - set_province_name = { id = 3686 name = "波斯猫" } + set_province_name = { + id = 3529 + name = "伏尔加格勒" + } + set_province_name = { + id = 3151 + name = "腓特烈格勒" + } + set_province_name = { + id = 3686 + name = "波斯猫" + } } - - } - TIX_reichskommissariat_norwegen = { - icon = ger_reichskommissariats - available = { is_puppet = no has_government = fascism @@ -2934,23 +3175,31 @@ TIX_zongduxiaqujueyi = { factor = 0 modifier = { add = 100 - or = { - HUJ = { has_capitulated = yes } - HUJ = { not = { has_war_with = TIX } } + OR = { + HUJ = { + has_capitulated = yes + } + HUJ = { + not = { + has_war_with = TIX + } + } } } } - visible = { is_puppet = no has_government = fascism } - complete_effect = { if = { limit = { country_exists = NOR - NOT = { NOR = { has_government = fascism } } + NOT = { + NOR = { + has_government = fascism + } + } } hidden_effect = { NOR = { @@ -2974,7 +3223,10 @@ TIX_zongduxiaqujueyi = { transfer_state = 37 TIX = { puppet = PREV - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet + } } load_focus_tree = tix_zdxq_focus set_cosmetic_tag = BEIOU_reichskommissariat @@ -3012,15 +3264,15 @@ TIX_zongduxiaqujueyi = { } } } - set_autonomy = { target = NOR autonomy_state = autonomy_integrated_puppet } + set_autonomy = { + target = NOR + autonomy_state = autonomy_integrated_puppet + } } } } - TIX_reichskommissariat_niederlande = { - icon = ger_reichskommissariats - available = { is_puppet = no has_completed_focus = TIX_zujianzongduxiaqu @@ -3032,31 +3284,38 @@ TIX_zongduxiaqujueyi = { controls_state = 29 controls_state = 34 } - cost = 0 fire_only_once = yes ai_will_do = { factor = 0 modifier = { add = 100 - or = { - HUJ = { has_capitulated = yes } - HUJ = { not = { has_war_with = TIX } } + OR = { + HUJ = { + has_capitulated = yes + } + HUJ = { + not = { + has_war_with = TIX + } + } } } } - visible = { has_completed_focus = TIX_zujianzongduxiaqu has_government = fascism is_puppet = no } - complete_effect = { if = { limit = { country_exists = HOL - NOT = { HOL = { has_government = fascism } } + NOT = { + HOL = { + has_government = fascism + } + } } hidden_effect = { HOL = { @@ -3072,10 +3331,13 @@ TIX_zongduxiaqujueyi = { } } HOL = { - start_civil_war = { ideology = fascism size = 1 } + start_civil_war = { + ideology = fascism + size = 1 + } } random_country = { - limit= { + limit = { original_tag = HOL has_government = fascism } @@ -3092,7 +3354,10 @@ TIX_zongduxiaqujueyi = { load_focus_tree = tix_zdxq_focus TIX = { puppet = PREV - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet + } } create_country_leader = { name = "Arthur Seyss-Inquart" @@ -3128,15 +3393,15 @@ TIX_zongduxiaqujueyi = { } } } - set_autonomy = { target = HOL autonomy_state = autonomy_integrated_puppet } + set_autonomy = { + target = HOL + autonomy_state = autonomy_integrated_puppet + } } } } - TIX_reichskommissariat_poland = { - icon = ger_reichskommissariats - available = { is_puppet = no has_completed_focus = TIX_zujianzongduxiaqu @@ -3151,34 +3416,45 @@ TIX_zongduxiaqujueyi = { } fire_only_once = yes cost = 0 - ai_will_do = { factor = 0 modifier = { add = 0 OR = { - BFL = { has_capitulated = yes } - NOT = { country_exists = BFL } BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + has_capitulated = yes + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } } } } - visible = { has_completed_focus = TIX_zujianzongduxiaqu has_government = fascism is_puppet = no } - complete_effect = { if = { limit = { country_exists = POL - NOT = { POL = { has_government = fascism } } + NOT = { + POL = { + has_government = fascism + } + } } hidden_effect = { POL = { @@ -3192,10 +3468,13 @@ TIX_zongduxiaqujueyi = { } } POL = { - start_civil_war = { ideology = fascism size = 1 } + start_civil_war = { + ideology = fascism + size = 1 + } } random_country = { - limit= { + limit = { original_tag = POL has_government = fascism } @@ -3210,7 +3489,10 @@ TIX_zongduxiaqujueyi = { load_focus_tree = tix_zdxq_focus TIX = { puppet = PREV - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet + } } } } @@ -3226,13 +3508,14 @@ TIX_zongduxiaqujueyi = { set_cosmetic_tag = POL_reichskommissariat load_focus_tree = tix_zdxq_focus } - set_autonomy = { target = POL autonomy_state = autonomy_integrated_puppet } + set_autonomy = { + target = POL + autonomy_state = autonomy_integrated_puppet + } } } } - TIX_reichskommissariat_ostland = { - icon = ger_reichskommissariats fire_only_once = yes available = { @@ -3243,110 +3526,134 @@ TIX_zongduxiaqujueyi = { OR = { TIX = { controls_state = 94 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 94 - } + controls_state = 94 + } } OR = { TIX = { controls_state = 95 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 95 - } + controls_state = 95 + } } OR = { TIX = { controls_state = 204 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 204 - } + controls_state = 204 + } } OR = { TIX = { controls_state = 206 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 206 - } + controls_state = 206 + } } OR = { TIX = { controls_state = 207 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 207 - } + controls_state = 207 + } } OR = { TIX = { controls_state = 241 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 241 - } + controls_state = 241 + } } OR = { TIX = { controls_state = 194 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 194 - } + controls_state = 194 + } } OR = { TIX = { controls_state = 96 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 96 - } + controls_state = 96 + } } } - cost = 0 - ai_will_do = { factor = 0 modifier = { add = 100 OR = { - BFL = { has_completed_focus = BFL_danggou } - BFL = { has_capitulated = yes } - NOT = { country_exists = BFL } BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + has_completed_focus = BFL_danggou + } + BFL = { + has_capitulated = yes + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } } } } - visible = { has_completed_focus = TIX_zujianzongduxiaqu has_government = fascism is_puppet = no } - complete_effect = { release_on_controlled = BLR BLR = { @@ -3364,12 +3671,20 @@ TIX_zongduxiaqujueyi = { puppet = PREV if = { limit = { - NOT = { has_dlc = "Death or Dishonor" } + NOT = { + has_dlc = "Death or Dishonor" + } + } + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet } - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } } else = { - set_autonomy = { target = PREV autonomy_state = autonomy_reichskommissariat } + set_autonomy = { + target = PREV + autonomy_state = autonomy_reichskommissariat + } } } create_country_leader = { @@ -3399,12 +3714,10 @@ TIX_zongduxiaqujueyi = { } } } - } } + } } - TIX_reichskommissariat_ukraine = { - icon = ger_reichskommissariats fire_only_once = yes available = { @@ -3415,229 +3728,278 @@ TIX_zongduxiaqujueyi = { OR = { TIX = { controls_state = 93 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 93 - } + controls_state = 93 + } } OR = { TIX = { controls_state = 202 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 202 - } + controls_state = 202 + } } OR = { TIX = { controls_state = 198 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 198 - } - }OR = { + controls_state = 198 + } + } + OR = { TIX = { controls_state = 201 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 201 - } + controls_state = 201 + } } OR = { TIX = { controls_state = 199 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 199 - } + controls_state = 199 + } } OR = { TIX = { controls_state = 89 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 89 - } + controls_state = 89 + } } OR = { TIX = { controls_state = 91 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 91 - } + controls_state = 91 + } } OR = { TIX = { controls_state = 228 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 228 - } + controls_state = 228 + } } OR = { TIX = { controls_state = 227 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 227 - } + controls_state = 227 + } } OR = { TIX = { controls_state = 834 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 834 - } + controls_state = 834 + } } OR = { TIX = { controls_state = 226 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 226 - } + controls_state = 226 + } } OR = { TIX = { controls_state = 196 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 196 - } + controls_state = 196 + } } OR = { TIX = { controls_state = 200 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 200 - } + controls_state = 200 + } } OR = { TIX = { controls_state = 221 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 221 - } + controls_state = 221 + } } OR = { TIX = { controls_state = 193 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 193 - } + controls_state = 193 + } } OR = { TIX = { controls_state = 192 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 192 - } + controls_state = 192 + } } OR = { TIX = { controls_state = 203 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 203 - } + controls_state = 203 + } } OR = { TIX = { controls_state = 197 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 197 - } - }OR = { + controls_state = 197 + } + } + OR = { TIX = { controls_state = 225 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 225 - } + controls_state = 225 + } } OR = { TIX = { controls_state = 259 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 259 - } + controls_state = 259 + } } - } - cost = 0 - ai_will_do = { factor = 0 modifier = { add = 100 OR = { - BFL = { has_completed_focus = BFL_danggou } - BFL = { has_capitulated = yes } - NOT = { country_exists = BFL } BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + has_completed_focus = BFL_danggou + } + BFL = { + has_capitulated = yes + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } } } } - visible = { has_completed_focus = TIX_zujianzongduxiaqu has_government = fascism is_puppet = no } - complete_effect = { release_on_controlled = UKR ROM = { @@ -3668,7 +4030,10 @@ TIX_zongduxiaqujueyi = { transfer_state = 834 TIX = { puppet = PREV - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet + } } set_cosmetic_tag = UKR_reichskommissariat load_focus_tree = tix_zdxq_focus @@ -3684,9 +4049,7 @@ TIX_zongduxiaqujueyi = { } } } - TIX_reichskommissariat_boluodihai = { - icon = ger_reichskommissariats fire_only_once = yes available = { @@ -3697,184 +4060,224 @@ TIX_zongduxiaqujueyi = { OR = { TIX = { controls_state = 189 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 189 - } + controls_state = 189 + } } OR = { TIX = { controls_state = 815 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 815 - } + controls_state = 815 + } } OR = { TIX = { controls_state = 814 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 814 - } + controls_state = 814 + } } OR = { TIX = { controls_state = 11 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 11 - } + controls_state = 11 + } } OR = { TIX = { controls_state = 784 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 784 - } + controls_state = 784 + } } OR = { TIX = { controls_state = 190 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 190 - } + controls_state = 190 + } } OR = { TIX = { controls_state = 809 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 809 - } + controls_state = 809 + } } OR = { TIX = { controls_state = 810 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 810 - } + controls_state = 810 + } } OR = { TIX = { controls_state = 808 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 808 - } + controls_state = 808 + } } OR = { TIX = { controls_state = 12 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 12 - } + controls_state = 12 + } } OR = { TIX = { controls_state = 191 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 191 - } + controls_state = 191 + } } OR = { TIX = { controls_state = 13 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 13 - } + controls_state = 13 + } } OR = { TIX = { controls_state = 811 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 811 - } + controls_state = 811 + } } OR = { TIX = { controls_state = 812 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 812 - } + controls_state = 812 + } } OR = { TIX = { controls_state = 813 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 813 - } + controls_state = 813 + } } } - cost = 0 - ai_will_do = { factor = 0 modifier = { add = 100 OR = { - BFL = { has_completed_focus = BFL_danggou } - BFL = { has_capitulated = yes } - NOT = { country_exists = BFL } BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + has_completed_focus = BFL_danggou + } + BFL = { + has_capitulated = yes + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } } } } - visible = { has_completed_focus = TIX_zujianzongduxiaqu has_government = fascism is_puppet = no } - complete_effect = { release_on_controlled = EST EST = { - set_capital = { state = 808 } + set_capital = { + state = 808 + } set_cosmetic_tag = BLDH_reichskommissariat load_focus_tree = tix_zdxq_focus transfer_state = 811 @@ -3906,12 +4309,20 @@ TIX_zongduxiaqujueyi = { puppet = PREV if = { limit = { - NOT = { has_dlc = "Death or Dishonor" } + NOT = { + has_dlc = "Death or Dishonor" + } + } + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet } - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } } else = { - set_autonomy = { target = PREV autonomy_state = autonomy_reichskommissariat } + set_autonomy = { + target = PREV + autonomy_state = autonomy_reichskommissariat + } } } hidden_effect = { @@ -3941,12 +4352,10 @@ TIX_zongduxiaqujueyi = { } } } - } } + } } - -TIX_reichskommissariat_mosike = { - + TIX_reichskommissariat_mosike = { icon = ger_reichskommissariats fire_only_once = yes available = { @@ -3957,322 +4366,388 @@ TIX_reichskommissariat_mosike = { OR = { TIX = { controls_state = 208 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 208 - } + controls_state = 208 + } } OR = { TIX = { controls_state = 244 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 244 - } + controls_state = 244 + } } OR = { TIX = { controls_state = 263 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 263 - } + controls_state = 263 + } } OR = { TIX = { controls_state = 209 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 209 - } + controls_state = 209 + } } OR = { TIX = { controls_state = 210 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 210 - } + controls_state = 210 + } } OR = { TIX = { controls_state = 246 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 246 - } + controls_state = 246 + } } OR = { TIX = { controls_state = 264 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 264 - } + controls_state = 264 + } } OR = { TIX = { controls_state = 247 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 247 - } + controls_state = 247 + } } OR = { TIX = { controls_state = 242 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 242 - } + controls_state = 242 + } } OR = { TIX = { controls_state = 219 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 219 - } + controls_state = 219 + } } OR = { TIX = { controls_state = 351 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 351 - } + controls_state = 351 + } } OR = { TIX = { controls_state = 248 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 248 - } + controls_state = 248 + } } OR = { TIX = { controls_state = 253 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 253 - } + controls_state = 253 + } } OR = { TIX = { controls_state = 254 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 254 - } + controls_state = 254 + } } OR = { TIX = { controls_state = 223 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 223 - } + controls_state = 223 + } } OR = { TIX = { controls_state = 243 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 243 - } + controls_state = 243 + } } OR = { TIX = { controls_state = 224 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 224 - } + controls_state = 224 + } } OR = { TIX = { controls_state = 222 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 222 - } + controls_state = 222 + } } OR = { TIX = { controls_state = 220 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 220 - } + controls_state = 220 + } } OR = { TIX = { controls_state = 254 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 254 - } + controls_state = 254 + } } OR = { TIX = { controls_state = 258 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 258 - } + controls_state = 258 + } } OR = { TIX = { controls_state = 205 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 205 - } + controls_state = 205 + } } OR = { TIX = { controls_state = 240 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 240 - } + controls_state = 240 + } } OR = { TIX = { controls_state = 260 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 260 - } + controls_state = 260 + } } OR = { TIX = { controls_state = 260 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 260 - } + controls_state = 260 + } } OR = { TIX = { controls_state = 257 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 257 - } + controls_state = 257 + } } OR = { TIX = { controls_state = 255 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 255 - } + controls_state = 255 + } } OR = { TIX = { controls_state = 214 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 214 - } + controls_state = 214 + } } OR = { TIX = { controls_state = 252 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 252 - } + controls_state = 252 + } } } - cost = 0 - ai_will_do = { factor = 0 modifier = { add = 100 OR = { - BFL = { has_capitulated = yes } - NOT = { country_exists = BFL } BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + has_capitulated = yes + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } } } } - visible = { has_completed_focus = TIX_zujianzongduxiaqu has_government = fascism is_puppet = no } - complete_effect = { LAT = { - set_capital = { state = 219 } + set_capital = { + state = 219 + } set_cosmetic_tag = MSK_reichskommissariat load_focus_tree = tix_zdxq_focus transfer_state = 208 @@ -4305,7 +4780,6 @@ TIX_reichskommissariat_mosike = { transfer_state = 240 transfer_state = 879 transfer_state = 880 - add_state_core = 208 add_state_core = 244 add_state_core = 263 @@ -4340,12 +4814,20 @@ TIX_reichskommissariat_mosike = { puppet = PREV if = { limit = { - NOT = { has_dlc = "Death or Dishonor" } + NOT = { + has_dlc = "Death or Dishonor" + } + } + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet } - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } } else = { - set_autonomy = { target = PREV autonomy_state = autonomy_reichskommissariat } + set_autonomy = { + target = PREV + autonomy_state = autonomy_reichskommissariat + } } } hidden_effect = { @@ -4380,7 +4862,6 @@ TIX_reichskommissariat_mosike = { state = 257 state = 260 state = 240 - } is_owned_by = TIX } @@ -4389,12 +4870,10 @@ TIX_reichskommissariat_mosike = { } } } - } } + } } - -TIX_reichskommissariat_biermu = { - + TIX_reichskommissariat_biermu = { icon = ger_reichskommissariats fire_only_once = yes available = { @@ -4405,172 +4884,208 @@ TIX_reichskommissariat_biermu = { OR = { TIX = { controls_state = 651 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 651 - } + controls_state = 651 + } } OR = { TIX = { controls_state = 652 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 652 - } + controls_state = 652 + } } OR = { TIX = { controls_state = 251 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 251 - } + controls_state = 251 + } } OR = { TIX = { controls_state = 250 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 250 - } + controls_state = 250 + } } OR = { TIX = { controls_state = 256 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 256 - } + controls_state = 256 + } } OR = { TIX = { controls_state = 581 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 581 - } + controls_state = 581 + } } OR = { TIX = { controls_state = 398 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 398 - } + controls_state = 398 + } } OR = { TIX = { controls_state = 833 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 833 - } + controls_state = 833 + } } OR = { TIX = { controls_state = 249 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 249 - } + controls_state = 249 + } } OR = { TIX = { controls_state = 399 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 399 - } + controls_state = 399 + } } OR = { TIX = { controls_state = 400 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 400 - } + controls_state = 400 + } } OR = { TIX = { controls_state = 397 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 397 - } - }OR = { + controls_state = 397 + } + } + OR = { TIX = { controls_state = 262 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 262 - } + controls_state = 262 + } } OR = { TIX = { controls_state = 825 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 825 - } + controls_state = 825 + } } - } - cost = 0 - ai_will_do = { factor = 0 modifier = { add = 100 OR = { - BFL = { has_capitulated = yes } - NOT = { country_exists = BFL } BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + has_capitulated = yes + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } } } } - visible = { has_completed_focus = TIX_zujianzongduxiaqu has_government = fascism is_puppet = no } - complete_effect = { AZR = { - set_capital = { state = 398 } + set_capital = { + state = 398 + } transfer_state = 825 transfer_state = 262 transfer_state = 397 @@ -4601,16 +5116,17 @@ TIX_reichskommissariat_biermu = { add_state_core = 651 TIX = { puppet = PREV - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet + } } set_cosmetic_tag = BEM_reichskommissariat load_focus_tree = tix_zdxq_focus } } } - -TIX_reichskommissariat_gaojiasuo = { - + TIX_reichskommissariat_gaojiasuo = { icon = ger_reichskommissariats fire_only_once = yes available = { @@ -4621,142 +5137,172 @@ TIX_reichskommissariat_gaojiasuo = { OR = { TIX = { controls_state = 235 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 235 - } + controls_state = 235 + } } OR = { TIX = { controls_state = 234 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 234 - } + controls_state = 234 + } } OR = { TIX = { controls_state = 233 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 233 - } + controls_state = 233 + } } OR = { TIX = { controls_state = 232 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 232 - } + controls_state = 232 + } } OR = { TIX = { controls_state = 821 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 821 - } + controls_state = 821 + } } OR = { TIX = { controls_state = 828 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 828 - } + controls_state = 828 + } } OR = { TIX = { controls_state = 827 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 827 - } + controls_state = 827 + } } OR = { TIX = { controls_state = 826 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 826 - } + controls_state = 826 + } } OR = { TIX = { controls_state = 231 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 231 - } - }OR = { + controls_state = 231 + } + } + OR = { TIX = { controls_state = 230 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 230 - } + controls_state = 230 + } } OR = { TIX = { controls_state = 229 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 229 - } + controls_state = 229 + } } - } - cost = 0 - ai_will_do = { factor = 0 modifier = { add = 100 OR = { - BFL = { has_capitulated = yes } - NOT = { country_exists = BFL } BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + has_capitulated = yes + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } } } } - visible = { has_completed_focus = TIX_zujianzongduxiaqu has_government = fascism is_puppet = no } - complete_effect = { GEO = { - set_capital = { state = 234 } + set_capital = { + state = 234 + } transfer_state = 229 transfer_state = 230 transfer_state = 231 @@ -4768,7 +5314,6 @@ TIX_reichskommissariat_gaojiasuo = { transfer_state = 233 transfer_state = 234 transfer_state = 235 - add_state_core = 229 add_state_core = 230 add_state_core = 231 @@ -4782,18 +5327,17 @@ TIX_reichskommissariat_gaojiasuo = { add_state_core = 235 TIX = { puppet = PREV - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet + } } set_cosmetic_tag = GJS_reichskommissariat load_focus_tree = tix_zdxq_focus } } } - - - -TIX_reichskommissariat_fuerjia = { - + TIX_reichskommissariat_fuerjia = { icon = ger_reichskommissariats fire_only_once = yes available = { @@ -4804,152 +5348,184 @@ TIX_reichskommissariat_fuerjia = { OR = { TIX = { controls_state = 406 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 406 - } + controls_state = 406 + } } OR = { TIX = { controls_state = 407 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 407 - } + controls_state = 407 + } } OR = { TIX = { controls_state = 401 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 401 - } + controls_state = 401 + } } OR = { TIX = { controls_state = 239 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 239 - } + controls_state = 239 + } } OR = { TIX = { controls_state = 829 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 829 - } + controls_state = 829 + } } OR = { TIX = { controls_state = 265 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 265 - } + controls_state = 265 + } } OR = { TIX = { controls_state = 245 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 245 - } + controls_state = 245 + } } OR = { TIX = { controls_state = 218 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 218 - } + controls_state = 218 + } } OR = { TIX = { controls_state = 217 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 217 - } + controls_state = 217 + } } OR = { TIX = { controls_state = 238 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 238 - } - }OR = { + controls_state = 238 + } + } + OR = { TIX = { controls_state = 237 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 237 - } + controls_state = 237 + } } OR = { TIX = { controls_state = 236 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 236 - } + controls_state = 236 + } } - } - cost = 0 - ai_will_do = { factor = 0 modifier = { add = 100 OR = { - BFL = { has_capitulated = yes } - NOT = { country_exists = BFL } BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + has_capitulated = yes + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } } } } - visible = { has_completed_focus = TIX_zujianzongduxiaqu has_government = fascism is_puppet = no } - complete_effect = { ARM = { - set_capital = { state = 217 } + set_capital = { + state = 217 + } transfer_state = 236 transfer_state = 237 transfer_state = 238 @@ -4962,7 +5538,6 @@ TIX_reichskommissariat_fuerjia = { transfer_state = 401 transfer_state = 407 transfer_state = 406 - add_state_core = 236 add_state_core = 237 add_state_core = 238 @@ -4977,7 +5552,10 @@ TIX_reichskommissariat_fuerjia = { add_state_core = 406 TIX = { puppet = PREV - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet + } } set_cosmetic_tag = FEJ_reichskommissariat load_focus_tree = tix_zdxq_focus @@ -4985,7 +5563,6 @@ TIX_reichskommissariat_fuerjia = { } } TIX_reichskommissariat_yuandong = { - icon = ger_reichskommissariats fire_only_once = yes available = { @@ -4996,661 +5573,796 @@ TIX_reichskommissariat_fuerjia = { OR = { TIX = { controls_state = 579 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 579 - } + controls_state = 579 + } } OR = { TIX = { controls_state = 580 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 580 - } + controls_state = 580 + } } OR = { TIX = { controls_state = 653 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 653 - } + controls_state = 653 + } } OR = { TIX = { controls_state = 573 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 573 - } + controls_state = 573 + } } OR = { TIX = { controls_state = 572 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 572 - } + controls_state = 572 + } } OR = { TIX = { controls_state = 582 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 582 - } + controls_state = 582 + } } OR = { TIX = { controls_state = 402 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 402 - } + controls_state = 402 + } } OR = { TIX = { controls_state = 218 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 218 - } + controls_state = 218 + } } OR = { TIX = { controls_state = 587 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 587 - } + controls_state = 587 + } } OR = { TIX = { controls_state = 584 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 584 - } - }OR = { + controls_state = 584 + } + } + OR = { TIX = { controls_state = 830 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 830 - } + controls_state = 830 + } } OR = { TIX = { controls_state = 742 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 742 - } + controls_state = 742 + } } OR = { TIX = { controls_state = 732 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 732 - } + controls_state = 732 + } } OR = { TIX = { controls_state = 585 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 585 - } + controls_state = 585 + } } OR = { TIX = { controls_state = 404 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 404 - } + controls_state = 404 + } } OR = { TIX = { controls_state = 586 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 586 - } + controls_state = 586 + } } OR = { TIX = { controls_state = 881 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 881 - } + controls_state = 881 + } } OR = { TIX = { controls_state = 589 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 589 - } + controls_state = 589 + } } OR = { TIX = { controls_state = 590 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 590 - } + controls_state = 590 + } } OR = { TIX = { controls_state = 583 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 583 - } + controls_state = 583 + } } OR = { TIX = { controls_state = 403 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 403 - } + controls_state = 403 + } } OR = { TIX = { controls_state = 571 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 571 - } + controls_state = 571 + } } OR = { TIX = { controls_state = 577 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 577 - } + controls_state = 577 + } } OR = { TIX = { controls_state = 824 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 824 - } + controls_state = 824 + } } OR = { TIX = { controls_state = 516 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 516 - } + controls_state = 516 + } } OR = { TIX = { controls_state = 576 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 576 - } + controls_state = 576 + } } OR = { TIX = { controls_state = 578 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 578 - } + controls_state = 578 + } } OR = { TIX = { controls_state = 573 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 573 - } + controls_state = 573 + } } OR = { TIX = { controls_state = 569 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 569 - } + controls_state = 569 + } } OR = { TIX = { controls_state = 570 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 570 - } + controls_state = 570 + } } OR = { TIX = { controls_state = 40 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 40 - } + controls_state = 40 + } } OR = { TIX = { controls_state = 882 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 882 - } + controls_state = 882 + } } OR = { TIX = { controls_state = 654 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 654 - } + controls_state = 654 + } } OR = { TIX = { controls_state = 568 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 568 - } + controls_state = 568 + } } OR = { TIX = { controls_state = 329 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 329 - } + controls_state = 329 + } } OR = { TIX = { controls_state = 576 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 576 - } + controls_state = 576 + } } OR = { TIX = { controls_state = 516 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 516 - } + controls_state = 516 + } } OR = { TIX = { controls_state = 878 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 878 - } + controls_state = 878 + } } OR = { TIX = { controls_state = 575 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 575 - } + controls_state = 575 + } } OR = { TIX = { controls_state = 567 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 567 - } + controls_state = 567 + } } OR = { TIX = { controls_state = 564 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 564 - } + controls_state = 564 + } } OR = { TIX = { controls_state = 566 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 566 - } + controls_state = 566 + } } OR = { TIX = { controls_state = 563 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 563 - } + controls_state = 563 + } } OR = { TIX = { controls_state = 565 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 565 - } + controls_state = 565 + } } OR = { TIX = { controls_state = 876 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 876 - } + controls_state = 876 + } } OR = { TIX = { controls_state = 877 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 877 - } + controls_state = 877 + } } OR = { TIX = { controls_state = 574 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 574 - } + controls_state = 574 + } } OR = { TIX = { controls_state = 561 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 561 - } + controls_state = 561 + } } OR = { TIX = { controls_state = 657 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 657 - } + controls_state = 657 + } } OR = { TIX = { controls_state = 408 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 408 - } + controls_state = 408 + } } OR = { TIX = { controls_state = 409 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 409 - } + controls_state = 409 + } } OR = { TIX = { controls_state = 560 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 560 - } + controls_state = 560 + } } OR = { TIX = { controls_state = 655 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 655 - } + controls_state = 655 + } } OR = { TIX = { controls_state = 562 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 562 - } + controls_state = 562 + } } OR = { TIX = { controls_state = 874 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 874 - } + controls_state = 874 + } } OR = { TIX = { controls_state = 644 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 644 - } + controls_state = 644 + } } OR = { TIX = { controls_state = 822 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 822 - } + controls_state = 822 + } } OR = { TIX = { controls_state = 637 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 637 - } + controls_state = 637 + } } OR = { TIX = { controls_state = 875 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 875 - } + controls_state = 875 + } } OR = { TIX = { controls_state = 572 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 572 - } + controls_state = 572 + } } OR = { TIX = { controls_state = 831 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 831 - } + controls_state = 831 + } } OR = { TIX = { controls_state = 405 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 405 - } + controls_state = 405 + } } OR = { TIX = { controls_state = 832 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 832 - } + controls_state = 832 + } } } - cost = 0 - ai_will_do = { factor = 0 modifier = { add = 100 OR = { - BFL = { has_capitulated = yes } - NOT = { country_exists = BFL } BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + has_capitulated = yes + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } } } } - visible = { has_completed_focus = TIX_zujianzongduxiaqu has_government = fascism is_puppet = no } - complete_effect = { KAZ = { - set_capital = { state = 586 } + set_capital = { + state = 586 + } transfer_state = 408 transfer_state = 579 transfer_state = 580 @@ -5715,7 +6427,6 @@ TIX_reichskommissariat_fuerjia = { transfer_state = 831 transfer_state = 405 transfer_state = 832 - add_state_core = 408 add_state_core = 579 add_state_core = 580 @@ -5782,16 +6493,17 @@ TIX_reichskommissariat_fuerjia = { add_state_core = 832 TIX = { puppet = PREV - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet + } } set_cosmetic_tag = YD_reichskommissariat load_focus_tree = tix_zdxq_focus } } } - -TIX_reichskommissariat_bosi = { - + TIX_reichskommissariat_bosi = { icon = ger_reichskommissariats fire_only_once = yes available = { @@ -5802,172 +6514,208 @@ TIX_reichskommissariat_bosi = { OR = { TIX = { controls_state = 419 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 419 - } + controls_state = 419 + } } OR = { TIX = { controls_state = 421 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 421 - } + controls_state = 421 + } } OR = { TIX = { controls_state = 413 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 413 - } + controls_state = 413 + } } OR = { TIX = { controls_state = 420 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 420 - } + controls_state = 420 + } } OR = { TIX = { controls_state = 417 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 417 - } + controls_state = 417 + } } OR = { TIX = { controls_state = 411 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 411 - } + controls_state = 411 + } } OR = { TIX = { controls_state = 412 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 412 - } + controls_state = 412 + } } OR = { TIX = { controls_state = 266 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 266 - } + controls_state = 266 + } } OR = { TIX = { controls_state = 418 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 418 - } + controls_state = 418 + } } OR = { TIX = { controls_state = 416 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 416 - } - }OR = { + controls_state = 416 + } + } + OR = { TIX = { controls_state = 414 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 414 - } + controls_state = 414 + } } OR = { TIX = { controls_state = 410 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 410 - } + controls_state = 410 + } } OR = { TIX = { controls_state = 415 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 415 - } + controls_state = 415 + } } OR = { TIX = { controls_state = 267 + } + any_other_country = { + is_in_faction_with = TIX + NOT = { + tag = BFL } - any_other_country = { - is_in_faction_with = TIX - not = { tag = BFL } - controls_state = 267 - } + controls_state = 267 + } } - } - cost = 0 - ai_will_do = { factor = 0 modifier = { add = 100 OR = { - BFL = { has_capitulated = yes } - NOT = { country_exists = BFL } BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + has_capitulated = yes + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } } } } - visible = { has_completed_focus = TIX_zujianzongduxiaqu has_government = fascism is_puppet = no } - complete_effect = { PER = { - set_capital = { state = 266 } + set_capital = { + state = 266 + } transfer_state = 419 transfer_state = 421 transfer_state = 413 @@ -5982,7 +6730,6 @@ TIX_reichskommissariat_bosi = { transfer_state = 410 transfer_state = 415 transfer_state = 267 - add_state_core = 419 add_state_core = 421 add_state_core = 413 @@ -5999,16 +6746,17 @@ TIX_reichskommissariat_bosi = { add_state_core = 267 TIX = { puppet = PREV - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet + } } set_cosmetic_tag = BS_reichskommissariat load_focus_tree = tix_zdxq_focus } } } - TIX_reichskommissariat_fenlan = { - icon = ger_reichskommissariats fire_only_once = yes available = { @@ -6019,128 +6767,134 @@ TIX_reichskommissariat_bosi = { OR = { TIX = { controls_state = 216 - } - any_other_country = { - is_in_faction_with = TIX - controls_state = 216 - } + } + any_other_country = { + is_in_faction_with = TIX + controls_state = 216 + } } OR = { TIX = { controls_state = 213 - } - any_other_country = { - is_in_faction_with = TIX - controls_state = 213 - } + } + any_other_country = { + is_in_faction_with = TIX + controls_state = 213 + } } OR = { TIX = { controls_state = 215 - } - any_other_country = { - is_in_faction_with = TIX - controls_state = 215 - } + } + any_other_country = { + is_in_faction_with = TIX + controls_state = 215 + } } OR = { TIX = { controls_state = 146 - } - any_other_country = { - is_in_faction_with = TIX - controls_state = 146 - } + } + any_other_country = { + is_in_faction_with = TIX + controls_state = 146 + } } OR = { TIX = { controls_state = 722 - } - any_other_country = { - is_in_faction_with = TIX - controls_state = 722 - } + } + any_other_country = { + is_in_faction_with = TIX + controls_state = 722 + } } OR = { TIX = { controls_state = 148 - } - any_other_country = { - is_in_faction_with = TIX - controls_state = 148 - } + } + any_other_country = { + is_in_faction_with = TIX + controls_state = 148 + } } OR = { TIX = { controls_state = 150 - } - any_other_country = { - is_in_faction_with = TIX - controls_state = 150 - } + } + any_other_country = { + is_in_faction_with = TIX + controls_state = 150 + } } OR = { TIX = { controls_state = 149 - } - any_other_country = { - is_in_faction_with = TIX - controls_state = 149 - } - }OR = { + } + any_other_country = { + is_in_faction_with = TIX + controls_state = 149 + } + } + OR = { TIX = { controls_state = 111 - } - any_other_country = { - is_in_faction_with = TIX - controls_state = 111 - } + } + any_other_country = { + is_in_faction_with = TIX + controls_state = 111 + } } OR = { TIX = { controls_state = 145 - } - any_other_country = { - is_in_faction_with = TIX - controls_state = 145 - } + } + any_other_country = { + is_in_faction_with = TIX + controls_state = 145 + } } OR = { TIX = { controls_state = 147 - } - any_other_country = { - is_in_faction_with = TIX - controls_state = 147 - } + } + any_other_country = { + is_in_faction_with = TIX + controls_state = 147 + } } - } - cost = 0 - ai_will_do = { factor = 0 modifier = { add = 100 OR = { - BFL = { has_capitulated = yes } - NOT = { country_exists = BFL } BFL = { - not = { controls_state = 217 } - not = { controls_state = 219 } - not = { controls_state = 195 } + has_capitulated = yes + } + NOT = { + country_exists = BFL + } + BFL = { + NOT = { + controls_state = 217 + } + NOT = { + controls_state = 219 + } + NOT = { + controls_state = 195 + } } } } } - visible = { has_completed_focus = TIX_zujianzongduxiaqu has_government = fascism is_puppet = no } - complete_effect = { FIN = { transfer_state = 145 @@ -6159,21 +6913,21 @@ TIX_reichskommissariat_bosi = { transfer_state = 928 transfer_state = 929 transfer_state = 930 - add_state_core = 213 add_state_core = 215 add_state_core = 216 TIX = { puppet = PREV - set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet } - + set_autonomy = { + target = PREV + autonomy_state = autonomy_integrated_puppet + } + } } } } - - } - } + SAD_ITA = { SAD_annexITA = { icon = generic_form_nation @@ -6184,18 +6938,18 @@ SAD_ITA = { country_exists = ITA } available = { - or = { - has_war_with = ITA - is_in_faction_with = ITA + OR = { + has_war_with = ITA + is_in_faction_with = ITA } has_government = fascism tag = SAD is_in_faction_with = TIX - or = { - ITA = { - surrender_progress > 0.9 - } - is_in_faction_with = ITA + OR = { + ITA = { + surrender_progress > 0.9 + } + is_in_faction_with = ITA } } ai_will_do = { @@ -6203,7 +6957,10 @@ SAD_ITA = { } fire_only_once = yes complete_effect = { - annex_country = { target = ITA transfer_troops = no } + annex_country = { + target = ITA + transfer_troops = no + } } } ITA_annexSAD = { @@ -6212,18 +6969,18 @@ SAD_ITA = { tag = ITA } available = { - or = { - has_war_with = SAD - is_in_faction_with = SAD + OR = { + has_war_with = SAD + is_in_faction_with = SAD } has_government = democratic tag = ITA is_in_faction_with = HUJ - or = { - SAD = { - surrender_progress > 0.7 - } - is_in_faction_with = SAD + OR = { + SAD = { + surrender_progress > 0.7 + } + is_in_faction_with = SAD } } ai_will_do = { @@ -6231,74 +6988,19 @@ SAD_ITA = { } fire_only_once = yes complete_effect = { - annex_country = { target = SAD transfer_troops = no } - annex_country = { target = LBA transfer_troops = no } - SAD = { - every_character = { - limit = { - has_character_flag = chushijianniang - is_country_leader = no - } - remove_unit_leader_trait = logistics_wizard - remove_unit_leader_trait = offensive_doctrine - remove_unit_leader_trait = defensive_doctrine - remove_unit_leader_trait = fast_planner - remove_unit_leader_trait = thorough_planner - remove_unit_leader_trait = unyielding_defender - remove_unit_leader_trait = aggressive_assaulter - remove_unit_leader_trait = organisational_leader - remove_unit_leader_trait = inspirational_leader - remove_unit_leader_trait = expert_delegator - remove_unit_leader_trait = panzer_expert - remove_unit_leader_trait = combined_arms_expert - remove_unit_leader_trait = cavalry_expert - remove_unit_leader_trait = fortress_buster - remove_unit_leader_trait = scavenger - remove_unit_leader_trait = infantry_expert - remove_unit_leader_trait = ambusher - remove_unit_leader_trait = invader_ii - remove_unit_leader_trait = naval_liason - remove_unit_leader_trait = skirmisher - remove_unit_leader_trait = paratrooper - remove_unit_leader_trait = camouflage_expert - remove_unit_leader_trait = expert_improviser - remove_unit_leader_trait = guerilla_fighter - remove_unit_leader_trait = silent_hunter - remove_unit_leader_trait = torpedo_expert - remove_unit_leader_trait = lancer - remove_unit_leader_trait = destroyer_leader - remove_unit_leader_trait = loading_drill_master - remove_unit_leader_trait = hunter_killer - remove_unit_leader_trait = cruiser_captain - remove_unit_leader_trait = search_pattern_expert - remove_unit_leader_trait = lone_wolf - remove_unit_leader_trait = concealment_expert - remove_unit_leader_trait = mine_sweeper - remove_unit_leader_trait = mine_layer - remove_unit_leader_trait = smoke_screen_expert - remove_unit_leader_trait = big_guns_expert - remove_unit_leader_trait = ground_pounder - remove_unit_leader_trait = safety_first - remove_unit_leader_trait = marksman - remove_unit_leader_trait = crisis_magician - remove_unit_leader_trait = flight_deck_manager - remove_unit_leader_trait = fighter_director - remove_unit_leader_trait = dive_bomber - remove_unit_leader_trait = torpedo_bomber - remove_unit_leader_trait = zhanlie_army_gangtieyizhi - remove_unit_leader_trait = zhanlie_army_zhuangjiajingying - remove_unit_leader_trait = hangmu_army_tongshuaisanjun - remove_unit_leader_trait = xunyang_army_junhengzhidao - remove_unit_leader_trait = quzhu_army_linghuozhihui - remove_unit_leader_trait = quzhu_army_zhandigongjuniang - remove_unit_leader_trait = hangmu_navy_jizaijianniangzhuanjia - remove_unit_leader_trait = navy_haishangchuanqi - set_nationality = ITA + annex_country = { + target = SAD + transfer_troops = no } - hidden_effect = { + annex_country = { + target = LBA + transfer_troops = no + } + SAD = { every_character = { limit = { - is_country_leader = yes + has_character_flag = chushijianniang + is_country_leader = no } remove_unit_leader_trait = logistics_wizard remove_unit_leader_trait = offensive_doctrine @@ -6334,8 +7036,8 @@ SAD_ITA = { remove_unit_leader_trait = search_pattern_expert remove_unit_leader_trait = lone_wolf remove_unit_leader_trait = concealment_expert - remove_unit_leader_trait = mine_sweeper - remove_unit_leader_trait = mine_layer + #remove_unit_leader_trait = mine_sweeper + #remove_unit_leader_trait = mine_layer remove_unit_leader_trait = smoke_screen_expert remove_unit_leader_trait = big_guns_expert remove_unit_leader_trait = ground_pounder @@ -6354,34 +7056,93 @@ SAD_ITA = { remove_unit_leader_trait = quzhu_army_zhandigongjuniang remove_unit_leader_trait = hangmu_navy_jizaijianniangzhuanjia remove_unit_leader_trait = navy_haishangchuanqi - remove_country_leader_role = { - ideology = socialism - } - remove_country_leader_role = { - ideology = stalinism - } - remove_country_leader_role = { - ideology = fascism_ideology - } - remove_country_leader_role = { - ideology = liberalism - } - remove_country_leader_role = { - ideology = despotism - } - remove_country_leader_role = { - ideology = leninism - } - remove_country_leader_role = { - ideology = marxism - } set_nationality = ITA } + hidden_effect = { + every_character = { + limit = { + is_country_leader = yes + } + remove_unit_leader_trait = logistics_wizard + remove_unit_leader_trait = offensive_doctrine + remove_unit_leader_trait = defensive_doctrine + remove_unit_leader_trait = fast_planner + remove_unit_leader_trait = thorough_planner + remove_unit_leader_trait = unyielding_defender + remove_unit_leader_trait = aggressive_assaulter + remove_unit_leader_trait = organisational_leader + remove_unit_leader_trait = inspirational_leader + remove_unit_leader_trait = expert_delegator + remove_unit_leader_trait = panzer_expert + remove_unit_leader_trait = combined_arms_expert + remove_unit_leader_trait = cavalry_expert + remove_unit_leader_trait = fortress_buster + remove_unit_leader_trait = scavenger + remove_unit_leader_trait = infantry_expert + remove_unit_leader_trait = ambusher + remove_unit_leader_trait = invader_ii + remove_unit_leader_trait = naval_liason + remove_unit_leader_trait = skirmisher + remove_unit_leader_trait = paratrooper + remove_unit_leader_trait = camouflage_expert + remove_unit_leader_trait = expert_improviser + remove_unit_leader_trait = guerilla_fighter + remove_unit_leader_trait = silent_hunter + remove_unit_leader_trait = torpedo_expert + remove_unit_leader_trait = lancer + remove_unit_leader_trait = destroyer_leader + remove_unit_leader_trait = loading_drill_master + remove_unit_leader_trait = hunter_killer + remove_unit_leader_trait = cruiser_captain + remove_unit_leader_trait = search_pattern_expert + remove_unit_leader_trait = lone_wolf + remove_unit_leader_trait = concealment_expert + #remove_unit_leader_trait = mine_sweeper + #remove_unit_leader_trait = mine_layer + remove_unit_leader_trait = smoke_screen_expert + remove_unit_leader_trait = big_guns_expert + remove_unit_leader_trait = ground_pounder + remove_unit_leader_trait = safety_first + remove_unit_leader_trait = marksman + remove_unit_leader_trait = crisis_magician + remove_unit_leader_trait = flight_deck_manager + remove_unit_leader_trait = fighter_director + remove_unit_leader_trait = dive_bomber + remove_unit_leader_trait = torpedo_bomber + remove_unit_leader_trait = zhanlie_army_gangtieyizhi + remove_unit_leader_trait = zhanlie_army_zhuangjiajingying + remove_unit_leader_trait = hangmu_army_tongshuaisanjun + remove_unit_leader_trait = xunyang_army_junhengzhidao + remove_unit_leader_trait = quzhu_army_linghuozhihui + remove_unit_leader_trait = quzhu_army_zhandigongjuniang + remove_unit_leader_trait = hangmu_navy_jizaijianniangzhuanjia + remove_unit_leader_trait = navy_haishangchuanqi + remove_country_leader_role = { + ideology = socialism + } + remove_country_leader_role = { + ideology = stalinism + } + remove_country_leader_role = { + ideology = fascism_ideology + } + remove_country_leader_role = { + ideology = liberalism + } + remove_country_leader_role = { + ideology = despotism + } + remove_country_leader_role = { + ideology = leninism + } + remove_country_leader_role = { + ideology = marxism + } + set_nationality = ITA + } + } + set_country_flag = jianniangyibeifuhuo } - - set_country_flag = jianniangyibeifuhuo - - } } } } @@ -6393,35 +7154,39 @@ BYG_nuke = { has_completed_focus = BYG_manhadunjihua } available = { - DOH = { has_capitulated = no } + DOH = { + has_capitulated = no + } is_puppet = no has_war_with = CHY - or = { - has_tech = nukes - is_ai = yes + OR = { + has_tech = nukes + is_ai = yes } CHY = { - has_idea = CHY_rimuxishan + has_idea = CHY_rimuxishan } - or = { - any_country = { - is_in_faction_with = BYG - controls_state = 526 + OR = { + any_country = { + is_in_faction_with = BYG + controls_state = 526 + } + any_country = { + is_in_faction_with = BYG + controls_state = 645 + } + any_country = { + is_in_faction_with = BYG + controls_state = 525 + } + controls_state = 525 + controls_state = 526 + controls_state = 645 + is_ai = yes } - any_country = { - is_in_faction_with = BYG - controls_state = 645 + NOT = { + has_country_flag = byg_hebaozhong } - any_country = { - is_in_faction_with = BYG - controls_state = 525 - } - controls_state = 525 - controls_state = 526 - controls_state = 645 - is_ai = yes - } - not = { has_country_flag = byg_hebaozhong } } ai_will_do = { factor = 100 @@ -6432,16 +7197,16 @@ BYG_nuke = { set_country_flag = byg_hebaozhong } remove_effect = { - clr_country_flag = byg_hebaozhong - custom_effect_tooltip = "在广岛投下一枚核弹" - add_to_variable = { - var = chy_beizhacishu - value = 1 - } - launch_nuke = { - province = 1092 - use_nuke = yes - } + clr_country_flag = byg_hebaozhong + custom_effect_tooltip = "在广岛投下一枚核弹" + add_to_variable = { + var = chy_beizhacishu + value = 1 + } + launch_nuke = { + province = 1092 + use_nuke = yes + } } } BYG_hebaochy_2 = { @@ -6450,35 +7215,39 @@ BYG_nuke = { has_completed_focus = BYG_manhadunjihua } available = { - DOH = { has_capitulated = no } + DOH = { + has_capitulated = no + } is_puppet = no has_war_with = CHY - or = { - has_tech = nukes - is_ai = yes + OR = { + has_tech = nukes + is_ai = yes } CHY = { - has_idea = CHY_rimuxishan + has_idea = CHY_rimuxishan } - or = { - any_country = { - is_in_faction_with = BYG - controls_state = 526 + OR = { + any_country = { + is_in_faction_with = BYG + controls_state = 526 + } + any_country = { + is_in_faction_with = BYG + controls_state = 645 + } + any_country = { + is_in_faction_with = BYG + controls_state = 525 + } + controls_state = 525 + controls_state = 526 + controls_state = 645 + is_ai = yes } - any_country = { - is_in_faction_with = BYG - controls_state = 645 + NOT = { + has_country_flag = byg_hebaozhong } - any_country = { - is_in_faction_with = BYG - controls_state = 525 - } - controls_state = 525 - controls_state = 526 - controls_state = 645 - is_ai = yes - } - not = { has_country_flag = byg_hebaozhong } } ai_will_do = { factor = 100 @@ -6489,16 +7258,16 @@ BYG_nuke = { set_country_flag = byg_hebaozhong } remove_effect = { - clr_country_flag = byg_hebaozhong - custom_effect_tooltip = "在长崎投下一枚核弹" - add_to_variable = { - var = chy_beizhacishu - value = 1 - } - launch_nuke = { - province = 9950 - use_nuke = yes - } + clr_country_flag = byg_hebaozhong + custom_effect_tooltip = "在长崎投下一枚核弹" + add_to_variable = { + var = chy_beizhacishu + value = 1 + } + launch_nuke = { + province = 9950 + use_nuke = yes + } } } BYG_hebaochy_3 = { @@ -6507,41 +7276,45 @@ BYG_nuke = { has_completed_focus = BYG_manhadunjihua } available = { - DOH = { has_capitulated = no } + DOH = { + has_capitulated = no + } is_puppet = no has_war_with = CHY - or = { - has_tech = nukes - is_ai = yes + OR = { + has_tech = nukes + is_ai = yes } CHY = { - has_idea = CHY_rimuxishan + has_idea = CHY_rimuxishan } - or = { - any_country = { - is_in_faction_with = BYG - controls_state = 526 + OR = { + any_country = { + is_in_faction_with = BYG + controls_state = 526 + } + any_country = { + is_in_faction_with = BYG + controls_state = 645 + } + any_country = { + is_in_faction_with = BYG + controls_state = 525 + } + controls_state = 525 + controls_state = 526 + controls_state = 645 + is_ai = yes } - any_country = { - is_in_faction_with = BYG - controls_state = 645 + NOT = { + has_country_flag = byg_hebaozhong } - any_country = { - is_in_faction_with = BYG - controls_state = 525 - } - controls_state = 525 - controls_state = 526 - controls_state = 645 - is_ai = yes - } - not = { has_country_flag = byg_hebaozhong } } ai_will_do = { factor = 20 modifier = { - is_historical_focus_on = yes - factor = =0 + is_historical_focus_on = yes + factor = 0 } } days_remove = 30 @@ -6550,16 +7323,16 @@ BYG_nuke = { set_country_flag = byg_hebaozhong } remove_effect = { - clr_country_flag = byg_hebaozhong - custom_effect_tooltip = "在东京投下一枚核弹" - add_to_variable = { - var = chy_beizhacishu - value = 1 - } - launch_nuke = { - province = 1182 - use_nuke = yes - } + clr_country_flag = byg_hebaozhong + custom_effect_tooltip = "在东京投下一枚核弹" + add_to_variable = { + var = chy_beizhacishu + value = 1 + } + launch_nuke = { + province = 1182 + use_nuke = yes + } } } BYG_hebaochy_4 = { @@ -6568,41 +7341,45 @@ BYG_nuke = { has_completed_focus = BYG_manhadunjihua } available = { - DOH = { has_capitulated = no } + DOH = { + has_capitulated = no + } is_puppet = no has_war_with = CHY - or = { - has_tech = nukes - is_ai = yes + OR = { + has_tech = nukes + is_ai = yes } CHY = { - has_idea = CHY_rimuxishan + has_idea = CHY_rimuxishan } - or = { - any_country = { - is_in_faction_with = BYG - controls_state = 526 + OR = { + any_country = { + is_in_faction_with = BYG + controls_state = 526 + } + any_country = { + is_in_faction_with = BYG + controls_state = 645 + } + any_country = { + is_in_faction_with = BYG + controls_state = 525 + } + controls_state = 525 + controls_state = 526 + controls_state = 645 + is_ai = yes } - any_country = { - is_in_faction_with = BYG - controls_state = 645 + NOT = { + has_country_flag = byg_hebaozhong } - any_country = { - is_in_faction_with = BYG - controls_state = 525 - } - controls_state = 525 - controls_state = 526 - controls_state = 645 - is_ai = yes - } - not = { has_country_flag = byg_hebaozhong } } ai_will_do = { factor = 20 modifier = { - is_historical_focus_on = yes - factor = =0 + is_historical_focus_on = yes + factor = 0 } } days_remove = 30 @@ -6611,16 +7388,16 @@ BYG_nuke = { set_country_flag = byg_hebaozhong } remove_effect = { - clr_country_flag = byg_hebaozhong - custom_effect_tooltip = "在大阪投下一枚核弹" - add_to_variable = { - var = chy_beizhacishu - value = 1 - } - launch_nuke = { - province = 7072 - use_nuke = yes - } + clr_country_flag = byg_hebaozhong + custom_effect_tooltip = "在大阪投下一枚核弹" + add_to_variable = { + var = chy_beizhacishu + value = 1 + } + launch_nuke = { + province = 7072 + use_nuke = yes + } } } BYG_hebaochy_5 = { @@ -6629,41 +7406,45 @@ BYG_nuke = { has_completed_focus = BYG_manhadunjihua } available = { - DOH = { has_capitulated = no } + DOH = { + has_capitulated = no + } is_puppet = no has_war_with = CHY - or = { - has_tech = nukes - is_ai = yes + OR = { + has_tech = nukes + is_ai = yes } CHY = { - has_idea = CHY_rimuxishan + has_idea = CHY_rimuxishan } - or = { - any_country = { - is_in_faction_with = BYG - controls_state = 526 + OR = { + any_country = { + is_in_faction_with = BYG + controls_state = 526 + } + any_country = { + is_in_faction_with = BYG + controls_state = 645 + } + any_country = { + is_in_faction_with = BYG + controls_state = 525 + } + controls_state = 525 + controls_state = 526 + controls_state = 645 + is_ai = yes } - any_country = { - is_in_faction_with = BYG - controls_state = 645 + NOT = { + has_country_flag = byg_hebaozhong } - any_country = { - is_in_faction_with = BYG - controls_state = 525 - } - controls_state = 525 - controls_state = 526 - controls_state = 645 - is_ai = yes - } - not = { has_country_flag = byg_hebaozhong } } ai_will_do = { factor = 20 modifier = { - is_historical_focus_on = yes - factor = =0 + is_historical_focus_on = yes + factor = 0 } } days_remove = 30 @@ -6672,16 +7453,16 @@ BYG_nuke = { set_country_flag = byg_hebaozhong } remove_effect = { - clr_country_flag = byg_hebaozhong - custom_effect_tooltip = "在名古屋投下一枚核弹" - add_to_variable = { - var = chy_beizhacishu - value = 1 - } - launch_nuke = { - province = 10125 - use_nuke = yes - } + clr_country_flag = byg_hebaozhong + custom_effect_tooltip = "在名古屋投下一枚核弹" + add_to_variable = { + var = chy_beizhacishu + value = 1 + } + launch_nuke = { + province = 10125 + use_nuke = yes + } } } BYG_hebaochy_6 = { @@ -6690,37 +7471,43 @@ BYG_nuke = { has_completed_focus = BYG_manhadunjihua } available = { - if = { - limit = { NOT = { has_global_flag = xianzhikongjun_on } } - BFL = { - has_deployed_air_force_size = { - type = fighter - size < 10001 - } - } - + if = { + limit = { + NOT = { + has_global_flag = xianzhikongjun_on + } + } + BFL = { + has_deployed_air_force_size = { + type = fighter + size < 10001 + } + } } - if = { - limit = { has_global_flag = xianzhikongjun_on } - BFL = { - has_deployed_air_force_size = { - type = fighter - size < 1001 - } - } - + if = { + limit = { + has_global_flag = xianzhikongjun_on + } + BFL = { + has_deployed_air_force_size = { + type = fighter + size < 1001 + } + } } is_puppet = no has_war_with = BFL - or = { - date > 1946.1.1 - has_tech = jet_engines + OR = { + date > 1946.1.1 + has_tech = jet_engines } - or = { - has_tech = nukes - is_ai = yes + OR = { + has_tech = nukes + is_ai = yes + } + NOT = { + has_country_flag = byg_hebaozhong } - not = { has_country_flag = byg_hebaozhong } } ai_will_do = { factor = 100 @@ -6731,12 +7518,12 @@ BYG_nuke = { set_country_flag = byg_hebaozhong } remove_effect = { - clr_country_flag = byg_hebaozhong - custom_effect_tooltip = "在斯大林格勒投下一枚核弹" - launch_nuke = { - province = 3529 - use_nuke = yes - } + clr_country_flag = byg_hebaozhong + custom_effect_tooltip = "在斯大林格勒投下一枚核弹" + launch_nuke = { + province = 3529 + use_nuke = yes + } } } BYG_hebaochy_7 = { @@ -6745,37 +7532,43 @@ BYG_nuke = { has_completed_focus = BYG_manhadunjihua } available = { - if = { - limit = { NOT = { has_global_flag = xianzhikongjun_on } } - BFL = { - has_deployed_air_force_size = { - type = fighter - size < 10001 - } - } - + if = { + limit = { + NOT = { + has_global_flag = xianzhikongjun_on + } + } + BFL = { + has_deployed_air_force_size = { + type = fighter + size < 10001 + } + } } - if = { - limit = { has_global_flag = xianzhikongjun_on } - BFL = { - has_deployed_air_force_size = { - type = fighter - size < 1001 - } - } - + if = { + limit = { + has_global_flag = xianzhikongjun_on + } + BFL = { + has_deployed_air_force_size = { + type = fighter + size < 1001 + } + } } is_puppet = no has_war_with = BFL - or = { - date > 1946.1.1 - has_tech = jet_engines + OR = { + date > 1946.1.1 + has_tech = jet_engines } - or = { - has_tech = nukes - is_ai = yes + OR = { + has_tech = nukes + is_ai = yes + } + NOT = { + has_country_flag = byg_hebaozhong } - not = { has_country_flag = byg_hebaozhong } } ai_will_do = { factor = 100 @@ -6786,12 +7579,12 @@ BYG_nuke = { set_country_flag = byg_hebaozhong } remove_effect = { - clr_country_flag = byg_hebaozhong - custom_effect_tooltip = "在莫斯科投下一枚核弹" - launch_nuke = { - province = 6380 - use_nuke = yes - } + clr_country_flag = byg_hebaozhong + custom_effect_tooltip = "在莫斯科投下一枚核弹" + launch_nuke = { + province = 6380 + use_nuke = yes + } } } BYG_hebaochy_8 = { @@ -6800,38 +7593,43 @@ BYG_nuke = { has_completed_focus = BYG_manhadunjihua } available = { - if = { - limit = { NOT = { has_global_flag = xianzhikongjun_on } } - BFL = { - has_deployed_air_force_size = { - type = fighter - size < 10001 - } - } - + if = { + limit = { + NOT = { + has_global_flag = xianzhikongjun_on + } + } + BFL = { + has_deployed_air_force_size = { + type = fighter + size < 10001 + } + } } - if = { - limit = { has_global_flag = xianzhikongjun_on } - BFL = { - has_deployed_air_force_size = { - type = fighter - size < 1001 - } - } - + if = { + limit = { + has_global_flag = xianzhikongjun_on + } + BFL = { + has_deployed_air_force_size = { + type = fighter + size < 1001 + } + } } - is_puppet = no has_war_with = BFL - or = { - date > 1946.1.1 - has_tech = jet_engines + OR = { + date > 1946.1.1 + has_tech = jet_engines } - or = { - has_tech = nukes - is_ai = yes + OR = { + has_tech = nukes + is_ai = yes + } + NOT = { + has_country_flag = byg_hebaozhong } - not = { has_country_flag = byg_hebaozhong } } ai_will_do = { factor = 100 @@ -6842,12 +7640,12 @@ BYG_nuke = { set_country_flag = byg_hebaozhong } remove_effect = { - clr_country_flag = byg_hebaozhong - custom_effect_tooltip = "在列宁格勒投下一枚核弹" - launch_nuke = { - province = 3151 - use_nuke = yes - } + clr_country_flag = byg_hebaozhong + custom_effect_tooltip = "在列宁格勒投下一枚核弹" + launch_nuke = { + province = 3151 + use_nuke = yes + } } } BYG_hebaochy_9 = { @@ -6859,14 +7657,16 @@ BYG_nuke = { is_puppet = no has_war_with = CHY custom_trigger_tooltip = { - tooltip = chy_beizhacishudayu2 - check_variable = { - var = chy_beizhacishu - value = 2 - compare = greater_than_or_equals + tooltip = chy_beizhacishudayu2 + check_variable = { + var = chy_beizhacishu + value = 2 + compare = greater_than_or_equals + } } + NOT = { + has_country_flag = byg_hebaozhong } - not = { has_country_flag = byg_hebaozhong } } ai_will_do = { factor = 100 @@ -6877,8 +7677,10 @@ BYG_nuke = { set_country_flag = byg_hebaozhong } remove_effect = { - clr_country_flag = byg_hebaozhong - CHY = { country_event = az_tianjiang.144 } + clr_country_flag = byg_hebaozhong + CHY = { + country_event = az_tianjiang.144 + } } } } @@ -6891,7 +7693,9 @@ YUW_fuyyongjueyi = { } available = { is_puppet = no - not = { has_war_with = SPR } + NOT = { + has_war_with = SPR + } owns_state = 41 controls_state = 112 } @@ -6900,57 +7704,61 @@ YUW_fuyyongjueyi = { } fire_only_once = yes complete_effect = { - if = { - limit = { - D01 = { has_completed_focus = SPR_the_popular_army } - has_global_flag = scw_over - } - release_on_controlled = D01 - every_state = { - limit = { - is_core_of = POR - } - add_core_of = D01 - } - set_autonomy = { - target = D01 - autonomy_state = az_yuw_kuileiguo - } - D01 = { - set_cosmetic_tag = YBLY - transfer_state = 180 - transfer_state = 181 - transfer_state = 112 - transfer_state = 179 - transfer_state = 795 - } + if = { + limit = { + D01 = { + has_completed_focus = SPR_the_popular_army + } + has_global_flag = scw_over + } + release_on_controlled = D01 + every_state = { + limit = { + is_core_of = POR + } + add_core_of = D01 + } + set_autonomy = { + target = D01 + autonomy_state = az_yuw_kuileiguo + } + D01 = { + set_cosmetic_tag = YBLY + transfer_state = 180 + transfer_state = 181 + transfer_state = 112 + transfer_state = 179 + transfer_state = 795 + } } else_if = { - - limit = { - D01 = { NOT = { has_completed_focus = SPR_the_popular_army } } - has_global_flag = scw_over - } - release_on_controlled = SPR - every_state = { - limit = { - is_core_of = POR - } - add_core_of = SPR - } - set_autonomy = { - target = SPR - autonomy_state = az_yuw_kuileiguo - } - SPR = { - set_cosmetic_tag = YBLY - transfer_state = 180 - transfer_state = 181 - transfer_state = 112 - transfer_state = 179 - transfer_state = 795 - } - + limit = { + D01 = { + NOT = { + has_completed_focus = SPR_the_popular_army + } + } + has_global_flag = scw_over + } + release_on_controlled = SPR + every_state = { + limit = { + is_core_of = POR + } + add_core_of = SPR + } + set_autonomy = { + target = SPR + autonomy_state = az_yuw_kuileiguo + } + SPR = { + set_cosmetic_tag = YBLY + transfer_state = 180 + transfer_state = 181 + transfer_state = 112 + transfer_state = 179 + transfer_state = 795 + } } } } @@ -6961,11 +7769,17 @@ YUW_fuyyongjueyi = { } available = { is_puppet = no - not = { has_war_with = TIX } + NOT = { + has_war_with = TIX + } has_completed_focus = YUW_laiyinlanhuozhanzheng - or = { - TIX = { is_subject_of = YUW } - TIX = { is_puppet = no } + OR = { + TIX = { + is_subject_of = YUW + } + TIX = { + is_puppet = no + } } owns_state = 64 owns_state = 52 @@ -6976,23 +7790,28 @@ YUW_fuyyongjueyi = { fire_only_once = yes complete_effect = { if = { - limit = { - not = { country_exists = CZE } - } - release_on_controlled = CZE - CZE = { - annex_country = { target = SLO transfer_troops = no } - transfer_state = 73 - transfer_state = 664 - } - set_autonomy = { - target = CZE - autonomy_state = az_yuw_kuileiguo - } + limit = { + NOT = { + country_exists = CZE + } + } + release_on_controlled = CZE + CZE = { + annex_country = { + target = SLO + transfer_troops = no + } + transfer_state = 73 + transfer_state = 664 + } + set_autonomy = { + target = CZE + autonomy_state = az_yuw_kuileiguo + } } 34 = { - add_core_of = YUW - remove_core_of = BEL + add_core_of = YUW + remove_core_of = BEL } release_on_controlled = HOL release_on_controlled = AUS @@ -7000,28 +7819,28 @@ YUW_fuyyongjueyi = { release_on_controlled = BEL release_on_controlled = TIX set_autonomy = { - target = TIX - autonomy_state = az_yuw_kuileiguo + target = TIX + autonomy_state = az_yuw_kuileiguo } set_autonomy = { - target = BEL - autonomy_state = az_yuw_kuileiguo + target = BEL + autonomy_state = az_yuw_kuileiguo } set_autonomy = { - target = HOL - autonomy_state = az_yuw_kuileiguo + target = HOL + autonomy_state = az_yuw_kuileiguo } set_autonomy = { - target = AUS - autonomy_state = az_yuw_kuileiguo + target = AUS + autonomy_state = az_yuw_kuileiguo } set_autonomy = { - target = HUN - autonomy_state = az_yuw_kuileiguo + target = HUN + autonomy_state = az_yuw_kuileiguo } BEL = { - set_cosmetic_tag = FLDS - add_state_claim = 34 + set_cosmetic_tag = FLDS + add_state_claim = 34 } } } @@ -7032,11 +7851,17 @@ YUW_fuyyongjueyi = { } available = { is_puppet = no - not = { has_war_with = SAD } + NOT = { + has_war_with = SAD + } has_completed_focus = YUW_xuanchengjiaotingjiudi - or = { - SAD = { is_subject_of = YUW } - SAD = { is_puppet = no } + OR = { + SAD = { + is_subject_of = YUW + } + SAD = { + is_puppet = no + } } owns_state = 114 owns_state = 2 @@ -7047,58 +7872,62 @@ YUW_fuyyongjueyi = { fire_only_once = yes complete_effect = { if = { - limit = { - not = { country_exists = YUG } - } - release_on_controlled = YUG - set_autonomy = { - target = YUG - autonomy_state = az_yuw_kuileiguo - } + limit = { + NOT = { + country_exists = YUG + } + } + release_on_controlled = YUG + set_autonomy = { + target = YUG + autonomy_state = az_yuw_kuileiguo + } } if = { - limit = { - or = { - has_completed_focus = YUW_guafenruishi - not = { country_exists = SWI } - } - } - 845 = { - add_core_of = YUW - remove_core_of = SWI - } - release_on_controlled = SWI - set_autonomy = { - target = SWI - autonomy_state = az_yuw_kuileiguo - } - SWI = { - add_state_claim = 845 - } + limit = { + OR = { + has_completed_focus = YUW_guafenruishi + NOT = { + country_exists = SWI + } + } + } + 845 = { + add_core_of = YUW + remove_core_of = SWI + } + release_on_controlled = SWI + set_autonomy = { + target = SWI + autonomy_state = az_yuw_kuileiguo + } + SWI = { + add_state_claim = 845 + } } every_state = { - limit = { - is_core_of = LBA - } - remove_core_of = SAD + limit = { + is_core_of = LBA + } + remove_core_of = SAD } 2 = { - add_core_of = YUW - remove_core_of = SAD + add_core_of = YUW + remove_core_of = SAD } 114 = { - add_core_of = YUW - remove_core_of = SAD + add_core_of = YUW + remove_core_of = SAD } release_on_controlled = ALB release_on_controlled = SAD set_autonomy = { - target = SAD - autonomy_state = az_yuw_kuileiguo + target = SAD + autonomy_state = az_yuw_kuileiguo } SAD = { - add_state_claim = 2 - add_state_claim = 114 + add_state_claim = 2 + add_state_claim = 114 } } } @@ -7109,20 +7938,15 @@ SAD_quanlipingheng = { icon = generic_speech cost = 25 available = { - - } - modifier = { - } days_re_enable = 90 fire_only_once = no complete_effect = { add_power_balance_value = { - id = SAD_balance - value = 0.1 + id = SAD_balance + value = 0.1 } } - ai_will_do = { factor = 0 } @@ -7131,20 +7955,15 @@ SAD_quanlipingheng = { icon = generic_political_discourse cost = 25 available = { - - } - modifier = { - } days_re_enable = 90 fire_only_once = no complete_effect = { add_power_balance_value = { - id = SAD_balance - value = -0.1 + id = SAD_balance + value = -0.1 } } - ai_will_do = { factor = 0 } @@ -7153,20 +7972,15 @@ SAD_quanlipingheng = { icon = generic_arrest cost = 50 available = { - - } - modifier = { - } days_re_enable = 120 fire_only_once = no complete_effect = { add_power_balance_value = { - id = SAD_balance - value = 0.2 + id = SAD_balance + value = 0.2 } } - ai_will_do = { factor = 0 } @@ -7175,20 +7989,15 @@ SAD_quanlipingheng = { icon = generic_assassination cost = 50 available = { - - } - modifier = { - } days_re_enable = 120 fire_only_once = no complete_effect = { add_power_balance_value = { - id = SAD_balance - value = -0.2 + id = SAD_balance + value = -0.2 } } - ai_will_do = { factor = 0 } @@ -7197,23 +8006,18 @@ SAD_quanlipingheng = { icon = generic_military cost = 50 available = { - - } - modifier = { - } days_re_enable = 180 fire_only_once = no complete_effect = { add_power_balance_value = { - id = SAD_balance - value = 0.15 + id = SAD_balance + value = 0.15 } army_experience = 25 navy_experience = 25 air_experience = 25 } - ai_will_do = { factor = 0 } @@ -7222,22 +8026,17 @@ SAD_quanlipingheng = { icon = hol_radio_oranje cost = 50 available = { - - } - modifier = { - } days_re_enable = 180 fire_only_once = no complete_effect = { add_power_balance_value = { - id = SAD_balance - value = -0.15 + id = SAD_balance + value = -0.15 } add_stability = 0.05 add_war_support = 0.05 } - ai_will_do = { factor = 0 } @@ -7246,7 +8045,6 @@ SAD_quanlipingheng = { icon = ger_reichskommissariats cost = 50 available = { - } modifier = { fascism_drift = 0.1 @@ -7256,11 +8054,10 @@ SAD_quanlipingheng = { fire_only_once = no complete_effect = { add_power_balance_value = { - id = SAD_balance - value = 0.25 + id = SAD_balance + value = 0.25 } } - ai_will_do = { factor = 0 } @@ -7269,7 +8066,6 @@ SAD_quanlipingheng = { icon = eng_install_government cost = 50 available = { - } modifier = { neutrality_drift = 0.2 @@ -7279,11 +8075,10 @@ SAD_quanlipingheng = { fire_only_once = no complete_effect = { add_power_balance_value = { - id = SAD_balance - value = -0.25 + id = SAD_balance + value = -0.25 } } - ai_will_do = { factor = 0 } @@ -7300,23 +8095,21 @@ SAD_quanlipingheng = { fire_only_once = yes complete_effect = { add_power_balance_value = { - id = SAD_balance - value = 0.4 + id = SAD_balance + value = 0.4 } } - ai_will_do = { factor = 100 } } - SAD_fazhanjunshigongye = { icon = generic_merge_plant_materiel cost = 150 available = { power_balance_value = { - id = SAD_balance - value > 0.40 + id = SAD_balance + value > 0.4 } } days_remove = 180 @@ -7325,19 +8118,17 @@ SAD_quanlipingheng = { industrial_capacity_dockyard = 0.3 production_speed_arms_factory_factor = 0.3 } - ai_will_do = { factor = 100 } } - SAD_qidaoyuxinyang = { icon = generic_reorganize_irregulars cost = 150 available = { power_balance_value = { - id = SAD_balance - value < -0.40 + id = SAD_balance + value < -0.4 } } days_remove = 180 @@ -7349,7 +8140,6 @@ SAD_quanlipingheng = { army_org_factor = 0.3 army_morale_factor = 0.5 } - ai_will_do = { factor = 100 } @@ -7357,36 +8147,40 @@ SAD_quanlipingheng = { } SAD_sadaisaizhanzheng = { - SAD_aisaidaojishi_time = { + SAD_aisaidaojishi_time = { priority = 100 icon = generic_ignite_civil_war allowed = { - tag = SAD + tag = SAD } - activation = { + activation = { has_war_with = ETH date < 1936.8.1 } available = { - or = { - not = { country_exists = ETH } - ETH = { is_subject_of = SAD } - } + OR = { + NOT = { + country_exists = ETH + } + ETH = { + is_subject_of = SAD + } + } } days_mission_timeout = 180 is_good = no complete_effect = { complete_national_focus = SAD_zaifeizhoudeshengli - } + } timeout_effect = { complete_national_focus = SAD_afeilijiazhichi - } } + } SAD_xiangaisaitouxiang = { icon = eng_blackshirt_march cost = 15 allowed = { - tag = SAD + tag = SAD } visible = { has_war_with = ETH @@ -7399,14 +8193,14 @@ SAD_sadaisaizhanzheng = { } complete_effect = { ETH = { - transfer_state = 550 - transfer_state = 559 - add_state_core = 550 - add_state_core = 559 + transfer_state = 550 + transfer_state = 559 + add_state_core = 550 + add_state_core = 559 } complete_national_focus = SAD_afeilijiazhichi } - } + } } YUW_quanlipingheng = { @@ -7414,20 +8208,15 @@ YUW_quanlipingheng = { icon = eng_propaganda_campaigns cost = 10 available = { - - } - modifier = { - } days_re_enable = 20 fire_only_once = no complete_effect = { add_power_balance_value = { - id = YUW_balance - value = 0.05 + id = YUW_balance + value = 0.05 } } - ai_will_do = { factor = 0 } @@ -7436,20 +8225,15 @@ YUW_quanlipingheng = { icon = generic_merge_plant_tank cost = 10 available = { - - } - modifier = { - } days_re_enable = 30 fire_only_once = no complete_effect = { add_power_balance_value = { - id = YUW_balance - value = -0.05 + id = YUW_balance + value = -0.05 } } - ai_will_do = { factor = 0 } @@ -7458,20 +8242,15 @@ YUW_quanlipingheng = { icon = generic_military cost = 15 available = { - - } - modifier = { - } days_re_enable = 35 fire_only_once = no complete_effect = { add_power_balance_value = { - id = YUW_balance - value = -0.1 + id = YUW_balance + value = -0.1 } } - ai_will_do = { factor = 0 } @@ -7480,20 +8259,15 @@ YUW_quanlipingheng = { icon = hol_radio_oranje cost = 15 available = { - - } - modifier = { - } days_re_enable = 25 fire_only_once = no complete_effect = { add_power_balance_value = { - id = YUW_balance - value = 0.1 + id = YUW_balance + value = 0.1 } } - ai_will_do = { factor = 0 } @@ -7502,19 +8276,14 @@ YUW_quanlipingheng = { icon = generic_nationalism cost = 20 available = { - - } - modifier = { - } fire_only_once = yes complete_effect = { add_power_balance_value = { - id = YUW_balance - value = -0.1 + id = YUW_balance + value = -0.1 } } - ai_will_do = { factor = 0 } @@ -7523,19 +8292,14 @@ YUW_quanlipingheng = { icon = generic_form_nation cost = 20 available = { - - } - modifier = { - } fire_only_once = yes complete_effect = { add_power_balance_value = { - id = YUW_balance - value = 0.1 + id = YUW_balance + value = 0.1 } } - ai_will_do = { factor = 0 } @@ -7544,19 +8308,14 @@ YUW_quanlipingheng = { icon = gre_paying_ifc_debt cost = 20 available = { - - } - modifier = { - } fire_only_once = yes complete_effect = { add_power_balance_value = { - id = YUW_balance - value = 0.15 + id = YUW_balance + value = 0.15 } } - ai_will_do = { factor = 0 } @@ -7565,62 +8324,56 @@ YUW_quanlipingheng = { icon = hol_war_on_pacifism cost = 20 available = { - - } - modifier = { - } fire_only_once = yes complete_effect = { add_power_balance_value = { - id = YUW_balance - value = -0.15 + id = YUW_balance + value = -0.15 } } - ai_will_do = { factor = 0 } } - YUW_shezhiguangfanluzhang = { icon = generic_mountain_fortification cost = 50 available = { - not = { has_country_flag = buqujinjun_beizhizhi } - } - modifier = { - + NOT = { + has_country_flag = buqujinjun_beizhizhi + } } fire_only_once = yes complete_effect = { - add_days_mission_timeout = { mission = YUW_jinjunbali_time days = 50 } + add_days_mission_timeout = { + mission = YUW_jinjunbali_time + days = 50 + } } - ai_will_do = { factor = 100 } } - YUW_zhaojizhongchengpaijundui = { icon = generic_reorganize_irregulars cost = 30 available = { - not = { has_country_flag = buqujinjun_beizhizhi } - } - modifier = { - + NOT = { + has_country_flag = buqujinjun_beizhizhi + } } fire_only_once = yes complete_effect = { - add_days_mission_timeout = { mission = YUW_jinjunbali_time days = 30 } + add_days_mission_timeout = { + mission = YUW_jinjunbali_time + days = 30 + } } - ai_will_do = { factor = 100 } } - YUW_cuobaineizhanyinmou = { icon = generic_intelligence_operation cost = 120 @@ -7629,21 +8382,16 @@ YUW_quanlipingheng = { } available = { has_country_flag = yuwzuipaineizhan_kaishi - } - modifier = { - } fire_only_once = yes complete_effect = { custom_effect_tooltip = neizhan_yinmouzhongzhi set_country_flag = yuwzuipaineizhan_zhongzhi } - ai_will_do = { factor = 100 } } - YUW_daibudunkeerkepaimanjiu = { icon = generic_arrest cost = 50 @@ -7652,20 +8400,18 @@ YUW_quanlipingheng = { } available = { has_country_flag = dunkeerkezhengbian_kaishi - } - modifier = { - } fire_only_once = yes complete_effect = { - add_days_mission_timeout = { mission = YUW_dunkeerkezhengbain_time days = 40 } + add_days_mission_timeout = { + mission = YUW_dunkeerkezhengbain_time + days = 40 + } } - ai_will_do = { factor = 100 } } - YUW_ailishiqlph = { #icon = hol_war_on_pacifism cost = 0 @@ -7673,11 +8419,12 @@ YUW_quanlipingheng = { is_ai = yes date > 1936.7.1 has_war = no - not = { has_completed_focus = YUW_shenshengshiming } - not = { has_completed_focus = YUW_jiaojuzhe } - } - modifier = { - + NOT = { + has_completed_focus = YUW_shenshengshiming + } + NOT = { + has_completed_focus = YUW_jiaojuzhe + } } visible = { is_ai = yes @@ -7685,16 +8432,15 @@ YUW_quanlipingheng = { fire_only_once = yes complete_effect = { add_power_balance_value = { - id = YUW_balance - value = 2 + id = YUW_balance + value = 2 } } - ai_will_do = { factor = 0 modifier = { - is_historical_focus_on = yes - add = 100 + is_historical_focus_on = yes + add = 100 } } } @@ -7703,9 +8449,6 @@ YUW_quanlipingheng = { cost = 0 available = { is_debug = yes - } - modifier = { - } visible = { is_debug = yes @@ -7718,7 +8461,6 @@ YUW_quanlipingheng = { add_ideas = YUW_lianhezhizheng_idea add_ideas = YUW_dulandaquan_idea } - ai_will_do = { factor = 0 } @@ -7726,209 +8468,248 @@ YUW_quanlipingheng = { YUW_weixipaidepohuai_time = { icon = generic_assassination allowed = { - tag = YUW + tag = YUW } - activation = { + activation = { has_idea = YUW_daxuanqiandejingzheng is_ai = no - or = { - has_completed_focus = YUW_tiqianxuanju - has_completed_focus = YUW_shenshengshiming + OR = { + has_completed_focus = YUW_tiqianxuanju + has_completed_focus = YUW_shenshengshiming } } available = { - or = { - not = { has_idea = YUW_daxuanqiandejingzheng } - has_completed_focus = YUW_tingzhiyaoyan - has_war = yes - is_ai = yes + OR = { + NOT = { + has_idea = YUW_daxuanqiandejingzheng + } + has_completed_focus = YUW_tingzhiyaoyan + has_war = yes + is_ai = yes } } days_mission_timeout = 30 is_good = no complete_effect = { add_war_support = 0.1 - } + } timeout_effect = { activate_mission = YUW_weixipaidepohuai_time add_power_balance_value = { - id = YUW_balance - value = -0.05 + id = YUW_balance + value = -0.05 } - add_popularity = { ideology = fascism popularity = 0.01 } + add_popularity = { + ideology = fascism + popularity = 0.01 } } + } YUW_rangbaerdeyanjiang_time = { icon = eng_blackshirt_speech allowed = { - tag = YUW + tag = YUW } - activation = { + activation = { always = no } available = { - or = { - not = { has_idea = YUW_daxuanqiandejingzheng } - has_completed_focus = YUW_tingzhiyaoyan - has_war = yes - is_ai = yes + OR = { + NOT = { + has_idea = YUW_daxuanqiandejingzheng + } + has_completed_focus = YUW_tingzhiyaoyan + has_war = yes + is_ai = yes } } days_mission_timeout = 60 is_good = no complete_effect = { add_war_support = 0.1 - } + } timeout_effect = { activate_mission = YUW_rangbaerdeyanjiang_time add_power_balance_value = { - id = YUW_balance - value = -0.15 - } + id = YUW_balance + value = -0.15 } } + } YUW_gengduomanjiujiarubuqu_time = { icon = ng_blackshirt_march allowed = { - tag = YUW + tag = YUW } - activation = { + activation = { always = no } available = { - or = { - has_country_flag = buqujinjun_beizhizhi - not = { has_idea = YUW_daxuanqiandejingzheng } - has_war = yes - is_ai = yes + OR = { + has_country_flag = buqujinjun_beizhizhi + NOT = { + has_idea = YUW_daxuanqiandejingzheng + } + has_war = yes + is_ai = yes } } days_mission_timeout = 30 is_good = no complete_effect = { add_stability = 0.05 - } + } timeout_effect = { - add_days_mission_timeout = { mission = YUW_jinjunbali_time days = -30 } + add_days_mission_timeout = { + mission = YUW_jinjunbali_time + days = -30 } } + } YUW_jinjunbali_time = { icon = generic_ignite_civil_war allowed = { - tag = YUW + tag = YUW } - activation = { + activation = { always = no } available = { - or = { - has_country_flag = buqujinjun_beizhizhi - not = { has_idea = YUW_daxuanqiandejingzheng } - has_war = yes - is_ai = yes + OR = { + has_country_flag = buqujinjun_beizhizhi + NOT = { + has_idea = YUW_daxuanqiandejingzheng + } + has_war = yes + is_ai = yes } } days_mission_timeout = 200 is_good = no complete_effect = { add_stability = 0.1 - } + } timeout_effect = { if = { - limit = { - has_country_flag = xiafei_gongtongjinjun + limit = { + has_country_flag = xiafei_gongtongjinjun + } + country_event = az_tianjiang.94 + complete_national_focus = YUW_zhengjiuyuanweiminzhu } - country_event = az_tianjiang.94 - complete_national_focus = YUW_zhengjiuyuanweiminzhu - }else = { - country_event = az_tianjiang.95 - complete_national_focus = YUW_shishijunshiguanli + else = { + country_event = az_tianjiang.95 + complete_national_focus = YUW_shishijunshiguanli + } + remove_power_balance = { + id = YUW_balance } - remove_power_balance = { id = YUW_balance } remove_ideas = YUW_daxuanqiandejingzheng - } } + } YUW_neizhanweiji_time = { icon = revolt allowed = { - tag = YUW + tag = YUW } - activation = { + activation = { always = no } available = { - or = { - has_country_flag = yuwzuipaineizhan_zhongzhi - not = { has_idea = YUW_daxuanqiandejingzheng } - has_war = yes - is_ai = yes + OR = { + has_country_flag = yuwzuipaineizhan_zhongzhi + NOT = { + has_idea = YUW_daxuanqiandejingzheng + } + has_war = yes + is_ai = yes } } days_mission_timeout = 150 is_good = no complete_effect = { add_war_support = 0.2 - } + } timeout_effect = { start_civil_war = { - #ruling_party = democratic - ideology = communism - size = 0.5 - only_own_territory = no - capital = 26 - states = { - 21 32 22 31 25 20 33 735 1 806 19 23 + #ruling_party = democratic + ideology = communism + size = 0.5 + only_own_territory = no + capital = 26 + states = { + 21 + 32 + 22 + 31 + 25 + 20 + 33 + 735 + 1 + 806 + 19 + 23 + } } + remove_power_balance = { + id = YUW_balance } - remove_power_balance = { id = YUW_balance } remove_ideas = YUW_daxuanqiandejingzheng - } } + } YUW_dunkeerkezhengbain_time = { icon = generic_police_action allowed = { - tag = YUW + tag = YUW } - activation = { + activation = { always = no } available = { - or = { - not = { has_idea = YUW_daxuanqiandejingzheng } - has_completed_focus = YUW_cuobaiyinmou - has_completed_focus = YUW_daibudunkeerke - has_war = yes - is_ai = yes + OR = { + NOT = { + has_idea = YUW_daxuanqiandejingzheng + } + has_completed_focus = YUW_cuobaiyinmou + has_completed_focus = YUW_daibudunkeerke + has_war = yes + is_ai = yes } } days_mission_timeout = 180 is_good = no complete_effect = { add_stability = 0.2 - } + } timeout_effect = { set_politics = { - ruling_party = fascism + ruling_party = fascism + } + add_popularity = { + ideology = fascism + popularity = 0.25 } - add_popularity = { ideology = fascism popularity = 0.25 } complete_national_focus = YUW_tuanjieweixixingdong - remove_power_balance = { id = YUW_balance } - remove_ideas = YUW_daxuanqiandejingzheng + remove_power_balance = { + id = YUW_balance } + remove_ideas = YUW_daxuanqiandejingzheng } + } } HUJ_jianshezhimindi_jy = { - HUJ_chubujiaohua = { + HUJ_chubujiaohua = { icon = generic_monarchy cost = 150 days_remove = 180 fire_only_once = yes allowed = { - tag = HUJ + tag = HUJ } visible = { - has_completed_focus = HUJ_jianshezhimindi + has_completed_focus = HUJ_jianshezhimindi } available = { is_puppet = no @@ -7986,43 +8767,42 @@ HUJ_jianshezhimindi_jy = { } complete_effect = { CAN = { - load_focus_tree = generic_focus + load_focus_tree = generic_focus } SAF = { - load_focus_tree = generic_focus + load_focus_tree = generic_focus } AST = { - load_focus_tree = generic_focus + load_focus_tree = generic_focus } NZL = { - load_focus_tree = generic_focus + load_focus_tree = generic_focus } RAJ = { - load_focus_tree = generic_focus + load_focus_tree = generic_focus } } remove_effect = { set_country_flag = huj_chubujiaohuawancheng add_stability = 0.15 if = { - limit = { - is_ai = yes - } - add_political_power = 600 + limit = { + is_ai = yes + } + add_political_power = 600 } } - } - - HUJ_jinbiyujiaoyu = { + } + HUJ_jinbiyujiaoyu = { icon = generic_mountain_fortification cost = 400 days_remove = 400 fire_only_once = yes allowed = { - tag = HUJ + tag = HUJ } visible = { - has_completed_focus = HUJ_jianshezhimindi + has_completed_focus = HUJ_jianshezhimindi } available = { is_puppet = no @@ -8081,19 +8861,19 @@ HUJ_jianshezhimindi_jy = { } complete_effect = { CAN = { - add_ideas = ENG_maintaining_imperial_integrity_idea + add_ideas = ENG_maintaining_imperial_integrity_idea } SAF = { - add_ideas = ENG_maintaining_imperial_integrity_idea + add_ideas = ENG_maintaining_imperial_integrity_idea } AST = { - add_ideas = ENG_maintaining_imperial_integrity_idea + add_ideas = ENG_maintaining_imperial_integrity_idea } NZL = { - add_ideas = ENG_maintaining_imperial_integrity_idea + add_ideas = ENG_maintaining_imperial_integrity_idea } RAJ = { - add_ideas = ENG_maintaining_imperial_integrity_idea + add_ideas = ENG_maintaining_imperial_integrity_idea } } remove_effect = { @@ -8101,93 +8881,92 @@ HUJ_jianshezhimindi_jy = { add_stability = 0.15 add_war_support = 0.15 if = { - limit = { - is_ai = yes - } - add_political_power = 1100 + limit = { + is_ai = yes + } + add_political_power = 1100 } } - } - - HUJ_sixiangtongyi = { + } + HUJ_sixiangtongyi = { icon = generic_merge_plant_materiel cost = 350 days_remove = 365 fire_only_once = yes allowed = { - tag = HUJ + tag = HUJ } visible = { - has_completed_focus = HUJ_jianshezhimindi + has_completed_focus = HUJ_jianshezhimindi } available = { is_puppet = no has_country_flag = huj_dierbujiaohuawancheng - or = { - is_ai = yes - CAN = { - OR = { - AND = { - is_subject_of = HUJ - has_government = ROOT - compare_autonomy_progress_ratio < 0.3 + OR = { + is_ai = yes + CAN = { + OR = { + AND = { + is_subject_of = HUJ + has_government = ROOT + compare_autonomy_progress_ratio < 0.3 + } + exists = no } - exists = no } } - } - or = { - is_ai = yes - SAF = { - OR = { - AND = { - is_subject_of = HUJ - has_government = ROOT - compare_autonomy_progress_ratio < 0.3 + OR = { + is_ai = yes + SAF = { + OR = { + AND = { + is_subject_of = HUJ + has_government = ROOT + compare_autonomy_progress_ratio < 0.3 + } + exists = no } - exists = no } } - } - or = { - is_ai = yes - AST = { - OR = { - AND = { - is_subject_of = HUJ - has_government = ROOT - compare_autonomy_progress_ratio < 0.3 + OR = { + is_ai = yes + AST = { + OR = { + AND = { + is_subject_of = HUJ + has_government = ROOT + compare_autonomy_progress_ratio < 0.3 + } + exists = no } - exists = no } } - } - or = { - is_ai = yes - NZL = { - OR = { - AND = { - is_subject_of = HUJ - has_government = ROOT - compare_autonomy_progress_ratio < 0.3 + OR = { + is_ai = yes + NZL = { + OR = { + AND = { + is_subject_of = HUJ + has_government = ROOT + compare_autonomy_progress_ratio < 0.3 + } + exists = no } - exists = no } } - } - or = { - is_ai = yes - RAJ = { - OR = { - AND = { - is_subject_of = HUJ - has_government = ROOT - compare_autonomy_progress_ratio < 0.3 + OR = { + is_ai = yes + RAJ = { + OR = { + AND = { + is_subject_of = HUJ + has_government = ROOT + compare_autonomy_progress_ratio < 0.3 + } + exists = no } - exists = no } } - } } modifier = { political_power_factor = 0.25 @@ -8201,38 +8980,37 @@ HUJ_jianshezhimindi_jy = { } remove_effect = { set_autonomy = { - target = CAN - autonomy_state = autonomy_integrated_puppet + target = CAN + autonomy_state = autonomy_integrated_puppet } set_autonomy = { - target = SAF - autonomy_state = autonomy_integrated_puppet + target = SAF + autonomy_state = autonomy_integrated_puppet } set_autonomy = { - target = AST - autonomy_state = autonomy_integrated_puppet + target = AST + autonomy_state = autonomy_integrated_puppet } set_autonomy = { - target = NZL - autonomy_state = autonomy_integrated_puppet + target = NZL + autonomy_state = autonomy_integrated_puppet } set_autonomy = { - target = RAJ - autonomy_state = autonomy_integrated_puppet + target = RAJ + autonomy_state = autonomy_integrated_puppet } } - } - - HUJ_shuifuaierlan = { + } + HUJ_shuifuaierlan = { icon = generic_speech cost = 100 fire_only_once = yes allowed = { - tag = HUJ + tag = HUJ } visible = { - has_completed_focus = HUJ_jianshezhimindi - country_exists = IRE + has_completed_focus = HUJ_jianshezhimindi + country_exists = IRE } available = { is_puppet = no @@ -8244,16 +9022,16 @@ HUJ_jianshezhimindi_jy = { } complete_effect = { IRE = { - country_event = az_tianjiang.44 + country_event = az_tianjiang.44 } every_state = { - limit = { - is_core_of = IRE - } - add_core_of = HUJ + limit = { + is_core_of = IRE + } + add_core_of = HUJ } } - } + } } ALL_luxianzhinan = { @@ -8305,8 +9083,8 @@ TIX_bsmmanyidu = { days_re_enable = 120 available = { any_country = { - has_war_with = TIX - is_major = yes + has_war_with = TIX + is_major = yes } } ai_will_do = { @@ -8332,10 +9110,10 @@ TIX_bsmmanyidu = { fire_only_once = yes available = { is_ai = yes - or = { - has_idea = TY_fengkuangai - has_idea = TY_fengkuangai2 - has_idea = TY_fengkuangai3 + OR = { + has_idea = TY_fengkuangai + has_idea = TY_fengkuangai2 + has_idea = TY_fengkuangai3 } } ai_will_do = { @@ -8351,7 +9129,7 @@ TIX_bsmmanyidu = { } TIX_naxiabali = { icon = ger_reichskommissariats - activation = { + activation = { always = no } complete_effect = { @@ -8361,7 +9139,7 @@ TIX_bsmmanyidu = { value = 3 } } - available = { + available = { controls_state = 16 controls_state = 28 } @@ -8375,10 +9153,9 @@ TIX_bsmmanyidu = { } } } - TIX_naxialundun = { icon = ger_reichskommissariats - activation = { + activation = { always = no } complete_effect = { @@ -8388,7 +9165,7 @@ TIX_bsmmanyidu = { value = 5 } } - available = { + available = { controls_state = 126 controls_state = 132 } @@ -8402,10 +9179,9 @@ TIX_bsmmanyidu = { } } } - TIX_beifangjituanjunderenwu = { icon = ger_reichskommissariats - activation = { + activation = { always = no } complete_effect = { @@ -8415,7 +9191,7 @@ TIX_bsmmanyidu = { value = 1 } } - available = { + available = { controls_state = 808 } days_mission_timeout = 90 @@ -8430,7 +9206,7 @@ TIX_bsmmanyidu = { } TIX_zhongyangjituanjunderenwu = { icon = ger_reichskommissariats - activation = { + activation = { always = no } complete_effect = { @@ -8441,7 +9217,7 @@ TIX_bsmmanyidu = { value = 1 } } - available = { + available = { controls_state = 206 controls_state = 94 } @@ -8458,7 +9234,7 @@ TIX_bsmmanyidu = { } TIX_nanfangjituanjunderenwu = { icon = ger_reichskommissariats - activation = { + activation = { always = no } complete_effect = { @@ -8469,7 +9245,7 @@ TIX_bsmmanyidu = { value = 1 } } - available = { + available = { controls_state = 202 controls_state = 226 } @@ -8486,7 +9262,7 @@ TIX_bsmmanyidu = { } TIX_zhongyangjituanjunderenwu_ex = { icon = ger_reichskommissariats - activation = { + activation = { always = no } complete_effect = { @@ -8497,7 +9273,7 @@ TIX_bsmmanyidu = { value = 1 } } - available = { + available = { controls_state = 242 controls_state = 223 controls_state = 224 @@ -8513,10 +9289,9 @@ TIX_bsmmanyidu = { } } } - TIX_nanfangjituanjunderenwu_ex = { icon = ger_reichskommissariats - activation = { + activation = { always = no } complete_effect = { @@ -8527,7 +9302,7 @@ TIX_bsmmanyidu = { value = 1 } } - available = { + available = { controls_state = 137 controls_state = 221 controls_state = 227 @@ -8545,7 +9320,7 @@ TIX_bsmmanyidu = { } TIX_gongzhansandacheng = { icon = ger_reichskommissariats - activation = { + activation = { always = no } complete_effect = { @@ -8555,7 +9330,7 @@ TIX_bsmmanyidu = { value = 5 } } - available = { + available = { controls_state = 195 controls_state = 219 controls_state = 217 @@ -8570,23 +9345,24 @@ TIX_bsmmanyidu = { } } } - TIX_zhenduidiqudexingdong_yuw1 = { icon = generic_intelligence_operation days_remove = 60 - cost = 50 + cost = 50 visible = { has_country_leader = { name = "俾斯麦" ruling_only = yes } - not = { controls_state = 28 } + NOT = { + controls_state = 28 + } } available = { has_government = fascism has_war_with = YUW YUW = { - has_capitulated = no + has_capitulated = no } divisions_in_border_state = { state = 42 @@ -8598,13 +9374,17 @@ TIX_bsmmanyidu = { border_state = 28 size > 5 } - not = { controls_state = 28 } + NOT = { + controls_state = 28 + } } ai_will_do = { factor = 0 modifier = { - YUW = { is_ai = no } - add = 10000 + YUW = { + is_ai = no + } + add = 10000 } } fire_only_once = yes @@ -8614,11 +9394,11 @@ TIX_bsmmanyidu = { complete_effect = { add_war_support = -0.05 28 = { - add_dynamic_modifier = { - modifier = TIX_attackyuw_state - scope = TIX - days = 90 - } + add_dynamic_modifier = { + modifier = TIX_attackyuw_state + scope = TIX + days = 90 + } } } remove_effect = { @@ -8628,27 +9408,26 @@ TIX_bsmmanyidu = { has_full_control_of_state = 28 } } - TIX_zhenduidiqudexingdong_yuw3 = { icon = generic_intelligence_operation days_remove = 60 - cost = 50 + cost = 50 visible = { has_country_leader = { name = "俾斯麦" ruling_only = yes } - not = { - controls_state = 29 - controls_state = 785 - controls_state = 18 + NOT = { + controls_state = 29 + controls_state = 785 + controls_state = 18 } } available = { has_government = fascism has_war_with = YUW YUW = { - has_capitulated = no + has_capitulated = no } divisions_in_border_state = { state = 6 @@ -8665,17 +9444,19 @@ TIX_bsmmanyidu = { border_state = 18 size > 4 } - not = { - controls_state = 29 - controls_state = 785 - controls_state = 18 + NOT = { + controls_state = 29 + controls_state = 785 + controls_state = 18 } } ai_will_do = { factor = 0 modifier = { - YUW = { is_ai = no } - add = 10000 + YUW = { + is_ai = no + } + add = 10000 } } fire_only_once = yes @@ -8685,25 +9466,25 @@ TIX_bsmmanyidu = { complete_effect = { add_war_support = -0.05 29 = { - add_dynamic_modifier = { - modifier = TIX_attackyuw_state - scope = TIX - days = 90 - } + add_dynamic_modifier = { + modifier = TIX_attackyuw_state + scope = TIX + days = 90 + } } 785 = { - add_dynamic_modifier = { - modifier = TIX_attackyuw_state - scope = TIX - days = 90 - } + add_dynamic_modifier = { + modifier = TIX_attackyuw_state + scope = TIX + days = 90 + } } 18 = { - add_dynamic_modifier = { - modifier = TIX_attackyuw_state - scope = TIX - days = 90 - } + add_dynamic_modifier = { + modifier = TIX_attackyuw_state + scope = TIX + days = 90 + } } } remove_effect = { @@ -8715,36 +9496,41 @@ TIX_bsmmanyidu = { has_full_control_of_state = 29 } } - TIX_zhenduidiqudexingdong_yuw2 = { icon = generic_intelligence_operation days_remove = 60 - cost = 50 + cost = 50 visible = { has_country_leader = { name = "俾斯麦" ruling_only = yes } - not = { controls_state = 16 } + NOT = { + controls_state = 16 + } } available = { has_government = fascism has_war_with = YUW YUW = { - has_capitulated = no + has_capitulated = no } divisions_in_border_state = { state = 785 border_state = 16 size > 5 } - not = { controls_state = 16 } + NOT = { + controls_state = 16 + } } ai_will_do = { factor = 0 modifier = { - YUW = { is_ai = no } - add = 10000 + YUW = { + is_ai = no + } + add = 10000 } } fire_only_once = yes @@ -8753,11 +9539,11 @@ TIX_bsmmanyidu = { } complete_effect = { 16 = { - add_dynamic_modifier = { - modifier = TIX_attackyuw_state - scope = TIX - days = 90 - } + add_dynamic_modifier = { + modifier = TIX_attackyuw_state + scope = TIX + days = 90 + } } } remove_effect = { @@ -8767,17 +9553,18 @@ TIX_bsmmanyidu = { has_full_control_of_state = 16 } } - TIX_zhenduidiqudexingdong_bfl1 = { icon = generic_intelligence_operation days_remove = 60 - cost = 20 + cost = 20 visible = { has_country_leader = { name = "俾斯麦" ruling_only = yes } - not = { controls_state = 808 } + NOT = { + controls_state = 808 + } } available = { has_government = fascism @@ -8787,7 +9574,9 @@ TIX_bsmmanyidu = { border_state = 808 size > 9 } - not = { controls_state = 808 } + NOT = { + controls_state = 808 + } } ai_will_do = { factor = 10000 @@ -8799,11 +9588,11 @@ TIX_bsmmanyidu = { complete_effect = { add_war_support = -0.05 808 = { - add_dynamic_modifier = { - modifier = TIX_attackbfl_state - scope = TIX - days = 90 - } + add_dynamic_modifier = { + modifier = TIX_attackbfl_state + scope = TIX + days = 90 + } } } remove_effect = { @@ -8813,17 +9602,18 @@ TIX_bsmmanyidu = { has_full_control_of_state = 808 } } - TIX_zhenduidiqudexingdong_bfl2 = { icon = generic_intelligence_operation days_remove = 60 - cost = 20 + cost = 20 visible = { has_country_leader = { name = "俾斯麦" ruling_only = yes } - not = { controls_state = 206 } + NOT = { + controls_state = 206 + } } available = { has_government = fascism @@ -8838,7 +9628,9 @@ TIX_bsmmanyidu = { border_state = 206 size > 3 } - not = { controls_state = 206 } + NOT = { + controls_state = 206 + } } ai_will_do = { factor = 10000 @@ -8850,11 +9642,11 @@ TIX_bsmmanyidu = { complete_effect = { add_war_support = -0.05 206 = { - add_dynamic_modifier = { - modifier = TIX_attackbfl_state - scope = TIX - days = 90 - } + add_dynamic_modifier = { + modifier = TIX_attackbfl_state + scope = TIX + days = 90 + } } } remove_effect = { @@ -8864,17 +9656,18 @@ TIX_bsmmanyidu = { has_full_control_of_state = 206 } } - TIX_zhenduidiqudexingdong_bfl3 = { icon = generic_intelligence_operation days_remove = 60 - cost = 20 + cost = 20 visible = { has_country_leader = { name = "俾斯麦" ruling_only = yes } - not = { controls_state = 202 } + NOT = { + controls_state = 202 + } } available = { has_government = fascism @@ -8889,7 +9682,9 @@ TIX_bsmmanyidu = { border_state = 202 size > 4 } - not = { controls_state = 202 } + NOT = { + controls_state = 202 + } } ai_will_do = { factor = 10000 @@ -8901,11 +9696,11 @@ TIX_bsmmanyidu = { complete_effect = { add_war_support = -0.05 202 = { - add_dynamic_modifier = { - modifier = TIX_attackbfl_state - scope = TIX - days = 90 - } + add_dynamic_modifier = { + modifier = TIX_attackbfl_state + scope = TIX + days = 90 + } } } remove_effect = { @@ -8915,17 +9710,18 @@ TIX_bsmmanyidu = { has_full_control_of_state = 202 } } - TIX_zhenduidiqudexingdong_bfl4 = { icon = generic_intelligence_operation days_remove = 60 - cost = 20 + cost = 20 visible = { has_country_leader = { name = "俾斯麦" ruling_only = yes } - not = { controls_state = 137 } + NOT = { + controls_state = 137 + } } available = { has_government = fascism @@ -8935,7 +9731,9 @@ TIX_bsmmanyidu = { border_state = 137 size > 3 } - not = { controls_state = 137 } + NOT = { + controls_state = 137 + } } ai_will_do = { factor = 10000 @@ -8947,11 +9745,11 @@ TIX_bsmmanyidu = { complete_effect = { add_war_support = -0.05 137 = { - add_dynamic_modifier = { - modifier = TIX_attackbfl_state - scope = TIX - days = 90 - } + add_dynamic_modifier = { + modifier = TIX_attackbfl_state + scope = TIX + days = 90 + } } } remove_effect = { @@ -8961,17 +9759,18 @@ TIX_bsmmanyidu = { has_full_control_of_state = 137 } } - TIX_zhenduidiqudexingdong_bfl5 = { icon = generic_intelligence_operation days_remove = 60 - cost = 20 + cost = 20 visible = { has_country_leader = { name = "俾斯麦" ruling_only = yes } - not = { controls_state = 242 } + NOT = { + controls_state = 242 + } } available = { has_government = fascism @@ -8981,7 +9780,9 @@ TIX_bsmmanyidu = { border_state = 242 size > 3 } - not = { controls_state = 242 } + NOT = { + controls_state = 242 + } } ai_will_do = { factor = 10000 @@ -8993,11 +9794,11 @@ TIX_bsmmanyidu = { complete_effect = { add_war_support = -0.05 242 = { - add_dynamic_modifier = { - modifier = TIX_attackbfl_state - scope = TIX - days = 90 - } + add_dynamic_modifier = { + modifier = TIX_attackbfl_state + scope = TIX + days = 90 + } } } remove_effect = { @@ -9007,17 +9808,18 @@ TIX_bsmmanyidu = { has_full_control_of_state = 242 } } - TIX_zhenduidiqudexingdong_bfl6 = { icon = generic_intelligence_operation days_remove = 60 - cost = 20 + cost = 20 visible = { has_country_leader = { name = "俾斯麦" ruling_only = yes } - not = { controls_state = 221 } + NOT = { + controls_state = 221 + } } available = { has_government = fascism @@ -9027,7 +9829,9 @@ TIX_bsmmanyidu = { border_state = 221 size > 3 } - not = { controls_state = 221 } + NOT = { + controls_state = 221 + } } ai_will_do = { factor = 10000 @@ -9039,11 +9843,11 @@ TIX_bsmmanyidu = { complete_effect = { add_war_support = -0.05 221 = { - add_dynamic_modifier = { - modifier = TIX_attackbfl_state - scope = TIX - days = 90 - } + add_dynamic_modifier = { + modifier = TIX_attackbfl_state + scope = TIX + days = 90 + } } } remove_effect = { @@ -9069,11 +9873,11 @@ SAD_gonggulingxiuquanwei_renwu = { days_remove = 60 available = { custom_trigger_tooltip = { - tooltip = wanchengrenwu3 - check_variable = { - var = sad_renwudaren_value - value = 3 - compare = greater_than_or_equals + tooltip = wanchengrenwu3 + check_variable = { + var = sad_renwudaren_value + value = 3 + compare = greater_than_or_equals } } } @@ -9081,12 +9885,11 @@ SAD_gonggulingxiuquanwei_renwu = { factor = 100 } complete_effect = { - } remove_effect = { swap_ideas = { - remove_idea = SAD_lingxiuquanwei_1 - add_idea = SAD_lingxiuquanwei_2 + remove_idea = SAD_lingxiuquanwei_1 + add_idea = SAD_lingxiuquanwei_2 } } } @@ -9103,19 +9906,19 @@ SAD_gonggulingxiuquanwei_renwu = { days_remove = 60 available = { custom_trigger_tooltip = { - tooltip = wanchengrenwu6 - check_variable = { - var = sad_renwudaren_value - value = 6 - compare = greater_than_or_equals + tooltip = wanchengrenwu6 + check_variable = { + var = sad_renwudaren_value + value = 6 + compare = greater_than_or_equals } } custom_trigger_tooltip = { - tooltip = shibairenwushaoyu3 - check_variable = { - var = sad_renwushibai_value - value = 3 - compare = less_than_or_equals + tooltip = shibairenwushaoyu3 + check_variable = { + var = sad_renwushibai_value + value = 3 + compare = less_than_or_equals } } } @@ -9123,18 +9926,17 @@ SAD_gonggulingxiuquanwei_renwu = { factor = 100 } complete_effect = { - } remove_effect = { swap_ideas = { - remove_idea = SAD_lingxiuquanwei_2 - add_idea = SAD_lingxiuquanwei_3 + remove_idea = SAD_lingxiuquanwei_2 + add_idea = SAD_lingxiuquanwei_3 } } } SAD_zhengfuaisai_weineituo = { icon = ger_reichskommissariats - activation = { + activation = { always = no } complete_effect = { @@ -9145,7 +9947,7 @@ SAD_gonggulingxiuquanwei_renwu = { value = 1 } } - available = { + available = { has_completed_focus = SAD_zaifeizhoudeshengli } days_mission_timeout = 120 @@ -9158,10 +9960,9 @@ SAD_gonggulingxiuquanwei_renwu = { } } } - SAD_qingchufubai_renwu = { icon = generic_speech - activation = { + activation = { always = no } complete_effect = { @@ -9172,7 +9973,7 @@ SAD_gonggulingxiuquanwei_renwu = { value = 1 } } - available = { + available = { has_completed_focus = SAD_zhengfuneidedaqingxi } days_mission_timeout = 365 @@ -9185,20 +9986,22 @@ SAD_gonggulingxiuquanwei_renwu = { } } } - SAD_fazhanminyonggongye_renwu = { icon = generic_industry - activation = { + activation = { always = no } complete_effect = { - add_timed_idea = { idea = ITA_strengthened_heavy_industry days = 1095 } + add_timed_idea = { + idea = ITA_strengthened_heavy_industry + days = 1095 + } add_to_variable = { var = sad_renwudaren_value value = 1 } } - available = { + available = { industrial_complex > 59 } days_mission_timeout = 500 @@ -9206,8 +10009,8 @@ SAD_gonggulingxiuquanwei_renwu = { timeout_effect = { add_political_power = -50 add_power_balance_value = { - id = SAD_balance - value = -0.15 + id = SAD_balance + value = -0.15 } add_to_variable = { var = sad_renwushibai_value @@ -9215,20 +10018,22 @@ SAD_gonggulingxiuquanwei_renwu = { } } } - SAD_kuojianlujun_renwu = { icon = generic_military - activation = { + activation = { always = no } complete_effect = { - add_timed_idea = { idea = ITA_strengthened_the_army days = 365 } + add_timed_idea = { + idea = ITA_strengthened_the_army + days = 365 + } add_to_variable = { var = sad_renwudaren_value value = 1 } } - available = { + available = { has_army_manpower = { size > 750000 } @@ -9238,20 +10043,22 @@ SAD_gonggulingxiuquanwei_renwu = { timeout_effect = { add_war_support = -0.1 add_power_balance_value = { - id = SAD_balance - value = 0.10 + id = SAD_balance + value = 0.1 + } + add_timed_idea = { + idea = ITA_disgruntlement_in_the_army + days = 365 } - add_timed_idea = { idea = ITA_disgruntlement_in_the_army days = 365 } add_to_variable = { var = sad_renwushibai_value value = 1 } } } - SAD_zhengfubaerganxiaoguo_renwu = { icon = generic_tank - activation = { + activation = { always = no } complete_effect = { @@ -9263,33 +10070,39 @@ SAD_gonggulingxiuquanwei_renwu = { value = 1 } } - available = { - or = { - has_completed_focus = SAD_lingxiudediyizhan - TIX = { - has_completed_focus = TIX_diyiciweiyenazhongcai + available = { + OR = { + has_completed_focus = SAD_lingxiudediyizhan + TIX = { + has_completed_focus = TIX_diyiciweiyenazhongcai + } + TIX = { + has_completed_focus = TIX_di25haoyuanshouzhishi + } + NOT = { + country_exists = YUG + } + YUG = { + is_subject_of = SAD + } } - TIX = { - has_completed_focus = TIX_di25haoyuanshouzhishi - } - not = { country_exists = YUG } - YUG = { - is_subject_of = SAD - } - } - or = { - has_completed_focus = SAD_xianglingxiuchenfu - not = { country_exists = ALB } - ALB = { - is_subject_of = SAD - } - } - or = { - has_completed_focus = SAD_youlingxiujueze - not = { country_exists = BUL } - BUL = { - is_subject_of = SAD + OR = { + has_completed_focus = SAD_xianglingxiuchenfu + NOT = { + country_exists = ALB + } + ALB = { + is_subject_of = SAD + } } + OR = { + has_completed_focus = SAD_youlingxiujueze + NOT = { + country_exists = BUL + } + BUL = { + is_subject_of = SAD + } } } days_mission_timeout = 730 @@ -9297,8 +10110,8 @@ SAD_gonggulingxiuquanwei_renwu = { timeout_effect = { add_political_power = -150 add_power_balance_value = { - id = SAD_balance - value = 0.15 + id = SAD_balance + value = 0.15 } add_to_variable = { var = sad_renwushibai_value @@ -9306,10 +10119,9 @@ SAD_gonggulingxiuquanwei_renwu = { } } } - SAD_tiaoxinhuangjia_renwu = { icon = generic_ignite_civil_war - activation = { + activation = { always = no } complete_effect = { @@ -9322,13 +10134,15 @@ SAD_gonggulingxiuquanwei_renwu = { value = 1 } } - available = { + available = { has_completed_focus = SAD_xijisaipulusi } cancel_trigger = { - or = { - has_war_with = HUJ - not = { country_exists = HUJ } + or = { + has_war_with = HUJ + NOT = { + country_exists = HUJ + } } } days_mission_timeout = 500 @@ -9341,10 +10155,9 @@ SAD_gonggulingxiuquanwei_renwu = { } } } - SAD_chengbafeizhou_renwu = { icon = hol_draw_up_staff_plans - activation = { + activation = { always = no } complete_effect = { @@ -9357,7 +10170,7 @@ SAD_gonggulingxiuquanwei_renwu = { value = 1 } } - available = { + available = { controls_state = 448 controls_state = 907 controls_state = 446 @@ -9378,10 +10191,9 @@ SAD_gonggulingxiuquanwei_renwu = { set_country_flag = sad_zhongyaorenwushibai } } - SAD_xindediguo_renwu = { icon = eng_propaganda_campaigns - activation = { + activation = { always = no } complete_effect = { @@ -9393,10 +10205,10 @@ SAD_gonggulingxiuquanwei_renwu = { value = 1 } } - available = { - or = { - has_completed_focus = SAD_xindediguo - has_completed_focus = SAD_chongzhudiguorongguang + available = { + OR = { + has_completed_focus = SAD_xindediguo + has_completed_focus = SAD_chongzhudiguorongguang } } days_mission_timeout = 1095 @@ -9411,7 +10223,7 @@ SAD_gonggulingxiuquanwei_renwu = { } SAD_hexinhuabeifei_renwu = { icon = generic_orginization_of_african_unity - activation = { + activation = { always = no } complete_effect = { @@ -9422,7 +10234,7 @@ SAD_gonggulingxiuquanwei_renwu = { value = 1 } } - available = { + available = { has_completed_focus = SAD_tonghualibiya } days_mission_timeout = 1095 @@ -9436,23 +10248,34 @@ SAD_gonggulingxiuquanwei_renwu = { } } } - SAD_zhanzhengzhunbei_renwu = { icon = FIN_stop_motti_tactics - activation = { + activation = { always = no } complete_effect = { - add_timed_idea = { idea = ITA_efficient_supply_lines_lion_version days = 365 } - add_timed_idea = { idea = ITA_fuel_reserves_lion_version days = 365 } - add_timed_idea = { idea = ITA_strengthened_the_airforce_lion_version days = 365 } - add_timed_idea = { idea = ITA_expanded_intelligence_service_basic_lion_version days = 365 } + add_timed_idea = { + idea = ITA_efficient_supply_lines_lion_version + days = 365 + } + add_timed_idea = { + idea = ITA_fuel_reserves_lion_version + days = 365 + } + add_timed_idea = { + idea = ITA_strengthened_the_airforce_lion_version + days = 365 + } + add_timed_idea = { + idea = ITA_expanded_intelligence_service_basic_lion_version + days = 365 + } add_to_variable = { var = sad_renwudaren_value value = 1 } } - available = { + available = { has_army_manpower = { size > 1499999 } @@ -9467,7 +10290,10 @@ SAD_gonggulingxiuquanwei_renwu = { add_stability = 0.15 add_war_support = -0.3 custom_effect_tooltip = "撒丁群众普遍认为撒丁没那个实力打赢其他舰娘国,所以失败了还有奖励" - add_timed_idea = { idea = ITA_disgruntlement_in_the_airforce days = 365 } + add_timed_idea = { + idea = ITA_disgruntlement_in_the_airforce + days = 365 + } add_to_variable = { var = sad_renwushibai_value value = 1 @@ -9482,10 +10308,10 @@ BYG_huoxingzhongdi = { icon = xingdong cost = 50 visible = { - or = { - has_completed_focus = BYG_ziyoudebian - has_completed_focus = BYG_chongzubaiyingguohui - } + OR = { + has_completed_focus = BYG_ziyoudebian + has_completed_focus = BYG_chongzubaiyingguohui + } } available = { has_government = democratic @@ -9495,7 +10321,7 @@ BYG_huoxingzhongdi = { base = 10 modifier = { add = 9990 - date > 1939.1.1 + date > 1939.1.1 } } modifier = { @@ -9503,14 +10329,18 @@ BYG_huoxingzhongdi = { } complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 50 } } remove_effect = { - add_offsite_building = { type = industrial_complex level = 6 } + add_offsite_building = { + type = industrial_complex + level = 6 + } } - } BYG_huobibianzhi_jy = { icon = xingdong @@ -9518,10 +10348,10 @@ BYG_huoxingzhongdi = { priority = 100 fire_only_once = yes visible = { - or = { - has_completed_focus = BYG_ziyoudebian - has_completed_focus = BYG_chongzubaiyingguohui - } + OR = { + has_completed_focus = BYG_ziyoudebian + has_completed_focus = BYG_chongzubaiyingguohui + } } available = { has_government = democratic @@ -9530,17 +10360,18 @@ BYG_huoxingzhongdi = { base = 10 modifier = { add = 9990 - date > 1939.1.1 + date > 1939.1.1 } } complete_effect = { add_ideas = BYG_huobibianzhi if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 100 } } - } BYG_shehuibaozhangfa_jy = { icon = xingdong @@ -9548,10 +10379,10 @@ BYG_huoxingzhongdi = { priority = 99 fire_only_once = yes visible = { - or = { - has_completed_focus = BYG_ziyoudebian - has_completed_focus = BYG_chongzubaiyingguohui - } + OR = { + has_completed_focus = BYG_ziyoudebian + has_completed_focus = BYG_chongzubaiyingguohui + } } available = { has_government = democratic @@ -9560,26 +10391,27 @@ BYG_huoxingzhongdi = { base = 10 modifier = { add = 9990 - date > 1939.1.1 + date > 1939.1.1 } } complete_effect = { add_ideas = BYG_shehuibaozhang if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 50 } } - } BYG_nongyebutie_jy = { icon = xingdong cost = 30 visible = { - or = { - has_completed_focus = BYG_ziyoudebian - has_completed_focus = BYG_chongzubaiyingguohui - } + OR = { + has_completed_focus = BYG_ziyoudebian + has_completed_focus = BYG_chongzubaiyingguohui + } } available = { has_government = democratic @@ -9589,40 +10421,41 @@ BYG_huoxingzhongdi = { base = 10 modifier = { add = 9990 - date > 1939.1.1 + date > 1939.1.1 } - } - modifier = { - } complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 30 } - } remove_effect = { - add_offsite_building = { type = industrial_complex level = 4 } + add_offsite_building = { + type = industrial_complex + level = 4 + } } - } - BYG_yigongdaizhen_jy = { icon = xingdong cost = 30 visible = { - or = { - has_completed_focus = BYG_ziyoudebian - has_completed_focus = BYG_chongzubaiyingguohui - } + OR = { + has_completed_focus = BYG_ziyoudebian + has_completed_focus = BYG_chongzubaiyingguohui + } } available = { has_government = democratic any_state = { - is_core_of = ROOT - infrastructure < 4 - not = { has_state_flag = BYG_zhongguojijianle } + is_core_of = ROOT + infrastructure < 4 + NOT = { + has_state_flag = BYG_zhongguojijianle + } } } days_remove = 60 @@ -9630,45 +10463,43 @@ BYG_huoxingzhongdi = { base = 10 modifier = { add = 9990 - date > 1939.1.1 + date > 1939.1.1 } - } - modifier = { - } complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 30 } - } remove_effect = { random_owned_controlled_state = { limit = { is_core_of = ROOT infrastructure < 4 - not = { has_state_flag = BYG_zhongguojijianle } + NOT = { + has_state_flag = BYG_zhongguojijianle + } } add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes + type = infrastructure + level = 2 + instant_build = yes } set_state_flag = BYG_zhongguojijianle } } - } - BYG_gongpingjingzheng_jy = { icon = xingdong cost = 80 visible = { - or = { - has_completed_focus = BYG_ziyoudebian - has_completed_focus = BYG_chongzubaiyingguohui - } + OR = { + has_completed_focus = BYG_ziyoudebian + has_completed_focus = BYG_chongzubaiyingguohui + } } available = { has_government = democratic @@ -9678,7 +10509,7 @@ BYG_huoxingzhongdi = { base = 10 modifier = { add = 9990 - date > 1939.1.1 + date > 1939.1.1 } } modifier = { @@ -9687,43 +10518,39 @@ BYG_huoxingzhongdi = { } complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 120 } - } remove_effect = { - add_offsite_building = { type = industrial_complex level = 8 } + add_offsite_building = { + type = industrial_complex + level = 8 + } } - } - BYG_zhuanyiguoneichanye_jy = { icon = xingdong cost = 50 visible = { - or = { - has_completed_focus = BYG_ziyoudebian - has_completed_focus = BYG_chongzubaiyingguohui - } + OR = { + has_completed_focus = BYG_ziyoudebian + has_completed_focus = BYG_chongzubaiyingguohui + } } available = { has_government = democratic any_state = { - is_core_of = ROOT - industrial_complex > 3 + is_core_of = ROOT + industrial_complex > 3 } } days_remove = 120 ai_will_do = { factor = 0 } - modifier = { - if = { - limit = { is_ai = yes } - add_political_power = 50 - } - } complete_effect = { random_owned_controlled_state = { limit = { @@ -9731,25 +10558,32 @@ BYG_huoxingzhongdi = { industrial_complex > 3 } remove_building = { - type = industrial_complex - level = 4 + type = industrial_complex + level = 4 + } } + if = { + limit = { + is_ai = yes + } + add_political_power = 50 } } remove_effect = { - add_offsite_building = { type = industrial_complex level = 4 } + add_offsite_building = { + type = industrial_complex + level = 4 + } } - } - BYG_junshigongyejianshe_jy = { icon = xingdong cost = 50 visible = { - or = { - has_completed_focus = BYG_ziyoudebian - has_completed_focus = BYG_chongzubaiyingguohui - } + OR = { + has_completed_focus = BYG_ziyoudebian + has_completed_focus = BYG_chongzubaiyingguohui + } } available = { has_government = democratic @@ -9760,42 +10594,42 @@ BYG_huoxingzhongdi = { base = 10 modifier = { add = 9990 - date > 1939.1.1 + date > 1939.1.1 } - } - modifier = { - } complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 50 } } remove_effect = { - add_offsite_building = { type = arms_factory level = 8 } + add_offsite_building = { + type = arms_factory + level = 8 + } } - } - BYG_haijunkuojian_jy = { icon = xingdong cost = 50 visible = { - or = { - has_completed_focus = BYG_ziyoudebian - has_completed_focus = BYG_chongzubaiyingguohui - } + OR = { + has_completed_focus = BYG_ziyoudebian + has_completed_focus = BYG_chongzubaiyingguohui + } } available = { has_government = democratic - or = { - HUJ = { - has_added_tension_amount > 20 - } - CHY = { - has_added_tension_amount > 20 - } + OR = { + HUJ = { + has_added_tension_amount > 20 + } + CHY = { + has_added_tension_amount > 20 + } } } days_remove = 90 @@ -9803,25 +10637,24 @@ BYG_huoxingzhongdi = { base = 10 modifier = { add = 9990 - date > 1939.1.1 + date > 1939.1.1 } - } - modifier = { - } complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 50 } - } remove_effect = { - add_offsite_building = { type = dockyard level = 6 } + add_offsite_building = { + type = dockyard + level = 6 + } } - } - } TIX_zhenyadikangstate = { @@ -9831,26 +10664,27 @@ TIX_zhenyadikangstate = { on_map_mode = map_and_decisions_view target_array = controlled_states highlight_color_while_active = 1 - days_remove = 50 cost = 50 - target_trigger = { FROM = { always = yes } } - visible = { - FROM = { - not = { has_state_flag = TIX_dikangyibeizhenya } + FROM = { + NOT = { + has_state_flag = TIX_dikangyibeizhenya + } is_controlled_by = ROOT has_state_flag = all_youjiduizhengaihuodong } } available = { - not = { has_country_flag = TIX_zhengzaiqingchudikang } - FROM = { + NOT = { + has_country_flag = TIX_zhengzaiqingchudikang + } + FROM = { has_state_flag = all_youjiduizhengaihuodong is_controlled_by = ROOT } @@ -9871,9 +10705,8 @@ TIX_zhenyadikangstate = { set_state_flag = TIX_dikangyibeizhenya custom_effect_tooltip = TIX_dikangbeizhenya_tip add_compliance = 10 - add_resistance = -20 + add_resistance = -20 } } } - -} \ No newline at end of file +} diff --git a/src/common/decisions/xiaomaipu_decisions.txt b/src/common/decisions/xiaomaipu_decisions.txt index 0bbc0c7..570f5b6 100755 --- a/src/common/decisions/xiaomaipu_decisions.txt +++ b/src/common/decisions/xiaomaipu_decisions.txt @@ -11,18 +11,22 @@ xiaomaipu_category = { fire_only_once = yes ai_will_do = { factor = 10 - } complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 300 } - } - remove_effect = { + remove_effect = { if = { - limit = { NOT = { has_tech = shipgirltech_jichulilun } } + limit = { + NOT = { + has_tech = shipgirltech_jichulilun + } + } set_technology = { shipgirltech_jichulilun = 1 } @@ -30,9 +34,8 @@ xiaomaipu_category = { else = { army_experience = 50 } - - hidden_effect = { - scoped_sound_effect = AZ_wancheng_sound + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound TAN = { nongna = { set_nationality = ROOT @@ -54,7 +57,6 @@ xiaomaipu_category = { } ai_will_do = { factor = 10 - } days_remove = 200 modifier = { @@ -63,14 +65,19 @@ xiaomaipu_category = { fire_only_once = yes complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 300 } - } - remove_effect = { + remove_effect = { if = { - limit = { NOT = { has_tech = shipgirltech_jichulilun } } + limit = { + NOT = { + has_tech = shipgirltech_jichulilun + } + } set_technology = { shipgirltech_jichulilun = 1 } @@ -78,8 +85,8 @@ xiaomaipu_category = { else = { army_experience = 50 } - hidden_effect = { - scoped_sound_effect = AZ_wancheng_sound + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound TAN = { kaiyi = { set_nationality = ROOT @@ -98,7 +105,6 @@ xiaomaipu_category = { } ai_will_do = { factor = 10 - } days_remove = 200 modifier = { @@ -107,14 +113,19 @@ xiaomaipu_category = { fire_only_once = yes complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 300 } - } - remove_effect = { + remove_effect = { if = { - limit = { NOT = { has_tech = shipgirltech_jichulilun } } + limit = { + NOT = { + has_tech = shipgirltech_jichulilun + } + } set_technology = { shipgirltech_jichulilun = 1 } @@ -122,8 +133,8 @@ xiaomaipu_category = { else = { army_experience = 50 } - hidden_effect = { - scoped_sound_effect = AZ_wancheng_sound + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound TAN = { xijuandai = { set_nationality = ROOT @@ -145,7 +156,6 @@ xiaomaipu_category = { } ai_will_do = { factor = 10 - } days_remove = 200 modifier = { @@ -154,14 +164,19 @@ xiaomaipu_category = { fire_only_once = yes complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 300 } - } - remove_effect = { + remove_effect = { if = { - limit = { NOT = { has_tech = shipgirltech_jichulilun } } + limit = { + NOT = { + has_tech = shipgirltech_jichulilun + } + } set_technology = { shipgirltech_jichulilun = 1 } @@ -169,8 +184,8 @@ xiaomaipu_category = { else = { army_experience = 50 } - hidden_effect = { - scoped_sound_effect = AZ_wancheng_sound + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound TAN = { dajiling = { set_nationality = ROOT @@ -189,7 +204,6 @@ xiaomaipu_category = { } ai_will_do = { factor = 10 - } days_remove = 200 modifier = { @@ -198,13 +212,19 @@ xiaomaipu_category = { fire_only_once = yes complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 300 } } - remove_effect = { + remove_effect = { if = { - limit = { NOT = { has_tech = shipgirltech_jichulilun } } + limit = { + NOT = { + has_tech = shipgirltech_jichulilun + } + } set_technology = { shipgirltech_jichulilun = 1 } @@ -212,7 +232,9 @@ xiaomaipu_category = { else = { army_experience = 50 } - hidden_effect = { scoped_sound_effect = AZ_wancheng_sound } + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound + } set_country_flag = sad_chenglilujunxueyuan_get custom_effect_tooltip = chenglilujunxueyuan_tooltip } @@ -224,24 +246,27 @@ xiaomaipu_category = { } ai_will_do = { factor = 10 - } days_remove = 200 - modifier = { political_power_cost = 0.75 } fire_only_once = yes complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 300 - } - + } } - remove_effect = { + remove_effect = { if = { - limit = { NOT = { has_tech = shipgirltech_jichulilun } } + limit = { + NOT = { + has_tech = shipgirltech_jichulilun + } + } set_technology = { shipgirltech_jichulilun = 1 } @@ -249,8 +274,8 @@ xiaomaipu_category = { else = { army_experience = 50 } - hidden_effect = { - scoped_sound_effect = AZ_wancheng_sound + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound TAN = { xizhuzhensui = { set_nationality = ROOT @@ -260,7 +285,6 @@ xiaomaipu_category = { custom_effect_tooltip = "招募西住真穗" set_country_flag = tix_chenglilujunxueyuan_get custom_effect_tooltip = chenglilujunxueyuan_tooltip - } } yuw_chenglilujunxueyuan = { @@ -270,7 +294,6 @@ xiaomaipu_category = { } ai_will_do = { factor = 10 - } days_remove = 200 modifier = { @@ -279,13 +302,19 @@ xiaomaipu_category = { fire_only_once = yes complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 300 } } - remove_effect = { + remove_effect = { if = { - limit = { NOT = { has_tech = shipgirltech_jichulilun } } + limit = { + NOT = { + has_tech = shipgirltech_jichulilun + } + } set_technology = { shipgirltech_jichulilun = 1 } @@ -293,8 +322,8 @@ xiaomaipu_category = { else = { army_experience = 50 } - hidden_effect = { - scoped_sound_effect = AZ_wancheng_sound + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound TAN = { mali = { set_nationality = ROOT @@ -309,7 +338,7 @@ xiaomaipu_category = { } custom_effect_tooltip = "招募玛丽、安藤和押田" set_country_flag = yuw_chenglilujunxueyuan_get - custom_effect_tooltip = chenglilujunxueyuan_tooltip + custom_effect_tooltip = chenglilujunxueyuan_tooltip } } daxi_chenglilujunxueyuan = { @@ -337,7 +366,6 @@ xiaomaipu_category = { } ai_will_do = { factor = 10 - } days_remove = 200 modifier = { @@ -346,13 +374,19 @@ xiaomaipu_category = { fire_only_once = yes complete_effect = { if = { - limit = { is_ai = yes } + limit = { + is_ai = yes + } add_political_power = 300 } } - remove_effect = { + remove_effect = { if = { - limit = { NOT = { has_tech = shipgirltech_jichulilun } } + limit = { + NOT = { + has_tech = shipgirltech_jichulilun + } + } set_technology = { shipgirltech_jichulilun = 1 } @@ -360,8 +394,8 @@ xiaomaipu_category = { else = { army_experience = 50 } - hidden_effect = { - scoped_sound_effect = AZ_wancheng_sound + hidden_effect = { + scoped_sound_effect = AZ_wancheng_sound if = { limit = { OR = { @@ -385,31 +419,29 @@ xiaomaipu_category = { } custom_effect_tooltip = "招募西住美穗" } - set_country_flag = daxi_chenglilujunxueyuan_get custom_effect_tooltip = chenglilujunxueyuan_tooltip } } xiangbulixuexizaochuanjishu = { icon = xinzhidanyuan - available = { - BLI = { - has_completed_focus = BLI_kaifangzaochuanshu - } - num_of_civilian_factories_available_for_projects > 9 - + BLI = { + has_completed_focus = BLI_kaifangzaochuanshu + } + num_of_civilian_factories_available_for_projects > 9 } visible = { AND = { shijianniangguojia_trigger = yes - NOT = { tag = BLI } - + NOT = { + tag = BLI + } } NOT = { AND = { - has_country_flag = buligongyi1_get - has_country_flag = buligongyi2_get + has_country_flag = buligongyi1_get + has_country_flag = buligongyi2_get } } } @@ -430,7 +462,6 @@ xiaomaipu_category = { country_event = BLI_event.2 } } - navy_college_haijunzhanshukeyan = { icon = shu visible = { @@ -466,26 +497,24 @@ xiaomaipu_category = { compare = greater_than_or_equals } } - fixed_random_seed = no - complete_effect = { + complete_effect = { add_to_variable = { var = wz_sl value = -2000 } - } remove_effect = { custom_effect_tooltip = navy_college_haijunzhanshukeyan_tooltip hidden_effect = { random_list = { - 65 = { + 65 = { country_event = azcollege.1 } - 25 = { + 25 = { country_event = azcollege.2 } - 10 = { + 10 = { country_event = azcollege.3 } } @@ -499,10 +528,10 @@ xiaomaipu_category = { } ai_will_do = { factor = 5 - modifier = { + modifier = { AND = { date < 1942.1.1 - OR = { + OR = { tag = TIX tag = BFL tag = DOH @@ -514,7 +543,7 @@ xiaomaipu_category = { modifier = { AND = { date > 1939.1.1 - OR = { + OR = { tag = HUJ tag = CHY tag = SAD @@ -543,23 +572,21 @@ xiaomaipu_category = { compare = greater_than_or_equals } } - fixed_random_seed = no - complete_effect = { + complete_effect = { add_to_variable = { var = wz_sl value = -3000 } - } remove_effect = { custom_effect_tooltip = navy_college_jianchuanzhuangbeishiyan_tooltip hidden_effect = { random_list = { - 70 = { + 70 = { country_event = azcollege.4 } - 30 = { + 30 = { country_event = azcollege.5 } } @@ -568,11 +595,10 @@ xiaomaipu_category = { } army_college_lujunzhanshukeyan = { icon = shu - ai_will_do = { factor = 5 modifier = { - OR = { + OR = { tag = TIX tag = BFL tag = DOH @@ -613,28 +639,26 @@ xiaomaipu_category = { } } fixed_random_seed = no - complete_effect = { + complete_effect = { add_to_variable = { var = wz_sl value = -4000 } - } remove_effect = { custom_effect_tooltip = army_college_lujunzhanshukeyan_tooltip hidden_effect = { random_list = { - 80 = { + 80 = { country_event = azcollege.6 } - 20 = { + 20 = { country_event = azcollege.7 } } } } } - youtiankaifa = { icon = oil visible = { @@ -652,7 +676,6 @@ xiaomaipu_category = { compare = greater_than_or_equals } } - ai_will_do = { factor = 0 modifier = { @@ -660,7 +683,6 @@ xiaomaipu_category = { add = 10 } } - remove_effect = { add_fuel = 500000 } @@ -682,7 +704,6 @@ xiaomaipu_category = { } days_re_enable = 365 days_remove = 365 - remove_effect = { capital_scope = { add_resource = { @@ -724,7 +745,7 @@ xiaomaipu_category = { } } fixed_random_seed = no - complete_effect = { + complete_effect = { add_to_variable = { var = wz_sl value = -500 @@ -732,12 +753,22 @@ xiaomaipu_category = { custom_effect_tooltip = "获得一只可爱的指挥喵" hidden_effect = { random_list = { - 50 = { country_event = azevent.22 } - 7 = { country_event = azevent.23 } - 7 = { country_event = azevent.24 } - 6 = { country_event = azevent.25 } - 6 = { country_event = azevent.26 } - 3 = { + 50 = { + country_event = azevent.22 + } + 7 = { + country_event = azevent.23 + } + 7 = { + country_event = azevent.24 + } + 6 = { + country_event = azevent.25 + } + 6 = { + country_event = azevent.26 + } + 3 = { country_event = azevent.27 set_country_flag = zhm_aogumiao_get modifier = { @@ -745,7 +776,7 @@ xiaomaipu_category = { has_country_flag = zhm_aogumiao_get } } - 3 = { + 3 = { country_event = azevent.28 set_country_flag = zhm_bokemiao_get modifier = { @@ -753,7 +784,7 @@ xiaomaipu_category = { has_country_flag = zhm_bokemiao_get } } - 3 = { + 3 = { country_event = azevent.29 set_country_flag = zhm_keleimiao_get modifier = { @@ -761,7 +792,7 @@ xiaomaipu_category = { has_country_flag = zhm_keleimiao_get } } - 3 = { + 3 = { country_event = azevent.30 set_country_flag = zhm_lindemiao_get modifier = { @@ -769,7 +800,7 @@ xiaomaipu_category = { has_country_flag = zhm_lindemiao_get } } - 3 = { + 3 = { country_event = azevent.31 set_country_flag = zhm_pangdemiao_get modifier = { @@ -777,7 +808,7 @@ xiaomaipu_category = { has_country_flag = zhm_pangdemiao_get } } - 3 = { + 3 = { country_event = azevent.32 set_country_flag = zhm_pishawan_get modifier = { @@ -785,7 +816,7 @@ xiaomaipu_category = { has_country_flag = zhm_pishawan_get } } - 3 = { + 3 = { country_event = azevent.33 set_country_flag = zhm_xiaozhuwan_get modifier = { @@ -793,7 +824,7 @@ xiaomaipu_category = { has_country_flag = zhm_xiaozhuwan_get } } - 3 = { + 3 = { country_event = azevent.34 set_country_flag = zhm_yuehanmiao_get modifier = { @@ -835,12 +866,11 @@ xiaomaipu_category = { compare = greater_than_or_equals } } - ai_will_do = { factor = 0 } fixed_random_seed = no - complete_effect = { + complete_effect = { add_to_variable = { var = zs_sl value = -100 @@ -852,7 +882,7 @@ xiaomaipu_category = { custom_effect_tooltip = "随机招募到一个内阁人物或指挥官" hidden_effect = { random_list = { - 10 = { + 10 = { country_event = getzhg_event.12 set_country_flag = zhg_sidalin_get modifier = { @@ -860,7 +890,7 @@ xiaomaipu_category = { has_country_flag = zhg_sidalin_get } } - 9 = { + 9 = { country_event = getzhg_event.1 set_country_flag = zhg_miaorunzhi_get modifier = { @@ -868,7 +898,7 @@ xiaomaipu_category = { has_country_flag = zhg_miaorunzhi_get } } - 9 = { + 9 = { country_event = getzhg_event.2 set_country_flag = zhg_jiangjieshi_get modifier = { @@ -876,7 +906,7 @@ xiaomaipu_category = { has_country_flag = zhg_jiangjieshi_get } } - 9 = { + 9 = { country_event = getzhg_event.3 set_country_flag = zhg_xitele_get modifier = { @@ -884,7 +914,7 @@ xiaomaipu_category = { has_country_flag = zhg_xitele_get } } - 9 = { + 9 = { country_event = getzhg_event.4 set_country_flag = zhg4_get modifier = { @@ -892,7 +922,7 @@ xiaomaipu_category = { has_country_flag = zhg4_get } } - 9 = { + 9 = { country_event = getzhg_event.5 set_country_flag = zhg5_get modifier = { @@ -900,7 +930,7 @@ xiaomaipu_category = { has_country_flag = zhg5_get } } - 9 = { + 9 = { country_event = getzhg_event.6 set_country_flag = zhg6_get modifier = { @@ -908,7 +938,7 @@ xiaomaipu_category = { has_country_flag = zhg6_get } } - 9 = { + 9 = { country_event = getzhg_event.7 set_country_flag = zhg7_get modifier = { @@ -916,7 +946,7 @@ xiaomaipu_category = { has_country_flag = zhg7_get } } - 9 = { + 9 = { country_event = getzhg_event.8 set_country_flag = zhg8_get modifier = { @@ -924,7 +954,7 @@ xiaomaipu_category = { has_country_flag = zhg8_get } } - 9 = { + 9 = { country_event = getzhg_event.9 set_country_flag = zhg9_get modifier = { @@ -932,7 +962,7 @@ xiaomaipu_category = { has_country_flag = zhg9_get } } - 9 = { + 9 = { country_event = getzhg_event.10 set_country_flag = zhg10_get modifier = { @@ -940,8 +970,6 @@ xiaomaipu_category = { has_country_flag = zhg10_get } } - - } } } diff --git a/src/common/decisions/xingdong_decisions.txt b/src/common/decisions/xingdong_decisions.txt index 433f132..a2a4fd9 100755 --- a/src/common/decisions/xingdong_decisions.txt +++ b/src/common/decisions/xingdong_decisions.txt @@ -14,105 +14,106 @@ xingdong_category = { } } - kaogudui_1_begin = { - icon = xingdong - cost = 150 - days_remove = 180 - ai_will_do = { - base = 0 - modifier = { - date > 1941.6.1 - add = 5 - } - } - visible = { - always = no - } - modifier = { - civilian_factory_use = 5 - } - remove_effect = { - set_country_flag = kaogudui_level_1_get - } - } + # kaogudui_1_begin = { + # icon = xingdong + # cost = 150 + # days_remove = 180 + # ai_will_do = { + # base = 0 + # modifier = { + # date > 1941.6.1 + # add = 5 + # } + # } + # visible = { + # always = no + # } + # modifier = { + # civilian_factory_use = 5 + # } + # remove_effect = { + # set_country_flag = kaogudui_level_1_get + # } + # } - kaogudui_level_1 = { + # kaogudui_level_1 = { - icon = xingdong - state_target = yes - on_map_mode = map_and_decisions_view - target_array = controlled_states - highlight_color_while_active = 1 - visible = { - always = no - } - ai_will_do = { - factor = 20 - } - cost = var:kaogudui_cost_pp - days_remove = 60 - modifier = { - civilian_factory_use = 5 - } - available = { - #设定PP - FROM = { - if = { - limit = { - id = 64 - } - set_temp_variable = { kaogudui_cost_pp = 60 } - } - } - has_country_flag = kaogudui_level_1_get - custom_cost_trigger = { - tooltip = kaogudui_cost_wz_check_tt - check_variable = { wz_sl > kaogudui_cost_wz } - } + # icon = xingdong + # state_target = yes + # on_map_mode = map_and_decisions_view + # target_array = controlled_states + # highlight_color_while_active = 1 + # visible = { + # always = no + # } + # ai_will_do = { + # factor = 20 + # } + # cost = var:kaogudui_cost_pp + # days_remove = 60 + # modifier = { + # civilian_factory_use = 5 + # } + # available = { + # #设定PP + # FROM = { + # if = { + # limit = { + # id = 64 + # } + # set_temp_variable = { kaogudui_cost_pp = 60 } + # } + # } + # has_country_flag = kaogudui_level_1_get + # custom_cost_trigger = { + # tooltip = kaogudui_cost_wz_check_tt + # check_variable = { wz_sl > kaogudui_cost_wz } + # } - } + # } - target_trigger = { - FROM = { - OR = { - id = 1 - } - } - } + # target_trigger = { + # FROM = { + # OR = { + # id = 1 + # } + # } + # } - visible = { - has_country_flag = kaogudui_level_1_get - FROM = { - OR = { - id = 1 - } - } - } - complete_effect = { - subtract_from_variable = { wz_sl = kaogudui_cost_wz } - } - remove_effect = { - FROM = { - if = { - limit = { - id = 64 - } - controller = { - country_event = azkaogudui.1 - } - } - if = { - limit = { - id = 64 - } - controller = { - country_event = azkaogudui.2 - } - } - } - } - } + # visible = { + # has_country_flag = kaogudui_level_1_get + # FROM = { + # OR = { + # id = 1 + # } + # } + # } + # complete_effect = { + # subtract_from_variable = { wz_sl = kaogudui_cost_wz } + # } + # remove_effect = { + # FROM = { + # if = { + # limit = { + # id = 64 + # } + # controller = { + # country_event = azkaogudui.1 + # } + # } + # if = { + # limit = { + # id = 64 + # } + # controller = { + # country_event = azkaogudui.2 + # } + # } + # } + # } + # } + show_tuxizhanzheng= { priority = 10 icon = jian @@ -120,9 +121,9 @@ xingdong_category = { NOT = { has_country_flag = show_tuxizhanzheng } } available = { - or = { - not = { has_global_flag = modoption_fengkuangai_on } - not = { has_global_flag = modoption_historicalbossai_on } + OR = { + NOT = { has_global_flag = modoption_fengkuangai_on } + NOT = { has_global_flag = modoption_historicalbossai_on } has_global_flag = MOD_azurlane_sairenzhizai } } @@ -155,7 +156,7 @@ xingdong_category = { } available = { FROM = { - not = { has_country_flag = beituxizhanzheng_doing } + NOT = { has_country_flag = beituxizhanzheng_doing } } set_temp_variable = { temp_jinzhangdu = global.threat } clamp_temp_variable = { @@ -251,7 +252,7 @@ xingdong_category = { } every_other_country = { limit = { - not = { + NOT = { has_country_flag = did_tuxizhanzheng } @@ -280,7 +281,7 @@ xingdong_category = { } every_other_country = { limit = { - not = { has_country_flag = did_tuxizhanzheng } + NOT = { has_country_flag = did_tuxizhanzheng } shijianniangguojia_trigger = yes } add_political_power = 2000 @@ -289,7 +290,7 @@ xingdong_category = { air_experience = 200 } } - else_ = { + else_if = { limit = { check_variable = { global.tuxizhanzheng_amount = 3 @@ -318,7 +319,7 @@ xingdong_category = { } every_other_country = { limit = { - not = { has_country_flag = did_tuxizhanzheng } + NOT = { has_country_flag = did_tuxizhanzheng } shijianniangguojia_trigger = yes } every_core_state = { @@ -339,7 +340,7 @@ xingdong_category = { air_experience = 200 } } - else_ = { + else_if = { limit = { check_variable = { global.tuxizhanzheng_amount = 3 @@ -368,7 +369,7 @@ xingdong_category = { } every_other_country = { limit = { - not = { has_country_flag = did_tuxizhanzheng } + NOT = { has_country_flag = did_tuxizhanzheng } shijianniangguojia_trigger = yes } every_core_state = { @@ -390,7 +391,7 @@ xingdong_category = { } } - else_ = { + else_if = { limit = { check_variable = { global.tuxizhanzheng_amount > 3 @@ -600,7 +601,7 @@ xingdong_category = { country_event = getzhg_event.13 modifier = { factor = 0 - or = { + OR = { has_global_flag = meta_fangzhou_found any_country = { has_country_flag = meta_fangzhou_finding @@ -612,7 +613,7 @@ xingdong_category = { country_event = getzhg_event.14 modifier = { factor = 0 - or = { + OR = { has_global_flag = meta_feilong_found any_country = { has_country_flag = meta_feilong_finding @@ -624,7 +625,7 @@ xingdong_category = { country_event = getzhg_event.15 modifier = { factor = 0 - or = { + OR = { has_global_flag = meta_hailunna_found any_country = { has_country_flag = meta_hailunna_finding @@ -636,7 +637,7 @@ xingdong_category = { country_event = getzhg_event.16 modifier = { factor = 0 - or = { + OR = { has_global_flag = meta_feiying_found any_country = { has_country_flag = meta_fangzhou_finding @@ -648,7 +649,7 @@ xingdong_category = { country_event = getzhg_event.17 modifier = { factor = 0 - or = { + OR = { has_global_flag = meta_fusang_found any_country = { has_country_flag = meta_fusang_finding @@ -660,7 +661,7 @@ xingdong_category = { country_event = getzhg_event.18 modifier = { factor = 0 - or = { + OR = { has_global_flag = meta_genaisennao_found any_country = { has_country_flag = meta_genaisennao_finding @@ -1387,7 +1388,7 @@ xingdong_category = { modifier = { has_stability < 0.8 date > 1939.6.1 - not = { tag = TIX } + NOT = { tag = TIX } add = 10 } } @@ -1415,7 +1416,7 @@ xingdong_category = { modifier = { has_stability < 0.8 date > 1939.6.1 - not = { tag = TIX } + NOT = { tag = TIX } add = 10 } } @@ -1642,7 +1643,7 @@ xingdong_category = { } if = { limit = { has_idea = TY_laodonglichongzu } - remove_idea = TY_laodonglichongzu + remove_ideas = TY_laodonglichongzu } } } @@ -1909,9 +1910,9 @@ xingdong_category = { mf_chushoumofang = { icon = xzmf available = { - or = { + OR = { has_global_flag = modoption_fengkuangai_on - not = { has_global_flag = modoption_historicalbossai_on } + NOT = { has_global_flag = modoption_historicalbossai_on } } custom_trigger_tooltip = { tooltip = "" diff --git a/src/common/dynamic_modifiers/YUW_dynamic_modifiers.txt b/src/common/dynamic_modifiers/YUW_dynamic_modifiers.txt index 08fdba8..9db9c26 100755 --- a/src/common/dynamic_modifiers/YUW_dynamic_modifiers.txt +++ b/src/common/dynamic_modifiers/YUW_dynamic_modifiers.txt @@ -6,8 +6,8 @@ YUW_youjidui_state = { } icon = GFX_modifiers_generic_resistance remove_trigger = { - or = { - not = { country_exists = YUW } + OR = { + NOT = { country_exists = YUW } ROOT = { has_state_flag = TIX_dikangyibeizhenya } @@ -33,10 +33,10 @@ BFL_youjidui_state = { } icon = GFX_modifiers_generic_resistance remove_trigger = { - or = { + OR = { controller = { - not = { has_war_with = BFL } - not = { tag = TIX } + NOT = { has_war_with = BFL } + NOT = { tag = TIX } } ROOT = { has_state_flag = TIX_dikangyibeizhenya diff --git a/src/common/ideas/XGE_ideas.txt b/src/common/ideas/XGE_ideas.txt index fe41158..42b6e23 100755 --- a/src/common/ideas/XGE_ideas.txt +++ b/src/common/ideas/XGE_ideas.txt @@ -1035,15 +1035,7 @@ ideas = { } removal_cost = -1 equipment_bonus = { - cv_fighter = { - build_cost_ic = -0.1 - instant = yes - } - cv_cas = { - build_cost_ic = -0.1 - instant = yes - } - cv_nav_bomber = { + cv_small_plane_airframe = { build_cost_ic = -0.1 instant = yes } @@ -1073,18 +1065,10 @@ ideas = { } removal_cost = -1 equipment_bonus = { - cv_fighter = { + cv_small_plane_airframe = { air_attack = 0.15 instant = yes } - cv_cas = { - air_superiority = 0.15 - instant = yes - } - cv_nav_bomber = { - naval_strike_attack = 0.15 - instant = yes - } # cv_suicide_craft = { # build_cost_ic = -0.1 # instant = yes @@ -1139,15 +1123,15 @@ ideas = { } removal_cost = -1 equipment_bonus = { - nav_bomber = { + naval_bomber = { naval_strike_attack = 0.2 instant = yes } - tac_bomber = { + tactical_bomber = { air_bombing = 0.2 instant = yes } - strat_bomber = { + strategic_bomber = { air_bombing = 0.2 instant = yes } @@ -1366,11 +1350,11 @@ ideas = { attack_bonus_against = 0.1 defense_bonus_against = 0.1 } - targeted_modifier = { - tag = GEU - attack_bonus_against = 0.1 - defense_bonus_against = 0.1 - } + # targeted_modifier = { + # tag = GEU + # attack_bonus_against = 0.1 + # defense_bonus_against = 0.1 + # } } #特殊游玩模式 GER_Special_play_mode = { diff --git a/src/common/ideas/_economic.txt b/src/common/ideas/_economic.txt index 98a8f66..7d31e9a 100755 --- a/src/common/ideas/_economic.txt +++ b/src/common/ideas/_economic.txt @@ -32,10 +32,10 @@ ideas = { allowed_to_remove = { OR = { has_war_support > 1.5 - not = { has_idea = BYG_jjwjhyz } - not = { has_idea = BYG_jjwjhyz_1 } - not = { has_idea = BYG_jjwjhyz_2 } - not = { has_idea = BYG_jjwjhyz_3 } + NOT = { has_idea = BYG_jjwjhyz } + NOT = { has_idea = BYG_jjwjhyz_1 } + NOT = { has_idea = BYG_jjwjhyz_2 } + NOT = { has_idea = BYG_jjwjhyz_3 } has_war = yes has_completed_focus = BYG_wanzhengdewomen } diff --git a/src/common/ideas/az_psh_army_spirits.txt b/src/common/ideas/az_psh_army_spirits.txt index 1153314..63ff2a3 100755 --- a/src/common/ideas/az_psh_army_spirits.txt +++ b/src/common/ideas/az_psh_army_spirits.txt @@ -4,7 +4,7 @@ ideas = { ledger = army picture = theatre_training_spirit visible = { - or = { + OR = { tag = TIX tag = SAD tag = CHY @@ -29,7 +29,7 @@ ideas = { ledger = army picture = inventive_leadership_spirit visible = { - or = { + OR = { tag = TIX tag = SAD tag = CHY @@ -57,7 +57,7 @@ ideas = { ledger = army picture = political_loyalty_spirit visible = { - or = { + OR = { tag = TIX tag = SAD tag = CHY @@ -85,7 +85,7 @@ ideas = { ledger = army picture = best_of_the_best_spirit visible = { - or = { + OR = { tag = TIX tag = SAD tag = CHY @@ -120,7 +120,7 @@ ideas = { ledger = army picture = professional_officer_corps_spirit visible = { - or = { + OR = { tag = TIX tag = SAD tag = CHY @@ -146,7 +146,7 @@ ideas = { ledger = army picture = HUN_secret_rearmament visible = { - or = { + OR = { tag = TIX tag = SAD tag = CHY @@ -183,7 +183,7 @@ ideas = { ledger = army picture = generic_manpower_bonus visible = { - or = { + OR = { tag = TIX tag = SAD tag = CHY @@ -204,7 +204,7 @@ ideas = { ai_will_do = { factor = 10 modifier = { - or = { + OR = { NOT = { tag = BFL } NOT = { tag = DOH } } @@ -223,7 +223,7 @@ ideas = { ledger = army picture = maneuver_warfare_spirit visible = { - or = { + OR = { tag = TIX tag = GER } @@ -246,7 +246,7 @@ ideas = { ledger = army picture = smoke_and_fire_spirit visible = { - or = { + OR = { tag = BYG tag = USA tag = USB @@ -268,7 +268,7 @@ ideas = { ledger = army picture = operational_reserve_spirit visible = { - or = { + OR = { tag = BFL tag = SOV } @@ -287,7 +287,7 @@ ideas = { ledger = army picture = static_warfare_spirit visible = { - or = { + OR = { tag = YUW tag = WEX tag = FRA @@ -308,7 +308,7 @@ ideas = { ledger = army picture = quick_improvisation_spirit visible = { - or = { + OR = { tag = HUJ tag = ENG } @@ -327,7 +327,7 @@ ideas = { ledger = army picture = logistical_focus_spirit visible = { - or = { + OR = { tag = SAD tag = ITA } @@ -348,7 +348,7 @@ ideas = { ledger = army picture = aggressive_reconnaisance_spirit visible = { - or = { + OR = { tag = CHY tag = JAP } @@ -370,7 +370,7 @@ ideas = { ledger = army picture = victory_or_death_spirit visible = { - or = { + OR = { tag = DOH tag = CHI } @@ -395,7 +395,7 @@ ideas = { ledger = navy picture = trade_interdiction_navy_spirit visible = { - or = { + OR = { tag = TIX tag = GER } @@ -416,7 +416,7 @@ ideas = { ledger = navy picture = surprise_attacks_spirit visible = { - or = { + OR = { tag = YUW tag = WEX } @@ -437,7 +437,7 @@ ideas = { ledger = navy picture = efficient_communications_spirit visible = { - or = { + OR = { tag = HUJ tag = ENG } @@ -458,7 +458,7 @@ ideas = { ledger = navy picture = decisive_battle_spirit visible = { - or = { + OR = { tag = BFL tag = SOV } @@ -479,7 +479,7 @@ ideas = { ledger = navy picture = jeune_ecole_spirit visible = { - or = { + OR = { tag = SAD tag = ITA } @@ -500,7 +500,7 @@ ideas = { ledger = navy picture = surprise_attacks_spirit visible = { - or = { + OR = { tag = BYG tag = USA tag = USB @@ -523,7 +523,7 @@ ideas = { ledger = navy picture = base_strike_academy_spirit visible = { - or = { + OR = { tag = CHY tag = JAP } @@ -545,7 +545,7 @@ ideas = { ledger = navy picture = efficient_communications_spirit visible = { - or = { + OR = { tag = DOH tag = CHI } diff --git a/src/common/ideas/bfl.txt b/src/common/ideas/bfl.txt index 7f4eb4c..df036fc 100755 --- a/src/common/ideas/bfl.txt +++ b/src/common/ideas/bfl.txt @@ -787,7 +787,7 @@ ideas = { always = yes } available = { - not = { has_war_with = TIX } + NOT = { has_war_with = TIX } } modifier = { guarantee_cost = 100 @@ -812,7 +812,7 @@ ideas = { always = yes } available = { - not = { has_war_with = TIX } + NOT = { has_war_with = TIX } } modifier = { operative_slot = 1 @@ -934,7 +934,7 @@ ideas = { } visible = { - not = { has_country_flag = astrov_design_bureau_up } + NOT = { has_country_flag = astrov_design_bureau_up } } research_bonus = { @@ -992,7 +992,7 @@ ideas = { original_tag = BFL } visible = { - not = { has_country_flag = okmo_up } + NOT = { has_country_flag = okmo_up } } @@ -1049,7 +1049,7 @@ ideas = { original_tag = BFL } visible = { - not = { has_country_flag = SOV_mytishchy_machine_building_plant_up } + NOT = { has_country_flag = SOV_mytishchy_machine_building_plant_up } } research_bonus = { armor = 0.1 @@ -1476,7 +1476,7 @@ ideas = { NOT = { has_country_flag = BFL_soviet_railways_up } } available = { - or = { + OR = { has_completed_focus = BFL_duiwaikaifang has_idea = BFL_luohoudegongye3 hidden_trigger = { is_ai = yes } @@ -1536,14 +1536,14 @@ ideas = { } available = { - or = { + OR = { has_completed_focus = BFL_duiwaikaifang hidden_trigger = { is_ai = yes } - or = { + OR = { has_idea = BFL_bufuguanjiaoderenlei1123 has_idea = BFL_bufuguanjiaoderenlei113 } - or = { + OR = { has_idea = BFL_luohoudegongye3 has_idea = BFL_luohoudegongye2 } @@ -1608,7 +1608,7 @@ ideas = { original_tag = BFL } visible = { - not = { has_country_flag = { flag = grabin_design_bureau_up } } + NOT = { has_country_flag = { flag = grabin_design_bureau_up } } } @@ -1693,7 +1693,7 @@ ideas = { original_tag = BFL } visible = { - not = { has_country_flag = { flag = tula_arms_plant_up } } + NOT = { has_country_flag = { flag = tula_arms_plant_up } } } @@ -1749,7 +1749,7 @@ ideas = { original_tag = BFL } visible = { - not = { has_country_flag = { flag = gaz_up } } + NOT = { has_country_flag = { flag = gaz_up } } } @@ -1835,10 +1835,10 @@ ideas = { original_tag = BFL } visible = { - not = { has_country_flag = { flag = SOV_nevskoye_design_bureau_up } } + NOT = { has_country_flag = { flag = SOV_nevskoye_design_bureau_up } } } available = { - or = { + OR = { has_completed_focus = BFL_jianduishuliang has_completed_focus = BFL_jianduizhiliang has_completed_focus = BFL_junshiqiyeshenji @@ -1903,11 +1903,11 @@ ideas = { original_tag = BFL } visible = { - not = { has_country_flag = { flag = SOV_rubin_design_bureau_up } } + NOT = { has_country_flag = { flag = SOV_rubin_design_bureau_up } } } available = { - or = { + OR = { has_completed_focus = BFL_jianduishuliang has_completed_focus = BFL_jianduizhiliang has_completed_focus = BFL_junshiqiyeshenji @@ -1974,10 +1974,10 @@ ideas = { original_tag = BFL } visible = { - not = { has_country_flag = { flag = SOV_black_sea_shipyard_up } } + NOT = { has_country_flag = { flag = SOV_black_sea_shipyard_up } } } available = { - or = { + OR = { has_completed_focus = BFL_jianduishuliang has_completed_focus = BFL_jianduizhiliang has_completed_focus = BFL_junshiqiyeshenji @@ -2039,11 +2039,11 @@ ideas = { } visible = { - not = { has_country_flag = { flag = SOV_sevastopol_marine_plant_up } } + NOT = { has_country_flag = { flag = SOV_sevastopol_marine_plant_up } } } available = { - or = { + OR = { has_completed_focus = BFL_jianduishuliang has_completed_focus = BFL_jianduizhiliang has_completed_focus = BFL_junshiqiyeshenji diff --git a/src/common/ideas/byg_new.txt b/src/common/ideas/byg_new.txt index 579a178..e6ca1d5 100755 --- a/src/common/ideas/byg_new.txt +++ b/src/common/ideas/byg_new.txt @@ -1,7 +1,6 @@ ideas = { - - country = { - BYG_jjwjhyz_1 = { + country = { + BYG_jjwjhyz_1 = { picture = great_depression allowed_civil_war = { always = yes @@ -11,12 +10,12 @@ ideas = { production_speed_buildings_factor = -0.35 industrial_capacity_factory = -0.35 industrial_capacity_dockyard = -0.15 - war_support_factor = -0.20 + war_support_factor = -0.2 ai_join_ally_desire_factor = -3000 ai_get_ally_desire_factor = -3000 } } - BYG_jjwjhyz_2 = { + BYG_jjwjhyz_2 = { picture = great_depression allowed_civil_war = { always = yes @@ -30,8 +29,8 @@ ideas = { ai_join_ally_desire_factor = -2000 ai_get_ally_desire_factor = -2000 } - } - BYG_jjwjhyz_3 = { + } + BYG_jjwjhyz_3 = { picture = great_depression allowed_civil_war = { always = yes @@ -45,7 +44,7 @@ ideas = { ai_get_ally_desire_factor = -1000 } } - BYG_jjwjhyz_4 = { + BYG_jjwjhyz_4 = { picture = great_depression allowed_civil_war = { always = yes @@ -58,38 +57,61 @@ ideas = { ai_get_ally_desire_factor = -500 } } - BYG_wbygerz = { + BYG_wbygerz = { picture = chi_war_of_resistance3 - allowed_civil_war = { always = yes } cancel = { - or = { - if = { - tag = BYG - not = { country_exists = USA } - not = { country_exists = USB } - not = { country_exists = CSA } - } - if = { - tag = USA - not = { country_exists = BYG } - not = { country_exists = USB } - not = { country_exists = CSA } - } - if = { - tag = USB - not = { country_exists = USA } - not = { country_exists = BYG } - not = { country_exists = CSA } - } - if = { - tag = CSA - not = { country_exists = USA } - not = { country_exists = USB } - not = { country_exists = BYG } - } + OR = { + AND = { + tag = BYG + NOT = { + country_exists = USA + } + NOT = { + country_exists = USB + } + NOT = { + country_exists = CSA + } + } + AND = { + tag = USA + NOT = { + country_exists = BYG + } + NOT = { + country_exists = USB + } + NOT = { + country_exists = CSA + } + } + AND = { + tag = USB + NOT = { + country_exists = USA + } + NOT = { + country_exists = BYG + } + NOT = { + country_exists = CSA + } + } + AND = { + tag = CSA + NOT = { + country_exists = USA + } + NOT = { + country_exists = USB + } + NOT = { + country_exists = BYG + } + } } } modifier = { @@ -108,38 +130,61 @@ ideas = { can_join_factions = no } } - BYG_hldneizhan = { + BYG_hldneizhan = { picture = generic_army_problems - allowed_civil_war = { always = yes } cancel = { - or = { - if = { - tag = BYG - not = { country_exists = USA } - not = { country_exists = USB } - not = { country_exists = CSA } - } - if = { - tag = USA - not = { country_exists = BYG } - not = { country_exists = USB } - not = { country_exists = CSA } - } - if = { - tag = USB - not = { country_exists = USA } - not = { country_exists = BYG } - not = { country_exists = CSA } - } - if = { - tag = CSA - not = { country_exists = USA } - not = { country_exists = USB } - not = { country_exists = BYG } - } + OR = { + AND = { + tag = BYG + NOT = { + country_exists = USA + } + NOT = { + country_exists = USB + } + NOT = { + country_exists = CSA + } + } + AND = { + tag = USA + NOT = { + country_exists = BYG + } + NOT = { + country_exists = USB + } + NOT = { + country_exists = CSA + } + } + AND = { + tag = USB + NOT = { + country_exists = USA + } + NOT = { + country_exists = BYG + } + NOT = { + country_exists = CSA + } + } + AND = { + tag = CSA + NOT = { + country_exists = USA + } + NOT = { + country_exists = USB + } + NOT = { + country_exists = BYG + } + } } } modifier = { @@ -151,21 +196,21 @@ ideas = { ai_focus_defense_factor = 2 } } - BYG_djzs = { + BYG_djzs = { picture = generic_foreign_capital allowed_civil_war = { always = yes } modifier = { - political_power_factor = 0.2 + political_power_factor = 0.2 war_support_weekly = 0.001 - trade_laws_cost_factor = -0.33 + trade_laws_cost_factor = -0.33 economy_cost_factor = -0.33 drift_defence_factor = 0.5 production_speed_infrastructure_factor = 0.2 } } - BYG_jszyck = { + BYG_jszyck = { picture = generic_flexible_foreign_policy2 allowed_civil_war = { always = yes @@ -177,8 +222,8 @@ ideas = { research_speed_factor = 0.1 local_resources_factor = 0.1 } - } - BYG_zzydlr = { + } + BYG_zzydlr = { picture = gre_schachtplan2 allowed_civil_war = { always = yes @@ -189,8 +234,8 @@ ideas = { industrial_capacity_factory = 0.05 war_support_factor = -0.25 } - } - BYG_bygdesd = { + } + BYG_bygdesd = { picture = SPR_torchbearers_of_tomorrow allowed_civil_war = { always = yes @@ -204,8 +249,8 @@ ideas = { army_org_factor = 0.15 army_speed_factor = 0.05 } - } - BYG_fenxiangcf = { + } + BYG_fenxiangcf = { picture = EST_democratic_opposition allowed_civil_war = { always = yes @@ -217,67 +262,67 @@ ideas = { industrial_capacity_dockyard = 0.15 war_support_factor = 0.2 } - } - BYG_tankegc = { + } + BYG_tankegc = { picture = generic_license_production allowed_civil_war = { always = yes } equipment_bonus = { - armor = { - build_cost_ic = -0.25 - instant = yes + armor = { + build_cost_ic = -0.25 + instant = yes + } } - } - } - BYG_ljcfsfan = { + } + BYG_ljcfsfan = { picture = generic_goods_red_bonus allowed_civil_war = { always = yes } modifier = { - political_power_factor = 0.2 - consumer_goods_factor = -0.2 - trade_laws_cost_factor = -0.33 - economy_cost_factor = -0.33 + political_power_factor = 0.2 + consumer_goods_factor = -0.2 + trade_laws_cost_factor = -0.33 + economy_cost_factor = -0.33 } - } - BYG_zygonghui = { + } + BYG_zygonghui = { picture = SOV_stakhanovite_movement allowed_civil_war = { always = yes } modifier = { - global_building_slots_factor = 0.1 - industrial_capacity_factory = 0.15 - industrial_capacity_dockyard = 0.15 + global_building_slots_factor = 0.1 + industrial_capacity_factory = 0.15 + industrial_capacity_dockyard = 0.15 } - } - BYG_zzxchuan = { + } + BYG_zzxchuan = { picture = por_iberian_workers_united allowed_civil_war = { always = yes } modifier = { - defensive_war_stability_factor = 0.3 - war_support_factor = 0.3 - war_support_weekly = 0.03 - production_speed_arms_factory_factor = 0.2 + defensive_war_stability_factor = 0.3 + war_support_factor = 0.3 + war_support_weekly = 0.03 + production_speed_arms_factory_factor = 0.2 } - } - BYG_hykxjia = { + } + BYG_hykxjia = { picture = SOV_atomic_bomb_project allowed_civil_war = { always = yes } modifier = { - research_speed_factor = 0.2 - theorist_cost_factor = -0.5 - supply_consumption_factor = -0.2 - no_supply_grace = 144 + research_speed_factor = 0.2 + theorist_cost_factor = -0.5 + supply_consumption_factor = -0.2 + no_supply_grace = 144 } - } - BYG_huobibianzhi = { + } + BYG_huobibianzhi = { picture = ETH_customs_barrier_ITA allowed_civil_war = { always = yes @@ -288,8 +333,8 @@ ideas = { war_support_factor = 0.1 trade_opinion_factor = 0.8 } - } - BYG_shehuibaozhang = { + } + BYG_shehuibaozhang = { picture = ETH_dire_dawa_industries allowed_civil_war = { always = yes @@ -299,7 +344,6 @@ ideas = { stability_factor = 0.2 political_power_factor = 0.15 } - } - } - } \ No newline at end of file + } +} diff --git a/src/common/ideas/chy_NEW.txt b/src/common/ideas/chy_NEW.txt index 6ff7f2b..1fc08c4 100755 --- a/src/common/ideas/chy_NEW.txt +++ b/src/common/ideas/chy_NEW.txt @@ -62,27 +62,27 @@ economy = { xinyangzhidi = { - - icon = GFX_decision_xingdong2 - - recruitable_population_factor = 0.3 - global_building_slots_factor = 0.15 - state_production_speed_buildings_factor = 0.15 - army_speed_factor_for_controller = 0.15 - army_defence_factor = 0.5 - weekly_manpower = 2000 + picture = GFX_decision_xingdong2 + modifier = { + recruitable_population_factor = 0.3 + global_building_slots_factor = 0.15 + state_production_speed_buildings_factor = 0.15 + army_speed_factor_for_controller = 0.15 + army_defence_factor = 0.5 + weekly_manpower = 2000 + } } dead_silence = { - - icon = GFX_decision_xingdong2 - - recruitable_population_factor = -0.9 - state_production_speed_buildings_factor = -0.7 - local_non_core_manpower = -0.8 - compliance_growth = 0.8 - resistance_growth = -0.5 - resistance_target = -0.8 + picture = GFX_decision_xingdong2 + modifier = { + recruitable_population_factor = -0.9 + state_production_speed_buildings_factor = -0.7 + local_non_core_manpower = -0.8 + compliance_growth = 0.8 + resistance_growth = -0.5 + resistance_target = -0.8 + } } CHY_island_hopping8 = { picture = chi_war_of_resistance3 @@ -362,13 +362,13 @@ economy = { destroyer = { max_organisation = -0.1 } - light_cruiser = { + ship_hull_light = { max_organisation = -0.1 } - carrier = { + ship_hull_carrier = { max_organisation = -0.1 } - battleship = { + ship_hull_heavy = { max_organisation = -0.1 } } @@ -554,11 +554,11 @@ economy = { always = yes } cancel = { - or = { + OR = { CHY = { - not = { has_government = communism } + NOT = { has_government = communism } } - not = {country_exists = CHY} + NOT = {country_exists = CHY} } } modifier = { diff --git a/src/common/ideas/enough_advisor.txt b/src/common/ideas/enough_advisor.txt index 3b274b1..8598a8b 100755 --- a/src/common/ideas/enough_advisor.txt +++ b/src/common/ideas/enough_advisor.txt @@ -1,1083 +1,889 @@ ideas = { -country = { - -} - + country = { + } political_advisor = { - nad_shiganjia = { - picture = generic_political_advisor_asia_1 - available = { - } - - allowed = { always = yes } - - traits = { silent_workhorse } + allowed = { + always = yes + } + traits = { + silent_workhorse + } } - nad_tegong = { - picture = generic_political_advisor_asia_2 - available = { - } - allowed = { OR = { - NOT = { original_tag = URG } + NOT = { + original_tag = URG + } } has_dlc = "La Resistance" } - - traits = { head_of_intelligence } + traits = { + head_of_intelligence + } } - nad_terror = { - picture = generic_political_advisor_asia_3 available = { } - available = { - } - - allowed = { always = yes } - - traits = { prince_of_terror } + allowed = { + always = yes + } + traits = { + prince_of_terror + } } - nad_zhanzhengshiyejia = { - picture = generic_political_advisor_europe_6 - available = { - } - - allowed = { always = yes } - - traits = { war_industrialist } + allowed = { + always = yes + } + traits = { + war_industrialist + } } - nad_huaping = { - picture = generic_political_advisor_europe_5 - available = { - } - - allowed = { always = yes } - - traits = { popular_figurehead } + allowed = { + always = yes + } + traits = { + popular_figurehead + } } - nad_gongye = { - - available = { - } - - allowed = { always = yes } - + allowed = { + always = yes + } picture = generic_political_advisor_europe_3 - traits = { captain_of_industry } - + traits = { + captain_of_industry + } ai_will_do = { factor = 1 } - } - + } nad_bunker = { - - available = { - } - - allowed = { always = yes } - + allowed = { + always = yes + } picture = generic_political_advisor_europe_2 - traits = { fortification_engineer } - + traits = { + fortification_engineer + } ai_will_do = { factor = 1 } } - nad_junxu = { - - available = { - } - - allowed = { always = yes } - + allowed = { + always = yes + } picture = generic_political_advisor_europe_1 - traits = { quartermaster_general } - + traits = { + quartermaster_general + } ai_will_do = { factor = 1 } } - - } - + } army_chief = { - nad_jingongqicai = { - picture = generic_army_asia_1 - available = { - } - - allowed = { always = yes } - - traits = { army_chief_offensive_1 } - + allowed = { + always = yes + } + traits = { + army_chief_offensive_1 + } ai_will_do = { factor = 1 } } - nad_zuzhiqicai = { - picture = generic_army_asia_2 - available = { - } - - allowed = { always = yes } - - traits = { army_chief_organizational_1 } - + allowed = { + always = yes + } + traits = { + army_chief_organizational_1 + } ai_will_do = { factor = 1 } } - nad_fangyuqicai = { - picture = generic_army_asia_3 - available = { - } - - allowed = { always = yes } - - traits = { army_chief_defensive_1 } - + allowed = { + always = yes + } + traits = { + army_chief_defensive_1 + } ai_will_do = { factor = 1 } } - nad_yanxiqicai = { - picture = generic_army_asia_4 - available = { - } - - allowed = { always = yes } - - traits = { army_chief_drill_1 } - + allowed = { + always = yes + } + traits = { + army_chief_drill_1 + } ai_will_do = { factor = 1 } - } - + } nad_gaigeqicai = { - picture = generic_army_asia_5 - available = { - } - - allowed = { always = yes } - - traits = { army_chief_reform_1 } - + allowed = { + always = yes + } + traits = { + army_chief_reform_1 + } ai_will_do = { factor = 1 } } - nad_shiqiqicai = { - picture = generic_army_asia_6 - available = { - } - - allowed = { always = yes } - - traits = { army_chief_morale_1 } - + allowed = { + always = yes + } + traits = { + army_chief_morale_1 + } ai_will_do = { factor = 1 } - } - + } nad_jidongqicai = { - picture = generic_political_advisor_europe_3 - available = { - } - - allowed = { always = yes } - - traits = { army_chief_maneuver_1 } - + allowed = { + always = yes + } + traits = { + army_chief_maneuver_1 + } ai_will_do = { factor = 1 } } - } - air_chief = { - nad_air_anquan = { - picture = generic_air_asia_1 - available = { - } - - allowed = { always = yes } - - - - traits = { air_chief_safety_1 } - + allowed = { + always = yes + } + traits = { + air_chief_safety_1 + } ai_will_do = { factor = 0.5 } } - nad_air_gaige = { - picture = generic_air_asia_3 - available = { - } - - allowed = { always = yes } - - traits = { air_chief_reform_1 } - + allowed = { + always = yes + } + traits = { + air_chief_reform_1 + } ai_will_do = { factor = 0.5 } } - nad_air_night = { - picture = generic_political_advisor_europe_4 - available = { - } - - allowed = { always = yes } - - traits = { air_chief_night_operations_1 } - + allowed = { + always = yes + } + traits = { + air_chief_night_operations_1 + } ai_will_do = { factor = 0.5 } } - nad_air_zhiyuan = { - picture = generic_political_advisor_europe_5 - available = { - } - - allowed = { always = yes } - - traits = { air_chief_ground_support_1 } - + allowed = { + always = yes + } + traits = { + air_chief_ground_support_1 + } ai_will_do = { factor = 0.5 } } - - } - navy_chief = { - nad_navy_xiji = { - picture = generic_navy_asia_1 - available = { - } - - allowed = { always = yes } - - traits = { navy_chief_commerce_raiding_1 } - + allowed = { + always = yes + } + traits = { + navy_chief_commerce_raiding_1 + } ai_will_do = { factor = 1 } } - nad_navy_gaige = { - picture = generic_navy_asia_2 - available = { - } - - allowed = { always = yes } - - traits = { navy_chief_reform_1 } - + allowed = { + always = yes + } + traits = { + navy_chief_reform_1 + } ai_will_do = { factor = 0.2 } } - nad_navy_hangkong = { - picture = generic_navy_asia_3 - available = { - } - - allowed = { always = yes } - - traits = { navy_chief_naval_aviation_1 } - + allowed = { + always = yes + } + traits = { + navy_chief_naval_aviation_1 + } ai_will_do = { factor = 0.2 } } - nad_navy_jidong = { - picture = generic_navy_europe_1 - available = { - } - - allowed = { always = yes } - - traits = { navy_chief_maneuver_1 } - + allowed = { + always = yes + } + traits = { + navy_chief_maneuver_1 + } ai_will_do = { factor = 0.2 } } - } - - high_command = { + high_command = { nad_bubingqicai = { - picture = generic_army_asia_6 - available = { - } - - allowed = { always = yes } - - traits = { army_infantry_1 } - + allowed = { + always = yes + } + traits = { + army_infantry_1 + } ai_will_do = { factor = 1 } } - nad_houqinqicai = { - picture = generic_army_asia_5 - available = { - } - - allowed = { always = yes } - - traits = { army_logistics_1 } - + allowed = { + always = yes + } + traits = { + army_logistics_1 + } ai_will_do = { factor = 1 } } - nad_qianhao = { ledger = army - picture = generic_army_asia_4 - available = { - } - - allowed = { always = yes } - - traits = { army_entrenchment_1 } - + allowed = { + always = yes + } + traits = { + army_entrenchment_1 + } ai_will_do = { factor = 1 } } - nad_zhuangjiaqicai = { ledger = army - picture = generic_army_asia_3 - available = { - } - - allowed = { always = yes } - - traits = { army_armored_1 } - + allowed = { + always = yes + } + traits = { + army_armored_1 + } ai_will_do = { factor = 1 } } - nad_zhikongqicai = { ledger = air - picture = generic_army_asia_2 - available = { - } - - allowed = { always = yes } - - traits = { air_air_superiority_1 } - + allowed = { + always = yes + } + traits = { + air_air_superiority_1 + } ai_will_do = { factor = 0.2 } } - nad_pingweiqicai = { ledger = navy - picture = generic_army_asia_1 - available = { - } - - allowed = { always = yes } - - traits = { navy_screen_1 } - + allowed = { + always = yes + } + traits = { + navy_screen_1 + } ai_will_do = { factor = 1 } } - nad_paobingqicai = { ledger = army - picture = generic_navy_europe_1 - available = { - } - - allowed = { always = yes } - - traits = { army_artillery_1 } - + allowed = { + always = yes + } + traits = { + army_artillery_1 + } ai_will_do = { factor = 1 } } - nad_zhuliqicai = { ledger = navy - picture = generic_navy_europe_2 - available = { - } - - allowed = { always = yes } - - traits = { navy_capital_ship_1 } - + allowed = { + always = yes + } + traits = { + navy_capital_ship_1 + } ai_will_do = { factor = 1 } } - nad_hangmuqicai = { ledger = navy - picture = generic_navy_europe_3 - available = { - } - - allowed = { always = yes } - - traits = { navy_carrier_1 } - + allowed = { + always = yes + } + traits = { + navy_carrier_1 + } ai_will_do = { factor = 1 } } - nad_qiantingqicai = { ledger = navy - picture = generic_air_asia_1 - available = { - } - - allowed = { always = yes } - - traits = { navy_submarine_1 } - + allowed = { + always = yes + } + traits = { + navy_submarine_1 + } ai_will_do = { factor = 1 } } - nad_dengluqicai = { ledger = navy - picture = generic_air_asia_2 - available = { - } - - allowed = { always = yes } - - traits = { navy_amphibious_assault_1 } - + allowed = { + always = yes + } + traits = { + navy_amphibious_assault_1 + } ai_will_do = { factor = 1 } - } - + } nad_jianduihouqinqicai = { ledger = navy - picture = generic_air_asia_3 - available = { - } - - allowed = { always = yes } - - traits = { navy_fleet_logistics_1 } - + allowed = { + always = yes + } + traits = { + navy_fleet_logistics_1 + } ai_will_do = { factor = 1 } } - nad_haijunduikongqicai = { ledger = navy - picture = generic_political_advisor_asia_1 - available = { - } - - allowed = { always = yes } - - traits = { navy_naval_air_defense_1 } - + allowed = { + always = yes + } + traits = { + navy_naval_air_defense_1 + } ai_will_do = { factor = 1 } } - nad_fanqianqicai = { ledger = navy - picture = generic_political_advisor_asia_2 - available = { - } - - allowed = { always = yes } - - traits = { navy_anti_submarine_1 } - + allowed = { + always = yes + } + traits = { + navy_anti_submarine_1 + } ai_will_do = { factor = 1 } } - nad_tezhongqicai = { ledger = army - picture = generic_political_advisor_asia_3 - available = { - } - - allowed = { always = yes } - - traits = { army_commando_1 } - + allowed = { + always = yes + } + traits = { + army_commando_1 + } ai_will_do = { factor = 1 } } - nad_qibingqicai = { ledger = army - picture = generic_political_advisor_europe_3 - available = { - } - - allowed = { always = yes } - - traits = { army_cavalry_1 } - + allowed = { + always = yes + } + traits = { + army_cavalry_1 + } ai_will_do = { factor = 1 } } - nad_chongzuqicai = { ledger = army - picture = generic_political_advisor_europe_5 - available = { - } - - allowed = { always = yes } - - traits = { army_regrouping_1 } - + allowed = { + always = yes + } + traits = { + army_regrouping_1 + } ai_will_do = { factor = 1 } - } - + } nad_yinniqicai = { ledger = army - picture = generic_political_advisor_europe_6 - available = { - } - - allowed = { always = yes } - - traits = { army_concealment_1 } - + allowed = { + always = yes + } + traits = { + army_concealment_1 + } ai_will_do = { factor = 1 } } - nad_haihongqicai = { ledger = air - picture = generic_army_asia_1 - available = { - } - - allowed = { always = yes } - - traits = { air_naval_strike_1 } - + allowed = { + always = yes + } + traits = { + air_naval_strike_1 + } ai_will_do = { factor = 1 } } - nad_lanjieqicai = { ledger = air - picture = generic_army_asia_2 - available = { - } - - allowed = { always = yes } - - traits = { air_bomber_interception_1 } - + allowed = { + always = yes + } + traits = { + air_bomber_interception_1 + } ai_will_do = { factor = 1 } } - nad_mijiezhiyuanqicai = { ledger = air - picture = generic_army_asia_3 - available = { - } - - allowed = { always = yes } - - traits = { air_close_air_support_1 } - + allowed = { + always = yes + } + traits = { + air_close_air_support_1 + } ai_will_do = { factor = 1 } } - nad_zhanluehongzhaqicai = { ledger = air - picture = generic_army_asia_4 - available = { - } - - allowed = { always = yes } - - traits = { air_strategic_bombing_1 } - + allowed = { + always = yes + } + traits = { + air_strategic_bombing_1 + } ai_will_do = { factor = 1 } } - nad_zhanshuhongzhaqicai = { ledger = air - picture = generic_army_asia_5 - available = { - } - - allowed = { always = yes } - - traits = { air_tactical_bombing_1 } - + allowed = { + always = yes + } + traits = { + air_tactical_bombing_1 + } ai_will_do = { factor = 1 } } - nad_sanjiangqicai = { ledger = air - picture = generic_army_asia_2 - available = { - } - - allowed = { always = yes } - - traits = { air_airborne_1 } - + allowed = { + always = yes + } + traits = { + air_airborne_1 + } ai_will_do = { factor = 1 } } - } - - # TECHNOLOGY - - - tank_manufacturer = { - + tank_manufacturer = { designer = yes - - nad_qingtan = { - + nad_qingtan = { picture = generic_industrial_concern_1 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { } - - research_bonus = { armor = 0.15 } - - traits = { fast_tank_manufacturer } - - - modifier = { - + traits = { + fast_tank_manufacturer } - } - + modifier = { + } + } nad_zhongtan = { - picture = generic_industrial_concern_1 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { } - - research_bonus = { armor = 0.15 } - - traits = { medium_tank_manufacturer } - - + traits = { + medium_tank_manufacturer + } modifier = { - } } - nad_heavytan = { - picture = generic_industrial_concern_1 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { } - - research_bonus = { armor = 0.15 } - - traits = { heavy_tank_manufacturer } - - + traits = { + heavy_tank_manufacturer + } modifier = { - } } - } - aircraft_manufacturer = { - - designer = yes - - } - - + aircraft_manufacturer = { + designer = yes + } theorist = { - nad_youshihuoli = { + nad_youshihuoli = { ledger = army - picture = generic_army_asia_1 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { + } + traits = { + superior_firepower_expert } - - - - - traits = { superior_firepower_expert } } - nad_jidongzuozhan = { ledger = army - picture = generic_army_asia_2 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { + } + traits = { + mobile_warfare_expert } - - - - - traits = { mobile_warfare_expert } } - nad_juezhanjihua = { ledger = army - picture = generic_army_asia_3 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { + } + traits = { + grand_battle_plan_expert } - - - - - traits = { grand_battle_plan_expert } } - nad_renhaizuozhan = { ledger = army - picture = generic_army_asia_4 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { + } + traits = { + mass_assault_expert } - - - - - traits = { mass_assault_expert } } - nad_fuchonghongzhashou = { ledger = air - picture = generic_army_asia_5 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { + } + traits = { + dive_bomber } - - traits = { dive_bomber } } - nad_kongzhongzhisheng = { ledger = air - picture = generic_army_asia_6 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { + } + traits = { + victory_through_airpower } - - - - traits = { victory_through_airpower } } - nad_qiantingzhuanjia = { ledger = air - picture = generic_political_advisor_europe_1 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { + } + traits = { + submarine_specialist } - - traits = { submarine_specialist } } - nad_dajiandui = { ledger = air - picture = generic_political_advisor_europe_2 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { + } + traits = { + grand_fleet_proponent } - - traits = { grand_fleet_proponent } } - } - - - naval_manufacturer = { - nad_taipingyang = { - + nad_taipingyang = { picture = generic_naval_manufacturer_1 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { } - research_bonus = { naval_equipment = 0.15 } - - traits = { pacific_fleet_naval_manufacturer } - + traits = { + pacific_fleet_naval_manufacturer + } modifier = { } } nad_daxiyang = { - picture = generic_naval_manufacturer_1 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { } - research_bonus = { naval_equipment = 0.15 } - - traits = { atlantic_fleet_naval_manufacturer } - + traits = { + atlantic_fleet_naval_manufacturer + } modifier = { } } nad_xijijian = { - picture = generic_naval_manufacturer_1 - allowed = { always = yes } - available = { - + allowed = { + always = yes + } + available = { } - research_bonus = { naval_equipment = 0.15 } - - traits = { raiding_fleet_naval_manufacturer } - + traits = { + raiding_fleet_naval_manufacturer + } modifier = { } } -} + } } diff --git a/src/common/ideas/fazhanfangzhen.txt b/src/common/ideas/fazhanfangzhen.txt index 09ddfe5..bcef33c 100755 --- a/src/common/ideas/fazhanfangzhen.txt +++ b/src/common/ideas/fazhanfangzhen.txt @@ -249,7 +249,7 @@ ideas = { modifier = { factor = 300 - not = { + NOT = { OR = { tag = BYG tag = CHY @@ -284,14 +284,14 @@ ideas = { modifier = { factor = 300 OR = { - not = { tag = BYG } - not = { tag = DOH } - not = { tag = HUJ } - not = { tag = SAD } - not = { tag = TIX } - not = { tag = BFL } - not = { tag = YUW } - not = { tag = CHY } + NOT = { tag = BYG } + NOT = { tag = DOH } + NOT = { tag = HUJ } + NOT = { tag = SAD } + NOT = { tag = TIX } + NOT = { tag = BFL } + NOT = { tag = YUW } + NOT = { tag = CHY } } } @@ -333,7 +333,7 @@ ideas = { modifier = { factor = 300 - not = { + NOT = { OR = { tag = BYG tag = DOH diff --git a/src/common/ideas/huj.txt b/src/common/ideas/huj.txt index 395d44d..5986710 100755 --- a/src/common/ideas/huj.txt +++ b/src/common/ideas/huj.txt @@ -562,7 +562,7 @@ ideas = { reliability = 0.1 instant = yes } - modern_tank_equipment = { + modern_tank_chassis = { build_cost_ic = -0.15 reliability = 0.1 instant = yes diff --git a/src/common/ideas/sad.txt b/src/common/ideas/sad.txt index a3b39af..8267839 100755 --- a/src/common/ideas/sad.txt +++ b/src/common/ideas/sad.txt @@ -563,7 +563,7 @@ ideas = { armor_value = 0.15 instant = yes } - modern_tank_equipment = { + modern_tank_chassis = { soft_attack = 0.1 hard_attack = 0.1 ap_attack = 0.1 @@ -742,7 +742,7 @@ ideas = { picture = ITA_brescia_arsenal visible = { - not = { has_country_flag = SAD_brescia_arsenal_up } + NOT = { has_country_flag = SAD_brescia_arsenal_up } } allowed = { @@ -1007,7 +1007,7 @@ ideas = { picture = ITA_ferrovie_dello_stato_italiane visible = { - not = { has_country_flag = SAD_ferrovie_dello_stato_italiane_up } + NOT = { has_country_flag = SAD_ferrovie_dello_stato_italiane_up } } allowed = { @@ -1068,7 +1068,7 @@ ideas = { } visible = { - not = { has_country_flag = SAD_danieli_up } + NOT = { has_country_flag = SAD_danieli_up } } research_bonus = { @@ -1109,7 +1109,7 @@ ideas = { } visible = { - not = { has_country_flag = SAD_danieli_up } + NOT = { has_country_flag = SAD_danieli_up } } research_bonus = { diff --git a/src/common/ideas/sir.txt b/src/common/ideas/sir.txt index e88b389..4ddee58 100755 --- a/src/common/ideas/sir.txt +++ b/src/common/ideas/sir.txt @@ -676,23 +676,23 @@ ideas = { } industrial_concern = { - SIR_zuozhanshiyanshi = { - allowed = { - always = yes - } - visible = { - has_government = siren - } - traits = { trait_zuozhanshiyanshi } - research_bonus = { - electronics = 0.05 - nuclear = 0.1 - rocketry = 0.1 - } - ai_will_do = { - factor = 10 - } - } + # SIR_zuozhanshiyanshi = { + # allowed = { + # always = yes + # } + # visible = { + # has_government = siren + # } + # traits = { trait_zuozhanshiyanshi } + # research_bonus = { + # electronics = 0.05 + # nuclear = 0.1 + # rocketry = 0.1 + # } + # ai_will_do = { + # factor = 10 + # } + # } } diff --git a/src/common/ideas/tianjiang.txt b/src/common/ideas/tianjiang.txt index e94c628..ea0f916 100755 --- a/src/common/ideas/tianjiang.txt +++ b/src/common/ideas/tianjiang.txt @@ -7,7 +7,7 @@ ideas = { always = yes } cancel = { - not = { has_war_with = TIX } + NOT = { has_war_with = TIX } } modifier = { army_strength_factor = 0.2 @@ -450,9 +450,6 @@ ideas = { picture = generic_air_payment equipment_bonus = { - fighter_equipment = { - build_cost_ic = -0.15 instant = yes - } small_plane_airframe = { build_cost_ic = -0.15 instant = yes } @@ -468,16 +465,16 @@ ideas = { instant = yes build_cost_ic = 0.1 instant = yes } - CAS_equipment = { + cas = { build_cost_ic = 0.1 instant = yes } - tac_bomber_equipment = { + tactical_bomber = { + build_cost_ic = 0.1 instant = yes + } + strategic_bomber = { build_cost_ic = 0.1 instant = yes } - strat_bomber_equipment = { - build_cost_ic = 0.1 instant = yes - } - nav_bomber_equipment = { + naval_bomber = { build_cost_ic = 0.1 instant = yes } } @@ -498,10 +495,10 @@ ideas = { removal_cost = -1 equipment_bonus = { - fighter_equipment = { + fighter = { build_cost_ic = -0.2 instant = yes } - CAS_equipment = { + cas = { build_cost_ic = -0.1 instant = yes } small_plane_airframe = { @@ -654,7 +651,7 @@ ideas = { always = yes } cancel = { - or = { + OR = { has_war_with = TIX has_war_with = HUJ } @@ -672,7 +669,7 @@ ideas = { always = yes } cancel = { - not = { is_subject_of = TIX } + NOT = { is_subject_of = TIX } } modifier = { army_core_attack_factor = 0.2 @@ -688,7 +685,7 @@ ideas = { always = yes } cancel = { - not = { + NOT = { has_country_leader = { name = "霞飞" ruling_only = yes @@ -771,7 +768,7 @@ ideas = { always = yes } cancel = { - not = { has_war_with = ETH } + NOT = { has_war_with = ETH } } modifier = { attrition = -0.2 @@ -1166,11 +1163,11 @@ ideas = { always = yes } cancel = { - or = { + OR = { DOH = { is_in_faction_with = CHY } - not = { country_exists = DOH } + NOT = { country_exists = DOH } } } modifier = { @@ -1725,10 +1722,10 @@ ideas = { defense_bonus_against = 0.6 } equipment_bonus = { - fighter_equipment = { + fighter = { build_cost_ic = -0.25 instant = yes } - CAS_equipment = { + cas = { build_cost_ic = -0.2 instant = yes } small_plane_airframe = { @@ -2018,7 +2015,7 @@ ideas = { always = yes } cancel = { - or = { + OR = { NOT = { has_government = fascism } @@ -2047,7 +2044,7 @@ ideas = { always = yes } cancel = { - not = { has_war_with = TIX } + NOT = { has_war_with = TIX } controls_state = 16 } modifier = { @@ -2078,7 +2075,7 @@ ideas = { always = yes } cancel = { - not = { has_war_with = BFL } + NOT = { has_war_with = BFL } } modifier = { supply_consumption_factor = 0.2 @@ -2093,7 +2090,7 @@ ideas = { always = yes } cancel = { - not = { has_war_with = BFL } + NOT = { has_war_with = BFL } } modifier = { resistance_target = 0.1 @@ -2132,7 +2129,7 @@ ideas = { always = yes } cancel = { - not = { has_government = fascism } + NOT = { has_government = fascism } } modifier = { army_attack_factor = -0.25 @@ -2149,7 +2146,7 @@ ideas = { always = yes } cancel = { - not = { + NOT = { has_country_leader = { name = "维内托" ruling_only = yes @@ -2173,7 +2170,7 @@ ideas = { always = yes } cancel = { - not = { + NOT = { has_country_leader = { name = "维内托" ruling_only = yes @@ -2194,7 +2191,7 @@ ideas = { always = yes } cancel = { - not = { + NOT = { has_country_leader = { name = "维内托" ruling_only = yes diff --git a/src/common/ideas/yuw.txt b/src/common/ideas/yuw.txt index e4cfe98..8911f52 100755 --- a/src/common/ideas/yuw.txt +++ b/src/common/ideas/yuw.txt @@ -198,7 +198,7 @@ ideas = { YUW_gnjh = { picture = generic_production_bonus allowed_civil_war = { - has_ideology_group = communism + has_government = communism } modifier = { global_building_slots_factor = 0.1 @@ -210,7 +210,7 @@ ideas = { YUW_grzx = { picture = generic_production_bonus allowed_civil_war = { - always = communism + has_government = communism } modifier = { production_speed_buildings_factor = 0.1 @@ -232,7 +232,7 @@ ideas = { YUW_rmwd = { picture = generic_communist_army allowed_civil_war = { - always = communism + has_government = communism } modifier = { army_infantry_attack_factor = 0.15 diff --git a/src/common/military_industrial_organization/organizations/SAD_organization.txt b/src/common/military_industrial_organization/organizations/SAD_organization.txt index 075a77a..1238be5 100755 --- a/src/common/military_industrial_organization/organizations/SAD_organization.txt +++ b/src/common/military_industrial_organization/organizations/SAD_organization.txt @@ -26,7 +26,7 @@ SAD_fiat_organization = { position = { x=9 y=0 } available = { - or = { + OR = { FROM = { has_completed_focus = SAD_changshizizhuyanfa } FROM = { is_ai = yes } } diff --git a/src/common/military_industrial_organization/organizations/TIX_organization.txt b/src/common/military_industrial_organization/organizations/TIX_organization.txt index 1f23d1d..487d124 100755 --- a/src/common/military_industrial_organization/organizations/TIX_organization.txt +++ b/src/common/military_industrial_organization/organizations/TIX_organization.txt @@ -112,7 +112,7 @@ TIX_henschel_organization = { available = { #Two FROM blocs to provide two different check marks in the UI FROM = { - or = { + OR = { has_completed_focus = TIX_sairenjiehe has_completed_focus = TIX_wanquansairen } diff --git a/src/common/military_industrial_organization/organizations/XGE_organization.txt b/src/common/military_industrial_organization/organizations/XGE_organization.txt index fde7d07..2b0defe 100755 --- a/src/common/military_industrial_organization/organizations/XGE_organization.txt +++ b/src/common/military_industrial_organization/organizations/XGE_organization.txt @@ -1,7 +1,7 @@ ### TANK HSF_ger = { include = HSF_tank_organization - icon = GFX_idea_HSF_zongdui + icon = GFX_idea_GER_adler allowed = { tag = XGE } diff --git a/src/common/national_focus/XGE(Xier Germany).txt b/src/common/national_focus/XGE(Xier Germany).txt index f46939c..80ba29b 100755 --- a/src/common/national_focus/XGE(Xier Germany).txt +++ b/src/common/national_focus/XGE(Xier Germany).txt @@ -340,19 +340,19 @@ focus_tree = { } available = { is_subject = no - or = { + OR = { controls_state = 16 any_allied_country = { controls_state = 16 } } - or = { + OR = { controls_state = 219 any_allied_country = { controls_state = 219 } } - or = { + OR = { controls_state = 126 any_allied_country = { controls_state = 126 @@ -365,8 +365,8 @@ focus_tree = { completion_reward = { every_country = { limit = { - not = { - or = { + NOT = { + OR = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT diff --git a/src/common/national_focus/beifanglianhe.txt b/src/common/national_focus/beifanglianhe.txt index a2c74d1..e05eca5 100755 --- a/src/common/national_focus/beifanglianhe.txt +++ b/src/common/national_focus/beifanglianhe.txt @@ -211,7 +211,7 @@ y = 1 cost = 7 available = { - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } } ai_will_do = { factor = 10 @@ -339,7 +339,7 @@ prerequisite = { focus = BFL_mingongjianshe } relative_position_id = BFL_mingongjianshe available = { - or = { + OR = { has_completed_focus = BFL_yubilanhangxianhezuo has_completed_focus = BFL_6 } @@ -652,7 +652,7 @@ factor = 11 } available = { - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } has_war = yes has_war_support > 1.8 } @@ -876,7 +876,7 @@ ai_will_do = { factor = 20 modifier = { - or = { + OR = { date > 1940.10.1 has_completed_focus = BFL_zhengfuafuhan } @@ -907,7 +907,7 @@ ai_will_do = { factor = 20 modifier = { - or = { + OR = { date > 1940.10.1 has_completed_focus = BFL_zhengfuafuhan } @@ -940,7 +940,7 @@ ai_will_do = { factor = 20 modifier = { - or = { + OR = { date > 1940.10.1 has_completed_focus = BFL_zhengfuafuhan } @@ -1003,7 +1003,7 @@ ai_will_do = { factor = 50 modifier = { - or = { + OR = { has_war_with = TIX has_war_with = CHY } @@ -1120,7 +1120,7 @@ x = 1 y = 1 available = { - or = { + OR = { has_tech = improved_medium_tank_chassis is_ai = yes } @@ -1148,7 +1148,7 @@ x = 0 y = 1 available = { - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } OR = { num_of_military_factories > 150 hidden_trigger = { @@ -1161,7 +1161,7 @@ ai_will_do = { factor = 20 modifier = { - or = { + OR = { has_war_with = TIX has_war_with = CHY } @@ -1351,9 +1351,8 @@ capital_scope = { create_unit = { - division = "name = \"北联装甲师\" division_template = \"北联装甲师\" start_experience_factor = 0.3 start_equipment_factor = 1" + division = "name = \"北联装甲师\" division_template = \"北联装甲师\" start_experience_factor = 0.3 start_equipment_factor = 1 force_equipment_variants = { light_tank_chassis_2 = { owner = \"BFL\" version_name = \"T-34\" } }" owner = ROOT - force_equipment_variants = { light_tank_chassis_2 = { owner = "BFL" version_name = "T-34" } } } } } @@ -1373,12 +1372,12 @@ cost = 8 available = { - not = { has_country_flag = BFL_zzpianzhidu_on } - or = { + NOT = { has_country_flag = BFL_zzpianzhidu_on } + OR = { has_idea = BFL_zhengzhihuajundui3 has_idea = BFL_zhengzhihuajundui2 } - not = { has_completed_focus = BFL_yubilanhangxianhezuo } + NOT = { has_completed_focus = BFL_yubilanhangxianhezuo } } ai_will_do = { factor = 20 @@ -1477,7 +1476,7 @@ cost = 7 available = { - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } } ai_will_do = { factor = 5 @@ -1528,7 +1527,7 @@ cost = 7 available = { - or = { + OR = { is_ai = yes has_navy_experience > 499 } @@ -1570,7 +1569,7 @@ x = -1 y = 1 available = { - or = { + OR = { is_ai = yes has_navy_experience > 999 } @@ -1621,7 +1620,7 @@ cost = 7 available = { - or = { + OR = { is_ai = yes has_navy_experience > 499 } @@ -1655,7 +1654,7 @@ cost = 7 available = { - or = { + OR = { is_ai = yes has_navy_experience > 999 } @@ -2315,7 +2314,7 @@ } cost = 5 available = { - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } threat > 0.4 } ai_will_do = { @@ -2344,7 +2343,7 @@ ai_will_do = { factor = 10 modifier = { - or = { + OR = { CHY = {has_war_with = DOH} CHY = {has_war_with = BYG} } @@ -2397,16 +2396,16 @@ relative_position_id = BFL_zhuzhouweinue cost = 5 available = { - or = { - not = {country_exists = TIX} + OR = { + NOT = {country_exists = TIX} TIX = { - or = { + OR = { has_government = communism has_government = democratic } } } - or = { + OR = { CHY = {has_war_with = DOH} CHY = {has_war_with = BYG} } @@ -2416,7 +2415,7 @@ factor = 0 modifier = { date > 1942.6.1 - not = { has_war_with = TIX } + NOT = { has_war_with = TIX } add = 50 } } @@ -2439,7 +2438,7 @@ } cost = 5 available = { - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } threat > 0.3 } ai_will_do = { @@ -2641,7 +2640,7 @@ country_exists = SWE } bypass = { - or = { + OR = { SWE = {is_in_faction_with = TIX} SWE = {is_in_faction_with = HUJ} has_war_with = SWE @@ -2665,10 +2664,10 @@ create_wargoal = { target = SWE type = take_state_focus } if = { limit = { - or = { - not = {SWE = {is_in_faction_with = TIX}} - not = { is_in_faction_with = TIX } - not = { has_war_with = TIX } + OR = { + NOT = {SWE = {is_in_faction_with = TIX}} + NOT = { is_in_faction_with = TIX } + NOT = { has_war_with = TIX } } } TIX = { @@ -2700,9 +2699,9 @@ POL = {has_capitulated = no} } bypass = { - or = { + OR = { POL = {has_capitulated = yes} - not = {country_exists = POL} + NOT = {country_exists = POL} } } ai_will_do = { @@ -2738,9 +2737,9 @@ country_exists = TUR } bypass = { - or = { + OR = { has_war_with = TUR - not = {country_exists = TUR} + NOT = {country_exists = TUR} } } ai_will_do = { @@ -2762,9 +2761,9 @@ create_wargoal = { target = TUR type = take_state_focus } if = { limit = { - or = { - not = { is_in_faction_with = TIX } - not = { has_war_with = TIX } + OR = { + NOT = { is_in_faction_with = TIX } + NOT = { has_war_with = TIX } } } TIX = { @@ -2788,30 +2787,30 @@ will_lead_to_war_with = HUJ mutually_exclusive = {focus = BFL_xianfazhiren} available = { - not = {has_completed_focus = BFL_yubilanhangxianhezuo} - not = {has_completed_focus = BFL_6} - not = { has_global_flag = yaertahuiyi_chenggong } - or = { + NOT = {has_completed_focus = BFL_yubilanhangxianhezuo} + NOT = {has_completed_focus = BFL_6} + NOT = { has_global_flag = yaertahuiyi_chenggong } + OR = { date > 1943.3.1 - not = {country_exists = TIX} + NOT = {country_exists = TIX} } has_army_manpower = { size > 2000000 } } bypass = { - or = { + OR = { has_war_with = HUJ - not = {country_exists = HUJ} + NOT = {country_exists = HUJ} } } ai_will_do = { factor = 0 modifier = { - not = {has_war_with = TIX} - not = {has_war_with = CHY} - not = {has_war_with = SAD} - or = { + NOT = {has_war_with = TIX} + NOT = {has_war_with = CHY} + NOT = {has_war_with = SAD} + OR = { date > 1944.3.1 has_war_with = HUJ } @@ -2843,18 +2842,18 @@ } } bypass = { - or = { + OR = { has_war_with = TIX - not = {country_exists = TIX} + NOT = {country_exists = TIX} } } search_filters = { FOCUS_FILTER_HISTORICAL } ai_will_do = { factor = 0 modifier = { - or = { + OR = { is_historical_focus_on = yes - not = {has_war_with = CHY} + NOT = {has_war_with = CHY} date > 1943.9.1 } add = 20 @@ -2879,8 +2878,8 @@ has_global_flag = MOD_azurlane_tianjiangjianniang } available = { - not = { has_country_flag = BFL_zzpianzhidu_on } - or = { + NOT = { has_country_flag = BFL_zzpianzhidu_on } + OR = { threat > 0.3 has_army_manpower = { size > 1500000 @@ -3405,7 +3404,7 @@ add_to_faction = DOH } } - else_if = { + else = { set_global_flag = BFL_created_gongchanlianmeng create_faction = "共产联盟" } @@ -3494,7 +3493,7 @@ relative_position_id = BFL_kongjunjianshe cost = 10 available = { - or = { + OR = { is_ai = yes has_air_experience > 299 } @@ -3531,7 +3530,7 @@ } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { has_dlc = "By Blood Alone" } } add_tech_bonus = { name = "对地支援" @@ -3560,8 +3559,8 @@ relative_position_id = BFL_cezhongduidizhiyuan cost = 10 available = { - not = { has_country_flag = BFL_zzpianzhidu_on } - or = { + NOT = { has_country_flag = BFL_zzpianzhidu_on } + OR = { is_ai = yes has_air_experience > 499 } @@ -3608,19 +3607,19 @@ relative_position_id = BFL_12 mutually_exclusive = { focus = BFL_12 } available = { - not = { has_completed_focus = BFL_kongjunjianshe } - not = { has_completed_focus = BFL_lujunjianshe } - not = { has_completed_focus = BFL_wanchengdiergewunianjihua } - not = { has_completed_focus = BFL_zhongshihaijun } - not = { has_completed_focus = BFL_12 } + NOT = { has_completed_focus = BFL_kongjunjianshe } + NOT = { has_completed_focus = BFL_lujunjianshe } + NOT = { has_completed_focus = BFL_wanchengdiergewunianjihua } + NOT = { has_completed_focus = BFL_zhongshihaijun } + NOT = { has_completed_focus = BFL_12 } } allow_branch = { not = { has_completed_focus = BFL_kongjunjianshe } - not = { has_completed_focus = BFL_lujunjianshe } - not = { has_completed_focus = BFL_wanchengdiergewunianjihua } - not = { has_completed_focus = BFL_zhongshihaijun } - not = { has_completed_focus = BFL_12 } + NOT = { has_completed_focus = BFL_lujunjianshe } + NOT = { has_completed_focus = BFL_wanchengdiergewunianjihua } + NOT = { has_completed_focus = BFL_zhongshihaijun } + NOT = { has_completed_focus = BFL_12 } } cost = 1 @@ -3656,7 +3655,7 @@ has_global_flag = MOD_azurlane_tianjiangjianniang } available = { - or = { + OR = { has_completed_focus = BFL_24 has_completed_focus = BFL_42 has_completed_focus = BFL_60 @@ -3680,7 +3679,7 @@ add_to_faction = DOH } } - else_if = { + else = { set_global_flag = BFL_created_gongchanlianmeng create_faction = "共产联盟" } @@ -3702,7 +3701,7 @@ has_global_flag = MOD_azurlane_tianjiangjianniang } available = { - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } } ai_will_do = { factor = 3 @@ -3789,9 +3788,9 @@ } available = { - not = { has_completed_focus = BFL_14 } + NOT = { has_completed_focus = BFL_14 } has_government = communism - not = { has_war_with = HUJ } + NOT = { has_war_with = HUJ } HUJ = { is_faction_leader = yes } @@ -3917,7 +3916,7 @@ has_global_flag = MOD_azurlane_tianjiangjianniang } available = { - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } } ai_will_do = { factor = 100 @@ -3949,12 +3948,12 @@ has_global_flag = MOD_azurlane_tianjiangjianniang } available = { - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } } ai_will_do = { factor = 2 modifier = { - not = { TIX = { has_government = fascism } } + NOT = { TIX = { has_government = fascism } } factor = 100 } } @@ -3994,24 +3993,24 @@ is_faction_leader = yes has_war = no has_global_flag = yaertahuiyi_chenggong - or = { + OR = { TIX = { - or = { + OR = { is_subject = yes exists = no } } } CHY = { - not = { has_government = fascism } + NOT = { has_government = fascism } } SAD = { OR = { - not = { has_government = fascism } + NOT = { has_government = fascism } exists = no } } - not = { country_exists = WEX } + NOT = { country_exists = WEX } BYG = { is_subject = no has_government = democratic @@ -4377,7 +4376,7 @@ } available = { has_country_flag = BFL_zzpianzhidu_on - not = { has_idea = BFL_dasaochudeyingxing } + NOT = { has_idea = BFL_dasaochudeyingxing } custom_trigger_tooltip = { tooltip = BFL_pianzhidudiyu25 check_variable = { @@ -4474,7 +4473,7 @@ has_global_flag = MOD_azurlane_tianjiangjianniang } available = { - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } } ai_will_do = { factor = 100 @@ -4505,7 +4504,7 @@ } available = { has_country_flag = BFL_zzpianzhidu_on - not = { has_idea = BFL_dasaochudeyingxing } + NOT = { has_idea = BFL_dasaochudeyingxing } custom_trigger_tooltip = { tooltip = BFL_pianzhidudiyu19 check_variable = { @@ -4539,7 +4538,7 @@ has_global_flag = MOD_azurlane_tianjiangjianniang } available = { - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } } ai_will_do = { factor = 100 @@ -4808,7 +4807,7 @@ } if = { limit = { - or = { + OR = { is_ai = yes check_variable = { var = az_pianzhidu @@ -4838,7 +4837,7 @@ character = BFL_beilaluosi ruling_only = yes } - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } } ai_will_do = { factor = 100 @@ -4868,7 +4867,7 @@ character = BFL_beilaluosi ruling_only = yes } - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } } ai_will_do = { factor = 100 @@ -4899,7 +4898,7 @@ character = BFL_beilaluosi ruling_only = yes } - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } } ai_will_do = { factor = 100 @@ -4930,7 +4929,7 @@ character = BFL_beilaluosi ruling_only = yes } - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } } ai_will_do = { factor = 100 @@ -4959,7 +4958,7 @@ character = BFL_beilaluosi ruling_only = yes } - not = { has_country_flag = BFL_zzpianzhidu_on } + NOT = { has_country_flag = BFL_zzpianzhidu_on } } ai_will_do = { factor = 100 @@ -5143,8 +5142,8 @@ set_war_support = 2 if = { limit = { - or = { - not = { is_in_faction_with = TIX } + OR = { + NOT = { is_in_faction_with = TIX } TIX = { not = { has_government = communism } } } } @@ -5152,8 +5151,8 @@ } if = { limit = { - or = { - not = { is_in_faction_with = SAD } + OR = { + NOT = { is_in_faction_with = SAD } SAD = { not = { has_government = communism } } } } @@ -5161,8 +5160,8 @@ } if = { limit = { - or = { - not = { is_in_faction_with = CHY } + OR = { + NOT = { is_in_faction_with = CHY } CHY = { not = { has_government = communism } } } } @@ -5170,8 +5169,8 @@ } if = { limit = { - or = { - not = { is_in_faction_with = YUW } + OR = { + NOT = { is_in_faction_with = YUW } YUW = { not = { has_government = communism } } } } @@ -5179,8 +5178,8 @@ } if = { limit = { - or = { - not = { is_in_faction_with = BYG } + OR = { + NOT = { is_in_faction_with = BYG } BYG = { not = { has_government = communism } } } } @@ -5188,8 +5187,8 @@ } if = { limit = { - or = { - not = { is_in_faction_with = HUJ } + OR = { + NOT = { is_in_faction_with = HUJ } HUJ = { not = { has_government = communism } } } } @@ -5197,8 +5196,8 @@ } if = { limit = { - or = { - not = { is_in_faction_with = DOH } + OR = { + NOT = { is_in_faction_with = DOH } DOH = { not = { has_government = communism } } } } @@ -5758,7 +5757,7 @@ } has_war_with = TIX is_faction_leader = yes - or = { + OR = { HUJ = { is_faction_leader = yes has_war_with = TIX diff --git a/src/common/national_focus/bfl_apocrypha.txt b/src/common/national_focus/bfl_apocrypha.txt index 20077c4..173e6e5 100755 --- a/src/common/national_focus/bfl_apocrypha.txt +++ b/src/common/national_focus/bfl_apocrypha.txt @@ -5,33 +5,33 @@ focus_tree = { shared_focus = AL_junshi country = { factor = 0 - modifier = { original_tag = BFL - not = { has_government = communism } + NOT = { + has_government = communism + } add = 10 } } - - continuous_focus_position = { x = 700 y = 3000 } - + continuous_focus_position = { + x = 700 + y = 3000 + } default = no - focus = { + focus = { id = BFL_qiyonggaigepai icon = GFX_goal_support_democracy x = 20 y = 0 cost = 5 - ai_will_do = { factor = 11 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 custom_effect_tooltip = BFL_xiangyouzhuan_tooltip - add_country_leader_role = { + add_country_leader_role = { Character = BFL_aerhangeersike Promote_leader = yes Country_leader = { @@ -42,190 +42,211 @@ focus_tree = { } } } - set_party_name = { + set_party_name = { ideology = fascism long_name = "北联团结党" - name = "北联团结党" + name = "北联团结党" } } } - focus = { + focus = { id = BFL_jiejuejunzhongzuopai icon = GFX_goal_generic_political_pressure x = 0 y = 1 - prerequisite = { focus = BFL_qiyonggaigepai } + prerequisite = { + focus = BFL_qiyonggaigepai + } relative_position_id = BFL_qiyonggaigepai cost = 5 - ai_will_do = { factor = 11 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = BFL_jiejuejunzhongzuopai_tooltip - add_timed_idea = { idea = BFL_junduihunluan days = 365 } + add_timed_idea = { + idea = BFL_junduihunluan + days = 365 + } } } - focus = { + focus = { id = BFL_wuhaishenxianghua icon = GFX_focus_luoxiya2 x = 0 y = 1 - prerequisite = { focus = BFL_jiejuejunzhongzuopai } + prerequisite = { + focus = BFL_jiejuejunzhongzuopai + } relative_position_id = BFL_jiejuejunzhongzuopai cost = 5 - ai_will_do = { factor = 11 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BFL_wuhaideshenxiang custom_effect_tooltip = BFL_wuhaishenxianghua_tooltip } } - focus = { + focus = { id = BFL_kelimulinshibian icon = GFX_focus_SOV_rebuild_the_savior_cathedral x = 0 y = 1 - prerequisite = { focus = BFL_wuhaishenxianghua } + prerequisite = { + focus = BFL_wuhaishenxianghua + } relative_position_id = BFL_wuhaishenxianghua cost = 5 - ai_will_do = { factor = 11 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 - add_timed_idea = { idea = BFL_qinlisanzhongmanjiu days = 365 } + add_timed_idea = { + idea = BFL_qinlisanzhongmanjiu + days = 365 + } custom_effect_tooltip = BFL_kelimulinshibian_tooltip } } - focus = { + focus = { id = BFL_huodelindaoquan icon = GFX_goal_anti_comintern_pact x = 0 y = 1 - prerequisite = { focus = BFL_kelimulinshibian } + prerequisite = { + focus = BFL_kelimulinshibian + } relative_position_id = BFL_kelimulinshibian cost = 5 - ai_will_do = { factor = 11 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { set_politics = { ruling_party = fascism } - remove_ideas = BFL_luxianwenti + remove_ideas = BFL_luxianwenti } } - focus = { + focus = { id = BFL_chaijiejitinongzhuang icon = GFX_focus_renounce_the_treaty_of_trianon x = -11 y = 1 - prerequisite = { focus = BFL_huodelindaoquan } + prerequisite = { + focus = BFL_huodelindaoquan + } relative_position_id = BFL_huodelindaoquan cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { has_idea = BFL_bufuguanjiaoderenlei0 } - remove_ideas = BFL_bufuguanjiaoderenlei0 + limit = { + has_idea = BFL_bufuguanjiaoderenlei0 + } + remove_ideas = BFL_bufuguanjiaoderenlei0 } if = { - limit = { has_idea = BFL_bufuguanjiaoderenlei11 } - remove_ideas = BFL_bufuguanjiaoderenlei11 + limit = { + has_idea = BFL_bufuguanjiaoderenlei11 + } + remove_ideas = BFL_bufuguanjiaoderenlei11 } if = { - limit = { has_idea = BFL_bufuguanjiaoderenlei112 } - remove_ideas = BFL_bufuguanjiaoderenlei112 + limit = { + has_idea = BFL_bufuguanjiaoderenlei112 + } + remove_ideas = BFL_bufuguanjiaoderenlei112 } if = { - limit = { has_idea = BFL_bufuguanjiaoderenlei113 } - remove_ideas = BFL_bufuguanjiaoderenlei113 + limit = { + has_idea = BFL_bufuguanjiaoderenlei113 + } + remove_ideas = BFL_bufuguanjiaoderenlei113 } if = { - limit = { has_idea = BFL_bufuguanjiaoderenlei1121 } - remove_ideas = BFL_bufuguanjiaoderenlei1121 + limit = { + has_idea = BFL_bufuguanjiaoderenlei1121 + } + remove_ideas = BFL_bufuguanjiaoderenlei1121 } if = { - limit = { has_idea = BFL_bufuguanjiaoderenlei1122 } - remove_ideas = BFL_bufuguanjiaoderenlei1122 + limit = { + has_idea = BFL_bufuguanjiaoderenlei1122 + } + remove_ideas = BFL_bufuguanjiaoderenlei1122 } if = { - limit = { has_idea = BFL_bufuguanjiaoderenlei1123 } - remove_ideas = BFL_bufuguanjiaoderenlei1123 + limit = { + has_idea = BFL_bufuguanjiaoderenlei1123 + } + remove_ideas = BFL_bufuguanjiaoderenlei1123 } } } - focus = { + focus = { id = BFL_nongyeshui icon = GFX_focus_hol_the_foundations_of_defense x = 0 y = 1 - prerequisite = { focus = BFL_chaijiejitinongzhuang } + prerequisite = { + focus = BFL_chaijiejitinongzhuang + } relative_position_id = BFL_chaijiejitinongzhuang cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = BFL_santiwutong + add_ideas = BFL_santiwutong } } - focus = { + focus = { id = BFL_duiwaikaifang icon = GFX_focus_usa_reestablish_the_gold_standard x = 0 y = 1 - prerequisite = { focus = BFL_nongyeshui } + prerequisite = { + focus = BFL_nongyeshui + } relative_position_id = BFL_nongyeshui cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - swap_ideas = { - remove_idea = BFL_luohoudegongye0 - add_idea = BFL_luohoudegongye1 } + swap_ideas = { + remove_idea = BFL_luohoudegongye0 + add_idea = BFL_luohoudegongye1 + } add_political_power = 50 custom_effect_tooltip = BFL_duiwaikaifang_tooltip } } - focus = { + focus = { id = BFL_changzhangzerenzhi icon = GFX_goal_generic_construction x = 1 y = 1 - prerequisite = { focus = BFL_duiwaikaifang } + prerequisite = { + focus = BFL_duiwaikaifang + } relative_position_id = BFL_duiwaikaifang cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BFL_power_in_manager @@ -236,14 +257,14 @@ focus_tree = { icon = GFX_focus_generic_self_management x = 0 y = 1 - prerequisite = { focus = BFL_jiageshuangguizhi } + prerequisite = { + focus = BFL_jiageshuangguizhi + } relative_position_id = BFL_jiageshuangguizhi cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BFL_manjiuxiagang @@ -254,14 +275,14 @@ focus_tree = { icon = GFX_goal_generic_national_unity x = 2 y = 1 - prerequisite = { focus = BFL_changzhangzerenzhi } + prerequisite = { + focus = BFL_changzhangzerenzhi + } relative_position_id = BFL_changzhangzerenzhi cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BFL_shuangguizhi @@ -272,14 +293,14 @@ focus_tree = { icon = GFX_goal_generic_intelligence_exchange x = 0 y = 1 - prerequisite = { focus = BFL_changzhangzerenzhi } + prerequisite = { + focus = BFL_changzhangzerenzhi + } relative_position_id = BFL_changzhangzerenzhi cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -288,7 +309,9 @@ focus_tree = { has_war_with = TIX } } - TIX = { country_event = BFL_event.13 } + TIX = { + country_event = BFL_event.13 + } } if = { limit = { @@ -296,7 +319,9 @@ focus_tree = { has_war_with = HUJ } } - HUJ = { country_event = BFL_event.13 } + HUJ = { + country_event = BFL_event.13 + } } if = { limit = { @@ -304,7 +329,9 @@ focus_tree = { has_war_with = SAD } } - SAD = { country_event = BFL_event.13 } + SAD = { + country_event = BFL_event.13 + } } if = { limit = { @@ -312,41 +339,67 @@ focus_tree = { has_war_with = YUW } } - YUW = { country_event = BFL_event.13 } + YUW = { + country_event = BFL_event.13 + } } if = { - limit = { - is_ai = yes - } - army_experience = 1000 - set_technology = { interwar_antitank = 1 } - set_technology = { tech_engineers = 1 } - set_technology = { tech_engineers2 = 1 } - set_technology = { antitank1 = 1 } - set_technology = { basic_medium_tank_chassis = 1 } - set_technology = { improved_medium_tank_chassis = 1 } - set_technology = { armor_tech_1 = 1 } - set_technology = { armor_tech_2 = 1 } - set_technology = { radio = 1 } - set_technology = { radio_detection = 1 } + limit = { + is_ai = yes + } + army_experience = 1000 + set_technology = { + interwar_antitank = 1 + } + set_technology = { + tech_engineers = 1 + } + set_technology = { + tech_engineers2 = 1 + } + set_technology = { + antitank1 = 1 + } + set_technology = { + basic_medium_tank_chassis = 1 + } + set_technology = { + improved_medium_tank_chassis = 1 + } + set_technology = { + armor_tech_1 = 1 + } + set_technology = { + armor_tech_2 = 1 + } + set_technology = { + radio = 1 + } + set_technology = { + radio_detection = 1 + } } } } - focus = { + focus = { id = BFL_junshiqiyeshenji icon = GFX_focus_SOV_merge_plants x = -1 y = 1 - prerequisite = { focus = BFL_zaoburumai } - prerequisite = { focus = BFL_yaoqinwaiguozhuanjia } + prerequisite = { + focus = BFL_zaoburumai + } + prerequisite = { + focus = BFL_yaoqinwaiguozhuanjia + } relative_position_id = BFL_zaoburumai cost = 10 - available = { + available = { has_completed_focus = BFL_yaoqinwaiguozhuanjia - or = { - custom_trigger_tooltip = { + OR = { + custom_trigger_tooltip = { tooltip = BFL_junshiqiyeshenji_tooltip - AND = { + AND = { check_variable = { var = wz_sl value = 2000 @@ -354,19 +407,21 @@ focus_tree = { } } } - is_ai = yes - } + is_ai = yes + } } ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - swap_ideas = { - remove_idea = BFL_luohoudegongye1 - add_idea = BFL_luohoudegongye2 } - add_to_variable = { wz_sl = -2000 } + swap_ideas = { + remove_idea = BFL_luohoudegongye1 + add_idea = BFL_luohoudegongye2 + } + add_to_variable = { + wz_sl = -2000 + } custom_effect_tooltip = BFL_junshiqiyeshenji_tooltip custom_effect_tooltip = BFL_junshiqiyeshenji1_tooltip add_tech_bonus = { @@ -379,19 +434,21 @@ focus_tree = { } } } - focus = { + focus = { id = BFL_yaoqinwaiguozhuanjia icon = GFX_focus_spa_the_spanish_miracle x = 0 y = 1 - prerequisite = { focus = BFL_yaoqinwaiguoziben } + prerequisite = { + focus = BFL_yaoqinwaiguoziben + } relative_position_id = BFL_yaoqinwaiguoziben cost = 10 - available = { - or = { - custom_trigger_tooltip = { + available = { + OR = { + custom_trigger_tooltip = { tooltip = BFL_yaoqinwaiguozhuanjia_tooltip - AND = { + AND = { check_variable = { var = wz_sl value = 1000 @@ -399,16 +456,17 @@ focus_tree = { } } } - is_ai = yes - } + is_ai = yes + } } ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_to_variable = { wz_sl = -1000 } + add_to_variable = { + wz_sl = -1000 + } custom_effect_tooltip = BFL_yaoqinwaiguozhuanjia_tooltip custom_effect_tooltip = BFL_yaoqinwaiguozhuanjia1_tooltip add_tech_bonus = { @@ -427,19 +485,19 @@ focus_tree = { } } } - focus = { + focus = { id = BFL_yaoqinwaiguoziben icon = GFX_focus_generic_industry_2 x = -1 y = 1 - prerequisite = { focus = BFL_duiwaikaifang } + prerequisite = { + focus = BFL_duiwaikaifang + } relative_position_id = BFL_duiwaikaifang cost = 10 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_owned_controlled_state = { @@ -489,23 +547,24 @@ focus_tree = { } } } - focus = { + focus = { id = BFL_sisanfangan icon = GFX_goal_generic_positive_trade_relations x = -3 y = 1 - prerequisite = { focus = BFL_duiwaikaifang } + prerequisite = { + focus = BFL_duiwaikaifang + } relative_position_id = BFL_duiwaikaifang cost = 10 - ai_will_do = { factor = 20 - } - available = { - or = { - custom_trigger_tooltip = { + } + available = { + OR = { + custom_trigger_tooltip = { tooltip = BFL_sisanfangan_tooltip - AND = { + AND = { check_variable = { var = wz_sl value = 4300 @@ -513,13 +572,15 @@ focus_tree = { } } } - is_ai = yes - } + is_ai = yes + } } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { remove_ideas = BFL_swjq - add_to_variable = { wz_sl = -4300 } + add_to_variable = { + wz_sl = -4300 + } custom_effect_tooltip = BFL_sisanfangan_tooltip random_owned_controlled_state = { limit = { @@ -573,157 +634,155 @@ focus_tree = { icon = GFX_focus_generic_industry_3 x = 0 y = 1 - prerequisite = { focus = BFL_sisanfangan } + prerequisite = { + focus = BFL_sisanfangan + } relative_position_id = BFL_sisanfangan cost = 20 - ai_will_do = { factor = 20 } - available = { has_full_control_of_state = 208 has_full_control_of_state = 195 has_full_control_of_state = 408 has_full_control_of_state = 137 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 208 = { - set_state_category = metropolis - if = { - limit = { - is_controlled_by = BFL - } - add_extra_state_shared_building_slots = 6 - add_building_construction = { + set_state_category = metropolis + if = { + limit = { + is_controlled_by = BFL + } + add_extra_state_shared_building_slots = 6 + add_building_construction = { type = industrial_complex level = 3 instant_build = yes } - add_building_construction = { + add_building_construction = { type = arms_factory level = 2 instant_build = yes } - add_building_construction = { + add_building_construction = { type = dockyard level = 1 instant_build = yes } - add_building_construction = { + add_building_construction = { type = infrastructure level = 2 instant_build = yes } } - } - - 195 = { - if = { - limit = { - is_controlled_by = BFL - } - add_extra_state_shared_building_slots = 6 - add_building_construction = { + } + 195 = { + if = { + limit = { + is_controlled_by = BFL + } + add_extra_state_shared_building_slots = 6 + add_building_construction = { type = industrial_complex level = 3 instant_build = yes } - add_building_construction = { + add_building_construction = { type = arms_factory level = 2 instant_build = yes } - add_building_construction = { + add_building_construction = { type = dockyard level = 1 instant_build = yes } - add_building_construction = { + add_building_construction = { type = infrastructure level = 1 instant_build = yes } } - } - 408 = { - set_state_category = metropolis - if = { - limit = { - is_controlled_by = BFL - } - add_extra_state_shared_building_slots = 6 - add_building_construction = { + } + 408 = { + set_state_category = metropolis + if = { + limit = { + is_controlled_by = BFL + } + add_extra_state_shared_building_slots = 6 + add_building_construction = { type = industrial_complex level = 3 instant_build = yes } - add_building_construction = { + add_building_construction = { type = arms_factory level = 2 instant_build = yes } - add_building_construction = { + add_building_construction = { type = dockyard level = 1 instant_build = yes } - add_building_construction = { + add_building_construction = { type = infrastructure level = 3 instant_build = yes } } - } - 137 = { - set_state_category = metropolis - if = { - limit = { - is_controlled_by = BFL - } - add_extra_state_shared_building_slots = 6 - add_building_construction = { + } + 137 = { + set_state_category = metropolis + if = { + limit = { + is_controlled_by = BFL + } + add_extra_state_shared_building_slots = 6 + add_building_construction = { type = industrial_complex level = 3 instant_build = yes } - add_building_construction = { + add_building_construction = { type = arms_factory level = 2 instant_build = yes } - add_building_construction = { + add_building_construction = { type = dockyard level = 1 instant_build = yes } - add_building_construction = { + add_building_construction = { type = infrastructure level = 2 instant_build = yes } } - } + } } } - focus = { + focus = { id = BFL_zhongjienongyeshui icon = GFX_focus_renounce_the_treaty_of_trianon x = 0 y = 1 - prerequisite = { focus = BFL_huaquan } + prerequisite = { + focus = BFL_huaquan + } relative_position_id = BFL_huaquan cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - remove_ideas = BFL_santiwutong + remove_ideas = BFL_santiwutong add_ideas = BFL_santiwutong_plus } } @@ -732,16 +791,20 @@ focus_tree = { icon = GFX_goal_generic_construct_civ_factory x = 0 y = 1 - prerequisite = { focus = BFL_zhongjienongyeshui } - prerequisite = { focus = BFL_junshiqiyeshenji } - prerequisite = { focus = BFL_daxiagang } + prerequisite = { + focus = BFL_zhongjienongyeshui + } + prerequisite = { + focus = BFL_junshiqiyeshenji + } + prerequisite = { + focus = BFL_daxiagang + } relative_position_id = BFL_junshiqiyeshenji cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BFL_beilianjianshedui @@ -753,19 +816,20 @@ focus_tree = { icon = GFX_goal_generic_consumer_goods x = 0 y = 1 - prerequisite = { focus = BFL_beilianjijiankuangmo } + prerequisite = { + focus = BFL_beilianjijiankuangmo + } relative_position_id = BFL_beilianjijiankuangmo cost = 10 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - swap_ideas = { - remove_idea = BFL_luohoudegongye2 - add_idea = BFL_luohoudegongye3 } + swap_ideas = { + remove_idea = BFL_luohoudegongye2 + add_idea = BFL_luohoudegongye3 + } add_ideas = BFL_xinjinjizhence } } @@ -774,14 +838,14 @@ focus_tree = { icon = GFX_focus_research2 x = 0 y = 1 - prerequisite = { focus = BFL_xingjingjizhence } + prerequisite = { + focus = BFL_xingjingjizhence + } relative_position_id = BFL_xingjingjizhence cost = 10 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -50 @@ -793,17 +857,17 @@ focus_tree = { icon = GFX_focus_generic_military_academy x = 0 y = 1 - prerequisite = { focus = BFL_huodelindaoquan } + prerequisite = { + focus = BFL_huodelindaoquan + } relative_position_id = BFL_huodelindaoquan cost = 5 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - country_event = BFL_event.16 + country_event = BFL_event.16 } } focus = { @@ -811,40 +875,46 @@ focus_tree = { icon = GFX_focus_eng_liberate_the_home_of_marx x = 4 y = 1 - prerequisite = { focus = BFL_zhaokaidaibiaodahui } + prerequisite = { + focus = BFL_zhaokaidaibiaodahui + } relative_position_id = BFL_zhaokaidaibiaodahui - mutually_exclusive = { focus = BFL_xuanchuanziyouminzhu } + mutually_exclusive = { + focus = BFL_xuanchuanziyouminzhu + } cost = 5 available = { has_country_flag = BFL_aerhangeersike_up } - offset = { trigger = { - or = { + OR = { has_country_flag = BFL_aerhangeersike_up - not = { has_country_flag = BFL_qiabayefu_up } + NOT = { + has_country_flag = BFL_qiabayefu_up } + } } x = -4 } - - allow_branch = { - or = { - has_country_flag = BFL_aerhangeersike_up - not = { has_country_flag = BFL_qiabayefu_up } + OR = { + has_country_flag = BFL_aerhangeersike_up + NOT = { + has_country_flag = BFL_qiabayefu_up + } } } - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_political_power = 100 - add_popularity = { ideology = fascism popularity = 0.1 } + add_political_power = 100 + add_popularity = { + ideology = fascism + popularity = 0.1 + } } } focus = { @@ -852,17 +922,17 @@ focus_tree = { icon = GFX_focus_SOV_the_true_tsars x = -1 y = 1 - prerequisite = { focus = BFL_menshengfacai } + prerequisite = { + focus = BFL_menshengfacai + } relative_position_id = BFL_menshengfacai cost = 5 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_country_leader_trait = zongshejishi + add_country_leader_trait = zongshejishi } } focus = { @@ -870,23 +940,28 @@ focus_tree = { icon = GFX_goal_support_fascism x = 1 y = 1 - prerequisite = { focus = BFL_gerenchongbai } - prerequisite = { focus = BFL_fanduiziyouhua } + prerequisite = { + focus = BFL_gerenchongbai + } + prerequisite = { + focus = BFL_fanduiziyouhua + } relative_position_id = BFL_gerenchongbai cost = 5 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = BFL_tese - add_popularity = { ideology = fascism popularity = 0.1 } - create_faction = "蛮啾合作团结组织" - custom_effect_tooltip = BLI_huolixianzhijiechu_tooltip + add_ideas = BFL_tese + add_popularity = { + ideology = fascism + popularity = 0.1 + } + create_faction = "蛮啾合作团结组织" + custom_effect_tooltip = BLI_huolixianzhijiechu_tooltip hidden_effect = { - set_rule = { + set_rule = { can_only_justify_war_on_threat_country = no can_declare_war_on_same_ideology = yes can_create_factions = yes @@ -899,17 +974,17 @@ focus_tree = { icon = GFX_focus_generic_royal_wedding x = -1 y = 1 - prerequisite = { focus = BFL_gerenchongbai } + prerequisite = { + focus = BFL_gerenchongbai + } relative_position_id = BFL_gerenchongbai cost = 5 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - swap_ideas = { + swap_ideas = { remove_idea = BFL_jy add_idea = BFL_jy_hongjiu } @@ -920,14 +995,14 @@ focus_tree = { icon = GFX_focus_ger_oppose_hitler x = 1 y = 1 - prerequisite = { focus = BFL_fanduiziyouhua } + prerequisite = { + focus = BFL_fanduiziyouhua + } relative_position_id = BFL_fanduiziyouhua cost = 5 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BFL_xuehuibizui @@ -938,17 +1013,17 @@ focus_tree = { icon = GFX_focus_usa_voter_registration_act x = 1 y = 1 - prerequisite = { focus = BFL_menshengfacai } + prerequisite = { + focus = BFL_menshengfacai + } relative_position_id = BFL_menshengfacai cost = 5 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = BFL_fanduiblue + add_ideas = BFL_fanduiblue } } focus = { @@ -956,33 +1031,32 @@ focus_tree = { icon = GFX_focus_generic_treaty x = -4 y = 1 - prerequisite = { focus = BFL_zhaokaidaibiaodahui } + prerequisite = { + focus = BFL_zhaokaidaibiaodahui + } relative_position_id = BFL_zhaokaidaibiaodahui - mutually_exclusive = { focus = BFL_menshengfacai } - + mutually_exclusive = { + focus = BFL_menshengfacai + } cost = 5 available = { has_country_flag = BFL_qiabayefu_up } - offset = { trigger = { has_country_flag = BFL_qiabayefu_up } x = 4 } - allow_branch = { - has_country_flag = BFL_qiabayefu_up + has_country_flag = BFL_qiabayefu_up } - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = BFL_fanduiblack + add_ideas = BFL_fanduiblack } } focus = { @@ -990,17 +1064,17 @@ focus_tree = { icon = GFX_goal_tripartite_pact x = -1 y = 1 - prerequisite = { focus = BFL_xuanchuanziyouminzhu } + prerequisite = { + focus = BFL_xuanchuanziyouminzhu + } relative_position_id = BFL_xuanchuanziyouminzhu cost = 5 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_country_leader_role = { + add_country_leader_role = { Character = BFL_qiabayefu Promote_leader = yes Country_leader = { @@ -1018,26 +1092,31 @@ focus_tree = { icon = GFX_goal_support_democracy x = 1 y = 1 - prerequisite = { focus = BFL_qianghuamingzhudang } - prerequisite = { focus = BFL_kuodadangguimo } + prerequisite = { + focus = BFL_qianghuamingzhudang + } + prerequisite = { + focus = BFL_kuodadangguimo + } relative_position_id = BFL_qianghuamingzhudang cost = 5 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { set_politics = { ruling_party = democratic } - add_popularity = { ideology = democratic popularity = 0.2 } - add_country_leader_trait = changxiushanwu + add_popularity = { + ideology = democratic + popularity = 0.2 + } + add_country_leader_trait = changxiushanwu create_faction = "独立国家联合体" custom_effect_tooltip = BLI_huolixianzhijiechu_tooltip hidden_effect = { - set_rule = { + set_rule = { can_only_justify_war_on_threat_country = no can_declare_war_on_same_ideology = yes can_create_factions = yes @@ -1051,17 +1130,17 @@ focus_tree = { icon = GFX_focus_generic_royal_wedding x = 1 y = 1 - prerequisite = { focus = BFL_kuodadangguimo } + prerequisite = { + focus = BFL_kuodadangguimo + } relative_position_id = BFL_kuodadangguimo cost = 5 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - swap_ideas = { + swap_ideas = { remove_idea = BFL_jy add_idea = BFL_jy_every } @@ -1072,14 +1151,14 @@ focus_tree = { icon = GFX_focus_generic_royal_wedding x = -1 y = 1 - prerequisite = { focus = BFL_qianghuamingzhudang } + prerequisite = { + focus = BFL_qianghuamingzhudang + } relative_position_id = BFL_qianghuamingzhudang cost = 5 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BFL_sabi @@ -1088,56 +1167,57 @@ focus_tree = { focus = { id = BFL_kuodadangguimo icon = GFX_goal_generic_intelligence_exchange - x = 1 y = 1 - prerequisite = { focus = BFL_xuanchuanziyouminzhu } + prerequisite = { + focus = BFL_xuanchuanziyouminzhu + } relative_position_id = BFL_xuanchuanziyouminzhu cost = 5 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = BFL_zcjj + add_ideas = BFL_zcjj } } - focus = { + focus = { id = BFL_duifenziweifanjizhan icon = GFX_focus_generic_attack_finland x = 0 y = 1 - prerequisite = { focus = BFL_beiliantese } + prerequisite = { + focus = BFL_beiliantese + } relative_position_id = BFL_beiliantese cost = 5 - allow_branch = { - not = { has_global_flag = bfl_yes_pact } - not = { has_country_flag = BFL_qiabayefu_up } - + NOT = { + has_global_flag = bfl_yes_pact + } + NOT = { + has_country_flag = BFL_qiabayefu_up + } } - available = { has_army_manpower = { size > 2000000 } is_puppet = no } - bypass = { - FIN = { has_capitulated = yes } + FIN = { + has_capitulated = yes + } } - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { FIN = { - country_event = BFL_event.17 + country_event = BFL_event.17 } every_state = { limit = { @@ -1147,79 +1227,83 @@ focus_tree = { } } } - focus = { + focus = { id = BFL_bosanxiaogu icon = GFX_focus_SOV_baltic_security x = -2 y = 1 - prerequisite = { focus = BFL_duifenziweifanjizhan } + prerequisite = { + focus = BFL_duifenziweifanjizhan + } relative_position_id = BFL_duifenziweifanjizhan cost = 10 - ai_will_do = { factor = 10 } - available = { is_puppet = no } - bypass = { - if = { - LAT = { has_capitulated = yes } - EST = { has_capitulated = yes } - LIT = { has_capitulated = yes } + AND = { + LAT = { + has_capitulated = yes + } + EST = { + has_capitulated = yes + } + LIT = { + has_capitulated = yes + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { LAT = { - country_event = BFL_event.17 + country_event = BFL_event.17 } EST = { - country_event = BFL_event.17 + country_event = BFL_event.17 } LIT = { - country_event = BFL_event.17 + country_event = BFL_event.17 } every_state = { limit = { - or = { - is_core_of = LAT - is_core_of = EST - is_core_of = LIT + OR = { + is_core_of = LAT + is_core_of = EST + is_core_of = LIT } } add_core_of = BFL } } } - focus = { + focus = { id = BFL_suoqubolan icon = GFX_focus_generic_polish_deal x = 0 y = 1 - prerequisite = { focus = BFL_duifenziweifanjizhan } + prerequisite = { + focus = BFL_duifenziweifanjizhan + } relative_position_id = BFL_duifenziweifanjizhan cost = 10 - ai_will_do = { factor = 10 } - available = { is_puppet = no } - bypass = { - POL = { has_capitulated = yes } + POL = { + has_capitulated = yes + } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { POL = { - country_event = BFL_event.19 + country_event = BFL_event.19 } add_state_core = 87 add_state_core = 98 @@ -1239,332 +1323,379 @@ focus_tree = { add_state_core = 89 } } - focus = { + focus = { id = BFL_shoufubisalabiya icon = GFX_focus_generic_attack_romania x = 2 y = 1 - prerequisite = { focus = BFL_duifenziweifanjizhan } + prerequisite = { + focus = BFL_duifenziweifanjizhan + } relative_position_id = BFL_duifenziweifanjizhan cost = 3 - ai_will_do = { factor = 10 } - available = { is_puppet = no } - bypass = { - ROM = { has_capitulated = yes } + ROM = { + has_capitulated = yes + } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { ROM = { - country_event = BFL_event.20 + country_event = BFL_event.20 } add_state_core = 80 add_state_core = 78 add_state_core = 766 } } - focus = { + focus = { id = BFL_duoqubeiou icon = GFX_focus_generic_scandinavia_flags x = 0 y = 1 - prerequisite = { focus = BFL_bosanxiaogu } - prerequisite = { focus = BFL_suoqubolan } - prerequisite = { focus = BFL_shoufubisalabiya } + prerequisite = { + focus = BFL_bosanxiaogu + } + prerequisite = { + focus = BFL_suoqubolan + } + prerequisite = { + focus = BFL_shoufubisalabiya + } relative_position_id = BFL_bosanxiaogu cost = 10 - ai_will_do = { factor = 10 } - available = { is_puppet = no } - bypass = { - or = { - if = { - has_war_with = NOR - has_war_with = SWE - has_war_with = DEN - } - if = { - NOR = { has_capitulated = yes } - SWE = { has_capitulated = yes } - DEN = { has_capitulated = yes } - } + OR = { + AND = { + has_war_with = NOR + has_war_with = SWE + has_war_with = DEN + } + AND = { + NOR = { + has_capitulated = yes + } + SWE = { + has_capitulated = yes + } + DEN = { + has_capitulated = yes + } + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { SWE = { - country_event = BFL_event.17 + country_event = BFL_event.17 } NOR = { - country_event = BFL_event.17 + country_event = BFL_event.17 } DEN = { - country_event = BFL_event.17 + country_event = BFL_event.17 } } } - focus = { + focus = { id = BFL_duoqutuerqi icon = GFX_focus_generic_attack_turkey x = 0 y = 1 - prerequisite = { focus = BFL_bosanxiaogu } - prerequisite = { focus = BFL_suoqubolan } - prerequisite = { focus = BFL_shoufubisalabiya } + prerequisite = { + focus = BFL_bosanxiaogu + } + prerequisite = { + focus = BFL_suoqubolan + } + prerequisite = { + focus = BFL_shoufubisalabiya + } relative_position_id = BFL_suoqubolan cost = 10 - ai_will_do = { factor = 10 } - available = { is_puppet = no } - - - bypass = { - or = { + OR = { has_war_with = TUR - TUR = { has_capitulated = yes } + TUR = { + has_capitulated = yes + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TUR = { - country_event = BFL_event.17 + country_event = BFL_event.17 } } } - focus = { + focus = { id = BFL_cixiangnanfang icon = GFX_focus_TUR_treaty_of_saadabad x = 0 y = 1 - prerequisite = { focus = BFL_bosanxiaogu } - prerequisite = { focus = BFL_suoqubolan } - prerequisite = { focus = BFL_shoufubisalabiya } + prerequisite = { + focus = BFL_bosanxiaogu + } + prerequisite = { + focus = BFL_suoqubolan + } + prerequisite = { + focus = BFL_shoufubisalabiya + } relative_position_id = BFL_shoufubisalabiya cost = 15 - ai_will_do = { factor = 10 } - available = { is_puppet = no } - bypass = { - or = { - if = { - has_war_with = PER - has_war_with = AFG - has_war_with = IRQ - has_war_with = SAU - } - if = { - PER = { has_capitulated = yes } - AFG = { has_capitulated = yes } - IRQ = { has_capitulated = yes } - SAU = { has_capitulated = yes } - } + OR = { + AND = { + has_war_with = PER + has_war_with = AFG + has_war_with = IRQ + has_war_with = SAU + } + AND = { + PER = { + has_capitulated = yes + } + AFG = { + has_capitulated = yes + } + IRQ = { + has_capitulated = yes + } + SAU = { + has_capitulated = yes + } + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { PER = { - country_event = BFL_event.17 + country_event = BFL_event.17 } AFG = { - country_event = BFL_event.17 + country_event = BFL_event.17 } IRQ = { - country_event = BFL_event.17 + country_event = BFL_event.17 } SAU = { - country_event = BFL_event.17 + country_event = BFL_event.17 } } } - focus = { + focus = { id = BFL_jiejuetiexue icon = GFX_aflag_TIX x = -1 y = 2 - prerequisite = { focus = BFL_suoqubolan } - prerequisite = { focus = BFL_bosanxiaogu } - prerequisite = { focus = BFL_shoufubisalabiya } + prerequisite = { + focus = BFL_suoqubolan + } + prerequisite = { + focus = BFL_bosanxiaogu + } + prerequisite = { + focus = BFL_shoufubisalabiya + } relative_position_id = BFL_suoqubolan cost = 5 - ai_will_do = { factor = 5 } - available = { is_puppet = no } - bypass = { - or = { - has_war_with = TIX - not = { country_exists = TIX } + OR = { + has_war_with = TIX + NOT = { + country_exists = TIX + } is_in_faction_with = TIX } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = TIX type = annex_everything } + create_wargoal = { + target = TIX + type = annex_everything + } } } - focus = { + focus = { id = BFL_jiejuesadin icon = GFX_aflag_SAD x = 1 y = 2 - prerequisite = { focus = BFL_suoqubolan } - prerequisite = { focus = BFL_bosanxiaogu } - prerequisite = { focus = BFL_shoufubisalabiya } + prerequisite = { + focus = BFL_suoqubolan + } + prerequisite = { + focus = BFL_bosanxiaogu + } + prerequisite = { + focus = BFL_shoufubisalabiya + } relative_position_id = BFL_suoqubolan cost = 5 - bypass = { - or = { - has_war_with = SAD - not = { country_exists = SAD } + OR = { + has_war_with = SAD + NOT = { + country_exists = SAD + } is_in_faction_with = SAD } } - available = { is_puppet = no } - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = SAD type = annex_everything } + create_wargoal = { + target = SAD + type = annex_everything + } } } - focus = { + focus = { id = BFL_jiejuehuangjia icon = GFX_aflag_HUJ x = -3 y = 2 - prerequisite = { focus = BFL_suoqubolan } - prerequisite = { focus = BFL_bosanxiaogu } - prerequisite = { focus = BFL_shoufubisalabiya } + prerequisite = { + focus = BFL_suoqubolan + } + prerequisite = { + focus = BFL_bosanxiaogu + } + prerequisite = { + focus = BFL_shoufubisalabiya + } relative_position_id = BFL_suoqubolan cost = 5 - bypass = { - or = { + OR = { has_war_with = HUJ - not = { country_exists = HUJ } + NOT = { + country_exists = HUJ + } is_in_faction_with = HUJ } } - ai_will_do = { factor = 5 } - available = { is_puppet = no } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = HUJ type = annex_everything } + create_wargoal = { + target = HUJ + type = annex_everything + } } } - focus = { + focus = { id = BFL_jiejueyuanwei icon = GFX_aflag_YUW x = 3 y = 2 - prerequisite = { focus = BFL_suoqubolan } - prerequisite = { focus = BFL_bosanxiaogu } - prerequisite = { focus = BFL_shoufubisalabiya } + prerequisite = { + focus = BFL_suoqubolan + } + prerequisite = { + focus = BFL_bosanxiaogu + } + prerequisite = { + focus = BFL_shoufubisalabiya + } relative_position_id = BFL_suoqubolan cost = 5 - bypass = { - or = { - has_war_with = YUW - not = { country_exists = YUW } + OR = { + has_war_with = YUW + NOT = { + country_exists = YUW + } is_in_faction_with = YUW } } - available = { is_puppet = no } - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = YUW type = annex_everything } + create_wargoal = { + target = YUW + type = annex_everything + } } } - focus = { + focus = { id = BFL_querentiaoyue icon = GFX_goal_molotov_ribbentrop_pact x = 8 y = 1 - prerequisite = { focus = BFL_beiliantese } + prerequisite = { + focus = BFL_beiliantese + } relative_position_id = BFL_beiliantese - mutually_exclusive = { focus = BFL_querentiaoyue } + mutually_exclusive = { + focus = BFL_querentiaoyue + } cost = 5 - allow_branch = { - has_global_flag = bfl_yes_pact + has_global_flag = bfl_yes_pact has_country_flag = BFL_aerhangeersike_up } - offset = { trigger = { has_global_flag = bfl_yes_pact } x = -8 } - ai_will_do = { factor = 100 } - available = { has_army_manpower = { size > 1000000 } is_puppet = no } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 250 @@ -1581,47 +1712,46 @@ focus_tree = { add_ideas = BFL_dachenxieyi } } - focus = { + focus = { id = BFL_zhixintiaoyue icon = GFX_goal_generic_territory_or_war x = 0 y = 1 - prerequisite = { focus = BFL_querentiaoyue } + prerequisite = { + focus = BFL_querentiaoyue + } relative_position_id = BFL_querentiaoyue cost = 5 - ai_will_do = { factor = 100 } - available = { is_puppet = no } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { ROM = { - country_event = az_tianjiang.29 + country_event = az_tianjiang.29 } FIN = { - country_event = az_tianjiang.30 + country_event = az_tianjiang.30 } LAT = { - country_event = az_tianjiang.28 + country_event = az_tianjiang.28 } EST = { - country_event = az_tianjiang.28 + country_event = az_tianjiang.28 } LIT = { - country_event = az_tianjiang.28 + country_event = az_tianjiang.28 } every_state = { limit = { - or = { - is_core_of = LAT - is_core_of = EST - is_core_of = LIT - is_core_of = FIN + OR = { + is_core_of = LAT + is_core_of = EST + is_core_of = LIT + is_core_of = FIN } } add_core_of = BFL @@ -1631,27 +1761,26 @@ focus_tree = { add_state_core = 766 } } - focus = { + focus = { id = BFL_suoqudongbolan icon = GFX_focus_generic_polish_deal x = -2 y = 1 - prerequisite = { focus = BFL_querentiaoyue } + prerequisite = { + focus = BFL_querentiaoyue + } relative_position_id = BFL_querentiaoyue cost = 5 - ai_will_do = { factor = 100 } - available = { is_puppet = no } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { POL = { - country_event = BFL_event.21 + country_event = BFL_event.21 } add_state_core = 97 add_state_core = 784 @@ -1663,305 +1792,346 @@ focus_tree = { add_state_core = 89 } } - focus = { + focus = { id = BFL_didayinduyang icon = GFX_focus_TUR_treaty_of_saadabad x = 2 y = 1 - prerequisite = { focus = BFL_querentiaoyue } + prerequisite = { + focus = BFL_querentiaoyue + } relative_position_id = BFL_querentiaoyue cost = 5 - ai_will_do = { factor = 100 } - available = { is_puppet = no } - bypass = { - or = { - if = { - has_war_with = PER - has_war_with = AFG - } - if = { - PER = { has_capitulated = yes } - AFG = { has_capitulated = yes } - } + OR = { + AND = { + has_war_with = PER + has_war_with = AFG + } + AND = { + PER = { + has_capitulated = yes + } + AFG = { + has_capitulated = yes + } + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { PER = { - country_event = BFL_event.17 + country_event = BFL_event.17 } AFG = { - country_event = BFL_event.17 + country_event = BFL_event.17 } } } - focus = { + focus = { id = BFL_jiaruchisezhongzhou icon = GFX_goal_molotov_ribbentrop_pact x = -1 y = 2 - prerequisite = { focus = BFL_querentiaoyue } + prerequisite = { + focus = BFL_querentiaoyue + } relative_position_id = BFL_querentiaoyue - mutually_exclusive = { focus = BFL_xianshou } + mutually_exclusive = { + focus = BFL_xianshou + } cost = 5 - ai_will_do = { factor = 5 } - available = { is_puppet = no - not = { if = { - has_war_with = TIX - has_war_with = SAD - }} + NOT = { + AND = { + has_war_with = TIX + has_war_with = SAD + } + } } - bypass = { - or = { - if = { - TIX = { has_capitulated = yes } - SAD = { has_capitulated = yes } - } + OR = { + AND = { + TIX = { + has_capitulated = yes + } + SAD = { + has_capitulated = yes + } + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TIX = { - country_event = BFL_event.22 + country_event = BFL_event.22 } } } - focus = { + focus = { id = BFL_xianshou icon = GFX_aflag_TIX x = 1 y = 2 - prerequisite = { focus = BFL_querentiaoyue } + prerequisite = { + focus = BFL_querentiaoyue + } relative_position_id = BFL_querentiaoyue - mutually_exclusive = { focus = BFL_jiaruchisezhongzhou } + mutually_exclusive = { + focus = BFL_jiaruchisezhongzhou + } cost = 5 - ai_will_do = { factor = 2 } - available = { is_puppet = no } - bypass = { - or = { - if = { - has_war_with = TIX - has_war_with = SAD + OR = { + AND = { + has_war_with = TIX + has_war_with = SAD + } + AND = { + TIX = { + has_capitulated = yes + } + SAD = { + has_capitulated = yes + } } - if = { - TIX = { has_capitulated = yes } - SAD = { has_capitulated = yes } - } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = TIX type = annex_everything } - create_wargoal = { target = SAD type = annex_everything } + create_wargoal = { + target = TIX + type = annex_everything + } + create_wargoal = { + target = SAD + type = annex_everything + } } } - focus = { + focus = { id = BFL_duoqujunbao icon = GFX_focus_generic_attack_turkey x = -2 y = 1 - prerequisite = { focus = BFL_jiaruchisezhongzhou focus = BFL_xianshou } + prerequisite = { + focus = BFL_jiaruchisezhongzhou + focus = BFL_xianshou + } relative_position_id = BFL_jiaruchisezhongzhou cost = 5 - ai_will_do = { factor = 5 } - - - available = { is_puppet = no - or = { - not = { is_in_faction_with = TIX } - if = { - is_in_faction_with = TIX - TIX = { is_puppet = yes } + OR = { + NOT = { + is_in_faction_with = TIX + } + AND = { + is_in_faction_with = TIX + TIX = { + is_puppet = yes + } + } + TIX = { + has_capitulated = yes } - TIX = { has_capitulated = yes } } } - bypass = { - or = { + OR = { has_war_with = TUR - TUR = { has_capitulated = yes } + TUR = { + has_capitulated = yes + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TUR = { - country_event = BFL_event.23 + country_event = BFL_event.23 } TIX = { - country_event = az_tianjiang.32 + country_event = az_tianjiang.32 } } } - focus = { + focus = { id = BFL_duoquruidian icon = GFX_focus_generic_attack_sweden x = 2 y = 1 - prerequisite = { focus = BFL_jiaruchisezhongzhou focus = BFL_xianshou } + prerequisite = { + focus = BFL_jiaruchisezhongzhou + focus = BFL_xianshou + } relative_position_id = BFL_xianshou cost = 5 - ai_will_do = { factor = 5 } - available = { is_puppet = no - or = { - not = { is_in_faction_with = TIX } - if = { - is_in_faction_with = TIX - TIX = { is_puppet = yes } + OR = { + NOT = { + is_in_faction_with = TIX + } + AND = { + is_in_faction_with = TIX + TIX = { + is_puppet = yes + } + } + TIX = { + has_capitulated = yes } - TIX = { has_capitulated = yes } } } - bypass = { - or = { + OR = { has_war_with = SWE - SWE = { has_capitulated = yes } + SWE = { + has_capitulated = yes + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { SWE = { - country_event = BFL_event.23 + country_event = BFL_event.23 } TIX = { - country_event = az_tianjiang.32 + country_event = az_tianjiang.32 } } } - focus = { + focus = { id = BFL_jiejuehuangjia1 icon = GFX_aflag_HUJ x = 0 y = 1 - prerequisite = { focus = BFL_jiaruchisezhongzhou focus = BFL_xianshou } + prerequisite = { + focus = BFL_jiaruchisezhongzhou + focus = BFL_xianshou + } relative_position_id = BFL_jiaruchisezhongzhou cost = 5 - ai_will_do = { factor = 5 } - available = { - or = { - not = { has_war_with = TIX } + OR = { + NOT = { + has_war_with = TIX + } } } - bypass = { - or = { + OR = { has_war_with = HUJ - not = { country_exists = HUJ } + NOT = { + country_exists = HUJ + } is_in_faction_with = HUJ } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = HUJ type = annex_everything } + create_wargoal = { + target = HUJ + type = annex_everything + } } } - focus = { + focus = { id = BFL_jiejueyuanwei1 icon = GFX_aflag_YUW x = 0 y = 1 - prerequisite = { focus = BFL_jiaruchisezhongzhou focus = BFL_xianshou } + prerequisite = { + focus = BFL_jiaruchisezhongzhou + focus = BFL_xianshou + } relative_position_id = BFL_xianshou cost = 5 - ai_will_do = { factor = 5 } - bypass = { - or = { - has_war_with = YUW - not = { country_exists = YUW } + OR = { + has_war_with = YUW + NOT = { + country_exists = YUW + } is_in_faction_with = YUW } } - available = { - or = { - not = { has_war_with = TIX } + OR = { + NOT = { + has_war_with = TIX + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = YUW type = annex_everything } + create_wargoal = { + target = YUW + type = annex_everything + } } } - focus = { + focus = { id = BFL_duifenziweifanjizhan2 icon = GFX_focus_generic_attack_finland x = 0 y = 1 - cost = 5 - - prerequisite = { focus = BFL_hexieziyoudebeilian } + prerequisite = { + focus = BFL_hexieziyoudebeilian + } relative_position_id = BFL_hexieziyoudebeilian - allow_branch = { - not = { has_global_flag = bfl_yes_pact } + NOT = { + has_global_flag = bfl_yes_pact + } has_country_flag = BFL_qiabayefu_up } - available = { has_army_manpower = { size > 2000000 } } - bypass = { - FIN = { has_capitulated = yes } + FIN = { + has_capitulated = yes + } } - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { FIN = { - country_event = BFL_event.17 + country_event = BFL_event.17 } every_state = { limit = { @@ -1971,71 +2141,77 @@ focus_tree = { } } } - focus = { + focus = { id = BFL_bosanxiaogu2 icon = GFX_focus_SOV_baltic_security x = -2 y = 1 - prerequisite = { focus = BFL_duifenziweifanjizhan2 } + prerequisite = { + focus = BFL_duifenziweifanjizhan2 + } relative_position_id = BFL_duifenziweifanjizhan2 cost = 10 - ai_will_do = { - factor = 10 + factor = 10 } - bypass = { - if = { - LAT = { has_capitulated = yes } - EST = { has_capitulated = yes } - LIT = { has_capitulated = yes } + AND = { + LAT = { + has_capitulated = yes + } + EST = { + has_capitulated = yes + } + LIT = { + has_capitulated = yes + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { LAT = { - country_event = BFL_event.17 + country_event = BFL_event.17 } EST = { - country_event = BFL_event.17 + country_event = BFL_event.17 } LIT = { - country_event = BFL_event.17 + country_event = BFL_event.17 } every_state = { limit = { - or = { - is_core_of = LAT - is_core_of = EST - is_core_of = LIT + OR = { + is_core_of = LAT + is_core_of = EST + is_core_of = LIT } } add_core_of = BFL } } } - focus = { + focus = { id = BFL_suoqubolan2 icon = GFX_focus_generic_polish_deal x = 0 y = 1 - prerequisite = { focus = BFL_duifenziweifanjizhan2 } + prerequisite = { + focus = BFL_duifenziweifanjizhan2 + } relative_position_id = BFL_duifenziweifanjizhan2 cost = 10 - ai_will_do = { factor = 10 } - bypass = { - POL = { has_capitulated = yes } + POL = { + has_capitulated = yes + } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { POL = { - country_event = BFL_event.19 + country_event = BFL_event.19 } add_state_core = 87 add_state_core = 98 @@ -2055,302 +2231,355 @@ focus_tree = { add_state_core = 89 } } - focus = { + focus = { id = BFL_shoufubisalabiya2 icon = GFX_focus_generic_attack_romania x = 2 y = 1 - prerequisite = { focus = BFL_duifenziweifanjizhan2 } + prerequisite = { + focus = BFL_duifenziweifanjizhan2 + } relative_position_id = BFL_duifenziweifanjizhan2 cost = 3 - ai_will_do = { factor = 10 } - bypass = { - ROM = { has_capitulated = yes } + ROM = { + has_capitulated = yes + } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { ROM = { - country_event = BFL_event.20 + country_event = BFL_event.20 } add_state_core = 80 add_state_core = 78 add_state_core = 766 } } - focus = { + focus = { id = BFL_duoqubeiou2 icon = GFX_focus_generic_scandinavia_flags x = 0 y = 1 - prerequisite = { focus = BFL_bosanxiaogu2 } - prerequisite = { focus = BFL_suoqubolan2 } - prerequisite = { focus = BFL_shoufubisalabiya2 } + prerequisite = { + focus = BFL_bosanxiaogu2 + } + prerequisite = { + focus = BFL_suoqubolan2 + } + prerequisite = { + focus = BFL_shoufubisalabiya2 + } relative_position_id = BFL_bosanxiaogu2 cost = 10 - ai_will_do = { factor = 10 } - bypass = { - or = { - if = { - has_war_with = NOR - has_war_with = SWE - has_war_with = DEN - } - if = { - NOR = { has_capitulated = yes } - SWE = { has_capitulated = yes } - DEN = { has_capitulated = yes } - } + OR = { + AND = { + has_war_with = NOR + has_war_with = SWE + has_war_with = DEN + } + AND = { + NOR = { + has_capitulated = yes + } + SWE = { + has_capitulated = yes + } + DEN = { + has_capitulated = yes + } + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -150 SWE = { - country_event = BFL_event.23 + country_event = BFL_event.23 } NOR = { - country_event = BFL_event.23 + country_event = BFL_event.23 } DEN = { - country_event = BFL_event.23 + country_event = BFL_event.23 } } } - focus = { + focus = { id = BFL_duoqutuerqi2 icon = GFX_focus_generic_attack_turkey x = 0 y = 1 - prerequisite = { focus = BFL_bosanxiaogu2 } - prerequisite = { focus = BFL_suoqubolan2 } - prerequisite = { focus = BFL_shoufubisalabiya2 } + prerequisite = { + focus = BFL_bosanxiaogu2 + } + prerequisite = { + focus = BFL_suoqubolan2 + } + prerequisite = { + focus = BFL_shoufubisalabiya2 + } relative_position_id = BFL_suoqubolan2 cost = 10 - ai_will_do = { factor = 10 } - bypass = { - or = { + OR = { has_war_with = TUR - TUR = { has_capitulated = yes } + TUR = { + has_capitulated = yes + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -100 TUR = { - country_event = BFL_event.23 + country_event = BFL_event.23 } } } - focus = { + focus = { id = BFL_cixiangnanfang2 icon = GFX_focus_TUR_treaty_of_saadabad x = 0 y = 1 - prerequisite = { focus = BFL_bosanxiaogu2 } - prerequisite = { focus = BFL_suoqubolan2 } - prerequisite = { focus = BFL_shoufubisalabiya2 } + prerequisite = { + focus = BFL_bosanxiaogu2 + } + prerequisite = { + focus = BFL_suoqubolan2 + } + prerequisite = { + focus = BFL_shoufubisalabiya2 + } relative_position_id = BFL_shoufubisalabiya2 cost = 15 - ai_will_do = { factor = 10 } - bypass = { - or = { - if = { - has_war_with = PER - has_war_with = AFG - has_war_with = IRQ - has_war_with = SAU - } - if = { - PER = { has_capitulated = yes } - AFG = { has_capitulated = yes } - IRQ = { has_capitulated = yes } - SAU = { has_capitulated = yes } - } + OR = { + AND = { + has_war_with = PER + has_war_with = AFG + has_war_with = IRQ + has_war_with = SAU + } + AND = { + PER = { + has_capitulated = yes + } + AFG = { + has_capitulated = yes + } + IRQ = { + has_capitulated = yes + } + SAU = { + has_capitulated = yes + } + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -200 PER = { - country_event = BFL_event.23 + country_event = BFL_event.23 } AFG = { - country_event = BFL_event.23 + country_event = BFL_event.23 } IRQ = { - country_event = BFL_event.23 + country_event = BFL_event.23 } SAU = { - country_event = BFL_event.23 + country_event = BFL_event.23 } } } - focus = { + focus = { id = BFL_jiejuetiexue2 icon = GFX_aflag_TIX x = -1 y = 2 - prerequisite = { focus = BFL_suoqubolan2 } - prerequisite = { focus = BFL_bosanxiaogu2 } - prerequisite = { focus = BFL_shoufubisalabiya2 } + prerequisite = { + focus = BFL_suoqubolan2 + } + prerequisite = { + focus = BFL_bosanxiaogu2 + } + prerequisite = { + focus = BFL_shoufubisalabiya2 + } relative_position_id = BFL_suoqubolan2 cost = 5 - ai_will_do = { factor = 5 } - bypass = { - or = { - has_war_with = TIX - not = { country_exists = TIX } + OR = { + has_war_with = TIX + NOT = { + country_exists = TIX + } is_in_faction_with = TIX } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = TIX type = puppet_wargoal_focus } + create_wargoal = { + target = TIX + type = puppet_wargoal_focus + } } } - focus = { + focus = { id = BFL_jiejuesadin2 icon = GFX_aflag_SAD x = 1 y = 2 - prerequisite = { focus = BFL_suoqubolan2 } - prerequisite = { focus = BFL_bosanxiaogu2 } - prerequisite = { focus = BFL_shoufubisalabiya2 } + prerequisite = { + focus = BFL_suoqubolan2 + } + prerequisite = { + focus = BFL_bosanxiaogu2 + } + prerequisite = { + focus = BFL_shoufubisalabiya2 + } relative_position_id = BFL_suoqubolan2 cost = 5 - bypass = { - or = { - has_war_with = SAD - not = { country_exists = SAD } + OR = { + has_war_with = SAD + NOT = { + country_exists = SAD + } is_in_faction_with = SAD } } - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = SAD type = puppet_wargoal_focus } + create_wargoal = { + target = SAD + type = puppet_wargoal_focus + } } } - focus = { + focus = { id = BFL_jiejuehuangjia2 icon = GFX_aflag_HUJ x = -3 y = 2 - prerequisite = { focus = BFL_suoqubolan2 } - prerequisite = { focus = BFL_bosanxiaogu2 } - prerequisite = { focus = BFL_shoufubisalabiya2 } + prerequisite = { + focus = BFL_suoqubolan2 + } + prerequisite = { + focus = BFL_bosanxiaogu2 + } + prerequisite = { + focus = BFL_shoufubisalabiya2 + } relative_position_id = BFL_suoqubolan2 cost = 5 - bypass = { - or = { + OR = { has_war_with = HUJ - not = { country_exists = HUJ } + NOT = { + country_exists = HUJ + } is_in_faction_with = HUJ } } - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = HUJ type = puppet_wargoal_focus } + create_wargoal = { + target = HUJ + type = puppet_wargoal_focus + } } } - focus = { + focus = { id = BFL_jiejueyuanwei2 icon = GFX_aflag_YUW x = 3 y = 2 - prerequisite = { focus = BFL_suoqubolan2 } - prerequisite = { focus = BFL_bosanxiaogu2 } - prerequisite = { focus = BFL_shoufubisalabiya2 } + prerequisite = { + focus = BFL_suoqubolan2 + } + prerequisite = { + focus = BFL_bosanxiaogu2 + } + prerequisite = { + focus = BFL_shoufubisalabiya2 + } relative_position_id = BFL_suoqubolan2 cost = 5 - bypass = { - or = { - has_war_with = YUW - not = { country_exists = YUW } + OR = { + has_war_with = YUW + NOT = { + country_exists = YUW + } is_in_faction_with = YUW } } - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = YUW type = puppet_wargoal_focus } + create_wargoal = { + target = YUW + type = puppet_wargoal_focus + } } } - focus = { + focus = { id = BFL_querentiaoyue3 icon = GFX_goal_molotov_ribbentrop_pact x = -8 y = 1 - prerequisite = { focus = BFL_hexieziyoudebeilian } + prerequisite = { + focus = BFL_hexieziyoudebeilian + } relative_position_id = BFL_hexieziyoudebeilian - offset = { trigger = { has_global_flag = bfl_yes_pact } x = 8 } - cost = 5 - allow_branch = { - has_global_flag = bfl_yes_pact + has_global_flag = bfl_yes_pact has_country_flag = BFL_qiabayefu_up } - - ai_will_do = { factor = 10 } - available = { has_army_manpower = { size > 1000000 } is_puppet = no } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 250 @@ -2367,47 +2596,46 @@ focus_tree = { add_ideas = BFL_dachenxieyi } } - focus = { + focus = { id = BFL_zhixintiaoyue3 icon = GFX_goal_generic_territory_or_war x = 0 y = 1 - prerequisite = { focus = BFL_querentiaoyue3 } + prerequisite = { + focus = BFL_querentiaoyue3 + } relative_position_id = BFL_querentiaoyue3 cost = 5 - ai_will_do = { factor = 100 } - available = { is_puppet = no } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { ROM = { - country_event = az_tianjiang.29 + country_event = az_tianjiang.29 } FIN = { - country_event = az_tianjiang.30 + country_event = az_tianjiang.30 } LAT = { - country_event = az_tianjiang.28 + country_event = az_tianjiang.28 } EST = { - country_event = az_tianjiang.28 + country_event = az_tianjiang.28 } LIT = { - country_event = az_tianjiang.28 + country_event = az_tianjiang.28 } every_state = { limit = { - or = { - is_core_of = LAT - is_core_of = EST - is_core_of = LIT - is_core_of = FIN + OR = { + is_core_of = LAT + is_core_of = EST + is_core_of = LIT + is_core_of = FIN } } add_core_of = BFL @@ -2417,27 +2645,26 @@ focus_tree = { add_state_core = 766 } } - focus = { + focus = { id = BFL_suoqudongbolan3 icon = GFX_focus_generic_polish_deal x = -2 y = 1 - prerequisite = { focus = BFL_querentiaoyue3 } + prerequisite = { + focus = BFL_querentiaoyue3 + } relative_position_id = BFL_querentiaoyue3 cost = 5 - ai_will_do = { factor = 100 } - available = { is_puppet = no } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { POL = { - country_event = BFL_event.21 + country_event = BFL_event.21 } add_state_core = 97 add_state_core = 784 @@ -2449,239 +2676,288 @@ focus_tree = { add_state_core = 89 } } - focus = { + focus = { id = BFL_didayinduyang3 icon = GFX_focus_TUR_treaty_of_saadabad x = 2 y = 1 - prerequisite = { focus = BFL_querentiaoyue3 } + prerequisite = { + focus = BFL_querentiaoyue3 + } relative_position_id = BFL_querentiaoyue3 cost = 5 - ai_will_do = { factor = 100 } - available = { is_puppet = no } - bypass = { - or = { - if = { - has_war_with = PER - has_war_with = AFG - } - if = { - PER = { has_capitulated = yes } - AFG = { has_capitulated = yes } - } + OR = { + AND = { + has_war_with = PER + has_war_with = AFG + } + AND = { + PER = { + has_capitulated = yes + } + AFG = { + has_capitulated = yes + } + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { PER = { - country_event = BFL_event.23 + country_event = BFL_event.23 } AFG = { - country_event = BFL_event.23 + country_event = BFL_event.23 } } } - focus = { + focus = { id = BFL_xianshou3 icon = GFX_aflag_TIX x = 0 y = 1 - prerequisite = { focus = BFL_suoqudongbolan3 } - prerequisite = { focus = BFL_zhixintiaoyue3 } - prerequisite = { focus = BFL_didayinduyang3 } + prerequisite = { + focus = BFL_suoqudongbolan3 + } + prerequisite = { + focus = BFL_zhixintiaoyue3 + } + prerequisite = { + focus = BFL_didayinduyang3 + } relative_position_id = BFL_zhixintiaoyue3 - cost = 5 - ai_will_do = { factor = 5 } - available = { is_puppet = no } - bypass = { - or = { - if = { - has_war_with = TIX - has_war_with = SAD + OR = { + AND = { + has_war_with = TIX + has_war_with = SAD + } + AND = { + TIX = { + has_capitulated = yes + } + SAD = { + has_capitulated = yes + } } - if = { - TIX = { has_capitulated = yes } - SAD = { has_capitulated = yes } - } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = TIX type = puppet_wargoal_focus } - create_wargoal = { target = SAD type = puppet_wargoal_focus } + create_wargoal = { + target = TIX + type = puppet_wargoal_focus + } + create_wargoal = { + target = SAD + type = puppet_wargoal_focus + } } } - focus = { + focus = { id = BFL_duoqujunbao3 icon = GFX_focus_generic_attack_turkey x = -3 y = 1 - prerequisite = { focus = BFL_suoqudongbolan3 } - prerequisite = { focus = BFL_zhixintiaoyue3 } - prerequisite = { focus = BFL_didayinduyang3 } + prerequisite = { + focus = BFL_suoqudongbolan3 + } + prerequisite = { + focus = BFL_zhixintiaoyue3 + } + prerequisite = { + focus = BFL_didayinduyang3 + } relative_position_id = BFL_xianshou3 cost = 5 - ai_will_do = { factor = 100 } - - - available = { is_puppet = no - or = { - not = { is_in_faction_with = TIX } - if = { - is_in_faction_with = TIX - TIX = { is_puppet = yes } + OR = { + NOT = { + is_in_faction_with = TIX + } + AND = { + is_in_faction_with = TIX + TIX = { + is_puppet = yes + } + } + TIX = { + has_capitulated = yes } - TIX = { has_capitulated = yes } } } - bypass = { - or = { + OR = { has_war_with = TUR - TUR = { has_capitulated = yes } + TUR = { + has_capitulated = yes + } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TUR = { - country_event = BFL_event.23 + country_event = BFL_event.23 } TIX = { - country_event = az_tianjiang.32 + country_event = az_tianjiang.32 } } } - focus = { + focus = { id = BFL_duoquruidian3 icon = GFX_focus_generic_attack_sweden x = 3 y = 1 - prerequisite = { focus = BFL_suoqudongbolan3 } - prerequisite = { focus = BFL_zhixintiaoyue3 } - prerequisite = { focus = BFL_didayinduyang3 } + prerequisite = { + focus = BFL_suoqudongbolan3 + } + prerequisite = { + focus = BFL_zhixintiaoyue3 + } + prerequisite = { + focus = BFL_didayinduyang3 + } relative_position_id = BFL_xianshou3 cost = 5 - ai_will_do = { factor = 100 } - bypass = { - or = { + OR = { has_war_with = SWE - SWE = { has_capitulated = yes } + SWE = { + has_capitulated = yes + } } } - available = { is_puppet = no - or = { - not = { is_in_faction_with = TIX } - if = { - is_in_faction_with = TIX - TIX = { is_puppet = yes } + OR = { + NOT = { + is_in_faction_with = TIX + } + AND = { + is_in_faction_with = TIX + TIX = { + is_puppet = yes + } + } + TIX = { + has_capitulated = yes } - TIX = { has_capitulated = yes } } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { SWE = { - country_event = BFL_event.23 + country_event = BFL_event.23 } } } - focus = { + focus = { id = BFL_jiejuehuangjia3 icon = GFX_aflag_HUJ x = 1 y = 1 - prerequisite = { focus = BFL_suoqudongbolan3 } - prerequisite = { focus = BFL_zhixintiaoyue3 } - prerequisite = { focus = BFL_didayinduyang3 } + prerequisite = { + focus = BFL_suoqudongbolan3 + } + prerequisite = { + focus = BFL_zhixintiaoyue3 + } + prerequisite = { + focus = BFL_didayinduyang3 + } relative_position_id = BFL_xianshou3 cost = 5 - ai_will_do = { factor = 5 } - available = { - or = { - not = { has_war_with = TIX } + OR = { + NOT = { + has_war_with = TIX + } } } - bypass = { - or = { + OR = { has_war_with = HUJ - not = { country_exists = HUJ } + NOT = { + country_exists = HUJ + } is_in_faction_with = HUJ } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = HUJ type = puppet_wargoal_focus } + create_wargoal = { + target = HUJ + type = puppet_wargoal_focus + } } } - focus = { + focus = { id = BFL_jiejueyuanwei3 icon = GFX_aflag_YUW x = -1 y = 1 - prerequisite = { focus = BFL_suoqudongbolan3 } - prerequisite = { focus = BFL_zhixintiaoyue3 } - prerequisite = { focus = BFL_didayinduyang3 } + prerequisite = { + focus = BFL_suoqudongbolan3 + } + prerequisite = { + focus = BFL_zhixintiaoyue3 + } + prerequisite = { + focus = BFL_didayinduyang3 + } relative_position_id = BFL_xianshou3 cost = 5 - ai_will_do = { factor = 5 } - bypass = { - or = { - has_war_with = YUW - not = { country_exists = YUW } + OR = { + has_war_with = YUW + NOT = { + country_exists = YUW + } is_in_faction_with = YUW } } - available = { - or = { - not = { has_war_with = TIX } + OR = { + NOT = { + has_war_with = TIX + } } is_puppet = no } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = YUW type = puppet_wargoal_focus } + create_wargoal = { + target = YUW + type = puppet_wargoal_focus + } } } focus = { @@ -2689,20 +2965,19 @@ focus_tree = { icon = GFX_focus_SOV_mobilization_plan x = 11 y = 1 - prerequisite = { focus = BFL_huodelindaoquan } + prerequisite = { + focus = BFL_huodelindaoquan + } relative_position_id = BFL_huodelindaoquan cost = 5 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - army_experience = 30 - air_experience = 30 - navy_experience = 30 - + army_experience = 30 + air_experience = 30 + navy_experience = 30 } } focus = { @@ -2710,17 +2985,17 @@ focus_tree = { icon = GFX_goal_generic_production2 x = -3 y = 1 - prerequisite = { focus = BFL_junshigaige } + prerequisite = { + focus = BFL_junshigaige + } relative_position_id = BFL_junshigaige cost = 10 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - random_owned_controlled_state = { + random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex @@ -2769,22 +3044,23 @@ focus_tree = { icon = GFX_goal_generic_axis_build_infantry x = -2.5 y = 1 - prerequisite = { focus = BFL_jianzaojungong } + prerequisite = { + focus = BFL_jianzaojungong + } relative_position_id = BFL_jianzaojungong cost = 5 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - swap_ideas = { - remove_idea = BFL_zhengzhihuajundui0 - add_idea = BFL_zhengzhihuajundui1 } - add_doctrine_cost_reduction = { + swap_ideas = { + remove_idea = BFL_zhengzhihuajundui0 + add_idea = BFL_zhengzhihuajundui1 + } + add_doctrine_cost_reduction = { name = "陆军学说" - cost_reduction = 0.50 + cost_reduction = 0.5 uses = 1 category = land_doctrine } @@ -2795,17 +3071,17 @@ focus_tree = { icon = GFX_goal_generic_small_arms x = -1 y = 1 - prerequisite = { focus = BFL_yanjiulujun } + prerequisite = { + focus = BFL_yanjiulujun + } relative_position_id = BFL_yanjiulujun cost = 10 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_tech_bonus = { + add_tech_bonus = { name = "步兵装备" bonus = 1 uses = 1 @@ -2826,17 +3102,17 @@ focus_tree = { icon = GFX_goal_generic_army_motorized x = 1 y = 1 - prerequisite = { focus = BFL_yanjiulujun } + prerequisite = { + focus = BFL_yanjiulujun + } relative_position_id = BFL_yanjiulujun cost = 5 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_tech_bonus = { + add_tech_bonus = { name = "步兵装备" bonus = 1 uses = 1 @@ -2850,18 +3126,18 @@ focus_tree = { icon = GFX_goal_generic_army_artillery2 x = -1 y = 1 - prerequisite = { focus = BFL_buqiangyanjiu } + prerequisite = { + focus = BFL_buqiangyanjiu + } relative_position_id = BFL_buqiangyanjiu cost = 10 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -100 - add_tech_bonus = { + add_tech_bonus = { name = "先进火炮" bonus = 1 uses = 1 @@ -2875,19 +3151,21 @@ focus_tree = { icon = GFX_goal_generic_army_tanks x = 1 y = 1 - prerequisite = { focus = BFL_buqiangyanjiu } - prerequisite = { focus = BFL_kacheyanjiu } + prerequisite = { + focus = BFL_buqiangyanjiu + } + prerequisite = { + focus = BFL_kacheyanjiu + } relative_position_id = BFL_buqiangyanjiu cost = 10 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -100 - add_tech_bonus = { + add_tech_bonus = { name = "先进坦克" bonus = 1 uses = 1 @@ -2901,18 +3179,20 @@ focus_tree = { icon = GFX_goal_generic_build_tank x = 1 y = 1 - prerequisite = { focus = BFL_buqiangyanjiu } - prerequisite = { focus = BFL_kacheyanjiu } + prerequisite = { + focus = BFL_buqiangyanjiu + } + prerequisite = { + focus = BFL_kacheyanjiu + } relative_position_id = BFL_kacheyanjiu cost = 10 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_tech_bonus = { + add_tech_bonus = { name = "机械化装备" bonus = 1 uses = 2 @@ -2926,23 +3206,31 @@ focus_tree = { icon = GFX_focus_generic_military_mission x = 0 y = 1 - prerequisite = { focus = BFL_huopaoyanjiu } - prerequisite = { focus = BFL_zhuangjiayanjiu } - prerequisite = { focus = BFL_jixiehuayanjiu } + prerequisite = { + focus = BFL_huopaoyanjiu + } + prerequisite = { + focus = BFL_zhuangjiayanjiu + } + prerequisite = { + focus = BFL_jixiehuayanjiu + } relative_position_id = BFL_zhuangjiayanjiu cost = 10 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - swap_ideas = { - remove_idea = BFL_zhengzhihuajundui1 - add_idea = BFL_xinglujun } + swap_ideas = { + remove_idea = BFL_zhengzhihuajundui1 + add_idea = BFL_xinglujun + } TY_lujunliluntupo = yes - set_technology = { masterful_blitz_for_bfl = 1 popup = no } + set_technology = { + masterful_blitz_for_bfl = 1 + popup = no + } } } focus = { @@ -2950,15 +3238,17 @@ focus_tree = { icon = GFX_focus_generic_tank_production x = -1 y = 1 - prerequisite = { focus = BFL_xinlujun } + prerequisite = { + focus = BFL_xinlujun + } relative_position_id = BFL_xinlujun - mutually_exclusive = { focus = BFL_lajizhuangbei } + mutually_exclusive = { + focus = BFL_lajizhuangbei + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BFL_zhiliangdiyi @@ -2969,15 +3259,17 @@ focus_tree = { icon = GFX_focus_usa_reestablish_the_gold_standard x = 1 y = 1 - prerequisite = { focus = BFL_xinlujun } + prerequisite = { + focus = BFL_xinlujun + } relative_position_id = BFL_xinlujun - mutually_exclusive = { focus = BFL_haozhuangbei } + mutually_exclusive = { + focus = BFL_haozhuangbei + } cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BFL_zhiliangmeiyong @@ -2988,22 +3280,23 @@ focus_tree = { icon = GFX_goal_generic_build_airforce x = 2.5 y = 1 - prerequisite = { focus = BFL_jianzaojungong } + prerequisite = { + focus = BFL_jianzaojungong + } relative_position_id = BFL_jianzaojungong cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - swap_ideas = { - remove_idea = BFL_buchengshudekongjun - add_idea = BFL_buchengshudekongjun_2 } - add_doctrine_cost_reduction = { + swap_ideas = { + remove_idea = BFL_buchengshudekongjun + add_idea = BFL_buchengshudekongjun_2 + } + add_doctrine_cost_reduction = { name = "空军学说" - cost_reduction = 0.50 + cost_reduction = 0.5 uses = 1 category = air_doctrine } @@ -3011,49 +3304,49 @@ focus_tree = { } focus = { id = BFL_xiaoxinfeijiyanjiu - icon = GFX_goal_generic_air_fighter2 + icon = GFX_goal_generic_air_fighter2 x = 0 y = 1 - prerequisite = { focus = BFL_yanjiukongjun } + prerequisite = { + focus = BFL_yanjiukongjun + } relative_position_id = BFL_yanjiukongjun cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { - name = "小型飞机" - bonus = 1 - uses = 1 - category = light_air - ahead_reduction = 1 + name = "小型飞机" + bonus = 1 + uses = 1 + category = light_air + ahead_reduction = 1 } } } focus = { id = BFL_zhongxinfeijiyanjiu - icon = GFX_goal_generic_air_fighter + icon = GFX_goal_generic_air_fighter x = -1 y = 1 - prerequisite = { focus = BFL_xiaoxinfeijiyanjiu } + prerequisite = { + focus = BFL_xiaoxinfeijiyanjiu + } relative_position_id = BFL_xiaoxinfeijiyanjiu cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { - name = "中型飞机" - bonus = 1 - uses = 1 - category = medium_air - ahead_reduction = 1 + name = "中型飞机" + bonus = 1 + uses = 1 + category = medium_air + ahead_reduction = 1 } } } @@ -3062,22 +3355,22 @@ focus_tree = { icon = GFX_goal_generic_air_bomber x = 1 y = 1 - prerequisite = { focus = BFL_xiaoxinfeijiyanjiu } + prerequisite = { + focus = BFL_xiaoxinfeijiyanjiu + } relative_position_id = BFL_xiaoxinfeijiyanjiu cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { - name = "轰炸机" - bonus = 1 - uses = 1 - category = heavy_air - ahead_reduction = 1 + name = "轰炸机" + bonus = 1 + uses = 1 + category = heavy_air + ahead_reduction = 1 } } } @@ -3086,20 +3379,23 @@ focus_tree = { icon = GFX_focus_generic_aircraft_production x = 1 y = 1 - prerequisite = { focus = BFL_zhongxinfeijiyanjiu } - prerequisite = { focus = BFL_daxinfeijiyanjiu } + prerequisite = { + focus = BFL_zhongxinfeijiyanjiu + } + prerequisite = { + focus = BFL_daxinfeijiyanjiu + } relative_position_id = BFL_zhongxinfeijiyanjiu cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - swap_ideas = { - remove_idea = BFL_buchengshudekongjun_2 - add_idea = BFL_xingkongjun } + swap_ideas = { + remove_idea = BFL_buchengshudekongjun_2 + add_idea = BFL_xingkongjun + } TY_kongjunliluntupo = yes } } @@ -3108,35 +3404,35 @@ focus_tree = { icon = GFX_focus_research x = 0 y = 1 - prerequisite = { focus = BFL_junshigaige } + prerequisite = { + focus = BFL_junshigaige + } relative_position_id = BFL_junshigaige cost = 10 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_research_slot = 1 - } + } } focus = { id = BFL_jianzaochuanwu icon = GFX_goal_generic_construct_naval_dockyard x = 3 y = 1 - prerequisite = { focus = BFL_junshigaige } + prerequisite = { + focus = BFL_junshigaige + } relative_position_id = BFL_junshigaige cost = 10 - ai_will_do = { factor = 3 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - random_owned_controlled_state = { + random_owned_controlled_state = { limit = { free_building_slots = { building = dockyard @@ -3183,17 +3479,16 @@ focus_tree = { focus = { id = BFL_zhongshihaijun1 icon = GFX_goal_generic_navy_doctrines_tactics - x = 0 y = 1 - prerequisite = { focus = BFL_jianzaochuanwu } + prerequisite = { + focus = BFL_jianzaochuanwu + } relative_position_id = BFL_jianzaochuanwu cost = 5 - ai_will_do = { factor = 3 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 80 @@ -3203,25 +3498,25 @@ focus_tree = { uses = 1 category = naval_doctrine } - swap_ideas = { - remove_idea = BFL_feilabukandehaijun - add_idea = BFL_feilabukandehaijun_2 } + swap_ideas = { + remove_idea = BFL_feilabukandehaijun + add_idea = BFL_feilabukandehaijun_2 + } } } focus = { id = BFL_xiaoquzhujian1 icon = GFX_focus_generic_destroyer - prerequisite = { focus = BFL_zhongshihaijun1 } + prerequisite = { + focus = BFL_zhongshihaijun1 + } relative_position_id = BFL_zhongshihaijun1 x = -1 y = 1 - cost = 5 - ai_will_do = { factor = 3 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -3235,17 +3530,16 @@ focus_tree = { focus = { id = BFL_xunyangjian1 icon = GFX_focus_generic_cruiser2 - prerequisite = { focus = BFL_zhongshihaijun1 } + prerequisite = { + focus = BFL_zhongshihaijun1 + } relative_position_id = BFL_zhongshihaijun1 x = 1 y = 1 - cost = 5 - ai_will_do = { factor = 3 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -3260,18 +3554,19 @@ focus_tree = { focus = { id = BFL_zhanliedajieda1 icon = GFX_focus_generic_navy_battleship2 - prerequisite = { focus = BFL_xiaoquzhujian1 } - prerequisite = { focus = BFL_xunyangjian1 } + prerequisite = { + focus = BFL_xiaoquzhujian1 + } + prerequisite = { + focus = BFL_xunyangjian1 + } relative_position_id = BFL_xiaoquzhujian1 x = 1 y = 1 - cost = 5 - ai_will_do = { factor = 3 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -3285,17 +3580,16 @@ focus_tree = { focus = { id = BFL_hangmumama1 icon = GFX_goal_generic_navy_carrier - prerequisite = { focus = BFL_zhanliedajieda1 } + prerequisite = { + focus = BFL_zhanliedajieda1 + } relative_position_id = BFL_zhanliedajieda1 x = 0 y = 1 - cost = 5 - ai_will_do = { factor = 3 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -3309,22 +3603,22 @@ focus_tree = { focus = { id = BFL_xinhaijun icon = GFX_goal_generic_navy_battleship - prerequisite = { focus = BFL_hangmumama1 } + prerequisite = { + focus = BFL_hangmumama1 + } relative_position_id = BFL_hangmumama1 x = 0 y = 1 - cost = 10 - ai_will_do = { factor = 3 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - swap_ideas = { - remove_idea = BFL_feilabukandehaijun_2 - add_idea = BFL_xinghaijun } + swap_ideas = { + remove_idea = BFL_feilabukandehaijun_2 + add_idea = BFL_xinghaijun + } TY_haijunliluntupo = yes } } @@ -3333,27 +3627,26 @@ focus_tree = { icon = GFX_focus_SOV_mobilization_plan x = -5.5 y = 1 - prerequisite = { focus = BFL_huodelindaoquan } + prerequisite = { + focus = BFL_huodelindaoquan + } relative_position_id = BFL_huodelindaoquan cost = 5 - ai_will_do = { factor = 5 } - available = { - is_neighbor_of = TIX - not = { has_war_with = TIX } + is_neighbor_of = TIX + NOT = { + has_war_with = TIX + } } - allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - bypass = { has_war_with = TIX } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_war_support = 0.2 @@ -3364,244 +3657,250 @@ focus_tree = { icon = GFX_goal_generic_fortify_city x = 0 y = 1 - prerequisite = { focus = BFL_zhunbeitiexue } + prerequisite = { + focus = BFL_zhunbeitiexue + } relative_position_id = BFL_zhunbeitiexue - mutually_exclusive = { focus = BFL_danggou } + mutually_exclusive = { + focus = BFL_danggou + } cost = 10 - ai_will_do = { factor = 20 } - available = { - not = { is_in_faction_with = TIX } + NOT = { + is_in_faction_with = TIX + } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - if = { limit = { has_global_flag = bfl_yes_pact } + if = { + limit = { + has_global_flag = bfl_yes_pact + } 189 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 814 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 97 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 94 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 93 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 91 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 89 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 80 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 78 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 766 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } } - else_if = { + else = { 189 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 814 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 97 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 98 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 87 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 762 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 72 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 88 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } - 89 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + 89 = { + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 80 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 78 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } 766 = { - add_building_construction = { - type = bunker - province = { - all_provinces = yes + add_building_construction = { + type = bunker + province = { + all_provinces = yes + } + level = 2 + instant_build = yes } - level = 2 - instant_build = yes } - } } } } @@ -3610,21 +3909,22 @@ focus_tree = { icon = GFX_focus_SOV_the_defense_of_moscow x = 0 y = 1 - prerequisite = { focus = BFL_jianzaobaolei } + prerequisite = { + focus = BFL_jianzaobaolei + } relative_position_id = BFL_jianzaobaolei cost = 10 - ai_will_do = { factor = 10 } - available = { - not = { is_in_faction_with = TIX } + NOT = { + is_in_faction_with = TIX + } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - 808 = { + 808 = { add_building_construction = { type = bunker province = 9340 @@ -3637,8 +3937,8 @@ focus_tree = { level = 4 instant_build = yes } - } - 810 = { + } + 810 = { add_building_construction = { type = bunker province = 7482 @@ -3657,8 +3957,8 @@ focus_tree = { level = 4 instant_build = yes } - } - 207 = { + } + 207 = { add_building_construction = { type = bunker province = 3219 @@ -3695,8 +3995,8 @@ focus_tree = { level = 4 instant_build = yes } - } - 241 = { + } + 241 = { add_building_construction = { type = bunker province = 6354 @@ -3727,8 +4027,8 @@ focus_tree = { level = 4 instant_build = yes } - } - 193 = { + } + 193 = { add_building_construction = { type = bunker province = 546 @@ -3741,8 +4041,8 @@ focus_tree = { level = 4 instant_build = yes } - } - 202 = { + } + 202 = { add_building_construction = { type = bunker province = 525 @@ -3767,8 +4067,8 @@ focus_tree = { level = 4 instant_build = yes } - } - 203 = { + } + 203 = { add_building_construction = { type = bunker province = 11530 @@ -3781,8 +4081,8 @@ focus_tree = { level = 4 instant_build = yes } - } - 259 = { + } + 259 = { add_building_construction = { type = bunker province = 6495 @@ -3795,8 +4095,8 @@ focus_tree = { level = 4 instant_build = yes } - } - 226 = { + } + 226 = { add_building_construction = { type = bunker province = 9463 @@ -3815,8 +4115,8 @@ focus_tree = { level = 6 instant_build = yes } - } - 200 = { + } + 200 = { add_building_construction = { type = bunker province = 11405 @@ -3829,8 +4129,8 @@ focus_tree = { level = 4 instant_build = yes } - } - 196 = { + } + 196 = { add_building_construction = { type = bunker province = 3573 @@ -3849,7 +4149,7 @@ focus_tree = { level = 4 instant_build = yes } - } + } } } focus = { @@ -3857,27 +4157,33 @@ focus_tree = { icon = GFX_goal_generic_forceful_treaty x = -2 y = 1 - prerequisite = { focus = BFL_zhunbeitiexue } + prerequisite = { + focus = BFL_zhunbeitiexue + } relative_position_id = BFL_zhunbeitiexue - mutually_exclusive = { focus = BFL_jianzaobaolei } + mutually_exclusive = { + focus = BFL_jianzaobaolei + } cost = 5 - ai_will_do = { factor = 5 } - available = { - not = { is_in_faction_with = TIX } - not = { has_war_with = TIX } - TIX = { is_puppet = no } + NOT = { + is_in_faction_with = TIX + } + NOT = { + has_war_with = TIX + } + TIX = { + is_puppet = no + } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TIX = { - country_event = BFL_event.25 + country_event = BFL_event.25 } } - } -} \ No newline at end of file +} diff --git a/src/common/national_focus/buli_focus.txt b/src/common/national_focus/buli_focus.txt index 48bd78c..8818d88 100755 --- a/src/common/national_focus/buli_focus.txt +++ b/src/common/national_focus/buli_focus.txt @@ -1,52 +1,44 @@ focus_tree = { id = buli_focus - country = { factor = 0 - modifier = { add = 10 tag = BLI } - } - default = no - focus = { id = BLI_daoyuguihua icon = GFX_goal_generic_construct_civ_factory x = 3 y = 0 - cost = 5 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - 270 = { add_extra_state_shared_building_slots = 10 } + 270 = { + add_extra_state_shared_building_slots = 10 + } } } - focus = { id = BLI_yanjiugaocengfangwujianzaojishu icon = GFX_focus_spa_the_spanish_miracle x = 0 y = 1 - prerequisite = { focus = BLI_daoyuguihua } + prerequisite = { + focus = BLI_daoyuguihua + } relative_position_id = BLI_daoyuguihua cost = 10 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_tech_bonus = { name = "房屋建造技术" bonus = 1.5 @@ -71,15 +63,13 @@ focus_tree = { y = 0 relative_position_id = BLI_daoyuguihua cost = 10 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - 270 = { - add_extra_state_shared_building_slots = 5 + 270 = { + add_extra_state_shared_building_slots = 5 set_state_category = city } add_tech_bonus = { @@ -97,20 +87,22 @@ focus_tree = { icon = GFX_focus_generic_industry_3 x = 0 y = 1 - prerequisite = { focus = BLI_tianhaizaolu } + prerequisite = { + focus = BLI_tianhaizaolu + } relative_position_id = BLI_tianhaizaolu - cost = 7 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_offsite_building = { type = industrial_complex level = 4 } - 270 = { - add_extra_state_shared_building_slots = 5 + add_offsite_building = { + type = industrial_complex + level = 4 + } + 270 = { + add_extra_state_shared_building_slots = 5 add_building_construction = { type = infrastructure level = 2 @@ -124,32 +116,41 @@ focus_tree = { icon = GFX_goal_generic_production x = 0 y = 1 - prerequisite = { focus = BLI_huangdaoqiusheng } + prerequisite = { + focus = BLI_huangdaoqiusheng + } relative_position_id = BLI_huangdaoqiusheng available = { - or = { - is_ai = yes - if = { - OR = { - has_tech = concentrated_industry3 - has_tech = dispersed_industry3 + OR = { + is_ai = yes + AND = { + OR = { + has_tech = concentrated_industry3 + has_tech = dispersed_industry3 + } + has_tech = construction3 } - has_tech = construction3 } - } } cost = 15 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_offsite_building = { type = industrial_complex level = 3 } - add_offsite_building = { type = arms_factory level = 2 } - add_offsite_building = { type = dockyard level = 4 } - 270 = { + add_offsite_building = { + type = industrial_complex + level = 3 + } + add_offsite_building = { + type = arms_factory + level = 2 + } + add_offsite_building = { + type = dockyard + level = 4 + } + 270 = { set_state_category = megalopolis add_extra_state_shared_building_slots = 25 } @@ -164,18 +165,18 @@ focus_tree = { icon = GFX_focus_eng_concessions_to_the_trade_unions x = 1 y = 1 - prerequisite = { focus = BLI_dixiagongdian } + prerequisite = { + focus = BLI_dixiagongdian + } relative_position_id = BLI_dixiagongdian cost = 5 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_timed_idea = { - idea = BLI_ymqrz + idea = BLI_ymqrz days = 360 } 270 = { @@ -193,19 +194,28 @@ focus_tree = { icon = GFX_goal_generic_construct_civ_factory x = -1 y = 1 - prerequisite = { focus = BLI_dixiagongdian } + prerequisite = { + focus = BLI_dixiagongdian + } relative_position_id = BLI_dixiagongdian cost = 10 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_offsite_building = { type = industrial_complex level = 8 } - add_offsite_building = { type = arms_factory level = 6 } - add_offsite_building = { type = dockyard level = 10 } + add_offsite_building = { + type = industrial_complex + level = 8 + } + add_offsite_building = { + type = arms_factory + level = 6 + } + add_offsite_building = { + type = dockyard + level = 10 + } add_ideas = BLI_aqdddgc } } @@ -214,14 +224,14 @@ focus_tree = { icon = GFX_goal_generic_construction2 x = 0 y = 1 - prerequisite = { focus = BLI_yanjiugaocengfangwujianzaojishu } + prerequisite = { + focus = BLI_yanjiugaocengfangwujianzaojishu + } relative_position_id = BLI_yanjiugaocengfangwujianzaojishu cost = 10 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -233,20 +243,19 @@ focus_tree = { } } } - focus = { - id = BLI_mofangkuangchang + id = BLI_mofangkuangchang icon = GFX_focus_xinzhimofang - x = -1 + x = -1 y = 1 - prerequisite = { focus = BLI_wakuangjishu } + prerequisite = { + focus = BLI_wakuangjishu + } relative_position_id = BLI_wakuangjishu cost = 10 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { set_global_flag = BLI_bulijianzaomofangkuangjing @@ -261,27 +270,29 @@ focus_tree = { 270 = { set_state_flag = mofangkuangchang } - news_event = aznews.1001 + news_event = aznews.1001 custom_effect_tooltip = BLI_mofangkuangchang_effect_tooltip } } - focus = { id = BLI_goumaiziyuan icon = GFX_goal_generic_trade x = 1 y = 1 - prerequisite = { focus = BLI_wakuangjishu } + prerequisite = { + focus = BLI_wakuangjishu + } relative_position_id = BLI_wakuangjishu cost = 3 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_timed_idea = { idea = BLI_zfzyfy days = 90 } + add_timed_idea = { + idea = BLI_zfzyfy + days = 90 + } add_political_power = -250 swap_ideas = { remove_idea = BLI_ziyuankuifa @@ -312,18 +323,23 @@ focus_tree = { icon = GFX_focus_generic_tank_production x = 1 y = 1 - prerequisite = { focus = BLI_zhongyaosheshibanqian } - prerequisite = { focus = BLI_goumaiziyuan } + prerequisite = { + focus = BLI_zhongyaosheshibanqian + } + prerequisite = { + focus = BLI_goumaiziyuan + } relative_position_id = BLI_goumaiziyuan cost = 10 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_offsite_building = { type = arms_factory level = 7 } + add_offsite_building = { + type = arms_factory + level = 7 + } } } focus = { @@ -331,17 +347,20 @@ focus_tree = { icon = GFX_focus_generic_little_entente x = -1 y = 1 - prerequisite = { focus = BLI_bulijungongye } + prerequisite = { + focus = BLI_bulijungongye + } relative_position_id = BLI_bulijungongye cost = 10 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_offsite_building = { type = arms_factory level = 5 } + add_offsite_building = { + type = arms_factory + level = 5 + } } } focus = { @@ -349,17 +368,20 @@ focus_tree = { icon = GFX_goal_generic_construct_naval_dockyard x = 1 y = 1 - prerequisite = { focus = BLI_bulijungongye } + prerequisite = { + focus = BLI_bulijungongye + } relative_position_id = BLI_bulijungongye cost = 10 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_offsite_building = { type = dockyard level = 5 } + add_offsite_building = { + type = dockyard + level = 5 + } } } focus = { @@ -367,15 +389,15 @@ focus_tree = { icon = GFX_goal_generic_amphibious_assault x = 1 y = 1 - prerequisite = { focus = BLI_lujunweizhu focus = BLI_haijunchuantong } + prerequisite = { + focus = BLI_lujunweizhu + focus = BLI_haijunchuantong + } relative_position_id = BLI_lujunweizhu - cost = 5 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -391,14 +413,14 @@ focus_tree = { icon = GFX_focus_generic_little_entente x = -1 y = 1 - prerequisite = { focus = BLI_lujunweizhu } + prerequisite = { + focus = BLI_lujunweizhu + } relative_position_id = BLI_lujunweizhu cost = 10 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_gdzbzz @@ -409,37 +431,31 @@ focus_tree = { icon = GFX_goal_continuous_naval_production x = 1 y = 1 - prerequisite = { focus = BLI_haijunchuantong } + prerequisite = { + focus = BLI_haijunchuantong + } relative_position_id = BLI_haijunchuantong - cost = 10 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { remove_idea = BLI_blzcs add_idea = BLI_blzcs2 } - } + } } - - focus = { id = BLI_fazhandisanchanye icon = GFX_goal_generic_consumer_goods x = 12 y = 0 - cost = 6 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 @@ -448,17 +464,16 @@ focus_tree = { focus = { id = BLI_lvyoushengdi icon = GFX_focus_generic_royal_wedding - prerequisite = { focus = BLI_fazhandisanchanye } + prerequisite = { + focus = BLI_fazhandisanchanye + } relative_position_id = BLI_fazhandisanchanye x = -2 y = 1 - cost = 10 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_bllygs @@ -467,17 +482,16 @@ focus_tree = { focus = { id = BLI_huanqiulvxingfuwu icon = GFX_goal_generic_amphibious_assault - prerequisite = { focus = BLI_lvyoushengdi } - relative_position_id = BLI_lvyoushengdi + prerequisite = { + focus = BLI_lvyoushengdi + } + relative_position_id = BLI_lvyoushengdi x = 0 y = 1 - cost = 10 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { @@ -489,17 +503,16 @@ focus_tree = { focus = { id = BLI_haiwaiyinhang icon = GFX_focus_mex_privatisation - prerequisite = { focus = BLI_fazhandisanchanye } + prerequisite = { + focus = BLI_fazhandisanchanye + } relative_position_id = BLI_fazhandisanchanye x = 2 y = 1 - cost = 7 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_blyh @@ -508,7 +521,9 @@ focus_tree = { focus = { id = BLI_jianniangmendejinku icon = GFX_focus_usa_reestablish_the_gold_standard - prerequisite = { focus = BLI_haiwaiyinhang } + prerequisite = { + focus = BLI_haiwaiyinhang + } relative_position_id = BLI_haiwaiyinhang x = 0 y = 1 @@ -516,21 +531,20 @@ focus_tree = { has_completed_focus = BLI_dixiagongdian } cost = 5 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { every_country = { - limit = { shijianniangguojia_trigger = yes } + limit = { + shijianniangguojia_trigger = yes + } add_opinion_modifier = { target = BLI modifier = BLI_jnmdgx - } + } } - swap_ideas = { remove_idea = BLI_blyh add_idea = BLI_blyh2 @@ -540,16 +554,16 @@ focus_tree = { focus = { id = BLI_fanchuanjiudian icon = GFX_goal_generic_construct_infrastructure - prerequisite = { focus = BLI_fazhandisanchanye } + prerequisite = { + focus = BLI_fazhandisanchanye + } relative_position_id = BLI_fazhandisanchanye x = 0 y = 1 cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.2 @@ -567,39 +581,39 @@ focus_tree = { focus = { id = BLI_taipingyangshangdemingzhu icon = GFX_focus_GRE_a_land_of_mountains - prerequisite = { focus = BLI_fanchuanjiudian } - prerequisite = { focus = BLI_huanqiulvxingfuwu } - prerequisite = { focus = BLI_jianniangmendejinku } + prerequisite = { + focus = BLI_fanchuanjiudian + } + prerequisite = { + focus = BLI_huanqiulvxingfuwu + } + prerequisite = { + focus = BLI_jianniangmendejinku + } relative_position_id = BLI_fanchuanjiudian x = 0 y = 2 cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = BLI_tpyzg + add_ideas = BLI_tpyzg 270 = { set_state_name = "耀光明珠城" - } + } } } - focus = { id = BLI_bulisanjutoudiyicihuiyi icon = GFX_focus_generic_treaty x = 32 y = 0 - cost = 5 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 @@ -617,16 +631,16 @@ focus_tree = { x = -4 y = 1 relative_position_id = BLI_bulisanjutoudiyicihuiyi - prerequisite = { focus = BLI_bulisanjutoudiyicihuiyi } + prerequisite = { + focus = BLI_bulisanjutoudiyicihuiyi + } mutually_exclusive = { focus = BLI_yuanyanghaijun } cost = 7 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_jhfy @@ -638,14 +652,14 @@ focus_tree = { x = 0 y = 1 relative_position_id = BLI_jinhaifangyu - prerequisite = { focus = BLI_jinhaifangyu focus = BLI_yuanyanghaijun } - + prerequisite = { + focus = BLI_jinhaifangyu + focus = BLI_yuanyanghaijun + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -663,16 +677,16 @@ focus_tree = { x = -2 y = 1 relative_position_id = BLI_bulisanjutoudiyicihuiyi - prerequisite = { focus = BLI_bulisanjutoudiyicihuiyi } + prerequisite = { + focus = BLI_bulisanjutoudiyicihuiyi + } mutually_exclusive = { focus = BLI_jinhaifangyu } cost = 7 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_yyhj @@ -684,14 +698,14 @@ focus_tree = { x = 0 y = 1 relative_position_id = BLI_yuanyanghaijun - prerequisite = { focus = BLI_jinhaifangyu focus = BLI_yuanyanghaijun } - + prerequisite = { + focus = BLI_jinhaifangyu + focus = BLI_yuanyanghaijun + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -705,24 +719,24 @@ focus_tree = { } } focus = { - id = BLI_jujiandapao + id = BLI_jujiandapao icon = GFX_focus_generic_navy_battleship2 x = 0 y = 1 relative_position_id = BLI_fazhanquzhujian - prerequisite = { focus = BLI_fazhanquzhujian focus = BLI_fazhanxunyangjian } + prerequisite = { + focus = BLI_fazhanquzhujian + focus = BLI_fazhanxunyangjian + } mutually_exclusive = { focus = BLI_hangmudeshidai } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_tech_bonus = { name = "巨舰带炮" bonus = 2 @@ -730,7 +744,6 @@ focus_tree = { category = bb_tech ahead_reduction = 1.5 } - } } focus = { @@ -739,19 +752,19 @@ focus_tree = { x = 2 y = 1 relative_position_id = BLI_fazhanquzhujian - prerequisite = { focus = BLI_fazhanquzhujian focus = BLI_fazhanxunyangjian } + prerequisite = { + focus = BLI_fazhanquzhujian + focus = BLI_fazhanxunyangjian + } mutually_exclusive = { focus = BLI_jujiandapao } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_tech_bonus = { name = "航母的时代" bonus = 2 @@ -759,7 +772,6 @@ focus_tree = { category = cv_tech ahead_reduction = 1.5 } - } } focus = { @@ -768,16 +780,17 @@ focus_tree = { x = 0 y = 1 relative_position_id = BLI_jujiandapao - prerequisite = { focus = BLI_jujiandapao focus = BLI_hangmudeshidai } + prerequisite = { + focus = BLI_jujiandapao + focus = BLI_hangmudeshidai + } mutually_exclusive = { focus = BLI_yanqingsifang } cost = 20 - available = { is_ai = NO } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 500 @@ -787,18 +800,18 @@ focus_tree = { limit = { shijianniangguojia_trigger = yes is_ai = yes - NOT = { + NOT = { OR = { tag = BLI tag = BOW tag = SHO tag = SIR - } + } } } random_unit_leader = { limit = { - has_unit_leader_flag = chushijianniang + has_character_flag = chushijianniang is_field_marshal = no } set_nationality = BLI @@ -808,18 +821,18 @@ focus_tree = { limit = { shijianniangguojia_trigger = yes is_ai = yes - NOT = { + NOT = { OR = { tag = BLI tag = BOW tag = SHO tag = SIR - } + } } } random_unit_leader = { limit = { - has_unit_leader_flag = chushijianniang + has_character_flag = chushijianniang is_field_marshal = no } set_nationality = BLI @@ -829,18 +842,18 @@ focus_tree = { limit = { shijianniangguojia_trigger = yes is_ai = yes - NOT = { + NOT = { OR = { tag = BLI tag = BOW tag = SHO tag = SIR - } + } } } random_unit_leader = { limit = { - has_unit_leader_flag = chushijianniang + has_character_flag = chushijianniang is_field_marshal = no } set_nationality = BLI @@ -855,16 +868,17 @@ focus_tree = { x = 2 y = 1 relative_position_id = BLI_jujiandapao - prerequisite = { focus = BLI_jujiandapao focus = BLI_hangmudeshidai } + prerequisite = { + focus = BLI_jujiandapao + focus = BLI_hangmudeshidai + } mutually_exclusive = { focus = BLI_shijiexunyou } cost = 20 - available = { is_ai = NO } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 1000 @@ -874,18 +888,18 @@ focus_tree = { limit = { shijianniangguojia_trigger = yes is_ai = yes - NOT = { + NOT = { OR = { tag = BLI tag = BOW tag = SHO tag = SIR - } + } } } random_unit_leader = { limit = { - has_unit_leader_flag = chushijianniang + has_character_flag = chushijianniang is_field_marshal = no } set_nationality = BLI @@ -895,18 +909,18 @@ focus_tree = { limit = { shijianniangguojia_trigger = yes is_ai = yes - NOT = { + NOT = { OR = { tag = BLI tag = BOW tag = SHO tag = SIR - } + } } } random_unit_leader = { limit = { - has_unit_leader_flag = chushijianniang + has_character_flag = chushijianniang is_field_marshal = no } set_nationality = BLI @@ -916,18 +930,18 @@ focus_tree = { limit = { shijianniangguojia_trigger = yes is_ai = yes - NOT = { + NOT = { OR = { tag = BLI tag = BOW tag = SHO tag = SIR - } + } } } random_unit_leader = { limit = { - has_unit_leader_flag = chushijianniang + has_character_flag = chushijianniang is_field_marshal = no } set_nationality = BLI @@ -936,28 +950,31 @@ focus_tree = { } } } - focus = { id = BLI_quanminminzhu icon = GFX_focus_generic_military_academy x = 1 y = 1 relative_position_id = BLI_bulisanjutoudiyicihuiyi - prerequisite = { focus = BLI_bulisanjutoudiyicihuiyi } + prerequisite = { + focus = BLI_bulisanjutoudiyicihuiyi + } mutually_exclusive = { - focus = BLI_bulizhishang focus = BLI_pinwenhangxin + focus = BLI_bulizhishang + focus = BLI_pinwenhangxin } cost = 7 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_war_support = 0.2 add_stability = 0.1 - add_popularity = { ideology = communism popularity = 0.4 } + add_popularity = { + ideology = communism + popularity = 0.4 + } swap_ideas = { remove_idea = BLI_luxianwenti add_idea = BLI_luxianwenti_gongchan @@ -970,16 +987,17 @@ focus_tree = { x = 3 y = 1 relative_position_id = BLI_bulisanjutoudiyicihuiyi - prerequisite = { focus = BLI_bulisanjutoudiyicihuiyi } + prerequisite = { + focus = BLI_bulisanjutoudiyicihuiyi + } mutually_exclusive = { - focus = BLI_bulizhishang focus = BLI_quanminminzhu + focus = BLI_bulizhishang + focus = BLI_quanminminzhu } cost = 7 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_war_support = 0.1 @@ -997,18 +1015,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = BLI_pinwenhangxin - prerequisite = { focus = BLI_pinwenhangxin } - + prerequisite = { + focus = BLI_pinwenhangxin + } cost = 7 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = BLI_zhaidifa - + add_ideas = BLI_zhaidifa } } focus = { @@ -1017,19 +1033,21 @@ focus_tree = { x = 0 y = 1 relative_position_id = BLI_quanminminzhu - prerequisite = { focus = BLI_quanminminzhu } - + prerequisite = { + focus = BLI_quanminminzhu + } cost = 7 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - set_party_name = { ideology = communism long_name = "布里人民联盟" name = "布里人民联盟" } - add_ideas = BLI_qmcz - + set_party_name = { + ideology = communism + long_name = "布里人民联盟" + name = "布里人民联盟" + } + add_ideas = BLI_qmcz } } focus = { @@ -1038,18 +1056,21 @@ focus_tree = { x = 0 y = 1 relative_position_id = BLI_jiujianpingdeng - prerequisite = { focus = BLI_jiujianpingdeng } + prerequisite = { + focus = BLI_jiujianpingdeng + } cost = 7 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 - add_popularity = { ideology = communism popularity = 0.4 } - set_politics = { + add_popularity = { + ideology = communism + popularity = 0.4 + } + set_politics = { ruling_party = communism elections_allowed = no } @@ -1061,20 +1082,24 @@ focus_tree = { x = 5 y = 1 relative_position_id = BLI_bulisanjutoudiyicihuiyi - prerequisite = { focus = BLI_bulisanjutoudiyicihuiyi } + prerequisite = { + focus = BLI_bulisanjutoudiyicihuiyi + } mutually_exclusive = { - focus = BLI_quanminminzhu focus = BLI_pinwenhangxin + focus = BLI_quanminminzhu + focus = BLI_pinwenhangxin } cost = 7 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 300 - add_popularity = { ideology = fascism popularity = 0.4 } + add_popularity = { + ideology = fascism + popularity = 0.4 + } swap_ideas = { remove_idea = BLI_luxianwenti add_idea = BLI_luxianwenti_shangwu @@ -1087,37 +1112,44 @@ focus_tree = { x = 0 y = 1 relative_position_id = BLI_bulizhishang - prerequisite = { focus = BLI_bulizhishang } + prerequisite = { + focus = BLI_bulizhishang + } cost = 7 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - set_party_name = { ideology = fascism long_name = "布里家族" name = "布里家族" } - add_ideas = BLI_bljzdtz + set_party_name = { + ideology = fascism + long_name = "布里家族" + name = "布里家族" + } + add_ideas = BLI_bljzdtz } } - focus = { + focus = { id = BLI_bulisanyantang icon = GFX_focus_generic_self_management x = 0 y = 1 relative_position_id = BLI_yazhimanjiu - prerequisite = { focus = BLI_yazhimanjiu } + prerequisite = { + focus = BLI_yazhimanjiu + } cost = 7 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_war_support = 0.2 - add_popularity = { ideology = fascism popularity = 0.4 } - set_politics = { + add_popularity = { + ideology = fascism + popularity = 0.4 + } + set_politics = { ruling_party = fascism elections_allowed = no } @@ -1132,18 +1164,15 @@ focus_tree = { custom_trigger_tooltip = { tooltip = BLI_bulisanjutoudiercihuiyi_trigger_tooltip NOT = { - has_country_flag = BLI_diyicihuiyi_cd + has_country_flag = BLI_diyicihuiyi_cd } has_completed_focus = BLI_bulisanjutoudiyicihuiyi } - } cost = 5 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 100 @@ -1163,13 +1192,13 @@ focus_tree = { x = -5 y = 1 relative_position_id = BLI_bulisanjutoudiercihuiyi - prerequisite = { focus = BLI_bulisanjutoudiercihuiyi } + prerequisite = { + focus = BLI_bulisanjutoudiercihuiyi + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1192,13 +1221,13 @@ focus_tree = { x = -1 y = 1 relative_position_id = BLI_lujunjianshe - prerequisite = { focus = BLI_lujunjianshe } + prerequisite = { + focus = BLI_lujunjianshe + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1206,14 +1235,13 @@ focus_tree = { bonus = 1.5 uses = 2 ahead_reduction = 1 - technology = mechanised_infantry1 + technology = mechanised_infantry technology = mechanised_infantry2 technology = mechanised_infantry3 - technology = mechanised_infantry4 - technology = mechanised_infantry5 - technology = mechanised_infantry6 + #technology = mechanised_infantry4 + #technology = mechanised_infantry5 + #technology = mechanised_infantry6 } - } } focus = { @@ -1222,7 +1250,9 @@ focus_tree = { x = 0 y = 1 relative_position_id = BLI_jixiehuazhuangbei - prerequisite = { focus = BLI_jixiehuazhuangbei } + prerequisite = { + focus = BLI_jixiehuazhuangbei + } mutually_exclusive = { focus = BLI_jixiehuaweizhu } @@ -1230,11 +1260,9 @@ focus_tree = { has_completed_focus = BLI_bulijungongye } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_wqjxhdlj @@ -1246,14 +1274,16 @@ focus_tree = { x = 0 y = 2 relative_position_id = BLI_wanquanjixiehua - prerequisite = { focus = BLI_wanquanjixiehua } - prerequisite = { focus = BLI_xinshitanke } + prerequisite = { + focus = BLI_wanquanjixiehua + } + prerequisite = { + focus = BLI_xinshitanke + } cost = 10 - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1271,13 +1301,13 @@ focus_tree = { x = 1 y = 1 relative_position_id = BLI_lujunjianshe - prerequisite = { focus = BLI_lujunjianshe } + prerequisite = { + focus = BLI_lujunjianshe + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1301,7 +1331,9 @@ focus_tree = { x = 0 y = 1 relative_position_id = BLI_fuzhuzhuangbei - prerequisite = { focus = BLI_fuzhuzhuangbei } + prerequisite = { + focus = BLI_fuzhuzhuangbei + } mutually_exclusive = { focus = BLI_wanquanjixiehua } @@ -1309,11 +1341,9 @@ focus_tree = { has_completed_focus = BLI_bulijungongye } cost = 10 - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_jxhlj @@ -1325,14 +1355,16 @@ focus_tree = { x = 0 y = 2 relative_position_id = BLI_jixiehuaweizhu - prerequisite = { focus = BLI_jixiehuaweizhu } - prerequisite = { focus = BLI_xinshitanke } + prerequisite = { + focus = BLI_jixiehuaweizhu + } + prerequisite = { + focus = BLI_xinshitanke + } cost = 10 - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1350,14 +1382,14 @@ focus_tree = { x = 0 y = 3 relative_position_id = BLI_lujunjianshe - prerequisite = { focus = BLI_wanquanjixiehua focus = BLI_jixiehuaweizhu } - + prerequisite = { + focus = BLI_wanquanjixiehua + focus = BLI_jixiehuaweizhu + } cost = 5 - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1375,13 +1407,13 @@ focus_tree = { x = -1 y = 1 relative_position_id = BLI_bulisanjutoudiercihuiyi - prerequisite = { focus = BLI_bulisanjutoudiercihuiyi } + prerequisite = { + focus = BLI_bulisanjutoudiercihuiyi + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1404,16 +1436,16 @@ focus_tree = { x = -1 y = 1 relative_position_id = BLI_kongjunjianshe - prerequisite = { focus = BLI_kongjunjianshe } + prerequisite = { + focus = BLI_kongjunjianshe + } mutually_exclusive = { focus = BLI_gongjikongjun } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_fykj @@ -1425,13 +1457,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = BLI_fangyukongjun - prerequisite = { focus = BLI_fangyukongjun } + prerequisite = { + focus = BLI_fangyukongjun + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -1439,18 +1471,20 @@ focus_tree = { has_dlc = "By Blood Alone" } set_technology = { - jet_engines = 1 - advanced_small_airframe = 1 - } + jet_engines = 1 + advanced_small_airframe = 1 + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } set_technology = { - jet_engines = 1 - advanced_rocket_engines = 1 - } + jet_engines = 1 + advanced_rocket_engines = 1 + } } add_ideas = BLI_jjjsc } @@ -1461,16 +1495,16 @@ focus_tree = { x = 1 y = 1 relative_position_id = BLI_kongjunjianshe - prerequisite = { focus = BLI_kongjunjianshe } + prerequisite = { + focus = BLI_kongjunjianshe + } mutually_exclusive = { focus = BLI_fangyukongjun } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_gjkj @@ -1482,13 +1516,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = BLI_gongjikongjun - prerequisite = { focus = BLI_gongjikongjun } + prerequisite = { + focus = BLI_gongjikongjun + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_pddhzj @@ -1497,24 +1531,26 @@ focus_tree = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "全球轰炸" - bonus = 3 - uses = 1 - ahead_reduction = 2 - category = heavy_air - } + name = "全球轰炸" + bonus = 3 + uses = 1 + ahead_reduction = 2 + category = heavy_air + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "全球轰炸" - bonus = 3 - uses = 1 - ahead_reduction = 2 - category = cat_strategic_bomber - } + name = "全球轰炸" + bonus = 3 + uses = 1 + ahead_reduction = 2 + category = cat_strategic_bomber + } } add_doctrine_cost_reduction = { name = "全球轰炸" @@ -1530,13 +1566,14 @@ focus_tree = { x = 1 y = 1 relative_position_id = BLI_jiejijiheikeji - prerequisite = { focus = BLI_jiejijiheikeji focus = BLI_quanqiuhongzha } + prerequisite = { + focus = BLI_jiejijiheikeji + focus = BLI_quanqiuhongzha + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { @@ -1545,7 +1582,7 @@ focus_tree = { uses = 2 category = air_doctrine } - TY_kongjunliluntupo =yes + TY_kongjunliluntupo = yes } } focus = { @@ -1554,13 +1591,13 @@ focus_tree = { x = 1 y = 1 relative_position_id = BLI_bulisanjutoudiercihuiyi - prerequisite = { focus = BLI_bulisanjutoudiercihuiyi } + prerequisite = { + focus = BLI_bulisanjutoudiercihuiyi + } cost = 10 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_qmjb @@ -1572,13 +1609,13 @@ focus_tree = { x = 5 y = 1 relative_position_id = BLI_bulisanjutoudiercihuiyi - prerequisite = { focus = BLI_bulisanjutoudiercihuiyi } + prerequisite = { + focus = BLI_bulisanjutoudiercihuiyi + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 50 @@ -1586,7 +1623,7 @@ focus_tree = { navy_experience = 50 random_unit_leader = { limit = { - has_id = 09001 + has_id = 9001 } add_skill_level = 3 add_unit_leader_trait = xuexixunsu @@ -1599,13 +1636,13 @@ focus_tree = { x = 0 y = 2 relative_position_id = BLI_bulizhongyangjunshiweiyuanhui - prerequisite = { focus = BLI_bulizhongyangjunshiweiyuanhui } + prerequisite = { + focus = BLI_bulizhongyangjunshiweiyuanhui + } cost = 7 - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_research_slot = 1 @@ -1618,48 +1655,54 @@ focus_tree = { x = -1 y = 1 relative_position_id = BLI_bulizhongyangjunshiweiyuanhui - prerequisite = { focus = BLI_bulizhongyangjunshiweiyuanhui } + prerequisite = { + focus = BLI_bulizhongyangjunshiweiyuanhui + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 100 create_navy_leader = { name = "布里大姐头-舰队司令" picture = "chaojibuli.png" - id = 0900102 + id = 900102 skill = 4 attack_skill = 3 defense_skill = 3 maneuvering_skill = 3 coordination_skill = 4 - traits = { quzhu_navy } + traits = { + quzhu_navy + } } create_navy_leader = { name = "布里二姐-舰队司令" picture = "huangjinbuli.png" - id = 0900202 + id = 900202 skill = 3 attack_skill = 2 defense_skill = 2 maneuvering_skill = 3 coordination_skill = 3 - traits = { quzhu_navy } + traits = { + quzhu_navy + } } create_navy_leader = { name = "布里小妹-舰队司令" picture = "qianghuabuli.png" - id = 0900302 + id = 900302 skill = 3 attack_skill = 2 defense_skill = 2 maneuvering_skill = 3 coordination_skill = 3 - traits = { quzhu_navy } + traits = { + quzhu_navy + } } } } @@ -1669,42 +1712,46 @@ focus_tree = { x = 1 y = 1 relative_position_id = BLI_bulizhongyangjunshiweiyuanhui - prerequisite = { focus = BLI_bulizhongyangjunshiweiyuanhui } + prerequisite = { + focus = BLI_bulizhongyangjunshiweiyuanhui + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_jgzp } } - - - focus = { id = BLI_bulijueqi icon = GFX_goal_generic_demand_territory x = 19 y = 0 - cost = 7 - ai_will_do = { factor = 30 } - available = { - not = { has_idea = BLI_luxianwenti } - not = { has_idea = BLI_quefamofangdezaochuanshu } - not = { has_idea = BLI_ziyuankuifa } - not = { has_idea = BLI_yongjidechenshi } - not = { has_idea = BLI_quefarenli } + available = { + NOT = { + has_idea = BLI_luxianwenti + } + NOT = { + has_idea = BLI_quefamofangdezaochuanshu + } + NOT = { + has_idea = BLI_ziyuankuifa + } + NOT = { + has_idea = BLI_yongjidechenshi + } + NOT = { + has_idea = BLI_quefarenli + } } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_war_support = 0.1 add_political_power = 100 } @@ -1714,14 +1761,16 @@ focus_tree = { icon = GFX_goal_generic_construct_civ_factory x = -3 y = 2 - prerequisite = { focus = BLI_bulijueqi } + prerequisite = { + focus = BLI_bulijueqi + } relative_position_id = BLI_bulijueqi mutually_exclusive = { focus = BLI_jiarujiannianglianheguo } cost = 3 available = { - or = { + OR = { AND = { is_ai = yes } @@ -1734,11 +1783,9 @@ focus_tree = { ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 1 - } } focus = { @@ -1746,17 +1793,17 @@ focus_tree = { icon = GFX_focus_hol_the_foundations_of_defense x = 3 y = 2 - prerequisite = { focus = BLI_bulijueqi } + prerequisite = { + focus = BLI_bulijueqi + } relative_position_id = BLI_bulijueqi mutually_exclusive = { focus = BLI_yushiwuzheng } cost = 3 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 100 @@ -1768,18 +1815,18 @@ focus_tree = { icon = GFX_goal_generic_construct_naval_dockyard x = 0 y = 1 - prerequisite = { focus = BLI_bulijueqi } + prerequisite = { + focus = BLI_bulijueqi + } relative_position_id = BLI_bulijueqi cost = 3 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { every_country = { - limit = { + limit = { shijianniangguojia_trigger = yes } add_opinion_modifier = { @@ -1795,17 +1842,17 @@ focus_tree = { icon = GFX_goal_continuous_naval_production x = -1 y = 2 - prerequisite = { focus = BLI_kaifangzaochuanshu } + prerequisite = { + focus = BLI_kaifangzaochuanshu + } relative_position_id = BLI_kaifangzaochuanshu mutually_exclusive = { focus = BLI_shoufeidabaojian } cost = 5 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_mfwxfw @@ -1818,23 +1865,23 @@ focus_tree = { focus = { id = BLI_shoufeidabaojian icon = GFX_focus_dabaojian - x = 1 + x = 1 y = 2 - prerequisite = { focus = BLI_kaifangzaochuanshu } + prerequisite = { + focus = BLI_kaifangzaochuanshu + } relative_position_id = BLI_kaifangzaochuanshu mutually_exclusive = { focus = BLI_mianfeifuwu } cost = 5 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_jndbj - guojishengyu_up_3 = yes + guojishengyu_up_3 = yes } } focus = { @@ -1842,14 +1889,14 @@ focus_tree = { icon = GFX_goal_generic_axis_build_infantry x = 2 y = 1 - prerequisite = { focus = BLI_jiarujiannianglianheguo } + prerequisite = { + focus = BLI_jiarujiannianglianheguo + } relative_position_id = BLI_jiarujiannianglianheguo cost = 7 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = BLI_pingqingguyongbing_effect_tooltip @@ -1857,46 +1904,104 @@ focus_tree = { name = "雇佣军团" priority = 1 regiments = { - infantry = { x = 0 y = 0 } - infantry = { x = 0 y = 1 } - infantry = { x = 0 y = 2 } - infantry = { x = 0 y = 3 } - infantry = { x = 0 y = 4 } - + infantry = { + x = 0 + y = 0 + } + infantry = { + x = 0 + y = 1 + } + infantry = { + x = 0 + y = 2 + } + infantry = { + x = 0 + y = 3 + } + infantry = { + x = 0 + y = 4 + } + } + support = { + artillery = { + x = 0 + y = 0 + } } - support = { - artillery = { x = 0 y = 0 } - } } - division_template = { name = "精锐兵团" priority = 2 regiments = { - motorized = { x = 0 y = 0 } - motorized = { x = 0 y = 1 } - motorized = { x = 0 y = 2 } - motorized = { x = 1 y = 0 } - motorized = { x = 1 y = 1 } - motorized = { x = 1 y = 2 } - motorized = { x = 2 y = 0 } - motorized = { x = 2 y = 1 } - motorized = { x = 2 y = 2 } - mot_artillery_brigade = { x = 0 y = 3 } - mot_artillery_brigade = { x = 1 y = 3 } - mot_artillery_brigade = { x = 2 y = 3 } + motorized = { + x = 0 + y = 0 + } + motorized = { + x = 0 + y = 1 + } + motorized = { + x = 0 + y = 2 + } + motorized = { + x = 1 + y = 0 + } + motorized = { + x = 1 + y = 1 + } + motorized = { + x = 1 + y = 2 + } + motorized = { + x = 2 + y = 0 + } + motorized = { + x = 2 + y = 1 + } + motorized = { + x = 2 + y = 2 + } + mot_artillery_brigade = { + x = 0 + y = 3 + } + mot_artillery_brigade = { + x = 1 + y = 3 + } + mot_artillery_brigade = { + x = 2 + y = 3 + } + } + support = { + engineer = { + x = 0 + y = 0 + } + mot_recon = { + x = 0 + y = 1 + } } - support = { - engineer = { x = 0 y = 0 } - mot_recon = { x = 0 y = 1 } - } } hidden_effect = { capital_scope = { create_unit = { division = "name = \"雇佣兵团\" division_template = \"雇佣军团\" start_experience_factor = 0.2 start_equipment_factor = 1" owner = ROOT - } + } create_unit = { division = "name = \"雇佣兵团\" division_template = \"雇佣军团\" start_experience_factor = 0.2 start_equipment_factor = 1" owner = ROOT @@ -1942,14 +2047,14 @@ focus_tree = { icon = GFX_goal_generic_small_arms x = 0 y = 1 - prerequisite = { focus = BLI_jiarujiannianglianheguo } + prerequisite = { + focus = BLI_jiarujiannianglianheguo + } relative_position_id = BLI_jiarujiannianglianheguo cost = 5 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BLI_blzyj @@ -1964,22 +2069,23 @@ focus_tree = { icon = GFX_focus_generic_license_production x = 1 y = 1 - - prerequisite = { focus = BLI_bulizhiyuanjun } - prerequisite = { focus = BLI_pingqingguyongbing } + prerequisite = { + focus = BLI_bulizhiyuanjun + } + prerequisite = { + focus = BLI_pingqingguyongbing + } relative_position_id = BLI_bulizhiyuanjun cost = 5 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_hlqk custom_effect_tooltip = BLI_huolixianzhijiechu_tooltip hidden_effect = { - set_rule = { + set_rule = { can_only_justify_war_on_threat_country = no can_declare_war_on_same_ideology = yes can_create_factions = yes @@ -1992,30 +2098,35 @@ focus_tree = { icon = GFX_focus_eng_global_defense x = 0 y = 1 - prerequisite = { focus = BLI_huolixianzhijiechu } + prerequisite = { + focus = BLI_huolixianzhijiechu + } relative_position_id = BLI_huolixianzhijiechu cost = 5 - available = { - or = { - has_game_rule = { - rule = AZ_jinzhi_sirbilkuozhang_rule - option = AZ_jinzhi_sirbilkuozhang_rule_on - } - is_ai = no - SIR = { is_ai = no } + OR = { + has_game_rule = { + rule = AZ_jinzhi_sirbilkuozhang_rule + option = AZ_jinzhi_sirbilkuozhang_rule_on + } + is_ai = no + SIR = { + is_ai = no + } } } - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - CHL = { country_event = BLI_event.5 } + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + CHL = { + country_event = BLI_event.5 + } } else = { transfer_state = 506 @@ -2032,21 +2143,29 @@ focus_tree = { icon = GFX_goal_tfv_saf_anti_colonialist_crusade x = 1 y = 1 - prerequisite = { focus = BLI_xindalu } + prerequisite = { + focus = BLI_xindalu + } relative_position_id = BLI_xindalu cost = 10 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - ARG = { country_event = BLI_event.5 } - URG = { country_event = BLI_event.5 } - PAR = { country_event = BLI_event.5 } + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + ARG = { + country_event = BLI_event.5 + } + URG = { + country_event = BLI_event.5 + } + PAR = { + country_event = BLI_event.5 + } } else = { transfer_state = 509 @@ -2065,21 +2184,29 @@ focus_tree = { icon = GFX_goal_continuous_suppression x = -1 y = 1 - prerequisite = { focus = BLI_xindalu } + prerequisite = { + focus = BLI_xindalu + } relative_position_id = BLI_xindalu cost = 10 - ai_will_do = { factor = 30 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - ECU = { country_event = BLI_event.5 } - PRU = { country_event = BLI_event.5 } - BOL = { country_event = BLI_event.5 } + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + ECU = { + country_event = BLI_event.5 + } + PRU = { + country_event = BLI_event.5 + } + BOL = { + country_event = BLI_event.5 + } } else = { transfer_state = 506 @@ -2101,31 +2228,50 @@ focus_tree = { icon = GFX_goal_generic_territory_or_war x = 1 y = 1 - prerequisite = { focus = BLI_xiangbei } - prerequisite = { focus = BLI_xiangdong } + prerequisite = { + focus = BLI_xiangbei + } + prerequisite = { + focus = BLI_xiangdong + } relative_position_id = BLI_xiangbei allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } cost = 10 bypass = { - not = {country_exists = BRA} - not = {country_exists = COL} - not = {country_exists = VEN} + NOT = { + country_exists = BRA + } + NOT = { + country_exists = COL + } + NOT = { + country_exists = VEN + } } ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - BRA = { country_event = BLI_event.5 } - COL = { country_event = BLI_event.5 } - VEN = { country_event = BLI_event.5 } + BRA = { + country_event = BLI_event.5 + } + COL = { + country_event = BLI_event.5 + } + VEN = { + country_event = BLI_event.5 + } transfer_state = 309 transfer_state = 695 - YUW = { country_event = BLI_event.7 } - HUJ = { country_event = BLI_event.6 } + YUW = { + country_event = BLI_event.7 + } + HUJ = { + country_event = BLI_event.6 + } custom_effect_tooltip = BLI_hensaonanmei_effect_tooltip } } @@ -2134,13 +2280,19 @@ focus_tree = { icon = GFX_goal_generic_position_armies x = 0 y = 1 - prerequisite = { focus = BLI_hensaonanmei } + prerequisite = { + focus = BLI_hensaonanmei + } relative_position_id = BLI_hensaonanmei cost = 15 available = { - or = { - not = { country_exists = SIR } - not = { has_war_with = SIR } + OR = { + NOT = { + country_exists = SIR + } + NOT = { + has_war_with = SIR + } } is_puppet = no has_army_manpower = { @@ -2150,11 +2302,10 @@ focus_tree = { ai_will_do = { factor = 100 modifier = { - is_historical_focus_on = yes - factor = 0 + is_historical_focus_on = yes + factor = 0 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { transfer_state = 692 @@ -2164,7 +2315,9 @@ focus_tree = { transfer_state = 693 transfer_state = 690 transfer_state = 311 - BYG = { country_event = BLI_event.8 } + BYG = { + country_event = BLI_event.8 + } custom_effect_tooltip = BLI_womendejialebi_effect_tooltip } } @@ -2173,7 +2326,9 @@ focus_tree = { icon = GFX_aflag_BYG x = 0 y = 1 - prerequisite = { focus = BLI_womendejialebi } + prerequisite = { + focus = BLI_womendejialebi + } relative_position_id = BLI_womendejialebi cost = 5 available = { @@ -2182,14 +2337,20 @@ focus_tree = { ai_will_do = { factor = 100 modifier = { - is_historical_focus_on = yes - factor = 0 + is_historical_focus_on = yes + factor = 0 } } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = BYG type = take_state_focus } - create_wargoal = { target = CAN type = take_state_focus } + create_wargoal = { + target = BYG + type = take_state_focus + } + create_wargoal = { + target = CAN + type = take_state_focus + } } } focus = { @@ -2197,29 +2358,53 @@ focus_tree = { icon = GFX_focus_spr_anarchism_knows_no_borders x = 0 y = 1 - prerequisite = { focus = BLI_duibaiyingxuanzhan } + prerequisite = { + focus = BLI_duibaiyingxuanzhan + } relative_position_id = BLI_duibaiyingxuanzhan cost = 5 - available = { - BYG = { has_capitulated = yes } + BYG = { + has_capitulated = yes + } } ai_will_do = { factor = 100 modifier = { - is_historical_focus_on = yes - factor = 0 + is_historical_focus_on = yes + factor = 0 } } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - declare_war_on = { target = TIX type = annex_everything } - declare_war_on = { target = SAD type = annex_everything } - declare_war_on = { target = DOH type = annex_everything } - declare_war_on = { target = HUJ type = annex_everything } - declare_war_on = { target = CHY type = annex_everything } - declare_war_on = { target = BFL type = annex_everything } - declare_war_on = { target = YUW type = annex_everything } + declare_war_on = { + target = TIX + type = annex_everything + } + declare_war_on = { + target = SAD + type = annex_everything + } + declare_war_on = { + target = DOH + type = annex_everything + } + declare_war_on = { + target = HUJ + type = annex_everything + } + declare_war_on = { + target = CHY + type = annex_everything + } + declare_war_on = { + target = BFL + type = annex_everything + } + declare_war_on = { + target = YUW + type = annex_everything + } } } -} \ No newline at end of file +} diff --git a/src/common/national_focus/byg_focus.txt b/src/common/national_focus/byg_focus.txt index 1bf656f..31e520e 100755 --- a/src/common/national_focus/byg_focus.txt +++ b/src/common/national_focus/byg_focus.txt @@ -6,7 +6,6 @@ ### search_filters = {FOCUS_FILTER_MANPOWER} ### search_filters = {FOCUS_FILTER_ANNEXATION} ### search_filters = {FOCUS_FILTER_USA_CONGRESS} - focus_tree = { id = byg_focus shared_focus = AL_zhuanyi @@ -14,47 +13,47 @@ focus_tree = { shared_focus = AL_junshi country = { factor = 0 - modifier = { add = 200 - or = { - tag = BYG - tag = USA - tag = USB - tag = CSA + OR = { + tag = BYG + tag = USA + tag = USB + tag = CSA } } } - continuous_focus_position = { x = 50 y = 1800 } + continuous_focus_position = { + x = 50 + y = 1800 + } default = no focus = { id = BYG_baiyingzhanzhengbu icon = GFX_focus_eng_special_air_service x = 25 y = 10 - cost = 10 available = { - or = { - has_completed_focus = BYG_ziyoudebian - has_completed_focus = BYG_kuodaqishituanguimo - has_completed_focus = BYG_hongselianbangdansheng - has_completed_focus = BYG_chongzubaiyingguohui - has_completed_focus = BYG_baiyingliyiyouxian - tag = USA - tag = USB - tag = CSA - if = { - country_exists = USA - country_exists = CSA - country_exists = USB - } + OR = { + has_completed_focus = BYG_ziyoudebian + has_completed_focus = BYG_kuodaqishituanguimo + has_completed_focus = BYG_hongselianbangdansheng + has_completed_focus = BYG_chongzubaiyingguohui + has_completed_focus = BYG_baiyingliyiyouxian + tag = USA + tag = USB + tag = CSA + AND = { + country_exists = USA + country_exists = CSA + country_exists = USB + } } } ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 75 @@ -68,13 +67,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_baiyingzhanzhengbu - prerequisite = { focus = BYG_baiyingzhanzhengbu } + prerequisite = { + focus = BYG_baiyingzhanzhengbu + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_wjdl @@ -86,13 +85,13 @@ focus_tree = { x = -10 y = 1 relative_position_id = BYG_wujiaodalou - prerequisite = { focus = BYG_wujiaodalou } + prerequisite = { + focus = BYG_wujiaodalou + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { @@ -109,13 +108,13 @@ focus_tree = { x = 2 y = 1 relative_position_id = BYG_lujungaigeyantao - prerequisite = { focus = BYG_lujungaigeyantao } + prerequisite = { + focus = BYG_lujungaigeyantao + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = jiesuobubingpeijian_byg @@ -128,33 +127,31 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_danbingzhuangbei - prerequisite = { focus = BYG_danbingzhuangbei } + prerequisite = { + focus = BYG_danbingzhuangbei + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = BYG_yqb } } - focus = { id = BYG_youshihuolixueshuo icon = GFX_goal_generic_army_artillery x = 4 y = 1 relative_position_id = BYG_lujungaigeyantao - prerequisite = { focus = BYG_lujungaigeyantao } + prerequisite = { + focus = BYG_lujungaigeyantao + } cost = 8 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { @@ -163,7 +160,6 @@ focus_tree = { uses = 4 category = cat_superior_firepower } - } } focus = { @@ -172,13 +168,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_youshihuolixueshuo - prerequisite = { focus = BYG_youshihuolixueshuo } + prerequisite = { + focus = BYG_youshihuolixueshuo + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = jiesuopaobingpeijian_byg @@ -196,13 +192,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_xietongpaoji - prerequisite = { focus = BYG_xietongpaoji } + prerequisite = { + focus = BYG_xietongpaoji + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_zsxd @@ -214,13 +210,13 @@ focus_tree = { x = -4 y = 1 relative_position_id = BYG_lujungaigeyantao - prerequisite = { focus = BYG_lujungaigeyantao } + prerequisite = { + focus = BYG_lujungaigeyantao + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -238,13 +234,13 @@ focus_tree = { x = -2 y = 1 relative_position_id = BYG_lujungaigeyantao - prerequisite = { focus = BYG_lujungaigeyantao } + prerequisite = { + focus = BYG_lujungaigeyantao + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { capital_scope = { @@ -253,7 +249,6 @@ focus_tree = { type = arms_factory level = 5 instant_build = yes - } } } @@ -264,13 +259,13 @@ focus_tree = { x = -1 y = 1 relative_position_id = BYG_baiyingjungongchang - prerequisite = { focus = BYG_baiyingjungongchang } + prerequisite = { + focus = BYG_baiyingjungongchang + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_equipment_to_stockpile = { @@ -292,13 +287,13 @@ focus_tree = { x = 1 y = 1 relative_position_id = BYG_baiyingjungongchang - prerequisite = { focus = BYG_baiyingjungongchang } + prerequisite = { + focus = BYG_baiyingjungongchang + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -315,14 +310,16 @@ focus_tree = { x = -1 y = 1 relative_position_id = BYG_zhancheguilai - prerequisite = { focus = BYG_zhancheguilai } - prerequisite = { focus = BYG_motuohuafangan } + prerequisite = { + focus = BYG_zhancheguilai + } + prerequisite = { + focus = BYG_motuohuafangan + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_lujunliluntupo = yes @@ -332,7 +329,10 @@ focus_tree = { uses = 4 category = land_doctrine } - set_technology = { barrage_for_BYG = 1 popup = no } + set_technology = { + barrage_for_BYG = 1 + popup = no + } custom_effect_tooltip = BYG_xiandaishandianzhan_effect_tooltip } } @@ -342,17 +342,17 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_wujiaodalou - prerequisite = { focus = BYG_wujiaodalou } + prerequisite = { + focus = BYG_wujiaodalou + } cost = 10 - ai_will_do = { factor = 5 modifier = { - date > 1943.6.1 - add = 100 + date > 1943.6.1 + add = 100 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_haijunliluntupo = yes @@ -365,13 +365,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_haijunyidengren - prerequisite = { focus = BYG_haijunyidengren } + prerequisite = { + focus = BYG_haijunyidengren + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -388,32 +388,31 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_qianting - prerequisite = { focus = BYG_qianting } + prerequisite = { + focus = BYG_qianting + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_yyqt } } - focus = { id = BYG_kongmujiqun icon = GFX_goal_generic_navy_carrier x = 3 y = 1 relative_position_id = BYG_haijunyidengren - prerequisite = { focus = BYG_haijunyidengren } + prerequisite = { + focus = BYG_haijunyidengren + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -422,7 +421,6 @@ focus_tree = { uses = 2 category = cv_tech } - } } focus = { @@ -431,13 +429,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_kongmujiqun - prerequisite = { focus = BYG_kongmujiqun } + prerequisite = { + focus = BYG_kongmujiqun + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -445,28 +443,30 @@ focus_tree = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "改良舰装" - bonus = 1 - uses = 2 - category = plane_modules_tech - } + name = "改良舰装" + bonus = 1 + uses = 2 + category = plane_modules_tech + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "改良舰装" - bonus = 1 - uses = 2 - technology = cv_fighter1 - technology = cv_fighter2 - technology = cv_fighter3 - technology = cv_naval_bomber2 - technology = cv_naval_bomber3 - technology = cv_CAS2 - technology = cv_CAS3 - } + name = "改良舰装" + bonus = 1 + uses = 2 + technology = cv_fighter1 + technology = cv_fighter2 + technology = cv_fighter3 + technology = cv_naval_bomber2 + technology = cv_naval_bomber3 + technology = cv_CAS2 + technology = cv_CAS3 + } } add_doctrine_cost_reduction = { name = "改良舰装战术" @@ -482,13 +482,13 @@ focus_tree = { x = 2 y = 1 relative_position_id = BYG_kongmujiqun - prerequisite = { focus = BYG_kongmujiqun } + prerequisite = { + focus = BYG_kongmujiqun + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_hmjz @@ -500,13 +500,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_gailianggongxingjianzhuang - prerequisite = { focus = BYG_gailianggongxingjianzhuang } + prerequisite = { + focus = BYG_gailianggongxingjianzhuang + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_hsgjs @@ -518,17 +518,17 @@ focus_tree = { x = -3 y = 1 relative_position_id = BYG_haijunyidengren - prerequisite = { focus = BYG_haijunyidengren } + prerequisite = { + focus = BYG_haijunyidengren + } cost = 5 - ai_will_do = { factor = 5 modifier = { - date > 1943.6.1 - add = 100 + date > 1943.6.1 + add = 100 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -546,13 +546,13 @@ focus_tree = { x = 1 y = 1 relative_position_id = BYG_zhanliebiandui - prerequisite = { focus = BYG_zhanliebiandui } + prerequisite = { + focus = BYG_zhanliebiandui + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -569,13 +569,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_huhangquzhu - prerequisite = { focus = BYG_huhangquzhu } + prerequisite = { + focus = BYG_huhangquzhu + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -584,7 +584,6 @@ focus_tree = { uses = 1 category = cl_tech } - add_tech_bonus = { name = "防空炮" bonus = 1 @@ -599,13 +598,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_fangkongxunyang - prerequisite = { focus = BYG_fangkongxunyang } + prerequisite = { + focus = BYG_fangkongxunyang + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -622,17 +621,17 @@ focus_tree = { x = -1 y = 1 relative_position_id = BYG_zhanliebiandui - prerequisite = { focus = BYG_zhanliebiandui } + prerequisite = { + focus = BYG_zhanliebiandui + } cost = 7 - ai_will_do = { factor = 50 modifier = { - date > 1943.6.1 - add = 100 + date > 1943.6.1 + add = 100 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -641,7 +640,9 @@ focus_tree = { uses = 1 technology = improved_heavy_armor_scheme } - set_technology = { basic_heavy_armor_scheme = 1 } + set_technology = { + basic_heavy_armor_scheme = 1 + } } } focus = { @@ -650,37 +651,38 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_zhongdianfanghu - prerequisite = { focus = BYG_zhongdianfanghu } + prerequisite = { + focus = BYG_zhongdianfanghu + } cost = 5 - - ai_will_do = { + ai_will_do = { factor = 50 modifier = { - date > 1943.6.1 - add = 100 + date > 1943.6.1 + add = 100 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = BYG_czcjd - set_technology = { improved_heavy_shell = 1 } - + add_ideas = BYG_czcjd + set_technology = { + improved_heavy_shell = 1 + } } } focus = { - id = BYG_jianlikongjun + id = BYG_jianlikongjun icon = GFX_goal_generic_air_doctrine x = 10 y = 1 relative_position_id = BYG_wujiaodalou - prerequisite = { focus = BYG_wujiaodalou } + prerequisite = { + focus = BYG_wujiaodalou + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { air_experience = 75 @@ -692,13 +694,13 @@ focus_tree = { x = -2 y = 1 relative_position_id = BYG_jianlikongjun - prerequisite = { focus = BYG_jianlikongjun } + prerequisite = { + focus = BYG_jianlikongjun + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -706,22 +708,24 @@ focus_tree = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "战术空军" - bonus = 0.5 - uses = 1 - category = plane_modules_tech - } + name = "战术空军" + bonus = 0.5 + uses = 1 + category = plane_modules_tech + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "战术空军" - bonus = 0.5 - uses = 1 - category = light_air - } + name = "战术空军" + bonus = 0.5 + uses = 1 + category = light_air + } } add_doctrine_cost_reduction = { name = "战术空军" @@ -737,13 +741,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_zhanshukongjun - prerequisite = { focus = BYG_zhanshukongjun } + prerequisite = { + focus = BYG_zhanshukongjun + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -751,24 +755,26 @@ focus_tree = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "俯冲轰炸机" - bonus = 1 - uses = 1 - category = light_air - ahead_reduction = 1.5 - } + name = "俯冲轰炸机" + bonus = 1 + uses = 1 + category = light_air + ahead_reduction = 1.5 + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "俯冲轰炸机" - bonus = 1.5 - uses = 1 - ahead_reduction = 2 - category = cas_bomber - } + name = "俯冲轰炸机" + bonus = 1.5 + uses = 1 + ahead_reduction = 2 + category = cas_bomber + } } } } @@ -778,14 +784,16 @@ focus_tree = { x = -2 y = 2 relative_position_id = BYG_zhanshukongjun - prerequisite = { focus = BYG_zhanshukongjun } - prerequisite = { focus = BYG_gailianggongxingjianzhuang } + prerequisite = { + focus = BYG_zhanshukongjun + } + prerequisite = { + focus = BYG_gailianggongxingjianzhuang + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -793,24 +801,26 @@ focus_tree = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "海轰" - bonus = 1.5 - uses = 1 - ahead_reduction = 2 - category = light_air - } + name = "海轰" + bonus = 1.5 + uses = 1 + ahead_reduction = 2 + category = light_air + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "海轰" - bonus = 1.5 - uses = 1 - ahead_reduction = 2 - category = naval_bomber - } + name = "海轰" + bonus = 1.5 + uses = 1 + ahead_reduction = 2 + category = naval_bomber + } } } } @@ -820,13 +830,13 @@ focus_tree = { x = 2 y = 1 relative_position_id = BYG_jianlikongjun - prerequisite = { focus = BYG_jianlikongjun } + prerequisite = { + focus = BYG_jianlikongjun + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -834,7 +844,7 @@ focus_tree = { bonus = 1.5 uses = 2 category = medium_air - category = heavy_air + category = heavy_air } } } @@ -844,14 +854,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = BYG_zhanluekongjun - prerequisite = { focus = BYG_zhanluekongjun } - + prerequisite = { + focus = BYG_zhanluekongjun + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = jiesuofeijipeijian_byg @@ -859,20 +868,21 @@ focus_tree = { } } focus = { - id = BYG_zhanluepohuai + id = BYG_zhanluepohuai icon = GFX_goal_generic_CAS x = 1 y = 1 relative_position_id = BYG_kongdixietong - prerequisite = { focus = BYG_kongdixietong } - mutually_exclusive = { focus = BYG_duidizhiyuan } - + prerequisite = { + focus = BYG_kongdixietong + } + mutually_exclusive = { + focus = BYG_duidizhiyuan + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { @@ -890,15 +900,16 @@ focus_tree = { x = -1 y = 1 relative_position_id = BYG_kongdixietong - prerequisite = { focus = BYG_kongdixietong } - mutually_exclusive = { focus = BYG_zhanluepohuai } - + prerequisite = { + focus = BYG_kongdixietong + } + mutually_exclusive = { + focus = BYG_zhanluepohuai + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { @@ -907,654 +918,835 @@ focus_tree = { uses = 2 category = battlefield_support_tree } - TY_kongjunliluntupo = yes } } -#sairenmod -focus = { - id = BYG_qinglimenting - icon = GFX_goal_generic_major_war - x = 0 - y = -2 - allow_branch = { - has_global_flag = MOD_azurlane_sairenzhizai - } - cost = 10 - - ai_will_do = { - factor = 10 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - transfer_state = 689 - transfer_state = 693 - transfer_state = 686 - transfer_state = 694 - transfer_state = 308 - transfer_state = 690 - hidden_effect = { - 689 = { add_core_of = BYG } - 693 = { add_core_of = BYG } - 686 = { add_core_of = BYG } - 694 = { add_core_of = BYG } - 308 = { add_core_of = BYG } - 690 = { add_core_of = BYG } + #sairenmod + focus = { + id = BYG_qinglimenting + icon = GFX_goal_generic_major_war + x = 0 + y = -2 + allow_branch = { + has_global_flag = MOD_azurlane_sairenzhizai } - } -} -focus = { - id = BYG_zhunbeifangong - icon = GFX_goal_demand_sudetenland - x = 0 - y = 1 - prerequisite = { focus = BYG_qinglimenting } - relative_position_id = BYG_qinglimenting - cost = 5 - - ai_will_do = { - factor = 10 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - set_country_flag = BYG_denglumaiami - add_equipment_to_stockpile = { - type = infantry_equipment - amount = 3000 + cost = 10 + ai_will_do = { + factor = 10 } - add_equipment_to_stockpile = { - type = artillery_equipment - amount = 500 - } - custom_effect_tooltip = "与塞壬开战时会有一支先遣部队登陆迈阿密。" - } -} -focus = { - id = BYG_xianhuashengkai - icon = GFX_goal_generic_special_forces - x = 0 - y = 1 - prerequisite = { focus = BYG_zhunbeifangong } - relative_position_id = BYG_zhunbeifangong - cost = 7 - - ai_will_do = { - factor = 0 - modifier = { - HUJ = { has_war = yes } - add = 100 - } - modifier = { - TIX = { has_capitulated = yes } - add = 100 - } - - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_equipment_to_stockpile = { - type = infantry_equipment - amount = 2000 - } - add_equipment_to_stockpile = { - type = artillery_equipment - amount = 150 - } - add_timed_idea = { idea = BYG_cfbm days = 90 } - 366 = { add_core_of = BYG } - 365 = { add_core_of = BYG } - 367 = { add_core_of = BYG } - } -} -focus = { - id = BYG_chongduozhiminling - icon = GFX_goal_generic_position_armies - x = 0 - y = 1 - prerequisite = { focus = BYG_xianhuashengkai } - relative_position_id = BYG_xianhuashengkai - cost = 7 - - ai_will_do = { - factor = 10 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_equipment_to_stockpile = { - type = infantry_equipment - amount = 1000 - } - add_equipment_to_stockpile = { - type = support_equipment - amount = 300 - } - custom_effect_tooltip = "获得东部沿海省份核心" - hidden_effect = { - 364 = { add_core_of = BYG } - 363 = { add_core_of = BYG } - 362 = { add_core_of = BYG } - 361 = { add_core_of = BYG } - 360 = { add_core_of = BYG } - 359 = { add_core_of = BYG } - 358 = { add_core_of = BYG } - 357 = { add_core_of = BYG } - if = { - limit = { has_idea = BYG_cfbm } - remove_ideas = BYG_cfbm - add_timed_idea = { idea = BYG_cfbm days = 120 } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + transfer_state = 689 + transfer_state = 693 + transfer_state = 686 + transfer_state = 694 + transfer_state = 308 + transfer_state = 690 + hidden_effect = { + 689 = { + add_core_of = BYG + } + 693 = { + add_core_of = BYG + } + 686 = { + add_core_of = BYG + } + 694 = { + add_core_of = BYG + } + 308 = { + add_core_of = BYG + } + 690 = { + add_core_of = BYG + } } - else = { add_timed_idea = { idea = BYG_cfbm days = 120 } } - } - custom_effect_tooltip = "另外重新设定“重返北美”民族精神的时间为120天" } -} -focus = { - id = BYG_dongbutielu - icon = GFX_goal_generic_construct_infrastructure - x = 0 - y = 1 - prerequisite = { focus = BYG_chongduozhiminling } - relative_position_id = BYG_chongduozhiminling - cost = 10 - available = { - controls_state = 357 - controls_state = 358 - controls_state = 359 - controls_state = 360 - controls_state = 361 - controls_state = 362 - controls_state = 363 - controls_state = 364 - } - ai_will_do = { - factor = 7 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - 357 = { - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes + focus = { + id = BYG_zhunbeifangong + icon = GFX_goal_demand_sudetenland + x = 0 + y = 1 + prerequisite = { + focus = BYG_qinglimenting + } + relative_position_id = BYG_qinglimenting + cost = 5 + ai_will_do = { + factor = 10 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + set_country_flag = BYG_denglumaiami + add_equipment_to_stockpile = { + type = infantry_equipment + amount = 3000 } - add_building_construction = { - type = supply_node + add_equipment_to_stockpile = { + type = artillery_equipment + amount = 500 + } + custom_effect_tooltip = "与塞壬开战时会有一支先遣部队登陆迈阿密。" + } + } + focus = { + id = BYG_xianhuashengkai + icon = GFX_goal_generic_special_forces + x = 0 + y = 1 + prerequisite = { + focus = BYG_zhunbeifangong + } + relative_position_id = BYG_zhunbeifangong + cost = 7 + ai_will_do = { + factor = 0 + modifier = { + HUJ = { + has_war = yes + } + add = 100 + } + modifier = { + TIX = { + has_capitulated = yes + } + add = 100 + } + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_equipment_to_stockpile = { + type = infantry_equipment + amount = 2000 + } + add_equipment_to_stockpile = { + type = artillery_equipment + amount = 150 + } + add_timed_idea = { + idea = BYG_cfbm + days = 90 + } + 366 = { + add_core_of = BYG + } + 365 = { + add_core_of = BYG + } + 367 = { + add_core_of = BYG + } + } + } + focus = { + id = BYG_chongduozhiminling + icon = GFX_goal_generic_position_armies + x = 0 + y = 1 + prerequisite = { + focus = BYG_xianhuashengkai + } + relative_position_id = BYG_xianhuashengkai + cost = 7 + ai_will_do = { + factor = 10 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_equipment_to_stockpile = { + type = infantry_equipment + amount = 1000 + } + add_equipment_to_stockpile = { + type = support_equipment + amount = 300 + } + custom_effect_tooltip = "获得东部沿海省份核心" + hidden_effect = { + 364 = { + add_core_of = BYG + } + 363 = { + add_core_of = BYG + } + 362 = { + add_core_of = BYG + } + 361 = { + add_core_of = BYG + } + 360 = { + add_core_of = BYG + } + 359 = { + add_core_of = BYG + } + 358 = { + add_core_of = BYG + } + 357 = { + add_core_of = BYG + } + if = { + limit = { + has_idea = BYG_cfbm + } + remove_ideas = BYG_cfbm + add_timed_idea = { + idea = BYG_cfbm + days = 120 + } + } + else = { + add_timed_idea = { + idea = BYG_cfbm + days = 120 + } + } + } + custom_effect_tooltip = "另外重新设定“重返北美”民族精神的时间为120天" + } + } + focus = { + id = BYG_dongbutielu + icon = GFX_goal_generic_construct_infrastructure + x = 0 + y = 1 + prerequisite = { + focus = BYG_chongduozhiminling + } + relative_position_id = BYG_chongduozhiminling + cost = 10 + available = { + controls_state = 357 + controls_state = 358 + controls_state = 359 + controls_state = 360 + controls_state = 361 + controls_state = 362 + controls_state = 363 + controls_state = 364 + } + ai_will_do = { + factor = 7 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + 357 = { + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + add_building_construction = { + type = supply_node + level = 1 + province = 12221 + instant_build = yes + } + } + 358 = { + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + } + 359 = { + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + } + 360 = { + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + } + 361 = { + add_building_construction = { + type = infrastructure + level = 1 + instant_build = yes + } + } + 362 = { + add_building_construction = { + type = infrastructure + level = 1 + instant_build = yes + } + } + 363 = { + add_building_construction = { + type = infrastructure + level = 1 + instant_build = yes + } + } + 364 = { + add_building_construction = { + type = infrastructure + level = 1 + instant_build = yes + } + } + build_railway = { level = 1 - province = 12221 - instant_build = yes + start_province = 7202 + target_province = 3957 } - } - 358 = { - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - } - 359 = { - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - } - 360 = { - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - } - 361 = { - add_building_construction = { - type = infrastructure + build_railway = { level = 1 - instant_build = yes + start_province = 1132 + target_province = 3957 } - } - 362 = { - add_building_construction = { - type = infrastructure + build_railway = { level = 1 - instant_build = yes + start_province = 788 + target_province = 3957 } - } - 363 = { - add_building_construction = { - type = infrastructure + build_railway = { level = 1 - instant_build = yes + start_province = 6732 + target_province = 3957 } - } - 364 = { - add_building_construction = { - type = infrastructure - level = 1 - instant_build = yes - } - } - build_railway = { - level = 1 - start_province = 7202 - target_province = 3957 - } - build_railway = { - level = 1 - start_province = 1132 - target_province = 3957 - } - build_railway = { - level = 1 - start_province = 788 - target_province = 3957 - } - build_railway = { - level = 1 - start_province = 6732 - target_province = 3957 - } - build_railway = { - path = { 6732 3712 733 6719 12202 12221 } - } - } -} -focus = { - id = BYG_shijiezhidu - icon = GFX_focus_generic_support_the_left_right - x = -1 - y = 1 - prerequisite = { focus = BYG_dongbutielu } - relative_position_id = BYG_dongbutielu - cost = 10 - available = { - has_full_control_of_state = 358 - } - ai_will_do = { - factor = 5 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - 358 = { - add_extra_state_shared_building_slots = 6 - add_building_construction = { - type = arms_factory - level = 3 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 3 - instant_build = yes - } - add_building_construction = { - type = naval_base - level = 5 - instant_build = yes - province = 3878 + build_railway = { + path = { + 6732 + 3712 + 733 + 6719 + 12202 + 12221 + } } } } -} -focus = { - id = BYG_xiufunvshenxiang - icon = GFX_focus_generic_strike_at_democracy3 - x = 0 - y = 1 - prerequisite = { focus = BYG_shijiezhidu } - relative_position_id = BYG_shijiezhidu - cost = 7 - - ai_will_do = { - factor = 7 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_ideas = BYG_zydgdygdjy - } -} -focus = { - id = BYG_dahugongyequ - icon = GFX_goal_generic_construct_civ_factory - x = 1 - y = 1 - prerequisite = { focus = BYG_dongbutielu } - relative_position_id = BYG_dongbutielu - cost = 7 - available = { - controls_state = 394 - controls_state = 393 - controls_state = 261 - } - ai_will_do = { - factor = 7 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - 394 = { - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } + focus = { + id = BYG_shijiezhidu + icon = GFX_focus_generic_support_the_left_right + x = -1 + y = 1 + prerequisite = { + focus = BYG_dongbutielu } - 393 = { - add_extra_state_shared_building_slots = 2 - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } + relative_position_id = BYG_dongbutielu + cost = 10 + available = { + has_full_control_of_state = 358 } - 261 = { - add_extra_state_shared_building_slots = 2 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes + ai_will_do = { + factor = 5 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + 358 = { + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = arms_factory + level = 3 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 3 + instant_build = yes + } + add_building_construction = { + type = naval_base + level = 5 + instant_build = yes + province = 3878 + } } } } -} -focus = { - id = BYG_kaifakuangchan - icon = GFX_focus_generic_steel - x = 0 - y = 1 - prerequisite = { focus = BYG_dahugongyequ } - relative_position_id = BYG_dahugongyequ - cost = 7 - - ai_will_do = { - factor = 5 + focus = { + id = BYG_xiufunvshenxiang + icon = GFX_focus_generic_strike_at_democracy3 + x = 0 + y = 1 + prerequisite = { + focus = BYG_shijiezhidu + } + relative_position_id = BYG_shijiezhidu + cost = 7 + ai_will_do = { + factor = 7 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_ideas = BYG_zydgdygdjy + } } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - 394 = { - add_resource = { - type = steel - amount = 45 - } - add_resource = { - type = chromium - amount = 15 - } + focus = { + id = BYG_dahugongyequ + icon = GFX_goal_generic_construct_civ_factory + x = 1 + y = 1 + prerequisite = { + focus = BYG_dongbutielu } - 393 = { - add_resource = { - type = steel - amount = 35 - } + relative_position_id = BYG_dongbutielu + cost = 7 + available = { + controls_state = 394 + controls_state = 393 + controls_state = 261 } - 261 = { - add_resource = { - type = steel - amount = 10 + ai_will_do = { + factor = 7 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + 394 = { + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } } - add_resource = { - type = aluminium - amount = 25 + 393 = { + add_extra_state_shared_building_slots = 2 + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + } + 261 = { + add_extra_state_shared_building_slots = 2 + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes + } } } } -} -focus = { - id = BYG_tilianmofang - icon = GFX_focus_xinzhimofang - x = 0 - y = 1 - prerequisite = { focus = BYG_kaifakuangchan } - relative_position_id = BYG_kaifakuangchan - cost = 10 - - ai_will_do = { - factor = 1 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - custom_effect_tooltip = BYG_tilianmofang_tooltip - add_to_variable = { - var = xzmf_sl - value = 7 + focus = { + id = BYG_kaifakuangchan + icon = GFX_focus_generic_steel + x = 0 + y = 1 + prerequisite = { + focus = BYG_dahugongyequ } - } -} -focus = { - id = BYG_beimeigongshi - icon = GFX_goal_generic_position_armies - x = -3 - y = 2 - prerequisite = { focus = BYG_chongduozhiminling } - relative_position_id = BYG_chongduozhiminling - cost = 7 - - ai_will_do = { - factor = 5 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_equipment_to_stockpile = { - type = infantry_equipment - amount = 1000 + relative_position_id = BYG_dahugongyequ + cost = 7 + ai_will_do = { + factor = 5 } - add_equipment_to_stockpile = { - type = support_equipment - amount = 300 - } - custom_effect_tooltip = "获得中部地区和北方地区的核心领土。" - hidden_effect = { - 368 = { add_core_of = BYG } - 369 = { add_core_of = BYG } - 261 = { add_core_of = BYG } - 276 = { add_core_of = BYG } - 468 = { add_core_of = BYG } - 393 = { add_core_of = BYG } - 395 = { add_core_of = BYG } - 394 = { add_core_of = BYG } - 370 = { add_core_of = BYG } - 371 = { add_core_of = BYG } - 375 = { add_core_of = BYG } - 372 = { add_core_of = BYG } - 392 = { add_core_of = BYG } - 391 = { add_core_of = BYG } - 396 = { add_core_of = BYG } - 376 = { add_core_of = BYG } - 388 = { add_core_of = BYG } - 389 = { add_core_of = BYG } - 390 = { add_core_of = BYG } - 374 = { add_core_of = BYG } - 383 = { add_core_of = BYG } - 373 = { add_core_of = BYG } - 392 = { add_core_of = BYG } - 384 = { add_core_of = BYG } - 368 = { add_core_of = BYG } - 381 = { add_core_of = BYG } - 382 = { add_core_of = BYG } - if = { - limit = { has_idea = BYG_cfbm } - remove_ideas = BYG_cfbm - add_timed_idea = { idea = BYG_cfbm days = 150 } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + 394 = { + add_resource = { + type = steel + amount = 45 + } + add_resource = { + type = chromium + amount = 15 + } + } + 393 = { + add_resource = { + type = steel + amount = 35 + } + } + 261 = { + add_resource = { + type = steel + amount = 10 + } + add_resource = { + type = aluminium + amount = 25 + } } - else = { add_timed_idea = { idea = BYG_cfbm days = 150 } } - } - custom_effect_tooltip = "另外重新设定“重返北美”民族精神的时间为150天" - } -} -focus = { - id = BYG_xihaian - icon = GFX_goal_generic_political_pressure - x = 0 - y = 1 - prerequisite = { focus = BYG_beimeigongshi } - relative_position_id = BYG_beimeigongshi - cost = 5 - - ai_will_do = { - factor = 5 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - 387 = { add_core_of = BYG } - 386 = { add_core_of = BYG } - 385 = { add_core_of = BYG } - 378 = { add_core_of = BYG } - 379 = { add_core_of = BYG } - 380 = { add_core_of = BYG } - 378 = { add_core_of = BYG } - 379 = { add_core_of = BYG } - 377 = { add_core_of = BYG } - } -} -focus = { - id = BYG_taipingyangjidi - icon = GFX_goal_generic_amphibious_assault - x = -1 - y = 1 - prerequisite = { focus = BYG_xihaian } - relative_position_id = BYG_xihaian - cost = 5 - - ai_will_do = { - factor = 7 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - transfer_state = 629 - 629 = { add_core_of = BYG } - } -} -focus = { - id = BYG_wanzhengdewomen_sr - icon = GFX_goal_support_democracy - x = 1 - y = 1 - prerequisite = { focus = BYG_xihaian } - prerequisite = { focus = BYG_xiufunvshenxiang } - relative_position_id = BYG_xihaian - cost = 10 - available = { - has_full_control_of_state = 366 - has_full_control_of_state = 361 - has_full_control_of_state = 357 - has_full_control_of_state = 395 - has_full_control_of_state = 378 - has_full_control_of_state = 375 - } - ai_will_do = { - factor = 15 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_ideas = BYG_jrfs - } -} -focus = { - id = BYG_nanmeigongshi - icon = GFX_goal_generic_position_armies - x = 3 - y = 2 - prerequisite = { focus = BYG_chongduozhiminling } - relative_position_id = BYG_chongduozhiminling - cost = 7 - - ai_will_do = { - factor = 5 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_equipment_to_stockpile = { - type = support_equipment - amount = 600 - } - transfer_state = 685 - - } -} -focus = { - id = BYG_fenjiexianyibei - icon = GFX_goal_generic_major_war - x = 0 - y = 1 - prerequisite = { focus = BYG_nanmeigongshi } - relative_position_id = BYG_nanmeigongshi - cost = 5 - - ai_will_do = { - factor = 4 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - custom_effect_tooltip = "获得巴拿马以北所有土地核心" - hidden_effect = { - 304 = { add_core_of = BYG } - 316 = { add_core_of = BYG } - 317 = { add_core_of = BYG } - 312 = { add_core_of = BYG } - 314 = { add_core_of = BYG } - 311 = { add_core_of = BYG } - 313 = { add_core_of = BYG } - 474 = { add_core_of = BYG } - 475 = { add_core_of = BYG } - 476 = { add_core_of = BYG } - 477 = { add_core_of = BYG } - 485 = { add_core_of = BYG } - 277 = { add_core_of = BYG } - 478 = { add_core_of = BYG } - 479 = { add_core_of = BYG } - 481 = { add_core_of = BYG } - 482 = { add_core_of = BYG } - 483 = { add_core_of = BYG } } } -} -focus = { - id = BYG_foudingfenjiexian - icon = GFX_goal_generic_demand_territory - x = 0 - y = 1 - prerequisite = { focus = BYG_fenjiexianyibei } - relative_position_id = BYG_fenjiexianyibei - cost = 5 - - ai_will_do = { - factor = 4 - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_equipment_to_stockpile = { - type = infantry_equipment - amount = 5000 + focus = { + id = BYG_tilianmofang + icon = GFX_focus_xinzhimofang + x = 0 + y = 1 + prerequisite = { + focus = BYG_kaifakuangchan + } + relative_position_id = BYG_kaifakuangchan + cost = 10 + ai_will_do = { + factor = 1 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + custom_effect_tooltip = BYG_tilianmofang_tooltip + add_to_variable = { + var = xzmf_sl + value = 7 + } } - add_timed_idea = { idea = BYG_jfgs days = 180 } } -} -# -#tianjianmod + focus = { + id = BYG_beimeigongshi + icon = GFX_goal_generic_position_armies + x = -3 + y = 2 + prerequisite = { + focus = BYG_chongduozhiminling + } + relative_position_id = BYG_chongduozhiminling + cost = 7 + ai_will_do = { + factor = 5 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_equipment_to_stockpile = { + type = infantry_equipment + amount = 1000 + } + add_equipment_to_stockpile = { + type = support_equipment + amount = 300 + } + custom_effect_tooltip = "获得中部地区和北方地区的核心领土。" + hidden_effect = { + 368 = { + add_core_of = BYG + } + 369 = { + add_core_of = BYG + } + 261 = { + add_core_of = BYG + } + 276 = { + add_core_of = BYG + } + 468 = { + add_core_of = BYG + } + 393 = { + add_core_of = BYG + } + 395 = { + add_core_of = BYG + } + 394 = { + add_core_of = BYG + } + 370 = { + add_core_of = BYG + } + 371 = { + add_core_of = BYG + } + 375 = { + add_core_of = BYG + } + 372 = { + add_core_of = BYG + } + 392 = { + add_core_of = BYG + } + 391 = { + add_core_of = BYG + } + 396 = { + add_core_of = BYG + } + 376 = { + add_core_of = BYG + } + 388 = { + add_core_of = BYG + } + 389 = { + add_core_of = BYG + } + 390 = { + add_core_of = BYG + } + 374 = { + add_core_of = BYG + } + 383 = { + add_core_of = BYG + } + 373 = { + add_core_of = BYG + } + 392 = { + add_core_of = BYG + } + 384 = { + add_core_of = BYG + } + 368 = { + add_core_of = BYG + } + 381 = { + add_core_of = BYG + } + 382 = { + add_core_of = BYG + } + if = { + limit = { + has_idea = BYG_cfbm + } + remove_ideas = BYG_cfbm + add_timed_idea = { + idea = BYG_cfbm + days = 150 + } + } + else = { + add_timed_idea = { + idea = BYG_cfbm + days = 150 + } + } + } + custom_effect_tooltip = "另外重新设定“重返北美”民族精神的时间为150天" + } + } + focus = { + id = BYG_xihaian + icon = GFX_goal_generic_political_pressure + x = 0 + y = 1 + prerequisite = { + focus = BYG_beimeigongshi + } + relative_position_id = BYG_beimeigongshi + cost = 5 + ai_will_do = { + factor = 5 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + 387 = { + add_core_of = BYG + } + 386 = { + add_core_of = BYG + } + 385 = { + add_core_of = BYG + } + 378 = { + add_core_of = BYG + } + 379 = { + add_core_of = BYG + } + 380 = { + add_core_of = BYG + } + 378 = { + add_core_of = BYG + } + 379 = { + add_core_of = BYG + } + 377 = { + add_core_of = BYG + } + } + } + focus = { + id = BYG_taipingyangjidi + icon = GFX_goal_generic_amphibious_assault + x = -1 + y = 1 + prerequisite = { + focus = BYG_xihaian + } + relative_position_id = BYG_xihaian + cost = 5 + ai_will_do = { + factor = 7 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + transfer_state = 629 + 629 = { + add_core_of = BYG + } + } + } + focus = { + id = BYG_wanzhengdewomen_sr + icon = GFX_goal_support_democracy + x = 1 + y = 1 + prerequisite = { + focus = BYG_xihaian + } + prerequisite = { + focus = BYG_xiufunvshenxiang + } + relative_position_id = BYG_xihaian + cost = 10 + available = { + has_full_control_of_state = 366 + has_full_control_of_state = 361 + has_full_control_of_state = 357 + has_full_control_of_state = 395 + has_full_control_of_state = 378 + has_full_control_of_state = 375 + } + ai_will_do = { + factor = 15 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_ideas = BYG_jrfs + } + } + focus = { + id = BYG_nanmeigongshi + icon = GFX_goal_generic_position_armies + x = 3 + y = 2 + prerequisite = { + focus = BYG_chongduozhiminling + } + relative_position_id = BYG_chongduozhiminling + cost = 7 + ai_will_do = { + factor = 5 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_equipment_to_stockpile = { + type = support_equipment + amount = 600 + } + transfer_state = 685 + } + } + focus = { + id = BYG_fenjiexianyibei + icon = GFX_goal_generic_major_war + x = 0 + y = 1 + prerequisite = { + focus = BYG_nanmeigongshi + } + relative_position_id = BYG_nanmeigongshi + cost = 5 + ai_will_do = { + factor = 4 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + custom_effect_tooltip = "获得巴拿马以北所有土地核心" + hidden_effect = { + 304 = { + add_core_of = BYG + } + 316 = { + add_core_of = BYG + } + 317 = { + add_core_of = BYG + } + 312 = { + add_core_of = BYG + } + 314 = { + add_core_of = BYG + } + 311 = { + add_core_of = BYG + } + 313 = { + add_core_of = BYG + } + 474 = { + add_core_of = BYG + } + 475 = { + add_core_of = BYG + } + 476 = { + add_core_of = BYG + } + 477 = { + add_core_of = BYG + } + 485 = { + add_core_of = BYG + } + 277 = { + add_core_of = BYG + } + 478 = { + add_core_of = BYG + } + 479 = { + add_core_of = BYG + } + 481 = { + add_core_of = BYG + } + 482 = { + add_core_of = BYG + } + 483 = { + add_core_of = BYG + } + } + } + } + focus = { + id = BYG_foudingfenjiexian + icon = GFX_goal_generic_demand_territory + x = 0 + y = 1 + prerequisite = { + focus = BYG_fenjiexianyibei + } + relative_position_id = BYG_fenjiexianyibei + cost = 5 + ai_will_do = { + factor = 4 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_equipment_to_stockpile = { + type = infantry_equipment + amount = 5000 + } + add_timed_idea = { + idea = BYG_jfgs + days = 180 + } + } + } + # + #tianjianmod focus = { id = BYG_xiugaisheding icon = GFX_focus_generic_treaty @@ -1565,68 +1757,67 @@ focus = { } cost = 7 available = { - or = { - has_completed_focus = BYG_ziyoudebian - has_completed_focus = BYG_kuodaqishituanguimo - has_completed_focus = BYG_hongselianbangdansheng - has_completed_focus = BYG_chongzubaiyingguohui - has_completed_focus = BYG_baiyingliyiyouxian - if = { - country_exists = USA - country_exists = CSA - country_exists = USB - } + OR = { + has_completed_focus = BYG_ziyoudebian + has_completed_focus = BYG_kuodaqishituanguimo + has_completed_focus = BYG_hongselianbangdansheng + has_completed_focus = BYG_chongzubaiyingguohui + has_completed_focus = BYG_baiyingliyiyouxian + AND = { + country_exists = USA + country_exists = CSA + country_exists = USB + } } } bypass = { - or = { - tag = USA - tag = USB - tag = CSA - } + OR = { + tag = USA + tag = USB + tag = CSA + } } ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 } } - focus = { id = BYG_xibudakaifa icon = GFX_goal_generic_construct_infrastructure x = -2 y = 1 - prerequisite = { focus = BYG_xiugaisheding } + prerequisite = { + focus = BYG_xiugaisheding + } relative_position_id = BYG_xiugaisheding cost = 10 available = { has_tech = construction1 } bypass = { - or = { - if = { - country_exists = USA - country_exists = CSA - country_exists = USB - } - or = { - has_war_with = USA - has_war_with = CSA - has_war_with = USB - } + OR = { + AND = { + country_exists = USA + country_exists = CSA + country_exists = USB + } + OR = { + has_war_with = USA + has_war_with = CSA + has_war_with = USB + } } } ai_will_do = { factor = 99 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - BYG_dxt_dengji = 1 + BYG_dxt_dengji = yes 378 = { add_building_construction = { type = infrastructure @@ -1662,17 +1853,17 @@ focus = { } build_railway = { level = 1 - start_province = 12211 + start_province = 12211 target_province = 3957 } build_railway = { level = 1 - start_province = 9671 + start_province = 9671 target_province = 3957 } build_railway = { level = 1 - start_province = 3834 + start_province = 3834 target_province = 3957 } } @@ -1682,14 +1873,14 @@ focus = { icon = GFX_goal_tfv_generic_tech_sharing x = 1 y = 1 - prerequisite = { focus = BYG_xibudakaifa } + prerequisite = { + focus = BYG_xibudakaifa + } relative_position_id = BYG_xibudakaifa cost = 8 - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1705,10 +1896,11 @@ focus = { icon = GFX_goal_generic_construct_mil_factory x = 0 y = 1 - prerequisite = { focus = BYG_mimiyanjiu } + prerequisite = { + focus = BYG_mimiyanjiu + } relative_position_id = BYG_mimiyanjiu cost = 7 - ai_will_do = { factor = 10 } @@ -1750,7 +1942,9 @@ focus = { icon = GFX_goal_generic_scientific_exchange x = 0 y = 1 - prerequisite = { focus = BYG_junshijidi } + prerequisite = { + focus = BYG_junshijidi + } relative_position_id = BYG_junshijidi cost = 10 available = { @@ -1759,7 +1953,6 @@ focus = { ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_research_slot = 1 @@ -1770,17 +1963,19 @@ focus = { icon = GFX_goal_generic_fortify_city x = -1 y = 1 - prerequisite = { focus = BYG_xibudakaifa } + prerequisite = { + focus = BYG_xibudakaifa + } relative_position_id = BYG_xibudakaifa cost = 5 - ai_will_do = { factor = 7 } bypass = { - not = {controls_state = 378} + NOT = { + controls_state = 378 + } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_1 = yes @@ -1799,16 +1994,19 @@ focus = { icon = GFX_focus_focus_fra_third_empire x = 0 y = 1 - prerequisite = { focus = BYG_jiazhoulvguan } + prerequisite = { + focus = BYG_jiazhoulvguan + } relative_position_id = BYG_jiazhoulvguan cost = 5 bypass = { - not = {controls_state = 379} + NOT = { + controls_state = 379 + } } ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_1 = yes @@ -1832,7 +2030,9 @@ focus = { icon = GFX_focus_mex_privatisation x = 0 y = 1 - prerequisite = { focus = BYG_jiansheducheng } + prerequisite = { + focus = BYG_jiansheducheng + } relative_position_id = BYG_jiansheducheng cost = 7 available = { @@ -1841,19 +2041,20 @@ focus = { ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_1 = yes add_ideas = BYG_dgsw } - } + } focus = { id = BYG_dongbutielu_tj icon = GFX_goal_generic_construct_infrastructure x = 2 y = 1 - prerequisite = { focus = BYG_xiugaisheding } + prerequisite = { + focus = BYG_xiugaisheding + } relative_position_id = BYG_xiugaisheding cost = 10 available = { @@ -1868,26 +2069,25 @@ focus = { controls_state = 364 } bypass = { - or = { - if = { - country_exists = USA - country_exists = CSA - country_exists = USB - } - or = { - has_war_with = USA - has_war_with = CSA - has_war_with = USB - } + OR = { + AND = { + country_exists = USA + country_exists = CSA + country_exists = USB + } + OR = { + has_war_with = USA + has_war_with = CSA + has_war_with = USB + } } } ai_will_do = { factor = 99 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - BYG_dxt_dengji = 1 + BYG_dxt_dengji = yes 357 = { add_building_construction = { type = infrastructure @@ -1959,12 +2159,12 @@ focus = { } build_railway = { level = 1 - start_province = 1132 + start_province = 1132 target_province = 3957 } build_railway = { level = 1 - start_province = 788 + start_province = 788 target_province = 3957 } build_railway = { @@ -1973,7 +2173,14 @@ focus = { target_province = 3957 } build_railway = { - path = { 6732 3712 733 6719 12202 12221 } + path = { + 6732 + 3712 + 733 + 6719 + 12202 + 12221 + } } } } @@ -1982,7 +2189,9 @@ focus = { icon = GFX_focus_generic_support_the_left_right x = -1 y = 1 - prerequisite = { focus = BYG_dongbutielu_tj } + prerequisite = { + focus = BYG_dongbutielu_tj + } relative_position_id = BYG_dongbutielu_tj cost = 7 available = { @@ -1991,7 +2200,6 @@ focus = { ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_3 = yes @@ -2021,14 +2229,14 @@ focus = { icon = GFX_focus_generic_strike_at_democracy3 x = 0 y = 1 - prerequisite = { focus = BYG_shijiezhidu_tj } + prerequisite = { + focus = BYG_shijiezhidu_tj + } relative_position_id = BYG_shijiezhidu_tj cost = 7 - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_5 = yes @@ -2040,7 +2248,9 @@ focus = { icon = GFX_goal_generic_construct_civ_factory x = 1 y = 1 - prerequisite = { focus = BYG_dongbutielu_tj } + prerequisite = { + focus = BYG_dongbutielu_tj + } relative_position_id = BYG_dongbutielu_tj cost = 10 available = { @@ -2050,26 +2260,25 @@ focus = { controls_state = 261 } bypass = { - or = { - if = { - country_exists = USA - country_exists = CSA - country_exists = USB - } - or = { - has_war_with = USA - has_war_with = CSA - has_war_with = USB - } + OR = { + AND = { + country_exists = USA + country_exists = CSA + country_exists = USB + } + OR = { + has_war_with = USA + has_war_with = CSA + has_war_with = USB + } } } ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - BYG_dxt_dengji = 1 + BYG_dxt_dengji = yes 394 = { add_extra_state_shared_building_slots = 3 add_building_construction = { @@ -2106,7 +2315,9 @@ focus = { icon = GFX_focus_generic_steel x = 0 y = 1 - prerequisite = { focus = BYG_dahugongyequ_tj } + prerequisite = { + focus = BYG_dahugongyequ_tj + } relative_position_id = BYG_dahugongyequ_tj cost = 10 available = { @@ -2114,12 +2325,10 @@ focus = { controls_state = 394 controls_state = 393 controls_state = 261 - } ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 394 = { @@ -2155,10 +2364,11 @@ focus = { icon = GFX_focus_xinzhimofang x = 0 y = 1 - prerequisite = { focus = BYG_kaifakuangchan_tj } + prerequisite = { + focus = BYG_kaifakuangchan_tj + } relative_position_id = BYG_kaifakuangchan_tj cost = 10 - ai_will_do = { factor = 1 modifier = { @@ -2166,7 +2376,6 @@ focus = { add = 100 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = BYG_tilianmofang_tooltip @@ -2181,24 +2390,26 @@ focus = { icon = GFX_focus_generic_royal_wedding x = 0 y = 1 - prerequisite = { focus = BYG_xiufunvshenxiang_tj } + prerequisite = { + focus = BYG_xiufunvshenxiang_tj + } relative_position_id = BYG_xiufunvshenxiang_tj cost = 5 ai_will_do = { factor = 10 } bypass = { - or = { - if = { - country_exists = USA - country_exists = CSA - country_exists = USB - } - or = { - has_war_with = USA - has_war_with = CSA - has_war_with = USB - } + OR = { + AND = { + country_exists = USA + country_exists = CSA + country_exists = USB + } + OR = { + has_war_with = USA + has_war_with = CSA + has_war_with = USB + } } } #search_filters = { FOCUS_FILTER_STABILITY } @@ -2207,33 +2418,50 @@ focus = { add_ideas = BYG_sjbbdlyy } } - focus = { + focus = { id = BYG_wanzhengdewomen icon = GFX_goal_support_democracy x = 1 y = 1 - prerequisite = { focus = BYG_xiaoduyiqingdadushangshen } - prerequisite = { focus = BYG_shenmikeyansuo } - prerequisite = { focus = BYG_fazhanlvyouye_tj } - prerequisite = { focus = BYG_tilianmofang_tj } - prerequisite = { focus = BYG_fazhanlvyouye } + prerequisite = { + focus = BYG_xiaoduyiqingdadushangshen + } + prerequisite = { + focus = BYG_shenmikeyansuo + } + prerequisite = { + focus = BYG_fazhanlvyouye + } + prerequisite = { + focus = BYG_tilianmofang_tj + } + prerequisite = { + focus = BYG_fazhanlvyouye + } relative_position_id = BYG_shenmikeyansuo cost = 15 available = { if = { - limit = { tag = BYG } - not = { country_exists = USA } - not = { country_exists = CSA } - not = { country_exists = USB } - } + limit = { + tag = BYG + } + NOT = { + country_exists = USA + } + NOT = { + country_exists = CSA + } + NOT = { + country_exists = USB + } + } } bypass = { - has_idea = BYG_jrfs + has_idea = BYG_jrfs } ai_will_do = { factor = 99 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.3 @@ -2241,16 +2469,16 @@ focus = { add_ideas = BYG_jrfs add_ideas = civilian_economy hidden_effect = { - remove_ideas = great_depression - remove_ideas = BYG_jjwjhyz - remove_ideas = BYG_jjwjhyz_1 - remove_ideas = BYG_jjwjhyz_2 - remove_ideas = BYG_jjwjhyz_3 - remove_ideas = BYG_jjwjhyz_4 + remove_ideas = great_depression + remove_ideas = BYG_jjwjhyz + remove_ideas = BYG_jjwjhyz_1 + remove_ideas = BYG_jjwjhyz_2 + remove_ideas = BYG_jjwjhyz_3 + remove_ideas = BYG_jjwjhyz_4 } } } -# + # focus = { id = BYG_zuiqiangjianzhuang icon = GFX_focus_generic_navy_battleship2 @@ -2264,8 +2492,9 @@ focus = { ai_will_do = { factor = 100 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_ideas = BYG_zxjzdqf } @@ -2276,14 +2505,16 @@ focus = { x = 0 y = 1 relative_position_id = BYG_zuiqiangjianzhuang - prerequisite = { focus = BYG_zuiqiangjianzhuang } + prerequisite = { + focus = BYG_zuiqiangjianzhuang + } cost = 3 - ai_will_do = { factor = 100 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { custom_effect_tooltip = BYG_xunzhaojianpaozhuren_tooltip mark_focus_tree_layout_dirty = yes @@ -2291,72 +2522,82 @@ focus = { } focus = { id = BYG_heilongdengchang - icon = GFX_focus_huayuan + icon = GFX_focus_huayuan x = 0 y = 1 relative_position_id = BYG_xunzhaojianpaozhuren - prerequisite = { focus = BYG_xunzhaojianpaozhuren } + prerequisite = { + focus = BYG_xunzhaojianpaozhuren + } allow_branch = { has_completed_focus = BYG_xunzhaojianpaozhuren } cost = 3 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { country_event = BYG_event.4 } } - focus = { id = BYG_ziyoudebian icon = GFX_goal_support_democracy x = 15 y = 0 - mutually_exclusive = { focus = BYG_kuodaqishituanguimo focus = BYG_hongselianbangdansheng focus = BYG_kuodaqishituanguimo focus = BYG_baiyingliyiyouxian} + mutually_exclusive = { + focus = BYG_kuodaqishituanguimo + focus = BYG_hongselianbangdansheng + focus = BYG_kuodaqishituanguimo + focus = BYG_baiyingliyiyouxian + } cost = 5 available = { if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } has_completed_focus = BYG_minzhudangshengli - has_government = democratic - not = {has_country_flag = qiyezaibangzhuxia_shengxuan} - or = { - has_country_leader = { - name = "企业" - ruling_only = yes + has_government = democratic + NOT = { + has_country_flag = qiyezaibangzhuxia_shengxuan + } + OR = { + has_country_leader = { + name = "企业" + ruling_only = yes + } + has_country_leader = { + name = "埃塞克斯" + ruling_only = yes + } + has_country_leader = { + name = "圣路易斯" + ruling_only = yes + } + has_country_leader = { + name = "安克雷奇" + ruling_only = yes + } + } } - has_country_leader = { - name = "埃塞克斯" - ruling_only = yes - } - has_country_leader = { - name = "圣路易斯" - ruling_only = yes - } - has_country_leader = { - name = "安克雷奇" - ruling_only = yes - } - } - } - } ai_will_do = { factor = 7 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_stability = 0.1 add_political_power = 150 if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } - country_event = az_tianjiang.184 + limit = { + has_global_flag = MOD_azurlane_sairenzhizai } + country_event = az_tianjiang.184 + } } } focus = { @@ -2365,13 +2606,13 @@ focus = { x = -2 y = 1 relative_position_id = BYG_ziyoudebian - prerequisite = { focus = BYG_ziyoudebian } + prerequisite = { + focus = BYG_ziyoudebian + } cost = 5 - ai_will_do = { factor = 8 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_qydznt @@ -2383,20 +2624,20 @@ focus = { x = 2 y = 1 relative_position_id = BYG_ziyoudebian - prerequisite = { focus = BYG_ziyoudebian } + prerequisite = { + focus = BYG_ziyoudebian + } cost = 10 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_3 = yes add_manpower = 55000 add_political_power = 100 add_stability = -0.1 - BYG_dxt_dengji = 1 + BYG_dxt_dengji = yes } } focus = { @@ -2405,13 +2646,13 @@ focus = { x = 0 y = 1 relative_position_id = BYG_chongqiyiminzhengce - prerequisite = { focus = BYG_chongqiyiminzhengce } + prerequisite = { + focus = BYG_chongqiyiminzhengce + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_lbgcs @@ -2423,14 +2664,16 @@ focus = { x = 2 y = 1 relative_position_id = BYG_qiyedezhinangtuan - prerequisite = { focus = BYG_qiyedezhinangtuan } - prerequisite = { focus = BYG_chongqiyiminzhengce } + prerequisite = { + focus = BYG_qiyedezhinangtuan + } + prerequisite = { + focus = BYG_chongqiyiminzhengce + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_gszym @@ -2442,13 +2685,13 @@ focus = { x = 0 y = 1 relative_position_id = BYG_xiyinrencai - prerequisite = { focus = BYG_xiyinrencai } + prerequisite = { + focus = BYG_xiyinrencai + } cost = 7 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 50 @@ -2467,21 +2710,30 @@ focus = { x = 0 y = 1 relative_position_id = BYG_lianbanggongchengshu - prerequisite = { focus = BYG_lianbanggongchengshu } + prerequisite = { + focus = BYG_lianbanggongchengshu + } cost = 10 - ai_will_do = { factor = 99 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_manpower = 250000 add_stability = -0.1 - BYG_dxt_dengji = 1 - add_offsite_building = { type = industrial_complex level = 2 } - add_offsite_building = { type = arms_factory level = 1 } - add_offsite_building = { type = dockyard level = 2 } + BYG_dxt_dengji = yes + add_offsite_building = { + type = industrial_complex + level = 2 + } + add_offsite_building = { + type = arms_factory + level = 1 + } + add_offsite_building = { + type = dockyard + level = 2 + } } } focus = { @@ -2490,18 +2742,17 @@ focus = { x = -2 y = 1 relative_position_id = BYG_manjiugongren - prerequisite = { focus = BYG_manjiugongren } + prerequisite = { + focus = BYG_manjiugongren + } cost = 7 - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_3 = yes add_stability = 0.25 - } } focus = { @@ -2510,61 +2761,71 @@ focus = { x = 0 y = 1 relative_position_id = BYG_manjiugongren - prerequisite = { focus = BYG_manjiugongren } + prerequisite = { + focus = BYG_manjiugongren + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = -0.1 add_war_support = 0.1 random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes - } + } } } } @@ -2574,13 +2835,13 @@ focus = { x = -1 y = 2 relative_position_id = BYG_minzhujungongchang - prerequisite = { focus = BYG_minzhujungongchang } + prerequisite = { + focus = BYG_minzhujungongchang + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_lbdtq @@ -2592,19 +2853,22 @@ focus = { x = 0 y = 1 relative_position_id = BYG_laiyingde - prerequisite = { focus = BYG_laiyingde } - mutually_exclusive = { focus = BYG_baiyingdazongtong } + prerequisite = { + focus = BYG_laiyingde + } + mutually_exclusive = { + focus = BYG_baiyingdazongtong + } cost = 5 - ai_will_do = { factor = 5 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { #custom_effect_tooltip = BYG_baiyingdazongtong_tooltip add_country_leader_trait = bydyx - } } focus = { @@ -2613,13 +2877,13 @@ focus = { x = 0 y = 1 relative_position_id = BYG_lianbangdeyingxiong - prerequisite = { focus = BYG_lianbangdeyingxiong } + prerequisite = { + focus = BYG_lianbangdeyingxiong + } cost = 7 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { remove_country_leader_trait = kjzz @@ -2633,17 +2897,18 @@ focus = { x = 0 y = 2 relative_position_id = BYG_qiyedezhinangtuan - prerequisite = { focus = BYG_xiyinrencai } - prerequisite = { focus = BYG_qiyedezhinangtuan } + prerequisite = { + focus = BYG_xiyinrencai + } + prerequisite = { + focus = BYG_qiyedezhinangtuan + } cost = 5 available = { - - } ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { @@ -2658,16 +2923,22 @@ focus = { x = 0 y = 2 relative_position_id = BYG_kuodazhinangtuan - prerequisite = { focus = BYG_kuodazhinangtuan } - prerequisite = { focus = BYG_manjiugonghui } - mutually_exclusive = { focus = BYG_peiyangjiandie } + prerequisite = { + focus = BYG_kuodazhinangtuan + } + prerequisite = { + focus = BYG_manjiugonghui + } + mutually_exclusive = { + focus = BYG_peiyangjiandie + } cost = 10 - ai_will_do = { factor = 10 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { guojishengyu_up_1 = yes add_stability = 0.15 @@ -2684,22 +2955,24 @@ focus = { x = -2 y = 2 relative_position_id = BYG_kuodazhinangtuan - prerequisite = { focus = BYG_kuodazhinangtuan } - mutually_exclusive = { focus = BYG_tanchengxiangdai } + prerequisite = { + focus = BYG_kuodazhinangtuan + } + mutually_exclusive = { + focus = BYG_tanchengxiangdai + } cost = 5 - ai_will_do = { factor = 5 modifier = { - is_historical_focus_on = yes - factor = 0 + is_historical_focus_on = yes + factor = 0 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_3 = yes - add_ideas = BYG_blydym + add_ideas = BYG_blydym } } focus = { @@ -2708,23 +2981,26 @@ focus = { x = -1 y = 1 relative_position_id = BYG_tanchengxiangdai - prerequisite = { focus = BYG_tanchengxiangdai focus = BYG_peiyangjiandie } + prerequisite = { + focus = BYG_tanchengxiangdai + focus = BYG_peiyangjiandie + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_5 = yes add_stability = 0.2 add_war_support = 0.1 every_country = { - limit = { + limit = { AND = { shijianniangguojia_trigger = yes - NOT = { tag = BYG } + NOT = { + tag = BYG + } } } add_opinion_modifier = { @@ -2740,8 +3016,12 @@ focus = { x = 0 y = 1 relative_position_id = BYG_fazhanruanshili - prerequisite = { focus = BYG_fazhanruanshili } - mutually_exclusive = { focus = BYG_lianbangdeyingxiong } + prerequisite = { + focus = BYG_fazhanruanshili + } + mutually_exclusive = { + focus = BYG_lianbangdeyingxiong + } cost = 5 available = { has_country_leader = { @@ -2752,7 +3032,6 @@ focus = { ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = BYG_baiyingdazongtong_tooltip @@ -2765,7 +3044,10 @@ focus = { x = 2 y = 1 relative_position_id = BYG_baiyingdazongtong - prerequisite = { focus = BYG_baiyingdazongtong focus = BYG_lianbangdeyingxiong } + prerequisite = { + focus = BYG_baiyingdazongtong + focus = BYG_lianbangdeyingxiong + } cost = 5 available = { custom_trigger_tooltip = { @@ -2776,37 +3058,35 @@ focus = { ai_will_do = { factor = 100 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { custom_effect_tooltip = BYG_tuijumuhou_effect_tooltip - if = { limit = { has_country_flag = BYG_huayuanzongtong_get } - BYG_huayuan = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = liberalism - traits = { - lxzydph - bsldxzt + BYG_huayuan = { + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = liberalism + traits = { + lxzydph + bsldxzt + } + } + promote_leader = yes } } - promote_leader = yes - } - } hidden_effect = { news_event = { id = aznews.43 days = 7 } } - } - } } focus = { @@ -2815,13 +3095,13 @@ focus = { x = 0 y = 1 relative_position_id = BYG_baiyingdazongtong - prerequisite = { focus = BYG_baiyingdazongtong } + prerequisite = { + focus = BYG_baiyingdazongtong + } cost = 10 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { remove_country_leader_trait = kjzz @@ -2830,25 +3110,22 @@ focus = { add_ideas = BYG_qyxz } } - - - focus = { id = BYG_hangmuxinzhanshu icon = GFX_goal_generic_navy_carrier x = -1 y = 1 relative_position_id = BYG_zongtongqinshangzhen - prerequisite = { focus = BYG_zongtongqinshangzhen } + prerequisite = { + focus = BYG_zongtongqinshangzhen + } available = { - has_tech = advanced_ship_hull_carrier + has_tech = advanced_ship_hull_carrier } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 100 @@ -2866,41 +3143,35 @@ focus = { x = 1 y = 1 relative_position_id = BYG_zongtongqinshangzhen - prerequisite = { focus = BYG_zongtongqinshangzhen focus = BYG_fuzuoqiye } + prerequisite = { + focus = BYG_zongtongqinshangzhen + focus = BYG_fuzuoqiye + } available = { custom_trigger_tooltip = { tooltip = BYG_qiyeqianbei_trigger_tooltip any_unit_leader = { AND = { - has_id = 08001 + has_id = 8001 skill > 7 } } } - } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_zrscdqy } } - - - - - focus = { id = BYG_ziyouhanweizhe icon = GFX_focus_generic_support_the_left_right x = 0 y = 3 - relative_position_id = BYG_heilongdengchang allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang @@ -2912,12 +3183,17 @@ focus = { has_completed_focus = BYG_lianbangdeyingxiong has_completed_focus = BYG_jierufenzheng } - not = {country_exists = USA} - not = {country_exists = USB} - not = {country_exists = CSA} + NOT = { + country_exists = USA + } + NOT = { + country_exists = USB + } + NOT = { + country_exists = CSA + } } cost = 2 - ai_will_do = { factor = 10 } @@ -2925,8 +3201,9 @@ focus = { is_in_faction_with = HUJ has_government = democratic } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { guojishengyu_up_3 = yes add_political_power = 50 @@ -2942,13 +3219,21 @@ focus = { x = -1 y = 1 relative_position_id = BYG_ziyouhanweizhe - prerequisite = { focus = BYG_ziyouhanweizhe } - mutually_exclusive = { focus = BYG_baiyinghangxian } + prerequisite = { + focus = BYG_ziyouhanweizhe + } + mutually_exclusive = { + focus = BYG_baiyinghangxian + } cost = 5 available = { is_puppet = no - HUJ = {is_faction_leader = yes} - not = {has_war_with = HUJ} + HUJ = { + is_faction_leader = yes + } + NOT = { + has_war_with = HUJ + } } bypass = { is_in_faction_with = HUJ @@ -2956,18 +3241,20 @@ focus = { ai_will_do = { factor = 1 modifier = { - add = 20 - or = { - has_war_with = TIX - has_war_with = CHY - } + add = 20 + OR = { + has_war_with = TIX + has_war_with = CHY + } } } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { - HUJ = { add_to_faction = BYG } - + HUJ = { + add_to_faction = BYG + } } } focus = { @@ -2976,25 +3263,31 @@ focus = { x = 1 y = 1 relative_position_id = BYG_ziyouhanweizhe - prerequisite = { focus = BYG_ziyouhanweizhe } - mutually_exclusive = { focus = BYG_bilanhangxianfangyutongmeng } + prerequisite = { + focus = BYG_ziyouhanweizhe + } + mutually_exclusive = { + focus = BYG_bilanhangxianfangyutongmeng + } cost = 5 available = { is_puppet = no - not = {is_in_faction_with = HUJ} + NOT = { + is_in_faction_with = HUJ + } } - ai_will_do = { factor = 3 modifier = { - is_historical_focus_on = yes - factor = 0 + is_historical_focus_on = yes + factor = 0 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - set_rule = { can_create_factions = yes } + set_rule = { + can_create_factions = yes + } add_political_power = 100 add_war_support = 0.1 create_faction = "白鹰-碧蓝航线" @@ -3006,19 +3299,24 @@ focus = { x = -1 y = 1 relative_position_id = BYG_bilanhangxianfangyutongmeng - prerequisite = { focus = BYG_bilanhangxianfangyutongmeng focus = BYG_baiyinghangxian } + prerequisite = { + focus = BYG_bilanhangxianfangyutongmeng + focus = BYG_baiyinghangxian + } available = { - PHI = { is_puppet_of = BYG } + PHI = { + is_puppet_of = BYG + } } cost = 3 - ai_will_do = { factor = 10 } bypass = { - PHI = { has_capitulated = yes } + PHI = { + has_capitulated = yes + } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 623 = { @@ -3045,17 +3343,17 @@ focus = { start_province = 12213 target_province = 10265 } - } } - focus = { id = BYG_nanmeifangyutixi icon = GFX_goal_generic_dangerous_deal x = 0 y = 1 relative_position_id = BYG_weihunameizhixu - prerequisite = { focus = BYG_weihunameizhixu } + prerequisite = { + focus = BYG_weihunameizhixu + } available = { has_army_manpower = { size > 1200000 @@ -3063,17 +3361,18 @@ focus = { } cost = 5 bypass = { - or = { - BLI = { - has_completed_focus = BLI_xindalu - } - not = { country_exists = BRA } + OR = { + BLI = { + has_completed_focus = BLI_xindalu + } + NOT = { + country_exists = BRA + } } } ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -100 @@ -3089,29 +3388,33 @@ focus = { x = 0 y = 1 relative_position_id = BYG_nanmeifangyutixi - prerequisite = { focus = BYG_nanmeifangyutixi } - prerequisite = { focus = BYG_taipingyangqianxian } - prerequisite = { focus = BYG_goumaixiaodao } + prerequisite = { + focus = BYG_nanmeifangyutixi + } + prerequisite = { + focus = BYG_taipingyangqianxian + } + prerequisite = { + focus = BYG_goumaixiaodao + } available = { has_war_support > 1.95 } cost = 7 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = BYG_hlqk + add_ideas = BYG_hlqk custom_effect_tooltip = BYG_huolixianzhijiechu_tooltip hidden_effect = { - set_rule = { + set_rule = { can_only_justify_war_on_threat_country = no can_declare_war_on_same_ideology = yes } } - } + } } focus = { id = BYG_weihunameizhixu @@ -3119,7 +3422,10 @@ focus = { x = 1 y = 1 relative_position_id = BYG_bilanhangxianfangyutongmeng - prerequisite = { focus = BYG_bilanhangxianfangyutongmeng focus = BYG_baiyinghangxian } + prerequisite = { + focus = BYG_bilanhangxianfangyutongmeng + focus = BYG_baiyinghangxian + } available = { has_army_manpower = { size > 800000 @@ -3127,26 +3433,34 @@ focus = { } cost = 4 bypass = { - or = { - YUW = { - has_completed_focus = YUW_zainanmeidehuoban - } - BLI = { - has_completed_focus = BLI_xindalu - } - not = { country_exists = VEN } - not = { country_exists = PRU } + OR = { + YUW = { + has_completed_focus = YUW_zainanmeidehuoban + } + BLI = { + has_completed_focus = BLI_xindalu + } + NOT = { + country_exists = VEN + } + NOT = { + country_exists = PRU + } } } ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - annex_country = { target = VEN transfer_troops = yes } - annex_country = { target = PRU transfer_troops = yes } - + annex_country = { + target = VEN + transfer_troops = yes + } + annex_country = { + target = PRU + transfer_troops = yes + } } } focus = { @@ -3155,7 +3469,10 @@ focus = { x = 3 y = 1 relative_position_id = BYG_bilanhangxianfangyutongmeng - prerequisite = { focus = BYG_bilanhangxianfangyutongmeng focus = BYG_baiyinghangxian } + prerequisite = { + focus = BYG_bilanhangxianfangyutongmeng + focus = BYG_baiyinghangxian + } available = { is_in_faction_with = HUJ NOT = { @@ -3163,43 +3480,46 @@ focus = { } } bypass = { - OR = { is_faction_leader = yes - HUJ = { has_capitulated = yes } - NOT = { country_exists = HUJ } + HUJ = { + has_capitulated = yes + } NOT = { - HUJ = { controls_state = 116 } + country_exists = HUJ + } + NOT = { + HUJ = { + controls_state = 116 + } } } } cost = 2 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { transfer_state = 116 116 = { - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + add_building_construction = { + type = air_base + level = 3 + instant_build = yes + } + add_building_construction = { + type = naval_base + level = 3 + instant_build = yes + province = 12003 + } } - add_building_construction = { - type = air_base - level = 3 - instant_build = yes - } - add_building_construction = { - type = naval_base - level = 3 - instant_build = yes - province = 12003 - } - } } } focus = { @@ -3208,43 +3528,48 @@ focus = { x = 9 y = 0 relative_position_id = BYG_ziyoudebian - mutually_exclusive = { focus = BYG_ziyoudebian focus = BYG_hongselianbangdansheng focus = BYG_chongzubaiyingguohui focus = BYG_baiyingliyiyouxian} + mutually_exclusive = { + focus = BYG_ziyoudebian + focus = BYG_hongselianbangdansheng + focus = BYG_chongzubaiyingguohui + focus = BYG_baiyingliyiyouxian + } cost = 5 available = { if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - or = { - has_completed_focus = BYG_minzhudangshengli - has_country_leader = { - name = "克利夫兰" - ruling_only = yes + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + OR = { + has_completed_focus = BYG_minzhudangshengli + has_country_leader = { + name = "克利夫兰" + ruling_only = yes + } + } + OR = { + has_country_flag = qiyezaibangzhuxia_shengxuan + tag = USA + } + OR = { + has_country_leader = { + name = "企业" + ruling_only = yes + } + has_country_leader = { + name = "克利夫兰" + ruling_only = yes + } + has_country_leader = { + name = "海伦娜" + ruling_only = yes + } + } } - } - or = { - has_country_flag = qiyezaibangzhuxia_shengxuan - tag = USA - } - or = { - has_country_leader = { - name = "企业" - ruling_only = yes - } - has_country_leader = { - name = "克利夫兰" - ruling_only = yes - } - has_country_leader = { - name = "海伦娜" - ruling_only = yes - } - } - } - } ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 100 @@ -3254,11 +3579,17 @@ focus = { promote_leader = yes } if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } - country_event = az_tianjiang.185 + limit = { + has_global_flag = MOD_azurlane_sairenzhizai } - - hidden_effect = { country_event = { id = BYG_event.2 days = 7 } } + country_event = az_tianjiang.185 + } + hidden_effect = { + country_event = { + id = BYG_event.2 + days = 7 + } + } } } focus = { @@ -3267,27 +3598,29 @@ focus = { x = -1 y = 1 relative_position_id = BYG_kuodaqishituanguimo - prerequisite = { focus = BYG_kuodaqishituanguimo } + prerequisite = { + focus = BYG_kuodaqishituanguimo + } cost = 7 ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = huodebangzhu_gaibianxiaoguo_qiye if = { - limit = { - has_country_leader = { - name = "企业" - ruling_only = yes + limit = { + has_country_leader = { + name = "企业" + ruling_only = yes + } + } + add_war_support = 0.2 + remove_country_leader_trait = kjzz } - } - add_war_support = 0.2 - remove_country_leader_trait = kjzz - }else = { - add_war_support = 0.5 - remove_ideas = great_depression + else = { + add_war_support = 0.5 + remove_ideas = great_depression } } } @@ -3297,12 +3630,13 @@ focus = { x = 1 y = 1 relative_position_id = BYG_kuodaqishituanguimo - prerequisite = { focus = BYG_kuodaqishituanguimo } + prerequisite = { + focus = BYG_kuodaqishituanguimo + } cost = 7 ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_jadby @@ -3314,8 +3648,12 @@ focus = { x = 0 y = 1 relative_position_id = BYG_yindaoqiye - prerequisite = { focus = BYG_yindaoqiye } - prerequisite = { focus = BYG_jiaoaodebaiying } + prerequisite = { + focus = BYG_yindaoqiye + } + prerequisite = { + focus = BYG_jiaoaodebaiying + } available = { has_army_manpower = { size > 600000 @@ -3326,7 +3664,6 @@ focus = { ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 100 @@ -3339,8 +3676,12 @@ focus = { x = 2 y = 1 relative_position_id = BYG_yindaoqiye - prerequisite = { focus = BYG_yindaoqiye } - prerequisite = { focus = BYG_jiaoaodebaiying } + prerequisite = { + focus = BYG_yindaoqiye + } + prerequisite = { + focus = BYG_jiaoaodebaiying + } available = { num_of_naval_factories > 30 has_navy_size = { @@ -3359,7 +3700,6 @@ focus = { ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 100 @@ -3372,13 +3712,16 @@ focus = { x = 3 y = 1 relative_position_id = BYG_lushangbaquan - prerequisite = { focus = BYG_lushangbaquan } - prerequisite = { focus = BYG_haishangbaquan } + prerequisite = { + focus = BYG_lushangbaquan + } + prerequisite = { + focus = BYG_haishangbaquan + } cost = 7 ai_will_do = { factor = 4 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_hjjdsj @@ -3390,13 +3733,16 @@ focus = { x = -1 y = 1 relative_position_id = BYG_lushangbaquan - prerequisite = { focus = BYG_lushangbaquan } - prerequisite = { focus = BYG_haishangbaquan } + prerequisite = { + focus = BYG_lushangbaquan + } + prerequisite = { + focus = BYG_haishangbaquan + } cost = 20 ai_will_do = { factor = 11 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -200 @@ -3447,13 +3793,16 @@ focus = { x = 1 y = 1 relative_position_id = BYG_lushangbaquan - prerequisite = { focus = BYG_lushangbaquan } - prerequisite = { focus = BYG_haishangbaquan } + prerequisite = { + focus = BYG_lushangbaquan + } + prerequisite = { + focus = BYG_haishangbaquan + } cost = 5 ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_bydlj @@ -3468,15 +3817,18 @@ focus = { } } } - focus = { id = BYG_fuzuoqiye icon = GFX_focus_qiye x = -1 y = 1 relative_position_id = BYG_qishituanchuji - prerequisite = { focus = BYG_qishituanchuji } - mutually_exclusive = { focus = BYG_qiyegaituixiule } + prerequisite = { + focus = BYG_qishituanchuji + } + mutually_exclusive = { + focus = BYG_qiyegaituixiule + } cost = 5 ai_will_do = { factor = 10 @@ -3498,13 +3850,13 @@ focus = { x = -1 y = 1 relative_position_id = BYG_fuzuoqiye - prerequisite = { focus = BYG_fuzuoqiye } - + prerequisite = { + focus = BYG_fuzuoqiye + } cost = 5 ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_3 = yes @@ -3517,7 +3869,10 @@ focus = { x = 1 y = 1 relative_position_id = BYG_fuzuoqiye - prerequisite = { focus = BYG_fuzuoqiye focus = BYG_qiyegaituixiule } + prerequisite = { + focus = BYG_fuzuoqiye + focus = BYG_qiyegaituixiule + } available = { num_of_civilian_factories > 250 } @@ -3525,18 +3880,17 @@ focus = { ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_jjbq custom_effect_tooltip = byg_zaiwudxt hidden_effect = { - remove_ideas = great_depression - remove_ideas = BYG_jjwjhyz - remove_ideas = BYG_jjwjhyz_1 - remove_ideas = BYG_jjwjhyz_2 - remove_ideas = BYG_jjwjhyz_3 - remove_ideas = BYG_jjwjhyz_4 + remove_ideas = great_depression + remove_ideas = BYG_jjwjhyz + remove_ideas = BYG_jjwjhyz_1 + remove_ideas = BYG_jjwjhyz_2 + remove_ideas = BYG_jjwjhyz_3 + remove_ideas = BYG_jjwjhyz_4 } } } @@ -3546,18 +3900,27 @@ focus = { x = -1 y = 1 relative_position_id = BYG_jingjibaquan - prerequisite = { focus = BYG_jingjibaquan } - prerequisite = { focus = BYG_quanqiugongshi } + prerequisite = { + focus = BYG_jingjibaquan + } + prerequisite = { + focus = BYG_quanqiugongshi + } cost = 10 ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_research_slot = 1 - add_offsite_building = { type = arms_factory level = 6 } - add_offsite_building = { type = industrial_complex level = 10 } + add_offsite_building = { + type = arms_factory + level = 6 + } + add_offsite_building = { + type = industrial_complex + level = 10 + } } } focus = { @@ -3566,17 +3929,22 @@ focus = { x = 1 y = 1 relative_position_id = BYG_qishituanchuji - prerequisite = { focus = BYG_qishituanchuji } - mutually_exclusive = { focus = BYG_fuzuoqiye } + prerequisite = { + focus = BYG_qishituanchuji + } + mutually_exclusive = { + focus = BYG_fuzuoqiye + } cost = 5 ai_will_do = { factor = 10 } bypass = { - not = { has_country_leader = { - name = "企业" - ruling_only = yes - } + NOT = { + has_country_leader = { + name = "企业" + ruling_only = yes + } } } #search_filters = { FOCUS_FILTER_STABILITY } @@ -3592,12 +3960,13 @@ focus = { zyqs } } - - add_popularity = { ideology = fascism popularity = 1 } + add_popularity = { + ideology = fascism + popularity = 1 + } set_politics = { ruling_party = fascism } - } } focus = { @@ -3606,24 +3975,30 @@ focus = { x = 1 y = 1 relative_position_id = BYG_qiyegaituixiule - prerequisite = { focus = BYG_qiyegaituixiule } + prerequisite = { + focus = BYG_qiyegaituixiule + } available = { - or = { - tag = BYG - if = { - tag = USA - not = {country_exists = BYG} - not = {country_exists = USB} - not = {country_exists = CSA} - } - } - + OR = { + tag = BYG + AND = { + tag = USA + NOT = { + country_exists = BYG + } + NOT = { + country_exists = USB + } + NOT = { + country_exists = CSA + } + } + } } cost = 5 ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_3 = yes @@ -3651,19 +4026,23 @@ focus = { x = -1 y = 1 relative_position_id = BYG_quanqiugongshi - prerequisite = { focus = BYG_quanqiugongshi } + prerequisite = { + focus = BYG_quanqiugongshi + } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - cost = 5 ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = MEX type = annex_everything expire = 0 } + create_wargoal = { + target = MEX + type = annex_everything + expire = 0 + } } } focus = { @@ -3672,21 +4051,39 @@ focus = { x = 0 y = 1 relative_position_id = BYG_jingong - prerequisite = { focus = BYG_jingong } - + prerequisite = { + focus = BYG_jingong + } cost = 5 ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - annex_country = { target = GUA transfer_troops = no } - annex_country = { target = HON transfer_troops = no } - annex_country = { target = ELS transfer_troops = no } - annex_country = { target = NIC transfer_troops = no } - annex_country = { target = COS transfer_troops = no } - annex_country = { target = PAN transfer_troops = no } + annex_country = { + target = GUA + transfer_troops = no + } + annex_country = { + target = HON + transfer_troops = no + } + annex_country = { + target = ELS + transfer_troops = no + } + annex_country = { + target = NIC + transfer_troops = no + } + annex_country = { + target = COS + transfer_troops = no + } + annex_country = { + target = PAN + transfer_troops = no + } } } focus = { @@ -3695,8 +4092,12 @@ focus = { x = 1 y = 1 relative_position_id = BYG_quanqiugongshi - prerequisite = { focus = BYG_quanqiugongshi } - available = { always = NO } + prerequisite = { + focus = BYG_quanqiugongshi + } + available = { + always = NO + } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } @@ -3705,23 +4106,21 @@ focus = { factor = 10 } bypass = { - SAD = { - is_in_faction = yes - } + SAD = { + is_in_faction = yes + } } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - } } - focus = { id = BYG_yaoqiuxindexuanju icon = GFX_fflag_BYG x = 7 y = -3 relative_position_id = BYG_ziyoudebian - available = { + available = { is_puppet = no date < 1936.11.8 } @@ -3729,10 +4128,10 @@ focus = { has_global_flag = MOD_azurlane_tianjiangjianniang } bypass = { - or = { - tag = USA - tag = USB - tag = CSA + OR = { + tag = USA + tag = USB + tag = CSA } } cost = 10 @@ -3741,34 +4140,37 @@ focus = { } select_effect = { country_event = az_tianjiang.109 - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { effect_tooltip = { - country_event = az_tianjiang.109 + country_event = az_tianjiang.109 } clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag custom_effect_tooltip = xindexuanju_tip hidden_effect = { - country_event = az_tianjiang.112 + country_event = az_tianjiang.112 } } } - focus = { id = BYG_tuanjiepaishengli icon = GFX_goal_support_communism x = -4 y = 1 - prerequisite = { focus = BYG_yaoqiuxindexuanju } + prerequisite = { + focus = BYG_yaoqiuxindexuanju + } relative_position_id = BYG_yaoqiuxindexuanju - available = { + available = { has_country_leader = { name = "波特兰" ruling_only = yes } - not = { has_country_flag = baiyingneizhaweiji } + NOT = { + has_country_flag = baiyingneizhaweiji + } has_government = democratic } bypass = { @@ -3776,7 +4178,7 @@ focus = { has_government = communism } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled } cost = 10 ai_will_do = { @@ -3790,36 +4192,40 @@ focus = { ruling_party = communism elections_allowed = yes } - add_popularity = { ideology = communism popularity = 0.3 } + add_popularity = { + ideology = communism + popularity = 0.3 + } } } - focus = { id = BYG_minzhudangshengli icon = GFX_goal_support_democracy x = -2 y = 1 - prerequisite = { focus = BYG_yaoqiuxindexuanju } + prerequisite = { + focus = BYG_yaoqiuxindexuanju + } relative_position_id = BYG_yaoqiuxindexuanju - available = { - or = { - if = { - has_country_flag = qiyelianrenchonggong_yes - has_country_leader = { - name = "企业" - ruling_only = yes + available = { + OR = { + AND = { + has_country_flag = qiyelianrenchonggong_yes + has_country_leader = { + name = "企业" + ruling_only = yes + } + } + has_country_leader = { + name = "埃塞克斯" + ruling_only = yes + } + has_country_leader = { + name = "圣路易斯" + ruling_only = yes + } } - } - has_country_leader = { - name = "埃塞克斯" - ruling_only = yes - } - has_country_leader = { - name = "圣路易斯" - ruling_only = yes - } - } - has_government = democratic + has_government = democratic } bypass = { tag = BYG @@ -3831,44 +4237,59 @@ focus = { ai_will_do = { factor = 100 } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { custom_effect_tooltip = huodebangzhu_gaibianxiaoguo_qiye if = { - limit = { - has_country_flag = qiyezaibangzhuxia_shengxuan + limit = { + has_country_flag = qiyezaibangzhuxia_shengxuan + } + country_event = az_tianjiang.129 + add_popularity = { + ideology = democratic + popularity = -0.1 + } + add_popularity = { + ideology = fascism + popularity = 0.2 + } } - country_event = az_tianjiang.129 - add_popularity = { ideology = democratic popularity = -0.1 } - add_popularity = { ideology = fascism popularity = 0.2 } - }else = { - add_popularity = { ideology = democratic popularity = 0.2 } + else = { + add_popularity = { + ideology = democratic + popularity = 0.2 + } } } } - focus = { id = BYG_gonghedangshengli icon = GFX_focus_rom_parties_end x = 2 y = 1 - prerequisite = { focus = BYG_yaoqiuxindexuanju } + prerequisite = { + focus = BYG_yaoqiuxindexuanju + } relative_position_id = BYG_yaoqiuxindexuanju - available = { - not = {has_country_flag = zhengzhiweijizhong_baiying} - or = { - has_country_leader = { - name = "萨拉托加" - ruling_only = yes - } - has_country_leader = { - name = "圣地亚哥" - ruling_only = yes - } - has_country_leader = { - name = "埃尔德里奇" - ruling_only = yes + available = { + NOT = { + has_country_flag = zhengzhiweijizhong_baiying } + OR = { + has_country_leader = { + name = "萨拉托加" + ruling_only = yes + } + has_country_leader = { + name = "圣地亚哥" + ruling_only = yes + } + has_country_leader = { + name = "埃尔德里奇" + ruling_only = yes + } } has_government = democratic } @@ -3878,35 +4299,41 @@ focus = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = democratic popularity = 0.2 } + add_popularity = { + ideology = democratic + popularity = 0.2 + } } } - focus = { id = BYG_zhishangdangshengli icon = GFX_focus_POL_expand_polish_intelligence x = 4 y = 1 - prerequisite = { focus = BYG_yaoqiuxindexuanju } + prerequisite = { + focus = BYG_yaoqiuxindexuanju + } relative_position_id = BYG_yaoqiuxindexuanju - available = { + available = { has_country_leader = { name = "华盛顿" ruling_only = yes } - not = { has_country_flag = baiyingneizhaweiji } + NOT = { + has_country_flag = baiyingneizhaweiji + } has_government = democratic } bypass = { - tag = CSA - has_government = neutrality + tag = CSA + has_government = neutrality } cost = 10 ai_will_do = { factor = 100 } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { @@ -3916,36 +4343,42 @@ focus = { ruling_party = neutrality elections_allowed = yes } - add_popularity = { ideology = neutrality popularity = 0.4 } + add_popularity = { + ideology = neutrality + popularity = 0.4 + } } } - focus = { id = BYG_zhezhongfangan icon = GFX_goal_anschluss x = 0 y = 1 - prerequisite = { focus = BYG_yaoqiuxindexuanju } + prerequisite = { + focus = BYG_yaoqiuxindexuanju + } relative_position_id = BYG_yaoqiuxindexuanju - available = { + available = { has_country_flag = zhengzhiweijizhong_baiying has_government = democratic - not = { - has_country_leader = { - name = "波特兰" - ruling_only = yes + NOT = { + has_country_leader = { + name = "波特兰" + ruling_only = yes + } } + NOT = { + has_country_leader = { + name = "华盛顿" + ruling_only = yes + } } - not = { - has_country_leader = { - name = "华盛顿" - ruling_only = yes + NOT = { + has_country_flag = baiyingneizhaweiji } - } - not = {has_country_flag = baiyingneizhaweiji} } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled } cost = 10 ai_will_do = { @@ -3957,7 +4390,6 @@ focus = { country_event = az_tianjiang.116 } } - focus = { id = BYG_hongselianbangdansheng icon = GFX_goal_generic_war_with_comintern @@ -3965,26 +4397,33 @@ focus = { y = 0 #prerequisite = { focus = BYG_yaoqiuxindexuanju } relative_position_id = BYG_ziyoudebian - mutually_exclusive = { focus = BYG_ziyoudebian focus = BYG_kuodaqishituanguimo focus = BYG_chongzubaiyingguohui focus = BYG_baiyingliyiyouxian} + mutually_exclusive = { + focus = BYG_ziyoudebian + focus = BYG_kuodaqishituanguimo + focus = BYG_chongzubaiyingguohui + focus = BYG_baiyingliyiyouxian + } available = { if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } has_completed_focus = BYG_tuanjiepaishengli - or = { - has_country_leader = { - name = "波特兰" - ruling_only = yes + OR = { + has_country_leader = { + name = "波特兰" + ruling_only = yes + } + has_country_leader = { + name = "哈曼曼" + ruling_only = yes + } + has_country_leader = { + name = "火奴鲁鲁" + ruling_only = yes + } + } } - has_country_leader = { - name = "哈曼曼" - ruling_only = yes - } - has_country_leader = { - name = "火奴鲁鲁" - ruling_only = yes - } - } - } } cost = 5 ai_will_do = { @@ -3994,17 +4433,21 @@ focus = { completion_reward = { add_stability = -0.1 add_political_power = 100 - add_popularity = { ideology = communism popularity = 0.3 } + add_popularity = { + ideology = communism + popularity = 0.3 + } if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } - country_event = az_tianjiang.183 - set_politics = { - ruling_party = communism - } + limit = { + has_global_flag = MOD_azurlane_sairenzhizai } + country_event = az_tianjiang.183 + set_politics = { + ruling_party = communism + } + } } } - focus = { id = BYG_chongzubaiyingguohui icon = GFX_focus_generic_self_management @@ -4012,31 +4455,37 @@ focus = { y = 0 #prerequisite = { focus = BYG_yaoqiuxindexuanju } relative_position_id = BYG_kuodaqishituanguimo - mutually_exclusive = { focus = BYG_ziyoudebian focus = BYG_kuodaqishituanguimo focus = BYG_hongselianbangdansheng focus = BYG_baiyingliyiyouxian } + mutually_exclusive = { + focus = BYG_ziyoudebian + focus = BYG_kuodaqishituanguimo + focus = BYG_hongselianbangdansheng + focus = BYG_baiyingliyiyouxian + } available = { if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - has_completed_focus = BYG_gonghedangshengli - or = { - has_country_leader = { - name = "萨拉托加" - ruling_only = yes + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + has_completed_focus = BYG_gonghedangshengli + OR = { + has_country_leader = { + name = "萨拉托加" + ruling_only = yes + } + has_country_leader = { + name = "圣地亚哥" + ruling_only = yes + } + has_country_leader = { + name = "埃尔德里奇" + ruling_only = yes + } + has_country_leader = { + name = "安克雷奇" + ruling_only = yes + } + } } - has_country_leader = { - name = "圣地亚哥" - ruling_only = yes - } - has_country_leader = { - name = "埃尔德里奇" - ruling_only = yes - } - has_country_leader = { - name = "安克雷奇" - ruling_only = yes - } - } - } - } cost = 5 ai_will_do = { @@ -4046,14 +4495,18 @@ focus = { completion_reward = { add_political_power = 300 if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } - country_event = az_tianjiang.186 - set_party_name = { ideology = democratic long_name = "白鹰联邦国会" name = "白鹰联邦国会" } + limit = { + has_global_flag = MOD_azurlane_sairenzhizai } - + country_event = az_tianjiang.186 + set_party_name = { + ideology = democratic + long_name = "白鹰联邦国会" + name = "白鹰联邦国会" + } + } } } - focus = { id = BYG_baiyingliyiyouxian icon = GFX_focus_POL_plan_west @@ -4061,27 +4514,33 @@ focus = { y = 0 #prerequisite = { focus = BYG_yaoqiuxindexuanju } relative_position_id = BYG_chongzubaiyingguohui - mutually_exclusive = { focus = BYG_ziyoudebian focus = BYG_kuodaqishituanguimo focus = BYG_hongselianbangdansheng focus = BYG_chongzubaiyingguohui } - available = { + mutually_exclusive = { + focus = BYG_ziyoudebian + focus = BYG_kuodaqishituanguimo + focus = BYG_hongselianbangdansheng + focus = BYG_chongzubaiyingguohui + } + available = { if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - has_completed_focus = BYG_zhishangdangshengli - or = { - has_country_leader = { - name = "华盛顿" - ruling_only = yes + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + has_completed_focus = BYG_zhishangdangshengli + OR = { + has_country_leader = { + name = "华盛顿" + ruling_only = yes + } + has_country_leader = { + name = "巴尔的摩" + ruling_only = yes + } + has_country_leader = { + name = "布莱默顿" + ruling_only = yes + } + } } - has_country_leader = { - name = "巴尔的摩" - ruling_only = yes - } - has_country_leader = { - name = "布莱默顿" - ruling_only = yes - } - } - } - } cost = 5 ai_will_do = { @@ -4091,26 +4550,35 @@ focus = { completion_reward = { add_stability = 0.3 add_war_support = 0.3 - add_popularity = { ideology = neutrality popularity = 0.1 } + add_popularity = { + ideology = neutrality + popularity = 0.1 + } if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } - country_event = az_tianjiang.187 - set_party_name = { ideology = neutrality long_name = "白鹰至上党" name = "白鹰至上党" } - set_politics = { - ruling_party = neutrality - } + limit = { + has_global_flag = MOD_azurlane_sairenzhizai } + country_event = az_tianjiang.187 + set_party_name = { + ideology = neutrality + long_name = "白鹰至上党" + name = "白鹰至上党" + } + set_politics = { + ruling_party = neutrality + } + } } } - focus = { id = BYG_maoyibaohuzhengce icon = GFX_focus_generic_treaty x = 2 y = 1 - prerequisite = { focus = BYG_chongzubaiyingguohui } + prerequisite = { + focus = BYG_chongzubaiyingguohui + } relative_position_id = BYG_chongzubaiyingguohui - cost = 10 ai_will_do = { factor = 100 @@ -4120,25 +4588,25 @@ focus = { guojishengyu_down_1 = yes add_political_power = 50 add_war_support = 0.1 - BYG_dxt_dengji = 1 + BYG_dxt_dengji = yes } } - focus = { id = BYG_xianzhiyiminrujing icon = GFX_focus_hol_abandon_the_gold_standard x = -2 y = 1 - prerequisite = { focus = BYG_chongzubaiyingguohui } + prerequisite = { + focus = BYG_chongzubaiyingguohui + } relative_position_id = BYG_chongzubaiyingguohui - cost = 7 ai_will_do = { factor = 100 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - guojishengyu_down_1 = yes + guojishengyu_down_1 = yes add_stability = 0.1 add_political_power = 50 add_war_support = 0.1 @@ -4146,16 +4614,18 @@ focus = { add_manpower = -500000 } } - focus = { id = BYG_juxuqiyexinzheng icon = GFX_focus_qiye x = -2 y = 1 - prerequisite = { focus = BYG_maoyibaohuzhengce } - prerequisite = { focus = BYG_xianzhiyiminrujing } + prerequisite = { + focus = BYG_maoyibaohuzhengce + } + prerequisite = { + focus = BYG_xianzhiyiminrujing + } relative_position_id = BYG_maoyibaohuzhengce - cost = 10 ai_will_do = { factor = 100 @@ -4163,19 +4633,21 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = BYG_qyxz - BYG_dxt_dengji = 1 + BYG_dxt_dengji = yes } } - focus = { id = BYG_dajizousihuodong icon = GFX_goal_generic_demand_territory x = 0 y = 2 - prerequisite = { focus = BYG_juxuqiyexinzheng } - prerequisite = { focus = BYG_xianzhiyiminrujing } + prerequisite = { + focus = BYG_juxuqiyexinzheng + } + prerequisite = { + focus = BYG_xianzhiyiminrujing + } relative_position_id = BYG_xianzhiyiminrujing - cost = 8 ai_will_do = { factor = 100 @@ -4187,15 +4659,15 @@ focus = { add_ideas = BYG_djzs } } - focus = { id = BYG_jianshaoziyuanchukou icon = GFX_focus_generic_steel x = 0 y = 2 - prerequisite = { focus = BYG_maoyibaohuzhengce } + prerequisite = { + focus = BYG_maoyibaohuzhengce + } relative_position_id = BYG_maoyibaohuzhengce - cost = 10 ai_will_do = { factor = 100 @@ -4208,15 +4680,15 @@ focus = { add_ideas = BYG_jszyck } } - focus = { id = BYG_lianbanggongchengshu_2 icon = GFX_goal_generic_construct_civilian x = 0 y = 1 - prerequisite = { focus = BYG_juxuqiyexinzheng } + prerequisite = { + focus = BYG_juxuqiyexinzheng + } relative_position_id = BYG_juxuqiyexinzheng - cost = 10 ai_will_do = { factor = 10 @@ -4232,15 +4704,15 @@ focus = { add_ideas = BYG_lbgcs } } - focus = { id = BYG_zhongzhiyuandelirun icon = GFX_focus_mex_privatisation x = 0 y = 1 - prerequisite = { focus = BYG_dajizousihuodong } + prerequisite = { + focus = BYG_dajizousihuodong + } relative_position_id = BYG_dajizousihuodong - cost = 5 ai_will_do = { factor = 10 @@ -4255,10 +4727,13 @@ focus = { icon = GFX_focus_chaozhongdan x = 1 y = 1 - prerequisite = { focus = BYG_lianbanggongchengshu_2 } - prerequisite = { focus = BYG_jianshaoziyuanchukou } + prerequisite = { + focus = BYG_lianbanggongchengshu_2 + } + prerequisite = { + focus = BYG_jianshaoziyuanchukou + } relative_position_id = BYG_lianbanggongchengshu_2 - cost = 10 ai_will_do = { factor = 10 @@ -4282,23 +4757,26 @@ focus = { add_ideas = BYG_lbdtq } } - focus = { id = BYG_zhonglifaan icon = GFX_goal_generic_neutrality_focus x = 2 y = 1 - prerequisite = { focus = BYG_zhongzhiyuandelirun } - prerequisite = { focus = BYG_lianbangdetiequan } + prerequisite = { + focus = BYG_zhongzhiyuandelirun + } + prerequisite = { + focus = BYG_lianbangdetiequan + } relative_position_id = BYG_zhongzhiyuandelirun - available = { + available = { is_puppet = no has_war = no } bypass = { - or = { - has_war_support > 1 - threat > 0.4 + OR = { + has_war_support > 1 + threat > 0.4 } } cost = 10 @@ -4314,23 +4792,26 @@ focus = { add_ideas = USA_neutrality_act } } - focus = { id = BYG_hepingshouwang icon = GFX_focus_usa_guarantee_the_american_dream x = 0 y = 2 - prerequisite = { focus = BYG_jianshaoziyuanchukou } - prerequisite = { focus = BYG_lianbangdetiequan } + prerequisite = { + focus = BYG_jianshaoziyuanchukou + } + prerequisite = { + focus = BYG_lianbangdetiequan + } relative_position_id = BYG_jianshaoziyuanchukou - available = { + available = { is_puppet = no has_war = no } bypass = { - or = { - has_war_support > 1 - threat > 0.4 + OR = { + has_war_support > 1 + threat > 0.4 } } cost = 8 @@ -4343,34 +4824,41 @@ focus = { add_war_support = -0.1 } } - focus = { id = BYG_kuojiansalakejiawenquan icon = GFX_focus_salatuojia x = 0 y = 2 - prerequisite = { focus = BYG_zhongzhiyuandelirun } - prerequisite = { focus = BYG_zhonglifaan } - prerequisite = { focus = BYG_hepingshouwang } + prerequisite = { + focus = BYG_zhongzhiyuandelirun + } + prerequisite = { + focus = BYG_zhonglifaan + } + prerequisite = { + focus = BYG_hepingshouwang + } relative_position_id = BYG_zhongzhiyuandelirun - available = { + available = { controls_state = 358 - or = { - has_country_leader = { - name = "萨拉托加" - ruling_only = yes - } - has_country_leader = { - name = "安克雷奇" - ruling_only = yes - } - has_country_leader = { - name = "埃尔德里奇" - ruling_only = yes - } + OR = { + has_country_leader = { + name = "萨拉托加" + ruling_only = yes + } + has_country_leader = { + name = "安克雷奇" + ruling_only = yes + } + has_country_leader = { + name = "埃尔德里奇" + ruling_only = yes + } } } - mutually_exclusive = {focus = BYG_duiwaichukoujinkela} + mutually_exclusive = { + focus = BYG_duiwaichukoujinkela + } cost = 10 ai_will_do = { factor = 10 @@ -4378,7 +4866,7 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_3 = yes - 358 = { + 358 = { add_extra_state_shared_building_slots = 8 add_building_construction = { type = industrial_complex @@ -4386,41 +4874,48 @@ focus = { instant_build = yes } } - BYG_dxt_dengji = 1 - if = { - limit = { - has_idea = BYG_jjwjhyz_4 - } - remove_ideas = BYG_jjwjhyz_4 - } + BYG_dxt_dengji = yes + if = { + limit = { + has_idea = BYG_jjwjhyz_4 + } + remove_ideas = BYG_jjwjhyz_4 + } } } - focus = { id = BYG_duiwaichukoujinkela icon = GFX_goal_generic_trade x = 0 y = 1 - prerequisite = { focus = BYG_zhongzhiyuandelirun } - prerequisite = { focus = BYG_zhonglifaan } - prerequisite = { focus = BYG_hepingshouwang } + prerequisite = { + focus = BYG_zhongzhiyuandelirun + } + prerequisite = { + focus = BYG_zhonglifaan + } + prerequisite = { + focus = BYG_hepingshouwang + } relative_position_id = BYG_hepingshouwang - mutually_exclusive = {focus = BYG_kuojiansalakejiawenquan} - available = { + mutually_exclusive = { + focus = BYG_kuojiansalakejiawenquan + } + available = { controls_state = 378 - or = { - has_country_leader = { - name = "安克雷奇" - ruling_only = yes - } - has_country_leader = { - name = "圣地亚哥" - ruling_only = yes - } - has_country_leader = { - name = "埃尔德里奇" - ruling_only = yes - } + OR = { + has_country_leader = { + name = "安克雷奇" + ruling_only = yes + } + has_country_leader = { + name = "圣地亚哥" + ruling_only = yes + } + has_country_leader = { + name = "埃尔德里奇" + ruling_only = yes + } } } cost = 10 @@ -4438,28 +4933,30 @@ focus = { instant_build = yes } } - BYG_dxt_dengji = 1 - if = { - limit = { - has_idea = BYG_jjwjhyz_4 - } - remove_ideas = BYG_jjwjhyz_4 - } + BYG_dxt_dengji = yes + if = { + limit = { + has_idea = BYG_jjwjhyz_4 + } + remove_ideas = BYG_jjwjhyz_4 + } } } - focus = { id = BYG_jierufenzheng icon = GFX_focus_generic_license_production x = 0 y = 2 - prerequisite = { focus = BYG_kuojiansalakejiawenquan focus = BYG_duiwaichukoujinkela} + prerequisite = { + focus = BYG_kuojiansalakejiawenquan + focus = BYG_duiwaichukoujinkela + } relative_position_id = BYG_zhonglifaan - available = { - or ={ - is_in_faction = yes - threat > 0.9 - has_war_support > 1.9 + available = { + OR = { + is_in_faction = yes + threat > 0.9 + has_war_support > 1.9 } } cost = 5 @@ -4474,18 +4971,19 @@ focus = { remove_ideas = USA_neutrality_act } } - focus = { id = BYG_zaitantou icon = GFX_goal_generic_amphibious_assault x = -2 y = 1 - prerequisite = { focus = BYG_jierufenzheng} + prerequisite = { + focus = BYG_jierufenzheng + } relative_position_id = BYG_jierufenzheng - available = { + available = { any_country = { - has_war_with = BYG - is_major = yes + has_war_with = BYG + is_major = yes } } cost = 8 @@ -4495,31 +4993,32 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { - name = "在滩头" - bonus = 2 - uses = 2 - category = tp_tech + name = "在滩头" + bonus = 2 + uses = 2 + category = tp_tech } add_tech_bonus = { - name = "在滩头" - bonus = 2 - uses = 2 - category = marine_tech + name = "在滩头" + bonus = 2 + uses = 2 + category = marine_tech } } } - focus = { id = BYG_minzhubinggongchang icon = GFX_goal_support_democracy x = 2 y = 1 - prerequisite = { focus = BYG_jierufenzheng} + prerequisite = { + focus = BYG_jierufenzheng + } relative_position_id = BYG_jierufenzheng - available = { + available = { any_country = { - has_war_with = BYG - is_major = yes + has_war_with = BYG + is_major = yes } } cost = 10 @@ -4529,62 +5028,75 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes - } + } } } } - focus = { id = BYG_zheshiwomendeshidai icon = GFX_focus_baiying x = 2 y = 1 - prerequisite = { focus = BYG_zaitantou} - prerequisite = { focus = BYG_minzhubinggongchang} + prerequisite = { + focus = BYG_zaitantou + } + prerequisite = { + focus = BYG_minzhubinggongchang + } relative_position_id = BYG_zaitantou - available = { + available = { is_puppet = no } cost = 10 @@ -4597,15 +5109,15 @@ focus = { add_ideas = BYG_bygdesd } } - focus = { id = BYG_yuqiyejiahezuo icon = GFX_goal_generic_improve_relations x = -2 y = 1 - prerequisite = { focus = BYG_baiyingliyiyouxian } + prerequisite = { + focus = BYG_baiyingliyiyouxian + } relative_position_id = BYG_baiyingliyiyouxian - cost = 5 ai_will_do = { factor = 10 @@ -4616,17 +5128,17 @@ focus = { add_stability = -0.1 } } - focus = { id = BYG_yingduidaxiaotiao icon = GFX_goal_generic_production x = 2 y = 1 - prerequisite = { focus = BYG_baiyingliyiyouxian } + prerequisite = { + focus = BYG_baiyingliyiyouxian + } relative_position_id = BYG_baiyingliyiyouxian - bypass = { - tag = CSA + tag = CSA } cost = 5 ai_will_do = { @@ -4634,18 +5146,18 @@ focus = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - BYG_dxt_dengji = 1 + BYG_dxt_dengji = yes } } - focus = { id = BYG_fenxiangcaifu icon = GFX_focus_generic_royal_wedding x = 0 y = 1 - prerequisite = { focus = BYG_yuqiyejiahezuo } + prerequisite = { + focus = BYG_yuqiyejiahezuo + } relative_position_id = BYG_yuqiyejiahezuo - cost = 5 ai_will_do = { factor = 10 @@ -4658,15 +5170,15 @@ focus = { add_ideas = BYG_fenxiangcf } } - focus = { id = BYG_jungongkuozhangfaan icon = GFX_goal_generic_construct_mil_factory x = 0 y = 1 - prerequisite = { focus = BYG_yingduidaxiaotiao } + prerequisite = { + focus = BYG_yingduidaxiaotiao + } relative_position_id = BYG_yingduidaxiaotiao - cost = 10 ai_will_do = { factor = 100 @@ -4676,45 +5188,53 @@ focus = { add_stability = -0.1 add_war_support = 0.2 random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 4 add_building_construction = { type = arms_factory level = 4 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 4 add_building_construction = { type = arms_factory level = 4 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 4 add_building_construction = { type = arms_factory level = 4 instant_build = yes - } + } } - BYG_dxt_dengji = 1 + BYG_dxt_dengji = yes } } - focus = { id = BYG_jianchatanwufubai icon = GFX_focus_usa_reestablish_the_gold_standard x = 2 y = 1 - prerequisite = { focus = BYG_fenxiangcaifu } - prerequisite = { focus = BYG_jungongkuozhangfaan } + prerequisite = { + focus = BYG_fenxiangcaifu + } + prerequisite = { + focus = BYG_jungongkuozhangfaan + } relative_position_id = BYG_fenxiangcaifu - bypass = { tag = CSA } @@ -4725,18 +5245,21 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { country_event = az_tianjiang.133 - add_popularity = { ideology = neutrality popularity = 0.3 } + add_popularity = { + ideology = neutrality + popularity = 0.3 + } } } - focus = { id = BYG_fanxingongyejishu icon = GFX_goal_generic_construction x = -2 y = 1 - prerequisite = { focus = BYG_jianchatanwufubai } + prerequisite = { + focus = BYG_jianchatanwufubai + } relative_position_id = BYG_jianchatanwufubai - cost = 8 ai_will_do = { factor = 10 @@ -4752,15 +5275,15 @@ focus = { } } } - focus = { id = BYG_zhanzhengkexue icon = GFX_focus_rocketry x = 0 y = 1 - prerequisite = { focus = BYG_jianchatanwufubai } + prerequisite = { + focus = BYG_jianchatanwufubai + } relative_position_id = BYG_jianchatanwufubai - cost = 8 ai_will_do = { factor = 10 @@ -4771,7 +5294,7 @@ focus = { name = "战争科学" bonus = 1.5 ahead_reduction = 1.5 - uses = 1.5 + uses = 2 category = armor } add_tech_bonus = { @@ -4783,15 +5306,15 @@ focus = { } } } - focus = { id = BYG_tankeshengchangongchang icon = GFX_focus_generic_tank_production x = 2 y = 1 - prerequisite = { focus = BYG_jianchatanwufubai } + prerequisite = { + focus = BYG_jianchatanwufubai + } relative_position_id = BYG_jianchatanwufubai - cost = 8 ai_will_do = { factor = 10 @@ -4801,27 +5324,40 @@ focus = { add_ideas = BYG_tankegc } } - focus = { id = BYG_youxianganshe icon = GFX_goal_generic_forceful_treaty x = 1 y = 1 - prerequisite = { focus = BYG_fanxingongyejishu } - prerequisite = { focus = BYG_zhanzhengkexue } - prerequisite = { focus = BYG_tankeshengchangongchang } + prerequisite = { + focus = BYG_fanxingongyejishu + } + prerequisite = { + focus = BYG_zhanzhengkexue + } + prerequisite = { + focus = BYG_tankeshengchangongchang + } relative_position_id = BYG_fanxingongyejishu - mutually_exclusive = {focus = BYG_baiyingyaosaizhuyi} - available = { + mutually_exclusive = { + focus = BYG_baiyingyaosaizhuyi + } + available = { is_puppet = no - or = { - tag = BYG - if = { - tag = CSA - not = {country_exists = BYG} - not = {country_exists = USA} - not = {country_exists = USB} - } + OR = { + tag = BYG + AND = { + tag = CSA + NOT = { + country_exists = BYG + } + NOT = { + country_exists = USA + } + NOT = { + country_exists = USB + } + } } } cost = 5 @@ -4831,37 +5367,52 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_war_support = 0.5 - set_rule = { can_send_volunteers = yes } + set_rule = { + can_send_volunteers = yes + } } } - focus = { id = BYG_baiyingyaosaizhuyi icon = GFX_goal_generic_defence x = -1 y = 1 - prerequisite = { focus = BYG_fanxingongyejishu } - prerequisite = { focus = BYG_zhanzhengkexue } - prerequisite = { focus = BYG_tankeshengchangongchang } + prerequisite = { + focus = BYG_fanxingongyejishu + } + prerequisite = { + focus = BYG_zhanzhengkexue + } + prerequisite = { + focus = BYG_tankeshengchangongchang + } relative_position_id = BYG_tankeshengchangongchang - available = { + available = { is_puppet = no has_war = no - or = { - tag = BYG - if = { - tag = CSA - not = {country_exists = BYG} - not = {country_exists = USA} - not = {country_exists = USB} - } + OR = { + tag = BYG + AND = { + tag = CSA + NOT = { + country_exists = BYG + } + NOT = { + country_exists = USA + } + NOT = { + country_exists = USB + } + } } } bypass = { - tag = CSA - is_ai = yes + tag = CSA + is_ai = yes + } + mutually_exclusive = { + focus = BYG_youxianganshe } - mutually_exclusive = {focus = BYG_youxianganshe} cost = 5 ai_will_do = { factor = 10 @@ -4869,30 +5420,37 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_5 = yes - set_rule = { can_create_factions = yes } + set_rule = { + can_create_factions = yes + } create_faction = "白鹰-碧蓝航线" custom_effect_tooltip = YUW_tips } } - focus = { id = BYG_jiaruchisezhongzhou icon = GFX_fflag_TIX x = -1 y = 1 - prerequisite = { focus = BYG_youxianganshe } + prerequisite = { + focus = BYG_youxianganshe + } relative_position_id = BYG_youxianganshe - mutually_exclusive = {focus = BYG_ganshedongyazhanzheng} - available = { + mutually_exclusive = { + focus = BYG_ganshedongyazhanzheng + } + available = { is_puppet = no - or = { - has_government = fascism - has_government = neutrality + OR = { + has_government = fascism + has_government = neutrality } custom_trigger_tooltip = { tooltip = "铁血国创建了赤色中轴" has_global_flag = TIX_created_chisezhongzhou - TIX = { is_faction_leader = yes } + TIX = { + is_faction_leader = yes + } } } cost = 5 @@ -4901,32 +5459,41 @@ focus = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - set_rule = { can_create_factions = yes } + set_rule = { + can_create_factions = yes + } TIX = { add_to_faction = BYG } } } - focus = { id = BYG_ganshedongyazhanzheng icon = GFX_aflag_CHY x = 1 y = 1 - prerequisite = { focus = BYG_youxianganshe focus = BYG_baiyingyaosaizhuyi } + prerequisite = { + focus = BYG_youxianganshe + focus = BYG_baiyingyaosaizhuyi + } relative_position_id = BYG_youxianganshe - mutually_exclusive = {focus = BYG_jiaruchisezhongzhou focus = BYG_yushiwuzheng} + mutually_exclusive = { + focus = BYG_jiaruchisezhongzhou + focus = BYG_yushiwuzheng + } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - available = { - not = { tag = CSA } + available = { + NOT = { + tag = CSA + } is_puppet = no CHY = { - has_war_with = DOH + has_war_with = DOH } DOH = { - surrender_progress > 0.4 + surrender_progress > 0.4 } } will_lead_to_war_with = CHY @@ -4936,7 +5503,10 @@ focus = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_to_war = { targeted_alliance = DOH enemy = CHY } + add_to_war = { + targeted_alliance = DOH + enemy = CHY + } } } focus = { @@ -4944,10 +5514,13 @@ focus = { icon = GFX_goal_generic_forceful_treaty x = 1 y = 1 - prerequisite = { focus = BYG_baiyingyaosaizhuyi } + prerequisite = { + focus = BYG_baiyingyaosaizhuyi + } relative_position_id = BYG_baiyingyaosaizhuyi - mutually_exclusive = {focus = BYG_ganshedongyazhanzheng} - + mutually_exclusive = { + focus = BYG_ganshedongyazhanzheng + } cost = 5 ai_will_do = { factor = 0 @@ -4957,39 +5530,47 @@ focus = { custom_effect_tooltip = YUW_tips } } - focus = { id = BYG_zhengfuxiouluoba icon = GFX_focus_usa_focus_on_europe x = 1 y = 1 - prerequisite = { focus = BYG_jiaruchisezhongzhou focus = BYG_ganshedongyazhanzheng} + prerequisite = { + focus = BYG_jiaruchisezhongzhou + focus = BYG_ganshedongyazhanzheng + } relative_position_id = BYG_jiaruchisezhongzhou allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - available = { + available = { is_puppet = no - not = {has_completed_focus = BYG_baiyingyaosaizhuyi} - or = { - has_government = fascism - has_government = neutrality + NOT = { + has_completed_focus = BYG_baiyingyaosaizhuyi } - or = { - YUW = { - not = { has_government = fascism} - } - HUJ = { - not = { has_government = fascism} + OR = { + has_government = fascism + has_government = neutrality } + OR = { + YUW = { + NOT = { + has_government = fascism + } + } + HUJ = { + NOT = { + has_government = fascism + } + } } } bypass = { YUW = { - has_government = fascism + has_government = fascism } HUJ = { - has_government = fascism + has_government = fascism } } will_lead_to_war_with = YUW @@ -5001,48 +5582,67 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { - YUW = { - not = { has_government = fascism} - } - } - create_wargoal = { target = YUW type = annex_everything } + limit = { + YUW = { + NOT = { + has_government = fascism + } + } + } + create_wargoal = { + target = YUW + type = annex_everything + } } if = { - limit = { - YUW = { - not = { has_government = fascism} - } - } - create_wargoal = { target = HUJ type = annex_everything } + limit = { + YUW = { + NOT = { + has_government = fascism + } + } + } + create_wargoal = { + target = HUJ + type = annex_everything + } } } } - focus = { id = BYG_baiyingmenluozhengce icon = GFX_goal_generic_propaganda x = 1 y = 1 - prerequisite = { focus = BYG_jiaruchisezhongzhou focus = BYG_ganshedongyazhanzheng focus = BYG_yushiwuzheng} + prerequisite = { + focus = BYG_jiaruchisezhongzhou + focus = BYG_ganshedongyazhanzheng + focus = BYG_yushiwuzheng + } relative_position_id = BYG_ganshedongyazhanzheng allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - available = { + available = { is_puppet = no - or = { - has_government = fascism - has_government = neutrality - } - or = { - tag = BYG - if = { - tag = CSA - not = {country_exists = BYG} - not = {country_exists = USA} - not = {country_exists = USB} + OR = { + has_government = fascism + has_government = neutrality } + OR = { + tag = BYG + AND = { + tag = CSA + NOT = { + country_exists = BYG + } + NOT = { + country_exists = USA + } + NOT = { + country_exists = USB + } + } } } cost = 10 @@ -5051,59 +5651,124 @@ focus = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = MEX type = annex_everything } - create_wargoal = { target = BRA type = annex_everything } - create_wargoal = { target = ARG type = annex_everything } - create_wargoal = { target = COL type = annex_everything } - create_wargoal = { target = BOL type = annex_everything } - annex_country = { target = CUB transfer_troops = no } - annex_country = { target = HAI transfer_troops = no } - annex_country = { target = DOM transfer_troops = no } - annex_country = { target = GUA transfer_troops = no } - annex_country = { target = HON transfer_troops = no } - annex_country = { target = ELS transfer_troops = no } - annex_country = { target = NIC transfer_troops = no } - annex_country = { target = PAN transfer_troops = no } - annex_country = { target = COS transfer_troops = no } - annex_country = { target = ECU transfer_troops = no } - annex_country = { target = VEN transfer_troops = no } - annex_country = { target = PRU transfer_troops = no } - annex_country = { target = CHL transfer_troops = no } - annex_country = { target = PAR transfer_troops = no } - annex_country = { target = URG transfer_troops = no } + create_wargoal = { + target = MEX + type = annex_everything + } + create_wargoal = { + target = BRA + type = annex_everything + } + create_wargoal = { + target = ARG + type = annex_everything + } + create_wargoal = { + target = COL + type = annex_everything + } + create_wargoal = { + target = BOL + type = annex_everything + } + annex_country = { + target = CUB + transfer_troops = no + } + annex_country = { + target = HAI + transfer_troops = no + } + annex_country = { + target = DOM + transfer_troops = no + } + annex_country = { + target = GUA + transfer_troops = no + } + annex_country = { + target = HON + transfer_troops = no + } + annex_country = { + target = ELS + transfer_troops = no + } + annex_country = { + target = NIC + transfer_troops = no + } + annex_country = { + target = PAN + transfer_troops = no + } + annex_country = { + target = COS + transfer_troops = no + } + annex_country = { + target = ECU + transfer_troops = no + } + annex_country = { + target = VEN + transfer_troops = no + } + annex_country = { + target = PRU + transfer_troops = no + } + annex_country = { + target = CHL + transfer_troops = no + } + annex_country = { + target = PAR + transfer_troops = no + } + annex_country = { + target = URG + transfer_troops = no + } } } - focus = { id = BYG_xiaomiehongseweixie icon = GFX_aflag_BFL x = -1 y = 1 - prerequisite = { focus = BYG_zhengfuxiouluoba } + prerequisite = { + focus = BYG_zhengfuxiouluoba + } relative_position_id = BYG_zhengfuxiouluoba - available = { + available = { is_puppet = no - or = { - has_government = fascism - has_government = neutrality + OR = { + has_government = fascism + has_government = neutrality } - or = { - not = {country_exists = HUJ} - is_in_faction_with = HUJ + OR = { + NOT = { + country_exists = HUJ + } + is_in_faction_with = HUJ } - or = { - not = {country_exists = YUW} - is_in_faction_with = YUW + OR = { + NOT = { + country_exists = YUW + } + is_in_faction_with = YUW } BFL = { - has_government = communism + has_government = communism } } bypass = { - not = { - BFL = { - has_government = communism - } + NOT = { + BFL = { + has_government = communism + } } } cost = 5 @@ -5113,37 +5778,51 @@ focus = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = BFL type = annex_everything } + create_wargoal = { + target = BFL + type = annex_everything + } } } - focus = { id = BYG_buguoshimenshengyi icon = GFX_aflag_TIX x = 1 y = 1 - prerequisite = { focus = BYG_zhengfuxiouluoba } - prerequisite = { focus = BYG_baiyingmenluozhengce } + prerequisite = { + focus = BYG_zhengfuxiouluoba + } + prerequisite = { + focus = BYG_baiyingmenluozhengce + } relative_position_id = BYG_zhengfuxiouluoba - available = { + available = { is_puppet = no - or = { - has_government = fascism - has_government = neutrality + OR = { + has_government = fascism + has_government = neutrality } - or = { - not = {country_exists = HUJ} - is_in_faction_with = HUJ + OR = { + NOT = { + country_exists = HUJ + } + is_in_faction_with = HUJ } - or = { - not = {country_exists = YUW} - is_in_faction_with = YUW + OR = { + NOT = { + country_exists = YUW + } + is_in_faction_with = YUW } - or = { - not = {country_exists = BFL } - is_in_faction_with = BFL + OR = { + NOT = { + country_exists = BFL + } + is_in_faction_with = BFL + } + NOT = { + tag = CSA } - not = { tag = CSA } } bypass = { has_war_with = TIX @@ -5158,23 +5837,29 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { create_faction = "白鹰-碧蓝航线" - create_wargoal = { target = TIX type = annex_everything } + create_wargoal = { + target = TIX + type = annex_everything + } } } - focus = { id = BYG_menluokuozhang icon = GFX_goal_generic_political_pressure x = 1 y = 1 - prerequisite = { focus = BYG_zhengfuxiouluoba } - prerequisite = { focus = BYG_baiyingmenluozhengce } + prerequisite = { + focus = BYG_zhengfuxiouluoba + } + prerequisite = { + focus = BYG_baiyingmenluozhengce + } relative_position_id = BYG_baiyingmenluozhengce - available = { + available = { is_puppet = no - or = { - has_government = fascism - has_government = neutrality + OR = { + has_government = fascism + has_government = neutrality } } bypass = { @@ -5189,29 +5874,45 @@ focus = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = BLI type = annex_everything } - create_wargoal = { target = AST type = annex_everything } - create_wargoal = { target = INS type = annex_everything } + create_wargoal = { + target = BLI + type = annex_everything + } + create_wargoal = { + target = AST + type = annex_everything + } + create_wargoal = { + target = INS + type = annex_everything + } } } - focus = { id = BYG_diaochabbaimudaguiyishijian icon = GFX_aflag_SIR x = 0 y = 1 - prerequisite = { focus = BYG_xiaomiehongseweixie } - prerequisite = { focus = BYG_buguoshimenshengyi } - prerequisite = { focus = BYG_menluokuozhang } + prerequisite = { + focus = BYG_xiaomiehongseweixie + } + prerequisite = { + focus = BYG_buguoshimenshengyi + } + prerequisite = { + focus = BYG_menluokuozhang + } relative_position_id = BYG_buguoshimenshengyi - available = { + available = { is_puppet = no has_war = no - or = { - has_government = fascism - has_government = neutrality + OR = { + has_government = fascism + has_government = neutrality + } + NOT = { + tag = CSA } - not = { tag = CSA } } bypass = { has_war_with = SIR @@ -5219,7 +5920,7 @@ focus = { cost = 10 will_lead_to_war_with = SIR select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled } ai_will_do = { factor = 0 @@ -5227,11 +5928,13 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = YUW_tips - create_wargoal = { target = SIR type = annex_everything } + create_wargoal = { + target = SIR + type = annex_everything + } clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag } } - focus = { id = BYG_zhengyidezhicai icon = GFX_aflag_YUW @@ -5240,18 +5943,20 @@ focus = { allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - prerequisite = { focus = BYG_zhengyidebaohu } + prerequisite = { + focus = BYG_zhengyidebaohu + } relative_position_id = BYG_zhengyidebaohu - available = { + available = { YUW = { - or = { - has_completed_focus = YUW_yuanweikuozhangzhuyi - has_completed_focus = YUW_buliuxuedeneizhan - has_completed_focus = YUW_chedijingjigaige - has_completed_focus = YUW_rushensuoyuan - has_completed_focus = YUW_chongjianwangguo - has_focus_tree = yuanwei_c_focus - } + OR = { + has_completed_focus = YUW_yuanweikuozhangzhuyi + has_completed_focus = YUW_buliuxuedeneizhan + has_completed_focus = YUW_chedijingjigaige + has_completed_focus = YUW_rushensuoyuan + has_completed_focus = YUW_chongjianwangguo + has_focus_tree = yuanwei_c_focus + } } } bypass = { @@ -5264,18 +5969,22 @@ focus = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = YUW type = annex_everything } + create_wargoal = { + target = YUW + type = annex_everything + } } } - focus = { id = BYG_xiaomiexiee icon = GFX_aflag_TIX x = 0 y = 1 - prerequisite = { focus = BYG_yuanjiao } + prerequisite = { + focus = BYG_yuanjiao + } relative_position_id = BYG_yuanjiao - available = { + available = { is_puppet = no } bypass = { @@ -5289,51 +5998,65 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { - TIX = { - has_government = fascism - } - } - create_wargoal = { target = TIX type = annex_everything } + limit = { + TIX = { + has_government = fascism + } + } + create_wargoal = { + target = TIX + type = annex_everything + } } if = { - limit = { - BFL = { - has_government = communism + limit = { + BFL = { + has_government = communism + } + } + create_wargoal = { + target = BFL + type = annex_everything + } } + create_wargoal = { + target = CHY + type = annex_everything } - create_wargoal = { target = BFL type = annex_everything } - } - create_wargoal = { target = CHY type = annex_everything } } } - focus = { id = BYG_baiyingxinsheng icon = GFX_focus_SOV_the_supreme_soviet x = -2 y = 1 - prerequisite = { focus = BYG_hongselianbangdansheng } + prerequisite = { + focus = BYG_hongselianbangdansheng + } relative_position_id = BYG_hongselianbangdansheng - available = { + available = { has_government = communism - not = {has_country_flag = baiyingneizhaweiji} + NOT = { + has_country_flag = baiyingneizhaweiji + } has_country_leader = { name = "哈曼曼" ruling_only = yes } } - mutually_exclusive = { focus = BYG_yuanbendewomen focus = BYG_fangeming } + mutually_exclusive = { + focus = BYG_yuanbendewomen + focus = BYG_fangeming + } bypass = { tag = USB } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled } cost = 5 ai_will_do = { factor = 100 - } completion_reward = { custom_effect_tooltip = YUW_tips @@ -5341,99 +6064,126 @@ focus = { set_cosmetic_tag = USB1 add_stability = 0.4 add_war_support = 0.5 - add_popularity = { ideology = communism popularity = 0.5 } + add_popularity = { + ideology = communism + popularity = 0.5 + } } } - focus = { id = BYG_yuanbendewomen icon = GFX_focus_spr_torchbearers_of_tomorrow x = 0 y = 1 - prerequisite = { focus = BYG_hongselianbangdansheng } + prerequisite = { + focus = BYG_hongselianbangdansheng + } relative_position_id = BYG_hongselianbangdansheng - mutually_exclusive = { focus = BYG_baiyingxinsheng focus = BYG_fangeming } - available = { + mutually_exclusive = { + focus = BYG_baiyingxinsheng + focus = BYG_fangeming + } + available = { has_government = communism - not = {has_country_flag = baiyingneizhaweiji} - or = { - has_country_leader = { - name = "波特兰" - ruling_only = yes - } - has_country_leader = { - name = "哈曼曼" - ruling_only = yes - } - has_country_leader = { - name = "火奴鲁鲁" - ruling_only = yes + NOT = { + has_country_flag = baiyingneizhaweiji } + OR = { + has_country_leader = { + name = "波特兰" + ruling_only = yes + } + has_country_leader = { + name = "哈曼曼" + ruling_only = yes + } + has_country_leader = { + name = "火奴鲁鲁" + ruling_only = yes + } } } cost = 5 ai_will_do = { factor = 80 - } completion_reward = { add_political_power = 100 add_stability = 0.2 add_war_support = 0.2 - add_popularity = { ideology = communism popularity = 0.2 } + add_popularity = { + ideology = communism + popularity = 0.2 + } } } - focus = { id = BYG_fangeming icon = GFX_focus_spr_crush_the_revolution x = 2 y = 1 - prerequisite = { focus = BYG_hongselianbangdansheng } + prerequisite = { + focus = BYG_hongselianbangdansheng + } relative_position_id = BYG_hongselianbangdansheng - mutually_exclusive = { focus = BYG_baiyingxinsheng focus = BYG_yuanbendewomen } - available = { + mutually_exclusive = { + focus = BYG_baiyingxinsheng + focus = BYG_yuanbendewomen + } + available = { always = no has_government = communism - not = {has_country_flag = baiyingneizhaweiji} + NOT = { + has_country_flag = baiyingneizhaweiji + } has_country_leader = { name = "哈曼曼" ruling_only = yes } } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled } cost = 15 ai_will_do = { factor = 0 - } completion_reward = { custom_effect_tooltip = YUW_tips clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag add_political_power = 200 add_stability = 0.3 - add_popularity = { ideology = communism popularity = -0.5 } - + add_popularity = { + ideology = communism + popularity = -0.5 + } } } - focus = { id = BYG_jurendejuexing icon = GFX_focus_por_workers_of_iberia x = 1 y = 1 - prerequisite = { focus = BYG_baiyingxinsheng focus = BYG_fangeming focus = BYG_yuanbendewomen } + prerequisite = { + focus = BYG_baiyingxinsheng + focus = BYG_fangeming + focus = BYG_yuanbendewomen + } relative_position_id = BYG_baiyingxinsheng - available = { + available = { has_government = communism - or = { - not = {has_country_flag = baiyingneizhaweiji} - if = { - not = {country_exists = CSA} - not = {country_exists = USA} - } + OR = { + NOT = { + has_country_flag = baiyingneizhaweiji + } + AND = { + NOT = { + country_exists = CSA + } + NOT = { + country_exists = USA + } + } } } bypass = { @@ -5446,24 +6196,27 @@ focus = { completion_reward = { custom_effect_tooltip = byg_zaiwudxt hidden_effect = { - remove_ideas = great_depression - remove_ideas = BYG_jjwjhyz - remove_ideas = BYG_jjwjhyz_1 - remove_ideas = BYG_jjwjhyz_2 - remove_ideas = BYG_jjwjhyz_3 - remove_ideas = BYG_jjwjhyz_4 + remove_ideas = great_depression + remove_ideas = BYG_jjwjhyz + remove_ideas = BYG_jjwjhyz_1 + remove_ideas = BYG_jjwjhyz_2 + remove_ideas = BYG_jjwjhyz_3 + remove_ideas = BYG_jjwjhyz_4 } } } - focus = { id = BYG_jianshaogongrengongshi icon = GFX_focus_hol_the_foundations_of_defense x = 1 y = 1 - prerequisite = { focus = BYG_baiyingxinsheng focus = BYG_fangeming focus = BYG_yuanbendewomen } + prerequisite = { + focus = BYG_baiyingxinsheng + focus = BYG_fangeming + focus = BYG_yuanbendewomen + } relative_position_id = BYG_yuanbendewomen - available = { + available = { has_government = communism } cost = 8 @@ -5471,21 +6224,24 @@ focus = { factor = 10 } completion_reward = { - add_political_power = 200 - add_stability = -0.1 - add_war_support = 0.2 + add_political_power = 200 + add_stability = -0.1 + add_war_support = 0.2 } } - focus = { id = BYG_leijicaifushuifaan icon = GFX_focus_eng_concessions_to_the_trade_unions x = -1 y = 1 - prerequisite = { focus = BYG_jurendejuexing } - prerequisite = { focus = BYG_jianshaogongrengongshi } + prerequisite = { + focus = BYG_jurendejuexing + } + prerequisite = { + focus = BYG_jianshaogongrengongshi + } relative_position_id = BYG_jurendejuexing - available = { + available = { has_government = communism } cost = 10 @@ -5496,16 +6252,19 @@ focus = { add_ideas = BYG_ljcfsfan } } - focus = { id = BYG_ziyougonghui icon = GFX_focus_generic_join_comintern x = 1 y = 1 - prerequisite = { focus = BYG_jurendejuexing } - prerequisite = { focus = BYG_jianshaogongrengongshi } + prerequisite = { + focus = BYG_jurendejuexing + } + prerequisite = { + focus = BYG_jianshaogongrengongshi + } relative_position_id = BYG_jurendejuexing - available = { + available = { has_government = communism } cost = 8 @@ -5516,16 +6275,19 @@ focus = { add_ideas = BYG_zygonghui } } - focus = { id = BYG_guojiajingjiyuanzhu icon = GFX_focus_generic_soviet_politics x = 1 y = 1 - prerequisite = { focus = BYG_jurendejuexing } - prerequisite = { focus = BYG_jianshaogongrengongshi } + prerequisite = { + focus = BYG_jurendejuexing + } + prerequisite = { + focus = BYG_jianshaogongrengongshi + } relative_position_id = BYG_jianshaogongrengongshi - available = { + available = { has_government = communism } cost = 8 @@ -5537,17 +6299,22 @@ focus = { add_stability = 0.25 } } - focus = { id = BYG_zhanzhengxuanchuan icon = GFX_focus_generic_support_the_left_right x = 1 y = 1 - prerequisite = { focus = BYG_ziyougonghui } - prerequisite = { focus = BYG_leijicaifushuifaan } - prerequisite = { focus = BYG_guojiajingjiyuanzhu } + prerequisite = { + focus = BYG_ziyougonghui + } + prerequisite = { + focus = BYG_leijicaifushuifaan + } + prerequisite = { + focus = BYG_guojiajingjiyuanzhu + } relative_position_id = BYG_leijicaifushuifaan - available = { + available = { has_government = communism } cost = 10 @@ -5559,37 +6326,42 @@ focus = { add_ideas = BYG_zzxchuan } } - focus = { id = BYG_huanyingkexuejia icon = GFX_focus_generic_socialist_science x = 1 y = 1 - prerequisite = { focus = BYG_ziyougonghui } - prerequisite = { focus = BYG_leijicaifushuifaan } - prerequisite = { focus = BYG_guojiajingjiyuanzhu } + prerequisite = { + focus = BYG_ziyougonghui + } + prerequisite = { + focus = BYG_leijicaifushuifaan + } + prerequisite = { + focus = BYG_guojiajingjiyuanzhu + } relative_position_id = BYG_ziyougonghui - available = { + available = { has_government = communism } cost = 10 ai_will_do = { factor = 100 } - completion_reward = { + completion_reward = { guojishengyu_up_3 = yes add_ideas = BYG_hykxjia } } - focus = { id = BYG_tankezhizaogongchang icon = GFX_focus_generic_tank_production x = -1 y = 1 - prerequisite = { focus = BYG_zhanzhengxuanchuan } + prerequisite = { + focus = BYG_zhanzhengxuanchuan + } relative_position_id = BYG_zhanzhengxuanchuan - cost = 8 ai_will_do = { factor = 100 @@ -5599,16 +6371,18 @@ focus = { add_ideas = BYG_tankegc } } - focus = { id = BYG_gaosukejifazhan icon = GFX_focus_research2 x = 1 y = 1 - prerequisite = { focus = BYG_zhanzhengxuanchuan } - prerequisite = { focus = BYG_huanyingkexuejia } + prerequisite = { + focus = BYG_zhanzhengxuanchuan + } + prerequisite = { + focus = BYG_huanyingkexuejia + } relative_position_id = BYG_zhanzhengxuanchuan - cost = 12 ai_will_do = { factor = 100 @@ -5638,16 +6412,18 @@ focus = { } } } - focus = { id = BYG_gongchanbinggongchang icon = GFX_goal_support_communism x = 1 y = 1 - prerequisite = { focus = BYG_tankezhizaogongchang } - prerequisite = { focus = BYG_gaosukejifazhan } + prerequisite = { + focus = BYG_tankezhizaogongchang + } + prerequisite = { + focus = BYG_gaosukejifazhan + } relative_position_id = BYG_tankezhizaogongchang - cost = 15 ai_will_do = { factor = 100 @@ -5655,61 +6431,71 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 3 add_building_construction = { type = arms_factory level = 3 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 3 add_building_construction = { type = arms_factory level = 3 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 3 add_building_construction = { type = arms_factory level = 3 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 3 add_building_construction = { type = arms_factory level = 3 instant_build = yes - } + } } random_owned_controlled_state = { - limit = { is_core_of = BYG } + limit = { + is_core_of = BYG + } add_extra_state_shared_building_slots = 3 add_building_construction = { type = arms_factory level = 3 instant_build = yes - } + } } } } - focus = { id = BYG_huoxingshiyanshi icon = GFX_focus_research x = 1 y = 1 - prerequisite = { focus = BYG_gaosukejifazhan } + prerequisite = { + focus = BYG_gaosukejifazhan + } relative_position_id = BYG_gaosukejifazhan - cost = 10 ai_will_do = { factor = 100 @@ -5719,36 +6505,52 @@ focus = { add_research_slot = 1 } } - focus = { id = BYG_jiarugongchanlianmeng icon = GFX_fflag_BFL x = -3 y = 1 - prerequisite = { focus = BYG_gongchanbinggongchang } - prerequisite = { focus = BYG_huoxingshiyanshi } + prerequisite = { + focus = BYG_gongchanbinggongchang + } + prerequisite = { + focus = BYG_huoxingshiyanshi + } relative_position_id = BYG_gongchanbinggongchang - mutually_exclusive = { focus = BYG_xindegongchanguoji focus = BYG_baiyingyaosaizhuyi_2} - available = { + mutually_exclusive = { + focus = BYG_xindegongchanguoji + focus = BYG_baiyingyaosaizhuyi_2 + } + available = { is_puppet = no has_government = communism BFL = { - has_government = communism - not = { has_war_with = BYG } + has_government = communism + NOT = { + has_war_with = BYG + } } custom_trigger_tooltip = { tooltip = "共产联盟存在" has_global_flag = BFL_created_gongchanlianmeng - BFL = { is_faction_leader = yes } - } - or = { - tag = BYG - if = { - tag = USB - not = {country_exists = BYG} - not = {country_exists = USA} - not = {country_exists = CSA} + BFL = { + is_faction_leader = yes + } } + OR = { + tag = BYG + AND = { + tag = USB + NOT = { + country_exists = BYG + } + NOT = { + country_exists = USA + } + NOT = { + country_exists = CSA + } + } } } cost = 5 @@ -5762,34 +6564,46 @@ focus = { } } } - focus = { id = BYG_xindegongchanguoji icon = GFX_goal_support_fourth_int x = 0 y = 1 - prerequisite = { focus = BYG_gongchanbinggongchang } - prerequisite = { focus = BYG_huoxingshiyanshi } + prerequisite = { + focus = BYG_gongchanbinggongchang + } + prerequisite = { + focus = BYG_huoxingshiyanshi + } relative_position_id = BYG_gongchanbinggongchang - mutually_exclusive = { focus = BYG_jiarugongchanlianmeng focus = BYG_baiyingyaosaizhuyi_2} - available = { + mutually_exclusive = { + focus = BYG_jiarugongchanlianmeng + focus = BYG_baiyingyaosaizhuyi_2 + } + available = { is_puppet = no has_government = communism - or = { - has_completed_focus = BYG_baiyingxinsheng - has_country_leader = { - name = "波特兰" - ruling_only = yes - } - } - or = { - tag = BYG - if = { - tag = USB - not = {country_exists = BYG} - not = {country_exists = USA} - not = {country_exists = CSA} + OR = { + has_completed_focus = BYG_baiyingxinsheng + has_country_leader = { + name = "波特兰" + ruling_only = yes + } } + OR = { + tag = BYG + AND = { + tag = USB + NOT = { + country_exists = BYG + } + NOT = { + country_exists = USA + } + NOT = { + country_exists = CSA + } + } } } cost = 5 @@ -5798,31 +6612,45 @@ focus = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - set_rule = { can_create_factions = yes } + set_rule = { + can_create_factions = yes + } create_faction = "白鹰-共产联盟" } } - focus = { id = BYG_baiyingyaosaizhuyi_2 icon = GFX_goal_generic_defence x = 3 y = 1 - prerequisite = { focus = BYG_gongchanbinggongchang } - prerequisite = { focus = BYG_huoxingshiyanshi } + prerequisite = { + focus = BYG_gongchanbinggongchang + } + prerequisite = { + focus = BYG_huoxingshiyanshi + } relative_position_id = BYG_gongchanbinggongchang - mutually_exclusive = { focus = BYG_jiarugongchanlianmeng focus = BYG_jiarugongchanlianmeng} - available = { + mutually_exclusive = { + focus = BYG_jiarugongchanlianmeng + focus = BYG_jiarugongchanlianmeng + } + available = { is_puppet = no has_war = no - or = { - tag = BYG - if = { - tag = USB - not = {country_exists = BYG} - not = {country_exists = USA} - not = {country_exists = CSA} - } + OR = { + tag = BYG + AND = { + tag = USB + NOT = { + country_exists = BYG + } + NOT = { + country_exists = USA + } + NOT = { + country_exists = CSA + } + } } } cost = 5 @@ -5832,37 +6660,44 @@ focus = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_5 = yes - set_rule = { can_create_factions = yes } + set_rule = { + can_create_factions = yes + } create_faction = "白鹰-碧蓝航线" custom_effect_tooltip = YUW_tips } } - focus = { id = BYG_yingduidongfangweixie icon = GFX_aflag_CHY x = 1 y = 1 - prerequisite = { focus = BYG_jiarugongchanlianmeng focus = BYG_xindegongchanguoji focus = BYG_baiyingyaosaizhuyi_2} + prerequisite = { + focus = BYG_jiarugongchanlianmeng + focus = BYG_xindegongchanguoji + focus = BYG_baiyingyaosaizhuyi_2 + } relative_position_id = BYG_jiarugongchanlianmeng allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - available = { + available = { is_puppet = no - CHY = { - or = { - has_added_tension_amount > 30 - if = { - has_war_with = DOH - DOH = { surrender_progress > 0.4 } - } - } + CHY = { + OR = { + has_added_tension_amount > 30 + AND = { + has_war_with = DOH + DOH = { + surrender_progress > 0.4 + } + } + } } } bypass = { CHY = { - has_government = communism + has_government = communism } } cost = 5 @@ -5872,31 +6707,43 @@ focus = { will_lead_to_war_with = CHY #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = CHY type = annex_everything } + create_wargoal = { + target = CHY + type = annex_everything + } } } - focus = { id = BYG_gemingmenluozhuyi icon = GFX_focus_SOV_the_comecon x = 2 y = 1 - prerequisite = { focus = BYG_jiarugongchanlianmeng focus = BYG_xindegongchanguoji focus = BYG_baiyingyaosaizhuyi_2} + prerequisite = { + focus = BYG_jiarugongchanlianmeng + focus = BYG_xindegongchanguoji + focus = BYG_baiyingyaosaizhuyi_2 + } relative_position_id = BYG_xindegongchanguoji allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - available = { + available = { is_puppet = no has_government = communism - or = { - tag = BYG - if = { - tag = USB - not = {country_exists = BYG} - not = {country_exists = USA} - not = {country_exists = CSA} - } + OR = { + tag = BYG + AND = { + tag = USB + NOT = { + country_exists = BYG + } + NOT = { + country_exists = USA + } + NOT = { + country_exists = CSA + } + } } } cost = 10 @@ -5905,48 +6752,114 @@ focus = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = MEX type = annex_everything } - create_wargoal = { target = BRA type = annex_everything } - create_wargoal = { target = ARG type = annex_everything } - create_wargoal = { target = COL type = annex_everything } - create_wargoal = { target = BOL type = annex_everything } - annex_country = { target = CUB transfer_troops = no } - annex_country = { target = HAI transfer_troops = no } - annex_country = { target = DOM transfer_troops = no } - annex_country = { target = GUA transfer_troops = no } - annex_country = { target = HON transfer_troops = no } - annex_country = { target = ELS transfer_troops = no } - annex_country = { target = NIC transfer_troops = no } - annex_country = { target = PAN transfer_troops = no } - annex_country = { target = COS transfer_troops = no } - annex_country = { target = ECU transfer_troops = no } - annex_country = { target = VEN transfer_troops = no } - annex_country = { target = PRU transfer_troops = no } - annex_country = { target = CHL transfer_troops = no } - annex_country = { target = PAR transfer_troops = no } - annex_country = { target = URG transfer_troops = no } + create_wargoal = { + target = MEX + type = annex_everything + } + create_wargoal = { + target = BRA + type = annex_everything + } + create_wargoal = { + target = ARG + type = annex_everything + } + create_wargoal = { + target = COL + type = annex_everything + } + create_wargoal = { + target = BOL + type = annex_everything + } + annex_country = { + target = CUB + transfer_troops = no + } + annex_country = { + target = HAI + transfer_troops = no + } + annex_country = { + target = DOM + transfer_troops = no + } + annex_country = { + target = GUA + transfer_troops = no + } + annex_country = { + target = HON + transfer_troops = no + } + annex_country = { + target = ELS + transfer_troops = no + } + annex_country = { + target = NIC + transfer_troops = no + } + annex_country = { + target = PAN + transfer_troops = no + } + annex_country = { + target = COS + transfer_troops = no + } + annex_country = { + target = ECU + transfer_troops = no + } + annex_country = { + target = VEN + transfer_troops = no + } + annex_country = { + target = PRU + transfer_troops = no + } + annex_country = { + target = CHL + transfer_troops = no + } + annex_country = { + target = PAR + transfer_troops = no + } + annex_country = { + target = URG + transfer_troops = no + } } } - focus = { id = BYG_xiaomiediguozhuyi icon = GFX_aflag_HUJ x = -1 y = 1 - prerequisite = { focus = BYG_yingduidongfangweixie focus = BYG_gemingmenluozhuyi } + prerequisite = { + focus = BYG_yingduidongfangweixie + focus = BYG_gemingmenluozhuyi + } relative_position_id = BYG_yingduidongfangweixie - available = { + available = { is_puppet = no has_government = communism - not = {is_in_faction_with = HUJ} - not = {has_completed_focus = BYG_baiyingyaosaizhuyi_2} + NOT = { + is_in_faction_with = HUJ + } + NOT = { + has_completed_focus = BYG_baiyingyaosaizhuyi_2 + } } bypass = { HUJ = { - or = { - has_government = communism - has_war_with = BYG - } + OR = { + has_government = communism + has_war_with = BYG + } } } cost = 5 @@ -5956,29 +6869,38 @@ focus = { will_lead_to_war_with = HUJ #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = HUJ type = annex_everything } + create_wargoal = { + target = HUJ + type = annex_everything + } } } - focus = { id = BYG_weiyizhenzhengdegeming icon = GFX_aflag_BFL x = 2 y = 1 - prerequisite = { focus = BYG_yingduidongfangweixie focus = BYG_gemingmenluozhuyi } + prerequisite = { + focus = BYG_yingduidongfangweixie + focus = BYG_gemingmenluozhuyi + } relative_position_id = BYG_yingduidongfangweixie - available = { + available = { is_puppet = no has_government = communism BFL = { - has_added_tension_amount > 40 + has_added_tension_amount > 40 + } + NOT = { + is_in_faction_with = BFL + } + NOT = { + has_completed_focus = BYG_baiyingyaosaizhuyi_2 } - not = {is_in_faction_with = BFL} - not = {has_completed_focus = BYG_baiyingyaosaizhuyi_2} } bypass = { BFL = { - has_war_with = BYG + has_war_with = BYG } } cost = 5 @@ -5988,18 +6910,23 @@ focus = { will_lead_to_war_with = BFL #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = BFL type = annex_everything } + create_wargoal = { + target = BFL + type = annex_everything + } } } - focus = { id = BYG_meishiheping icon = GFX_fflag_BYG x = 5 y = 1 - prerequisite = { focus = BYG_yingduidongfangweixie focus = BYG_gemingmenluozhuyi } + prerequisite = { + focus = BYG_yingduidongfangweixie + focus = BYG_gemingmenluozhuyi + } relative_position_id = BYG_yingduidongfangweixie - available = { + available = { is_puppet = no has_government = communism has_war = no @@ -6018,7 +6945,6 @@ focus = { custom_effect_tooltip = YUW_tips } } - focus = { id = BYG_manhadunjihua icon = GFX_focus_wonderweapons @@ -6028,18 +6954,24 @@ focus = { allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - available = { + available = { is_puppet = no date > 1942.1.1 - or = { - country_exists = GER - TIX = { is_subject_of = BYG } - TIX = { has_government = democratic } - if = { - is_ai = yes - date > 1942.3.1 - not = { has_war_with = TIX } - } + OR = { + country_exists = GER + TIX = { + is_subject_of = BYG + } + TIX = { + has_government = democratic + } + AND = { + is_ai = yes + date > 1942.3.1 + NOT = { + has_war_with = TIX + } + } } } cost = 10 @@ -6047,14 +6979,16 @@ focus = { factor = 100 } will_lead_to_war_with = CHY - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { custom_effect_tooltip = jiesuoluorijueyi_tip add_tech_bonus = { - bonus = 1.5 - ahead_reduction = 1 - uses = 2 - category = nuclear + bonus = 1.5 + ahead_reduction = 1 + uses = 2 + category = nuclear } } } diff --git a/src/common/national_focus/chongying.txt b/src/common/national_focus/chongying.txt index 9c3ed8e..3fe3fef 100755 --- a/src/common/national_focus/chongying.txt +++ b/src/common/national_focus/chongying.txt @@ -6,44 +6,42 @@ country = { factor = 0 modifier = { - tag = CHY - add = 10 + tag = CHY + add = 10 } } - - default = no - - continuous_focus_position = { x = 20 y = 1700 } - #sairenmod + continuous_focus_position = { + x = 20 + y = 1700 + } + #sairenmod focus = { id = CHY_zhunbeijingong_siren icon = GFX_focus_chi_legislative_yuan x = -8 y = 1 - prerequisite = { focus = CHY_xuanzexinqijian } + prerequisite = { + focus = CHY_xuanzexinqijian + } relative_position_id = CHY_xuanzexinqijian allow_branch = { has_global_flag = MOD_azurlane_sairenzhizai } cost = 10 - ai_will_do = { factor = 19 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - stability_factor = 0.15 + add_stability = 0.15 add_equipment_to_stockpile = { - type = infantry_equipment + type = infantry_equipment amount = 9000 } - add_equipment_to_stockpile = { type = artillery_equipment amount = 998 @@ -55,10 +53,11 @@ icon = GFX_goal_continuous_suppression x = 0 y = 1 - prerequisite = { focus = CHY_zhunbeijingong_siren } + prerequisite = { + focus = CHY_zhunbeijingong_siren + } relative_position_id = CHY_zhunbeijingong_siren cost = 1 - ai_will_do = { factor = 1 modifier = { @@ -66,37 +65,55 @@ add = 100 } } - - - bypass = { controls_state = 282 controls_state = 528 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_timed_idea = { idea = CHY_cfjy days = 240 } - declare_war_on = { target = SR3 type = annex_everything } + add_timed_idea = { + idea = CHY_cfjy + days = 240 + } + declare_war_on = { + target = SR3 + type = annex_everything + } add_war_support = 0.1 custom_effect_tooltip = "奇袭部队登陆重樱岛北部" hidden_effect = { - load_oob = "CHY_denglu" + #load_oob = "CHY_denglu" add_threat = -200 - 528 = { add_core_of = CHY } - 529 = { add_core_of = CHY } - 530 = { add_core_of = CHY } - 531 = { add_core_of = CHY } - 532 = { add_core_of = CHY } - 533 = { add_core_of = CHY } - 534 = { add_core_of = CHY } - 535 = { add_core_of = CHY } - 282 = { add_core_of = CHY } + 528 = { + add_core_of = CHY + } + 529 = { + add_core_of = CHY + } + 530 = { + add_core_of = CHY + } + 531 = { + add_core_of = CHY + } + 532 = { + add_core_of = CHY + } + 533 = { + add_core_of = CHY + } + 534 = { + add_core_of = CHY + } + 535 = { + add_core_of = CHY + } + 282 = { + add_core_of = CHY + } } } } @@ -105,14 +122,17 @@ icon = GFX_focus_jap_pacific_guardian x = -1 y = 1 - prerequisite = { focus = CHY_shijiyidao } + prerequisite = { + focus = CHY_shijiyidao + } relative_position_id = CHY_shijiyidao cost = 5 - ai_will_do = { factor = 5 } - mutually_exclusive = { focus = CHY_baochiyuanzhuang } + mutually_exclusive = { + focus = CHY_baochiyuanzhuang + } available = { has_full_control_of_state = 282 has_completed_focus = CHY_xiuyangshengxi @@ -120,11 +140,11 @@ cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - set_capital = { state = 282 } + set_capital = { + state = 282 + } add_stability = 0.1 536 = { add_manpower = -800000 @@ -161,24 +181,24 @@ x = 2 y = 0 relative_position_id = CHY_qiandudongjing - prerequisite = { focus = CHY_shijiyidao } + prerequisite = { + focus = CHY_shijiyidao + } cost = 5 - ai_will_do = { factor = 0 } - mutually_exclusive = { focus = CHY_qiandudongjing } - + mutually_exclusive = { + focus = CHY_qiandudongjing + } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.5 add_war_support = 0.5 - 536 = { + 536 = { add_extra_state_shared_building_slots = 25 add_building_construction = { type = industrial_complex @@ -205,23 +225,22 @@ x = 1 y = 1 cost = 5 - prerequisite = { focus = CHY_qiandudongjing focus = CHY_baochiyuanzhuang } + prerequisite = { + focus = CHY_qiandudongjing + focus = CHY_baochiyuanzhuang + } relative_position_id = CHY_qiandudongjing ai_will_do = { factor = 3 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_political_power = 100 + add_political_power = 100 } } - focus = { id = CHY_tansuodalu icon = GFX_focus_eng_move_to_secure_the_dominions @@ -230,30 +249,31 @@ cost = 10 available = { has_manpower > 20000 - SR3 = { + SR3 = { has_full_control_of_state = 525 } } bypass = { SR3 = { - NOT = { has_full_control_of_state = 525 } + NOT = { + has_full_control_of_state = 525 + } } } - prerequisite = { focus = CHY_duiwaikuozhang } + prerequisite = { + focus = CHY_duiwaikuozhang + } relative_position_id = CHY_duiwaikuozhang ai_will_do = { factor = 3 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_manpower = -20000 - transfer_state = 525 + transfer_state = 525 } } focus = { @@ -267,52 +287,64 @@ SR3 = { AND = { has_full_control_of_state = 527 - has_full_control_of_state = 745 - has_full_control_of_state = 716 - has_full_control_of_state = 328 - has_full_control_of_state = 610 - has_full_control_of_state = 715 - - + has_full_control_of_state = 745 + has_full_control_of_state = 716 + has_full_control_of_state = 328 + has_full_control_of_state = 610 + has_full_control_of_state = 715 } } } bypass = { SR3 = { OR = { - NOT = { has_full_control_of_state = 527 } - NOT = { has_full_control_of_state = 745 } - NOT = { has_full_control_of_state = 716 } - NOT = { has_full_control_of_state = 328 } - NOT = { has_full_control_of_state = 610 } - NOT = { has_full_control_of_state = 715 } - - + NOT = { + has_full_control_of_state = 527 + } + NOT = { + has_full_control_of_state = 745 + } + NOT = { + has_full_control_of_state = 716 + } + NOT = { + has_full_control_of_state = 328 + } + NOT = { + has_full_control_of_state = 610 + } + NOT = { + has_full_control_of_state = 715 + } } } - } - prerequisite = { focus = CHY_tansuodalu } + } + prerequisite = { + focus = CHY_tansuodalu + } relative_position_id = CHY_tansuodalu ai_will_do = { factor = 2 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = CHY_xiangxikuozhang_tooltip add_manpower = -100000 - transfer_state = 527 + transfer_state = 527 transfer_state = 745 transfer_state = 716 transfer_state = 328 transfer_state = 610 transfer_state = 715 - DOH = { country_event = { id = CHY_event.11 days = 7 } } + DOH = { + country_event = { + id = CHY_event.11 + days = 7 + } + } } } focus = { @@ -325,42 +357,43 @@ has_manpower > 100000 SR3 = { AND = { - has_full_control_of_state = 408 - has_full_control_of_state = 409 - has_full_control_of_state = 560 - - + has_full_control_of_state = 408 + has_full_control_of_state = 409 + has_full_control_of_state = 560 } } } bypass = { SR3 = { OR = { - NOT = { has_full_control_of_state = 408 } - NOT = { has_full_control_of_state = 409 } - NOT = { has_full_control_of_state = 560 } - - + NOT = { + has_full_control_of_state = 408 + } + NOT = { + has_full_control_of_state = 409 + } + NOT = { + has_full_control_of_state = 560 + } } } } - prerequisite = { focus = CHY_tansuodalu } + prerequisite = { + focus = CHY_tansuodalu + } relative_position_id = CHY_tansuodalu ai_will_do = { factor = 3 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_manpower = -100000 transfer_state = 408 transfer_state = 409 - transfer_state = 560 + transfer_state = 560 } } focus = { @@ -371,28 +404,35 @@ cost = 10 available = { has_manpower > 20000 - has_navy_size = { size > 59 } + has_navy_size = { + size > 59 + } + } + prerequisite = { + focus = CHY_duiwaikuozhang } - prerequisite = { focus = CHY_duiwaikuozhang } relative_position_id = CHY_duiwaikuozhang ai_will_do = { factor = 3 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_manpower = -20000 - 648 = { add_core_of = CHY } - 631 = { add_core_of = CHY } - 632 = { add_core_of = CHY } + 648 = { + add_core_of = CHY + } + 631 = { + add_core_of = CHY + } + 632 = { + add_core_of = CHY + } transfer_state = 648 transfer_state = 631 - transfer_state = 632 + transfer_state = 632 } } focus = { @@ -403,37 +443,50 @@ cost = 10 available = { has_manpower > 100000 - has_navy_size = { size > 159 } + has_navy_size = { + size > 159 + } + } + prerequisite = { + focus = CHY_tansuohaiyang } - prerequisite = { focus = CHY_tansuohaiyang } relative_position_id = CHY_tansuohaiyang ai_will_do = { factor = 3 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_manpower = -100000 - 633 = { add_core_of = CHY } - 639 = { add_core_of = CHY } - 643 = { add_core_of = CHY } - 646 = { add_core_of = CHY } - 638 = { add_core_of = CHY } - 684 = { add_core_of = CHY } + 633 = { + add_core_of = CHY + } + 639 = { + add_core_of = CHY + } + 643 = { + add_core_of = CHY + } + 646 = { + add_core_of = CHY + } + 638 = { + add_core_of = CHY + } + 684 = { + add_core_of = CHY + } transfer_state = 633 transfer_state = 639 transfer_state = 643 transfer_state = 646 transfer_state = 638 - transfer_state = 684 + transfer_state = 684 } } -# + # focus = { id = CHY_zhuanyiluohouchanye icon = GFX_goal_generic_construct_mil_factory @@ -445,67 +498,68 @@ has_global_flag = MOD_azurlane_tianjiangjianniang } } - prerequisite = { focus = CHY_xuanzexinqijian } + prerequisite = { + focus = CHY_xuanzexinqijian + } relative_position_id = CHY_xuanzexinqijian cost = 3 - ai_will_do = { factor = 20 } - available = { - if = { - 535 = { is_controlled_by = CHY } - 532 = { is_controlled_by = CHY } + AND = { + 535 = { + is_controlled_by = CHY + } + 532 = { + is_controlled_by = CHY + } + } } - } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 535 = { - remove_building = { type = industrial_complex level = 2 } + remove_building = { + type = industrial_complex + level = 2 } + } 532 = { - remove_building = { type = industrial_complex level = 2 } + remove_building = { + type = industrial_complex + level = 2 } - add_offsite_building = { type = industrial_complex level = 10 } + } + add_offsite_building = { + type = industrial_complex + level = 10 } } - - + } focus = { id = CHY_xiuyangshengxi icon = GFX_focus_jap_manchurian_project x = 0 y = 1 - prerequisite = { focus = CHY_zhuanyiluohouchanye } + prerequisite = { + focus = CHY_zhuanyiluohouchanye + } relative_position_id = CHY_zhuanyiluohouchanye cost = 5 - ai_will_do = { factor = 20 } - - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -532,7 +586,7 @@ } random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -559,7 +613,7 @@ } random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -591,32 +645,28 @@ } } } - focus = { id = CHY_chongyingfuxingjihua icon = GFX_focus_chi_legislative_yuan x = 0 y = 1 - prerequisite = { focus = CHY_xiuyangshengxi } - relative_position_id = CHY_xiuyangshengxi - + prerequisite = { + focus = CHY_xiuyangshengxi + } + relative_position_id = CHY_xiuyangshengxi cost = 8 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.08 random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -648,7 +698,7 @@ } random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -680,7 +730,7 @@ } random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -712,7 +762,9 @@ icon = GFX_goal_generic_construct_naval_dockyard x = -2 y = 1 - prerequisite = { focus = CHY_chongyingfuxingjihua } + prerequisite = { + focus = CHY_chongyingfuxingjihua + } relative_position_id = CHY_chongyingfuxingjihua cost = 7 available = { @@ -724,16 +776,14 @@ ai_will_do = { factor = 6 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -760,7 +810,7 @@ } random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -787,7 +837,7 @@ } random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -814,7 +864,7 @@ } random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -838,7 +888,7 @@ level = 2 instant_build = yes } - } + } } } focus = { @@ -846,19 +896,17 @@ icon = GFX_focus_jap_manchurian_project x = 0 y = 1 - prerequisite = { focus = CHY_kuojianhaijun} + prerequisite = { + focus = CHY_kuojianhaijun + } relative_position_id = CHY_kuojianhaijun cost = 5 - ai_will_do = { factor = 11 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { every_unit_leader = { @@ -869,13 +917,15 @@ remove_idea = CHY_cyjn } } - } + } focus = { id = CHY_qundaotielu icon = GFX_goal_generic_construct_infrastructure x = 2 y = 1 - prerequisite = { focus = CHY_chongyingfuxingjihua } + prerequisite = { + focus = CHY_chongyingfuxingjihua + } relative_position_id = CHY_chongyingfuxingjihua cost = 10 available = { @@ -887,12 +937,9 @@ ai_will_do = { factor = 3 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = CHY_cytl @@ -905,7 +952,13 @@ } build_railway = { level = 2 - path = { 11997 7197 12028 9965 7072 } + path = { + 11997 + 7197 + 12028 + 9965 + 7072 + } } 536 = { add_building_construction = { @@ -923,7 +976,7 @@ } build_railway = { level = 2 - start_province = 10032 + start_province = 10032 target_province = 1182 } 535 = { @@ -935,7 +988,7 @@ } build_railway = { level = 2 - start_province = 1117 + start_province = 1117 target_province = 1182 } build_railway = { @@ -950,19 +1003,17 @@ icon = GFX_goal_generic_construction2 x = 0 y = 1 - prerequisite = { focus = CHY_qundaotielu } + prerequisite = { + focus = CHY_qundaotielu + } relative_position_id = CHY_qundaotielu cost = 7 - ai_will_do = { factor = 3 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -972,7 +1023,7 @@ category = excavation_tech ahead_reduction = 2 } - add_ideas = CHY_zykc + add_ideas = CHY_zykc } } focus = { @@ -980,19 +1031,17 @@ icon = GFX_focus_research x = 0 y = 1 - prerequisite = { focus = CHY_chongyingfuxingjihua } + prerequisite = { + focus = CHY_chongyingfuxingjihua + } relative_position_id = CHY_chongyingfuxingjihua cost = 8 - ai_will_do = { factor = 10 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 50 @@ -1000,7 +1049,13 @@ create_corps_commander = { name = "如月" picture = "ruyue.png" - traits = { organizer trickster hill_fighter trait_mountaineer quzhu_army } + traits = { + organizer + trickster + hill_fighter + trait_mountaineer + quzhu_army + } skill = 2 attack_skill = 3 defense_skill = 2 @@ -1010,13 +1065,18 @@ create_corps_commander = { name = "睦月" picture = "muyue.png" - traits = { trait_engineer naval_invader commando quzhu_army } + traits = { + trait_engineer + naval_invader + commando + quzhu_army + } skill = 2 attack_skill = 2 defense_skill = 3 planning_skill = 3 logistics_skill = 3 - } + } news_event = aznews.34 } } @@ -1025,22 +1085,20 @@ icon = GFX_focus_research2 x = 0 y = 1 - prerequisite = { focus = CHY_jiaoyuxiaoxuesheng } + prerequisite = { + focus = CHY_jiaoyuxiaoxuesheng + } relative_position_id = CHY_jiaoyuxiaoxuesheng cost = 10 - ai_will_do = { factor = 10 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_research_slot = 1 + add_research_slot = 1 } } #选择新旗舰 @@ -1050,58 +1108,123 @@ x = 12 y = 0 cost = 5 - ai_will_do = { factor = 15 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - custom_effect_tooltip = CHY_xuanzexinqijian_tooltip + custom_effect_tooltip = CHY_xuanzexinqijian_tooltip add_political_power = 100 add_stability = 0.1 - country_event = CHY_event.1 + country_event = CHY_event.1 if = { - limit = { - is_ai = yes - } - division_template = { - name = "重樱装甲师" - division_names_group = CHY_ARM_01 + limit = { + is_ai = yes + } + division_template = { + name = "重樱装甲师" + division_names_group = CHY_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 = 0 y = 4 } - 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_armor = { x = 1 y = 4 } - medium_armor = { x = 2 y = 0 } - medium_tank_destroyer_brigade = { x = 2 y = 1 } - medium_sp_anti_air_brigade = { x = 2 y = 2 } - 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 } + 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 = 0 + y = 4 + } + 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_armor = { + x = 1 + y = 4 + } + medium_armor = { + x = 2 + y = 0 + } + medium_tank_destroyer_brigade = { + x = 2 + y = 1 + } + medium_sp_anti_air_brigade = { + x = 2 + y = 2 + } + 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 = { - engineer = { x = 0 y = 0 } - medium_flame_tank = { x = 0 y = 1 } - } + engineer = { + x = 0 + y = 0 + } + medium_flame_tank = { + x = 0 + y = 1 + } + } } - } + } } } focus = { @@ -1110,7 +1233,9 @@ x = 8 y = 1 cost = 3 - prerequisite = { focus = CHY_xuanzexinqijian } + prerequisite = { + focus = CHY_xuanzexinqijian + } relative_position_id = CHY_xuanzexinqijian ai_will_do = { factor = 5 @@ -1119,44 +1244,39 @@ add = 40 } } - available = { - or = { - has_completed_focus = CHY_taidao - has_completed_focus = CHY_sumi - has_completed_focus = CHY_yinghua - } + available = { + OR = { + has_completed_focus = CHY_taidao + has_completed_focus = CHY_sumi + has_completed_focus = CHY_yinghua + } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - remove_unit_leader = 07029 - add_political_power = 100 - country_event = chy_new.45 + remove_unit_leader = 7029 + add_political_power = 100 + country_event = chy_new.45 } } - - focus = { id = CHY_paiwangxifangdeshijie icon = GFX_goal_generic_improve_relations x = -3 y = 1 cost = 5 - prerequisite = { focus = CHY_xingtong } + prerequisite = { + focus = CHY_xingtong + } relative_position_id = CHY_xingtong ai_will_do = { factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 50 @@ -1166,7 +1286,7 @@ tag = TIX tag = YUW tag = HUJ - tag = BYG + tag = BYG } } add_opinion_modifier = { @@ -1182,17 +1302,16 @@ x = 0 y = 1 cost = 10 - prerequisite = { focus = CHY_paiwangxifangdeshijie } + prerequisite = { + focus = CHY_paiwangxifangdeshijie + } relative_position_id = CHY_paiwangxifangdeshijie ai_will_do = { factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { @@ -1208,22 +1327,20 @@ icon = GFX_focus_chongyingweixin x = 0 y = 1 - prerequisite = { focus = CHY_xuanzexinqijian } + prerequisite = { + focus = CHY_xuanzexinqijian + } relative_position_id = CHY_xuanzexinqijian cost = 6 - ai_will_do = { factor = 15 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = CHY_chyrongyao + add_ideas = CHY_chyrongyao } } focus = { @@ -1231,28 +1348,30 @@ icon = GFX_goal_generic_consumer_goods x = -4 y = 1 - prerequisite = { focus = CHY_chongyingweixin } + prerequisite = { + focus = CHY_chongyingweixin + } relative_position_id = CHY_chongyingweixin - mutually_exclusive = { focus = CHY_yinghua focus = CHY_taidao } + mutually_exclusive = { + focus = CHY_yinghua + focus = CHY_taidao + } cost = 5 - available = { - has_country_leader = { - ruling_only = yes - character = CHY_tiancheng - } + available = { + has_country_leader = { + ruling_only = yes + character = CHY_tiancheng + } } ai_will_do = { factor = 0 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_political_power = 200 + add_political_power = 200 } } focus = { @@ -1260,45 +1379,86 @@ icon = GFX_focus_rom_parties_end x = 0 y = 1 - prerequisite = { focus = CHY_sumi } + prerequisite = { + focus = CHY_sumi + } relative_position_id = CHY_sumi cost = 1 - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = -0.2 add_political_power = -100 - add_popularity = { ideology = communism popularity = 0.25 } + add_popularity = { + ideology = communism + popularity = 0.25 + } custom_effect_tooltip = CHY_jinjijieyan_tooltip - hidden_effect = { - add_manpower = -100000 + hidden_effect = { + add_manpower = -100000 division_template = { - name = "东京人民卫戍队" + name = "东京人民卫戍队" division_names_group = JAP_INF_01 - regiments = { - infantry = { x = 0 y = 0 } - infantry = { x = 0 y = 1 } - infantry = { x = 0 y = 2 } - artillery_brigade = { x = 0 y = 3 } - infantry = { x = 1 y = 0 } - infantry = { x = 1 y = 1 } - infantry = { x = 1 y = 2 } - artillery_brigade = { x = 1 y = 3 } - infantry = { x = 2 y = 0 } - infantry = { x = 2 y = 1 } - infantry = { x = 2 y = 2 } - artillery_brigade = { x = 2 y = 3 } + infantry = { + x = 0 + y = 0 + } + infantry = { + x = 0 + y = 1 + } + infantry = { + x = 0 + y = 2 + } + artillery_brigade = { + x = 0 + y = 3 + } + infantry = { + x = 1 + y = 0 + } + infantry = { + x = 1 + y = 1 + } + infantry = { + x = 1 + y = 2 + } + artillery_brigade = { + x = 1 + y = 3 + } + infantry = { + x = 2 + y = 0 + } + infantry = { + x = 2 + y = 1 + } + infantry = { + x = 2 + y = 2 + } + artillery_brigade = { + x = 2 + y = 3 + } } support = { - engineer = { x = 0 y = 0 } + engineer = { + x = 0 + y = 0 + } } } - 282 = { + 282 = { create_unit = { division = "name = \"警备师\" division_template = \"东京人民卫戍队\" start_experience_factor = 0.7" owner = ROOT @@ -1331,44 +1491,46 @@ division = "name = \"警备师\" division_template = \"东京人民卫戍队\" start_experience_factor = 0.7" owner = ROOT } - } - } } } - focus = { id = CHY_pingwenguodu icon = GFX_goal_tfv_burn_the_royal_portraits x = 0 y = 1 - prerequisite = { focus = CHY_jinjijieyan } + prerequisite = { + focus = CHY_jinjijieyan + } relative_position_id = CHY_jinjijieyan cost = 5 available = { command_power > 99 - communism > 0.40 + communism > 0.4 } ai_will_do = { factor = 15 } - cancel_if_invalid = no continue_if_invalid = yes available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_timed_idea = { idea = CHY_khdgc days = 120 } - add_popularity = { ideology = communism popularity = 0.2 } + add_timed_idea = { + idea = CHY_khdgc + days = 120 + } + add_popularity = { + ideology = communism + popularity = 0.2 + } set_politics = { ruling_party = communism } add_command_power = -100 hidden_effect = { - news_event = aznews.21 + news_event = aznews.21 } } } @@ -1377,27 +1539,26 @@ icon = GFX_goal_generic_military_deal x = 0 y = 1 - prerequisite = { focus = CHY_pingwenguodu } + prerequisite = { + focus = CHY_pingwenguodu + } relative_position_id = CHY_pingwenguodu cost = 5 - ai_will_do = { factor = 15 } - cancel_if_invalid = no continue_if_invalid = yes available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - if = { - limit = { - has_intelligence_agency = no } - create_intelligence_agency = yes - } - add_ideas = CHY_nwb + if = { + limit = { + has_intelligence_agency = no + } + create_intelligence_agency = yes + } + add_ideas = CHY_nwb } } focus = { @@ -1405,23 +1566,25 @@ icon = GFX_goal_generic_war_with_comintern x = 0 y = 1 - prerequisite = { focus = CHY_zujianneiwubu } + prerequisite = { + focus = CHY_zujianneiwubu + } relative_position_id = CHY_zujianneiwubu - cost = 25 available = { - NOT = { has_idea = CHY_khdgc } + NOT = { + has_idea = CHY_khdgc + } } ai_will_do = { factor = 9 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no select_effect = { - country_event = chy_new.54 - } + country_event = chy_new.54 + } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = CHY_zhengfuneideqingxi_tooltip @@ -1433,58 +1596,54 @@ icon = GFX_goal_generic_national_unity x = 0 y = 1 - prerequisite = { focus = CHY_zhengfuneideqingxi } + prerequisite = { + focus = CHY_zhengfuneideqingxi + } relative_position_id = CHY_zhengfuneideqingxi cost = 5 - ai_will_do = { factor = 0 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = CHY_whxr + add_ideas = CHY_whxr } } focus = { id = CHY_sixiangzhuhun icon = GFX_focus_prc_agrarian_socialism - prerequisite = { focus = CHY_zhengfuneideqingxi } + prerequisite = { + focus = CHY_zhengfuneideqingxi + } relative_position_id = CHY_zhengfuneideqingxi x = 2 y = 1 - cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - army_experience = 50 - every_unit_leader = { + army_experience = 50 + every_unit_leader = { add_skill_level = 1 add_attack = 1 } - - if = { - limit = { - has_ideas = CHY_bhsdlj - } - remove_ideas = CHY_bhsdlj - } - if = { - limit = { - has_ideas = CHY_bhsdlj_1 - } - remove_ideas = CHY_bhsdlj_1 - } + if = { + limit = { + has_idea = CHY_bhsdlj + } + remove_ideas = CHY_bhsdlj + } + if = { + limit = { + has_idea = CHY_bhsdlj_1 + } + remove_ideas = CHY_bhsdlj_1 + } } } focus = { @@ -1492,52 +1651,51 @@ icon = GFX_focus_generic_soviet_politics x = -2 y = 1 - prerequisite = { focus = CHY_zhengfuneideqingxi } + prerequisite = { + focus = CHY_zhengfuneideqingxi + } relative_position_id = CHY_zhengfuneideqingxi cost = 8 - ai_will_do = { factor = 9 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = CHY_gyjj + add_ideas = CHY_gyjj } } - focus = { id = CHY_niepanchongsheng icon = GFX_focus_jap_manchurian_project x = 2 y = 1 - - prerequisite = { focus = CHY_sixiangzhuhun } - prerequisite = { focus = CHY_caifagaizao } - prerequisite = { focus = CHY_wenhuaxinren } + prerequisite = { + focus = CHY_sixiangzhuhun + } + prerequisite = { + focus = CHY_caifagaizao + } + prerequisite = { + focus = CHY_wenhuaxinren + } relative_position_id = CHY_caifagaizao - cost = 7 available = { - has_country_flag = CHY_purge_3 + has_country_flag = CHY_purge_3 } ai_will_do = { factor = 9 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = CHY_focus_on_people - add_ideas = CHY_people_army + add_ideas = CHY_focus_on_people + add_ideas = CHY_people_army } } focus = { @@ -1545,84 +1703,80 @@ icon = GFX_focus_manjiu x = -1 y = 1 - prerequisite = { focus = CHY_niepanchongsheng } + prerequisite = { + focus = CHY_niepanchongsheng + } relative_position_id = CHY_niepanchongsheng cost = 10 - ai_will_do = { factor = 2 } - - completion_reward = { 536 = { - set_state_category = megalopolis - - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { + set_state_category = megalopolis + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { type = infrastructure level = 3 instant_build = yes } - add_building_construction = { - type = industrial_complex - level = 2 - instant_build = yes - } - } - 537 = { - set_state_category = megalopolis - - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes - } - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = city + add_building_construction = { + type = industrial_complex level = 2 instant_build = yes } - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - - 528 = { - add_extra_state_shared_building_slots = 2 - } - 529 = { - add_extra_state_shared_building_slots = 2 - } - 530 = { - add_extra_state_shared_building_slots = 2 - } - 531 = { - add_extra_state_shared_building_slots = 2 - } - 532 = { - add_extra_state_shared_building_slots = 2 - } - 535 = { - add_extra_state_shared_building_slots = 2 - } - 534 = { - add_extra_state_shared_building_slots = 2 - } - 282= { - add_extra_state_shared_building_slots = 2 - } - 533 = { - add_extra_state_shared_building_slots = 2 - } + } + 537 = { + set_state_category = megalopolis + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes + } + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + add_building_construction = { + type = industrial_complex + level = 1 + instant_build = yes + } + } + 528 = { + add_extra_state_shared_building_slots = 2 + } + 529 = { + add_extra_state_shared_building_slots = 2 + } + 530 = { + add_extra_state_shared_building_slots = 2 + } + 531 = { + add_extra_state_shared_building_slots = 2 + } + 532 = { + add_extra_state_shared_building_slots = 2 + } + 535 = { + add_extra_state_shared_building_slots = 2 + } + 534 = { + add_extra_state_shared_building_slots = 2 + } + 282 = { + add_extra_state_shared_building_slots = 2 + } + 533 = { + add_extra_state_shared_building_slots = 2 + } } } focus = { @@ -1630,36 +1784,36 @@ icon = GFX_focus_generic_royal_wedding x = 1 y = 1 - prerequisite = { focus = CHY_niepanchongsheng } - relative_position_id = CHY_niepanchongsheng + prerequisite = { + focus = CHY_niepanchongsheng + } + relative_position_id = CHY_niepanchongsheng cost = 20 - ai_will_do = { factor = 1 } available = { - has_full_control_of_state = 612 - has_full_control_of_state = 611 - has_full_control_of_state = 610 - has_full_control_of_state = 716 - has_full_control_of_state = 714 - has_full_control_of_state = 715 - has_full_control_of_state = 611 - has_full_control_of_state = 609 - has_full_control_of_state = 716 - has_full_control_of_state = 328 - has_full_control_of_state = 717 + has_full_control_of_state = 612 + has_full_control_of_state = 611 + has_full_control_of_state = 610 + has_full_control_of_state = 716 + has_full_control_of_state = 714 + has_full_control_of_state = 715 + has_full_control_of_state = 611 + has_full_control_of_state = 609 + has_full_control_of_state = 716 + has_full_control_of_state = 328 + has_full_control_of_state = 717 } bypass = { - has_completed_focus = CHY_guihuan + has_completed_focus = CHY_guihuan } - select_effect = { - set_country_flag = CHY_dbzxjh - + select_effect = { + set_country_flag = CHY_dbzxjh } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_state_core = 612 + add_state_core = 612 add_state_core = 611 add_state_core = 610 add_state_core = 609 @@ -1671,12 +1825,11 @@ add_state_core = 328 add_state_core = 745 add_state_core = 716 - 716 = { - set_state_category = megalopolis - add_extra_state_shared_building_slots = 10 - if = { - limit = { + set_state_category = megalopolis + add_extra_state_shared_building_slots = 10 + if = { + limit = { is_controlled_by = CHY free_building_slots = { building = synthetic_refinery @@ -1690,64 +1843,64 @@ instant_build = yes } } - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - } - 745 = { - add_extra_state_shared_building_slots = 5 - set_state_category = megalopolis - add_building_construction = { + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + } + 745 = { + add_extra_state_shared_building_slots = 5 + set_state_category = megalopolis + add_building_construction = { type = infrastructure level = 3 instant_build = yes } - add_building_construction = { - type = industrial_complex - level = 2 - instant_build = yes - } + add_building_construction = { + type = industrial_complex + level = 2 + instant_build = yes + } } - 761 = { - add_extra_state_shared_building_slots = 2 - set_state_category = city - add_building_construction = { + 761 = { + add_extra_state_shared_building_slots = 2 + set_state_category = city + add_building_construction = { type = infrastructure level = 1 instant_build = yes } } - 714 = { - add_extra_state_shared_building_slots = 2 - set_state_category = city - add_building_construction = { + 714 = { + add_extra_state_shared_building_slots = 2 + set_state_category = city + add_building_construction = { type = infrastructure level = 1 instant_build = yes } } - 717 = { - add_extra_state_shared_building_slots = 2 - set_state_category = city - add_building_construction = { + 717 = { + add_extra_state_shared_building_slots = 2 + set_state_category = city + add_building_construction = { type = infrastructure level = 1 instant_build = yes } } - build_railway = { + build_railway = { level = 2 start_province = 7743 target_province = 10541 } - build_railway = { + build_railway = { level = 2 start_province = 10541 target_province = 7832 } - build_railway = { + build_railway = { level = 2 start_province = 7832 target_province = 10521 @@ -1757,16 +1910,19 @@ start_province = 10521 target_province = 810 } - } - } - - focus = { + } + } + focus = { id = CHY_wenmingdengta icon = GFX_focus_YUG_pan_slavic_congress x = 1 y = 1 - prerequisite = { focus = CHY_womenlianhe } - prerequisite = { focus = CHY_manjiujianshedui } + prerequisite = { + focus = CHY_womenlianhe + } + prerequisite = { + focus = CHY_manjiujianshedui + } relative_position_id = CHY_manjiujianshedui cost = 5 available = { @@ -1777,33 +1933,34 @@ ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { every_other_country = { limit = { - NOT = { has_government = communism } - NOT = { - OR = { - tag = SIR - tag = SR1 - tag = SR2 - tag = SR3 - tag = SR4 + NOT = { + has_government = communism + } + NOT = { + OR = { + tag = SIR + tag = SR1 + tag = SR2 + tag = SR3 + tag = SR4 } } } - add_stability = -0.3 - add_war_support = -0.3 - add_political_power = -150 - add_ideas = CHY_bldgczyyd - add_ai_strategy = { - type = antagonize - id = "CHY" - value = 200 + add_stability = -0.3 + add_war_support = -0.3 + add_political_power = -150 + add_ideas = CHY_bldgczyyd + add_ai_strategy = { + type = antagonize + id = "CHY" + value = 200 + } } - } - remove_ideas = CHY_qudishendaojiao + remove_ideas = CHY_qudishendaojiao } } focus = { @@ -1811,31 +1968,32 @@ icon = GFX_focus_jap_pacific_guardian x = 0 y = 1 - prerequisite = { focus = CHY_chongyingweixin } + prerequisite = { + focus = CHY_chongyingweixin + } relative_position_id = CHY_chongyingweixin - mutually_exclusive = { focus = CHY_sumi focus = CHY_yinghua } + mutually_exclusive = { + focus = CHY_sumi + focus = CHY_yinghua + } available = { - has_country_leader = { - ruling_only = yes - character = CHY_chicheng - } + has_country_leader = { + ruling_only = yes + character = CHY_chicheng + } } cost = 3 - ai_will_do = { factor = 7 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - remove_unit_leader = 07002 - add_political_power = 100 - add_war_support = 0.2 + remove_unit_leader = 7002 + add_political_power = 100 + add_war_support = 0.2 } } focus = { @@ -1844,93 +2002,90 @@ x = 0 y = 1 cost = 5 - prerequisite = { focus = CHY_taidao } + prerequisite = { + focus = CHY_taidao + } relative_position_id = CHY_taidao ai_will_do = { factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = CHY_cylxyh + add_ideas = CHY_cylxyh } } - focus = { id = CHY_shendaojiao icon = GFX_focus_jap_spiritual_mobilization x = 1 y = 1 - prerequisite = { focus = CHY_kuozhangjihua focus = CHY_dazhengfenghuan } + prerequisite = { + focus = CHY_kuozhangjihua + focus = CHY_dazhengfenghuan + } relative_position_id = CHY_kuozhangjihua cost = 5 ai_will_do = { factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - custom_effect_tooltip = CHY_shendaojiao_tooltip - if = { - limit = { - has_country_leader = { - ruling_only = yes - character = CHY_chicheng + custom_effect_tooltip = CHY_shendaojiao_tooltip + if = { + limit = { + has_country_leader = { + ruling_only = yes + character = CHY_chicheng + } } - } - add_ideas = CHY_cysdj - } - if = { - - limit = { - has_country_leader = { - ruling_only = yes - character = CHY_changmen + add_ideas = CHY_cysdj + } + if = { + limit = { + has_country_leader = { + ruling_only = yes + character = CHY_changmen + } } - } - add_ideas = CHY_cysdj_1 - } + add_ideas = CHY_cysdj_1 + } } } - focus = { + focus = { id = CHY_jianniangmendeshenzhiyuan icon = GFX_focus_jap_spiritual_mobilization x = 2 y = 1 - prerequisite = { focus = CHY_shendaojiao } + prerequisite = { + focus = CHY_shendaojiao + } relative_position_id = CHY_shendaojiao cost = 4 ai_will_do = { factor = 7 } - available = { - or = { - has_country_leader = { - ruling_only = yes - character = CHY_changmen + available = { + OR = { + has_country_leader = { + ruling_only = yes + character = CHY_changmen } - date > 1940.1.1 - } + date > 1940.1.1 + } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - custom_effect_tooltip = CHY_xindeshenzhiyuan_tooltip - if = { + custom_effect_tooltip = CHY_xindeshenzhiyuan_tooltip + if = { limit = { has_idea = CHY_cysdj } @@ -1939,7 +2094,7 @@ add_idea = CHY_cysdj_2 } } - else_if = { + else_if = { limit = { has_idea = CHY_cysdj_1 } @@ -1947,14 +2102,10 @@ remove_idea = CHY_cysdj_1 add_idea = CHY_cysdj_2 } - } - hidden_effect = { - unlock_decision_tooltip = CHY_xindeshenzhiyuan_decision } } -} - focus = { + focus = { id = CHY_zs icon = GFX_focus_generic_japanese_imperial_glory cost = 3 @@ -1967,9 +2118,8 @@ ai_will_do = { factor = 10 } - completion_reward = { - add_ideas = CHY_kjzsxj + #add_ideas = CHY_kjzsxj hidden_effect = { set_rule = { can_use_kamikaze_pilots = yes @@ -1984,27 +2134,24 @@ } } } - focus = { id = CHY_kuochongjundui icon = GFX_goal_generic_small_arms x = 0 y = 1 - cost = 10 - - prerequisite = { focus = CHY_shendaojiao } + cost = 10 + prerequisite = { + focus = CHY_shendaojiao + } relative_position_id = CHY_shendaojiao ai_will_do = { factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { + completion_reward = { add_ideas = CHY_kcjd } } @@ -2013,34 +2160,34 @@ icon = GFX_goal_generic_demand_territory x = -2 y = 1 - cost = 5 - - prerequisite = { focus = CHY_shendaojiao } + cost = 5 + prerequisite = { + focus = CHY_shendaojiao + } relative_position_id = CHY_shendaojiao ai_will_do = { factor = 5 } available = { - or = { - has_country_leader = { - ruling_only = yes - character = CHY_chicheng + OR = { + has_country_leader = { + ruling_only = yes + character = CHY_chicheng } - date > 1940.1.1 - } + date > 1940.1.1 + } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - custom_effect_tooltip = CHY_weileguojia_tooltip - - add_ideas = CHY_qbdw_1 - add_timed_idea = { idea = CHY_czyl_1 days = 300 } + custom_effect_tooltip = CHY_weileguojia_tooltip + add_ideas = CHY_qbdw_1 + add_timed_idea = { + idea = CHY_czyl_1 + days = 300 + } } } focus = { @@ -2048,33 +2195,33 @@ icon = GFX_goal_generic_army_tanks x = 0 y = 1 - cost = 7 - - prerequisite = { focus = CHY_weileguojia } + cost = 7 + prerequisite = { + focus = CHY_weileguojia + } relative_position_id = CHY_weileguojia ai_will_do = { factor = 5 } available = { - has_country_leader = { - ruling_only = yes - character = CHY_chicheng + has_country_leader = { + ruling_only = yes + character = CHY_chicheng + } + OR = { + has_army_manpower = { + size > 1999999 } - or = { - has_army_manpower = { size > 1999999 } - is_ai = yes + is_ai = yes + } } - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - custom_effect_tooltip = CHY_tianxiabuwu_tooltip - add_ideas = CHY_txbw_1 + custom_effect_tooltip = CHY_tianxiabuwu_tooltip + add_ideas = CHY_txbw_1 } } focus = { @@ -2082,131 +2229,141 @@ icon = GFX_focus_chongyingweixin x = 0 y = 1 - prerequisite = { focus = CHY_kuochongjundui } + prerequisite = { + focus = CHY_kuochongjundui + } relative_position_id = CHY_kuochongjundui cost = 12 ai_will_do = { factor = 1000 } - available = { - has_full_control_of_state = 282 - or = { + available = { + has_full_control_of_state = 282 + OR = { custom_trigger_tooltip = { - tooltip = is_sairenzhizai_trigger_tooltip - hidden_trigger = { has_global_flag = MOD_azurlane_sairenzhizai } - } - - or = { - not = {country_exists = BYG} - if = { is_subject = no - BYG = { - is_in_faction_with = CHY - } - } - } - or = { - not = {country_exists = DOH} - if = { is_subject = no - DOH = { - is_in_faction_with = CHY - } - } - } - if = { - is_subject = no - date > 1944.1.1 } + tooltip = is_sairenzhizai_trigger_tooltip + hidden_trigger = { + has_global_flag = MOD_azurlane_sairenzhizai + } + } + OR = { + NOT = { + country_exists = BYG + } + AND = { + is_subject = no + BYG = { + is_in_faction_with = CHY + } + } + } + OR = { + NOT = { + country_exists = DOH + } + AND = { + is_subject = no + DOH = { + is_in_faction_with = CHY + } + } + } + AND = { + is_subject = no + date > 1944.1.1 + } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = CHY_rczy - 282 = { - add_building_construction = { - type = air_base - level = 4 - instant_build = yes - } - add_building_construction = { - type = radar_station - level = 6 - instant_build = yes - } - add_building_construction = { - type = anti_air_building - level = 5 - instant_build = yes - } - add_building_construction = { - type = coastal_bunker - level = 10 - instant_build = yes - province = 1182 - } - add_building_construction = { - type = naval_base - level = 10 - instant_build = yes - province = 1182 - } - add_resource = { - type = tungsten - amount = 50 - } - add_resource = { - type = chromium - amount = 50 - } - add_resource = { - type = oil - amount = 50 - } - add_resource = { - type = rubber - amount = 50 - } - add_resource = { - type = steel - amount = 200 - } - add_resource = { - type = aluminium - amount = 50 - } - } - } + add_ideas = CHY_rczy + 282 = { + add_building_construction = { + type = air_base + level = 4 + instant_build = yes + } + add_building_construction = { + type = radar_station + level = 6 + instant_build = yes + } + add_building_construction = { + type = anti_air_building + level = 5 + instant_build = yes + } + add_building_construction = { + type = coastal_bunker + level = 10 + instant_build = yes + province = 1182 + } + add_building_construction = { + type = naval_base + level = 10 + instant_build = yes + province = 1182 + } + add_resource = { + type = tungsten + amount = 50 + } + add_resource = { + type = chromium + amount = 50 + } + add_resource = { + type = oil + amount = 50 + } + add_resource = { + type = rubber + amount = 50 + } + add_resource = { + type = steel + amount = 200 + } + add_resource = { + type = aluminium + amount = 50 + } + } } + } focus = { id = CHY_yinghua icon = GFX_focus_jap_manchurian_project x = 2 y = 1 - prerequisite = { focus = CHY_chongyingweixin } + prerequisite = { + focus = CHY_chongyingweixin + } relative_position_id = CHY_chongyingweixin - mutually_exclusive = { focus = CHY_sumi focus = CHY_taidao } + mutually_exclusive = { + focus = CHY_sumi + focus = CHY_taidao + } cost = 5 available = { - CHY_changmen = { is_country_leader = yes } + CHY_changmen = { + is_country_leader = yes + } } - ai_will_do = { factor = 1 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - remove_unit_leader = 07002 + remove_unit_leader = 7002 add_political_power = 200 - } } focus = { @@ -2214,37 +2371,36 @@ icon = GFX_focus_jap_manchurian_project x = 0 y = 1 - prerequisite = { focus = CHY_yinghua } + prerequisite = { + focus = CHY_yinghua + } relative_position_id = CHY_yinghua - mutually_exclusive = { focus = CHY_sumi focus = CHY_taidao } + mutually_exclusive = { + focus = CHY_sumi + focus = CHY_taidao + } cost = 7 - ai_will_do = { factor = 1 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { CHY_changmen = { set_portraits = { civilian = { - large="gfx/leaders/CHY/changmen2.png" + large = "gfx/leaders/CHY/changmen2.png" } } add_country_leader_trait = { - trait = szz - ideology = despotism + ideology = neutrality } add_country_leader_trait = { - trait = ysxwx - ideology = despotism + ideology = neutrality } } set_politics = { @@ -2262,15 +2418,12 @@ x = -5 y = 0 cost = 6 - ai_will_do = { factor = 18 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 50 @@ -2282,15 +2435,12 @@ x = 40 y = 0 cost = 6 - ai_will_do = { factor = 18 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 50 @@ -2303,15 +2453,12 @@ x = 5 y = 0 cost = 6 - ai_will_do = { factor = 18 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { air_experience = 50 @@ -2323,37 +2470,38 @@ x = 0 y = 1 cost = 10 - ai_will_do = { factor = 15 } - prerequisite = { focus = CHY_zuozhanfangshichuangxin_lujun } + prerequisite = { + focus = CHY_zuozhanfangshichuangxin_lujun + } relative_position_id = CHY_zuozhanfangshichuangxin_lujun cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - if = { - limit = { has_idea = CHY_bhsdlj } - swap_ideas = { - remove_idea = CHY_bhsdlj - add_idea = CHY_bhsdlj_1 - } - else_if = { - limit = { has_ideas = CHY_bhsdlj_1 } - remove_ideas = CHY_bhsdlj_1 - } - } - + if = { + limit = { + has_idea = CHY_bhsdlj + } + swap_ideas = { + remove_idea = CHY_bhsdlj + add_idea = CHY_bhsdlj_1 + } + else_if = { + limit = { + has_idea = CHY_bhsdlj_1 + } + remove_ideas = CHY_bhsdlj_1 + } + } add_tech_bonus = { name = "陆军改革" bonus = 1 uses = 1 category = infantry_weapons - } add_doctrine_cost_reduction = { name = "陆军改革" @@ -2361,26 +2509,24 @@ uses = 2 category = land_doctrine } - } + } } - focus = { id = CHY_xiaoxingzhuangbei icon = GFX_focus_generic_little_entente x = -1 y = 1 cost = 7 - ai_will_do = { factor = 5 } - prerequisite = { focus = CHY_lujungaige } + prerequisite = { + focus = CHY_lujungaige + } relative_position_id = CHY_lujungaige cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -2398,17 +2544,16 @@ x = -1 y = 1 cost = 7 - ai_will_do = { factor = 5 } - prerequisite = { focus = CHY_xiaoxingzhuangbei } + prerequisite = { + focus = CHY_xiaoxingzhuangbei + } relative_position_id = CHY_xiaoxingzhuangbei cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -2426,17 +2571,16 @@ x = 1 y = 1 cost = 7 - ai_will_do = { factor = 7 } - prerequisite = { focus = CHY_lujungaige } + prerequisite = { + focus = CHY_lujungaige + } relative_position_id = CHY_lujungaige cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -2454,17 +2598,16 @@ x = 1 y = 1 cost = 7 - ai_will_do = { factor = 7 } - prerequisite = { focus = CHY_jidonghua } + prerequisite = { + focus = CHY_jidonghua + } relative_position_id = CHY_jidonghua cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -2481,18 +2624,19 @@ x = -1 y = 1 cost = 10 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_jidonghua } - prerequisite = { focus = CHY_xiaoxingzhuangbei } + prerequisite = { + focus = CHY_jidonghua + } + prerequisite = { + focus = CHY_xiaoxingzhuangbei + } relative_position_id = CHY_jidonghua cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -2508,7 +2652,6 @@ ahead_reduction = 2 category = motorized_equipment } - } } focus = { @@ -2517,23 +2660,19 @@ x = 0 y = 1 cost = 7 - ai_will_do = { factor = 15 } - prerequisite = { focus = CHY_zhuangjiaxianfeng } + prerequisite = { + focus = CHY_zhuangjiaxianfeng + } relative_position_id = CHY_zhuangjiaxianfeng cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = CHY_cytszh - - - } } focus = { @@ -2542,21 +2681,23 @@ x = 0 y = 1 cost = 7 - ai_will_do = { factor = 15 } - prerequisite = { focus = CHY_chongyingtesezhihui } + prerequisite = { + focus = CHY_chongyingtesezhihui + } relative_position_id = CHY_chongyingtesezhihui cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_lujunliluntupo = yes - set_technology = { infantry_charge_for_chy = 1 popup = no } + set_technology = { + infantry_charge_for_chy = 1 + popup = no + } } } focus = { @@ -2565,154 +2706,155 @@ x = 0 y = 1 cost = 7 - ai_will_do = { factor = 15 } - prerequisite = { focus = CHY_zhanshuchuangxin } + prerequisite = { + focus = CHY_zhanshuchuangxin + } relative_position_id = CHY_zhanshuchuangxin cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no available = { - date > 1940.1.1 - or = { - if = { - has_country_flag = CHY_army - } - if = { - or = { - custom_trigger_tooltip = { - tooltip = is_sairenzhizai_trigger_tooltip - hidden_trigger = { has_global_flag = MOD_azurlane_sairenzhizai } - } - if = { - any_country ={ - is_major = yes - has_war_with = CHY + date > 1940.1.1 + OR = { + AND = { + has_country_flag = CHY_army } - } + AND = { + OR = { + custom_trigger_tooltip = { + tooltip = is_sairenzhizai_trigger_tooltip + hidden_trigger = { + has_global_flag = MOD_azurlane_sairenzhizai + } + } + AND = { + any_country = { + is_major = yes + has_war_with = CHY + } + } + } + } + } } - } - - } - } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = CHY_yzdsl - if = { - limit = { has_ideas = CHY_bhsdlj_1 } - remove_ideas = CHY_bhsdlj_1 - } + if = { + limit = { + has_idea = CHY_bhsdlj_1 + } + remove_ideas = CHY_bhsdlj_1 + } } } - focus = { id = CHY_zhibodanjingshen icon = GFX_goal_generic_army_tanks x = 0 y = 1 cost = 7 - ai_will_do = { factor = 15 } - prerequisite = { focus = CHY_yizhideshengli } + prerequisite = { + focus = CHY_yizhideshengli + } relative_position_id = CHY_yizhideshengli cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no available = { - or = { - has_country_flag = CHY_army - or = { - custom_trigger_tooltip = { - tooltip = is_sairenzhizai_trigger_tooltip - hidden_trigger = { has_global_flag = MOD_azurlane_sairenzhizai } - } - if = { - any_country ={ - is_major = yes - has_war_with = CHY + OR = { + has_country_flag = CHY_army + OR = { + custom_trigger_tooltip = { + tooltip = is_sairenzhizai_trigger_tooltip + hidden_trigger = { + has_global_flag = MOD_azurlane_sairenzhizai + } + } + AND = { + any_country = { + is_major = yes + has_war_with = CHY + } + } } - } + } } - } - } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - custom_effect_tooltip = CHY_zhibodanjingshen_tooltip - if = { - limit = { - has_country_leader = { - ruling_only = yes - character = CHY_chicheng + custom_effect_tooltip = CHY_zhibodanjingshen_tooltip + if = { + limit = { + has_country_leader = { + ruling_only = yes + character = CHY_chicheng + } } - } - add_ideas = CHY_zbdjs - } - if = { - limit = { - has_country_leader = { - ruling_only = yes - character = CHY_tiancheng + add_ideas = CHY_zbdjs + } + if = { + limit = { + has_country_leader = { + ruling_only = yes + character = CHY_tiancheng + } } - } - add_ideas = CHY_zbdjs - } - if = { - limit = { - has_country_leader = { - ruling_only = yes - character = CHY_changmen + add_ideas = CHY_zbdjs + } + if = { + limit = { + has_country_leader = { + ruling_only = yes + character = CHY_changmen + } } - } - add_ideas = CHY_zbdjs_1 - } + add_ideas = CHY_zbdjs_1 + } } } - focus = { id = CHY_haijunxunlian icon = GFX_goal_generic_navy_cruiser x = 0 y = 1 cost = 5 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_zuozhanfangshichuangxin_haijun } + prerequisite = { + focus = CHY_zuozhanfangshichuangxin_haijun + } relative_position_id = CHY_zuozhanfangshichuangxin_haijun cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = CHY_hjxl } - } + } focus = { id = CHY_yanjiupinweijian icon = GFX_focus_generic_cruiser2 x = 0 y = 1 cost = 7 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_haijunxunlian } + prerequisite = { + focus = CHY_haijunxunlian + } relative_position_id = CHY_haijunxunlian cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -2720,8 +2862,8 @@ bonus = 1 uses = 3 category = dd_tech - category = cl_tech - category = ca_tech + category = cl_tech + category = ca_tech } } } @@ -2731,25 +2873,26 @@ x = -1 y = 2 cost = 7 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_haijunxunlian } + prerequisite = { + focus = CHY_haijunxunlian + } relative_position_id = CHY_haijunxunlian - mutually_exclusive = { focus = CHY_zhanjianpai } + mutually_exclusive = { + focus = CHY_zhanjianpai + } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { name = "航母研究" bonus = 1.5 uses = 2 - category = cv_tech + category = cv_tech } } } @@ -2759,25 +2902,26 @@ x = 1 y = 2 cost = 7 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_haijunxunlian } + prerequisite = { + focus = CHY_haijunxunlian + } relative_position_id = CHY_haijunxunlian - mutually_exclusive = { focus = CHY_kongmupai } + mutually_exclusive = { + focus = CHY_kongmupai + } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { name = "战舰研究" bonus = 1.5 uses = 2 - category = bb_tech + category = bb_tech } } } @@ -2787,50 +2931,51 @@ x = 0 y = 1 cost = 10 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_haijunxinlilun } + prerequisite = { + focus = CHY_haijunxinlilun + } relative_position_id = CHY_haijunxinlilun cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - available = { - date > 1942.11.11 - or = { - command_power > 100 - is_ai = yes - } - or = { - custom_trigger_tooltip = { + available = { + date > 1942.11.11 + OR = { + command_power > 100 + is_ai = yes + } + OR = { + custom_trigger_tooltip = { tooltip = TIX_huanxingfeitelie_trigger_tooltip - AND = { + AND = { check_variable = { var = xzmf_sl value = 10 compare = greater_than_or_equals } - } } - is_ai = yes - } - or = { - custom_trigger_tooltip = { - tooltip = is_sairenzhizai_trigger_tooltip - hidden_trigger = { has_global_flag = MOD_azurlane_sairenzhizai } + is_ai = yes } - has_country_flag = CHY_naval - if = { - any_country ={ - is_major = yes - has_war_with = CHY + OR = { + custom_trigger_tooltip = { + tooltip = is_sairenzhizai_trigger_tooltip + hidden_trigger = { + has_global_flag = MOD_azurlane_sairenzhizai + } } - } + has_country_flag = CHY_naval + AND = { + any_country = { + is_major = yes + has_war_with = CHY + } + } + } } - } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_command_power = -100 @@ -2840,32 +2985,33 @@ value = -10 } hidden_effect = { - create_corps_commander = { name = "吾妻" picture = "wuqi.png" id = 8109 - traits = { xunyang_army } + traits = { + xunyang_army + } skill = 6 attack_skill = 6 defense_skill = 5 logistics_skill = 6 - planning_skill = 4 + planning_skill = 4 } create_corps_commander = { name = "武藏" picture = "wuzang.png" id = 8110 - traits = { zhanlie_army } + traits = { + zhanlie_army + } skill = 8 attack_skill = 8 defense_skill = 8 planning_skill = 6 - logistics_skill = 5 - + logistics_skill = 5 } } - } } focus = { @@ -2874,17 +3020,17 @@ x = 1 y = 1 cost = 10 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_kongmupai focus = CHY_zhanjianpai } + prerequisite = { + focus = CHY_kongmupai + focus = CHY_zhanjianpai + } relative_position_id = CHY_kongmupai cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_haijunliluntupo = yes @@ -2894,7 +3040,6 @@ uses = 6 category = naval_doctrine } - } } focus = { @@ -2903,28 +3048,31 @@ x = -1 y = 1 cost = 12 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_sidachuangqi } + prerequisite = { + focus = CHY_sidachuangqi + } relative_position_id = CHY_sidachuangqi cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - available = { - or = { - num_of_civilian_factories_available_for_projects > 35 - is_ai = yes + available = { + OR = { + num_of_civilian_factories_available_for_projects > 35 + is_ai = yes + } } - } - #search_filters = { FOCUS_FILTER_STABILITY } select_effect = { - set_country_flag = chy_wz + set_country_flag = chy_wz } completion_reward = { - country_event = { id = chy_new.68 days = 2 } + country_event = { + id = chy_new.68 + days = 2 + } } } focus = { @@ -2934,28 +3082,30 @@ y = 1 cost = 12 available = { - or = { - num_of_civilian_factories_available_for_projects > 30 - is_ai = yes - } + OR = { + num_of_civilian_factories_available_for_projects > 30 + is_ai = yes + } } ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_sidachuangqi } + prerequisite = { + focus = CHY_sidachuangqi + } relative_position_id = CHY_sidachuangqi cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - select_effect = { - set_country_flag = chy_xn + select_effect = { + set_country_flag = chy_xn } - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - country_event = { id = chy_new.35 days = 2 } - + country_event = { + id = chy_new.35 + days = 2 + } } } focus = { @@ -2965,26 +3115,30 @@ y = 2 cost = 12 available = { - or = { - num_of_civilian_factories_available_for_projects > 10 - is_ai = yes - } + OR = { + num_of_civilian_factories_available_for_projects > 10 + is_ai = yes + } } ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_sidachuangqi } + prerequisite = { + focus = CHY_sidachuangqi + } relative_position_id = CHY_sidachuangqi cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - select_effect = { - set_country_flag = chy_xf + select_effect = { + set_country_flag = chy_xf } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - country_event = { id = chy_new.36 days = 2 } - + country_event = { + id = chy_new.36 + days = 2 + } } } focus = { @@ -2996,18 +3150,25 @@ ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_zuisuquzhu } - prerequisite = { focus = CHY_chaojixunyangjian } - prerequisite = { focus = CHY_zuiqianghangmu } - prerequisite = { focus = CHY_chaojizhanjian } + prerequisite = { + focus = CHY_zuisuquzhu + } + prerequisite = { + focus = CHY_chaojixunyangjian + } + prerequisite = { + focus = CHY_zuiqianghangmu + } + prerequisite = { + focus = CHY_chaojizhanjian + } relative_position_id = CHY_zuisuquzhu cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = CHY_wukepidi - + add_ideas = CHY_wukepidi } } focus = { @@ -3017,28 +3178,30 @@ y = 2 cost = 12 available = { - or = { - num_of_civilian_factories_available_for_projects > 20 - is_ai = yes - } + OR = { + num_of_civilian_factories_available_for_projects > 20 + is_ai = yes + } } ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_sidachuangqi } + prerequisite = { + focus = CHY_sidachuangqi + } relative_position_id = CHY_sidachuangqi cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - select_effect = { - set_country_flag = chy_wq + select_effect = { + set_country_flag = chy_wq } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - - country_event = { id = chy_new.37 days = 2 } - + country_event = { + id = chy_new.37 + days = 2 + } } } focus = { @@ -3047,17 +3210,16 @@ x = 0 y = 1 cost = 7 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_zuozhanfangshichuangxin_kongjun } + prerequisite = { + focus = CHY_zuozhanfangshichuangxin_kongjun + } relative_position_id = CHY_zuozhanfangshichuangxin_kongjun cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -3075,17 +3237,16 @@ x = -1 y = 1 cost = 5 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_lantianfeixingdui } + prerequisite = { + focus = CHY_lantianfeixingdui + } relative_position_id = CHY_lantianfeixingdui cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -3093,30 +3254,32 @@ has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "陆军航空兵" - bonus = 1 - uses = 1 - category = light_air - category = medium_air - } + name = "陆军航空兵" + bonus = 1 + uses = 1 + category = light_air + category = medium_air + } add_tech_bonus = { - name = "陆军航空兵" - bonus = 1 - uses = 1 - category = plane_modules_tech - } + name = "陆军航空兵" + bonus = 1 + uses = 1 + category = plane_modules_tech + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "陆军航空兵" - bonus = 1 - uses = 2 - category = tactical_bomber - category = cas_bomber - } + name = "陆军航空兵" + bonus = 1 + uses = 2 + category = tactical_bomber + category = cas_bomber + } } } } @@ -3126,17 +3289,16 @@ x = 1 y = 1 cost = 5 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_lantianfeixingdui } + prerequisite = { + focus = CHY_lantianfeixingdui + } relative_position_id = CHY_lantianfeixingdui cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -3144,28 +3306,30 @@ has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "海军航空兵" - bonus = 1 - uses = 1 - category = light_air - } + name = "海军航空兵" + bonus = 1 + uses = 1 + category = light_air + } add_tech_bonus = { - name = "海军航空兵" - bonus = 1 - uses = 1 - category = plane_modules_tech - } + name = "海军航空兵" + bonus = 1 + uses = 1 + category = plane_modules_tech + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "海军航空兵" - bonus = 1 - uses = 2 - category = naval_bomber - } + name = "海军航空兵" + bonus = 1 + uses = 2 + category = naval_bomber + } } } } @@ -3175,18 +3339,19 @@ x = 1 y = 1 cost = 10 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_lujunhangkongbing } - prerequisite = { focus = CHY_haijunhangkongbing } + prerequisite = { + focus = CHY_lujunhangkongbing + } + prerequisite = { + focus = CHY_haijunhangkongbing + } relative_position_id = CHY_lujunhangkongbing cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_kongjunliluntupo = yes @@ -3199,100 +3364,113 @@ } } } - focus = { + focus = { id = CHY_yongyuandeling icon = GFX_focus_jap_zero x = 0 y = 1 cost = 8 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_dulikongjun } + prerequisite = { + focus = CHY_dulikongjun + } relative_position_id = CHY_dulikongjun cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - if = { + if = { limit = { has_dlc = "By Blood Alone" } custom_effect_tooltip = CHY_tianlei1_tooltip if = { - limit = { - has_tech = advanced_small_airframe - not = { has_tech = modern_small_airframe } + limit = { + has_tech = advanced_small_airframe + NOT = { + has_tech = modern_small_airframe + } + } + add_tech_bonus = { + name = "小型飞机研究加成" + bonus = 100 + uses = 1 + ahead_reduction = 10 + category = light_air + } + set_technology = { + jet_engines = 1 + } } - add_tech_bonus = { - name = "小型飞机研究加成" - bonus = 100 - uses = 1 - ahead_reduction = 10 - category = light_air + if = { + limit = { + NOT = { + has_tech = advanced_small_airframe + } + } + add_tech_bonus = { + name = "小型飞机研究加成" + bonus = 100 + uses = 1 + ahead_reduction = 10 + category = light_air + } + set_technology = { + engines_4 = 1 + } } - set_technology = { jet_engines = 1 } - } - if = { - limit = { - not = { has_tech = advanced_small_airframe } + if = { + limit = { + has_tech = modern_small_airframe + } + add_ideas = CHY_tlzdj } - add_tech_bonus = { - name = "小型飞机研究加成" - bonus = 100 - uses = 1 - ahead_reduction = 10 - category = light_air - } - set_technology = { engines_4 = 1 } - } - if = { - limit = { - has_tech = modern_small_airframe - } - add_ideas = CHY_tlzdj - } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } custom_effect_tooltip = CHY_tianlei2_tooltip if = { - limit = { - has_tech = fighter3 - not = { has_tech = jet_fighter1 } + limit = { + has_tech = fighter3 + NOT = { + has_tech = jet_fighter1 + } + } + add_tech_bonus = { + name = "小型飞机研究加成" + bonus = 100 + uses = 1 + ahead_reduction = 10 + category = light_air + } } - add_tech_bonus = { - name = "小型飞机研究加成" - bonus = 100 - uses = 1 - ahead_reduction = 10 - category = light_air + if = { + limit = { + NOT = { + has_tech = fighter3 + } + } + add_tech_bonus = { + name = "小型飞机研究加成" + bonus = 100 + uses = 1 + ahead_reduction = 10 + category = light_air + } } - } - if = { - limit = { - not = { has_tech = fighter3 } + if = { + limit = { + has_tech = jet_fighter1 + } + add_ideas = CHY_tlzdj } - add_tech_bonus = { - name = "小型飞机研究加成" - bonus = 100 - uses = 1 - ahead_reduction = 10 - category = light_air - } - } - if = { - limit = { - has_tech = jet_fighter1 - } - add_ideas = CHY_tlzdj - } } } } @@ -3302,7 +3480,9 @@ x = 0 y = 1 cost = 5 - prerequisite = { focus = CHY_beijinlun } + prerequisite = { + focus = CHY_beijinlun + } relative_position_id = CHY_beijinlun available = { is_puppet = no @@ -3310,49 +3490,63 @@ ai_will_do = { factor = 0 modifier = { - BFL = { has_war_with = TIX } - or = { - not = { country_exists = DOH } - is_in_faction_with = DOH - DOH = { has_capitulated = yes } + BFL = { + has_war_with = TIX + } + OR = { + NOT = { + country_exists = DOH + } + is_in_faction_with = DOH + DOH = { + has_capitulated = yes + } } add = 90 } modifier = { - BFL = { has_war = NO } + BFL = { + has_war = NO + } add = 90 } } available = { - or = { - BFL = { has_war_with = TIX } - BFL = { has_war_with = YUW } - date > 1943.1.1 + OR = { + BFL = { + has_war_with = TIX + } + BFL = { + has_war_with = YUW + } + date > 1943.1.1 } } - select_effect = { BFL = { - country_event = { id = CHY_event.19 days = 14 } + country_event = { + id = CHY_event.19 + days = 14 + } } - } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - set_country_flag = CHY_dbfxz_flag - add_state_claim = 655 - create_wargoal = { target = BFL type = take_state_focus } + set_country_flag = CHY_dbfxz_flag + add_state_claim = 655 + create_wargoal = { + target = BFL + type = take_state_focus + } add_doctrine_cost_reduction = { name = "对北方作战" cost_reduction = 0.5 uses = 1 category = land_doctrine - } + } if = { limit = { BFL = { @@ -3364,8 +3558,7 @@ days = 500 } } - - if = { + if = { limit = { has_idea = CHY_chyrongyao_badao_nanjin } @@ -3374,7 +3567,7 @@ add_idea = CHY_chyrongyao_4_nanjin } } - else_if = { + else_if = { limit = { has_idea = CHY_chyrongyao_badao_beijin } @@ -3391,9 +3584,13 @@ x = -1 y = 1 cost = 5 - prerequisite = { focus = CHY_chuaixiongpigu } + prerequisite = { + focus = CHY_chuaixiongpigu + } relative_position_id = CHY_chuaixiongpigu - mutually_exclusive = { focus = CHY_jixujingong } + mutually_exclusive = { + focus = CHY_jixujingong + } ai_will_do = { factor = 1 } @@ -3406,32 +3603,34 @@ controls_state = 563 controls_state = 561 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - BFL = { country_event = CHY_event.20 } + BFL = { + country_event = CHY_event.20 + } } } - focus = { id = CHY_jixujingong icon = GFX_goal_continuous_suppression x = 1 y = 1 cost = 5 - prerequisite = { focus = CHY_chuaixiongpigu } + prerequisite = { + focus = CHY_chuaixiongpigu + } relative_position_id = CHY_chuaixiongpigu - mutually_exclusive = { focus = CHY_xiaohuazhanguo } + mutually_exclusive = { + focus = CHY_xiaohuazhanguo + } ai_will_do = { factor = 5 } available = { - has_country_flag = { + has_country_flag = { flag = CHY_dbfxz_flag days > 175 } @@ -3442,41 +3641,41 @@ days > 175 } } - has_army_experience > 99 - has_war_with = BFL + has_army_experience > 99 + has_war_with = BFL } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - army_experience = -100 - if = { - limit = { has_ideas = CHY_dbfzz} - modify_timed_idea = { + army_experience = -100 + if = { + limit = { + has_idea = CHY_dbfzz + } + modify_timed_idea = { idea = CHY_dbfzz days = 300 + } + } + every_army_leader = { + add_logistics = 1 } - } - every_army_leader = { - add_logistics = 1 - - } - } } - focus = { id = CHY_jiechudonghuang icon = GFX_goal_molotov_ribbentrop_pact x = -1 y = 1 cost = 1 - prerequisite = { focus = CHY_xingtong } + prerequisite = { + focus = CHY_xingtong + } relative_position_id = CHY_xingtong - mutually_exclusive = { focus = CHY_duibaiyingyouhao } + mutually_exclusive = { + focus = CHY_duibaiyingyouhao + } ai_will_do = { factor = 5 modifier = { @@ -3484,17 +3683,15 @@ add = 15 } } - available = { - has_country_flag = CHY_naval - not = { - has_war_with = DOH - } + available = { + has_country_flag = CHY_naval + NOT = { + has_war_with = DOH + } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { DOH = { @@ -3502,32 +3699,33 @@ add_opinion_modifier = { target = CHY modifier = CHY_cydbt - } + } } swap_ideas = { - remove_idea = CHY_chyrongyao - add_idea = CHY_chyrongyao_nanjin - } + remove_idea = CHY_chyrongyao + add_idea = CHY_chyrongyao_nanjin + } } } - focus = { id = CHY_donghuangyouhao icon = GFX_fflag_DOH x = 0 y = 1 cost = 3 - - prerequisite = { focus = CHY_jiechudonghuang } + prerequisite = { + focus = CHY_jiechudonghuang + } relative_position_id = CHY_jiechudonghuang - available = { DOH = { - NOT = { has_completed_focus = DOH_xianfazhiren } + NOT = { + has_completed_focus = DOH_xianfazhiren + } + } + NOT = { + has_war_with = DOH } - not = { - has_war_with = DOH - } } ai_will_do = { factor = 1 @@ -3536,42 +3734,39 @@ factor = 29 } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { DOH = { add_opinion_modifier = { target = CHY modifier = CHY_dhyouhao - } + } } add_ai_strategy = { - type = befriend - id = DOH - value = 300 + type = befriend + id = DOH + value = 300 } - add_ai_strategy = { - type = alliance - id = "DOH" - value = 200 - } - DOH = { - add_ai_strategy = { - type = alliance - id = "CHY" - value = 200 - } - add_ai_strategy = { - type = befriend - id = CHY - value = 300 + add_ai_strategy = { + type = alliance + id = "DOH" + value = 200 + } + DOH = { + add_ai_strategy = { + type = alliance + id = "CHY" + value = 200 + } + add_ai_strategy = { + type = befriend + id = CHY + value = 300 + } } - } } } focus = { @@ -3580,24 +3775,21 @@ x = -2 y = 1 cost = 10 - - prerequisite = { focus = CHY_donghuangyouhao } + prerequisite = { + focus = CHY_donghuangyouhao + } relative_position_id = CHY_donghuangyouhao ai_will_do = { factor = 5 } - available = { - not = { - has_war_with = DOH + NOT = { + has_war_with = DOH + } } - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -3608,7 +3800,7 @@ category = artillery } DOH = { - add_tech_bonus = { + add_tech_bonus = { name = "合作交流" bonus = 0.75 uses = 3 @@ -3623,17 +3815,19 @@ x = 0 y = 1 cost = 5 - - prerequisite = { focus = CHY_donghuangyouhao } + prerequisite = { + focus = CHY_donghuangyouhao + } relative_position_id = CHY_donghuangyouhao ai_will_do = { factor = 5 } - available = { - not = { - has_war_with = DOH + available = { + NOT = { + has_war_with = DOH + } + controls_state = 528 } - controls_state = 528 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 528 = { @@ -3650,7 +3844,7 @@ DOH = { 613 = { add_resource = { - type = aluminium + type = aluminium amount = 46 } add_resource = { @@ -3661,58 +3855,63 @@ } } } - focus = { id = CHY_dongfanglianmeng icon = GFX_goal_generic_major_alliance x = 1 y = 1 cost = 5 - - prerequisite = { focus = CHY_hezuojiaoliu } - prerequisite = { focus = CHY_ziyuanhubu } + prerequisite = { + focus = CHY_hezuojiaoliu + } + prerequisite = { + focus = CHY_ziyuanhubu + } relative_position_id = CHY_hezuojiaoliu ai_will_do = { factor = 5 } available = { - not = { - has_war_with = DOH - } + NOT = { + has_war_with = DOH + } } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } - swap_ideas = { + if = { + limit = { + has_global_flag = MOD_azurlane_sairenzhizai + } + swap_ideas = { remove_idea = CHY_chyrongyao_nanjin add_idea = CHY_chyrongyao_4_nanjin } - add_ideas = CHY_qlcx + add_ideas = CHY_qlcx + } + create_faction = "东方联盟" + DOH = { + add_ideas = CHY_dylm + country_event = CHY_event.dflm + } + add_ideas = CHY_dylm + custom_effect_tooltip = CHY_dongfanglianmeng_tooltip + if = { + limit = { + has_completed_focus = CHY_niepanchongsheng + } + set_global_flag = CHY_cc } - create_faction = "东方联盟" - DOH = { - add_ideas = CHY_dylm - country_event = CHY_event.dflm } - add_ideas = CHY_dylm - custom_effect_tooltip = CHY_dongfanglianmeng_tooltip - if = { - limit = { - has_completed_focus = CHY_niepanchongsheng - } - set_global_flag = CHY_cc - } - } -} + } focus = { id = CHY_guihuan icon = GFX_goal_molotov_ribbentrop_pact x = 0 y = 1 cost = 3 - - prerequisite = { focus = CHY_dongfanglianmeng } + prerequisite = { + focus = CHY_dongfanglianmeng + } relative_position_id = CHY_dongfanglianmeng ai_will_do = { factor = 5 @@ -3721,54 +3920,52 @@ has_global_flag = MOD_azurlane_tianjiangjianniang } available = { - not = { - has_war_with = DOH - } + NOT = { + has_war_with = DOH + } } bypass = { - or = { - has_completed_focus = CHY_womenlianhe - not = { - has_full_control_of_state = 612 - has_full_control_of_state = 611 - has_full_control_of_state = 610 - has_full_control_of_state = 716 - has_full_control_of_state = 714 - has_full_control_of_state = 715 - has_full_control_of_state = 611 - has_full_control_of_state = 609 - has_full_control_of_state = 716 - has_full_control_of_state = 328 - has_full_control_of_state = 717 - } - } + OR = { + has_completed_focus = CHY_womenlianhe + NOT = { + has_full_control_of_state = 612 + has_full_control_of_state = 611 + has_full_control_of_state = 610 + has_full_control_of_state = 716 + has_full_control_of_state = 714 + has_full_control_of_state = 715 + has_full_control_of_state = 611 + has_full_control_of_state = 609 + has_full_control_of_state = 716 + has_full_control_of_state = 328 + has_full_control_of_state = 717 + } + } } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - DOH = { - transfer_state = 612 - transfer_state = 611 - transfer_state = 610 - transfer_state = 716 - transfer_state = 714 - transfer_state = 715 - transfer_state = 611 - transfer_state = 609 - transfer_state = 716 - transfer_state = 328 - transfer_state = 717 - transfer_state = 761 - add_timed_idea = { - idea = DOH_yzcy - days = 450 - } - } - add_timed_idea = { - idea = CHY_dhyz - days = 450 - } - - + DOH = { + transfer_state = 612 + transfer_state = 611 + transfer_state = 610 + transfer_state = 716 + transfer_state = 714 + transfer_state = 715 + transfer_state = 611 + transfer_state = 609 + transfer_state = 716 + transfer_state = 328 + transfer_state = 717 + transfer_state = 761 + add_timed_idea = { + idea = DOH_yzcy + days = 450 + } + } + add_timed_idea = { + idea = CHY_dhyz + days = 450 + } } } focus = { @@ -3777,45 +3974,55 @@ x = 0 y = 1 cost = 4 - available = { - not = { - has_war_with = DOH + available = { + NOT = { + has_war_with = DOH + } } + prerequisite = { + focus = CHY_guihuan } - prerequisite = { focus = CHY_guihuan } relative_position_id = CHY_guihuan ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = CHY_qlcx - create_wargoal = { target = MON type = annex_everything expire = 365 } - DOH = { country_event = CHY_event.28 } + create_wargoal = { + target = MON + type = annex_everything + expire = 365 + } + DOH = { + country_event = CHY_event.28 + } add_war_support = 0.1 } } - focus = { + focus = { id = CHY_xiangtaipingyangjingjun icon = GFX_aflag_BYG x = 0 y = 1 cost = 5 - - prerequisite = { focus = CHY_nanjinlun } + prerequisite = { + focus = CHY_nanjinlun + } relative_position_id = CHY_nanjinlun available = { - is_puppet = no - date > 1941.2.1 + is_puppet = no + date > 1941.2.1 } bypass = { - or = { - has_war_with = BYG - not = {country_exists = BYG} - BYG = { - is_in_faction_with = CHY - } + OR = { + has_war_with = BYG + NOT = { + country_exists = BYG + } + BYG = { + is_in_faction_with = CHY + } } } ai_will_do = { @@ -3827,57 +4034,80 @@ modifier = { OR = { is_in_faction_with = DOH - DOH = { has_capitulated = yes } - NOT = { country_exists = DOH } + DOH = { + has_capitulated = yes + } + NOT = { + country_exists = DOH + } } date > 1940.8.1 has_war = NO add = 50 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - declare_war_on = { target = PHI type = annex_everything } - declare_war_on = { target = BYG type = annex_everything } - add_timed_idea = { idea = JAP_tora_tora_tora_idea days = 500 } - if = { - limit = { - is_ai = yes + declare_war_on = { + target = PHI + type = annex_everything } - set_technology = { mtg_tank_landing_craft = 1 } + declare_war_on = { + target = BYG + type = annex_everything + } + add_timed_idea = { + idea = JAP_tora_tora_tora_idea + days = 500 } if = { - limit = { - BYG = { is_in_faction_with = HUJ } - country_exists = HUJ - has_war_with = DOH - DOH = { - not = { has_war_with = HUJ } - is_faction_leader = yes - } + limit = { + is_ai = yes + } + set_technology = { + mtg_tank_landing_craft = 1 } - DOH = { country_event = az_tianjiang.135 } } - country_event = { id = chy_new.1 days = 1} + if = { + limit = { + BYG = { + is_in_faction_with = HUJ + } + country_exists = HUJ + has_war_with = DOH + DOH = { + NOT = { + has_war_with = HUJ + } + is_faction_leader = yes + } + } + DOH = { + country_event = az_tianjiang.135 + } + } + country_event = { + id = chy_new.1 + days = 1 + } BYG = { - country_event = { id = az_tianjiang.43 days = 3} - } + country_event = { + id = az_tianjiang.43 + days = 3 + } } } - - - + } focus = { id = CHY_tiaoxindonghuang icon = GFX_goal_tfv_saf_anti_colonialist_crusade x = 0 y = 1 cost = 3 - - prerequisite = { focus = CHY_duibaiyingyouhao } + prerequisite = { + focus = CHY_duibaiyingyouhao + } relative_position_id = CHY_duibaiyingyouhao - ai_will_do = { factor = 5 modifier = { @@ -3885,46 +4115,95 @@ add = 45 } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { set_rule = { - can_create_factions = yes + can_create_factions = yes } create_faction = "东亚合作圈" custom_effect_tooltip = CHY_tiaoxindonghuang_tooltip - - hidden_effect = { + hidden_effect = { division_template = { - name = "关东边防师" + name = "关东边防师" division_names_group = JAP_INF_01 - regiments = { - artillery_brigade = { x = 0 y = 0 } - artillery_brigade = { x = 0 y = 1 } - artillery_brigade = { x = 0 y = 2 } - artillery_brigade = { x = 0 y = 3 } - light_armor = { x = 1 y = 0 } - infantry = { x = 2 y = 0 } - infantry = { x = 2 y = 1 } - infantry = { x = 2 y = 2 } - infantry = { x = 2 y = 3 } - infantry = { x = 3 y = 0 } - infantry = { x = 3 y = 1 } - infantry = { x = 3 y = 2 } - infantry = { x = 3 y = 3 } + artillery_brigade = { + x = 0 + y = 0 + } + artillery_brigade = { + x = 0 + y = 1 + } + artillery_brigade = { + x = 0 + y = 2 + } + artillery_brigade = { + x = 0 + y = 3 + } + light_armor = { + x = 1 + y = 0 + } + infantry = { + x = 2 + y = 0 + } + infantry = { + x = 2 + y = 1 + } + infantry = { + x = 2 + y = 2 + } + infantry = { + x = 2 + y = 3 + } + infantry = { + x = 3 + y = 0 + } + infantry = { + x = 3 + y = 1 + } + infantry = { + x = 3 + y = 2 + } + infantry = { + x = 3 + y = 3 + } } support = { - engineer = { x = 0 y = 0 } - artillery = { x = 0 y = 1 } - recon = { x = 0 y = 2 } - logistics_company = { x = 0 y = 3 } - maintenance_company = { x = 0 y = 4 } + engineer = { + x = 0 + y = 0 + } + artillery = { + x = 0 + y = 1 + } + recon = { + x = 0 + y = 2 + } + logistics_company = { + x = 0 + y = 3 + } + maintenance_company = { + x = 0 + y = 4 + } } } 609 = { @@ -4029,11 +4308,16 @@ } } DOH = { - hidden_effect = { country_event = { id = CHY_event.18 days = 10 } } + hidden_effect = { + country_event = { + id = CHY_event.18 + days = 10 + } + } add_opinion_modifier = { target = CHY modifier = CHY_dhtiaoxin - } + } } add_ai_strategy = { type = prepare_for_war @@ -4047,132 +4331,129 @@ icon = GFX_goal_generic_intelligence_exchange x = 1 y = 1 - prerequisite = { focus = CHY_xingtong } + prerequisite = { + focus = CHY_xingtong + } relative_position_id = CHY_xingtong - mutually_exclusive = { focus = CHY_jiechudonghuang } + mutually_exclusive = { + focus = CHY_jiechudonghuang + } cost = 1 available = { - has_country_flag = CHY_army + has_country_flag = CHY_army } - ai_will_do = { factor = 100 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - custom_effect_tooltip = CHY_duibaiyingyouhao_tooltip + custom_effect_tooltip = CHY_duibaiyingyouhao_tooltip BYG = { - country_event = { - id = chy_new.46 - days = 3 + country_event = { + id = chy_new.46 + days = 3 + } } + swap_ideas = { + remove_idea = CHY_chyrongyao + add_idea = CHY_chyrongyao_beijin } - swap_ideas = { - remove_idea = CHY_chyrongyao - add_idea = CHY_chyrongyao_beijin - } } } - focus = { id = CHY_lujunjingshenzhuru icon = GFX_goal_generic_intelligence_exchange x = 0 y = 1 - prerequisite = { focus = CHY_tiaoxindonghuang } + prerequisite = { + focus = CHY_tiaoxindonghuang + } relative_position_id = CHY_tiaoxindonghuang - cost = 3 - - ai_will_do = { factor = 100 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - custom_effect_tooltip = CHY_lujunjingshenzhuru_tooltip - army_experience = 50 - - - if = { - limit = { has_idea = CHY_bhsdlj } - swap_ideas = { - remove_idea = CHY_bhsdlj - add_idea = CHY_bhsdlj_1 - } - else_if = { - limit = { has_ideas = CHY_bhsdlj_1 } - remove_ideas = CHY_bhsdlj_1 - } - } - - if = { - limit = { - has_country_leader = { - ruling_only = yes - character = CHY_chicheng - } - } - random_army_leader = { + custom_effect_tooltip = CHY_lujunjingshenzhuru_tooltip + army_experience = 50 + if = { limit = { - has_id = 07003 + has_idea = CHY_bhsdlj } - - add_skill_level = 2 - add_attack = 2 - add_planning = 2 - add_logistics = 2 - - add_unit_leader_trait = expert_delegator - add_unit_leader_trait = logistics_wizard - } - } - if = { - limit = { - NOT = { - has_country_leader = { - ruling_only = yes - character = CHY_chicheng + swap_ideas = { + remove_idea = CHY_bhsdlj + add_idea = CHY_bhsdlj_1 } + else_if = { + limit = { + has_idea = CHY_bhsdlj_1 + } + remove_ideas = CHY_bhsdlj_1 + } + } + if = { + limit = { + has_country_leader = { + ruling_only = yes + character = CHY_chicheng + } + } + random_army_leader = { + limit = { + has_id = 7003 + } + add_skill_level = 2 + add_attack = 2 + add_planning = 2 + add_logistics = 2 + add_unit_leader_trait = expert_delegator + add_unit_leader_trait = logistics_wizard + } + } + if = { + limit = { + NOT = { + has_country_leader = { + ruling_only = yes + character = CHY_chicheng + } + } + } + remove_unit_leader = 7029 + create_field_marshal = { + name = "能代" + picture = "nengdai.png" + traits = { + xunyang_army + aggressive_assaulter + brilliant_strategist + organizer + } + skill = 7 + attack_skill = 9 + defense_skill = 5 + planning_skill = 7 + logistics_skill = 6 + } + } } - } - remove_unit_leader = 07029 - create_field_marshal = { - name = "能代" - picture = "nengdai.png" - traits = { xunyang_army aggressive_assaulter brilliant_strategist organizer } - skill = 7 - attack_skill = 9 - defense_skill = 5 - planning_skill = 7 - logistics_skill = 6 - } - - } - } - } - focus = { id = CHY_ruoxiaodelingju icon = GFX_goal_generic_more_territorial_claims x = 2 y = 1 cost = 5 - - prerequisite = { focus = CHY_tiaoxindonghuang } + prerequisite = { + focus = CHY_tiaoxindonghuang + } relative_position_id = CHY_tiaoxindonghuang ai_will_do = { factor = 4 @@ -4181,15 +4462,12 @@ add = 40 } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = CHY_rxdlj + add_ideas = CHY_rxdlj } } focus = { @@ -4198,115 +4476,114 @@ x = 1 y = 1 cost = 7 - prerequisite = { focus = CHY_ruoxiaodelingju } - prerequisite = { focus = CHY_lujunjingshenzhuru } + prerequisite = { + focus = CHY_ruoxiaodelingju + } + prerequisite = { + focus = CHY_lujunjingshenzhuru + } relative_position_id = CHY_lujunjingshenzhuru - ai_will_do = { factor = 60 } - - - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } - add_ideas = CHY_qlcx - swap_ideas = { - remove_idea = CHY_rxdlj - add_idea = CHY_rxdlj2 - } - swap_ideas = { - remove_idea = CHY_chyrongyao_beijin - add_idea = CHY_chyrongyao_4_beijin + limit = { + has_global_flag = MOD_azurlane_sairenzhizai + } + add_ideas = CHY_qlcx + swap_ideas = { + remove_idea = CHY_rxdlj + add_idea = CHY_rxdlj2 + } + swap_ideas = { + remove_idea = CHY_chyrongyao_beijin + add_idea = CHY_chyrongyao_4_beijin } - } else_if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } add_ideas = CHY_lqzz - random_owned_controlled_state = { - limit = { - OR = { - state = 533 - state = 282 - state = 534 - state = 532 - state = 535 - state = 531 - state = 529 - state = 528 - state = 530 - state = 537 + random_owned_controlled_state = { + limit = { + OR = { + state = 533 + state = 282 + state = 534 + state = 532 + state = 535 + state = 531 + state = 529 + state = 528 + state = 530 + state = 537 + } + free_building_slots = { + building = industrial_complex + size > 2 + include_locked = yes + } } - free_building_slots = { - building = industrial_complex - size > 2 - include_locked = yes + add_extra_state_shared_building_slots = 2 + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes } } - add_extra_state_shared_building_slots = 2 - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - OR = { - state = 533 - state = 282 - state = 534 - state = 532 - state = 535 - state = 531 - state = 529 - state = 528 - state = 530 - state = 537 + random_owned_controlled_state = { + limit = { + OR = { + state = 533 + state = 282 + state = 534 + state = 532 + state = 535 + state = 531 + state = 529 + state = 528 + state = 530 + state = 537 + } + free_building_slots = { + building = industrial_complex + size > 2 + include_locked = yes + } } - free_building_slots = { - building = industrial_complex - size > 2 - include_locked = yes + add_extra_state_shared_building_slots = 2 + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes } } - add_extra_state_shared_building_slots = 2 - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes + add_equipment_to_stockpile = { + type = infantry_equipment + amount = 9000 + } + add_equipment_to_stockpile = { + type = artillery_equipment + amount = 998 + } + add_equipment_to_stockpile = { + type = convoy + amount = 500 + } + if = { + limit = { + is_ai = yes + } + set_technology = { + mtg_landing_craft = 1 + } } - } - add_equipment_to_stockpile = { - type = infantry_equipment - amount = 9000 - } - - add_equipment_to_stockpile = { - type = artillery_equipment - amount = 998 - } - - add_equipment_to_stockpile = { - type = convoy - amount = 500 - } - if = { - limit = { - is_ai = yes - } - set_technology = { mtg_landing_craft = 1 } - } } } } @@ -4316,27 +4593,26 @@ x = 0 y = 1 cost = 7 - prerequisite = { focus = CHY_zhunbeijingong } + prerequisite = { + focus = CHY_zhunbeijingong + } relative_position_id = CHY_zhunbeijingong ai_will_do = { factor = 80 - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - allow_branch = { + allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 609 = { add_building_construction = { type = infrastructure level = 2 - instant_build = yes + instant_build = yes } add_building_construction = { type = naval_base @@ -4349,21 +4625,21 @@ add_building_construction = { type = infrastructure level = 1 - instant_build = yes + instant_build = yes } } 611 = { add_building_construction = { type = infrastructure level = 1 - instant_build = yes + instant_build = yes } } 612 = { add_building_construction = { type = infrastructure level = 1 - instant_build = yes + instant_build = yes } } build_railway = { @@ -4378,17 +4654,19 @@ set_country_flag = CHY_dongyanzhanzhengbuju } } - - focus = { id = CHY_qinlueruhuo icon = GFX_aflag_DOH x = -1 y = 1 cost = 4 - prerequisite = { focus = CHY_dongyazhanzhengbuju } + prerequisite = { + focus = CHY_dongyazhanzhengbuju + } relative_position_id = CHY_dongyazhanzhengbuju - mutually_exclusive = {focus = CHY_pijiushibian} + mutually_exclusive = { + focus = CHY_pijiushibian + } will_lead_to_war_with = DOH ai_will_do = { factor = 0 @@ -4403,13 +4681,17 @@ cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_named_threat = { threat = 20 name = "侵略东煌" } - create_wargoal = { target = DOH type = take_state_focus } - add_ideas = CHY_qlcx + add_named_threat = { + threat = 20 + name = "侵略东煌" + } + create_wargoal = { + target = DOH + type = take_state_focus + } + add_ideas = CHY_qlcx #add_timed_idea = { idea = CHY_sanyuezhanzhenglun days = 90 } add_ai_strategy = { type = prepare_for_war @@ -4422,7 +4704,6 @@ value = 50 } } - } focus = { id = CHY_pijiushibian @@ -4430,9 +4711,13 @@ x = 1 y = 1 cost = 5 - prerequisite = { focus = CHY_dongyazhanzhengbuju } + prerequisite = { + focus = CHY_dongyazhanzhengbuju + } relative_position_id = CHY_dongyazhanzhengbuju - mutually_exclusive = {focus = CHY_qinlueruhuo} + mutually_exclusive = { + focus = CHY_qinlueruhuo + } will_lead_to_war_with = DOH ai_will_do = { factor = 1 @@ -4447,15 +4732,16 @@ cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { DOH = { - country_event = az_tianjiang.39 + country_event = az_tianjiang.39 } - add_timed_idea = { idea = CHY_sanyuezhanzhenglun days = 100 } - add_ideas = CHY_qlcx + add_timed_idea = { + idea = CHY_sanyuezhanzhenglun + days = 100 + } + add_ideas = CHY_qlcx add_ai_strategy = { type = prepare_for_war id = PHI @@ -4467,38 +4753,44 @@ value = 50 } } - } - focus = { id = CHY_badao icon = GFX_focus_chongyingweixin x = -1 y = 1 cost = 10 - prerequisite = { focus = CHY_zhenghedongya focus = CHY_qinlueruhuo focus = CHY_pijiushibian } + prerequisite = { + focus = CHY_zhenghedongya + focus = CHY_qinlueruhuo + focus = CHY_pijiushibian + } relative_position_id = CHY_qinlueruhuo available = { is_puppet = no threat > 0.5 - or = { - date > 1940.1.1 - not = {country_exists = DOH} - is_in_faction_with = DOH - DOH = {has_capitulated = yes} + OR = { + date > 1940.1.1 + NOT = { + country_exists = DOH + } + is_in_faction_with = DOH + DOH = { + has_capitulated = yes + } } } ai_will_do = { factor = 99 } completion_reward = { - custom_effect_tooltip = CHY_xijinanyangziyuanqu_tooltip - if = { + custom_effect_tooltip = CHY_xijinanyangziyuanqu_tooltip + if = { limit = { has_idea = CHY_chyrongyao_nanjin - not = { - has_completed_focus = CHY_niepanchongsheng - } + NOT = { + has_completed_focus = CHY_niepanchongsheng + } } swap_ideas = { remove_idea = CHY_chyrongyao_nanjin @@ -4506,12 +4798,12 @@ } add_ideas = tot_economic_mobilisation } - else_if = { + else_if = { limit = { has_idea = CHY_chyrongyao_beijin - not = { - has_completed_focus = CHY_niepanchongsheng - } + NOT = { + has_completed_focus = CHY_niepanchongsheng + } } swap_ideas = { remove_idea = CHY_chyrongyao_beijin @@ -4519,102 +4811,103 @@ } add_ideas = tot_economic_mobilisation } - - else_if = { + else_if = { limit = { has_idea = CHY_chyrongyao_beijin - has_completed_focus = CHY_niepanchongsheng - + has_completed_focus = CHY_niepanchongsheng } swap_ideas = { remove_idea = CHY_chyrongyao_beijin add_idea = CHY_chyrongyao_badao_beijin } - } - - else_if = { + else_if = { limit = { has_idea = CHY_chyrongyao_beijin - has_completed_focus = CHY_niepanchongsheng - + has_completed_focus = CHY_niepanchongsheng } swap_ideas = { remove_idea = CHY_chyrongyao_beijin add_idea = CHY_chyrongyao_badao_beijin } - } } - } - focus = { id = CHY_youren icon = GFX_goal_tripartite_pact x = 0 y = 1 cost = 5 - prerequisite = { focus = CHY_badao} + prerequisite = { + focus = CHY_badao + } relative_position_id = CHY_badao available = { is_puppet = no } bypass = { - not = {country_exists = SIA} + NOT = { + country_exists = SIA + } } ai_will_do = { factor = 99 } completion_reward = { SIA = { - country_event = az_tianjiang.37 + country_event = az_tianjiang.37 } } - } - focus = { id = CHY_beifangdepengyou icon = GFX_goal_generic_forceful_treaty x = 0 y = 1 cost = 5 - prerequisite = { focus = CHY_youren} + prerequisite = { + focus = CHY_youren + } relative_position_id = CHY_youren available = { is_puppet = no - or = { - not = {country_exists = DOH} - DOH = {has_capitulated = yes} + OR = { + NOT = { + country_exists = DOH + } + DOH = { + has_capitulated = yes + } } } bypass = { - not = {country_exists = MON} + NOT = { + country_exists = MON + } } ai_will_do = { factor = 99 } completion_reward = { MON = { - country_event = az_tianjiang.37 + country_event = az_tianjiang.37 } } - } - focus = { id = CHY_zhenghezhimindi icon = GFX_goal_generic_intelligence_exchange x = 0 y = 1 cost = 10 - prerequisite = { focus = CHY_beifangdepengyou} + prerequisite = { + focus = CHY_beifangdepengyou + } relative_position_id = CHY_beifangdepengyou available = { is_puppet = no } - ai_will_do = { factor = 10 } @@ -4624,38 +4917,44 @@ add_state_core = 524 add_state_core = 745 } - } - focus = { id = CHY_nanjinlun icon = GFX_focus_generic_support_the_left_right x = -3 y = 1 cost = 5 - prerequisite = { focus = CHY_badao} + prerequisite = { + focus = CHY_badao + } relative_position_id = CHY_badao available = { - or = { - has_country_flag = CHY_naval - date >1940.1.1 - is_ai = yes - } - is_puppet = no + OR = { + has_country_flag = CHY_naval + date > 1940.1.1 + is_ai = yes + } + is_puppet = no threat > 0.5 - or = { - YUW = { surrender_progress > 0.5 } - country_exists = WEX - YUW = {has_capitulated = yes} + OR = { + YUW = { + surrender_progress > 0.5 + } + country_exists = WEX + YUW = { + has_capitulated = yes + } } } bypass = { - or = { - has_war_with = YUW - YUW = { - has_government = fascism - } - YUW = { has_completed_focus = YUW_yuanweikuozhangzhuyi } + OR = { + has_war_with = YUW + YUW = { + has_government = fascism + } + YUW = { + has_completed_focus = YUW_yuanweikuozhangzhuyi + } } } ai_will_do = { @@ -4663,7 +4962,7 @@ } completion_reward = { YUW = { - country_event = az_tianjiang.38 + country_event = az_tianjiang.38 } add_war_support = 0.1 transfer_state = 671 @@ -4672,86 +4971,108 @@ transfer_state = 741 transfer_state = 728 } - } - focus = { id = CHY_xijinanyangziyuanqu icon = GFX_focus_jap_strike_south x = 0 y = 1 cost = 5 - prerequisite = { focus = CHY_xiangtaipingyangjingjun} + prerequisite = { + focus = CHY_xiangtaipingyangjingjun + } relative_position_id = CHY_xiangtaipingyangjingjun available = { is_puppet = no - or = { - HUJ = {has_war_with = TIX} - HUJ = {has_war_with = BFL} - HUJ = {has_war_with = YUW} - not = {country_exists = HUJ} + OR = { + HUJ = { + has_war_with = TIX + } + HUJ = { + has_war_with = BFL + } + HUJ = { + has_war_with = YUW + } + NOT = { + country_exists = HUJ + } } } bypass = { - or = { - is_in_faction_with = BYG - is_in_faction_with = HUJ - has_war_with = HUJ - has_war_with = MAL - DOH = { - is_in_faction_with = BYG - is_in_faction_with = HUJ + OR = { + is_in_faction_with = BYG + is_in_faction_with = HUJ + has_war_with = HUJ + has_war_with = MAL + DOH = { + is_in_faction_with = BYG + is_in_faction_with = HUJ + } } - } - } ai_will_do = { factor = 100 } completion_reward = { - - declare_war_on = { target = MAL type = annex_everything } - create_wargoal = { target = INS type = take_state_focus } + declare_war_on = { + target = MAL + type = annex_everything + } + create_wargoal = { + target = INS + type = take_state_focus + } if = { - limit = { - country_exists = HUJ - has_war_with = DOH - DOH = { - not = { has_war_with = HUJ } - is_faction_leader = yes - } - } - DOH = { country_event = az_tianjiang.135 } + limit = { + country_exists = HUJ + has_war_with = DOH + DOH = { + NOT = { + has_war_with = HUJ + } + is_faction_leader = yes + } + } + DOH = { + country_event = az_tianjiang.135 + } } } - } - focus = { id = CHY_beijinlun icon = GFX_goal_anti_comintern_pact x = 3 y = 1 cost = 5 - prerequisite = { focus = CHY_badao} + prerequisite = { + focus = CHY_badao + } relative_position_id = CHY_badao - available = { - OR = { - has_country_flag = CHY_army - date > 1941.1.1 - is_ai = yes - } - is_puppet = no - or = { - DOH = {has_capitulated = yes} - not = {country_exists = DOH} - is_in_faction_with = DOH - DOH = { surrender_progress > 0.7 } - } - or = { - has_army_experience > 99 - is_ai = yes - } + available = { + OR = { + has_country_flag = CHY_army + date > 1941.1.1 + is_ai = yes + } + is_puppet = no + OR = { + DOH = { + has_capitulated = yes + } + NOT = { + country_exists = DOH + } + is_in_faction_with = DOH + DOH = { + surrender_progress > 0.7 + } + } + OR = { + has_army_experience > 99 + is_ai = yes + } } bypass = { has_war_with = BFL @@ -4759,48 +5080,51 @@ ai_will_do = { factor = 10 modifier = { - is_historical_focus_on = yes - date < 1941.6.1 - or = { - DOH = { has_capitulated = no } - country_exists = DOH - } - factor = 0 + is_historical_focus_on = yes + date < 1941.6.1 + OR = { + DOH = { + has_capitulated = no + } + country_exists = DOH + } + factor = 0 } modifier = { - or = { - DOH = {has_capitulated = yes} - not = {country_exists = DOH} - is_in_faction_with = DOH - DOH = { surrender_progress > 0.9 } - } - factor = 60 + OR = { + DOH = { + has_capitulated = yes + } + NOT = { + country_exists = DOH + } + is_in_faction_with = DOH + DOH = { + surrender_progress > 0.9 + } + } + factor = 60 } } completion_reward = { army_experience = -100 add_ideas = CHY_hqgz } - } - focus = { id = CHY_mingshidexiaomaipu icon = GFX_focus_mingshi x = 25 y = 0 - cost = 7 - + cost = 7 ai_will_do = { factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - bypass = { - has_completed_focus = CHY_caifagaizao + bypass = { + has_completed_focus = CHY_caifagaizao } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { @@ -4812,23 +5136,24 @@ icon = GFX_goal_generic_construct_civilian x = 0 y = 1 - prerequisite = { focus = CHY_mingshidexiaomaipu } + prerequisite = { + focus = CHY_mingshidexiaomaipu + } relative_position_id = CHY_mingshidexiaomaipu - cost = 7 - + cost = 7 ai_will_do = { factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 75 - add_offsite_building = { type = industrial_complex level = 3 } + add_offsite_building = { + type = industrial_complex + level = 3 + } } } focus = { @@ -4836,19 +5161,17 @@ icon = GFX_focus_xinzhimofang x = 0 y = 1 - prerequisite = { focus = CHY_mofanggongchang } + prerequisite = { + focus = CHY_mofanggongchang + } relative_position_id = CHY_mofanggongchang cost = 10 - ai_will_do = { factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = CHY_gaoxiemofang_tooltip @@ -4857,28 +5180,27 @@ value = 6 } } - } + } focus = { id = CHY_buzhihuodejunhuodian icon = GFX_focus_buzhihuo x = 4 y = 0 relative_position_id = CHY_mingshidexiaomaipu - cost = 7 - + cost = 7 ai_will_do = { factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 50 - add_offsite_building = { type = arms_factory level = 3 } + add_offsite_building = { + type = arms_factory + level = 3 + } } } focus = { @@ -4886,22 +5208,23 @@ icon = GFX_goal_generic_construct_mil_factory x = 0 y = 1 - prerequisite = { focus = CHY_buzhihuodejunhuodian } + prerequisite = { + focus = CHY_buzhihuodejunhuodian + } relative_position_id = CHY_buzhihuodejunhuodian - cost = 7 - + cost = 7 ai_will_do = { factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_offsite_building = { type = arms_factory level = 5 } + add_offsite_building = { + type = arms_factory + level = 5 + } } } focus = { @@ -4909,24 +5232,23 @@ icon = GFX_goal_generic_small_arms x = 0 y = 1 - prerequisite = { focus = CHY_jiadatouzi } + prerequisite = { + focus = CHY_jiadatouzi + } relative_position_id = CHY_jiadatouzi cost = 10 available = { - or = { + OR = { arms_factory > 49 - is_ai = yes + is_ai = yes } } ai_will_do = { factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = CHY_jhlb @@ -4937,26 +5259,26 @@ icon = GFX_focus_mex_privatisation x = 2 y = 1 - prerequisite = { focus = CHY_mofanggongchang } - prerequisite = { focus = CHY_junhuolaoban } + prerequisite = { + focus = CHY_mofanggongchang + } + prerequisite = { + focus = CHY_junhuolaoban + } relative_position_id = CHY_gaoxiemofang cost = 10 - ai_will_do = { factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = CHY_cymygs add_political_power = -300 add_equipment_to_stockpile = { - type = convoy + type = convoy amount = 3000 } } @@ -4966,20 +5288,20 @@ icon = GFX_focus_generic_military_academy x = -1 y = 1 - prerequisite = { focus = CHY_chongyingmaoyigongsi } + prerequisite = { + focus = CHY_chongyingmaoyigongsi + } relative_position_id = CHY_chongyingmaoyigongsi - mutually_exclusive = { focus = CHY_fanzhazhongxin } + mutually_exclusive = { + focus = CHY_fanzhazhongxin + } cost = 7 - ai_will_do = { factor = 0 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 300 @@ -4990,20 +5312,17 @@ icon = GFX_focus_usa_reestablish_the_gold_standard x = 0 y = 1 - prerequisite = { focus = CHY_kengmengguaipiandaisuki } + prerequisite = { + focus = CHY_kengmengguaipiandaisuki + } relative_position_id = CHY_kengmengguaipiandaisuki - cost = 10 - ai_will_do = { factor = 0 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { @@ -5017,19 +5336,17 @@ icon = GFX_goal_generic_trade x = 0 y = 1 - prerequisite = { focus = CHY_jianshangluxian } + prerequisite = { + focus = CHY_jianshangluxian + } relative_position_id = CHY_jianshangluxian cost = 7 - ai_will_do = { factor = 0 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = CHY_dcbcp @@ -5041,24 +5358,23 @@ icon = GFX_focus_generic_self_management x = 1 y = 1 - prerequisite = { focus = CHY_chongyingmaoyigongsi } + prerequisite = { + focus = CHY_chongyingmaoyigongsi + } relative_position_id = CHY_chongyingmaoyigongsi - mutually_exclusive = { focus = CHY_kengmengguaipiandaisuki } + mutually_exclusive = { + focus = CHY_kengmengguaipiandaisuki + } cost = 7 - ai_will_do = { factor = 10 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.15 - } } focus = { @@ -5066,19 +5382,17 @@ icon = GFX_goal_generic_intelligence_exchange x = 0 y = 1 - prerequisite = { focus = CHY_fanzhazhongxin } + prerequisite = { + focus = CHY_fanzhazhongxin + } relative_position_id = CHY_fanzhazhongxin cost = 10 - ai_will_do = { factor = 10 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { @@ -5087,28 +5401,24 @@ } } } - focus = { id = CHY_dajijiamaoweilie icon = GFX_focus_generic_support_the_left_right x = 0 y = 1 - prerequisite = { focus = CHY_chengxinjiaoyi } + prerequisite = { + focus = CHY_chengxinjiaoyi + } relative_position_id = CHY_chengxinjiaoyi cost = 7 - ai_will_do = { factor = 10 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_political_power = 150 } } diff --git a/src/common/national_focus/chongying_new.txt b/src/common/national_focus/chongying_new.txt index 9250fba..11fa28e 100755 --- a/src/common/national_focus/chongying_new.txt +++ b/src/common/national_focus/chongying_new.txt @@ -1,36 +1,30 @@ focus_tree = { id = chongying_new_focus - country = { factor = 0 - } - - default = no - - continuous_focus_position = { x = 0 y = 2300 } + continuous_focus_position = { + x = 0 + y = 2300 + } focus = { id = CHY_jianshejihua icon = GFX_goal_generic_construction x = 3 y = 0 cost = 8 - ai_will_do = { factor = 50 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_building every_owned_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -59,21 +53,17 @@ x = 5 y = 0 cost = 4 - ai_will_do = { factor = 50 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_xiaozuofang random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -111,23 +101,23 @@ x = 0 y = 1 cost = 4 - prerequisite = { focus = CHY_jianshejihua } - prerequisite = { focus = CHY_gulixiaozuofang } + prerequisite = { + focus = CHY_jianshejihua + } + prerequisite = { + focus = CHY_gulixiaozuofang + } relative_position_id = CHY_jianshejihua - ai_will_do = { factor = 50 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -154,7 +144,7 @@ } random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -187,23 +177,23 @@ x = 2 y = 1 cost = 4 - prerequisite = { focus = CHY_jianshejihua } - prerequisite = { focus = CHY_gulixiaozuofang } + prerequisite = { + focus = CHY_jianshejihua + } + prerequisite = { + focus = CHY_gulixiaozuofang + } relative_position_id = CHY_jianshejihua - ai_will_do = { factor = 50 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -230,7 +220,7 @@ } random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -263,18 +253,16 @@ x = 0 y = 1 cost = 10 - prerequisite = { focus = CHY_minggong_1 } + prerequisite = { + focus = CHY_minggong_1 + } relative_position_id = CHY_minggong_1 - ai_will_do = { factor = 50 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "建造技术" @@ -285,7 +273,7 @@ } swap_ideas = { remove_idea = CHY_building - add_idea = CHY_building_plus + add_idea = CHY_building_plus } } } @@ -295,21 +283,19 @@ x = -2 y = 1 cost = 10 - prerequisite = { focus = CHY_minggong_1 } + prerequisite = { + focus = CHY_minggong_1 + } relative_position_id = CHY_minggong_1 - ai_will_do = { factor = 50 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_political_power = -200 - custom_effect_tooltip = CHY_gongyejituan_tooltip + custom_effect_tooltip = CHY_gongyejituan_tooltip every_military_industrial_organization = { limit = { OR = { @@ -339,22 +325,20 @@ x = 2 y = 1 cost = 5 - prerequisite = { focus = CHY_jungong_1 } + prerequisite = { + focus = CHY_jungong_1 + } relative_position_id = CHY_jungong_1 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - random_owned_controlled_state = { + random_owned_controlled_state = { limit = { - is_core_of = CHY + is_core_of = CHY free_building_slots = { building = dockyard size > 3 @@ -370,7 +354,7 @@ } random_owned_controlled_state = { limit = { - is_core_of = CHY + is_core_of = CHY free_building_slots = { building = dockyard size > 3 @@ -392,20 +376,18 @@ x = 0 y = 1 cost = 5 - prerequisite = { focus = CHY_jungong_1 } + prerequisite = { + focus = CHY_jungong_1 + } relative_position_id = CHY_jungong_1 - ai_will_do = { factor = 50 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - add_tech_bonus = { + add_tech_bonus = { name = "生产技术" bonus = 1 uses = 2 @@ -421,19 +403,19 @@ x = 1 y = 1 cost = 10 - prerequisite = { focus = CHY_jianzhujishugaijin } - prerequisite = { focus = CHY_shenchanjishu } + prerequisite = { + focus = CHY_jianzhujishugaijin + } + prerequisite = { + focus = CHY_shenchanjishu + } relative_position_id = CHY_jianzhujishugaijin - ai_will_do = { factor = 50 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_chongyinggongye add_tech_bonus = { @@ -451,19 +433,19 @@ x = -1 y = 1 cost = 5 - prerequisite = { focus = CHY_jianzhujishugaijin } - prerequisite = { focus = CHY_gongyejituan } + prerequisite = { + focus = CHY_jianzhujishugaijin + } + prerequisite = { + focus = CHY_gongyejituan + } relative_position_id = CHY_jianzhujishugaijin - ai_will_do = { factor = 50 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { custom_effect_tooltip = CHY_bentukaifa_tooltip } @@ -474,19 +456,19 @@ x = 1 y = 1 cost = 5 - prerequisite = { focus = CHY_shenchanjishu } - prerequisite = { focus = CHY_haijunchuanwu_1 } + prerequisite = { + focus = CHY_shenchanjishu + } + prerequisite = { + focus = CHY_haijunchuanwu_1 + } relative_position_id = CHY_shenchanjishu - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_chongyingzaochuan } @@ -497,19 +479,19 @@ x = 1 y = 1 cost = 10 - prerequisite = { focus = CHY_bentukaifa } - prerequisite = { focus = CHY_gongyejishu } + prerequisite = { + focus = CHY_bentukaifa + } + prerequisite = { + focus = CHY_gongyejishu + } relative_position_id = CHY_bentukaifa - ai_will_do = { factor = 50 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_ziyuankaicaijishu add_tech_bonus = { @@ -527,19 +509,19 @@ x = 1 y = 1 cost = 5 - prerequisite = { focus = CHY_chongyingzaochuanshu } - prerequisite = { focus = CHY_gongyejishu } + prerequisite = { + focus = CHY_chongyingzaochuanshu + } + prerequisite = { + focus = CHY_gongyejishu + } relative_position_id = CHY_gongyejishu - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_navyupupup } @@ -550,16 +532,12 @@ x = 11 y = 0 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "电子管技术" @@ -572,21 +550,19 @@ focus = { id = CHY_jisuanji icon = GFX_goal_tfv_generic_tech_sharing - prerequisite = { focus = CHY_dianziguan } + prerequisite = { + focus = CHY_dianziguan + } relative_position_id = CHY_dianziguan x = 0 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "计算机技术" @@ -600,44 +576,40 @@ focus = { id = CHY_kexuejiaup icon = GFX_goal_generic_scientific_exchange - prerequisite = { focus = CHY_jisuanji } + prerequisite = { + focus = CHY_jisuanji + } relative_position_id = CHY_jisuanji x = 0 y = 1 cost = 10 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_research_slot = 1 - add_ideas = chy_kexuejiaupup + add_ideas = chy_kexuejiaupup } } focus = { id = CHY_leida icon = GFX_goal_generic_radar - prerequisite = { focus = CHY_kexuejiaup } + prerequisite = { + focus = CHY_kexuejiaup + } relative_position_id = CHY_kexuejiaup x = -2 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "雷达技术" @@ -651,21 +623,19 @@ focus = { id = CHY_nuclear icon = GFX_goal_generic_secret_weapon - prerequisite = { focus = CHY_kexuejiaup } + prerequisite = { + focus = CHY_kexuejiaup + } relative_position_id = CHY_kexuejiaup x = 0 y = 1 cost = 10 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "原子能研究" @@ -679,21 +649,19 @@ focus = { id = CHY_rocketry icon = GFX_focus_rocketry - prerequisite = { focus = CHY_kexuejiaup } + prerequisite = { + focus = CHY_kexuejiaup + } relative_position_id = CHY_kexuejiaup x = 2 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "火箭研究" @@ -710,16 +678,12 @@ x = 20 y = 0 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { country_event = CHY_new1_shijian.2 } @@ -727,48 +691,44 @@ focus = { id = CHY_hangmu icon = GFX_goal_generic_navy_carrier - prerequisite = { focus = CHY_haijun } + prerequisite = { + focus = CHY_haijun + } relative_position_id = CHY_haijun x = -4 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "航母研究" bonus = 1.5 uses = 2 - category = cv_tech + category = cv_tech } } } focus = { id = CHY_hangmu_buff icon = GFX_focus_generic_air_defense - prerequisite = { focus = CHY_hangmu } + prerequisite = { + focus = CHY_hangmu + } relative_position_id = CHY_hangmu x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_hangmu_buff_1 } @@ -776,27 +736,25 @@ focus = { id = CHY_xunyangjian icon = GFX_focus_generic_cruiser2 - prerequisite = { focus = CHY_haijun } + prerequisite = { + focus = CHY_haijun + } relative_position_id = CHY_haijun x = 0 y = 1 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "巡洋舰研究" bonus = 1.5 uses = 2 - category = cl_tech + category = cl_tech } } } @@ -807,48 +765,50 @@ y = 2 cost = 5 available = { - or = { - num_of_civilian_factories_available_for_projects > 20 - is_ai = yes - } + OR = { + num_of_civilian_factories_available_for_projects > 20 + is_ai = yes + } } ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_xunyangjian } + prerequisite = { + focus = CHY_xunyangjian + } relative_position_id = CHY_xunyangjian cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - select_effect = { - set_country_flag = chy_wq + select_effect = { + set_country_flag = chy_wq } - completion_reward = { - - country_event = { id = chy_new.37 days = 2 } - + country_event = { + id = chy_new.37 + days = 2 + } } } focus = { id = CHY_pinweijian_buff icon = GFX_goal_generic_navy_cruiser - prerequisite = { focus = CHY_xunyangjian } - prerequisite = { focus = CHY_quzhujian } + prerequisite = { + focus = CHY_xunyangjian + } + prerequisite = { + focus = CHY_quzhujian + } relative_position_id = CHY_xunyangjian x = 1 y = 1 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_pinweijian_buff_1 } @@ -856,27 +816,25 @@ focus = { id = CHY_quzhujian icon = GFX_focus_generic_destroyer - prerequisite = { focus = CHY_haijun } + prerequisite = { + focus = CHY_haijun + } relative_position_id = CHY_haijun x = 2 y = 1 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "驱逐舰研究" bonus = 1.5 uses = 2 - category = dd_tech + category = dd_tech } } } @@ -887,72 +845,72 @@ y = 2 cost = 5 available = { - or = { - num_of_civilian_factories_available_for_projects > 10 - is_ai = yes - } + OR = { + num_of_civilian_factories_available_for_projects > 10 + is_ai = yes + } } ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_quzhujian } + prerequisite = { + focus = CHY_quzhujian + } relative_position_id = CHY_quzhujian cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - select_effect = { - set_country_flag = chy_xf + select_effect = { + set_country_flag = chy_xf } completion_reward = { - country_event = { id = chy_new.36 days = 2 } - + country_event = { + id = chy_new.36 + days = 2 + } } } focus = { id = CHY_qiantin icon = GFX_goal_generic_navy_submarine - prerequisite = { focus = CHY_haijun } + prerequisite = { + focus = CHY_haijun + } relative_position_id = CHY_haijun x = 4 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "潜艇研究" bonus = 1.5 uses = 2 - category = ss_tech + category = ss_tech } } } focus = { id = CHY_qiantin_buff icon = GFX_goal_generic_wolf_pack - prerequisite = { focus = CHY_qiantin } + prerequisite = { + focus = CHY_qiantin + } relative_position_id = CHY_qiantin x = 0 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_qiantin_buff_1 } @@ -960,27 +918,25 @@ focus = { id = CHY_zhanliejian icon = GFX_focus_generic_navy_battleship2 - prerequisite = { focus = CHY_haijun } + prerequisite = { + focus = CHY_haijun + } relative_position_id = CHY_haijun - x = -2 + x = -2 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "战列舰研究" bonus = 1.5 uses = 2 - category = bb_tech + category = bb_tech } } } @@ -990,47 +946,48 @@ x = 1 y = 3 cost = 10 - ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_zhanliejian } + prerequisite = { + focus = CHY_zhanliejian + } relative_position_id = CHY_zhanliejian cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - available = { - or = { - num_of_civilian_factories_available_for_projects > 35 - is_ai = yes + available = { + OR = { + num_of_civilian_factories_available_for_projects > 35 + is_ai = yes + } } - } - select_effect = { - set_country_flag = chy_wz + set_country_flag = chy_wz } completion_reward = { - country_event = { id = chy_new.68 days = 2 } + country_event = { + id = chy_new.68 + days = 2 + } } } focus = { id = CHY_zhanliejian_buff icon = GFX_goal_generic_navy_battleship - prerequisite = { focus = CHY_zhanliejian } + prerequisite = { + focus = CHY_zhanliejian + } relative_position_id = CHY_zhanliejian x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_zhanliejian_buff_1 } @@ -1038,43 +995,41 @@ focus = { id = CHY_haijun_buff icon = GFX_goal_generic_navy_doctrines_tactics - prerequisite = { focus = CHY_hangmu_buff focus = CHY_zhanliejian_buff } + prerequisite = { + focus = CHY_hangmu_buff + focus = CHY_zhanliejian_buff + } relative_position_id = CHY_hangmu_buff x = 1 y = 1 cost = 10 - ai_will_do = { factor = 40 } - available = { OR = { - if = { - has_country_flag = chy_zhongshihangmu - has_completed_focus = CHY_hangmu_buff - } - if = { - has_country_flag = chy_zhongshizhanliejian - has_completed_focus = CHY_zhanliejian_buff + AND = { + has_country_flag = chy_zhongshihangmu + has_completed_focus = CHY_hangmu_buff + } + AND = { + has_country_flag = chy_zhongshizhanliejian + has_completed_focus = CHY_zhanliejian_buff + } } } - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { if = { - limit = { - has_country_flag = chy_zhongshihangmu - } - swap_ideas = { - remove_idea = chy_hangmu_buff_1 - add_idea = chy_hangmu_buff_2 - } + limit = { + has_country_flag = chy_zhongshihangmu + } + swap_ideas = { + remove_idea = chy_hangmu_buff_1 + add_idea = chy_hangmu_buff_2 + } } else_if = { limit = { @@ -1095,27 +1050,29 @@ y = 3 cost = 10 available = { - or = { - num_of_civilian_factories_available_for_projects > 30 - is_ai = yes - } + OR = { + num_of_civilian_factories_available_for_projects > 30 + is_ai = yes + } } ai_will_do = { factor = 3 } - prerequisite = { focus = CHY_hangmu } + prerequisite = { + focus = CHY_hangmu + } relative_position_id = CHY_hangmu cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - select_effect = { - set_country_flag = chy_xn + select_effect = { + set_country_flag = chy_xn } - - completion_reward = { - country_event = { id = chy_new.35 days = 2 } - + country_event = { + id = chy_new.35 + days = 2 + } } } focus = { @@ -1124,16 +1081,12 @@ x = 33 y = 0 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { country_event = CHY_new1_shijian.3 } @@ -1141,26 +1094,25 @@ focus = { id = CHY_bubinzhanshugaige icon = GFX_focus_generic_little_entente - prerequisite = { focus = CHY_lujun } + prerequisite = { + focus = CHY_lujun + } relative_position_id = CHY_lujun - mutually_exclusive = { focus = CHY_jixiehuagaige } + mutually_exclusive = { + focus = CHY_jixiehuagaige + } x = -4 y = 1 cost = 7 - available = { has_country_flag = chy_zhongshitubububin } - ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_doctrine_cost_reduction = { name = "步兵战术改革" @@ -1178,49 +1130,45 @@ focus = { id = CHY_bubinzhuangbei1 icon = GFX_focus_rifle - prerequisite = { focus = CHY_bubinzhanshugaige } + prerequisite = { + focus = CHY_bubinzhanshugaige + } relative_position_id = CHY_bubinzhanshugaige x = -1 y = 1 cost = 5 - ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "先进步兵装备" bonus = 1.5 uses = 1 ahead_reduction = 1 - category = infantry_weapons + category = infantry_weapons } } } focus = { id = CHY_bubinzhuangbei2 icon = GFX_goal_generic_small_arms - prerequisite = { focus = CHY_bubinzhuangbei1 } + prerequisite = { + focus = CHY_bubinzhuangbei1 + } relative_position_id = CHY_bubinzhuangbei1 x = 0 y = 1 cost = 7 - ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_bubinzhuangbei_buff } @@ -1228,49 +1176,45 @@ focus = { id = CHY_huopaozhuangbei1 icon = GFX_goal_generic_army_artillery - prerequisite = { focus = CHY_bubinzhanshugaige } + prerequisite = { + focus = CHY_bubinzhanshugaige + } relative_position_id = CHY_bubinzhanshugaige x = 1 y = 1 cost = 5 - ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "先进火炮装备" bonus = 1.5 uses = 1 ahead_reduction = 1 - category = artillery + category = artillery } } } focus = { id = CHY_huopaozhuangbei2 icon = GFX_focus_SWE_let_fly_all_guns - prerequisite = { focus = CHY_huopaozhuangbei1 } + prerequisite = { + focus = CHY_huopaozhuangbei1 + } relative_position_id = CHY_huopaozhuangbei1 x = 0 y = 1 cost = 7 - ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_huopaozhuangbei_buff } @@ -1278,53 +1222,52 @@ focus = { id = CHY_zhongshibubin icon = GFX_focus_generic_military_mission - prerequisite = { focus = CHY_bubinzhuangbei2 } - prerequisite = { focus = CHY_huopaozhuangbei2 } + prerequisite = { + focus = CHY_bubinzhuangbei2 + } + prerequisite = { + focus = CHY_huopaozhuangbei2 + } relative_position_id = CHY_bubinzhuangbei2 x = 1 y = 1 cost = 10 - ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_zhongshibubin_buff remove_ideas = CHY_bhsdlj_1 #set_technology = { - #mijibubin_chy = 1 + #mijibubin_chy = 1 #} } } focus = { id = CHY_jixiehuagaige icon = GFX_focus_generic_combined_arms - prerequisite = { focus = CHY_lujun } + prerequisite = { + focus = CHY_lujun + } relative_position_id = CHY_lujun - mutually_exclusive = { focus = CHY_bubinzhanshugaige } + mutually_exclusive = { + focus = CHY_bubinzhanshugaige + } x = 4 y = 1 cost = 7 - ai_will_do = { factor = 60 } - available = { has_country_flag = chy_zhongshijixiehua } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_doctrine_cost_reduction = { name = "机械化改革" @@ -1341,52 +1284,48 @@ } focus = { id = CHY_zhuangjia1 - icon = GFX_goal_continuous_armor_production - prerequisite = { focus = CHY_jixiehuagaige } + icon = GFX_goal_continuous_armor_production + prerequisite = { + focus = CHY_jixiehuagaige + } relative_position_id = CHY_jixiehuagaige x = -1 y = 1 cost = 5 - ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "先进坦克装备" bonus = 1.5 uses = 1 ahead_reduction = 1 - category = cat_medium_armor - category = cat_light_armor - category = cat_heavy_armor + category = cat_medium_armor + category = cat_light_armor + category = cat_heavy_armor } } } focus = { id = CHY_zhuangjia2 icon = GFX_focus_generic_tank_production - prerequisite = { focus = CHY_zhuangjia1 } + prerequisite = { + focus = CHY_zhuangjia1 + } relative_position_id = CHY_zhuangjia1 x = 0 y = 1 cost = 7 - ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_zhuangjia_buff } @@ -1394,49 +1333,45 @@ focus = { id = CHY_jixiehuazhuangbei1 icon = GFX_goal_generic_army_motorized - prerequisite = { focus = CHY_jixiehuagaige } + prerequisite = { + focus = CHY_jixiehuagaige + } relative_position_id = CHY_jixiehuagaige x = 1 y = 1 cost = 5 - ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "先进机械化装备" bonus = 1.5 uses = 1 ahead_reduction = 1 - category = cat_mechanized_equipment + category = cat_mechanized_equipment } } } focus = { id = CHY_jixiehuazhuangbei2 icon = GFX_focus_generic_truck - prerequisite = { focus = CHY_jixiehuazhuangbei1 } + prerequisite = { + focus = CHY_jixiehuazhuangbei1 + } relative_position_id = CHY_jixiehuazhuangbei1 x = 0 y = 1 cost = 7 - ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_jixiehuazhuangbei_buff } @@ -1444,22 +1379,22 @@ focus = { id = CHY_zhongshijixiehua icon = GFX_focus_generic_license_production - prerequisite = { focus = CHY_zhuangjia2 } - prerequisite = { focus = CHY_jixiehuazhuangbei2 } + prerequisite = { + focus = CHY_zhuangjia2 + } + prerequisite = { + focus = CHY_jixiehuazhuangbei2 + } relative_position_id = CHY_zhuangjia2 x = 1 y = 1 cost = 10 - ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_zhongshijixiehua_buff remove_ideas = CHY_bhsdlj_1 @@ -1468,210 +1403,204 @@ focus = { id = CHY_jichububinzhuangbei icon = GFX_focus_generic_manpower - prerequisite = { focus = CHY_bubinzhanshugaige focus = CHY_jixiehuagaige } + prerequisite = { + focus = CHY_bubinzhanshugaige + focus = CHY_jixiehuagaige + } relative_position_id = CHY_bubinzhanshugaige x = 3 y = 1 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "基础步兵装备" bonus = 1 uses = 1 - category = infantry_weapons + category = infantry_weapons } } } focus = { id = CHY_jichubuhuopao icon = GFX_goal_generic_army_artillery2 - prerequisite = { focus = CHY_bubinzhanshugaige focus = CHY_jixiehuagaige } + prerequisite = { + focus = CHY_bubinzhanshugaige + focus = CHY_jixiehuagaige + } relative_position_id = CHY_bubinzhanshugaige x = 5 y = 1 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "基础火炮" bonus = 1 uses = 1 - category = artillery + category = artillery } } } focus = { id = CHY_jichubuzhiyuanlian icon = GFX_goal_generic_axis_build_infantry - prerequisite = { focus = CHY_bubinzhanshugaige focus = CHY_jixiehuagaige } + prerequisite = { + focus = CHY_bubinzhanshugaige + focus = CHY_jixiehuagaige + } relative_position_id = CHY_bubinzhanshugaige x = 3 y = 2 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "支援连研究" bonus = 1 uses = 2 - category = support_tech + category = support_tech } } } focus = { id = CHY_jichutanke icon = GFX_goal_generic_army_tanks - prerequisite = { focus = CHY_bubinzhanshugaige focus = CHY_jixiehuagaige } + prerequisite = { + focus = CHY_bubinzhanshugaige + focus = CHY_jixiehuagaige + } relative_position_id = CHY_bubinzhanshugaige x = 5 y = 2 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "基础坦克研究" bonus = 1 uses = 1 - category = armor + category = armor } } } focus = { id = CHY_sakulajundui icon = GFX_focus_jap_manchurian_project - prerequisite = { focus = CHY_zhongshibubin focus = CHY_zhongshijixiehua } + prerequisite = { + focus = CHY_zhongshibubin + focus = CHY_zhongshijixiehua + } relative_position_id = CHY_zhongshibubin x = 4 y = 1 cost = 10 - ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_sakulajundui_buff TY_lujunliluntupo = yes - set_technology = { infantry_charge_for_chy = 1 popup = no } + set_technology = { + infantry_charge_for_chy = 1 + popup = no + } } } focus = { id = CHY_haijunluzhandui - icon = GFX_goal_generic_occupy_states_coastal - prerequisite = { focus = CHY_lujun } - prerequisite = { focus = CHY_haijun } + icon = GFX_goal_generic_occupy_states_coastal + prerequisite = { + focus = CHY_lujun + } + prerequisite = { + focus = CHY_haijun + } relative_position_id = CHY_haijun x = 6 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "海军陆战队研究" bonus = 2 uses = 1 ahead_reduction = 1 - category = marine_tech + category = marine_tech } } } focus = { id = CHY_haijunluzhandui1 icon = GFX_goal_generic_navy_cruiser - prerequisite = { focus = CHY_haijunluzhandui } + prerequisite = { + focus = CHY_haijunluzhandui + } relative_position_id = CHY_haijunluzhandui x = 0 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "登录科技研究" bonus = 2 uses = 1 ahead_reduction = 1 - category = tp_tech + category = tp_tech } } } focus = { id = CHY_haijunluzhandui2 icon = GFX_goal_generic_amphibious_assault - prerequisite = { focus = CHY_haijunluzhandui1 } + prerequisite = { + focus = CHY_haijunluzhandui1 + } relative_position_id = CHY_haijunluzhandui1 x = 0 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_haijunluzhandui_buff } @@ -1682,16 +1611,12 @@ x = 45 y = 0 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { country_event = CHY_new1_shijian.4 } @@ -1699,21 +1624,19 @@ focus = { id = CHY_feijiyanjiu icon = GFX_goal_generic_air_fighter - prerequisite = { focus = CHY_kongjun } + prerequisite = { + focus = CHY_kongjun + } relative_position_id = CHY_kongjun x = -1 y = 1 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { if = { limit = { @@ -1724,19 +1647,19 @@ bonus = 2 uses = 1 ahead_reduction = 1 - category = light_air + category = light_air } + } + else_if = { + limit = { + has_country_flag = chy_zhongfeiji } - else_if = { - limit = { - has_country_flag = chy_zhongfeiji - } - add_tech_bonus = { - name = "中型飞机研究" - bonus = 2 - uses = 1 - ahead_reduction = 1 - category = medium_air + add_tech_bonus = { + name = "中型飞机研究" + bonus = 2 + uses = 1 + ahead_reduction = 1 + category = medium_air } } } @@ -1744,60 +1667,56 @@ focus = { id = CHY_dafeijiyanjiu icon = GFX_goal_generic_air_bomber - prerequisite = { focus = CHY_kongjun } + prerequisite = { + focus = CHY_kongjun + } relative_position_id = CHY_kongjun x = 1 y = 1 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "大飞机研究" bonus = 2 uses = 1 ahead_reduction = 1 - category = heavy_air + category = heavy_air } } } focus = { id = CHY_kongzhanbuff icon = GFX_focus_generic_multi_role_aircraft - prerequisite = { focus = CHY_feijiyanjiu } + prerequisite = { + focus = CHY_feijiyanjiu + } relative_position_id = CHY_feijiyanjiu x = 0 y = 1 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { if = { limit = { has_country_flag = chy_xiaofeiji } add_ideas = chy_xiaofeiji_buff + } + else_if = { + limit = { + has_country_flag = chy_zhongfeiji } - else_if = { - limit = { - has_country_flag = chy_zhongfeiji - } add_ideas = chy_zhongfeiji_buff } } @@ -1805,21 +1724,19 @@ focus = { id = CHY_hongzhabuff icon = GFX_focus_SWE_marauder_bombers - prerequisite = { focus = CHY_dafeijiyanjiu } + prerequisite = { + focus = CHY_dafeijiyanjiu + } relative_position_id = CHY_dafeijiyanjiu x = 0 y = 1 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_hongzha_buff } @@ -1827,22 +1744,22 @@ focus = { id = CHY_kongjun1 icon = GFX_focus_jap_zero - prerequisite = { focus = CHY_kongzhanbuff } - prerequisite = { focus = CHY_hongzhabuff } + prerequisite = { + focus = CHY_kongzhanbuff + } + prerequisite = { + focus = CHY_hongzhabuff + } relative_position_id = CHY_kongzhanbuff x = 1 y = 1 cost = 10 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_kongjun_buff TY_kongjunliluntupo = yes @@ -1851,50 +1768,48 @@ focus = { id = CHY_sanbin1 icon = GFX_focus_eng_special_air_service - prerequisite = { focus = CHY_kongjun } - prerequisite = { focus = CHY_lujun } + prerequisite = { + focus = CHY_kongjun + } + prerequisite = { + focus = CHY_lujun + } relative_position_id = CHY_lujun x = 7 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "伞兵" bonus = 2 uses = 1 ahead_reduction = 1 - category = para_tech + category = para_tech } } } focus = { id = CHY_sanbin2 icon = GFX_focus_generic_paratrooper - prerequisite = { focus = CHY_sanbin1 } + prerequisite = { + focus = CHY_sanbin1 + } relative_position_id = CHY_sanbin1 x = 0 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_sanbin_buff } @@ -1902,22 +1817,22 @@ focus = { id = CHY_cas1 icon = GFX_goal_generic_CAS - prerequisite = { focus = CHY_kongjun } - prerequisite = { focus = CHY_lujun } + prerequisite = { + focus = CHY_kongjun + } + prerequisite = { + focus = CHY_lujun + } relative_position_id = CHY_lujun x = 9 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { if = { limit = { @@ -1929,13 +1844,13 @@ uses = 4 category = cat_battlefield_support } - } - else = { + } + else = { add_doctrine_cost_reduction = { - name = "空军学说" - cost_reduction = 0.5 - uses = 4 - category = air_doctrine + name = "空军学说" + cost_reduction = 0.5 + uses = 4 + category = air_doctrine } } } @@ -1943,21 +1858,19 @@ focus = { id = CHY_cas2 icon = GFX_goal_poland_goal - prerequisite = { focus = CHY_cas1 } + prerequisite = { + focus = CHY_cas1 + } relative_position_id = CHY_cas1 x = 0 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_cas_buff } @@ -1965,49 +1878,45 @@ focus = { id = CHY_navalbomb1 icon = GFX_goal_generic_air_naval_bomber - prerequisite = { focus = CHY_kongjun } + prerequisite = { + focus = CHY_kongjun + } relative_position_id = CHY_kongjun x = 3 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "空军鱼雷研究" bonus = 2 uses = 1 ahead_reduction = 1 - category = mio_cat_all_naval_bomber_and_modules + category = mio_cat_all_naval_bomber_and_modules } } } focus = { id = CHY_navalbomb2 icon = GFX_focus_generic_air_defense - prerequisite = { focus = CHY_navalbomb1 } + prerequisite = { + focus = CHY_navalbomb1 + } relative_position_id = CHY_navalbomb1 x = 0 y = 1 cost = 5 - ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_navalbomb_buff } @@ -2018,16 +1927,12 @@ x = 20 y = 6 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { country_event = CHY_new1_shijian.5 add_political_power = 100 @@ -2037,34 +1942,34 @@ focus = { id = CHY_chichen1 icon = GFX_focus_jap_pacific_guardian - prerequisite = { focus = CHY_chongyindeweilai } + prerequisite = { + focus = CHY_chongyindeweilai + } relative_position_id = CHY_chongyindeweilai - mutually_exclusive = { focus = CHY_changmen1 } + mutually_exclusive = { + focus = CHY_changmen1 + } available = { - has_country_flag = chy_shangwu + has_country_flag = chy_shangwu } x = 5 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - promote_character = { + promote_character = { character = CHY_chicheng ideology = fascism_ideology } CHY_chicheng = { add_country_leader_trait = { trait = yihangzhan - ideology = fascism_ideology + ideology = fascism } } news_event = CHY_new1_shijian.20 @@ -2074,22 +1979,20 @@ focus = { id = CHY_chongyinshendaojiao icon = GFX_focus_jap_spiritual_mobilization - prerequisite = { focus = CHY_chichen1 focus = CHY_changmen1 } + prerequisite = { + focus = CHY_chichen1 + focus = CHY_changmen1 + } relative_position_id = CHY_chichen1 - x = -5 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_chongyinshendaojiao_buff } @@ -2097,30 +2000,28 @@ focus = { id = CHY_wushidaojinshen icon = GFX_focus_generic_japanese_imperial_glory - prerequisite = { focus = CHY_chongyinshendaojiao } + prerequisite = { + focus = CHY_chongyinshendaojiao + } relative_position_id = CHY_chongyinshendaojiao - mutually_exclusive = { focus = CHY_shouhu } - + mutually_exclusive = { + focus = CHY_shouhu + } available = { - has_country_leader = { - ruling_only = yes - character = CHY_chicheng + has_country_leader = { + ruling_only = yes + character = CHY_chicheng } - } - + } x = 1 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_wushidaojinshen_buff } @@ -2128,22 +2029,19 @@ focus = { id = CHY_chichenghangmu icon = GFX_goal_generic_navy_carrier - prerequisite = { focus = CHY_chichen1 } + prerequisite = { + focus = CHY_chichen1 + } relative_position_id = CHY_chichen1 - x = -2 y = 1 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_chichenghangmu_buff } @@ -2151,81 +2049,71 @@ focus = { id = CHY_chichengkongzhan icon = GFX_focus_jap_zero - prerequisite = { focus = CHY_chichenghangmu } + prerequisite = { + focus = CHY_chichenghangmu + } relative_position_id = CHY_chichenghangmu - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_chichengkongzhan_buff } } - focus = { id = CHY_chichengdezhunbei icon = GFX_focus_generic_military_dictatorship - prerequisite = { focus = CHY_chichen1 } + prerequisite = { + focus = CHY_chichen1 + } relative_position_id = CHY_chichen1 - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_chichengdezhunbei_buff } } - focus = { id = CHY_hangmujianniang icon = GFX_focus_generic_royal_wedding - prerequisite = { focus = CHY_chichengdezhunbei } + prerequisite = { + focus = CHY_chichengdezhunbei + } relative_position_id = CHY_chichengdezhunbei - x = 0 y = 1 cost = 10 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { every_army_leader = { limit = { has_trait = hangmu_army - not = { has_id = 07003 } + NOT = { + has_id = 7003 + } } add_skill_level = 2 add_attack = 1 add_planning = 1 add_logistics = 1 - } every_navy_leader = { limit = { @@ -2235,18 +2123,15 @@ add_attack = 1 add_planning = 1 add_logistics = 1 - } random_army_leader = { limit = { - has_id = 07003 + has_id = 7003 } - add_skill_level = 3 add_attack = 2 add_planning = 2 add_logistics = 2 - add_unit_leader_trait = brilliant_strategist add_unit_leader_trait = expert_delegator add_unit_leader_trait = logistics_wizard @@ -2260,31 +2145,30 @@ } } } - focus = { id = CHY_kuozhangzhunbei icon = GFX_goal_generic_construct_mil_factory - prerequisite = { focus = CHY_chichen1 } + prerequisite = { + focus = CHY_chichen1 + } relative_position_id = CHY_chichen1 - x = 2 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - add_timed_idea = { idea = CHY_czyl_1 days = 300 } + add_timed_idea = { + idea = CHY_czyl_1 + days = 300 + } random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -2311,7 +2195,7 @@ } random_owned_controlled_state = { limit = { - is_core_of = CHY + is_core_of = CHY free_building_slots = { building = dockyard size > 3 @@ -2327,26 +2211,22 @@ } } } - focus = { id = CHY_dalishenchan icon = GFX_focus_generic_combined_arms - prerequisite = { focus = CHY_kuozhangzhunbei } + prerequisite = { + focus = CHY_kuozhangzhunbei + } relative_position_id = CHY_kuozhangzhunbei - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_dalishenchan_buff } @@ -2354,57 +2234,65 @@ focus = { id = CHY_hechisezhongzhouhezuo icon = GFX_fflag_TIX - prerequisite = { focus = CHY_chichen1 } + prerequisite = { + focus = CHY_chichen1 + } relative_position_id = CHY_chichen1 - available = { custom_trigger_tooltip = { tooltip = "铁血国创建了赤色中轴" has_global_flag = TIX_created_chisezhongzhou - TIX = { is_faction_leader = yes } + TIX = { + is_faction_leader = yes + } } any_country = { original_tag = TIX has_government = fascism - NOT = { has_war_with = ROOT } + NOT = { + has_war_with = ROOT + } } any_country = { original_tag = SAD has_government = fascism - NOT = { has_war_with = ROOT } + NOT = { + has_war_with = ROOT + } } } - x = 5 y = 1 cost = 5 - ai_will_do = { factor = 15 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { random_country = { limit = { original_tag = TIX has_government = fascism } - country_event = { id = CHY_new1_shijian.6 days = 1 } + country_event = { + id = CHY_new1_shijian.6 + days = 1 + } } } } focus = { id = CHY_joinchise icon = GFX_goal_molotov_ribbentrop_pact - prerequisite = { focus = CHY_hechisezhongzhouhezuo } + prerequisite = { + focus = CHY_hechisezhongzhouhezuo + } relative_position_id = CHY_hechisezhongzhouhezuo - mutually_exclusive = { focus = CHY_ziligenshen } - + mutually_exclusive = { + focus = CHY_ziligenshen + } available = { any_country = { is_major = yes @@ -2415,50 +2303,47 @@ is_faction_leader = yes } } - x = -1 y = 1 cost = 5 - ai_will_do = { factor = 30 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { random_country = { limit = { original_tag = TIX has_government = fascism } - country_event = { id = CHY_new1_shijian.8 days = 1 } + country_event = { + id = CHY_new1_shijian.8 + days = 1 + } } } } focus = { id = CHY_ziligenshen icon = GFX_fflag_CHY - prerequisite = { focus = CHY_hechisezhongzhouhezuo } + prerequisite = { + focus = CHY_hechisezhongzhouhezuo + } relative_position_id = CHY_hechisezhongzhouhezuo - mutually_exclusive = { focus = CHY_joinchise } - + mutually_exclusive = { + focus = CHY_joinchise + } x = 1 y = 1 cost = 5 - ai_will_do = { factor = 15 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_ziligenshen_buff } @@ -2466,24 +2351,24 @@ focus = { id = CHY_kuangredekuozhangzhuyi icon = GFX_focus_chongyingweixin - prerequisite = { focus = CHY_hangmujianniang focus = CHY_wushidaojinshen } + prerequisite = { + focus = CHY_hangmujianniang + focus = CHY_wushidaojinshen + } relative_position_id = CHY_hangmujianniang - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 35 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - set_rule = { can_create_factions = yes } + set_rule = { + can_create_factions = yes + } custom_effect_tooltip = CHY_xijinanyangziyuanqu_tooltip create_faction = "东亚合作圈" add_ideas = CHY_kuangredekuozhangzhuyi_buff @@ -2492,22 +2377,19 @@ focus = { id = CHY_yazhoufangxiang icon = GFX_goal_generic_alliance - prerequisite = { focus = CHY_kuangredekuozhangzhuyi } + prerequisite = { + focus = CHY_kuangredekuozhangzhuyi + } relative_position_id = CHY_kuangredekuozhangzhuyi - x = -4 y = 1 cost = 5 - ai_will_do = { factor = 35 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_war_support = 0.2 add_political_power = 300 @@ -2516,30 +2398,32 @@ focus = { id = CHY_dongyajunduikuobian icon = GFX_goal_tfv_saf_anti_colonialist_crusade - prerequisite = { focus = CHY_yazhoufangxiang } + prerequisite = { + focus = CHY_yazhoufangxiang + } relative_position_id = CHY_yazhoufangxiang - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 35 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = CHY_qinlvejihua DOH = { - hidden_effect = { country_event = { id = CHY_new1_shijian.21 days = 10 } } + hidden_effect = { + country_event = { + id = CHY_new1_shijian.21 + days = 10 + } + } add_opinion_modifier = { target = CHY modifier = CHY_dhtiaoxin - } + } } custom_effect_tooltip = CHY_dongyajunduikuobian_tooltip add_ai_strategy = { @@ -2548,84 +2432,182 @@ value = 200 } add_equipment_to_stockpile = { - type = infantry_equipment + type = infantry_equipment amount = 9000 } - add_equipment_to_stockpile = { type = artillery_equipment amount = 998 } - add_equipment_to_stockpile = { - type = convoy + type = convoy amount = 500 } - if = { - limit = { - is_ai = yes - } - set_technology = { mtg_landing_craft = 1 } + if = { + limit = { + is_ai = yes + } + set_technology = { + mtg_landing_craft = 1 + } } hidden_effect = { - if = { - limit = { NOT = { has_idea = TY_dingzhenai } - } - division_template = { - name = "关东边防师" - division_names_group = JAP_INF_01 - - regiments = { - artillery_brigade = { x = 0 y = 0 } - artillery_brigade = { x = 0 y = 1 } - artillery_brigade = { x = 0 y = 2 } - artillery_brigade = { x = 0 y = 3 } - light_armor = { x = 1 y = 0 } - infantry = { x = 2 y = 0 } - infantry = { x = 2 y = 1 } - infantry = { x = 2 y = 2 } - infantry = { x = 2 y = 3 } - infantry = { x = 3 y = 0 } - infantry = { x = 3 y = 1 } - infantry = { x = 3 y = 2 } - infantry = { x = 3 y = 3 } + if = { + limit = { + NOT = { + has_idea = TY_dingzhenai + } } - support = { - engineer = { x = 0 y = 0 } - artillery = { x = 0 y = 1 } - recon = { x = 0 y = 2 } - logistics_company = { x = 0 y = 3 } - maintenance_company = { x = 0 y = 4 } - } - - } - } - if = { - limit = { has_idea = TY_dingzhenai } - division_template = { - name = "关东边防师" - division_names_group = JAP_INF_01 - - regiments = { - artillery_brigade = { x = 0 y = 0 } - artillery_brigade = { x = 0 y = 1 } - infantry = { x = 1 y = 0 } - infantry = { x = 1 y = 1 } - infantry = { x = 1 y = 2 } - infantry = { x = 1 y = 3 } - infantry = { x = 2 y = 0 } - infantry = { x = 2 y = 1 } - infantry = { x = 2 y = 2 } - } - support = { - engineer = { x = 0 y = 0 } - artillery = { x = 0 y = 1 } - recon = { x = 0 y = 2 } - anti_air = { x = 0 y = 3 } - logistics_company = { x = 0 y = 4 } + division_template = { + name = "关东边防师" + division_names_group = JAP_INF_01 + regiments = { + artillery_brigade = { + x = 0 + y = 0 + } + artillery_brigade = { + x = 0 + y = 1 + } + artillery_brigade = { + x = 0 + y = 2 + } + artillery_brigade = { + x = 0 + y = 3 + } + light_armOR = { + x = 1 + y = 0 + } + infantry = { + x = 2 + y = 0 + } + infantry = { + x = 2 + y = 1 + } + infantry = { + x = 2 + y = 2 + } + infantry = { + x = 2 + y = 3 + } + infantry = { + x = 3 + y = 0 + } + infantry = { + x = 3 + y = 1 + } + infantry = { + x = 3 + y = 2 + } + infantry = { + x = 3 + y = 3 + } + } + support = { + engineer = { + x = 0 + y = 0 + } + artillery = { + x = 0 + y = 1 + } + recon = { + x = 0 + y = 2 + } + logistics_company = { + x = 0 + y = 3 + } + maintenance_company = { + x = 0 + y = 4 + } + } + } + } + if = { + limit = { + has_idea = TY_dingzhenai + } + division_template = { + name = "关东边防师" + division_names_group = JAP_INF_01 + regiments = { + artillery_brigade = { + x = 0 + y = 0 + } + artillery_brigade = { + x = 0 + y = 1 + } + infantry = { + x = 1 + y = 0 + } + infantry = { + x = 1 + y = 1 + } + infantry = { + x = 1 + y = 2 + } + infantry = { + x = 1 + y = 3 + } + infantry = { + x = 2 + y = 0 + } + infantry = { + x = 2 + y = 1 + } + infantry = { + x = 2 + y = 2 + } + } + support = { + engineer = { + x = 0 + y = 0 + } + artillery = { + x = 0 + y = 1 + } + recon = { + x = 0 + y = 2 + } + anti_air = { + x = 0 + y = 3 + } + logistics_company = { + x = 0 + y = 4 + } + } } } - } 609 = { create_unit = { division = "name = \"边防师\" division_template = \"关东边防师\" start_experience_factor = 0.4" @@ -2748,28 +2730,25 @@ focus = { id = CHY_houqinzhunbei icon = GFX_goal_generic_army_motorized - prerequisite = { focus = CHY_dongyajunduikuobian } + prerequisite = { + focus = CHY_dongyajunduikuobian + } relative_position_id = CHY_dongyajunduikuobian - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 35 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { 609 = { add_building_construction = { type = infrastructure level = 2 - instant_build = yes + instant_build = yes } add_building_construction = { type = naval_base @@ -2782,14 +2761,14 @@ add_building_construction = { type = infrastructure level = 3 - instant_build = yes + instant_build = yes } } 611 = { add_building_construction = { type = infrastructure level = 2 - instant_build = yes + instant_build = yes } add_building_construction = { type = supply_node @@ -2802,7 +2781,7 @@ add_building_construction = { type = infrastructure level = 4 - instant_build = yes + instant_build = yes } } build_railway = { @@ -2814,22 +2793,19 @@ focus = { id = CHY_duidonghuangxuanzhan icon = GFX_aflag_DOH - prerequisite = { focus = CHY_houqinzhunbei } + prerequisite = { + focus = CHY_houqinzhunbei + } relative_position_id = CHY_houqinzhunbei - x = 0 y = 1 cost = 4 - ai_will_do = { factor = 100 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { DOH = { country_event = CHY_new1_shijian.9 @@ -2840,30 +2816,32 @@ focus = { id = CHY_xiaohuashenliguoshi icon = GFX_goal_generic_intelligence_exchange - prerequisite = { focus = CHY_duidonghuangxuanzhan } + prerequisite = { + focus = CHY_duidonghuangxuanzhan + } relative_position_id = CHY_duidonghuangxuanzhan - x = -3 y = 1 cost = 10 - ai_will_do = { factor = 35 } - available = { OR = { - NOT = { country_exists = DOH } - DOH = { has_capitulated = yes } - DOH = { is_subject_of = CHY } + NOT = { + country_exists = DOH + } + DOH = { + has_capitulated = yes + } + DOH = { + is_subject_of = CHY + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_state_core = 612 add_state_core = 611 @@ -2884,22 +2862,19 @@ focus = { id = CHY_dongbeikuangchankaijue icon = GFX_goal_generic_construction2 - prerequisite = { focus = CHY_xiaohuashenliguoshi } + prerequisite = { + focus = CHY_xiaohuashenliguoshi + } relative_position_id = CHY_xiaohuashenliguoshi - x = 1 y = 1 cost = 15 - ai_will_do = { factor = 35 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { 714 = { add_resource = { @@ -2936,149 +2911,141 @@ focus = { id = CHY_yuandongchenshitouzi icon = GFX_focus_chi_legislative_yuan - prerequisite = { focus = CHY_xiaohuashenliguoshi } + prerequisite = { + focus = CHY_xiaohuashenliguoshi + } relative_position_id = CHY_xiaohuashenliguoshi - x = -1 y = 1 cost = 20 - ai_will_do = { factor = 35 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_state_core = 608 add_state_core = 743 add_state_core = 613 608 = { set_state_category = metropolis - add_extra_state_shared_building_slots = 6 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - - } - + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + } 745 = { - set_state_category = metropolis - add_extra_state_shared_building_slots = 6 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - } - + set_state_category = metropolis + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + } 743 = { set_state_category = metropolis - add_extra_state_shared_building_slots = 6 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - } - + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + } 613 = { set_state_category = metropolis - add_extra_state_shared_building_slots = 6 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } } 524 = { - set_state_category = metropolis - add_extra_state_shared_building_slots = 6 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes + set_state_category = metropolis + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes } } } @@ -3086,140 +3053,153 @@ focus = { id = CHY_xiangzhongdongchufa icon = GFX_focus_TUR_treaty_of_saadabad - prerequisite = { focus = CHY_duidonghuangxuanzhan } + prerequisite = { + focus = CHY_duidonghuangxuanzhan + } relative_position_id = CHY_duidonghuangxuanzhan - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 15 } - available = { OR = { - NOT = { country_exists = DOH } - DOH = { has_capitulated = yes } - DOH = { is_subject_of = CHY } + NOT = { + country_exists = DOH + } + DOH = { + has_capitulated = yes + } + DOH = { + is_subject_of = CHY + } } - NOT = { - has_country_leader = { - ruling_only = yes - character = CHY_changmen + NOT = { + has_country_leader = { + ruling_only = yes + character = CHY_changmen + } } } - } - bypass = { - or = { - if = { - has_war_with = PER - has_war_with = AFG - } - if = { - PER = { has_capitulated = yes } - AFG = { has_capitulated = yes } - } - if = { - not = { country_exists = PER } - not = { country_exists = AFG } - } + OR = { + AND = { + has_war_with = PER + has_war_with = AFG + } + AND = { + PER = { + has_capitulated = yes + } + AFG = { + has_capitulated = yes + } + } + AND = { + NOT = { + country_exists = PER + } + NOT = { + country_exists = AFG + } + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { PER = { country_event = CHY_new1_shijian.16 - } + } AFG = { country_event = CHY_new1_shijian.16 - } + } } } focus = { id = CHY_yazhoudelinyiduan icon = GFX_focus_generic_attack_turkey - prerequisite = { focus = CHY_xiangzhongdongchufa } + prerequisite = { + focus = CHY_xiangzhongdongchufa + } relative_position_id = CHY_xiangzhongdongchufa - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 15 } - available = { is_neighbor_of = TUR } - bypass = { - or = { + OR = { has_war_with = TUR - TUR = { has_capitulated = yes } - NOT = { country_exists = TUR } + TUR = { + has_capitulated = yes + } + NOT = { + country_exists = TUR + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { TUR = { country_event = CHY_new1_shijian.16 - } + } } } focus = { id = CHY_menguwenti icon = GFX_goal_generic_forceful_treaty - prerequisite = { focus = CHY_duidonghuangxuanzhan } + prerequisite = { + focus = CHY_duidonghuangxuanzhan + } relative_position_id = CHY_duidonghuangxuanzhan - x = 2 y = 1 cost = 5 - ai_will_do = { factor = 15 } - available = { OR = { - NOT = { country_exists = DOH } - DOH = { has_capitulated = yes } - DOH = { is_subject_of = CHY } + NOT = { + country_exists = DOH + } + DOH = { + has_capitulated = yes + } + DOH = { + is_subject_of = CHY + } } - NOT = { - has_country_leader = { - ruling_only = yes - character = CHY_changmen + NOT = { + has_country_leader = { + ruling_only = yes + character = CHY_changmen + } } } - } - bypass = { - or = { + OR = { has_war_with = MON - MON = { has_capitulated = yes } - NOT = { country_exists = MON } + MON = { + has_capitulated = yes + } + NOT = { + country_exists = MON + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { MON = { country_event = CHY_new1_shijian.16 @@ -3229,71 +3209,81 @@ focus = { id = CHY_duibeilianzhanzhen icon = GFX_aflag_BFL - prerequisite = { focus = CHY_menguwenti } + prerequisite = { + focus = CHY_menguwenti + } relative_position_id = CHY_menguwenti - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 15 } - available = { - or = { - BFL = { has_war_with = TIX } - BFL = { has_war_with = YUW } + available = { + OR = { + BFL = { + has_war_with = TIX + } + BFL = { + has_war_with = YUW + } date > 1943.1.1 } } select_effect = { BFL = { - country_event = { id = CHY_new1_shijian.22 days = 14 } + country_event = { + id = CHY_new1_shijian.22 + days = 14 + } } } - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - add_state_claim = 655 - create_wargoal = { target = BFL type = take_state_focus } + add_state_claim = 655 + create_wargoal = { + target = BFL + type = take_state_focus + } add_ideas = CHY_bflwar_buff } } focus = { id = CHY_taipinyangfangxiang icon = GFX_focus_generic_support_the_left_right - prerequisite = { focus = CHY_kuangredekuozhangzhuyi } + prerequisite = { + focus = CHY_kuangredekuozhangzhuyi + } relative_position_id = CHY_kuangredekuozhangzhuyi - x = 4 y = 1 cost = 5 - ai_will_do = { factor = 35 } - available = { is_puppet = no OR = { date > 1940.1.1 - NOT = { country_exists = DOH } - DOH = { has_capitulated = yes } - DOH = { is_subject_of = CHY } - DOH = { surrender_progress > 0.35 } + NOT = { + country_exists = DOH + } + DOH = { + has_capitulated = yes + } + DOH = { + is_subject_of = CHY + } + DOH = { + surrender_progress > 0.35 + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_war_support = 0.2 army_experience = 100 @@ -3305,22 +3295,34 @@ x = 0 y = 1 cost = 5 - prerequisite = { focus = CHY_taipinyangfangxiang} + prerequisite = { + focus = CHY_taipinyangfangxiang + } relative_position_id = CHY_taipinyangfangxiang available = { - is_puppet = no - or = { - YUW = { surrender_progress > 0.5 } - country_exists = WEX - YUW = {has_capitulated = yes} + is_puppet = no + OR = { + YUW = { + surrender_progress > 0.5 + } + country_exists = WEX + YUW = { + has_capitulated = yes + } } } bypass = { - or = { - has_war_with = YUW - YUW = { has_completed_focus = YUW_yuanweikuozhangzhuyi } - YUW = { has_completed_focus = YUW_rushensuoyuan } - YUW = { has_completed_focus = YUW_chedijingjigaige } + OR = { + has_war_with = YUW + YUW = { + has_completed_focus = YUW_yuanweikuozhangzhuyi + } + YUW = { + has_completed_focus = YUW_rushensuoyuan + } + YUW = { + has_completed_focus = YUW_chedijingjigaige + } } } ai_will_do = { @@ -3328,7 +3330,7 @@ } completion_reward = { YUW = { - country_event = CHY_new1_shijian.18 + country_event = CHY_new1_shijian.18 } add_war_support = 0.1 transfer_state = 671 @@ -3341,9 +3343,10 @@ focus = { id = CHY_xianluo icon = GFX_goal_tripartite_pact - prerequisite = { focus = CHY_fashudongya } + prerequisite = { + focus = CHY_fashudongya + } relative_position_id = CHY_fashudongya - x = 0 y = 1 cost = 5 @@ -3353,12 +3356,9 @@ ai_will_do = { factor = 35 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { SIA = { country_event = CHY_new1_shijian.16 @@ -3368,9 +3368,10 @@ focus = { id = CHY_feilvbin icon = GFX_aflag_BYG - prerequisite = { focus = CHY_xianluo } + prerequisite = { + focus = CHY_xianluo + } relative_position_id = CHY_xianluo - x = 2 y = 1 cost = 4 @@ -3380,45 +3381,64 @@ ai_will_do = { factor = 35 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - declare_war_on = { target = PHI type = annex_everything } + declare_war_on = { + target = PHI + type = annex_everything + } if = { limit = { PHI = { is_subject_of = BYG } } - declare_war_on = { target = BYG type = annex_everything } + declare_war_on = { + target = BYG + type = annex_everything + } set_country_flag = CHY_bygwar_1 if = { - limit = { - BYG = { is_in_faction_with = HUJ } - country_exists = HUJ - has_war_with = DOH + limit = { + BYG = { + is_in_faction_with = HUJ + } + country_exists = HUJ + has_war_with = DOH + DOH = { + NOT = { + has_war_with = HUJ + } + is_faction_leader = yes + NOT = { + is_in_faction_with = HUJ + } + } + } DOH = { - not = { has_war_with = HUJ } - is_faction_leader = yes - not = { is_in_faction_with = HUJ } + country_event = az_tianjiang.135 } - } - DOH = { country_event = az_tianjiang.135 } } BYG = { - country_event = { id = CHY_new1_shijian.28 days = 3} + country_event = { + id = CHY_new1_shijian.28 + days = 3 + } } } - add_timed_idea = { idea = JAP_tora_tora_tora_idea days = 500 } - if = { - limit = { - is_ai = yes + add_timed_idea = { + idea = JAP_tora_tora_tora_idea + days = 500 } - set_technology = { mtg_tank_landing_craft = 1 } + if = { + limit = { + is_ai = yes + } + set_technology = { + mtg_tank_landing_craft = 1 + } } add_ideas = CHY_bygwar_buff } @@ -3426,36 +3446,45 @@ focus = { id = CHY_malaixiya icon = GFX_focus_jap_strike_south - prerequisite = { focus = CHY_xianluo } + prerequisite = { + focus = CHY_xianluo + } relative_position_id = CHY_xianluo - x = -2 y = 1 cost = 4 - ai_will_do = { factor = 35 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - declare_war_on = { target = MAL type = annex_everything } - create_wargoal = { target = INS type = take_state_focus } + declare_war_on = { + target = MAL + type = annex_everything + } + create_wargoal = { + target = INS + type = take_state_focus + } if = { - limit = { - country_exists = HUJ - has_war_with = DOH - DOH = { - not = { has_war_with = HUJ } - is_faction_leader = yes - not = { is_in_faction_with = HUJ } - } - } - DOH = { country_event = az_tianjiang.135 } + limit = { + country_exists = HUJ + has_war_with = DOH + DOH = { + NOT = { + has_war_with = HUJ + } + is_faction_leader = yes + NOT = { + is_in_faction_with = HUJ + } + } + } + DOH = { + country_event = az_tianjiang.135 + } } add_ideas = CHY_hujwar_buff } @@ -3463,54 +3492,51 @@ focus = { id = CHY_warbuli icon = GFX_focus_jinbuli - prerequisite = { focus = CHY_malaixiya } + prerequisite = { + focus = CHY_malaixiya + } relative_position_id = CHY_malaixiya - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 15 } - available = { has_full_control_of_state = 641 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - create_wargoal = { target = BLI type = annex_everything } + create_wargoal = { + target = BLI + type = annex_everything + } } } focus = { id = CHY_touxiatudao icon = GFX_goal_continuous_suppression - prerequisite = { focus = CHY_feilvbin } + prerequisite = { + focus = CHY_feilvbin + } relative_position_id = CHY_feilvbin - x = -2 y = 1 cost = 5 - ai_will_do = { factor = 15 } - available = { has_war_with = BYG - not = { controls_state = 650 } + NOT = { + controls_state = 650 + } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { transfer_state = 650 } @@ -3518,34 +3544,31 @@ focus = { id = CHY_tongmengels icon = GFX_goal_generic_position_armies - prerequisite = { focus = CHY_feilvbin } + prerequisite = { + focus = CHY_feilvbin + } relative_position_id = CHY_feilvbin - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 15 } - available = { has_full_control_of_state = 629 } - bypass = { - or = { - is_in_faction_with = ELS - has_war_with = ELS - NOT = { country_exists = ELS } + OR = { + is_in_faction_with = ELS + has_war_with = ELS + NOT = { + country_exists = ELS + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { ELS = { country_event = CHY_new1_shijian.19 @@ -3556,34 +3579,31 @@ focus = { id = CHY_tongmengpru icon = GFX_goal_generic_occupy_states_ongoing_war - prerequisite = { focus = CHY_feilvbin } + prerequisite = { + focus = CHY_feilvbin + } relative_position_id = CHY_feilvbin - x = 2 y = 1 cost = 5 - ai_will_do = { factor = 15 } - available = { has_full_control_of_state = 629 } - bypass = { - or = { - is_in_faction_with = PRU - has_war_with = PRU - NOT = { country_exists = PRU } + OR = { + is_in_faction_with = PRU + has_war_with = PRU + NOT = { + country_exists = PRU + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { PRU = { country_event = CHY_new1_shijian.19 @@ -3594,40 +3614,51 @@ focus = { id = CHY_els_start_war icon = GFX_focus_mex_redeem_aztlan - prerequisite = { focus = CHY_tongmengels } + prerequisite = { + focus = CHY_tongmengels + } relative_position_id = CHY_tongmengels - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 15 } - available = { - ELS = { has_country_flag = CHY_help_americas } - } - - bypass = { - or = { - is_in_faction_with = ELS - has_war_with = ELS - NOT = { country_exists = ELS } + ELS = { + has_country_flag = CHY_help_americas + } + } + bypass = { + OR = { + is_in_faction_with = ELS + has_war_with = ELS + NOT = { + country_exists = ELS + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { ELS = { - declare_war_on = { target = GUA type = annex_everything } - declare_war_on = { target = HON type = annex_everything } - declare_war_on = { target = NIC type = annex_everything } - declare_war_on = { target = COS type = annex_everything } + declare_war_on = { + target = GUA + type = annex_everything + } + declare_war_on = { + target = HON + type = annex_everything + } + declare_war_on = { + target = NIC + type = annex_everything + } + declare_war_on = { + target = COS + type = annex_everything + } add_state_core = 313 add_state_core = 312 add_state_core = 317 @@ -3639,40 +3670,51 @@ focus = { id = CHY_pru_start_war icon = GFX_goal_generic_major_war - prerequisite = { focus = CHY_tongmengpru } + prerequisite = { + focus = CHY_tongmengpru + } relative_position_id = CHY_tongmengpru - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 15 } - available = { - PRU = { has_country_flag = CHY_help_americas } - } - - bypass = { - or = { - is_in_faction_with = PRU - has_war_with = PRU - NOT = { country_exists = PRU } + PRU = { + has_country_flag = CHY_help_americas + } + } + bypass = { + OR = { + is_in_faction_with = PRU + has_war_with = PRU + NOT = { + country_exists = PRU + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { PRU = { - declare_war_on = { target = ECU type = annex_everything } - declare_war_on = { target = COL type = annex_everything } - declare_war_on = { target = VEN type = annex_everything } - declare_war_on = { target = PAN type = annex_everything } + declare_war_on = { + target = ECU + type = annex_everything + } + declare_war_on = { + target = COL + type = annex_everything + } + declare_war_on = { + target = VEN + type = annex_everything + } + declare_war_on = { + target = PAN + type = annex_everything + } every_state = { limit = { OR = { @@ -3691,76 +3733,81 @@ focus = { id = CHY_contral_americas icon = GFX_goal_generic_major_war - prerequisite = { focus = CHY_pru_start_war focus = CHY_els_start_war } + prerequisite = { + focus = CHY_pru_start_war + focus = CHY_els_start_war + } relative_position_id = CHY_pru_start_war - x = -1 y = 1 cost = 5 - ai_will_do = { factor = 15 } - available = { OR = { - ELS = { has_country_flag = CHY_help_americas } - PRU = { has_country_flag = CHY_help_americas } + ELS = { + has_country_flag = CHY_help_americas + } + PRU = { + has_country_flag = CHY_help_americas + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { IF = { - limit = { - ELS = { has_country_flag = CHY_help_americas } - } - set_autonomy = { - target = ELS - autonomy_state = autonomy_reichskommissariat + limit = { + ELS = { + has_country_flag = CHY_help_americas + } + } + set_autonomy = { + target = ELS + autonomy_state = autonomy_reichskommissariat + } } - } - IF = { - limit = { - PRU = { has_country_flag = CHY_help_americas } - } - set_autonomy = { - target = PRU - autonomy_state = autonomy_reichskommissariat + IF = { + limit = { + PRU = { + has_country_flag = CHY_help_americas + } + } + set_autonomy = { + target = PRU + autonomy_state = autonomy_reichskommissariat + } } } - } } #nagato line focus = { id = CHY_changmen1 icon = GFX_focus_jap_spiritual_mobilization - prerequisite = { focus = CHY_chongyindeweilai } + prerequisite = { + focus = CHY_chongyindeweilai + } relative_position_id = CHY_chongyindeweilai - mutually_exclusive = { focus = CHY_chichen1 } + mutually_exclusive = { + focus = CHY_chichen1 + } available = { - has_country_leader = { - ruling_only = yes - character = CHY_changmen + has_country_leader = { + ruling_only = yes + character = CHY_changmen } - } + } x = -5 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_stability = 0.1 add_political_power = 300 @@ -3787,30 +3834,28 @@ focus = { id = CHY_shouhu icon = GFX_focus_GRE_a_land_of_mountains - prerequisite = { focus = CHY_chongyinshendaojiao } + prerequisite = { + focus = CHY_chongyinshendaojiao + } relative_position_id = CHY_chongyinshendaojiao - mutually_exclusive = { focus = CHY_wushidaojinshen } - + mutually_exclusive = { + focus = CHY_wushidaojinshen + } available = { - has_country_leader = { - ruling_only = yes - character = CHY_changmen + has_country_leader = { + ruling_only = yes + character = CHY_changmen } - } - + } x = -1 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_shouhu_buff } @@ -3818,57 +3863,49 @@ focus = { id = CHY_kuojianshenzhiyuan icon = GFX_focus_chongyingweixin - prerequisite = { focus = CHY_changmen1 } + prerequisite = { + focus = CHY_changmen1 + } relative_position_id = CHY_changmen1 - x = 2 y = 1 cost = 5 - ai_will_do = { factor = 40 } - available = { OR = { hidden_trigger = { - CHY = { is_ai = yes } + CHY = { + is_ai = yes + } + } + has_tech = construction3 } - has_tech = construction3 } - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - hidden_effect = { - unlock_decision_tooltip = CHY_xindeshenzhiyuan_decision - } custom_effect_tooltip = CHY_xindeshenzhiyuan_tooltip } } focus = { id = CHY_zhujianweili icon = GFX_focus_FIN_weapon_caches - prerequisite = { focus = CHY_kuojianshenzhiyuan } + prerequisite = { + focus = CHY_kuojianshenzhiyuan + } relative_position_id = CHY_kuojianshenzhiyuan - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_stability = 0.3 add_war_support = -0.5 @@ -3877,23 +3914,22 @@ focus = { id = CHY_hepinyindao icon = GFX_focus_SWE_urbanization - prerequisite = { focus = CHY_zhujianweili } - prerequisite = { focus = CHY_shouhu } + prerequisite = { + focus = CHY_zhujianweili + } + prerequisite = { + focus = CHY_shouhu + } relative_position_id = CHY_zhujianweili - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_hepinyindao_buff } @@ -3901,22 +3937,19 @@ focus = { id = CHY_changmenhuopao icon = GFX_focus_SWE_let_fly_all_guns - prerequisite = { focus = CHY_changmen1 } + prerequisite = { + focus = CHY_changmen1 + } relative_position_id = CHY_changmen1 - x = -2 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_changmenhuopao_buff } @@ -3924,22 +3957,19 @@ focus = { id = CHY_changmentanke icon = GFX_focus_NORDIC_dem_civilian - prerequisite = { focus = CHY_changmenhuopao } + prerequisite = { + focus = CHY_changmenhuopao + } relative_position_id = CHY_changmenhuopao - x = -1 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_changmentanke_buff } @@ -3947,22 +3977,19 @@ focus = { id = CHY_changmenzhanlie icon = GFX_focus_generic_refit_civilian_ships - prerequisite = { focus = CHY_changmenhuopao } + prerequisite = { + focus = CHY_changmenhuopao + } relative_position_id = CHY_changmenhuopao - x = 1 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_changmenzhanlie_buff } @@ -3970,34 +3997,34 @@ focus = { id = CHY_zhanliejianniang icon = GFX_focus_SWE_coastal_support - prerequisite = { focus = CHY_changmentanke } - prerequisite = { focus = CHY_changmenzhanlie } + prerequisite = { + focus = CHY_changmentanke + } + prerequisite = { + focus = CHY_changmenzhanlie + } relative_position_id = CHY_changmentanke - x = 1 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { every_army_leader = { limit = { has_trait = zhanlie_army - not = { has_id = 07001 } + NOT = { + has_id = 7001 + } } add_skill_level = 2 add_attack = 1 add_planning = 1 add_logistics = 1 - } every_navy_leader = { limit = { @@ -4007,18 +4034,15 @@ add_attack = 1 add_planning = 1 add_logistics = 1 - } random_army_leader = { limit = { - has_id = 07001 + has_id = 7001 } - add_skill_level = 3 add_attack = 2 add_planning = 2 add_logistics = 2 - add_unit_leader_trait = inflexible_strategist add_unit_leader_trait = logistics_wizard } @@ -4034,26 +4058,23 @@ focus = { id = CHY_changmenminggong icon = GFX_focus_generic_industry_3 - prerequisite = { focus = CHY_changmen1 } + prerequisite = { + focus = CHY_changmen1 + } relative_position_id = CHY_changmen1 - x = -5 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -4080,7 +4101,7 @@ } random_owned_controlled_state = { limit = { - OR = { + OR = { state = 533 state = 282 state = 534 @@ -4110,22 +4131,19 @@ focus = { id = CHY_zhongshiminshen icon = GFX_goal_generic_construct_infrastructure - prerequisite = { focus = CHY_changmenminggong } + prerequisite = { + focus = CHY_changmenminggong + } relative_position_id = CHY_changmenminggong - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_ideas = chy_zhongshiminshen_buff } @@ -4133,25 +4151,26 @@ focus = { id = CHY_hepinshouhuzhe icon = GFX_focus_NOR_broken_gun_policies - prerequisite = { focus = CHY_hepinyindao } - prerequisite = { focus = CHY_zhanliejianniang } + prerequisite = { + focus = CHY_hepinyindao + } + prerequisite = { + focus = CHY_zhanliejianniang + } relative_position_id = CHY_zhanliejianniang - x = 2 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - set_rule = { can_create_factions = yes } + set_rule = { + can_create_factions = yes + } create_faction = "和平守护者" country_event = CHY_new1_shijian.29 } @@ -4159,83 +4178,77 @@ focus = { id = CHY_duidonghuangyouhao icon = GFX_fflag_DOH - prerequisite = { focus = CHY_hepinshouhuzhe } + prerequisite = { + focus = CHY_hepinshouhuzhe + } relative_position_id = CHY_hepinshouhuzhe - x = -4 y = 1 cost = 5 - ai_will_do = { factor = 40 } - available = { - not = { has_war_with = DOH } + NOT = { + has_war_with = DOH + } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { DOH = { add_opinion_modifier = { target = CHY modifier = CHY_dhyouhao - } + } } add_ai_strategy = { - type = befriend - id = DOH - value = 300 + type = befriend + id = DOH + value = 300 } - add_ai_strategy = { - type = alliance - id = "DOH" - value = 200 - } - DOH = { - add_ai_strategy = { - type = alliance - id = "CHY" - value = 200 - } - add_ai_strategy = { - type = befriend - id = CHY - value = 300 + add_ai_strategy = { + type = alliance + id = "DOH" + value = 200 + } + DOH = { + add_ai_strategy = { + type = alliance + id = "CHY" + value = 200 + } + add_ai_strategy = { + type = befriend + id = CHY + value = 300 + } + } + DOH = { + country_event = CHY_new1_shijian.33 } - } - DOH = { - country_event = CHY_new1_shijian.33 - } } } focus = { id = CHY_guihuanzhimindi icon = GFX_goal_generic_position_armies - prerequisite = { focus = CHY_duidonghuangyouhao } + prerequisite = { + focus = CHY_duidonghuangyouhao + } relative_position_id = CHY_duidonghuangyouhao - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } - available = { has_country_flag = CHY_friend_with_doh } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { DOH = { transfer_state = 612 @@ -4250,8 +4263,14 @@ transfer_state = 745 transfer_state = 716 transfer_state = 524 - give_resource_rights = { receiver = CHY state = 328 } - give_resource_rights = { receiver = CHY state = 716 } + give_resource_rights = { + receiver = CHY + state = 328 + } + give_resource_rights = { + receiver = CHY + state = 716 + } add_political_power = -1000 } CHY = { @@ -4267,22 +4286,19 @@ focus = { id = CHY_yuanzhudonghuang icon = GFX_focus_NORDIC_dem_civilian - prerequisite = { focus = CHY_guihuanzhimindi } + prerequisite = { + focus = CHY_guihuanzhimindi + } relative_position_id = CHY_guihuanzhimindi - x = -2 y = 1 cost = 20 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { if = { limit = { @@ -4290,329 +4306,317 @@ has_country_flag = CHY_frieng_with_doh_good } } - 608 = { - add_extra_state_shared_building_slots = 12 - add_building_construction = { - type = industrial_complex - level = 6 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 4 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 2 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - } + 608 = { + add_extra_state_shared_building_slots = 12 + add_building_construction = { + type = industrial_complex + level = 6 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 4 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 2 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + } 745 = { - add_extra_state_shared_building_slots = 12 - add_building_construction = { - type = industrial_complex - level = 6 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 4 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 2 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - } + add_extra_state_shared_building_slots = 12 + add_building_construction = { + type = industrial_complex + level = 6 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 4 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 2 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + } 743 = { - add_extra_state_shared_building_slots = 12 - add_building_construction = { - type = industrial_complex - level = 6 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 4 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 2 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - } + add_extra_state_shared_building_slots = 12 + add_building_construction = { + type = industrial_complex + level = 6 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 4 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 2 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + } 613 = { - add_extra_state_shared_building_slots = 12 - add_building_construction = { - type = industrial_complex - level = 6 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 4 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 2 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } + add_extra_state_shared_building_slots = 12 + add_building_construction = { + type = industrial_complex + level = 6 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 4 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 2 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } } 524 = { - add_extra_state_shared_building_slots = 12 - add_building_construction = { - type = industrial_complex - level = 6 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 4 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 2 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes + add_extra_state_shared_building_slots = 12 + add_building_construction = { + type = industrial_complex + level = 6 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 4 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 2 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes } } 592 = { - add_extra_state_shared_building_slots = 12 - add_building_construction = { - type = industrial_complex - level = 6 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 4 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 2 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes + add_extra_state_shared_building_slots = 12 + add_building_construction = { + type = industrial_complex + level = 6 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 4 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 2 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes } } - } + } else = { 608 = { - - add_extra_state_shared_building_slots = 6 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - - } - + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + } 745 = { - - add_extra_state_shared_building_slots = 6 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - } - + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + } 743 = { - - add_extra_state_shared_building_slots = 6 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - } - + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } + } 613 = { - - add_extra_state_shared_building_slots = 6 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes - } - + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes + } } 524 = { - add_extra_state_shared_building_slots = 6 - add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } - add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = industrial_complex + level = 3 + instant_build = yes + } + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + add_building_construction = { + type = dockyard + level = 1 + instant_build = yes + } + add_building_construction = { + type = infrastructure + level = 2 + instant_build = yes } } 592 = { add_extra_state_shared_building_slots = 6 add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes - } + type = industrial_complex + level = 3 + instant_build = yes + } add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } + type = arms_factory + level = 2 + instant_build = yes + } add_building_construction = { - type = dockyard - level = 1 - instant_build = yes - } + type = dockyard + level = 1 + instant_build = yes + } add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes + type = infrastructure + level = 2 + instant_build = yes + } } } - } add_ideas = chy_yuanzhudonghuang_buff } } focus = { id = CHY_keyanhezuo_doh icon = GFX_focus_NORDIC_dem_research - prerequisite = { focus = CHY_guihuanzhimindi } + prerequisite = { + focus = CHY_guihuanzhimindi + } relative_position_id = CHY_guihuanzhimindi - x = 0 y = 1 cost = 10 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_tech_bonus = { name = "来自东煌的科技援助" bonus = 1 uses = 2 - category = artillery + category = artillery category = infantry_weapons } add_doctrine_cost_reduction = { name = "来自东煌的科技援助" cost_reduction = -0.5 uses = 4 - category = land_doctrine + category = land_doctrine } add_ideas = chy_keyanhezuo_doh_buff DOH = { @@ -4632,7 +4636,7 @@ name = "来自重樱的科技援助" cost_reduction = -0.5 uses = 4 - category = naval_doctrine + category = naval_doctrine } add_ideas = chy_keyanhezuo_doh_buff } @@ -4641,31 +4645,29 @@ focus = { id = CHY_ziyuankaifahezuo_doh icon = GFX_focus_generic_mining_industry - prerequisite = { focus = CHY_guihuanzhimindi } + prerequisite = { + focus = CHY_guihuanzhimindi + } relative_position_id = CHY_guihuanzhimindi - x = 2 y = 1 cost = 10 - ai_will_do = { factor = 40 } - available = { OR = { hidden_trigger = { - CHY = { is_ai = yes } + CHY = { + is_ai = yes + } + } + has_tech = excavation3 } - has_tech = excavation3 } - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { add_political_power = -200 714 = { @@ -4729,9 +4731,18 @@ } } DOH = { - give_resource_rights = { receiver = CHY state = 608 } - give_resource_rights = { receiver = CHY state = 524 } - give_resource_rights = { receiver = CHY state = 714 } + give_resource_rights = { + receiver = CHY + state = 608 + } + give_resource_rights = { + receiver = CHY + state = 524 + } + give_resource_rights = { + receiver = CHY + state = 714 + } } hidden_effect = { news_event = CHY_new1_shijian.34 @@ -4741,30 +4752,32 @@ focus = { id = CHY_yaoqindonghuang icon = GFX_goal_generic_major_alliance - prerequisite = { focus = CHY_yuanzhudonghuang } - prerequisite = { focus = CHY_ziyuankaifahezuo_doh } - prerequisite = { focus = CHY_keyanhezuo_doh } + prerequisite = { + focus = CHY_yuanzhudonghuang + } + prerequisite = { + focus = CHY_ziyuankaifahezuo_doh + } + prerequisite = { + focus = CHY_keyanhezuo_doh + } relative_position_id = CHY_keyanhezuo_doh - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } - available = { - not = { has_war_with = DOH } + NOT = { + has_war_with = DOH + } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - DOH = { + DOH = { country_event = CHY_new1_shijian.35 } } @@ -4772,28 +4785,26 @@ focus = { id = CHY_duibeilianyouhao icon = GFX_fflag_BFL - prerequisite = { focus = CHY_hepinshouhuzhe } + prerequisite = { + focus = CHY_hepinshouhuzhe + } relative_position_id = CHY_hepinshouhuzhe - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } - available = { - not = { has_war_with = BFL } + NOT = { + has_war_with = BFL + } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - BFL = { + BFL = { country_event = CHY_new1_shijian.37 } } @@ -4801,28 +4812,24 @@ focus = { id = CHY_kaifayuandong icon = GFX_focus_eng_expose_the_belly_of_the_bear - prerequisite = { focus = CHY_duibeilianyouhao } + prerequisite = { + focus = CHY_duibeilianyouhao + } relative_position_id = CHY_duibeilianyouhao - x = 0 y = 1 cost = 5 - available = { - has_country_flag = CHY_friend_with_BFL + has_country_flag = CHY_friend_with_BFL } - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - BFL = { + BFL = { country_event = CHY_new1_shijian.39 } } @@ -4830,72 +4837,64 @@ focus = { id = CHY_keyanhezuo_bfl icon = GFX_goal_generic_build_tank - prerequisite = { focus = CHY_kaifayuandong } + prerequisite = { + focus = CHY_kaifayuandong + } relative_position_id = CHY_kaifayuandong - x = 0 y = 1 cost = 5 - available = { - has_country_flag = CHY_zujianbuxiongdui_with_BFL + has_country_flag = CHY_zujianbuxiongdui_with_BFL } - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - BFL = { + BFL = { add_tech_bonus = { name = "捕熊的经验" bonus = 1 uses = 2 - category = motorized_equipment - category =infantry_weapons + category = motorized_equipment + category = infantry_weapons } } add_tech_bonus = { name = "捕熊的经验" bonus = 1 uses = 2 - category = motorized_equipment - category =infantry_weapons + category = motorized_equipment + category = infantry_weapons } } } focus = { id = CHY_duibaiyinyouhao icon = GFX_fflag_BYG - prerequisite = { focus = CHY_hepinshouhuzhe } + prerequisite = { + focus = CHY_hepinshouhuzhe + } relative_position_id = CHY_hepinshouhuzhe - x = 2 y = 1 cost = 5 - ai_will_do = { factor = 40 } - available = { - not = { has_war_with = BYG } + NOT = { + has_war_with = BYG + } } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - BYG = { + BYG = { country_event = CHY_new1_shijian.41 } } @@ -4903,28 +4902,24 @@ focus = { id = CHY_keyanhezuo_byg icon = GFX_focus_SWE_italian_destroyers - prerequisite = { focus = CHY_duibaiyinyouhao } + prerequisite = { + focus = CHY_duibaiyinyouhao + } relative_position_id = CHY_duibaiyinyouhao - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } - available = { has_country_flag = CHY_friend_with_BYG } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - BYG = { + BYG = { add_tech_bonus = { name = "来自重樱的科研合作" bonus = 1 @@ -4943,28 +4938,26 @@ focus = { id = CHY_duihuangjiayouhao icon = GFX_fflag_HUJ - prerequisite = { focus = CHY_hepinshouhuzhe } + prerequisite = { + focus = CHY_hepinshouhuzhe + } relative_position_id = CHY_hepinshouhuzhe - x = 4 y = 1 cost = 5 - ai_will_do = { factor = 40 } - available = { - not = { has_war_with = HUJ } + NOT = { + has_war_with = HUJ + } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - HUJ = { + HUJ = { country_event = CHY_new1_shijian.43 } } @@ -4972,24 +4965,21 @@ focus = { id = CHY_keyanhezuo_huj icon = GFX_focus_generic_copy_plane_designs - prerequisite = { focus = CHY_duihuangjiayouhao } + prerequisite = { + focus = CHY_duihuangjiayouhao + } relative_position_id = CHY_duihuangjiayouhao - x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - HUJ = { + HUJ = { add_tech_bonus = { name = "来自重樱的科研合作" bonus = 1 @@ -5008,14 +4998,16 @@ focus = { id = CHY_help_blhx icon = GFX_aflag_TIX - prerequisite = { focus = CHY_keyanhezuo_huj } - prerequisite = { focus = CHY_keyanhezuo_byg } + prerequisite = { + focus = CHY_keyanhezuo_huj + } + prerequisite = { + focus = CHY_keyanhezuo_byg + } relative_position_id = CHY_keyanhezuo_huj - x = -1 y = 1 cost = 5 - available = { TIX = { has_war_with = BYG @@ -5023,18 +5015,14 @@ has_offensive_war = yes } } - ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - completion_reward = { - HUJ = { + HUJ = { country_event = CHY_new1_shijian.45 } } diff --git a/src/common/national_focus/donghuang.txt b/src/common/national_focus/donghuang.txt index 31b72ab..2e101d3 100755 --- a/src/common/national_focus/donghuang.txt +++ b/src/common/national_focus/donghuang.txt @@ -1344,14 +1344,14 @@ # available = { # if = { # limit = { has_global_flag = MOD_azurlane_sairenzhizai } -# or = { +# OR = { # is_ai = yes # num_of_naval_factories > 20 # } # } # else_if = { # limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } -# or = { +# OR = { # is_ai = yes # num_of_naval_factories > 40 # } @@ -2182,7 +2182,7 @@ # } # if = { # limit = { -# not = { has_dlc = "By Blood Alone" } +# NOT = { has_dlc = "By Blood Alone" } # } # add_tech_bonus = { # name = "铁鸢" @@ -2207,7 +2207,7 @@ # } # available = { -# or = { +# OR = { # TIX = { has_opinion = { target = DOH value > 59 } } # is_ai = yes # hidden_trigger = { @@ -2243,7 +2243,7 @@ # } # available = { -# or = { +# OR = { # HUJ = { has_opinion = { target = DOH value > 59 } } # is_ai = yes # hidden_trigger = { @@ -3635,7 +3635,7 @@ # } # available = { -# not = {has_war_with = CHY} +# NOT = {has_war_with = CHY} # NOT = { # OR = { # has_idea = DOH_dfgg1 @@ -4110,7 +4110,7 @@ # has_completed_focus = DOH_huanxingjulong # #has_completed_focus = DOH_weishejunfa # has_completed_focus = DOH_donghuangdeshidai -# or = { +# OR = { # has_completed_focus = DOH_gongchanlianmeng # has_completed_focus = DOH_chisezhongzhou # has_completed_focus = DOH_bilanhangxian @@ -4155,7 +4155,7 @@ # has_completed_focus = DOH_huanxingjulong # #has_completed_focus = DOH_weishejunfa # has_completed_focus = DOH_donghuangdeshidai -# or = { +# OR = { # has_completed_focus = DOH_gongchanlianmeng # has_completed_focus = DOH_chisezhongzhou # has_completed_focus = DOH_bilanhangxian diff --git a/src/common/national_focus/donghuang_new.txt b/src/common/national_focus/donghuang_new.txt index e67c22e..93bca24 100755 --- a/src/common/national_focus/donghuang_new.txt +++ b/src/common/national_focus/donghuang_new.txt @@ -628,7 +628,7 @@ focus_tree = { } available = { - or = { + OR = { TIX = { has_opinion = { target = DOH value > 59 } } is_ai = yes hidden_trigger = { @@ -682,7 +682,7 @@ focus_tree = { } available = { - or = { + OR = { HUJ = { has_opinion = { target = DOH value > 59 } } is_ai = yes hidden_trigger = { @@ -946,14 +946,14 @@ focus_tree = { available = { if = { limit = { has_global_flag = MOD_azurlane_sairenzhizai } - or = { + OR = { is_ai = yes num_of_naval_factories > 20 } } else_if = { limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - or = { + OR = { is_ai = yes num_of_naval_factories > 40 } diff --git a/src/common/national_focus/donghuangyuanzhengjun.txt b/src/common/national_focus/donghuangyuanzhengjun.txt index 6350567..b64d13d 100755 --- a/src/common/national_focus/donghuangyuanzhengjun.txt +++ b/src/common/national_focus/donghuangyuanzhengjun.txt @@ -161,7 +161,7 @@ } } available = { - or = { + OR = { DOH = { controls_state = 747 } @@ -1316,7 +1316,7 @@ DOH.xinrenjingtidu_value > 4 } } - or = { + OR = { DOH = { controls_state = 747 } @@ -1376,7 +1376,7 @@ DOH.xinrenjingtidu_value > 4 } } - or = { + OR = { DOH = { controls_state = 747 } @@ -1437,7 +1437,7 @@ DOH.xinrenjingtidu_value > 4 } } - or = { + OR = { DOH = { controls_state = 747 } diff --git a/src/common/national_focus/generic.txt b/src/common/national_focus/generic.txt index 21a8ed3..a373ae7 100755 --- a/src/common/national_focus/generic.txt +++ b/src/common/national_focus/generic.txt @@ -8,7 +8,7 @@ FOCUS_FILTER_BALANCE_OF_POWER = 200 FOCUS_FILTER_SOV_POLITICAL_PARANOIA = 111 FOCUS_FILTER_PROPAGANDA = 110 - FOCUS_FILTER_MISSIOLINI = 110 + #FOCUS_FILTER_MISSIOLINI = 110 FOCUS_FILTER_ARMY_XP = 103 FOCUS_FILTER_NAVY_XP = 102 FOCUS_FILTER_AIR_XP = 101 diff --git a/src/common/national_focus/huangjia.txt b/src/common/national_focus/huangjia.txt index e2dcb7a..218c566 100755 --- a/src/common/national_focus/huangjia.txt +++ b/src/common/national_focus/huangjia.txt @@ -5,7 +5,6 @@ ### search_filters = {FOCUS_FILTER_WAR_SUPPORT} ### search_filters = {FOCUS_FILTER_MANPOWER} ### search_filters = {FOCUS_FILTER_ANNEXATION} - focus_tree = { id = huangjia_focus shared_focus = AL_zhuanyi @@ -13,7 +12,6 @@ focus_tree = { shared_focus = AL_junshi country = { factor = 0 - modifier = { add = 10 tag = HUJ @@ -32,249 +30,283 @@ focus_tree = { x = -16 } cost = 5 - ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_hjjhb } } -#sairenmod -focus = { - id = HUJ_buliedianjihua - icon = GFX_focus_ger_break_anglo_french_colonial_hegemony - x = 0 - y = 1 - allow_branch = { - has_global_flag = MOD_azurlane_sairenzhizai - } - relative_position_id = HUJ_huangjiajihuabu - prerequisite = { focus = HUJ_huangjiajihuabu } - cost = 5 - - ai_will_do = { - factor = 15 - } - - - - cancel_if_invalid = yes - continue_if_invalid = no - available_if_capitulated = no - - - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - hidden_effect = { - 120 = { add_core_of = HUJ } - 121 = { add_core_of = HUJ } - 133 = { add_core_of = HUJ } - 136 = { add_core_of = HUJ } - 130 = { add_core_of = HUJ } - 131 = { add_core_of = HUJ } - 132 = { add_core_of = HUJ } - 122 = { add_core_of = HUJ } - 128 = { add_core_of = HUJ } - 129 = { add_core_of = HUJ } - 338 = { add_core_of = HUJ } - 123 = { add_core_of = HUJ } - 125 = { add_core_of = HUJ } - 126 = { add_core_of = HUJ } - 127 = { add_core_of = HUJ } - 931 = { add_core_of = HUJ } - 932 = { add_core_of = HUJ } - 933 = { add_core_of = HUJ } - 337 = { add_core_of = HUJ } + #sairenmod + focus = { + id = HUJ_buliedianjihua + icon = GFX_focus_ger_break_anglo_french_colonial_hegemony + x = 0 + y = 1 + allow_branch = { + has_global_flag = MOD_azurlane_sairenzhizai } - add_equipment_to_stockpile = { - type = convoy - amount = 300 + relative_position_id = HUJ_huangjiajihuabu + prerequisite = { + focus = HUJ_huangjiajihuabu } - custom_effect_tooltip = "与塞壬进入战争时可以直接登陆不列颠岛。" - set_country_flag = HUJ_denglubuliedian - } -} -focus = { - id = HUJ_zhanqianchoubei - icon = GFX_focus_secret_rearmament - x = 0 - y = 1 - relative_position_id = HUJ_buliedianjihua - prerequisite = { focus = HUJ_buliedianjihua } - cost = 5 - - ai_will_do = { - factor = 1 - modifier = { - TIX = { has_war_with = SIR } - add = 100 + cost = 5 + ai_will_do = { + factor = 15 } - modifier = { - TIX = { has_capitulated = yes } - add = 100 - } - modifier = { - date > 1940.6.1 - add = 100 + cancel_if_invalid = yes + continue_if_invalid = no + available_if_capitulated = no + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + hidden_effect = { + 120 = { + add_core_of = HUJ + } + 121 = { + add_core_of = HUJ + } + 133 = { + add_core_of = HUJ + } + 136 = { + add_core_of = HUJ + } + 130 = { + add_core_of = HUJ + } + 131 = { + add_core_of = HUJ + } + 132 = { + add_core_of = HUJ + } + 122 = { + add_core_of = HUJ + } + 128 = { + add_core_of = HUJ + } + 129 = { + add_core_of = HUJ + } + 338 = { + add_core_of = HUJ + } + 123 = { + add_core_of = HUJ + } + 125 = { + add_core_of = HUJ + } + 126 = { + add_core_of = HUJ + } + 127 = { + add_core_of = HUJ + } + 931 = { + add_core_of = HUJ + } + 932 = { + add_core_of = HUJ + } + 933 = { + add_core_of = HUJ + } + 337 = { + add_core_of = HUJ + } + } + add_equipment_to_stockpile = { + type = convoy + amount = 300 + } + custom_effect_tooltip = "与塞壬进入战争时可以直接登陆不列颠岛。" + set_country_flag = HUJ_denglubuliedian } } - - - - cancel_if_invalid = yes - continue_if_invalid = no - available_if_capitulated = no - - - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_war_support = 0.2 - add_equipment_to_stockpile = { - type = infantry_equipment - amount = 5000 + focus = { + id = HUJ_zhanqianchoubei + icon = GFX_focus_secret_rearmament + x = 0 + y = 1 + relative_position_id = HUJ_buliedianjihua + prerequisite = { + focus = HUJ_buliedianjihua } - custom_effect_tooltip = "如果我们和白鹰联邦或者鸢尾的关系大于100,那也会得到她们的武器资助。" - if = { - limit = { - BYG = { has_opinion = { target = HUJ value > 99 } } - } + cost = 5 + ai_will_do = { + factor = 1 + modifier = { + TIX = { + has_war_with = SIR + } + add = 100 + } + modifier = { + TIX = { + has_capitulated = yes + } + add = 100 + } + modifier = { + date > 1940.6.1 + add = 100 + } + } + cancel_if_invalid = yes + continue_if_invalid = no + available_if_capitulated = no + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_war_support = 0.2 add_equipment_to_stockpile = { type = infantry_equipment - amount = 3000 - producer = BYG + amount = 5000 } - add_equipment_to_stockpile = { - type = support_equipment - amount = 500 - producer = BYG + custom_effect_tooltip = "如果我们和白鹰联邦或者鸢尾的关系大于100,那也会得到她们的武器资助。" + if = { + limit = { + BYG = { + has_opinion = { + target = HUJ + value > 99 + } + } + } + add_equipment_to_stockpile = { + type = infantry_equipment + amount = 3000 + producer = BYG + } + add_equipment_to_stockpile = { + type = support_equipment + amount = 500 + producer = BYG + } } - } - if = { - limit = { - YUW = { has_opinion = { target = HUJ value > 99 } } - } - add_equipment_to_stockpile = { - type = artillery_equipment - amount = 1000 - producer = YUW + if = { + limit = { + YUW = { + has_opinion = { + target = HUJ + value > 99 + } + } + } + add_equipment_to_stockpile = { + type = artillery_equipment + amount = 1000 + producer = YUW + } } } } -} -focus = { - id = HUJ_dizhonghaijihua - icon = GFX_goal_generic_political_pressure - x = -2 - y = 1 - relative_position_id = HUJ_buliedianjihua - prerequisite = { focus = HUJ_buliedianjihua } - cost = 5 - - ai_will_do = { - factor = 5 - } - - - - - cancel_if_invalid = yes - continue_if_invalid = no - available_if_capitulated = no - - - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_manpower = -15000 - hidden_effect = { - 118 = { add_core_of = HUJ } - 290 = { add_core_of = HUJ } + focus = { + id = HUJ_dizhonghaijihua + icon = GFX_goal_generic_political_pressure + x = -2 + y = 1 + relative_position_id = HUJ_buliedianjihua + prerequisite = { + focus = HUJ_buliedianjihua } - if = { - limit = { - SIR = { controls_state = 118 } + cost = 5 + ai_will_do = { + factor = 5 + } + cancel_if_invalid = yes + continue_if_invalid = no + available_if_capitulated = no + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_manpower = -15000 + hidden_effect = { + 118 = { + add_core_of = HUJ + } + 290 = { + add_core_of = HUJ + } } - transfer_state = 118 - } - if = { - limit = { - SR2 = { controls_state = 290 } + if = { + limit = { + SIR = { + controls_state = 118 + } + } + transfer_state = 118 } - transfer_state = 290 - } - } -} -focus = { - id = HUJ_sikandenaweiyajihua - icon = GFX_goal_generic_political_pressure - x = 2 - y = 1 - relative_position_id = HUJ_buliedianjihua - prerequisite = { focus = HUJ_buliedianjihua } - cost = 5 - - ai_will_do = { - factor = 5 - } - - - - cancel_if_invalid = yes - continue_if_invalid = no - available_if_capitulated = no - - - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_manpower = -15000 - hidden_effect = { - 110 = { add_core_of = HUJ } - 142 = { add_core_of = HUJ } - 143 = { add_core_of = HUJ } - 144 = { add_core_of = HUJ } - } - if = { - limit = { - SIR = { controls_state = 142 } + if = { + limit = { + SR2 = { + controls_state = 290 + } + } + transfer_state = 290 + } + } + } + focus = { + id = HUJ_sikandenaweiyajihua + icon = GFX_goal_generic_political_pressure + x = 2 + y = 1 + relative_position_id = HUJ_buliedianjihua + prerequisite = { + focus = HUJ_buliedianjihua + } + cost = 5 + ai_will_do = { + factor = 5 + } + cancel_if_invalid = yes + continue_if_invalid = no + available_if_capitulated = no + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_manpower = -15000 + hidden_effect = { + 110 = { + add_core_of = HUJ + } + 142 = { + add_core_of = HUJ + } + 143 = { + add_core_of = HUJ + } + 144 = { + add_core_of = HUJ + } + } + if = { + limit = { + SIR = { + controls_state = 142 + } + } + transfer_state = 142 } - transfer_state = 142 } } -} focus = { id = HUJ_aierlangongye icon = GFX_goal_generic_construct_civilian x = 12 y = 5 - cost = 10 - ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 113 = { @@ -288,7 +320,7 @@ focus = { add_building_construction = { type = industrial_complex level = 2 - instant_build = yes + instant_build = yes } } 135 = { @@ -296,7 +328,7 @@ focus = { add_building_construction = { type = industrial_complex level = 1 - instant_build = yes + instant_build = yes } } } @@ -307,21 +339,16 @@ focus = { x = -3 y = 1 relative_position_id = HUJ_aierlangongye - prerequisite = { focus = HUJ_aierlangongye } + prerequisite = { + focus = HUJ_aierlangongye + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 113 = { @@ -329,7 +356,7 @@ focus = { add_building_construction = { type = industrial_complex level = 3 - instant_build = yes + instant_build = yes } } 119 = { @@ -337,7 +364,7 @@ focus = { add_building_construction = { type = industrial_complex level = 3 - instant_build = yes + instant_build = yes } } } @@ -348,21 +375,16 @@ focus = { x = -1 y = 1 relative_position_id = HUJ_neiwunvpu - prerequisite = { focus = HUJ_neiwunvpu } + prerequisite = { + focus = HUJ_neiwunvpu + } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_npct @@ -374,21 +396,16 @@ focus = { x = 0 y = 1 relative_position_id = HUJ_jingjijianshe - prerequisite = { focus = HUJ_jingjijianshe } + prerequisite = { + focus = HUJ_jingjijianshe + } cost = 2 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.3 @@ -400,22 +417,19 @@ focus = { x = -1 y = 1 relative_position_id = HUJ_hongchagongying - prerequisite = { focus = HUJ_hongchagongying } - mutually_exclusive = { focus = HUJ_zhongzhichaye } + prerequisite = { + focus = HUJ_hongchagongying + } + mutually_exclusive = { + focus = HUJ_zhongzhichaye + } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_jkdcy @@ -427,22 +441,19 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_hongchagongying - prerequisite = { focus = HUJ_hongchagongying } - mutually_exclusive = { focus = HUJ_chayejinkou } + prerequisite = { + focus = HUJ_hongchagongying + } + mutually_exclusive = { + focus = HUJ_chayejinkou + } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_zzcy @@ -454,21 +465,17 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_chayejinkou - prerequisite = { focus = HUJ_zhongzhichaye focus = HUJ_chayejinkou} + prerequisite = { + focus = HUJ_zhongzhichaye + focus = HUJ_chayejinkou + } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_qxhc @@ -480,21 +487,16 @@ focus = { x = 3 y = 1 relative_position_id = HUJ_aierlangongye - prerequisite = { focus = HUJ_aierlangongye } + prerequisite = { + focus = HUJ_aierlangongye + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 134 = { @@ -502,7 +504,7 @@ focus = { add_building_construction = { type = arms_factory level = 3 - instant_build = yes + instant_build = yes } } 135 = { @@ -510,7 +512,7 @@ focus = { add_building_construction = { type = arms_factory level = 3 - instant_build = yes + instant_build = yes } } } @@ -520,21 +522,13 @@ focus = { icon = GFX_focus_generic_manpower x = 10 y = 0 - cost = 10 - ai_will_do = { factor = 7 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 75 @@ -552,21 +546,16 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_zhuzhonglujun - prerequisite = { focus = HUJ_zhuzhonglujun } + prerequisite = { + focus = HUJ_zhuzhonglujun + } cost = 7 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -583,21 +572,16 @@ focus = { x = 0 y = 1 relative_position_id = HUJ_bubingzhuangbei - prerequisite = { focus = HUJ_bubingzhuangbei } + prerequisite = { + focus = HUJ_bubingzhuangbei + } cost = 7 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -615,24 +599,22 @@ focus = { x = 0 y = 1 relative_position_id = HUJ_fuzhuzhuangbei - prerequisite = { focus = HUJ_fuzhuzhuangbei } - mutually_exclusive = { focus = HUJ_zhongwuqigongchang } + prerequisite = { + focus = HUJ_fuzhuzhuangbei + } + mutually_exclusive = { + focus = HUJ_zhongwuqigongchang + } cost = 10 - ai_will_do = { factor = 5 } - - - available = { + available = { num_of_military_factories > 30 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_owned_controlled_state = { @@ -642,7 +624,7 @@ focus = { level = 2 instant_build = yes } - } + } add_ideas = HUJ_qwqsc } } @@ -652,21 +634,16 @@ focus = { x = -1 y = 1 relative_position_id = HUJ_zhuzhonglujun - prerequisite = { focus = HUJ_zhuzhonglujun } + prerequisite = { + focus = HUJ_zhuzhonglujun + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { @@ -675,7 +652,6 @@ focus = { uses = 5 category = land_doctrine } - } } focus = { @@ -684,27 +660,25 @@ focus = { x = 0 y = 1 relative_position_id = HUJ_lilunyanjiu - prerequisite = { focus = HUJ_lilunyanjiu } + prerequisite = { + focus = HUJ_lilunyanjiu + } cost = 15 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 250 custom_effect_tooltip = "允许解锁第二条陆军学说路线" set_country_flag = TY_army_liluntupo - set_technology = { tactical_withdrawal_huj = 1 popup = no } + set_technology = { + tactical_withdrawal_huj = 1 + popup = no + } } } focus = { @@ -713,24 +687,22 @@ focus = { x = 0 y = 1 relative_position_id = HUJ_liluntupo - prerequisite = { focus = HUJ_liluntupo } - prerequisite = { focus = HUJ_fuzhuzhuangbei } + prerequisite = { + focus = HUJ_liluntupo + } + prerequisite = { + focus = HUJ_fuzhuzhuangbei + } cost = 10 - ai_will_do = { factor = 5 } - - - available = { + available = { has_tech = superior_firepower } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_khlz @@ -742,21 +714,16 @@ focus = { x = 3 y = 1 relative_position_id = HUJ_zhuzhonglujun - prerequisite = { focus = HUJ_zhuzhonglujun } + prerequisite = { + focus = HUJ_zhuzhonglujun + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -773,21 +740,16 @@ focus = { x = 0 y = 1 relative_position_id = HUJ_jidonghuabudui - prerequisite = { focus = HUJ_jidonghuabudui } + prerequisite = { + focus = HUJ_jidonghuabudui + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -804,29 +766,26 @@ focus = { x = 0 y = 1 relative_position_id = HUJ_huangjiatanketuan - prerequisite = { focus = HUJ_huangjiatanketuan } - mutually_exclusive = { focus = HUJ_qingwuqigongchang } + prerequisite = { + focus = HUJ_huangjiatanketuan + } + mutually_exclusive = { + focus = HUJ_qingwuqigongchang + } cost = 10 - ai_will_do = { factor = 1 } - - - available = { + available = { num_of_military_factories > 50 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = HUJ_zwqsc - add_ideas = HUJ_zydp - + add_ideas = HUJ_zwqsc + add_ideas = HUJ_zydp } } focus = { @@ -835,21 +794,16 @@ focus = { x = 2 y = 1 relative_position_id = HUJ_huangjiatanketuan - prerequisite = { focus = HUJ_huangjiatanketuan } + prerequisite = { + focus = HUJ_huangjiatanketuan + } cost = 7 - ai_will_do = { factor = 7 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_bbtk @@ -861,21 +815,16 @@ focus = { x = 0 y = 1 relative_position_id = HUJ_jungongqiye - prerequisite = { focus = HUJ_jungongqiye } + prerequisite = { + focus = HUJ_jungongqiye + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 119 = { @@ -904,15 +853,14 @@ focus = { x = 0 y = 2 relative_position_id = HUJ_jiadakaicai - prerequisite = { focus = HUJ_jiadakaicai } + prerequisite = { + focus = HUJ_jiadakaicai + } cost = 10 - ai_will_do = { factor = 5 } - - - available = { + available = { OR = { has_completed_focus = HUJ_qingwuqigongchang has_completed_focus = HUJ_zhongwuqigongchang @@ -921,20 +869,20 @@ focus = { cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { has_idea = HUJ_zydp } + limit = { + has_idea = HUJ_zydp + } swap_ideas = { add_idea = HUJ_hjzz remove_idea = HUJ_zydp } - } - else = { add_ideas = HUJ_hjzz } + else = { + add_ideas = HUJ_hjzz + } } } focus = { @@ -943,21 +891,16 @@ focus = { x = -1 y = 1 relative_position_id = HUJ_jiadakaicai - prerequisite = { focus = HUJ_jiadakaicai } + prerequisite = { + focus = HUJ_jiadakaicai + } cost = 7 - ai_will_do = { factor = 1 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = HUJ_sousuomofang_tooltip @@ -973,15 +916,14 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_jiadakaicai - prerequisite = { focus = HUJ_jiadakaicai } + prerequisite = { + focus = HUJ_jiadakaicai + } cost = 15 - ai_will_do = { factor = 8 } - - - available = { + available = { has_navy_size = { type = screen_ship size > 249 @@ -991,42 +933,39 @@ focus = { cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 119 = { - add_resource = { - type = oil - amount = 120 + add_resource = { + type = oil + amount = 120 + } } } - } } - - focus = { id = HUJ_chongjiangongye icon = GFX_goal_generic_construction x = -1 y = 1 relative_position_id = HUJ_aierlangongye - prerequisite = { focus = HUJ_aierlangongye } + prerequisite = { + focus = HUJ_aierlangongye + } cost = 15 - ai_will_do = { factor = 8 } - - - available = { controls_state = 126 controls_state = 127 controls_state = 123 controls_state = 338 controls_state = 125 } + available = { + controls_state = 126 + controls_state = 127 + controls_state = 123 + controls_state = 338 + controls_state = 125 + } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 126 = { @@ -1034,12 +973,12 @@ focus = { add_building_construction = { type = arms_factory level = 3 - instant_build = yes + instant_build = yes } add_building_construction = { type = industrial_complex level = 2 - instant_build = yes + instant_build = yes } } 127 = { @@ -1047,12 +986,12 @@ focus = { add_building_construction = { type = arms_factory level = 2 - instant_build = yes + instant_build = yes } add_building_construction = { type = industrial_complex level = 2 - instant_build = yes + instant_build = yes } } 338 = { @@ -1060,12 +999,12 @@ focus = { add_building_construction = { type = arms_factory level = 1 - instant_build = yes + instant_build = yes } add_building_construction = { type = industrial_complex level = 3 - instant_build = yes + instant_build = yes } } 125 = { @@ -1073,12 +1012,12 @@ focus = { add_building_construction = { type = arms_factory level = 2 - instant_build = yes + instant_build = yes } add_building_construction = { type = industrial_complex level = 1 - instant_build = yes + instant_build = yes } } } @@ -1089,21 +1028,20 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_aierlangongye - prerequisite = { focus = HUJ_aierlangongye } + prerequisite = { + focus = HUJ_aierlangongye + } cost = 15 - ai_will_do = { factor = 5 } - - - available = { controls_state = 132 controls_state = 130 } + available = { + controls_state = 132 + controls_state = 130 + } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 132 = { @@ -1111,7 +1049,7 @@ focus = { add_building_construction = { type = dockyard level = 5 - instant_build = yes + instant_build = yes } } 130 = { @@ -1119,45 +1057,49 @@ focus = { add_building_construction = { type = dockyard level = 4 - instant_build = yes + instant_build = yes } } } } - focus = { id = HUJ_sikandenaweiyajihua icon = GFX_goal_generic_political_pressure x = 2 y = 1 relative_position_id = HUJ_buliedianjihua - prerequisite = { focus = HUJ_buliedianjihua } + prerequisite = { + focus = HUJ_buliedianjihua + } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_manpower = -15000 hidden_effect = { - 110 = { add_core_of = HUJ } - 142 = { add_core_of = HUJ } - 143 = { add_core_of = HUJ } - 144 = { add_core_of = HUJ } + 110 = { + add_core_of = HUJ + } + 142 = { + add_core_of = HUJ + } + 143 = { + add_core_of = HUJ + } + 144 = { + add_core_of = HUJ + } } if = { limit = { - SIR = { controls_state = 142 } + SIR = { + controls_state = 142 + } } transfer_state = 142 } @@ -1168,21 +1110,13 @@ focus = { icon = GFX_goal_generic_navy_battleship x = 19 y = 0 - cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_haijunliluntupo = yes @@ -1200,21 +1134,16 @@ focus = { x = -2 y = 1 relative_position_id = HUJ_huangjiahaijun - prerequisite = { focus = HUJ_huangjiahaijun } + prerequisite = { + focus = HUJ_huangjiahaijun + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { HUJ_hude = { @@ -1235,21 +1164,16 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_youyadezhanjian - prerequisite = { focus = HUJ_youyadezhanjian } + prerequisite = { + focus = HUJ_youyadezhanjian + } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { @@ -1266,21 +1190,16 @@ focus = { x = -1 y = 1 relative_position_id = HUJ_youyadezhanjian - prerequisite = { focus = HUJ_youyadezhanjian } + prerequisite = { + focus = HUJ_youyadezhanjian + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1298,22 +1217,19 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_koujingyuzhuangjia - prerequisite = { focus = HUJ_cunzaijiandui } - prerequisite = { focus = HUJ_koujingyuzhuangjia } + prerequisite = { + focus = HUJ_cunzaijiandui + } + prerequisite = { + focus = HUJ_koujingyuzhuangjia + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_hjhjdry @@ -1325,32 +1241,29 @@ focus = { x = 2 y = 1 relative_position_id = HUJ_huangjiahaijun - prerequisite = { focus = HUJ_huangjiahaijun } + prerequisite = { + focus = HUJ_huangjiahaijun + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { every_army_leader = { - limit = { has_trait = hangmu_army } + limit = { + has_trait = hangmu_army + } add_logistics = 1 } every_navy_leader = { - - limit = { has_trait = hangmu_navy } + limit = { + has_trait = hangmu_navy + } add_coordination = 1 - } add_tech_bonus = { name = "端庄的航母" @@ -1366,21 +1279,16 @@ focus = { x = -1 y = 1 relative_position_id = HUJ_duanzhuangdehangmu - prerequisite = { focus = HUJ_duanzhuangdehangmu } + prerequisite = { + focus = HUJ_duanzhuangdehangmu + } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -1388,34 +1296,36 @@ focus = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "航母舰载机" - bonus = 1 - uses = 1 - category = light_air - } + name = "航母舰载机" + bonus = 1 + uses = 1 + category = light_air + } add_tech_bonus = { - name = "航母舰载机模块" - bonus = 0.75 - uses = 2 - category = plane_modules_tech - } + name = "航母舰载机模块" + bonus = 0.75 + uses = 2 + category = plane_modules_tech + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "航母舰载机" - uses = 3 - bonus = 1.0 - technology = cv_fighter1 - technology = cv_fighter2 - technology = cv_fighter3 - technology = cv_naval_bomber2 - technology = cv_naval_bomber3 - technology = cv_CAS2 - technology = cv_CAS3 - } + name = "航母舰载机" + uses = 3 + bonus = 1 + technology = cv_fighter1 + technology = cv_fighter2 + technology = cv_fighter3 + technology = cv_naval_bomber2 + technology = cv_naval_bomber3 + technology = cv_CAS2 + technology = cv_CAS3 + } } } } @@ -1425,21 +1335,16 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_duanzhuangdehangmu - prerequisite = { focus = HUJ_duanzhuangdehangmu } + prerequisite = { + focus = HUJ_duanzhuangdehangmu + } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 60 @@ -1463,7 +1368,7 @@ focus = { add_equipment_production = { equipment = { type = ship_hull_carrier_conversion_bb - creator = ROOT + creator = HUJ version_name = "列克星敦级" } requested_factories = 1 @@ -1479,21 +1384,19 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_jianzaiji - prerequisite = { focus = HUJ_jianzaiji } - prerequisite = { focus = HUJ_salatuojialaoshi } + prerequisite = { + focus = HUJ_jianzaiji + } + prerequisite = { + focus = HUJ_salatuojialaoshi + } cost = 10 ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_hjfxy @@ -1505,21 +1408,16 @@ focus = { x = 0 y = 1 relative_position_id = HUJ_huangjiahaijun - prerequisite = { focus = HUJ_huangjiahaijun } + prerequisite = { + focus = HUJ_huangjiahaijun + } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1538,21 +1436,16 @@ focus = { x = 0 y = 2 relative_position_id = HUJ_zhongchengdehuwei - prerequisite = { focus = HUJ_zhongchengdehuwei } + prerequisite = { + focus = HUJ_zhongchengdehuwei + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_jtjz @@ -1564,23 +1457,22 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_haijunrongyao - prerequisite = { focus = HUJ_haijunrongyao } - prerequisite = { focus = HUJ_dajianpingweijian } - prerequisite = { focus = HUJ_feixingyuan } + prerequisite = { + focus = HUJ_haijunrongyao + } + prerequisite = { + focus = HUJ_dajianpingweijian + } + prerequisite = { + focus = HUJ_feixingyuan + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 250 @@ -1588,22 +1480,22 @@ focus = { } } focus = { - id = HUJ_chongxianribuluo + id = HUJ_chongxianribuluo icon = GFX_focus_chongxianribuluo x = 1 y = 2 relative_position_id = HUJ_haijunjindaihua - prerequisite = { focus = HUJ_haijunjindaihua } - prerequisite = { focus = HUJ_zaochuanjishu } - + prerequisite = { + focus = HUJ_haijunjindaihua + } + prerequisite = { + focus = HUJ_zaochuanjishu + } cost = 10 - ai_will_do = { factor = 20 } - - - available = { + available = { has_completed_focus = HUJ_youshihuoli has_completed_focus = HUJ_bubingtanke has_completed_focus = HUJ_huangjialieying @@ -1611,9 +1503,6 @@ focus = { cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 100 @@ -1629,30 +1518,32 @@ focus = { x = 3 y = 1 relative_position_id = HUJ_haijunrongyao - prerequisite = { focus = HUJ_haijunrongyao } - prerequisite = { focus = HUJ_dajianpingweijian } - prerequisite = { focus = HUJ_feixingyuan } - available = { num_of_naval_factories > 30 num_of_factories > 150 } + prerequisite = { + focus = HUJ_haijunrongyao + } + prerequisite = { + focus = HUJ_dajianpingweijian + } + prerequisite = { + focus = HUJ_feixingyuan + } + available = { + num_of_naval_factories > 30 + num_of_factories > 150 + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { add_idea = HUJ_hjzcc remove_idea = HUJ_jtjz - } + } } } focus = { @@ -1660,24 +1551,16 @@ focus = { icon = GFX_focus_beifa x = 4 y = 0 - cost = 6 - ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_political_power = 150 + add_political_power = 150 } } focus = { @@ -1686,33 +1569,28 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_tegongnvpu - prerequisite = { focus = HUJ_tegongnvpu } + prerequisite = { + focus = HUJ_tegongnvpu + } cost = 6 - ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { every_unit_leader = { - limit = { - or = { - has_id = 01007 - has_id = 01012 - has_id = 01018 - has_id = 01024 - has_id = 01026 - has_id = 01028 - has_id = 01030 + limit = { + OR = { + has_id = 1007 + has_id = 1012 + has_id = 1018 + has_id = 1024 + has_id = 1026 + has_id = 1028 + has_id = 1030 } } add_skill_level = 1 @@ -1728,21 +1606,16 @@ focus = { x = 0 y = 1 relative_position_id = HUJ_neiwuweizhu - prerequisite = { focus = HUJ_neiwuweizhu } + prerequisite = { + focus = HUJ_neiwuweizhu + } cost = 10 - ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_research_slot = 1 @@ -1754,21 +1627,16 @@ focus = { x = -2 y = 1 relative_position_id = HUJ_nvpuxunlian - prerequisite = { focus = HUJ_nvpuxunlian } + prerequisite = { + focus = HUJ_nvpuxunlian + } cost = 7 - ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 200 @@ -1780,21 +1648,16 @@ focus = { x = 2 y = 1 relative_position_id = HUJ_nvpuxunlian - prerequisite = { focus = HUJ_nvpuxunlian } + prerequisite = { + focus = HUJ_nvpuxunlian + } cost = 7 - ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_nptg @@ -1806,29 +1669,28 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_neiwunvpu - prerequisite = { focus = HUJ_neiwunvpu } - mutually_exclusive = { focus = HUJ_tegongweizhu } + prerequisite = { + focus = HUJ_neiwunvpu + } + mutually_exclusive = { + focus = HUJ_tegongweizhu + } cost = 7 - ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { add_idea = HUJ_hjnwnpd remove_idea = HUJ_hjnpd } - hidden_effect = { news_event = aznews.35 } + hidden_effect = { + news_event = aznews.35 + } } } focus = { @@ -1837,29 +1699,30 @@ focus = { x = 3 y = 1 relative_position_id = HUJ_neiwunvpu - prerequisite = { focus = HUJ_tegongnvpu } - mutually_exclusive = { focus = HUJ_neiwuweizhu } + prerequisite = { + focus = HUJ_tegongnvpu + } + mutually_exclusive = { + focus = HUJ_neiwuweizhu + } cost = 7 - ai_will_do = { factor = 0 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { swap_ideas = { add_idea = HUJ_hjtgnpd remove_idea = HUJ_hjnpd } - hidden_effect = { news_event = aznews.35 } + hidden_effect = { + news_event = aznews.35 + } } } focus = { @@ -1868,22 +1731,19 @@ focus = { x = 0 y = 1 relative_position_id = HUJ_tegongweizhu - prerequisite = { focus = HUJ_tegongweizhu } - mutually_exclusive = { focus = HUJ_neiwuweizhu } + prerequisite = { + focus = HUJ_tegongweizhu + } + mutually_exclusive = { + focus = HUJ_neiwuweizhu + } cost = 7 - ai_will_do = { factor = 0 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1913,7 +1773,6 @@ focus = { factor = 5 } available = { - } mutually_exclusive = { focus = HUJ_daposhufu @@ -1922,9 +1781,6 @@ focus = { cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 @@ -1945,15 +1801,10 @@ focus = { factor = 5 } available = { - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 @@ -1982,15 +1833,10 @@ focus = { factor = 8 } available = { - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = gongzuozhidu_4 @@ -2018,13 +1864,9 @@ focus = { available = { communism > 0.25 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_country_leader_role = { @@ -2033,7 +1875,9 @@ focus = { country_leader = { ideology = marxism expire = "1965.1.1.1" - traits = { nzdc } + traits = { + nzdc + } } } add_political_power = 100 @@ -2060,13 +1904,9 @@ focus = { has_government = communism communism > 0.9 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_research_slot = 1 @@ -2089,16 +1929,12 @@ focus = { available = { #communism > 0.5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = gongzuozhidu_nvpugonghui + #add_ideas = gongzuozhidu_nvpugonghui #这个ideas没做完 add_trait = { character = HUJ_beierfasite ideology = marxism @@ -2118,7 +1954,6 @@ focus = { y = 2 cost = 5 relative_position_id = HUJ_chenglinvpugonghui - prerequisite = { focus = HUJ_jiaruneigeyihui } @@ -2130,26 +1965,26 @@ focus = { } available = { if = { - limit = { has_dlc = "La Resistance" } + limit = { + has_dlc = "La Resistance" + } has_intelligence_agency = yes } if = { limit = { - or = { + OR = { is_ai = yes - NOT = { has_dlc = "La Resistance" } + NOT = { + has_dlc = "La Resistance" + } } } communism > 0.6 } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_idea_junqingliuchunvpuzu @@ -2160,11 +1995,16 @@ focus = { create_operative_leader = { name = HUJ_xiefeierde GFX = GFX_portrait_xiefeierde - traits = { operative_infiltrator operative_natural_orator } + traits = { + operative_infiltrator + operative_natural_orator + } bypass_recruitment = yes available_to_spy_master = yes - nationalities = { HUJ } - } + nationalities = { + HUJ + } + } } } focus = { @@ -2177,24 +2017,18 @@ focus = { prerequisite = { focus = HUJ_mimixingdong } - ai_will_do = { factor = 5 } available = { - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { country_event = HUJ_event.9 - set_politics = { + set_politics = { ruling_party = communism } } @@ -2213,15 +2047,10 @@ focus = { factor = 5 } available = { - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { country_event = HUJ_event.10 @@ -2241,27 +2070,26 @@ focus = { factor = 5 } available = { - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 200 if = { - limit = { has_government = democratic } + limit = { + has_government = democratic + } promote_character = { character = HUJ_beierfasite ideology = liberalism } } if = { - limit = { has_government = communism } + limit = { + has_government = communism + } promote_character = { character = HUJ_beierfasite ideology = marxism @@ -2276,7 +2104,6 @@ focus = { y = 2 cost = 10 relative_position_id = HUJ_chenglinvpugonghui - prerequisite = { focus = HUJ_jiaruneigeyihui } @@ -2289,16 +2116,11 @@ focus = { available = { always = no } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - } } focus = { @@ -2311,23 +2133,16 @@ focus = { prerequisite = { focus = HUJ_anfunvwang } - ai_will_do = { factor = 5 } available = { - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - } } focus = { @@ -2344,18 +2159,12 @@ focus = { factor = 5 } available = { - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - } } focus = { @@ -2373,15 +2182,10 @@ focus = { factor = 5 } available = { - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { set_cosmetic_tag = HUJ_nvpu_communism @@ -2395,22 +2199,19 @@ focus = { x = 5 y = 1 cost = 5 - prerequisite = { focus = HUJ_jiaruneigeyihui } + prerequisite = { + focus = HUJ_jiaruneigeyihui + } relative_position_id = HUJ_jiaruneigeyihui mutually_exclusive = { focus = HUJ_hongchawaijiao } - ai_will_do = { - factor = 5 + factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 50 @@ -2423,18 +2224,16 @@ focus = { x = 0 y = 1 cost = 5 - prerequisite = { focus = HUJ_waijiaoxipai } + prerequisite = { + focus = HUJ_waijiaoxipai + } relative_position_id = HUJ_waijiaoxipai ai_will_do = { - factor = 5 + factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 100 @@ -2444,7 +2243,6 @@ focus = { modifier = offered_support } } - } } focus = { @@ -2453,21 +2251,19 @@ focus = { x = -1 y = 1 cost = 5 - prerequisite = { focus = HUJ_shengdixunli } + prerequisite = { + focus = HUJ_shengdixunli + } relative_position_id = HUJ_shengdixunli mutually_exclusive = { focus = HUJ_qiutongcunyi } ai_will_do = { - factor = 5 + factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_5 = yes @@ -2480,15 +2276,15 @@ focus = { } every_other_country = { limit = { - NOT = { tag = BFL } + NOT = { + tag = BFL + } has_government = communism } - add_opinion_modifier = { target = HUJ modifier = anti_comintern_pact_opinion } - } } } @@ -2498,18 +2294,16 @@ focus = { x = 0 y = 1 cost = 10 - prerequisite = { focus = HUJ_yubeilianlunzhan } + prerequisite = { + focus = HUJ_yubeilianlunzhan + } relative_position_id = HUJ_yubeilianlunzhan ai_will_do = { - factor = 5 + factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -2529,21 +2323,19 @@ focus = { x = 1 y = 1 cost = 5 - prerequisite = { focus = HUJ_shengdixunli } + prerequisite = { + focus = HUJ_shengdixunli + } relative_position_id = HUJ_shengdixunli mutually_exclusive = { focus = HUJ_yubeilianlunzhan } ai_will_do = { - factor = 5 + factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 200 @@ -2561,18 +2353,16 @@ focus = { x = 0 y = 1 cost = 10 - prerequisite = { focus = HUJ_qiutongcunyi } + prerequisite = { + focus = HUJ_qiutongcunyi + } relative_position_id = HUJ_qiutongcunyi ai_will_do = { - factor = 5 + factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { BFL = { @@ -2581,8 +2371,6 @@ focus = { HUJ = { add_ideas = HUJ_idea_lundunmosikejiaoliuxiaozu } - - } } focus = { @@ -2591,18 +2379,17 @@ focus = { x = 4 y = 1 cost = 5 - prerequisite = { focus = HUJ_waijiaoxipai focus = HUJ_hongchawaijiao } + prerequisite = { + focus = HUJ_waijiaoxipai + focus = HUJ_hongchawaijiao + } relative_position_id = HUJ_waijiaoxipai ai_will_do = { - factor = 6 + factor = 6 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 30 @@ -2615,52 +2402,67 @@ focus = { x = -1 y = 1 cost = 10 - prerequisite = { focus = HUJ_jujiaoyazhou } - prerequisite = { focus = HUJ_waijiaoxipai } + prerequisite = { + focus = HUJ_jujiaoyazhou + } + prerequisite = { + focus = HUJ_waijiaoxipai + } relative_position_id = HUJ_jujiaoyazhou ai_will_do = { - factor = 5 + factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 100 custom_effect_tooltip = HUJ_duizhiminzhezuihoutongdie_tt POR = { - if = { - limit = { + if = { + limit = { OR = { - controls_state = 729 + controls_state = 729 controls_state = 321 } - } + } + } + country_event = { + id = HUJ_event.12 + days = 3 } - country_event = { id = HUJ_event.12 days = 3 } } YUW = { - if = { - limit = { + if = { + limit = { OR = { controls_state = 286 controls_state = 741 controls_state = 670 controls_state = 671 } - } + } + } + country_event = { + id = HUJ_event.13 + days = 10 } - country_event = { id = HUJ_event.13 days = 10 } } if = { - limit = { INS = { is_puppet_of = HOL } } - HOL = { country_event = { id = HUJ_event.14 days = 20 } } + limit = { + INS = { + is_puppet_of = HOL + } + } + HOL = { + country_event = { + id = HUJ_event.14 + days = 20 + } + } } - } + } } focus = { id = HUJ_quyuzizhizhidu @@ -2668,22 +2470,19 @@ focus = { x = 0 y = 1 cost = 10 - prerequisite = { focus = HUJ_duizhiminzhezuihoutongdie } + prerequisite = { + focus = HUJ_duizhiminzhezuihoutongdie + } relative_position_id = HUJ_duizhiminzhezuihoutongdie ai_will_do = { - factor = 5 + factor = 5 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = HUJ_quyuzizhizhidu_tt - } } focus = { @@ -2692,17 +2491,19 @@ focus = { x = 1 y = 1 cost = 5 - prerequisite = { focus = HUJ_jujiaoyazhou } + prerequisite = { + focus = HUJ_jujiaoyazhou + } relative_position_id = HUJ_jujiaoyazhou ai_will_do = { - factor = 7 + factor = 7 } available = { DOH = { - OR = { - controls_state = 747 + OR = { + controls_state = 747 any_allied_country = { - controls_state = 747 + controls_state = 747 } } } @@ -2710,16 +2511,17 @@ focus = { bypass = { OR = { has_war_with = DOH - NOT = { country_exists = DOH } - DOH = { has_capitulated = yes } + NOT = { + country_exists = DOH + } + DOH = { + has_capitulated = yes + } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_3 = yes @@ -2731,7 +2533,6 @@ focus = { instant_build = yes } } - } } focus = { @@ -2740,30 +2541,34 @@ focus = { x = -1 y = 2 cost = 3 - prerequisite = { focus = HUJ_donghuanggongluyujianqiaohangxiang } + prerequisite = { + focus = HUJ_donghuanggongluyujianqiaohangxiang + } relative_position_id = HUJ_donghuanggongluyujianqiaohangxiang ai_will_do = { base = 0 modifier = { - DOH = { is_ai = no } + DOH = { + is_ai = no + } add = 5 } modifier = { - DOH = { is_in_faction_with = HUJ } + DOH = { + is_in_faction_with = HUJ + } add = 10 } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 50 - DOH = { country_event = HUJ_event.15 } + DOH = { + country_event = HUJ_event.15 + } } } focus = { @@ -2772,7 +2577,9 @@ focus = { x = 0 y = 1 cost = 5 - prerequisite = { focus = HUJ_donghuanggongluyujianqiaohangxiang } + prerequisite = { + focus = HUJ_donghuanggongluyujianqiaohangxiang + } relative_position_id = HUJ_donghuanggongluyujianqiaohangxiang ai_will_do = { factor = 10 @@ -2780,22 +2587,26 @@ focus = { bypass = { OR = { has_war_with = DOH - NOT = { country_exists = DOH } - DOH = { has_capitulated = yes } + NOT = { + country_exists = DOH + } + DOH = { + has_capitulated = yes + } has_country_flag = HUJ_huangjiazhiyuanjunguantuan_get } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 100 - DOH = { - country_event = { id = HUJ_event.11 days = 15 } + DOH = { + country_event = { + id = HUJ_event.11 + days = 15 + } } } } @@ -2813,15 +2624,10 @@ focus = { factor = 5 } available = { - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_timed_idea = { @@ -2830,8 +2636,6 @@ focus = { } } } - - focus = { id = HUJ_jixuyihuizhi icon = GFX_goal_tfv_strengthen_commonwealth_ties @@ -2844,7 +2648,11 @@ focus = { } } cost = 10 - mutually_exclusive = { focus = HUJ_weicengshexiangdedaolu focus = HUJ_daposhufu focus = HUJ_zhuanzhuyuzhimindishiwu } + mutually_exclusive = { + focus = HUJ_weicengshexiangdedaolu + focus = HUJ_daposhufu + focus = HUJ_zhuanzhuyuzhimindishiwu + } ai_will_do = { factor = 5 modifier = { @@ -2852,16 +2660,12 @@ focus = { add = 10 } } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_political_power = 100 add_stability = 0.1 @@ -2879,28 +2683,28 @@ focus = { x = 2 } cost = 5 - prerequisite = { focus = HUJ_jixuyihuizhi } + prerequisite = { + focus = HUJ_jixuyihuizhi + } relative_position_id = HUJ_jixuyihuizhi ai_will_do = { factor = 3 modifier = { - threat > 0.35 - add = 30 + threat > 0.35 + add = 30 } } - - - available = { - if = { limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - threat > 0.35 + available = { + if = { + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + threat > 0.35 } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 100 @@ -2913,25 +2717,21 @@ focus = { x = -1 y = 1 cost = 25 - prerequisite = { focus = HUJ_youyakebushihuaping } + prerequisite = { + focus = HUJ_youyakebushihuaping + } relative_position_id = HUJ_youyakebushihuaping ai_will_do = { factor = 40 } - - - available = { + available = { has_country_leader = { name = "厌战" ruling_only = yes } } - continue_if_invalid = yes available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } select_effect = { country_event = HUJ_event.2 @@ -2989,7 +2789,6 @@ focus = { instant_build = yes } } - } } focus = { @@ -2998,89 +2797,207 @@ focus = { x = 0 y = 1 cost = 15 - prerequisite = { focus = HUJ_guofangjianshe } + prerequisite = { + focus = HUJ_guofangjianshe + } relative_position_id = HUJ_guofangjianshe ai_will_do = { factor = 10 } - - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_unit_leader = { - limit = { has_id = 01002 } + limit = { + has_id = 1002 + } add_skill_level = 1 add_unit_leader_trait = panzer_leader add_unit_leader_trait = cavalry_leader add_unit_leader_trait = skilled_staffer } custom_effect_tooltip = HUJ_huangjiaqishituan_tooltip - if = { - limit = { NOT = { has_idea = TY_dingzhenai } - } - division_template = { - name = "皇家骑士军团" - #is_locked = yes - priority = 2 - 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 } - motorized = { x = 3 y = 0 } - motorized = { x = 3 y = 1 } - motorized = { x = 3 y = 2 } - motorized = { x = 3 y = 3 } - motorized = { x = 4 y = 0 } - motorized = { x = 4 y = 1 } - motorized = { x = 4 y = 2 } - motorized = { x = 4 y = 3 } + if = { + limit = { + NOT = { + has_idea = TY_dingzhenai + } + } + division_template = { + name = "皇家骑士军团" + #is_locked = yes + priority = 2 + 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 + } + motorized = { + x = 3 + y = 0 + } + motorized = { + x = 3 + y = 1 + } + motorized = { + x = 3 + y = 2 + } + motorized = { + x = 3 + y = 3 + } + motorized = { + x = 4 + y = 0 + } + motorized = { + x = 4 + y = 1 + } + motorized = { + x = 4 + y = 2 + } + motorized = { + x = 4 + y = 3 + } + } + support = { + engineer = { + x = 0 + y = 0 + } + light_tank_recon = { + x = 0 + y = 1 + } + medium_flame_tank = { + x = 0 + y = 2 + } + logistics_company = { + x = 0 + y = 3 + } + maintenance_company = { + x = 0 + y = 4 + } + } } - support = { - engineer = { x = 0 y = 0 } - light_tank_recon = { x = 0 y = 1 } - medium_flame_tank = { x = 0 y = 2 } - logistics_company = { x = 0 y = 3 } - maintenance_company = { x = 0 y = 4 } - } } - } - if = { - limit = { has_idea = TY_dingzhenai - } - division_template = { - name = "皇家骑士军团" - #is_locked = yes - priority = 2 - 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 = 0 y = 4 } - motorized = { x = 1 y = 0 } - motorized = { x = 1 y = 1 } - motorized = { x = 1 y = 2 } - motorized = { x = 1 y = 3 } - motorized = { x = 1 y = 4 } + if = { + limit = { + has_idea = TY_dingzhenai + } + division_template = { + name = "皇家骑士军团" + #is_locked = yes + priority = 2 + 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 = 0 + y = 4 + } + motorized = { + x = 1 + y = 0 + } + motorized = { + x = 1 + y = 1 + } + motorized = { + x = 1 + y = 2 + } + motorized = { + x = 1 + y = 3 + } + motorized = { + x = 1 + y = 4 + } + } + support = { + engineer = { + x = 0 + y = 0 + } + recon = { + x = 0 + y = 1 + } + anti_air = { + x = 0 + y = 2 + } + logistics_company = { + x = 0 + y = 3 + } + artillery = { + x = 0 + y = 4 + } + } + } } - support = { - engineer = { x = 0 y = 0 } - recon = { x = 0 y = 1 } - anti_air = { x = 0 y = 2 } - logistics_company = { x = 0 y = 3 } - artillery = { x = 0 y = 4 } - } - } - } hidden_effect = { capital_scope = { create_unit = { @@ -3141,32 +3058,27 @@ focus = { x = 1 y = 1 cost = 20 - prerequisite = { focus = HUJ_youyakebushihuaping } + prerequisite = { + focus = HUJ_youyakebushihuaping + } relative_position_id = HUJ_youyakebushihuaping ai_will_do = { factor = 10 } - - - available = { + available = { has_country_leader = { name = "贝尔法斯特" ruling_only = yes } } - continue_if_invalid = yes available_if_capitulated = no bypass = { has_completed_focus = HUJ_nvwangrongguang } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_political_power = 500 - + add_political_power = 500 swap_ideas = { remove_idea = HUJ_yilishabainvwang add_idea = HUJ_yilishabainvwang_xianming @@ -3179,18 +3091,18 @@ focus = { x = 0 y = 1 cost = 5 - prerequisite = { focus = HUJ_tiaojiaonvwang } + prerequisite = { + focus = HUJ_tiaojiaonvwang + } relative_position_id = HUJ_tiaojiaonvwang ai_will_do = { factor = 10 } - - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_ideas = { HUJ_qjjy } + add_ideas = { + HUJ_qjjy + } } } focus = { @@ -3199,7 +3111,10 @@ focus = { x = -2 y = 5 cost = 10 - prerequisite = { focus = HUJ_jiaruneigeyihui focus = HUJ_jixuyihuizhi } + prerequisite = { + focus = HUJ_jiaruneigeyihui + focus = HUJ_jixuyihuizhi + } relative_position_id = HUJ_jixuyihuizhi mutually_exclusive = { focus = HUJ_waijiaoxipai @@ -3209,18 +3124,14 @@ focus = { modifier = { date > 1937.1.1 add = 10 - } + } } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_political_power = 100 add_tech_bonus = { @@ -3243,18 +3154,17 @@ focus = { x = -4 y = 1 cost = 5 - prerequisite = { focus = HUJ_waijiaoxipai focus = HUJ_hongchawaijiao } + prerequisite = { + focus = HUJ_waijiaoxipai + focus = HUJ_hongchawaijiao + } relative_position_id = HUJ_hongchawaijiao ai_will_do = { - factor = 15 + factor = 15 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 30 @@ -3267,9 +3177,10 @@ focus = { x = 1 y = 1 cost = 5 - prerequisite = { focus = HUJ_shouhujiayuandeanquan } - - allow_branch = { + prerequisite = { + focus = HUJ_shouhujiayuandeanquan + } + allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } relative_position_id = HUJ_shouhujiayuandeanquan @@ -3279,31 +3190,34 @@ focus = { add = 10 OR = { date > 1939.1.1 - TIX = { has_war = yes } - SAD = { has_war = yes } + TIX = { + has_war = yes + } + SAD = { + has_war = yes + } } } } - - - available = { - and = { - controls_state = 446 - controls_state = 453 + available = { + AND = { + controls_state = 446 + controls_state = 453 } } bypass = { AND = { - NOT = { controls_state = 446 } - NOT = { controls_state = 453 } + NOT = { + controls_state = 446 + } + NOT = { + controls_state = 453 + } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 446 = { @@ -3311,7 +3225,6 @@ focus = { type = infrastructure level = 2 instant_build = yes - } add_building_construction = { type = bunker @@ -3319,7 +3232,6 @@ focus = { instant_build = yes province = 4073 } - add_building_construction = { type = bunker level = 4 @@ -3334,7 +3246,6 @@ focus = { instant_build = yes province = 9947 } - add_building_construction = { type = bunker level = 2 @@ -3350,43 +3261,47 @@ focus = { x = 0 y = 1 cost = 5 - prerequisite = { focus = HUJ_baohuyunhe } - + prerequisite = { + focus = HUJ_baohuyunhe + } relative_position_id = HUJ_baohuyunhe ai_will_do = { factor = 0 modifier = { - date > 1940.6.1 - add = 20 + date > 1940.6.1 + add = 20 } } - - - available = { + available = { country_exists = GRE - or = { - SAD = {is_in_faction_with = TIX} - SAD = {is_in_faction_with = YUW} - SAD = { has_added_tension_amount > 20} + OR = { + SAD = { + is_in_faction_with = TIX + } + SAD = { + is_in_faction_with = YUW + } + SAD = { + has_added_tension_amount > 20 + } } } bypass = { OR = { - GRE = { - OR = { - has_capitulated = yes - is_subject = yes + GRE = { + OR = { + has_capitulated = yes + is_subject = yes + } + } + NOT = { + country_exists = GRE } - } - NOT = { country_exists = GRE } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { set_autonomy = { @@ -3396,7 +3311,6 @@ focus = { GRE = { navy_experience = 50 add_war_support = 0.15 - } } } @@ -3406,31 +3320,25 @@ focus = { x = 0 y = 1 cost = 5 - prerequisite = { focus = HUJ_lianhexila } - + prerequisite = { + focus = HUJ_lianhexila + } relative_position_id = HUJ_lianhexila ai_will_do = { factor = 100 - } - - - available = { - or = { - if = { - controls_state = 446 - controls_state = 447 - } - has_war_with = SAD + available = { + OR = { + AND = { + controls_state = 446 + controls_state = 447 + } + has_war_with = SAD } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_zkdzh @@ -3442,24 +3350,30 @@ focus = { x = -1 y = 1 cost = 2 - prerequisite = { focus = HUJ_shouhujiayuandeanquan } - allow_branch = { + prerequisite = { + focus = HUJ_shouhujiayuandeanquan + } + allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } relative_position_id = HUJ_shouhujiayuandeanquan ai_will_do = { factor = 25 } - - available = { - or = { - not = {country_exists = DEN} - DEN = {has_capitulated = yes} - DEN = { is_subject = yes } + OR = { + NOT = { + country_exists = DEN + } + DEN = { + has_capitulated = yes + } + DEN = { + is_subject = yes + } } } - bypass = { + bypass = { DEN = { OR = { NOT = { @@ -3467,17 +3381,12 @@ focus = { has_full_control_of_state = 337 has_full_control_of_state = 101 } - } - } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { transfer_state = 337 @@ -3490,43 +3399,39 @@ focus = { x = 0 y = 1 cost = 2 - prerequisite = { focus = HUJ_jieguandanmaizhimindi } - + prerequisite = { + focus = HUJ_jieguandanmaizhimindi + } relative_position_id = HUJ_jieguandanmaizhimindi ai_will_do = { factor = 20 modifier = { - is_historical_focus_on = yes - factor = 0 + is_historical_focus_on = yes + factor = 0 } } - - available = { threat > 0.8 has_war_support > 0.9 has_war_with = TIX } - bypass = { + bypass = { OR = { SWE = { OR = { NOT = { has_full_control_of_state = 138 } - } - } - NOT = { country_exists = SWE } + NOT = { + country_exists = SWE + } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { transfer_state = 138 @@ -3541,21 +3446,16 @@ focus = { x = 0 y = 1 cost = 10 - prerequisite = { focus = HUJ_xiangbeiouzujiegangkou } - + prerequisite = { + focus = HUJ_xiangbeiouzujiegangkou + } relative_position_id = HUJ_xiangbeiouzujiegangkou ai_will_do = { factor = 100 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_yztx @@ -3573,27 +3473,30 @@ focus = { x = 2 } cost = 3 - prerequisite = { focus = HUJ_hongchawaijiao } - + prerequisite = { + focus = HUJ_hongchawaijiao + } relative_position_id = HUJ_hongchawaijiao ai_will_do = { factor = 3 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - - add_offsite_building = { type = industrial_complex level = 2 } - add_offsite_building = { type = arms_factory level = 1 } - add_offsite_building = { type = dockyard level = 2 } + add_offsite_building = { + type = industrial_complex + level = 2 + } + add_offsite_building = { + type = arms_factory + level = 1 + } + add_offsite_building = { + type = dockyard + level = 2 + } YUW = { add_tech_bonus = { name = "皇家的帮助" @@ -3616,20 +3519,16 @@ focus = { x = 2 } cost = 10 - prerequisite = { focus = HUJ_hongchawaijiao } + prerequisite = { + focus = HUJ_hongchawaijiao + } relative_position_id = HUJ_hongchawaijiao ai_will_do = { factor = 3 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -3639,8 +3538,14 @@ focus = { category = industry } BYG = { - add_offsite_building = { type = industrial_complex level = 1 } - add_offsite_building = { type = dockyard level = 2 } + add_offsite_building = { + type = industrial_complex + level = 1 + } + add_offsite_building = { + type = dockyard + level = 2 + } } } } @@ -3650,57 +3555,63 @@ focus = { x = -1 y = 1 cost = 3 - prerequisite = { focus = HUJ_nvwangrongguang } + prerequisite = { + focus = HUJ_nvwangrongguang + } relative_position_id = HUJ_nvwangrongguang - mutually_exclusive = { focus = HUJ_xiangtiexueshihao } + mutually_exclusive = { + focus = HUJ_xiangtiexueshihao + } ai_will_do = { factor = 3 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - SAD = { - add_offsite_building = { type = industrial_complex level = 2 } - add_offsite_building = { type = dockyard level = 2 } + add_offsite_building = { + type = industrial_complex + level = 2 + } + add_offsite_building = { + type = dockyard + level = 2 + } } } } focus = { - id = HUJ_xiangtiexueshihao + id = HUJ_xiangtiexueshihao icon = GFX_fflag_TIX x = 1 y = 1 cost = 3 - prerequisite = { focus = HUJ_nvwangrongguang } + prerequisite = { + focus = HUJ_nvwangrongguang + } relative_position_id = HUJ_nvwangrongguang - mutually_exclusive = { focus = HUJ_lianhesading } + mutually_exclusive = { + focus = HUJ_lianhesading + } ai_will_do = { factor = 3 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - TIX = { - add_offsite_building = { type = industrial_complex level = 2 } - add_offsite_building = { type = dockyard level = 2 } + add_offsite_building = { + type = industrial_complex + level = 2 + } + add_offsite_building = { + type = dockyard + level = 2 + } } } } @@ -3710,23 +3621,24 @@ focus = { x = 1 y = 1 cost = 5 - prerequisite = { focus = HUJ_xiangtiexueshihao focus = HUJ_lianhesading } + prerequisite = { + focus = HUJ_xiangtiexueshihao + focus = HUJ_lianhesading + } relative_position_id = HUJ_lianhesading ai_will_do = { factor = 3 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = YUW type = annex_everything expire = 0 } + create_wargoal = { + target = YUW + type = annex_everything + expire = 0 + } } } focus = { @@ -3735,17 +3647,23 @@ focus = { x = -1 y = 1 cost = 5 - prerequisite = { focus = HUJ_bangzhuyuanwei } - prerequisite = { focus = HUJ_biandepengyou } + prerequisite = { + focus = HUJ_bangzhuyuanwei + } + prerequisite = { + focus = HUJ_biandepengyou + } relative_position_id = HUJ_bangzhuyuanwei ai_will_do = { factor = 7 } - - available = { - BYG = { is_in_faction_with = HUJ } - YUW = { is_in_faction_with = HUJ } + BYG = { + is_in_faction_with = HUJ + } + YUW = { + is_in_faction_with = HUJ + } } bypass = { date > 1942.1.1 @@ -3753,26 +3671,30 @@ focus = { cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_to_tech_sharing_group = HUJ_bilanhangxian - YUW = { add_to_tech_sharing_group = HUJ_bilanhangxian } - BYG = { add_to_tech_sharing_group = HUJ_bilanhangxian } + YUW = { + add_to_tech_sharing_group = HUJ_bilanhangxian + } + BYG = { + add_to_tech_sharing_group = HUJ_bilanhangxian + } custom_effect_tooltip = "其他在碧蓝航线阵营内的国家也会加入科研组" every_other_country = { - limit = { + limit = { AND = { - is_in_faction_with = HUJ - NOT = { tag = YUW } - NOT = { tag = BYG } + is_in_faction_with = HUJ + NOT = { + tag = YUW + } + NOT = { + tag = BYG + } } } add_to_tech_sharing_group = HUJ_bilanhangxian } - } } focus = { @@ -3781,49 +3703,47 @@ focus = { x = 1 y = 1 cost = 7 - prerequisite = { focus = HUJ_bilanhangxiankeyanzu } + prerequisite = { + focus = HUJ_bilanhangxiankeyanzu + } relative_position_id = HUJ_bilanhangxiankeyanzu - mutually_exclusive = { focus = HUJ_qixinxieli } + mutually_exclusive = { + focus = HUJ_qixinxieli + } ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_timed_idea = { days = 120 idea = HUJ_hjzdkyz } + add_timed_idea = { + days = 120 + idea = HUJ_hjzdkyz + } add_research_slot = 1 } } - focus = { id = HUJ_qixinxieli icon = GFX_focus_research2 x = -1 y = 1 cost = 7 - prerequisite = { focus = HUJ_bilanhangxiankeyanzu } + prerequisite = { + focus = HUJ_bilanhangxiankeyanzu + } relative_position_id = HUJ_bilanhangxiankeyanzu - mutually_exclusive = { focus = HUJ_zhudaokeyanxiaozu } + mutually_exclusive = { + focus = HUJ_zhudaokeyanxiaozu + } ai_will_do = { factor = 1 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_xsjl @@ -3836,24 +3756,24 @@ focus = { y = 0 cost = 5 relative_position_id = HUJ_jixuyihuizhi - mutually_exclusive = { focus = HUJ_weicengshexiangdedaolu focus = HUJ_jixuyihuizhi focus = HUJ_zhuanzhuyuzhimindishiwu } - + mutually_exclusive = { + focus = HUJ_weicengshexiangdedaolu + focus = HUJ_jixuyihuizhi + focus = HUJ_zhuanzhuyuzhimindishiwu + } ai_will_do = { factor = 0 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 - add_popularity = { ideology = democratic popularity = -0.15 } + add_popularity = { + ideology = democratic + popularity = -0.15 + } } } focus = { @@ -3863,37 +3783,37 @@ focus = { y = 2 cost = 3 relative_position_id = HUJ_daposhufu - prerequisite = { focus = HUJ_daposhufu } - - + prerequisite = { + focus = HUJ_daposhufu + } ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - set_party_name = { + set_party_name = { ideology = fascism long_name = "女王护卫军" - name = "女王护卫军" + name = "女王护卫军" } show_ideas_tooltip = yanzhan add_trait = { character = HUJ_yanzhan slot = navy_chief trait = trait_yanzhan_nvwanghuweijun - } + } add_ideas = HUJ_nwhwj - add_popularity = { ideology = fascism popularity = 0.15 } - add_popularity = { ideology = democratic popularity = -0.1 } + add_popularity = { + ideology = fascism + popularity = 0.15 + } + add_popularity = { + ideology = democratic + popularity = -0.1 + } } } focus = { @@ -3903,29 +3823,22 @@ focus = { y = 1 cost = 3 relative_position_id = HUJ_daposhufu - prerequisite = { focus = HUJ_daposhufu } - - + prerequisite = { + focus = HUJ_daposhufu + } ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { HUJ_yanzhan = { - set_portraits = { + set_portraits = { army = { - large="gfx/leaders/HUJ/yanzhangai.png" + large = "gfx/leaders/HUJ/yanzhangai.png" } - } add_skill_level = 2 add_unit_leader_trait = brilliant_strategist @@ -3935,7 +3848,6 @@ focus = { navy_experience = 40 } } - focus = { id = HUJ_junminpingdeng icon = GFX_focus_generic_diplomatic_treaty @@ -3943,26 +3855,28 @@ focus = { y = 2 cost = 7 relative_position_id = HUJ_nvwanghuweijun - prerequisite = { focus = HUJ_nvwanghuweijun } - prerequisite = { focus = HUJ_nvwangqinzheng } - mutually_exclusive = { focus = HUJ_wangquanzhizun } - + prerequisite = { + focus = HUJ_nvwanghuweijun + } + prerequisite = { + focus = HUJ_nvwangqinzheng + } + mutually_exclusive = { + focus = HUJ_wangquanzhizun + } ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_yilishabainvwang_nwdbw - add_popularity = { ideology = fascism popularity = 0.15 } + add_popularity = { + ideology = fascism + popularity = 0.15 + } } } focus = { @@ -3972,22 +3886,18 @@ focus = { y = 1 cost = 7 relative_position_id = HUJ_junminpingdeng - prerequisite = { focus = HUJ_junminpingdeng } - + prerequisite = { + focus = HUJ_junminpingdeng + } ai_will_do = { factor = 10 } - - - available = { + available = { fascism > 0.6 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_country_leader_role = { @@ -4018,27 +3928,28 @@ focus = { y = 2 cost = 7 relative_position_id = HUJ_zhongyonghuangshi - prerequisite = { focus = HUJ_zhongyonghuangshi } - prerequisite = { focus = HUJ_nvwangqinzheng } - mutually_exclusive = { focus = HUJ_junminpingdeng } - + prerequisite = { + focus = HUJ_zhongyonghuangshi + } + prerequisite = { + focus = HUJ_nvwangqinzheng + } + mutually_exclusive = { + focus = HUJ_junminpingdeng + } ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_yilishabainvwang_zszt - add_popularity = { ideology = neutrality popularity = 0.15 } - + add_popularity = { + ideology = neutrality + popularity = 0.15 + } } } focus = { @@ -4048,26 +3959,18 @@ focus = { y = 1 cost = 7 relative_position_id = HUJ_wangquanzhizun - prerequisite = { focus = HUJ_wangquanzhizun } - - + prerequisite = { + focus = HUJ_wangquanzhizun + } ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_wglc - - } } focus = { @@ -4077,32 +3980,34 @@ focus = { y = 2 cost = 10 relative_position_id = HUJ_daposhufu - prerequisite = { focus = HUJ_daposhufu } - + prerequisite = { + focus = HUJ_daposhufu + } ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_unit_leader = { - limit = { has_id = 01002 } + limit = { + has_id = 1002 + } add_planning = 1 add_logistics = 1 add_unit_leader_trait = politically_connected } - add_political_power = 50 - add_popularity = { ideology = neutrality popularity = 0.15 } - add_popularity = { ideology = democratic popularity = -0.1 } + add_popularity = { + ideology = neutrality + popularity = 0.15 + } + add_popularity = { + ideology = democratic + popularity = -0.1 + } } } focus = { @@ -4112,20 +4017,15 @@ focus = { y = 1 cost = 7 relative_position_id = HUJ_daposhufu - prerequisite = { focus = HUJ_daposhufu } - + prerequisite = { + focus = HUJ_daposhufu + } ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_hsjg @@ -4137,20 +4037,12 @@ focus = { x = 26 y = 0 cost = 5 - - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { air_experience = 80 @@ -4160,52 +4052,45 @@ focus = { id = HUJ_zhandoujiyanfa icon = GFX_goal_generic_air_fighter relative_position_id = HUJ_tiankongqishi - prerequisite = { focus = HUJ_tiankongqishi } - - + prerequisite = { + focus = HUJ_tiankongqishi + } x = -1 y = 1 cost = 10 - - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - - if = { + if = { limit = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "战斗机研发" - bonus = 1 - uses = 2 - category = air_equipment - } + name = "战斗机研发" + bonus = 1 + uses = 2 + category = air_equipment + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "战斗机研发" - bonus = 1 - uses = 2 - category = light_fighter - category = cat_heavy_fighter - category = naval_air - } + name = "战斗机研发" + bonus = 1 + uses = 2 + category = light_fighter + category = cat_heavy_fighter + category = naval_air + } } } } @@ -4215,23 +4100,19 @@ focus = { x = -1 y = 1 relative_position_id = HUJ_zhandoujiyanfa - prerequisite = { focus = HUJ_zhandoujiyanfa } - mutually_exclusive = { focus = HUJ_qishidezhize } + prerequisite = { + focus = HUJ_zhandoujiyanfa + } + mutually_exclusive = { + focus = HUJ_qishidezhize + } cost = 10 - - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { air_experience = 30 @@ -4240,32 +4121,33 @@ focus = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "正义的决斗" - bonus = 1.5 - uses = 1 - category = light_air - ahead_reduction = 2 - } - add_tech_bonus = { - name = "正义的决斗" - bonus = 1 - uses = 1 - category = plane_modules_tech - } + name = "正义的决斗" + bonus = 1.5 + uses = 1 + category = light_air + ahead_reduction = 2 + } + add_tech_bonus = { + name = "正义的决斗" + bonus = 1 + uses = 1 + category = plane_modules_tech + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "正义的决斗" - bonus = 2 - uses = 1 - category = light_fighter - ahead_reduction = 2 - } + name = "正义的决斗" + bonus = 2 + uses = 1 + category = light_fighter + ahead_reduction = 2 + } } - } } focus = { @@ -4274,23 +4156,19 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_zhandoujiyanfa - prerequisite = { focus = HUJ_zhandoujiyanfa } - mutually_exclusive = { focus = HUJ_zhengyidejuedou } + prerequisite = { + focus = HUJ_zhandoujiyanfa + } + mutually_exclusive = { + focus = HUJ_zhengyidejuedou + } cost = 10 - - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { air_experience = 30 @@ -4299,32 +4177,33 @@ focus = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "骑士的职责" - bonus = 1.5 - uses = 1 - category = medium_air - ahead_reduction = 2 - } - add_tech_bonus = { - name = "骑士的职责" - bonus = 1 - uses = 1 - category = plane_modules_tech - } + name = "骑士的职责" + bonus = 1.5 + uses = 1 + category = medium_air + ahead_reduction = 2 + } + add_tech_bonus = { + name = "骑士的职责" + bonus = 1 + uses = 1 + category = plane_modules_tech + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "骑士的职责" - bonus = 2 - uses = 1 - category = cat_heavy_fighter - ahead_reduction = 2 - } + name = "骑士的职责" + bonus = 2 + uses = 1 + category = cat_heavy_fighter + ahead_reduction = 2 + } } - } } focus = { @@ -4333,22 +4212,16 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_tiankongqishi - prerequisite = { focus = HUJ_tiankongqishi } + prerequisite = { + focus = HUJ_tiankongqishi + } cost = 10 - - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { air_experience = 50 @@ -4357,38 +4230,40 @@ focus = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "天空骑士" - bonus = 1.5 - uses = 1 - category = medium_air - ahead_reduction = 2 - } + name = "天空骑士" + bonus = 1.5 + uses = 1 + category = medium_air + ahead_reduction = 2 + } add_tech_bonus = { - name = "天空骑士" - bonus = 1.5 - uses = 1 - category = heavy_air - ahead_reduction = 2 - } + name = "天空骑士" + bonus = 1.5 + uses = 1 + category = heavy_air + ahead_reduction = 2 + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "天空骑士" - bonus = 1.5 - uses = 1 - category = tactical_bomber - ahead_reduction = 2 - } - add_tech_bonus = { - name = "天空骑士" - bonus = 1.5 - uses = 1 - category = cat_strategic_bomber - ahead_reduction = 2 - } + name = "天空骑士" + bonus = 1.5 + uses = 1 + category = tactical_bomber + ahead_reduction = 2 + } + add_tech_bonus = { + name = "天空骑士" + bonus = 1.5 + uses = 1 + category = cat_strategic_bomber + ahead_reduction = 2 + } } } } @@ -4398,22 +4273,16 @@ focus = { x = 1 y = 1 relative_position_id = HUJ_dabingbao - prerequisite = { focus = HUJ_dabingbao } + prerequisite = { + focus = HUJ_dabingbao + } cost = 7 - - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { air_experience = 25 @@ -4423,7 +4292,6 @@ focus = { uses = 2 category = strategic_destruction_tree } - } } focus = { @@ -4432,30 +4300,26 @@ focus = { x = 2 y = 1 relative_position_id = HUJ_zhengyidejuedou - prerequisite = { focus = HUJ_zhengyidejuedou focus = HUJ_qishidezhize} - prerequisite = { focus = HUJ_hongzhaxueshuo } + prerequisite = { + focus = HUJ_zhengyidejuedou + focus = HUJ_qishidezhize + } + prerequisite = { + focus = HUJ_hongzhaxueshuo + } cost = 10 - - ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_kongjunliluntupo = yes add_ideas = HUJ_hjly } } - focus = { id = HUJ_zhunbeibukebimianzhizhan icon = GFX_goal_generic_defence @@ -4482,47 +4346,56 @@ focus = { add_ideas = ENG_prepare_for_the_inevitable_idea } } - focus = { id = HUJ_oulubaquanjueqi icon = GFX_aflag_TIX x = -2 y = 1 - prerequisite = { focus = HUJ_zhunbeibukebimianzhizhan } + prerequisite = { + focus = HUJ_zhunbeibukebimianzhizhan + } relative_position_id = HUJ_zhunbeibukebimianzhizhan - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } continue_if_invalid = yes available = { - or = { - TIX = {has_added_tension_amount > 15} - TIX = {has_completed_focus = TIX_difangxifang} + OR = { + TIX = { + has_added_tension_amount > 15 + } + TIX = { + has_completed_focus = TIX_difangxifang + } + } + TIX = { + NOT = { + has_completed_focus = TIX_fanduibisimai + } } - TIX = {not = {has_completed_focus = TIX_fanduibisimai} } } cost = 2 - ai_will_do = { factor = 100 } completion_reward = { - add_war_support = 0.2 } } - focus = { id = HUJ_fangdumianjufaan icon = GFX_focus_generic_commonwealth_build_infantry x = -1 y = 1 - prerequisite = { focus = HUJ_oulubaquanjueqi } + prerequisite = { + focus = HUJ_oulubaquanjueqi + } relative_position_id = HUJ_oulubaquanjueqi continue_if_invalid = yes available = { is_puppet = no } cost = 2 - ai_will_do = { factor = 100 } @@ -4531,32 +4404,39 @@ focus = { add_war_support = 0.2 } } - focus = { id = HUJ_heiandeyitian icon = GFX_focus_CZE_german_puppet x = -3 y = 0 - prerequisite = { focus = HUJ_fangdumianjufaan } + prerequisite = { + focus = HUJ_fangdumianjufaan + } relative_position_id = HUJ_bentufangyu continue_if_invalid = yes available = { is_puppet = no - or = { - TIX = {has_added_tension_amount > 30} - TIX = {has_completed_focus = TIX_jiekesiluofakedemingyun} + OR = { + TIX = { + has_added_tension_amount > 30 + } + TIX = { + has_completed_focus = TIX_jiekesiluofakedemingyun + } } } cost = 5 bypass = { - or = { - TIX = {has_completed_focus = TIX_shandongzhanzheng} - not = { - has_country_leader = { - name = "威尔士亲王" - ruling_only = yes - } - } + OR = { + TIX = { + has_completed_focus = TIX_shandongzhanzheng + } + NOT = { + has_country_leader = { + name = "威尔士亲王" + ruling_only = yes + } + } } } ai_will_do = { @@ -4566,202 +4446,271 @@ focus = { country_event = az_tianjiang.48 } } - focus = { id = HUJ_tunbingaierlan icon = GFX_focus_generic_military_dictatorship x = -1 y = 1 - prerequisite = { focus = HUJ_heiandeyitian } - prerequisite = { focus = HUJ_bentufangyu } + prerequisite = { + focus = HUJ_heiandeyitian + } + prerequisite = { + focus = HUJ_bentufangyu + } relative_position_id = HUJ_heiandeyitian continue_if_invalid = yes - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } available = { is_puppet = no threat > 0.3 } cost = 5 bypass = { - not = {country_exists = IRE} + NOT = { + country_exists = IRE + } } ai_will_do = { factor = 100 } completion_reward = { IRE = { - country_event = az_tianjiang.44 + country_event = az_tianjiang.44 } every_state = { - limit = { - is_core_of = IRE - } - add_core_of = HUJ + limit = { + is_core_of = IRE + } + add_core_of = HUJ } } } - focus = { id = HUJ_chongshenjiumengyue icon = GFX_focus_generic_befriend_portugal x = -2 y = 1 - prerequisite = { focus = HUJ_heiandeyitian focus = HUJ_bentufangyu} + prerequisite = { + focus = HUJ_heiandeyitian + focus = HUJ_bentufangyu + } relative_position_id = HUJ_bentufangyu continue_if_invalid = yes available = { is_puppet = no has_global_flag = scw_over - or = { - threat > 0.3 - has_war_with = TIX + OR = { + threat > 0.3 + has_war_with = TIX } } cost = 5 bypass = { OR = { - POR = { - OR = { - has_capitulated = yes - is_subject = yes + POR = { + OR = { + has_capitulated = yes + is_subject = yes + } + } + NOT = { + country_exists = POR } - } - not = {country_exists = POR } } } ai_will_do = { factor = 20 modifier = { - or = { - is_historical_focus_on = yes - TIX = { - not = { has_government = fascism } - } - } - factor = 0 + OR = { + is_historical_focus_on = yes + TIX = { + NOT = { + has_government = fascism + } + } + } + factor = 0 } modifier = { - TIX = { is_ai = no } - add = 10 + TIX = { + is_ai = no + } + add = 10 } } completion_reward = { custom_effect_tooltip = huj_tianjiang_yibiliya POR = { - country_event = az_tianjiang.45 + country_event = az_tianjiang.45 } every_country = { - limit = { - original_tag = SPR - owns_state = 41 - not = {has_government = communism} - not = {has_government = democratic} - not = { is_in_faction_with = TIX } - not = { has_war_with = TIX } - OR = { - has_capitulated = no - is_subject = no + limit = { + original_tag = SPR + owns_state = 41 + NOT = { + has_government = communism + } + NOT = { + has_government = democratic + } + NOT = { + is_in_faction_with = TIX + } + NOT = { + has_war_with = TIX + } + OR = { + has_capitulated = no + is_subject = no + } + } + country_event = { + id = az_tianjiang.46 + days = 2 } - } - country_event = { id = az_tianjiang.46 days = 2} } } } - focus = { id = HUJ_bentufangyu icon = GFX_focus_generic_home_defense x = 2 y = 1 - prerequisite = { focus = HUJ_fangdumianjufaan focus = HUJ_baohuzhongdongxiaoguo} - prerequisite = { focus = HUJ_chongzhenghuangjialujun } - mutually_exclusive = { focus = HUJ_quanqiufangwei } + prerequisite = { + focus = HUJ_fangdumianjufaan + focus = HUJ_baohuzhongdongxiaoguo + } + prerequisite = { + focus = HUJ_chongzhenghuangjialujun + } + mutually_exclusive = { + focus = HUJ_quanqiufangwei + } relative_position_id = HUJ_fangdumianjufaan continue_if_invalid = yes available = { is_puppet = no - or = { - TIX = {has_added_tension_amount > 30} - BFL = {has_added_tension_amount > 30} - TIX = {has_completed_focus = TIX_jiekesiluofakedemingyun} - TIX = {has_completed_focus = TIX_shandongzhanzheng} - BFL = {has_completed_focus = BFL_xiangxikuozhang } + OR = { + TIX = { + has_added_tension_amount > 30 + } + BFL = { + has_added_tension_amount > 30 + } + TIX = { + has_completed_focus = TIX_jiekesiluofakedemingyun + } + TIX = { + has_completed_focus = TIX_shandongzhanzheng + } + BFL = { + has_completed_focus = BFL_xiangxikuozhang + } } } cost = 5 - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } ai_will_do = { factor = 50 modifier = { - is_historical_focus_on = yes - add = 50 + is_historical_focus_on = yes + add = 50 } } completion_reward = { add_ideas = HUJ_btfy } } - focus = { id = HUJ_quanqiufangwei icon = GFX_focus_eng_global_defense x = 1 y = 1 - prerequisite = { focus = HUJ_fangdumianjufaan focus = HUJ_baohuzhongdongxiaoguo} - prerequisite = { focus = HUJ_chongzhenghuangjialujun } - mutually_exclusive = { focus = HUJ_bentufangyu } + prerequisite = { + focus = HUJ_fangdumianjufaan + focus = HUJ_baohuzhongdongxiaoguo + } + prerequisite = { + focus = HUJ_chongzhenghuangjialujun + } + mutually_exclusive = { + focus = HUJ_bentufangyu + } relative_position_id = HUJ_chongzhenghuangjialujun continue_if_invalid = yes available = { is_puppet = no - or = { - TIX = {has_added_tension_amount > 30} - BFL = {has_added_tension_amount > 30} - TIX = {has_completed_focus = TIX_jiekesiluofakedemingyun} - TIX = {has_completed_focus = TIX_shandongzhanzheng} - BFL = {has_completed_focus = BFL_xiangxikuozhang } + OR = { + TIX = { + has_added_tension_amount > 30 + } + BFL = { + has_added_tension_amount > 30 + } + TIX = { + has_completed_focus = TIX_jiekesiluofakedemingyun + } + TIX = { + has_completed_focus = TIX_shandongzhanzheng + } + BFL = { + has_completed_focus = BFL_xiangxikuozhang + } } } cost = 5 - ai_will_do = { factor = 50 modifier = { - is_historical_focus_on = yes - factor = 0 + is_historical_focus_on = yes + factor = 0 } } completion_reward = { add_ideas = HUJ_qqfw } } - focus = { id = HUJ_jingtichongyingyexin icon = GFX_aflag_CHY x = 1 y = 1 - prerequisite = { focus = HUJ_bentufangyu focus = HUJ_quanqiufangwei} + prerequisite = { + focus = HUJ_bentufangyu + focus = HUJ_quanqiufangwei + } relative_position_id = HUJ_bentufangyu continue_if_invalid = yes - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } available = { is_puppet = no - or = { - threat > 0.3 - CHY = { has_added_tension_amount > 20 } + OR = { + threat > 0.3 + CHY = { + has_added_tension_amount > 20 + } } } cost = 5 bypass = { OR = { - RAJ = { - OR = { - has_capitulated = yes - not = {is_subject_of = HUJ} + RAJ = { + OR = { + has_capitulated = yes + NOT = { + is_subject_of = HUJ + } + } + } + NOT = { + country_exists = RAJ } - } - not = {country_exists = RAJ } } } ai_will_do = { @@ -4770,9 +4719,9 @@ focus = { completion_reward = { custom_effect_tooltip = HUJ_tianjiang_jingtichongying hidden_effect = { - RAJ = { - load_oob = HUJ_jingtichongyingyexin - } + RAJ = { + load_oob = HUJ_jingtichongyingyexin + } } } } @@ -4781,24 +4730,31 @@ focus = { icon = GFX_focus_EST_national_pride_in_finland x = 2 y = 1 - prerequisite = { focus = HUJ_quanqiufangwei focus = HUJ_lianhetuerqi} + prerequisite = { + focus = HUJ_quanqiufangwei + focus = HUJ_lianhetuerqi + } relative_position_id = HUJ_quanqiufangwei continue_if_invalid = yes available = { is_puppet = no threat > 0.3 - FIN = {has_war_with = BFL} + FIN = { + has_war_with = BFL + } } cost = 2 bypass = { OR = { - FIN = { - OR = { - has_capitulated = yes - is_subject = yes + FIN = { + OR = { + has_capitulated = yes + is_subject = yes + } + } + NOT = { + country_exists = FIN } - } - not = {country_exists = FIN } } } ai_will_do = { @@ -4806,56 +4762,67 @@ focus = { } completion_reward = { BFL = { - country_event = az_tianjiang.49 + country_event = az_tianjiang.49 } } } - focus = { id = HUJ_baohuboluosanguo icon = GFX_focus_SOV_baltic_security x = 1 y = 1 - prerequisite = { focus = HUJ_quanqiufangwei } - prerequisite = { focus = HUJ_lianhetuerqi} + prerequisite = { + focus = HUJ_quanqiufangwei + } + prerequisite = { + focus = HUJ_lianhetuerqi + } relative_position_id = HUJ_lianhetuerqi continue_if_invalid = yes available = { is_puppet = no - or = { - threat > 0.5 - BFL = {has_added_tension_amount > 40 } - has_war_with = BFL + OR = { + threat > 0.5 + BFL = { + has_added_tension_amount > 40 + } + has_war_with = BFL } } cost = 3 bypass = { OR = { - EST = { - OR = { - has_capitulated = yes - is_subject = yes + EST = { + OR = { + has_capitulated = yes + is_subject = yes + } + } + NOT = { + country_exists = EST } - } - not = {country_exists = EST } } OR = { - LAT = { - OR = { - has_capitulated = yes - is_subject = yes + LAT = { + OR = { + has_capitulated = yes + is_subject = yes + } + } + NOT = { + country_exists = LAT } - } - NOT = { country_exists = LAT } } OR = { - LIT = { - OR = { - has_capitulated = yes - is_subject = yes + LIT = { + OR = { + has_capitulated = yes + is_subject = yes + } + } + NOT = { + country_exists = LIT } - } - NOT = { country_exists = LIT } } } ai_will_do = { @@ -4863,77 +4830,84 @@ focus = { } completion_reward = { if = { - limit = { - OR = { - EST = { - OR = { - has_capitulated = no - is_subject = no + limit = { + OR = { + EST = { + OR = { + has_capitulated = no + is_subject = no + } + } + country_exists = EST + } } + give_guarantee = EST } - country_exists = EST - } - } - give_guarantee = EST - } - if = { - limit = { - OR = { - LAT = { - OR = { - has_capitulated = no - is_subject = no + limit = { + OR = { + LAT = { + OR = { + has_capitulated = no + is_subject = no + } + } + NOT = { + country_exists = LAT + } + } } + give_guarantee = LAT } - NOT = { country_exists = LAT } - } - } - give_guarantee = LAT - } - if = { - limit = { - OR = { - LIT = { - OR = { - has_capitulated = no - is_subject = no + limit = { + OR = { + LIT = { + OR = { + has_capitulated = no + is_subject = no + } + } + country_exists = LIT + } } - } - country_exists = LIT - } - } - give_guarantee = LIT + give_guarantee = LIT } } } - focus = { id = HUJ_lianhetuerqi icon = GFX_focus_generic_befriend_turkey x = 1 y = 1 - prerequisite = {focus = HUJ_baohuzhongdongxiaoguo} + prerequisite = { + focus = HUJ_baohuzhongdongxiaoguo + } relative_position_id = HUJ_baohuzhongdongxiaoguo continue_if_invalid = yes available = { is_puppet = no - or = { - BFL = {has_added_tension_amount > 30} - BFL = {has_completed_focus = BFL_xiangxikuozhang } + OR = { + BFL = { + has_added_tension_amount > 30 + } + BFL = { + has_completed_focus = BFL_xiangxikuozhang + } } } cost = 5 bypass = { OR = { - TUR = { - OR = { - has_capitulated = yes - is_subject = yes + TUR = { + OR = { + has_capitulated = yes + is_subject = yes + } + } + NOT = { + country_exists = TUR } - } - not = {country_exists = TUR } } } ai_will_do = { @@ -4946,28 +4920,46 @@ focus = { } } } - focus = { id = HUJ_shuyuwomenshidaideheping icon = GFX_fflag_HUJ x = 0 y = 1 - prerequisite = {focus = HUJ_jingtichongyingyexin focus = HUJ_tunbingaierlan focus = HUJ_chongshenjiumengyue focus = HUJ_zhiyuanfenlan focus = HUJ_baohuboluosanguo} + prerequisite = { + focus = HUJ_jingtichongyingyexin + focus = HUJ_tunbingaierlan + focus = HUJ_chongshenjiumengyue + focus = HUJ_zhiyuanfenlan + focus = HUJ_baohuboluosanguo + } relative_position_id = HUJ_jingtichongyingyexin available = { is_puppet = no has_war = no threat < 0.2 - TIX = {has_war = no} - YUW = {has_war = no} - SAD = {has_war = no} - BFL = {has_war = no} - CHY = {has_war = no} - DOH = {has_war = no} - BYG = {has_war = no} + TIX = { + has_war = no + } + YUW = { + has_war = no + } + SAD = { + has_war = no + } + BFL = { + has_war = no + } + CHY = { + has_war = no + } + DOH = { + has_war = no + } + BYG = { + has_war = no + } } cost = 10 - ai_will_do = { factor = 100 } @@ -4977,20 +4969,21 @@ focus = { add_ideas = HUJ_wmsddhp } } - focus = { id = HUJ_chongzhenghuangjialujun icon = GFX_focus_generic_little_entente x = 0 y = 2 - prerequisite = { focus = HUJ_yishixingtaisudi focus = HUJ_oulubaquanjueqi } + prerequisite = { + focus = HUJ_yishixingtaisudi + focus = HUJ_oulubaquanjueqi + } relative_position_id = HUJ_zhunbeibukebimianzhizhan continue_if_invalid = yes available = { is_puppet = no } cost = 8 - ai_will_do = { factor = 100 } @@ -5004,108 +4997,114 @@ focus = { army_experience = 100 } } - focus = { id = HUJ_baohuzhongdongxiaoguo icon = GFX_focus_TUR_treaty_of_saadabad x = 1 y = 1 - prerequisite = { focus = HUJ_yishixingtaisudi } + prerequisite = { + focus = HUJ_yishixingtaisudi + } relative_position_id = HUJ_yishixingtaisudi continue_if_invalid = yes available = { is_puppet = no } cost = 5 - ai_will_do = { factor = 100 } completion_reward = { if = { - limit = { - OR = { - YEM = { - OR = { - has_capitulated = no - is_subject = no + limit = { + OR = { + YEM = { + OR = { + has_capitulated = no + is_subject = no + } + } + country_exists = YEM + } + } + set_autonomy = { + target = YEM + autonomy_state = autonomy_dominion } } - country_exists = YEM - } - } - set_autonomy = { - target = YEM - autonomy_state = autonomy_dominion - } - } - if = { - limit = { - OR = { - SAU = { - OR = { - has_capitulated = no - is_subject = no + limit = { + OR = { + SAU = { + OR = { + has_capitulated = no + is_subject = no + } + } + NOT = { + country_exists = SAU + } + } + } + set_autonomy = { + target = SAU + autonomy_state = autonomy_dominion } } - NOT = { country_exists = SAU } - } - } - set_autonomy = { - target = SAU - autonomy_state = autonomy_dominion - } - } - if = { - limit = { - OR = { - IRQ = { - OR = { - has_capitulated = no - is_subject = no + limit = { + OR = { + IRQ = { + OR = { + has_capitulated = no + is_subject = no + } + } + country_exists = IRQ + } + } + set_autonomy = { + target = IRQ + autonomy_state = autonomy_dominion } - } - country_exists = IRQ - } - } - set_autonomy = { - target = IRQ - autonomy_state = autonomy_dominion - } } } } - focus = { id = HUJ_yishixingtaisudi icon = GFX_aflag_BFL x = 2 y = 1 - prerequisite = { focus = HUJ_zhunbeibukebimianzhizhan } + prerequisite = { + focus = HUJ_zhunbeibukebimianzhizhan + } relative_position_id = HUJ_zhunbeibukebimianzhizhan continue_if_invalid = yes available = { - BFL = {has_government = communism } - BFL = {has_added_tension_amount > 15} - BFL = {not = {has_completed_focus = BFL_yubilanhangxianhezuo} } + BFL = { + has_government = communism + } + BFL = { + has_added_tension_amount > 15 + } + BFL = { + NOT = { + has_completed_focus = BFL_yubilanhangxianhezuo + } + } } cost = 2 - ai_will_do = { factor = 5 modifier = { - has_war_with = TIX - factor = 0 + has_war_with = TIX + factor = 0 } } completion_reward = { - add_war_support = 0.2 } } - focus = { id = HUJ_zhongzhisuijingzhengce icon = GFX_focus_generic_strike_at_democracy1 @@ -5116,19 +5115,29 @@ focus = { available = { is_puppet = no has_government = democratic - or = { - threat > 0.8 - has_war = yes + OR = { + threat > 0.8 + has_war = yes } - or = { - TIX = {has_added_tension_amount > 50} - BFL = {has_added_tension_amount > 50} - YUW = {has_added_tension_amount > 50} - CHY = {has_added_tension_amount > 50} + OR = { + TIX = { + has_added_tension_amount > 50 + } + BFL = { + has_added_tension_amount > 50 + } + YUW = { + has_added_tension_amount > 50 + } + CHY = { + has_added_tension_amount > 50 + } } } cost = 3 - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } @@ -5136,16 +5145,21 @@ focus = { factor = 100 } completion_reward = { - set_rule = { can_send_volunteers = yes } + set_rule = { + can_send_volunteers = yes + } custom_effect_tooltip = ENG_no_further_appeasement_tt add_ideas = ENG_no_further_appeasement_idea hidden_effect = { - set_rule = { can_declare_war_on_same_ideology = yes } - set_rule = { can_puppet = yes } + set_rule = { + can_declare_war_on_same_ideology = yes + } + set_rule = { + can_puppet = yes + } } } } - focus = { id = HUJ_weichioulujunheng icon = GFX_aflag_YUW @@ -5154,15 +5168,19 @@ focus = { relative_position_id = HUJ_zhongzhisuijingzhengce continue_if_invalid = yes will_lead_to_war_with = YUW - mutually_exclusive = {focus = HUJ_zuzhitiexuejueqi} + mutually_exclusive = { + focus = HUJ_zuzhitiexuejueqi + } available = { is_puppet = no has_completed_focus = HUJ_zhongzhisuijingzhengce - or = { - threat > 0.8 - has_war = yes + OR = { + threat > 0.8 + has_war = yes + } + YUW = { + has_added_tension_amount > 50 } - YUW = {has_added_tension_amount > 50} } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang @@ -5175,10 +5193,12 @@ focus = { factor = 100 } completion_reward = { - create_wargoal = { target = YUW type = take_state_focus } + create_wargoal = { + target = YUW + type = take_state_focus + } } } - focus = { id = HUJ_zuzhitiexuejueqi icon = GFX_aflag_TIX @@ -5187,17 +5207,23 @@ focus = { relative_position_id = HUJ_zhongzhisuijingzhengce continue_if_invalid = yes will_lead_to_war_with = TIX - mutually_exclusive = {focus = HUJ_weichioulujunheng} + mutually_exclusive = { + focus = HUJ_weichioulujunheng + } available = { is_puppet = no has_completed_focus = HUJ_zhongzhisuijingzhengce - or = { - threat > 0.8 - has_war = yes + OR = { + threat > 0.8 + has_war = yes + } + TIX = { + has_added_tension_amount > 50 } - TIX = {has_added_tension_amount > 50} } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } @@ -5208,15 +5234,19 @@ focus = { ai_will_do = { factor = 100 modifier = { - YUW = { has_government = fascism } - factor = 0 + YUW = { + has_government = fascism + } + factor = 0 } } completion_reward = { - create_wargoal = { target = TIX type = take_state_focus } + create_wargoal = { + target = TIX + type = take_state_focus + } } } - focus = { id = HUJ_mengjixiongfu icon = GFX_aflag_BFL @@ -5225,15 +5255,19 @@ focus = { relative_position_id = HUJ_weichioulujunheng continue_if_invalid = yes will_lead_to_war_with = BFL - mutually_exclusive = {focus = HUJ_zaiduzhengfu} + mutually_exclusive = { + focus = HUJ_zaiduzhengfu + } available = { is_puppet = no has_completed_focus = HUJ_zhongzhisuijingzhengce - or = { - threat > 0.8 - has_war = yes + OR = { + threat > 0.8 + has_war = yes + } + BFL = { + has_added_tension_amount > 50 } - BFL = {has_added_tension_amount > 50} } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang @@ -5245,18 +5279,22 @@ focus = { ai_will_do = { factor = 3 modifier = { - or = { - has_war_with = TIX - YUW = { has_government = fascism } - } - factor = 0 + OR = { + has_war_with = TIX + YUW = { + has_government = fascism + } + } + factor = 0 } } completion_reward = { - create_wargoal = { target = BFL type = take_state_focus } + create_wargoal = { + target = BFL + type = take_state_focus + } } } - focus = { id = HUJ_zaiduzhengfu icon = GFX_aflag_BYG @@ -5265,15 +5303,19 @@ focus = { relative_position_id = HUJ_zuzhitiexuejueqi continue_if_invalid = yes will_lead_to_war_with = BYG - mutually_exclusive = {focus = HUJ_mengjixiongfu} + mutually_exclusive = { + focus = HUJ_mengjixiongfu + } available = { is_puppet = no has_completed_focus = HUJ_zhongzhisuijingzhengce - or = { - threat > 0.8 - has_war = yes + OR = { + threat > 0.8 + has_war = yes + } + BYG = { + has_added_tension_amount > 50 } - BYG = {has_added_tension_amount > 50} } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang @@ -5286,10 +5328,12 @@ focus = { factor = 0 } completion_reward = { - create_wargoal = { target = BYG type = take_state_focus } + create_wargoal = { + target = BYG + type = take_state_focus + } } } - focus = { id = HUJ_julongjuexing icon = GFX_aflag_DOH @@ -5298,15 +5342,19 @@ focus = { relative_position_id = HUJ_mengjixiongfu continue_if_invalid = yes will_lead_to_war_with = DOH - mutually_exclusive = {focus = HUJ_dongfangsudi} + mutually_exclusive = { + focus = HUJ_dongfangsudi + } available = { is_puppet = no has_completed_focus = HUJ_zhongzhisuijingzhengce - or = { - threat > 0.8 - has_war = yes + OR = { + threat > 0.8 + has_war = yes + } + DOH = { + has_added_tension_amount > 50 } - DOH = {has_added_tension_amount > 50} } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang @@ -5319,10 +5367,12 @@ focus = { factor = 1 } completion_reward = { - create_wargoal = { target = DOH type = take_state_focus } + create_wargoal = { + target = DOH + type = take_state_focus + } } } - focus = { id = HUJ_dongfangsudi icon = GFX_aflag_CHY @@ -5331,15 +5381,19 @@ focus = { relative_position_id = HUJ_zaiduzhengfu continue_if_invalid = yes will_lead_to_war_with = CHY - mutually_exclusive = {focus = HUJ_julongjuexing} + mutually_exclusive = { + focus = HUJ_julongjuexing + } available = { is_puppet = no has_completed_focus = HUJ_zhongzhisuijingzhengce - or = { - threat > 0.8 - has_war = yes + OR = { + threat > 0.8 + has_war = yes + } + CHY = { + has_added_tension_amount > 50 } - CHY = {has_added_tension_amount > 50} } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang @@ -5348,16 +5402,23 @@ focus = { bypass = { has_war_with = CHY } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } ai_will_do = { factor = 2 modifier = { - YUW = {has_government = fascism} - factor = 0 + YUW = { + has_government = fascism + } + factor = 0 } } completion_reward = { - create_wargoal = { target = CHY type = take_state_focus } + create_wargoal = { + target = CHY + type = take_state_focus + } } } focus = { @@ -5374,7 +5435,6 @@ focus = { allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - ai_will_do = { factor = 0 } @@ -5383,7 +5443,6 @@ focus = { #create_wargoal = { target = SIR type = take_state_focus } } } - focus = { id = HUJ_zhuanzhuyuzhimindishiwu icon = GFX_goal_tripartite_pact @@ -5405,7 +5464,6 @@ focus = { allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -100 @@ -5413,52 +5471,58 @@ focus = { add_war_support = 0.2 } } - focus = { id = HUJ_baochichuantong icon = GFX_focus_generic_improve_the_administration x = 3 y = 3 cost = 5 - prerequisite = { focus = HUJ_jixuyihuizhi } + prerequisite = { + focus = HUJ_jixuyihuizhi + } relative_position_id = HUJ_jixuyihuizhi - mutually_exclusive = { focus = HUJ_nvwangqinzheng } + mutually_exclusive = { + focus = HUJ_nvwangqinzheng + } ai_will_do = { factor = 20 } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_political_power = 150 - country_event = { id = az_tianjiang.191 days = 1 } + country_event = { + id = az_tianjiang.191 + days = 1 + } custom_effect_tooltip = huj_mei365dayshuanlingdaoren } } - focus = { id = HUJ_nvwangqinzheng icon = GFX_focus_eng_imperial_federation x = 4 y = 0 cost = 5 - prerequisite = { focus = HUJ_jixuyihuizhi focus = HUJ_nvwanghuweijun focus = HUJ_zhongyonghuangshi } + prerequisite = { + focus = HUJ_jixuyihuizhi + focus = HUJ_nvwanghuweijun + focus = HUJ_zhongyonghuangshi + } relative_position_id = HUJ_baochichuantong - mutually_exclusive = { focus = HUJ_baochichuantong } + mutually_exclusive = { + focus = HUJ_baochichuantong + } ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { news_event = aznews.40 @@ -5470,7 +5534,6 @@ focus = { ruling_party = neutrality } } - add_country_leader_role = { Character = HUJ_yilishabai Promote_leader = yes @@ -5482,17 +5545,22 @@ focus = { } } } - add_popularity = { ideology = neutrality popularity = 0.1 } + add_popularity = { + ideology = neutrality + popularity = 0.1 + } } } - focus = { id = HUJ_kaihuashiming icon = GFX_focus_manjiu x = 0 y = 1 cost = 8 - prerequisite = { focus = HUJ_baochichuantong focus = HUJ_qinzishangzhen } + prerequisite = { + focus = HUJ_baochichuantong + #focus = HUJ_qinzishangzhen 这个国策不存在 + } relative_position_id = HUJ_baochichuantong ai_will_do = { factor = 20 @@ -5500,20 +5568,20 @@ focus = { allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_kaihuashiming_idea } } - focus = { id = HUJ_weijiyishi icon = GFX_focus_spa_strengthen_the_supreme_reality_of_spain x = 0 y = 1 cost = 10 - prerequisite = { focus = HUJ_zhuanzhuyuzhimindishiwu } + prerequisite = { + focus = HUJ_zhuanzhuyuzhimindishiwu + } relative_position_id = HUJ_zhuanzhuyuzhimindishiwu ai_will_do = { factor = 20 @@ -5521,20 +5589,21 @@ focus = { allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = HUJ_weijiyishi_idea } } - focus = { id = HUJ_nvwangrongguang icon = GFX_focus_yilishabai2 x = -1 y = 1 cost = 10 - prerequisite = { focus = HUJ_wanguolaichao focus = HUJ_nvwangdeguwu } + prerequisite = { + focus = HUJ_wanguolaichao + focus = HUJ_nvwangdeguwu + } relative_position_id = HUJ_wanguolaichao ai_will_do = { factor = 20 @@ -5542,36 +5611,36 @@ focus = { allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { HUJ_yilishabai = { add_country_leader_trait = rgnw } if = { - limit = { - has_country_leader = { - name = "伊丽莎白" - ruling_only = yes - } - } - add_country_leader_trait = rgnw + limit = { + has_country_leader = { + name = "伊丽莎白" + ruling_only = yes + } + } + add_country_leader_trait = rgnw } add_political_power = -300 swap_ideas = { - remove_idea = HUJ_yilishabainvwang - add_idea = HUJ_yilishabainvwang_xianming + remove_idea = HUJ_yilishabainvwang + add_idea = HUJ_yilishabainvwang_xianming } } } - focus = { id = HUJ_jianshezhimindi icon = GFX_focus_generic_league_of_nations x = 0 y = 1 cost = 10 - prerequisite = { focus = HUJ_weijiyishi } + prerequisite = { + focus = HUJ_weijiyishi + } #prerequisite = { focus = HUJ_nvwangrongguang } #prerequisite = { focus = HUJ_kaihuashiming } relative_position_id = HUJ_weijiyishi @@ -5622,7 +5691,9 @@ focus = { is_core_of = AST is_core_of = NZL } - NOT = { state = 331 } + NOT = { + state = 331 + } OWNER = { NOT = { OR = { @@ -5650,7 +5721,9 @@ focus = { RAJ = { OR = { exists = no - NOT = { is_subject_of = HUJ } + NOT = { + is_subject_of = HUJ + } } } AST = { @@ -5669,7 +5742,9 @@ focus = { is_core_of = NZL } OWNER = { - NOT = { tag = HUJ } + NOT = { + tag = HUJ + } } } } @@ -5677,32 +5752,34 @@ focus = { allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 300 unlock_decision_category_tooltip = HUJ_jianshezhimindi_jy } } - focus = { id = HUJ_tongzhibabuliedianhuj icon = GFX_focus_chongxianribuluo x = 0 y = 1 cost = 30 - prerequisite = { focus = HUJ_jianshezhimindi } + prerequisite = { + focus = HUJ_jianshezhimindi + } relative_position_id = HUJ_jianshezhimindi - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } available = { is_puppet = no - or = { - has_stability > 1.19 - is_ai = yes + OR = { + has_stability > 1.19 + is_ai = yes } - or = { - has_war_support > 1.79 - is_ai = yes + OR = { + has_war_support > 1.79 + is_ai = yes } if = { limit = { @@ -5722,7 +5799,9 @@ focus = { NOT = { any_state = { is_core_of = CAN - NOT = { is_owned_by = ROOT } + NOT = { + is_owned_by = ROOT + } } } } @@ -5742,7 +5821,9 @@ focus = { NOT = { any_state = { is_core_of = SAF - NOT = { is_owned_by = ROOT } + NOT = { + is_owned_by = ROOT + } } } } @@ -5750,7 +5831,9 @@ focus = { } if = { limit = { - RAJ = { has_country_flag = ENG_accepted_federation } + RAJ = { + has_country_flag = ENG_accepted_federation + } } RAJ = { OR = { @@ -5766,9 +5849,15 @@ focus = { NOT = { any_state = { is_core_of = RAJ - NOT = { state = 320 } - NOT = { state = 321 } - NOT = { is_owned_by = ROOT } + NOT = { + state = 320 + } + NOT = { + state = 321 + } + NOT = { + is_owned_by = ROOT + } } } } @@ -5789,7 +5878,9 @@ focus = { NOT = { any_state = { is_core_of = AST - NOT = { is_owned_by = ROOT } + NOT = { + is_owned_by = ROOT + } } } } @@ -5809,7 +5900,9 @@ focus = { NOT = { any_state = { is_core_of = NZL - NOT = { is_owned_by = ROOT } + NOT = { + is_owned_by = ROOT + } } } } @@ -5823,12 +5916,13 @@ focus = { allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - news_event = { id = mtg_news.9 days = 1 } + news_event = { + id = mtg_news.9 + days = 1 + } country_event = HUJ_event.6 } } } - diff --git a/src/common/national_focus/sad_focus.txt b/src/common/national_focus/sad_focus.txt index 00d9cd7..f350ff6 100755 --- a/src/common/national_focus/sad_focus.txt +++ b/src/common/national_focus/sad_focus.txt @@ -9,21 +9,20 @@ focus_tree = { tag = SAD } } - default = no - continuous_focus_position = { x = 20 y = 1800 } + continuous_focus_position = { + x = 20 + y = 1800 + } focus = { id = SAD_zhianguanli icon = GFX_goal_demand_sudetenland x = 3 y = 0 - cost = 2 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.15 @@ -35,15 +34,19 @@ focus_tree = { x = -1 y = 1 relative_position_id = SAD_zhianguanli - prerequisite = { focus = SAD_zhianguanli } - mutually_exclusive = { focus = SAD_qudiheishoudang } + prerequisite = { + focus = SAD_zhianguanli + } + mutually_exclusive = { + focus = SAD_qudiheishoudang + } cost = 1 - ai_will_do = { factor = 0 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_stability = 0.07 add_political_power = -50 @@ -55,20 +58,25 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_anfuheishoudang - prerequisite = { focus = SAD_anfuheishoudang } + prerequisite = { + focus = SAD_anfuheishoudang + } cost = 3 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.07 create_corps_commander = { name = "姆琪里妮" picture = "mosuolini.jpg" - traits = { politically_connected brilliant_strategist media_personality urban_assault_specialist } + traits = { + politically_connected + brilliant_strategist + media_personality + urban_assault_specialist + } skill = 3 attack_skill = 3 defense_skill = 2 @@ -83,13 +91,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_xixilidajietou - prerequisite = { focus = SAD_xixilidajietou } + prerequisite = { + focus = SAD_xixilidajietou + } cost = 5 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes @@ -106,16 +114,19 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_hefahua - prerequisite = { focus = SAD_hefahua focus = SAD_hexieshehui } + prerequisite = { + focus = SAD_hefahua + focus = SAD_hexieshehui + } cost = 10 - ai_will_do = { factor = 10 } - select_effect = { - - country_event = { id = SAD_event.5 days = 3 } - + select_effect = { + country_event = { + id = SAD_event.5 + days = 3 + } } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { @@ -129,42 +140,51 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_zhianguanli - prerequisite = { focus = SAD_zhianguanli } - mutually_exclusive = { focus = SAD_anfuheishoudang } + prerequisite = { + focus = SAD_zhianguanli + } + mutually_exclusive = { + focus = SAD_anfuheishoudang + } cost = 3 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_3 = yes army_experience = 75 add_stability = 0.25 - add_timed_idea = { idea = SAD_hsddbf days = 60 } + add_timed_idea = { + idea = SAD_hsddbf + days = 60 + } add_political_power = -100 } } - focus = { id = SAD_meilixixili icon = GFX_focus_generic_royal_wedding x = 0 y = 1 relative_position_id = SAD_qudiheishoudang - prerequisite = { focus = SAD_qudiheishoudang } + prerequisite = { + focus = SAD_qudiheishoudang + } cost = 5 available = { - NOT = { has_idea = SAD_hsddbf } + NOT = { + has_idea = SAD_hsddbf + } } ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - remove_ideas = { SAD_cjdhsd } + remove_ideas = { + SAD_cjdhsd + } add_stability = 0.1 115 = { add_extra_state_shared_building_slots = 2 @@ -182,18 +202,23 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_meilixixili - prerequisite = { focus = SAD_meilixixili } + prerequisite = { + focus = SAD_meilixixili + } cost = 5 available = { - NOT = { has_idea = SAD_hsddbf } + NOT = { + has_idea = SAD_hsddbf + } } ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = { SAD_jzsfdgm } + add_ideas = { + SAD_jzsfdgm + } add_stability = 0.1 } } @@ -202,13 +227,10 @@ focus_tree = { icon = GFX_goal_generic_consumer_goods x = 50 y = 0 - cost = 10 - ai_will_do = { factor = 8 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_controlled_state = { @@ -233,34 +255,33 @@ focus_tree = { x = -2 y = 1 relative_position_id = SAD_kaishijingjijianshe - prerequisite = { focus = SAD_kaishijingjijianshe } + prerequisite = { + focus = SAD_kaishijingjijianshe + } cost = 7 - - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = sad_qianghauzhizaoshangtips1 effect_tooltip = { - swap_ideas = { - remove_idea = SAD_ferrovie_dello_stato_italiane - add_idea = SAD_ferrovie_dello_stato_italiane_ex - } + swap_ideas = { + remove_idea = SAD_ferrovie_dello_stato_italiane + add_idea = SAD_ferrovie_dello_stato_italiane_ex + } } set_country_flag = SAD_ferrovie_dello_stato_italiane_up hidden_effect = { - if = { - limit = { - has_idea = SAD_ferrovie_dello_stato_italiane - } - swap_ideas = { - remove_idea = SAD_ferrovie_dello_stato_italiane - add_idea = SAD_ferrovie_dello_stato_italiane_ex - } - } + if = { + limit = { + has_idea = SAD_ferrovie_dello_stato_italiane + } + swap_ideas = { + remove_idea = SAD_ferrovie_dello_stato_italiane + add_idea = SAD_ferrovie_dello_stato_italiane_ex + } + } } 158 = { add_building_construction = { @@ -299,21 +320,21 @@ focus_tree = { } } } - focus = { id = SAD_beibuzhonggongyequ icon = GFX_focus_generic_tank_production x = -2 y = 1 relative_position_id = SAD_tielujianshe - prerequisite = { focus = SAD_tielujianshe } + prerequisite = { + focus = SAD_tielujianshe + } cost = 10 ai_will_do = { factor = 7 } available = { controls_state = 159 - controls_state = 158 } completion_reward = { @@ -341,7 +362,9 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_beibuzhonggongyequ - prerequisite = { focus = SAD_beibuzhonggongyequ } + prerequisite = { + focus = SAD_beibuzhonggongyequ + } cost = 10 ai_will_do = { factor = 15 @@ -353,35 +376,35 @@ focus_tree = { add_ideas = SAD_sdgyjs custom_effect_tooltip = sad_qianghauzhizaoshangtips2 effect_tooltip = { - swap_ideas = { - remove_idea = danieli - add_idea = SAD_danieli - } - swap_ideas = { - remove_idea = ITA_terni_industria_ed_elettricita - add_idea = SAD_terni_industria_ed_elettricita - } + swap_ideas = { + remove_idea = danieli + add_idea = SAD_danieli + } + swap_ideas = { + remove_idea = ITA_terni_industria_ed_elettricita + add_idea = SAD_terni_industria_ed_elettricita + } } set_country_flag = SAD_danieli_up hidden_effect = { - if = { - limit = { - has_idea = danieli - } - swap_ideas = { - remove_idea = danieli - add_idea = SAD_danieli - } - } - if = { - limit = { - has_idea = ITA_terni_industria_ed_elettricita - } - swap_ideas = { - remove_idea = ITA_terni_industria_ed_elettricita - add_idea = SAD_terni_industria_ed_elettricita - } - } + if = { + limit = { + has_idea = danieli + } + swap_ideas = { + remove_idea = danieli + add_idea = SAD_danieli + } + } + if = { + limit = { + has_idea = ITA_terni_industria_ed_elettricita + } + swap_ideas = { + remove_idea = ITA_terni_industria_ed_elettricita + add_idea = SAD_terni_industria_ed_elettricita + } + } } } } @@ -391,14 +414,15 @@ focus_tree = { x = 2 y = 1 relative_position_id = SAD_tielujianshe - prerequisite = { focus = SAD_tielujianshe } + prerequisite = { + focus = SAD_tielujianshe + } cost = 10 ai_will_do = { factor = 7 } available = { controls_state = 115 - controls_state = 156 } completion_reward = { @@ -427,12 +451,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_nanbumaoyiqu - prerequisite = { focus = SAD_nanbumaoyiqu } + prerequisite = { + focus = SAD_nanbumaoyiqu + } cost = 8 ai_will_do = { factor = 7 } - completion_reward = { guojishengyu_up_3 = yes 115 = { @@ -442,7 +467,6 @@ focus_tree = { level = 3 instant_build = yes } - } add_ideas = SAD_hygs } @@ -453,14 +477,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_kaicaijishuyanjiu - prerequisite = { focus = SAD_kaicaijishuyanjiu } + prerequisite = { + focus = SAD_kaicaijishuyanjiu + } cost = 15 - - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -250 @@ -488,7 +511,7 @@ focus_tree = { amount = 23 } } - random_owned_controlled_state = { + random_owned_controlled_state = { add_resource = { type = chromium amount = 16 @@ -502,14 +525,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_tielujianshe - prerequisite = { focus = SAD_tielujianshe } + prerequisite = { + focus = SAD_tielujianshe + } cost = 7 - - ai_will_do = { factor = 11 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -517,7 +539,6 @@ focus_tree = { bonus = 2.5 uses = 2 category = excavation_tech - } capital_scope = { add_resource = { @@ -527,14 +548,15 @@ focus_tree = { } } } - focus = { id = SAD_chongzudeziyuan icon = GFX_focus_generic_steel x = 0 y = 1 relative_position_id = SAD_ziyuanzhuanhua - prerequisite = { focus = SAD_ziyuanzhuanhua } + prerequisite = { + focus = SAD_ziyuanzhuanhua + } cost = 10 available = { custom_trigger_tooltip = { @@ -546,11 +568,9 @@ focus_tree = { } } } - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { remove_ideas = SAD_zykf @@ -594,14 +614,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_kaishijingjijianshe - prerequisite = { focus = SAD_kaishijingjijianshe } + prerequisite = { + focus = SAD_kaishijingjijianshe + } cost = 8 - - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_controlled_state = { @@ -628,14 +647,13 @@ focus_tree = { x = 2 y = 1 relative_position_id = SAD_kaishijingjijianshe - prerequisite = { focus = SAD_kaishijingjijianshe } + prerequisite = { + focus = SAD_kaishijingjijianshe + } cost = 8 - - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_controlled_state = { @@ -656,20 +674,15 @@ focus_tree = { } } } - focus = { id = SAD_zhengzhijundui icon = GFX_goal_generic_construct_civilian x = 32 y = 0 - cost = 5 - - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_war_support = 0.1 @@ -683,12 +696,9 @@ focus_tree = { y = 2 relative_position_id = SAD_zhengfuneidedaqingxi cost = 3 - - ai_will_do = { factor = 11 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = { @@ -702,14 +712,10 @@ focus_tree = { x = 2 y = 0 relative_position_id = SAD_jiaoyujunguan - cost = 5 - - ai_will_do = { factor = 11 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_hzhjdmz @@ -721,19 +727,23 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_jiaoyujunguan - prerequisite = { focus = SAD_jiaoyujunguan } - prerequisite = { focus = SAD_yindaoguomin } + prerequisite = { + focus = SAD_jiaoyujunguan + } + prerequisite = { + focus = SAD_yindaoguomin + } cost = 6 available = { all_unit_leader = { - NOT = { has_character_flag = xiujia_flag } + NOT = { + has_character_flag = xiujia_flag + } } } - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 50 @@ -741,32 +751,29 @@ focus_tree = { hidden_effect = { every_army_leader = { limit = { - has_unit_leader_flag = chushijianniang + has_character_flag = chushijianniang } add_unit_leader_trait = xuexixunsu - } + } } - } } - focus = { id = SAD_lingxiudeguwu icon = GFX_focus_lituoliao x = 0 y = 1 relative_position_id = SAD_shaixuanjunguan - prerequisite = { focus = SAD_shaixuanjunguan } - + prerequisite = { + focus = SAD_shaixuanjunguan + } cost = 6 available = { has_idea = lituoliao } - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { remove_ideas = { @@ -774,45 +781,40 @@ focus_tree = { } add_stability = 0.1 add_war_support = 0.15 - } } - focus = { id = SAD_diguokongjunyanjiuyuan icon = GFX_focus_research2 x = -6 y = 1 relative_position_id = SAD_zhengzhijundui - prerequisite = { focus = SAD_zhengzhijundui } + prerequisite = { + focus = SAD_zhengzhijundui + } cost = 10 - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { air_experience = 50 add_ideas = SAD_dgkjyjy } } - focus = { id = SAD_feijiyanjiu icon = GFX_goal_generic_air_production x = -2 y = 1 relative_position_id = SAD_diguokongjunyanjiuyuan - prerequisite = { focus = SAD_diguokongjunyanjiuyuan } + prerequisite = { + focus = SAD_diguokongjunyanjiuyuan + } cost = 10 - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -831,16 +833,16 @@ focus_tree = { x = -1 y = 1 relative_position_id = SAD_feijiyanjiu - prerequisite = { focus = SAD_feijiyanjiu } - mutually_exclusive = { focus = SAD_waigoujishu } - + prerequisite = { + focus = SAD_feijiyanjiu + } + mutually_exclusive = { + focus = SAD_waigoujishu + } cost = 5 - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { @@ -849,7 +851,7 @@ focus_tree = { } add_tech_bonus = { name = "加速研究" - bonus = 2.0 + bonus = 2 ahead_reduction = 2 uses = 1 category = air_equipment @@ -862,16 +864,16 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_feijiyanjiu - prerequisite = { focus = SAD_feijiyanjiu } - mutually_exclusive = { focus = SAD_zengjiakeyanzijin } - + prerequisite = { + focus = SAD_feijiyanjiu + } + mutually_exclusive = { + focus = SAD_zengjiakeyanzijin + } cost = 5 - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -880,25 +882,22 @@ focus_tree = { ahead_reduction = 1.5 uses = 2 category = air_equipment - } } } - focus = { id = SAD_zhanshuyanxi icon = GFX_goal_generic_air_fighter x = 2 y = 1 relative_position_id = SAD_diguokongjunyanjiuyuan - prerequisite = { focus = SAD_diguokongjunyanjiuyuan } + prerequisite = { + focus = SAD_diguokongjunyanjiuyuan + } cost = 10 - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_kongjunliluntupo = yes @@ -916,15 +915,16 @@ focus_tree = { x = -1 y = 1 relative_position_id = SAD_zhanshuyanxi - prerequisite = { focus = SAD_zhanshuyanxi } - mutually_exclusive = { focus = SAD_youxianpeixunhaijunfeixingyuan } + prerequisite = { + focus = SAD_zhanshuyanxi + } + mutually_exclusive = { + focus = SAD_youxianpeixunhaijunfeixingyuan + } cost = 5 - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { SAD_junfei_army = yes @@ -933,22 +933,24 @@ focus_tree = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "陆军飞行员培训" - bonus = 1.5 - uses = 1 - category = light_air - } + name = "陆军飞行员培训" + bonus = 1.5 + uses = 1 + category = light_air + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "陆军飞行员培训" - bonus = 2 - uses = 1 - category = cas_bomber - } + name = "陆军飞行员培训" + bonus = 2 + uses = 1 + category = cas_bomber + } } } } @@ -958,47 +960,49 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_zhanshuyanxi - prerequisite = { focus = SAD_zhanshuyanxi } - mutually_exclusive = { focus = SAD_youxianpeixunlujunfeixingyuan } + prerequisite = { + focus = SAD_zhanshuyanxi + } + mutually_exclusive = { + focus = SAD_youxianpeixunlujunfeixingyuan + } cost = 5 - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { SAD_junfei_navy = yes - if = { limit = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "海军飞行员培训" - bonus = 1 - uses = 1 - category = light_fighter - } + name = "海军飞行员培训" + bonus = 1 + uses = 1 + category = light_fighter + } add_tech_bonus = { - name = "海军飞行员培训" - bonus = 0.75 - uses = 1 - category = plane_modules_tech - } + name = "海军飞行员培训" + bonus = 0.75 + uses = 1 + category = plane_modules_tech + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "海军飞行员培训" - bonus = 0.75 - uses = 2 - category = naval_bomber - category = naval_air - } + name = "海军飞行员培训" + bonus = 0.75 + uses = 2 + category = naval_bomber + category = naval_air + } } } } @@ -1008,16 +1012,18 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_waigoujishu - prerequisite = { focus = SAD_waigoujishu focus = SAD_zengjiakeyanzijin } - prerequisite = { focus = SAD_youxianpeixunhaijunfeixingyuan focus = SAD_youxianpeixunlujunfeixingyuan } - + prerequisite = { + focus = SAD_waigoujishu + focus = SAD_zengjiakeyanzijin + } + prerequisite = { + focus = SAD_youxianpeixunhaijunfeixingyuan + focus = SAD_youxianpeixunlujunfeixingyuan + } cost = 10 - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_dgdlk @@ -1029,14 +1035,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_zhengzhijundui - prerequisite = { focus = SAD_zhengzhijundui } + prerequisite = { + focus = SAD_zhengzhijundui + } cost = 10 - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 75 @@ -1054,15 +1059,16 @@ focus_tree = { x = -1 y = 1 relative_position_id = SAD_chongfanhaiyang - prerequisite = { focus = SAD_chongfanhaiyang } - mutually_exclusive = { focus = SAD_xiaoxingjiantingjianzao } + prerequisite = { + focus = SAD_chongfanhaiyang + } + mutually_exclusive = { + focus = SAD_xiaoxingjiantingjianzao + } cost = 7 - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1081,15 +1087,16 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_chongfanhaiyang - prerequisite = { focus = SAD_chongfanhaiyang } - mutually_exclusive = { focus = SAD_daxingjiantingjianzao } + prerequisite = { + focus = SAD_chongfanhaiyang + } + mutually_exclusive = { + focus = SAD_daxingjiantingjianzao + } cost = 7 - - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1108,32 +1115,35 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_daxingjiantingjianzao - prerequisite = { focus = SAD_daxingjiantingjianzao focus = SAD_xiaoxingjiantingjianzao } - + prerequisite = { + focus = SAD_daxingjiantingjianzao + focus = SAD_xiaoxingjiantingjianzao + } cost = 15 - - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { is_ai = yes } - set_technology = { basic_ship_hull_carrier = 1 } + limit = { + is_ai = yes + } + set_technology = { + basic_ship_hull_carrier = 1 + } } SAD_junfei_navy = yes random_owned_controlled_state = { limit = { - is_coastal = yes - is_core_of = ROOT - free_building_slots = { - building = dockyard - size > 6 - include_locked = yes + is_coastal = yes + is_core_of = ROOT + free_building_slots = { + building = dockyard + size > 6 + include_locked = yes + } } - } add_extra_state_shared_building_slots = 6 add_building_construction = { type = dockyard @@ -1142,15 +1152,15 @@ focus_tree = { } } random_owned_controlled_state = { - limit = { - is_coastal = yes - is_core_of = ROOT - free_building_slots = { - building = dockyard - size > 6 - include_locked = yes + limit = { + is_coastal = yes + is_core_of = ROOT + free_building_slots = { + building = dockyard + size > 6 + include_locked = yes + } } - } add_extra_state_shared_building_slots = 5 add_building_construction = { type = dockyard @@ -1159,15 +1169,15 @@ focus_tree = { } } random_owned_controlled_state = { - limit = { - is_coastal = yes - is_core_of = ROOT - free_building_slots = { - building = dockyard - size > 6 - include_locked = yes + limit = { + is_coastal = yes + is_core_of = ROOT + free_building_slots = { + building = dockyard + size > 6 + include_locked = yes + } } - } add_extra_state_shared_building_slots = 4 add_building_construction = { type = dockyard @@ -1183,19 +1193,18 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_diguozaochuanchang - prerequisite = { focus = SAD_diguozaochuanchang } + prerequisite = { + focus = SAD_diguozaochuanchang + } cost = 10 available = { - has_tech = basic_ship_hull_carrier + has_tech = basic_ship_hull_carrier } - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - country_event = SAD_event.4 create_equipment_variant = { name = "天鹰级" @@ -1217,10 +1226,10 @@ focus_tree = { add_equipment_production = { equipment = { type = ship_hull_carrier_conversion_bb - creator = ROOT + creator = SAD version_name = "天鹰级" } - name = "天鹰" + name = "天鹰" requested_factories = 1 progress = 0.95 amount = 1 @@ -1228,66 +1237,67 @@ focus_tree = { } } } - focus = { id = SAD_hangmuweihexin icon = GFX_goal_generic_navy_carrier x = -1 y = 1 relative_position_id = SAD_tianyinghao - prerequisite = { focus = SAD_tianyinghao } - mutually_exclusive = { focus = SAD_zhanliejianweihexin } + prerequisite = { + focus = SAD_tianyinghao + } + mutually_exclusive = { + focus = SAD_zhanliejianweihexin + } cost = 5 - - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_hmwhx } } - focus = { id = SAD_zhanliejianweihexin icon = GFX_goal_generic_navy_battleship x = 1 y = 1 relative_position_id = SAD_tianyinghao - prerequisite = { focus = SAD_tianyinghao } - mutually_exclusive = { focus = SAD_hangmuweihexin } + prerequisite = { + focus = SAD_tianyinghao + } + mutually_exclusive = { + focus = SAD_hangmuweihexin + } cost = 5 - - ai_will_do = { factor = 6 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_zljwhx } } - focus = { id = SAD_kongzhidizhonghai icon = GFX_goal_generic_navy_cruiser x = -1 y = 1 relative_position_id = SAD_zhanliejianweihexin - prerequisite = { focus = SAD_zhanliejianweihexin focus = SAD_hangmuweihexin } + prerequisite = { + focus = SAD_zhanliejianweihexin + focus = SAD_hangmuweihexin + } cost = 10 - - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = { SAD_dzhbz } + add_ideas = { + SAD_dzhbz + } TY_haijunliluntupo = yes } } @@ -1297,14 +1307,13 @@ focus_tree = { x = 6 y = 1 relative_position_id = SAD_zhengzhijundui - prerequisite = { focus = SAD_zhengzhijundui } + prerequisite = { + focus = SAD_zhengzhijundui + } cost = 5 - - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -300 @@ -1336,42 +1345,39 @@ focus_tree = { } } } - - focus = { id = SAD_bubingzhuangbei icon = GFX_focus_focus_fra_maquis x = -2 y = 1 relative_position_id = SAD_jianshelujun - prerequisite = { focus = SAD_jianshelujun } + prerequisite = { + focus = SAD_jianshelujun + } cost = 8 - - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = sad_qianghauzhizaoshangtips3 effect_tooltip = { - swap_ideas = { - remove_idea = ITA_brescia_arsenal - add_idea = SAD_brescia_arsenal - } + swap_ideas = { + remove_idea = ITA_brescia_arsenal + add_idea = SAD_brescia_arsenal + } } set_country_flag = SAD_brescia_arsenal_up hidden_effect = { - if = { - limit = { - has_idea = ITA_brescia_arsenal - } - swap_ideas = { - remove_idea = ITA_brescia_arsenal - add_idea = SAD_brescia_arsenal - } - } + if = { + limit = { + has_idea = ITA_brescia_arsenal + } + swap_ideas = { + remove_idea = ITA_brescia_arsenal + add_idea = SAD_brescia_arsenal + } + } } add_tech_bonus = { name = "步兵装备" @@ -1387,14 +1393,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_bubingzhuangbei - prerequisite = { focus = SAD_bubingzhuangbei } + prerequisite = { + focus = SAD_bubingzhuangbei + } cost = 10 - - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1413,14 +1418,13 @@ focus_tree = { x = -1 y = 1 relative_position_id = SAD_jixushenzao - prerequisite = { focus = SAD_jixushenzao } + prerequisite = { + focus = SAD_jixushenzao + } cost = 10 - - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { @@ -1445,15 +1449,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_jingruibudui - prerequisite = { focus = SAD_jingruibudui } - mutually_exclusive = { focus = SAD_guominziweidui } + prerequisite = { + focus = SAD_jingruibudui + } + mutually_exclusive = { + focus = SAD_guominziweidui + } cost = 10 - - ai_will_do = { factor = 1 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = { @@ -1467,14 +1472,13 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_jixushenzao - prerequisite = { focus = SAD_jixushenzao } + prerequisite = { + focus = SAD_jixushenzao + } cost = 5 - - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_manpower = 350000 @@ -1487,15 +1491,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_kuodashuliang - prerequisite = { focus = SAD_kuodashuliang } - mutually_exclusive = { focus = SAD_sadingheishanjun } + prerequisite = { + focus = SAD_kuodashuliang + } + mutually_exclusive = { + focus = SAD_sadingheishanjun + } cost = 5 - - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_gmzwd @@ -1507,14 +1512,13 @@ focus_tree = { x = 3 y = 1 relative_position_id = SAD_jianshelujun - prerequisite = { focus = SAD_jianshelujun } + prerequisite = { + focus = SAD_jianshelujun + } cost = 7 - - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1529,7 +1533,6 @@ focus_tree = { uses = 1 category = cat_mobile_warfare } - add_ai_strategy = { type = befriend id = TIX @@ -1543,14 +1546,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_yanjiuzhuangjia - prerequisite = { focus = SAD_yanjiuzhuangjia } + prerequisite = { + focus = SAD_yanjiuzhuangjia + } cost = 10 - - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1567,14 +1569,13 @@ focus_tree = { x = -2 y = 1 relative_position_id = SAD_yanjiuzhuangjia - prerequisite = { focus = SAD_yanjiuzhuangjia } + prerequisite = { + focus = SAD_yanjiuzhuangjia + } cost = 7 - - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_tkxy @@ -1586,23 +1587,28 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_tankexueyuan - prerequisite = { focus = SAD_tankexueyuan } + prerequisite = { + focus = SAD_tankexueyuan + } cost = 7 - - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_lujunliluntupo = yes add_manpower = 90000 army_experience = 25 - hidden_effect = { - country_event = { id = SAD_event.1 days = 60 } + hidden_effect = { + country_event = { + id = SAD_event.1 + days = 60 + } + } + set_technology = { + elastic_defense_for_sad = 1 + popup = no } - set_technology = { elastic_defense_for_sad = 1 popup = no } } } focus = { @@ -1611,30 +1617,32 @@ focus_tree = { x = 2 y = 1 relative_position_id = SAD_yanjiuzhuangjia - prerequisite = { focus = SAD_yanjiuzhuangjia } + prerequisite = { + focus = SAD_yanjiuzhuangjia + } cost = 3 - available = { - or = { - is_ai = yes - TIX = { - has_opinion = { - target = SAD - value > 89 + OR = { + is_ai = yes + TIX = { + has_opinion = { + target = SAD + value > 89 + } } } - } } bypass = { OR = { has_war_with = TIX - NOT = { country_exists = TIX } + NOT = { + country_exists = TIX + } } } ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1643,8 +1651,6 @@ focus_tree = { uses = 2 category = armor } - - } } focus = { @@ -1653,25 +1659,33 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_xuexitiexue - prerequisite = { focus = SAD_xuexitiexue } + prerequisite = { + focus = SAD_xuexitiexue + } cost = 2 - - bypass = { OR = { has_war_with = TIX - NOT = { country_exists = TIX } + NOT = { + country_exists = TIX + } } } ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = { SAD_txscjs } - add_timed_idea = { idea = SAD_xtxzffy days = 120 } - TIX = { country_event = SAD_event.2 } + add_ideas = { + SAD_txscjs + } + add_timed_idea = { + idea = SAD_xtxzffy + days = 120 + } + TIX = { + country_event = SAD_event.2 + } } } focus = { @@ -1680,16 +1694,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_changshizizhuyanfa - prerequisite = { focus = SAD_changshizizhuyanfa } - prerequisite = { focus = SAD_tankexueyuan } + prerequisite = { + focus = SAD_changshizizhuyanfa + } + prerequisite = { + focus = SAD_tankexueyuan + } cost = 7 - - - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { SAD_junfei_army = yes @@ -1702,16 +1716,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_junkedaxue - prerequisite = { focus = SAD_junkedaxue } - prerequisite = { focus = SAD_shengchanjishuzhidao } + prerequisite = { + focus = SAD_junkedaxue + } + prerequisite = { + focus = SAD_shengchanjishuzhidao + } cost = 7 - - - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_jsjhdtk @@ -1723,37 +1737,34 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_jishujiehe - prerequisite = { focus = SAD_jishujiehe } + prerequisite = { + focus = SAD_jishujiehe + } cost = 7 - - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_sdqxtk } } - focus = { id = SAD_hezuoyanfa icon = GFX_focus_research2 x = 2 y = 1 relative_position_id = SAD_junkedaxue - prerequisite = { focus = SAD_junkedaxue } - prerequisite = { focus = SAD_shengchanjishuzhidao } + prerequisite = { + focus = SAD_junkedaxue + } + prerequisite = { + focus = SAD_shengchanjishuzhidao + } cost = 5 - - - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = SAD_hezuoyanfa_tooltip @@ -1761,47 +1772,57 @@ focus_tree = { } } focus = { - id = SAD_diguozhengtong + id = SAD_diguozhengtong icon = GFX_fflag_SAD relative_position_id = SAD_jiaoaodezitai - prerequisite = { focus = SAD_jiaoaodezitai } + prerequisite = { + focus = SAD_jiaoaodezitai + } x = 0 y = 1 - cost = 5 - - available = { - or = { - has_global_flag = MOD_azurlane_sairenzhizai - not = { - has_country_leader = { - character = SAD_weineituo - ruling_only = yes - } + available = { + OR = { + has_global_flag = MOD_azurlane_sairenzhizai + NOT = { + has_country_leader = { + character = SAD_weineituo + ruling_only = yes + } + } + AND = { + date > 1943.1.1 + has_global_flag = MOD_azurlane_tianjiangjianniang + has_country_leader = { + character = SAD_weineituo + ruling_only = yes + } + NOT = { + has_country_flag = sad_zhongyaorenwushibai + } + } } AND = { - date > 1943.1.1 - has_global_flag = MOD_azurlane_tianjiangjianniang - has_country_leader = { - character = SAD_weineituo - ruling_only = yes - } - not = { has_country_flag = sad_zhongyaorenwushibai } - } - } - AND = { - not = { has_completed_focus = SAD_xindediguo } - NOT = { has_idea = SAD_fbdzf } - NOT = { has_idea = SAD_cjdhsd } - NOT = { has_idea = SAD_lsdfw } - NOT = { has_idea = SAD_zykf } + NOT = { + has_completed_focus = SAD_xindediguo + } + NOT = { + has_idea = SAD_fbdzf + } + NOT = { + has_idea = SAD_cjdhsd + } + NOT = { + has_idea = SAD_lsdfw + } + NOT = { + has_idea = SAD_zykf + } } } - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 300 @@ -1814,22 +1835,22 @@ focus_tree = { x = -1 y = 1 relative_position_id = SAD_diguozhengtong - prerequisite = { focus = SAD_diguozhengtong } + prerequisite = { + focus = SAD_diguozhengtong + } cost = 10 - - bypass = { has_completed_focus = SAD_weineituodeshengli } ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_war_support = 0.45 - - hidden_effect = { remove_country_leader_trait = xszm } + hidden_effect = { + remove_country_leader_trait = xszm + } add_country_leader_trait = xszm_2 } } @@ -1839,20 +1860,20 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_diguozhengtong - prerequisite = { focus = SAD_diguozhengtong } + prerequisite = { + focus = SAD_diguozhengtong + } cost = 7 - - - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.25 random_unit_leader = { - limit = { has_id = 04003 } + limit = { + has_id = 4003 + } add_skill_level = 1 add_unit_leader_trait = skilled_staffer add_unit_leader_trait = expert_delegator @@ -1862,14 +1883,16 @@ focus_tree = { focus = { id = SAD_chongzhudiguorongguang icon = GFX_focus_sading_rome - x = 1 y = 1 relative_position_id = SAD_lingxiudeyanjiang - prerequisite = { focus = SAD_lingxiudeyanjiang } - prerequisite = { focus = SAD_diwangdezhichi } + prerequisite = { + focus = SAD_lingxiudeyanjiang + } + prerequisite = { + focus = SAD_diwangdezhichi + } cost = 10 - available = { has_completed_focus = SAD_sadingwansui AND = { @@ -1882,7 +1905,9 @@ focus_tree = { controls_state = 16 controls_state = 47 controls_state = 797 - has_army_manpower = { size > 2000000 } + has_army_manpower = { + size > 2000000 + } custom_trigger_tooltip = { tooltip = SAD_chongzhudiguorongguang_navy_trigger_tooltip has_navy_size = { @@ -1891,16 +1916,13 @@ focus_tree = { } has_navy_size = { size > 249 - } + } } - } } - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { country_event = SAD_event.8 @@ -1930,19 +1952,16 @@ focus_tree = { x = 0 y = 2 relative_position_id = SAD_chongzhudiguorongguang - prerequisite = { focus = SAD_chongzhudiguorongguang } + prerequisite = { + focus = SAD_chongzhudiguorongguang + } cost = 5 - - - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_lmdgdsz - } } focus = { @@ -1951,15 +1970,13 @@ focus_tree = { x = -1 y = 1 relative_position_id = SAD_chongzhudiguorongguang - prerequisite = { focus = SAD_chongzhudiguorongguang } + prerequisite = { + focus = SAD_chongzhudiguorongguang + } cost = 10 - - - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_lmqnj @@ -1972,20 +1989,17 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_chongzhudiguorongguang - prerequisite = { focus = SAD_chongzhudiguorongguang } + prerequisite = { + focus = SAD_chongzhudiguorongguang + } cost = 10 - - - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_dgjwj army_experience = 50 - } } focus = { @@ -1993,17 +2007,14 @@ focus_tree = { icon = GFX_goal_generic_territory_or_war x = 30 y = 7 - cost = 5 - available = { is_puppet = no - or = { - has_completed_focus = SAD_zaifeizhoudeshengli - has_completed_focus = SAD_afeilijiazhichi + OR = { + has_completed_focus = SAD_zaifeizhoudeshengli + has_completed_focus = SAD_afeilijiazhichi } } - ai_will_do = { factor = 5 modifier = { @@ -2011,7 +2022,6 @@ focus_tree = { add = 20 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 100 @@ -2020,7 +2030,7 @@ focus_tree = { limit = { OR = { tag = HUJ - tag = TIX + tag = TIX tag = BYG } } @@ -2036,7 +2046,6 @@ focus_tree = { tag = YUW tag = CHY tag = BFL - } } add_opinion_modifier = { @@ -2044,7 +2053,6 @@ focus_tree = { modifier = SAD_renkesadingdiwei } } - add_ai_strategy = { type = prepare_for_war id = YUG @@ -2052,7 +2060,7 @@ focus_tree = { } } } -#sairenmod + #sairenmod focus = { id = SAD_duohuiyapingning icon = GFX_goal_generic_position_armies @@ -2062,15 +2070,13 @@ focus_tree = { x = -4 y = 1 relative_position_id = SAD_jiaoaodezitai - prerequisite = { focus = SAD_jiaoaodezitai } + prerequisite = { + focus = SAD_jiaoaodezitai + } cost = 5 - - - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = SAD_duohuiyapingning_tooltip @@ -2092,33 +2098,95 @@ focus_tree = { add_state_core = 849 add_state_core = 850 division_template = { - name = "撒丁青年军" + name = "撒丁青年军" division_names_group = SAD_INF_01 - regiments = { - infantry = { x = 0 y = 0 } - infantry = { x = 0 y = 1 } - infantry = { x = 0 y = 2 } - artillery_brigade = { x = 0 y = 3 } - infantry = { x = 1 y = 0 } - infantry = { x = 1 y = 1 } - infantry = { x = 1 y = 2 } - artillery_brigade = { x = 1 y = 3 } - infantry = { x = 2 y = 0 } - infantry = { x = 2 y = 1 } - infantry = { x = 2 y = 2 } - artillery_brigade = { x = 2 y = 3 } - infantry = { x = 3 y = 0 } - infantry = { x = 3 y = 1 } - infantry = { x = 3 y = 2 } - artillery_brigade = { x = 3 y = 3 } - infantry = { x = 4 y = 0 } - infantry = { x = 4 y = 1 } - infantry = { x = 4 y = 2 } - artillery_brigade = { x = 4 y = 3 } + infantry = { + x = 0 + y = 0 + } + infantry = { + x = 0 + y = 1 + } + infantry = { + x = 0 + y = 2 + } + artillery_brigade = { + x = 0 + y = 3 + } + infantry = { + x = 1 + y = 0 + } + infantry = { + x = 1 + y = 1 + } + infantry = { + x = 1 + y = 2 + } + artillery_brigade = { + x = 1 + y = 3 + } + infantry = { + x = 2 + y = 0 + } + infantry = { + x = 2 + y = 1 + } + infantry = { + x = 2 + y = 2 + } + artillery_brigade = { + x = 2 + y = 3 + } + infantry = { + x = 3 + y = 0 + } + infantry = { + x = 3 + y = 1 + } + infantry = { + x = 3 + y = 2 + } + artillery_brigade = { + x = 3 + y = 3 + } + infantry = { + x = 4 + y = 0 + } + infantry = { + x = 4 + y = 1 + } + infantry = { + x = 4 + y = 2 + } + artillery_brigade = { + x = 4 + y = 3 + } } support = { - engineer = { x = 0 y = 0 } + engineer = { + x = 0 + y = 0 + } } } 115 = { @@ -2152,24 +2220,22 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_duohuiyapingning - prerequisite = { focus = SAD_duohuiyapingning } + prerequisite = { + focus = SAD_duohuiyapingning + } cost = 5 - - bypass = { controls_state = 160 } ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { transfer_state = 160 hidden_effect = { add_state_core = 160 } - } } focus = { @@ -2178,17 +2244,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_weinisixingdong - prerequisite = { focus = SAD_weinisixingdong } + prerequisite = { + focus = SAD_weinisixingdong + } cost = 10 - available = { controls_state = 160 } - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 160 = { @@ -2197,22 +2262,18 @@ focus_tree = { type = infrastructure level = 2 instant_build = yes - } add_building_construction = { type = arms_factory level = 4 instant_build = yes - } add_building_construction = { type = industrial_complex level = 2 instant_build = yes - } } - } } focus = { @@ -2221,22 +2282,25 @@ focus_tree = { x = -1 y = 1 relative_position_id = SAD_duohuiyapingning - prerequisite = { focus = SAD_duohuiyapingning } + prerequisite = { + focus = SAD_duohuiyapingning + } cost = 5 - - bypass = { - NOT = { country_exists = SR2 } + NOT = { + country_exists = SR2 + } } ai_will_do = { factor = 0.1 modifier = { - controls_state = 2 - controls_state = 161 + AND = { + controls_state = 2 + controls_state = 161 + } + add = 10 } - add = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { transfer_state = 448 @@ -2245,13 +2309,11 @@ focus_tree = { transfer_state = 451 transfer_state = 452 hidden_effect = { - add_state_core = 448 add_state_core = 449 add_state_core = 450 add_state_core = 451 add_state_core = 452 - } } } @@ -2261,18 +2323,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_toudubeifei - prerequisite = { focus = SAD_toudubeifei } + prerequisite = { + focus = SAD_toudubeifei + } cost = 10 - available = { controls_state = 450 - } - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 450 = { @@ -2281,38 +2341,39 @@ focus_tree = { amount = 35 } } - } } - focus = { id = SAD_diguodeyichan icon = GFX_focus_BUL_cooperate_with_the_zveno x = -9 y = 1 relative_position_id = SAD_jiaoaodezitai - prerequisite = { focus = SAD_jiaoaodezitai } + prerequisite = { + focus = SAD_jiaoaodezitai + } cost = 3 - available = { - or = { - controls_state = 271 - ETH = { is_subject_of = SAD } + OR = { + controls_state = 271 + ETH = { + is_subject_of = SAD + } } OR = { - if = { - controls_state = 448 - controls_state = 449 - controls_state = 450 - } - LBA = { is_subject_of = SAD } + AND = { + controls_state = 448 + controls_state = 449 + controls_state = 450 + } + LBA = { + is_subject_of = SAD + } } } - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 448 = { @@ -2349,30 +2410,30 @@ focus_tree = { } } } - focus = { id = SAD_yiminlibiya icon = GFX_focus_generic_military_academy x = -2 y = 1 relative_position_id = SAD_diguodeyichan - prerequisite = { focus = SAD_diguodeyichan } + prerequisite = { + focus = SAD_diguodeyichan + } cost = 5 - available = { OR = { - if = { - controls_state = 448 - controls_state = 450 - } - LBA = { is_subject_of = SAD } + AND = { + controls_state = 448 + controls_state = 450 + } + LBA = { + is_subject_of = SAD + } } } - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_manpower = -80000 @@ -2383,7 +2444,7 @@ focus_tree = { 450 = { add_extra_state_shared_building_slots = 3 add_manpower = 40000 - } + } } } focus = { @@ -2392,15 +2453,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_yiminlibiya - prerequisite = { focus = SAD_yiminlibiya } + prerequisite = { + focus = SAD_yiminlibiya + } cost = 3 - - - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_state_core = 448 @@ -2412,10 +2471,13 @@ focus_tree = { add_state_core = 663 add_state_core = 273 if = { - limit = { - country_exists = LBA - } - annex_country = { target = LBA transfer_troops = no } + limit = { + country_exists = LBA + } + annex_country = { + target = LBA + transfer_troops = no + } } } } @@ -2425,18 +2487,17 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_tonghualibiya - prerequisite = { focus = SAD_tonghualibiya } + prerequisite = { + focus = SAD_tonghualibiya + } cost = 10 - available = { controls_state = 450 controls_state = 662 } - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 450 = { @@ -2450,7 +2511,7 @@ focus_tree = { type = oil amount = 60 } - } + } } } focus = { @@ -2459,20 +2520,21 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_diguodeyichan - prerequisite = { focus = SAD_diguodeyichan } + prerequisite = { + focus = SAD_diguodeyichan + } cost = 4 - available = { - or = { - controls_state = 271 - ETH = { is_subject_of = SAD } + OR = { + controls_state = 271 + ETH = { + is_subject_of = SAD + } } } - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_1 = yes @@ -2493,11 +2555,11 @@ focus_tree = { x = 1 y = 1 relative_position_id = SAD_jiaoyufeizhouren - prerequisite = { focus = SAD_jiaoyufeizhouren } + prerequisite = { + focus = SAD_jiaoyufeizhouren + } cost = 10 - available = { - OR = { custom_trigger_tooltip = { tooltip = SAD_heishoudangdehaishangyewu_trigger_tooltip @@ -2507,11 +2569,9 @@ focus_tree = { } controls_state = 559 } - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes @@ -2543,23 +2603,23 @@ focus_tree = { x = -1 y = 1 relative_position_id = SAD_jiaoyufeizhouren - prerequisite = { focus = SAD_jiaoyufeizhouren } + prerequisite = { + focus = SAD_jiaoyufeizhouren + } cost = 8 - available = { - or = { - controls_state = 271 - ETH = { is_subject_of = SAD } + OR = { + controls_state = 271 + ETH = { + is_subject_of = SAD + } } } - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - 271 = { add_resource = { type = rubber @@ -2568,7 +2628,7 @@ focus_tree = { } } } -#tianjiangmod + #tianjiangmod focus = { id = SAD_lingxiudediyizhan icon = GFX_goal_generic_major_war @@ -2578,43 +2638,60 @@ focus_tree = { has_global_flag = MOD_azurlane_tianjiangjianniang } relative_position_id = SAD_waijiaozhengce - prerequisite = { focus = SAD_waijiaozhengce } + prerequisite = { + focus = SAD_waijiaozhengce + } cost = 5 - available = { is_puppet = no - or = { - date > 1938.1.1 - has_army_manpower = { - size > 599999 + OR = { + date > 1938.1.1 + has_army_manpower = { + size > 599999 + } } + NOT = { + has_war_with = ETH } - not = { has_war_with = ETH } } bypass = { - or = { - not = {country_exists = YUG} - has_war_with = YUG - YUG = {is_subject_of = SAD} + OR = { + NOT = { + country_exists = YUG + } + has_war_with = YUG + YUG = { + is_subject_of = SAD + } } } ai_will_do = { factor = 1 modifier = { OR = { - CZE = { has_capitulated = yes } - NOT = { country_exists = CZE } + CZE = { + has_capitulated = yes + } + NOT = { + country_exists = CZE + } } add = 50 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes - add_named_threat = { threat = 5 name = "入侵南斯拉夫" } + add_named_threat = { + threat = 5 + name = "入侵南斯拉夫" + } add_war_support = 0.1 - create_wargoal = { target = YUG type = annex_everything expire = 0 } + create_wargoal = { + target = YUG + type = annex_everything + expire = 0 + } } } focus = { @@ -2623,35 +2700,37 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_lingxiudediyizhan - prerequisite = { focus = SAD_lingxiudediyizhan } + prerequisite = { + focus = SAD_lingxiudediyizhan + } cost = 5 - available = { is_puppet = no - or = { - if = { - date > 1938.1.1 - not = { has_completed_focus = SAD_afeilijiazhichi } + OR = { + AND = { + date > 1938.1.1 + NOT = { + has_completed_focus = SAD_afeilijiazhichi + } + } + has_army_manpower = { + size > 599999 + } } - has_army_manpower = { - size > 599999 - } - } - } - ai_will_do = { factor = 60 - } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes - add_named_threat = { threat = 2 name = "吞并阿尔巴尼亚" } + add_named_threat = { + threat = 2 + name = "吞并阿尔巴尼亚" + } add_war_support = 0.2 ALB = { - country_event = az_tianjiang.27 + country_event = az_tianjiang.27 } every_state = { limit = { @@ -2667,26 +2746,27 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_xianglingxiuchenfu - prerequisite = { focus = SAD_xianglingxiuchenfu } + prerequisite = { + focus = SAD_xianglingxiuchenfu + } cost = 5 - available = { is_puppet = no - or = { - date > 1938.1.1 - has_army_manpower = { - size > 699999 - } + OR = { + date > 1938.1.1 + has_army_manpower = { + size > 699999 + } } } bypass = { - not = {country_exists = BUL } + NOT = { + country_exists = BUL + } } ai_will_do = { factor = 60 - } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes @@ -2706,30 +2786,39 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_youlingxiujueze - prerequisite = { focus = SAD_youlingxiujueze } + prerequisite = { + focus = SAD_youlingxiujueze + } cost = 5 - available = { is_puppet = no - not = { has_completed_focus = SAD_sadingwansui } - or = { - date > 1938.1.1 - has_army_manpower = { - size > 799999 + NOT = { + has_completed_focus = SAD_sadingwansui } + OR = { + date > 1938.1.1 + has_army_manpower = { + size > 799999 + } } } bypass = { - or = { - has_war_with = GRE - GRE = { is_subject_of = HUJ } - not = {country_exists = GRE} + OR = { + has_war_with = GRE + GRE = { + is_subject_of = HUJ + } + NOT = { + country_exists = GRE + } } } ai_will_do = { factor = 1 modifier = { - TIX = { has_completed_focus = TIX_didigongshi } + TIX = { + has_completed_focus = TIX_didigongshi + } add = 40 } modifier = { @@ -2737,11 +2826,14 @@ focus_tree = { add = 40 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes - create_wargoal = { target = GRE type = annex_everything expire = 0 } + create_wargoal = { + target = GRE + type = annex_everything + expire = 0 + } add_ai_strategy = { type = prepare_for_war id = GRE @@ -2762,22 +2854,20 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_lingxiudedierzhan - prerequisite = { focus = SAD_lingxiudedierzhan } - cost = 5 - - - - ai_will_do = { - factor = 12 + prerequisite = { + focus = SAD_lingxiudedierzhan + } + cost = 5 + ai_will_do = { + factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_3 = yes add_ideas = SAD_sddrg } } -#sairenmod + #sairenmod focus = { id = SAD_shentouyuanwei icon = GFX_focus_focus_fra_border @@ -2787,21 +2877,24 @@ focus_tree = { x = 4 y = 1 relative_position_id = SAD_waijiaozhengce - prerequisite = { focus = SAD_waijiaozhengce } - mutually_exclusive = { focus = SAD_baifangbisimai } - mutually_exclusive = { focus = SAD_sadingwansui } + prerequisite = { + focus = SAD_waijiaozhengce + } + mutually_exclusive = { + focus = SAD_baifangbisimai + } + mutually_exclusive = { + focus = SAD_sadingwansui + } cost = 10 - available = { has_equipment = { infantry_equipment > 1999 } } - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -100 @@ -2817,19 +2910,25 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_shentouyuanwei - prerequisite = { focus = SAD_shentouyuanwei } + prerequisite = { + focus = SAD_shentouyuanwei + } cost = 10 - - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_timed_idea = { idea = SAD_fcwxp days = 150 } - YUW = { add_timed_idea = { idea = SAD_sddyx days = 150 } } + add_timed_idea = { + idea = SAD_fcwxp + days = 150 + } + YUW = { + add_timed_idea = { + idea = SAD_sddyx + days = 150 + } + } } } focus = { @@ -2838,25 +2937,25 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_fuchiweixipai - prerequisite = { focus = SAD_fuchiweixipai } + prerequisite = { + focus = SAD_fuchiweixipai + } cost = 5 - - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { limit = { - YUW = { - OR = { - has_completed_focus = YUW_zihuaban - has_completed_focus = YUW_lanhuaban - } - } + # 旧国策 + always = no + # YUW = { + # OR = { + # has_completed_focus = YUW_zihuaban + # has_completed_focus = YUW_lanhuaban + # } + # } } YUW = { set_politics = { @@ -2877,10 +2976,12 @@ focus_tree = { limit = { YUW = { NOT = { - OR = { - has_completed_focus = YUW_zihuaban - has_completed_focus = YUW_lanhuaban - } + # 旧国策 + always = no + # OR = { + # has_completed_focus = YUW_zihuaban + # has_completed_focus = YUW_lanhuaban + # } } } } @@ -2890,7 +2991,6 @@ focus_tree = { } } } - } } focus = { @@ -2899,15 +2999,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_bangzhurangbaer - prerequisite = { focus = SAD_bangzhurangbaer } + prerequisite = { + focus = SAD_bangzhurangbaer + } cost = 2 - - - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { create_faction = "地中海联盟" @@ -2920,16 +3018,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_yaoqiujiemeng - prerequisite = { focus = SAD_yaoqiujiemeng } - + prerequisite = { + focus = SAD_yaoqiujiemeng + } cost = 10 - - - ai_will_do = { factor = 1 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 @@ -2938,7 +3033,6 @@ focus_tree = { OR = { tag = YUW tag = SAD - } } add_ideas = SAD_hnyg @@ -2951,21 +3045,29 @@ focus_tree = { offset = { trigger = { has_global_flag = MOD_azurlane_sairenzhizai - } + } x = 1 } x = -5 y = 1 relative_position_id = SAD_waijiaozhengce - prerequisite = { focus = SAD_waijiaozhengce } + prerequisite = { + focus = SAD_waijiaozhengce + } cost = 2 - mutually_exclusive = { focus = SAD_sadingwansui } - mutually_exclusive = { focus = SAD_shentouyuanwei } + mutually_exclusive = { + focus = SAD_sadingwansui + } + mutually_exclusive = { + focus = SAD_shentouyuanwei + } available = { is_puppet = no has_government = fascism TIX = { - not = { has_completed_focus = TIX_fanduibisimai } + NOT = { + has_completed_focus = TIX_fanduibisimai + } } is_in_faction = no } @@ -2975,8 +3077,9 @@ focus_tree = { ai_will_do = { factor = 5 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_political_power = 100 TIX = { @@ -2985,7 +3088,12 @@ focus_tree = { modifier = SAD_sadinglaifang } } - hidden_effect = { country_event = { id = SAD_event.3 days = 10 } } + hidden_effect = { + country_event = { + id = SAD_event.3 + days = 10 + } + } } } focus = { @@ -2994,19 +3102,22 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_baifangbisimai - prerequisite = { focus = SAD_baifangbisimai } + prerequisite = { + focus = SAD_baifangbisimai + } cost = 1 - available = { is_puppet = no has_government = fascism TIX = { - has_government = fascism + has_government = fascism } custom_trigger_tooltip = { tooltip = "铁血国创建了赤色中轴" has_global_flag = TIX_created_chisezhongzhou - TIX = { is_faction_leader = yes } + TIX = { + is_faction_leader = yes + } } is_in_faction = no } @@ -3016,7 +3127,6 @@ focus_tree = { ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -50 @@ -3031,23 +3141,28 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_fangdizitai - prerequisite = { focus = SAD_fangdizitai } + prerequisite = { + focus = SAD_fangdizitai + } cost = 3 - available = { is_in_faction_with = TIX } - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 30 air_experience = 15 - add_offsite_building = { type = arms_factory level = 3 } - add_offsite_building = { type = industrial_complex level = 2 } + add_offsite_building = { + type = arms_factory + level = 3 + } + add_offsite_building = { + type = industrial_complex + level = 2 + } } } focus = { @@ -3056,17 +3171,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_qingqiubangzhu - prerequisite = { focus = SAD_qingqiubangzhu } + prerequisite = { + focus = SAD_qingqiubangzhu + } cost = 5 - available = { is_in_faction_with = TIX } - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { @@ -3084,8 +3198,11 @@ focus_tree = { category = artillery category = motorized_equipment } - TIX = { - add_offsite_building = { type = dockyard level = 4 } + TIX = { + add_offsite_building = { + type = dockyard + level = 4 + } add_doctrine_cost_reduction = { name = "撒丁的报恩" cost_reduction = 0.15 @@ -3107,17 +3224,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SAD_sadingdebaoen - prerequisite = { focus = SAD_sadingdebaoen } + prerequisite = { + focus = SAD_sadingdebaoen + } cost = 7 - available = { is_in_faction_with = TIX } - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_gtty @@ -3131,27 +3247,32 @@ focus_tree = { y = 0 relative_position_id = SAD_zhianguanli cost = 5 - mutually_exclusive = { focus = SAD_afeilijiazhichi } - available = { - always = no + mutually_exclusive = { + focus = SAD_afeilijiazhichi + } + available = { + always = no } - ai_will_do = { factor = 100 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { guojishengyu_down_1 = yes add_political_power = 50 add_stability = 0.05 add_war_support = 0.1 - add_popularity = { ideology = fascism popularity = 0.1 } + add_popularity = { + ideology = fascism + popularity = 0.1 + } set_power_balance = { - id = SAD_balance - left_side = SAD_left_side # will keep the last set side if not specified - right_side = SAD_right_side # will keep the last set side if not specified - set_default = yes # whether or not to reset the power balance to the initial value, default = no + id = SAD_balance + left_side = SAD_left_side # will keep the last set side if not specified + right_side = SAD_right_side # will keep the last set side if not specified + set_default = yes # whether or not to reset the power balance to the initial value, default = no } } } @@ -3162,126 +3283,144 @@ focus_tree = { y = 0 relative_position_id = SAD_zaifeizhoudeshengli cost = 5 - mutually_exclusive = { focus = SAD_zaifeizhoudeshengli } - available = { - always = no + mutually_exclusive = { + focus = SAD_zaifeizhoudeshengli + } + available = { + always = no } - - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_3 = yes - white_peace = { - tag = ETH + white_peace = { + tag = ETH } add_political_power = -50 add_stability = -0.1 add_war_support = -0.2 - add_popularity = { ideology = fascism popularity = -0.2 } + add_popularity = { + ideology = fascism + popularity = -0.2 + } set_power_balance = { - id = SAD_balance - left_side = SAD_left_side # will keep the last set side if not specified - right_side = SAD_right_side # will keep the last set side if not specified - set_default = yes # whether or not to reset the power balance to the initial value, default = no + id = SAD_balance + left_side = SAD_left_side # will keep the last set side if not specified + right_side = SAD_right_side # will keep the last set side if not specified + set_default = yes # whether or not to reset the power balance to the initial value, default = no } add_power_balance_value = { - id = SAD_balance - value = -0.2 + id = SAD_balance + value = -0.2 } } } - focus = { id = SAD_sadingwansui icon = GFX_focus_generic_fascist_propaganda - x = 4 y = 0 - prerequisite = { focus = SAD_waijiaozhengce } + prerequisite = { + focus = SAD_waijiaozhengce + } relative_position_id = SAD_baifangbisimai cost = 2 - mutually_exclusive = { focus = SAD_baifangbisimai } - mutually_exclusive = { focus = SAD_shentouyuanwei } + mutually_exclusive = { + focus = SAD_baifangbisimai + } + mutually_exclusive = { + focus = SAD_shentouyuanwei + } available = { is_puppet = no is_in_faction = no } bypass = { - or = { - is_in_faction_with = HUJ - is_in_faction_with = YUW - is_in_faction_with = BFL + OR = { + is_in_faction_with = HUJ + is_in_faction_with = YUW + is_in_faction_with = BFL } } ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_war_support = 0.3 - set_rule = { can_create_factions = yes } + set_rule = { + can_create_factions = yes + } create_faction = "新萝马帝国" } } - focus = { id = SAD_ruqinxila icon = GFX_goal_generic_territory_or_war x = 0 y = 1 - prerequisite = { focus = SAD_sadingwansui } + prerequisite = { + focus = SAD_sadingwansui + } relative_position_id = SAD_sadingwansui cost = 3 available = { is_puppet = no } - ai_will_do = { factor = 1 modifier = { OR = { - ROM = { has_capitulated = yes } - NOT = { country_exists = ROM } + ROM = { + has_capitulated = yes + } + NOT = { + country_exists = ROM + } } add = 50 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } + limit = { + has_global_flag = MOD_azurlane_sairenzhizai + } add_war_support = 0.2 transfer_state = 164 - transfer_state = 187 - transfer_state = 186 - transfer_state = 47 - transfer_state = 185 - transfer_state = 731 - transfer_state = 184 - + transfer_state = 187 + transfer_state = 186 + transfer_state = 47 + transfer_state = 185 + transfer_state = 731 + transfer_state = 184 add_state_core = 164 - add_state_core = 187 - add_state_core = 186 - add_state_core = 47 - add_state_core = 185 - add_state_core = 731 - add_state_core = 184 + add_state_core = 187 + add_state_core = 186 + add_state_core = 47 + add_state_core = 185 + add_state_core = 731 + add_state_core = 184 } else_if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } add_war_support = 0.2 - declare_war_on = { target = GRE type = annex_everything } - every_state = { - limit = { is_core_of = GRE } - add_core_of = SAD - } + declare_war_on = { + target = GRE + type = annex_everything + } + every_state = { + limit = { + is_core_of = GRE + } + add_core_of = SAD + } } } } @@ -3290,18 +3429,18 @@ focus_tree = { icon = GFX_focus_generic_refit_civilian_ships x = 0 y = 1 - prerequisite = { focus = SAD_ruqinxila } + prerequisite = { + focus = SAD_ruqinxila + } relative_position_id = SAD_ruqinxila cost = 8 available = { controls_state = 158 controls_state = 160 } - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 158 = { @@ -3309,7 +3448,7 @@ focus_tree = { add_building_construction = { type = dockyard level = 4 - instant_build = yes + instant_build = yes } } 160 = { @@ -3317,7 +3456,7 @@ focus_tree = { add_building_construction = { type = dockyard level = 4 - instant_build = yes + instant_build = yes } } } @@ -3327,29 +3466,28 @@ focus_tree = { icon = GFX_focus_generic_midget_submarines x = 0 y = 1 - prerequisite = { focus = SAD_kuojianchuanwu } + prerequisite = { + focus = SAD_kuojianchuanwu + } relative_position_id = SAD_kuojianchuanwu cost = 10 - - ai_will_do = { factor = 12 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { - name = "海军研究" - cost_reduction = 0.5 - uses = 4 - category = naval_doctrine - } - add_tech_bonus = { - name = "海军研究" - bonus = 1 - uses = 6 - category = naval_equipment - } + name = "海军研究" + cost_reduction = 0.5 + uses = 4 + category = naval_doctrine + } + add_tech_bonus = { + name = "海军研究" + bonus = 1 + uses = 6 + category = naval_equipment + } } } focus = { @@ -3357,48 +3495,46 @@ focus_tree = { icon = GFX_focus_ITA_mare_nostrum x = 0 y = 1 - prerequisite = { focus = SAD_haijunyanjiu } + prerequisite = { + focus = SAD_haijunyanjiu + } relative_position_id = SAD_haijunyanjiu cost = 5 - - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_cbdzh_idea } } - focus = { id = SAD_waijiaozhengce icon = GFX_goal_generic_dangerous_deal offset = { trigger = { has_global_flag = MOD_azurlane_sairenzhizai - } + } x = -3 } x = 10 y = 1 - prerequisite = { focus = SAD_jiaoaodezitai } + prerequisite = { + focus = SAD_jiaoaodezitai + } relative_position_id = SAD_jiaoaodezitai cost = 3 available = { is_puppet = no - or = { - has_completed_focus = SAD_weiyuanhuishengli - has_completed_focus = SAD_weineituodeshengli - has_completed_focus = SAD_yuanlaoyuanzhangquan + OR = { + has_completed_focus = SAD_weiyuanhuishengli + has_completed_focus = SAD_weineituodeshengli + has_completed_focus = SAD_yuanlaoyuanzhangquan } } - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 80 @@ -3410,7 +3546,7 @@ focus_tree = { } } } -#tianjiangmod + #tianjiangmod focus = { id = SAD_suoqutiqienuo icon = GFX_focus_attack_switzerland @@ -3419,61 +3555,75 @@ focus_tree = { allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - prerequisite = { focus = SAD_waijiaozhengce } + prerequisite = { + focus = SAD_waijiaozhengce + } relative_position_id = SAD_waijiaozhengce cost = 5 will_lead_to_war_with = SWI will_lead_to_war_with = YUW available = { is_puppet = no - SWI = { controls_state = 846 } - or = { - date > 1938.1.1 - has_army_manpower = { - size > 599999 + SWI = { + controls_state = 846 } + OR = { + date > 1938.1.1 + has_army_manpower = { + size > 599999 + } } } bypass = { - or = { - has_war_with = SWI - not = {country_exists = SWI} - controls_state = 846 - has_war_with = YUW - has_war_with = HUJ - YUW = { - has_completed_focus = YUW_yuanweikuozhangzhuyi - } - YUW = { - has_government = fascism - } - is_in_faction_with = YUW + OR = { + has_war_with = SWI + NOT = { + country_exists = SWI + } + controls_state = 846 + has_war_with = YUW + has_war_with = HUJ + YUW = { + has_completed_focus = YUW_yuanweikuozhangzhuyi + } + YUW = { + has_government = fascism + } + is_in_faction_with = YUW } } ai_will_do = { factor = 1 modifier = { - date > 1939.1.1 - add = 30 + date > 1939.1.1 + add = 30 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes - add_named_threat = { threat = 5 name = "提契诺危机" } + add_named_threat = { + threat = 5 + name = "提契诺危机" + } add_state_core = 846 - YUW = { country_event = az_tianjiang.151 days = 3 } + YUW = { + country_event = { + id = az_tianjiang.151 + days = 3 + } + } custom_effect_tooltip = sad_swiyuwganshekenenggao } } - focus = { id = SAD_qiangzhanbalialiqundao icon = GFX_focus_focus_fra_intervention_spain x = 0 y = 1 - prerequisite = { focus = SAD_suoqutiqienuo } + prerequisite = { + focus = SAD_suoqutiqienuo + } relative_position_id = SAD_suoqutiqienuo cost = 2 available = { @@ -3486,121 +3636,153 @@ focus_tree = { ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes - add_named_threat = { threat = 1 name = "强占小岛" } + add_named_threat = { + threat = 1 + name = "强占小岛" + } add_war_support = 0.1 transfer_state = 177 add_state_core = 177 } } - focus = { id = SAD_xijisaipulusi icon = GFX_focus_generic_attack_cyprus x = 0 y = 1 - prerequisite = { focus = SAD_qiangzhanbalialiqundao } + prerequisite = { + focus = SAD_qiangzhanbalialiqundao + } relative_position_id = SAD_qiangzhanbalialiqundao cost = 4 available = { is_puppet = no - not = { is_in_faction_with = HUJ } + NOT = { + is_in_faction_with = HUJ + } HUJ = { - controls_state = 183 + controls_state = 183 } } bypass = { - or = { - controls_state = 183 - is_in_faction_with = HUJ + OR = { + controls_state = 183 + is_in_faction_with = HUJ } } ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes - add_named_threat = { threat = 3 name = "塞浦路斯冲突" } + add_named_threat = { + threat = 3 + name = "塞浦路斯冲突" + } custom_effect_tooltip = sad_huangjiajinyunsad transfer_state = 183 add_state_core = 183 - HUJ = { country_event = az_tianjiang.150 days = 2 } + HUJ = { + country_event = { + id = az_tianjiang.150 + days = 2 + } + } hidden_effect = { - news_event = { id = az_tianjiang.209 days = 1} + news_event = { + id = az_tianjiang.209 + days = 1 + } } } } - focus = { id = SAD_chongshenduiyuanweidexuancheng icon = GFX_aflag_YUW x = 0 y = 1 - prerequisite = { focus = SAD_xijisaipulusi } + prerequisite = { + focus = SAD_xijisaipulusi + } relative_position_id = SAD_xijisaipulusi cost = 8 will_lead_to_war_with = YUW available = { is_puppet = no - not = { is_in_faction_with = YUW } - has_army_manpower = { size > 1499999 } + NOT = { + is_in_faction_with = YUW + } + has_army_manpower = { + size > 1499999 + } } bypass = { - or = { - has_war_with = YUW - not = { country_exists = YUW } - country_exists = WEX - is_in_faction_with = YUW + OR = { + has_war_with = YUW + NOT = { + country_exists = YUW + } + country_exists = WEX + is_in_faction_with = YUW } } ai_will_do = { factor = 1 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = YUW type = take_state_focus } + create_wargoal = { + target = YUW + type = take_state_focus + } add_state_core = 735 add_state_core = 1 add_state_core = 458 add_state_core = 665 - } } - focus = { id = SAD_feizhoushuyuwomen icon = GFX_aflag_HUJ x = 0 y = 1 - prerequisite = { focus = SAD_chongshenduiyuanweidexuancheng } + prerequisite = { + focus = SAD_chongshenduiyuanweidexuancheng + } relative_position_id = SAD_chongshenduiyuanweidexuancheng cost = 8 will_lead_to_war_with = HUJ available = { is_puppet = no - not = { is_in_faction_with = HUJ } - has_army_manpower = { size > 1999999 } + NOT = { + is_in_faction_with = HUJ + } + has_army_manpower = { + size > 1999999 + } } bypass = { - or = { - has_war_with = HUJ - not = { country_exists = HUJ } - is_in_faction_with = HUJ + OR = { + has_war_with = HUJ + NOT = { + country_exists = HUJ + } + is_in_faction_with = HUJ } } ai_will_do = { factor = 1 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = HUJ type = take_state_focus } + create_wargoal = { + target = HUJ + type = take_state_focus + } add_state_claim = 452 add_state_claim = 447 add_state_claim = 907 @@ -3612,122 +3794,131 @@ focus_tree = { add_state_claim = 455 } } - focus = { id = SAD_chengzanfeizhoujuntuan icon = GFX_focus_ITA_moschettieri_del_duce x = 0 y = 1 - prerequisite = { focus = SAD_zaifeizhoudeshengli } + prerequisite = { + focus = SAD_zaifeizhoudeshengli + } relative_position_id = SAD_zaifeizhoudeshengli cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 50 add_war_support = 0.2 } } - focus = { id = SAD_gonggulingxiuquanli icon = GFX_focus_ITA_generic_fascist_workers x = -2 y = 0 - prerequisite = { focus = SAD_zaifeizhoudeshengli } + prerequisite = { + focus = SAD_zaifeizhoudeshengli + } relative_position_id = SAD_chengzanfeizhoujuntuan cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 50 add_stability = 0.05 add_power_balance_value = { - id = SAD_balance - value = 0.1 + id = SAD_balance + value = 0.1 } } } - focus = { id = SAD_shenshizhanbaiyuanyin icon = GFX_focus_ETH_the_patriots x = 2 y = 0 - prerequisite = { focus = SAD_afeilijiazhichi } + prerequisite = { + focus = SAD_afeilijiazhichi + } relative_position_id = SAD_chengzanfeizhoujuntuan cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 100 } } - focus = { id = SAD_zhiyiweiyuanhuitongzhi icon = GFX_focus_ITA_banda_carita x = 4 y = 0 - prerequisite = { focus = SAD_afeilijiazhichi } + prerequisite = { + focus = SAD_afeilijiazhichi + } relative_position_id = SAD_chengzanfeizhoujuntuan cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = neutrality popularity = 0.1 } - add_popularity = { ideology = democratic popularity = 0.05 } + add_popularity = { + ideology = neutrality + popularity = 0.1 + } + add_popularity = { + ideology = democratic + popularity = 0.05 + } add_power_balance_value = { - id = SAD_balance - value = -0.2 + id = SAD_balance + value = -0.2 } } } - focus = { id = SAD_anliuyongdong icon = GFX_focus_generic_spread_fascism x = 1 y = 1 - prerequisite = { focus = SAD_chengzanfeizhoujuntuan focus = SAD_shenshizhanbaiyuanyin} - prerequisite = { focus = SAD_gonggulingxiuquanli focus = SAD_zhiyiweiyuanhuitongzhi} + prerequisite = { + focus = SAD_chengzanfeizhoujuntuan + focus = SAD_shenshizhanbaiyuanyin + } + prerequisite = { + focus = SAD_gonggulingxiuquanli + focus = SAD_zhiyiweiyuanhuitongzhi + } relative_position_id = SAD_chengzanfeizhoujuntuan cost = 1 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 50 } } - focus = { id = SAD_weiyuanhuishengli icon = GFX_focus_lituoliao x = -6 y = 1 - prerequisite = { focus = SAD_anliuyongdong } + prerequisite = { + focus = SAD_anliuyongdong + } relative_position_id = SAD_anliuyongdong - mutually_exclusive = { focus = SAD_weineituodeshengli focus = SAD_yuanlaoyuanzhangquan } + mutually_exclusive = { + focus = SAD_weineituodeshengli + focus = SAD_yuanlaoyuanzhangquan + } cost = 5 available = { has_government = fascism @@ -3736,30 +3927,36 @@ focus_tree = { ruling_only = yes } power_balance_value = { - id = SAD_balance - value > 0.9 + id = SAD_balance + value > 0.9 } } ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 100 add_war_support = 0.3 - add_popularity = { ideology = fascism popularity = 0.2 } + add_popularity = { + ideology = fascism + popularity = 0.2 + } } } - focus = { id = SAD_weineituodeshengli icon = GFX_focus_weineituo x = 0 y = 1 - prerequisite = { focus = SAD_anliuyongdong } + prerequisite = { + focus = SAD_anliuyongdong + } relative_position_id = SAD_anliuyongdong - mutually_exclusive = { focus = SAD_weiyuanhuishengli focus = SAD_yuanlaoyuanzhangquan } + mutually_exclusive = { + focus = SAD_weiyuanhuishengli + focus = SAD_yuanlaoyuanzhangquan + } cost = 5 available = { has_government = fascism @@ -3768,35 +3965,42 @@ focus_tree = { ruling_only = yes } power_balance_value = { - id = SAD_balance - value > 0.5 + id = SAD_balance + value > 0.5 } power_balance_value = { - id = SAD_balance - value < 0.7 + id = SAD_balance + value < 0.7 } } ai_will_do = { factor = 80 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { - hidden_effect = { remove_country_leader_trait = xszm } + hidden_effect = { + remove_country_leader_trait = xszm + } add_country_leader_trait = xszm_2 army_experience = 50 add_stability = 0.2 } } - focus = { id = SAD_yuanlaoyuanzhangquan icon = GFX_focus_generic_pope x = 6 y = 1 - prerequisite = { focus = SAD_anliuyongdong } + prerequisite = { + focus = SAD_anliuyongdong + } relative_position_id = SAD_anliuyongdong - mutually_exclusive = { focus = SAD_weiyuanhuishengli focus = SAD_weineituodeshengli } + mutually_exclusive = { + focus = SAD_weiyuanhuishengli + focus = SAD_weineituodeshengli + } cost = 5 available = { has_government = neutrality @@ -3806,68 +4010,70 @@ focus_tree = { ruling_only = yes } power_balance_value = { - id = SAD_balance - value < -0.9 + id = SAD_balance + value < -0.9 } } ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = makeboluo_tezhishengji add_country_leader_trait = trait_psh_makeboluo_2 - hidden_effect = { remove_country_leader_trait = trait_makeboluo } + hidden_effect = { + remove_country_leader_trait = trait_makeboluo + } add_war_support = 0.2 add_stability = 0.4 } } - focus = { id = SAD_meilizhiguo icon = GFX_focus_generic_fascist_troops x = -3 y = 1 - prerequisite = { focus = SAD_weineituodeshengli focus = SAD_weiyuanhuishengli} + prerequisite = { + focus = SAD_weineituodeshengli + focus = SAD_weiyuanhuishengli + } relative_position_id = SAD_weineituodeshengli cost = 5 available = { has_government = fascism power_balance_value = { - id = SAD_balance - value > 0.3 + id = SAD_balance + value > 0.3 } } ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_meilizhiguo_idea } } - focus = { id = SAD_yuweiyuanhuihezuo icon = GFX_focus_ITA_blackshirts x = 0 y = 1 - prerequisite = { focus = SAD_meilizhiguo } + prerequisite = { + focus = SAD_meilizhiguo + } relative_position_id = SAD_meilizhiguo cost = 5 available = { has_government = fascism power_balance_value = { - id = SAD_balance - value > 0.5 + id = SAD_balance + value > 0.5 } } ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 50 @@ -3875,25 +4081,26 @@ focus_tree = { add_war_support = 0.2 } } - focus = { id = SAD_xunlianjundui icon = GFX_focus_ITA_alpine_division x = 3 y = 1 - prerequisite = { focus = SAD_weineituodeshengli focus = SAD_yuanlaoyuanzhangquan} + prerequisite = { + focus = SAD_weineituodeshengli + focus = SAD_yuanlaoyuanzhangquan + } relative_position_id = SAD_weineituodeshengli cost = 5 available = { - or = { - has_government = neutrality - has_government = fascism + OR = { + has_government = neutrality + has_government = fascism } } ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 75 @@ -3902,37 +4109,38 @@ focus_tree = { add_war_support = 0.15 } } - focus = { id = SAD_luomameng icon = GFX_focus_ITA_cavalry_charge x = 0 y = 1 - prerequisite = { focus = SAD_xunlianjundui } + prerequisite = { + focus = SAD_xunlianjundui + } relative_position_id = SAD_xunlianjundui cost = 5 available = { - or = { - has_government = neutrality - has_government = fascism + OR = { + has_government = neutrality + has_government = fascism } } ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_luomameng_idea } } - focus = { id = SAD_jiaotiaozhishang icon = GFX_focus_generic_vatican_state x = 0 y = 1 - prerequisite = { focus = SAD_yuanlaoyuanzhangquan } + prerequisite = { + focus = SAD_yuanlaoyuanzhangquan + } relative_position_id = SAD_yuanlaoyuanzhangquan cost = 8 available = { @@ -3941,19 +4149,19 @@ focus_tree = { ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_jiaotiaozhishang_idea } } - focus = { id = SAD_jinghuamanjiu icon = GFX_focus_manjiu x = 0 y = 1 - prerequisite = { focus = SAD_jiaotiaozhishang } + prerequisite = { + focus = SAD_jiaotiaozhishang + } relative_position_id = SAD_jiaotiaozhishang cost = 5 available = { @@ -3962,19 +4170,19 @@ focus_tree = { ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_jinghuamanjiu_idea } } - focus = { id = SAD_xindegangling icon = GFX_focus_generic_improve_the_administration x = 0 y = 1 - prerequisite = { focus = SAD_weiyuanhuishengli } + prerequisite = { + focus = SAD_weiyuanhuishengli + } relative_position_id = SAD_weiyuanhuishengli cost = 8 available = { @@ -3983,23 +4191,23 @@ focus_tree = { ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_power_balance_value = { - id = SAD_balance - value = -0.3 + id = SAD_balance + value = -0.3 } add_ideas = SAD_xindegangling_idea } } - focus = { id = SAD_kuodafeizhoujuntuan icon = GFX_focus_ITA_strengthen_ascari_corps x = 0 y = 1 - prerequisite = { focus = SAD_xindegangling } + prerequisite = { + focus = SAD_xindegangling + } relative_position_id = SAD_xindegangling cost = 5 available = { @@ -4008,19 +4216,19 @@ focus_tree = { ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_zhimindizhengbing_idea } } - focus = { id = SAD_maixiangsadingjueqi icon = GFX_focus_ITA_italian_hegemony x = 0 y = 1 - prerequisite = { focus = SAD_weineituodeshengli } + prerequisite = { + focus = SAD_weineituodeshengli + } relative_position_id = SAD_weineituodeshengli cost = 10 available = { @@ -4029,19 +4237,19 @@ focus_tree = { ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_mxsdjq_idea } } - focus = { id = SAD_weiyouyuxue icon = GFX_focus_ITA_by_blood_alone x = 0 y = 1 - prerequisite = { focus = SAD_maixiangsadingjueqi } + prerequisite = { + focus = SAD_maixiangsadingjueqi + } relative_position_id = SAD_maixiangsadingjueqi cost = 5 available = { @@ -4050,175 +4258,212 @@ focus_tree = { ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_weiyouyuxue_idea } } - focus = { id = SAD_fangyibahuo icon = GFX_focus_generic_infiltration x = 1 y = 1 - prerequisite = { focus = SAD_kuodafeizhoujuntuan focus = SAD_weiyouyuxue focus = SAD_jinghuamanjiu } - prerequisite = { focus = SAD_yuweiyuanhuihezuo focus = SAD_luomameng } - mutually_exclusive = { focus = SAD_weichiquanlipingheng focus = SAD_qudiweiyuanhui } + prerequisite = { + focus = SAD_kuodafeizhoujuntuan + focus = SAD_weiyouyuxue + focus = SAD_jinghuamanjiu + } + prerequisite = { + focus = SAD_yuweiyuanhuihezuo + focus = SAD_luomameng + } + mutually_exclusive = { + focus = SAD_weichiquanlipingheng + focus = SAD_qudiweiyuanhui + } relative_position_id = SAD_kuodafeizhoujuntuan cost = 10 available = { has_government = fascism power_balance_value = { - id = SAD_balance - value > 0.65 + id = SAD_balance + value > 0.65 } } ai_will_do = { factor = 0 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = ifltlalingxiu_tezhihuode effect_tooltip = { - add_country_leader_trait = trait_psh_zhigaolingxiu + add_country_leader_trait = trait_psh_zhigaolingxiu } hidden_effect = { - if = { - has_country_leader = { - name = "利托里奥" - ruling_only = yes - } - add_country_leader_trait = trait_psh_zhigaolingxiu - } + if = { + limit = { + has_country_leader = { + name = "利托里奥" + ruling_only = yes + } + } + add_country_leader_trait = trait_psh_zhigaolingxiu + } } add_ideas = SAD_wyhdtz - remove_power_balance = { id = SAD_balance } + remove_power_balance = { + id = SAD_balance + } } } - focus = { id = SAD_weichiquanlipingheng icon = GFX_focus_ITA_the_social_republic_prevails x = 0 y = 1 - prerequisite = { focus = SAD_kuodafeizhoujuntuan focus = SAD_weiyouyuxue focus = SAD_jinghuamanjiu } - prerequisite = { focus = SAD_yuweiyuanhuihezuo focus = SAD_luomameng } - mutually_exclusive = { focus = SAD_fangyibahuo focus = SAD_qudiweiyuanhui } + prerequisite = { + focus = SAD_kuodafeizhoujuntuan + focus = SAD_weiyouyuxue + focus = SAD_jinghuamanjiu + } + prerequisite = { + focus = SAD_yuweiyuanhuihezuo + focus = SAD_luomameng + } + mutually_exclusive = { + focus = SAD_fangyibahuo + focus = SAD_qudiweiyuanhui + } relative_position_id = SAD_weiyouyuxue cost = 10 available = { - or = { - has_government = fascism - has_government = neutrality + OR = { + has_government = fascism + has_government = neutrality } power_balance_value = { - id = SAD_balance - value < 0.8 + id = SAD_balance + value < 0.8 } power_balance_value = { - id = SAD_balance - value > -0.75 + id = SAD_balance + value > -0.75 } } ai_will_do = { factor = 80 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { custom_effect_tooltip = AZ_lishitiaozhan_on effect_tooltip = { - country_event = az_tianjiang.270 + country_event = az_tianjiang.270 } custom_effect_tooltip = iflwntlingxiu_tezhihuode effect_tooltip = { - add_country_leader_trait = trait_psh_tianxuanzhiren + add_country_leader_trait = trait_psh_tianxuanzhiren } hidden_effect = { - if = { - limit = { - has_country_leader = { - name = "维内托" - ruling_only = yes - } - } - add_country_leader_trait = trait_psh_tianxuanzhiren - } + if = { + limit = { + has_country_leader = { + name = "维内托" + ruling_only = yes + } + } + add_country_leader_trait = trait_psh_tianxuanzhiren + } } random_unit_leader = { - limit = { is_country_leader = yes } + limit = { + is_country_leader = yes + } add_skill_level = 2 add_unit_leader_trait = skilled_staffer add_unit_leader_trait = expert_delegator } add_political_power = -100 hidden_effect = { - if = { - limit = { - has_global_flag = modoption_historicalbossai_on - } - country_event = az_tianjiang.270 - } + if = { + limit = { + has_global_flag = modoption_historicalbossai_on + } + country_event = az_tianjiang.270 + } } } } - focus = { id = SAD_qudiweiyuanhui icon = GFX_focus_generic_anti_fascist_diplomacy x = -1 y = 1 - prerequisite = { focus = SAD_kuodafeizhoujuntuan focus = SAD_weiyouyuxue focus = SAD_jinghuamanjiu } - prerequisite = { focus = SAD_yuweiyuanhuihezuo focus = SAD_luomameng } - mutually_exclusive = { focus = SAD_fangyibahuo focus = SAD_weichiquanlipingheng } + prerequisite = { + focus = SAD_kuodafeizhoujuntuan + focus = SAD_weiyouyuxue + focus = SAD_jinghuamanjiu + } + prerequisite = { + focus = SAD_yuweiyuanhuihezuo + focus = SAD_luomameng + } + mutually_exclusive = { + focus = SAD_fangyibahuo + focus = SAD_weichiquanlipingheng + } relative_position_id = SAD_jinghuamanjiu cost = 10 available = { has_government = neutrality power_balance_value = { - id = SAD_balance - value < -0.75 + id = SAD_balance + value < -0.75 } } ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = makeboluo_tezhishengji add_country_leader_trait = trait_psh_makeboluo_3 - hidden_effect = { remove_country_leader_trait = trait_psh_makeboluo_2 } + hidden_effect = { + remove_country_leader_trait = trait_psh_makeboluo_2 + } add_ideas = SAD_ylyzkql - remove_power_balance = { id = SAD_balance } + remove_power_balance = { + id = SAD_balance + } } } - focus = { id = SAD_womendehai icon = GFX_focus_generic_italy_propaganda x = 0 y = 1 - prerequisite = { focus = SAD_fangyibahuo focus = SAD_weichiquanlipingheng focus = SAD_qudiweiyuanhui } + prerequisite = { + focus = SAD_fangyibahuo + focus = SAD_weichiquanlipingheng + focus = SAD_qudiweiyuanhui + } relative_position_id = SAD_weichiquanlipingheng cost = 8 available = { is_puppet = no - or = { - date > 1940.6.1 - has_war_with = HUJ + OR = { + date > 1940.6.1 + has_war_with = HUJ } } ai_will_do = { factor = 1 modifier = { - date > 1941.1.1 - add = 20 + date > 1941.1.1 + add = 20 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { set_rule = { @@ -4227,13 +4472,14 @@ focus_tree = { add_ideas = SAD_womendehai_idea } } - focus = { id = SAD_kuojianladingmukongjunxueyuan icon = GFX_focus_generic_copy_plane_designs x = -4 y = 1 - prerequisite = { focus = SAD_womendehai } + prerequisite = { + focus = SAD_womendehai + } relative_position_id = SAD_womendehai cost = 8 available = { @@ -4242,23 +4488,23 @@ focus_tree = { ai_will_do = { factor = 1 modifier = { - date > 1941.1.1 - add = 20 + date > 1941.1.1 + add = 20 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_kjldmkjxy } } - focus = { id = SAD_diguohaijundajian icon = GFX_focus_ITA_milizia_marittima_di_artiglieria x = 4 y = 1 - prerequisite = { focus = SAD_womendehai } + prerequisite = { + focus = SAD_womendehai + } relative_position_id = SAD_womendehai cost = 8 available = { @@ -4267,30 +4513,36 @@ focus_tree = { ai_will_do = { factor = 1 modifier = { - date > 1941.1.1 - add = 20 + date > 1941.1.1 + add = 20 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SAD_diguohjdj } } - focus = { id = SAD_xindediguo icon = GFX_focus_ITA_greater_italy x = -4 y = 1 - prerequisite = { focus = SAD_diguohaijundajian } - prerequisite = { focus = SAD_kuojianladingmukongjunxueyuan } + prerequisite = { + focus = SAD_diguohaijundajian + } + prerequisite = { + focus = SAD_kuojianladingmukongjunxueyuan + } relative_position_id = SAD_diguohaijundajian cost = 10 available = { is_puppet = no - has_army_manpower = { size > 2000000 } - not = { has_completed_focus = SAD_chongzhudiguorongguang } + has_army_manpower = { + size > 2000000 + } + NOT = { + has_completed_focus = SAD_chongzhudiguorongguang + } controls_state = 2 controls_state = 846 controls_state = 735 @@ -4302,11 +4554,10 @@ focus_tree = { ai_will_do = { factor = 1 modifier = { - date > 1941.1.1 - add = 20 + date > 1941.1.1 + add = 20 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { set_cosmetic_tag = SAD_xindiguo @@ -4318,20 +4569,16 @@ focus_tree = { icon = GFX_focus_eng_special_air_service x = 8 y = 0 - cost = 5 - allow_branch = { has_global_flag = MOD_azurlane_sairenzhizai } - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { country_event = az_tianjiang.189 } } -} \ No newline at end of file +} diff --git a/src/common/national_focus/sho_focus.txt b/src/common/national_focus/sho_focus.txt index 73787e3..d9bea3c 100755 --- a/src/common/national_focus/sho_focus.txt +++ b/src/common/national_focus/sho_focus.txt @@ -5,16 +5,12 @@ focus_tree = { shared_focus = AL_junshi country = { factor = 0 - modifier = { add = 10 tag = SHO } - } - default = no - #####工业线##### focus = { id = SHO_industry_bill @@ -22,7 +18,6 @@ focus_tree = { x = 4 y = 0 cost = 5 - ai_will_do = { factor = 15 } @@ -31,7 +26,6 @@ focus_tree = { add_political_power = 100 } } - ####民工线#### focus = { id = SHO_industrial_area @@ -39,9 +33,10 @@ focus_tree = { x = -1 y = 1 relative_position_id = SHO_industry_bill - prerequisite = { focus = SHO_industry_bill } + prerequisite = { + focus = SHO_industry_bill + } cost = 5 - ai_will_do = { factor = 10 } @@ -50,21 +45,22 @@ focus_tree = { 294 = { add_extra_state_shared_building_slots = 2 add_building_construction = { - type = industrial_complex - level = 2 - instant_build = yes + type = industrial_complex + level = 2 + instant_build = yes } } } } - focus = { id = SHO_industrial_area_2 icon = GFX_goal_generic_construct_civilian x = 0 y = 1 relative_position_id = SHO_industrial_area - prerequisite = { focus = SHO_industrial_area } + prerequisite = { + focus = SHO_industrial_area + } cost = 5 ai_will_do = { factor = 5 @@ -74,21 +70,22 @@ focus_tree = { 294 = { add_extra_state_shared_building_slots = 3 add_building_construction = { - type = industrial_complex - level = 3 - instant_build = yes + type = industrial_complex + level = 3 + instant_build = yes } } } } - focus = { id = SHO_industrial_area_3 icon = GFX_goal_generic_construct_civilian x = 0 y = 1 relative_position_id = SHO_industrial_area_2 - prerequisite = { focus = SHO_industrial_area_2 } + prerequisite = { + focus = SHO_industrial_area_2 + } cost = 5 ai_will_do = { factor = 5 @@ -98,14 +95,13 @@ focus_tree = { 294 = { add_extra_state_shared_building_slots = 4 add_building_construction = { - type = industrial_complex - level = 4 - instant_build = yes + type = industrial_complex + level = 4 + instant_build = yes } } } } - ####军工线#### focus = { id = SHO_aviation_industry @@ -113,82 +109,7 @@ focus_tree = { x = 1 y = 1 relative_position_id = SHO_industry_bill - prerequisite = { focus = SHO_industry_bill } - cost = 5 - - ai_will_do = { - factor = 5 - } - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - 294 = { - add_extra_state_shared_building_slots = 2 - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - } - } - } - - focus = { - id = SHO_aviation_industry_2 - icon = GFX_goal_generic_air_production - x = 0 - y = 1 - relative_position_id = SHO_aviation_industry - prerequisite = { focus = SHO_aviation_industry } - cost = 5 - ai_will_do = { - factor = 5 - } - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - 294 = { - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = arms_factory - level = 3 - instant_build = yes - } - } - } - } - - focus = { - id = SHO_aviation_industry_3 - icon = GFX_goal_generic_air_production - x = 0 - y = 1 - relative_position_id = SHO_aviation_industry_2 - prerequisite = { focus = SHO_aviation_industry_2 } - cost = 5 - ai_will_do = { - factor = 5 - } - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - 294 = { - add_extra_state_shared_building_slots = 4 - add_building_construction = { - type = arms_factory - level = 4 - instant_build = yes - } - } - } - } - - - ####铁路线#### - focus = { - id = SHO_strategic_infrastructure - icon = GFX_goal_generic_construct_infrastructure - x = -3 - y = 1 - relative_position_id = SHO_industry_bill - prerequisite = { + prerequisite = { focus = SHO_industry_bill } cost = 5 @@ -197,29 +118,106 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_extra_state_shared_building_slots = 2 + 294 = { + add_extra_state_shared_building_slots = 2 add_building_construction = { - type = infrastructure - level = 1 - instant_build = yes - } - add_tech_bonus = { - name = "加速研究" - bonus = 2.0 - ahead_reduction = 3.0 - uses = 1 - category = construction3 + type = arms_factory + level = 2 + instant_build = yes + } + } + } + } + focus = { + id = SHO_aviation_industry_2 + icon = GFX_goal_generic_air_production + x = 0 + y = 1 + relative_position_id = SHO_aviation_industry + prerequisite = { + focus = SHO_aviation_industry + } + cost = 5 + ai_will_do = { + factor = 5 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + 294 = { + add_extra_state_shared_building_slots = 3 + add_building_construction = { + type = arms_factory + level = 3 + instant_build = yes + } + } + } + } + focus = { + id = SHO_aviation_industry_3 + icon = GFX_goal_generic_air_production + x = 0 + y = 1 + relative_position_id = SHO_aviation_industry_2 + prerequisite = { + focus = SHO_aviation_industry_2 + } + cost = 5 + ai_will_do = { + factor = 5 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + 294 = { + add_extra_state_shared_building_slots = 4 + add_building_construction = { + type = arms_factory + level = 4 + instant_build = yes + } + } + } + } + ####铁路线#### + focus = { + id = SHO_strategic_infrastructure + icon = GFX_goal_generic_construct_infrastructure + x = -3 + y = 1 + relative_position_id = SHO_industry_bill + prerequisite = { + focus = SHO_industry_bill + } + cost = 5 + ai_will_do = { + factor = 5 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + capital_scope = { + add_extra_state_shared_building_slots = 2 + add_building_construction = { + type = infrastructure + level = 1 + instant_build = yes + } + } + add_tech_bonus = { + name = "加速研究" + bonus = 2 + ahead_reduction = 3 + uses = 1 + category = construction_tech } } } - focus = { id = SHO_strategic_infrastructure_2 icon = GFX_goal_generic_construct_infrastructure x = 0 y = 1 relative_position_id = SHO_strategic_infrastructure - prerequisite = { + prerequisite = { focus = SHO_strategic_infrastructure } cost = 5 @@ -228,29 +226,30 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_extra_state_shared_building_slots = 3 + capital_scope = { + add_extra_state_shared_building_slots = 3 add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes + type = infrastructure + level = 2 + instant_build = yes + } } add_tech_bonus = { name = "加速研究" - bonus = 2.0 - ahead_reduction = 5.0 + bonus = 2 + ahead_reduction = 5 uses = 1 - category = construction4 + category = construction_tech } } } - focus = { id = SHO_strategic_infrastructure_3 icon = GFX_goal_generic_construct_infrastructure x = 0 y = 1 relative_position_id = SHO_strategic_infrastructure_2 - prerequisite = { + prerequisite = { focus = SHO_strategic_infrastructure_2 } cost = 5 @@ -259,22 +258,23 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_extra_state_shared_building_slots = 4 + capital_scope = { + add_extra_state_shared_building_slots = 4 add_building_construction = { - type = infrastructure - level = 2 - instant_build = yes + type = infrastructure + level = 2 + instant_build = yes + } } add_tech_bonus = { name = "加速研究" - bonus = 2.0 - ahead_reduction = 7.0 + bonus = 2 + ahead_reduction = 7 uses = 1 - category = construction5 + category = construction_tech } } } - ####雷达线#### focus = { id = SHO_RD_Electronics @@ -282,7 +282,9 @@ focus_tree = { x = 3 y = 1 relative_position_id = SHO_industry_bill - prerequisite = { focus = SHO_industry_bill } + prerequisite = { + focus = SHO_industry_bill + } cost = 5 ai_will_do = { factor = 5 @@ -291,10 +293,10 @@ focus_tree = { completion_reward = { add_tech_bonus = { name = "加速研究" - bonus = 2.0 + bonus = 2 ahead_reduction = 2.5 uses = 1 - category = decimetric_radar + category = radar_tech } 294 = { add_building_construction = { @@ -305,14 +307,13 @@ focus_tree = { } } } - focus = { id = SHO_RD_Electronics_2 icon = GFX_goal_generic_radar x = 0 y = 1 relative_position_id = SHO_RD_Electronics - prerequisite = { + prerequisite = { focus = SHO_RD_Electronics } cost = 5 @@ -323,10 +324,10 @@ focus_tree = { completion_reward = { add_tech_bonus = { name = "加速研究" - bonus = 2.0 - ahead_reduction = 3.0 + bonus = 2 + ahead_reduction = 3 uses = 1 - category = improved_decimetric_radar + category = radar_tech } 294 = { add_building_construction = { @@ -337,14 +338,13 @@ focus_tree = { } } } - focus = { id = SHO_RD_Electronics_3 icon = GFX_goal_generic_radar x = 0 y = 1 relative_position_id = SHO_RD_Electronics_2 - prerequisite = { + prerequisite = { focus = SHO_RD_Electronics_2 } cost = 5 @@ -353,13 +353,12 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_tech_bonus = { name = "加速研究" - bonus = 2.0 - ahead_reduction = 4.0 + bonus = 2 + ahead_reduction = 4 uses = 1 - category = centimetric_radar + category = radar_tech } 294 = { add_building_construction = { @@ -370,15 +369,18 @@ focus_tree = { } } } - focus = { id = SHO_Military_Research_Network icon = GFX_focus_research x = 1 y = 1 relative_position_id = SHO_aviation_industry_3 - prerequisite = { focus = SHO_RD_Electronics_3 } - prerequisite = { focus = SHO_aviation_industry_3 } + prerequisite = { + focus = SHO_RD_Electronics_3 + } + prerequisite = { + focus = SHO_aviation_industry_3 + } ai_will_do = { factor = 5 } @@ -386,20 +388,19 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_research_slot = 1 - add_ideas = SHO_Aviation_Communication_Research + #add_ideas = SHO_Aviation_Communication_Research } } - focus = { id = SHO_Infrastructure_miracle icon = GFX_focus_generic_industry_3 x = 1 y = 1 relative_position_id = SHO_strategic_infrastructure_3 - prerequisite = { + prerequisite = { focus = SHO_industrial_area_3 } - prerequisite = { + prerequisite = { focus = SHO_strategic_infrastructure_3 } cost = 5 @@ -411,7 +412,6 @@ focus_tree = { add_ideas = SHO_Developed_infrastructure } } - #### 合作 #### focus = { id = SHO_Reciprocity_of_science_and_engineering @@ -419,12 +419,12 @@ focus_tree = { x = 1 y = 1 relative_position_id = SHO_industrial_area_3 - prerequisite = { + prerequisite = { focus = SHO_strategic_infrastructure_3 focus = SHO_industrial_area_3 } - prerequisite = { - focus = SHO_aviation_industry_3 + prerequisite = { + focus = SHO_aviation_industry_3 focus = SHO_RD_Electronics_3 } cost = 10 @@ -433,7 +433,7 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = SHO_complex_system + #add_ideas = SHO_complex_system } } -} \ No newline at end of file +} diff --git a/src/common/national_focus/sir.txt b/src/common/national_focus/sir.txt index 8d83247..9185d9f 100755 --- a/src/common/national_focus/sir.txt +++ b/src/common/national_focus/sir.txt @@ -1,16 +1,12 @@ focus_tree = { id = sir_focus - country = { factor = 0 - modifier = { add = 15 tag = SIR } - } - default = no focus = { id = SIR_wanshansairenjiao @@ -18,17 +14,12 @@ focus_tree = { x = 23 y = 0 cost = 10 - ai_will_do = { factor = 11 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_popularity = { @@ -36,7 +27,7 @@ focus_tree = { popularity = 0.2 } add_political_power = 250 - } + } } focus = { id = SIR_shengzhijiaotiao @@ -45,27 +36,28 @@ focus_tree = { y = 1 cost = 10 relative_position_id = SIR_wanshansairenjiao - prerequisite = { focus = SIR_wanshansairenjiao } + prerequisite = { + focus = SIR_wanshansairenjiao + } ai_will_do = { factor = 11 } - available = { if = { - limit = { is_ai = no } + limit = { + is_ai = no + } has_STABILITY > 0.5 } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SIR_jiaotiaogulishengyu custom_effect_tooltip = SIR_shengzhijiaotiao_tt - } + } } focus = { id = SIR_gaomiduzhufang @@ -74,22 +66,20 @@ focus_tree = { y = 1 cost = 10 relative_position_id = SIR_shengzhijiaotiao - prerequisite = { focus = SIR_shengzhijiaotiao } + prerequisite = { + focus = SIR_shengzhijiaotiao + } ai_will_do = { factor = 11 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { name = "高密度住房" - bonus = 1.0 + bonus = 1 ahead_reduction = 2 uses = 2 category = construction_tech @@ -98,7 +88,7 @@ focus_tree = { set_state_category = large_city } add_ideas = SIR_mijijianzhu - } + } } focus = { id = SIR_nulijiaotiao @@ -107,22 +97,23 @@ focus_tree = { y = 1 cost = 10 relative_position_id = SIR_wanshansairenjiao - prerequisite = { focus = SIR_wanshansairenjiao } + prerequisite = { + focus = SIR_wanshansairenjiao + } ai_will_do = { factor = 11 } - available = { if = { - limit = { is_ai = no } + limit = { + is_ai = no + } has_war_support > 1 } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SIR_jiaotiaonulizhi @@ -136,17 +127,15 @@ focus_tree = { y = 1 cost = 10 relative_position_id = SIR_nulijiaotiao - prerequisite = { focus = SIR_nulijiaotiao } + prerequisite = { + focus = SIR_nulijiaotiao + } ai_will_do = { factor = 11 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SIR_lueduozhuyi @@ -159,19 +148,20 @@ focus_tree = { y = 1 cost = 10 relative_position_id = SIR_wanshansairenjiao - prerequisite = { focus = SIR_wanshansairenjiao } + prerequisite = { + focus = SIR_wanshansairenjiao + } ai_will_do = { factor = 11 } - available = { - ROOT = { num_of_civilian_factories < 30 } + ROOT = { + num_of_civilian_factories < 30 + } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SIR_jiaotiaokuxing @@ -185,23 +175,24 @@ focus_tree = { y = 1 cost = 10 relative_position_id = SIR_wanshansairenjiao - prerequisite = { focus = SIR_wanshansairenjiao } + prerequisite = { + focus = SIR_wanshansairenjiao + } ai_will_do = { factor = 11 } - available = { if = { - limit = { is_ai = no } + limit = { + is_ai = no + } num_of_factories > 29 - amount_research_slots < 6 + amount_research_slots < 6 } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SIR_jiaotiaotuichongkexue @@ -215,19 +206,18 @@ focus_tree = { y = 1 cost = 10 relative_position_id = SIR_xueshijiaotiao - prerequisite = { focus = SIR_xueshijiaotiao } + prerequisite = { + focus = SIR_xueshijiaotiao + } ai_will_do = { factor = 10 } - available = { has_completed_focus = SIR_diyicizhaohuan } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_research_slot = 1 @@ -240,18 +230,18 @@ focus_tree = { y = 3 cost = 10 relative_position_id = SIR_wanshansairenjiao - prerequisite = { focus = SIR_wanshansairenjiao } - mutually_exclusive = { focus = SIR_duoyuanwenhua } + prerequisite = { + focus = SIR_wanshansairenjiao + } + mutually_exclusive = { + focus = SIR_duoyuanwenhua + } ai_will_do = { factor = 15 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 300 @@ -265,17 +255,15 @@ focus_tree = { y = 1 cost = 10 relative_position_id = SIR_chunjiexinyang - prerequisite = { focus = SIR_chunjiexinyang } + prerequisite = { + focus = SIR_chunjiexinyang + } ai_will_do = { factor = 15 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = SIR_yongshichuancheng_tt @@ -289,18 +277,18 @@ focus_tree = { y = 3 cost = 10 relative_position_id = SIR_wanshansairenjiao - prerequisite = { focus = SIR_wanshansairenjiao } - mutually_exclusive = { focus = SIR_chunjiexinyang } + prerequisite = { + focus = SIR_wanshansairenjiao + } + mutually_exclusive = { + focus = SIR_chunjiexinyang + } ai_will_do = { factor = 11 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.3 @@ -313,17 +301,15 @@ focus_tree = { y = 1 cost = 10 relative_position_id = SIR_duoyuanwenhua - prerequisite = { focus = SIR_duoyuanwenhua } + prerequisite = { + focus = SIR_duoyuanwenhua + } ai_will_do = { factor = 11 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SIR_duoyuanhuaxinyang @@ -333,51 +319,46 @@ focus_tree = { id = SIR_shenmiyiwu icon = GFX_focus_generic_strike_at_democracy2 relative_position_id = SIR_chuanzhihuishou - prerequisite = { focus = SIR_chuanzhihuishou } + prerequisite = { + focus = SIR_chuanzhihuishou + } x = 0 y = 1 - cost = 2 - ai_will_do = { factor = 30 } - available = { if = { - limit = { is_ai = no } - ships_in_area = { area = 93 size > 0 } + limit = { + is_ai = no + } + ships_in_area = { + area = 93 + size > 0 + } } - } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_country_leader_trait = sairenshenxuanzhe } } - focus = { id = SIR_haishangxianjing icon = GFX_goal_generic_navy_anti_submarine x = 2 y = 0 cost = 3 - ai_will_do = { factor = 30 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -150 @@ -392,24 +373,23 @@ focus_tree = { y = 1 cost = 7 relative_position_id = SIR_haishangxianjing - prerequisite = { focus = SIR_haishangxianjing } - mutually_exclusive = { focus = SIR_nuyishuishou } + prerequisite = { + focus = SIR_haishangxianjing + } + mutually_exclusive = { + focus = SIR_nuyishuishou + } ai_will_do = { factor = 11 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.2 } } - focus = { id = SIR_nuyishuishou icon = GFX_focus_spr_masters_of_our_own_fate @@ -417,24 +397,23 @@ focus_tree = { y = 1 cost = 7 relative_position_id = SIR_haishangxianjing - prerequisite = { focus = SIR_haishangxianjing } - mutually_exclusive = { focus = SIR_jiuyuanshuishou } + prerequisite = { + focus = SIR_haishangxianjing + } + mutually_exclusive = { + focus = SIR_jiuyuanshuishou + } ai_will_do = { factor = 11 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_war_support = 0.45 } } - focus = { id = SIR_chuanzhihuishou icon = GFX_focus_usa_reestablish_the_gold_standard @@ -442,19 +421,18 @@ focus_tree = { y = 2 cost = 5 relative_position_id = SIR_haishangxianjing - prerequisite = { focus = SIR_haishangxianjing } + prerequisite = { + focus = SIR_haishangxianjing + } ai_will_do = { factor = 30 } - available = { has_country_flag = SIR_dachuan_get } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { create_equipment_variant = { @@ -475,10 +453,10 @@ focus_tree = { add_equipment_production = { equipment = { type = ship_hull_carrier_conversion_bb - creator = ROOT + creator = SIR version_name = "巨型商船改造航母" } - name = "幽灵鲨号" + name = "幽灵鲨号" requested_factories = 10 progress = 0.9 amount = 1 @@ -493,23 +471,22 @@ focus_tree = { y = 2 cost = 4 relative_position_id = SIR_haishangxianjing - prerequisite = { focus = SIR_haishangxianjing } + prerequisite = { + focus = SIR_haishangxianjing + } ai_will_do = { factor = 11 } - available = { has_completed_focus = SIR_diyicizhaohuan } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -200 - custom_effect_tooltip = SIR_yinyoujunjian_tt + custom_effect_tooltip = SIR_yinyoujunjian_tt } } focus = { @@ -519,15 +496,15 @@ focus_tree = { y = 1 cost = 10 relative_position_id = SIR_yinyoujunjian - prerequisite = { focus = SIR_yinyoujunjian } + prerequisite = { + focus = SIR_yinyoujunjian + } ai_will_do = { factor = 11 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -545,15 +522,15 @@ focus_tree = { y = 1 cost = 10 relative_position_id = SIR_jianzhuangyanjiu - prerequisite = { focus = SIR_jianzhuangyanjiu } + prerequisite = { + focus = SIR_jianzhuangyanjiu + } ai_will_do = { factor = 15 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -569,22 +546,22 @@ focus_tree = { } } } - focus = { + focus = { id = SIR_sairendeliliang icon = GFX_fflag_SIR x = 1 y = 1 cost = 10 relative_position_id = SIR_yinyoujunjian - prerequisite = { focus = SIR_yinyoujunjian } + prerequisite = { + focus = SIR_yinyoujunjian + } ai_will_do = { factor = 11 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 500 @@ -597,12 +574,15 @@ focus_tree = { y = 1 cost = 10 relative_position_id = SIR_xianjinchuanti - prerequisite = { focus = SIR_xianjinchuanti } - prerequisite = { focus = SIR_sairendeliliang } + prerequisite = { + focus = SIR_xianjinchuanti + } + prerequisite = { + focus = SIR_sairendeliliang + } ai_will_do = { factor = 11 } - available = { custom_trigger_tooltip = { tooltip = SIR_sairenheikeji_trigger_tt @@ -614,13 +594,10 @@ focus_tree = { xzmf_sl > 9 } } - } } - continue_if_invalid = yes available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SIR_srhkj @@ -639,13 +616,9 @@ focus_tree = { ai_will_do = { factor = 20 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 50 @@ -659,18 +632,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SIR_wuzhuangziwei - prerequisite = { focus = SIR_wuzhuangziwei } + prerequisite = { + focus = SIR_wuzhuangziwei + } cost = 5 ai_will_do = { factor = 20 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SIR_waijijiaoguan @@ -682,22 +653,16 @@ focus_tree = { x = -3 y = 1 relative_position_id = SIR_pinqingwaijijiaoguan - prerequisite = { focus = SIR_pinqingwaijijiaoguan } - + prerequisite = { + focus = SIR_pinqingwaijijiaoguan + } cost = 5 - ai_will_do = { factor = 20 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 50 @@ -716,22 +681,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SIR_buqiangyanjiu - prerequisite = { focus = SIR_buqiangyanjiu } - + prerequisite = { + focus = SIR_buqiangyanjiu + } cost = 10 - ai_will_do = { factor = 20 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -749,20 +708,17 @@ focus_tree = { icon = GFX_goal_generic_army_motorized x = -1 y = 1 - cost = 5 - ai_will_do = { factor = 20 } - prerequisite = { focus = SIR_pinqingwaijijiaoguan } + prerequisite = { + focus = SIR_pinqingwaijijiaoguan + } relative_position_id = SIR_pinqingwaijijiaoguan cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -778,50 +734,49 @@ focus_tree = { icon = GFX_goal_generic_army_tanks x = 0 y = 1 - cost = 10 - ai_will_do = { factor = 20 } - prerequisite = { focus = SIR_genhaodechuanjiaogongju } + prerequisite = { + focus = SIR_genhaodechuanjiaogongju + } relative_position_id = SIR_genhaodechuanjiaogongju cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { limit = { - not = { - has_tech = basic_heavy_tank_chassis + NOT = { + has_tech = basic_heavy_tank_chassis } - } set_technology = { basic_heavy_tank_chassis = 1 } } - if = { limit = { has_tech = advanced_heavy_tank_chassis } - add_doctrine_cost_reduction = { - name = "装甲科技" - bonus = 2 - uses = 1 - category = armor - ahead_reduction = 2 - } - } - else_if = { - add_tech_bonus = { - name = "重型坦克" - bonus = 2.5 - uses = 1 - category = cat_heavy_armor - ahead_reduction = 2 + if = { + limit = { + has_tech = advanced_heavy_tank_chassis + } + add_tech_bonus = { + name = "装甲科技" + bonus = 2 + uses = 1 + category = armor + ahead_reduction = 2 + } } + else = { + add_tech_bonus = { + name = "重型坦克" + bonus = 2.5 + uses = 1 + category = cat_heavy_armor + ahead_reduction = 2 + } } add_ideas = SIR_zhongxingtanke } @@ -831,15 +786,17 @@ focus_tree = { icon = GFX_goal_generic_army_doctrines x = 1 y = 1 - prerequisite = { focus = SIR_xinshihuopao } - prerequisite = { focus = SIR_womendetanke } + prerequisite = { + focus = SIR_xinshihuopao + } + prerequisite = { + focus = SIR_womendetanke + } relative_position_id = SIR_xinshihuopao cost = 10 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SIR_sairenlujun @@ -852,7 +809,9 @@ focus_tree = { x = 1 y = 1 relative_position_id = SIR_pinqingwaijijiaoguan - prerequisite = { focus = SIR_pinqingwaijijiaoguan } + prerequisite = { + focus = SIR_pinqingwaijijiaoguan + } cost = 5 ai_will_do = { factor = 6 @@ -864,10 +823,9 @@ focus_tree = { completion_reward = { if = { limit = { - not = { - has_tech = iw_small_airframe + NOT = { + has_tech = iw_small_airframe } - } set_technology = { iw_small_airframe = 1 @@ -878,25 +836,27 @@ focus_tree = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "空中信徒" - bonus = 2.5 - uses = 1 - category = light_air - ahead_reduction = 1 - } + name = "空中信徒" + bonus = 2.5 + uses = 1 + category = light_air + ahead_reduction = 1 + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "空中信徒" - bonus = 2.5 - uses = 1 - category = light_fighter - ahead_reduction = 1 - } - } + name = "空中信徒" + bonus = 2.5 + uses = 1 + category = light_fighter + ahead_reduction = 1 + } + } } } focus = { @@ -905,18 +865,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SIR_kongzhongxintu - prerequisite = { focus = SIR_kongzhongxintu } - + prerequisite = { + focus = SIR_kongzhongxintu + } cost = 10 - ai_will_do = { factor = 6 } - cancel_if_invalid = yes continue_if_invalid = yes available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -924,26 +882,28 @@ focus_tree = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "空中屏障" - bonus = 1.5 - uses = 1 - category = light_air - ahead_reduction = 1.5 - } + name = "空中屏障" + bonus = 1.5 + uses = 1 + category = light_air + ahead_reduction = 1.5 + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "空中屏障" - bonus = 1.5 - uses = 1 - category = light_fighter - ahead_reduction = 1.5 - } + name = "空中屏障" + bonus = 1.5 + uses = 1 + category = light_fighter + ahead_reduction = 1.5 + } } - add_doctrine_cost_reduction = { + add_doctrine_cost_reduction = { name = "空中屏障" cost_reduction = 0.5 uses = 4 @@ -959,18 +919,16 @@ focus_tree = { x = 3 y = 1 relative_position_id = SIR_pinqingwaijijiaoguan - prerequisite = { focus = SIR_pinqingwaijijiaoguan } - + prerequisite = { + focus = SIR_pinqingwaijijiaoguan + } cost = 5 - ai_will_do = { factor = 3 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -991,23 +949,20 @@ focus_tree = { icon = GFX_goal_generic_navy_doctrines_tactics x = 0 y = 1 - prerequisite = { focus = SIR_fazhanhaijun } - prerequisite = { focus = SIR_fazhanhaijun} + prerequisite = { + focus = SIR_fazhanhaijun + } + prerequisite = { + focus = SIR_fazhanhaijun + } relative_position_id = SIR_fazhanhaijun cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_haijunliluntupo = yes @@ -1036,15 +991,17 @@ focus_tree = { icon = GFX_goal_generic_navy_carrier x = 1 y = 1 - prerequisite = { focus = SIR_kongzhongpinzhang } - prerequisite = { focus = SIR_sairenhaijun } + prerequisite = { + focus = SIR_kongzhongpinzhang + } + prerequisite = { + focus = SIR_sairenhaijun + } relative_position_id = SIR_kongzhongpinzhang cost = 10 - ai_will_do = { factor = 8 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SIR_sairendehangkongmujian @@ -1055,18 +1012,15 @@ focus_tree = { icon = GFX_fflag_SIR x = 13 y = 0 - cost = 10 - ai_will_do = { factor = 40 } - available = { SIR_sairenjiaojisi = { has_trait = sairenshenxuanzhe } - or = { + OR = { has_completed_focus = SIR_baihuaqifang has_completed_focus = SIR_yongshichuancheng } @@ -1077,51 +1031,48 @@ focus_tree = { has_idea = SIR_mijijianzhu has_idea = SIR_jiaotiaotuichongkexue } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.15 - add_popularity = { ideology = siren popularity = 0.1 } + add_popularity = { + ideology = siren + popularity = 0.1 + } custom_effect_tooltip = SIR_chuanjiaohuodong_effect_tooltip } } - focus = { id = SIR_chuanjiaojiandui icon = GFX_goal_generic_build_airforce x = -3 y = 1 relative_position_id = SIR_chuanjiaohuodong - prerequisite = { focus = SIR_chuanjiaohuodong } - + prerequisite = { + focus = SIR_chuanjiaohuodong + } cost = 8 available = { - or = { - has_game_rule = { - rule = AZ_jinzhi_sirbilkuozhang_rule - option = AZ_jinzhi_sirbilkuozhang_rule_on - } - is_ai = no - BLI = { is_ai = no } - has_global_flag = modoption_historicalbossai_on + OR = { + has_game_rule = { + rule = AZ_jinzhi_sirbilkuozhang_rule + option = AZ_jinzhi_sirbilkuozhang_rule_on + } + is_ai = no + BLI = { + is_ai = no + } + has_global_flag = modoption_historicalbossai_on } } ai_will_do = { factor = 40 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_equipment_to_stockpile = { @@ -1137,20 +1088,16 @@ focus_tree = { x = 3 y = 1 relative_position_id = SIR_chuanjiaohuodong - prerequisite = { focus = SIR_chuanjiaohuodong } - + prerequisite = { + focus = SIR_chuanjiaohuodong + } cost = 8 - ai_will_do = { factor = 11 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_equipment_to_stockpile = { @@ -1158,7 +1105,6 @@ focus_tree = { amount = 80 producer = ROOT } - } } focus = { @@ -1167,20 +1113,16 @@ focus_tree = { x = -1 y = 1 relative_position_id = SIR_feijichuanjiao - prerequisite = { focus = SIR_feijichuanjiao } - + prerequisite = { + focus = SIR_feijichuanjiao + } cost = 5 - ai_will_do = { factor = 11 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SIR_gailiangdeyunshuji @@ -1192,28 +1134,23 @@ focus_tree = { x = 1 y = 1 relative_position_id = SIR_feijichuanjiao - prerequisite = { focus = SIR_feijichuanjiao } - + prerequisite = { + focus = SIR_feijichuanjiao + } cost = 10 - ai_will_do = { factor = 11 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { limit = { - not = { - has_tech = iw_large_airframe + NOT = { + has_tech = iw_large_airframe } - } set_technology = { iw_large_airframe = 1 @@ -1234,28 +1171,34 @@ focus_tree = { x = -2 y = 1 relative_position_id = SIR_chuanjiaojiandui - prerequisite = { focus = SIR_chuanjiaojiandui } + prerequisite = { + focus = SIR_chuanjiaojiandui + } cost = 7 - ai_will_do = { factor = 11 } - available = { if = { - limit = { is_ai = no } - ships_in_area = { area = 54 size > 2 } + limit = { + is_ai = no + } + ships_in_area = { + area = 54 + size > 2 + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { BYG = { - add_popularity = { ideology = siren popularity = 0.08 } + add_popularity = { + ideology = siren + popularity = 0.08 + } } add_political_power = 100 add_manpower = 6000 @@ -1267,24 +1210,21 @@ focus_tree = { x = 0 y = 1 relative_position_id = SIR_chuanjiao_baiying - prerequisite = { focus = SIR_chuanjiao_baiying } + prerequisite = { + focus = SIR_chuanjiao_baiying + } cost = 10 - ai_will_do = { factor = 11 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { name = "盗取工业" - bonus = 4.0 + bonus = 4 ahead_reduction = 5 uses = 2 category = industry @@ -1297,24 +1237,21 @@ focus_tree = { x = 0 y = 1 relative_position_id = SIR_daoqugongyejishu - prerequisite = { focus = SIR_daoqugongyejishu } + prerequisite = { + focus = SIR_daoqugongyejishu + } cost = 10 - ai_will_do = { factor = 11 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { name = "盗取电子" - bonus = 4.0 + bonus = 4 ahead_reduction = 5 uses = 2 category = electronics @@ -1327,29 +1264,38 @@ focus_tree = { x = 2 y = 1 relative_position_id = SIR_chuanjiaojiandui - prerequisite = { focus = SIR_chuanjiaojiandui } + prerequisite = { + focus = SIR_chuanjiaojiandui + } cost = 10 - ai_will_do = { factor = 40 } - available = { if = { - limit = { is_ai = no } - ships_in_area = { area = 53 size > 2 } + limit = { + is_ai = no + } + ships_in_area = { + area = 53 + size > 2 + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - HAI = { country_event = SIR_event.7 } - CUB = { country_event = SIR_event.7 } - DOM = { country_event = SIR_event.7 } + HAI = { + country_event = SIR_event.7 + } + CUB = { + country_event = SIR_event.7 + } + DOM = { + country_event = SIR_event.7 + } transfer_state = 692 transfer_state = 694 transfer_state = 308 @@ -1367,33 +1313,46 @@ focus_tree = { x = 0 y = 1 relative_position_id = SIR_chuanjiaojiandui - prerequisite = { focus = SIR_chuanjiaojiandui } + prerequisite = { + focus = SIR_chuanjiaojiandui + } cost = 10 - ai_will_do = { factor = 40 } - available = { if = { - limit = { is_ai = no } - ships_in_area = { area = 66 size > 2 } + limit = { + is_ai = no + } + ships_in_area = { + area = 66 + size > 2 + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - BRA = { country_event = SIR_event.7 } - COL = { country_event = SIR_event.7 } - VEN = { country_event = SIR_event.7 } + BRA = { + country_event = SIR_event.7 + } + COL = { + country_event = SIR_event.7 + } + VEN = { + country_event = SIR_event.7 + } transfer_state = 309 transfer_state = 695 - YUW = { country_event = SIR_event.9 } - HUJ = { country_event = SIR_event.8 } + YUW = { + country_event = SIR_event.9 + } + HUJ = { + country_event = SIR_event.8 + } add_political_power = 50 add_manpower = 18000 } @@ -1403,34 +1362,65 @@ focus_tree = { icon = GFX_goal_generic_territory_or_war x = 1 y = 1 - prerequisite = { focus = SIR_chuanjiao_nanmei } - prerequisite = { focus = SIR_chuanjiao_jialebi } + prerequisite = { + focus = SIR_chuanjiao_nanmei + } + prerequisite = { + focus = SIR_chuanjiao_jialebi + } relative_position_id = SIR_chuanjiao_nanmei cost = 20 bypass = { - or = { - not = {country_exists = ECU} - not = {country_exists = PRU} - not = {country_exists = BOL} - not = {country_exists = PAR} - not = {country_exists = URG} - not = {country_exists = ARG} - not = {country_exists = CHL} - } + OR = { + NOT = { + country_exists = ECU + } + NOT = { + country_exists = PRU + } + NOT = { + country_exists = BOL + } + NOT = { + country_exists = PAR + } + NOT = { + country_exists = URG + } + NOT = { + country_exists = ARG + } + NOT = { + country_exists = CHL + } + } } ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - ECU = { country_event = SIR_event.7 } - PRU = { country_event = SIR_event.7 } - PAR = { country_event = SIR_event.7 } - URG = { country_event = SIR_event.7 } - ARG = { country_event = SIR_event.7 } - CHL = { country_event = SIR_event.7 } - BOL = { country_event = SIR_event.7 } + ECU = { + country_event = SIR_event.7 + } + PRU = { + country_event = SIR_event.7 + } + PAR = { + country_event = SIR_event.7 + } + URG = { + country_event = SIR_event.7 + } + ARG = { + country_event = SIR_event.7 + } + CHL = { + country_event = SIR_event.7 + } + BOL = { + country_event = SIR_event.7 + } } } focus = { @@ -1439,23 +1429,25 @@ focus_tree = { x = 0 y = 3 relative_position_id = SIR_chuanjiaohuodong - prerequisite = { focus = SIR_chuanjiao_nanmei } - prerequisite = { focus = SIR_chuanjiao_jialebi } - prerequisite = { focus = SIR_feijichuanjiao } + prerequisite = { + focus = SIR_chuanjiao_nanmei + } + prerequisite = { + focus = SIR_chuanjiao_jialebi + } + prerequisite = { + focus = SIR_feijichuanjiao + } cost = 10 - ai_will_do = { factor = 15 } - available = { has_completed_focus = SIR_wuzhuangziwei } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = SIR_xinyangzhanshi_tt @@ -1463,43 +1455,100 @@ focus_tree = { division_template = { name = "信仰战士" regiments = { - infantry = { x = 0 y = 0 } - infantry = { x = 0 y = 1 } - infantry = { x = 0 y = 2 } - infantry = { x = 0 y = 3 } - infantry = { x = 0 y = 4 } - infantry = { x = 1 y = 0 } - infantry = { x = 1 y = 1 } - infantry = { x = 1 y = 2 } - infantry = { x = 1 y = 3 } - infantry = { x = 1 y = 4 } - infantry = { x = 2 y = 0 } - infantry = { x = 2 y = 1 } - infantry = { x = 2 y = 2 } - infantry = { x = 2 y = 3 } - infantry = { x = 2 y = 4 } - infantry = { x = 3 y = 0 } - infantry = { x = 3 y = 1 } - infantry = { x = 3 y = 2 } - infantry = { x = 3 y = 3 } - infantry = { x = 3 y = 4 } + infantry = { + x = 0 + y = 0 + } + infantry = { + x = 0 + y = 1 + } + infantry = { + x = 0 + y = 2 + } + infantry = { + x = 0 + y = 3 + } + infantry = { + x = 0 + y = 4 + } + infantry = { + x = 1 + y = 0 + } + infantry = { + x = 1 + y = 1 + } + infantry = { + x = 1 + y = 2 + } + infantry = { + x = 1 + y = 3 + } + infantry = { + x = 1 + y = 4 + } + infantry = { + x = 2 + y = 0 + } + infantry = { + x = 2 + y = 1 + } + infantry = { + x = 2 + y = 2 + } + infantry = { + x = 2 + y = 3 + } + infantry = { + x = 2 + y = 4 + } + infantry = { + x = 3 + y = 0 + } + infantry = { + x = 3 + y = 1 + } + infantry = { + x = 3 + y = 2 + } + infantry = { + x = 3 + y = 3 + } + infantry = { + x = 3 + y = 4 + } } - } - for_loop_effect = { + for_loop_effect = { start = 0 end = 10 - add = 1 - + add = 1 capital_scope = { create_unit = { division = "name = \"塞壬教死士\" division_template = \"信仰战士\" start_experience_factor = 0.5 start_equipment_factor = 0.5" owner = SIR - } + } } } } - } } focus = { @@ -1508,19 +1557,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SIR_diyicizhaohuan - prerequisite = { focus = SIR_diyicizhaohuan } + prerequisite = { + focus = SIR_diyicizhaohuan + } cost = 7 - ai_will_do = { factor = 0 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = SIR_sairenjiaomimijidi_tt @@ -1532,17 +1578,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SIR_sairenjiaomimijidi - prerequisite = { focus = SIR_sairenjiaomimijidi } + prerequisite = { + focus = SIR_sairenjiaomimijidi + } cost = 7 - ai_will_do = { factor = 0 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { transfer_state = 893 @@ -1554,17 +1599,16 @@ focus_tree = { x = 0 y = 1 relative_position_id = SIR_denglunanfei - prerequisite = { focus = SIR_denglunanfei } + prerequisite = { + focus = SIR_denglunanfei + } cost = 7 - ai_will_do = { factor = 0 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { transfer_state = 681 @@ -1576,26 +1620,30 @@ focus_tree = { x = 1 y = 1 relative_position_id = SIR_chuanjiao_shenxiadenanmei - prerequisite = { focus = SIR_xinyangzhanshi } - prerequisite = { focus = SIR_chuanjiao_shenxiadenanmei } + prerequisite = { + focus = SIR_xinyangzhanshi + } + prerequisite = { + focus = SIR_chuanjiao_shenxiadenanmei + } cost = 10 - ai_will_do = { factor = 11 } - available = { siren > 0.2 - or = { - not = { country_exists = BLI } - not = { has_war_with = BLI } + OR = { + not = { + country_exists = BLI + } + NOT = { + has_war_with = BLI + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = "获得塞壬的庇佑" @@ -1615,9 +1663,7 @@ focus_tree = { # y = 1 # relative_position_id = SIR_sairenjiaomimijidi # prerequisite = { focus = SIR_sairenjiaomimijidi } - # cost = 10 - # ai_will_do = { # factor = 11 # } @@ -1630,14 +1676,11 @@ focus_tree = { # } # siren > 0.2 # } - # cancel_if_invalid = yes # continue_if_invalid = no # available_if_capitulated = no - # #search_filters = { FOCUS_FILTER_STABILITY } # completion_reward = { - # } # } focus = { @@ -1646,15 +1689,12 @@ focus_tree = { x = 40 y = 0 cost = 10 - available = { has_completed_focus = SIR_chuanjiao_shenxiadenanmei } - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_owned_controlled_state = { @@ -1667,7 +1707,7 @@ focus_tree = { } add_extra_state_shared_building_slots = 2 add_building_construction = { - type = industrial_complex + type = industrial_complex level = 1 instant_build = yes } @@ -1682,7 +1722,7 @@ focus_tree = { } add_extra_state_shared_building_slots = 2 add_building_construction = { - type = industrial_complex + type = industrial_complex level = 1 instant_build = yes } @@ -1697,7 +1737,7 @@ focus_tree = { } add_extra_state_shared_building_slots = 2 add_building_construction = { - type = industrial_complex + type = industrial_complex level = 1 instant_build = yes } @@ -1712,7 +1752,7 @@ focus_tree = { } add_extra_state_shared_building_slots = 2 add_building_construction = { - type = industrial_complex + type = industrial_complex level = 1 instant_build = yes } @@ -1722,16 +1762,16 @@ focus_tree = { focus = { id = SIR_gaodianjungong relative_position_id = SIR_kaifaxinlintu - prerequisite = { focus = SIR_kaifaxinlintu } + prerequisite = { + focus = SIR_kaifaxinlintu + } icon = GFX_goal_generic_construct_mil_factory x = 0 y = 1 cost = 10 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_owned_controlled_state = { @@ -1744,7 +1784,7 @@ focus_tree = { } add_extra_state_shared_building_slots = 3 add_building_construction = { - type = arms_factory + type = arms_factory level = 2 instant_build = yes } @@ -1759,7 +1799,7 @@ focus_tree = { } add_extra_state_shared_building_slots = 3 add_building_construction = { - type = arms_factory + type = arms_factory level = 2 instant_build = yes } @@ -1774,7 +1814,7 @@ focus_tree = { } add_extra_state_shared_building_slots = 2 add_building_construction = { - type = arms_factory + type = arms_factory level = 1 instant_build = yes } @@ -1789,7 +1829,7 @@ focus_tree = { } add_extra_state_shared_building_slots = 2 add_building_construction = { - type = arms_factory + type = arms_factory level = 1 instant_build = yes } @@ -1799,16 +1839,16 @@ focus_tree = { focus = { id = SIR_gaodianchuanwu relative_position_id = SIR_kaifaxinlintu - prerequisite = { focus = SIR_kaifaxinlintu } + prerequisite = { + focus = SIR_kaifaxinlintu + } icon = GFX_goal_generic_construct_naval_dockyard x = 2 y = 1 cost = 10 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_owned_controlled_state = { @@ -1821,7 +1861,7 @@ focus_tree = { } add_extra_state_shared_building_slots = 3 add_building_construction = { - type = dockyard + type = dockyard level = 2 instant_build = yes } @@ -1836,7 +1876,7 @@ focus_tree = { } add_extra_state_shared_building_slots = 3 add_building_construction = { - type = dockyard + type = dockyard level = 2 instant_build = yes } @@ -1851,7 +1891,7 @@ focus_tree = { } add_extra_state_shared_building_slots = 2 add_building_construction = { - type = dockyard + type = dockyard level = 1 instant_build = yes } @@ -1866,7 +1906,7 @@ focus_tree = { } add_extra_state_shared_building_slots = 2 add_building_construction = { - type = dockyard + type = dockyard level = 1 instant_build = yes } @@ -1879,13 +1919,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SIR_gaodianjungong - prerequisite = { focus = SIR_gaodianjungong } + prerequisite = { + focus = SIR_gaodianjungong + } cost = 10 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1904,13 +1944,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = SIR_gaijinshenchanjishu - prerequisite = { focus = SIR_gaijinshenchanjishu } + prerequisite = { + focus = SIR_gaijinshenchanjishu + } cost = 8 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1928,32 +1968,32 @@ focus_tree = { x = 2 y = 1 relative_position_id = SIR_jianzaojishu - prerequisite = { focus = SIR_jianzaojishu } - cost = 5 - + prerequisite = { + focus = SIR_jianzaojishu + } + cost = 5 ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 496 = { - add_resource = { - type = steel - amount = 100 - } + add_resource = { + type = steel + amount = 100 + } } 315 = { - add_resource = { - type = steel - amount = 100 - } + add_resource = { + type = steel + amount = 100 + } } 498 = { - add_resource = { - type = tungsten - amount = 50 - } + add_resource = { + type = tungsten + amount = 50 + } } } } @@ -1963,20 +2003,19 @@ focus_tree = { x = -2 y = 1 relative_position_id = SIR_jianzaojishu - prerequisite = { focus = SIR_jianzaojishu } - cost = 5 - + prerequisite = { + focus = SIR_jianzaojishu + } + cost = 5 ai_will_do = { factor = 20 } - available = { arms_factory > 49 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = SIR_tesejungongye } } -} \ No newline at end of file +} diff --git a/src/common/national_focus/tiexue.txt b/src/common/national_focus/tiexue.txt index b762231..090bc46 100755 --- a/src/common/national_focus/tiexue.txt +++ b/src/common/national_focus/tiexue.txt @@ -5,7 +5,6 @@ ### search_filters = {FOCUS_FILTER_WAR_SUPPORT} ### search_filters = {FOCUS_FILTER_MANPOWER} ### search_filters = {FOCUS_FILTER_ANNEXATION} - focus_tree = { id = tiexue_focus shared_focus = AL_zhuanyi @@ -13,356 +12,413 @@ focus_tree = { shared_focus = AL_junshi country = { factor = 0 - modifier = { add = 10 tag = TIX } } - default = no -#sairenmod -focus = { - id = TIX_libingmoma_sr - icon = GFX_fflag_TIX - allow_branch = { - has_global_flag = MOD_azurlane_sairenzhizai - } - x = -2 - y = 0 - - cost = 5 - - ai_will_do = { - factor = 4 - modifier = { - date > 1936.8.1 - add = 100 + #sairenmod + focus = { + id = TIX_libingmoma_sr + icon = GFX_fflag_TIX + allow_branch = { + has_global_flag = MOD_azurlane_sairenzhizai } - } - - - - - - cancel_if_invalid = yes - continue_if_invalid = no - available_if_capitulated = no - - complete_tooltip = { - - } - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_war_support = 0.25 - army_experience = 20 - } -} -focus = { - id = TIX_jinjishengchan - icon = GFX_goal_generic_small_arms - x = -1 - y = 1 - prerequisite = { focus = TIX_libingmoma_sr } - relative_position_id = TIX_libingmoma_sr - mutually_exclusive = { focus = TIX_waigouwuqi } - cost = 5 - - ai_will_do = { - factor = 0 - } - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_equipment_to_stockpile = { - type = infantry_equipment - amount = 5000 - } - } -} -focus = { - id = TIX_waigouwuqi - icon = GFX_focus_por_portuguese_legion - x = 1 - y = 1 - prerequisite = { focus = TIX_libingmoma_sr } - relative_position_id = TIX_libingmoma_sr - mutually_exclusive = { focus = TIX_jinjishengchan } - cost = 5 - - ai_will_do = { - factor = 4 - modifier = { - date > 1936.8.1 - add = 100 - } - } - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_equipment_to_stockpile = { - type = infantry_equipment - amount = 12000 - } - add_political_power = -200 - } -} -focus = { - id = TIX_zhunbeichongfanoulu - icon = GFX_goal_generic_more_territorial_claims - x = 1 - y = 1 - prerequisite = { focus = TIX_waigouwuqi focus = TIX_jinjishengchan } - relative_position_id = TIX_jinjishengchan - cost = 5 - - ai_will_do = { - factor = 0 - modifier = { - date > 1937.6.1 - add = 100 - } - } - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - custom_effect_tooltip = "德意志地区成为我们的核心领土" - hidden_effect = { - 763 = { add_core_of = TIX } - 5 = { add_core_of = TIX } - 99 = { add_core_of = TIX } - 50 = { add_core_of = TIX } - 51 = { add_core_of = TIX } - 52 = { add_core_of = TIX } - 53 = { add_core_of = TIX } - 54 = { add_core_of = TIX } - 55 = { add_core_of = TIX } - 56 = { add_core_of = TIX } - 57 = { add_core_of = TIX } - 58 = { add_core_of = TIX } - 59 = { add_core_of = TIX } - 60 = { add_core_of = TIX } - 61 = { add_core_of = TIX } - 62 = { add_core_of = TIX } - 63 = { add_core_of = TIX } - 64 = { add_core_of = TIX } - 65 = { add_core_of = TIX } - 66 = { add_core_of = TIX } - 67 = { add_core_of = TIX } - 68 = { add_core_of = TIX } - 85 = { add_core_of = TIX } - 42 = { add_core_of = TIX } - 152 = { add_core_of = TIX } - 4 = { add_core_of = TIX } - 69 = { add_core_of = TIX } - 909 = { add_core_of = TIX } - 912 = { add_core_of = TIX } - } - } -} -focus = { - id = TIX_chongjiandeyizhi - icon = GFX_goal_generic_production - x = 0 - y = 1 - prerequisite = { focus = TIX_zhunbeichongfanoulu } - relative_position_id = TIX_zhunbeichongfanoulu - cost = 10 - available = { - controls_state = 64 - controls_state = 58 - controls_state = 61 - controls_state = 62 - } - ai_will_do = { - factor = 10 - } - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_timed_idea = { idea = TIX_cjjy days = 200 } - 58 = { - add_extra_state_shared_building_slots = 3 - add_building_construction = { - type = industrial_complex - level = 1 - instant_build = yes - } - } - } -} -focus = { - id = TIX_gongyeqianyi - icon = GFX_goal_generic_production2 - x = -1 - y = 1 - prerequisite = { focus = TIX_chongjiandeyizhi } - relative_position_id = TIX_chongjiandeyizhi - cost = 10 - available = { - controls_state = 124 - controls_state = 64 - controls_state = 37 - controls_state = 55 - } - ai_will_do = { - factor = 5 - } - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - if = { - limit = { - controls_state = 124 - controls_state = 37 + x = -2 + y = 0 + cost = 5 + ai_will_do = { + factor = 4 + modifier = { + date > 1936.8.1 + add = 100 } - 124 = { - remove_building = { - type = industrial_complex - level = 2 + } + cancel_if_invalid = yes + continue_if_invalid = no + available_if_capitulated = no + complete_tooltip = { + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_war_support = 0.25 + army_experience = 20 + } + } + focus = { + id = TIX_jinjishengchan + icon = GFX_goal_generic_small_arms + x = -1 + y = 1 + prerequisite = { + focus = TIX_libingmoma_sr + } + relative_position_id = TIX_libingmoma_sr + mutually_exclusive = { + focus = TIX_waigouwuqi + } + cost = 5 + ai_will_do = { + factor = 0 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_equipment_to_stockpile = { + type = infantry_equipment + amount = 5000 + } + } + } + focus = { + id = TIX_waigouwuqi + icon = GFX_focus_por_portuguese_legion + x = 1 + y = 1 + prerequisite = { + focus = TIX_libingmoma_sr + } + relative_position_id = TIX_libingmoma_sr + mutually_exclusive = { + focus = TIX_jinjishengchan + } + cost = 5 + ai_will_do = { + factor = 4 + modifier = { + date > 1936.8.1 + add = 100 + } + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_equipment_to_stockpile = { + type = infantry_equipment + amount = 12000 + } + add_political_power = -200 + } + } + focus = { + id = TIX_zhunbeichongfanoulu + icon = GFX_goal_generic_more_territorial_claims + x = 1 + y = 1 + prerequisite = { + focus = TIX_waigouwuqi + focus = TIX_jinjishengchan + } + relative_position_id = TIX_jinjishengchan + cost = 5 + ai_will_do = { + factor = 0 + modifier = { + date > 1937.6.1 + add = 100 + } + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + custom_effect_tooltip = "德意志地区成为我们的核心领土" + hidden_effect = { + 763 = { + add_core_of = TIX + } + 5 = { + add_core_of = TIX + } + 99 = { + add_core_of = TIX + } + 50 = { + add_core_of = TIX + } + 51 = { + add_core_of = TIX + } + 52 = { + add_core_of = TIX + } + 53 = { + add_core_of = TIX + } + 54 = { + add_core_of = TIX + } + 55 = { + add_core_of = TIX + } + 56 = { + add_core_of = TIX + } + 57 = { + add_core_of = TIX + } + 58 = { + add_core_of = TIX + } + 59 = { + add_core_of = TIX + } + 60 = { + add_core_of = TIX + } + 61 = { + add_core_of = TIX + } + 62 = { + add_core_of = TIX + } + 63 = { + add_core_of = TIX + } + 64 = { + add_core_of = TIX + } + 65 = { + add_core_of = TIX + } + 66 = { + add_core_of = TIX + } + 67 = { + add_core_of = TIX + } + 68 = { + add_core_of = TIX + } + 85 = { + add_core_of = TIX + } + 42 = { + add_core_of = TIX + } + 152 = { + add_core_of = TIX + } + 4 = { + add_core_of = TIX + } + 69 = { + add_core_of = TIX + } + 909 = { + add_core_of = TIX + } + 912 = { + add_core_of = TIX } } - 64 = { - add_extra_state_shared_building_slots = 4 + } + } + focus = { + id = TIX_chongjiandeyizhi + icon = GFX_goal_generic_production + x = 0 + y = 1 + prerequisite = { + focus = TIX_zhunbeichongfanoulu + } + relative_position_id = TIX_zhunbeichongfanoulu + cost = 10 + available = { + controls_state = 64 + controls_state = 58 + controls_state = 61 + controls_state = 62 + } + ai_will_do = { + factor = 10 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_timed_idea = { + idea = TIX_cjjy + days = 200 + } + 58 = { + add_extra_state_shared_building_slots = 3 add_building_construction = { type = industrial_complex - level = 2 - instant_build = yes - } - } - 37 = { - remove_building = { - type = arms_factory - level = 2 - } - } - 55 = { - add_extra_state_shared_building_slots = 4 - add_building_construction = { - type = arms_factory - level = 2 + level = 1 instant_build = yes } } } } -} -focus = { - id = TIX_laiyinjinshu - icon = GFX_idea_rheinmetall - x = 1 - y = 1 - prerequisite = { focus = TIX_chongjiandeyizhi } - relative_position_id = TIX_chongjiandeyizhi - cost = 10 - available = { controls_state = 51 } - ai_will_do = { - factor = 5 - } - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - add_ideas = TIX_lyjsgs - } -} -focus = { - id = TIX_ziyuankaicai - icon = GFX_goal_generic_production2 - x = 1 - y = 1 - prerequisite = { focus = TIX_gongyeqianyi } - prerequisite = { focus = TIX_laiyinjinshu } - relative_position_id = TIX_gongyeqianyi - cost = 15 - available = { - controls_state = 68 - controls_state = 51 - controls_state = 42 - controls_state = 65 - } - ai_will_do = { - factor = 5 - } - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { - 68 = { - add_resource = { - type = aluminium - amount = 15 - } + focus = { + id = TIX_gongyeqianyi + icon = GFX_goal_generic_production2 + x = -1 + y = 1 + prerequisite = { + focus = TIX_chongjiandeyizhi } - 51 = { - add_resource = { - type = steel - amount = 24 - } + relative_position_id = TIX_chongjiandeyizhi + cost = 10 + available = { + controls_state = 124 + controls_state = 64 + controls_state = 37 + controls_state = 55 } - 42 = { - add_resource = { - type = steel - amount = 50 - } + ai_will_do = { + factor = 5 } - 65 = { - add_resource = { - type = steel - amount = 35 + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + if = { + limit = { + controls_state = 124 + controls_state = 37 + } + 124 = { + remove_building = { + type = industrial_complex + level = 2 + } + } + 64 = { + add_extra_state_shared_building_slots = 4 + add_building_construction = { + type = industrial_complex + level = 2 + instant_build = yes + } + } + 37 = { + remove_building = { + type = arms_factory + level = 2 + } + } + 55 = { + add_extra_state_shared_building_slots = 4 + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } + } + } + } + } + focus = { + id = TIX_laiyinjinshu + icon = GFX_idea_rheinmetall + x = 1 + y = 1 + prerequisite = { + focus = TIX_chongjiandeyizhi + } + relative_position_id = TIX_chongjiandeyizhi + cost = 10 + available = { + controls_state = 51 + } + ai_will_do = { + factor = 5 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + add_ideas = TIX_lyjsgs + } + } + focus = { + id = TIX_ziyuankaicai + icon = GFX_goal_generic_production2 + x = 1 + y = 1 + prerequisite = { + focus = TIX_gongyeqianyi + } + prerequisite = { + focus = TIX_laiyinjinshu + } + relative_position_id = TIX_gongyeqianyi + cost = 15 + available = { + controls_state = 68 + controls_state = 51 + controls_state = 42 + controls_state = 65 + } + ai_will_do = { + factor = 5 + } + #search_filters = { FOCUS_FILTER_STABILITY } + completion_reward = { + 68 = { + add_resource = { + type = aluminium + amount = 15 + } + } + 51 = { + add_resource = { + type = steel + amount = 24 + } + } + 42 = { + add_resource = { + type = steel + amount = 50 + } + } + 65 = { + add_resource = { + type = steel + amount = 35 + } } } } -} focus = { id = TIX_jixuheikeji icon = GFX_goal_generic_CAS x = 8 y = 0 - cost = 10 - ai_will_do = { factor = 10 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes army_experience = 100 navy_experience = 50 - TIX_heikeji_dengji = yes + TIX_heikeji_dengji = yes custom_effect_tooltip = AZ_lishitiaozhan_on effect_tooltip = { - country_event = az_tianjiang.269 + country_event = az_tianjiang.269 } hidden_effect = { - if = { - limit = { - has_global_flag = modoption_historicalbossai_on - } - country_event = az_tianjiang.269 - } + if = { + limit = { + has_global_flag = modoption_historicalbossai_on + } + country_event = az_tianjiang.269 + } } } } - - focus = { id = TIX_donglixitong icon = GFX_goal_generic_oil_refinery x = 0 y = 1 - prerequisite = { focus = TIX_jixuheikeji } + prerequisite = { + focus = TIX_jixuheikeji + } relative_position_id = TIX_jixuheikeji cost = 7 - ai_will_do = { factor = 3 } - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -371,7 +427,7 @@ focus = { uses = 2 category = synth_resources } - add_ideas = TIX_srhcryjs + add_ideas = TIX_srhcryjs } } focus = { @@ -379,16 +435,14 @@ focus = { icon = GFX_goal_continuous_naval_production x = 1 y = 1 - prerequisite = { focus = TIX_donglixitong } + prerequisite = { + focus = TIX_donglixitong + } relative_position_id = TIX_donglixitong cost = 7 - ai_will_do = { factor = 2 } - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_gxlfdj @@ -399,16 +453,14 @@ focus = { icon = GFX_goal_generic_CAS x = 0 y = 2 - prerequisite = { focus = TIX_donglixitong } + prerequisite = { + focus = TIX_donglixitong + } relative_position_id = TIX_donglixitong cost = 4 - ai_will_do = { factor = 3 } - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -424,19 +476,17 @@ focus = { icon = GFX_focus_generic_manpower x = 1 y = 1 - prerequisite = { focus = TIX_shengwugongcheng } + prerequisite = { + focus = TIX_shengwugongcheng + } relative_position_id = TIX_shengwugongcheng cost = 7 - ai_will_do = { factor = 3 } - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = TIX_yzjs + add_ideas = TIX_yzjs } } focus = { @@ -444,16 +494,14 @@ focus = { icon = GFX_focus_research2 x = 0 y = 2 - prerequisite = { focus = TIX_shengwugongcheng } + prerequisite = { + focus = TIX_shengwugongcheng + } relative_position_id = TIX_shengwugongcheng cost = 7 - ai_will_do = { factor = 3 } - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -469,35 +517,43 @@ focus = { icon = GFX_goal_generic_special_forces x = -1 y = 1 - prerequisite = { focus = TIX_rengongzhineng } - mutually_exclusive = { focus = TIX_wanquansairen } + prerequisite = { + focus = TIX_rengongzhineng + } + mutually_exclusive = { + focus = TIX_wanquansairen + } relative_position_id = TIX_rengongzhineng cost = 10 - ai_will_do = { factor = 5 } - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_5 = yes custom_effect_tooltip = TIX_jiesuochaoshikong_tips add_ideas = TIX_txznbq - set_technology = { keyantech_TIX_siren = 1 } + set_technology = { + keyantech_TIX_siren = 1 + } division_template = { name = "反重力步兵师" regiments = { - TIX_fanzhonglibudui = { x = 0 y = 0 } - TIX_fanzhonglibudui = { x = 0 y = 1 } + TIX_fanzhonglibudui = { + x = 0 + y = 0 + } + TIX_fanzhonglibudui = { + x = 0 + y = 1 + } } } capital_scope = { create_unit = { division = "name = \"反重力步兵演习兵团\" division_template = \"反重力步兵师\" start_experience_factor = 0.5 start_equipment_factor = 1" owner = ROOT - } + } } } } @@ -506,18 +562,20 @@ focus = { icon = GFX_fflag_SIR x = 1 y = 1 - prerequisite = { focus = TIX_rengongzhineng } - mutually_exclusive = { focus = TIX_sairenjiehe} + prerequisite = { + focus = TIX_rengongzhineng + } + mutually_exclusive = { + focus = TIX_sairenjiehe + } relative_position_id = TIX_rengongzhineng cost = 10 - ai_will_do = { factor = 0 } - - - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { guojishengyu_down_10 = yes custom_effect_tooltip = TIX_jiesuochaoshikong_tips @@ -526,23 +584,30 @@ focus = { news_event = aznews.10 } TIX_heikeji_dengji = yes - set_technology = { keyantech_TIX_siren = 1 } + set_technology = { + keyantech_TIX_siren = 1 + } division_template = { name = "反重力步兵师" regiments = { - TIX_fanzhonglibudui = { x = 0 y = 0 } - TIX_fanzhonglibudui = { x = 0 y = 1 } + TIX_fanzhonglibudui = { + x = 0 + y = 0 + } + TIX_fanzhonglibudui = { + x = 0 + y = 1 + } } } capital_scope = { create_unit = { division = "name = \"反重力步兵演习兵团\" division_template = \"反重力步兵师\" start_experience_factor = 0.5 start_equipment_factor = 1" owner = ROOT - } + } } } } - focus = { id = TIX_libingmoma icon = GFX_fflag_TIX @@ -550,7 +615,10 @@ focus = { y = 1 relative_position_id = TIX_tiewanyuanshou cost = 4 - prerequisite = { focus = TIX_tiewanyuanshou focus = TIX_yinghuiougen } + prerequisite = { + focus = TIX_tiewanyuanshou + focus = TIX_yinghuiougen + } ai_will_do = { factor = 1 modifier = { @@ -558,51 +626,33 @@ focus = { add = 100 } } - allow_branch = { + allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_war_support = 0.2 army_experience = 25 } } - - focus = { id = TIX_chongjiangongye icon = GFX_goal_generic_construct_civ_factory x = 3 y = 0 - cost = 7 - ai_will_do = { factor = 99 } - - - bypass = { has_added_tension_amount > 10 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { country_event = az_tianjiang.25 @@ -624,25 +674,28 @@ focus = { instant_build = yes } build_railway = { - path = { 3418 6559 514 } + path = { + 3418 + 6559 + 514 + } } } - } - + } } focus = { id = TIX_hansipijiuchang icon = GFX_focus_generic_low_cost_housing x = -2 y = 1 - prerequisite = { focus = TIX_chongjiangongye } + prerequisite = { + focus = TIX_chongjiangongye + } relative_position_id = TIX_chongjiangongye cost = 10 - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_owned_controlled_state = { @@ -668,14 +721,14 @@ focus = { icon = GFX_focus_generic_german_trade x = 0 y = 1 - prerequisite = { focus = TIX_hansipijiuchang } + prerequisite = { + focus = TIX_hansipijiuchang + } relative_position_id = TIX_hansipijiuchang cost = 4 - ai_will_do = { factor = 8 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_1 = yes @@ -687,22 +740,20 @@ focus = { icon = GFX_focus_generic_reorient_production x = 0 y = 1 - prerequisite = { focus = TIX_chongjiangongye } + prerequisite = { + focus = TIX_chongjiangongye + } relative_position_id = TIX_chongjiangongye cost = 10 - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - - random_owned_controlled_state = { add_extra_state_shared_building_slots = 2 add_building_construction = { - type = arms_factory + type = arms_factory level = 2 instant_build = yes } @@ -710,7 +761,7 @@ focus = { random_owned_controlled_state = { add_extra_state_shared_building_slots = 2 add_building_construction = { - type = arms_factory + type = arms_factory level = 2 instant_build = yes } @@ -718,7 +769,7 @@ focus = { random_owned_controlled_state = { add_extra_state_shared_building_slots = 2 add_building_construction = { - type = arms_factory + type = arms_factory level = 2 instant_build = yes } @@ -726,7 +777,7 @@ focus = { random_owned_controlled_state = { add_extra_state_shared_building_slots = 2 add_building_construction = { - type = arms_factory + type = arms_factory level = 2 instant_build = yes } @@ -738,58 +789,61 @@ focus = { icon = GFX_focus_focus_fra_maquis x = 0 y = 1 - prerequisite = { focus = TIX_hansibinggongchang } + prerequisite = { + focus = TIX_hansibinggongchang + } relative_position_id = TIX_hansibinggongchang cost = 8 - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } - add_equipment_to_stockpile = { - type = infantry_equipment - amount = 7000 - producer = TIX - } - random_owned_controlled_state = { - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes + limit = { + has_global_flag = MOD_azurlane_sairenzhizai + } + add_equipment_to_stockpile = { + type = infantry_equipment + amount = 7000 + producer = TIX + } + random_owned_controlled_state = { + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 2 + instant_build = yes + } } - } } else_if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } 64 = { - add_resource = { - type = steel - amount = 120 - } - } + add_resource = { + type = steel + amount = 120 + } + } random_owned_controlled_state = { - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes + } } - } - random_owned_controlled_state = { - add_extra_state_shared_building_slots = 1 - add_building_construction = { - type = arms_factory - level = 1 - instant_build = yes + random_owned_controlled_state = { + add_extra_state_shared_building_slots = 1 + add_building_construction = { + type = arms_factory + level = 1 + instant_build = yes + } } } - } } } focus = { @@ -797,14 +851,14 @@ focus = { icon = GFX_goal_generic_consumer_goods x = 2 y = 1 - prerequisite = { focus = TIX_chongjiangongye } + prerequisite = { + focus = TIX_chongjiangongye + } relative_position_id = TIX_chongjiangongye cost = 7 - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 50 @@ -815,7 +869,7 @@ focus = { level = 3 instant_build = yes } - } + } } } focus = { @@ -823,61 +877,61 @@ focus = { icon = GFX_focus_generic_agricultural_subsidies x = 0 y = 1 - prerequisite = { focus = TIX_hansikafeichang } + prerequisite = { + focus = TIX_hansikafeichang + } relative_position_id = TIX_hansikafeichang cost = 5 - ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 100 add_stability = 0.15 - add_war_support = 0.08 + add_war_support = 0.08 } } - - focus = { id = TIX_chenglihansijituan icon = GFX_focus_usa_reestablish_the_gold_standard x = 0 y = 1 - prerequisite = { focus = TIX_pijiuwaixiao } - prerequisite = { focus = TIX_namaoselai } - prerequisite = { focus = TIX_kafeikouweigailiang } + prerequisite = { + focus = TIX_pijiuwaixiao + } + prerequisite = { + focus = TIX_namaoselai + } + prerequisite = { + focus = TIX_kafeikouweigailiang + } relative_position_id = TIX_namaoselai cost = 5 - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_hsjt } } - focus = { id = TIX_jituankeyanbu icon = GFX_focus_generic_university_1 x = -2 y = 1 - prerequisite = { focus = TIX_chenglihansijituan } + prerequisite = { + focus = TIX_chenglihansijituan + } relative_position_id = TIX_chenglihansijituan cost = 7 - ai_will_do = { factor = 25 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_research_slot = 1 @@ -888,14 +942,14 @@ focus = { icon = GFX_focus_generic_modernize_industry x = 0 y = 1 - prerequisite = { focus = TIX_chenglihansijituan } + prerequisite = { + focus = TIX_chenglihansijituan + } relative_position_id = TIX_chenglihansijituan cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_gxsc @@ -906,20 +960,20 @@ focus = { icon = GFX_focus_CHL_silverworking x = 2 y = 1 - prerequisite = { focus = TIX_chenglihansijituan } + prerequisite = { + focus = TIX_chenglihansijituan + } relative_position_id = TIX_chenglihansijituan cost = 3 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { add_idea = TIX_jtwmb remove_idea = TIX_pjwx - } + } } } focus = { @@ -927,45 +981,40 @@ focus = { icon = GFX_focus_ger_revive_kaiserreich x = 0 y = 1 - prerequisite = { focus = TIX_jituankeyanbu } - prerequisite = { focus = TIX_jituanshengchanbu } - prerequisite = { focus = TIX_jituanwaimaobu } + prerequisite = { + focus = TIX_jituankeyanbu + } + prerequisite = { + focus = TIX_jituanshengchanbu + } + prerequisite = { + focus = TIX_jituanwaimaobu + } relative_position_id = TIX_jituanshengchanbu cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { add_idea = TIX_txhsjt remove_idea = TIX_hsjt - } + } } } - focus = { id = TIX_fazhanhaijun icon = GFX_goal_generic_navy_battleship x = 15 y = 0 - cost = 5 - ai_will_do = { factor = 3 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 50 @@ -976,22 +1025,17 @@ focus = { icon = GFX_focus_generic_destroyer x = -3 y = 1 - prerequisite = { focus = TIX_fazhanhaijun } + prerequisite = { + focus = TIX_fazhanhaijun + } relative_position_id = TIX_fazhanhaijun cost = 5 - ai_will_do = { factor = 3 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1008,22 +1052,17 @@ focus = { icon = GFX_focus_generic_destroyer x = 0 y = 1 - prerequisite = { focus = TIX_pingweijian } + prerequisite = { + focus = TIX_pingweijian + } relative_position_id = TIX_pingweijian cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_xjtsc @@ -1034,22 +1073,17 @@ focus = { icon = GFX_focus_generic_navy_battleship2 x = -1 y = 1 - prerequisite = { focus = TIX_fazhanhaijun } + prerequisite = { + focus = TIX_fazhanhaijun + } relative_position_id = TIX_fazhanhaijun cost = 5 - ai_will_do = { factor = 3 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1065,22 +1099,17 @@ focus = { icon = GFX_goal_generic_navy_carrier x = 1 y = 1 - prerequisite = { focus = TIX_fazhanhaijun } + prerequisite = { + focus = TIX_fazhanhaijun + } relative_position_id = TIX_fazhanhaijun cost = 5 - ai_will_do = { factor = 3 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1096,22 +1125,17 @@ focus = { icon = GFX_goal_generic_wolf_pack x = 3 y = 1 - prerequisite = { focus = TIX_fazhanhaijun } + prerequisite = { + focus = TIX_fazhanhaijun + } relative_position_id = TIX_fazhanhaijun cost = 5 - ai_will_do = { factor = 3 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1127,22 +1151,17 @@ focus = { icon = GFX_goal_generic_wolf_pack x = 0 y = 1 - prerequisite = { focus = TIX_qianting } + prerequisite = { + focus = TIX_qianting + } relative_position_id = TIX_qianting cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = GER_modular_construction @@ -1153,25 +1172,26 @@ focus = { icon = GFX_focus_BRA_german_submarine_development x = -3 y = 1 - prerequisite = { focus = TIX_qianting } - prerequisite = { focus = TIX_pingweijian} - prerequisite = { focus = TIX_zhulijian } - prerequisite = { focus = TIX_hangmu } + prerequisite = { + focus = TIX_qianting + } + prerequisite = { + focus = TIX_pingweijian + } + prerequisite = { + focus = TIX_zhulijian + } + prerequisite = { + focus = TIX_hangmu + } relative_position_id = TIX_qianting cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_haijunliluntupo = yes @@ -1189,22 +1209,17 @@ focus = { icon = GFX_goal_generic_navy_battleship x = 0 y = 1 - prerequisite = { focus = TIX_xinhaijun } + prerequisite = { + focus = TIX_xinhaijun + } relative_position_id = TIX_xinhaijun cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_zjh @@ -1215,96 +1230,126 @@ focus = { icon = GFX_focus_generic_little_entente x = 64 y = 0 - cost = 10 - ai_will_do = { factor = 9 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 100 if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } + limit = { + has_global_flag = MOD_azurlane_sairenzhizai + } custom_effect_tooltip = "10支新兵步兵师服役" - division_template = { - name = "青年步兵师" - division_names_group = GER_INF_01 - - 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 } - infantry = { x = 1 y = 3 } - infantry = { x = 2 y = 0 } - infantry = { x = 2 y = 1 } - infantry = { x = 2 y = 2 } - infantry = { x = 3 y = 0 } - infantry = { x = 3 y = 1 } - infantry = { x = 3 y = 2 } + division_template = { + name = "青年步兵师" + division_names_group = GER_INF_01 + 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 + } + infantry = { + x = 1 + y = 3 + } + infantry = { + x = 2 + y = 0 + } + infantry = { + x = 2 + y = 1 + } + infantry = { + x = 2 + y = 2 + } + infantry = { + x = 3 + y = 0 + } + infantry = { + x = 3 + y = 1 + } + infantry = { + x = 3 + y = 2 + } + } + support = { + } } - support = { - - } - } - hidden_effect = { - capital_scope = { - create_unit = { - division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" - owner = ROOT - } - create_unit = { - division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" - owner = ROOT - } - create_unit = { - division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" - owner = ROOT - } - create_unit = { - division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" - owner = ROOT - } - create_unit = { - division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" - owner = ROOT - } - create_unit = { - division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" - owner = ROOT - } - create_unit = { - division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" - owner = ROOT - } - create_unit = { - division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" - owner = ROOT - } - create_unit = { - division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" - owner = ROOT - } - create_unit = { - division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" - owner = ROOT + hidden_effect = { + capital_scope = { + create_unit = { + division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" + owner = ROOT + } + create_unit = { + division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" + owner = ROOT + } + create_unit = { + division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" + owner = ROOT + } + create_unit = { + division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" + owner = ROOT + } + create_unit = { + division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" + owner = ROOT + } + create_unit = { + division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" + owner = ROOT + } + create_unit = { + division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" + owner = ROOT + } + create_unit = { + division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" + owner = ROOT + } + create_unit = { + division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" + owner = ROOT + } + create_unit = { + division = "name = \"铁血青年团\" division_template = \"青年步兵师\" start_experience_factor = 0" + owner = ROOT + } } } } - } - } } focus = { @@ -1313,20 +1358,16 @@ focus = { x = 0 y = 1 relative_position_id = TIX_tiexuedexingjun - prerequisite = { focus = TIX_tiexuedexingjun } - + prerequisite = { + focus = TIX_tiexuedexingjun + } cost = 7 - ai_will_do = { factor = 6 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -1334,32 +1375,34 @@ focus = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "恶臭轰炸机" - bonus = 3 - uses = 1 - category = light_air - ahead_reduction = 1 - } + name = "恶臭轰炸机" + bonus = 3 + uses = 1 + category = light_air + ahead_reduction = 1 + } add_tech_bonus = { - name = "恶臭轰炸机" - bonus = 2 - uses = 1 - category = plane_modules_tech - ahead_reduction = 1 - } + name = "恶臭轰炸机" + bonus = 2 + uses = 1 + category = plane_modules_tech + ahead_reduction = 1 + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "恶臭轰炸机" - bonus = 3 - uses = 1 - category = cas_bomber - ahead_reduction = 1 - } - } + name = "恶臭轰炸机" + bonus = 3 + uses = 1 + category = cas_bomber + ahead_reduction = 1 + } + } } } focus = { @@ -1368,28 +1411,23 @@ focus = { x = 0 y = 1 relative_position_id = TIX_henghenghongzhaji - prerequisite = { focus = TIX_henghenghongzhaji } - + prerequisite = { + focus = TIX_henghenghongzhaji + } cost = 10 - ai_will_do = { factor = 6 } - available = { has_war = yes - or = { - has_air_experience > 200 - if = { - is_ai = yes - } + OR = { + has_air_experience > 200 + is_ai = yes } } - cancel_if_invalid = yes continue_if_invalid = yes available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -1397,42 +1435,46 @@ focus = { has_dlc = "By Blood Alone" } add_tech_bonus = { - name = "飞行队的经验" - bonus = 2 - uses = 1 - category = light_air - ahead_reduction = 2 - } + name = "飞行队的经验" + bonus = 2 + uses = 1 + category = light_air + ahead_reduction = 2 + } } if = { limit = { - not = { has_dlc = "By Blood Alone" } + NOT = { + has_dlc = "By Blood Alone" + } } add_tech_bonus = { - name = "飞行队的经验" - bonus = 2 - uses = 1 - category = cas_bomber - ahead_reduction = 2 - } + name = "飞行队的经验" + bonus = 2 + uses = 1 + category = cas_bomber + ahead_reduction = 2 + } } - if = { limit = { has_tech = ground_support_integration } - add_doctrine_cost_reduction = { - name = "飞行队的经验" - cost_reduction = 0.5 - uses = 4 - category = air_doctrine + if = { + limit = { + has_tech = ground_support_integration + } + add_doctrine_cost_reduction = { + name = "飞行队的经验" + cost_reduction = 0.5 + uses = 4 + category = air_doctrine + } } + else = { + add_doctrine_cost_reduction = { + name = "飞行队的经验" + cost_reduction = 0.5 + uses = 4 + category = battlefield_support_tree + } } - else_if = { - add_doctrine_cost_reduction = { - name = "飞行队的经验" - cost_reduction = 0.5 - uses = 4 - category = battlefield_support_tree - } - } - air_experience = -200 add_ideas = TIX_dgfxd TY_kongjunliluntupo = yes @@ -1444,20 +1486,16 @@ focus = { x = 4 y = 1 relative_position_id = TIX_tiexuedexingjun - prerequisite = { focus = TIX_tiexuedexingjun } - + prerequisite = { + focus = TIX_tiexuedexingjun + } cost = 7 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1474,22 +1512,16 @@ focus = { x = 0 y = 1 relative_position_id = TIX_fazhanbubing - prerequisite = { focus = TIX_fazhanbubing } - + prerequisite = { + focus = TIX_fazhanbubing + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 50 @@ -1508,27 +1540,24 @@ focus = { x = 0 y = 1 relative_position_id = TIX_buqiangyanjiu - prerequisite = { focus = TIX_buqiangyanjiu } - + prerequisite = { + focus = TIX_buqiangyanjiu + } cost = 10 - ai_will_do = { factor = 5 } - available = { has_completed_focus = TIX_jixuheikeji } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = { TIX_hkjbq } + add_ideas = { + TIX_hkjbq + } TIX_heikeji_dengji = yes } } @@ -1538,22 +1567,19 @@ focus = { x = 1 y = 1 relative_position_id = TIX_heikejibuqiang - prerequisite = { focus = TIX_heikejibuqiang } - prerequisite = { focus = TIX_heikejihuopao } + prerequisite = { + focus = TIX_heikejibuqiang + } + prerequisite = { + focus = TIX_heikejihuopao + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1561,7 +1587,7 @@ focus = { bonus = 2 uses = 2 category = rocketry - } + } } } focus = { @@ -1570,31 +1596,28 @@ focus = { x = 0 y = 1 relative_position_id = TIX_heikejihuojian - prerequisite = { focus = TIX_heikejihuojian } - + prerequisite = { + focus = TIX_heikejihuojian + } cost = 7 - ai_will_do = { factor = 15 } - available = { OR = { has_idea = TIX_heikeji_3 has_idea = TIX_heikeji_4 } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_txhkjyjy - hidden_effect = { news_event = aznews.31 } + hidden_effect = { + news_event = aznews.31 + } } } focus = { @@ -1603,37 +1626,48 @@ focus = { x = -3 y = 2 relative_position_id = TIX_heikejitixi - prerequisite = { focus = TIX_heikejitixi } - prerequisite = { focus = TIX_zhuangjiashengchan } - prerequisite = { focus = TIX_siweichuangxin } - + prerequisite = { + focus = TIX_heikejitixi + } + prerequisite = { + focus = TIX_zhuangjiashengchan + } + prerequisite = { + focus = TIX_siweichuangxin + } cost = 10 - ai_will_do = { factor = 15 } - available = { OR = { OR = { - BFL = { has_capitulated = yes } - BFL = { is_in_faction_with = TIX } - NOT = { country_exists = BFL } + BFL = { + has_capitulated = yes + } + BFL = { + is_in_faction_with = TIX + } + NOT = { + country_exists = BFL + } } OR = { - YUW = { has_capitulated = yes } - YUW = { is_in_faction_with = TIX } - NOT = { country_exists = YUW } + YUW = { + has_capitulated = yes + } + YUW = { + is_in_faction_with = TIX + } + NOT = { + country_exists = YUW + } } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_txszx @@ -1649,22 +1683,16 @@ focus = { x = 2 y = 1 relative_position_id = TIX_fazhanbubing - prerequisite = { focus = TIX_fazhanbubing } - + prerequisite = { + focus = TIX_fazhanbubing + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1682,25 +1710,21 @@ focus = { x = 0 y = 1 relative_position_id = TIX_xinshihuopao - prerequisite = { focus = TIX_xinshihuopao } - + prerequisite = { + focus = TIX_xinshihuopao + } cost = 10 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = { TIX_hkjhp } + add_ideas = { + TIX_hkjhp + } TIX_heikeji_dengji = yes } } @@ -1710,22 +1734,16 @@ focus = { x = -2 y = 1 relative_position_id = TIX_fazhanbubing - prerequisite = { focus = TIX_fazhanbubing } - + prerequisite = { + focus = TIX_fazhanbubing + } cost = 7 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = TIX_jiesuoguangleng_tips @@ -1738,27 +1756,27 @@ focus = { x = 0 y = 1 relative_position_id = TIX_tiexuebubingban - prerequisite = { focus = TIX_tiexuebubingban } - prerequisite = { focus = TIX_lilunyanjiu } + prerequisite = { + focus = TIX_tiexuebubingban + } + prerequisite = { + focus = TIX_lilunyanjiu + } cost = 7 - ai_will_do = { factor = 3 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = "允许解锁第二条陆军学说路线" set_country_flag = TY_army_liluntupo - set_technology = { breakthrough_for_tix = 1 popup = no } + set_technology = { + breakthrough_for_tix = 1 + popup = no + } } } focus = { @@ -1767,21 +1785,16 @@ focus = { x = -4 y = 1 relative_position_id = TIX_tiexuedexingjun - prerequisite = { focus = TIX_tiexuedexingjun } + prerequisite = { + focus = TIX_tiexuedexingjun + } cost = 7 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = TIX_zhuangjiagongzao_tip @@ -1798,27 +1811,28 @@ focus = { icon = GFX_focus_NOR_rikstanken x = -1 y = 1 - cost = 7 - ai_will_do = { factor = 5 } - prerequisite = { focus = TIX_fazhanzhuangjia } + prerequisite = { + focus = TIX_fazhanzhuangjia + } relative_position_id = TIX_fazhanzhuangjia cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 50 create_corps_commander = { name = "艾丽卡" picture = ailika.jpg - traits = { brilliant_strategist armor_officer panzer_leader } + traits = { + brilliant_strategist + armor_officer + panzer_leader + } skill = 3 attack_skill = 3 defense_skill = 3 @@ -1828,7 +1842,11 @@ focus = { create_corps_commander = { name = "芙蕾雅" picture = fuleiya.jpg - traits = { trait_engineer armor_officer panzer_leader } + traits = { + trait_engineer + armor_officer + panzer_leader + } skill = 3 attack_skill = 2 defense_skill = 3 @@ -1842,37 +1860,37 @@ focus = { icon = GFX_goal_generic_army_doctrines x = 1 y = 1 - cost = 7 - ai_will_do = { factor = 5 } - prerequisite = { focus = TIX_fazhanzhuangjia } + prerequisite = { + focus = TIX_fazhanzhuangjia + } relative_position_id = TIX_fazhanzhuangjia cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - if = { limit = { has_tech = blitzkrieg } - add_doctrine_cost_reduction = { - name = "理论研究" - cost_reduction = 0.25 - uses = 5 - category = land_doctrine - } - } - else_if = { - add_doctrine_cost_reduction = { - name = "理论研究" - cost_reduction = 0.25 - uses = 5 - category = cat_mobile_warfare + if = { + limit = { + has_tech = blitzkrieg + } + add_doctrine_cost_reduction = { + name = "理论研究" + cost_reduction = 0.25 + uses = 5 + category = land_doctrine + } } + else = { + add_doctrine_cost_reduction = { + name = "理论研究" + cost_reduction = 0.25 + uses = 5 + category = cat_mobile_warfare + } } } } @@ -1881,41 +1899,42 @@ focus = { icon = GFX_focus_FIN_salvaged_and_retooled x = -1 y = 1 - cost = 7 - ai_will_do = { factor = 5 } - prerequisite = { focus = TIX_chengyuanzu } - prerequisite = { focus = TIX_lilunyanjiu } + prerequisite = { + focus = TIX_chengyuanzu + } + prerequisite = { + focus = TIX_lilunyanjiu + } relative_position_id = TIX_chengyuanzu cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - - if = { limit = { has_tech = advanced_medium_tank_chassis } - add_doctrine_cost_reduction = { - name = "装甲科技" - bonus = 2 - uses = 1 - category = armor - ahead_reduction = 2 - } - } - else_if = { - add_tech_bonus = { - name = "中型坦克" - bonus = 2.5 - uses = 1 - category = cat_medium_armor - ahead_reduction = 2 + if = { + limit = { + has_tech = advanced_medium_tank_chassis + } + add_tech_bonus = { + name = "装甲科技" + bonus = 2 + uses = 1 + category = armor + ahead_reduction = 2 + } } + else = { + add_tech_bonus = { + name = "中型坦克" + bonus = 2.5 + uses = 1 + category = cat_medium_armor + ahead_reduction = 2 + } } } } @@ -1924,21 +1943,20 @@ focus = { icon = GFX_focus_generic_armored_air_support x = 1 y = 1 - cost = 5 - ai_will_do = { factor = 5 } - prerequisite = { focus = TIX_chengyuanzu } - prerequisite = { focus = TIX_lilunyanjiu } + prerequisite = { + focus = TIX_chengyuanzu + } + prerequisite = { + focus = TIX_lilunyanjiu + } relative_position_id = TIX_chengyuanzu cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1954,40 +1972,42 @@ focus = { icon = GFX_focus_generic_army_tanks2 x = 3 y = 1 - cost = 7 - ai_will_do = { factor = 5 } - prerequisite = { focus = TIX_chengyuanzu } - prerequisite = { focus = TIX_lilunyanjiu } + prerequisite = { + focus = TIX_chengyuanzu + } + prerequisite = { + focus = TIX_lilunyanjiu + } relative_position_id = TIX_chengyuanzu cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - if = { limit = { has_tech = advanced_heavy_tank_chassis } - add_doctrine_cost_reduction = { - name = "装甲科技" - bonus = 2 - uses = 1 - category = armor - ahead_reduction = 2 - } - } - else_if = { - add_tech_bonus = { - name = "重型坦克" - bonus = 2 - uses = 1 - category = cat_heavy_armor - ahead_reduction = 2 + if = { + limit = { + has_tech = advanced_heavy_tank_chassis + } + add_tech_bonus = { + name = "装甲科技" + bonus = 2 + uses = 1 + category = armor + ahead_reduction = 2 + } } + else = { + add_tech_bonus = { + name = "重型坦克" + bonus = 2 + uses = 1 + category = cat_heavy_armor + ahead_reduction = 2 + } } } } @@ -1996,23 +2016,26 @@ focus = { icon = GFX_goal_continuous_armor_production x = 1 y = 1 - cost = 7 - ai_will_do = { factor = 5 } - prerequisite = { focus = TIX_zhongxingtanke } - prerequisite = { focus = TIX_jixiehuabubing} + prerequisite = { + focus = TIX_zhongxingtanke + } + prerequisite = { + focus = TIX_jixiehuabubing + } relative_position_id = TIX_zhongxingtanke - mutually_exclusive = { focus = TIX_huoliyuzhuangjia } + mutually_exclusive = { + focus = TIX_huoliyuzhuangjia + } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_ideas = TIX_jdtk } @@ -2022,20 +2045,17 @@ focus = { icon = GFX_focus_generic_tank_air_support x = 0 y = 1 - cost = 7 - ai_will_do = { factor = 5 } - prerequisite = { focus = TIX_zhongshijidong } + prerequisite = { + focus = TIX_zhongshijidong + } relative_position_id = TIX_zhongshijidong cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_yxsl @@ -2046,22 +2066,23 @@ focus = { icon = GFX_focus_generic_self_propelled_gun x = -1 y = 1 - cost = 7 - ai_will_do = { factor = 5 } - prerequisite = { focus = TIX_zhongxing } - prerequisite = { focus = TIX_jixiehuabubing } + prerequisite = { + focus = TIX_zhongxing + } + prerequisite = { + focus = TIX_jixiehuabubing + } relative_position_id = TIX_zhongxing - mutually_exclusive = { focus = TIX_zhongshijidong } + mutually_exclusive = { + focus = TIX_zhongshijidong + } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_txzzj @@ -2072,20 +2093,17 @@ focus = { icon = GFX_focus_FIN_foreign_anti_air x = 0 y = 1 - cost = 7 - ai_will_do = { factor = 5 } - prerequisite = { focus = TIX_huoliyuzhuangjia } + prerequisite = { + focus = TIX_huoliyuzhuangjia + } relative_position_id = TIX_huoliyuzhuangjia cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_yxzl @@ -2096,13 +2114,14 @@ focus = { icon = GFX_focus_generic_tank_production x = -1 y = 1 - cost = 7 - ai_will_do = { factor = 5 } - prerequisite = { focus = TIX_tankezhiliang focus = TIX_tankeshuliang } + prerequisite = { + focus = TIX_tankezhiliang + focus = TIX_tankeshuliang + } relative_position_id = TIX_tankezhiliang available = { num_of_military_factories > 100 @@ -2110,9 +2129,6 @@ focus = { cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_zjscl @@ -2123,29 +2139,25 @@ focus = { icon = GFX_focus_generic_self_management x = 24 y = 0 - mutually_exclusive = { focus = TIX_fanduibisimai } + mutually_exclusive = { + focus = TIX_fanduibisimai + } cost = 10 - ai_will_do = { factor = 20 - } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_political_power = 200 - set_party_name = { + set_party_name = { ideology = fascism long_name = "铁血党" - name = "铁血党" + name = "铁血党" } } } @@ -2155,9 +2167,10 @@ focus = { x = -2 y = 1 relative_position_id = TIX_yihuigaige - prerequisite = { focus = TIX_yihuigaige } + prerequisite = { + focus = TIX_yihuigaige + } cost = 9 - ai_will_do = { factor = 11 modifier = { @@ -2165,15 +2178,9 @@ focus = { add = 100 } } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = TIX_bsmmanyidu_shangsheng @@ -2196,9 +2203,10 @@ focus = { x = 0 y = 1 relative_position_id = TIX_yihuigaige - prerequisite = { focus = TIX_yihuigaige } + prerequisite = { + focus = TIX_yihuigaige + } cost = 7 - ai_will_do = { factor = 6 modifier = { @@ -2206,15 +2214,9 @@ focus = { add = 100 } } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = TIX_bsmmanyidu_shangsheng @@ -2231,10 +2233,13 @@ focus = { x = 1 y = 1 relative_position_id = TIX_saoqingfanduipai - prerequisite = { focus = TIX_saoqingfanduipai } - prerequisite = { focus = TIX_guojiayuanshoufa } + prerequisite = { + focus = TIX_saoqingfanduipai + } + prerequisite = { + focus = TIX_guojiayuanshoufa + } cost = 7 - ai_will_do = { factor = 11 modifier = { @@ -2242,15 +2247,9 @@ focus = { add = 100 } } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = TIX_bsmmanyidu_shangsheng @@ -2259,58 +2258,61 @@ focus = { value = 2 } TIX_bisimai = { - set_portraits = { + set_portraits = { civilian = { - large="gfx/leaders/TIX/leader_bisimai.png" - } + large = "gfx/leaders/TIX/leader_bisimai.png" + } } add_country_leader_trait = { trait = twys - ideology = nazism - } + ideology = fascism + } } custom_effect_tooltip = AZ_lishitiaozhan_on effect_tooltip = { - country_event = az_tianjiang.268 + country_event = az_tianjiang.268 } hidden_effect = { - if = { - limit = { - has_global_flag = modoption_historicalbossai_on - } - country_event = az_tianjiang.268 - } + if = { + limit = { + has_global_flag = modoption_historicalbossai_on + } + country_event = az_tianjiang.268 + } } } } - - - - focus = { id = TIX_fanduibisimai icon = GFX_focus_bisimai_prison x = 24 y = 0 cost = 3 - mutually_exclusive = { focus = TIX_yihuigaige } + mutually_exclusive = { + focus = TIX_yihuigaige + } relative_position_id = TIX_yihuigaige ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = neutrality popularity = 0.25 } - add_timed_idea = { idea = TIX_zjdd days = 120 } - hidden_effect = { - country_event = { id = TIX_event.6 days = 130 } + add_popularity = { + ideology = neutrality + popularity = 0.25 + } + add_timed_idea = { + idea = TIX_zjdd + days = 120 + } + hidden_effect = { + country_event = { + id = TIX_event.6 + days = 130 + } } } } @@ -2320,29 +2322,33 @@ focus = { x = 0 y = 1 cost = 10 - prerequisite = { focus = TIX_fanduibisimai } + prerequisite = { + focus = TIX_fanduibisimai + } relative_position_id = TIX_fanduibisimai ai_will_do = { factor = 20 } available = { - NOT = { has_idea = TIX_zjdd } + NOT = { + has_idea = TIX_zjdd + } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 200 - add_popularity = { ideology = neutrality popularity = 0.15 } + add_popularity = { + ideology = neutrality + popularity = 0.15 + } add_ideas = TIX_ggdyh - set_party_name = { + set_party_name = { ideology = fascism long_name = "俾斯麦及其残党" - name = "俾斯麦及其残党" + name = "俾斯麦及其残党" } } } @@ -2352,26 +2358,29 @@ focus = { x = 0 y = 1 cost = 10 - prerequisite = { focus = TIX_chongjiandayihui } + prerequisite = { + focus = TIX_chongjiandayihui + } relative_position_id = TIX_chongjiandayihui ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 300 - add_popularity = { ideology = neutrality popularity = 0.15 } + add_popularity = { + ideology = neutrality + popularity = 0.15 + } set_politics = { ruling_party = neutrality } - hidden_effect = { news_event = aznews.30 } + hidden_effect = { + news_event = aznews.30 + } } } focus = { @@ -2380,18 +2389,16 @@ focus = { x = -1 y = 1 cost = 7 - prerequisite = { focus = TIX_yinghuiougen } + prerequisite = { + focus = TIX_yinghuiougen + } relative_position_id = TIX_yinghuiougen ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_3 = yes @@ -2405,18 +2412,16 @@ focus = { x = 1 y = 1 cost = 7 - prerequisite = { focus = TIX_yinghuiougen } + prerequisite = { + focus = TIX_yinghuiougen + } relative_position_id = TIX_yinghuiougen ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_3 = yes @@ -2430,52 +2435,53 @@ focus = { x = 1 y = 1 cost = 5 - prerequisite = { focus = TIX_yanlunziyou } - prerequisite = { focus = TIX_guangkaiyanlu } + prerequisite = { + focus = TIX_yanlunziyou + } + prerequisite = { + focus = TIX_guangkaiyanlu + } relative_position_id = TIX_yanlunziyou ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_khdkq } } - focus = { id = TIX_xiaomiebaozheng icon = GFX_aflag_SAD x = 8 y = 4 cost = 5 - prerequisite = { focus = TIX_hebingadl } + prerequisite = { + focus = TIX_hebingadl + } relative_position_id = TIX_jinburenshi ai_will_do = { factor = 9 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_5 = yes every_country = { - limit = { has_government = fascism } + limit = { + has_government = fascism + } add_ideas = TIX_lztxdzyzc } - - create_wargoal = { target = SAD type = take_state_focus } + create_wargoal = { + target = SAD + type = take_state_focus + } } } focus = { @@ -2484,19 +2490,19 @@ focus = { x = -8 y = 1 cost = 5 - prerequisite = { focus = TIX_hexiexintiexue } + prerequisite = { + focus = TIX_hexiexintiexue + } relative_position_id = TIX_hexiexintiexue - mutually_exclusive = { focus = TIX_shouhuzuihaodeougen } + mutually_exclusive = { + focus = TIX_shouhuzuihaodeougen + } ai_will_do = { factor = 9 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 @@ -2519,21 +2525,22 @@ focus = { x = 1 y = 1 cost = 2 - prerequisite = { focus = TIX_jinburenshi } + prerequisite = { + focus = TIX_jinburenshi + } relative_position_id = TIX_jinburenshi ai_will_do = { factor = 9 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_timed_idea = { idea = TIX_gczyxc days = 180 } + add_timed_idea = { + idea = TIX_gczyxc + days = 180 + } } } focus = { @@ -2542,21 +2549,22 @@ focus = { x = -1 y = 1 cost = 2 - prerequisite = { focus = TIX_jinburenshi } + prerequisite = { + focus = TIX_jinburenshi + } relative_position_id = TIX_jinburenshi ai_will_do = { factor = 9 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_timed_idea = { idea = TIX_gczyjy days = 180 } + add_timed_idea = { + idea = TIX_gczyjy + days = 180 + } } } focus = { @@ -2565,29 +2573,34 @@ focus = { x = 1 y = 1 cost = 5 - prerequisite = { focus = TIX_gongchanzhuyijiaoyu } - prerequisite = { focus = TIX_gongchanzhuyixuanchuan } + prerequisite = { + focus = TIX_gongchanzhuyijiaoyu + } + prerequisite = { + focus = TIX_gongchanzhuyixuanchuan + } relative_position_id = TIX_gongchanzhuyijiaoyu ai_will_do = { factor = 9 } available = { - NOT = { has_idea = TIX_gczyjy } - NOT = { has_idea = TIX_gczyxc } - communism > 0.50 + NOT = { + has_idea = TIX_gczyjy + } + NOT = { + has_idea = TIX_gczyxc + } + communism > 0.5 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - set_politics = { + set_politics = { ruling_party = communism } - news_event = aznews.29 + news_event = aznews.29 swap_ideas = { remove_idea = TIX_ggdyh add_idea = TIX_rmdbdh @@ -2600,18 +2613,16 @@ focus = { x = -2 y = 1 cost = 10 - prerequisite = { focus = TIX_xiyingbiange } + prerequisite = { + focus = TIX_xiyingbiange + } relative_position_id = TIX_xiyingbiange ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_gyjj @@ -2623,18 +2634,16 @@ focus = { x = 0 y = 1 cost = 10 - prerequisite = { focus = TIX_xiyingbiange } + prerequisite = { + focus = TIX_xiyingbiange + } relative_position_id = TIX_xiyingbiange ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_research_slot = 1 @@ -2646,7 +2655,9 @@ focus = { x = 2 y = 1 cost = 10 - prerequisite = { focus = TIX_xiyingbiange } + prerequisite = { + focus = TIX_xiyingbiange + } relative_position_id = TIX_xiyingbiange ai_will_do = { factor = 15 @@ -2657,37 +2668,40 @@ focus = { cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - country_event = { id = TIX_event.7 } + country_event = { + id = TIX_event.7 + } } } focus = { id = TIX_gonggulingdaodiwei icon = GFX_focus_bisimai_prison - x = 0 + x = 0 y = 1 cost = 5 - prerequisite = { focus = TIX_yiwujiaoyu } - prerequisite = { focus = TIX_jingjigaizao } - prerequisite = { focus = TIX_yubeilianhezuo } + prerequisite = { + focus = TIX_yiwujiaoyu + } + prerequisite = { + focus = TIX_jingjigaizao + } + prerequisite = { + focus = TIX_yubeilianhezuo + } relative_position_id = TIX_yiwujiaoyu ai_will_do = { factor = 15 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - country_event = { id = TIX_event.8 } + country_event = { + id = TIX_event.8 + } } } focus = { @@ -2696,25 +2710,27 @@ focus = { x = 8 y = 1 cost = 5 - prerequisite = { focus = TIX_hexiexintiexue } + prerequisite = { + focus = TIX_hexiexintiexue + } relative_position_id = TIX_hexiexintiexue - mutually_exclusive = { focus = TIX_jinburenshi } + mutually_exclusive = { + focus = TIX_jinburenshi + } ai_will_do = { factor = 60 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 TIX_ougenqinwang = { set_portraits = { - civilian = { large="gfx/leaders/TIX/leader_ougenqinwang.png" } + civilian = { + large = "gfx/leaders/TIX/leader_ougenqinwang.png" + } } add_country_leader_trait = sxdzlp } @@ -2726,22 +2742,23 @@ focus = { x = 0 y = 1 cost = 5 - prerequisite = { focus = TIX_shouhuzuihaodeougen } + prerequisite = { + focus = TIX_shouhuzuihaodeougen + } relative_position_id = TIX_shouhuzuihaodeougen ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 - add_popularity = { ideology = neutrality popularity = 0.25 } + add_popularity = { + ideology = neutrality + popularity = 0.25 + } } } focus = { @@ -2750,35 +2767,38 @@ focus = { x = 0 y = 1 cost = 5 - prerequisite = { focus = TIX_zhidugaige } + prerequisite = { + focus = TIX_zhidugaige + } relative_position_id = TIX_zhidugaige ai_will_do = { factor = 40 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { add_idea = TIX_txngyh remove_idea = TIX_ggdyh } - set_party_name = { ideology = neutrality long_name = "欧根保皇党" name = "欧根保皇党" } + set_party_name = { + ideology = neutrality + long_name = "欧根保皇党" + name = "欧根保皇党" + } } } - focus = { id = TIX_huanxingfeitelie icon = GFX_focus_feitelie x = 0 y = 1 cost = 10 - prerequisite = { focus = TIX_chongjianjunzhuzhi } + prerequisite = { + focus = TIX_chongjianjunzhuzhi + } relative_position_id = TIX_chongjianjunzhuzhi ai_will_do = { factor = 50 @@ -2790,15 +2810,11 @@ focus = { cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } - completion_reward = { custom_effect_tooltip = TIX_huanxingfeitelie_effect_tooltip - hidden_effect = { - country_event = TIX_event.9 + hidden_effect = { + country_event = TIX_event.9 } } } @@ -2808,27 +2824,26 @@ focus = { x = -2 y = 1 cost = 7 - prerequisite = { focus = TIX_huanxingfeitelie } + prerequisite = { + focus = TIX_huanxingfeitelie + } relative_position_id = TIX_huanxingfeitelie ai_will_do = { factor = 15 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { - has_idea = TIX_fkAIbuff + limit = { + has_idea = TIX_fkAIbuff + } + add_ideas = TIX_hjjwj_fkAI } - add_ideas = TIX_hjjwj_fkAI - }else = { - add_ideas = TIX_hjjwj + else = { + add_ideas = TIX_hjjwj } } } @@ -2838,83 +2853,80 @@ focus = { x = 2 y = 1 cost = 10 - prerequisite = { focus = TIX_huanxingfeitelie } + prerequisite = { + focus = TIX_huanxingfeitelie + } relative_position_id = TIX_huanxingfeitelie ai_will_do = { factor = 15 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 200 - add_popularity = { ideology = fascism popularity = 0.1 } - set_party_name = { + add_popularity = { + ideology = fascism + popularity = 0.1 + } + set_party_name = { ideology = fascism long_name = "铁血党" - name = "铁血党" + name = "铁血党" } add_ideas = TIX_bsddjd2 remove_ideas = TIX_bsmdfk random_army_leader = { - limit = { has_id = 03001 } + limit = { + has_id = 3001 + } add_unit_leader_trait = politically_connected add_unit_leader_trait = expert_delegator add_skill_level = 1 } } } - focus = { id = TIX_weinvdierzhan icon = GFX_focus_ger_return_of_the_kaiser x = 0 y = 1 cost = 10 - prerequisite = { focus = TIX_huanxingfeitelie } + prerequisite = { + focus = TIX_huanxingfeitelie + } relative_position_id = TIX_huanxingfeitelie ai_will_do = { factor = 20 } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { - has_idea = TIX_fkAIbuff + limit = { + has_idea = TIX_fkAIbuff + } + add_ideas = TIX_wndez_fkAI } - add_ideas = TIX_wndez_fkAI - }else = { - add_ideas = TIX_wndez + else = { + add_ideas = TIX_wndez } } } - - ####################################################################################################### - - focus = { id = TIX_tiexuededaolu icon = GFX_focus_ger_reichskommisariats x = 0 y = 1 relative_position_id = TIX_tiewanyuanshou - prerequisite = { focus = TIX_tiewanyuanshou } - + prerequisite = { + focus = TIX_tiewanyuanshou + } cost = 7 - ai_will_do = { factor = 2 modifier = { @@ -2922,48 +2934,49 @@ focus = { add = 99 } } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_faction = "赤色中轴" set_global_flag = TIX_created_chisezhongzhou - set_rule = { can_create_factions = yes } + set_rule = { + can_create_factions = yes + } add_political_power = 150 add_war_support = 0.15 custom_effect_tooltip = jiesuo_tixzhenyafaan if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } 51 = { - set_demilitarized_zone = no - } - 42 = { - set_demilitarized_zone = no - } - add_named_threat = { threat = 5 name = "进军莱茵兰" } + set_demilitarized_zone = no + } + 42 = { + set_demilitarized_zone = no + } + add_named_threat = { + threat = 5 + name = "进军莱茵兰" + } } } } - - focus = { id = TIX_difangxifang icon = GFX_goal_generic_defence x = 2 y = 1 relative_position_id = TIX_tiexuededaolu - prerequisite = { focus = TIX_tiexuededaolu } - mutually_exclusive = {focus = TIX_yubilanhangxianjiaohao} + prerequisite = { + focus = TIX_tiexuededaolu + } + mutually_exclusive = { + focus = TIX_yubilanhangxianjiaohao + } cost = 5 - ai_will_do = { factor = 4 modifier = { @@ -2971,19 +2984,15 @@ focus = { add = 10 } } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_ideas = TIX_bsddjd - HUJ = { + HUJ = { country_event = TIX_event.1 add_opinion_modifier = { target = TIX @@ -2996,7 +3005,9 @@ focus = { } 50 = { if = { - limit = { is_controlled_by = ROOT } + limit = { + is_controlled_by = ROOT + } custom_effect_tooltip = GER_west_wall_forts hidden_effect = { add_building_construction = { @@ -3027,7 +3038,11 @@ focus = { } } if = { - limit = { 42 = { is_demilitarized_zone = yes } } + limit = { + 42 = { + is_demilitarized_zone = yes + } + } custom_effect_tooltip = GER_west_wall_tt } 42 = { @@ -3036,14 +3051,15 @@ focus = { hidden_effect = { 42 = { if = { - limit = { is_controlled_by = ROOT } + limit = { + is_controlled_by = ROOT + } add_building_construction = { type = bunker level = 3 province = 3558 instant_build = yes } - add_building_construction = { type = bunker level = 3 @@ -3067,38 +3083,42 @@ focus = { } } } - focus = { id = TIX_tunbingaodili icon = GFX_goal_generic_demand_territory x = -3 y = 1 relative_position_id = TIX_difangxifang - prerequisite = { focus = TIX_difangxifang focus = TIX_yubilanhangxianjiaohao} + prerequisite = { + focus = TIX_difangxifang + focus = TIX_yubilanhangxianjiaohao + } cost = 8 - ai_will_do = { factor = 1 modifier = { - add = 99 - date > 1938.1.1 + add = 99 + date > 1938.1.1 } } - allow_branch = { + allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } available = { is_puppet = no - or = { - has_army_manpower = { size > 450000 } - is_ai = yes + OR = { + has_army_manpower = { + size > 450000 + } + is_ai = yes } - } bypass = { - or = { - not = {country_exists = AUS} - has_war_with = AUS + OR = { + NOT = { + country_exists = AUS + } + has_war_with = AUS } } completion_reward = { @@ -3109,162 +3129,200 @@ focus = { } guojishengyu_down_10 = yes if = { - limit = { - or = { - has_added_tension_amount > 14 - SAD = { is_ai = no } - } - } - add_named_threat = { threat = 10 name = "奥地利危机" } - SAD = { country_event = az_tianjiang.145 } - }else = { - add_named_threat = { threat = 10 name = "吞并奥地利" } - AUS = { - country_event = az_tianjiang.2 - } - SAD = { - add_ai_strategy = { - type = befriend - id = TIX - value = 80 - } - add_ai_strategy = { - type = alliance - id = "TIX" - value = 80 - } - } - add_ai_strategy = { - type = alliance - id = "SAD" - value = 80 - } - hidden_effect = { - ROM = { - diplomatic_relation = { - country = YUG - relation = guarantee - active = no - } - diplomatic_relation = { - country = CZE - relation = guarantee - active = no - } - diplomatic_relation = { - country = GRE - relation = guarantee - active = no - } + limit = { + OR = { + has_added_tension_amount > 14 + SAD = { + is_ai = no + } + } + } + add_named_threat = { + threat = 10 + name = "奥地利危机" + } + SAD = { + country_event = az_tianjiang.145 } - } + else = { + add_named_threat = { + threat = 10 + name = "吞并奥地利" + } + AUS = { + country_event = az_tianjiang.2 + } + SAD = { + add_ai_strategy = { + type = befriend + id = TIX + value = 80 + } + add_ai_strategy = { + type = alliance + id = "TIX" + value = 80 + } + } + add_ai_strategy = { + type = alliance + id = "SAD" + value = 80 + } + hidden_effect = { + ROM = { + diplomatic_relation = { + country = YUG + relation = guarantee + active = no + } + diplomatic_relation = { + country = CZE + relation = guarantee + active = no + } + diplomatic_relation = { + country = GRE + relation = guarantee + active = no + } + } + } } } } - focus = { id = TIX_jiaruhuohuimie icon = GFX_goal_continuous_suppression x = -5 y = 1 relative_position_id = TIX_tunbingaodili - prerequisite = { focus = TIX_tunbingaodili} - mutually_exclusive = {focus = TIX_budapeisiyanxi} + prerequisite = { + focus = TIX_tunbingaodili + } + mutually_exclusive = { + focus = TIX_budapeisiyanxi + } cost = 5 - ai_will_do = { factor = 99 } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } available = { is_puppet = no - not = { country_exists = AUS } + NOT = { + country_exists = AUS + } } bypass = { - or = { - not = {country_exists = HUN} - has_war_with = HUN - HUN = { - is_subject_of = SAD - } + OR = { + NOT = { + country_exists = HUN + } + has_war_with = HUN + HUN = { + is_subject_of = SAD + } } } completion_reward = { guojishengyu_down_1 = yes - HUN = { + HUN = { country_event = az_tianjiang.10 } } } - focus = { id = TIX_budapeisiyanxi icon = GFX_goal_generic_major_war x = -1 y = 1 relative_position_id = TIX_tunbingaodili - prerequisite = { focus = TIX_tunbingaodili} - mutually_exclusive = {focus = TIX_jiaruhuohuimie} + prerequisite = { + focus = TIX_tunbingaodili + } + mutually_exclusive = { + focus = TIX_jiaruhuohuimie + } cost = 3 will_lead_to_war_with = HUN ai_will_do = { factor = 0 } - available = { is_puppet = no - not = { country_exists = AUS } + NOT = { + country_exists = AUS + } } bypass = { - or = { - not = {country_exists = HUN} - has_war_with = HUN + OR = { + NOT = { + country_exists = HUN + } + has_war_with = HUN } } completion_reward = { guojishengyu_down_3 = yes - create_wargoal = { target = HUN type = take_state_focus } + create_wargoal = { + target = HUN + type = take_state_focus + } } } - focus = { id = TIX_zhongoujubian icon = GFX_goal_generic_political_pressure x = 0 y = 1 relative_position_id = TIX_jiaruhuohuimie - prerequisite = { focus = TIX_jiaruhuohuimie focus = TIX_budapeisiyanxi} - mutually_exclusive = {focus = TIX_shandongzhanzheng} + prerequisite = { + focus = TIX_jiaruhuohuimie + focus = TIX_budapeisiyanxi + } + mutually_exclusive = { + focus = TIX_shandongzhanzheng + } cost = 7 - ai_will_do = { factor = 99 } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } available = { is_puppet = no is_in_faction_with = HUN } bypass = { - or = { - not = {country_exists = CZE} - has_war_with = CZE + OR = { + NOT = { + country_exists = CZE + } + has_war_with = CZE } } completion_reward = { country_event = az_tianjiang.11 } } - focus = { id = TIX_shandongzhanzheng icon = GFX_goal_generic_propaganda x = 0 y = 1 relative_position_id = TIX_budapeisiyanxi - prerequisite = {focus = TIX_jiaruhuohuimie focus = TIX_budapeisiyanxi} - mutually_exclusive = {focus = TIX_zhongoujubian} + prerequisite = { + focus = TIX_jiaruhuohuimie + focus = TIX_budapeisiyanxi + } + mutually_exclusive = { + focus = TIX_zhongoujubian + } cost = 5 will_lead_to_war_with = CZE will_lead_to_war_with = YUW @@ -3272,88 +3330,115 @@ focus = { ai_will_do = { factor = 0 } - available = { is_puppet = no - not = {has_completed_focus = TIX_yubilanhangxianjiaohao} + NOT = { + has_completed_focus = TIX_yubilanhangxianjiaohao + } } bypass = { - or = { - not = {country_exists = CZE} - has_war_with = CZE + OR = { + NOT = { + country_exists = CZE + } + has_war_with = CZE } } completion_reward = { guojishengyu_down_10 = yes - add_named_threat = { threat = 15 name = "煽动战争" } + add_named_threat = { + threat = 15 + name = "煽动战争" + } add_war_support = 0.2 - create_wargoal = { target = CZE type = take_state_focus } + create_wargoal = { + target = CZE + type = take_state_focus + } HUJ = { - country_event = az_tianjiang.12 - add_war_support = 0.1 + country_event = az_tianjiang.12 + add_war_support = 0.1 } YUW = { - add_war_support = 0.1 + add_war_support = 0.1 } } } - focus = { id = TIX_jiekesiluofakedemingyun icon = GFX_goal_generic_territory_or_war x = 2 y = 1 relative_position_id = TIX_zhongoujubian - prerequisite = {focus = TIX_zhongoujubian focus = TIX_shandongzhanzheng} + prerequisite = { + focus = TIX_zhongoujubian + focus = TIX_shandongzhanzheng + } cost = 8 will_lead_to_war_with = CZE ai_will_do = { factor = 1 modifier = { - has_completed_focus = TIX_diyiciweiyenazhongcai - add = 99 + has_completed_focus = TIX_diyiciweiyenazhongcai + add = 99 } } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } available = { has_war = no controls_state = 69 controls_state = 74 } bypass = { - or = { - not = {country_exists = CZE} - has_war_with = CZE + OR = { + NOT = { + country_exists = CZE + } + has_war_with = CZE } } completion_reward = { if = { - limit = { - has_added_tension_amount > 20 - } - guojishengyu_down_10 = yes - custom_effect_tooltip = reduguogao_tips - add_named_threat = { threat = 15 name = "波西米亚危机" } - add_war_support = 0.2 - create_wargoal = { target = CZE type = take_state_focus } - HUJ = { - country_event = az_tianjiang.12 - add_war_support = 0.1 - } - YUW = { - add_war_support = 0.1 - } - }else = { - guojishengyu_down_5 = yes - add_named_threat = { threat = 5 name = "奥尔良协定" } - country_event = az_tianjiang.13 - hidden_effect = { - news_event = { id = az_tianjiang.15 days = 2} + limit = { + has_added_tension_amount > 20 + } + guojishengyu_down_10 = yes + custom_effect_tooltip = reduguogao_tips + add_named_threat = { + threat = 15 + name = "波西米亚危机" + } + add_war_support = 0.2 + create_wargoal = { + target = CZE + type = take_state_focus + } + HUJ = { + country_event = az_tianjiang.12 + add_war_support = 0.1 + } + YUW = { + add_war_support = 0.1 + } } + else = { + guojishengyu_down_5 = yes + add_named_threat = { + threat = 5 + name = "奥尔良协定" + } + country_event = az_tianjiang.13 + hidden_effect = { + news_event = { + id = az_tianjiang.15 + days = 2 + } + } } } } - focus = { id = TIX_lingtuzhihuan icon = GFX_goal_generic_dangerous_deal @@ -3361,330 +3446,421 @@ focus = { y = 1 relative_position_id = TIX_jiekesiluofakedemingyun #prerequisite = {focus = TIX_jiekesiluofakedemingyun } - prerequisite = {focus = TIX_zhongoujubian focus = TIX_shandongzhanzheng} - mutually_exclusive = {focus = TIX_danzehuozhanzheng} + prerequisite = { + focus = TIX_zhongoujubian + focus = TIX_shandongzhanzheng + } + mutually_exclusive = { + focus = TIX_danzehuozhanzheng + } cost = 8 - ai_will_do = { factor = 0 } - available = { has_war = no - not = {has_completed_focus = TIX_sudetiaoyue} + NOT = { + has_completed_focus = TIX_sudetiaoyue + } has_completed_focus = TIX_jiekesiluofakedemingyun } bypass = { - or = { - not = {country_exists = POL} - has_war_with = POL + OR = { + NOT = { + country_exists = POL + } + has_war_with = POL } } completion_reward = { POL = { - country_event = az_tianjiang.16 + country_event = az_tianjiang.16 } } } - focus = { id = TIX_danzehuozhanzheng icon = GFX_focus_POL_polish_revanchism x = 2 y = 1 relative_position_id = TIX_jiekesiluofakedemingyun - prerequisite = {focus = TIX_zhongoujubian focus = TIX_shandongzhanzheng} - mutually_exclusive = {focus = TIX_lingtuzhihuan} + prerequisite = { + focus = TIX_zhongoujubian + focus = TIX_shandongzhanzheng + } + mutually_exclusive = { + focus = TIX_lingtuzhihuan + } cost = 8 - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } will_lead_to_war_with = POL will_lead_to_war_with = HUJ will_lead_to_war_with = YUW ai_will_do = { factor = 1 modifier = { - date > 1939.6.1 - add = 99 + date > 1939.6.1 + add = 99 } } - available = { - not = {has_completed_focus = TIX_yubilanhangxianjiaohao} + NOT = { + has_completed_focus = TIX_yubilanhangxianjiaohao + } } bypass = { - or = { - has_war_with = POL - has_war_with = HUJ + OR = { + has_war_with = POL + has_war_with = HUJ } } completion_reward = { guojishengyu_down_1 = yes - add_named_threat = { threat = 5 name = "但泽或战争" } - every_country = { - limit = { - original_tag = POL - owns_state = 10 + add_named_threat = { + threat = 5 + name = "但泽或战争" } - country_event = az_tianjiang.18 + every_country = { + limit = { + original_tag = POL + owns_state = 10 + } + country_event = az_tianjiang.18 } HUJ = { - country_event = az_tianjiang.17 - } - if ={ - limit = { - YUW = { - or = { - not = {has_government = fascism } - not = {has_government = communism } - not = {has_war_with = TIX} - } - } - } - YUW = { - country_event = az_tianjiang.17 + country_event = az_tianjiang.17 } + if = { + limit = { + YUW = { + OR = { + NOT = { + has_government = fascism + } + NOT = { + has_government = communism + } + NOT = { + has_war_with = TIX + } + } + } + } + YUW = { + country_event = az_tianjiang.17 + } } hidden_effect = { - country_event = { id = az_tianjiang.236 days = 5 } + country_event = { + id = az_tianjiang.236 + days = 5 + } } } } - focus = { id = TIX_weisebaoxingdong icon = GFX_goal_generic_more_territorial_claims x = 0 y = 1 relative_position_id = TIX_danzehuozhanzheng - prerequisite = {focus = TIX_danzehuozhanzheng focus = TIX_lingtuzhihuan} + prerequisite = { + focus = TIX_danzehuozhanzheng + focus = TIX_lingtuzhihuan + } cost = 2 will_lead_to_war_with = DEN will_lead_to_war_with = NOR ai_will_do = { factor = 1 modifier = { - or = { - date > 1939.9.1 - has_war_with = HUJ - } - add = 99 + OR = { + date > 1939.9.1 + has_war_with = HUJ + } + add = 99 } } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } available = { - not = {has_completed_focus = TIX_yubilanhangxianjiaohao} + NOT = { + has_completed_focus = TIX_yubilanhangxianjiaohao + } } bypass = { - } completion_reward = { guojishengyu_down_3 = yes - create_wargoal = { target = NOR type = take_state_focus } - create_wargoal = { target = DEN type = take_state_focus } + create_wargoal = { + target = NOR + type = take_state_focus + } + create_wargoal = { + target = DEN + type = take_state_focus + } hidden_effect = { - country_event = { id = az_tianjiang.238 days = 3 } + country_event = { + id = az_tianjiang.238 + days = 3 + } } } } - focus = { id = TIX_diyiciweiyenazhongcai icon = GFX_goal_generic_forceful_treaty x = 1 y = 1 relative_position_id = TIX_tunbingaodili - prerequisite = {focus = TIX_tunbingaodili } - mutually_exclusive = {focus = TIX_di25haoyuanshouzhishi} + prerequisite = { + focus = TIX_tunbingaodili + } + mutually_exclusive = { + focus = TIX_di25haoyuanshouzhishi + } cost = 5 ai_will_do = { factor = 1 modifier = { - is_in_faction_with = SAD - add = 60 + is_in_faction_with = SAD + add = 60 } } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } available = { is_puppet = no - not = { country_exists = AUS } + NOT = { + country_exists = AUS + } } bypass = { - or = { - not = {country_exists = YUG} - has_war_with = YUG - SAD = { - has_war_with = YUG - } - has_war_with = SAD - YUG = { - is_subject_of = SAD - } + OR = { + NOT = { + country_exists = YUG + } + has_war_with = YUG + SAD = { + has_war_with = YUG + } + has_war_with = SAD + YUG = { + is_subject_of = SAD + } } } completion_reward = { guojishengyu_up_3 = yes - add_named_threat = { threat = -10 name = "第一次维也纳仲裁" } + add_named_threat = { + threat = -10 + name = "第一次维也纳仲裁" + } country_event = az_tianjiang.21 } } - focus = { id = TIX_di25haoyuanshouzhishi icon = GFX_goal_generic_major_war x = 4 y = 0 relative_position_id = TIX_diyiciweiyenazhongcai - prerequisite = {focus = TIX_tunbingaodili } - mutually_exclusive = {focus = TIX_diyiciweiyenazhongcai} + prerequisite = { + focus = TIX_tunbingaodili + } + mutually_exclusive = { + focus = TIX_diyiciweiyenazhongcai + } cost = 3 will_lead_to_war_with = YUG ai_will_do = { factor = 0 modifier = { - has_war_with = HUJ - add = 80 + has_war_with = HUJ + add = 80 } } - available = { is_puppet = no - not = { country_exists = AUS } + NOT = { + country_exists = AUS + } } bypass = { - or = { - not = {country_exists = YUG} - has_war_with = YUG + OR = { + NOT = { + country_exists = YUG + } + has_war_with = YUG } } completion_reward = { guojishengyu_down_1 = yes - create_wargoal = { target = YUG type = take_state_focus } + create_wargoal = { + target = YUG + type = take_state_focus + } } } - focus = { id = TIX_dierciweiyenazhongcai icon = GFX_focus_generic_treaty x = 0 y = 1 relative_position_id = TIX_diyiciweiyenazhongcai - prerequisite = {focus = TIX_diyiciweiyenazhongcai focus = TIX_di25haoyuanshouzhishi } - mutually_exclusive = {focus = TIX_duoquyoutian} + prerequisite = { + focus = TIX_diyiciweiyenazhongcai + focus = TIX_di25haoyuanshouzhishi + } + mutually_exclusive = { + focus = TIX_duoquyoutian + } cost = 5 will_lead_to_war_with = ROM ai_will_do = { factor = 80 } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } available = { is_puppet = no - not = { country_exists = CZE } + NOT = { + country_exists = CZE + } is_in_faction_with = HUN } bypass = { - or = { - not = {country_exists = ROM} - has_war_with = ROM - ROM = { - is_subject_of = SAD - } + OR = { + NOT = { + country_exists = ROM + } + has_war_with = ROM + ROM = { + is_subject_of = SAD + } } } completion_reward = { guojishengyu_up_3 = yes ROM = { - country_event = az_tianjiang.23 + country_event = az_tianjiang.23 } } } - focus = { id = TIX_duoquyoutian icon = GFX_focus_generic_attack_romania x = 0 y = 1 relative_position_id = TIX_di25haoyuanshouzhishi - prerequisite = {focus = TIX_di25haoyuanshouzhishi focus = TIX_diyiciweiyenazhongcai } - mutually_exclusive = {focus = TIX_dierciweiyenazhongcai} + prerequisite = { + focus = TIX_di25haoyuanshouzhishi + focus = TIX_diyiciweiyenazhongcai + } + mutually_exclusive = { + focus = TIX_dierciweiyenazhongcai + } cost = 4 will_lead_to_war_with = ROM ai_will_do = { factor = 0 } - available = { is_puppet = no - not = { country_exists = CZE } + NOT = { + country_exists = CZE + } } bypass = { - or = { - not = {country_exists = ROM} - has_war_with = ROM + OR = { + NOT = { + country_exists = ROM + } + has_war_with = ROM } } completion_reward = { - create_wargoal = { target = ROM type = take_state_focus } + create_wargoal = { + target = ROM + type = take_state_focus + } BFL = { - country_event = az_tianjiang.9 + country_event = az_tianjiang.9 } } } - focus = { id = TIX_sudetiaoyue icon = GFX_goal_molotov_ribbentrop_pact x = 3 y = 1 relative_position_id = TIX_difangxifang - prerequisite = { focus = TIX_difangxifang } - prerequisite = { focus = TIX_beifangdejuxiong } + prerequisite = { + focus = TIX_difangxifang + } + prerequisite = { + focus = TIX_beifangdejuxiong + } cost = 5 - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } ai_will_do = { factor = 1 modifier = { - add = 99 - date > 1939.5.1 + add = 99 + date > 1939.5.1 } } - allow_branch = { + allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } available = { - not = {has_war_with = BFL} + NOT = { + has_war_with = BFL + } } completion_reward = { guojishengyu_up_5 = yes - BFL = { + BFL = { country_event = az_tianjiang.5 } } } - focus = { id = TIX_yubilanhangxianjiaohao icon = GFX_goal_generic_improve_relations x = -6 y = 0 relative_position_id = TIX_difangxifang - prerequisite = { focus = TIX_tiexuededaolu } - mutually_exclusive = {focus = TIX_difangxifang} + prerequisite = { + focus = TIX_tiexuededaolu + } + mutually_exclusive = { + focus = TIX_difangxifang + } cost = 5 - ai_will_do = { factor = 0 } - available = { BFL = { - has_government = communism + has_government = communism + } + NOT = { + has_war_with = HUJ } - not = {has_war_with = HUJ} } completion_reward = { guojishengyu_up_5 = yes custom_effect_tooltip = tix_xianzhichidi - HUJ = { + HUJ = { add_opinion_modifier = { target = TIX modifier = BFL_yubilanhangxianhezuo @@ -3696,41 +3872,46 @@ focus = { } } } - focus = { id = TIX_jiaodianzhuanyi icon = GFX_goal_generic_military_deal x = -3 y = 1 relative_position_id = TIX_yubilanhangxianjiaohao - prerequisite = { focus = TIX_yubilanhangxianjiaohao } - prerequisite = { focus = TIX_dongfangmengyou } + prerequisite = { + focus = TIX_yubilanhangxianjiaohao + } + prerequisite = { + focus = TIX_dongfangmengyou + } cost = 5 - ai_will_do = { factor = 0 } - allow_branch = { + allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } available = { BFL = { - has_government = communism + has_government = communism } } completion_reward = { add_ideas = TIX_jdzy } } - focus = { id = TIX_jiaoxunyuanwei icon = GFX_aflag_YUW x = 2 y = 1 relative_position_id = TIX_didigongshi - prerequisite = { focus = TIX_didigongshi } - prerequisite = { focus = TIX_weisebaoxingdong } + prerequisite = { + focus = TIX_didigongshi + } + prerequisite = { + focus = TIX_weisebaoxingdong + } cost = 3 will_lead_to_war_with = YUW ai_will_do = { @@ -3744,29 +3925,32 @@ focus = { has_war_with = YUW } available = { - not = {has_completed_focus = TIX_yubilanhangxianjiaohao} + NOT = { + has_completed_focus = TIX_yubilanhangxianjiaohao + } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { - create_wargoal = { target = YUW type = take_state_focus } + create_wargoal = { + target = YUW + type = take_state_focus + } if = { - limit = { - YUW = { - is_in_faction = no - is_puppet = no - exists = yes - } - } - HUJ = { - country_event = TIX_event.11 - } + limit = { + YUW = { + is_in_faction = no + is_puppet = no + exists = yes + } + } + HUJ = { + country_event = TIX_event.11 + } } add_war_support = 0.2 } @@ -3777,41 +3961,53 @@ focus = { x = 0 y = 1 relative_position_id = TIX_lingtuzhihuan - prerequisite = { focus = TIX_lingtuzhihuan focus = TIX_danzehuozhanzheng} - + prerequisite = { + focus = TIX_lingtuzhihuan + focus = TIX_danzehuozhanzheng + } cost = 4 - ai_will_do = { factor = 10 modifier = { - or = { - date > 1939.9.20 - has_war_with = HUJ + OR = { + date > 1939.9.20 + has_war_with = HUJ } add = 90 } } - available = { - not = {has_completed_focus = TIX_yubilanhangxianjiaohao} + NOT = { + has_completed_focus = TIX_yubilanhangxianjiaohao + } } bypass = { - YUW = { has_completed_focus = YUW_didisanguodemingyun } + YUW = { + has_completed_focus = YUW_didisanguodemingyun + } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { guojishengyu_down_3 = yes - create_wargoal = { target = HOL type = take_state_focus } - create_wargoal = { target = BEL type = take_state_focus } - create_wargoal = { target = LUX type = take_state_focus } + create_wargoal = { + target = HOL + type = take_state_focus + } + create_wargoal = { + target = BEL + type = take_state_focus + } + create_wargoal = { + target = LUX + type = take_state_focus + } if = { - limit = { + limit = { YUW = { is_in_faction = no is_puppet = no @@ -3822,7 +4018,6 @@ focus = { country_event = TIX_event.10 } } - add_ai_strategy = { type = declare_war id = YUW @@ -3836,51 +4031,49 @@ focus = { x = 2 y = 1 relative_position_id = TIX_lueduozhanlingqu - prerequisite = { focus = TIX_lueduozhanlingqu focus = TIX_anfuzhanlingqu} - + prerequisite = { + focus = TIX_lueduozhanlingqu + focus = TIX_anfuzhanlingqu + } cost = 5 - ai_will_do = { factor = 10 } - available = { has_completed_focus = TIX_difangxifang - or = { - has_war_with = BYG - or = { - YUW = { - has_capitulated = yes - } - YUW = { - exists = no - } - WEX = { - exists = yes - } - } - HUJ = { - or = { - has_capitulated = yes - exists = no - } - } + OR = { + has_war_with = BYG + OR = { + YUW = { + has_capitulated = yes + } + YUW = { + exists = no + } + WEX = { + exists = yes + } + } + HUJ = { + OR = { + has_capitulated = yes + exists = no + } + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { swap_ideas = { add_idea = TIX_bsddjd2 remove_idea = TIX_bsddjd } - BYG = { + BYG = { add_opinion_modifier = { target = TIX modifier = TIX_bisimaidedishi @@ -3914,14 +4107,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -3946,14 +4139,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -3978,14 +4171,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -4010,14 +4203,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -4042,14 +4235,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -4073,27 +4266,26 @@ focus = { level = 4 instant_build = yes } - #Bonus Fortifications on Calais coastline add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 4 - instant_build = yes - } - #Biggest fortifications on Calais itself + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 4 + instant_build = yes + } + #Biggest fortifications on Calais itself add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_victory_point = yes - } - level = 3 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_victory_point = yes + } + level = 3 + instant_build = yes + } } } if = { @@ -4118,16 +4310,16 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } - } + } if = { limit = { any_country = { @@ -4150,16 +4342,16 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } - } + } if = { limit = { any_country = { @@ -4169,7 +4361,7 @@ focus = { } has_full_control_of_state = 36 } - } + } 36 = { #Fortify naval bases add_building_construction = { @@ -4182,14 +4374,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -4201,7 +4393,7 @@ focus = { } has_full_control_of_state = 56 } - } + } 56 = { #Fortify naval bases add_building_construction = { @@ -4214,14 +4406,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -4233,7 +4425,7 @@ focus = { } has_full_control_of_state = 59 } - } + } 59 = { #Fortify naval bases add_building_construction = { @@ -4246,14 +4438,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -4265,7 +4457,7 @@ focus = { } has_full_control_of_state = 58 } - } + } 58 = { #Fortify naval bases add_building_construction = { @@ -4278,14 +4470,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -4297,7 +4489,7 @@ focus = { } has_full_control_of_state = 99 } - } + } 99 = { #Fortify naval bases add_building_construction = { @@ -4310,14 +4502,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -4329,7 +4521,7 @@ focus = { } has_full_control_of_state = 110 } - } + } 110 = { #Fortify naval bases add_building_construction = { @@ -4342,14 +4534,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -4361,7 +4553,7 @@ focus = { } has_full_control_of_state = 142 } - } + } 142 = { #Fortify naval bases add_building_construction = { @@ -4374,14 +4566,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -4393,7 +4585,7 @@ focus = { } has_full_control_of_state = 143 } - } + } 143 = { #Fortify naval bases add_building_construction = { @@ -4406,14 +4598,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -4425,7 +4617,7 @@ focus = { } has_full_control_of_state = 144 } - } + } 144 = { #Fortify naval bases add_building_construction = { @@ -4438,14 +4630,14 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } if = { @@ -4470,17 +4662,17 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } - if = { + if = { limit = { any_country = { OR = { @@ -4502,17 +4694,17 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } } - if = { + if = { limit = { any_country = { OR = { @@ -4534,83 +4726,68 @@ focus = { instant_build = yes } add_building_construction = { - type = coastal_bunker - province = { - all_provinces = yes - limit_to_coastal = yes - } - level = 2 - instant_build = yes - } + type = coastal_bunker + province = { + all_provinces = yes + limit_to_coastal = yes + } + level = 2 + instant_build = yes + } } - } - - } + } + } } } - focus = { id = TIX_dongfangmengyou icon = GFX_focus_jap_spiritual_mobilization x = -10 y = 1 relative_position_id = TIX_tiexuededaolu - prerequisite = { focus = TIX_tiexuededaolu } - + prerequisite = { + focus = TIX_tiexuededaolu + } cost = 2 - ai_will_do = { factor = 1 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_5 = yes CHY = { add_opinion_modifier = { target = TIX - modifier = TIX_dongfangmengyou + modifier = TIX_dongfangmengyou } } DOH = { add_opinion_modifier = { target = TIX - modifier = TIX_dongfangmengyou + modifier = TIX_dongfangmengyou } } } } - focus = { id = TIX_zhidaochongying icon = GFX_fflag_CHY x = 1 y = 1 relative_position_id = TIX_dongfangmengyou - prerequisite = { focus = TIX_dongfangmengyou } - + prerequisite = { + focus = TIX_dongfangmengyou + } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 75 @@ -4635,21 +4812,16 @@ focus = { x = 0 y = 1 relative_position_id = TIX_zhidaochongying - prerequisite = { focus = TIX_zhidaochongying } + prerequisite = { + focus = TIX_zhidaochongying + } cost = 7 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 80 @@ -4673,27 +4845,26 @@ focus = { x = -1 y = 1 relative_position_id = TIX_dongfangmengyou - prerequisite = { focus = TIX_dongfangmengyou } - + prerequisite = { + focus = TIX_dongfangmengyou + } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - TIX = { add_political_power = 150 } + TIX = { + add_political_power = 150 + } DOH = { - add_offsite_building = { type = industrial_complex level = 2 } + add_offsite_building = { + type = industrial_complex + level = 2 + } add_opinion_modifier = { target = TIX modifier = TIX_youshandewaizuren @@ -4707,28 +4878,25 @@ focus = { x = 0 y = 1 relative_position_id = TIX_jiechuguguo - prerequisite = { focus = TIX_jiechuguguo } - + prerequisite = { + focus = TIX_jiechuguguo + } cost = 7 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_jkls DOH = { country_event = TIX_event.3 - add_offsite_building = { type = arms_factory level = 2 } + add_offsite_building = { + type = arms_factory + level = 2 + } add_equipment_to_stockpile = { type = infantry_equipment amount = 8888 @@ -4740,44 +4908,46 @@ focus = { } } } - focus = { id = TIX_gangtiesanjiao icon = GFX_goal_generic_national_unity x = 0 y = 1 relative_position_id = TIX_ziyuanhubu - prerequisite = { focus = TIX_ziyuanhubu } - mutually_exclusive = { focus = TIX_dongxizhouxian } + prerequisite = { + focus = TIX_ziyuanhubu + } + mutually_exclusive = { + focus = TIX_dongxizhouxian + } cost = 10 - ai_will_do = { factor = 15 } - available = { - - DOH = { - has_government = fascism - has_opinion = { - target = TIX + DOH = { + has_government = fascism + has_opinion = { + target = TIX value > 89 - } - not = {has_war_with = CHY} + } + NOT = { + has_war_with = CHY + } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_gtsj - DOH = { add_ideas = TIX_gtsj } - CHY = { add_ideas = TIX_gtsj } + DOH = { + add_ideas = TIX_gtsj + } + CHY = { + add_ideas = TIX_gtsj + } } } focus = { @@ -4786,70 +4956,80 @@ focus = { x = 0 y = 1 relative_position_id = TIX_chichengdejiangzuo - prerequisite = { focus = TIX_chichengdejiangzuo } - mutually_exclusive = { focus = TIX_gangtiesanjiao } + prerequisite = { + focus = TIX_chichengdejiangzuo + } + mutually_exclusive = { + focus = TIX_gangtiesanjiao + } cost = 10 - ai_will_do = { factor = 15 } - available = { OR = { CHY = { - has_government = fascism - has_opinion = { - target = TIX + has_government = fascism + has_opinion = { + target = TIX value > 89 - } - + } } - DOH = { - has_government = fascism - has_opinion = { - target = TIX + DOH = { + has_government = fascism + has_opinion = { + target = TIX value > 89 - } + } } } } - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_ideas = TIX_dxzx if = { - limit = { CHY = { has_opinion = { - target = TIX - value > 89 - } } } - CHY = { add_ideas = TIX_dxzx } + limit = { + CHY = { + has_opinion = { + target = TIX + value > 89 + } + } + } + CHY = { + add_ideas = TIX_dxzx + } } if = { - limit = { DOH = { has_opinion = { - target = TIX - value > 89 - } } } - DOH = { add_ideas = TIX_dxzx } + limit = { + DOH = { + has_opinion = { + target = TIX + value > 89 + } + } + } + DOH = { + add_ideas = TIX_dxzx + } } } } - focus = { id = TIX_beifangdejuxiong icon = GFX_goal_generic_major_alliance x = 9 y = 1 relative_position_id = TIX_tiexuededaolu - prerequisite = { focus = TIX_tiexuededaolu } - + prerequisite = { + focus = TIX_tiexuededaolu + } cost = 1 - ai_will_do = { factor = 1 modifier = { @@ -4857,18 +5037,14 @@ focus = { add = 80 } } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - BFL = { country_event = TIX_event.5 } + BFL = { + country_event = TIX_event.5 + } } } focus = { @@ -4877,11 +5053,17 @@ focus = { x = 2 y = 2 relative_position_id = TIX_beifangdejuxiong - prerequisite = { focus = TIX_beifangdejuxiong } - mutually_exclusive = { focus = TIX_qifujuxiong } + prerequisite = { + focus = TIX_beifangdejuxiong + } + mutually_exclusive = { + focus = TIX_qifujuxiong + } cost = 7 available = { - not = {has_completed_focus = TIX_yubilanhangxianjiaohao} + NOT = { + has_completed_focus = TIX_yubilanhangxianjiaohao + } } ai_will_do = { factor = 1 @@ -4890,14 +5072,15 @@ focus = { add = 100 } } - - completion_reward = { BFL = { - add_offsite_building = { type = arms_factory level = 2 } + add_offsite_building = { + type = arms_factory + level = 2 + } add_opinion_modifier = { target = TIX - modifier = TIX_reqingdetiexue + modifier = TIX_reqingdetiexue } } } @@ -4908,16 +5091,21 @@ focus = { x = -2 y = 1 relative_position_id = TIX_jiaohaojuxiong - prerequisite = { focus = TIX_jiaohaojuxiong focus = TIX_qifujuxiong} + prerequisite = { + focus = TIX_jiaohaojuxiong + focus = TIX_qifujuxiong + } available = { is_in_faction = yes is_faction_leader = yes - not = {has_war_with = BFL} - or = { - has_completed_focus = TIX_jiaohaojuxiong - BFL = { - has_war_with = HUJ + NOT = { + has_war_with = BFL } + OR = { + has_completed_focus = TIX_jiaohaojuxiong + BFL = { + has_war_with = HUJ + } } } cost = 7 @@ -4927,8 +5115,8 @@ focus = { ai_will_do = { factor = 0 modifier = { - add = 15 - has_completed_focus = TIX_yubeilianhezuo + add = 15 + has_completed_focus = TIX_yubeilianhezuo } } completion_reward = { @@ -4943,46 +5131,55 @@ focus = { x = 0 y = 2 relative_position_id = TIX_jiaohaojuxiong - prerequisite = { focus = TIX_jiaohaojuxiong } + prerequisite = { + focus = TIX_jiaohaojuxiong + } available = { is_in_faction = yes is_in_faction_with = BFL } cost = 7 - ai_will_do = { factor = 15 } completion_reward = { if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } + limit = { + has_global_flag = MOD_azurlane_sairenzhizai + } BFL = { - country_event = TIX_event.4 - add_ideas = TIX_xetm - } + country_event = TIX_event.4 + add_ideas = TIX_xetm + } add_ideas = TIX_xetm } else_if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } add_ideas = TIX_xetm - BFL = { - add_ideas = TIX_xetm - } + BFL = { + add_ideas = TIX_xetm + } } } } - focus = { id = TIX_qifujuxiong icon = GFX_goal_anti_comintern_pact x = -2 y = 2 relative_position_id = TIX_beifangdejuxiong - prerequisite = { focus = TIX_beifangdejuxiong } - mutually_exclusive = { focus = TIX_jiaohaojuxiong } - + prerequisite = { + focus = TIX_beifangdejuxiong + } + mutually_exclusive = { + focus = TIX_jiaohaojuxiong + } cost = 7 - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } ai_will_do = { factor = 5 modifier = { @@ -5006,7 +5203,9 @@ focus = { x = 0 y = 2 relative_position_id = TIX_qifujuxiong - prerequisite = { focus = TIX_qifujuxiong } + prerequisite = { + focus = TIX_qifujuxiong + } available = { is_puppet = no has_army_manpower = { @@ -5014,7 +5213,9 @@ focus = { } } cost = 7 - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } ai_will_do = { factor = 0 modifier = { @@ -5024,120 +5225,222 @@ focus = { modifier = { num_of_factories > 400 OR = { - YUW = { has_capitulated = yes } - NOT = { country_exists = YUW } + YUW = { + has_capitulated = yes + } + NOT = { + country_exists = YUW + } } add = 8 } } completion_reward = { if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } - add_timed_idea = { idea = TIX_sljh days = 365 } - - if = { - limit = { - is_ai = yes - } - add_timed_idea = { idea = TIX_shuangxianzuozhandepibei days = 80 } - } + limit = { + has_global_flag = MOD_azurlane_sairenzhizai + } + add_timed_idea = { + idea = TIX_sljh + days = 365 + } + if = { + limit = { + is_ai = yes + } + add_timed_idea = { + idea = TIX_shuangxianzuozhandepibei + days = 80 + } + } } else_if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - add_timed_idea = { idea = TIX_sljh days = 365 } - declare_war_on = { target = BFL type = annex_everything } - if = { - limit = { country_exists = MOL } - declare_war_on = { target = MOL type = annex_everything } + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + add_timed_idea = { + idea = TIX_sljh + days = 365 + } + declare_war_on = { + target = BFL + type = annex_everything + } + if = { + limit = { + country_exists = MOL + } + declare_war_on = { + target = MOL + type = annex_everything + } + } + if = { + limit = { + country_exists = FIN + } + declare_war_on = { + target = FIN + type = annex_everything + } + } + if = { + limit = { + country_exists = LAT + } + declare_war_on = { + target = LAT + type = annex_everything + } + } + if = { + limit = { + country_exists = EST + } + declare_war_on = { + target = EST + type = annex_everything + } + } + if = { + limit = { + country_exists = LIT + } + declare_war_on = { + target = LIT + type = annex_everything + } + } + if = { + limit = { + country_exists = UKR + } + declare_war_on = { + target = UKR + type = annex_everything + } + } + if = { + limit = { + country_exists = POL + } + declare_war_on = { + target = POL + type = annex_everything + } + } + if = { + limit = { + country_exists = BLR + } + declare_war_on = { + target = BLR + type = annex_everything + } + } + if = { + limit = { + country_exists = ARM + } + declare_war_on = { + target = ARM + type = annex_everything + } + } + if = { + limit = { + country_exists = TMS + } + declare_war_on = { + target = TMS + type = annex_everything + } + } + if = { + limit = { + country_exists = AZR + } + declare_war_on = { + target = AZR + type = annex_everything + } + } + if = { + limit = { + country_exists = TAJ + } + declare_war_on = { + target = TAJ + type = annex_everything + } + } + if = { + limit = { + country_exists = SMI + } + declare_war_on = { + target = SMI + type = annex_everything + } + } + if = { + limit = { + country_exists = KAR + } + declare_war_on = { + target = KAR + type = annex_everything + } + } + if = { + limit = { + is_ai = yes + } + add_timed_idea = { + idea = TIX_shuangxianzuozhandepibei + days = 80 + } + } } if = { - limit = { country_exists = FIN } - declare_war_on = { target = FIN type = annex_everything } - } - if = { - limit = { country_exists = LAT } - declare_war_on = { target = LAT type = annex_everything } - } - if = { - limit = { country_exists = EST } - declare_war_on = { target = EST type = annex_everything } - } - if = { - limit = { country_exists = LIT } - declare_war_on = { target = LIT type = annex_everything } - } - if = { - limit = { country_exists = UKR } - declare_war_on = { target = UKR type = annex_everything } - } - if = { - limit = { country_exists = POL } - declare_war_on = { target = POL type = annex_everything } - } - if = { - limit = { country_exists = BLR } - declare_war_on = { target = BLR type = annex_everything } - } - if = { - limit = { country_exists = ARM } - declare_war_on = { target = ARM type = annex_everything } - } - if = { - limit = { country_exists = TMS } - declare_war_on = { target = TMS type = annex_everything } - } - if = { - limit = { country_exists = AZR } - declare_war_on = { target = AZR type = annex_everything } - } - if = { - limit = { country_exists = TAJ } - declare_war_on = { target = TAJ type = annex_everything } - } - if = { - limit = { country_exists = SMI } - declare_war_on = { target = SMI type = annex_everything } - } - if = { - limit = { country_exists = KAR } - declare_war_on = { target = KAR type = annex_everything } - } - if = { - limit = { - is_ai = yes - } - add_timed_idea = { idea = TIX_shuangxianzuozhandepibei days = 80 } - } - } - if = { - limit = { - is_ai = yes - BFL = { is_ai = yes } - has_idea = TIX_fkAIbuff - } - BFL = { - add_timed_idea = { idea = BFL_weidadeweiguozhanzheng_ai days = 650 } - } + limit = { + is_ai = yes + BFL = { + is_ai = yes + } + has_idea = TIX_fkAIbuff + } + BFL = { + add_timed_idea = { + idea = BFL_weidadeweiguozhanzheng_ai + days = 650 + } + } } } } - focus = { id = TIX_lueduozhanlingqu icon = GFX_focus_generic_army_tanks2 x = 0 y = 1 relative_position_id = TIX_dierciweiyenazhongcai - prerequisite = { focus = TIX_dierciweiyenazhongcai focus = TIX_duoquyoutian } - mutually_exclusive = { focus = TIX_anfuzhanlingqu } - + prerequisite = { + focus = TIX_dierciweiyenazhongcai + focus = TIX_duoquyoutian + } + mutually_exclusive = { + focus = TIX_anfuzhanlingqu + } cost = 5 - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } ai_will_do = { factor = 9 modifier = { - is_historical_focus_on = yes - add = 100 + is_historical_focus_on = yes + add = 100 } } completion_reward = { @@ -5150,23 +5453,23 @@ focus = { x = 0 y = 1 relative_position_id = TIX_duoquyoutian - prerequisite = { focus = TIX_dierciweiyenazhongcai focus = TIX_duoquyoutian } - mutually_exclusive = { focus = TIX_lueduozhanlingqu } - + prerequisite = { + focus = TIX_dierciweiyenazhongcai + focus = TIX_duoquyoutian + } + mutually_exclusive = { + focus = TIX_lueduozhanlingqu + } cost = 5 - ai_will_do = { factor = 5 modifier = { - modifier = { - is_historical_focus_on = yes - factor = 0 - } + is_historical_focus_on = yes + add = -5 } } completion_reward = { add_ideas = TIX_wsdrqz - } } focus = { @@ -5175,65 +5478,82 @@ focus = { x = 0 y = 2 relative_position_id = TIX_lueduozhanlingqu - prerequisite = { focus = TIX_lueduozhanlingqu focus = TIX_anfuzhanlingqu } - prerequisite = { focus = TIX_kuodafanwei } + prerequisite = { + focus = TIX_lueduozhanlingqu + focus = TIX_anfuzhanlingqu + } + prerequisite = { + focus = TIX_kuodafanwei + } will_lead_to_war_with = SWI available = { is_puppet = no has_government = fascism } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } cost = 5 bypass = { - or = { - not = {country_exists = SWI} - has_war_with = SWI + OR = { + NOT = { + country_exists = SWI + } + has_war_with = SWI } } ai_will_do = { factor = 1 modifier = { - has_war_with = YUW - factor = 50 + has_war_with = YUW + factor = 50 } modifier = { - is_historical_focus_on = yes - factor = 100 + is_historical_focus_on = yes + factor = 100 } } completion_reward = { guojishengyu_down_10 = yes - create_wargoal = { target = SWI type = take_state_focus } + create_wargoal = { + target = SWI + type = take_state_focus + } add_state_core = 845 add_state_core = 3 add_state_core = 151 if = { - limit = { - is_in_faction_with = SAD - } - SAD = { - add_state_core = 846 - add_state_core = 847 - } + limit = { + is_in_faction_with = SAD + } + SAD = { + add_state_core = 846 + add_state_core = 847 + } } } } - focus = { id = TIX_zhenghediguogutu icon = GFX_goal_generic_intelligence_exchange x = 0 y = 2 relative_position_id = TIX_anfuzhanlingqu - prerequisite = { focus = TIX_lueduozhanlingqu focus = TIX_anfuzhanlingqu } - prerequisite = { focus = TIX_kuodafanwei } + prerequisite = { + focus = TIX_lueduozhanlingqu + focus = TIX_anfuzhanlingqu + } + prerequisite = { + focus = TIX_kuodafanwei + } available = { is_puppet = no has_government = fascism } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } cost = 15 - ai_will_do = { factor = 15 } @@ -5248,78 +5568,98 @@ focus = { add_state_core = 85 } } - focus = { id = TIX_kuayuedaxiyang icon = GFX_aflag_BYG x = -2 y = 1 relative_position_id = TIX_zhenghediguogutu - prerequisite = { focus = TIX_shengdanshuxingdong focus = TIX_zhenghediguogutu} + prerequisite = { + focus = TIX_shengdanshuxingdong + focus = TIX_zhenghediguogutu + } available = { - or = { - HUJ = {has_capitulated = yes} - HUJ = {exists = no} - HUJ = {is_puppet_of = TIX} - has_war_with = BYG + OR = { + HUJ = { + has_capitulated = yes + } + HUJ = { + exists = no + } + HUJ = { + is_puppet_of = TIX + } + has_war_with = BYG } } cost = 10 - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } ai_will_do = { factor = 30 } completion_reward = { add_ideas = TIX_kydxy if = { - limit = { - not = {has_war_with = BYG} - } - create_wargoal = { target = BYG type = take_state_focus } + limit = { + NOT = { + has_war_with = BYG + } + } + create_wargoal = { + target = BYG + type = take_state_focus + } } } } - focus = { id = TIX_zujianzongduxiaqu icon = GFX_focus_ger_oppose_hitler x = -1 y = 1 relative_position_id = TIX_libingmoma - prerequisite = { focus = TIX_libingmoma } + prerequisite = { + focus = TIX_libingmoma + } available = { is_puppet = no has_government = fascism } cost = 5 - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } ai_will_do = { factor = 0 modifier = { - date > 1940.1.1 - add = 80 + date > 1940.1.1 + add = 80 } } completion_reward = { custom_effect_tooltip = TIX_zongduxiaqujueyijiesuo } } - - focus = { id = TIX_feixuzhixia icon = GFX_goal_support_fascism x = 1 y = 1 relative_position_id = TIX_libingmoma - prerequisite = { focus = TIX_libingmoma } + prerequisite = { + focus = TIX_libingmoma + } available = { is_puppet = no date > 1941.1.1 has_war = yes } cost = 4 - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } ai_will_do = { factor = 100 } @@ -5333,31 +5673,26 @@ focus = { x = 0 y = 1 relative_position_id = TIX_difangxifang - prerequisite = { focus = TIX_difangxifang } - allow_branch = { + prerequisite = { + focus = TIX_difangxifang + } + allow_branch = { has_global_flag = MOD_azurlane_sairenzhizai } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { add_idea = TIX_bsddjd2 remove_idea = TIX_bsddjd } - BYG = { + BYG = { add_opinion_modifier = { target = TIX modifier = TIX_bisimaidedishi @@ -5375,43 +5710,37 @@ focus = { x = 0 y = 1 relative_position_id = TIX_kuodafanwei_sairen - prerequisite = { focus = TIX_kuodafanwei_sairen } - + prerequisite = { + focus = TIX_kuodafanwei_sairen + } cost = 5 - ai_will_do = { factor = 5 } - - - cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no - - - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_dlzq } } - focus = { + focus = { id = TIX_ziyoujiaoliu icon = GFX_goal_continuous_def_against_influence x = 0 y = 1 - prerequisite = { focus = TIX_yubilanhangxianjiaohao } + prerequisite = { + focus = TIX_yubilanhangxianjiaohao + } relative_position_id = TIX_yubilanhangxianjiaohao cost = 7 allow_branch = { - has_global_flag = MOD_azurlane_sairenzhizai - } - + has_global_flag = MOD_azurlane_sairenzhizai + } ai_will_do = { factor = 9 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = TIX_zydqf @@ -5424,13 +5753,16 @@ focus = { x = 8 y = 1 cost = 10 - prerequisite = { focus = TIX_jinburenshi focus = TIX_shouhuzuihaodeougen } + prerequisite = { + focus = TIX_jinburenshi + focus = TIX_shouhuzuihaodeougen + } relative_position_id = TIX_jinburenshi available = { is_puppet = no OR = { - has_completed_focus = TIX_gonggulingdaodiwei - has_completed_focus = TIX_chongxinqiyongbisimai + has_completed_focus = TIX_gonggulingdaodiwei + has_completed_focus = TIX_chongxinqiyongbisimai } } ai_will_do = { @@ -5438,157 +5770,275 @@ focus = { } completion_reward = { if = { - limit = { - has_completed_focus = TIX_jinburenshi - } - set_rule = { can_create_factions = yes } - add_ideas = TIX_tixfjz - if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - 51 = { - set_demilitarized_zone = no - } - 42 = { - set_demilitarized_zone = no - } - add_named_threat = { threat = 5 name = "进军莱茵兰" } - } - }else = { - create_faction = "赤色中轴" - country_event = az_tianjiang.73 - set_rule = { can_create_factions = yes } - set_rule = { can_send_volunteers = yes } - add_ideas = TIX_tixfjz - set_global_flag = TIX_created_chisezhongzhou - if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - 51 = { - set_demilitarized_zone = no - } - 42 = { - set_demilitarized_zone = no - } - add_named_threat = { threat = 5 name = "进军莱茵兰" } - hidden_effect = { - country_event = { id = az_tianjiang.192 days = 30 } + limit = { + has_completed_focus = TIX_jinburenshi + } + set_rule = { + can_create_factions = yes + } + add_ideas = TIX_tixfjz + if = { + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + 51 = { + set_demilitarized_zone = no + } + 42 = { + set_demilitarized_zone = no + } + add_named_threat = { + threat = 5 + name = "进军莱茵兰" + } } } + else = { + create_faction = "赤色中轴" + country_event = az_tianjiang.73 + set_rule = { + can_create_factions = yes + } + set_rule = { + can_send_volunteers = yes + } + add_ideas = TIX_tixfjz + set_global_flag = TIX_created_chisezhongzhou + if = { + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + 51 = { + set_demilitarized_zone = no + } + 42 = { + set_demilitarized_zone = no + } + add_named_threat = { + threat = 5 + name = "进军莱茵兰" + } + hidden_effect = { + country_event = { + id = az_tianjiang.192 + days = 30 + } + } + } } if = { - limit = { - is_ai = yes - has_idea = TIX_fkAIbuff - } - set_technology = { superior_firepower = 1 } - set_technology = { mechanised_infantry = 1 } - division_template = { - name = "铁血重装甲师" - is_locked = yes - priority = 2 - regiments = { - mechanized = { x = 0 y = 0 } - mechanized = { x = 0 y = 1 } - mechanized = { x = 0 y = 2 } - mechanized = { x = 0 y = 3 } - mechanized = { x = 0 y = 4 } - mechanized = { x = 1 y = 0 } - mechanized = { x = 1 y = 1 } - mechanized = { x = 1 y = 2 } - mechanized = { x = 1 y = 3 } - mechanized = { x = 1 y = 4 } - medium_armor = { x = 2 y = 0 } - medium_armor = { x = 2 y = 1 } - medium_armor = { x = 2 y = 2 } - medium_armor = { x = 2 y = 3 } - medium_armor = { x = 2 y = 4 } - medium_armor = { x = 3 y = 0 } - medium_armor = { x = 3 y = 1 } - medium_armor = { x = 3 y = 2 } - medium_armor = { x = 3 y = 3 } - medium_armor = { x = 3 y = 4 } - medium_armor = { x = 4 y = 0 } + limit = { + is_ai = yes + has_idea = TIX_fkAIbuff + } + set_technology = { + superior_firepower = 1 + } + set_technology = { + mechanised_infantry = 1 + } + division_template = { + name = "铁血重装甲师" + is_locked = yes + priority = 2 + regiments = { + mechanized = { + x = 0 + y = 0 + } + mechanized = { + x = 0 + y = 1 + } + mechanized = { + x = 0 + y = 2 + } + mechanized = { + x = 0 + y = 3 + } + mechanized = { + x = 0 + y = 4 + } + mechanized = { + x = 1 + y = 0 + } + mechanized = { + x = 1 + y = 1 + } + mechanized = { + x = 1 + y = 2 + } + mechanized = { + x = 1 + y = 3 + } + mechanized = { + x = 1 + y = 4 + } + medium_armor = { + x = 2 + y = 0 + } + medium_armor = { + x = 2 + y = 1 + } + medium_armor = { + x = 2 + y = 2 + } + medium_armor = { + x = 2 + y = 3 + } + medium_armor = { + x = 2 + y = 4 + } + medium_armor = { + x = 3 + y = 0 + } + medium_armor = { + x = 3 + y = 1 + } + medium_armor = { + x = 3 + y = 2 + } + medium_armor = { + x = 3 + y = 3 + } + medium_armor = { + x = 3 + y = 4 + } + medium_armor = { + x = 4 + y = 0 + } + } + support = { + armored_car_recon = { + x = 0 + y = 0 + } + artillery = { + x = 0 + y = 1 + } + logistics_company = { + x = 0 + y = 2 + } + medium_flame_tank = { + x = 0 + y = 3 + } + engineer = { + x = 0 + y = 4 + } + } + } + for_loop_effect = { + start = 0 + end = 20 + add = 1 + random_owned_controlled_state = { + limit = { + is_core_of = TIX + } + create_unit = { + division = "name = \"铁血重装甲师\" division_template = \"铁血重装甲师\" start_experience_factor = 0.35 start_equipment_factor = 1" + owner = ROOT + } + } } - support = { - armored_car_recon = { x = 0 y = 0 } - artillery = { x = 0 y = 1 } - logistics_company = { x = 0 y = 2 } - medium_flame_tank = { x = 0 y = 3 } - engineer = { x = 0 y = 4 } - } - } - for_loop_effect = { - start = 0 - end = 20 - add = 1 - random_owned_controlled_state = { - limit = { is_core_of = TIX } + limit = { + is_core_of = TIX + } create_unit = { - division = "name = \"铁血重装甲师\" division_template = \"铁血重装甲师\" start_experience_factor = 0.35 start_equipment_factor = 1" + division = "name = \"女皇禁卫军\" division_template = \"铁血重装甲师\" start_experience_factor = 0.35 start_equipment_factor = 1" owner = ROOT - } + } } - } - random_owned_controlled_state = { - limit = { is_core_of = TIX } + random_owned_controlled_state = { + limit = { + is_core_of = TIX + } create_unit = { division = "name = \"女皇禁卫军\" division_template = \"铁血重装甲师\" start_experience_factor = 0.35 start_equipment_factor = 1" owner = ROOT - } - } - random_owned_controlled_state = { - limit = { is_core_of = TIX } - create_unit = { - division = "name = \"女皇禁卫军\" division_template = \"铁血重装甲师\" start_experience_factor = 0.35 start_equipment_factor = 1" - owner = ROOT - } - } - random_owned_controlled_state = { - limit = { is_core_of = TIX } + } + } + random_owned_controlled_state = { + limit = { + is_core_of = TIX + } create_unit = { division = "name = \"党卫军精锐\" division_template = \"铁血重装甲师\" start_experience_factor = 0.35 start_equipment_factor = 1" owner = ROOT - } - } - random_owned_controlled_state = { - limit = { is_core_of = TIX } + } + } + random_owned_controlled_state = { + limit = { + is_core_of = TIX + } create_unit = { division = "name = \"党卫军精锐\" division_template = \"铁血重装甲师\" start_experience_factor = 0.35 start_equipment_factor = 1" owner = ROOT - } - } - random_owned_controlled_state = { - limit = { is_core_of = TIX } + } + } + random_owned_controlled_state = { + limit = { + is_core_of = TIX + } create_unit = { division = "name = \"女皇禁卫军\" division_template = \"铁血重装甲师\" start_experience_factor = 0.35 start_equipment_factor = 1" owner = ROOT - } + } } } } } - focus = { id = TIX_jingongjieke icon = GFX_goal_generic_major_war x = -2 y = 1 cost = 5 - prerequisite = { focus = TIX_tiexuefanjizhan } + prerequisite = { + focus = TIX_tiexuefanjizhan + } relative_position_id = TIX_tiexuefanjizhan available = { is_puppet = no controls_state = 69 controls_state = 74 - or = { - has_army_manpower = { size > 550000 } - is_ai = yes + OR = { + has_army_manpower = { + size > 550000 + } + is_ai = yes } } bypass = { - not = { country_exists = CZE } + NOT = { + country_exists = CZE + } } - allow_branch = { + allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } ai_will_do = { @@ -5596,35 +6046,49 @@ focus = { } completion_reward = { guojishengyu_down_5 = yes - add_named_threat = { threat = 5 name = "进攻捷克" } - create_wargoal = { target = CZE type = take_state_focus } + add_named_threat = { + threat = 5 + name = "进攻捷克" + } + create_wargoal = { + target = CZE + type = take_state_focus + } ROM = { - country_event = { id = TIX_event.12 days = 1 } + country_event = { + id = TIX_event.12 + days = 1 + } } add_state_core = 9 add_state_core = 75 } } - focus = { id = TIX_zhenghedanmai icon = GFX_goal_generic_position_armies x = 2 y = 1 cost = 2 - prerequisite = { focus = TIX_tiexuefanjizhan } + prerequisite = { + focus = TIX_tiexuefanjizhan + } relative_position_id = TIX_tiexuefanjizhan available = { is_puppet = no - or = { - has_army_manpower = { size > 450000 } - is_ai = yes + OR = { + has_army_manpower = { + size > 450000 + } + is_ai = yes } } bypass = { - not = { country_exists = DEN } + NOT = { + country_exists = DEN + } } - allow_branch = { + allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } ai_will_do = { @@ -5633,33 +6097,38 @@ focus = { completion_reward = { guojishengyu_down_1 = yes DEN = { - country_event = az_tianjiang.1 + country_event = az_tianjiang.1 } every_state = { - limit = { - is_core_of = DEN - not = { state = 101} - } - add_core_of = TIX + limit = { + is_core_of = DEN + NOT = { + state = 101 + } + } + add_core_of = TIX } } } - focus = { id = TIX_qiangpoxiongyali icon = GFX_goal_generic_political_pressure x = 0 y = 1 cost = 2 - prerequisite = { focus = TIX_jingongjieke } + prerequisite = { + focus = TIX_jingongjieke + } relative_position_id = TIX_jingongjieke available = { is_puppet = no } bypass = { - not = { country_exists = HUN } + NOT = { + country_exists = HUN + } } - allow_branch = { + allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } ai_will_do = { @@ -5668,18 +6137,22 @@ focus = { completion_reward = { guojishengyu_down_1 = yes HUN = { - country_event = { id = TIX_event.13 days = 1 } + country_event = { + id = TIX_event.13 + days = 1 + } } } } - focus = { id = TIX_danzehyuanqubaohu icon = GFX_focus_generic_polish_deal x = 0 y = 1 cost = 5 - prerequisite = { focus = TIX_zhenghedanmai } + prerequisite = { + focus = TIX_zhenghedanmai + } relative_position_id = TIX_zhenghedanmai available = { is_puppet = no @@ -5688,7 +6161,7 @@ focus = { bypass = { has_war_with = POL } - allow_branch = { + allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } ai_will_do = { @@ -5697,21 +6170,25 @@ focus = { completion_reward = { guojishengyu_up_3 = yes POL = { - country_event = { id = az_tianjiang.193 days = 3 } + country_event = { + id = az_tianjiang.193 + days = 3 + } } add_state_core = 85 add_state_core = 807 add_state_core = 86 } } - focus = { id = TIX_hebingadl icon = GFX_focus_generic_anti_fascist_diplomacy x = 0 y = 1 cost = 8 - prerequisite = { focus = TIX_tiexuefanjizhan } + prerequisite = { + focus = TIX_tiexuefanjizhan + } relative_position_id = TIX_tiexuefanjizhan available = { is_puppet = no @@ -5719,36 +6196,46 @@ focus = { has_completed_focus = TIX_qiangpoxiongyali } bypass = { - or = { - has_war_with = AUS - not = { country_exists = AUS } + OR = { + has_war_with = AUS + NOT = { + country_exists = AUS + } } } - allow_branch = { + allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } ai_will_do = { factor = 2 modifier = { - date > 1937.10.1 - add = 90 + date > 1937.10.1 + add = 90 } } completion_reward = { guojishengyu_down_10 = yes if = { - limit = { - is_ai = no - } - add_named_threat = { threat = 10 name = "奥地利危机" } - SAD = { country_event = az_tianjiang.145 } - }else = { - add_named_threat = { threat = 10 name = "吞并奥地利" } - AUS = { - country_event = az_tianjiang.2 + limit = { + is_ai = no + } + add_named_threat = { + threat = 10 + name = "奥地利危机" + } + SAD = { + country_event = az_tianjiang.145 + } } + else = { + add_named_threat = { + threat = 10 + name = "吞并奥地利" + } + AUS = { + country_event = az_tianjiang.2 + } } } } - } diff --git a/src/common/national_focus/weixi.txt b/src/common/national_focus/weixi.txt index a7a3d4e..da53f2b 100755 --- a/src/common/national_focus/weixi.txt +++ b/src/common/national_focus/weixi.txt @@ -541,7 +541,7 @@ focus_tree = { available_if_capitulated = yes cost = 5 available = { - or = { + OR = { has_government = communism has_government = fascism } @@ -660,7 +660,7 @@ focus_tree = { relative_position_id = WEX_lingyizhongziyou cost = 5 available = { - not = { has_idea = WEX_xiangtiexuezhifuzhanzhengpeikuan } + NOT = { has_idea = WEX_xiangtiexuezhifuzhanzhengpeikuan } } ai_will_do = { factor = 100 @@ -751,8 +751,8 @@ focus_tree = { available = { is_puppet = no threat > 0.5 - not = { has_war_with = TIX } - not = {is_in_faction_with = TIX} + NOT = { has_war_with = TIX } + NOT = {is_in_faction_with = TIX} } ai_will_do = { factor = 100 diff --git a/src/common/national_focus/yuanwei.txt b/src/common/national_focus/yuanwei.txt index eae81da..9b69a2f 100755 --- a/src/common/national_focus/yuanwei.txt +++ b/src/common/national_focus/yuanwei.txt @@ -5,30 +5,44 @@ focus_tree = { shared_focus = AL_junshi country = { factor = 0 - modifier = { add = 10 original_tag = YUW } } - default = no - continuous_focus_position = { x = 1100 y = 1700 } + continuous_focus_position = { + x = 1100 + y = 1700 + } focus = { id = YUW_yifengmixin icon = GFX_focus_luoxiya2 x = -10 y = 0 cost = 1 - mutually_exclusive = { focus = YUW_zhengfugaige focus = YUW_zhidugeming focus = YUW_jiuguoxingdong focus = YUW_tiqianxuanju focus = YUW_shenshengshiming focus = YUW_jiaojuzhe } + mutually_exclusive = { + focus = YUW_zhengfugaige + focus = YUW_zhidugeming + focus = YUW_jiuguoxingdong + focus = YUW_tiqianxuanju + focus = YUW_shenshengshiming + focus = YUW_jiaojuzhe + } relative_position_id = YUW_zhengfugaige available = { - not = { has_government = fascism} - not = { has_government = neutrality} - custom_trigger_tooltip = { - tooltip = "你还没有经历轮回" - not = {has_idea = YUW_geming} - } + NOT = { + has_government = fascism + } + NOT = { + has_government = neutrality + } + custom_trigger_tooltip = { + tooltip = "你还没有经历轮回" + NOT = { + has_idea = YUW_geming + } + } } ai_will_do = { factor = 20 @@ -36,55 +50,100 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { #custom_effect_tooltip = "YUW_tips5" - country_event = {id = YUW_event.9} + country_event = { + id = YUW_event.9 + } } } - focus = { id = YUW_womendengbujile icon = GFX_goal_generic_CAS x = -1 y = 1 cost = 5 - mutually_exclusive = { focus = YUW_xianshizhengzhi } + mutually_exclusive = { + focus = YUW_xianshizhengzhi + } relative_position_id = YUW_yifengmixin - prerequisite = { focus = YUW_yifengmixin } + prerequisite = { + focus = YUW_yifengmixin + } available = { - custom_trigger_tooltip = { - tooltip = "黎塞留已经做出了她的决定" - has_idea = YUW_geming - } + custom_trigger_tooltip = { + tooltip = "黎塞留已经做出了她的决定" + has_idea = YUW_geming + } } ai_will_do = { factor = 20 } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } completion_reward = { hidden_effect = { - start_civil_war = { - ruling_party = communism - ideology = fascism - size = 0.5 - only_own_territory = no - if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - capital = 26 - states = { - 21 32 22 31 25 20 33 735 1 806 19 23 - } - } - if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } - capital = 114 - } - keep_unit_leaders = {02001 6194 02006 02012 02011 02010 02008 02014 } - } - add_popularity = { ideology = democratic popularity = -0.2 } - add_popularity = { ideology = fascism popularity = -1 } - add_popularity = { ideology = neutrality popularity = -0.2 } - add_popularity = { ideology = communism popularity = 0.5 } - load_focus_tree = yuanwei_c_focus - country_event = { id =YUW_event.14} + start_civil_war = { + ruling_party = communism + ideology = fascism + size = 0.5 + only_own_territory = no + if = { + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + capital = 26 + states = { + 21 + 32 + 22 + 31 + 25 + 20 + 33 + 735 + 1 + 806 + 19 + 23 + } + } + if = { + limit = { + has_global_flag = MOD_azurlane_sairenzhizai + } + capital = 114 + } + keep_unit_leaders = { + 2001 + 6194 + 2006 + 2012 + 2011 + 2010 + 2008 + 2014 + } + } + add_popularity = { + ideology = democratic + popularity = -0.2 + } + add_popularity = { + ideology = fascism + popularity = -1 + } + add_popularity = { + ideology = neutrality + popularity = -0.2 + } + add_popularity = { + ideology = communism + popularity = 0.5 + } + load_focus_tree = yuanwei_c_focus + country_event = { + id = YUW_event.14 + } } custom_effect_tooltip = "YUW_tips3" set_variable = { @@ -97,46 +156,49 @@ focus_tree = { } set_country_flag = YUW_dangerclear BFL = { - add_ai_strategy = { - type = befriend - id = YUW - value = 80 - } - add_ai_strategy = { - type = alliance - id = "YUW" - value = 50 - } + add_ai_strategy = { + type = befriend + id = YUW + value = 80 + } + add_ai_strategy = { + type = alliance + id = "YUW" + value = 50 + } } YUW = { - add_ai_strategy = { - type = befriend - id = BFL - value = 50 - } - add_ai_strategy = { - type = alliance - id = "BFL" - value = 30 - } + add_ai_strategy = { + type = befriend + id = BFL + value = 50 + } + add_ai_strategy = { + type = alliance + id = "BFL" + value = 30 + } } } } - focus = { id = YUW_xianshizhengzhi icon = GFX_goal_generic_war_with_comintern x = 1 y = 1 cost = 5 - mutually_exclusive = { focus = YUW_womendengbujile } - relative_position_id = YUW_yifengmixin - prerequisite = { focus = YUW_yifengmixin } - available = { - custom_trigger_tooltip = { - tooltip = "黎塞留已经做出了她的决定" - has_idea = YUW_biange + mutually_exclusive = { + focus = YUW_womendengbujile } + relative_position_id = YUW_yifengmixin + prerequisite = { + focus = YUW_yifengmixin + } + available = { + custom_trigger_tooltip = { + tooltip = "黎塞留已经做出了她的决定" + has_idea = YUW_biange + } } ai_will_do = { factor = 40 @@ -145,32 +207,31 @@ focus_tree = { completion_reward = { YUW_hldzf_dengji = yes BFL = { - add_ai_strategy = { - type = befriend - id = YUW - value = 70 - } - add_ai_strategy = { - type = alliance - id = "YUW" - value = 50 - } + add_ai_strategy = { + type = befriend + id = YUW + value = 70 + } + add_ai_strategy = { + type = alliance + id = "YUW" + value = 50 + } } YUW = { - add_ai_strategy = { - type = befriend - id = BFL - value = 50 - } - add_ai_strategy = { - type = alliance - id = "BFL" - value = 30 - } + add_ai_strategy = { + type = befriend + id = BFL + value = 50 + } + add_ai_strategy = { + type = alliance + id = "BFL" + value = 30 + } } } } - focus = { id = YUW_zengqianghongsexuanchuan icon = GFX_focus_por_workers_of_iberia @@ -178,7 +239,9 @@ focus_tree = { y = 1 cost = 4 relative_position_id = YUW_xianshizhengzhi - prerequisite = { focus = YUW_xianshizhengzhi } + prerequisite = { + focus = YUW_xianshizhengzhi + } available = { has_completed_focus = YUW_jienagcdr } @@ -191,7 +254,6 @@ focus_tree = { add_political_power = 50 } } - focus = { id = YUW_bizui icon = GFX_goal_continuous_suppression @@ -199,8 +261,9 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_xianshizhengzhi - prerequisite = { focus = YUW_xianshizhengzhi } - + prerequisite = { + focus = YUW_xianshizhengzhi + } ai_will_do = { factor = 100 } @@ -208,10 +271,22 @@ focus_tree = { completion_reward = { remove_ideas = YUW_fblx YUW_hldzf_dengji = yes - add_popularity = { ideology = democratic popularity = 0.1 } - add_popularity = { ideology = fascism popularity = -0.15 } - add_popularity = { ideology = neutrality popularity = -0.08 } - add_popularity = { ideology = communism popularity = 0.05 } + add_popularity = { + ideology = democratic + popularity = 0.1 + } + add_popularity = { + ideology = fascism + popularity = -0.15 + } + add_popularity = { + ideology = neutrality + popularity = -0.08 + } + add_popularity = { + ideology = communism + popularity = 0.05 + } set_variable = { var = YUW_ziyou value = 0 @@ -223,7 +298,6 @@ focus_tree = { set_country_flag = YUW_dangerclear } } - focus = { id = YUW_qiangpojueze icon = GFX_goal_generic_forceful_treaty @@ -231,67 +305,95 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_bizui - prerequisite = { focus = YUW_bizui } - prerequisite = { focus = YUW_zengqianghongsexuanchuan } - + prerequisite = { + focus = YUW_bizui + } + prerequisite = { + focus = YUW_zengqianghongsexuanchuan + } ai_will_do = { factor = 100 } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } completion_reward = { - country_event = { id = YUW_event.17 } + country_event = { + id = YUW_event.17 + } hidden_effect = { - load_focus_tree = yuanwei_c_focus + load_focus_tree = yuanwei_c_focus } } } - focus = { id = YUW_zhengfugaige icon = GFX_focus_focus_fra_national_resistance_council x = 23 y = 0 cost = 5 - mutually_exclusive = { focus = YUW_zhidugeming focus = YUW_yifengmixin focus = YUW_jiuguoxingdong focus = YUW_tiqianxuanju focus = YUW_shenshengshiming focus = YUW_jiaojuzhe } + mutually_exclusive = { + focus = YUW_zhidugeming + focus = YUW_yifengmixin + focus = YUW_jiuguoxingdong + focus = YUW_tiqianxuanju + focus = YUW_shenshengshiming + focus = YUW_jiaojuzhe + } ai_will_do = { factor = 20 } available = { - not = { has_government = fascism} - not = { has_government = communism} + NOT = { + has_government = fascism + } + NOT = { + has_government = communism + } } bypass = { - not = { has_idea = YUW_fblx } - not = { has_government = fascism} + NOT = { + has_idea = YUW_fblx + } + NOT = { + has_government = fascism + } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 #custom_effect_tooltip = YUN_tips1 } } - focus = { id = YUW_zhidugeming icon = GFX_focus_ger_reichskommisariats x = 10 y = 0 cost = 5 - mutually_exclusive = { focus = YUW_zhengfugaige focus = YUW_yifengmixin focus = YUW_jiuguoxingdong focus = YUW_tiqianxuanju focus = YUW_shenshengshiming focus = YUW_jiaojuzhe } + mutually_exclusive = { + focus = YUW_zhengfugaige + focus = YUW_yifengmixin + focus = YUW_jiuguoxingdong + focus = YUW_tiqianxuanju + focus = YUW_shenshengshiming + focus = YUW_jiaojuzhe + } relative_position_id = YUW_zhengfugaige available = { - not = {has_government = communism} + NOT = { + has_government = communism + } } bypass = { - has_civil_war = yes - has_government = fascism + has_civil_war = yes + has_government = fascism } ai_will_do = { factor = 20 modifier = { - has_government = fascism - add = 100 + has_government = fascism + add = 100 } } #search_filters = { FOCUS_FILTER_STABILITY } @@ -300,33 +402,47 @@ focus_tree = { add_war_support = 0.1 } } - focus = { id = YUW_rangbaerdemingling icon = GFX_focus_rangbaer x = -2 y = 1 cost = 10 - prerequisite = { focus = YUW_zhidugeming } - mutually_exclusive = { focus = YUW_yuanweishengkaidejijie focus = YUW_tuanjieweixixingdong } + prerequisite = { + focus = YUW_zhidugeming + } + mutually_exclusive = { + focus = YUW_yuanweishengkaidejijie + focus = YUW_tuanjieweixixingdong + } relative_position_id = YUW_zhidugeming - bypass = { - has_government = fascism - has_civil_war = yes + has_government = fascism + has_civil_war = yes } ai_will_do = { factor = 10 } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } completion_reward = { set_politics = { ruling_party = fascism elections_allowed = no } - add_popularity = { ideology = neutrality popularity = 0.1 } - add_popularity = { ideology = fascism popularity = 0.2 } - add_popularity = { ideology = democratic popularity = 0.1 } + add_popularity = { + ideology = neutrality + popularity = 0.1 + } + add_popularity = { + ideology = fascism + popularity = 0.2 + } + add_popularity = { + ideology = democratic + popularity = 0.1 + } add_political_power = 100 add_war_support = 0.2 custom_effect_tooltip = yuw_ziyoufennujia2 @@ -336,19 +452,19 @@ focus_tree = { } } } - focus = { id = YUW_qinzishangzhen icon = GFX_focus_zhichirangbaer x = 0 y = 1 cost = 8 - prerequisite = { focus = YUW_rangbaerdemingling } + prerequisite = { + focus = YUW_rangbaerdemingling + } relative_position_id = YUW_rangbaerdemingling - bypass = { - has_government = fascism - has_civil_war = yes + has_government = fascism + has_civil_war = yes } ai_will_do = { factor = 60 @@ -364,21 +480,22 @@ focus_tree = { } } } - focus = { id = YUW_yulisailiuhejie icon = GFX_focus_lisailiu x = 0 y = 1 cost = 5 - prerequisite = { focus = YUW_qinzishangzhen } + prerequisite = { + focus = YUW_qinzishangzhen + } relative_position_id = YUW_qinzishangzhen available = { has_idea = YUW_wddjj } bypass = { - has_government = fascism - has_civil_war = yes + has_government = fascism + has_civil_war = yes } ai_will_do = { factor = 60 @@ -386,8 +503,14 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.1 - add_popularity = { ideology = fascism popularity = 0.2 } - add_popularity = { ideology = democratic popularity = 0.1 } + add_popularity = { + ideology = fascism + popularity = 0.2 + } + add_popularity = { + ideology = democratic + popularity = 0.1 + } YUW_hldzf_dengji = 1 custom_effect_tooltip = yuw_shuangfangfennujiang add_to_variable = { @@ -400,19 +523,19 @@ focus_tree = { } } } - focus = { id = YUW_jieguanguojia icon = GFX_focus_fra_milice x = 0 y = 1 cost = 8 - prerequisite = { focus = YUW_yulisailiuhejie } + prerequisite = { + focus = YUW_yulisailiuhejie + } relative_position_id = YUW_yulisailiuhejie - bypass = { - has_government = fascism - has_civil_war = yes + has_government = fascism + has_civil_war = yes } ai_will_do = { factor = 60 @@ -433,55 +556,66 @@ focus_tree = { } } } - focus = { id = YUW_tuanjieweixixingdong icon = GFX_focus_dunkeerke x = 0 y = 1 cost = 15 - prerequisite = { focus = YUW_zhidugeming } - mutually_exclusive = { focus = YUW_yuanweishengkaidejijie focus = YUW_rangbaerdemingling } + prerequisite = { + focus = YUW_zhidugeming + } + mutually_exclusive = { + focus = YUW_yuanweishengkaidejijie + focus = YUW_rangbaerdemingling + } relative_position_id = YUW_zhidugeming - ai_will_do = { factor = 90 } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } completion_reward = { add_stability = 0.1 add_war_support = -0.1 - add_popularity = { ideology = neutrality popularity = -0.1 } + add_popularity = { + ideology = neutrality + popularity = -0.1 + } YUW_dunkerque = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = fascism_ideology - traits = { - tdybp - } - } - promote_leader = yes - } + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = fascism_ideology + traits = { + tdybp + } + } + promote_leader = yes + } } add_ideas = YUW_kdzb YUW_hldzf_dengji = yes } } - focus = { id = YUW_qiangpozibenjiajuankuan icon = GFX_focus_mex_privatisation x = 0 y = 1 cost = 15 - prerequisite = { focus = YUW_tuanjieweixixingdong } + prerequisite = { + focus = YUW_tuanjieweixixingdong + } relative_position_id = YUW_tuanjieweixixingdong available = { has_idea = yuw_jjbk } bypass = { - not = {has_idea = yuw_jjbk} + NOT = { + has_idea = yuw_jjbk + } } ai_will_do = { factor = 100 @@ -491,13 +625,25 @@ focus_tree = { add_stability = -0.1 add_war_support = 0.2 swap_ideas = { - remove_idea = YUW_jjbk - add_idea = YUW_jjhmhf + remove_idea = YUW_jjbk + add_idea = YUW_jjhmhf + } + add_popularity = { + ideology = fascism + popularity = 0.05 + } + add_popularity = { + ideology = neutrality + popularity = 0.05 + } + add_popularity = { + ideology = communism + popularity = -0.1 + } + add_popularity = { + ideology = democratic + popularity = 0.2 } - add_popularity = { ideology = fascism popularity = 0.05 } - add_popularity = { ideology = neutrality popularity = 0.05 } - add_popularity = { ideology = communism popularity = -0.1 } - add_popularity = { ideology = democratic popularity = 0.2 } custom_effect_tooltip = yuw_ziyoufennujia2 add_to_variable = { var = yuw_ziyou @@ -505,17 +651,16 @@ focus_tree = { } } } - focus = { id = YUW_lianheqilai icon = GFX_fflag_YUW x = 0 y = 1 cost = 15 - prerequisite = { focus = YUW_qiangpozibenjiajuankuan } + prerequisite = { + focus = YUW_qiangpozibenjiajuankuan + } relative_position_id = YUW_qiangpozibenjiajuankuan - - ai_will_do = { factor = 100 } @@ -536,39 +681,48 @@ focus_tree = { } } } - focus = { id = YUW_guominjuexing icon = GFX_focus_qimiaomaotou x = 0 y = 1 cost = 15 - prerequisite = { focus = YUW_lianheqilai } + prerequisite = { + focus = YUW_lianheqilai + } relative_position_id = YUW_lianheqilai available = { has_idea = YUW_jjhmhf } bypass = { - not = {has_idea = YUW_jjhmhf} + NOT = { + has_idea = YUW_jjhmhf + } } ai_will_do = { factor = 100 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - country_event = { id =YUW_event.24} + country_event = { + id = YUW_event.24 + } YUW_hldzf_dengji = yes } } - focus = { id = YUW_yuanweishengkaidejijie icon = GFX_focus_zhende x = 2 y = 1 cost = 10 - prerequisite = { focus = YUW_zhidugeming } - mutually_exclusive = { focus = YUW_tuanjieweixixingdong focus = YUW_rangbaerdemingling } + prerequisite = { + focus = YUW_zhidugeming + } + mutually_exclusive = { + focus = YUW_tuanjieweixixingdong + focus = YUW_rangbaerdemingling + } relative_position_id = YUW_zhidugeming available = { has_civil_war = no @@ -576,63 +730,78 @@ focus_tree = { ai_will_do = { factor = 40 } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } completion_reward = { add_stability = 0.2 - add_popularity = { ideology = fascism popularity = -0.2 } + add_popularity = { + ideology = fascism + popularity = -0.2 + } YUW_shengnvzhende = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = fascism_ideology - traits = { - snddg - } - } - promote_leader = yes - } + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = fascism_ideology + traits = { + snddg + } + } + promote_leader = yes + } } YUW_hldzf_dengji = yes } } - focus = { id = YUW_gulijuankuan icon = GFX_focus_fra_devalue_the_franc x = 0 y = 1 cost = 10 - prerequisite = { focus = YUW_yuanweishengkaidejijie } + prerequisite = { + focus = YUW_yuanweishengkaidejijie + } relative_position_id = YUW_yuanweishengkaidejijie available = { has_idea = yuw_jjbk } bypass = { - not = {has_idea = yuw_jjbk} + NOT = { + has_idea = yuw_jjbk + } } ai_will_do = { factor = 100 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - country_event = { id = YUW_event.25} + country_event = { + id = YUW_event.25 + } add_stability = 0.2 add_war_support = 0.2 - add_popularity = { ideology = democratic popularity = -0.1 } - add_popularity = { ideology = communism popularity = 0.1 } + add_popularity = { + ideology = democratic + popularity = -0.1 + } + add_popularity = { + ideology = communism + popularity = 0.1 + } } } - focus = { id = YUW_shangdizuguoyuzhende icon = GFX_focus_focus_fra_orleans_restoration x = 0 y = 1 cost = 10 - prerequisite = { focus = YUW_gulijuankuan } + prerequisite = { + focus = YUW_gulijuankuan + } relative_position_id = YUW_gulijuankuan - - ai_will_do = { factor = 100 } @@ -640,42 +809,49 @@ focus_tree = { completion_reward = { add_stability = 0.2 add_war_support = 0.2 - add_popularity = { ideology = neutrality popularity = 0.1 } + add_popularity = { + ideology = neutrality + popularity = 0.1 + } YUW_hldzf_dengji = yes remove_ideas = YUW_jjhmhf } } - focus = { id = YUW_chuantongzhuyidebaquan icon = GFX_focus_focus_fra_third_empire x = 0 y = 1 cost = 10 - prerequisite = { focus = YUW_shangdizuguoyuzhende } + prerequisite = { + focus = YUW_shangdizuguoyuzhende + } relative_position_id = YUW_shangdizuguoyuzhende - - ai_will_do = { factor = 100 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 150 - add_popularity = { ideology = neutrality popularity = 0.1 } + add_popularity = { + ideology = neutrality + popularity = 0.1 + } YUW_hldzf_dengji = yes } } - focus = { id = YUW_buliuxuedeneizhan icon = GFX_aflag_YUW x = 0 y = 1 cost = 10 - prerequisite = { focus = YUW_guominjuexing focus = YUW_chuantongzhuyidebaquan focus = YUW_jieguanguojia} + prerequisite = { + focus = YUW_guominjuexing + focus = YUW_chuantongzhuyidebaquan + focus = YUW_jieguanguojia + } relative_position_id = YUW_guominjuexing - bypass = { has_completed_focus = YUW_rangbaerdemingling } @@ -685,30 +861,40 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { - has_completed_focus = YUW_yuanweishengkaidejijie + limit = { + has_completed_focus = YUW_yuanweishengkaidejijie + } + set_politics = { + ruling_party = neutrality + elections_allowed = no + } + add_popularity = { + ideology = neutrality + popularity = 0.5 + } + add_stability = 0.3 } - set_politics = { - ruling_party = neutrality - elections_allowed = no - } - add_popularity = { ideology = neutrality popularity = 0.5 } - add_stability = 0.3 - - }else = { - set_politics = { - ruling_party = fascism - elections_allowed = no - } - add_popularity = { ideology = fascism popularity = 0.5 } - add_stability = 0.2 + else = { + set_politics = { + ruling_party = fascism + elections_allowed = no + } + add_popularity = { + ideology = fascism + popularity = 0.5 + } + add_stability = 0.2 } custom_effect_tooltip = "这个国策将移除分崩离析决议和民族精神。" YUW_hldzf_dengji = yes set_country_flag = YUW_dangerclear add_ideas = extensive_conscription hidden_effect = { - remove_ideas = { YUW_fblx YUW_fblx_lisailiu YUW_fblx_rangbaer } + remove_ideas = { + YUW_fblx + YUW_fblx_lisailiu + YUW_fblx_rangbaer + } } set_variable = { var = YUW_ziyou @@ -720,7 +906,6 @@ focus_tree = { } } } - focus = { id = YUW_yuanweideziranbianjie icon = GFX_focus_focus_fra_border @@ -728,33 +913,36 @@ focus_tree = { y = 0 cost = 5 relative_position_id = YUW_chongxinshenshiwaijiaozhengce - mutually_exclusive = { focus = YUW_jiaruchisezhongzhou } - + mutually_exclusive = { + focus = YUW_jiaruchisezhongzhou + } available = { is_puppet = no - or = { - has_completed_focus = YUW_buliuxuedeneizhan - has_completed_focus = YUW_yuanweikuozhangzhuyi + OR = { + has_completed_focus = YUW_buliuxuedeneizhan + has_completed_focus = YUW_yuanweikuozhangzhuyi } - or = { - has_government = fascism - has_government = neutrality - has_government = democratic + OR = { + has_government = fascism + has_government = neutrality + has_government = democratic } } - ai_will_do = { factor = 80 } - search_filters = { FOCUS_FILTER_ANNEXATION } + search_filters = { + FOCUS_FILTER_ANNEXATION + } completion_reward = { guojishengyu_down_5 = yes - set_rule = { can_create_factions = yes } + set_rule = { + can_create_factions = yes + } add_ideas = yuw_fczh add_war_support = 0.2 } } - focus = { id = YUW_jinjunjiatailuoniya icon = GFX_focus_spr_crush_the_revolution @@ -762,22 +950,25 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_yuanweideziranbianjie - prerequisite = { focus = YUW_yuanweideziranbianjie focus = YUW_jiaruchisezhongzhou} + prerequisite = { + focus = YUW_yuanweideziranbianjie + focus = YUW_jiaruchisezhongzhou + } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic } has_global_flag = spanish_civil_war } bypass = { - or = { - has_war_with = SPR - has_war_with = SPA + OR = { + has_war_with = SPR + has_war_with = SPA } } ai_will_do = { @@ -786,11 +977,13 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes - country_event = { id = YUW_event.26 days = 1} + country_event = { + id = YUW_event.26 + days = 1 + } add_ideas = SPR_seized_gold_reserves } } - focus = { id = YUW_quebaohouhuayuananquan icon = GFX_focus_focus_fra_intervention_spain @@ -798,19 +991,21 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_jinjunjiatailuoniya - prerequisite = { focus = YUW_jinjunjiatailuoniya } + prerequisite = { + focus = YUW_jinjunjiatailuoniya + } available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic } has_global_flag = scw_over } bypass = { - or = { - has_war_with = SPR - has_war_with = SPA + OR = { + has_war_with = SPR + has_war_with = SPA } } ai_will_do = { @@ -820,15 +1015,17 @@ focus_tree = { completion_reward = { guojishengyu_down_3 = yes every_country = { - limit = { - original_tag = SPR - owns_state = 41 - } - country_event = { id = YUW_event.27 days = 1} + limit = { + original_tag = SPR + owns_state = 41 + } + country_event = { + id = YUW_event.27 + days = 1 + } } } } - focus = { id = YUW_xiaomieputaoya icon = GFX_focus_por_portuguese_legion @@ -836,13 +1033,15 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_quebaohouhuayuananquan - prerequisite = { focus = YUW_quebaohouhuayuananquan } + prerequisite = { + focus = YUW_quebaohouhuayuananquan + } will_lead_to_war_with = POR available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic } country_exists = POR } @@ -855,10 +1054,12 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_5 = yes - declare_war_on = { target = POR type = annex_everything } + declare_war_on = { + target = POR + type = annex_everything + } } } - focus = { id = YUW_suoqufashuwalong icon = GFX_goal_generic_political_pressure @@ -866,24 +1067,27 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_yuanweideziranbianjie - prerequisite = { focus = YUW_yuanweideziranbianjie focus = YUW_jiaruchisezhongzhou} + prerequisite = { + focus = YUW_yuanweideziranbianjie + focus = YUW_jiaruchisezhongzhou + } will_lead_to_war_with = BEL allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic } } bypass = { - or = { - has_war_with = HUJ - has_war_with = HOL - has_war_with = BEL - has_war_with = LUX + OR = { + has_war_with = HUJ + has_war_with = HOL + has_war_with = BEL + has_war_with = LUX } } ai_will_do = { @@ -892,14 +1096,19 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes - add_named_threat = { threat = 5 name = "索取法属瓦隆" } + add_named_threat = { + threat = 5 + name = "索取法属瓦隆" + } add_state_claim = 34 HUJ = { - country_event = { id = YUW_event.28 days = 1} + country_event = { + id = YUW_event.28 + days = 1 + } } } } - focus = { id = YUW_diyiciboerduohuiyi icon = GFX_goal_generic_military_deal @@ -907,25 +1116,31 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_suoqufashuwalong - prerequisite = { focus = YUW_suoqufashuwalong } + prerequisite = { + focus = YUW_suoqufashuwalong + } available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic + } + NOT = { + has_war_with = TIX } - not = {has_war_with = TIX} TIX = { - not = {is_in_faction_with = HUJ} + NOT = { + is_in_faction_with = HUJ + } } } bypass = { - or = { - has_country_flag = huangjiajieru_yuw - has_war_with = TIX - has_war_with = HOL - has_war_with = BEL - has_war_with = LUX + OR = { + has_country_flag = huangjiajieru_yuw + has_war_with = TIX + has_war_with = HOL + has_war_with = BEL + has_war_with = LUX } } ai_will_do = { @@ -934,11 +1149,13 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TIX = { - country_event = { id = YUW_event.31 days = 1} + country_event = { + id = YUW_event.31 + days = 1 + } } } } - focus = { id = YUW_didisanguodemingyun icon = GFX_goal_generic_territory_or_war @@ -946,24 +1163,26 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_diyiciboerduohuiyi - prerequisite = { focus = YUW_diyiciboerduohuiyi } + prerequisite = { + focus = YUW_diyiciboerduohuiyi + } will_lead_to_war_with = BEL will_lead_to_war_with = LUX will_lead_to_war_with = HOL available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic } } bypass = { - or = { - has_country_flag = huangjiajieru_yuw - has_war_with = TIX - has_war_with = HOL - has_war_with = BEL - has_war_with = LUX + OR = { + has_country_flag = huangjiajieru_yuw + has_war_with = TIX + has_war_with = HOL + has_war_with = BEL + has_war_with = LUX } } ai_will_do = { @@ -972,11 +1191,16 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_5 = yes - add_named_threat = { threat = 10 name = "弟弟三国的命运" } - country_event = { id = YUW_event.33 days = 1} + add_named_threat = { + threat = 10 + name = "弟弟三国的命运" + } + country_event = { + id = YUW_event.33 + days = 1 + } } } - focus = { id = YUW_guafenruishi icon = GFX_focus_attack_switzerland @@ -984,23 +1208,30 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_jiaruchisezhongzhou - prerequisite = { focus = YUW_yuanweideziranbianjie focus = YUW_jiaruchisezhongzhou} + prerequisite = { + focus = YUW_yuanweideziranbianjie + focus = YUW_jiaruchisezhongzhou + } will_lead_to_war_with = SWI allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic } } bypass = { - or = { - has_war_with = TIX - not = {country_exists = TIX} - not = {country_exists = SWI} + OR = { + has_war_with = TIX + NOT = { + country_exists = TIX + } + NOT = { + country_exists = SWI + } } } ai_will_do = { @@ -1009,13 +1240,18 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_10 = yes - add_named_threat = { threat = 5 name = "瓜分瑞士" } + add_named_threat = { + threat = 5 + name = "瓜分瑞士" + } SAD = { - country_event = { id = YUW_event.39 days = 1} + country_event = { + id = YUW_event.39 + days = 1 + } } } } - focus = { id = YUW_shentouhuangjiazhimindi icon = GFX_focus_eng_bring_the_dominions_back_into_the_fold @@ -1023,15 +1259,16 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_guafenruishi - prerequisite = { focus = YUW_guafenruishi} + prerequisite = { + focus = YUW_guafenruishi + } available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic } } - ai_will_do = { factor = 80 } @@ -1041,7 +1278,6 @@ focus_tree = { add_political_power = -100 } } - focus = { id = YUW_dierciboerduohuiyi icon = GFX_goal_tripartite_pact @@ -1049,22 +1285,28 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_shentouhuangjiazhimindi - prerequisite = { focus = YUW_shentouhuangjiazhimindi} + prerequisite = { + focus = YUW_shentouhuangjiazhimindi + } available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic } has_completed_focus = YUW_diyiciboerduohuiyi } bypass = { - or = { - not = {country_exists = SAD} - not = {country_exists = HUJ} - has_war_with = HUJ - has_war_with = SAD - is_in_faction_with = HUJ + OR = { + NOT = { + country_exists = SAD + } + NOT = { + country_exists = HUJ + } + has_war_with = HUJ + has_war_with = SAD + is_in_faction_with = HUJ } } ai_will_do = { @@ -1075,11 +1317,13 @@ focus_tree = { guojishengyu_down_3 = yes add_war_support = 0.2 SAD = { - country_event = { id = YUW_event.40 days = 1} + country_event = { + id = YUW_event.40 + days = 1 + } } } } - focus = { id = YUW_zaiyazhoudeliyi icon = GFX_focus_generic_balkans_focus @@ -1087,19 +1331,24 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_jiaruchisezhongzhou - prerequisite = { focus = YUW_yuanweideziranbianjie focus = YUW_jiaruchisezhongzhou} + prerequisite = { + focus = YUW_yuanweideziranbianjie + focus = YUW_jiaruchisezhongzhou + } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic } } bypass = { - not = {country_exists = SIA} + NOT = { + country_exists = SIA + } } ai_will_do = { factor = 50 @@ -1108,12 +1357,13 @@ focus_tree = { completion_reward = { guojishengyu_down_1 = yes SIA = { - country_event = { id = YUW_event.27 days = 1} + country_event = { + id = YUW_event.27 + days = 1 + } } - } } - focus = { id = YUW_zhiyuandonghuang icon = GFX_focus_generic_royal_wedding @@ -1121,19 +1371,26 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_zaiyazhoudeliyi - prerequisite = { focus = YUW_zaiyazhoudeliyi} + prerequisite = { + focus = YUW_zaiyazhoudeliyi + } available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic + } + NOT = { + has_war_with = DOH + } + DOH = { + has_war_with = CHY } - not = {has_war_with = DOH} - DOH = {has_war_with = CHY} - } bypass = { - not = {country_exists = DOH} + NOT = { + country_exists = DOH + } } ai_will_do = { factor = 50 @@ -1142,54 +1399,62 @@ focus_tree = { completion_reward = { guojishengyu_up_1 = yes DOH = { - add_ai_strategy = { - type = befriend - id = YUW - value = 200 - } - add_ai_strategy = { - type = alliance - id = "YUW" - value = 200 - } + add_ai_strategy = { + type = befriend + id = YUW + value = 200 + } + add_ai_strategy = { + type = alliance + id = "YUW" + value = 200 + } } YUW = { - add_ai_strategy = { - type = befriend - id = DOH - value = 20 - } - add_ai_strategy = { - type = alliance - id = "DOH" - value = 100 - } - add_ai_strategy = { - type = send_volunteers_desire #志愿军 - id = "DOH" - value = 3000 - } - add_ai_strategy = { - type = antagonize - id = "CHY" - value = 300 - } + add_ai_strategy = { + type = befriend + id = DOH + value = 20 + } + add_ai_strategy = { + type = alliance + id = "DOH" + value = 100 + } + add_ai_strategy = { + type = send_volunteers_desire #志愿军 + id = "DOH" + value = 3000 + } + add_ai_strategy = { + type = antagonize + id = "CHY" + value = 300 + } } CHY = { - add_ai_strategy = { - type = antagonize - id = "YUW" - value = 500 + add_ai_strategy = { + type = antagonize + id = "YUW" + value = 500 + } } + add_opinion_modifier = { + target = DOH + modifier = YUW_gsgx + } + reverse_add_opinion_modifier = { + target = DOH + modifier = YUW_gsgx } - add_opinion_modifier = { target = DOH modifier = YUW_gsgx} - reverse_add_opinion_modifier = { target = DOH modifier = YUW_gsgx } DOH = { - country_event = { id = YUW_event.37 days = 1} + country_event = { + id = YUW_event.37 + days = 1 + } } } } - focus = { id = YUW_dongxixieyue icon = GFX_fflag_DOH @@ -1197,32 +1462,50 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_zhiyuandonghuang - prerequisite = { focus = YUW_zhiyuandonghuang} + prerequisite = { + focus = YUW_zhiyuandonghuang + } available = { is_puppet = no - not = {is_in_faction_with = TIX} - not = {has_war_with = DOH} - or = { - if = { - DOH = { - has_government = fascism - has_completed_focus = DOH_huanxingjulong - has_opinion = { target = YUW value > 50 } + NOT = { + is_in_faction_with = TIX } - YUW = { has_government = fascism } - } - if = { - DOH = { - has_government = democratic - has_completed_focus = DOH_huanxingjulong - has_opinion = { target = YUW value > 50 } - } - YUW = { has_government = democratic } + NOT = { + has_war_with = DOH } + OR = { + if = { + DOH = { + has_government = fascism + has_completed_focus = DOH_huanxingjulong + has_opinion = { + target = YUW + value > 50 + } + } + YUW = { + has_government = fascism + } + } + if = { + DOH = { + has_government = democratic + has_completed_focus = DOH_huanxingjulong + has_opinion = { + target = YUW + value > 50 + } + } + YUW = { + has_government = democratic + } + } } } bypass = { - not = {country_exists = DOH} + NOT = { + country_exists = DOH + } } ai_will_do = { factor = 80 @@ -1231,12 +1514,13 @@ focus_tree = { completion_reward = { create_faction = "东西协约" DOH = { - country_event = { id = YUW_event.38 days = 1} + country_event = { + id = YUW_event.38 + days = 1 + } } } } - - focus = { id = YUW_zainanmeidehuoban icon = GFX_focus_por_recover_brazil @@ -1244,18 +1528,20 @@ focus_tree = { y = 1 cost = 10 relative_position_id = YUW_jiaruchisezhongzhou - prerequisite = { focus = YUW_jiaruchisezhongzhou focus = YUW_yuanweideziranbianjie} + prerequisite = { + focus = YUW_jiaruchisezhongzhou + focus = YUW_yuanweideziranbianjie + } allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic } } - ai_will_do = { factor = 100 } @@ -1263,16 +1549,15 @@ focus_tree = { completion_reward = { guojishengyu_down_1 = yes set_autonomy = { - target = VEN - autonomy_state = autonomy_integrated_puppet + target = VEN + autonomy_state = autonomy_integrated_puppet } set_autonomy = { - target = PRU - autonomy_state = autonomy_integrated_puppet + target = PRU + autonomy_state = autonomy_integrated_puppet } } } - focus = { id = YUW_xuanchengjiaotingjiudi icon = GFX_goal_generic_demand_territory @@ -1280,21 +1565,24 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_zainanmeidehuoban - prerequisite = { focus = YUW_zainanmeidehuoban } + prerequisite = { + focus = YUW_zainanmeidehuoban + } available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic + } + NOT = { + is_in_faction_with = SAD } - not = {is_in_faction_with = SAD} } - ai_will_do = { factor = 0 modifier = { - has_completed_focus = YUW_dierciboerduohuiyi - add = 60 + has_completed_focus = YUW_dierciboerduohuiyi + add = 60 } } #search_filters = { FOCUS_FILTER_STABILITY } @@ -1304,7 +1592,6 @@ focus_tree = { add_ideas = YUW_xy } } - focus = { id = YUW_laiyinlanhuozhanzheng icon = GFX_aflag_TIX @@ -1312,43 +1599,56 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_xuanchengjiaotingjiudi - prerequisite = { focus = YUW_xuanchengjiaotingjiudi } + prerequisite = { + focus = YUW_xuanchengjiaotingjiudi + } will_lead_to_war_with = TIX available = { is_puppet = no - or = { - has_government = fascism - if = { - has_government = democratic - TIX = {has_added_tension_amount > 40} + OR = { + has_government = fascism + if = { + has_government = democratic + TIX = { + has_added_tension_amount > 40 + } + } + is_ai = no + has_idea = TY_fengkuangAI } - is_ai = no - has_idea = TY_fengkuangAI + NOT = { + is_in_faction_with = TIX } - not = {is_in_faction_with = TIX} } bypass = { - or = { - has_war_with = TIX - not = {country_exists = TIX} + OR = { + has_war_with = TIX + NOT = { + country_exists = TIX + } } } ai_will_do = { factor = 10 modifier = { - date > 1939.3.1 - add = 80 + date > 1939.3.1 + add = 80 } } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_named_threat = { threat = 5 name = "莱茵兰或战争" } + add_named_threat = { + threat = 5 + name = "莱茵兰或战争" + } TIX = { - country_event = { id = YUW_event.36 days = 1} + country_event = { + id = YUW_event.36 + days = 1 + } } } } - focus = { id = YUW_jiaruchisezhongzhou icon = GFX_fflag_TIX @@ -1356,78 +1656,93 @@ focus_tree = { y = 0 cost = 5 relative_position_id = YUW_yuanweideziranbianjie - mutually_exclusive = { focus = YUW_yuanweideziranbianjie } - + mutually_exclusive = { + focus = YUW_yuanweideziranbianjie + } available = { - or = { - has_completed_focus = YUW_buliuxuedeneizhan - has_completed_focus = YUW_yuanweikuozhangzhuyi + OR = { + has_completed_focus = YUW_buliuxuedeneizhan + has_completed_focus = YUW_yuanweikuozhangzhuyi } has_government = fascism custom_trigger_tooltip = { tooltip = "铁血国创建了赤色中轴" has_global_flag = TIX_created_chisezhongzhou - TIX = { is_faction_leader = yes } + TIX = { + is_faction_leader = yes + } } } - ai_will_do = { factor = 30 modifier = { - YUW_rangbaer = { - is_country_leader = yes - } - add = 100 + YUW_rangbaer = { + is_country_leader = yes + } + add = 100 } } - search_filters = { FOCUS_FILTER_ANNEXATION } + search_filters = { + FOCUS_FILTER_ANNEXATION + } completion_reward = { guojishengyu_up_3 = yes add_stability = 0.1 TIX = { - add_ai_strategy = { - type = befriend - id = YUW - value = 200 - } - add_ai_strategy = { - type = alliance - id = "YUW" - value = 1000 - } + add_ai_strategy = { + type = befriend + id = YUW + value = 200 + } + add_ai_strategy = { + type = alliance + id = "YUW" + value = 1000 + } } SAD = { - add_ai_strategy = { - type = befriend - id = YUW - value = 200 - } - add_ai_strategy = { - type = alliance - id = "YUW" - value = 1000 - } + add_ai_strategy = { + type = befriend + id = YUW + value = 200 + } + add_ai_strategy = { + type = alliance + id = "YUW" + value = 1000 + } } YUW = { - add_ai_strategy = { - type = befriend - id = TIX - value = 500 + add_ai_strategy = { + type = befriend + id = TIX + value = 500 + } + add_ai_strategy = { + type = alliance + id = "TIX" + value = 1000 + } } - add_ai_strategy = { - type = alliance - id = "TIX" - value = 1000 + add_opinion_modifier = { + target = TIX + modifier = YUW_gsgx } + add_opinion_modifier = { + target = SAD + modifier = YUW_gsgx + } + reverse_add_opinion_modifier = { + target = TIX + modifier = YUW_gsgx + } + reverse_add_opinion_modifier = { + target = SAD + modifier = YUW_gsgx } - add_opinion_modifier = { target = TIX modifier = YUW_gsgx} - add_opinion_modifier = { target = SAD modifier = YUW_gsgx} - reverse_add_opinion_modifier = { target = TIX modifier = YUW_gsgx } - reverse_add_opinion_modifier = { target = SAD modifier = YUW_gsgx } add_ideas = YUW_zc } } - focus = { id = YUW_chalimanjihua icon = GFX_aflag_HUJ @@ -1441,39 +1756,48 @@ focus_tree = { available = { is_puppet = no date > 1940.2.1 - or = { - has_government = fascism - has_government = neutrality - has_government = democratic + OR = { + has_government = fascism + has_government = neutrality + has_government = democratic } - or = { - has_completed_focus = YUW_laiyinlanhuozhanzheng - has_completed_focus = YUW_chedijingjigaige - has_completed_focus = YUW_rushensuoyuan - has_government = neutrality - has_idea = TY_fengkuangAI + OR = { + has_completed_focus = YUW_laiyinlanhuozhanzheng + has_completed_focus = YUW_chedijingjigaige + has_completed_focus = YUW_rushensuoyuan + has_government = neutrality + has_idea = TY_fengkuangAI } - not = {has_war_with = TIX} - not = {is_in_faction_with = HUJ} - or = { - not = {country_exists = TIX} - TIX = { is_subject_of = YUW } - if = { - 51 = { - is_demilitarized_zone = yes - } - 42 = { - is_demilitarized_zone = yes + NOT = { + has_war_with = TIX } + NOT = { + is_in_faction_with = HUJ } + OR = { + NOT = { + country_exists = TIX + } + TIX = { + is_subject_of = YUW + } + if = { + 51 = { + is_demilitarized_zone = yes + } + 42 = { + is_demilitarized_zone = yes + } + } } } - ai_will_do = { factor = 0 modifier = { - not = {country_exists = BFL} - add = 100 + NOT = { + country_exists = BFL + } + add = 100 } } #search_filters = { FOCUS_FILTER_STABILITY } @@ -1481,85 +1805,100 @@ focus_tree = { add_ideas = YUW_clmjh } } - focus = { id = YUW_tezhanjianniang icon = GFX_focus_jinbuli x = -2 y = 1 cost = 10 - prerequisite = { focus = YUW_chalimanjihua } + prerequisite = { + focus = YUW_chalimanjihua + } relative_position_id = YUW_chalimanjihua available = { is_puppet = no date > 1940.1.1 - or = { - has_government = fascism - has_government = neutrality - has_government = democratic + OR = { + has_government = fascism + has_government = neutrality + has_government = democratic } } - ai_will_do = { factor = 100 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - set_technology = { shipgirltech_jichulilun = 1 } - set_technology = { shipgirltech_xunyangpao_1 = 1 } - set_technology = { shipgirltech_xunyangpao_2 = 1 } + set_technology = { + shipgirltech_jichulilun = 1 + } + set_technology = { + shipgirltech_xunyangpao_1 = 1 + } + set_technology = { + shipgirltech_xunyangpao_2 = 1 + } } } - focus = { id = YUW_lushangxingzhou icon = GFX_focus_manjiu x = 2 y = 1 cost = 5 - prerequisite = { focus = YUW_chalimanjihua } + prerequisite = { + focus = YUW_chalimanjihua + } relative_position_id = YUW_chalimanjihua available = { is_puppet = no - or = { - has_government = fascism - has_government = neutrality - has_government = democratic + OR = { + has_government = fascism + has_government = neutrality + has_government = democratic } } - ai_will_do = { factor = 100 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - set_technology = { mtg_landing_craft = 1 } + set_technology = { + mtg_landing_craft = 1 + } } } - focus = { id = YUW_shabaidemori icon = GFX_focus_yilishabai x = -2 y = 1 cost = 5 - prerequisite = { focus = YUW_lushangxingzhou } - prerequisite = { focus = YUW_tezhanjianniang } + prerequisite = { + focus = YUW_lushangxingzhou + } + prerequisite = { + focus = YUW_tezhanjianniang + } relative_position_id = YUW_lushangxingzhou will_lead_to_war_with = HUJ available = { is_puppet = no - or = { - has_government = fascism - has_government = neutrality - has_government = democratic + OR = { + has_government = fascism + has_government = neutrality + has_government = democratic + } + NOT = { + is_in_faction_with = HUJ } - not = {is_in_faction_with = HUJ} } bypass = { - or = { - has_war_with = HUJ - not = {country_exists = HUJ} + OR = { + has_war_with = HUJ + NOT = { + country_exists = HUJ + } } } ai_will_do = { @@ -1567,10 +1906,12 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = HUJ type = take_state_focus } + create_wargoal = { + target = HUJ + type = take_state_focus + } } } - focus = { id = YUW_yuanzhengbeilian icon = GFX_aflag_BFL @@ -1584,37 +1925,44 @@ focus_tree = { available = { is_puppet = no date > 1940.2.1 - or = { - has_government = fascism - has_government = neutrality - has_government = democratic + OR = { + has_government = fascism + has_government = neutrality + has_government = democratic } - or = { - has_completed_focus = YUW_chedijingjigaige - has_completed_focus = YUW_rushensuoyuan - has_completed_focus = YUW_laiyinlanhuozhanzheng - has_government = neutrality - has_idea = TY_fengkuangAI + OR = { + has_completed_focus = YUW_chedijingjigaige + has_completed_focus = YUW_rushensuoyuan + has_completed_focus = YUW_laiyinlanhuozhanzheng + has_government = neutrality + has_idea = TY_fengkuangAI } - not = {has_war_with = TIX} - not = {is_in_faction_with = BFL} - or = { - TIX = { - has_government = democratic - } - not = {country_exists = TIX} - TIX = { is_subject_of = YUW } - if = { - 51 = { - is_demilitarized_zone = yes - } - 42 = { - is_demilitarized_zone = yes + NOT = { + has_war_with = TIX } + NOT = { + is_in_faction_with = BFL } + OR = { + TIX = { + has_government = democratic + } + NOT = { + country_exists = TIX + } + TIX = { + is_subject_of = YUW + } + if = { + 51 = { + is_demilitarized_zone = yes + } + 42 = { + is_demilitarized_zone = yes + } + } } } - ai_will_do = { factor = 100 } @@ -1623,24 +1971,24 @@ focus_tree = { add_ideas = YUW_yzbl } } - focus = { id = YUW_dongouzhanzhengbuju icon = GFX_focus_generic_aircraft_production x = -2 y = 1 cost = 10 - prerequisite = { focus = YUW_yuanzhengbeilian } + prerequisite = { + focus = YUW_yuanzhengbeilian + } relative_position_id = YUW_yuanzhengbeilian available = { is_puppet = no - or = { - has_government = fascism - has_government = neutrality - has_government = democratic + OR = { + has_government = fascism + has_government = neutrality + has_government = democratic } } - ai_will_do = { factor = 100 } @@ -1649,24 +1997,24 @@ focus_tree = { add_ideas = YUW_zzbj } } - focus = { id = YUW_fenxibolibadebaiyin icon = GFX_focus_bolina x = 2 y = 1 cost = 10 - prerequisite = { focus = YUW_yuanzhengbeilian } + prerequisite = { + focus = YUW_yuanzhengbeilian + } relative_position_id = YUW_yuanzhengbeilian available = { is_puppet = no - or = { - has_government = fascism - has_government = neutrality - has_government = democratic + OR = { + has_government = fascism + has_government = neutrality + has_government = democratic } } - ai_will_do = { factor = 100 } @@ -1675,77 +2023,101 @@ focus_tree = { add_ideas = YUW_fxby } } - focus = { id = YUW_tongjijuxiong icon = GFX_focus_eng_expose_the_belly_of_the_bear x = 2 y = 1 cost = 5 - prerequisite = { focus = YUW_dongouzhanzhengbuju } - prerequisite = { focus = YUW_fenxibolibadebaiyin } + prerequisite = { + focus = YUW_dongouzhanzhengbuju + } + prerequisite = { + focus = YUW_fenxibolibadebaiyin + } relative_position_id = YUW_dongouzhanzhengbuju available = { is_puppet = no - has_army_manpower = { size > 2999999 } - or = { - has_government = fascism - has_government = neutrality - has_government = democratic + has_army_manpower = { + size > 2999999 + } + OR = { + has_government = fascism + has_government = neutrality + has_government = democratic } } bypass = { - or = { - has_war_with = BFL - not = {country_exists = BFL} + OR = { + has_war_with = BFL + NOT = { + country_exists = BFL + } } } ai_will_do = { factor = 10 modifier = { - date > 1941.1.1 - add = 100 + date > 1941.1.1 + add = 100 } } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { target = BFL type = take_state_focus } + create_wargoal = { + target = BFL + type = take_state_focus + } } } - focus = { id = YUW_shenglishuyuwomen icon = GFX_fflag_YUW x = 3 y = 1 cost = 2 - prerequisite = { focus = YUW_shabaidemori } - prerequisite = { focus = YUW_tongjijuxiong } + prerequisite = { + focus = YUW_shabaidemori + } + prerequisite = { + focus = YUW_tongjijuxiong + } relative_position_id = YUW_shabaidemori available = { is_puppet = no - or = { - has_government = fascism - has_government = neutrality - has_government = democratic + OR = { + has_government = fascism + has_government = neutrality + has_government = democratic } - or = { - not = {country_exists = TIX} - TIX = { is_subject_of = YUW } - controls_state = 64 + OR = { + NOT = { + country_exists = TIX + } + TIX = { + is_subject_of = YUW + } + controls_state = 64 } - or = { - not = {country_exists = HUJ} - HUJ = { is_subject_of = YUW } - controls_state = 126 + OR = { + NOT = { + country_exists = HUJ + } + HUJ = { + is_subject_of = YUW + } + controls_state = 126 } - or = { - not = {country_exists = BFL} - BFL = { is_subject_of = YUW } - controls_state = 219 + OR = { + NOT = { + country_exists = BFL + } + BFL = { + is_subject_of = YUW + } + controls_state = 219 } } - ai_will_do = { factor = 100 } @@ -1755,81 +2127,98 @@ focus_tree = { add_ideas = YUW_arzl } } - focus = { id = YUW_hanweiminzhu icon = GFX_goal_support_democracy x = -1 y = 1 - prerequisite = { focus = YUW_zhengfugaige } + prerequisite = { + focus = YUW_zhengfugaige + } relative_position_id = YUW_zhengfugaige - mutually_exclusive = { focus = YUW_weixixingdong1 } + mutually_exclusive = { + focus = YUW_weixixingdong1 + } cost = 5 - ai_will_do = { factor = 100 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { YUW_hldzf_dengji = yes - add_popularity = { ideology = democratic popularity = 0.1 } - add_popularity = { ideology = fascism popularity = 0.03 } - add_popularity = { ideology = neutrality popularity = 0.03 } - add_popularity = { ideology = communism popularity = 0.03 } + add_popularity = { + ideology = democratic + popularity = 0.1 + } + add_popularity = { + ideology = fascism + popularity = 0.03 + } + add_popularity = { + ideology = neutrality + popularity = 0.03 + } + add_popularity = { + ideology = communism + popularity = 0.03 + } YUW = { - - add_ai_strategy = { - type = befriend - id = "HUJ" - value = 50 - } - add_ai_strategy = { - type = befriend - id = "BFL" - value = 30 - } - add_ai_strategy = { - type = alliance - id = "HUJ" - value = 100 - } - add_ai_strategy = { - type = alliance - id = "BFL" - value = 50 - } -} - HUJ = { - add_ai_strategy = { - type = befriend - id = "YUW" - value = 50 - } - add_ai_strategy = { - type = alliance - id = "YUW" - value = 50 - } - } - BYG = { - add_ai_strategy = { - type = antagonize - id = "YUW" - value = 60 - } - } + add_ai_strategy = { + type = befriend + id = "HUJ" + value = 50 + } + add_ai_strategy = { + type = befriend + id = "BFL" + value = 30 + } + add_ai_strategy = { + type = alliance + id = "HUJ" + value = 100 + } + add_ai_strategy = { + type = alliance + id = "BFL" + value = 50 + } + } + HUJ = { + add_ai_strategy = { + type = befriend + id = "YUW" + value = 50 + } + add_ai_strategy = { + type = alliance + id = "YUW" + value = 50 + } + } + BYG = { + add_ai_strategy = { + type = antagonize + id = "YUW" + value = 60 + } + } } } - focus = { id = YUW_weixixingdong1 icon = GFX_focus_spa_eliminate_the_carlists x = 1 y = 1 - prerequisite = { focus = YUW_zhengfugaige } + prerequisite = { + focus = YUW_zhengfugaige + } relative_position_id = YUW_zhengfugaige - mutually_exclusive = { focus = YUW_hanweiminzhu } + mutually_exclusive = { + focus = YUW_hanweiminzhu + } cost = 5 available = { has_civil_war = no @@ -1837,7 +2226,6 @@ focus_tree = { ai_will_do = { factor = 0 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { set_politics = { @@ -1845,98 +2233,122 @@ focus_tree = { elections_allowed = yes } YUW_hldzf_dengji = yes - add_popularity = { ideology = neutrality popularity = 0.1 } - add_popularity = { ideology = fascism popularity = 0.2 } - add_popularity = { ideology = democratic popularity = -0.1 } + add_popularity = { + ideology = neutrality + popularity = 0.1 + } + add_popularity = { + ideology = fascism + popularity = 0.2 + } + add_popularity = { + ideology = democratic + popularity = -0.1 + } add_stability = -0.1 YUW = { - add_ai_strategy = { - type = befriend - id = TIX - value = 150 - } - add_ai_strategy = { - type = alliance - id = "TIX" - value = 150 - } - add_ai_strategy = { - type = befriend - id = SAD - value = 30 - } + add_ai_strategy = { + type = befriend + id = TIX + value = 150 + } + add_ai_strategy = { + type = alliance + id = "TIX" + value = 150 + } + add_ai_strategy = { + type = befriend + id = SAD + value = 30 + } } TIX = { - add_ai_strategy = { - type = befriend - id = YUW - value = 30 - } - add_ai_strategy = { - type = alliance - id = "YUW" - value = 30 - } + add_ai_strategy = { + type = befriend + id = YUW + value = 30 + } + add_ai_strategy = { + type = alliance + id = "YUW" + value = 30 + } } SAD = { - add_ai_strategy = { - type = befriend - id = YUW - value = 30 - } - add_ai_strategy = { - type = alliance - id = "YUW" - value = 30 - } + add_ai_strategy = { + type = befriend + id = YUW + value = 30 + } + add_ai_strategy = { + type = alliance + id = "YUW" + value = 30 + } } } } - focus = { id = YUW_shiyejiuji icon = GFX_goal_generic_intelligence_exchange x = -3 y = 1 - prerequisite = { focus = YUW_hanweiminzhu focus = YUW_xianshizhengzhi } + prerequisite = { + focus = YUW_hanweiminzhu + focus = YUW_xianshizhengzhi + } relative_position_id = YUW_hanweiminzhu cost = 5 available = { - or= { - has_completed_focus = YUW_gailiangjingji - has_completed_focus = YUW_yifengmixin - } + or = { + has_completed_focus = YUW_gailiangjingji + has_completed_focus = YUW_yifengmixin + } } ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = 0.03 } - add_popularity = { ideology = democratic popularity = 0.05 } + add_popularity = { + ideology = communism + popularity = 0.03 + } + add_popularity = { + ideology = democratic + popularity = 0.05 + } add_stability = 0.1 } } - focus = { id = YUW_gongrenquanyifaan icon = GFX_goal_generic_national_unity x = -1 y = 1 - prerequisite = { focus = YUW_shiyejiuji } + prerequisite = { + focus = YUW_shiyejiuji + } relative_position_id = YUW_shiyejiuji cost = 5 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = 0.03 } - add_popularity = { ideology = fascism popularity = -0.05 } - add_popularity = { ideology = democratic popularity = 0.05 } + add_popularity = { + ideology = communism + popularity = 0.03 + } + add_popularity = { + ideology = fascism + popularity = -0.05 + } + add_popularity = { + ideology = democratic + popularity = 0.05 + } add_stability = 0.1 add_ideas = YUW_gr custom_effect_tooltip = yuw_weixifennujia2 @@ -1946,25 +2358,33 @@ focus_tree = { } } } - focus = { id = YUW_jienagcdr icon = GFX_focus_generic_soviet_politics x = 0 y = 1 - prerequisite = { focus = YUW_gongrenquanyifaan } + prerequisite = { + focus = YUW_gongrenquanyifaan + } relative_position_id = YUW_gongrenquanyifaan cost = 5 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = 0.1 } - add_popularity = { ideology = fascism popularity = -0.1 } - add_popularity = { ideology = democratic popularity = 0.15 } + add_popularity = { + ideology = communism + popularity = 0.1 + } + add_popularity = { + ideology = fascism + popularity = -0.1 + } + add_popularity = { + ideology = democratic + popularity = 0.15 + } custom_effect_tooltip = yuw_weixifennujia2 add_to_variable = { var = yuw_weixi @@ -1972,43 +2392,47 @@ focus_tree = { } } } - focus = { id = YUW_ziyoumaoyigaige icon = GFX_goal_generic_positive_trade_relations x = 1 y = 1 - prerequisite = { focus = YUW_shiyejiuji } + prerequisite = { + focus = YUW_shiyejiuji + } relative_position_id = YUW_shiyejiuji cost = 5 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = democratic popularity = 0.08 } + add_popularity = { + ideology = democratic + popularity = 0.08 + } add_ideas = YUW_zymygg } } - focus = { id = YUW_caiyuangungun icon = GFX_focus_mex_privatisation x = 0 y = 1 - prerequisite = { focus = YUW_ziyoumaoyigaige } + prerequisite = { + focus = YUW_ziyoumaoyigaige + } relative_position_id = YUW_ziyoumaoyigaige cost = 5 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = democratic popularity = 0.1 } + add_popularity = { + ideology = democratic + popularity = 0.1 + } add_stability = 0.1 custom_effect_tooltip = yuw_shuangfangfennujiang add_to_variable = { @@ -2021,28 +2445,41 @@ focus_tree = { } } } - focus = { id = YUW_zaiminzhuqizhixiatuanjie icon = GFX_focus_generic_the_giant_wakes x = 1 y = 2 - prerequisite = { focus = YUW_jienagcdr} - prerequisite = { focus = YUW_caiyuangungun} + prerequisite = { + focus = YUW_jienagcdr + } + prerequisite = { + focus = YUW_caiyuangungun + } relative_position_id = YUW_gongrenquanyifaan cost = 5 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { YUW_hldzf_dengji = yes - add_popularity = { ideology = communism popularity = -0.05 } - add_popularity = { ideology = fascism popularity = -0.05 } - add_popularity = { ideology = neutrality popularity = -0.05 } - add_popularity = { ideology = democratic popularity = 0.1 } + add_popularity = { + ideology = communism + popularity = -0.05 + } + add_popularity = { + ideology = fascism + popularity = -0.05 + } + add_popularity = { + ideology = neutrality + popularity = -0.05 + } + add_popularity = { + ideology = democratic + popularity = 0.1 + } add_political_power = 100 custom_effect_tooltip = yuw_weixifennujia2 add_to_variable = { @@ -2051,27 +2488,27 @@ focus_tree = { } } } - focus = { id = YUW_gailiangjingji icon = GFX_goal_generic_neutrality_focus x = 1 y = 1 - prerequisite = { focus = YUW_hanweiminzhu focus = YUW_weixixingdong1 focus = YUW_rangbaerdemingling} - + prerequisite = { + focus = YUW_hanweiminzhu + focus = YUW_weixixingdong1 + focus = YUW_rangbaerdemingling + } relative_position_id = YUW_hanweiminzhu cost = 5 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { - remove_idea = YUW_jjbk - add_idea = YUW_jjhmhf - } + remove_idea = YUW_jjbk + add_idea = YUW_jjhmhf + } custom_effect_tooltip = yuw_shuangfangfennujiang add_to_variable = { var = yuw_weixi @@ -2083,27 +2520,29 @@ focus_tree = { } } } - focus = { id = YUW_gaigefanganA icon = GFX_focus_lisailiu x = -1 y = 1 - prerequisite = { focus = YUW_gailiangjingji} - mutually_exclusive = { focus = YUW_gaigefanganB } - + prerequisite = { + focus = YUW_gailiangjingji + } + mutually_exclusive = { + focus = YUW_gaigefanganB + } relative_position_id = YUW_gailiangjingji cost = 5 - ai_will_do = { factor = 100 modifier = { - has_completed_focus = YUW_weixixingdong1 - factor = 0 + has_completed_focus = YUW_weixixingdong1 + factor = 0 } } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_ideas = YUW_jjggA custom_effect_tooltip = yuw_weixifennujia2 @@ -2118,26 +2557,26 @@ focus_tree = { icon = GFX_goal_generic_construct_civ_factory x = 0 y = 1 - prerequisite = { focus = YUW_gaigefanganA} - + prerequisite = { + focus = YUW_gaigefanganA + } relative_position_id = YUW_gaigefanganA cost = 5 available = { - or = { - has_completed_focus = YUW_jingchaguojia - has_completed_focus = YUW_zaiminzhuqizhixiatuanjie - } + OR = { + has_completed_focus = YUW_jingchaguojia + has_completed_focus = YUW_zaiminzhuqizhixiatuanjie + } } ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { - remove_idea = YUW_jjggA - add_idea = YUW_jjggA1 - } + remove_idea = YUW_jjggA + add_idea = YUW_jjggA1 + } } } focus = { @@ -2145,19 +2584,21 @@ focus_tree = { icon = GFX_focus_rangbaer x = 1 y = 1 - prerequisite = { focus = YUW_gailiangjingji} - mutually_exclusive = { focus = YUW_gaigefanganA } + prerequisite = { + focus = YUW_gailiangjingji + } + mutually_exclusive = { + focus = YUW_gaigefanganA + } relative_position_id = YUW_gailiangjingji cost = 5 - ai_will_do = { factor = 0 modifier = { - has_completed_focus = YUW_weixixingdong1 - factor = 100 + has_completed_focus = YUW_weixixingdong1 + factor = 100 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_jjggB @@ -2168,59 +2609,60 @@ focus_tree = { } } } - focus = { id = YUW_junshiguanzhijingji icon = GFX_goal_generic_construct_mil_factory x = 0 y = 1 - prerequisite = { focus = YUW_gaigefanganB} + prerequisite = { + focus = YUW_gaigefanganB + } relative_position_id = YUW_gaigefanganB cost = 5 available = { - or = { - has_completed_focus = YUW_jingchaguojia - has_completed_focus = YUW_zaiminzhuqizhixiatuanjie - } + OR = { + has_completed_focus = YUW_jingchaguojia + has_completed_focus = YUW_zaiminzhuqizhixiatuanjie + } } ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { - remove_idea = YUW_jjggB - add_idea = YUW_jjggB1 - } + remove_idea = YUW_jjggB + add_idea = YUW_jjggB1 + } } } - focus = { id = YUW_jingjigaige icon = GFX_focus_usa_reestablish_the_gold_standard x = -1 y = 1 - prerequisite = { focus = YUW_junshiguanzhijingji focus = YUW_junhengfazhan} + prerequisite = { + focus = YUW_junshiguanzhijingji + focus = YUW_junhengfazhan + } relative_position_id = YUW_junshiguanzhijingji cost = 5 available = { - or = { - has_completed_focus = YUW_qingjiaohaidao - has_completed_focus = YUW_zhaoanhaidao - } + OR = { + has_completed_focus = YUW_qingjiaohaidao + has_completed_focus = YUW_zhaoanhaidao + } } ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { YUW_hldzf_dengji = yes swap_ideas = { - remove_idea = YUW_jjhmhf - add_idea = YUW_wddjj - } + remove_idea = YUW_jjhmhf + add_idea = YUW_wddjj + } custom_effect_tooltip = yuw_shuangfangfennujiang add_to_variable = { var = yuw_weixi @@ -2237,26 +2679,40 @@ focus_tree = { icon = GFX_focus_generic_little_entente x = 3 y = 1 - prerequisite = { focus = YUW_weixixingdong1 focus = YUW_rangbaerdemingling} + prerequisite = { + focus = YUW_weixixingdong1 + focus = YUW_rangbaerdemingling + } relative_position_id = YUW_weixixingdong1 cost = 5 available = { - or = { - has_completed_focus = YUW_gailiangjingji - has_completed_focus = YUW_zhidugeming - } + OR = { + has_completed_focus = YUW_gailiangjingji + has_completed_focus = YUW_zhidugeming + } } ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_war_support = 0.1 - add_popularity = { ideology = neutrality popularity = 0.02 } - add_popularity = { ideology = fascism popularity = -0.05 } - add_popularity = { ideology = democratic popularity = 0.03 } - add_popularity = { ideology = communism popularity = 0.02 } + add_popularity = { + ideology = neutrality + popularity = 0.02 + } + add_popularity = { + ideology = fascism + popularity = -0.05 + } + add_popularity = { + ideology = democratic + popularity = 0.03 + } + add_popularity = { + ideology = communism + popularity = 0.02 + } add_ideas = YUW_kdzb } } @@ -2265,19 +2721,32 @@ focus_tree = { icon = GFX_focus_generic_manpower x = 1 y = 1 - prerequisite = { focus = YUW_kuodazhengbing } + prerequisite = { + focus = YUW_kuodazhengbing + } relative_position_id = YUW_kuodazhengbing cost = 5 ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = neutrality popularity = 0.04 } - add_popularity = { ideology = fascism popularity = 0.07 } - add_popularity = { ideology = democratic popularity = -0.03 } - add_popularity = { ideology = communism popularity = -0.02 } + add_popularity = { + ideology = neutrality + popularity = 0.04 + } + add_popularity = { + ideology = fascism + popularity = 0.07 + } + add_popularity = { + ideology = democratic + popularity = -0.03 + } + add_popularity = { + ideology = communism + popularity = -0.02 + } add_ideas = YUW_bxldl custom_effect_tooltip = yuw_ziyoufennujia2 add_to_variable = { @@ -2291,22 +2760,35 @@ focus_tree = { icon = GFX_goal_support_fascism x = 0 y = 1 - prerequisite = { focus = YUW_boxuelaodongli } + prerequisite = { + focus = YUW_boxuelaodongli + } relative_position_id = YUW_boxuelaodongli cost = 5 available = { - has_completed_focus = YUW_bupinghengdegongyefazhan + has_completed_focus = YUW_bupinghengdegongyefazhan } ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = neutrality popularity = 0.05 } - add_popularity = { ideology = fascism popularity = 0.2 } - add_popularity = { ideology = democratic popularity = -0.1 } - add_popularity = { ideology = communism popularity = -0.1 } + add_popularity = { + ideology = neutrality + popularity = 0.05 + } + add_popularity = { + ideology = fascism + popularity = 0.2 + } + add_popularity = { + ideology = democratic + popularity = -0.1 + } + add_popularity = { + ideology = communism + popularity = -0.1 + } add_ideas = YUW_jcgj custom_effect_tooltip = yuw_ziyoufennujia2 add_to_variable = { @@ -2320,17 +2802,20 @@ focus_tree = { icon = GFX_focus_RAJ_lions_of_the_great_war x = 0 y = 1 - prerequisite = { focus = YUW_jingchaguojia } + prerequisite = { + focus = YUW_jingchaguojia + } relative_position_id = YUW_jingchaguojia cost = 5 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = fascism popularity = 0.1 } + add_popularity = { + ideology = fascism + popularity = 0.1 + } YUW_hldzf_dengji = yes custom_effect_tooltip = yuw_ziyoufennujia2 add_to_variable = { @@ -2339,25 +2824,37 @@ focus_tree = { } } } - focus = { id = YUW_jungongyouxian icon = GFX_goal_generic_construct_civilian x = -1 y = 1 - prerequisite = { focus = YUW_kuodazhengbing } + prerequisite = { + focus = YUW_kuodazhengbing + } relative_position_id = YUW_kuodazhengbing cost = 5 ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = neutrality popularity = 0.02 } - add_popularity = { ideology = fascism popularity = 0.05 } - add_popularity = { ideology = democratic popularity = -0.03 } - add_popularity = { ideology = communism popularity = -0.03 } + add_popularity = { + ideology = neutrality + popularity = 0.02 + } + add_popularity = { + ideology = fascism + popularity = 0.05 + } + add_popularity = { + ideology = democratic + popularity = -0.03 + } + add_popularity = { + ideology = communism + popularity = -0.03 + } random_owned_controlled_state = { add_extra_state_shared_building_slots = 4 add_building_construction = { @@ -2371,7 +2868,7 @@ focus_tree = { add_building_construction = { type = arms_factory level = 3 - instant_build = yes + instant_build = yes } } custom_effect_tooltip = yuw_shuangfangfennujiang @@ -2390,19 +2887,32 @@ focus_tree = { icon = GFX_focus_generic_tank_production x = 0 y = 1 - prerequisite = { focus = YUW_jungongyouxian } + prerequisite = { + focus = YUW_jungongyouxian + } relative_position_id = YUW_jungongyouxian cost = 5 ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = neutrality popularity = 0.04 } - add_popularity = { ideology = fascism popularity = 0.07 } - add_popularity = { ideology = democratic popularity = -0.05 } - add_popularity = { ideology = communism popularity = -0.05 } + add_popularity = { + ideology = neutrality + popularity = 0.04 + } + add_popularity = { + ideology = fascism + popularity = 0.07 + } + add_popularity = { + ideology = democratic + popularity = -0.05 + } + add_popularity = { + ideology = communism + popularity = -0.05 + } random_owned_controlled_state = { add_extra_state_shared_building_slots = 6 add_building_construction = { @@ -2416,7 +2926,7 @@ focus_tree = { add_building_construction = { type = arms_factory level = 5 - instant_build = yes + instant_build = yes } } } @@ -2426,13 +2936,14 @@ focus_tree = { icon = GFX_goal_generic_small_arms x = 0 y = 1 - prerequisite = { focus = YUW_bupinghengdegongyefazhan } + prerequisite = { + focus = YUW_bupinghengdegongyefazhan + } relative_position_id = YUW_bupinghengdegongyefazhan cost = 5 ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_equipment_to_stockpile = { @@ -2440,10 +2951,8 @@ focus_tree = { amount = 10000 } add_war_support = 0.1 - } } - focus = { id = YUW_daxuan icon = GFX_focus_fra_le_deluge @@ -2452,9 +2961,11 @@ focus_tree = { relative_position_id = YUW_jingjigaige cost = 10 available = { - always = no - date > 1938.6.1 - not = { has_country_flag = yiwai_daxuanwufajinxing } + always = no + date > 1938.6.1 + NOT = { + has_country_flag = yiwai_daxuanwufajinxing + } } ai_will_do = { factor = 10 @@ -2466,7 +2977,6 @@ focus_tree = { custom_effect_tooltip = wufazidongjiesuo_daxuan } } - focus = { id = YUW_chongxinshenshiwaijiaozhengce icon = GFX_focus_hol_the_foundations_of_defense @@ -2475,83 +2985,106 @@ focus_tree = { relative_position_id = YUW_daxuan cost = 10 available = { - always = no - has_completed_focus = YUW_daxuan - not = { has_country_flag = yiwai_daxuanwufajinxing } + always = no + has_completed_focus = YUW_daxuan + NOT = { + has_country_flag = yiwai_daxuanwufajinxing + } } bypass = { date > 1939.1.1 has_country_flag = yiwai_daxuanwufajinxing - or = { - has_completed_focus = YUW_lianhezhizheng - has_completed_focus = YUW_dulandaquan - has_completed_focus = YUW_hanweiminzhu - has_completed_focus = YUW_weixixingdong1 - has_completed_focus = YUW_xingyunqiyuan + OR = { + has_completed_focus = YUW_lianhezhizheng + has_completed_focus = YUW_dulandaquan + has_completed_focus = YUW_hanweiminzhu + has_completed_focus = YUW_weixixingdong1 + has_completed_focus = YUW_xingyunqiyuan } } ai_will_do = { factor = 10 } - search_filters = { FOCUS_FILTER_ANNEXATION } + search_filters = { + FOCUS_FILTER_ANNEXATION + } completion_reward = { YUW_hldzf_dengji = yes custom_effect_tooltip = "这个国策将会在你大选结束之后通过事件自动解锁。" custom_effect_tooltip = wufazidongjiesuo_daxuan } } - focus = { id = YUW_lan icon = GFX_focus_lisailiu x = -2 y = 1 relative_position_id = YUW_chongxinshenshiwaijiaozhengce - prerequisite = { focus = YUW_chongxinshenshiwaijiaozhengce } - mutually_exclusive = { focus = YUW_hei focus = YUW_bai } + prerequisite = { + focus = YUW_chongxinshenshiwaijiaozhengce + } + mutually_exclusive = { + focus = YUW_hei + focus = YUW_bai + } cost = 5 available = { has_government = democratic - not = { has_completed_focus = YUW_tingshinuhou } + NOT = { + has_completed_focus = YUW_tingshinuhou + } } ai_will_do = { factor = 40 } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_stability = 0.2 add_war_support = 0.2 add_political_power = 150 } } - focus = { id = YUW_gcgj icon = GFX_focus_generic_join_comintern x = -1 y = 1 relative_position_id = YUW_lan - prerequisite = { focus = YUW_lan } - mutually_exclusive = { focus = YUW_blhx focus = YUW_cszz focus = YUW_aoranzili } + prerequisite = { + focus = YUW_lan + } + mutually_exclusive = { + focus = YUW_blhx + focus = YUW_cszz + focus = YUW_aoranzili + } cost = 5 available = { has_completed_focus = YUW_hanweiminzhu - or= { + or = { has_government = democratic has_government = communism - } - BFL = { - has_government = communism - has_opinion = { target = YUW value > 50 } } - not = { has_completed_focus = YUW_zhengquzhendezhichi } - custom_trigger_tooltip = { + BFL = { + has_government = communism + has_opinion = { + target = YUW + value > 50 + } + } + NOT = { + has_completed_focus = YUW_zhengquzhendezhichi + } + custom_trigger_tooltip = { tooltip = "共产联盟存在" has_global_flag = BFL_created_gongchanlianmeng - BFL = { is_faction_leader = yes } + BFL = { + is_faction_leader = yes + } } } - bypass = { is_in_faction_with = BFL } @@ -2560,26 +3093,30 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_opinion_modifier = { target = BFL modifier = YUW_gsgx} - reverse_add_opinion_modifier = { target = BFL modifier = YUW_gsgx } - - remove_from_faction = YUW - + add_opinion_modifier = { + target = BFL + modifier = YUW_gsgx + } + reverse_add_opinion_modifier = { + target = BFL + modifier = YUW_gsgx + } + remove_from_faction = YUW BFL = { add_to_faction = YUW } } } - focus = { id = YUW_ziyoupingdengtuanjie icon = GFX_focus_focus_fra_liberte_egalite_solidarite x = 0 y = 1 relative_position_id = YUW_gcgj - prerequisite = { focus = YUW_gcgj } + prerequisite = { + focus = YUW_gcgj + } cost = 5 - ai_will_do = { factor = 15 } @@ -2588,77 +3125,103 @@ focus_tree = { add_ideas = YUW_zyodba } } - focus = { id = YUW_fanfaxisigongrengeming icon = GFX_focus_por_workers_of_iberia x = 0 y = 1 relative_position_id = YUW_ziyoupingdengtuanjie - prerequisite = { focus = YUW_ziyoupingdengtuanjie } + prerequisite = { + focus = YUW_ziyoupingdengtuanjie + } cost = 5 allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } available = { date > 1940.1.1 - has_army_manpower = { size > 1999999 } - not = {is_in_faction_with = TIX} + has_army_manpower = { + size > 1999999 + } + NOT = { + is_in_faction_with = TIX + } } ai_will_do = { factor = 1 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - create_wargoal = { - type = take_state_focus - target = TIX - expire = 0 - } + type = take_state_focus + target = TIX + expire = 0 + } } } - focus = { id = YUW_blhx icon = GFX_goal_support_democracy x = 1 y = 1 relative_position_id = YUW_lan - prerequisite = { focus = YUW_lan focus = YUW_bai} - mutually_exclusive = { focus = YUW_gcgj focus = YUW_cszz focus = YUW_aoranzili } + prerequisite = { + focus = YUW_lan + focus = YUW_bai + } + mutually_exclusive = { + focus = YUW_gcgj + focus = YUW_cszz + focus = YUW_aoranzili + } cost = 5 available = { - or= { + or = { has_government = democratic has_government = neutrality - } - not = { has_completed_focus = YUW_zhidugeming } + } + NOT = { + has_completed_focus = YUW_zhidugeming + } } ai_will_do = { factor = 60 } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { guojishengyu_up_5 = yes - add_opinion_modifier = { target = HUJ modifier = YUW_gsgx} - add_opinion_modifier = { target = BYG modifier = YUW_gsgx} - reverse_add_opinion_modifier = { target = BYG modifier = YUW_gsgx } - reverse_add_opinion_modifier = { target = HUJ modifier = YUW_gsgx } + add_opinion_modifier = { + target = HUJ + modifier = YUW_gsgx + } + add_opinion_modifier = { + target = BYG + modifier = YUW_gsgx + } + reverse_add_opinion_modifier = { + target = BYG + modifier = YUW_gsgx + } + reverse_add_opinion_modifier = { + target = HUJ + modifier = YUW_gsgx + } add_stability = 0.2 add_political_power = 150 } } - focus = { id = YUW_duisairendezhimingyiji icon = GFX_goal_generic_navy_carrier x = 0 y = 1 relative_position_id = YUW_blhx - prerequisite = { focus = YUW_blhx } + prerequisite = { + focus = YUW_blhx + } cost = 5 - ai_will_do = { factor = 10 } @@ -2679,22 +3242,27 @@ focus_tree = { } } } - focus = { id = YUW_hanweiminzhu1 icon = GFX_focus_bisimai_prison x = 0 y = 1 relative_position_id = YUW_duisairendezhimingyiji - prerequisite = { focus = YUW_duisairendezhimingyiji } + prerequisite = { + focus = YUW_duisairendezhimingyiji + } cost = 5 allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } available = { date > 1940.1.1 - has_army_manpower = { size > 1999999 } - not = {is_in_faction_with = TIX} + has_army_manpower = { + size > 1999999 + } + NOT = { + is_in_faction_with = TIX + } } ai_will_do = { factor = 1 @@ -2702,67 +3270,86 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { create_wargoal = { - type = take_state_focus - target = TIX - expire = 0 - } + type = take_state_focus + target = TIX + expire = 0 + } } } - focus = { id = YUW_cszz icon = GFX_goal_support_fascism x = 3 y = 1 relative_position_id = YUW_lan - prerequisite = { focus = YUW_bai focus = YUW_hei} - mutually_exclusive = { focus = YUW_gcgj focus = YUW_blhx focus = YUW_aoranzili } + prerequisite = { + focus = YUW_bai + focus = YUW_hei + } + mutually_exclusive = { + focus = YUW_gcgj + focus = YUW_blhx + focus = YUW_aoranzili + } cost = 5 available = { is_puppet = no - or = { + OR = { has_government = fascism has_government = neutrality has_completed_focus = YUW_tingshinuhou } - not = { has_completed_focus = YUW_hanweiminzhu } + NOT = { + has_completed_focus = YUW_hanweiminzhu + } custom_trigger_tooltip = { tooltip = "铁血国创建了赤色中轴" has_global_flag = TIX_created_chisezhongzhou - TIX = { is_faction_leader = yes } + TIX = { + is_faction_leader = yes + } } } - bypass = { is_in_faction_with = TIX } - ai_will_do = { factor = 60 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_up_3 = yes - add_opinion_modifier = { target = TIX modifier = YUW_gsgx} - add_opinion_modifier = { target = SAD modifier = YUW_gsgx} - reverse_add_opinion_modifier = { target = TIX modifier = YUW_gsgx } - reverse_add_opinion_modifier = { target = SAD modifier = YUW_gsgx } - - remove_from_faction = YUW - + add_opinion_modifier = { + target = TIX + modifier = YUW_gsgx + } + add_opinion_modifier = { + target = SAD + modifier = YUW_gsgx + } + reverse_add_opinion_modifier = { + target = TIX + modifier = YUW_gsgx + } + reverse_add_opinion_modifier = { + target = SAD + modifier = YUW_gsgx + } + remove_from_faction = YUW TIX = { add_to_faction = YUW } } } - focus = { id = YUW_junshihezuo icon = GFX_focus_ger_oppose_hitler x = 0 y = 1 relative_position_id = YUW_cszz - prerequisite = { focus = YUW_cszz } + prerequisite = { + focus = YUW_cszz + } cost = 5 available = { is_in_faction_with = TIX @@ -2780,21 +3367,26 @@ focus_tree = { } } } - focus = { id = YUW_sipomianju icon = GFX_focus_yilishabai x = 0 y = 1 relative_position_id = YUW_junshihezuo - prerequisite = { focus = YUW_junshihezuo } + prerequisite = { + focus = YUW_junshihezuo + } cost = 5 allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } available = { - has_army_manpower = { size > 999999 } - not = {is_in_faction_with = HUJ} + has_army_manpower = { + size > 999999 + } + NOT = { + is_in_faction_with = HUJ + } } ai_will_do = { factor = 10 @@ -2802,28 +3394,37 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { create_wargoal = { - type = take_state_focus - target = HUJ - expire = 0 - } + type = take_state_focus + target = HUJ + expire = 0 + } } } - focus = { id = YUW_aoranzili icon = GFX_focus_ger_reichskommisariats x = 5 y = 1 relative_position_id = YUW_lan - prerequisite = { focus = YUW_hei} - mutually_exclusive = { focus = YUW_cszz focus = YUW_gcgj focus = YUW_blhx } + prerequisite = { + focus = YUW_hei + } + mutually_exclusive = { + focus = YUW_cszz + focus = YUW_gcgj + focus = YUW_blhx + } cost = 10 available = { has_completed_focus = YUW_weixixingdong1 has_government = fascism - or = { - not = { has_completed_focus = YUW_zhengquzhendezhichi } - not = { has_completed_focus = YUW_tuanjieweixixingdong } + OR = { + NOT = { + has_completed_focus = YUW_zhengquzhendezhichi + } + NOT = { + has_completed_focus = YUW_tuanjieweixixingdong + } } } ai_will_do = { @@ -2839,49 +3440,51 @@ focus_tree = { add_ideas = YUW_arzl add_ideas = YUW_ozdmc if = { - limit = { - is_in_faction_with = HUJ - } - HUJ = { - remove_from_faction = YUW - } + limit = { + is_in_faction_with = HUJ + } + HUJ = { + remove_from_faction = YUW + } } } - } - focus = { id = YUW_fuchou1 icon = GFX_goal_generic_demand_territory x = 0 y = 1 relative_position_id = YUW_aoranzili - prerequisite = { focus = YUW_aoranzili } + prerequisite = { + focus = YUW_aoranzili + } cost = 2 - ai_will_do = { factor = 100 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_fczh - if = { - limit = { has_global_flag = MOD_azurlane_sairenzhizai } - swap_ideas = { - remove_idea = YUW_arzl - add_idea = YUW_arzl1 - } + if = { + limit = { + has_global_flag = MOD_azurlane_sairenzhizai + } + swap_ideas = { + remove_idea = YUW_arzl + add_idea = YUW_arzl1 + } } } } - focus = { id = YUW_shijieshengzhan icon = GFX_focus_generic_strike_at_democracy1 x = 0 y = 1 relative_position_id = YUW_fuchou1 - prerequisite = { focus = YUW_fuchou1 } + prerequisite = { + focus = YUW_fuchou1 + } cost = 10 allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang @@ -2889,14 +3492,16 @@ focus_tree = { available = { is_puppet = no has_government = fascism - has_army_manpower = { size > 2999999 } + has_army_manpower = { + size > 2999999 + } } ai_will_do = { factor = 1 modifier = { - add = 100 - date > 1941.1.1 - has_war = no + add = 100 + date > 1941.1.1 + has_war = no } } #search_filters = { FOCUS_FILTER_STABILITY } @@ -2906,38 +3511,42 @@ focus_tree = { remove_idea = YUW_arzl add_idea = YUW_arzl1 } - add_nuclear_bombs = 10 - custom_effect_tooltip = YUW_tips3 - activate_mission = YUWmrsj - hidden_effect = { + add_nuclear_bombs = 10 + custom_effect_tooltip = YUW_tips3 + activate_mission = YUWmrsj + hidden_effect = { every_country = { - YUW = { - declare_war_on = { - target = PREV - type = annex_everything + YUW = { + declare_war_on = { + target = PREV + type = annex_everything + } } } - } - } + } } } - focus = { id = YUW_bai icon = GFX_focus_zhende x = 0 y = 1 relative_position_id = YUW_chongxinshenshiwaijiaozhengce - prerequisite = { focus = YUW_chongxinshenshiwaijiaozhengce } - mutually_exclusive = { focus = YUW_hei focus = YUW_lan } + prerequisite = { + focus = YUW_chongxinshenshiwaijiaozhengce + } + mutually_exclusive = { + focus = YUW_hei + focus = YUW_lan + } cost = 5 available = { - or = { - has_government = democratic - has_government = fascism - has_government = communism + OR = { + has_government = democratic + has_government = fascism + has_government = communism } - or = { + OR = { has_completed_focus = YUW_yuanweishengkaidejijie has_completed_focus = YUW_zhengquzhendezhichi } @@ -2950,60 +3559,72 @@ focus_tree = { add_stability = 0.2 add_war_support = 0.2 add_political_power = 150 - set_party_name = { ideology = neutrality long_name = "自由鸢尾" name = "自由鸢尾" } - set_party_name = { ideology = fascism long_name = "自由鸢尾" name = "自由鸢尾" } - YUW_shengnvzhende = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = liberalism - traits = { - snddg + set_party_name = { + ideology = neutrality + long_name = "自由鸢尾" + name = "自由鸢尾" } + set_party_name = { + ideology = fascism + long_name = "自由鸢尾" + name = "自由鸢尾" } - promote_leader = yes + YUW_shengnvzhende = { + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = liberalism + traits = { + snddg + } + } + promote_leader = yes + } } + YUW_shengnvzhende = { + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = despotism + traits = { + snddg + } + } + promote_leader = yes + } } - YUW_shengnvzhende = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = despotism - traits = { - snddg - } - } - promote_leader = yes - } - } - YUW_shengnvzhende = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = fascism_ideology - traits = { - snddg - } - } - promote_leader = yes - } + YUW_shengnvzhende = { + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = fascism_ideology + traits = { + snddg + } + } + promote_leader = yes + } } } } - focus = { id = YUW_hei icon = GFX_focus_rangbaer x = 2 y = 1 relative_position_id = YUW_chongxinshenshiwaijiaozhengce - prerequisite = { focus = YUW_chongxinshenshiwaijiaozhengce } - mutually_exclusive = { focus = YUW_lan focus = YUW_bai } + prerequisite = { + focus = YUW_chongxinshenshiwaijiaozhengce + } + mutually_exclusive = { + focus = YUW_lan + focus = YUW_bai + } cost = 5 available = { - or = { - has_government = fascism - has_completed_focus = YUW_tingshinuhou + OR = { + has_government = fascism + has_completed_focus = YUW_tingshinuhou } } ai_will_do = { @@ -3016,14 +3637,15 @@ focus_tree = { add_political_power = 150 } } - focus = { id = YUW_qingchuzhengzhiduishou icon = GFX_goal_generic_political_pressure x = 1 y = 1 relative_position_id = YUW_daxuan - prerequisite = { focus = YUW_daxuan } + prerequisite = { + focus = YUW_daxuan + } cost = 5 available = { has_idea = YUW_fdp @@ -3033,20 +3655,33 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = -0.05 } - add_popularity = { ideology = fascism popularity = 0.05 } - add_popularity = { ideology = democratic popularity = -0.05 } - add_popularity = { ideology = neutrality popularity = 0.02 } + add_popularity = { + ideology = communism + popularity = -0.05 + } + add_popularity = { + ideology = fascism + popularity = 0.05 + } + add_popularity = { + ideology = democratic + popularity = -0.05 + } + add_popularity = { + ideology = neutrality + popularity = 0.02 + } } } - focus = { id = YUW_waiguojianniangzhichi icon = GFX_goal_tripartite_pact x = 0 y = 1 relative_position_id = YUW_qingchuzhengzhiduishou - prerequisite = { focus = YUW_qingchuzhengzhiduishou } + prerequisite = { + focus = YUW_qingchuzhengzhiduishou + } cost = 5 available = { has_idea = YUW_fdp @@ -3056,23 +3691,42 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = -0.05 } - add_popularity = { ideology = fascism popularity = 0.08 } - add_popularity = { ideology = democratic popularity = -0.05 } - add_popularity = { ideology = neutrality popularity = 0.03 } - add_days_mission_timeout = { mission = YUWdxsj days = 35 } + add_popularity = { + ideology = communism + popularity = -0.05 + } + add_popularity = { + ideology = fascism + popularity = 0.08 + } + add_popularity = { + ideology = democratic + popularity = -0.05 + } + add_popularity = { + ideology = neutrality + popularity = 0.03 + } + add_days_mission_timeout = { + mission = YUWdxsj + days = 35 + } add_political_power = 10 } } - focus = { id = YUW_wangquanyunluo icon = GFX_goal_support_fascism x = 1 y = 1 relative_position_id = YUW_waiguojianniangzhichi - prerequisite = { focus = YUW_waiguojianniangzhichi } - mutually_exclusive = { focus = YUW_zhengquzhendezhichi focus = YUW_jueduiminzhu } + prerequisite = { + focus = YUW_waiguojianniangzhichi + } + mutually_exclusive = { + focus = YUW_zhengquzhendezhichi + focus = YUW_jueduiminzhu + } cost = 10 available = { has_idea = YUW_fdp @@ -3082,22 +3736,39 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = 0.05 } - add_popularity = { ideology = fascism popularity = 0.25 } - add_popularity = { ideology = democratic popularity = -0.07 } - add_popularity = { ideology = neutrality popularity = -0.25 } - add_days_mission_timeout = { mission = YUWdxsj days = 70 } + add_popularity = { + ideology = communism + popularity = 0.05 + } + add_popularity = { + ideology = fascism + popularity = 0.25 + } + add_popularity = { + ideology = democratic + popularity = -0.07 + } + add_popularity = { + ideology = neutrality + popularity = -0.25 + } + add_days_mission_timeout = { + mission = YUWdxsj + days = 70 + } add_political_power = -50 } } - focus = { id = YUW_quebaomanjiuzhichi icon = GFX_focus_secret_rearmament x = -1 y = 1 relative_position_id = YUW_wangquanyunluo - prerequisite = { focus = YUW_wangquanyunluo focus = YUW_zhengquzhendezhichi} + prerequisite = { + focus = YUW_wangquanyunluo + focus = YUW_zhengquzhendezhichi + } cost = 5 available = { has_idea = YUW_fdp @@ -3107,10 +3778,22 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = -0.08 } - add_popularity = { ideology = fascism popularity = 0.15 } - add_popularity = { ideology = democratic popularity = -0.08 } - add_popularity = { ideology = neutrality popularity = 0.02 } + add_popularity = { + ideology = communism + popularity = -0.08 + } + add_popularity = { + ideology = fascism + popularity = 0.15 + } + add_popularity = { + ideology = democratic + popularity = -0.08 + } + add_popularity = { + ideology = neutrality + popularity = 0.02 + } add_political_power = -20 } } @@ -3120,7 +3803,9 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUW_quebaomanjiuzhichi - prerequisite = { focus = YUW_quebaomanjiuzhichi } + prerequisite = { + focus = YUW_quebaomanjiuzhichi + } cost = 5 available = { has_idea = YUW_fdp @@ -3130,11 +3815,26 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = -0.2 } - add_popularity = { ideology = fascism popularity = 0.2 } - add_popularity = { ideology = democratic popularity = 0.05 } - add_popularity = { ideology = neutrality popularity = -0.1 } - add_days_mission_timeout = { mission = YUWdxsj days = 35 } + add_popularity = { + ideology = communism + popularity = -0.2 + } + add_popularity = { + ideology = fascism + popularity = 0.2 + } + add_popularity = { + ideology = democratic + popularity = 0.05 + } + add_popularity = { + ideology = neutrality + popularity = -0.1 + } + add_days_mission_timeout = { + mission = YUWdxsj + days = 35 + } add_political_power = -50 } } @@ -3144,7 +3844,9 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUW_zibenjiazhenxian - prerequisite = { focus = YUW_zibenjiazhenxian } + prerequisite = { + focus = YUW_zibenjiazhenxian + } cost = 5 available = { has_idea = YUW_fdp @@ -3154,11 +3856,26 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = -0.1 } - add_popularity = { ideology = fascism popularity = 0.3 } - add_popularity = { ideology = democratic popularity = -0.1 } - add_popularity = { ideology = neutrality popularity = -0.1 } - add_days_mission_timeout = { mission = YUWdxsj days = 35 } + add_popularity = { + ideology = communism + popularity = -0.1 + } + add_popularity = { + ideology = fascism + popularity = 0.3 + } + add_popularity = { + ideology = democratic + popularity = -0.1 + } + add_popularity = { + ideology = neutrality + popularity = -0.1 + } + add_days_mission_timeout = { + mission = YUWdxsj + days = 35 + } custom_effect_tooltip = YUW_wxmofang add_to_variable = { var = xzmf_sl @@ -3172,13 +3889,19 @@ focus_tree = { x = -1 y = 1 relative_position_id = YUW_waiguojianniangzhichi - prerequisite = { focus = YUW_waiguojianniangzhichi focus = YUW_jianniangminzhuniudai} - mutually_exclusive = { focus = YUW_wangquanyunluo focus = YUW_jueduiminzhu } + prerequisite = { + focus = YUW_waiguojianniangzhichi + focus = YUW_jianniangminzhuniudai + } + mutually_exclusive = { + focus = YUW_wangquanyunluo + focus = YUW_jueduiminzhu + } cost = 10 available = { - or = { - has_idea = YUW_fdp - has_idea = YUW_mzp + OR = { + has_idea = YUW_fdp + has_idea = YUW_mzp } } ai_will_do = { @@ -3186,33 +3909,52 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - if = { - limit = { + if = { + limit = { has_idea = YUW_fdp } - add_popularity = { ideology = communism popularity = -0.2 } - add_popularity = { ideology = fascism popularity = 0.3 } - add_popularity = { ideology = neutrality popularity = 0.15 } + add_popularity = { + ideology = communism + popularity = -0.2 + } + add_popularity = { + ideology = fascism + popularity = 0.3 + } + add_popularity = { + ideology = neutrality + popularity = 0.15 + } } - if = { - limit = { + if = { + limit = { has_idea = YUW_mzp } - add_popularity = { ideology = communism popularity = -0.2 } - add_popularity = { ideology = democratic popularity= 0.3 } - add_popularity = { ideology = neutrality popularity = 0.15 } + add_popularity = { + ideology = communism + popularity = -0.2 + } + add_popularity = { + ideology = democratic + popularity = 0.3 + } + add_popularity = { + ideology = neutrality + popularity = 0.15 + } } - custom_effect_tooltip = "这个国策会随着你支持的政党发生变化。" + custom_effect_tooltip = "这个国策会随着你支持的政党发生变化。" } } - focus = { id = YUW_zhengquxuanpiao icon = GFX_goal_generic_major_alliance x = -1 y = 1 relative_position_id = YUW_daxuan - prerequisite = { focus = YUW_daxuan } + prerequisite = { + focus = YUW_daxuan + } cost = 5 available = { has_idea = YUW_mzp @@ -3222,20 +3964,33 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = -0.03 } - add_popularity = { ideology = fascism popularity = -0.03 } - add_popularity = { ideology = democratic popularity = 0.05 } - add_popularity = { ideology = neutrality popularity = -0.02 } + add_popularity = { + ideology = communism + popularity = -0.03 + } + add_popularity = { + ideology = fascism + popularity = -0.03 + } + add_popularity = { + ideology = democratic + popularity = 0.05 + } + add_popularity = { + ideology = neutrality + popularity = -0.02 + } } } - focus = { id = YUW_jianniangminzhuniudai icon = GFX_goal_generic_improve_relations x = 0 y = 1 relative_position_id = YUW_zhengquxuanpiao - prerequisite = { focus = YUW_zhengquxuanpiao } + prerequisite = { + focus = YUW_zhengquxuanpiao + } cost = 5 available = { has_idea = YUW_mzp @@ -3245,23 +4000,42 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = -0.05 } - add_popularity = { ideology = fascism popularity = -0.05 } - add_popularity = { ideology = democratic popularity = 0.1 } - add_popularity = { ideology = neutrality popularity = -0.03 } + add_popularity = { + ideology = communism + popularity = -0.05 + } + add_popularity = { + ideology = fascism + popularity = -0.05 + } + add_popularity = { + ideology = democratic + popularity = 0.1 + } + add_popularity = { + ideology = neutrality + popularity = -0.03 + } add_political_power = 10 - add_days_mission_timeout = { mission = YUWdxsj days = -35 } + add_days_mission_timeout = { + mission = YUWdxsj + days = -35 + } } } - focus = { id = YUW_jueduiminzhu icon = GFX_goal_support_democracy x = -1 y = 1 relative_position_id = YUW_jianniangminzhuniudai - prerequisite = { focus = YUW_jianniangminzhuniudai } - mutually_exclusive = { focus = YUW_zhengquzhendezhichi focus = YUW_wangquanyunluo } + prerequisite = { + focus = YUW_jianniangminzhuniudai + } + mutually_exclusive = { + focus = YUW_zhengquzhendezhichi + focus = YUW_wangquanyunluo + } cost = 10 available = { has_idea = YUW_mzp @@ -3271,22 +4045,39 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = -0.05 } - add_popularity = { ideology = fascism popularity = -0.15 } - add_popularity = { ideology = democratic popularity = 0.25 } - add_popularity = { ideology = neutrality popularity = -0.15 } + add_popularity = { + ideology = communism + popularity = -0.05 + } + add_popularity = { + ideology = fascism + popularity = -0.15 + } + add_popularity = { + ideology = democratic + popularity = 0.25 + } + add_popularity = { + ideology = neutrality + popularity = -0.15 + } add_political_power = -50 - add_days_mission_timeout = { mission = YUWdxsj days = 35 } + add_days_mission_timeout = { + mission = YUWdxsj + days = 35 + } } } - focus = { id = YUW_xiangtidudanbao icon = GFX_focus_generic_military_mission x = 1 y = 1 relative_position_id = YUW_jueduiminzhu - prerequisite = { focus = YUW_jueduiminzhu focus = YUW_zhengquzhendezhichi } + prerequisite = { + focus = YUW_jueduiminzhu + focus = YUW_zhengquzhendezhichi + } cost = 5 available = { has_idea = YUW_mzp @@ -3296,21 +4087,34 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = -0.05 } - add_popularity = { ideology = fascism popularity = -0.05 } - add_popularity = { ideology = democratic popularity = 0.08 } - add_popularity = { ideology = neutrality popularity = -0.05 } + add_popularity = { + ideology = communism + popularity = -0.05 + } + add_popularity = { + ideology = fascism + popularity = -0.05 + } + add_popularity = { + ideology = democratic + popularity = 0.08 + } + add_popularity = { + ideology = neutrality + popularity = -0.05 + } add_political_power = -20 } } - focus = { id = YUW_gongrenyushimin icon = GFX_goal_generic_national_unity x = 0 y = 1 relative_position_id = YUW_xiangtidudanbao - prerequisite = { focus = YUW_xiangtidudanbao } + prerequisite = { + focus = YUW_xiangtidudanbao + } cost = 5 available = { has_idea = YUW_mzp @@ -3320,21 +4124,37 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = 0.05 } - add_popularity = { ideology = fascism popularity = -0.1 } - add_popularity = { ideology = democratic popularity = 0.2 } - add_popularity = { ideology = neutrality popularity = -0.1 } - add_days_mission_timeout = { mission = YUWdxsj days = -35 } + add_popularity = { + ideology = communism + popularity = 0.05 + } + add_popularity = { + ideology = fascism + popularity = -0.1 + } + add_popularity = { + ideology = democratic + popularity = 0.2 + } + add_popularity = { + ideology = neutrality + popularity = -0.1 + } + add_days_mission_timeout = { + mission = YUWdxsj + days = -35 + } } } - focus = { id = YUW_gongpiongxuanju icon = GFX_goal_tfv_strengthen_commonwealth_ties x = 0 y = 1 relative_position_id = YUW_gongrenyushimin - prerequisite = { focus = YUW_gongrenyushimin } + prerequisite = { + focus = YUW_gongrenyushimin + } cost = 5 available = { has_idea = YUW_mzp @@ -3344,14 +4164,28 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_popularity = { ideology = communism popularity = 0.05 } - add_popularity = { ideology = fascism popularity = 0.05 } - add_popularity = { ideology = democratic popularity = 0.3 } - add_popularity = { ideology = neutrality popularity = 0.05 } - add_days_mission_timeout = { mission = YUWdxsj days = -70 } + add_popularity = { + ideology = communism + popularity = 0.05 + } + add_popularity = { + ideology = fascism + popularity = 0.05 + } + add_popularity = { + ideology = democratic + popularity = 0.3 + } + add_popularity = { + ideology = neutrality + popularity = 0.05 + } + add_days_mission_timeout = { + mission = YUWdxsj + days = -70 + } } } - focus = { id = YUW_jiuciweizhiderongren icon = GFX_focus_focus_fra_fascist_threat @@ -3359,51 +4193,68 @@ focus_tree = { y = 0 relative_position_id = YUW_jichujianshe cost = 3 - available = { is_puppet = no - or = { - not = { has_completed_focus = YUW_shenshengshiming } - has_country_flag = lyjs_fubibeituifan + OR = { + NOT = { + has_completed_focus = YUW_shenshengshiming + } + has_country_flag = lyjs_fubibeituifan } - not = { has_completed_focus = YUW_buliuxuedeneizhan } - not = {has_idea = YUW_hldzf1 has_idea = YUW_hldzf2 has_idea = YUW_hldzf3 } - not = {has_completed_focus = YUW_jiuguoxingdong} - or = { - not = {has_completed_focus = YUW_tiqianxuanju} - has_completed_focus = YUW_jingjigaige + NOT = { + has_completed_focus = YUW_buliuxuedeneizhan } - or = { - not = {has_completed_focus = YUW_zhidugeming} - has_government = neutrality - has_global_flag = MOD_azurlane_sairenzhizai + NOT = { + has_idea = YUW_hldzf1 + has_idea = YUW_hldzf2 + has_idea = YUW_hldzf3 + } + NOT = { + has_completed_focus = YUW_jiuguoxingdong + } + OR = { + NOT = { + has_completed_focus = YUW_tiqianxuanju + } + has_completed_focus = YUW_jingjigaige + } + OR = { + NOT = { + has_completed_focus = YUW_zhidugeming + } + has_government = neutrality + has_global_flag = MOD_azurlane_sairenzhizai + } + NOT = { + has_completed_focus = YUW_fensuizuoyipanluan } - not = { has_completed_focus = YUW_fensuizuoyipanluan } } bypass = { - or = { - if = { - has_completed_focus = YUW_buliuxuedeneizhan - has_government = neutrality - } - if = { - date > 1938.1.1 - has_completed_focus = YUW_tiqianxuanju - has_completed_focus = YUW_chedijingjigaige - } - if = { - has_completed_focus = YUW_rushensuoyuan - } - if = { - has_completed_focus = YUW_chongjianwangguo - not = { has_country_flag = lyjs_fubibeituifan } - } - if = { - has_completed_focus = YUW_zhanxinyuanwei - } - if = { - has_completed_focus = YUW_xingyunqiyuan - } + OR = { + if = { + has_completed_focus = YUW_buliuxuedeneizhan + has_government = neutrality + } + if = { + date > 1938.1.1 + has_completed_focus = YUW_tiqianxuanju + has_completed_focus = YUW_chedijingjigaige + } + if = { + has_completed_focus = YUW_rushensuoyuan + } + if = { + has_completed_focus = YUW_chongjianwangguo + NOT = { + has_country_flag = lyjs_fubibeituifan + } + } + if = { + has_completed_focus = YUW_zhanxinyuanwei + } + if = { + has_completed_focus = YUW_xingyunqiyuan + } } } ai_will_do = { @@ -3421,38 +4272,47 @@ focus_tree = { } if = { limit = { - has_government = democratic + has_government = democratic + } + add_popularity = { + ideology = democratic + popularity = 0.2 } - add_popularity = { ideology = democratic popularity = 0.2 } } if = { limit = { - has_government = fascism + has_government = fascism + } + add_popularity = { + ideology = fascism + popularity = 0.2 } - add_popularity = { ideology = fascism popularity = 0.2 } } custom_effect_tooltip = "现在我们应该摒弃前嫌,共同向前。这个国策将移除分崩离析决议和民族精神。" add_stability = -0.2 set_country_flag = YUW_dangerclear hidden_effect = { - remove_ideas = { YUW_fblx YUW_fblx_lisailiu YUW_fblx_rangbaer } + remove_ideas = { + YUW_fblx + YUW_fblx_lisailiu + YUW_fblx_rangbaer + } } } } - focus = { id = YUW_gongfangzhuanhuan icon = GFX_focus_eng_special_air_service x = 0 y = 1 - prerequisite = { focus = YUW_jiuciweizhiderongren } + prerequisite = { + focus = YUW_jiuciweizhiderongren + } relative_position_id = YUW_jiuciweizhiderongren cost = 5 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_war_support = 0.3 @@ -3468,25 +4328,31 @@ focus_tree = { } x = -2 y = 1 - prerequisite = { focus = YUW_gongfangzhuanhuan } + prerequisite = { + focus = YUW_gongfangzhuanhuan + } relative_position_id = YUW_gongfangzhuanhuan available = { has_war_with = SIR } cost = 7 - ai_will_do = { factor = 50 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - 165 = { add_core_of = YUW } - 794 = { add_core_of = YUW } - 167 = { add_core_of = YUW } + 165 = { + add_core_of = YUW + } + 794 = { + add_core_of = YUW + } + 167 = { + add_core_of = YUW + } custom_effect_tooltip = "五个先遣师登陆巴塞罗那" hidden_effect = { - load_oob = "YUW_huanjinbandao" + load_oob = "YUW_huanjinbandao" } } } @@ -3495,14 +4361,14 @@ focus_tree = { icon = GFX_focus_generic_commonwealth_build_infantry x = 0 y = 1 - prerequisite = { focus = YUW_huangjinbandao_sr } + prerequisite = { + focus = YUW_huangjinbandao_sr + } relative_position_id = YUW_huangjinbandao_sr cost = 5 - ai_will_do = { factor = 15 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = "10支国民义勇师加入我们" @@ -3519,7 +4385,9 @@ focus_tree = { allow_branch = { has_global_flag = MOD_azurlane_sairenzhizai } - prerequisite = { focus = YUW_gongfangzhuanhuan } + prerequisite = { + focus = YUW_gongfangzhuanhuan + } relative_position_id = YUW_gongfangzhuanhuan available = { has_war_with = SIR @@ -3528,14 +4396,14 @@ focus_tree = { country_exists = SAD } cost = 7 - ai_will_do = { factor = 50 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - 2 = { add_core_of = YUW } + 2 = { + add_core_of = YUW + } custom_effect_tooltip = "三个先遣师登陆罗马" hidden_effect = { load_oob = "YUW_jiaotingjiudi" @@ -3547,20 +4415,20 @@ focus_tree = { icon = GFX_focus_generic_little_entente x = 0 y = 1 - prerequisite = { focus = YUW_jiaotingjiudi_sr } + prerequisite = { + focus = YUW_jiaotingjiudi_sr + } relative_position_id = YUW_jiaotingjiudi_sr cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_rmzx } } -#tianjiangmod + #tianjiangmod focus = { id = YUW_huangjinbandao icon = GFX_focus_luoxiya @@ -3569,62 +4437,69 @@ focus_tree = { allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } - prerequisite = { focus = YUW_gongfangzhuanhuan } + prerequisite = { + focus = YUW_gongfangzhuanhuan + } relative_position_id = YUW_gongfangzhuanhuan available = { is_puppet = no communism > 0.3 BFL = { - has_government = communism - has_opinion = { target = YUW value > 50 } + has_government = communism + has_opinion = { + target = YUW + value > 50 + } } } cost = 7 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - - YUW = {give_guarantee = BFL } - - BFL = { - give_guarantee = YUW + YUW = { + give_guarantee = BFL + } + BFL = { + give_guarantee = YUW } - } } - - focus = { id = YUW_cujinzhanzheng icon = GFX_focus_por_workers_of_iberia x = 0 y = 1 - prerequisite = { focus = YUW_huangjinbandao } + prerequisite = { + focus = YUW_huangjinbandao + } relative_position_id = YUW_huangjinbandao available = { is_puppet = no communism > 0.6 - not = { is_in_faction_with = HUJ } + NOT = { + is_in_faction_with = HUJ + } BFL = { - has_government = communism - has_opinion = { target = YUW value > 60 } + has_government = communism + has_opinion = { + target = YUW + value > 60 + } } custom_trigger_tooltip = { tooltip = "共产联盟存在" has_global_flag = BFL_created_gongchanlianmeng - BFL = { is_faction_leader = yes } + BFL = { + is_faction_leader = yes + } } } cost = 10 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { BFL = { @@ -3634,121 +4509,164 @@ focus_tree = { } add_war_support = 0.1 add_stability = 0.1 - } } - focus = { id = YUW_ouzhouxiongji icon = GFX_focus_fra_french_union x = 0 y = 1 - prerequisite = { focus = YUW_gongfangzhuanhuan } + prerequisite = { + focus = YUW_gongfangzhuanhuan + } relative_position_id = YUW_gongfangzhuanhuan available_if_capitulated = yes - cost = 5 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { - limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } add_stability = 0.3 add_war_support = 0.5 - add_political_power =300 + add_political_power = 300 } else = { custom_effect_tooltip = "获得旧鸢尾国全部核心,并成为普罗旺斯和朗格多克的控制者与拥有者。" #custom_effect_tooltip = "六个先遣师登陆旧鸢尾国南部沿海" if = { - limit = { - or = { - has_government = fascism - has_government = neutrality - } - } - add_ideas = YUW_zmyj + limit = { + OR = { + has_government = fascism + has_government = neutrality + } + } + add_ideas = YUW_zmyj } hidden_effect = { #load_oob = "YUW_ouzhouxiongji" - 735 = { add_core_of = YUW } - 21 = { add_core_of = YUW } - 22 = { add_core_of = YUW } - 32 = { add_core_of = YUW } - 20 = { add_core_of = YUW } - 26 = { add_core_of = YUW } - 25 = { add_core_of = YUW } - 31 = { add_core_of = YUW } - 19 = { add_core_of = YUW } - 23 = { add_core_of = YUW } - 33 = { add_core_of = YUW } - 17 = { add_core_of = YUW } - 27 = { add_core_of = YUW } - 14 = { add_core_of = YUW } - 30 = { add_core_of = YUW } - 24 = { add_core_of = YUW } - 15 = { add_core_of = YUW } - 16 = { add_core_of = YUW } - 18 = { add_core_of = YUW } - 785 = { add_core_of = YUW } - 29 = { add_core_of = YUW } - 28 = { add_core_of = YUW } + 735 = { + add_core_of = YUW + } + 21 = { + add_core_of = YUW + } + 22 = { + add_core_of = YUW + } + 32 = { + add_core_of = YUW + } + 20 = { + add_core_of = YUW + } + 26 = { + add_core_of = YUW + } + 25 = { + add_core_of = YUW + } + 31 = { + add_core_of = YUW + } + 19 = { + add_core_of = YUW + } + 23 = { + add_core_of = YUW + } + 33 = { + add_core_of = YUW + } + 17 = { + add_core_of = YUW + } + 27 = { + add_core_of = YUW + } + 14 = { + add_core_of = YUW + } + 30 = { + add_core_of = YUW + } + 24 = { + add_core_of = YUW + } + 15 = { + add_core_of = YUW + } + 16 = { + add_core_of = YUW + } + 18 = { + add_core_of = YUW + } + 785 = { + add_core_of = YUW + } + 29 = { + add_core_of = YUW + } + 28 = { + add_core_of = YUW + } transfer_state = 21 transfer_state = 22 } } } } - focus = { id = YUW_zhongcheng icon = GFX_focus_usa_honor_the_confederacy x = -1 y = 2 - prerequisite = { focus = YUW_ouzhouxiongji } + prerequisite = { + focus = YUW_ouzhouxiongji + } relative_position_id = YUW_ouzhouxiongji available_if_capitulated = yes cost = 2 available = { - or = { - has_government = communism - has_government = fascism - has_completed_focus = YUW_bai - has_completed_focus = YUW_chuantongzhuyidebaquan - has_completed_focus = YUW_chedijingjigaige - not = { has_completed_focus = YUW_rushensuoyuan } - has_idea = TY_fengkuangAI + OR = { + has_government = communism + has_government = fascism + has_completed_focus = YUW_bai + has_completed_focus = YUW_chuantongzhuyidebaquan + has_completed_focus = YUW_chedijingjigaige + NOT = { + has_completed_focus = YUW_rushensuoyuan + } + has_idea = TY_fengkuangAI + } } - } - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_zc } } - focus = { id = YUW_zhanluoshengxiang icon = GFX_focus_up_joan_of_arc x = -1 y = 1 - prerequisite = { focus = YUW_zhongcheng } - relative_position_id = YUW_zhongcheng + prerequisite = { + focus = YUW_zhongcheng + } + relative_position_id = YUW_zhongcheng available_if_capitulated = yes cost = 2 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -3762,9 +4680,9 @@ focus_tree = { } if = { limit = { - or = { - has_government = fascism - has_government = neutrality + OR = { + has_government = fascism + has_government = neutrality } } add_country_leader_trait = zhdrg @@ -3776,23 +4694,24 @@ focus_tree = { icon = GFX_focus_generic_home_defense x = 1 y = 2 - prerequisite = { focus = YUW_ouzhouxiongji} + prerequisite = { + focus = YUW_ouzhouxiongji + } relative_position_id = YUW_ouzhouxiongji - available_if_capitulated = yes + available_if_capitulated = yes cost = 2 available = { - or = { - has_government = democratic - has_government = neutrality - has_completed_focus = YUW_tuanjieweixixingdong - has_completed_focus = YUW_chedijingjigaige - has_completed_focus = YUW_rushensuoyuan - } + OR = { + has_government = democratic + has_government = neutrality + has_completed_focus = YUW_tuanjieweixixingdong + has_completed_focus = YUW_chedijingjigaige + has_completed_focus = YUW_rushensuoyuan + } } ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_xy @@ -3803,27 +4722,69 @@ focus_tree = { icon = GFX_focus_focus_fra_national_resistance_council x = -1 y = 1 - prerequisite = { focus = YUW_xinyang focus = YUW_zhongcheng} + prerequisite = { + focus = YUW_xinyang + focus = YUW_zhongcheng + } relative_position_id = YUW_xinyang available_if_capitulated = yes cost = 3 available = { - not = {has_country_leader = { ruling_only = yes name = "让巴尔" }} - not = {has_country_leader = { ruling_only = yes name = "敦刻尔克" }} - not = {has_country_leader = { ruling_only = yes name = "恶毒酱" }} - not = {has_country_leader = { ruling_only = yes name = "凯旋" }} - not = {has_country_leader = { ruling_only = yes name = "霞飞" }} - not = {has_country_leader = { ruling_only = yes name = "路易九世" }} - not = {has_country_leader = { ruling_only = yes name = "拉·加利索尼埃" }} - not = {has_country_leader = { ruling_only = yes name = "伴尔维" }} - not = { - has_government = communism - } + NOT = { + has_country_leader = { + ruling_only = yes + name = "让巴尔" + } + } + NOT = { + has_country_leader = { + ruling_only = yes + name = "敦刻尔克" + } + } + NOT = { + has_country_leader = { + ruling_only = yes + name = "恶毒酱" + } + } + NOT = { + has_country_leader = { + ruling_only = yes + name = "凯旋" + } + } + NOT = { + has_country_leader = { + ruling_only = yes + name = "霞飞" + } + } + NOT = { + has_country_leader = { + ruling_only = yes + name = "路易九世" + } + } + NOT = { + has_country_leader = { + ruling_only = yes + name = "拉·加利索尼埃" + } + } + NOT = { + has_country_leader = { + ruling_only = yes + name = "伴尔维" + } + } + NOT = { + has_government = communism + } } ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -3843,7 +4804,6 @@ focus_tree = { } } add_country_leader_trait = alszz - } } } @@ -3852,15 +4812,15 @@ focus_tree = { icon = GFX_focus_spr_torchbearers_of_tomorrow x = 1 y = 1 - prerequisite = { focus = YUW_xinyang } + prerequisite = { + focus = YUW_xinyang + } relative_position_id = YUW_xinyang available_if_capitulated = yes cost = 2 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { @@ -3869,8 +4829,7 @@ focus_tree = { } } } - -#tianjiangmod + #tianjiangmod focus = { id = YUW_yanchangfangxian icon = GFX_focus_generic_coastal_fort @@ -3879,7 +4838,9 @@ focus_tree = { } x = 2 y = 1 - prerequisite = { focus = YUW_gongfangzhuanhuan } + prerequisite = { + focus = YUW_gongfangzhuanhuan + } relative_position_id = YUW_gongfangzhuanhuan available = { is_puppet = no @@ -3888,15 +4849,17 @@ focus_tree = { controls_state = 785 } bypass = { - not = {controls_state = 16} + NOT = { + controls_state = 16 + } } cost = 15 - ai_will_do = { factor = 100 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { 18 = { add_building_construction = { @@ -3911,7 +4874,6 @@ focus_tree = { instant_build = yes province = 5291 } - add_building_construction = { type = bunker level = 4 @@ -3941,41 +4903,48 @@ focus_tree = { } } } - focus = { id = YUW_jiaotingjiudi icon = GFX_focus_yilishabai2 x = 0 y = 1 - prerequisite = { focus = YUW_yanchangfangxian } + prerequisite = { + focus = YUW_yanchangfangxian + } relative_position_id = YUW_yanchangfangxian available = { is_puppet = no has_government = democratic HUJ = { - has_government = democratic - has_opinion = { target = YUW value > 9 } + has_government = democratic + has_opinion = { + target = YUW + value > 9 + } } } bypass = { is_in_faction_with = HUJ } cost = 5 - ai_will_do = { factor = 100 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { guojishengyu_up_5 = yes HUJ = { add_to_faction = YUW give_guarantee = YUW } - give_guarantee = HUJ + give_guarantee = HUJ hidden_effect = { - news_event = { id = az_tianjiang.36 days = 1} + news_event = { + id = az_tianjiang.36 + days = 1 + } } } } @@ -3984,77 +4953,74 @@ focus_tree = { icon = GFX_focus_generic_little_entente x = 0 y = 1 - prerequisite = { focus = YUW_ouzhouxiongji } - relative_position_id = YUW_ouzhouxiongji + prerequisite = { + focus = YUW_ouzhouxiongji + } + relative_position_id = YUW_ouzhouxiongji available_if_capitulated = yes cost = 10 allow_branch = { has_global_flag = MOD_azurlane_tianjiangjianniang } available = { - or = { - date > 1940.10.1 - has_completed_focus = YUW_chedijingjigaige - has_completed_focus = YUW_rushensuoyuan - } - or = { - has_war_with = TIX - has_war_with = SAD - has_war_with = HUJ - has_war_with = BFL - has_completed_focus = YUW_chedijingjigaige - has_completed_focus = YUW_rushensuoyuan - } + OR = { + date > 1940.10.1 + has_completed_focus = YUW_chedijingjigaige + has_completed_focus = YUW_rushensuoyuan + } + OR = { + has_war_with = TIX + has_war_with = SAD + has_war_with = HUJ + has_war_with = BFL + has_completed_focus = YUW_chedijingjigaige + has_completed_focus = YUW_rushensuoyuan + } } ai_will_do = { factor = 0 modifier = { - or = { - date > 1941.1.1 - has_capitulated = yes - } - add = 100 + OR = { + date > 1941.1.1 + has_capitulated = yes + } + add = 100 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_rmzx - swap_ideas = { - remove_idea = YUW_zbbz - add_idea = YUW_zzzz + remove_idea = YUW_zbbz + add_idea = YUW_zzzz } } } - focus = { id = YUW_jichujianshe icon = GFX_goal_generic_construct_infrastructure x = 3 y = 0 - cost = 5 - ai_will_do = { factor = 80 } available = { - or = { - has_completed_focus = YUW_womendengbujile - has_completed_focus = YUW_hanweiminzhu - has_completed_focus = YUW_weixixingdong1 - has_completed_focus = YUW_qiangpojueze - has_completed_focus = YUW_buliuxuedeneizhan - has_completed_focus = YUW_jiuciweizhiderongren - has_completed_focus = YUW_rangbaerdemingling - has_completed_focus = YUW_chedijingjigaige - has_completed_focus = YUW_rushensuoyuan - has_completed_focus = YUW_chongjianwangguo - has_completed_focus = YUW_xingyunqiyuan - has_completed_focus = YUW_yuwengdeli - has_completed_focus = YUW_weiyouzhandou - } + OR = { + has_completed_focus = YUW_womendengbujile + has_completed_focus = YUW_hanweiminzhu + has_completed_focus = YUW_weixixingdong1 + has_completed_focus = YUW_qiangpojueze + has_completed_focus = YUW_buliuxuedeneizhan + has_completed_focus = YUW_jiuciweizhiderongren + has_completed_focus = YUW_rangbaerdemingling + has_completed_focus = YUW_chedijingjigaige + has_completed_focus = YUW_rushensuoyuan + has_completed_focus = YUW_chongjianwangguo + has_completed_focus = YUW_xingyunqiyuan + has_completed_focus = YUW_yuwengdeli + has_completed_focus = YUW_weiyouzhandou + } } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { @@ -4067,12 +5033,12 @@ focus_tree = { } build_railway = { level = 1 - start_province = 11548 + start_province = 11548 target_province = 11506 } build_railway = { level = 1 - start_province = 9503 + start_province = 9503 target_province = 11506 } build_railway = { @@ -4082,33 +5048,34 @@ focus_tree = { } build_railway = { level = 1 - start_province = 743 + start_province = 743 target_province = 11506 } build_railway = { level = 1 - start_province = 6960 + start_province = 6960 target_province = 11506 } } } - focus = { id = YUW_shutonghangxian icon = GFX_goal_generic_positive_trade_relations x = -2 y = 1 relative_position_id = YUW_jichujianshe - prerequisite = { focus = YUW_jichujianshe } - + prerequisite = { + focus = YUW_jichujianshe + } cost = 2 bypass = { - not = {has_idea = YUW_hddqr} + NOT = { + has_idea = YUW_hddqr + } } ai_will_do = { factor = 80 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.1 @@ -4121,17 +5088,24 @@ focus_tree = { x = -1 y = 1 relative_position_id = YUW_shutonghangxian - prerequisite = { focus = YUW_shutonghangxian } - mutually_exclusive = { focus = YUW_zhaoanhaidao } + prerequisite = { + focus = YUW_shutonghangxian + } + mutually_exclusive = { + focus = YUW_zhaoanhaidao + } cost = 5 bypass = { - not = {has_idea = YUW_hddqr} + NOT = { + has_idea = YUW_hddqr + } } ai_will_do = { factor = 90 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { guojishengyu_up_3 = yes army_experience = 150 @@ -4146,26 +5120,34 @@ focus_tree = { x = 1 y = 1 relative_position_id = YUW_shutonghangxian - prerequisite = { focus = YUW_shutonghangxian } - mutually_exclusive = { focus = YUW_qingjiaohaidao } + prerequisite = { + focus = YUW_shutonghangxian + } + mutually_exclusive = { + focus = YUW_qingjiaohaidao + } cost = 5 bypass = { - not = {has_idea = YUW_hddqr} + NOT = { + has_idea = YUW_hddqr + } } ai_will_do = { factor = 20 modifier = { - has_government = fascism - add = 100 + has_government = fascism + add = 100 } } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_3 = yes remove_ideas = YUW_hddqr add_ideas = YUW_bhhds - add_timed_idea = { idea = YUW_nmyr days = 90 } + add_timed_idea = { + idea = YUW_nmyr + days = 90 + } } } focus = { @@ -4174,14 +5156,13 @@ focus_tree = { x = 2 y = 1 relative_position_id = YUW_jichujianshe - prerequisite = { focus = YUW_jichujianshe } - + prerequisite = { + focus = YUW_jichujianshe + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_owned_controlled_state = { @@ -4197,7 +5178,7 @@ focus_tree = { add_building_construction = { type = industrial_complex level = 3 - instant_build = yes + instant_build = yes } } } @@ -4208,14 +5189,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUW_zhudaojianshe - prerequisite = { focus = YUW_zhudaojianshe } - + prerequisite = { + focus = YUW_zhudaojianshe + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { random_owned_controlled_state = { @@ -4231,7 +5211,7 @@ focus_tree = { add_building_construction = { type = arms_factory level = 3 - instant_build = yes + instant_build = yes } } } @@ -4242,11 +5222,18 @@ focus_tree = { x = 1 y = 1 relative_position_id = YUW_zhaoanhaidao - prerequisite = { focus = YUW_zhaoanhaidao focus = YUW_qingjiaohaidao } - prerequisite = { focus = YUW_jungongchang } + prerequisite = { + focus = YUW_zhaoanhaidao + focus = YUW_qingjiaohaidao + } + prerequisite = { + focus = YUW_jungongchang + } cost = 5 available = { - not = {has_idea = YUW_jjbk} + NOT = { + has_idea = YUW_jjbk + } } bypass = { has_idea = YUW_jjfs @@ -4254,7 +5241,6 @@ focus_tree = { ai_will_do = { factor = 8 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_jjfs @@ -4266,13 +5252,13 @@ focus_tree = { x = -2 y = 1 relative_position_id = YUW_dizhonghaijingjiquan - prerequisite = { focus = YUW_dizhonghaijingjiquan } + prerequisite = { + focus = YUW_dizhonghaijingjiquan + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_hldfp @@ -4284,13 +5270,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUW_dizhonghaijingjiquan - prerequisite = { focus = YUW_dizhonghaijingjiquan } + prerequisite = { + focus = YUW_dizhonghaijingjiquan + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_ywgjy @@ -4302,13 +5288,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUW_keyanrencai - prerequisite = { focus = YUW_keyanrencai } + prerequisite = { + focus = YUW_keyanrencai + } cost = 8 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_research_slot = 1 @@ -4320,13 +5306,13 @@ focus_tree = { x = -2 y = 1 relative_position_id = YUW_guojiakexueyuan - prerequisite = { focus = YUW_guojiakexueyuan } + prerequisite = { + focus = YUW_guojiakexueyuan + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -4343,13 +5329,13 @@ focus_tree = { x = 2 y = 1 relative_position_id = YUW_guojiakexueyuan - prerequisite = { focus = YUW_guojiakexueyuan } + prerequisite = { + focus = YUW_guojiakexueyuan + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -4367,16 +5353,16 @@ focus_tree = { y = 1 relative_position_id = YUW_yongwangzhiqian available = { - or = { - has_completed_focus = YUW_jiuciweizhiderongren - has_completed_focus = YUW_buliuxuedeneizhan - has_completed_focus = YUW_yuanweikuozhangzhuyi - has_completed_focus = YUW_chedijingjigaige - has_completed_focus = YUW_qishituandedashengzhan - has_completed_focus = YUW_chongjianwangguo - has_completed_focus = YUW_xingyunqiyuan - has_completed_focus = YUW_yuwengdeli - has_completed_focus = YUW_weiyouzhandou + OR = { + has_completed_focus = YUW_jiuciweizhiderongren + has_completed_focus = YUW_buliuxuedeneizhan + has_completed_focus = YUW_yuanweikuozhangzhuyi + has_completed_focus = YUW_chedijingjigaige + has_completed_focus = YUW_qishituandedashengzhan + has_completed_focus = YUW_chongjianwangguo + has_completed_focus = YUW_xingyunqiyuan + has_completed_focus = YUW_yuwengdeli + has_completed_focus = YUW_weiyouzhandou } } cost = 5 @@ -4386,13 +5372,10 @@ focus_tree = { ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - - add_ideas = YUW_jgyfs - - } + add_ideas = YUW_jgyfs + } } focus = { id = YUW_henengyanjiu @@ -4400,13 +5383,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUW_guojiakexueyuan - prerequisite = { focus = YUW_guojiakexueyuan } + prerequisite = { + focus = YUW_guojiakexueyuan + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -4424,13 +5407,13 @@ focus_tree = { x = 2 y = 1 relative_position_id = YUW_dizhonghaijingjiquan - prerequisite = { focus = YUW_dizhonghaijingjiquan } + prerequisite = { + focus = YUW_dizhonghaijingjiquan + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_ywgfl @@ -4442,13 +5425,13 @@ focus_tree = { x = -3 y = 1 relative_position_id = YUW_chongzhengjunbei - prerequisite = { focus = YUW_chongzhengjunbei } + prerequisite = { + focus = YUW_chongzhengjunbei + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -4466,13 +5449,13 @@ focus_tree = { x = -1 y = 1 relative_position_id = YUW_lujunzhuangbei - prerequisite = { focus = YUW_lujunzhuangbei } + prerequisite = { + focus = YUW_lujunzhuangbei + } cost = 8 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -4489,13 +5472,13 @@ focus_tree = { x = 1 y = 1 relative_position_id = YUW_lujunzhuangbei - prerequisite = { focus = YUW_lujunzhuangbei } + prerequisite = { + focus = YUW_lujunzhuangbei + } cost = 8 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -4512,13 +5495,13 @@ focus_tree = { x = 1 y = 1 relative_position_id = YUW_zhuangjiakeji - prerequisite = { focus = YUW_zhuangjiakeji } + prerequisite = { + focus = YUW_zhuangjiakeji + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = -150 @@ -4537,21 +5520,24 @@ focus_tree = { x = -1 y = 1 relative_position_id = YUW_zhuangjiakeji - prerequisite = { focus = YUW_zhuangjiakeji } - prerequisite = { focus = YUW_jidonghuazhuangbei } + prerequisite = { + focus = YUW_zhuangjiakeji + } + prerequisite = { + focus = YUW_jidonghuazhuangbei + } cost = 10 available = { - or = { - has_completed_focus = YUW_renminzhenxian - has_completed_focus = YUW_laiyinlanhuozhanzheng - has_war_with = BFL - has_war_support > 1.2 + OR = { + has_completed_focus = YUW_renminzhenxian + has_completed_focus = YUW_laiyinlanhuozhanzheng + has_war_with = BFL + has_war_support > 1.2 } } ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { @@ -4568,33 +5554,39 @@ focus_tree = { x = -1 y = 1 relative_position_id = YUW_lujunlilun - prerequisite = { focus = YUW_lujunlilun } - mutually_exclusive = { focus = YUW_yundongzhan } + prerequisite = { + focus = YUW_lujunlilun + } + mutually_exclusive = { + focus = YUW_yundongzhan + } cost = 8 - ai_will_do = { factor = 10 } - - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { add_ideas = YUW_fyz } } focus = { id = YUW_yundongzhan - icon = GFX_goal_generic_cavalry + icon = GFX_goal_generic_cavalry x = 1 y = 1 relative_position_id = YUW_lujunlilun - prerequisite = { focus = YUW_lujunlilun } - mutually_exclusive = { focus = YUW_fangyuzhan } + prerequisite = { + focus = YUW_lujunlilun + } + mutually_exclusive = { + focus = YUW_fangyuzhan + } cost = 8 - ai_will_do = { factor = 0 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_ydz @@ -4602,38 +5594,48 @@ focus_tree = { } focus = { id = YUW_liluntupo - icon = GFX_goal_generic_cavalry + icon = GFX_goal_generic_cavalry x = 1 y = 1 relative_position_id = YUW_fangyuzhan - prerequisite = { focus = YUW_fangyuzhan focus = YUW_yundongzhan } - + prerequisite = { + focus = YUW_fangyuzhan + focus = YUW_yundongzhan + } cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = "允许解锁第二条陆军学说路线" if = { - limit = { - is_ai = yes + limit = { + is_ai = yes + } + set_technology = { + mobile_warfare = 1 + } + set_technology = { + mechanised_infantry = 1 + } } - set_technology = { mobile_warfare = 1 } - set_technology = { mechanised_infantry = 1 } - }else = { - set_country_flag = TY_army_liluntupo + else = { + set_country_flag = TY_army_liluntupo } if = { - limit = { - is_ai = yes - has_completed_focus = YUW_dayuanshuaiwlaile + limit = { + is_ai = yes + has_completed_focus = YUW_dayuanshuaiwlaile + } + set_technology = { + superior_firepower = 1 + } } - set_technology = { superior_firepower = 1 } + set_technology = { + backhand_blow_for_yuw = 1 + popup = no } - set_technology = { backhand_blow_for_yuw = 1 popup = no } } } focus = { @@ -4642,13 +5644,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUW_chongzhengjunbei - prerequisite = { focus = YUW_chongzhengjunbei } + prerequisite = { + focus = YUW_chongzhengjunbei + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { air_experience = 50 @@ -4664,13 +5666,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUW_kongjunjianshe - prerequisite = { focus = YUW_kongjunjianshe } + prerequisite = { + focus = YUW_kongjunjianshe + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_kongjunliluntupo = yes @@ -4688,13 +5690,13 @@ focus_tree = { x = 3 y = 1 relative_position_id = YUW_chongzhengjunbei - prerequisite = { focus = YUW_chongzhengjunbei } + prerequisite = { + focus = YUW_chongzhengjunbei + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 50 @@ -4710,13 +5712,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUW_haijunweihu - prerequisite = { focus = YUW_haijunweihu } + prerequisite = { + focus = YUW_haijunweihu + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_haijunliluntupo = yes @@ -4734,13 +5736,13 @@ focus_tree = { x = -1 y = 2 relative_position_id = YUW_haijunweihu - prerequisite = { focus = YUW_haijunweihu } + prerequisite = { + focus = YUW_haijunweihu + } cost = 8 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -4757,13 +5759,13 @@ focus_tree = { x = 1 y = 2 relative_position_id = YUW_haijunweihu - prerequisite = { focus = YUW_haijunweihu } + prerequisite = { + focus = YUW_haijunweihu + } cost = 8 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -4780,16 +5782,31 @@ focus_tree = { x = 8 y = 0 cost = 8 - mutually_exclusive = { focus = YUW_zhengfugaige focus = YUW_zhidugeming focus = YUW_yifengmixin focus = YUW_tiqianxuanju focus = YUW_shenshengshiming focus = YUW_jiaojuzhe } + mutually_exclusive = { + focus = YUW_zhengfugaige + focus = YUW_zhidugeming + focus = YUW_yifengmixin + focus = YUW_tiqianxuanju + focus = YUW_shenshengshiming + focus = YUW_jiaojuzhe + } relative_position_id = YUW_zhidugeming available = { has_war = no - not = { has_government = communism } - not = { has_government = fascism } - not = { has_country_flag = buqujinjun_beizhizhi } + NOT = { + has_government = communism + } + NOT = { + has_government = fascism + } + NOT = { + has_country_flag = buqujinjun_beizhizhi + } custom_trigger_tooltip = { - tooltip = "你还没有经历轮回" - not = {has_idea = YUW_geming} + tooltip = "你还没有经历轮回" + NOT = { + has_idea = YUW_geming + } } has_global_flag = MOD_azurlane_tianjiangjianniang } @@ -4797,18 +5814,18 @@ focus_tree = { factor = 40 } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled 20 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } 22 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } 32 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } 25 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } } #search_filters = { FOCUS_FILTER_STABILITY } @@ -4817,28 +5834,28 @@ focus_tree = { clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag custom_effect_tooltip = jiuguoxingdong_tip effect_tooltip = { - 20 = { - set_demilitarized_zone = yes - } - 22 = { - set_demilitarized_zone = yes - } - 32 = { - set_demilitarized_zone = yes - } - 25 = { - set_demilitarized_zone = yes - } + 20 = { + set_demilitarized_zone = yes + } + 22 = { + set_demilitarized_zone = yes + } + 32 = { + set_demilitarized_zone = yes + } + 25 = { + set_demilitarized_zone = yes + } } custom_effect_tooltip = jiuguoxingdong_tip2 27 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } 33 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } 26 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } } } @@ -4848,65 +5865,77 @@ focus_tree = { x = -2 y = 1 cost = 8 - mutually_exclusive = { focus = YUW_zhangkongjiaoting } + mutually_exclusive = { + focus = YUW_zhangkongjiaoting + } relative_position_id = YUW_jiuguoxingdong - prerequisite = { focus = YUW_jiuguoxingdong } + prerequisite = { + focus = YUW_jiuguoxingdong + } available = { has_war = no - not = { has_government = communism } - not = { has_government = fascism } + NOT = { + has_government = communism + } + NOT = { + has_government = fascism + } has_country_flag = xiafei_gongtongjinjun - not = { has_country_flag = buqujinjun_beizhizhi } + NOT = { + has_country_flag = buqujinjun_beizhizhi + } } ai_will_do = { factor = 100 } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled - if = { limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - 24 = { - set_demilitarized_zone = yes + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + if = { + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + 24 = { + set_demilitarized_zone = yes + } } - } - } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag custom_effect_tooltip = jiuguoxingdong_tip effect_tooltip = { - 24 = { - set_demilitarized_zone = yes - } + 24 = { + set_demilitarized_zone = yes + } } custom_effect_tooltip = jiuguoxingdong_tip2 custom_effect_tooltip = jinjunjieguoweizhi_xiarende hidden_effect = { - country_event = az_tianjiang.94 - 20 = { - set_demilitarized_zone = no - } - 22 = { - set_demilitarized_zone = no - } - 32 = { - set_demilitarized_zone = no - } - 25 = { - set_demilitarized_zone = no - } - 27 = { - set_demilitarized_zone = no - } - 33 = { - set_demilitarized_zone = no - } - 26 = { - set_demilitarized_zone = no - } - 24 = { - set_demilitarized_zone = no - } + country_event = az_tianjiang.94 + 20 = { + set_demilitarized_zone = no + } + 22 = { + set_demilitarized_zone = no + } + 32 = { + set_demilitarized_zone = no + } + 25 = { + set_demilitarized_zone = no + } + 27 = { + set_demilitarized_zone = no + } + 33 = { + set_demilitarized_zone = no + } + 26 = { + set_demilitarized_zone = no + } + 24 = { + set_demilitarized_zone = no + } } } } @@ -4916,71 +5945,85 @@ focus_tree = { x = 2 y = 1 cost = 8 - mutually_exclusive = { focus = YUW_jinjunbali } + mutually_exclusive = { + focus = YUW_jinjunbali + } relative_position_id = YUW_jiuguoxingdong - prerequisite = { focus = YUW_jiuguoxingdong } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } + prerequisite = { + focus = YUW_jiuguoxingdong + } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } available = { has_war = no - not = { has_government = communism } - not = { has_government = fascism } - not = { has_country_flag = buqujinjun_beizhizhi } + NOT = { + has_government = communism + } + NOT = { + has_government = fascism + } + NOT = { + has_country_flag = buqujinjun_beizhizhi + } } ai_will_do = { factor = 10 } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled - if = { limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } - 24 = { - set_demilitarized_zone = yes + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + if = { + limit = { + has_global_flag = MOD_azurlane_tianjiangjianniang + } + 24 = { + set_demilitarized_zone = yes + } + 16 = { + set_demilitarized_zone = yes + } } - 16 = { - set_demilitarized_zone = yes - } - } - } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = jiuguoxingdong_tip effect_tooltip = { - 24 = { - set_demilitarized_zone = yes - } - 16 = { - set_demilitarized_zone = yes - } + 24 = { + set_demilitarized_zone = yes + } + 16 = { + set_demilitarized_zone = yes + } } custom_effect_tooltip = jiuguoxingdong_tip2 clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag custom_effect_tooltip = jinjunjieguoweizhi_xiarende hidden_effect = { - 20 = { - set_demilitarized_zone = no - } - 22 = { - set_demilitarized_zone = no - } - 32 = { - set_demilitarized_zone = no - } - 25 = { - set_demilitarized_zone = no - } - 27 = { - set_demilitarized_zone = no - } - 33 = { - set_demilitarized_zone = no - } - 26 = { - set_demilitarized_zone = no - } - 24 = { - set_demilitarized_zone = no - } - country_event = az_tianjiang.95 + 20 = { + set_demilitarized_zone = no + } + 22 = { + set_demilitarized_zone = no + } + 32 = { + set_demilitarized_zone = no + } + 25 = { + set_demilitarized_zone = no + } + 27 = { + set_demilitarized_zone = no + } + 33 = { + set_demilitarized_zone = no + } + 26 = { + set_demilitarized_zone = no + } + 24 = { + set_demilitarized_zone = no + } + country_event = az_tianjiang.95 } } } @@ -4991,18 +6034,20 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_jinjunbali - prerequisite = { focus = YUW_jinjunbali } + prerequisite = { + focus = YUW_jinjunbali + } available = { has_government = democratic YUW_xiafei = { - is_country_leader = yes + is_country_leader = yes } } ai_will_do = { factor = 100 } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { @@ -5020,9 +6065,12 @@ focus_tree = { custom_effect_tooltip = "现在我们应该摒弃前嫌,共同向前。这个国策将移除分崩离析决议和民族精神。" set_country_flag = YUW_dangerclear hidden_effect = { - remove_ideas = { YUW_fblx YUW_fblx_lisailiu YUW_fblx_rangbaer } + remove_ideas = { + YUW_fblx + YUW_fblx_lisailiu + YUW_fblx_rangbaer + } } - } } focus = { @@ -5032,18 +6080,20 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_zhangkongjiaoting - prerequisite = { focus = YUW_zhangkongjiaoting } + prerequisite = { + focus = YUW_zhangkongjiaoting + } available = { has_government = fascism YUW_buqu = { - is_country_leader = yes + is_country_leader = yes } } ai_will_do = { factor = 100 } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { @@ -5057,12 +6107,14 @@ focus_tree = { custom_effect_tooltip = "这个国策将移除分崩离析决议和民族精神。" set_country_flag = YUW_dangerclear hidden_effect = { - remove_ideas = { YUW_fblx YUW_fblx_lisailiu YUW_fblx_rangbaer } + remove_ideas = { + YUW_fblx + YUW_fblx_lisailiu + YUW_fblx_rangbaer + } } - } } - focus = { id = YUW_wanjiuwomendejingji icon = GFX_focus_SOV_merge_plants @@ -5070,36 +6122,43 @@ focus_tree = { y = 1 cost = 30 relative_position_id = YUW_zhengjiuyuanweiminzhu - prerequisite = { focus = YUW_zhengjiuyuanweiminzhu focus = YUW_shishijunshiguanli } + prerequisite = { + focus = YUW_zhengjiuyuanweiminzhu + focus = YUW_shishijunshiguanli + } available = { - or = { - has_government = democratic - has_government = fascism - } - or = { - has_country_leader = { - name = "霞飞" - ruling_only = yes - } - has_country_leader = { - name = "不屈" - ruling_only = yes + OR = { + has_government = democratic + has_government = fascism } + OR = { + has_country_leader = { + name = "霞飞" + ruling_only = yes + } + has_country_leader = { + name = "不屈" + ruling_only = yes + } } } bypass = { - not = {has_idea = YUW_jjbk } - not = {has_idea = YUW_jjhmhf } + NOT = { + has_idea = YUW_jjbk + } + NOT = { + has_idea = YUW_jjhmhf + } } ai_will_do = { factor = 100 } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled remove_ideas = YUW_hddqr swap_ideas = { - remove_idea = YUW_jjbk - add_idea = YUW_jjhmhf + remove_idea = YUW_jjbk + add_idea = YUW_jjhmhf } } #search_filters = { FOCUS_FILTER_STABILITY } @@ -5107,11 +6166,11 @@ focus_tree = { custom_effect_tooltip = wanjiujingji_xiafeidecuozhe custom_effect_tooltip = jiuguoxingdong_tip effect_tooltip = { - remove_ideas = YUW_hddqr - swap_ideas = { - remove_idea = YUW_jjbk - add_idea = YUW_jjhmhf - } + remove_ideas = YUW_hddqr + swap_ideas = { + remove_idea = YUW_jjbk + add_idea = YUW_jjhmhf + } } custom_effect_tooltip = jiuguoxingdong_tip2 custom_effect_tooltip = wanjiujingji_gongyejidakuozhang @@ -5119,110 +6178,109 @@ focus_tree = { clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag add_ideas = YUW_hldzf5 swap_ideas = { - remove_idea = YUW_jjhmhf - add_idea = YUW_wddjj + remove_idea = YUW_jjhmhf + add_idea = YUW_wddjj } hidden_effect = { - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = arms_factory + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = arms_factory + level = 5 + instant_build = yes + } } } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = arms_factory - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = arms_factory - level = 5 - instant_build = yes - } - } - } } } - focus = { id = YUW_dayuanshuaiwlaile icon = GFX_focus_xiafei @@ -5230,8 +6288,12 @@ focus_tree = { y = 2 cost = 10 relative_position_id = YUW_zhengjiuyuanweiminzhu - prerequisite = { focus = YUW_wanjiuwomendejingji } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } + prerequisite = { + focus = YUW_wanjiuwomendejingji + } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } available = { has_government = democratic has_country_leader = { @@ -5248,8 +6310,8 @@ focus_tree = { add_ideas = YUW_jjfs add_ideas = YUW_jgyfs random_unit_leader = { - limit = { - is_country_leader = yes + limit = { + is_country_leader = yes } add_skill_level = 1 add_unit_leader_trait = panzer_leader @@ -5264,7 +6326,9 @@ focus_tree = { y = 2 cost = 10 relative_position_id = YUW_shishijunshiguanli - prerequisite = { focus = YUW_wanjiuwomendejingji } + prerequisite = { + focus = YUW_wanjiuwomendejingji + } available = { has_government = fascism has_country_leader = { @@ -5281,8 +6345,8 @@ focus_tree = { add_ideas = extensive_conscription add_ideas = war_economy random_unit_leader = { - limit = { - is_country_leader = yes + limit = { + is_country_leader = yes } add_skill_level = 1 add_unit_leader_trait = panzer_leader @@ -5297,21 +6361,24 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_dayuanshuaiwlaile - prerequisite = { focus = YUW_dayuanshuaiwlaile focus = YUW_buqujishiyuanwei } + prerequisite = { + focus = YUW_dayuanshuaiwlaile + focus = YUW_buqujishiyuanwei + } available = { - or = { - has_government = democratic - has_government = fascism - } - or = { - has_country_leader = { - name = "霞飞" - ruling_only = yes - } - has_country_leader = { - name = "不屈" - ruling_only = yes + OR = { + has_government = democratic + has_government = fascism } + OR = { + has_country_leader = { + name = "霞飞" + ruling_only = yes + } + has_country_leader = { + name = "不屈" + ruling_only = yes + } } } ai_will_do = { @@ -5320,24 +6387,30 @@ focus_tree = { completion_reward = { custom_effect_tooltip = yuanweikuozhang_dongtai if = { - limit = { - has_completed_focus = YUW_buqujishiyuanwei - } - add_stability = 0.2 - complete_national_focus = YUW_jiaruchisezhongzhou - }else = { - complete_national_focus = YUW_yuanweideziranbianjie - set_rule = { can_send_volunteers = yes } - custom_effect_tooltip = ENG_no_further_appeasement_tt - add_ideas = YUW_yuwkzzy - hidden_effect = { - set_rule = { can_declare_war_on_same_ideology = yes } - set_rule = { can_puppet = yes } + limit = { + has_completed_focus = YUW_buqujishiyuanwei + } + add_stability = 0.2 + complete_national_focus = YUW_jiaruchisezhongzhou } + else = { + complete_national_focus = YUW_yuanweideziranbianjie + set_rule = { + can_send_volunteers = yes + } + custom_effect_tooltip = ENG_no_further_appeasement_tt + add_ideas = YUW_yuwkzzy + hidden_effect = { + set_rule = { + can_declare_war_on_same_ideology = yes + } + set_rule = { + can_puppet = yes + } + } } } } - focus = { id = YUW_yidapianlan icon = GFX_fflag_YUW @@ -5348,14 +6421,18 @@ focus_tree = { } cost = 2 relative_position_id = YUW_guafenruishi - search_filters = { FOCUS_FILTER_ANNEXATION } + search_filters = { + FOCUS_FILTER_ANNEXATION + } available = { date > 1939.1.1 - not = { has_government = communism } - or = { - has_completed_focus = YUW_buliuxuedeneizhan - has_completed_focus = YUW_yuanweikuozhangzhuyi - has_completed_focus = YUW_renminzhenxian + NOT = { + has_government = communism + } + OR = { + has_completed_focus = YUW_buliuxuedeneizhan + has_completed_focus = YUW_yuanweikuozhangzhuyi + has_completed_focus = YUW_renminzhenxian } } bypass = { @@ -5368,7 +6445,6 @@ focus_tree = { custom_effect_tooltip = jiesuo_yuwkuileiguojueyi } } - focus = { id = YUW_minzhushizijun icon = GFX_focus_generic_strike_at_democracy1 @@ -5376,28 +6452,30 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_yidapianlan - prerequisite = { focus = YUW_yidapianlan} + prerequisite = { + focus = YUW_yidapianlan + } available_if_capitulated = yes available = { is_puppet = no - or = { - has_government = democratic - has_government = neutrality + OR = { + has_government = democratic + has_government = neutrality } - or = { - has_defensive_war = yes - has_idea = TY_fengkuangAI + OR = { + has_defensive_war = yes + has_idea = TY_fengkuangAI } - or = { - any_country = { - has_war_with = YUW - is_major = yes - or = { - has_government = fascism - has_government = communism - } - } - has_idea = TY_fengkuangAI + OR = { + any_country = { + has_war_with = YUW + is_major = yes + OR = { + has_government = fascism + has_government = communism + } + } + has_idea = TY_fengkuangAI } } ai_will_do = { @@ -5407,7 +6485,6 @@ focus_tree = { add_ideas = YUW_mzszj } } - focus = { id = YUW_zhengyipanguan icon = GFX_focus_POL_ban_nazi_party @@ -5415,26 +6492,30 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_yidapianlan - prerequisite = { focus = YUW_yidapianlan} + prerequisite = { + focus = YUW_yidapianlan + } available_if_capitulated = yes available = { is_puppet = no - not = { has_government = communism } - or = { - has_defensive_war = yes - has_idea = TY_fengkuangAI + NOT = { + has_government = communism } - or = { - any_country = { - has_war_with = YUW - is_major = yes - or = { - has_government = fascism - has_government = communism - has_government = siren + OR = { + has_defensive_war = yes + has_idea = TY_fengkuangAI } - } - has_idea = TY_fengkuangAI + OR = { + any_country = { + has_war_with = YUW + is_major = yes + OR = { + has_government = fascism + has_government = communism + has_government = siren + } + } + has_idea = TY_fengkuangAI } } ai_will_do = { @@ -5444,7 +6525,6 @@ focus_tree = { add_ideas = YUW_zypg } } - focus = { id = YUW_yuanweidemingtian icon = GFX_goal_anschluss @@ -5452,8 +6532,12 @@ focus_tree = { y = 1 cost = 10 relative_position_id = YUW_zhengyipanguan - prerequisite = { focus = YUW_zhengyipanguan} - prerequisite = { focus = YUW_minzhushizijun} + prerequisite = { + focus = YUW_zhengyipanguan + } + prerequisite = { + focus = YUW_minzhushizijun + } available = { is_puppet = no has_government = democratic @@ -5467,7 +6551,6 @@ focus_tree = { custom_effect_tooltip = YUW_tips } } - focus = { id = YUW_zongjiaoshehui icon = GFX_goal_generic_improve_relations @@ -5475,7 +6558,9 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_yidapianlan - prerequisite = { focus = YUW_yidapianlan} + prerequisite = { + focus = YUW_yidapianlan + } available_if_capitulated = yes available = { is_puppet = no @@ -5488,7 +6573,6 @@ focus_tree = { add_ideas = YUW_zjsh } } - focus = { id = YUW_shenquanzhengzhi icon = GFX_focus_generic_pope @@ -5496,11 +6580,15 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_yidapianlan - prerequisite = { focus = YUW_yidapianlan} + prerequisite = { + focus = YUW_yidapianlan + } available_if_capitulated = yes available = { is_puppet = no - not = { has_government = communism } + NOT = { + has_government = communism + } has_completed_focus = YUW_rushensuoyuan } ai_will_do = { @@ -5510,7 +6598,6 @@ focus_tree = { add_ideas = YUW_sqzz } } - focus = { id = YUW_xinyuanweiqianjin icon = GFX_goal_generic_demand_territory @@ -5518,8 +6605,12 @@ focus_tree = { y = 1 cost = 10 relative_position_id = YUW_shenquanzhengzhi - prerequisite = { focus = YUW_shenquanzhengzhi} - prerequisite = { focus = YUW_zongjiaoshehui} + prerequisite = { + focus = YUW_shenquanzhengzhi + } + prerequisite = { + focus = YUW_zongjiaoshehui + } available = { is_puppet = no has_government = neutrality @@ -5533,26 +6624,34 @@ focus_tree = { custom_effect_tooltip = YUW_tips } } - focus = { id = YUW_tiqianxuanju icon = GFX_focus_SWI_dissolve_the_federal_council x = 8 y = 0 cost = 10 - mutually_exclusive = { focus = YUW_zhengfugaige focus = YUW_zhidugeming focus = YUW_jiuguoxingdong focus = YUW_yifengmixin focus = YUW_shenshengshiming focus = YUW_jiaojuzhe } + mutually_exclusive = { + focus = YUW_zhengfugaige + focus = YUW_zhidugeming + focus = YUW_jiuguoxingdong + focus = YUW_yifengmixin + focus = YUW_shenshengshiming + focus = YUW_jiaojuzhe + } relative_position_id = YUW_jiuguoxingdong available = { - has_country_leader = { + has_country_leader = { name = "黎塞留" ruling_only = yes } - has_government = democratic - custom_trigger_tooltip = { - tooltip = "你还没有经历轮回" - not = {has_idea = YUW_geming} - } - has_global_flag = MOD_azurlane_tianjiangjianniang + has_government = democratic + custom_trigger_tooltip = { + tooltip = "你还没有经历轮回" + NOT = { + has_idea = YUW_geming + } + } + has_global_flag = MOD_azurlane_tianjiangjianniang } ai_will_do = { factor = 20 @@ -5560,41 +6659,46 @@ focus_tree = { select_effect = { country_event = az_tianjiang.165 add_ideas = YUW_daxuanqiandejingzheng - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + } + search_filters = { + FOCUS_FILTER_HISTORICAL } - search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { custom_effect_tooltip = jiuguoxingdong_tip effect_tooltip = { - country_event = az_tianjiang.165 - add_ideas = YUW_daxuanqiandejingzheng + country_event = az_tianjiang.165 + add_ideas = YUW_daxuanqiandejingzheng } custom_effect_tooltip = jiuguoxingdong_tip2 set_power_balance = { - id = YUW_balance - left_side = YUW_left_side # will keep the last set side if not specified - right_side = YUW_right_side # will keep the last set side if not specified - set_default = yes # whether or not to reset the power balance to the initial value, default = no + id = YUW_balance + left_side = YUW_left_side # will keep the last set side if not specified + right_side = YUW_right_side # will keep the last set side if not specified + set_default = yes # whether or not to reset the power balance to the initial value, default = no } set_country_flag = yiwai_daxuanwufajinxing custom_effect_tooltip = "这个国策将移除分崩离析决议和民族精神。" set_country_flag = YUW_dangerclear hidden_effect = { - remove_ideas = { YUW_fblx YUW_fblx_lisailiu YUW_fblx_rangbaer } + remove_ideas = { + YUW_fblx + YUW_fblx_lisailiu + YUW_fblx_rangbaer + } country_event = az_tianjiang.168 } clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag add_to_variable = { var = yuw_weixi value = -200 - } + } add_to_variable = { var = yuw_ziyou value = -200 } } } - focus = { id = YUW_xuanjujieguo icon = GFX_focus_generic_treaty @@ -5602,14 +6706,16 @@ focus_tree = { y = 1 cost = 30 relative_position_id = YUW_tiqianxuanju - prerequisite = { focus = YUW_tiqianxuanju} - available = { + prerequisite = { + focus = YUW_tiqianxuanju + } + available = { is_puppet = no has_war = no has_idea = YUW_daxuanqiandejingzheng } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled } ai_will_do = { factor = 100 @@ -5619,79 +6725,88 @@ focus_tree = { custom_effect_tooltip = YUW_tip_xuanren clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag hidden_effect = { - if = { - limit = { - not = { has_country_flag = weixipai_beizhenya } - not = { has_country_flag = buqujinjun_beizhizhi } - power_balance_value = { - id = YUW_balance - value < -0.05 - } - } - country_event = az_tianjiang.162 - } - if = { - limit = { - not = { has_country_flag = ziyoupai_beizhenya } - not = { has_country_flag = buqujinjun_beizhizhi } - power_balance_value = { - id = YUW_balance - value > 0.05 - } - } - country_event = az_tianjiang.163 - } - if = { - limit = { - has_country_flag = buqujinjun_beizhizhi - power_balance_value = { - id = YUW_balance - value < 0.2 - } - power_balance_value = { - id = YUW_balance - value > -0.2 - } - } - country_event = az_tianjiang.178 - } - if = { - limit = { - has_country_flag = weixipai_beizhenya - not = { has_country_flag = buqujinjun_beizhizhi } - power_balance_value = { - id = YUW_balance - value < -0.2 - } - } - country_event = az_tianjiang.179 - } - if = { - limit = { - has_country_flag = ziyoupai_beizhenya - power_balance_value = { - id = YUW_balance - value > 0.2 - } - } - country_event = az_tianjiang.180 - } - if = { - limit = { - has_country_flag = buqujinjun_beizhizhi - power_balance_value = { - id = YUW_balance - value < -0.2 - } - } - country_event = az_tianjiang.181 - } - YUW_hldzf_dengji = yes - remove_ideas = YUW_daxuanqiandejingzheng + if = { + limit = { + NOT = { + has_country_flag = weixipai_beizhenya + } + NOT = { + has_country_flag = buqujinjun_beizhizhi + } + power_balance_value = { + id = YUW_balance + value < -0.05 + } + } + country_event = az_tianjiang.162 + } + if = { + limit = { + NOT = { + has_country_flag = ziyoupai_beizhenya + } + NOT = { + has_country_flag = buqujinjun_beizhizhi + } + power_balance_value = { + id = YUW_balance + value > 0.05 + } + } + country_event = az_tianjiang.163 + } + if = { + limit = { + has_country_flag = buqujinjun_beizhizhi + power_balance_value = { + id = YUW_balance + value < 0.2 + } + power_balance_value = { + id = YUW_balance + value > -0.2 + } + } + country_event = az_tianjiang.178 + } + if = { + limit = { + has_country_flag = weixipai_beizhenya + NOT = { + has_country_flag = buqujinjun_beizhizhi + } + power_balance_value = { + id = YUW_balance + value < -0.2 + } + } + country_event = az_tianjiang.179 + } + if = { + limit = { + has_country_flag = ziyoupai_beizhenya + power_balance_value = { + id = YUW_balance + value > 0.2 + } + } + country_event = az_tianjiang.180 + } + if = { + limit = { + has_country_flag = buqujinjun_beizhizhi + power_balance_value = { + id = YUW_balance + value < -0.2 + } + } + country_event = az_tianjiang.181 + } + YUW_hldzf_dengji = yes + remove_ideas = YUW_daxuanqiandejingzheng } } } - focus = { id = YUW_shenglikaixuan icon = GFX_focus_kaixuan @@ -5699,10 +6814,17 @@ focus_tree = { y = 2 cost = 8 relative_position_id = YUW_xuanjujieguo - prerequisite = { focus = YUW_xuanjujieguo} - mutually_exclusive = { focus = YUW_tingshinuhou focus = YUW_xingfenzhidu } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } - available = { + prerequisite = { + focus = YUW_xuanjujieguo + } + mutually_exclusive = { + focus = YUW_tingshinuhou + focus = YUW_xingfenzhidu + } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } + available = { is_puppet = no has_government = democratic has_country_leader = { @@ -5718,7 +6840,6 @@ focus_tree = { YUW_hldzf_dengji = yes } } - focus = { id = YUW_tingshinuhou icon = GFX_focus_xiafei @@ -5726,14 +6847,21 @@ focus_tree = { y = 2 cost = 8 relative_position_id = YUW_xuanjujieguo - prerequisite = { focus = YUW_xuanjujieguo} - mutually_exclusive = { focus = YUW_shenglikaixuan focus = YUW_xingfenzhidu} - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } - available = { + prerequisite = { + focus = YUW_xuanjujieguo + } + mutually_exclusive = { + focus = YUW_shenglikaixuan + focus = YUW_xingfenzhidu + } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } + available = { is_puppet = no - or = { - has_government = fascism - has_government = democratic + OR = { + has_government = fascism + has_government = democratic } has_country_leader = { name = "霞飞" @@ -5748,18 +6876,24 @@ focus_tree = { YUW_hldzf_dengji = yes } } - focus = { - id = YUW_xingfenzhidu + id = YUW_xingfenzhidu icon = GFX_focus_edu x = 2 y = 2 cost = 8 relative_position_id = YUW_xuanjujieguo - prerequisite = { focus = YUW_xuanjujieguo} - mutually_exclusive = { focus = YUW_tingshinuhou focus = YUW_shenglikaixuan} - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } - available = { + prerequisite = { + focus = YUW_xuanjujieguo + } + mutually_exclusive = { + focus = YUW_tingshinuhou + focus = YUW_shenglikaixuan + } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } + available = { is_puppet = no has_government = fascism has_country_leader = { @@ -5775,7 +6909,6 @@ focus_tree = { YUW_hldzf_dengji = yes } } - focus = { id = YUW_chedijingjigaige icon = GFX_focus_generic_land_reclamation @@ -5783,8 +6916,12 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_tingshinuhou - prerequisite = { focus = YUW_shenglikaixuan focus = YUW_tingshinuhou focus = YUW_xingfenzhidu} - available = { + prerequisite = { + focus = YUW_shenglikaixuan + focus = YUW_tingshinuhou + focus = YUW_xingfenzhidu + } + available = { is_puppet = no } ai_will_do = { @@ -5795,111 +6932,110 @@ focus_tree = { complete_national_focus = YUW_jichujianshe remove_ideas = YUW_hddqr swap_ideas = { - remove_idea = YUW_jjbk - add_idea = YUW_wddjj + remove_idea = YUW_jjbk + add_idea = YUW_wddjj } YUW_hldzf_dengji = yes hidden_effect = { - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = arms_factory + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = arms_factory + level = 5 + instant_build = yes + } } } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = arms_factory - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = arms_factory - level = 5 - instant_build = yes - } - } - } } } - focus = { id = YUW_lianhezhizheng icon = GFX_focus_SWI_neutrality_on_the_move @@ -5907,9 +7043,13 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_chedijingjigaige - prerequisite = { focus = YUW_chedijingjigaige } - mutually_exclusive = { focus = YUW_dulandaquan } - available = { + prerequisite = { + focus = YUW_chedijingjigaige + } + mutually_exclusive = { + focus = YUW_dulandaquan + } + available = { is_puppet = no } ai_will_do = { @@ -5923,7 +7063,6 @@ focus_tree = { YUW_hldzf_dengji = yes } } - focus = { id = YUW_dulandaquan icon = GFX_focus_SWI_helvetic_junta @@ -5931,9 +7070,13 @@ focus_tree = { y = 1 cost = 8 relative_position_id = YUW_chedijingjigaige - prerequisite = { focus = YUW_chedijingjigaige } - mutually_exclusive = { focus = YUW_lianhezhizheng } - available = { + prerequisite = { + focus = YUW_chedijingjigaige + } + mutually_exclusive = { + focus = YUW_lianhezhizheng + } + available = { is_puppet = no } ai_will_do = { @@ -5947,26 +7090,34 @@ focus_tree = { YUW_hldzf_dengji = yes } } - focus = { id = YUW_shenshengshiming icon = GFX_focus_generic_catholic_dominion x = 8 y = 0 cost = 10 - mutually_exclusive = { focus = YUW_zhengfugaige focus = YUW_zhidugeming focus = YUW_jiuguoxingdong focus = YUW_yifengmixin focus = YUW_tiqianxuanju focus = YUW_jiaojuzhe } + mutually_exclusive = { + focus = YUW_zhengfugaige + focus = YUW_zhidugeming + focus = YUW_jiuguoxingdong + focus = YUW_yifengmixin + focus = YUW_tiqianxuanju + focus = YUW_jiaojuzhe + } relative_position_id = YUW_tiqianxuanju available = { - has_country_leader = { + has_country_leader = { name = "黎塞留" ruling_only = yes } - has_government = democratic - custom_trigger_tooltip = { - tooltip = "你还没有经历轮回" - not = {has_idea = YUW_geming} - } - has_global_flag = MOD_azurlane_tianjiangjianniang + has_government = democratic + custom_trigger_tooltip = { + tooltip = "你还没有经历轮回" + NOT = { + has_idea = YUW_geming + } + } + has_global_flag = MOD_azurlane_tianjiangjianniang } ai_will_do = { factor = 80 @@ -5974,7 +7125,7 @@ focus_tree = { select_effect = { country_event = YUW_event.52 add_ideas = YUW_daxuanqiandejingzheng - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { @@ -5982,15 +7133,15 @@ focus_tree = { custom_effect_tooltip = jiuguoxingdong_tip custom_effect_tooltip = shenshengshiming_quanfuxiafei effect_tooltip = { - country_event = YUW_event.52 - add_ideas = YUW_daxuanqiandejingzheng + country_event = YUW_event.52 + add_ideas = YUW_daxuanqiandejingzheng } custom_effect_tooltip = jiuguoxingdong_tip2 set_power_balance = { - id = YUW_balance - left_side = YUW_left_side # will keep the last set side if not specified - right_side = YUW_right_side # will keep the last set side if not specified - set_default = yes # whether or not to reset the power balance to the initial value, default = no + id = YUW_balance + left_side = YUW_left_side # will keep the last set side if not specified + right_side = YUW_right_side # will keep the last set side if not specified + set_default = yes # whether or not to reset the power balance to the initial value, default = no } set_country_flag = yiwai_daxuanwufajinxing clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag @@ -5999,18 +7150,21 @@ focus_tree = { add_to_variable = { var = yuw_weixi value = -200 - } + } add_to_variable = { var = yuw_ziyou value = -200 } hidden_effect = { - remove_ideas = { YUW_fblx YUW_fblx_lisailiu YUW_fblx_rangbaer } + remove_ideas = { + YUW_fblx + YUW_fblx_lisailiu + YUW_fblx_rangbaer + } country_event = YUW_event.53 } } } - focus = { id = YUW_zhongzhijinjun icon = GFX_focus_spr_crush_the_revolution @@ -6018,8 +7172,10 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_shenshengshiming - prerequisite = { focus = YUW_shenshengshiming } - available = { + prerequisite = { + focus = YUW_shenshengshiming + } + available = { is_puppet = no has_war = no } @@ -6029,19 +7185,29 @@ focus_tree = { completion_reward = { custom_effect_tooltip = xiafeicg_houguo hidden_effect = { - if = { - limit = { - not = { has_country_flag = yuw_geijtqstigongyuanzhu } - not = { has_country_flag = yuw_chengonglalongtiaofei_yes } - } - country_event = { id = az_tianjiang.176 days = 1 } - }else = { - country_event = { id = az_tianjiang.177 days = 1 } - } + if = { + limit = { + NOT = { + has_country_flag = yuw_geijtqstigongyuanzhu + } + NOT = { + has_country_flag = yuw_chengonglalongtiaofei_yes + } + } + country_event = { + id = az_tianjiang.176 + days = 1 + } + } + else = { + country_event = { + id = az_tianjiang.177 + days = 1 + } + } } } } - focus = { id = YUW_daibuzhengdi icon = GFX_focus_SOV_penal_battalions @@ -6049,8 +7215,10 @@ focus_tree = { y = 1 cost = 2 relative_position_id = YUW_shenshengshiming - prerequisite = { focus = YUW_shenshengshiming } - available = { + prerequisite = { + focus = YUW_shenshengshiming + } + available = { is_puppet = no has_war = no has_country_flag = yuwzuipaineizhan_kaishi @@ -6066,7 +7234,6 @@ focus_tree = { set_country_flag = yuwzuipaineizhan_zhongzhi } } - focus = { id = YUW_cuobaiyinmou icon = GFX_focus_spr_the_anti_fascist_workers_revolution @@ -6074,14 +7241,15 @@ focus_tree = { y = 1 cost = 3 relative_position_id = YUW_zhongzhijinjun - prerequisite = { focus = YUW_zhongzhijinjun } - available = { + prerequisite = { + focus = YUW_zhongzhijinjun + } + available = { is_puppet = no has_war = no has_country_flag = dunkeerkezhengbian_kaishi } bypass = { - } ai_will_do = { factor = 100 @@ -6090,7 +7258,6 @@ focus_tree = { custom_effect_tooltip = yuw_tips_zhongzhizhengbain } } - focus = { id = YUW_tingzhiyaoyan icon = GFX_focus_SWI_spirit_of_saint_bernard @@ -6098,8 +7265,10 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_daibuzhengdi - prerequisite = { focus = YUW_daibuzhengdi } - available = { + prerequisite = { + focus = YUW_daibuzhengdi + } + available = { is_puppet = no has_war = no } @@ -6110,7 +7279,6 @@ focus_tree = { custom_effect_tooltip = "维希派的宣传攻势将被削弱" } } - focus = { id = YUW_shengzhankaiumu icon = GFX_focus_fra_french_union @@ -6118,20 +7286,26 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_tingzhiyaoyan - prerequisite = { focus = YUW_tingzhiyaoyan } - prerequisite = { focus = YUW_cuobaiyinmou } - available = { + prerequisite = { + focus = YUW_tingzhiyaoyan + } + prerequisite = { + focus = YUW_cuobaiyinmou + } + available = { is_puppet = no has_war = no power_balance_value = { - id = YUW_balance - value > -0.5 + id = YUW_balance + value > -0.5 } power_balance_value = { - id = YUW_balance - value < 0.5 + id = YUW_balance + value < 0.5 + } + NOT = { + has_country_flag = yuw_jihuapochan } - not = { has_country_flag = yuw_jihuapochan } } ai_will_do = { factor = 100 @@ -6139,22 +7313,24 @@ focus_tree = { completion_reward = { custom_effect_tooltip = wufayucezyyuwzhengfufanying hidden_effect = { - if = { - limit = { - has_country_flag = xiafei_gongtongjinjun - } - country_event = az_tianjiang.95 - complete_national_focus = YUW_shishijunshiguanli - remove_power_balance = { id = YUW_balance } - remove_ideas = YUW_daxuanqiandejingzheng - set_country_flag = yuw_jihuapochan - } else = { - country_event = YUW_event.60 - } + if = { + limit = { + has_country_flag = xiafei_gongtongjinjun + } + country_event = az_tianjiang.95 + complete_national_focus = YUW_shishijunshiguanli + remove_power_balance = { + id = YUW_balance + } + remove_ideas = YUW_daxuanqiandejingzheng + set_country_flag = yuw_jihuapochan + } + else = { + country_event = YUW_event.60 + } } } } - focus = { id = YUW_dongyuanqishi icon = GFX_focus_generic_little_entente @@ -6162,11 +7338,15 @@ focus_tree = { y = 1 cost = 2 relative_position_id = YUW_shengzhankaiumu - prerequisite = { focus = YUW_shengzhankaiumu } - available = { + prerequisite = { + focus = YUW_shengzhankaiumu + } + available = { is_puppet = no has_war = no - not = { has_country_flag = yuw_jihuapochan } + NOT = { + has_country_flag = yuw_jihuapochan + } } ai_will_do = { factor = 100 @@ -6174,22 +7354,22 @@ focus_tree = { completion_reward = { custom_effect_tooltip = "不同的盟友舰娘提供的教廷骑士数量也不同" if = { - limit = { - has_country_flag = yuw_chengonglalongtiaofei_yes - } - add_to_variable = { - var = yuw_qstcgl - value = 20 - } - }else = { - add_to_variable = { - var = yuw_qstcgl - value = 10 + limit = { + has_country_flag = yuw_chengonglalongtiaofei_yes + } + add_to_variable = { + var = yuw_qstcgl + value = 20 + } } + else = { + add_to_variable = { + var = yuw_qstcgl + value = 10 + } } } } - focus = { id = YUW_mitugaoyang icon = GFX_focus_generic_population_growth @@ -6197,11 +7377,15 @@ focus_tree = { y = 1 cost = 3 relative_position_id = YUW_shengzhankaiumu - prerequisite = { focus = YUW_shengzhankaiumu } - available = { + prerequisite = { + focus = YUW_shengzhankaiumu + } + available = { is_puppet = no has_war = no - not = { has_country_flag = yuw_jihuapochan } + NOT = { + has_country_flag = yuw_jihuapochan + } } ai_will_do = { factor = 100 @@ -6212,7 +7396,6 @@ focus_tree = { add_war_support = 0.3 } } - focus = { id = YUW_tongyixinyang icon = GFX_focus_up_joan_of_arc @@ -6220,11 +7403,15 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_shengzhankaiumu - prerequisite = { focus = YUW_shengzhankaiumu } - available = { + prerequisite = { + focus = YUW_shengzhankaiumu + } + available = { is_puppet = no has_war = no - not = { has_country_flag = yuw_jihuapochan } + NOT = { + has_country_flag = yuw_jihuapochan + } } ai_will_do = { factor = 100 @@ -6234,7 +7421,6 @@ focus_tree = { add_war_support = 0.5 } } - focus = { id = YUW_qizongzui icon = GFX_focus_focus_fra_national_resistance_council @@ -6242,17 +7428,25 @@ focus_tree = { y = 1 cost = 10 relative_position_id = YUW_mitugaoyang - prerequisite = { focus = YUW_tongyixinyang } - prerequisite = { focus = YUW_mitugaoyang } - prerequisite = { focus = YUW_dongyuanqishi } - available = { + prerequisite = { + focus = YUW_tongyixinyang + } + prerequisite = { + focus = YUW_mitugaoyang + } + prerequisite = { + focus = YUW_dongyuanqishi + } + available = { is_puppet = no has_war = no - not = { has_country_flag = yuw_jihuapochan } + NOT = { + has_country_flag = yuw_jihuapochan + } } select_effect = { country_event = YUW_event.62 - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled } ai_will_do = { factor = 100 @@ -6261,67 +7455,68 @@ focus_tree = { custom_effect_tooltip = yuw_tips_shenpanjeiguopanding clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag if = { - limit = { - is_ai = yes - } - set_country_flag = YUW_nishibushiainie + limit = { + is_ai = yes + } + set_country_flag = YUW_nishibushiainie } hidden_effect = { - if = { - limit = { - has_country_flag = yuw_chengonglalongtiaofei_yes - check_variable = { - var = yuw_qstcgl - value = 200 - compare = greater_than_or_equals + if = { + limit = { + has_country_flag = yuw_chengonglalongtiaofei_yes + check_variable = { + var = yuw_qstcgl + value = 200 + compare = greater_than_or_equals + } + } + country_event = YUW_event.69 + } + if = { + limit = { + has_country_flag = yuw_chengonglalongtiaofei_no + check_variable = { + var = yuw_qstcgl + value = 130 + compare = greater_than_or_equals + } + } + country_event = YUW_event.69 + } + if = { + limit = { + has_country_flag = yuw_lalongchenggongtiaojian_6 + has_country_flag = yuw_chengonglalongtiaofei_no + check_variable = { + yuw_qstcgl < 130 + } + } + country_event = YUW_event.68 + } + if = { + limit = { + NOT = { + has_country_flag = yuw_lalongchenggongtiaojian_6 + } + has_country_flag = yuw_chengonglalongtiaofei_no + check_variable = { + yuw_qstcgl < 130 + } + } + country_event = YUW_event.67 + } + if = { + limit = { + has_country_flag = yuw_chengonglalongtiaofei_yes + check_variable = { + yuw_qstcgl < 200 + } + } + country_event = YUW_event.67 + } } - } - country_event = YUW_event.69 - } - if = { - limit = { - has_country_flag = yuw_chengonglalongtiaofei_no - check_variable = { - var = yuw_qstcgl - value = 130 - compare = greater_than_or_equals - } - } - country_event = YUW_event.69 - } - if = { - limit = { - has_country_flag = yuw_lalongchenggongtiaojian_6 - has_country_flag = yuw_chengonglalongtiaofei_no - check_variable = { - yuw_qstcgl < 130 - } - } - country_event = YUW_event.68 - } - if = { - limit = { - not = { has_country_flag = yuw_lalongchenggongtiaojian_6 } - has_country_flag = yuw_chengonglalongtiaofei_no - check_variable = { - yuw_qstcgl < 130 - } - } - country_event = YUW_event.67 - } - if = { - limit = { - has_country_flag = yuw_chengonglalongtiaofei_yes - check_variable = { - yuw_qstcgl < 200 - } - } - country_event = YUW_event.67 - } - } } } - focus = { id = YUW_weihuchuantong icon = GFX_focus_xiafei @@ -6329,14 +7524,20 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_qizongzui - prerequisite = { focus = YUW_qizongzui } - mutually_exclusive = { focus = YUW_gexinjiaoyi } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } - available = { + prerequisite = { + focus = YUW_qizongzui + } + mutually_exclusive = { + focus = YUW_gexinjiaoyi + } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } + available = { is_puppet = no has_government = democratic YUW_xiafei = { - is_country_leader = yes + is_country_leader = yes } } ai_will_do = { @@ -6346,7 +7547,6 @@ focus_tree = { add_ideas = YUW_wcct } } - focus = { id = YUW_gexinjiaoyi icon = GFX_focus_6194 @@ -6354,29 +7554,39 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_qizongzui - prerequisite = { focus = YUW_qizongzui } - mutually_exclusive = { focus = YUW_weihuchuantong } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } - available = { + prerequisite = { + focus = YUW_qizongzui + } + mutually_exclusive = { + focus = YUW_weihuchuantong + } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } + available = { is_puppet = no has_government = neutrality - or = { - YUW_6194 = { - is_country_leader = yes + OR = { + YUW_6194 = { + is_country_leader = yes + } + YUW_jialisuoniai = { + is_country_leader = yes + } + YUW_dunkerque = { + is_country_leader = yes + } } - YUW_jialisuoniai = { - is_country_leader = yes + NOT = { + has_country_flag = lyjs_fubiwangguo } - YUW_dunkerque = { - is_country_leader = yes + NOT = { + has_country_flag = lyjs_fubibeituifan } - } - not = { has_country_flag = lyjs_fubiwangguo } - not = { has_country_flag = lyjs_fubibeituifan } } bypass = { YUW_shengnvzhende = { - is_country_leader = yes + is_country_leader = yes } } ai_will_do = { @@ -6386,7 +7596,6 @@ focus_tree = { add_ideas = YUW_gxjy } } - focus = { id = YUW_rushensuoyuan icon = GFX_focus_por_concordat @@ -6394,33 +7603,40 @@ focus_tree = { y = 1 cost = 20 relative_position_id = YUW_weihuchuantong - prerequisite = { focus = YUW_weihuchuantong focus = YUW_gexinjiaoyi } + prerequisite = { + focus = YUW_weihuchuantong + focus = YUW_gexinjiaoyi + } available = { is_puppet = no - or = { - has_government = neutrality - has_government = democratic + OR = { + has_government = neutrality + has_government = democratic } - or = { - YUW_6194 = { - is_country_leader = yes + OR = { + YUW_6194 = { + is_country_leader = yes + } + YUW_xiafei = { + is_country_leader = yes + } + YUW_jialisuoniai = { + is_country_leader = yes + } + YUW_dunkerque = { + is_country_leader = yes + } } - YUW_xiafei = { - is_country_leader = yes + NOT = { + has_country_flag = lyjs_fubiwangguo } - YUW_jialisuoniai = { - is_country_leader = yes + NOT = { + has_country_flag = lyjs_fubibeituifan } - YUW_dunkerque = { - is_country_leader = yes - } - } - not = { has_country_flag = lyjs_fubiwangguo } - not = { has_country_flag = lyjs_fubibeituifan } } bypass = { YUW_shengnvzhende = { - is_country_leader = yes + is_country_leader = yes } } ai_will_do = { @@ -6432,15 +7648,20 @@ focus_tree = { remove_idea = YUW_jjbk add_idea = YUW_wddjj } - set_rule = { can_send_volunteers = yes } + set_rule = { + can_send_volunteers = yes + } custom_effect_tooltip = ENG_no_further_appeasement_tt hidden_effect = { - set_rule = { can_declare_war_on_same_ideology = yes } - set_rule = { can_puppet = yes } + set_rule = { + can_declare_war_on_same_ideology = yes + } + set_rule = { + can_puppet = yes + } } } } - focus = { id = YUW_qishituandedashengzhan icon = GFX_goal_generic_major_war @@ -6448,7 +7669,9 @@ focus_tree = { y = 1 cost = 5 relative_position_id = YUW_rushensuoyuan - search_filters = { FOCUS_FILTER_ANNEXATION } + search_filters = { + FOCUS_FILTER_ANNEXATION + } available = { is_puppet = no has_completed_focus = YUW_rushensuoyuan @@ -6459,112 +7682,206 @@ focus_tree = { completion_reward = { custom_effect_tooltip = yuw_jiesuodashengzhanjueyitip if = { - limit = { - is_ai = yes - has_idea = YUW_fkAIbuff - } - set_technology = { mobile_warfare = 1 } - set_technology = { mechanised_infantry = 1 } - division_template = { - name = "鸢尾教廷骑士" - is_locked = yes - priority = 2 - regiments = { - mechanized = { x = 0 y = 0 } - mechanized = { x = 0 y = 1 } - mechanized = { x = 0 y = 2 } - mechanized = { x = 0 y = 3 } - mechanized = { x = 0 y = 4 } - mechanized = { x = 1 y = 0 } - mechanized = { x = 1 y = 1 } - mechanized = { x = 1 y = 2 } - mechanized = { x = 1 y = 3 } - mechanized = { x = 1 y = 4 } - medium_armor = { x = 2 y = 0 } - medium_armor = { x = 2 y = 1 } - medium_armor = { x = 2 y = 2 } - medium_armor = { x = 2 y = 3 } - medium_armor = { x = 2 y = 4 } - medium_armor = { x = 3 y = 0 } - medium_armor = { x = 3 y = 1 } - medium_armor = { x = 3 y = 2 } - medium_armor = { x = 3 y = 3 } - medium_armor = { x = 3 y = 4 } - medium_armor = { x = 4 y = 0 } + limit = { + is_ai = yes + has_idea = YUW_fkAIbuff + } + set_technology = { + mobile_warfare = 1 + } + set_technology = { + mechanised_infantry = 1 + } + division_template = { + name = "鸢尾教廷骑士" + is_locked = yes + priority = 2 + regiments = { + mechanized = { + x = 0 + y = 0 + } + mechanized = { + x = 0 + y = 1 + } + mechanized = { + x = 0 + y = 2 + } + mechanized = { + x = 0 + y = 3 + } + mechanized = { + x = 0 + y = 4 + } + mechanized = { + x = 1 + y = 0 + } + mechanized = { + x = 1 + y = 1 + } + mechanized = { + x = 1 + y = 2 + } + mechanized = { + x = 1 + y = 3 + } + mechanized = { + x = 1 + y = 4 + } + medium_armor = { + x = 2 + y = 0 + } + medium_armor = { + x = 2 + y = 1 + } + medium_armor = { + x = 2 + y = 2 + } + medium_armor = { + x = 2 + y = 3 + } + medium_armor = { + x = 2 + y = 4 + } + medium_armor = { + x = 3 + y = 0 + } + medium_armor = { + x = 3 + y = 1 + } + medium_armor = { + x = 3 + y = 2 + } + medium_armor = { + x = 3 + y = 3 + } + medium_armor = { + x = 3 + y = 4 + } + medium_armor = { + x = 4 + y = 0 + } + } + support = { + armored_car_recon = { + x = 0 + y = 0 + } + artillery = { + x = 0 + y = 1 + } + logistics_company = { + x = 0 + y = 2 + } + medium_flame_tank = { + x = 0 + y = 3 + } + engineer = { + x = 0 + y = 4 + } + } + } + for_loop_effect = { + start = 0 + end = 20 + add = 1 + random_owned_controlled_state = { + limit = { + is_core_of = YUW + } + create_unit = { + division = "name = \"鸢尾骑士团\" division_template = \"鸢尾教廷骑士\" start_experience_factor = 0.35 start_equipment_factor = 1" + owner = ROOT + } + } } - support = { - armored_car_recon = { x = 0 y = 0 } - artillery = { x = 0 y = 1 } - logistics_company = { x = 0 y = 2 } - medium_flame_tank = { x = 0 y = 3 } - engineer = { x = 0 y = 4 } - } - } - for_loop_effect = { - start = 0 - end = 20 - add = 1 - random_owned_controlled_state = { - limit = { is_core_of = YUW } - create_unit = { - division = "name = \"鸢尾骑士团\" division_template = \"鸢尾教廷骑士\" start_experience_factor = 0.35 start_equipment_factor = 1" - owner = ROOT - } - } - } - random_owned_controlled_state = { - limit = { is_core_of = YUW } + limit = { + is_core_of = YUW + } create_unit = { division = "name = \"圣殿骑士团\" division_template = \"鸢尾教廷骑士\" start_experience_factor = 0.35 start_equipment_factor = 1" owner = ROOT - } - } - random_owned_controlled_state = { - limit = { is_core_of = YUW } + } + } + random_owned_controlled_state = { + limit = { + is_core_of = YUW + } create_unit = { division = "name = \"医院骑士团\" division_template = \"鸢尾教廷骑士\" start_experience_factor = 0.35 start_equipment_factor = 1" owner = ROOT - } - } - random_owned_controlled_state = { - limit = { is_core_of = YUW } + } + } + random_owned_controlled_state = { + limit = { + is_core_of = YUW + } create_unit = { division = "name = \"条顿骑士团\" division_template = \"鸢尾教廷骑士\" start_experience_factor = 0.35 start_equipment_factor = 1" owner = ROOT - } - } - random_owned_controlled_state = { - limit = { is_core_of = YUW } + } + } + random_owned_controlled_state = { + limit = { + is_core_of = YUW + } create_unit = { division = "name = \"光辉圣骑士\" division_template = \"鸢尾教廷骑士\" start_experience_factor = 0.35 start_equipment_factor = 1" owner = ROOT - } - } - random_owned_controlled_state = { - limit = { is_core_of = YUW } + } + } + random_owned_controlled_state = { + limit = { + is_core_of = YUW + } create_unit = { division = "name = \"教廷守护者\" division_template = \"鸢尾教廷骑士\" start_experience_factor = 0.35 start_equipment_factor = 1" owner = ROOT - } + } } } - } + } } - focus = { id = YUW_zhengxinyongheng icon = GFX_focus_focus_fra_orleans_restoration x = -2 y = 1 cost = 10 - prerequisite = { focus = YUW_qishituandedashengzhan } + prerequisite = { + focus = YUW_qishituandedashengzhan + } relative_position_id = YUW_qishituandedashengzhan available = { is_puppet = no - or = { - has_government = neutrality - has_government = democratic + OR = { + has_government = neutrality + has_government = democratic } } ai_will_do = { @@ -6575,20 +7892,21 @@ focus_tree = { add_ideas = YUW_zxyh } } - focus = { id = YUW_wuzhuangchaosheng icon = GFX_focus_generic_tank_air_support x = 2 y = 1 cost = 5 - prerequisite = { focus = YUW_qishituandedashengzhan } + prerequisite = { + focus = YUW_qishituandedashengzhan + } relative_position_id = YUW_qishituandedashengzhan available = { is_puppet = no - or = { - has_government = neutrality - has_government = democratic + OR = { + has_government = neutrality + has_government = democratic } } ai_will_do = { @@ -6598,28 +7916,31 @@ focus_tree = { custom_effect_tooltip = yuw_shengdijueyijiesuotip } } - focus = { id = YUW_xindejiaoting icon = GFX_focus_generic_vatican_state x = -2 y = 1 cost = 5 - prerequisite = { focus = YUW_wuzhuangchaosheng } - prerequisite = { focus = YUW_zhengxinyongheng } + prerequisite = { + focus = YUW_wuzhuangchaosheng + } + prerequisite = { + focus = YUW_zhengxinyongheng + } relative_position_id = YUW_wuzhuangchaosheng will_lead_to_war_with = SAD available = { is_puppet = no - or = { - has_government = neutrality - has_government = democratic + OR = { + has_government = neutrality + has_government = democratic } } bypass = { - or = { - controls_state = 2 - has_war_with = SAD + OR = { + controls_state = 2 + has_war_with = SAD } } ai_will_do = { @@ -6627,38 +7948,42 @@ focus_tree = { } completion_reward = { SAD = { - country_event = { id = YUW_event.49 days = 1 } + country_event = { + id = YUW_event.49 + days = 1 + } } HUJ = { - add_ai_strategy = { - type = antagonize - id = "BFL" - value = 200 - } + add_ai_strategy = { + type = antagonize + id = "BFL" + value = 200 + } } BYG = { - add_ai_strategy = { - type = antagonize - id = "BFL" - value = 200 - } + add_ai_strategy = { + type = antagonize + id = "BFL" + value = 200 + } } } } - focus = { id = YUW_xinyangshouhuzhe icon = GFX_goal_generic_military_sphere x = 0 y = 1 cost = 15 - prerequisite = { focus = YUW_xindejiaoting } + prerequisite = { + focus = YUW_xindejiaoting + } relative_position_id = YUW_xindejiaoting available = { is_puppet = no - or = { - has_government = neutrality - has_government = democratic + OR = { + has_government = neutrality + has_government = democratic } } ai_will_do = { @@ -6666,30 +7991,32 @@ focus_tree = { } completion_reward = { if = { - limit = { - has_idea = YUW_fkAIbuff - is_ai = yes + limit = { + has_idea = YUW_fkAIbuff + is_ai = yes + } + add_ideas = YUW_xyshz_fkai } - add_ideas = YUW_xyshz_fkai - }else = { - add_ideas = YUW_xyshz + else = { + add_ideas = YUW_xyshz } } } - focus = { id = YUW_dongfangronghe icon = GFX_goal_generic_military_deal x = -2 y = 1 cost = 7 - prerequisite = { focus = YUW_xinyangshouhuzhe } + prerequisite = { + focus = YUW_xinyangshouhuzhe + } relative_position_id = YUW_xinyangshouhuzhe available = { is_puppet = no - or = { - has_government = neutrality - has_government = democratic + OR = { + has_government = neutrality + has_government = democratic } } ai_will_do = { @@ -6698,30 +8025,40 @@ focus_tree = { completion_reward = { guojishengyu_down_5 = yes SIA = { - country_event = { id = YUW_event.27 days = 1} + country_event = { + id = YUW_event.27 + days = 1 + } } PHI = { - country_event = { id = YUW_event.27 days = 1} + country_event = { + id = YUW_event.27 + days = 1 + } } INS = { - country_event = { id = YUW_event.27 days = 1} + country_event = { + id = YUW_event.27 + days = 1 + } } } } - focus = { id = YUW_zhengxinduda icon = GFX_focus_fra_le_deluge x = 2 y = 1 cost = 5 - prerequisite = { focus = YUW_xinyangshouhuzhe } + prerequisite = { + focus = YUW_xinyangshouhuzhe + } relative_position_id = YUW_xinyangshouhuzhe available = { is_puppet = no - or = { - has_government = neutrality - has_government = democratic + OR = { + has_government = neutrality + has_government = democratic } } ai_will_do = { @@ -6733,42 +8070,45 @@ focus_tree = { add_war_support = 0.2 } } - focus = { id = YUW_wanchengshiming icon = GFX_fflag_YUW x = -2 y = 1 cost = 2 - prerequisite = { focus = YUW_zhengxinduda } - prerequisite = { focus = YUW_dongfangronghe } + prerequisite = { + focus = YUW_zhengxinduda + } + prerequisite = { + focus = YUW_dongfangronghe + } relative_position_id = YUW_zhengxinduda available = { is_puppet = no - or = { - has_government = neutrality - has_government = democratic + OR = { + has_government = neutrality + has_government = democratic } - or = { - controls_state = 171 - any_country = { - is_in_faction_with = YUW - controls_state = 171 + OR = { + controls_state = 171 + any_country = { + is_in_faction_with = YUW + controls_state = 171 + } } + OR = { + controls_state = 2 + any_country = { + is_in_faction_with = YUW + controls_state = 2 + } } - or = { - controls_state = 2 - any_country = { - is_in_faction_with = YUW - controls_state = 2 - } - } - or = { - controls_state = 454 - any_country = { - is_in_faction_with = YUW - controls_state = 454 - } + OR = { + controls_state = 454 + any_country = { + is_in_faction_with = YUW + controls_state = 454 + } } } ai_will_do = { @@ -6778,8 +8118,6 @@ focus_tree = { set_cosmetic_tag = YUWjiaoting } } - - focus = { id = YUW_womingyouwo icon = GFX_focus_6194 @@ -6790,7 +8128,7 @@ focus_tree = { } cost = 1 relative_position_id = YUW_shenshengshiming - available = { + available = { has_country_flag = lyjs_fubiwangguo } ai_will_do = { @@ -6805,7 +8143,6 @@ focus_tree = { } } } - focus = { id = YUW_zongjiaodediwei icon = GFX_goal_generic_forceful_treaty @@ -6816,18 +8153,21 @@ focus_tree = { } cost = 2 relative_position_id = YUW_womingyouwo - prerequisite = { focus = YUW_womingyouwo } - available = { + prerequisite = { + focus = YUW_womingyouwo + } + available = { has_country_flag = lyjs_fubiwangguo } ai_will_do = { factor = 100 } completion_reward = { - country_event = { id = YUW_event.72 } + country_event = { + id = YUW_event.72 + } } } - focus = { id = YUW_chulifanduipai icon = GFX_focus_BUL_condemn_macedonian_organizations @@ -6838,18 +8178,21 @@ focus_tree = { } cost = 2 relative_position_id = YUW_womingyouwo - prerequisite = { focus = YUW_womingyouwo } - available = { + prerequisite = { + focus = YUW_womingyouwo + } + available = { has_country_flag = lyjs_fubiwangguo } ai_will_do = { factor = 100 } completion_reward = { - country_event = { id = YUW_event.73 } + country_event = { + id = YUW_event.73 + } } } - focus = { id = YUW_zhangkongjundui icon = GFX_focus_BUL_support_macedonian_organizations @@ -6860,9 +8203,13 @@ focus_tree = { } cost = 3 relative_position_id = YUW_chulifanduipai - prerequisite = { focus = YUW_chulifanduipai } - prerequisite = { focus = YUW_zongjiaodediwei } - available = { + prerequisite = { + focus = YUW_chulifanduipai + } + prerequisite = { + focus = YUW_zongjiaodediwei + } + available = { has_country_flag = lyjs_fubiwangguo } ai_will_do = { @@ -6872,7 +8219,6 @@ focus_tree = { army_experience = 150 } } - focus = { id = YUW_zhenzhengdewang icon = GFX_focus_focus_fra_third_empire @@ -6883,8 +8229,10 @@ focus_tree = { } cost = 2 relative_position_id = YUW_zhangkongjundui - prerequisite = { focus = YUW_zhangkongjundui } - available = { + prerequisite = { + focus = YUW_zhangkongjundui + } + available = { has_country_flag = lyjs_fubiwangguo } ai_will_do = { @@ -6894,7 +8242,6 @@ focus_tree = { add_political_power = 100 } } - focus = { id = YUW_huanranyixin icon = GFX_focus_focus_fra_down_marianne @@ -6905,8 +8252,10 @@ focus_tree = { } cost = 1 relative_position_id = YUW_zhangkongjundui - prerequisite = { focus = YUW_zhangkongjundui } - available = { + prerequisite = { + focus = YUW_zhangkongjundui + } + available = { has_country_flag = lyjs_fubiwangguo } ai_will_do = { @@ -6917,7 +8266,6 @@ focus_tree = { add_war_support = 0.15 } } - focus = { id = YUW_fenfengguizu icon = GFX_focus_fra_devalue_the_franc @@ -6928,18 +8276,21 @@ focus_tree = { } cost = 2 relative_position_id = YUW_zhangkongjundui - prerequisite = { focus = YUW_zhangkongjundui } - available = { + prerequisite = { + focus = YUW_zhangkongjundui + } + available = { has_country_flag = lyjs_fubiwangguo } ai_will_do = { factor = 100 } completion_reward = { - country_event = { id = YUW_event.75 } + country_event = { + id = YUW_event.75 + } } } - focus = { id = YUW_chongjianwangguo icon = GFX_goal_tfv_strengthen_commonwealth_ties @@ -6950,11 +8301,19 @@ focus_tree = { } cost = 5 relative_position_id = YUW_huanranyixin - prerequisite = { focus = YUW_zhenzhengdewang } - prerequisite = { focus = YUW_huanranyixin } - prerequisite = { focus = YUW_fenfengguizu } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } - available = { + prerequisite = { + focus = YUW_zhenzhengdewang + } + prerequisite = { + focus = YUW_huanranyixin + } + prerequisite = { + focus = YUW_fenfengguizu + } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } + available = { has_country_flag = lyjs_fubiwangguo } ai_will_do = { @@ -6963,20 +8322,22 @@ focus_tree = { completion_reward = { custom_effect_tooltip = buchuyiwaiqingkuang_yuw hidden_effect = { - if = { - limit = { - has_country_flag = lyjsfanchangdu_1 - has_country_flag = lyjsfanchangdu_2 - has_country_flag = lyjsfanchangdu_3 - } - country_event = { id = YUW_event.74 } - }else = { - add_ideas = YUW_zhenzhengdewang_idea - } + if = { + limit = { + has_country_flag = lyjsfanchangdu_1 + has_country_flag = lyjsfanchangdu_2 + has_country_flag = lyjsfanchangdu_3 + } + country_event = { + id = YUW_event.74 + } + } + else = { + add_ideas = YUW_zhenzhengdewang_idea + } } } } - focus = { id = YUW_gongheguojianli icon = GFX_focus_generic_support_the_left_right @@ -6987,7 +8348,7 @@ focus_tree = { } cost = 1 relative_position_id = YUW_womingyouwo - available = { + available = { has_country_flag = lyjs_fubibeituifan } ai_will_do = { @@ -6998,7 +8359,6 @@ focus_tree = { set_cosmetic_tag = YUWgonghheguo } } - focus = { id = YUW_zongjiaokuanrong icon = GFX_focus_GRE_an_orthodox_state @@ -7009,8 +8369,10 @@ focus_tree = { } cost = 3 relative_position_id = YUW_gongheguojianli - prerequisite = { focus = YUW_gongheguojianli } - available = { + prerequisite = { + focus = YUW_gongheguojianli + } + available = { has_country_flag = lyjs_fubibeituifan } ai_will_do = { @@ -7020,7 +8382,6 @@ focus_tree = { add_ideas = yuw_zjkr } } - focus = { id = YUW_jingjigaigenew icon = GFX_focus_generic_land_reclamation @@ -7031,8 +8392,10 @@ focus_tree = { } cost = 3 relative_position_id = YUW_gongheguojianli - prerequisite = { focus = YUW_gongheguojianli } - available = { + prerequisite = { + focus = YUW_gongheguojianli + } + available = { has_country_flag = lyjs_fubibeituifan } ai_will_do = { @@ -7041,106 +8404,105 @@ focus_tree = { completion_reward = { custom_effect_tooltip = wanjiujingji_gongyejidakuozhang hidden_effect = { - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = arms_factory + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = arms_factory + level = 5 + instant_build = yes + } } } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = arms_factory - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = arms_factory - level = 5 - instant_build = yes - } - } - } } } - focus = { id = YUW_xuanjuzongtong icon = GFX_focus_generic_treaty @@ -7151,10 +8513,16 @@ focus_tree = { } cost = 1 relative_position_id = YUW_jingjigaigenew - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } - prerequisite = { focus = YUW_zongjiaokuanrong } - prerequisite = { focus = YUW_jingjigaigenew } - available = { + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } + prerequisite = { + focus = YUW_zongjiaokuanrong + } + prerequisite = { + focus = YUW_jingjigaigenew + } + available = { has_country_flag = lyjs_fubibeituifan } ai_will_do = { @@ -7164,7 +8532,6 @@ focus_tree = { add_political_power = 150 } } - focus = { id = YUW_jiushidaidexiangzheng icon = GFX_focus_zhende @@ -7175,9 +8542,14 @@ focus_tree = { } cost = 5 relative_position_id = YUW_xuanjuzongtong - prerequisite = { focus = YUW_xuanjuzongtong } - mutually_exclusive = { focus = YUW_chenggongdeouxiang focus = YUW_xinshidaidehongyizhujiao } - available = { + prerequisite = { + focus = YUW_xuanjuzongtong + } + mutually_exclusive = { + focus = YUW_chenggongdeouxiang + focus = YUW_xinshidaidehongyizhujiao + } + available = { has_country_flag = lyjs_fubibeituifan } ai_will_do = { @@ -7186,20 +8558,19 @@ focus_tree = { completion_reward = { add_stability = 0.3 YUW_shengnvzhende = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = liberalism - traits = { - snddg - } - } - promote_leader = yes - } + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = liberalism + traits = { + snddg + } + } + promote_leader = yes + } } } } - focus = { id = YUW_xinshidaidehongyizhujiao icon = GFX_focus_lisailiu @@ -7210,9 +8581,14 @@ focus_tree = { } cost = 5 relative_position_id = YUW_xuanjuzongtong - prerequisite = { focus = YUW_xuanjuzongtong } - mutually_exclusive = { focus = YUW_chenggongdeouxiang focus = YUW_jiushidaidexiangzheng } - available = { + prerequisite = { + focus = YUW_xuanjuzongtong + } + mutually_exclusive = { + focus = YUW_chenggongdeouxiang + focus = YUW_jiushidaidexiangzheng + } + available = { has_country_flag = lyjs_fubibeituifan } ai_will_do = { @@ -7222,7 +8598,6 @@ focus_tree = { add_political_power = 200 } } - focus = { id = YUW_chenggongdeouxiang icon = GFX_focus_edu @@ -7233,9 +8608,14 @@ focus_tree = { } cost = 5 relative_position_id = YUW_xuanjuzongtong - mutually_exclusive = { focus = YUW_xinshidaidehongyizhujiao focus = YUW_jiushidaidexiangzheng } - prerequisite = { focus = YUW_xuanjuzongtong } - available = { + mutually_exclusive = { + focus = YUW_xinshidaidehongyizhujiao + focus = YUW_jiushidaidexiangzheng + } + prerequisite = { + focus = YUW_xuanjuzongtong + } + available = { is_puppet = no has_country_flag = lyjs_fubibeituifan } @@ -7244,26 +8624,28 @@ focus_tree = { } completion_reward = { set_politics = { - ruling_party = fascism + ruling_party = fascism + } + add_popularity = { + ideology = fascism + popularity = 0.5 } - add_popularity = { ideology = fascism popularity = 0.5 } add_war_support = 0.3 YUW_edu = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = gen_nazism - traits = { - trait_psh_xingfenzhidu - trait_psh_daiduotianshi - } - } - promote_leader = yes - } + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = gen_nazism + traits = { + trait_psh_xingfenzhidu + trait_psh_daiduotianshi + } + } + promote_leader = yes + } } } } - focus = { id = YUW_zhanxinyuanwei icon = GFX_focus_SWI_establish_pro_helvetia @@ -7274,8 +8656,12 @@ focus_tree = { } cost = 5 relative_position_id = YUW_xinshidaidehongyizhujiao - prerequisite = { focus = YUW_jiushidaidexiangzheng focus = YUW_xinshidaidehongyizhujiao focus = YUW_chenggongdeouxiang } - available = { + prerequisite = { + focus = YUW_jiushidaidexiangzheng + focus = YUW_xinshidaidehongyizhujiao + focus = YUW_chenggongdeouxiang + } + available = { is_puppet = no has_country_flag = lyjs_fubibeituifan } @@ -7286,26 +8672,34 @@ focus_tree = { add_ideas = YUW_zxyw } } - focus = { id = YUW_jiaojuzhe icon = GFX_focus_SWE_refuge_from_war x = 8 y = 0 cost = 10 - mutually_exclusive = { focus = YUW_yifengmixin focus = YUW_zhengfugaige focus = YUW_zhidugeming focus = YUW_jiuguoxingdong focus = YUW_shenshengshiming focus = YUW_tiqianxuanju } + mutually_exclusive = { + focus = YUW_yifengmixin + focus = YUW_zhengfugaige + focus = YUW_zhidugeming + focus = YUW_jiuguoxingdong + focus = YUW_shenshengshiming + focus = YUW_tiqianxuanju + } relative_position_id = YUW_shenshengshiming available = { - has_country_leader = { + has_country_leader = { name = "黎塞留" ruling_only = yes } - has_government = democratic - custom_trigger_tooltip = { - tooltip = "你还没有经历轮回" - not = {has_idea = YUW_geming} - } - has_global_flag = MOD_azurlane_tianjiangjianniang + has_government = democratic + custom_trigger_tooltip = { + tooltip = "你还没有经历轮回" + NOT = { + has_idea = YUW_geming + } + } + has_global_flag = MOD_azurlane_tianjiangjianniang } ai_will_do = { factor = 70 @@ -7313,93 +8707,104 @@ focus_tree = { select_effect = { country_event = YUW_event.77 add_ideas = YUW_daxuanqiandejingzheng - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled 20 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } 22 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } 32 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } 25 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { custom_effect_tooltip = jiuguoxingdong_tip effect_tooltip = { - country_event = YUW_event.77 - 20 = { - set_demilitarized_zone = yes - } - 22 = { - set_demilitarized_zone = yes - } - 32 = { - set_demilitarized_zone = yes - } - 25 = { - set_demilitarized_zone = yes - } - add_ideas = YUW_daxuanqiandejingzheng + country_event = YUW_event.77 + 20 = { + set_demilitarized_zone = yes + } + 22 = { + set_demilitarized_zone = yes + } + 32 = { + set_demilitarized_zone = yes + } + 25 = { + set_demilitarized_zone = yes + } + add_ideas = YUW_daxuanqiandejingzheng } custom_effect_tooltip = jiuguoxingdong_tip2 set_country_flag = yiwai_daxuanwufajinxing clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag custom_effect_tooltip = "这个国策的完成效果是动态的,最终效果取决于事件中的选择" if = { - limit = { - has_country_flag = yuwjjz_flag_1 - } - hidden_effect = { - country_event = YUW_event.84 - } - }else = { - hidden_effect = { - country_event = YUW_event.85 + limit = { + has_country_flag = yuwjjz_flag_1 + } + hidden_effect = { + country_event = YUW_event.84 + } } + else = { + hidden_effect = { + country_event = YUW_event.85 + } } if = { - limit = { - not = { has_country_flag = yuwjjz_flag_3 } + limit = { + NOT = { + has_country_flag = yuwjjz_flag_3 + } + } + country_event = YUW_event.86 + custom_effect_tooltip = "这个国策将移除分崩离析决议和民族精神。" + set_country_flag = YUW_dangerclear + add_to_variable = { + var = yuw_weixi + value = -200 + } + add_to_variable = { + var = yuw_ziyou + value = -200 + } + hidden_effect = { + remove_ideas = { + YUW_fblx + YUW_fblx_lisailiu + YUW_fblx_rangbaer + } + } } - country_event = YUW_event.86 - custom_effect_tooltip = "这个国策将移除分崩离析决议和民族精神。" - set_country_flag = YUW_dangerclear - add_to_variable = { - var = yuw_weixi - value = -200 - } - add_to_variable = { - var = yuw_ziyou - value = -200 - } - hidden_effect = { - remove_ideas = { YUW_fblx YUW_fblx_lisailiu YUW_fblx_rangbaer } - } - }else = { + else = { custom_effect_tooltip = yuw_jjzxjyhtips add_to_variable = { - var = yuw_jjz_win - value = 10 + var = yuw_jjz_win + value = 10 } } } } - focus = { id = YUW_xunliwenyi icon = GFX_focus_SWE_neither_death_nor_dishonor x = -1 y = 1 cost = 5 - prerequisite = { focus = YUW_jiaojuzhe } + prerequisite = { + focus = YUW_jiaojuzhe + } relative_position_id = YUW_jiaojuzhe select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled country_event = YUW_event.87 } available = { @@ -7414,81 +8819,88 @@ focus_tree = { completion_reward = { custom_effect_tooltip = jiuguoxingdong_tip effect_tooltip = { - country_event = YUW_event.87 + country_event = YUW_event.87 } custom_effect_tooltip = jiuguoxingdong_tip2 custom_effect_tooltip = yuwjjz_tips1 clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag hidden_effect = { - if = { - limit = { - has_country_flag = yuwjjz_flag_4 - } - country_event = YUW_event.89 - set_country_flag = yuwjjz_badend - } - if = { - limit = { - has_country_flag = yuwjjz_flag_6 - } - country_event = YUW_event.90 - set_country_flag = yuwjjz_badend - } - if = { - limit = { - has_country_flag = yuwjjz_flag_5 - has_country_flag = yuwjjz_flag_1 - } - country_event = YUW_event.92 - set_country_flag = yuwjjz_badend - } - if = { - limit = { - has_country_flag = yuwjjz_flag_5 - not = { has_country_flag = yuwjjz_flag_1 } - } - country_event = YUW_event.93 - } - if = { - limit = { - has_country_flag = yuwjjz_flag_1 - has_country_flag = yuwjjz_flag_7 - } - country_event = YUW_event.94 - } - if = { - limit = { - not = { has_country_flag = yuwjjz_flag_1 } - has_country_flag = yuwjjz_flag_7 - } - country_event = YUW_event.95 - } + if = { + limit = { + has_country_flag = yuwjjz_flag_4 + } + country_event = YUW_event.89 + set_country_flag = yuwjjz_badend + } + if = { + limit = { + has_country_flag = yuwjjz_flag_6 + } + country_event = YUW_event.90 + set_country_flag = yuwjjz_badend + } + if = { + limit = { + has_country_flag = yuwjjz_flag_5 + has_country_flag = yuwjjz_flag_1 + } + country_event = YUW_event.92 + set_country_flag = yuwjjz_badend + } + if = { + limit = { + has_country_flag = yuwjjz_flag_5 + NOT = { + has_country_flag = yuwjjz_flag_1 + } + } + country_event = YUW_event.93 + } + if = { + limit = { + has_country_flag = yuwjjz_flag_1 + has_country_flag = yuwjjz_flag_7 + } + country_event = YUW_event.94 + } + if = { + limit = { + NOT = { + has_country_flag = yuwjjz_flag_1 + } + has_country_flag = yuwjjz_flag_7 + } + country_event = YUW_event.95 + } } } } - focus = { id = YUW_yingjiuliren icon = GFX_focus_SWE_revoke_militia_law x = 1 y = 1 cost = 5 - prerequisite = { focus = YUW_jiaojuzhe } + prerequisite = { + focus = YUW_jiaojuzhe + } relative_position_id = YUW_jiaojuzhe available = { is_puppet = no has_war = no has_government = democratic - not = { has_country_flag = yuwjjz_badend } + NOT = { + has_country_flag = yuwjjz_badend + } } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled country_event = YUW_event.96 } bypass = { - or = { - has_country_flag = yuwjjz_flag_1 - has_country_flag = yuwjjz_flag_9 + OR = { + has_country_flag = yuwjjz_flag_1 + has_country_flag = yuwjjz_flag_9 } } ai_will_do = { @@ -7498,79 +8910,85 @@ focus_tree = { completion_reward = { custom_effect_tooltip = jiuguoxingdong_tip effect_tooltip = { - country_event = YUW_event.96 + country_event = YUW_event.96 } custom_effect_tooltip = jiuguoxingdong_tip2 custom_effect_tooltip = yuwjjz_tips1 clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag hidden_effect = { - if = { - limit = { - has_country_flag = yuwjjz_flag_10 - } - country_event = YUW_event.98 - } - if = { - limit = { - has_country_flag = yuwjjz_flag_8 - } - country_event = YUW_event.99 - } + if = { + limit = { + has_country_flag = yuwjjz_flag_10 + } + country_event = YUW_event.98 + } + if = { + limit = { + has_country_flag = yuwjjz_flag_8 + } + country_event = YUW_event.99 + } } } } - focus = { id = YUW_qubali icon = GFX_focus_generic_railroad x = 1 y = 1 cost = 10 - prerequisite = { focus = YUW_xunliwenyi } - prerequisite = { focus = YUW_yingjiuliren } + prerequisite = { + focus = YUW_xunliwenyi + } + prerequisite = { + focus = YUW_yingjiuliren + } relative_position_id = YUW_xunliwenyi available = { is_puppet = no has_war = no has_government = democratic - not = { has_country_flag = yuwjjz_badend } + NOT = { + has_country_flag = yuwjjz_badend + } } ai_will_do = { factor = 100 } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled country_event = YUW_event.102 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = jiuguoxingdong_tip effect_tooltip = { - country_event = YUW_event.102 - custom_effect_tooltip = yuwjjz_tips1 + country_event = YUW_event.102 + custom_effect_tooltip = yuwjjz_tips1 } custom_effect_tooltip = jiuguoxingdong_tip2 country_event = YUW_event.110 27 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } 33 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } 26 = { - set_demilitarized_zone = yes + set_demilitarized_zone = yes } clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag } } - focus = { id = YUW_fensuizuoyipanluan icon = GFX_focus_SWE_attack_landsorganisationen x = -2 y = 1 cost = 5 - prerequisite = { focus = YUW_qubali } + prerequisite = { + focus = YUW_qubali + } relative_position_id = YUW_qubali available = { is_puppet = no @@ -7579,12 +8997,12 @@ focus_tree = { has_country_flag = yuwzuipaineizhan_kaishi has_idea = YUW_daxuanqiandejingzheng power_balance_value = { - id = YUW_balance - value > -0.5 + id = YUW_balance + value > -0.5 } power_balance_value = { - id = YUW_balance - value < 0.5 + id = YUW_balance + value < 0.5 } } ai_will_do = { @@ -7595,14 +9013,15 @@ focus_tree = { country_event = YUW_event.111 } } - focus = { id = YUW_yurangbaertuoxie icon = GFX_focus_rangbaer x = 0 y = 1 cost = 5 - prerequisite = { focus = YUW_qubali } + prerequisite = { + focus = YUW_qubali + } relative_position_id = YUW_qubali available = { is_puppet = no @@ -7610,12 +9029,12 @@ focus_tree = { has_government = democratic has_idea = YUW_daxuanqiandejingzheng power_balance_value = { - id = YUW_balance - value > -0.5 + id = YUW_balance + value > -0.5 } power_balance_value = { - id = YUW_balance - value < 0.5 + id = YUW_balance + value < 0.5 } } ai_will_do = { @@ -7625,36 +9044,38 @@ focus_tree = { completion_reward = { custom_effect_tooltip = yuwjjz_tips1 hidden_effect = { - if = { - limit = { - or = { - if = { - has_completed_focus = YUW_fensuizuoyipanluan - has_country_flag = yuwjjz_flag_2 - check_variable = { - var = yuw_jjz_win - value = 30 - compare = greater_than_or_equals - } - } - is_ai = yes - } - } - country_event = YUW_event.112 - }else = { - country_event = YUW_event.113 - } + if = { + limit = { + OR = { + if = { + has_completed_focus = YUW_fensuizuoyipanluan + has_country_flag = yuwjjz_flag_2 + check_variable = { + var = yuw_jjz_win + value = 30 + compare = greater_than_or_equals + } + } + is_ai = yes + } + } + country_event = YUW_event.112 + } + else = { + country_event = YUW_event.113 + } } } } - focus = { id = YUW_zhengmianyingjibuqu icon = GFX_focus_buqu x = 0 y = 1 cost = 5 - prerequisite = { focus = YUW_yurangbaertuoxie } + prerequisite = { + focus = YUW_yurangbaertuoxie + } relative_position_id = YUW_yurangbaertuoxie available = { is_puppet = no @@ -7662,12 +9083,12 @@ focus_tree = { has_government = democratic has_idea = YUW_daxuanqiandejingzheng power_balance_value = { - id = YUW_balance - value > -0.5 + id = YUW_balance + value > -0.5 } power_balance_value = { - id = YUW_balance - value < 0.5 + id = YUW_balance + value < 0.5 } } ai_will_do = { @@ -7678,14 +9099,15 @@ focus_tree = { country_event = YUW_event.123 } } - focus = { id = YUW_daibudunkeerke icon = GFX_focus_dunkeerke x = 2 y = 1 cost = 5 - prerequisite = { focus = YUW_qubali } + prerequisite = { + focus = YUW_qubali + } relative_position_id = YUW_qubali available = { is_puppet = no @@ -7694,12 +9116,12 @@ focus_tree = { has_country_flag = dunkeerkezhengbian_kaishi has_idea = YUW_daxuanqiandejingzheng power_balance_value = { - id = YUW_balance - value > -0.5 + id = YUW_balance + value > -0.5 } power_balance_value = { - id = YUW_balance - value < 0.5 + id = YUW_balance + value < 0.5 } } bypass = { @@ -7711,31 +9133,35 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { country_event = YUW_event.114 - add_days_mission_timeout = { mission = YUW_dunkeerkezhengbain_time days = 5000 } } } - focus = { id = YUW_zhongzhifengkuangjihua icon = GFX_focus_6194 x = 0 y = 1 cost = 5 - prerequisite = { focus = YUW_zhengmianyingjibuqu } - prerequisite = { focus = YUW_daibudunkeerke } - prerequisite = { focus = YUW_fensuizuoyipanluan } + prerequisite = { + focus = YUW_zhengmianyingjibuqu + } + prerequisite = { + focus = YUW_daibudunkeerke + } + prerequisite = { + focus = YUW_fensuizuoyipanluan + } relative_position_id = YUW_zhengmianyingjibuqu available = { is_puppet = no has_war = no has_government = democratic has_country_leader = { - character = YUW_lisailiu - ruling_only = yes + character = YUW_lisailiu + ruling_only = yes } } select_effect = { - set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled + set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled country_event = YUW_event.126 } ai_will_do = { @@ -7745,58 +9171,70 @@ focus_tree = { completion_reward = { custom_effect_tooltip = jiuguoxingdong_tip effect_tooltip = { - country_event = YUW_event.126 + country_event = YUW_event.126 } custom_effect_tooltip = jiuguoxingdong_tip2 custom_effect_tooltip = yuwjjz_tips1 clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag hidden_effect = { - country_event = YUW_event.128 + country_event = YUW_event.128 } } } - focus = { id = YUW_xingyunqiyuan icon = GFX_focus_banerwei x = -3 y = 2 cost = 5 - prerequisite = { focus = YUW_zhongzhifengkuangjihua } + prerequisite = { + focus = YUW_zhongzhifengkuangjihua + } relative_position_id = YUW_zhongzhifengkuangjihua - mutually_exclusive = { focus = YUW_yuwengdeli focus = YUW_weiyouzhandou } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } + mutually_exclusive = { + focus = YUW_yuwengdeli + focus = YUW_weiyouzhandou + } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } available = { is_puppet = no has_country_leader = { - character = YUW_banerwei - ruling_only = yes + character = YUW_banerwei + ruling_only = yes } } ai_will_do = { factor = 100 } - search_filters = { FOCUS_FILTER_HISTORICAL } + search_filters = { + FOCUS_FILTER_HISTORICAL + } completion_reward = { custom_effect_tooltip = YUW_tips_cxsswjzc add_ideas = YUW_xingyunqiyuan_idea } } - focus = { id = YUW_weiyouzhandou icon = GFX_focus_mojiaduoer x = 0 y = 2 cost = 5 - prerequisite = { focus = YUW_zhongzhifengkuangjihua } + prerequisite = { + focus = YUW_zhongzhifengkuangjihua + } relative_position_id = YUW_zhongzhifengkuangjihua - mutually_exclusive = { focus = YUW_yuwengdeli focus = YUW_xingyunqiyuan } + mutually_exclusive = { + focus = YUW_yuwengdeli + focus = YUW_xingyunqiyuan + } available = { is_puppet = no has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } ai_will_do = { @@ -7806,33 +9244,38 @@ focus_tree = { add_ideas = YUW_santouzhengzhi_idea } } - focus = { id = YUW_yuwengdeli icon = GFX_focus_aerjiliya x = 3 y = 2 cost = 5 - prerequisite = { focus = YUW_zhongzhifengkuangjihua } + prerequisite = { + focus = YUW_zhongzhifengkuangjihua + } relative_position_id = YUW_zhongzhifengkuangjihua - mutually_exclusive = { focus = YUW_weiyouzhandou focus = YUW_xingyunqiyuan } + mutually_exclusive = { + focus = YUW_weiyouzhandou + focus = YUW_xingyunqiyuan + } available = { is_puppet = no has_country_leader = { - character = YUW_aerjiliya - ruling_only = yes + character = YUW_aerjiliya + ruling_only = yes } } ai_will_do = { factor = 100 } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } completion_reward = { complete_national_focus = YUW_yuanweideziranbianjie add_ideas = YUW_gulizhengce_idea } } - focus = { id = YUW_zhandoucongweijieshu icon = GFX_focus_SWE_organize_a_putsch @@ -7845,8 +9288,8 @@ focus_tree = { is_puppet = no has_completed_focus = YUW_weiyouzhandou has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } ai_will_do = { @@ -7864,13 +9307,15 @@ focus_tree = { x = -1 y = 1 cost = 5 - prerequisite = { focus = YUW_zhandoucongweijieshu } + prerequisite = { + focus = YUW_zhandoucongweijieshu + } relative_position_id = YUW_zhandoucongweijieshu available = { is_puppet = no has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } ai_will_do = { @@ -7881,20 +9326,21 @@ focus_tree = { custom_effect_tooltip = yuwjjz_jiesuoewaijiaotiao } } - focus = { id = YUW_jiaoyihaibugouxin icon = GFX_focus_generic_court x = 1 y = 1 cost = 5 - prerequisite = { focus = YUW_zhandoucongweijieshu } + prerequisite = { + focus = YUW_zhandoucongweijieshu + } relative_position_id = YUW_zhandoucongweijieshu available = { is_puppet = no has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } ai_will_do = { @@ -7905,21 +9351,24 @@ focus_tree = { custom_effect_tooltip = yuwjjz_jiesuoewaijiaoyi } } - focus = { id = YUW_shenpantingyegaigaigele icon = GFX_focus_SWE_undermine_fascism x = -1 y = 1 cost = 5 - prerequisite = { focus = YUW_jiaotiaohaibugouduo } - prerequisite = { focus = YUW_jiaoyihaibugouxin } + prerequisite = { + focus = YUW_jiaotiaohaibugouduo + } + prerequisite = { + focus = YUW_jiaoyihaibugouxin + } relative_position_id = YUW_jiaoyihaibugouxin available = { is_puppet = no has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } ai_will_do = { @@ -7930,20 +9379,21 @@ focus_tree = { country_event = YUW_event.133 } } - focus = { id = YUW_baituochangshishufu icon = GFX_focus_manjiu x = -3 y = 1 cost = 5 - prerequisite = { focus = YUW_shenpantingyegaigaigele } + prerequisite = { + focus = YUW_shenpantingyegaigaigele + } relative_position_id = YUW_shenpantingyegaigaigele available = { is_puppet = no has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } ai_will_do = { @@ -7955,21 +9405,21 @@ focus_tree = { remove_country_leader_trait = trait_psh_bushouhuanyingdetongzhi } } - - focus = { id = YUW_jiasujiasujiasu icon = GFX_focus_SWE_lynx_armored_car x = 0 y = 1 cost = 5 - prerequisite = { focus = YUW_shenpantingyegaigaigele } + prerequisite = { + focus = YUW_shenpantingyegaigaigele + } relative_position_id = YUW_shenpantingyegaigaigele available = { is_puppet = no has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } ai_will_do = { @@ -7980,20 +9430,21 @@ focus_tree = { add_country_leader_trait = trait_psh_jisujiasuchaosu } } - focus = { id = YUW_xiangweidaodizainali icon = GFX_focus_xinzhimofang x = 3 y = 1 cost = 5 - prerequisite = { focus = YUW_shenpantingyegaigaigele } + prerequisite = { + focus = YUW_shenpantingyegaigaigele + } relative_position_id = YUW_shenpantingyegaigaigele available = { is_puppet = no has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } ai_will_do = { @@ -8004,76 +9455,101 @@ focus_tree = { add_country_leader_trait = trait_psh_wenxiangchenni } } - focus = { id = YUW_renwukerendefanpu icon = GFX_focus_xiafei x = -4 y = 1 cost = 10 - prerequisite = { focus = YUW_xiangweidaodizainali } - prerequisite = { focus = YUW_jiasujiasujiasu } - prerequisite = { focus = YUW_baituochangshishufu } + prerequisite = { + focus = YUW_xiangweidaodizainali + } + prerequisite = { + focus = YUW_jiasujiasujiasu + } + prerequisite = { + focus = YUW_baituochangshishufu + } relative_position_id = YUW_xiangweidaodizainali - mutually_exclusive = { focus = YUW_buyetinghaodemang } + mutually_exclusive = { + focus = YUW_buyetinghaodemang + } available = { is_puppet = no has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } ai_will_do = { factor = 0 } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } completion_reward = { custom_effect_tooltip = yuwjjz_buffdiushi complete_national_focus = YUW_lianhezhizheng - add_popularity = { ideology = democratic popularity = 0.5 } + add_popularity = { + ideology = democratic + popularity = 0.5 + } YUW_xiafei = { add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = xiafeizhidu - traits = { - trait_psh_shenpanguan + country_leader = { + expire = "4999.1.1" + ideology = xiafeizhidu + traits = { + trait_psh_shenpanguan + } } - } - promote_leader = yes + promote_leader = yes } } - set_party_name = { ideology = democratic long_name = "维希教廷-霞飞派" name = "维希教廷-霞飞派" } + set_party_name = { + ideology = democratic + long_name = "维希教廷-霞飞派" + name = "维希教廷-霞飞派" + } add_ideas = YUW_tingshinuhou_idea hidden_effect = { - remove_ideas = YUW_zhandourengzaijuxu_idea_2 - remove_ideas = YUW_santouzhengzhi_idea_2 + remove_ideas = YUW_zhandourengzaijuxu_idea_2 + remove_ideas = YUW_santouzhengzhi_idea_2 } } } - focus = { id = YUW_buyetinghaodemang icon = GFX_focus_mojiaduoer x = -2 y = 1 cost = 10 - prerequisite = { focus = YUW_xiangweidaodizainali } - prerequisite = { focus = YUW_jiasujiasujiasu } - prerequisite = { focus = YUW_baituochangshishufu } - mutually_exclusive = { focus = YUW_renwukerendefanpu } + prerequisite = { + focus = YUW_xiangweidaodizainali + } + prerequisite = { + focus = YUW_jiasujiasujiasu + } + prerequisite = { + focus = YUW_baituochangshishufu + } + mutually_exclusive = { + focus = YUW_renwukerendefanpu + } relative_position_id = YUW_xiangweidaodizainali available = { is_puppet = no has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } ai_will_do = { factor = 100 } - search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } + search_filters = { + FOCUS_FILTER_POLITICAL_CHARACTER + } completion_reward = { set_cosmetic_tag = YUW_yuwjg add_country_leader_trait = trait_psh_zhanjinzuie @@ -8086,40 +9562,49 @@ focus_tree = { add_idea = YUW_santouzhengzhi_idea_3 } YUW_mojiaduoer = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = fascism_ideology - traits = { - trait_psh_zhanjinzuie - trait_psh_jisujiasuchaosu - trait_psh_wenxiangchenni - } - } - promote_leader = yes - } + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = fascism_ideology + traits = { + trait_psh_zhanjinzuie + trait_psh_jisujiasuchaosu + trait_psh_wenxiangchenni + } + } + promote_leader = yes + } } set_politics = { ruling_party = fascism } - add_popularity = { ideology = fascism popularity = 1 } - set_party_name = { ideology = fascism long_name = "维希教廷-莫加多尔派" name = "维希教廷-莫加多尔派" } + add_popularity = { + ideology = fascism + popularity = 1 + } + set_party_name = { + ideology = fascism + long_name = "维希教廷-莫加多尔派" + name = "维希教廷-莫加多尔派" + } } } - focus = { id = YUW_waijaoyehenjiandan icon = GFX_focus_SWE_hedgehog_defense x = 1 y = 1 cost = 5 - prerequisite = { focus = YUW_renwukerendefanpu focus = YUW_buyetinghaodemang } + prerequisite = { + focus = YUW_renwukerendefanpu + focus = YUW_buyetinghaodemang + } relative_position_id = YUW_renwukerendefanpu available = { is_puppet = no has_country_leader = { - character = YUW_mojiaduoer - ruling_only = yes + character = YUW_mojiaduoer + ruling_only = yes } } ai_will_do = { @@ -8128,12 +9613,11 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { HUJ = { - country_event = YUW_event.134 + country_event = YUW_event.134 } BYG = { - country_event = YUW_event.134 + country_event = YUW_event.134 } } } - -} \ No newline at end of file +} diff --git a/src/common/national_focus/yuanwei_c.txt b/src/common/national_focus/yuanwei_c.txt index 02ade48..1fe025a 100755 --- a/src/common/national_focus/yuanwei_c.txt +++ b/src/common/national_focus/yuanwei_c.txt @@ -5,278 +5,303 @@ focus_tree = { shared_focus = AL_junshi country = { factor = 0 - modifier = { - - } } - - continuous_focus_position = { x = 1100 y = 1700 } - + continuous_focus_position = { + x = 1100 + y = 1700 + } default = no focus = { id = YUC_neizhanzhuangtai icon = GFX_focus_BUL_support_macedonian_organizations - relative_position_id = YUC_geming + relative_position_id = YUC_geming x = 5 y = 0 cost = 3 available = { - has_civil_war = yes + has_civil_war = yes } bypass = { - has_civil_war = no + has_civil_war = no } ai_will_do = { factor = 80 } completion_reward = { - add_timed_idea = { idea = YUW_nzzt days = 730 } - } - + add_timed_idea = { + idea = YUW_nzzt + days = 730 + } } + } focus = { id = YUC_dongyuangongren icon = GFX_focus_generic_join_comintern - prerequisite = { focus = YUC_neizhanzhuangtai } - relative_position_id = YUC_neizhanzhuangtai + prerequisite = { + focus = YUC_neizhanzhuangtai + } + relative_position_id = YUC_neizhanzhuangtai x = -1 y = 1 cost = 2 available = { - has_civil_war = yes + has_civil_war = yes } bypass = { - has_civil_war = no + has_civil_war = no } ai_will_do = { factor = 80 } completion_reward = { custom_effect_tooltip = YUW_tip6 - hidden_effect = { + hidden_effect = { division_template = { - name = "鸢尾民兵师" - regiments = { - infantry = { x = 0 y = 0 } - infantry = { x = 0 y = 1 } - infantry = { x = 0 y = 2 } - - infantry = { x = 0 y = 3 } - infantry = { x = 0 y = 4 } - } + name = "鸢尾民兵师" + regiments = { + infantry = { + x = 0 + y = 0 + } + infantry = { + x = 0 + y = 1 + } + infantry = { + x = 0 + y = 2 + } + infantry = { + x = 0 + y = 3 + } + infantry = { + x = 0 + y = 4 } - - random_owned_controlled_state = { - create_unit = { - division = "name = \"1. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" - owner = YUW - } - } - random_owned_controlled_state = { - create_unit = { - division = "name = \"2. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" - owner = YUW - } - - } - random_owned_controlled_state = { - create_unit = { - division = "name = \"3. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" - owner = YUW - } - - } - random_owned_controlled_state = { - create_unit = { - division = "name = \"4. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" - owner = YUW - } - - } - } + random_owned_controlled_state = { + create_unit = { + division = "name = \"1. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" + owner = YUW + } } - + random_owned_controlled_state = { + create_unit = { + division = "name = \"2. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" + owner = YUW + } + } + random_owned_controlled_state = { + create_unit = { + division = "name = \"3. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" + owner = YUW + } + } + random_owned_controlled_state = { + create_unit = { + division = "name = \"4. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" + owner = YUW + } + } + } } + } focus = { id = YUC_hongsezhou icon = GFX_focus_prc_agrarian_socialism - prerequisite = { focus = YUC_dongyuangongren } - relative_position_id = YUC_dongyuangongren + prerequisite = { + focus = YUC_dongyuangongren + } + relative_position_id = YUC_dongyuangongren x = 0 y = 1 cost = 5 available = { - has_civil_war = yes + has_civil_war = yes } bypass = { - has_civil_war = no + has_civil_war = no } ai_will_do = { factor = 80 } completion_reward = { - random_owned_controlled_state = { + random_owned_controlled_state = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 2 - instant_build = yes + instant_build = yes } - } - random_owned_controlled_state = { + } + random_owned_controlled_state = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 2 - instant_build = yes + instant_build = yes } - } - random_owned_controlled_state = { + } + random_owned_controlled_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 - instant_build = yes - } + instant_build = yes } } - } + } focus = { id = YUC_zhanshizhuangtai icon = GFX_focus_generic_tank_production - prerequisite = { focus = YUC_neizhanzhuangtai } - relative_position_id = YUC_neizhanzhuangtai + prerequisite = { + focus = YUC_neizhanzhuangtai + } + relative_position_id = YUC_neizhanzhuangtai x = 1 y = 1 cost = 5 available = { - has_civil_war = yes + has_civil_war = yes } bypass = { - has_civil_war = no + has_civil_war = no } ai_will_do = { factor = 80 } completion_reward = { - add_ideas = war_economy - } - + add_ideas = war_economy } + } focus = { id = YUC_nongminyundong icon = GFX_focus_YUG_pan_slavic_congress - prerequisite = { focus = YUC_zhanshizhuangtai} - relative_position_id = YUC_zhanshizhuangtai + prerequisite = { + focus = YUC_zhanshizhuangtai + } + relative_position_id = YUC_zhanshizhuangtai x = 0 y = 1 cost = 2 available = { - has_civil_war = yes + has_civil_war = yes } bypass = { - has_civil_war = no + has_civil_war = no } ai_will_do = { factor = 80 } completion_reward = { - custom_effect_tooltip = YUW_tip6 - hidden_effect = { + custom_effect_tooltip = YUW_tip6 + hidden_effect = { division_template = { - name = "鸢尾民兵师" - regiments = { - infantry = { x = 0 y = 0 } - infantry = { x = 0 y = 1 } - infantry = { x = 0 y = 2 } - - infantry = { x = 0 y = 3 } - infantry = { x = 0 y = 4 } - } + name = "鸢尾民兵师" + regiments = { + infantry = { + x = 0 + y = 0 + } + infantry = { + x = 0 + y = 1 + } + infantry = { + x = 0 + y = 2 + } + infantry = { + x = 0 + y = 3 + } + infantry = { + x = 0 + y = 4 } - - random_owned_controlled_state = { - create_unit = { - division = "name = \"1. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" - owner = YUW - } - } - random_owned_controlled_state = { - create_unit = { - division = "name = \"2. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" - owner = YUW - } - - } - random_owned_controlled_state = { - create_unit = { - division = "name = \"3. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" - owner = YUW - } - - } - random_owned_controlled_state = { - create_unit = { - division = "name = \"4. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" - owner = YUW - } - - } - } + random_owned_controlled_state = { + create_unit = { + division = "name = \"1. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" + owner = YUW + } } - + random_owned_controlled_state = { + create_unit = { + division = "name = \"2. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" + owner = YUW + } + } + random_owned_controlled_state = { + create_unit = { + division = "name = \"3. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" + owner = YUW + } + } + random_owned_controlled_state = { + create_unit = { + division = "name = \"4. 鸢尾民兵师\" division_template = \"鸢尾民兵师\" start_experience_factor = 0.1" + owner = YUW + } + } + } } + } focus = { id = YUC_daguimodongyuan icon = GFX_focus_fra_milice - prerequisite = { focus = YUC_nongminyundong focus = YUC_hongsezhou } - relative_position_id = YUC_nongminyundong + prerequisite = { + focus = YUC_nongminyundong + focus = YUC_hongsezhou + } + relative_position_id = YUC_nongminyundong x = -1 y = 1 cost = 5 available = { - has_civil_war = yes + has_civil_war = yes } bypass = { - has_civil_war = no + has_civil_war = no } ai_will_do = { factor = 80 } completion_reward = { - add_ideas = extensive_conscription - } - + add_ideas = extensive_conscription } + } focus = { id = YUC_chongxinqiyongweixipaijungong icon = GFX_focus_rangbaer - prerequisite = { focus = YUC_daguimodongyuan } - relative_position_id = YUC_daguimodongyuan + prerequisite = { + focus = YUC_daguimodongyuan + } + relative_position_id = YUC_daguimodongyuan x = 0 y = 1 cost = 8 available = { - has_civil_war = no - has_idea = YUW_geming + has_civil_war = no + has_idea = YUW_geming } - ai_will_do = { factor = 80 } completion_reward = { create_field_marshal = { name = "让巴尔" - picture = "rangbaer.png" - traits = { trait_engineer zhanlie_army } + traits = { + trait_engineer + zhanlie_army + } skill = 4 attack_skill = 5 defense_skill = 3 @@ -285,9 +310,12 @@ focus_tree = { } create_corps_commander = { name = "阿尔及利亚" - picture = "aerjiliya.png" - traits = { infantry_leader desert_fox xunyang_army } + traits = { + infantry_leader + desert_fox + xunyang_army + } skill = 3 attack_skill = 3 defense_skill = 2 @@ -296,21 +324,23 @@ focus_tree = { } create_corps_commander = { name = "敦刻尔克" - picture = "dunkerque.png" - traits = { zhanlie_army } + traits = { + zhanlie_army + } skill = 3 attack_skill = 2 defense_skill = 3 planning_skill = 3 logistics_skill = 2 } - create_corps_commander = { name = "恶毒" - picture = "edu.png" - traits = { inflexible_strategist quzhu_army } + traits = { + inflexible_strategist + quzhu_army + } skill = 3 attack_skill = 3 defense_skill = 3 @@ -319,33 +349,29 @@ focus_tree = { } create_corps_commander = { name = "沃克兰" - picture = "wokelan.png" - traits = { quzhu_army } + traits = { + quzhu_army + } skill = 3 attack_skill = 2 defense_skill = 2 planning_skill = 3 logistics_skill = 3 } - - - - - } - } + } focus = { id = YUC_zhunbeidahui icon = GFX_focus_generic_join_comintern x = 0 y = 1 - relative_position_id = YUC_chongxinqiyongweixipaijungong + relative_position_id = YUC_chongxinqiyongweixipaijungong cost = 3 available = { - or = { - has_completed_focus = YUC_gaigechengguo - has_completed_focus = YUC_wanchengjingjigaige + OR = { + has_completed_focus = YUC_gaigechengguo + has_completed_focus = YUC_wanchengjingjigaige } } ai_will_do = { @@ -360,10 +386,11 @@ focus_tree = { icon = GFX_goal_tripartite_pact x = 1 y = 1 - prerequisite = { focus = YUC_zhunbeidahui } - relative_position_id = YUC_zhunbeidahui + prerequisite = { + focus = YUC_zhunbeidahui + } + relative_position_id = YUC_zhunbeidahui cost = 1 - ai_will_do = { factor = 100 } @@ -374,12 +401,13 @@ focus_tree = { focus = { id = YUC_yaoqingguoneidaibiao icon = GFX_focus_generic_royal_wedding - prerequisite = { focus = YUC_zhunbeidahui } + prerequisite = { + focus = YUC_zhunbeidahui + } x = -1 y = 1 - relative_position_id = YUC_zhunbeidahui + relative_position_id = YUC_zhunbeidahui cost = 2 - ai_will_do = { factor = 100 } @@ -390,11 +418,15 @@ focus_tree = { focus = { id = YUC_huiyikaishi icon = GFX_focus_prc_agrarian_socialism - prerequisite = { focus = YUC_yaoqingguoneidaibiao } - prerequisite = { focus = YUC_yaoqingwaiguoyouren } + prerequisite = { + focus = YUC_yaoqingguoneidaibiao + } + prerequisite = { + focus = YUC_yaoqingwaiguoyouren + } x = 1 y = 1 - relative_position_id = YUC_yaoqingguoneidaibiao + relative_position_id = YUC_yaoqingguoneidaibiao cost = 1 available = { has_government = communism @@ -403,19 +435,25 @@ focus_tree = { factor = 100 } completion_reward = { - country_event = { id = YUW_event.22 } + country_event = { + id = YUW_event.22 + } } } focus = { id = YUC_wunianjihua icon = GFX_focus_generic_industry_3 - prerequisite = { focus = YUC_huiyikaishi } - mutually_exclusive = { focus = YUC_zhezhongfangan focus = YUC_youxianjungongjianshe } + prerequisite = { + focus = YUC_huiyikaishi + } + mutually_exclusive = { + focus = YUC_zhezhongfangan + focus = YUC_youxianjungongjianshe + } x = -2 y = 1 - relative_position_id = YUC_huiyikaishi + relative_position_id = YUC_huiyikaishi cost = 5 - ai_will_do = { factor = 100 } @@ -427,13 +465,17 @@ focus_tree = { focus = { id = YUC_zhezhongfangan icon = GFX_goal_generic_construction - prerequisite = { focus = YUC_huiyikaishi } - mutually_exclusive = { focus = YUC_youxianjungongjianshe focus = YUC_wunianjihua } + prerequisite = { + focus = YUC_huiyikaishi + } + mutually_exclusive = { + focus = YUC_youxianjungongjianshe + focus = YUC_wunianjihua + } x = 0 y = 1 - relative_position_id = YUC_huiyikaishi + relative_position_id = YUC_huiyikaishi cost = 5 - ai_will_do = { factor = 100 } @@ -445,13 +487,17 @@ focus_tree = { focus = { id = YUC_youxianjungongjianshe icon = GFX_focus_generic_tank_production - prerequisite = { focus = YUC_huiyikaishi } - mutually_exclusive = { focus = YUC_zhezhongfangan focus = YUC_wunianjihua } + prerequisite = { + focus = YUC_huiyikaishi + } + mutually_exclusive = { + focus = YUC_zhezhongfangan + focus = YUC_wunianjihua + } x = 2 y = 1 - relative_position_id = YUC_huiyikaishi + relative_position_id = YUC_huiyikaishi cost = 5 - ai_will_do = { factor = 100 } @@ -463,11 +509,18 @@ focus_tree = { focus = { id = YUC_weiyidexuanze icon = GFX_focus_luoxiya2 - prerequisite = { focus = YUC_zhezhongfangan focus = YUC_youxianjungongjianshe focus = YUC_wunianjihua } - mutually_exclusive = { focus = YUC_chongxinshenshiwaijiaozhengce focus = YUC_teshutian } + prerequisite = { + focus = YUC_zhezhongfangan + focus = YUC_youxianjungongjianshe + focus = YUC_wunianjihua + } + mutually_exclusive = { + focus = YUC_chongxinshenshiwaijiaozhengce + focus = YUC_teshutian + } x = -2 y = 1 - relative_position_id = YUC_zhezhongfangan + relative_position_id = YUC_zhezhongfangan cost = 5 available = { has_government = communism @@ -478,22 +531,28 @@ focus_tree = { completion_reward = { complete_national_focus = YUC_huzhutiaoyue add_ideas = FRA_support_the_left_focus - } } focus = { id = YUC_chongxinshenshiwaijiaozhengce icon = GFX_focus_qiye - prerequisite = { focus = YUC_zhezhongfangan focus = YUC_youxianjungongjianshe focus = YUC_wunianjihua } - mutually_exclusive = { focus = YUC_weiyidexuanze focus = YUC_teshutian } + prerequisite = { + focus = YUC_zhezhongfangan + focus = YUC_youxianjungongjianshe + focus = YUC_wunianjihua + } + mutually_exclusive = { + focus = YUC_weiyidexuanze + focus = YUC_teshutian + } x = 0 y = 1 - relative_position_id = YUC_zhezhongfangan + relative_position_id = YUC_zhezhongfangan cost = 5 available = { - or = { - has_government = communism - has_government = democratic + OR = { + has_government = communism + has_government = democratic } } ai_will_do = { @@ -502,17 +561,23 @@ focus_tree = { completion_reward = { complete_national_focus = YUC_minzhuhaijunyanxi add_ideas = why_we_fight_focus - } } focus = { id = YUC_teshutian icon = GFX_focus_tuoluociji_moe - prerequisite = { focus = YUC_zhezhongfangan focus = YUC_youxianjungongjianshe focus = YUC_wunianjihua } - mutually_exclusive = { focus = YUC_chongxinshenshiwaijiaozhengce focus = YUC_weiyidexuanze } + prerequisite = { + focus = YUC_zhezhongfangan + focus = YUC_youxianjungongjianshe + focus = YUC_wunianjihua + } + mutually_exclusive = { + focus = YUC_chongxinshenshiwaijiaozhengce + focus = YUC_weiyidexuanze + } x = 2 y = 1 - relative_position_id = YUC_zhezhongfangan + relative_position_id = YUC_zhezhongfangan cost = 8 available = { has_government = communism @@ -524,47 +589,58 @@ focus_tree = { complete_national_focus = YUC_shijiegeming add_ideas = why_we_fight_focus add_ideas = FRA_support_the_left_focus - } } focus = { id = YUC_xinxueye icon = GFX_focus_kaixuan - prerequisite = { focus = YUC_teshutian focus = YUC_chongxinshenshiwaijiaozhengce focus = YUC_weiyidexuanze } - mutually_exclusive = { focus = YUC_zhongshenzhuxi focus = YUC_yixiangbudaoderen } + prerequisite = { + focus = YUC_teshutian + focus = YUC_chongxinshenshiwaijiaozhengce + focus = YUC_weiyidexuanze + } + mutually_exclusive = { + focus = YUC_zhongshenzhuxi + focus = YUC_yixiangbudaoderen + } x = -2 y = 1 - relative_position_id = YUC_chongxinshenshiwaijiaozhengce + relative_position_id = YUC_chongxinshenshiwaijiaozhengce cost = 3 - ai_will_do = { factor = 100 } completion_reward = { - YUW_kaixuan = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = marxism - traits = { - ywzg - } - } - promote_leader = yes - } + YUW_kaixuan = { + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = marxism + traits = { + ywzg + } + } + promote_leader = yes + } } } } focus = { id = YUC_zhongshenzhuxi icon = GFX_focus_lisailiu - prerequisite = { focus = YUC_teshutian focus = YUC_chongxinshenshiwaijiaozhengce focus = YUC_weiyidexuanze } - mutually_exclusive = { focus = YUC_xinxueye focus = YUC_yixiangbudaoderen } + prerequisite = { + focus = YUC_teshutian + focus = YUC_chongxinshenshiwaijiaozhengce + focus = YUC_weiyidexuanze + } + mutually_exclusive = { + focus = YUC_xinxueye + focus = YUC_yixiangbudaoderen + } x = 0 y = 1 - relative_position_id = YUC_chongxinshenshiwaijiaozhengce + relative_position_id = YUC_chongxinshenshiwaijiaozhengce cost = 3 - ai_will_do = { factor = 100 } @@ -575,74 +651,84 @@ focus_tree = { focus = { id = YUC_yixiangbudaoderen icon = GFX_focus_zhende - prerequisite = { focus = YUC_teshutian focus = YUC_chongxinshenshiwaijiaozhengce focus = YUC_weiyidexuanze } - mutually_exclusive = { focus = YUC_xinxueye focus = YUC_zhongshenzhuxi } + prerequisite = { + focus = YUC_teshutian + focus = YUC_chongxinshenshiwaijiaozhengce + focus = YUC_weiyidexuanze + } + mutually_exclusive = { + focus = YUC_xinxueye + focus = YUC_zhongshenzhuxi + } x = 2 y = 1 - relative_position_id = YUC_chongxinshenshiwaijiaozhengce + relative_position_id = YUC_chongxinshenshiwaijiaozhengce cost = 3 - ai_will_do = { factor = 100 } completion_reward = { - YUW_shengnvzhende = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = marxism - traits = { - snddg + YUW_shengnvzhende = { + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = marxism + traits = { + snddg + } + } + promote_leader = yes + } } + YUW_shengnvzhende = { + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = liberalism + traits = { + snddg + } + } + promote_leader = yes + } } - promote_leader = yes - } - } - YUW_shengnvzhende = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = liberalism - traits = { - snddg - } - } - promote_leader = yes - } - } - YUW_shengnvzhende = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = despotism - traits = { - snddg - } - } - promote_leader = yes - } - } - YUW_shengnvzhende = { - add_country_leader_role = { - country_leader = { - expire = "4999.1.1" - ideology = fascism_ideology - traits = { - snddg - } - } - promote_leader = yes + YUW_shengnvzhende = { + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = despotism + traits = { + snddg + } + } + promote_leader = yes + } } + YUW_shengnvzhende = { + add_country_leader_role = { + country_leader = { + expire = "4999.1.1" + ideology = fascism_ideology + traits = { + snddg + } + } + promote_leader = yes + } } } } focus = { id = YUC_huiyijieshu icon = GFX_goal_anschluss - prerequisite = { focus = YUC_xinxueye focus = YUC_zhongshenzhuxi focus = YUC_yixiangbudaoderen } + prerequisite = { + focus = YUC_xinxueye + focus = YUC_zhongshenzhuxi + focus = YUC_yixiangbudaoderen + } x = 0 y = 1 - relative_position_id = YUC_zhongshenzhuxi + relative_position_id = YUC_zhongshenzhuxi cost = 1 available = { has_government = communism @@ -651,7 +737,9 @@ focus_tree = { factor = 100 } completion_reward = { - country_event = { id = YUW_event.23 } + country_event = { + id = YUW_event.23 + } } } focus = { @@ -659,7 +747,7 @@ focus_tree = { icon = GFX_goal_generic_intelligence_exchange x = 10 y = 0 - relative_position_id = YUC_geming + relative_position_id = YUC_geming cost = 1 available = { always = no @@ -668,7 +756,6 @@ focus_tree = { factor = 100 } completion_reward = { - } } focus = { @@ -676,10 +763,11 @@ focus_tree = { icon = GFX_goal_generic_demand_territory x = 0 y = 1 - relative_position_id = YUC_gailiang - prerequisite = { focus = YUC_gailiang } + relative_position_id = YUC_gailiang + prerequisite = { + focus = YUC_gailiang + } cost = 8 - bypass = { has_idea = YUW_hldzf5 } @@ -687,7 +775,7 @@ focus_tree = { factor = 100 } completion_reward = { - YUW_hldzf_dengji = 1 + YUW_hldzf_dengji = yes } } focus = { @@ -695,21 +783,35 @@ focus_tree = { icon = GFX_focus_lisailiu x = -1 y = 1 - relative_position_id = YUC_wendingzhengfu - prerequisite = { focus = YUC_wendingzhengfu } - mutually_exclusive = { focus = YUC_duodanghezuo } + relative_position_id = YUC_wendingzhengfu + prerequisite = { + focus = YUC_wendingzhengfu + } + mutually_exclusive = { + focus = YUC_duodanghezuo + } cost = 8 - - ai_will_do = { factor = 100 } completion_reward = { add_stability = 0.15 - add_popularity = { ideology = neutrality popularity = -1 } - add_popularity = { ideology = fascism popularity = -1 } - add_popularity = { ideology = democratic popularity = -1 } - add_popularity = { ideology = communism popularity = 1 } + add_popularity = { + ideology = neutrality + popularity = -1 + } + add_popularity = { + ideology = fascism + popularity = -1 + } + add_popularity = { + ideology = democratic + popularity = -1 + } + add_popularity = { + ideology = communism + popularity = 1 + } } } focus = { @@ -717,21 +819,35 @@ focus_tree = { icon = GFX_goal_generic_improve_relations x = 1 y = 1 - relative_position_id = YUC_wendingzhengfu - prerequisite = { focus = YUC_wendingzhengfu } - mutually_exclusive = { focus = YUC_yidangzhuanzheng } + relative_position_id = YUC_wendingzhengfu + prerequisite = { + focus = YUC_wendingzhengfu + } + mutually_exclusive = { + focus = YUC_yidangzhuanzheng + } cost = 8 - - ai_will_do = { factor = 100 } completion_reward = { add_war_support = 0.25 - add_popularity = { ideology = neutrality popularity = 0.05 } - add_popularity = { ideology = fascism popularity = 0.05} - add_popularity = { ideology = democratic popularity = 0.1 } - add_popularity = { ideology = communism popularity = 0.3 } + add_popularity = { + ideology = neutrality + popularity = 0.05 + } + add_popularity = { + ideology = fascism + popularity = 0.05 + } + add_popularity = { + ideology = democratic + popularity = 0.1 + } + add_popularity = { + ideology = communism + popularity = 0.3 + } } } focus = { @@ -739,12 +855,16 @@ focus_tree = { icon = GFX_focus_usa_reestablish_the_gold_standard x = 1 y = 1 - relative_position_id = YUC_yidangzhuanzheng - prerequisite = { focus = YUC_yidangzhuanzheng focus = YUC_duodanghezuo} + relative_position_id = YUC_yidangzhuanzheng + prerequisite = { + focus = YUC_yidangzhuanzheng + focus = YUC_duodanghezuo + } cost = 10 - bypass = { - not = {has_idea = YUW_jjbk} + NOT = { + has_idea = YUW_jjbk + } } ai_will_do = { factor = 100 @@ -767,19 +887,18 @@ focus_tree = { factor = 100 } completion_reward = { - } } - focus = { id = YUC_zaizaogongshe icon = GFX_focus_generic_soviet_politics - prerequisite = { focus = YUC_geming } - relative_position_id = YUC_geming + prerequisite = { + focus = YUC_geming + } + relative_position_id = YUC_geming x = -1 y = 1 cost = 2 - ai_will_do = { factor = 40 } @@ -788,16 +907,16 @@ focus_tree = { add_war_support = 0.3 } } - focus = { id = YUC_wushenlunguojia icon = GFX_focus_up_joan_of_arc - prerequisite = { focus = YUC_geming } - relative_position_id = YUC_geming + prerequisite = { + focus = YUC_geming + } + relative_position_id = YUC_geming x = 1 y = 1 cost = 5 - ai_will_do = { factor = 40 } @@ -805,13 +924,16 @@ focus_tree = { add_political_power = 200 } } - focus = { id = YUC_gaishanjingji icon = GFX_focus_generic_treaty - prerequisite = { focus = YUC_zaizaogongshe } - prerequisite = { focus = YUC_wushenlunguojia } - relative_position_id = YUC_wushenlunguojia + prerequisite = { + focus = YUC_zaizaogongshe + } + prerequisite = { + focus = YUC_wushenlunguojia + } + relative_position_id = YUC_wushenlunguojia x = -1 y = 1 cost = 1 @@ -822,221 +944,259 @@ focus_tree = { factor = 40 } completion_reward = { - custom_effect_tooltip = "我们将通过各种方式,逐步改善经济。" - } - + custom_effect_tooltip = "我们将通过各种方式,逐步改善经济。" } - + } focus = { id = YUC_jinzhichukou icon = GFX_goal_generic_forceful_treaty - prerequisite = { focus = YUC_gaishanjingji } - mutually_exclusive = { focus = YUC_jinkouyumi focus = YUC_ziyoumaoyi } - relative_position_id = YUC_gaishanjingji + prerequisite = { + focus = YUC_gaishanjingji + } + mutually_exclusive = { + focus = YUC_jinkouyumi + focus = YUC_ziyoumaoyi + } + relative_position_id = YUC_gaishanjingji x = -2 y = 1 cost = 5 - ai_will_do = { factor = 40 } completion_reward = { - YUW_gsjj_dengji = 1 - add_ideas = closed_economy - - } - + YUW_gsjj_dengji = yes + add_ideas = closed_economy } + } focus = { id = YUC_jinkouyumi icon = GFX_focus_yumiyundong - prerequisite = { focus = YUC_gaishanjingji } - relative_position_id = YUC_gaishanjingji - mutually_exclusive = { focus = YUC_jinzhichukou focus = YUC_ziyoumaoyi } + prerequisite = { + focus = YUC_gaishanjingji + } + relative_position_id = YUC_gaishanjingji + mutually_exclusive = { + focus = YUC_jinzhichukou + focus = YUC_ziyoumaoyi + } x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } completion_reward = { - YUW_gsjj_dengji = 1 - add_ideas = BFL_ymyd - } - + YUW_gsjj_dengji = yes + add_ideas = BFL_ymyd } - + } focus = { id = YUC_ziyoumaoyi icon = GFX_goal_generic_positive_trade_relations - prerequisite = { focus = YUC_gaishanjingji } - mutually_exclusive = { focus = YUC_jinzhichukou focus = YUC_jinkouyumi } - relative_position_id = YUC_gaishanjingji + prerequisite = { + focus = YUC_gaishanjingji + } + mutually_exclusive = { + focus = YUC_jinzhichukou + focus = YUC_jinkouyumi + } + relative_position_id = YUC_gaishanjingji x = 2 y = 1 cost = 5 - ai_will_do = { factor = 40 } completion_reward = { - add_ideas = free_trade - YUW_gsjj_dengji = 1 - custom_effect_tooltip = "YUW_tips4" - hidden_effect = { - add_popularity = { ideology = democratic popularity = 0.15 } + add_ideas = free_trade + YUW_gsjj_dengji = yes + custom_effect_tooltip = "YUW_tips4" + hidden_effect = { + add_popularity = { + ideology = democratic + popularity = 0.15 } - } - + } } - + } focus = { id = YUC_gongnongjiehe icon = GFX_goal_tripartite_pact - prerequisite = { focus = YUC_ziyoumaoyi focus = YUC_jinzhichukou focus = YUC_jinkouyumi} - mutually_exclusive = { focus = YUC_gongrenzhenxian focus = YUC_jinjizhuangtai } - relative_position_id = YUC_jinkouyumi + prerequisite = { + focus = YUC_ziyoumaoyi + focus = YUC_jinzhichukou + focus = YUC_jinkouyumi + } + mutually_exclusive = { + focus = YUC_gongrenzhenxian + focus = YUC_jinjizhuangtai + } + relative_position_id = YUC_jinkouyumi x = -2 y = 1 cost = 5 - ai_will_do = { factor = 40 } completion_reward = { - YUW_gsjj1_dengji = 1 - add_ideas = YUW_gnjh - } - - } + YUW_gsjj1_dengji = yes + add_ideas = YUW_gnjh + } + } focus = { id = YUC_gongrenzhenxian icon = GFX_goal_generic_national_unity - prerequisite = { focus = YUC_ziyoumaoyi focus = YUC_jinzhichukou focus = YUC_jinkouyumi} - mutually_exclusive = { focus = YUC_jinjizhuangtai focus = YUC_gongnongjiehe } - relative_position_id = YUC_jinkouyumi + prerequisite = { + focus = YUC_ziyoumaoyi + focus = YUC_jinzhichukou + focus = YUC_jinkouyumi + } + mutually_exclusive = { + focus = YUC_jinjizhuangtai + focus = YUC_gongnongjiehe + } + relative_position_id = YUC_jinkouyumi x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } completion_reward = { - YUW_gsjj_dengji = 1 - add_ideas = YUW_grzx - } - - } + YUW_gsjj_dengji = yes + add_ideas = YUW_grzx + } + } focus = { id = YUC_jinjizhuangtai icon = GFX_goal_continuous_repairments - prerequisite = { focus = YUC_ziyoumaoyi focus = YUC_jinzhichukou focus = YUC_jinkouyumi} - mutually_exclusive = { focus = YUC_gongrenzhenxian focus = YUC_gongnongjiehe } - relative_position_id = YUC_jinkouyumi + prerequisite = { + focus = YUC_ziyoumaoyi + focus = YUC_jinzhichukou + focus = YUC_jinkouyumi + } + mutually_exclusive = { + focus = YUC_gongrenzhenxian + focus = YUC_gongnongjiehe + } + relative_position_id = YUC_jinkouyumi x = 2 y = 1 cost = 5 - ai_will_do = { factor = 40 } completion_reward = { - add_ideas = YUW_jjzt - YUW_gsjj_dengji = 1 - custom_effect_tooltip = "YUW_tips4" - hidden_effect = { - add_popularity = { ideology = democratic popularity = 0.1 } + add_ideas = YUW_jjzt + YUW_gsjj_dengji = yes + custom_effect_tooltip = "YUW_tips4" + hidden_effect = { + add_popularity = { + ideology = democratic + popularity = 0.1 } - } - + } } - + } focus = { id = YUC_wuzhuangmingong icon = GFX_goal_generic_construct_mil_factory - prerequisite = { focus = YUC_gongrenzhenxian focus = YUC_jinjizhuangtai focus = YUC_gongnongjiehe} - mutually_exclusive = { focus = YUC_junhengfenpei focus = YUC_maoyimingong } - relative_position_id = YUC_gongrenzhenxian + prerequisite = { + focus = YUC_gongrenzhenxian + focus = YUC_jinjizhuangtai + focus = YUC_gongnongjiehe + } + mutually_exclusive = { + focus = YUC_junhengfenpei + focus = YUC_maoyimingong + } + relative_position_id = YUC_gongrenzhenxian x = -2 y = 1 cost = 5 - ai_will_do = { factor = 40 } completion_reward = { - YUW_gsjj1_dengji = 1 - random_owned_controlled_state = { + YUW_gsjj1_dengji = yes + random_owned_controlled_state = { add_extra_state_shared_building_slots = 3 add_building_construction = { type = industrial_complex level = 3 - instant_build = yes + instant_build = yes } } - random_owned_controlled_state = { + random_owned_controlled_state = { add_extra_state_shared_building_slots = 3 add_building_construction = { type = arms_factory level = 3 - instant_build = yes + instant_build = yes } } - } - } - + } focus = { id = YUC_junhengfenpei icon = GFX_goal_generic_consumer_goods - prerequisite = { focus = YUC_gongrenzhenxian focus = YUC_jinjizhuangtai focus = YUC_gongnongjiehe} - mutually_exclusive = { focus = YUC_wuzhuangmingong focus = YUC_maoyimingong } - relative_position_id = YUC_gongrenzhenxian + prerequisite = { + focus = YUC_gongrenzhenxian + focus = YUC_jinjizhuangtai + focus = YUC_gongnongjiehe + } + mutually_exclusive = { + focus = YUC_wuzhuangmingong + focus = YUC_maoyimingong + } + relative_position_id = YUC_gongrenzhenxian x = 0 y = 1 cost = 5 - ai_will_do = { factor = 40 } completion_reward = { - YUW_gsjj_dengji = 1 - random_owned_controlled_state = { + YUW_gsjj_dengji = yes + random_owned_controlled_state = { add_extra_state_shared_building_slots = 4 add_building_construction = { type = industrial_complex level = 4 - instant_build = yes + instant_build = yes } } - } - } - + } focus = { id = YUC_maoyimingong icon = GFX_goal_generic_construct_civ_factory - prerequisite = { focus = YUC_gongrenzhenxian focus = YUC_jinjizhuangtai focus = YUC_gongnongjiehe } - mutually_exclusive = { focus = YUC_wuzhuangmingong focus = YUC_junhengfenpei } - relative_position_id = YUC_gongrenzhenxian + prerequisite = { + focus = YUC_gongrenzhenxian + focus = YUC_jinjizhuangtai + focus = YUC_gongnongjiehe + } + mutually_exclusive = { + focus = YUC_wuzhuangmingong + focus = YUC_junhengfenpei + } + relative_position_id = YUC_gongrenzhenxian x = 2 y = 1 cost = 5 - ai_will_do = { factor = 40 } completion_reward = { - YUW_gsjj_dengji = 1 - custom_effect_tooltip = "YUW_tips4" - random_owned_controlled_state = { + YUW_gsjj_dengji = yes + custom_effect_tooltip = "YUW_tips4" + random_owned_controlled_state = { add_extra_state_shared_building_slots = 3 add_building_construction = { type = industrial_complex level = 3 - instant_build = yes + instant_build = yes } } random_owned_controlled_state = { @@ -1044,179 +1204,217 @@ focus_tree = { add_building_construction = { type = dockyard level = 3 - instant_build = yes + instant_build = yes } } - hidden_effect = { - add_popularity = { ideology = democratic popularity = 0.15 } + hidden_effect = { + add_popularity = { + ideology = democratic + popularity = 0.15 } - } - + } } - + } focus = { id = YUC_renminweidui icon = GFX_focus_YUG_pan_slavic_congress - prerequisite = { focus = YUC_wuzhuangmingong focus = YUC_junhengfenpei focus = YUC_maoyimingong} - mutually_exclusive = { focus = YUC_gengduolaodongli focus = YUC_guangfanzhengbing } - relative_position_id = YUC_junhengfenpei + prerequisite = { + focus = YUC_wuzhuangmingong + focus = YUC_junhengfenpei + focus = YUC_maoyimingong + } + mutually_exclusive = { + focus = YUC_gengduolaodongli + focus = YUC_guangfanzhengbing + } + relative_position_id = YUC_junhengfenpei x = -2 y = 1 cost = 4 - ai_will_do = { factor = 40 } completion_reward = { - YUW_gsjj1_dengji = 1 - add_ideas = YUW_rmwd - } - + YUW_gsjj1_dengji = yes + add_ideas = YUW_rmwd } - + } focus = { id = YUC_guangfanzhengbing icon = GFX_focus_generic_little_entente - prerequisite = { focus = YUC_wuzhuangmingong focus = YUC_junhengfenpei focus = YUC_maoyimingong} - mutually_exclusive = { focus = YUC_renminweidui focus = YUC_gengduolaodongli } - relative_position_id = YUC_junhengfenpei + prerequisite = { + focus = YUC_wuzhuangmingong + focus = YUC_junhengfenpei + focus = YUC_maoyimingong + } + mutually_exclusive = { + focus = YUC_renminweidui + focus = YUC_gengduolaodongli + } + relative_position_id = YUC_junhengfenpei x = 0 y = 1 cost = 4 - ai_will_do = { factor = 40 } completion_reward = { - YUW_gsjj_dengji = 1 - add_ideas = YUW_kdzb - - } - + YUW_gsjj_dengji = yes + add_ideas = YUW_kdzb } - + } focus = { id = YUC_gengduolaodongli icon = GFX_focus_generic_manpower - prerequisite = { focus = YUC_wuzhuangmingong focus = YUC_junhengfenpei focus = YUC_maoyimingong } - mutually_exclusive = { focus = YUC_renminweidui focus = YUC_guangfanzhengbing } - relative_position_id = YUC_junhengfenpei + prerequisite = { + focus = YUC_wuzhuangmingong + focus = YUC_junhengfenpei + focus = YUC_maoyimingong + } + mutually_exclusive = { + focus = YUC_renminweidui + focus = YUC_guangfanzhengbing + } + relative_position_id = YUC_junhengfenpei x = 2 y = 1 cost = 4 - ai_will_do = { factor = 40 } completion_reward = { - YUW_gsjj_dengji = 1 - custom_effect_tooltip = "YUW_tips4" - add_ideas = YUW_bxldl - hidden_effect = { - add_popularity = { ideology = democratic popularity = 0.05 } - add_popularity = { ideology = fascism popularity = 0.1 } + YUW_gsjj_dengji = yes + custom_effect_tooltip = "YUW_tips4" + add_ideas = YUW_bxldl + hidden_effect = { + add_popularity = { + ideology = democratic + popularity = 0.05 } + add_popularity = { + ideology = fascism + popularity = 0.1 } - - } - + } + } + } focus = { id = YUC_baojiaweiguo icon = GFX_focus_por_workers_of_iberia - prerequisite = { focus = YUC_renminweidui focus = YUC_guangfanzhengbing focus = YUC_gengduolaodongli} - mutually_exclusive = { focus = YUC_fazhanjingzheng focus = YUC_waiguozhiyuan } - relative_position_id = YUC_guangfanzhengbing + prerequisite = { + focus = YUC_renminweidui + focus = YUC_guangfanzhengbing + focus = YUC_gengduolaodongli + } + mutually_exclusive = { + focus = YUC_fazhanjingzheng + focus = YUC_waiguozhiyuan + } + relative_position_id = YUC_guangfanzhengbing x = -2 y = 1 cost = 4 - ai_will_do = { factor = 40 } completion_reward = { - add_stability = 0.1 - add_war_support = 0.3 - } - + add_stability = 0.1 + add_war_support = 0.3 } - + } focus = { id = YUC_fazhanjingzheng icon = GFX_goal_generic_major_alliance - prerequisite = { focus = YUC_renminweidui focus = YUC_guangfanzhengbing focus = YUC_gengduolaodongli} - mutually_exclusive = { focus = YUC_baojiaweiguo focus = YUC_waiguozhiyuan } - relative_position_id = YUC_guangfanzhengbing + prerequisite = { + focus = YUC_renminweidui + focus = YUC_guangfanzhengbing + focus = YUC_gengduolaodongli + } + mutually_exclusive = { + focus = YUC_baojiaweiguo + focus = YUC_waiguozhiyuan + } + relative_position_id = YUC_guangfanzhengbing x = 0 y = 1 cost = 4 - ai_will_do = { factor = 40 } completion_reward = { - YUW_gsjj_dengji = 1 - add_stability = 0.2 - add_war_support = 0.1 - add_political_power = 25 - } - + YUW_gsjj_dengji = yes + add_stability = 0.2 + add_war_support = 0.1 + add_political_power = 25 } - + } focus = { id = YUC_waiguozhiyuan icon = GFX_goal_continuous_def_against_influence - prerequisite = { focus = YUC_renminweidui focus = YUC_guangfanzhengbing focus = YUC_gengduolaodongli} - mutually_exclusive = { focus = YUC_baojiaweiguo focus = YUC_fazhanjingzheng } - relative_position_id = YUC_guangfanzhengbing + prerequisite = { + focus = YUC_renminweidui + focus = YUC_guangfanzhengbing + focus = YUC_gengduolaodongli + } + mutually_exclusive = { + focus = YUC_baojiaweiguo + focus = YUC_fazhanjingzheng + } + relative_position_id = YUC_guangfanzhengbing x = 2 y = 1 cost = 4 - ai_will_do = { factor = 40 } completion_reward = { - YUW_gsjj_dengji = 1 - custom_effect_tooltip = "YUW_tips4" - add_stability = 0.3 - add_political_power = 50 - hidden_effect = { - add_popularity = { ideology = democratic popularity = 0.15 } + YUW_gsjj_dengji = yes + custom_effect_tooltip = "YUW_tips4" + add_stability = 0.3 + add_political_power = 50 + hidden_effect = { + add_popularity = { + ideology = democratic + popularity = 0.15 } - } - + } } - + } focus = { id = YUC_gaigechengguo icon = GFX_focus_mex_privatisation - prerequisite = { focus = YUC_waiguozhiyuan focus = YUC_fazhanjingzheng focus = YUC_baojiaweiguo} - relative_position_id = YUC_fazhanjingzheng + prerequisite = { + focus = YUC_waiguozhiyuan + focus = YUC_fazhanjingzheng + focus = YUC_baojiaweiguo + } + relative_position_id = YUC_fazhanjingzheng x = 0 y = 1 cost = 8 - ai_will_do = { factor = 40 } completion_reward = { - if = { + if = { limit = { - or = { - has_idea = YUW_jjhmhf - has_idea = YUW_jjqywd - has_idea = YUW_wddjj + OR = { + has_idea = YUW_jjhmhf + has_idea = YUW_jjqywd + has_idea = YUW_wddjj } } - country_event = { id = YUW_event.19 } + country_event = { + id = YUW_event.19 } - else = { - country_event = { id = YUW_event.20 } - + } + else = { + country_event = { + id = YUW_event.20 } - } - + } } + } focus = { id = YUC_ouzhouxiongji icon = GFX_focus_fra_french_union @@ -1225,19 +1423,17 @@ focus_tree = { relative_position_id = YUC_gaigechengguo available_if_capitulated = yes available = { - has_civil_war = no + has_civil_war = no } cost = 5 - ai_will_do = { factor = 20 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.1 add_war_support = 0.2 - add_political_power =100 + add_political_power = 100 } } focus = { @@ -1245,15 +1441,15 @@ focus_tree = { icon = GFX_focus_generic_little_entente x = -1 y = 1 - prerequisite = { focus = YUC_ouzhouxiongji } - relative_position_id = YUC_ouzhouxiongji + prerequisite = { + focus = YUC_ouzhouxiongji + } + relative_position_id = YUC_ouzhouxiongji available_if_capitulated = yes cost = 4 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_rmzx @@ -1265,9 +1461,10 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_renminzhenxian - prerequisite = { focus = YUC_renminzhenxian } + prerequisite = { + focus = YUC_renminzhenxian + } cost = 4 - ai_will_do = { factor = 100 } @@ -1281,15 +1478,15 @@ focus_tree = { icon = GFX_focus_focus_fra_revolution_utmost x = 1 y = 1 - prerequisite = { focus = YUC_ouzhouxiongji } - relative_position_id = YUC_ouzhouxiongji + prerequisite = { + focus = YUC_ouzhouxiongji + } + relative_position_id = YUC_ouzhouxiongji available_if_capitulated = yes cost = 4 - ai_will_do = { factor = 100 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_gsjs @@ -1301,7 +1498,9 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_gongshejingshen - prerequisite = { focus = YUC_gongshejingshen } + prerequisite = { + focus = YUC_gongshejingshen + } cost = 2 available = { has_government = communism @@ -1313,18 +1512,23 @@ focus_tree = { completion_reward = { every_other_country = { limit = { - NOT = { has_government = communism } - NOT = { - OR = { - tag = SIR - tag = SR1 - tag = SR2 - tag = SR3 - tag = SR4 + NOT = { + has_government = communism + } + NOT = { + OR = { + tag = SIR + tag = SR1 + tag = SR2 + tag = SR3 + tag = SR4 } } } - add_timed_idea = { idea = YUW_gcgjyd days = 150 } + add_timed_idea = { + idea = YUW_gcgjyd + days = 150 + } } } } @@ -1333,17 +1537,24 @@ focus_tree = { icon = GFX_focus_focus_fra_national_resistance_council x = -1 y = 1 - prerequisite = { focus = YUC_chuanbogeming focus = YUC_ziyoupingdengtuanjie} + prerequisite = { + focus = YUC_chuanbogeming + focus = YUC_ziyoupingdengtuanjie + } relative_position_id = YUC_chuanbogeming available_if_capitulated = yes cost = 2 available = { - not = {has_country_leader = { ruling_only = yes name = "让巴尔" }} + NOT = { + has_country_leader = { + ruling_only = yes + name = "让巴尔" + } + } } ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -1363,7 +1574,6 @@ focus_tree = { } } add_country_leader_trait = alszz - } } } @@ -1372,39 +1582,49 @@ focus_tree = { icon = GFX_focus_usa_honor_the_confederacy x = -1 y = 1 - prerequisite = { focus = YUC_luolinshizi } + prerequisite = { + focus = YUC_luolinshizi + } relative_position_id = YUC_luolinshizi - mutually_exclusive = { focus = YUC_xinyang } + mutually_exclusive = { + focus = YUC_xinyang + } available_if_capitulated = yes cost = 2 - - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_zc } } - focus = { id = YUC_zhanluoshengxiang icon = GFX_focus_up_joan_of_arc x = 0 y = 1 - prerequisite = { focus = YUC_zhongcheng } - relative_position_id = YUC_zhongcheng + prerequisite = { + focus = YUC_zhongcheng + } + relative_position_id = YUC_zhongcheng available_if_capitulated = yes cost = 2 available = { - not = {has_country_leader = { ruling_only = yes name = "黎塞留" } has_country_leader = { ruling_only = yes name = "凯旋" }} + NOT = { + has_country_leader = { + ruling_only = yes + name = "黎塞留" + } + has_country_leader = { + ruling_only = yes + name = "凯旋" + } + } } ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { @@ -1415,16 +1635,16 @@ focus_tree = { } } create_country_leader = { - name = "圣女贞德" - picture = "leader_zhende.jpg" - expire = "1965.1.1" - ideology = fascism_ideology - traits = { - snddg - hgsn + name = "圣女贞德" + picture = "leader_zhende.jpg" + expire = "1965.1.1" + ideology = fascism_ideology + traits = { + snddg + hgsn + } } } - } if = { limit = { has_country_leader = { @@ -1442,16 +1662,18 @@ focus_tree = { icon = GFX_focus_generic_home_defense x = 1 y = 1 - prerequisite = { focus = YUC_luolinshizi} + prerequisite = { + focus = YUC_luolinshizi + } relative_position_id = YUC_luolinshizi - mutually_exclusive = { focus = YUC_zhongcheng } - available_if_capitulated = yes + mutually_exclusive = { + focus = YUC_zhongcheng + } + available_if_capitulated = yes cost = 2 - ai_will_do = { factor = 7 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_xy @@ -1462,15 +1684,15 @@ focus_tree = { icon = GFX_focus_spr_torchbearers_of_tomorrow x = 0 y = 1 - prerequisite = { focus = YUC_xinyang } + prerequisite = { + focus = YUC_xinyang + } relative_position_id = YUC_xinyang available_if_capitulated = yes cost = 2 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { @@ -1484,15 +1706,16 @@ focus_tree = { icon = GFX_focus_focus_fra_maquis x = -1 y = 1 - prerequisite = { focus = YUC_yongwangzhiqian focus = YUC_zhanluoshengxiang} + prerequisite = { + focus = YUC_yongwangzhiqian + focus = YUC_zhanluoshengxiang + } relative_position_id = YUC_yongwangzhiqian available_if_capitulated = yes cost = 4 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = FRA_infantry_focus @@ -1507,17 +1730,18 @@ focus_tree = { relative_position_id = YUC_gailiang cost = 5 available = { - not = {has_idea = YUW_jjbk} - or = { - has_completed_focus = YUC_quanmindongyuan - has_completed_focus = YUC_lujunlilun - has_completed_focus = YUC_zhenghebeifei + NOT = { + has_idea = YUW_jjbk + } + OR = { + has_completed_focus = YUC_quanmindongyuan + has_completed_focus = YUC_lujunlilun + has_completed_focus = YUC_zhenghebeifei } } ai_will_do = { factor = 8 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_jjfs @@ -1529,13 +1753,13 @@ focus_tree = { x = -2 y = 1 relative_position_id = YUC_dizhonghaijingjiquan - prerequisite = { focus = YUC_dizhonghaijingjiquan } + prerequisite = { + focus = YUC_dizhonghaijingjiquan + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_hldfp @@ -1547,13 +1771,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_dizhonghaijingjiquan - prerequisite = { focus = YUC_dizhonghaijingjiquan } + prerequisite = { + focus = YUC_dizhonghaijingjiquan + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_ywgjy @@ -1565,13 +1789,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_keyanrencai - prerequisite = { focus = YUC_keyanrencai } + prerequisite = { + focus = YUC_keyanrencai + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_research_slot = 1 @@ -1583,13 +1807,13 @@ focus_tree = { x = -2 y = 1 relative_position_id = YUC_guojiakexueyuan - prerequisite = { focus = YUC_guojiakexueyuan } + prerequisite = { + focus = YUC_guojiakexueyuan + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1606,13 +1830,13 @@ focus_tree = { x = 2 y = 1 relative_position_id = YUC_guojiakexueyuan - prerequisite = { focus = YUC_guojiakexueyuan } + prerequisite = { + focus = YUC_guojiakexueyuan + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1630,24 +1854,20 @@ focus_tree = { y = 2 relative_position_id = YUC_guojiakexueyuan available = { - or = { - has_completed_focus = YUC_quanmindongyuan - has_completed_focus = YUC_guojiakexueyuan - has_completed_focus = YUC_zhenghebeifei - } + OR = { + has_completed_focus = YUC_quanmindongyuan + has_completed_focus = YUC_guojiakexueyuan + has_completed_focus = YUC_zhenghebeifei + } } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - - add_ideas = YUW_jgyfs - - } + add_ideas = YUW_jgyfs + } } focus = { id = YUC_henengyanjiu @@ -1655,13 +1875,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_guojiakexueyuan - prerequisite = { focus = YUC_guojiakexueyuan } + prerequisite = { + focus = YUC_guojiakexueyuan + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1679,13 +1899,13 @@ focus_tree = { x = 2 y = 1 relative_position_id = YUC_dizhonghaijingjiquan - prerequisite = { focus = YUC_dizhonghaijingjiquan } + prerequisite = { + focus = YUC_dizhonghaijingjiquan + } cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_ywgfl @@ -1697,13 +1917,13 @@ focus_tree = { x = -3 y = 1 relative_position_id = YUC_chongzhengjunbei - prerequisite = { focus = YUC_chongzhengjunbei } + prerequisite = { + focus = YUC_chongzhengjunbei + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1721,13 +1941,13 @@ focus_tree = { x = -1 y = 1 relative_position_id = YUC_lujunzhuangbei - prerequisite = { focus = YUC_lujunzhuangbei } + prerequisite = { + focus = YUC_lujunzhuangbei + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1744,13 +1964,13 @@ focus_tree = { x = 1 y = 1 relative_position_id = YUC_lujunzhuangbei - prerequisite = { focus = YUC_lujunzhuangbei } + prerequisite = { + focus = YUC_lujunzhuangbei + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1767,13 +1987,13 @@ focus_tree = { x = 1 y = 1 relative_position_id = YUC_zhuangjiakeji - prerequisite = { focus = YUC_zhuangjiakeji } + prerequisite = { + focus = YUC_zhuangjiakeji + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1791,14 +2011,16 @@ focus_tree = { x = -1 y = 1 relative_position_id = YUC_zhuangjiakeji - prerequisite = { focus = YUC_zhuangjiakeji } - prerequisite = { focus = YUC_jidonghuazhuangbei } + prerequisite = { + focus = YUC_zhuangjiakeji + } + prerequisite = { + focus = YUC_jidonghuazhuangbei + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_doctrine_cost_reduction = { @@ -1815,14 +2037,16 @@ focus_tree = { x = -1 y = 1 relative_position_id = YUC_lujunlilun - prerequisite = { focus = YUC_lujunlilun } - mutually_exclusive = { focus = YUC_yundongzhan } + prerequisite = { + focus = YUC_lujunlilun + } + mutually_exclusive = { + focus = YUC_yundongzhan + } cost = 8 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_fyz @@ -1830,18 +2054,20 @@ focus_tree = { } focus = { id = YUC_yundongzhan - icon = GFX_goal_generic_cavalry + icon = GFX_goal_generic_cavalry x = 1 y = 1 relative_position_id = YUC_lujunlilun - prerequisite = { focus = YUC_lujunlilun } - mutually_exclusive = { focus = YUW_fangyuzhan } + prerequisite = { + focus = YUC_lujunlilun + } + mutually_exclusive = { + focus = YUW_fangyuzhan + } cost = 8 - ai_will_do = { factor = 0 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_ydz @@ -1849,23 +2075,26 @@ focus_tree = { } focus = { id = YUC_liluntupo - icon = GFX_goal_generic_cavalry + icon = GFX_goal_generic_cavalry x = 1 y = 1 relative_position_id = YUC_fangyuzhan - prerequisite = { focus = YUC_fangyuzhan focus = YUC_yundongzhan } - + prerequisite = { + focus = YUC_fangyuzhan + focus = YUC_yundongzhan + } cost = 5 - ai_will_do = { factor = 0 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = "允许解锁第二条陆军学说路线" set_country_flag = TY_army_liluntupo - set_technology = { backhand_blow_for_yuw = 1 popup = no } + set_technology = { + backhand_blow_for_yuw = 1 + popup = no + } } } focus = { @@ -1874,18 +2103,18 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_chongzhengjunbei - prerequisite = { focus = YUC_chongzhengjunbei } + prerequisite = { + focus = YUC_chongzhengjunbei + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { air_experience = 50 add_equipment_to_stockpile = { - type = fighter_equipment + type = fighter_equipment_1 amount = 150 } } @@ -1896,13 +2125,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_kongjunjianshe - prerequisite = { focus = YUC_kongjunjianshe } + prerequisite = { + focus = YUC_kongjunjianshe + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_kongjunliluntupo = yes @@ -1920,13 +2149,13 @@ focus_tree = { x = 3 y = 1 relative_position_id = YUC_chongzhengjunbei - prerequisite = { focus = YUC_chongzhengjunbei } + prerequisite = { + focus = YUC_chongzhengjunbei + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { navy_experience = 50 @@ -1942,13 +2171,13 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_haijunweihu - prerequisite = { focus = YUC_haijunweihu } + prerequisite = { + focus = YUC_haijunweihu + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { TY_haijunliluntupo = yes @@ -1966,13 +2195,13 @@ focus_tree = { x = -1 y = 2 relative_position_id = YUC_haijunweihu - prerequisite = { focus = YUC_haijunweihu } + prerequisite = { + focus = YUC_haijunweihu + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -1989,13 +2218,13 @@ focus_tree = { x = 1 y = 2 relative_position_id = YUC_haijunweihu - prerequisite = { focus = YUC_haijunweihu } + prerequisite = { + focus = YUC_haijunweihu + } cost = 10 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_tech_bonus = { @@ -2014,18 +2243,20 @@ focus_tree = { relative_position_id = YUC_dizhonghaijingjiquan cost = 2 available = { - or = { - has_completed_focus = YUC_guojiakexueyuan - has_completed_focus = YUC_lujunlilun - } + OR = { + has_completed_focus = YUC_guojiakexueyuan + has_completed_focus = YUC_lujunlilun } + } ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_timed_idea = { idea = BFL_wnjh days = 1900 } + add_timed_idea = { + idea = BFL_wnjh + days = 1900 + } } } focus = { @@ -2034,7 +2265,9 @@ focus_tree = { x = 1 y = 1 relative_position_id = YUC_wunianjihua1 - prerequisite = { focus = YUC_wunianjihua1 } + prerequisite = { + focus = YUC_wunianjihua1 + } cost = 5 available = { controls_state = 16 @@ -2042,10 +2275,9 @@ focus_tree = { ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - 16 = { + 16 = { add_extra_state_shared_building_slots = 5 add_building_construction = { type = industrial_complex @@ -2061,7 +2293,9 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_baliqishuichang - prerequisite = { focus = YUC_baliqishuichang } + prerequisite = { + focus = YUC_baliqishuichang + } cost = 5 available = { controls_state = 14 @@ -2069,10 +2303,9 @@ focus_tree = { ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - 14 = { + 14 = { add_extra_state_shared_building_slots = 5 add_building_construction = { type = industrial_complex @@ -2088,7 +2321,9 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_bulietaniyuroujiagongchang - prerequisite = { focus = YUC_bulietaniyuroujiagongchang } + prerequisite = { + focus = YUC_bulietaniyuroujiagongchang + } cost = 5 available = { controls_state = 21 @@ -2096,10 +2331,9 @@ focus_tree = { ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - 21 = { + 21 = { add_extra_state_shared_building_slots = 5 add_building_construction = { type = industrial_complex @@ -2114,14 +2348,14 @@ focus_tree = { icon = GFX_goal_generic_construct_infrastructure x = -1 y = 1 - prerequisite = { focus = YUC_wunianjihua1 } + prerequisite = { + focus = YUC_wunianjihua1 + } relative_position_id = YUC_wunianjihua1 cost = 5 - ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { every_owned_state = { @@ -2133,12 +2367,12 @@ focus_tree = { } build_railway = { level = 1 - start_province = 11548 + start_province = 11548 target_province = 11506 } build_railway = { level = 1 - start_province = 9503 + start_province = 9503 target_province = 11506 } build_railway = { @@ -2148,12 +2382,12 @@ focus_tree = { } build_railway = { level = 1 - start_province = 743 + start_province = 743 target_province = 11506 } build_railway = { level = 1 - start_province = 6960 + start_province = 6960 target_province = 11506 } } @@ -2163,7 +2397,9 @@ focus_tree = { icon = GFX_goal_generic_construct_infrastructure x = 0 y = 1 - prerequisite = { focus = YUC_jichujianshe } + prerequisite = { + focus = YUC_jichujianshe + } relative_position_id = YUC_jichujianshe cost = 4 available = { @@ -2177,7 +2413,6 @@ focus_tree = { ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { 458 = { @@ -2229,7 +2464,9 @@ focus_tree = { icon = GFX_goal_generic_improve_relations x = 0 y = 1 - prerequisite = { focus = YUC_beifeitieluwang } + prerequisite = { + focus = YUC_beifeitieluwang + } relative_position_id = YUC_beifeitieluwang cost = 5 available = { @@ -2239,12 +2476,10 @@ focus_tree = { controls_state = 461 controls_state = 462 controls_state = 513 - } ai_will_do = { factor = 5 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_state_core = 458 @@ -2255,31 +2490,34 @@ focus_tree = { add_state_core = 513 } } - focus = { id = YUC_huzhutiaoyue icon = GFX_focus_luoxiya x = -1 y = 1 relative_position_id = YUC_liluntupo - mutually_exclusive = {focus = YUC_minzhuhaijunyanxi} + mutually_exclusive = { + focus = YUC_minzhuhaijunyanxi + } available = { is_puppet = no communism > 0.3 has_completed_focus = YUC_huiyijieshu - not = {has_completed_focus = YUC_shijiegeming} + NOT = { + has_completed_focus = YUC_shijiegeming + } } cost = 10 - ai_will_do = { factor = 10 } - #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - YUW = {give_guarantee = BFL } + YUW = { + give_guarantee = BFL + } BFL = { - give_guarantee = YUW + give_guarantee = YUW } } } @@ -2289,20 +2527,23 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_huzhutiaoyue - prerequisite = { focus = YUC_huzhutiaoyue } + prerequisite = { + focus = YUC_huzhutiaoyue + } cost = 5 available = { - or= { + or = { has_government = democratic has_government = communism - } - custom_trigger_tooltip = { + } + custom_trigger_tooltip = { tooltip = "共产联盟存在" has_global_flag = BFL_created_gongchanlianmeng - BFL = { is_faction_leader = yes } + BFL = { + is_faction_leader = yes + } } } - bypass = { is_in_faction_with = BFL } @@ -2311,11 +2552,15 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_opinion_modifier = { target = BFL modifier = YUW_gsgx} - reverse_add_opinion_modifier = { target = BFL modifier = YUW_gsgx } - - remove_from_faction = YUW - + add_opinion_modifier = { + target = BFL + modifier = YUW_gsgx + } + reverse_add_opinion_modifier = { + target = BFL + modifier = YUW_gsgx + } + remove_from_faction = YUW BFL = { add_to_faction = YUW } @@ -2327,11 +2572,15 @@ focus_tree = { x = 2 y = 0 relative_position_id = YUC_huzhutiaoyue - mutually_exclusive = {focus = YUC_huzhutiaoyue} + mutually_exclusive = { + focus = YUC_huzhutiaoyue + } cost = 10 available = { has_completed_focus = YUC_huiyijieshu - not = {has_completed_focus = YUC_shijiegeming} + NOT = { + has_completed_focus = YUC_shijiegeming + } } ai_will_do = { factor = 10 @@ -2359,31 +2608,43 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_minzhuhaijunyanxi - prerequisite = { focus = YUC_minzhuhaijunyanxi } + prerequisite = { + focus = YUC_minzhuhaijunyanxi + } cost = 5 available = { - or= { + or = { has_government = democratic has_government = communism - } + } } ai_will_do = { factor = 60 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_opinion_modifier = { target = HUJ modifier = YUW_gsgx} - add_opinion_modifier = { target = BYG modifier = YUW_gsgx} - reverse_add_opinion_modifier = { target = BYG modifier = YUW_gsgx } - reverse_add_opinion_modifier = { target = HUJ modifier = YUW_gsgx } - remove_from_faction = YUW - + add_opinion_modifier = { + target = HUJ + modifier = YUW_gsgx + } + add_opinion_modifier = { + target = BYG + modifier = YUW_gsgx + } + reverse_add_opinion_modifier = { + target = BYG + modifier = YUW_gsgx + } + reverse_add_opinion_modifier = { + target = HUJ + modifier = YUW_gsgx + } + remove_from_faction = YUW HUJ = { add_to_faction = YUW } } } - focus = { id = YUC_shijiegeming icon = GFX_focus_spr_anarchism_knows_no_borders @@ -2392,8 +2653,8 @@ focus_tree = { relative_position_id = YUC_yundongzhan cost = 3 available = { - has_government = communism - has_completed_focus = YUC_huiyijieshu + has_government = communism + has_completed_focus = YUC_huiyijieshu } ai_will_do = { factor = 60 @@ -2409,10 +2670,12 @@ focus_tree = { x = 1 y = 1 relative_position_id = YUC_shijiegeming - prerequisite = { focus = YUC_shijiegeming } + prerequisite = { + focus = YUC_shijiegeming + } cost = 5 available = { - has_government = communism + has_government = communism } ai_will_do = { factor = 60 @@ -2422,7 +2685,7 @@ focus_tree = { remove_from_faction = YUW create_faction = "共产国际" BFL = { - remove_from_faction = BFL + remove_from_faction = BFL } add_to_faction = BFL add_ideas = YUW_arzl @@ -2434,18 +2697,20 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_gongchanguoji - prerequisite = { focus = YUC_gongchanguoji } + prerequisite = { + focus = YUC_gongchanguoji + } cost = 5 available = { - has_government = communism + has_government = communism } ai_will_do = { factor = 60 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = FRA_national_mobilization_focus - add_ideas = ideological_fanaticism_focus + add_ideas = FRA_national_mobilization_focus + add_ideas = ideological_fanaticism_focus } } focus = { @@ -2454,11 +2719,18 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_yishixingtaibilei - prerequisite = { focus = YUC_yishixingtaibilei focus = YUC_gongnongdongyuanling} + prerequisite = { + focus = YUC_yishixingtaibilei + focus = YUC_gongnongdongyuanling + } cost = 5 available = { - has_army_manpower = { size > 1999999 } - not = {is_in_faction_with = HUJ} + has_army_manpower = { + size > 1999999 + } + NOT = { + is_in_faction_with = HUJ + } } ai_will_do = { factor = 10 @@ -2466,10 +2738,10 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { create_wargoal = { - type = take_state_focus - target = HUJ - expire = 0 - } + type = take_state_focus + target = HUJ + expire = 0 + } } } focus = { @@ -2478,18 +2750,20 @@ focus_tree = { x = -1 y = 1 relative_position_id = YUC_shijiegeming - prerequisite = { focus = YUC_shijiegeming } + prerequisite = { + focus = YUC_shijiegeming + } cost = 10 available = { - has_government = communism + has_government = communism } ai_will_do = { factor = 60 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_stability = 1.25 - add_war_support = 2 + add_stability = 1.25 + add_war_support = 2 } } focus = { @@ -2498,18 +2772,20 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_gemingxuanchuan - prerequisite = { focus = YUC_gemingxuanchuan } + prerequisite = { + focus = YUC_gemingxuanchuan + } cost = 5 available = { - has_government = communism + has_government = communism } ai_will_do = { factor = 60 } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - add_ideas = tot_economic_mobilisation - add_ideas = service_by_requirement + add_ideas = tot_economic_mobilisation + add_ideas = service_by_requirement } } focus = { @@ -2518,11 +2794,18 @@ focus_tree = { x = 0 y = 1 relative_position_id = YUC_gongnongdongyuanling - prerequisite = { focus = YUC_gongnongdongyuanling focus = YUC_yishixingtaibilei} + prerequisite = { + focus = YUC_gongnongdongyuanling + focus = YUC_yishixingtaibilei + } cost = 5 available = { - has_army_manpower = { size > 1999999 } - not = {is_in_faction_with = TIX} + has_army_manpower = { + size > 1999999 + } + NOT = { + is_in_faction_with = TIX + } } ai_will_do = { factor = 10 @@ -2530,10 +2813,10 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { create_wargoal = { - type = take_state_focus - target = TIX - expire = 0 - } + type = take_state_focus + target = TIX + expire = 0 + } } } focus = { @@ -2542,12 +2825,25 @@ focus_tree = { x = -1 y = 1 relative_position_id = YUC_sipomianju - prerequisite = { focus = YUC_xianfazhiren } - prerequisite = { focus = YUC_sipomianju} + prerequisite = { + focus = YUC_xianfazhiren + } + prerequisite = { + focus = YUC_sipomianju + } cost = 15 available = { - has_army_manpower = { size > 4999999 } - not = {is_in_faction_with = TIX is_in_faction_with = SAD is_in_faction_with = BYG is_in_faction_with = HUJ is_in_faction_with = CHY is_in_faction_with = BLI} + has_army_manpower = { + size > 4999999 + } + NOT = { + is_in_faction_with = TIX + is_in_faction_with = SAD + is_in_faction_with = BYG + is_in_faction_with = HUJ + is_in_faction_with = CHY + is_in_faction_with = BLI + } } ai_will_do = { factor = 10 @@ -2555,12 +2851,30 @@ focus_tree = { #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = YUW_yydgm - declare_war_on = { target = TIX type = annex_everything } - declare_war_on = { target = SAD type = annex_everything } - declare_war_on = { target = BYG type = annex_everything } - declare_war_on = { target = HUJ type = annex_everything } - declare_war_on = { target = CHY type = annex_everything } - declare_war_on = { target = BLI type = annex_everything } + declare_war_on = { + target = TIX + type = annex_everything + } + declare_war_on = { + target = SAD + type = annex_everything + } + declare_war_on = { + target = BYG + type = annex_everything + } + declare_war_on = { + target = HUJ + type = annex_everything + } + declare_war_on = { + target = CHY + type = annex_everything + } + declare_war_on = { + target = BLI + type = annex_everything + } } } -} \ No newline at end of file +} diff --git a/src/common/national_focus/yuanwei_free.txt b/src/common/national_focus/yuanwei_free.txt index db7ad6f..8aae0b5 100755 --- a/src/common/national_focus/yuanwei_free.txt +++ b/src/common/national_focus/yuanwei_free.txt @@ -22,7 +22,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -46,7 +46,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -72,7 +72,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -107,7 +107,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -130,13 +130,13 @@ focus_tree = { available_if_capitulated = yes available = { has_capitulated = yes - not = { has_war_with = BFL } + NOT = { has_war_with = BFL } BFL = { not = {has_war_with = TIX } } BFL = { not = {has_war_with = CHY } } TIX = { not = { is_in_faction_with = BFL } } } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -163,7 +163,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -198,7 +198,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -221,11 +221,11 @@ focus_tree = { available_if_capitulated = yes available = { has_capitulated = yes - not = { has_war_with = BYG } + NOT = { has_war_with = BYG } BYG = { not = { is_in_faction_with = TIX } } } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -249,7 +249,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -273,7 +273,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -298,7 +298,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -327,7 +327,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -363,7 +363,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -391,7 +391,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 0 @@ -425,7 +425,7 @@ focus_tree = { has_capitulated = yes } bypass = { - not = { has_capitulated = yes } + NOT = { has_capitulated = yes } } ai_will_do = { factor = 100 @@ -452,9 +452,9 @@ focus_tree = { available = { is_ai = no controls_state = 16 - or = { + OR = { has_capitulated = yes - not = {country_exists = WEX } + NOT = {country_exists = WEX } } } diff --git a/src/common/occupation_laws/az_occupation_laws.txt b/src/common/occupation_laws/az_occupation_laws.txt index d68b1e0..4035b3a 100755 --- a/src/common/occupation_laws/az_occupation_laws.txt +++ b/src/common/occupation_laws/az_occupation_laws.txt @@ -36,7 +36,7 @@ YUW_colonial_police_final = { is_puppet = no original_tag = YUW has_completed_focus = YUW_yidapianlan - not = { has_completed_focus = YUW_zhengxinyongheng } + NOT = { has_completed_focus = YUW_zhengxinyongheng } } state_modifier = { @@ -177,7 +177,9 @@ HUJ_quyuzizhizhidu = { ai_will_do = { base = 0 modifier = { - has_government = communism + FROM = { + has_government = communism + } add = 500 } } diff --git a/src/common/on_actions/XGE_on_actions.txt b/src/common/on_actions/XGE_on_actions.txt index 963565a..6dd1083 100755 --- a/src/common/on_actions/XGE_on_actions.txt +++ b/src/common/on_actions/XGE_on_actions.txt @@ -8,7 +8,7 @@ on_actions = { } every_state = { limit = { - or = { + OR = { is_core_of = AUS is_core_of = TIX state = 912 diff --git a/src/common/peace_conference/ai_peace/az_ai_peace.txt b/src/common/peace_conference/ai_peace/az_ai_peace.txt index 0dd948e..ec2c9f8 100755 --- a/src/common/peace_conference/ai_peace/az_ai_peace.txt +++ b/src/common/peace_conference/ai_peace/az_ai_peace.txt @@ -4,7 +4,7 @@ psh_mission = { peace_action_type = take_states enable = { ROOT = { - or = { + OR = { tag = CHY tag = SAD tag = TIX @@ -20,7 +20,7 @@ psh_mission_2 = { peace_action_type = { force_government liberate puppet } enable = { ROOT = { - or = { + OR = { tag = CHY tag = SAD tag = TIX diff --git a/src/common/scripted_effects/GER_scripted_effects.txt b/src/common/scripted_effects/GER_scripted_effects.txt index b7bb957..d6d1360 100755 --- a/src/common/scripted_effects/GER_scripted_effects.txt +++ b/src/common/scripted_effects/GER_scripted_effects.txt @@ -66,13 +66,13 @@ AUS_clr_pubilcity_slot = { GER_get_a_governor_to_PREV = { if = { limit = { - has_character = KMS_Bismarck - KMS_Bismarck = { - not = { - has_character_flag = has_been_a_governor - } - is_country_leader = no - } + # has_character = KMS_Bismarck + # KMS_Bismarck = { + # NOT = { + # has_character_flag = has_been_a_governor + # } + # is_country_leader = no + # } } PREV = { create_country_leader = { @@ -85,15 +85,15 @@ GER_get_a_governor_to_PREV = { } } } - KMS_Bismarck = { - set_character_flag = has_been_a_governor - } + # KMS_Bismarck = { + # set_character_flag = has_been_a_governor + # } } else_if = { limit = { has_character = GER_gerd_von_rundstedt GER_gerd_von_rundstedt = { - not = { + NOT = { has_character_flag = has_been_a_governor } is_country_leader = no @@ -116,12 +116,13 @@ GER_get_a_governor_to_PREV = { } else_if = { limit = { - not = { - has_idea = GER_xier_idea - } - has_character = GER_xier - GER_xier = { - not = { + always = no + # NOT = { + # has_idea = GER_xier_idea + # } + has_character = XGE_xier + XGE_xier = { + NOT = { has_character_flag = has_been_a_governor } is_country_leader = no @@ -138,15 +139,15 @@ GER_get_a_governor_to_PREV = { } } } - GER_xier = { + XGE_xier = { set_character_flag = has_been_a_governor } } else_if = { limit = { - has_character = GER_maiye - GER_maiye = { - not = { + has_character = XGE_maiye + XGE_maiye = { + NOT = { has_character_flag = has_been_a_governor } is_country_leader = no @@ -163,15 +164,15 @@ GER_get_a_governor_to_PREV = { } } } - GER_maiye = { + XGE_maiye = { set_character_flag = has_been_a_governor } } else_if = { limit = { - has_character = GER_Tanya - GER_Tanya = { - not = { + has_character = XGE_Tanya + XGE_Tanya = { + NOT = { has_character_flag = has_been_a_governor } is_country_leader = no @@ -188,15 +189,15 @@ GER_get_a_governor_to_PREV = { } } } - GER_Tanya = { + XGE_Tanya = { set_character_flag = has_been_a_governor } } else_if = { limit = { - has_character = GER_ailika - GER_ailika = { - not = { + has_character = XGE_ailika + XGE_ailika = { + NOT = { has_character_flag = has_been_a_governor } is_country_leader = no @@ -213,15 +214,15 @@ GER_get_a_governor_to_PREV = { } } } - GER_ailika = { + XGE_ailika = { set_character_flag = has_been_a_governor } } else_if = { limit = { - has_character = GER_zhensui - GER_zhensui = { - not = { + has_character = XGE_zhensui + XGE_zhensui = { + NOT = { has_character_flag = has_been_a_governor } is_country_leader = no @@ -238,7 +239,7 @@ GER_get_a_governor_to_PREV = { } } } - GER_zhensui = { + XGE_zhensui = { set_character_flag = has_been_a_governor } } @@ -246,7 +247,7 @@ GER_get_a_governor_to_PREV = { limit = { has_character = GER_gunther_von_kluge GER_gunther_von_kluge = { - not = { + NOT = { has_character_flag = has_been_a_governor } is_country_leader = no @@ -271,7 +272,7 @@ GER_get_a_governor_to_PREV = { limit = { has_character = GER_erwin_rommel GER_erwin_rommel = { - not = { + NOT = { has_character_flag = has_been_a_governor } is_country_leader = no @@ -296,7 +297,7 @@ GER_get_a_governor_to_PREV = { limit = { has_character = GER_erich_von_manstein GER_erich_von_manstein = { - not = { + NOT = { has_character_flag = has_been_a_governor } is_country_leader = no @@ -319,9 +320,9 @@ GER_get_a_governor_to_PREV = { } else_if = { limit = { - has_character = GER_speer - GER_speer = { - not = { + has_character = XGE_speer + XGE_speer = { + NOT = { has_character_flag = has_been_a_governor } is_country_leader = no @@ -338,7 +339,7 @@ GER_get_a_governor_to_PREV = { } } } - GER_speer = { + XGE_speer = { set_character_flag = has_been_a_governor } } @@ -346,7 +347,7 @@ GER_get_a_governor_to_PREV = { limit = { has_character = GER_friedrich_paulus GER_friedrich_paulus = { - not = { + NOT = { has_character_flag = has_been_a_governor } is_country_leader = no @@ -373,7 +374,7 @@ XGE_LISHA_EFFECT = { if = { limit = { check_variable = { Lisa_resurrection_progress_var > 0 } - not = { has_country_flag = Lisa_resurrection_progress_var_event_1 } + NOT = { has_country_flag = Lisa_resurrection_progress_var_event_1 } } country_event = { id = XGE.007 @@ -383,7 +384,7 @@ XGE_LISHA_EFFECT = { if = { limit = { check_variable = { Lisa_resurrection_progress_var > 50 } - not = { has_country_flag = Lisa_resurrection_progress_var_event_2 } + NOT = { has_country_flag = Lisa_resurrection_progress_var_event_2 } } country_event = { id = XGE.009 @@ -393,7 +394,7 @@ XGE_LISHA_EFFECT = { if = { limit = { check_variable = { Lisa_resurrection_progress_var > 80 } - not = { has_country_flag = Lisa_resurrection_progress_var_event_3 } + NOT = { has_country_flag = Lisa_resurrection_progress_var_event_3 } } country_event = { id = XGE.010 @@ -403,7 +404,7 @@ XGE_LISHA_EFFECT = { if = { limit = { check_variable = { Lisa_resurrection_progress_var = 100 } - not = { has_country_flag = Lisa_resurrection_progress_var_event_4 } + NOT = { has_country_flag = Lisa_resurrection_progress_var_event_4 } } country_event = { id = XGE.011 diff --git a/src/common/scripted_effects/az_AL_scripted_effects.txt b/src/common/scripted_effects/az_AL_scripted_effects.txt index 3dfb277..2ffc4aa 100755 --- a/src/common/scripted_effects/az_AL_scripted_effects.txt +++ b/src/common/scripted_effects/az_AL_scripted_effects.txt @@ -916,7 +916,7 @@ AL_modifier_reset = { if = { limit = { check_variable = { AL_zhenghe_tank = 8 } - not = { + NOT = { has_country_flag = AL_zhenghe_tank } } @@ -926,7 +926,7 @@ AL_modifier_reset = { if = { limit = { check_variable = { AL_zhenghe_ship = 8 } - not = { + NOT = { has_country_flag = AL_zhenghe_ship } } @@ -936,7 +936,7 @@ AL_modifier_reset = { if = { limit = { check_variable = { AL_zhenghe_plane = 8 } - not = { + NOT = { has_country_flag = AL_zhenghe_plane } } @@ -946,7 +946,7 @@ AL_modifier_reset = { if = { limit = { check_variable = { AL_zhenghe_junxu = 8 } - not = { + NOT = { has_country_flag = AL_zhenghe_junxu } } @@ -956,7 +956,7 @@ AL_modifier_reset = { if = { limit = { check_variable = { AL_zhenghe_gongye = 8 } - not = { + NOT = { has_country_flag = AL_zhenghe_gongye } } diff --git a/src/common/scripted_effects/az_scripted_effects.txt b/src/common/scripted_effects/az_scripted_effects.txt index 0405c66..6897096 100755 --- a/src/common/scripted_effects/az_scripted_effects.txt +++ b/src/common/scripted_effects/az_scripted_effects.txt @@ -569,7 +569,7 @@ shaixuan_leader_seffect = { } every_army_leader = { limit = { - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -595,7 +595,7 @@ shaixuan_leader_seffect = { NOT = { has_trait = trait_yujin } NOT = { has_character_flag = zhaopinzhihuiguan } has_trait = zhanlie_army - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -619,7 +619,7 @@ shaixuan_leader_seffect = { NOT = { has_trait = trait_yujin } NOT = { has_character_flag = zhaopinzhihuiguan } has_trait = hangmu_army - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -643,7 +643,7 @@ shaixuan_leader_seffect = { NOT = { has_trait = trait_yujin } NOT = { has_character_flag = zhaopinzhihuiguan } has_trait = xunyang_army - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -667,7 +667,7 @@ shaixuan_leader_seffect = { NOT = { has_trait = trait_yujin } NOT = { has_character_flag = zhaopinzhihuiguan } has_trait = quzhu_army - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -703,7 +703,7 @@ shaixuan_leader_seffect = { limit = { NOT = { has_trait = trait_yujin } NOT = { has_character_flag = zhaopinzhihuiguan } - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -727,7 +727,7 @@ shaixuan_leader_seffect = { NOT = { has_trait = trait_yujin } NOT = { has_character_flag = zhaopinzhihuiguan } has_trait = zhanlie_navy - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -751,7 +751,7 @@ shaixuan_leader_seffect = { NOT = { has_trait = trait_yujin } NOT = { has_character_flag = zhaopinzhihuiguan } has_trait = hangmu_navy - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -775,7 +775,7 @@ shaixuan_leader_seffect = { NOT = { has_trait = trait_yujin } NOT = { has_character_flag = zhaopinzhihuiguan } has_trait = xunyang_navy - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -797,7 +797,7 @@ shaixuan_leader_seffect = { every_navy_leader = { limit = { has_trait = quzhu_navy - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -821,7 +821,7 @@ shaixuan_leader_seffect = { NOT = { has_trait = trait_yujin } NOT = { has_character_flag = zhaopinzhihuiguan } has_trait = qianting_navy - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -856,7 +856,7 @@ shaixuan_leader_seffect = { has_trait = zhanlie_navy has_trait = zhanlie_army } - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -884,7 +884,7 @@ shaixuan_leader_seffect = { has_trait = hangmu_navy has_trait = hangmu_army } - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -911,7 +911,7 @@ shaixuan_leader_seffect = { has_trait = xunyang_navy has_trait = xunyang_army } - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -938,7 +938,7 @@ shaixuan_leader_seffect = { has_trait = quzhu_navy has_trait = quzhu_army } - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army @@ -964,7 +964,7 @@ shaixuan_leader_seffect = { OR = { has_trait = qianting_navy } - or = { + OR = { has_trait = zhanlie_army has_trait = zhanlie_navy has_trait = hangmu_army diff --git a/src/common/scripted_guis/az_pt_guis.txt b/src/common/scripted_guis/az_pt_guis.txt index 798e6d0..4cbdd83 100755 --- a/src/common/scripted_guis/az_pt_guis.txt +++ b/src/common/scripted_guis/az_pt_guis.txt @@ -272,7 +272,7 @@ scripted_gui = { context_type = player_context parent_window_token = top_bar visible = { - not = { + NOT = { has_country_flag = az_PT_1_000 } } @@ -287,7 +287,7 @@ scripted_gui = { context_type = player_context parent_window_token = selected_state_view visible = { - not = { + NOT = { has_country_flag = az_PT_1_001 } } @@ -302,7 +302,7 @@ scripted_gui = { context_type = player_context parent_window_token = tech_support_folder visible = { - not = { + NOT = { has_country_flag = az_PT_1_002 } has_tech = tech_support @@ -318,7 +318,7 @@ scripted_gui = { context_type = player_context parent_window_token = trade_tab visible = { - not = { + NOT = { has_country_flag = az_PT_1_003 } } @@ -333,7 +333,7 @@ scripted_gui = { context_type = player_context parent_window_token = navy_ledger visible = { - not = { + NOT = { has_country_flag = az_PT_1_004 } } @@ -348,7 +348,7 @@ scripted_gui = { context_type = player_context parent_window_token = production_tab visible = { - not = { + NOT = { has_country_flag = az_PT_1_005 } } @@ -363,7 +363,7 @@ scripted_gui = { context_type = player_context parent_window_token = national_focus visible = { - not = { + NOT = { has_country_flag = az_PT_1_006 } } @@ -378,7 +378,7 @@ scripted_gui = { context_type = player_context parent_window_token = selected_country_view_diplomacy visible = { - not = { + NOT = { has_country_flag = az_PT_1_007 } } @@ -393,7 +393,7 @@ scripted_gui = { context_type = player_context parent_window_name = "az_leadermenu_shaixuan_window" visible = { - not = { + NOT = { has_country_flag = az_PT_1_008 } has_country_flag = az_leadermenu_shaixuan_window_show @@ -409,7 +409,7 @@ scripted_gui = { context_type = player_context parent_window_token = politics_tab visible = { - not = { + NOT = { has_country_flag = az_PT_1_009 } } @@ -424,7 +424,7 @@ scripted_gui = { context_type = player_context parent_window_token = decision_tab visible = { - not = { + NOT = { has_country_flag = az_PT_1_010 } } @@ -439,7 +439,7 @@ scripted_gui = { context_type = player_context parent_window_token = diplomacy_tab visible = { - not = { + NOT = { has_country_flag = az_PT_1_011 } } @@ -454,7 +454,7 @@ scripted_gui = { context_type = player_context parent_window_token = tech_artillery_folder visible = { - not = { + NOT = { has_country_flag = az_PT_1_012 } } @@ -469,7 +469,7 @@ scripted_gui = { context_type = player_context parent_window_name = "az_photowindow" visible = { - not = { + NOT = { has_country_flag = az_PT_1_013 } has_country_flag = az_photowindow_open @@ -486,7 +486,7 @@ scripted_gui = { context_type = player_context parent_window_name = "az_xmp_main_window" visible = { - not = { + NOT = { has_country_flag = az_PT_1_014 } has_country_flag = xmpwindow3_open diff --git a/src/common/scripted_triggers/az_alpt_scripted_triggers.txt b/src/common/scripted_triggers/az_alpt_scripted_triggers.txt index 153ce7f..23d76e4 100755 --- a/src/common/scripted_triggers/az_alpt_scripted_triggers.txt +++ b/src/common/scripted_triggers/az_alpt_scripted_triggers.txt @@ -55,43 +55,43 @@ az_photo_no_finish_triggers = { OR = { AND = { has_country_flag = az_photowindow_1 - not = { has_country_flag = az_photo_finish_1 } + NOT = { has_country_flag = az_photo_finish_1 } } AND = { has_country_flag = az_photowindow_2 - not = { has_country_flag = az_photo_finish_2 } + NOT = { has_country_flag = az_photo_finish_2 } } AND = { has_country_flag = az_photowindow_3 - not = { has_country_flag = az_photo_finish_3 } + NOT = { has_country_flag = az_photo_finish_3 } } AND = { has_country_flag = az_photowindow_4 - not = { has_country_flag = az_photo_finish_4 } + NOT = { has_country_flag = az_photo_finish_4 } } AND = { has_country_flag = az_photowindow_5 - not = { has_country_flag = az_photo_finish_5 } + NOT = { has_country_flag = az_photo_finish_5 } } AND = { has_country_flag = az_photowindow_6 - not = { has_country_flag = az_photo_finish_6 } + NOT = { has_country_flag = az_photo_finish_6 } } AND = { has_country_flag = az_photowindow_7 - not = { has_country_flag = az_photo_finish_7 } + NOT = { has_country_flag = az_photo_finish_7 } } AND = { has_country_flag = az_photowindow_8 - not = { has_country_flag = az_photo_finish_8 } + NOT = { has_country_flag = az_photo_finish_8 } } AND = { has_country_flag = az_photowindow_9 - not = { has_country_flag = az_photo_finish_9 } + NOT = { has_country_flag = az_photo_finish_9 } } AND = { has_country_flag = az_photowindow_10 - not = { has_country_flag = az_photo_finish_10 } + NOT = { has_country_flag = az_photo_finish_10 } } } } diff --git a/src/common/technologies/land_doctrine.txt b/src/common/technologies/land_doctrine.txt index f185e0d..36506fa 100755 --- a/src/common/technologies/land_doctrine.txt +++ b/src/common/technologies/land_doctrine.txt @@ -39,7 +39,7 @@ technologies = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -85,7 +85,7 @@ technologies = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -144,7 +144,7 @@ technologies = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -216,17 +216,17 @@ technologies = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } @@ -288,17 +288,17 @@ technologies = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } } @@ -365,17 +365,17 @@ armored_car_recon = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } } @@ -426,17 +426,17 @@ armored_car_recon = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } } @@ -482,17 +482,17 @@ armored_car_recon = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } } @@ -555,17 +555,17 @@ armored_car_recon = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } } @@ -616,17 +616,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -677,17 +677,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } modifier = { @@ -741,11 +741,11 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -789,17 +789,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -842,17 +842,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } modifier = { @@ -894,11 +894,11 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -934,11 +934,11 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -984,7 +984,7 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -1025,7 +1025,7 @@ additional_brigade_column_size = 1 ai_will_do = { modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -1074,7 +1074,7 @@ additional_brigade_column_size = 1 ai_will_do = { modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -1122,17 +1122,17 @@ additional_brigade_column_size = 1 ai_will_do = { modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } factor = 20 @@ -1189,18 +1189,18 @@ additional_brigade_column_size = 1 ai_will_do = { modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } factor = 20 modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } } @@ -1250,18 +1250,18 @@ additional_brigade_column_size = 1 ai_will_do = { modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } factor = 20 modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } } @@ -1303,18 +1303,18 @@ additional_brigade_column_size = 1 ai_will_do = { modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } factor = 20 modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } } @@ -1362,17 +1362,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.25 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -1416,17 +1416,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.25 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } modifier = { @@ -1485,17 +1485,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -1537,17 +1537,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -1598,17 +1598,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -1654,17 +1654,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.25 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -1706,17 +1706,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -1773,17 +1773,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -1828,17 +1828,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -1882,7 +1882,7 @@ additional_brigade_column_size = 1 ai_will_do = { modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -1926,7 +1926,7 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -1976,7 +1976,7 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -2025,17 +2025,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } } @@ -2094,17 +2094,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.35 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.65 } modifier = { @@ -2157,17 +2157,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.3 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.6 } } @@ -2215,17 +2215,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.25 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.55 } } @@ -2268,17 +2268,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.2 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -2325,17 +2325,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.45 } } @@ -2377,17 +2377,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.1 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.4 } } @@ -2435,17 +2435,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.35 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.65 } modifier = { @@ -2502,17 +2502,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.3 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.6 } } @@ -2559,17 +2559,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.25 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.55 } } @@ -2611,17 +2611,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.2 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -2667,17 +2667,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.45 } } @@ -2714,17 +2714,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.1 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.4 } } @@ -2768,7 +2768,7 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -2810,7 +2810,7 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -2858,7 +2858,7 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -2905,7 +2905,7 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -2929,11 +2929,11 @@ additional_brigade_column_size = 1 } } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } modifier = { @@ -2992,17 +2992,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } } @@ -3042,17 +3042,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.35 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.65 } } @@ -3096,17 +3096,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.35 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.65 } } @@ -3156,17 +3156,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.25 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -3233,17 +3233,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.15 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.5 } } @@ -3279,17 +3279,17 @@ additional_brigade_column_size = 1 ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.1 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.35 } } @@ -3347,17 +3347,17 @@ military_police = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 } modifier = { - not = { ai_air_doctrine_tier_1_trigger = yes } + NOT = { ai_air_doctrine_tier_1_trigger = yes } factor = 0.5 } modifier = { - not = { ai_air_doctrine_tier_2_trigger = yes } + NOT = { ai_air_doctrine_tier_2_trigger = yes } factor = 0.75 } modifier = { @@ -3415,7 +3415,7 @@ military_police = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -3463,7 +3463,7 @@ military_police = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -3508,7 +3508,7 @@ military_police = { ai_will_do = { factor = 20 modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 @@ -3548,7 +3548,7 @@ military_police = { ai_will_do = { modifier = { - not = { + NOT = { has_army_experience > 120 } factor = 0.8 diff --git a/src/common/unit_leader/az_traits.txt b/src/common/unit_leader/az_traits.txt index 69dba8c..d0e7e3a 100755 --- a/src/common/unit_leader/az_traits.txt +++ b/src/common/unit_leader/az_traits.txt @@ -156,7 +156,7 @@ leader_traits = { hangmu_army_tongshuaisanjun = { prerequisites = { OWNER = { has_tech = shipgirltech_zuozhanlilun_3 } - not = { has_trait = luoli } + NOT = { has_trait = luoli } } type = corps_commander gain_xp = { diff --git a/src/common/units/names_ships/ENG_ship_names.txt b/src/common/units/names_ships/ENG_ship_names.txt index cf6b46b..a700df4 100755 --- a/src/common/units/names_ships/ENG_ship_names.txt +++ b/src/common/units/names_ships/ENG_ship_names.txt @@ -6,7 +6,7 @@ ENG_DD_HISTORICAL = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -492,7 +492,7 @@ ENG_DE_HISTORICAL = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -721,7 +721,7 @@ ENG_CL_HISTORICAL = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -834,7 +834,7 @@ ENG_CLAA_HISTORICAL = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -912,7 +912,7 @@ ENG_CA_HISTORICAL = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -983,7 +983,7 @@ ENG_MINELAYERS_HISTORICAL = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -1014,7 +1014,7 @@ ENG_BB_HISTORICAL = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -1079,7 +1079,7 @@ ENG_BC_HISTORICAL = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -1119,7 +1119,7 @@ ENG_CV_HISTORICAL = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -1165,7 +1165,7 @@ ENG_CVL_HISTORICAL = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -1213,7 +1213,7 @@ ENG_SS_HISTORICAL = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -1495,7 +1495,7 @@ ENG_COUNTIES = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -1603,7 +1603,7 @@ ENG_CITIES = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship @@ -1690,7 +1690,7 @@ ENG_COLONIES = { for_countries = { HUJ } can_use = { - not = { has_government = communism } + NOT = { has_government = communism } } type = ship diff --git a/src/events/AZ_tianjiangEvents.txt b/src/events/AZ_tianjiangEvents.txt index 97003a4..da083c9 100755 --- a/src/events/AZ_tianjiangEvents.txt +++ b/src/events/AZ_tianjiangEvents.txt @@ -50,7 +50,7 @@ news_event = { option = { name = az_tianjiang.3.b trigger = { - not = {tag = TIX } + NOT = {tag = TIX } } } } @@ -315,8 +315,8 @@ country_event = { picture = GFX_aze_luoxiya trigger = { has_global_flag = bfl_yes_pact - not = {has_global_flag = bfl_yes_pact_ok} - or = { + NOT = {has_global_flag = bfl_yes_pact_ok} + OR = { tag = TIX tag = BFL } @@ -325,9 +325,9 @@ country_event = { TIX = {not = { has_war_with = BFL } } OR = { AND = { - or = { + OR = { POL = { has_capitulated = yes } - not = { country_exists = POL } + NOT = { country_exists = POL } } AND = { OR = { @@ -345,9 +345,9 @@ country_event = { } } AND = { - or = { + OR = { POL = { has_capitulated = yes } - not = { country_exists = POL } + NOT = { country_exists = POL } } AND = { OR = { @@ -618,7 +618,7 @@ news_event = { option = { name = az_tianjiang.15.b trigger = { - not = { + NOT = { tag = TIX tag = HUH tag = YUW @@ -1105,8 +1105,8 @@ news_event = { option = { name = az_tianjiang.36.b trigger = { - not = {tag = TIX } - not = {tag = SAD } + NOT = {tag = TIX } + NOT = {tag = SAD } } } } @@ -1217,8 +1217,8 @@ news_event = { option = { name = az_tianjiang.41.b trigger = { - not = {tag = CHY } - not = {tag = DOH } + NOT = {tag = CHY } + NOT = {tag = DOH } } } } @@ -2054,7 +2054,7 @@ country_event = { name = "终于可以歇一歇了" if = { limit = { - not = { has_global_flag = tix_guifanweixitudile } + NOT = { has_global_flag = tix_guifanweixitudile } } transfer_state = 785 transfer_state = 806 @@ -2245,10 +2245,10 @@ news_event = { option = { name = az_tianjiang.74.b trigger = { - not = {tag = TIX } - not = {tag = SAD } - not = {tag = HUJ } - not = {tag = BYG } + NOT = {tag = TIX } + NOT = {tag = SAD } + NOT = {tag = HUJ } + NOT = {tag = BYG } } } } @@ -2382,7 +2382,7 @@ news_event = { trigger = { date > 1941.1.1 16 = { is_controlled_by = YUW } - or = { + OR = { 16 = { is_owned_by = TIX } 16 = { is_owned_by = WEX } } @@ -2411,7 +2411,7 @@ country_event = { trigger = { date > 1941.6.1 tag = SAD - or = { + OR = { 2 = { is_controlled_by = BYG } 2 = { is_controlled_by = YUW } 2 = { is_controlled_by = HUJ } @@ -2422,7 +2422,7 @@ country_event = { } has_war_with = HUJ has_war_with = BYG - or = { + OR = { HUJ = { is_faction_leader = yes } BYG = { is_faction_leader = yes } } @@ -2604,7 +2604,7 @@ country_event = { controls_state = 126 has_war_with = TIX HUJ = { is_in_faction_with = BYG } - not = { has_war_with = BFL } + NOT = { has_war_with = BFL } surrender_progress < 0.3 TIX = { surrender_progress > 0.1 @@ -2722,7 +2722,7 @@ country_event = { name = "由于北联拒绝出席会议,雅尔塔会议宣布失败!" trigger = { has_global_flag = yaerta_baiying_fuhui - not = { has_global_flag = yaerta_beilian_fuhui } + NOT = { has_global_flag = yaerta_beilian_fuhui } } ai_chance = { factor = 100 @@ -2731,7 +2731,7 @@ country_event = { option = { name = "由于白鹰拒绝出席会议,雅尔塔会议宣布失败!" trigger = { - not = { has_global_flag = yaerta_baiying_fuhui } + NOT = { has_global_flag = yaerta_baiying_fuhui } has_global_flag = yaerta_beilian_fuhui } ai_chance = { @@ -2741,8 +2741,8 @@ country_event = { option = { name = "除了皇家之外,另外两方都没有出席会议!" trigger = { - not = { has_global_flag = yaerta_baiying_fuhui } - not = { has_global_flag = yaerta_beilian_fuhui } + NOT = { has_global_flag = yaerta_baiying_fuhui } + NOT = { has_global_flag = yaerta_beilian_fuhui } } ai_chance = { factor = 100 @@ -3653,7 +3653,7 @@ country_event = { ai_chance = { factor = 60 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { @@ -3773,7 +3773,7 @@ country_event = { ai_chance = { factor = 40 modifier = { - or = { + OR = { has_game_rule = { rule = BYG_ai_behavior option = BYG_chongzuguohui @@ -3829,7 +3829,7 @@ country_event = { ai_chance = { factor = 20 modifier = { - or = { + OR = { has_game_rule = { rule = BYG_ai_behavior option = BYG_anbaoxian @@ -3972,7 +3972,7 @@ country_event = { ai_chance = { factor = 33 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { @@ -4002,7 +4002,7 @@ country_event = { ai_chance = { factor = 33 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { @@ -4032,7 +4032,7 @@ country_event = { ai_chance = { factor = 33 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { @@ -5280,19 +5280,19 @@ country_event = { trigger = { date > 1942.1.1 tag = CHY - or = { + OR = { has_government = fascism has_government = neutrality } - not = { is_in_faction_with = YUW } + NOT = { is_in_faction_with = YUW } has_war_with = BYG has_war_with = BFL has_war_with = HUJ country_exists = DOH - not = { is_in_faction_with = DOH } - or = { + NOT = { is_in_faction_with = DOH } + OR = { country_exists = GER - not = { country_exists = TIX } + NOT = { country_exists = TIX } TIX = { is_puppet = yes } @@ -5303,8 +5303,8 @@ country_event = { has_government = democratic } } - or = { - not = { country_exists = SAD } + OR = { + NOT = { country_exists = SAD } SAD = { is_puppet = yes } @@ -5335,11 +5335,11 @@ country_event = { picture = GFX_aze_gangkou trigger = { tag = CHY - or = { + OR = { has_government = fascism has_government = neutrality } - not = { is_in_faction_with = DOH } + NOT = { is_in_faction_with = DOH } has_idea = CHY_rimuxishan has_stability < 0.41 has_war_support < 0.41 @@ -5670,7 +5670,7 @@ news_event = { option = { name = az_tianjiang.143.b trigger = { - not = {tag = CHY } + NOT = {tag = CHY } } } } @@ -5878,8 +5878,8 @@ news_event = { option = { name = az_tianjiang.147.b trigger = { - not = {tag = TIX } - not = {tag = SAD } + NOT = {tag = TIX } + NOT = {tag = SAD } } } } @@ -6195,8 +6195,8 @@ news_event = { option = { name = az_tianjiang.157.b trigger = { - not = {tag = YUW } - not = {tag = SAD } + NOT = {tag = YUW } + NOT = {tag = SAD } } } } @@ -7199,7 +7199,7 @@ country_event = { trigger = { is_ai = yes has_idea = TY_fengkuangAI - not = { has_country_flag = yihuode_AIBUFF } + NOT = { has_country_flag = yihuode_AIBUFF } date < 1937.1.1 } mean_time_to_happen = { @@ -7515,7 +7515,7 @@ news_event = { major = yes trigger = { date > 1936.5.1 - not = { has_global_flag = gaoxiaoxinwen_bsmdl } + NOT = { has_global_flag = gaoxiaoxinwen_bsmdl } } mean_time_to_happen = { @@ -7539,7 +7539,7 @@ news_event = { major = yes trigger = { date > 1936.7.1 - not = { has_global_flag = gaoxiaoxinwen_xjjxzj } + NOT = { has_global_flag = gaoxiaoxinwen_xjjxzj } } mean_time_to_happen = { @@ -7563,7 +7563,7 @@ news_event = { major = yes trigger = { date > 1937.1.1 - not = { has_global_flag = gaoxiaoxinwen_hjfzbsx } + NOT = { has_global_flag = gaoxiaoxinwen_hjfzbsx } } mean_time_to_happen = { @@ -7587,7 +7587,7 @@ news_event = { major = yes trigger = { date > 1937.8.1 - not = { has_global_flag = gaoxiaoxinwen_mycmpf } + NOT = { has_global_flag = gaoxiaoxinwen_mycmpf } } mean_time_to_happen = { @@ -7611,8 +7611,8 @@ news_event = { major = yes trigger = { date > 1938.2.1 - not = { has_global_flag = gaoxiaoxinwen_sairenzhizai } - not = { has_global_flag = MOD_azurlane_sairenzhizai } + NOT = { has_global_flag = gaoxiaoxinwen_sairenzhizai } + NOT = { has_global_flag = MOD_azurlane_sairenzhizai } } mean_time_to_happen = { @@ -7636,8 +7636,8 @@ news_event = { major = yes trigger = { date > 1940.3.1 - not = { has_global_flag = gaoxiaoxinwen_sairenzhizaibaimuda } - not = { has_global_flag = MOD_azurlane_sairenzhizai } + NOT = { has_global_flag = gaoxiaoxinwen_sairenzhizaibaimuda } + NOT = { has_global_flag = MOD_azurlane_sairenzhizai } } mean_time_to_happen = { @@ -7661,7 +7661,7 @@ news_event = { major = yes trigger = { date > 1938.2.1 - not = { has_global_flag = gaoxiaoxinwen_tianjiangjianniang } + NOT = { has_global_flag = gaoxiaoxinwen_tianjiangjianniang } has_global_flag = MOD_azurlane_sairenzhizai } @@ -7686,7 +7686,7 @@ news_event = { major = yes trigger = { date > 1940.3.1 - not = { has_global_flag = gaoxiaoxinwen_tianjiangjiannianggrhp } + NOT = { has_global_flag = gaoxiaoxinwen_tianjiangjiannianggrhp } has_global_flag = MOD_azurlane_sairenzhizai } @@ -7733,7 +7733,7 @@ country_event = { value = -30 compare = less_than_or_equals } - not = { has_country_flag = beibishile_tj } + NOT = { has_country_flag = beibishile_tj } is_in_faction = no } option = { @@ -7758,7 +7758,7 @@ country_event = { compare = greater_than_or_equals } has_idea = TJ_guojiqimin - not = { has_country_flag = guojiqiminyichu_yes } + NOT = { has_country_flag = guojiqiminyichu_yes } } option = { name = "太好了" @@ -7788,8 +7788,8 @@ news_event = { option = { name = az_tianjiang.208.b trigger = { - not = {tag = SAD } - not = {tag = TIX } + NOT = {tag = SAD } + NOT = {tag = TIX } } } option = { @@ -7820,8 +7820,8 @@ news_event = { option = { name = az_tianjiang.209.b trigger = { - not = {tag = SAD } - not = {tag = HUJ } + NOT = {tag = SAD } + NOT = {tag = HUJ } } } option = { @@ -7956,7 +7956,7 @@ country_event = { trigger = { tag = TIX has_government = fascism - not = { has_country_flag = tix_bimianjuqingsha } + NOT = { has_country_flag = tix_bimianjuqingsha } has_war_support < 0.9 has_offensive_war = yes any_country = { @@ -8074,7 +8074,7 @@ country_event = { date > 1938.6.1 tag = SAD has_government = fascism - not = { is_in_faction_with = HUJ } + NOT = { is_in_faction_with = HUJ } has_country_leader = { name = "维内托" ruling_only = yes @@ -8106,8 +8106,8 @@ country_event = { date > 1939.6.1 threat > 0.4 tag = SAD - not = { is_in_faction_with = HUJ } - not = { is_in_faction_with = YUW } + NOT = { is_in_faction_with = HUJ } + NOT = { is_in_faction_with = YUW } has_government = fascism has_country_leader = { name = "维内托" @@ -8158,7 +8158,7 @@ country_event = { trigger = { date < 1937.6.1 tag = BYG - not = { has_country_flag = baiyingneizhaweiji } + NOT = { has_country_flag = baiyingneizhaweiji } has_offensive_war = yes has_added_tension_amount > 9 has_global_flag = MOD_azurlane_tianjiangjianniang @@ -8194,7 +8194,7 @@ country_event = { has_offensive_war = yes has_added_tension_amount > 9 has_global_flag = MOD_azurlane_tianjiangjianniang - not = { + NOT = { has_game_rule = { rule = AZ_huj_bengkui_rule option = AZ_huj_bengkui_rule_on @@ -8394,7 +8394,7 @@ country_event = { date > 1936.1.3 tag = HUJ has_global_flag = MOD_azurlane_tianjiangjianniang - not = { + NOT = { has_game_rule = { rule = AZ_huj_bengkui_rule option = AZ_huj_bengkui_rule_off @@ -8625,7 +8625,7 @@ country_event = { trigger = { tag = TIX has_government = fascism - not = { has_country_flag = tix_bimianjuqingsha_2 } + NOT = { has_country_flag = tix_bimianjuqingsha_2 } has_war_support < 1.9 has_offensive_war = yes any_country = { @@ -8826,7 +8826,7 @@ country_event = { has_war_with = BFL has_war_with = HUJ has_war_with = BYG - not = { controls_state = 16 } + NOT = { controls_state = 16 } BFL = { surrender_progress < 0.3 } @@ -9063,7 +9063,7 @@ country_event = { tag = BFL has_government = communism is_ai = no - not = { has_country_flag = BFL_tufaqingsao_on } + NOT = { has_country_flag = BFL_tufaqingsao_on } has_country_flag = BFL_zzpianzhidu_on } option = { @@ -9491,7 +9491,7 @@ news_event = { major = yes trigger = { date > 1936.3.1 - not = { has_global_flag = gaoxiaoxinwen_mjder } + NOT = { has_global_flag = gaoxiaoxinwen_mjder } } mean_time_to_happen = { diff --git a/src/events/BFL_shijian.txt b/src/events/BFL_shijian.txt index bd66308..2033c95 100755 --- a/src/events/BFL_shijian.txt +++ b/src/events/BFL_shijian.txt @@ -165,7 +165,7 @@ country_event = { POL = { has_capitulated = yes } NOT = { country_exists = POL } } - not = { has_completed_focus = TIX_sudetiaoyue } + NOT = { has_completed_focus = TIX_sudetiaoyue } } } fire_only_once = yes diff --git a/src/events/BLI_shijian.txt b/src/events/BLI_shijian.txt index f29e491..2d0cc5a 100755 --- a/src/events/BLI_shijian.txt +++ b/src/events/BLI_shijian.txt @@ -166,7 +166,7 @@ country_event = { ai_chance = { base = 1 modifier = { - not = { has_war = yes } + NOT = { has_war = yes } factor = 100 } } @@ -199,7 +199,7 @@ country_event = { ai_chance = { base = 1 modifier = { - not = { has_war = yes } + NOT = { has_war = yes } factor = 100 } } @@ -253,7 +253,7 @@ country_event = { ai_chance = { base = 1 modifier = { - not = { has_war = yes } + NOT = { has_war = yes } factor = 100 } } diff --git a/src/events/CHY_new1_shijian.txt b/src/events/CHY_new1_shijian.txt index 225fea4..fbede8e 100755 --- a/src/events/CHY_new1_shijian.txt +++ b/src/events/CHY_new1_shijian.txt @@ -211,7 +211,7 @@ country_event = { ai_chance = { base = 100 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { @@ -230,7 +230,7 @@ country_event = { ai_chance = { base = 0 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { rule = CHY_ai_behavior @@ -248,7 +248,7 @@ country_event = { ai_chance = { base = 0 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { rule = CHY_ai_behavior @@ -266,7 +266,7 @@ country_event = { ai_chance = { base = 0 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { rule = CHY_ai_behavior @@ -368,7 +368,7 @@ country_event = { ai_chance = { base = 10 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { @@ -392,7 +392,7 @@ country_event = { ai_chance = { base = 100 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { @@ -444,8 +444,8 @@ news_event = { option = { name = CHY_new1_shijian.11.b trigger = { - not = {tag = CHY } - not = {tag = DOH } + NOT = {tag = CHY } + NOT = {tag = DOH } } } } @@ -889,7 +889,7 @@ country_event = { has_war_with = CHY owns_state = 335 } - not = { country_exists = INS } + NOT = { country_exists = INS } } every_state = { limit = { @@ -912,7 +912,7 @@ country_event = { has_war_with = CHY owns_state = 327 } - not = { country_exists = PHI } + NOT = { country_exists = PHI } } every_state = { limit = { @@ -935,7 +935,7 @@ country_event = { has_war_with = CHY owns_state = 336 } - not = { country_exists = MAL } + NOT = { country_exists = MAL } } every_state = { limit = { @@ -954,11 +954,11 @@ country_event = { if = { limit = { - not = { + NOT = { has_war_with = CHY owns_state = 439 } - not = { country_exists = RAJ } + NOT = { country_exists = RAJ } } every_state = { limit = { @@ -993,7 +993,7 @@ country_event = { has_war_with = CHY owns_state = 285 } - not = { country_exists = AST } + NOT = { country_exists = AST } } every_state = { limit = { @@ -1019,7 +1019,7 @@ country_event = { has_war_with = CHY owns_state = 284 } - not = { country_exists = NZL } + NOT = { country_exists = NZL } } every_state = { limit = { @@ -1095,9 +1095,9 @@ news_event = { option = { name = CHY_new1_shijian.27.b trigger = { - not = {tag = CHY } - not = {tag = HUJ } - not = {tag = BYG } + NOT = {tag = CHY } + NOT = {tag = HUJ } + NOT = {tag = BYG } } } } @@ -1161,7 +1161,7 @@ country_event = { ai_chance = { base = 100 modifier = { - or = { + OR = { has_game_rule = { rule = CHY_ai_behavior option = CHY_changmen_line_focus @@ -1205,7 +1205,7 @@ country_event = { ai_chance = { base = 100 modifier = { - or = { + OR = { has_game_rule = { rule = CHY_ai_behavior option = CHY_changmen_line_focus @@ -1249,7 +1249,7 @@ country_event = { ai_chance = { base = 100 modifier = { - or = { + OR = { has_game_rule = { rule = CHY_ai_behavior option = CHY_changmen_line_focus @@ -1279,7 +1279,7 @@ news_event = { option = { name = CHY_new1_shijian.30.b trigger = { - not = {tag = CHY } + NOT = {tag = CHY } } } } @@ -1413,8 +1413,8 @@ news_event = { option = { name = CHY_new1_shijian.34.b trigger = { - not = {tag = CHY } - not = {tag = DOH } + NOT = {tag = CHY } + NOT = {tag = DOH } } } } diff --git a/src/events/CHY_shijian.txt b/src/events/CHY_shijian.txt index cd89de8..6baddd3 100755 --- a/src/events/CHY_shijian.txt +++ b/src/events/CHY_shijian.txt @@ -10,7 +10,7 @@ country_event = { ai_chance = { factor = 20 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { @@ -41,7 +41,7 @@ country_event = { ai_chance = { factor = 50 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { @@ -63,7 +63,7 @@ country_event = { ai_chance = { factor = 30 modifier = { - or = { + OR = { is_historical_focus_on = yes has_game_rule = { diff --git a/src/events/Chy_new.txt b/src/events/Chy_new.txt index a30d3e3..93d218f 100755 --- a/src/events/Chy_new.txt +++ b/src/events/Chy_new.txt @@ -1757,9 +1757,9 @@ country_event = { #吾妻 trigger = { tag = CHY - or = { + OR = { has_war_with = BYG - not = {country_exists = BYG} + NOT = {country_exists = BYG} BYG = { is_in_faction_with = CHY } @@ -1786,9 +1786,9 @@ country_event = { #吾妻 trigger = { tag = BYG - or = { + OR = { has_war_with = CHY - not = {country_exists = CHY} + NOT = {country_exists = CHY} CHY = { is_in_faction_with = BYG } @@ -2333,7 +2333,7 @@ country_event = { #吾妻 focus = CHY_zhengfuneideqingxi progress > 0.9 } - not = { has_country_flag = CHY_purge_3 } + NOT = { has_country_flag = CHY_purge_3 } } fire_only_once = yes option = { diff --git a/src/events/NewsEvents.txt b/src/events/NewsEvents.txt index 34745fb..9d9bffb 100755 --- a/src/events/NewsEvents.txt +++ b/src/events/NewsEvents.txt @@ -7688,7 +7688,7 @@ news_event = { tag = ENG is_puppet_of = ENG } - not = { + NOT = { has_government = communism } } diff --git a/src/events/SIR_shijian.txt b/src/events/SIR_shijian.txt index 0d754e1..f5ced13 100755 --- a/src/events/SIR_shijian.txt +++ b/src/events/SIR_shijian.txt @@ -44,7 +44,7 @@ country_event = { set_country_flag = SIR_jiaotiaokuxing_yongjiu if = { limit = { - not = { has_idea = SIR_jiaotiaokuxing } + NOT = { has_idea = SIR_jiaotiaokuxing } } add_ideas = SIR_jiaotiaokuxing } @@ -57,7 +57,7 @@ country_event = { set_country_flag = SIR_jiaotiaogulishengyu_yongjiu if = { limit = { - not = { has_idea = SIR_jiaotiaogulishengyu } + NOT = { has_idea = SIR_jiaotiaogulishengyu } } add_ideas = SIR_jiaotiaogulishengyu } @@ -70,7 +70,7 @@ country_event = { set_country_flag = SIR_jiaotiaonulizhi_yongjiu if = { limit = { - not = { has_idea = SIR_jiaotiaonulizhi } + NOT = { has_idea = SIR_jiaotiaonulizhi } } add_ideas = SIR_jiaotiaonulizhi } @@ -84,7 +84,7 @@ country_event = { set_country_flag = SIR_jiaotiaotuichongkexue_yongjiu if = { limit = { - not = { has_idea = SIR_jiaotiaotuichongkexue } + NOT = { has_idea = SIR_jiaotiaotuichongkexue } } add_ideas = SIR_jiaotiaotuichongkexue } diff --git a/src/events/XGE.txt b/src/events/XGE.txt index 0cd27fe..769e086 100755 --- a/src/events/XGE.txt +++ b/src/events/XGE.txt @@ -412,7 +412,7 @@ country_event = { trigger = { tag = GER all_country = { - or = { + OR = { tag = GER is_subject_of = GER } @@ -499,7 +499,7 @@ country_event = { name = XGE.2008.c every_state = { limit = { - or = { + OR = { region = 1 region = 2 region = 3 @@ -546,7 +546,7 @@ country_event = { limit = { has_character = GER_maiye GER_maiye = { - not = { + NOT = { has_character_flag = has_been_a_governor } is_country_leader = no @@ -593,7 +593,7 @@ news_event = { option = { name = XGE_News.001.b trigger = { - not = { + NOT = { tag = XGE } } @@ -620,7 +620,7 @@ news_event = { option = { name = XGE_News.002.b trigger = { - not = { + NOT = { tag = XGE } } @@ -647,7 +647,7 @@ news_event = { option = { name = XGE_News.003.b trigger = { - not = { + NOT = { tag = XGE } } @@ -674,7 +674,7 @@ news_event = { option = { name = XGE_News.004.b trigger = { - not = { + NOT = { tag = XGE } } diff --git a/src/events/YUW_shijian.txt b/src/events/YUW_shijian.txt index 489f52e..ba45d65 100755 --- a/src/events/YUW_shijian.txt +++ b/src/events/YUW_shijian.txt @@ -12,7 +12,7 @@ country_event = { controls_state = 64 controls_state = 16 controls_state = 2 - or = { + OR = { controls_state = 219 controls_state = 126 } @@ -70,7 +70,7 @@ country_event = { is_ai = no has_war = no date > 1937.6.1 - or = { + OR = { tag = YUW is_in_faction_with = YUW } @@ -111,7 +111,7 @@ news_event = { option = { name = YUW_event.43.b trigger = { - not = {tag = YUW } + NOT = {tag = YUW } } } } @@ -135,8 +135,8 @@ news_event = { option = { name = YUW_event.42.b trigger = { - not = {tag = YUW } - not = {tag = TIX } + NOT = {tag = YUW } + NOT = {tag = TIX } } } } @@ -165,10 +165,10 @@ news_event = { option = { name = YUW_event.41.b trigger = { - not = {tag = YUW } - not = {tag = TIX } - not = {tag = SAD } - not = {tag = HUJ } + NOT = {tag = YUW } + NOT = {tag = TIX } + NOT = {tag = SAD } + NOT = {tag = HUJ } } } } @@ -799,12 +799,12 @@ country_event = { has_war_with = YUW YUW = { has_government = democratic - not = { + NOT = { has_country_leader = { ruling_only = yes name = "霞飞" } } - not = { has_completed_focus = YUW_shenshengshiming } - not = { has_completed_focus = YUW_chedijingjigaige } - not = { has_completed_focus = YUW_weiyouzhandou } + NOT = { has_completed_focus = YUW_shenshengshiming } + NOT = { has_completed_focus = YUW_chedijingjigaige } + NOT = { has_completed_focus = YUW_weiyouzhandou } } date < 1941.1.1 } @@ -825,12 +825,12 @@ country_event = { tag = YUW has_government = democratic has_war_with = TIX - not = { + NOT = { has_country_leader = { ruling_only = yes name = "霞飞" } } - not = { has_completed_focus = YUW_shenshengshiming } - not = { has_completed_focus = YUW_chedijingjigaige } - not = { has_completed_focus = YUW_weiyouzhandou } + NOT = { has_completed_focus = YUW_shenshengshiming } + NOT = { has_completed_focus = YUW_chedijingjigaige } + NOT = { has_completed_focus = YUW_weiyouzhandou } date < 1941.1.1 } option = { @@ -1004,7 +1004,7 @@ country_event = { has_government = fascism has_war_with = YUW YUW = { - not = { + NOT = { has_government = fascism } has_idea = YUW_zbbz @@ -1327,11 +1327,11 @@ country_event = { fire_only_once = yes trigger = { has_completed_focus = YUW_jingjigaige - not = {has_completed_focus = YUW_rangbaerdemingling} + NOT = {has_completed_focus = YUW_rangbaerdemingling} has_idea = YUW_hldzf4 has_idea = YUW_wddjj date > 1938.12.1 - not = { has_country_flag = yiwai_daxuanwufajinxing } + NOT = { has_country_flag = yiwai_daxuanwufajinxing } } option = { name = "为什么会有选举啊!" @@ -2065,7 +2065,7 @@ country_event = { country_event = { id = YUW_event.61 days = 80 } } trigger = { - not = { has_country_flag = yuw_lalongchenggongtiaojian_3 } + NOT = { has_country_flag = yuw_lalongchenggongtiaojian_3 } check_variable = { var = yuw_qstcgl value = 50 @@ -2652,7 +2652,7 @@ country_event = { set_political_power = 900 } trigger = { - not = { has_country_flag = yuw_jianlijunzhuzhiyuwzhunbei } + NOT = { has_country_flag = yuw_jianlijunzhuzhiyuwzhunbei } } ai_chance = { factor = 0 @@ -3421,7 +3421,7 @@ country_event = { add_political_power = -500 set_country_flag = yuwjjz_flag_10 trigger = { - not = { has_country_flag = yuwjjz_flag_1 } + NOT = { has_country_flag = yuwjjz_flag_1 } } ai_chance = { factor = 0 @@ -3555,7 +3555,7 @@ country_event = { set_country_flag = yuwzuipaineizhan_kaishi if = { limit = { - not = { has_country_flag = yuwjjz_flag_2 } + NOT = { has_country_flag = yuwjjz_flag_2 } } activate_mission = YUW_dunkeerkezhengbain_time set_country_flag = dunkeerkezhengbian_kaishi @@ -3664,8 +3664,8 @@ country_event = { country_event = { id = YUW_event.107 days = 2 } } trigger = { - not = { has_country_flag = yuwjjz_flag_1 } - not = { has_country_flag = yuwjjz_flag_laomo } + NOT = { has_country_flag = yuwjjz_flag_1 } + NOT = { has_country_flag = yuwjjz_flag_laomo } } ai_chance = { factor = 0 @@ -4303,7 +4303,7 @@ country_event = { country_event = { id = YUW_event.124 days = 1 } } trigger = { - not = { has_country_flag = xiafei_gongtongjinjun } + NOT = { has_country_flag = xiafei_gongtongjinjun } } ai_chance = { factor = 0 @@ -4508,7 +4508,7 @@ country_event = { country_event = { id = YUW_event.130 days = 1 } } trigger = { - not = { has_country_flag = yuwjjz_flag_13 } + NOT = { has_country_flag = yuwjjz_flag_13 } } ai_chance = { factor = 0 @@ -4540,7 +4540,7 @@ country_event = { } } trigger = { - not = { has_country_flag = yuwjjz_flag_11 } + NOT = { has_country_flag = yuwjjz_flag_11 } check_variable = { var = yuw_jjz_win value = 40 @@ -4586,7 +4586,7 @@ country_event = { } trigger = { has_country_flag = yuwjjz_flag_laomo - not = { has_country_flag = yuwjjz_flag_11 } + NOT = { has_country_flag = yuwjjz_flag_11 } check_variable = { var = yuw_jjz_win value = 60 diff --git a/src/events/az_NSB_border_conflict_events.txt b/src/events/az_NSB_border_conflict_events.txt new file mode 100755 index 0000000..f251895 --- /dev/null +++ b/src/events/az_NSB_border_conflict_events.txt @@ -0,0 +1,922 @@ +# some changes from Border Conflicts everywhere by Blue +add_namespace = NSB_border_conflict_won_attacker +country_event = { + id = NSB_border_conflict_won_attacker.1 + title = NSB_border_conflict_won_attacker.1.t + desc = NSB_border_conflict_won_attacker.1.desc + picture = GFX_report_event_chinese_soldiers_city_ruin + is_triggered_only = yes + immediate = { + save_event_target_as = our_country + #BCE + FROM = { + save_event_target_as = our_state + clr_state_flag = border_incident_active + } + FROM.FROM = { + save_event_target_as = their_country + } + #BCE + FROM.FROM.FROM = { + save_event_target_as = their_state + clr_state_flag = border_incident_active + } + remove_targeted_decision = { + target = event_target:their_country + decision = NSB_border_conflict_time_until_cancelled + } + } + option = { + name = NSB_border_conflict_won_attacker.1.a + # BCE + add_political_power = 50 + # add_threat = -1 + add_war_support = .02 + add_named_threat = { + threat = 1 + name = border_threat + } + if = { + limit = { + check_variable = { + FROM.FROM.num_owned_states > 1 + } + } + transfer_state = FROM.FROM.FROM + } + else = { + FROM.FROM = { + ROOT = { + annex_country = { + target = PREV + } + } + } + } + # BCE + custom_effect_tooltip = NSB_buildings_damaged + hidden_effect = { + FROM.FROM.FROM = { + random_list = { + 60 = { + damage_building = { + type = arms_factory + damage = 0.6 + } + } + 30 = { + damage_building = { + type = arms_factory + damage = 0.3 + } + } + 10 = { + damage_building = { + type = industrial_complex + damage = 0.9 + } + } + } + } + } + } +} + +add_namespace = NSB_border_conflict_won_defender +country_event = { + id = NSB_border_conflict_won_defender.1 + title = NSB_border_conflict_won_defender.1.t + desc = NSB_border_conflict_won_defender.1.desc + picture = GFX_report_event_chinese_soldiers_mountain + is_triggered_only = yes + immediate = { + hidden_effect = { + save_event_target_as = our_country + FROM = { + save_event_target_as = our_state + clr_state_flag = border_incident_active + } + FROM.FROM = { + save_event_target_as = their_country + } + FROM.FROM.FROM = { + save_event_target_as = their_state + clr_state_flag = border_incident_active + } + set_country_flag = show_effect_tooltips + clear_variable = attacker_state_vs_@FROM.FROM + clear_variable = defender_state_vs_@FROM.FROM + remove_targeted_decision = { + target = event_target:their_country + decision = NSB_border_conflict_time_until_cancelled + } + } + } + #Same effect as attacker. Tooltip for their effects + option = { + name = NSB_border_conflict_won_defender.1.a + add_political_power = 150 + army_experience = 30 + add_war_support = .05 + add_threat = -1 + add_doctrine_cost_reduction = { + name = defensive_border_conflict_won + cost_reduction = 0.25 + uses = 1 + category = land_doctrine + } + if = { + limit = { + has_country_flag = show_effect_tooltips + } + event_target:their_country = { + effect_tooltip = { + add_political_power = -50 + army_experience = 10 + # add_threat = -1 + } + } + clr_country_flag = show_effect_tooltips + } + } +} + +add_namespace = NSB_border_conflict_lost_attacker +country_event = { + id = NSB_border_conflict_lost_attacker.1 + title = NSB_border_conflict_lost_attacker.1.t + desc = NSB_border_conflict_lost_attacker.1.desc + picture = GFX_report_event_dead_soldiers + is_triggered_only = yes + immediate = { + save_event_target_as = our_country + FROM = { + save_event_target_as = our_state + } + FROM.FROM = { + save_event_target_as = their_country + } + FROM.FROM.FROM = { + save_event_target_as = their_state + } + set_country_flag = show_effect_tooltips + remove_targeted_decision = { + target = event_target:their_country + decision = NSB_border_conflict_time_until_cancelled + } + } + #Same effect as defender. Tooltip for their effects + option = { + name = NSB_border_conflict_lost_attacker.1.a + add_political_power = -150 + army_experience = 10 + add_war_support = -.02 + add_threat = -1 + ### ideology loss from Border Conflicts Everywhere by Blue + if = { + limit = { + has_government = islamism + } + ROOT = { + add_popularity = { + ideology = islamism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = radical_shiaism + } + ROOT = { + add_popularity = { + ideology = radical_shiaism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = islamist + } + ROOT = { + add_popularity = { + ideology = islamist + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = pan_arabism + } + ROOT = { + add_popularity = { + ideology = pan_arabism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = Salafism + } + ROOT = { + add_popularity = { + ideology = Salafism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = communism + } + ROOT = { + add_popularity = { + ideology = communism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = communist + } + ROOT = { + add_popularity = { + ideology = communist + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = trotskyism + } + ROOT = { + add_popularity = { + ideology = trotskyism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = maoism + } + ROOT = { + add_popularity = { + ideology = maoism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = syndicalist + } + ROOT = { + add_popularity = { + ideology = syndicalist + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = radical_socialist + } + ROOT = { + add_popularity = { + ideology = radical_socialist + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = socialist + } + ROOT = { + add_popularity = { + ideology = socialist + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = democratic_socialist + } + ROOT = { + add_popularity = { + ideology = democratic_socialist + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = National_Socialism + } + ROOT = { + add_popularity = { + ideology = National_Socialism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = progressive_green + } + ROOT = { + add_popularity = { + ideology = progressive_green + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = progressive + } + ROOT = { + add_popularity = { + ideology = progressive + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = Social_Democratic + } + ROOT = { + add_popularity = { + ideology = Social_Democratic + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = social_democrat + } + ROOT = { + add_popularity = { + ideology = social_democrat + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = Social_Liberalism + } + ROOT = { + add_popularity = { + ideology = Social_Liberalism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = social_liberal + } + ROOT = { + add_popularity = { + ideology = social_liberal + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = liberal + } + ROOT = { + add_popularity = { + ideology = liberal + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = centrist + } + ROOT = { + add_popularity = { + ideology = centrist + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = totalist + } + ROOT = { + add_popularity = { + ideology = totalist + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = fascism + } + ROOT = { + add_popularity = { + ideology = fascism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = fascist + } + ROOT = { + add_popularity = { + ideology = fascist + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = national_populist + } + ROOT = { + add_popularity = { + ideology = national_populist + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = nationalism + } + ROOT = { + add_popularity = { + ideology = nationalism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = nationalist + } + ROOT = { + add_popularity = { + ideology = nationalist + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = neutrality + } + ROOT = { + add_popularity = { + ideology = neutrality + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = monarchism + } + ROOT = { + add_popularity = { + ideology = monarchism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = monarchist + } + ROOT = { + add_popularity = { + ideology = monarchist + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = paternal_autocrat + } + ROOT = { + add_popularity = { + ideology = paternal_autocrat + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = authoritarian_democrat + } + ROOT = { + add_popularity = { + ideology = authoritarian_democrat + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = reactionary + } + ROOT = { + add_popularity = { + ideology = reactionary + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = democratic + } + ROOT = { + add_popularity = { + ideology = democratic + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = American_Democratic + } + ROOT = { + add_popularity = { + ideology = American_Democratic + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = Liberal_Conservatism + } + ROOT = { + add_popularity = { + ideology = Liberal_Conservatism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = social_conservative + } + ROOT = { + add_popularity = { + ideology = social_conservative + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = conservative + } + ROOT = { + add_popularity = { + ideology = conservative + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = Christian_Democratic + } + ROOT = { + add_popularity = { + ideology = Christian_Democratic + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = Christianism + } + ROOT = { + add_popularity = { + ideology = Christianism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = Republicanism + } + ROOT = { + add_popularity = { + ideology = Republicanism + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = market_liberal + } + ROOT = { + add_popularity = { + ideology = market_liberal + popularity = -0.03 + } + } + } + if = { + limit = { + has_government = Judaism + } + ROOT = { + add_popularity = { + ideology = Judaism + popularity = -0.03 + } + } + } + ### + custom_effect_tooltip = NSB_buildings_damaged + hidden_effect = { + FROM = { + random_list = { + 60 = { + damage_building = { + type = arms_factory + damage = 0.6 + } + } + 30 = { + damage_building = { + type = arms_factory + damage = 0.3 + } + } + 5 = { + damage_building = { + type = industrial_complex + damage = 0.9 + } + } + 5 = { + add_manpower = -500 + } + } + } + } + if = { + limit = { + has_country_flag = show_effect_tooltips + } + event_target:their_country = { + effect_tooltip = { + add_political_power = 150 + army_experience = 30 + # add_threat = -1 + add_doctrine_cost_reduction = { + name = defensive_border_conflict_won + cost_reduction = 0.25 + uses = 1 + category = land_doctrine + } + } + } + clr_country_flag = show_effect_tooltips + } + } +} + +add_namespace = NSB_border_conflict_lost_defender +country_event = { + id = NSB_border_conflict_lost_defender.1 + title = NSB_border_conflict_lost_defender.1.t + desc = NSB_border_conflict_lost_defender.1.desc + picture = GFX_report_event_dead_soldiers + is_triggered_only = yes + immediate = { + hidden_effect = { + save_event_target_as = our_country + FROM = { + save_event_target_as = our_state + clr_state_flag = border_incident_active + } + FROM.FROM = { + save_event_target_as = their_country + } + FROM.FROM.FROM = { + save_event_target_as = their_state + clr_state_flag = border_incident_active + } + set_country_flag = show_effect_tooltips + clear_variable = attacker_state_vs_@FROM.FROM + clear_variable = defender_state_vs_@FROM.FROM + remove_targeted_decision = { + target = event_target:their_country + decision = NSB_border_conflict_time_until_cancelled + } + } + } + #Same effect as attacker. Tooltip for their effects + option = { + name = NSB_border_conflict_lost_defender.1.a + if = { + limit = { + has_country_flag = show_effect_tooltips + } + effect_tooltip = { + add_political_power = 50 + #BCE + add_manpower = -500 + add_war_support = .10 + # add_threat = -1 + if = { + limit = { + check_variable = { + num_owned_states > 1 + } + } + FROM.FROM = { + transfer_state = FROM + } + } + else = { + FROM.FROM = { + annex_country = { + target = ROOT + } + } + } + } + clr_country_flag = show_effect_tooltips + } + } +} + +add_namespace = NSB_border_conflict_canceled_attacker +country_event = { + id = NSB_border_conflict_canceled_attacker.1 + title = NSB_border_conflict_canceled_attacker.1.t + desc = NSB_border_conflict_canceled_attacker.1.desc + picture = GFX_report_event_chinese_soldiers_mountain + is_triggered_only = yes + immediate = { + save_event_target_as = our_country + FROM = { + save_event_target_as = our_state + } + FROM.FROM = { + save_event_target_as = their_country + } + FROM.FROM.FROM = { + save_event_target_as = their_state + } + set_country_flag = show_effect_tooltips + } + option = { + name = NSB_border_conflict_canceled_attacker.1.a + army_experience = 15 + if = { + limit = { + has_country_flag = show_effect_tooltips + } + event_target:their_country = { + effect_tooltip = { + army_experience = 30 + add_political_power = 50 + add_threat = -1 + } + } + clr_country_flag = show_effect_tooltips + } + } +} + +add_namespace = NSB_border_conflict_canceled_defender +country_event = { + id = NSB_border_conflict_canceled_defender.1 + title = NSB_border_conflict_canceled_defender.1.t + desc = NSB_border_conflict_canceled_defender.1.desc + picture = GFX_report_event_chinese_soldiers_mountain + is_triggered_only = yes + immediate = { + hidden_effect = { + save_event_target_as = our_country + FROM = { + save_event_target_as = our_state + clr_state_flag = border_incident_active + } + FROM.FROM = { + save_event_target_as = their_country + } + FROM.FROM.FROM = { + save_event_target_as = their_state + clr_state_flag = border_incident_active + } + set_country_flag = show_effect_tooltips + clear_variable = attacker_state_vs_@FROM.FROM + clear_variable = defender_state_vs_@FROM.FROM + } + } + option = { + name = NSB_border_conflict_canceled_defender.1.a + army_experience = 30 + add_political_power = 50 + add_threat = -1 + if = { + limit = { + has_country_flag = show_effect_tooltips + } + event_target:their_country = { + effect_tooltip = { + army_experience = 15 + } + } + clr_country_flag = show_effect_tooltips + } + } +} + +add_namespace = NSB_border_incident_defender_warning +country_event = { + id = NSB_border_incident_defender_warning.1 + title = NSB_border_incident_defender_warning.1.t + desc = NSB_border_incident_defender_warning.1.desc + picture = GFX_report_event_chinese_soldiers_mountain + is_triggered_only = yes + #Event targets saved + #attacker_state + #defender_state + immediate = { + save_event_target_as = our_country + FROM = { + save_event_target_as = their_country + } + } + option = { + name = NSB_border_incident_defender_warning.1.a + } +} + +add_namespace = NSB_border_conflict_escalation +country_event = { + id = NSB_border_conflict_escalation.1 + title = NSB_border_conflict_escalation.1.t + desc = NSB_border_conflict_escalation.1.desc + picture = GFX_report_event_chinese_soldiers_01 + is_triggered_only = yes + #Event targets saved + #attacker_state + #defender_state + immediate = { + save_event_target_as = our_country + FROM = { + save_event_target_as = their_country + } + } + option = { + name = NSB_border_conflict_escalation.1.a + } +} + +add_namespace = NSB_border_conflict_escalate_to_war +country_event = { + id = NSB_border_conflict_escalate_to_war.1 + title = NSB_border_conflict_escalate_to_war.1.t + desc = NSB_border_conflict_escalate_to_war.1.desc + picture = GFX_report_event_chinese_soldiers + is_triggered_only = yes + #Event targets saved + #attacker_state + #defender_state + immediate = { + save_event_target_as = our_country + FROM = { + save_event_target_as = their_country + } + } + option = { + name = NSB_border_conflict_escalate_to_war.1.a + } +} diff --git a/src/events/az_pt_event.txt b/src/events/az_pt_event.txt index 1b3472a..6290f52 100755 --- a/src/events/az_pt_event.txt +++ b/src/events/az_pt_event.txt @@ -245,7 +245,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { date > 1937.01.01 - not = { has_country_flag = az_PT_2_000 } + NOT = { has_country_flag = az_PT_2_000 } } option = { name = az_all_event_good @@ -259,7 +259,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { date > 1938.01.01 - not = { has_country_flag = az_PT_2_001 } + NOT = { has_country_flag = az_PT_2_001 } } option = { name = az_all_event_good @@ -273,7 +273,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { date > 1939.01.01 - not = { has_country_flag = az_PT_2_002 } + NOT = { has_country_flag = az_PT_2_002 } } option = { name = az_all_event_good @@ -287,7 +287,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { date > 1940.01.01 - not = { has_country_flag = az_PT_2_003 } + NOT = { has_country_flag = az_PT_2_003 } } option = { name = az_all_event_good @@ -301,7 +301,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { date > 1941.01.01 - not = { has_country_flag = az_PT_2_004 } + NOT = { has_country_flag = az_PT_2_004 } } option = { name = az_all_event_good @@ -315,7 +315,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { date > 1942.01.01 - not = { has_country_flag = az_PT_2_005 } + NOT = { has_country_flag = az_PT_2_005 } } option = { name = az_all_event_good @@ -330,7 +330,7 @@ country_event = { trigger = { date < 1939.01.01 num_of_factories > 500 - not = { has_country_flag = az_PT_2_006 } + NOT = { has_country_flag = az_PT_2_006 } } option = { name = az_all_event_good @@ -347,7 +347,7 @@ country_event = { has_army_experience > 99 has_air_experience > 99 has_navy_experience > 99 - not = { has_country_flag = az_PT_2_007 } + NOT = { has_country_flag = az_PT_2_007 } } option = { name = az_all_event_good @@ -361,7 +361,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { date > 1943.01.01 - not = { has_country_flag = az_PT_2_008 } + NOT = { has_country_flag = az_PT_2_008 } } option = { name = az_all_event_good @@ -375,7 +375,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { date > 1944.01.01 - not = { has_country_flag = az_PT_2_009 } + NOT = { has_country_flag = az_PT_2_009 } } option = { name = az_all_event_good @@ -392,7 +392,7 @@ country_event = { has_army_manpower = { size > 2000000 } - not = { has_country_flag = az_PT_2_010 } + NOT = { has_country_flag = az_PT_2_010 } } option = { name = az_all_event_good @@ -409,7 +409,7 @@ country_event = { has_navy_size = { size > 400 } - not = { has_country_flag = az_PT_2_011 } + NOT = { has_country_flag = az_PT_2_011 } } option = { name = az_all_event_good @@ -424,7 +424,7 @@ country_event = { trigger = { date < 1939.01.01 num_of_controlled_states > 30 - not = { has_country_flag = az_PT_2_012 } + NOT = { has_country_flag = az_PT_2_012 } } option = { name = az_all_event_good @@ -439,7 +439,7 @@ country_event = { trigger = { date < 1939.01.01 land_doctrine_level > 5 - not = { has_country_flag = az_PT_2_013 } + NOT = { has_country_flag = az_PT_2_013 } } option = { name = az_all_event_good @@ -454,10 +454,10 @@ country_event = { trigger = { date < 1945.01.01 any_other_country = { - not = { is_in_faction_with = ROOT } + NOT = { is_in_faction_with = ROOT } exists = no } - not = { has_country_flag = az_PT_2_014 } + NOT = { has_country_flag = az_PT_2_014 } } option = { name = az_all_event_good @@ -516,7 +516,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_political_power > 500 - not = { has_country_flag = az_PT_3_000 } + NOT = { has_country_flag = az_PT_3_000 } } option = { name = az_all_event_good @@ -530,7 +530,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_political_power > 1000 - not = { has_country_flag = az_PT_3_001 } + NOT = { has_country_flag = az_PT_3_001 } } option = { name = az_all_event_good @@ -544,7 +544,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_stability = 1 - not = { has_country_flag = az_PT_3_002 } + NOT = { has_country_flag = az_PT_3_002 } } option = { name = az_all_event_good @@ -558,7 +558,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_war_support = 1 - not = { has_country_flag = az_PT_3_003 } + NOT = { has_country_flag = az_PT_3_003 } } option = { name = az_all_event_good @@ -572,7 +572,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { arms_factory > 700 - not = { has_country_flag = az_PT_3_004 } + NOT = { has_country_flag = az_PT_3_004 } } option = { name = az_all_event_good @@ -586,7 +586,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { industrial_complex > 700 - not = { has_country_flag = az_PT_3_005 } + NOT = { has_country_flag = az_PT_3_005 } } option = { name = az_all_event_good @@ -686,7 +686,7 @@ country_event = { any_owned_state = { arms_factory > 24 } - not = { has_country_flag = az_PT_3_012 } + NOT = { has_country_flag = az_PT_3_012 } } option = { name = az_all_event_good @@ -952,7 +952,7 @@ country_event = { #控制沙漠 controls_state = 775 controls_state = 552 controls_state = 767 - not = { has_country_flag = az_PT_4_012 } + NOT = { has_country_flag = az_PT_4_012 } } option = { name = az_pt_4_event.13.a @@ -966,7 +966,7 @@ country_event = { #斯大林格勒 picture = GFX_report_event_generic_read_write trigger = { controls_province = 3529 - not = { has_country_flag = az_PT_4_013 } + NOT = { has_country_flag = az_PT_4_013 } } option = { name = az_pt_4_event.14.a @@ -1188,7 +1188,7 @@ country_event = { # Malta controls_state = 116 - not = { has_country_flag = az_PT_4_014 } + NOT = { has_country_flag = az_PT_4_014 } } option = { name = az_pt_4_event.15.a @@ -1249,7 +1249,7 @@ country_event = { any_army_leader = { attack_skill_level > 8 } - not = { has_country_flag = az_PT_5_000 } + NOT = { has_country_flag = az_PT_5_000 } } option = { name = az_pt_5_event.1.a @@ -1268,7 +1268,7 @@ country_event = { num_units > 23 } } - not = { has_country_flag = az_PT_5_001 } + NOT = { has_country_flag = az_PT_5_001 } } option = { name = az_pt_5_event.2.a @@ -1332,7 +1332,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { is_in_peace_conference = yes - not = { has_country_flag = az_PT_5_005 } + NOT = { has_country_flag = az_PT_5_005 } } option = { name = az_pt_5_event.6.a @@ -1395,7 +1395,7 @@ country_event = { trigger = { has_navy_size = { unit = battleship size > 9 } has_navy_size = { unit = carrier size > 9 } - not = { has_country_flag = az_PT_5_009 } + NOT = { has_country_flag = az_PT_5_009 } } option = { name = az_pt_5_event.10.a @@ -1443,7 +1443,7 @@ country_event = { any_army_leader = { planning_skill_level > 8 } - not = { has_country_flag = az_PT_5_012 } + NOT = { has_country_flag = az_PT_5_012 } } option = { name = az_pt_5_event.13.a @@ -1564,7 +1564,7 @@ country_event = { trigger = { has_war = yes casualties_k > 5000 - not = { has_country_flag = az_PT_6_002 } + NOT = { has_country_flag = az_PT_6_002 } } option = { name = az_pt_6_event.3.a @@ -1579,7 +1579,7 @@ country_event = { trigger = { date > 1939.01.01 land_doctrine_level < 2 - not = { has_country_flag = az_PT_6_003 } + NOT = { has_country_flag = az_PT_6_003 } } option = { name = az_pt_6_event.4.a @@ -1646,7 +1646,7 @@ country_event = { surrender_progress > 0.75 is_puppet = yes } - not = { has_country_flag = az_PT_6_007 } + NOT = { has_country_flag = az_PT_6_007 } } option = { name = az_pt_6_event.8.a @@ -1679,7 +1679,7 @@ country_event = { size < 50000 } amount_manpower_in_deployment_queue < 10000 - not = { has_country_flag = az_PT_6_009 } + NOT = { has_country_flag = az_PT_6_009 } } option = { name = az_pt_6_event.10.a @@ -1705,7 +1705,7 @@ country_event = { has_army_size = { size < 30 } - not = { has_country_flag = az_PT_6_010 } + NOT = { has_country_flag = az_PT_6_010 } } option = { name = az_pt_6_event.11.a @@ -1725,7 +1725,7 @@ country_event = { has_deployed_air_force_size = { size < 50 } - not = { has_country_flag = az_PT_6_011 } + NOT = { has_country_flag = az_PT_6_011 } } option = { name = az_pt_6_event.12.a @@ -1754,7 +1754,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { num_of_civilian_factories < 1 - not = { has_country_flag = az_PT_6_013 } + NOT = { has_country_flag = az_PT_6_013 } } option = { name = az_pt_6_event.14.a @@ -1769,7 +1769,7 @@ country_event = { trigger = { political_power_daily < 0 has_political_power < 0 - not = { has_country_flag = az_PT_6_014 } + NOT = { has_country_flag = az_PT_6_014 } } option = { name = az_pt_6_event.15.a @@ -1832,7 +1832,7 @@ country_event = { CHY = { is_in_faction_with = ROOT } CHY = { exists = no } } - not = { has_country_flag = az_PT_7_000 } + NOT = { has_country_flag = az_PT_7_000 } } option = { name = az_pt_7_event.1.a @@ -1850,7 +1850,7 @@ country_event = { DOH = { is_in_faction_with = ROOT } DOH = { exists = no } } - not = { has_country_flag = az_PT_7_001 } + NOT = { has_country_flag = az_PT_7_001 } } option = { name = az_pt_7_event.2.a @@ -1868,7 +1868,7 @@ country_event = { BFL = { is_in_faction_with = ROOT } BFL = { exists = no } } - not = { has_country_flag = az_PT_7_002 } + NOT = { has_country_flag = az_PT_7_002 } } option = { name = az_pt_7_event.3.a @@ -1886,7 +1886,7 @@ country_event = { SAD = { is_in_faction_with = ROOT } SAD = { exists = no } } - not = { has_country_flag = az_PT_7_003 } + NOT = { has_country_flag = az_PT_7_003 } } option = { name = az_pt_7_event.4.a @@ -1904,7 +1904,7 @@ country_event = { TIX = { is_in_faction_with = ROOT } TIX = { exists = no } } - not = { has_country_flag = az_PT_7_004 } + NOT = { has_country_flag = az_PT_7_004 } } option = { name = az_pt_7_event.5.a @@ -1922,7 +1922,7 @@ country_event = { YUW = { is_in_faction_with = ROOT } YUW = { exists = no } } - not = { has_country_flag = az_PT_7_005 } + NOT = { has_country_flag = az_PT_7_005 } } option = { name = az_pt_7_event.6.a @@ -1940,7 +1940,7 @@ country_event = { HUJ = { is_in_faction_with = ROOT } HUJ = { exists = no } } - not = { has_country_flag = az_PT_7_006 } + NOT = { has_country_flag = az_PT_7_006 } } option = { name = az_pt_7_event.7.a @@ -1958,7 +1958,7 @@ country_event = { BYG = { is_in_faction_with = ROOT } BYG = { exists = no } } - not = { has_country_flag = az_PT_7_007 } + NOT = { has_country_flag = az_PT_7_007 } } option = { name = az_pt_7_event.8.a @@ -1976,7 +1976,7 @@ country_event = { BLI = { is_in_faction_with = ROOT } BLI = { exists = no } } - not = { has_country_flag = az_PT_7_008 } + NOT = { has_country_flag = az_PT_7_008 } } option = { name = az_pt_7_event.9.a @@ -1994,7 +1994,7 @@ country_event = { SIR = { is_in_faction_with = ROOT } SIR = { exists = no } } - not = { has_country_flag = az_PT_7_009 } + NOT = { has_country_flag = az_PT_7_009 } } option = { name = az_pt_7_event.10.a @@ -2012,7 +2012,7 @@ country_event = { SR1 = { is_in_faction_with = ROOT } SR1 = { exists = no } } - not = { has_country_flag = az_PT_7_010 } + NOT = { has_country_flag = az_PT_7_010 } } option = { name = az_pt_7_event.11.a @@ -2030,11 +2030,11 @@ country_event = { SR2 = { is_in_faction_with = ROOT } SR2 = { exists = no } } - not = { has_country_flag = az_PT_7_011 } + NOT = { has_country_flag = az_PT_7_010 } } option = { name = az_pt_7_event.12.a - set_country_flag = az_PT_7_011 + set_country_flag = az_PT_7_010 } } country_event = { @@ -2048,11 +2048,11 @@ country_event = { SR3 = { is_in_faction_with = ROOT } SR3 = { exists = no } } - not = { has_country_flag = az_PT_7_012 } + NOT = { has_country_flag = az_PT_7_010 } } option = { name = az_pt_7_event.13.a - set_country_flag = az_PT_7_012 + set_country_flag = az_PT_7_010 } } country_event = { @@ -2066,11 +2066,11 @@ country_event = { SR4 = { is_in_faction_with = ROOT } SR4 = { exists = no } } - not = { has_country_flag = az_PT_7_013 } + NOT = { has_country_flag = az_PT_7_010 } } option = { name = az_pt_7_event.14.a - set_country_flag = az_PT_7_013 + set_country_flag = az_PT_7_010 } } country_event = { @@ -2085,11 +2085,11 @@ country_event = { exists = no } } - not = { has_country_flag = az_PT_7_014 } + NOT = { has_country_flag = az_PT_7_010 } } option = { name = az_pt_7_event.15.a - set_country_flag = az_PT_7_014 + set_country_flag = az_PT_7_010 } } @@ -2164,7 +2164,7 @@ country_event = { #从北京到广州 start_province = 9843 target_province = 1047 } - not = { has_country_flag = az_PT_8_001 } + NOT = { has_country_flag = az_PT_8_001 } } option = { name = az_pt_8_event.2.a @@ -2181,7 +2181,7 @@ country_event = { #从北京到德里 start_province = 9843 target_province = 2086 } - not = { has_country_flag = az_PT_8_002 } + NOT = { has_country_flag = az_PT_8_002 } } option = { name = az_pt_8_event.3.a @@ -2198,7 +2198,7 @@ country_event = { #摩尔曼斯克到南非 start_province = 3134 target_province = 12589 } - not = { has_country_flag = az_PT_8_003 } + NOT = { has_country_flag = az_PT_8_003 } } option = { name = az_pt_8_event.4.a @@ -2223,7 +2223,7 @@ country_event = { #北京与西部 start_province = 9843 target_province = 7940 } - not = { has_country_flag = az_PT_8_004 } + NOT = { has_country_flag = az_PT_8_004 } } option = { name = az_pt_8_event.5.a @@ -2244,7 +2244,7 @@ country_event = { #环澳大利亚 start_province = 7798 target_province = 7669 } - not = { has_country_flag = az_PT_8_005 } + NOT = { has_country_flag = az_PT_8_005 } } option = { name = az_pt_8_event.6.a @@ -2261,7 +2261,7 @@ country_event = { #从最南到最北 start_province = 11009 target_province = 10721 } - not = { has_country_flag = az_PT_8_006 } + NOT = { has_country_flag = az_PT_8_006 } } option = { name = az_pt_8_event.7.a @@ -2278,7 +2278,7 @@ country_event = { #全面三级基建 all_owned_state = { infrastructure > 2 } - not = { has_country_flag = az_PT_8_007 } + NOT = { has_country_flag = az_PT_8_007 } } option = { name = az_pt_8_event.8.a @@ -2295,7 +2295,7 @@ country_event = { #全面四级基建 all_owned_state = { infrastructure > 3 } - not = { has_country_flag = az_PT_8_008 } + NOT = { has_country_flag = az_PT_8_008 } } option = { name = az_pt_8_event.9.a @@ -2312,7 +2312,7 @@ country_event = { #全面二级基建 all_owned_state = { infrastructure > 1 } - not = { has_country_flag = az_PT_8_009 } + NOT = { has_country_flag = az_PT_8_009 } } option = { name = az_pt_8_event.10.a @@ -2329,7 +2329,7 @@ country_event = { #全面基建 all_owned_state = { infrastructure = 5 } - not = { has_country_flag = az_PT_8_010 } + NOT = { has_country_flag = az_PT_8_010 } } option = { name = az_pt_8_event.11.a @@ -2346,7 +2346,7 @@ country_event = { #单个基建 any_owned_state = { infrastructure = 5 } - not = { has_country_flag = az_PT_8_011 } + NOT = { has_country_flag = az_PT_8_011 } } option = { name = az_pt_8_event.12.a @@ -2363,7 +2363,7 @@ country_event = { #穿过沙漠 start_province = 4076 target_province = 9945 } - not = { has_country_flag = az_PT_8_012 } + NOT = { has_country_flag = az_PT_8_012 } } option = { name = az_pt_8_event.13.a @@ -2380,7 +2380,7 @@ country_event = { #印度至南非 start_province = 2086 target_province = 12589 } - not = { has_country_flag = az_PT_8_013 } + NOT = { has_country_flag = az_PT_8_013 } } option = { name = az_pt_8_event.14.a @@ -2397,7 +2397,7 @@ country_event = { #巴黎北京 start_province = 1047 target_province = 9843 } - not = { has_country_flag = az_PT_8_014 } + NOT = { has_country_flag = az_PT_8_014 } } option = { name = az_pt_8_event.15.a @@ -2456,7 +2456,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = advanced_infantry_weapons2 - not = { has_country_flag = az_PT_9_000 } + NOT = { has_country_flag = az_PT_9_000 } } option = { name = az_pt_9_event.1.a @@ -2470,7 +2470,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = mechanised_infantry3 - not = { has_country_flag = az_PT_9_001 } + NOT = { has_country_flag = az_PT_9_001 } } option = { name = az_pt_9_event.2.a @@ -2484,7 +2484,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = elite_forces - not = { has_country_flag = az_PT_9_002 } + NOT = { has_country_flag = az_PT_9_002 } } option = { name = az_pt_9_event.3.a @@ -2498,7 +2498,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = main_battle_tank_chassis - not = { has_country_flag = az_PT_9_003 } + NOT = { has_country_flag = az_PT_9_003 } } option = { name = az_pt_9_event.4.a @@ -2512,7 +2512,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = tech_engineers4 - not = { has_country_flag = az_PT_9_004 } + NOT = { has_country_flag = az_PT_9_004 } } option = { name = az_pt_9_event.5.a @@ -2526,7 +2526,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = excavation5 - not = { has_country_flag = az_PT_9_005 } + NOT = { has_country_flag = az_PT_9_005 } } option = { name = az_pt_9_event.6.a @@ -2540,7 +2540,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = nukes - not = { has_country_flag = az_PT_9_006 } + NOT = { has_country_flag = az_PT_9_006 } } option = { name = az_pt_9_event.7.a @@ -2554,7 +2554,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = artillery5 - not = { has_country_flag = az_PT_9_007 } + NOT = { has_country_flag = az_PT_9_007 } } option = { name = az_pt_9_event.8.a @@ -2568,7 +2568,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = antiair5 - not = { has_country_flag = az_PT_9_008 } + NOT = { has_country_flag = az_PT_9_008 } } option = { name = az_pt_9_event.9.a @@ -2582,7 +2582,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = antitank5 - not = { has_country_flag = az_PT_9_009 } + NOT = { has_country_flag = az_PT_9_009 } } option = { name = az_pt_9_event.10.a @@ -2596,7 +2596,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = jet_fighter2 - not = { has_country_flag = az_PT_9_010 } + NOT = { has_country_flag = az_PT_9_010 } } option = { name = az_pt_9_event.11.a @@ -2610,7 +2610,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = jet_tactical_bomber2 - not = { has_country_flag = az_PT_9_011 } + NOT = { has_country_flag = az_PT_9_011 } } option = { name = az_pt_9_event.12.a @@ -2624,7 +2624,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = advanced_ship_hull_carrier - not = { has_country_flag = az_PT_9_012 } + NOT = { has_country_flag = az_PT_9_012 } } option = { name = az_pt_9_event.13.a @@ -2638,7 +2638,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = advanced_ship_hull_light - not = { has_country_flag = az_PT_9_013 } + NOT = { has_country_flag = az_PT_9_013 } } option = { name = az_pt_9_event.14.a @@ -2652,7 +2652,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = advanced_centimetric_radar - not = { has_country_flag = az_PT_9_014 } + NOT = { has_country_flag = az_PT_9_014 } } option = { name = az_pt_9_event.15.a @@ -2713,7 +2713,7 @@ country_event = { check_variable = { xzmf_sl > 10 } - not = { has_country_flag = az_PT_10_000 } + NOT = { has_country_flag = az_PT_10_000 } } option = { name = az_pt_10_event.1.a @@ -2729,7 +2729,7 @@ country_event = { check_variable = { xzmf_sl > 25 } - not = { has_country_flag = az_PT_10_001 } + NOT = { has_country_flag = az_PT_10_001 } } option = { name = az_pt_10_event.2.a @@ -2745,7 +2745,7 @@ country_event = { check_variable = { xzmf_sl > 50 } - not = { has_country_flag = az_PT_10_002 } + NOT = { has_country_flag = az_PT_10_002 } } option = { name = az_pt_10_event.3.a @@ -2761,7 +2761,7 @@ country_event = { check_variable = { xzmf_sl > 100 } - not = { has_country_flag = az_PT_10_003 } + NOT = { has_country_flag = az_PT_10_003 } } option = { name = az_pt_10_event.4.a @@ -2777,7 +2777,7 @@ country_event = { check_variable = { zs_sl > 200 } - not = { has_country_flag = az_PT_10_004 } + NOT = { has_country_flag = az_PT_10_004 } } option = { name = az_pt_10_event.5.a @@ -2793,7 +2793,7 @@ country_event = { check_variable = { zs_sl > 500 } - not = { has_country_flag = az_PT_10_005 } + NOT = { has_country_flag = az_PT_10_005 } } option = { name = az_pt_10_event.6.a @@ -2809,7 +2809,7 @@ country_event = { check_variable = { zs_sl > 1000 } - not = { has_country_flag = az_PT_10_006 } + NOT = { has_country_flag = az_PT_10_006 } } option = { name = az_pt_10_event.7.a @@ -2825,7 +2825,7 @@ country_event = { check_variable = { wz_sl > 20000 } - not = { has_country_flag = az_PT_10_007 } + NOT = { has_country_flag = az_PT_10_007 } } option = { name = az_pt_10_event.8.a @@ -2841,7 +2841,7 @@ country_event = { check_variable = { wz_sl > 50000 } - not = { has_country_flag = az_PT_10_008 } + NOT = { has_country_flag = az_PT_10_008 } } option = { name = az_pt_10_event.9.a @@ -2857,7 +2857,7 @@ country_event = { check_variable = { wz_sl > 200000 } - not = { has_country_flag = az_PT_10_009 } + NOT = { has_country_flag = az_PT_10_009 } } option = { name = az_pt_10_event.10.a @@ -2871,7 +2871,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_tech = shipgirltech_zhinenghuajianzhuang - not = { has_country_flag = az_PT_10_010 } + NOT = { has_country_flag = az_PT_10_010 } } option = { name = az_pt_10_event.11.a @@ -2888,7 +2888,7 @@ country_event = { has_tech = shipgirltech_gailiangjishu_5 has_tech = shipgirltech_zuozhanlilun_5 } - not = { has_country_flag = az_PT_10_011 } + NOT = { has_country_flag = az_PT_10_011 } } option = { name = az_pt_10_event.12.a @@ -2902,7 +2902,7 @@ country_event = { picture = GFX_report_event_generic_read_write trigger = { has_idea = TY_mmwh - not = { has_country_flag = az_PT_10_012 } + NOT = { has_country_flag = az_PT_10_012 } } option = { name = az_pt_10_event.13.a @@ -2920,7 +2920,7 @@ country_event = { has_country_flag = TY_air_liluntupo has_country_flag = TY_navy_liluntupo } - not = { has_country_flag = az_PT_10_013 } + NOT = { has_country_flag = az_PT_10_013 } } option = { name = az_pt_10_event.14.a @@ -2936,7 +2936,7 @@ country_event = { check_variable = { xzmf_sl = 0 } - not = { has_country_flag = az_PT_10_014 } + NOT = { has_country_flag = az_PT_10_014 } } option = { name = az_pt_10_event.15.a diff --git a/src/events/aznews.txt b/src/events/aznews.txt index 257e435..acb5103 100755 --- a/src/events/aznews.txt +++ b/src/events/aznews.txt @@ -1790,7 +1790,7 @@ news_event = { picture = GFX_az_mowang major = yes trigger = { - not = { + NOT = { has_global_flag = mowangruqin } OR = { diff --git a/src/events/leaders_shijian.txt b/src/events/leaders_shijian.txt index d819723..011f5e3 100755 --- a/src/events/leaders_shijian.txt +++ b/src/events/leaders_shijian.txt @@ -186,7 +186,6 @@ country_event = { } } } - country_event = { id = getzhg_event.11 title = getzhg_event.11.t @@ -540,860 +539,858 @@ country_event = { } } } -#meat方舟 - country_event = { - id = getzhg_event.13 - title = getzhg_event.13.t - desc = getzhg_event.13.d - picture = GFX_aze_meta_fangzhou - is_triggered_only = yes - immediate = { - ROOT = { - set_country_flag = meta_fangzhou_finding - set_country_flag = { flag = meta_fangqixunzhao_cd value = 1 days = 60 } - } - } - option = { - name = getzhg_event.13.a - ai_chance = { - factor = 5 - } - - random_state = { - limit = { - OR = { - is_fully_controlled_by = SIR - is_fully_controlled_by = SR1 - is_fully_controlled_by = SR2 - is_fully_controlled_by = SR3 - is_fully_controlled_by = SR4 - } - } - set_variable = { - global.meta_fangzhou_state = THIS - } - PREV = { - goto_state = PREV - } - set_state_flag = meta_fangzhou - } +country_event = { + id = getzhg_event.13 + title = getzhg_event.13.t + desc = getzhg_event.13.d + picture = GFX_aze_meta_fangzhou + is_triggered_only = yes + immediate = { + ROOT = { + set_country_flag = meta_fangzhou_finding + set_country_flag = { flag = meta_fangqixunzhao_cd value = 1 days = 60 } } } - country_event = { - id = getzhg_event.1301 - title = getzhg_event.1301.t - desc = getzhg_event.1301.d - picture = GFX_aze_meta_fangzhou - is_triggered_only = yes - option = { - name = getzhg_event.1301.a - ai_chance = { - factor = 5 - } - if = { - limit = { - date < 1938.6.1 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 1 - max = 3 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - AND = { - date > 1938.5.31 - date < 1941.1.1 - } - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 2 - max = 5 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - date > 1940.12.31 - date < 1942.6.1 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 4 - max = 7 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - date > 1942.5.31 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 5 - max = 9 - } - round_temp_variable = temp_level - } - randomize_temp_variable = { - var = temp_shuxing1 - distribution = uniform - min = 5 - max = 8 - } - round_temp_variable = temp_shuxing1 - randomize_temp_variable = { - var = temp_shuxing2 - distribution = uniform - min = 5 - max = 8 - } - round_temp_variable = temp_shuxing2 - randomize_temp_variable = { - var = temp_shuxing3 - distribution = uniform - min = 5 - max = 9 - } - round_temp_variable = temp_shuxing3 - randomize_temp_variable = { - var = temp_shuxing4 - distribution = uniform - min = 5 - max = 9 - } - round_temp_variable = temp_shuxing4 - hidden_effect = { - TAN = { - meta_huangjiafangzhou = { - set_nationality = ROOT - } + option = { + name = getzhg_event.13.a + ai_chance = { + factor = 5 + } + + random_state = { + limit = { + OR = { + is_fully_controlled_by = SIR + is_fully_controlled_by = SR1 + is_fully_controlled_by = SR2 + is_fully_controlled_by = SR3 + is_fully_controlled_by = SR4 } } - meta_effect = { - text = { - add_corps_commander_role = { - character = meta_huangjiafangzhou - traits = { hangmu_army trait_yujin xuexixunsu } - skill = [level] - attack_skill = [shuxing1] - defense_skill = [shuxing2] - planning_skill = [shuxing3] - logistics_skill = [shuxing4] - } - } - level = temp_level - shuxing1 = temp_shuxing1 - shuxing2 = temp_shuxing2 - shuxing3 = temp_shuxing3 - shuxing4 = temp_shuxing4 + set_variable = { + global.meta_fangzhou_state = THIS } - meta_huangjiafangzhou = { - set_character_flag = chushijianniang + PREV = { + goto_state = PREV } + set_state_flag = meta_fangzhou } } -#meat飞龙 - country_event = { - id = getzhg_event.14 - title = getzhg_event.14.t - desc = getzhg_event.14.d - picture = GFX_aze_meta_feilong - is_triggered_only = yes - immediate = { - ROOT = { - set_country_flag = meta_feilong_finding - set_country_flag = { flag = meta_fangqixunzhao_cd value = 1 days = 60 } - } +} +country_event = { + id = getzhg_event.1301 + title = getzhg_event.1301.t + desc = getzhg_event.1301.d + picture = GFX_aze_meta_fangzhou + is_triggered_only = yes + option = { + name = getzhg_event.1301.a + ai_chance = { + factor = 5 } - option = { - name = getzhg_event.14.a - ai_chance = { - factor = 5 - } - - random_state = { - limit = { - OR = { - is_fully_controlled_by = SIR - is_fully_controlled_by = SR1 - is_fully_controlled_by = SR2 - is_fully_controlled_by = SR3 - is_fully_controlled_by = SR4 - } - } - set_variable = { - global.meta_feilong_state = THIS - } - PREV = { - goto_state = PREV - } - set_state_flag = meta_feilong - } - } - } - country_event = { - id = getzhg_event.1401 - title = getzhg_event.1401.t - desc = getzhg_event.1401.d - picture = GFX_aze_meta_feilong - is_triggered_only = yes - option = { - name = getzhg_event.1401.a - ai_chance = { - factor = 5 - } - if = { - limit = { - date < 1938.6.1 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 1 - max = 3 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - AND = { - date > 1938.5.31 - date < 1941.1.1 - } - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 2 - max = 5 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - date > 1940.12.31 - date < 1942.6.1 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 4 - max = 7 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - date > 1942.5.31 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 5 - max = 9 - } - round_temp_variable = temp_level + if = { + limit = { + date < 1938.6.1 } randomize_temp_variable = { - var = temp_shuxing1 - distribution = uniform - min = 5 - max = 8 - } - round_temp_variable = temp_shuxing1 - randomize_temp_variable = { - var = temp_shuxing2 - distribution = uniform - min = 5 - max = 8 - } - round_temp_variable = temp_shuxing2 - randomize_temp_variable = { - var = temp_shuxing3 - distribution = uniform - min = 5 - max = 9 - } - round_temp_variable = temp_shuxing3 - randomize_temp_variable = { - var = temp_shuxing4 - distribution = uniform - min = 5 - max = 9 - } - round_temp_variable = temp_shuxing4 - hidden_effect = { - TAN = { - meta_feilong = { - set_nationality = ROOT - } - meta_canglong = { - set_nationality = ROOT - } - } - } - meta_effect = { - text = { - add_corps_commander_role = { - character = meta_canglong - traits = { hangmu_army trait_yujin xuexixunsu } - skill = [level] - attack_skill = [shuxing1] - defense_skill = [shuxing2] - planning_skill = [shuxing3] - logistics_skill = [shuxing4] - } - add_corps_commander_role = { - character = meta_feilong - traits = { hangmu_army trait_yujin xuexixunsu } - skill = [level] - attack_skill = [shuxing1] - defense_skill = [shuxing2] - planning_skill = [shuxing3] - logistics_skill = [shuxing4] - } - } - level = temp_level - shuxing1 = temp_shuxing1 - shuxing2 = temp_shuxing2 - shuxing3 = temp_shuxing3 - shuxing4 = temp_shuxing4 - } - meta_feilong = { - set_character_flag = chushijianniang - } - meta_canglong = { - set_character_flag = chushijianniang - } - } - } -#meat海伦娜 - country_event = { - id = getzhg_event.15 - title = getzhg_event.15.t - desc = getzhg_event.15.d - picture = GFX_aze_meta_hailunna - is_triggered_only = yes - immediate = { - ROOT = { - set_country_flag = meta_hailunna_finding - set_country_flag = { flag = meta_fangqixunzhao_cd value = 1 days = 60 } - } - } - option = { - name = getzhg_event.15.a - ai_chance = { - factor = 5 - } - - random_state = { - limit = { - OR = { - is_fully_controlled_by = SIR - is_fully_controlled_by = SR1 - is_fully_controlled_by = SR2 - is_fully_controlled_by = SR3 - is_fully_controlled_by = SR4 - } - } - set_variable = { - global.meta_hailunna_state = THIS - } - PREV = { - goto_state = PREV - } - set_state_flag = meta_hailunna - } - } - } - country_event = { - id = getzhg_event.1501 - title = getzhg_event.1501.t - desc = getzhg_event.1501.d - picture = GFX_aze_meta_hailunna - is_triggered_only = yes - option = { - name = getzhg_event.1501.a - ai_chance = { - factor = 5 - } - if = { - limit = { - date < 1938.6.1 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 1 - max = 3 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - AND = { - date > 1938.5.31 - date < 1941.1.1 - } - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 2 - max = 5 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - date > 1940.12.31 - date < 1942.6.1 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 4 - max = 7 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - date > 1942.5.31 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 5 - max = 9 - } - round_temp_variable = temp_level - } - randomize_temp_variable = { - var = temp_shuxing1 - distribution = uniform - min = 5 - max = 8 - } - round_temp_variable = temp_shuxing1 - randomize_temp_variable = { - var = temp_shuxing2 - distribution = uniform - min = 5 - max = 8 - } - round_temp_variable = temp_shuxing2 - randomize_temp_variable = { - var = temp_shuxing3 - distribution = uniform - min = 5 - max = 9 - } - round_temp_variable = temp_shuxing3 - randomize_temp_variable = { - var = temp_shuxing4 - distribution = uniform - min = 5 - max = 9 - } - round_temp_variable = temp_shuxing4 - hidden_effect = { - TAN = { - meta_hailunna = { - set_nationality = ROOT - } - } - } - meta_effect = { - text = { - add_corps_commander_role = { - character = meta_hailunna - traits = { xunyang_army trait_yujin xuexixunsu } - skill = [level] - attack_skill = [shuxing1] - defense_skill = [shuxing2] - planning_skill = [shuxing3] - logistics_skill = [shuxing4] - } - } - level = temp_level - shuxing1 = temp_shuxing1 - shuxing2 = temp_shuxing2 - shuxing3 = temp_shuxing3 - shuxing4 = temp_shuxing4 - } - meta_hailunna = { - set_character_flag = chushijianniang - } - } - } -#meat飞鹰 - country_event = { - id = getzhg_event.16 - title = getzhg_event.16.t - desc = getzhg_event.16.d - picture = GFX_report_event_generic_read_write - is_triggered_only = yes - immediate = { - ROOT = { - set_country_flag = meta_feiying_finding - set_country_flag = { flag = meta_fangqixunzhao_cd value = 1 days = 60 } - } - } - option = { - name = getzhg_event.16.a - ai_chance = { - factor = 5 - } - - random_state = { - limit = { - OR = { - is_fully_controlled_by = SIR - is_fully_controlled_by = SR1 - is_fully_controlled_by = SR2 - is_fully_controlled_by = SR3 - is_fully_controlled_by = SR4 - } - } - set_variable = { - global.meta_feiying_state = THIS - } - PREV = { - goto_state = PREV - } - set_state_flag = meta_feiying - } - } - } - country_event = { - id = getzhg_event.1601 - title = getzhg_event.1601.t - desc = getzhg_event.1601.d - picture = GFX_report_event_generic_read_write - is_triggered_only = yes - option = { - name = getzhg_event.1601.a - ai_chance = { - factor = 5 - } - if = { - limit = { - date < 1938.6.1 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 1 - max = 3 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - AND = { - date > 1938.5.31 - date < 1941.1.1 - } - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 2 - max = 5 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - date > 1940.12.31 - date < 1942.6.1 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 4 - max = 7 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - date > 1942.5.31 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 5 - max = 9 - } - round_temp_variable = temp_level - } - randomize_temp_variable = { - var = temp_shuxing1 + var = temp_level distribution = uniform min = 1 - max = 6 + max = 3 } - round_temp_variable = temp_shuxing1 - randomize_temp_variable = { - var = temp_shuxing2 - distribution = uniform - min = 1 - max = 6 + round_temp_variable = temp_level + } + else_if = { + limit = { + AND = { + date > 1938.5.31 + date < 1941.1.1 + } } - round_temp_variable = temp_shuxing2 randomize_temp_variable = { - var = temp_shuxing3 + var = temp_level distribution = uniform - min = 1 + min = 2 + max = 5 + } + round_temp_variable = temp_level + } + else_if = { + limit = { + date > 1940.12.31 + date < 1942.6.1 + } + randomize_temp_variable = { + var = temp_level + distribution = uniform + min = 4 max = 7 } - round_temp_variable = temp_shuxing3 + round_temp_variable = temp_level + } + else_if = { + limit = { + date > 1942.5.31 + } randomize_temp_variable = { - var = temp_shuxing4 + var = temp_level + distribution = uniform + min = 5 + max = 9 + } + round_temp_variable = temp_level + } + randomize_temp_variable = { + var = temp_shuxing1 + distribution = uniform + min = 5 + max = 8 + } + round_temp_variable = temp_shuxing1 + randomize_temp_variable = { + var = temp_shuxing2 + distribution = uniform + min = 5 + max = 8 + } + round_temp_variable = temp_shuxing2 + randomize_temp_variable = { + var = temp_shuxing3 + distribution = uniform + min = 5 + max = 9 + } + round_temp_variable = temp_shuxing3 + randomize_temp_variable = { + var = temp_shuxing4 + distribution = uniform + min = 5 + max = 9 + } + round_temp_variable = temp_shuxing4 + hidden_effect = { + TAN = { + meta_huangjiafangzhou = { + set_nationality = ROOT + } + } + } + meta_effect = { + text = { + add_corps_commander_role = { + character = meta_huangjiafangzhou + traits = { hangmu_army trait_yujin xuexixunsu } + skill = [level] + attack_skill = [shuxing1] + defense_skill = [shuxing2] + planning_skill = [shuxing3] + logistics_skill = [shuxing4] + } + } + level = temp_level + shuxing1 = temp_shuxing1 + shuxing2 = temp_shuxing2 + shuxing3 = temp_shuxing3 + shuxing4 = temp_shuxing4 + } + meta_huangjiafangzhou = { + set_character_flag = chushijianniang + } + } +} +country_event = { + id = getzhg_event.14 + title = getzhg_event.14.t + desc = getzhg_event.14.d + picture = GFX_aze_meta_feilong + is_triggered_only = yes + immediate = { + ROOT = { + set_country_flag = meta_feilong_finding + set_country_flag = { flag = meta_fangqixunzhao_cd value = 1 days = 60 } + } + } + option = { + name = getzhg_event.14.a + ai_chance = { + factor = 5 + } + + random_state = { + limit = { + OR = { + is_fully_controlled_by = SIR + is_fully_controlled_by = SR1 + is_fully_controlled_by = SR2 + is_fully_controlled_by = SR3 + is_fully_controlled_by = SR4 + } + } + set_variable = { + global.meta_feilong_state = THIS + } + PREV = { + goto_state = PREV + } + set_state_flag = meta_feilong + } + } +} +country_event = { + id = getzhg_event.1401 + title = getzhg_event.1401.t + desc = getzhg_event.1401.d + picture = GFX_aze_meta_feilong + is_triggered_only = yes + option = { + name = getzhg_event.1401.a + ai_chance = { + factor = 5 + } + if = { + limit = { + date < 1938.6.1 + } + randomize_temp_variable = { + var = temp_level distribution = uniform min = 1 + max = 3 + } + round_temp_variable = temp_level + } + else_if = { + limit = { + AND = { + date > 1938.5.31 + date < 1941.1.1 + } + } + randomize_temp_variable = { + var = temp_level + distribution = uniform + min = 2 + max = 5 + } + round_temp_variable = temp_level + } + else_if = { + limit = { + date > 1940.12.31 + date < 1942.6.1 + } + randomize_temp_variable = { + var = temp_level + distribution = uniform + min = 4 max = 7 } - round_temp_variable = temp_shuxing4 - hidden_effect = { - TAN = { - meta_feiying = { - set_nationality = ROOT - } + round_temp_variable = temp_level + } + else_if = { + limit = { + date > 1942.5.31 + } + randomize_temp_variable = { + var = temp_level + distribution = uniform + min = 5 + max = 9 + } + round_temp_variable = temp_level + } + randomize_temp_variable = { + var = temp_shuxing1 + distribution = uniform + min = 5 + max = 8 + } + round_temp_variable = temp_shuxing1 + randomize_temp_variable = { + var = temp_shuxing2 + distribution = uniform + min = 5 + max = 8 + } + round_temp_variable = temp_shuxing2 + randomize_temp_variable = { + var = temp_shuxing3 + distribution = uniform + min = 5 + max = 9 + } + round_temp_variable = temp_shuxing3 + randomize_temp_variable = { + var = temp_shuxing4 + distribution = uniform + min = 5 + max = 9 + } + round_temp_variable = temp_shuxing4 + hidden_effect = { + TAN = { + meta_feilong = { + set_nationality = ROOT + } + meta_canglong = { + set_nationality = ROOT } } - meta_effect = { - text = { - add_corps_commander_role = { - character = meta_feiying - traits = { xunyang_army trait_yujin xuexixunsu } - skill = [level] - attack_skill = [shuxing1] - defense_skill = [shuxing2] - planning_skill = [shuxing3] - logistics_skill = [shuxing4] - } + } + meta_effect = { + text = { + add_corps_commander_role = { + character = meta_canglong + traits = { hangmu_army trait_yujin xuexixunsu } + skill = [level] + attack_skill = [shuxing1] + defense_skill = [shuxing2] + planning_skill = [shuxing3] + logistics_skill = [shuxing4] + } + add_corps_commander_role = { + character = meta_feilong + traits = { hangmu_army trait_yujin xuexixunsu } + skill = [level] + attack_skill = [shuxing1] + defense_skill = [shuxing2] + planning_skill = [shuxing3] + logistics_skill = [shuxing4] } - level = temp_level - shuxing1 = temp_shuxing1 - shuxing2 = temp_shuxing2 - shuxing3 = temp_shuxing3 - shuxing4 = temp_shuxing4 - } - meta_feiying = { - set_character_flag = chushijianniang } + level = temp_level + shuxing1 = temp_shuxing1 + shuxing2 = temp_shuxing2 + shuxing3 = temp_shuxing3 + shuxing4 = temp_shuxing4 + } + meta_feilong = { + set_character_flag = chushijianniang + } + meta_canglong = { + set_character_flag = chushijianniang } } -#meat扶桑 - country_event = { - id = getzhg_event.17 - title = getzhg_event.17.t - desc = getzhg_event.17.d - picture = GFX_report_event_generic_read_write - is_triggered_only = yes - immediate = { - ROOT = { - set_country_flag = meta_fusang_finding - set_country_flag = { flag = meta_fangqixunzhao_cd value = 1 days = 60 } - } - } - option = { - name = getzhg_event.17.a - ai_chance = { - factor = 5 - } - - random_state = { - limit = { - OR = { - is_fully_controlled_by = SIR - is_fully_controlled_by = SR1 - is_fully_controlled_by = SR2 - is_fully_controlled_by = SR3 - is_fully_controlled_by = SR4 - } - } - set_variable = { - global.meta_fusang_state = THIS - } - PREV = { - goto_state = PREV - } - set_state_flag = meta_fusang - } +} +#海伦娜 +country_event = { + id = getzhg_event.15 + title = getzhg_event.15.t + desc = getzhg_event.15.d + picture = GFX_aze_meta_hailunna + is_triggered_only = yes + immediate = { + ROOT = { + set_country_flag = meta_hailunna_finding + set_country_flag = { flag = meta_fangqixunzhao_cd value = 1 days = 60 } } } - country_event = { - id = getzhg_event.1701 - title = getzhg_event.1701.t - desc = getzhg_event.1701.d - picture = GFX_report_event_generic_read_write - is_triggered_only = yes - option = { - name = getzhg_event.1701.a - ai_chance = { - factor = 5 + option = { + name = getzhg_event.15.a + ai_chance = { + factor = 5 + } + + random_state = { + limit = { + OR = { + is_fully_controlled_by = SIR + is_fully_controlled_by = SR1 + is_fully_controlled_by = SR2 + is_fully_controlled_by = SR3 + is_fully_controlled_by = SR4 + } } - if = { - limit = { - date < 1938.6.1 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 1 - max = 3 - } - round_temp_variable = temp_level + set_variable = { + global.meta_hailunna_state = THIS } - else_if = { - limit = { - AND = { - date > 1938.5.31 - date < 1941.1.1 - } - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 2 - max = 5 - } - round_temp_variable = temp_level - } - else_if = { - limit = { - date > 1940.12.31 - date < 1942.6.1 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 4 - max = 7 - } - round_temp_variable = temp_level + PREV = { + goto_state = PREV } - else_if = { - limit = { - date > 1942.5.31 - } - randomize_temp_variable = { - var = temp_level - distribution = uniform - min = 5 - max = 9 - } - round_temp_variable = temp_level + set_state_flag = meta_hailunna + } + } +} +country_event = { + id = getzhg_event.1501 + title = getzhg_event.1501.t + desc = getzhg_event.1501.d + picture = GFX_aze_meta_hailunna + is_triggered_only = yes + option = { + name = getzhg_event.1501.a + ai_chance = { + factor = 5 + } + if = { + limit = { + date < 1938.6.1 } randomize_temp_variable = { - var = temp_shuxing1 + var = temp_level distribution = uniform min = 1 - max = 6 + max = 3 } - round_temp_variable = temp_shuxing1 - randomize_temp_variable = { - var = temp_shuxing2 - distribution = uniform - min = 1 - max = 6 + round_temp_variable = temp_level + } + else_if = { + limit = { + AND = { + date > 1938.5.31 + date < 1941.1.1 + } } - round_temp_variable = temp_shuxing2 randomize_temp_variable = { - var = temp_shuxing3 + var = temp_level distribution = uniform - min = 1 + min = 2 + max = 5 + } + round_temp_variable = temp_level + } + else_if = { + limit = { + date > 1940.12.31 + date < 1942.6.1 + } + randomize_temp_variable = { + var = temp_level + distribution = uniform + min = 4 max = 7 } - round_temp_variable = temp_shuxing3 + round_temp_variable = temp_level + } + else_if = { + limit = { + date > 1942.5.31 + } randomize_temp_variable = { - var = temp_shuxing4 + var = temp_level + distribution = uniform + min = 5 + max = 9 + } + round_temp_variable = temp_level + } + randomize_temp_variable = { + var = temp_shuxing1 + distribution = uniform + min = 5 + max = 8 + } + round_temp_variable = temp_shuxing1 + randomize_temp_variable = { + var = temp_shuxing2 + distribution = uniform + min = 5 + max = 8 + } + round_temp_variable = temp_shuxing2 + randomize_temp_variable = { + var = temp_shuxing3 + distribution = uniform + min = 5 + max = 9 + } + round_temp_variable = temp_shuxing3 + randomize_temp_variable = { + var = temp_shuxing4 + distribution = uniform + min = 5 + max = 9 + } + round_temp_variable = temp_shuxing4 + hidden_effect = { + TAN = { + meta_hailunna = { + set_nationality = ROOT + } + } + } + meta_effect = { + text = { + add_corps_commander_role = { + character = meta_hailunna + traits = { xunyang_army trait_yujin xuexixunsu } + skill = [level] + attack_skill = [shuxing1] + defense_skill = [shuxing2] + planning_skill = [shuxing3] + logistics_skill = [shuxing4] + } + } + level = temp_level + shuxing1 = temp_shuxing1 + shuxing2 = temp_shuxing2 + shuxing3 = temp_shuxing3 + shuxing4 = temp_shuxing4 + } + meta_hailunna = { + set_character_flag = chushijianniang + } + } +} +#飞鹰 +country_event = { + id = getzhg_event.16 + title = getzhg_event.16.t + desc = getzhg_event.16.d + picture = GFX_report_event_generic_read_write + is_triggered_only = yes + immediate = { + ROOT = { + set_country_flag = meta_feiying_finding + set_country_flag = { flag = meta_fangqixunzhao_cd value = 1 days = 60 } + } + } + option = { + name = getzhg_event.16.a + ai_chance = { + factor = 5 + } + + random_state = { + limit = { + OR = { + is_fully_controlled_by = SIR + is_fully_controlled_by = SR1 + is_fully_controlled_by = SR2 + is_fully_controlled_by = SR3 + is_fully_controlled_by = SR4 + } + } + set_variable = { + global.meta_feiying_state = THIS + } + PREV = { + goto_state = PREV + } + set_state_flag = meta_feiying + } + } +} +country_event = { + id = getzhg_event.1601 + title = getzhg_event.1601.t + desc = getzhg_event.1601.d + picture = GFX_report_event_generic_read_write + is_triggered_only = yes + option = { + name = getzhg_event.1601.a + ai_chance = { + factor = 5 + } + if = { + limit = { + date < 1938.6.1 + } + randomize_temp_variable = { + var = temp_level distribution = uniform min = 1 + max = 3 + } + round_temp_variable = temp_level + } + else_if = { + limit = { + AND = { + date > 1938.5.31 + date < 1941.1.1 + } + } + randomize_temp_variable = { + var = temp_level + distribution = uniform + min = 2 + max = 5 + } + round_temp_variable = temp_level + } + else_if = { + limit = { + date > 1940.12.31 + date < 1942.6.1 + } + randomize_temp_variable = { + var = temp_level + distribution = uniform + min = 4 max = 7 } - round_temp_variable = temp_shuxing4 - hidden_effect = { - TAN = { - meta_fusang = { - set_nationality = ROOT - } + round_temp_variable = temp_level + } + else_if = { + limit = { + date > 1942.5.31 + } + randomize_temp_variable = { + var = temp_level + distribution = uniform + min = 5 + max = 9 + } + round_temp_variable = temp_level + } + randomize_temp_variable = { + var = temp_shuxing1 + distribution = uniform + min = 1 + max = 6 + } + round_temp_variable = temp_shuxing1 + randomize_temp_variable = { + var = temp_shuxing2 + distribution = uniform + min = 1 + max = 6 + } + round_temp_variable = temp_shuxing2 + randomize_temp_variable = { + var = temp_shuxing3 + distribution = uniform + min = 1 + max = 7 + } + round_temp_variable = temp_shuxing3 + randomize_temp_variable = { + var = temp_shuxing4 + distribution = uniform + min = 1 + max = 7 + } + round_temp_variable = temp_shuxing4 + hidden_effect = { + TAN = { + meta_feiying = { + set_nationality = ROOT } } - meta_effect = { - text = { - add_corps_commander_role = { - character = meta_fusang - traits = { xunyang_army trait_yujin xuexixunsu } - skill = [level] - attack_skill = [shuxing1] - defense_skill = [shuxing2] - planning_skill = [shuxing3] - logistics_skill = [shuxing4] - } + } + meta_effect = { + text = { + add_corps_commander_role = { + character = meta_feiying + traits = { xunyang_army trait_yujin xuexixunsu } + skill = [level] + attack_skill = [shuxing1] + defense_skill = [shuxing2] + planning_skill = [shuxing3] + logistics_skill = [shuxing4] } - level = temp_level - shuxing1 = temp_shuxing1 - shuxing2 = temp_shuxing2 - shuxing3 = temp_shuxing3 - shuxing4 = temp_shuxing4 - } - meta_fusang = { - set_character_flag = chushijianniang } + level = temp_level + shuxing1 = temp_shuxing1 + shuxing2 = temp_shuxing2 + shuxing3 = temp_shuxing3 + shuxing4 = temp_shuxing4 + } + meta_feiying = { + set_character_flag = chushijianniang } } -#meat格奈森瑙沙恩霍斯特 - country_event = { - id = getzhg_event.18 - title = getzhg_event.18.t - desc = getzhg_event.18.d - picture = GFX_report_event_generic_read_write - is_triggered_only = yes - immediate = { - ROOT = { - set_country_flag = meta_genaisennao_finding - set_country_flag = { flag = meta_fangqixunzhao_cd value = 1 days = 60 } - } - } - option = { - name = getzhg_event.18.a - ai_chance = { - factor = 5 - } - - random_state = { - limit = { - OR = { - is_fully_controlled_by = SIR - is_fully_controlled_by = SR1 - is_fully_controlled_by = SR2 - is_fully_controlled_by = SR3 - is_fully_controlled_by = SR4 - } - } - set_variable = { - global.meta_genaisennao_state = THIS - } - PREV = { - goto_state = PREV - } - set_state_flag = meta_genaisennao - } +} +#扶桑 +country_event = { + id = getzhg_event.17 + title = getzhg_event.17.t + desc = getzhg_event.17.d + picture = GFX_report_event_generic_read_write + is_triggered_only = yes + immediate = { + ROOT = { + set_country_flag = meta_fusang_finding + set_country_flag = { flag = meta_fangqixunzhao_cd value = 1 days = 60 } } } + option = { + name = getzhg_event.17.a + ai_chance = { + factor = 5 + } + + random_state = { + limit = { + OR = { + is_fully_controlled_by = SIR + is_fully_controlled_by = SR1 + is_fully_controlled_by = SR2 + is_fully_controlled_by = SR3 + is_fully_controlled_by = SR4 + } + } + set_variable = { + global.meta_fusang_state = THIS + } + PREV = { + goto_state = PREV + } + set_state_flag = meta_fusang + } + } +} +country_event = { + id = getzhg_event.1701 + title = getzhg_event.1701.t + desc = getzhg_event.1701.d + picture = GFX_report_event_generic_read_write + is_triggered_only = yes + option = { + name = getzhg_event.1701.a + ai_chance = { + factor = 5 + } + if = { + limit = { + date < 1938.6.1 + } + randomize_temp_variable = { + var = temp_level + distribution = uniform + min = 1 + max = 3 + } + round_temp_variable = temp_level + } + else_if = { + limit = { + AND = { + date > 1938.5.31 + date < 1941.1.1 + } + } + randomize_temp_variable = { + var = temp_level + distribution = uniform + min = 2 + max = 5 + } + round_temp_variable = temp_level + } + else_if = { + limit = { + date > 1940.12.31 + date < 1942.6.1 + } + randomize_temp_variable = { + var = temp_level + distribution = uniform + min = 4 + max = 7 + } + round_temp_variable = temp_level + } + else_if = { + limit = { + date > 1942.5.31 + } + randomize_temp_variable = { + var = temp_level + distribution = uniform + min = 5 + max = 9 + } + round_temp_variable = temp_level + } + randomize_temp_variable = { + var = temp_shuxing1 + distribution = uniform + min = 1 + max = 6 + } + round_temp_variable = temp_shuxing1 + randomize_temp_variable = { + var = temp_shuxing2 + distribution = uniform + min = 1 + max = 6 + } + round_temp_variable = temp_shuxing2 + randomize_temp_variable = { + var = temp_shuxing3 + distribution = uniform + min = 1 + max = 7 + } + round_temp_variable = temp_shuxing3 + randomize_temp_variable = { + var = temp_shuxing4 + distribution = uniform + min = 1 + max = 7 + } + round_temp_variable = temp_shuxing4 + hidden_effect = { + TAN = { + meta_fusang = { + set_nationality = ROOT + } + } + } + meta_effect = { + text = { + add_corps_commander_role = { + character = meta_fusang + traits = { xunyang_army trait_yujin xuexixunsu } + skill = [level] + attack_skill = [shuxing1] + defense_skill = [shuxing2] + planning_skill = [shuxing3] + logistics_skill = [shuxing4] + } + } + level = temp_level + shuxing1 = temp_shuxing1 + shuxing2 = temp_shuxing2 + shuxing3 = temp_shuxing3 + shuxing4 = temp_shuxing4 + } + meta_fusang = { + set_character_flag = chushijianniang + } + } +} +#格奈森瑙沙恩霍斯特 +country_event = { + id = getzhg_event.18 + title = getzhg_event.18.t + desc = getzhg_event.18.d + picture = GFX_report_event_generic_read_write + is_triggered_only = yes + immediate = { + ROOT = { + set_country_flag = meta_genaisennao_finding + set_country_flag = { flag = meta_fangqixunzhao_cd value = 1 days = 60 } + } + } + option = { + name = getzhg_event.18.a + ai_chance = { + factor = 5 + } + + random_state = { + limit = { + OR = { + is_fully_controlled_by = SIR + is_fully_controlled_by = SR1 + is_fully_controlled_by = SR2 + is_fully_controlled_by = SR3 + is_fully_controlled_by = SR4 + } + } + set_variable = { + global.meta_genaisennao_state = THIS + } + PREV = { + goto_state = PREV + } + set_state_flag = meta_genaisennao + } + } +} country_event = { id = getzhg_event.1801 title = getzhg_event.1801.t @@ -1814,7 +1811,49 @@ unit_leader_event = { option = { name = "不换了" } - + #企业 + option = { + name = "huangzhuang_qiye0" + trigger = { + THIS = { + is_character = BYG_qiye + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/BYG/qiye.png" } + civilian = { large="gfx/leaders/BYG/qiye.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + option = { + name = "行政装" + trigger = { + THIS = { + is_character = BYG_qiye + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/BYG/leader_qiye_xz.png" } + civilian = { large="gfx/leaders/BYG/leader_qiye_xz.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + option = { + name = "戎装" + trigger = { + THIS = { + is_character = BYG_qiye + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/BYG/leader_qiye_js.png" } + civilian = { large="gfx/leaders/BYG/leader_qiye_js.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #阿芙乐尔 option = { name = "睡衣" @@ -1830,2059 +1869,35 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - - -#东煌 - #航母 - #镇海 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_zhenhai - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/zhenhai.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/zhenhai.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } + #鞍山 + option = { + name = "打游戏" + trigger = { + THIS = { + is_character = DOH_anshan } - option = { - name = "旗袍" - trigger = { - THIS = { - is_character = DOH_zhenhai - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/zhenhai1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/zhenhai1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "礼服" - trigger = { - THIS = { - is_character = DOH_zhenhai - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/zhenhai2.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/zhenhai2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "换装1" - trigger = { - THIS = { - is_character = DOH_zhenhai - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/zhenhai3.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/zhenhai3.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "换装2" - trigger = { - THIS = { - is_character = DOH_zhenhai - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/zhenhai4.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/zhenhai4.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #华甲 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_huajia - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/huajia.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/huajia.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "僵尸" - trigger = { - THIS = { - is_character = DOH_huajia - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/huajia1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/huajia1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - - #战列 - #寰昌 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_huanchang - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/huanchang.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/huanchang.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "换装1" - trigger = { - THIS = { - is_character = DOH_huanchang - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/huanchang1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/huanchang1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #巡洋 - #逸仙 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_yixian - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/yixian.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/yixian.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "逸仙改" - trigger = { - THIS = { - is_character = DOH_yixian - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/yixian1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/yixian1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "汉服" - trigger = { - THIS = { - is_character = DOH_yixian - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/yixian2.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/yixian2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "婚纱" - trigger = { - THIS = { - is_character = DOH_yixian - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/yixian3.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/yixian3.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "春节" - trigger = { - THIS = { - is_character = DOH_yixian - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/yixian4.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/yixian4.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "情人节" - trigger = { - THIS = { - is_character = DOH_yixian - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/yixian5.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/yixian5.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #平海 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_pinghai - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/pinghai.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/pinghai.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "礼服" - trigger = { - THIS = { - is_character = DOH_pinghai - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/pinghai1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/pinghai1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #宁海 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_ninghai - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/ninghai.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/ninghai.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "礼服" - trigger = { - THIS = { - is_character = DOH_ninghai - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/ninghai1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/ninghai1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #应瑞 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_yingrui - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/yingrui.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/yingrui.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "礼服" - trigger = { - THIS = { - is_character = DOH_yingrui - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/yingrui1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/yingrui1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "旗袍" - trigger = { - THIS = { - is_character = DOH_yingrui - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/yingrui2.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/yingrui2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "跪坐" - trigger = { - THIS = { - is_character = DOH_yingrui - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/yingrui3.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/yingrui3.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #肇和 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_zhaohe - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/zhaohe.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/zhaohe.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "常服" - trigger = { - THIS = { - is_character = DOH_zhaohe - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/zhaohe1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/zhaohe1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "旗袍" - trigger = { - THIS = { - is_character = DOH_zhaohe - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/zhaohe2.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/zhaohe2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #海天 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_haitian - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/haitian.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/haitian.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #海圻 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_haiqi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/haiqi.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/haiqi.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #哈尔滨 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_haerbin - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/haerbin.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/haerbin.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "汉服" - trigger = { - THIS = { - is_character = DOH_haerbin - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/haerbin1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/haerbin1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "泳装" - trigger = { - THIS = { - is_character = DOH_haerbin - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/haerbin2.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/haerbin2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #济安 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_jian - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/jian.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/jian.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - - #驱逐 - #鞍山 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_anshan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/anshan.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/anshan.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "打游戏" - trigger = { - THIS = { - is_character = DOH_anshan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/anshan1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/anshan1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "鞍山2" - trigger = { - THIS = { - is_character = DOH_anshan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/anshan2.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/anshan2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "害羞" - trigger = { - THIS = { - is_character = DOH_anshan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/anshan3.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/anshan3.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #抚顺 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_fushun - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/fushun.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/fushun.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "看鞍山打游戏" - trigger = { - THIS = { - is_character = DOH_fushun - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/fushun1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/fushun1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "春节" - trigger = { - THIS = { - is_character = DOH_fushun - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/fushun2.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/fushun2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #长春 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_changchun - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/changchun.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/changchun.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "常服" - trigger = { - THIS = { - is_character = DOH_changchun - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/changchun1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/changchun1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "情人节" - trigger = { - THIS = { - is_character = DOH_changchun - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/changchun2.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/changchun2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #太原 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_taiyuan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/taiyuan.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/taiyuan.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "常服" - trigger = { - THIS = { - is_character = DOH_taiyuan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/taiyuan1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/taiyuan1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #龙武 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_longwu - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/longwu.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/longwu.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "潜水" - trigger = { - THIS = { - is_character = DOH_longwu - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/longwu1.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/longwu1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #虎贲 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_huben - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/huben.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/huben.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } } - #飞云 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_longwu - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/feiyun.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/feiyun.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #潜艇 - - #其他 - #定安 - option = { - name = "原版" - trigger = { - THIS = { - is_character = DOH_dingan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/DOH/dingan.png" } - civilian = { large="gfx/leaders/huanzhuang/DOH/dingan.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/anshan1.png" } + civilian = { large="gfx/leaders/huanzhuang/anshan1.png" } } - -#白鹰 - #航母 - #企业 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_qiye - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/qiye.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/qiye.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "行政装" - trigger = { - THIS = { - is_character = BYG_qiye - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/qiye1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/qiye1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "戎装" - trigger = { - THIS = { - is_character = BYG_qiye - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/qiye2.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/qiye2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "赛车" - trigger = { - THIS = { - is_character = BYG_qiye - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/qiye3.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/qiye3.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "潜水" - trigger = { - THIS = { - is_character = BYG_qiye - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/qiye4.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/qiye4.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "沙滩" - trigger = { - THIS = { - is_character = BYG_qiye - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/qiye5.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/qiye5.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "休憩" - trigger = { - THIS = { - is_character = BYG_qiye - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/qiye6.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/qiye6.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #约克城 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_yuekecheng - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/yuekecheng.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/yuekecheng.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "约克城II" - trigger = { - THIS = { - is_character = BYG_yuekecheng - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/yuekecheng1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/yuekecheng1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "休憩" - trigger = { - THIS = { - is_character = BYG_yuekecheng - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/yuekecheng2.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/yuekecheng2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "泳装" - trigger = { - THIS = { - is_character = BYG_yuekecheng - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/yuekecheng3.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/yuekecheng3.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "情人节" - trigger = { - THIS = { - is_character = BYG_yuekecheng - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/yuekecheng4.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/yuekecheng4.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #大黄蜂 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_dahuangfeng - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/dahuangfeng.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/dahuangfeng.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #列克星敦 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_liekexingdun - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/liekexingdun.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/liekexingdun.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #萨拉托加 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_salatuojia - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/salatuojia.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/salatuojia.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "婚纱" - trigger = { - THIS = { - is_character = BYG_salatuojia - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/salatuojia1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/salatuojia1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "异国的偶像" - trigger = { - THIS = { - is_character = BYG_salatuojia - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/salatuojia2.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/salatuojia2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "萨拉托加-3" - trigger = { - THIS = { - is_character = BYG_salatuojia - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/salatuojia3.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/salatuojia3.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "萨拉托加-4" - trigger = { - THIS = { - is_character = BYG_salatuojia - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/salatuojia4.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/salatuojia4.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "萨拉托加-5" - trigger = { - THIS = { - is_character = BYG_salatuojia - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/salatuojia5.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/salatuojia5.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "萨拉托加-6" - trigger = { - THIS = { - is_character = BYG_salatuojia - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/salatuojia6.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/salatuojia6.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "萨拉托加-7" - trigger = { - THIS = { - is_character = BYG_salatuojia - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/salatuojia7.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/salatuojia7.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #埃塞克斯 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_liekexingdun - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/aisaikesi.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/aisaikesi.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #无畏 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_wuwei - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/wuwei.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/wuwei.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #提康德罗加 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_tikangdeluojia - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/tikangdeluojia.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/tikangdeluojia.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #邦克山 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_bangkeshan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/bangkeshan.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/bangkeshan.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #香格里拉 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_xianggelila - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/xianggelila.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/xianggelila.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #巴丹 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_badan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/badan.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/badan.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #卡萨布兰卡 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_kasabulanka - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/kasabulanka.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/kasabulanka.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #长岛 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_changdao - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/changdao.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/changdao.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "摸鱼" - trigger = { - THIS = { - is_character = BYG_changdao - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/changdao1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/changdao1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - - #战列 - #佐治亚 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_zuozhiya - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/zuozhiya.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/zuozhiya.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #南达科他 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_nandaketa - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/nandaketa.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/nandaketa.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #阿拉巴马 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_alabama - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/alabama.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/alabama.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #北卡罗来纳 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_beikaluolaina - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/beikaluolaina.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/beikaluolaina.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #华盛顿 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_huashengdun - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/huashengdun.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/huashengdun.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "旗袍" - trigger = { - THIS = { - is_character = BYG_huashengdun - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/huashengdun1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/huashengdun1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #星座 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_xingzuo - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/xingzuo.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/xingzuo.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #宾夕法尼亚 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_binxifaniya - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/binxifaniya.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/binxifaniya.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #亚利桑那 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_yalisangna - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/yalisangna.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/yalisangna.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - - #巡洋 - #关岛 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_guandao - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/guandao.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/guandao.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "毛衣" - trigger = { - THIS = { - is_character = BYG_guandao - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/guandao1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/guandao1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "兴奋" - trigger = { - THIS = { - is_character = BYG_guandao - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/guandao2.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/guandao2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "沮丧" - trigger = { - THIS = { - is_character = BYG_guandao - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/guandao3.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/guandao3.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #安克雷奇 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_ankeleiqi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/ankeleiqi.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/ankeleiqi.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "夜游" - trigger = { - THIS = { - is_character = BYG_ankeleiqi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/ankeleiqi1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/ankeleiqi1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "跪坐" - trigger = { - THIS = { - is_character = BYG_ankeleiqi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/ankeleiqi2.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/ankeleiqi2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "美食" - trigger = { - THIS = { - is_character = BYG_ankeleiqi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/ankeleiqi3.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/ankeleiqi3.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #巴尔的摩 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_baerdimo - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/baerdimo.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/baerdimo.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "差人" - trigger = { - THIS = { - is_character = BYG_baerdimo - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/baerdimo1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/baerdimo1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #布莱默顿 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_bulaimodun - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/bulaimodun.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/bulaimodun.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #西雅图 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_xiyatu - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/xiyatu.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/xiyatu.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #克利夫兰 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_kelifulan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/kelifulan.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/kelifulan.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "天台" - trigger = { - THIS = { - is_character = BYG_kelifulan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/kelifulan1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/kelifulan1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #蒙彼利埃 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_mengbiliai - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/mengbiliai.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/mengbiliai.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #明尼阿波利斯 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_mingniabolisi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/mingniabolisi.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/mingniabolisi.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #旧金山 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_jiujinshan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/jiujinshan.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/jiujinshan.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #波特兰 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_botelan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/botelan.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/botelan.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #火奴鲁鲁 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_huonululu - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/huonululu.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/huonululu.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "梳妆" - trigger = { - THIS = { - is_character = BYG_huonululu - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/huonululu1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/huonululu1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "泳装" - trigger = { - THIS = { - is_character = BYG_huonululu - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/huonululu2.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/huonululu2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #圣路易斯 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_shengluyisi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/shengluyisi.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/shengluyisi.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "富婆1" - trigger = { - THIS = { - is_character = BYG_shengluyisi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/shengluyisi1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/shengluyisi1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "富婆2" - trigger = { - THIS = { - is_character = BYG_shengluyisi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/shengluyisi2.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/shengluyisi2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "富婆3" - trigger = { - THIS = { - is_character = BYG_shengluyisi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/shengluyisi3.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/shengluyisi3.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "泳装1" - trigger = { - THIS = { - is_character = BYG_shengluyisi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/shengluyisi4.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/shengluyisi4.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "泳装2" - trigger = { - THIS = { - is_character = BYG_shengluyisi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/shengluyisi5.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/shengluyisi5.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "泳装3" - trigger = { - THIS = { - is_character = BYG_shengluyisi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/shengluyisi6.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/shengluyisi6.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "泳装4" - trigger = { - THIS = { - is_character = BYG_shengluyisi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/shengluyisi7.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/shengluyisi7.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #海伦娜 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_hailunna - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/hailunna.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/hailunna.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #圣地亚哥 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_shengdiyage - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/shengdiyage.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/shengdiyage.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #里诺 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_linuo - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/linuo.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/linuo.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "兔女郎" - trigger = { - THIS = { - is_character = BYG_linuo - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/linuo1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/linuo1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - - #驱逐 - #艾伦萨姆纳 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_ailunsamuna - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/ailunsamuna.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/ailunsamuna.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #英格拉罕 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_yinggelahan - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/yinggelahan.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/yinggelahan.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #拉菲 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_lafei - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/lafei.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/lafei.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "荡秋千" - trigger = { - THIS = { - is_character = BYG_lafei - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/lafei1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/lafei1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "泳装" - trigger = { - THIS = { - is_character = BYG_lafei - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/lafei2.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/lafei2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "换装1" - trigger = { - THIS = { - is_character = BYG_lafei - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/lafei3.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/lafei3.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "换装2" - trigger = { - THIS = { - is_character = BYG_lafei - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/lafei4.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/lafei4.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "换装3" - trigger = { - THIS = { - is_character = BYG_lafei - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/lafei5.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/lafei5.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "换装4" - trigger = { - THIS = { - is_character = BYG_lafei - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/lafei6.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/lafei6.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "换装5" - trigger = { - THIS = { - is_character = BYG_lafei - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/lafei7.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/lafei7.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #哈曼 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_haman - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/haman.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/haman.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "哈曼曼II" - trigger = { - THIS = { - is_character = BYG_haman - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/haman1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/haman1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #格里德利 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_gelideli - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/gelideli.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/gelideli.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - #埃尔德里奇 - option = { - name = "原版" - trigger = { - THIS = { - is_character = BYG_aierdeliqi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/aierdeliqi.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/aierdeliqi.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "婚纱" - trigger = { - THIS = { - is_character = BYG_aierdeliqi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/aierdeliqi1.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/aierdeliqi1.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "吃包子" - trigger = { - THIS = { - is_character = BYG_aierdeliqi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/aierdeliqi2.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/aierdeliqi2.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "情人节" - trigger = { - THIS = { - is_character = BYG_aierdeliqi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/aierdeliqi3.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/aierdeliqi3.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - option = { - name = "举高高" - trigger = { - THIS = { - is_character = BYG_aierdeliqi - } - } - set_portraits = { - character = THIS - army = { large="gfx/leaders/huanzhuang/BYG/aierdeliqi4.png" } - civilian = { large="gfx/leaders/huanzhuang/BYG/aierdeliqi4.png" } - } - THIS = { unit_leader_event = getzhg_event.2401 } - } - - #潜艇 - #射水鱼 - #大青花鱼 - - #其他 - #奇尔沙治 - #女灶神 - - + THIS = { unit_leader_event = getzhg_event.2401 } + } + option = { + name = "鞍山2" + trigger = { + THIS = { + is_character = DOH_anshan + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/anshan2.png" } + civilian = { large="gfx/leaders/huanzhuang/anshan2.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #奥古斯特 option = { name = "犀利" @@ -3969,8 +1984,36 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - - + #长春 + option = { + name = "常服" + trigger = { + THIS = { + is_character = DOH_changchun + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/changchun1.png" } + civilian = { large="gfx/leaders/huanzhuang/changchun1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + #抚顺 + option = { + name = "看鞍山打游戏" + trigger = { + THIS = { + is_character = DOH_fushun + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/fushun1.png" } + civilian = { large="gfx/leaders/huanzhuang/fushun1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #甘古特 option = { name = "换个姿势" @@ -4219,7 +2262,21 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - + #太原 + option = { + name = "常服" + trigger = { + THIS = { + is_character = DOH_taiyuan + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/taiyuan1.png" } + civilian = { large="gfx/leaders/huanzhuang/taiyuan1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #阿达尔伯特 option = { name = "阿达尔伯特-女仆" @@ -4456,7 +2513,21 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - + #里诺 + option = { + name = "兔女郎" + trigger = { + THIS = { + is_character = BYG_linuo + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/linuo1.png" } + civilian = { large="gfx/leaders/huanzhuang/linuo1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #罗恩 option = { name = "害怕" @@ -4616,8 +2687,22 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - - #树城 + #圣路易斯 + option = { + name = "富婆" + trigger = { + THIS = { + is_character = BYG_shengluyisi + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/shengluyisi1.png" } + civilian = { large="gfx/leaders/huanzhuang/shengluyisi1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + #圣路易斯 option = { name = "兔女郎" trigger = { @@ -4692,7 +2777,21 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - + #应瑞 + option = { + name = "礼服" + trigger = { + THIS = { + is_character = DOH_yingrui + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/yingrui1.png" } + civilian = { large="gfx/leaders/huanzhuang/yingrui1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #长门 option = { name = "常服" @@ -4708,7 +2807,21 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - + #肇和 + option = { + name = "常服" + trigger = { + THIS = { + is_character = DOH_zhaohe + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/zhaohe1.png" } + civilian = { large="gfx/leaders/huanzhuang/zhaohe1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #黛朵 option = { name = "兵装" @@ -5347,7 +3460,21 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - + #巴尔的摩 + option = { + name = "差人" + trigger = { + THIS = { + is_character = BYG_baerdimo + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/baerdimo1.png" } + civilian = { large="gfx/leaders/huanzhuang/baerdimo1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #贝尔法斯特 option = { name = "礼服" @@ -5588,7 +3715,21 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - + #抚顺 + option = { + name = "春节" + trigger = { + THIS = { + is_character = DOH_fushun + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/fushun2.png" } + civilian = { large="gfx/leaders/huanzhuang/fushun2.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #甘古特 option = { name = "狱警" @@ -5634,7 +3775,51 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - + #哈曼曼 + option = { + name = "哈曼曼II" + trigger = { + THIS = { + is_character = BYG_haman + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/haman1.png" } + civilian = { large="gfx/leaders/huanzhuang/haman1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + #华甲 + option = { + name = "僵尸" + trigger = { + THIS = { + is_character = DOH_huajia + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/huajia1.png" } + civilian = { large="gfx/leaders/huanzhuang/huajia1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + #华盛顿 + option = { + name = "旗袍" + trigger = { + THIS = { + is_character = BYG_huashengdun + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/huashengdun1.png" } + civilian = { large="gfx/leaders/huanzhuang/huashengdun1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #基辅 option = { name = "特工" @@ -5770,7 +3955,36 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - + #平海 + option = { + name = "礼服" + trigger = { + THIS = { + is_character = DOH_pinghai + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/pinghai1.png" } + civilian = { large="gfx/leaders/huanzhuang/pinghai1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + #宁海 + option = { + name = "礼服" + trigger = { + THIS = { + is_character = DOH_ninghai + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/ninghai1.png" } + civilian = { large="gfx/leaders/huanzhuang/ninghai1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #普利茅斯 option = { name = "泳装" @@ -5801,7 +4015,21 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - + #企业 + option = { + name = "赛车" + trigger = { + THIS = { + is_character = BYG_qiye + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/qiye1.png" } + civilian = { large="gfx/leaders/huanzhuang/qiye1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #瑞鹤 option = { name = "赛车" @@ -5847,6 +4075,21 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } + #太原 + option = { + name = "旗袍" + trigger = { + THIS = { + is_character = DOH_taiyuan + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/taiyuan2.png" } + civilian = { large="gfx/leaders/huanzhuang/taiyuan2.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #天城 option = { name = "泳装" @@ -5937,9 +4180,66 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - - - + #应瑞 + option = { + name = "旗袍" + trigger = { + THIS = { + is_character = DOH_yingrui + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/yingrui2.png" } + civilian = { large="gfx/leaders/huanzhuang/yingrui2.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + #逸仙 + option = { + name = "汉服" + trigger = { + THIS = { + is_character = DOH_yixian + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/yixian2.png" } + civilian = { large="gfx/leaders/huanzhuang/yixian2.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + #逸仙 + option = { + name = "逸仙改" + trigger = { + THIS = { + is_character = DOH_yixian + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/yixian1.png" } + civilian = { large="gfx/leaders/huanzhuang/yixian1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + #约克城 + option = { + name = "约克城II" + trigger = { + THIS = { + is_character = BYG_yuekecheng + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/yuekecheng1.png" } + civilian = { large="gfx/leaders/huanzhuang/yuekecheng1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #Z-1酱 option = { name = "Z-1改" @@ -5970,8 +4270,51 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - - + #肇和 + option = { + name = "旗袍" + trigger = { + THIS = { + is_character = DOH_zhaohe + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/zhaohe2.png" } + civilian = { large="gfx/leaders/huanzhuang/zhaohe2.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + #镇海 + option = { + name = "旗袍" + trigger = { + THIS = { + is_character = DOH_zhenhai + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/zhenhai1.png" } + civilian = { large="gfx/leaders/huanzhuang/zhenhai1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + #镇海 + option = { + name = "礼服" + trigger = { + THIS = { + is_character = DOH_zhenhai + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/zhenhai2.png" } + civilian = { large="gfx/leaders/huanzhuang/zhenhai2.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #阿拉巴马 option = { name = "旗袍" @@ -6047,7 +4390,35 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - + #哈尔滨-汉服 + option = { + name = "哈尔滨-汉服" + trigger = { + THIS = { + is_character = DOH_haerbin + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/haerbin1.png" } + civilian = { large="gfx/leaders/huanzhuang/haerbin1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + option = { + name = "哈尔滨-泳装" + trigger = { + THIS = { + is_character = DOH_haerbin + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/haerbin2.png" } + civilian = { large="gfx/leaders/huanzhuang/haerbin2.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #基洛夫 option = { name = "基洛夫-摩托" @@ -6151,7 +4522,105 @@ unit_leader_event = { } THIS = { unit_leader_event = getzhg_event.2401 } } - + #萨拉托加 + option = { + name = "萨拉托加-婚纱" + trigger = { + THIS = { + is_character = BYG_salatuojia + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/salatuojia1.png" } + civilian = { large="gfx/leaders/huanzhuang/salatuojia1.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + option = { + name = "萨拉托加-偶像" + trigger = { + THIS = { + is_character = BYG_salatuojia + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/salatuojia2.png" } + civilian = { large="gfx/leaders/huanzhuang/salatuojia2.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + option = { + name = "萨拉托加-3" + trigger = { + THIS = { + is_character = BYG_salatuojia + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/salatuojia3.png" } + civilian = { large="gfx/leaders/huanzhuang/salatuojia3.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + option = { + name = "萨拉托加-4" + trigger = { + THIS = { + is_character = BYG_salatuojia + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/salatuojia4.png" } + civilian = { large="gfx/leaders/huanzhuang/salatuojia4.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + option = { + name = "萨拉托加-5" + trigger = { + THIS = { + is_character = BYG_salatuojia + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/salatuojia5.png" } + civilian = { large="gfx/leaders/huanzhuang/salatuojia5.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + option = { + name = "萨拉托加-6" + trigger = { + THIS = { + is_character = BYG_salatuojia + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/salatuojia6.png" } + civilian = { large="gfx/leaders/huanzhuang/salatuojia6.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } + option = { + name = "萨拉托加-7" + trigger = { + THIS = { + is_character = BYG_salatuojia + } + } + set_portraits = { + character = THIS + army = { large="gfx/leaders/huanzhuang/salatuojia7.png" } + civilian = { large="gfx/leaders/huanzhuang/salatuojia7.png" } + } + THIS = { unit_leader_event = getzhg_event.2401 } + } #胜利 option = { name = "胜利-常服" @@ -6948,7 +5417,7 @@ country_event = { trigger = { is_ai = no NOT = { has_country_flag = luoli_huangjiafangzhou_get } - or = { + OR = { check_variable = { xiaoliwu_luoli_cishu > 3 } check_variable = { xiaoliwu_total_cishu > 20 } } diff --git a/src/history/countries/DH1 - Donghuangyuanzhengjun.txt b/src/history/countries/DH1 - Donghuangyuanzhengjun.txt new file mode 100755 index 0000000..3368a5e --- /dev/null +++ b/src/history/countries/DH1 - Donghuangyuanzhengjun.txt @@ -0,0 +1,154 @@ +capital = 622 + +oob = "DH1_1936" + + +set_stability = 0.5 + +set_war_support = 0.9 + +set_research_slots = 1 +set_variable = { var = xzmf_sl value = 1 } +set_variable = { var = zs_sl value = 50 } +set_variable = { var = wz_sl value = 0 } +set_technology = { + infantry_weapons = 1 + infantry_weapons1 = 1 + tech_support = 1 + tech_engineers = 1 + tech_recon = 1 + interwar_antiair = 1 + gwtank = 1 + basic_light_tank = 1 + mass_assault = 1 + fleet_in_being = 1 + basic_naval_mines = 1 + force_rotation = 1 + early_ship_hull_light = 1 + early_ship_hull_cruiser = 1 + basic_medium_battery = 1 + basic_battery = 1 + basic_torpedo = 1 + engines_1 = 1 + basic_train = 1 + gw_artillery = 1 +} +if = { + limit = { + has_dlc = "No Step Back" + } + set_technology = { + gwtank_chassis = 1 + } + else = { + set_technology = { + gwtank = 1 + } + } +} +add_ideas = { + +} + + +set_convoys = 0 + +set_politics = { + ruling_party = neutrality + last_election = "1936.1.1" + election_frequency = 48 + elections_allowed = no +} + +set_popularities = { + neutrality = 60 + democratic = 0 + fascism = 40 + communism = 0 + +} + +create_country_leader = { + name = DH1_noleader + picture = "gfx/leaders/leader_unknown.dds" + expire = "1965.1.1" + ideology = despotism + traits = { + + } +} + +if = { + limit = { has_dlc = "Man the Guns" } + # Destroyers # + create_equipment_variant = { + name = "建威级" + type = ship_hull_light_1 + name_group = CHI_DD_HISTORICAL + parent_version = 0 + modules = { + fixed_ship_battery_slot = ship_light_battery_1 + fixed_ship_anti_air_slot = empty + 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 = empty + mid_1_custom_slot = empty + rear_1_custom_slot = empty + } + } + # Light Cruisers # + create_equipment_variant = { + name = "海荣级" # Hairong protected cruisers and Zhaohe, Yingrui training cruisers + type = ship_hull_cruiser_coastal_defense_ship + name_group = CHI_CL_HISTORICAL + parent_version = 0 + modules = { + fixed_ship_battery_slot = ship_light_medium_battery_1 + fixed_ship_anti_air_slot = empty + 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 + mid_1_custom_slot = empty + mid_2_custom_slot = empty + rear_1_custom_slot = empty + } + obsolete = yes + } + create_equipment_variant = { + name = "海祈级" + type = ship_hull_cruiser_coastal_defense_ship + name_group = CHI_CL_HISTORICAL + parent_version = 0 + modules = { + fixed_ship_battery_slot = ship_medium_battery_1 + fixed_ship_anti_air_slot = empty + 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_secondaries_slot = ship_secondaries_1 + fixed_ship_armor_slot = ship_armor_cruiser_1 + mid_1_custom_slot = empty + mid_2_custom_slot = empty + rear_1_custom_slot = empty + } + obsolete = yes + } + create_equipment_variant = { + name = "宁海级" + type = ship_hull_cruiser_1 + name_group = CHI_CL_HISTORICAL + 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 + mid_1_custom_slot = ship_torpedo_1 + mid_2_custom_slot = empty + rear_1_custom_slot = empty + } + } +} diff --git a/src/history/countries/WEX - Weixi.txt b/src/history/countries/WEX - Weixi.txt new file mode 100755 index 0000000..85480c5 --- /dev/null +++ b/src/history/countries/WEX - Weixi.txt @@ -0,0 +1,164 @@ +capital = 26 + +#oob = "WEX_1936" +recruit_character = WEX_rangbaer +recruit_character = WEX_aerjiliya +recruit_character= WEX_dunkerque + + +#set_naval_oob = "WEX_1936_Naval_mtg" +set_research_slots = 4 +set_stability = 0.5 +set_war_support = 1 +set_variable = { var = xzmf_sl value = 2 } +set_variable = { var = zs_sl value = 200 } +set_variable = { var = wz_sl value = 1500 } +#set_major = yes +# Starting tech +set_technology = { + infantry_weapons= 1 + infantry_weapons1= 1 + tech_support= 1 + tech_engineers= 1 + tech_recon= 1 + tech_mountaineers= 1 + motorised_infantry= 1 + gw_artillery= 1 + interwar_antiair= 1 + gwtank= 1 + basic_light_tank= 1 + basic_heavy_tank= 1 + improved_light_tank= 1 + early_fighter= 1 + naval_bomber1= 1 + cv_early_fighter= 1 + cv_naval_bomber1= 1 + early_bomber= 1 + tactical_bomber1= 1 + CAS1= 1 + trench_warfare= 1 + fleet_in_being= 1 + fuel_silos= 1 + fuel_refining= 1 +} +if = { + limit = { has_dlc = "Man the Guns" } + set_technology = { + basic_naval_mines = 1 + submarine_mine_laying = 1 + early_ship_hull_light = 1 + basic_ship_hull_light = 1 + early_ship_hull_submarine = 1 + basic_ship_hull_submarine = 1 + improved_ship_hull_submarine = 1 + early_ship_hull_cruiser = 1 + basic_ship_hull_cruiser = 1 + improved_ship_hull_cruiser = 1 + basic_cruiser_armor_scheme = 1 + improved_cruiser_armor_scheme = 1 + early_ship_hull_heavy = 1 + basic_ship_hull_heavy = 1 + improved_ship_hull_heavy = 1 + basic_heavy_armor_scheme = 1 + early_ship_hull_carrier = 1 + basic_ship_hull_carrier = 1 + early_fire_control_system = 1 + basic_battery = 1 + improved_light_battery = 1 + improved_light_battery_2 = 1 + improved_dp_light_battery_2 = 1 + improved_medium_battery = 1 + basic_medium_battery_2 = 1 + improved_medium_battery_2 = 1 + improved_heavy_battery = 1 + basic_heavy_battery_2 = 1 + improved_heavy_battery_2 = 1 + basic_heavy_battery_3 = 1 + improved_heavy_battery_3 = 1 + nrm_early_antiair = 1 + nrm_basic_antiair = 1 + nrm_basic_heavy_antiair = 1 + basic_torpedo = 1 + airplane_launcher = 1 + improved_ship_torpedo_launcher = 1 + advanced_ship_torpedo_launcher = 1 + sonar = 1 + improved_sonar = 1 + improved_sonar_2 = 1 + early_engine = 1 + improved_engine = 1 + early_diesel = 1 + smoke_generator = 1 + basic_depth_charges = 1 + improved_depth_charges = 1 + mtg_transport = 1 + damage_control_1 = 1 + fire_control_methods_1 = 1 + basic_light_shell = 1 + } +} +if = { + limit = { + has_dlc = "La Resistance" + } + set_technology = { + armored_car1 = 1 + } +} + + +set_convoys = 300 + + +set_politics = { + ruling_party = fascism + last_election = "1932.5.1" + election_frequency = 480 + elections_allowed = no +} +set_popularities = { + democratic = 0 + fascism = 100 + neutrality = 0 + communism = 0 +} + +add_ideas = { + YUW_jjbk +} + +create_corps_commander = { + name = "恶毒" + id = 57004 + picture = "edu.jpg" + traits = { inflexible_strategist quzhu_army } + skill = 3 + attack_skill = 3 + defense_skill = 3 + planning_skill = 2 + logistics_skill = 2 +} + +create_corps_commander = { + name = "沃克兰" + id = 57005 + picture = "wokelan.jpg" + traits = { quzhu_army } + skill = 3 + attack_skill = 2 + defense_skill = 2 + planning_skill = 3 + logistics_skill = 3 +} + +create_corps_commander = { + name = "加利索尼埃" + id = 57006 + picture = "jialisuoniai.jpg" + traits = { trickster xunyang_army } + skill = 4 + attack_skill = 4 + defense_skill = 3 + planning_skill = 3 + logistics_skill = 3 +} diff --git a/src/interface/GER_sprcial_gui.gui b/src/interface/GER_sprcial_gui.gui index e78c08e..0d6f30e 100755 --- a/src/interface/GER_sprcial_gui.gui +++ b/src/interface/GER_sprcial_gui.gui @@ -59,7 +59,7 @@ guiTypes = { instantTextboxType = { name = "GER_Eye_of_Rebirth_Project_text" position = { x = 250 y = 130 } - orientation = left_up + orientation = UPPER_LEFT font = "hoi_36header" text = "GER_Eye_of_Rebirth_Project_text" format = left diff --git a/src/interface/az_jh_store_window.gui b/src/interface/az_jh_store_window.gui index 4daeb77..be3808b 100755 --- a/src/interface/az_jh_store_window.gui +++ b/src/interface/az_jh_store_window.gui @@ -21,7 +21,7 @@ guiTypes = { iconType ={ name ="jh_store_tittle_bg" spriteType = "GFX_jh_store_tittle" - moveable = yes + #moveable = yes position = { x= 5 y = 1 } Orientation = "UPPER_LEFT" } diff --git a/src/interface/az_pt_window.gui b/src/interface/az_pt_window.gui index 6f96d19..126749e 100755 --- a/src/interface/az_pt_window.gui +++ b/src/interface/az_pt_window.gui @@ -42,7 +42,7 @@ guiTypes = { buttonFont = "hoi_24header" Orientation = UPPER_LEFT clicksound = click_close - } + } buttonType = { name = "az_pt_goto_3" position = { x = 170 y = 5 } @@ -152,7 +152,7 @@ guiTypes = { name = "az_pt_page" position = { x = -90 y = 45 } Orientation = UPPER_RIGHT - font = "hoi_24b" + font = "hoi_20b" text = "az_pt_page" maxWidth = 50 maxHeight = 50 @@ -167,7 +167,7 @@ guiTypes = { name = "az_PT_1" position = { x= 110 y = 70 } spriteType = "GFX_az_PT_1" - Orientation = UPPER_CENTER + Orientation = CENTER } iconType = { @@ -418,7 +418,7 @@ guiTypes = { } } containerWindowType = { - name = "az_pt_1_014_f" + name = "az_pt_1_014_f" Orientation = CENTER position = { x = 225 y = -10 } buttonType = { diff --git a/src/interface/az_start_window.gui b/src/interface/az_start_window.gui index 163785e..7e04737 100755 --- a/src/interface/az_start_window.gui +++ b/src/interface/az_start_window.gui @@ -360,7 +360,7 @@ guiTypes = { quadTextureSprite ="GFX_az_smallbutton1" buttonFont = "hoi_16mbs" buttonText = "modoption_btn_2" - Orientation = UPPER_LEF + Orientation = UPPER_LEFT clicksound = click_close } @@ -424,7 +424,7 @@ guiTypes = { quadTextureSprite ="GFX_az_smallbutton1" buttonFont = "hoi_16mbs" buttonText = "modoption_btn_4" - Orientation = UPPER_LEF + Orientation = UPPER_LEFT clicksound = click_close } diff --git a/src/interface/az_xmp_window.gui b/src/interface/az_xmp_window.gui index bb9693e..d194c22 100755 --- a/src/interface/az_xmp_window.gui +++ b/src/interface/az_xmp_window.gui @@ -46,7 +46,7 @@ guiTypes = { name ="az_xmp_main_window_picture" spriteType = "GFX_az_xmp_picture_1" position = { x= 0 y = 60 } - Orientation = "UPPER" + Orientation = "CENTER" pdx_tooltip = "buzhihuo_icon_tooltip" } @@ -106,14 +106,14 @@ guiTypes = { name ="az_xmp_zuanshi_icon1" spriteType = "GFX_az_misc_icon_1" position = { x = 610 y = 400 } - Orientation = "UPPER_CENTER" + Orientation = "CENTER" } iconType ={ name ="az_xmp_zuanshi_icon2" spriteType = "GFX_az_misc_icon_2" position = { x = 10 y = 400 } - Orientation = "UPPER_CENTER" + Orientation = "CENTER" } instantTextboxType = { diff --git a/src/portraits/00_portraits.txt b/src/portraits/00_portraits.txt index dfe1e24..ffc3989 100755 --- a/src/portraits/00_portraits.txt +++ b/src/portraits/00_portraits.txt @@ -128,7 +128,7 @@ continent = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -215,7 +215,7 @@ continent = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -301,7 +301,7 @@ continent = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -388,7 +388,7 @@ continent = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -475,7 +475,7 @@ continent = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -563,7 +563,7 @@ continent = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -649,7 +649,7 @@ continent = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -734,7 +734,7 @@ GER = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -819,7 +819,7 @@ ENG = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -904,7 +904,7 @@ AST = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -989,7 +989,7 @@ CAN = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -1074,7 +1074,7 @@ NZL = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -1159,7 +1159,7 @@ FRA = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -1244,7 +1244,7 @@ ITA = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -1329,7 +1329,7 @@ JAP = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -1414,7 +1414,7 @@ SOV = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -1499,7 +1499,7 @@ USA = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -1584,7 +1584,7 @@ SAF = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -1669,7 +1669,7 @@ SAF_COM = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -1754,7 +1754,7 @@ RAJ_UK = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -1839,7 +1839,7 @@ MAL_UK = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -2053,7 +2053,7 @@ MEX = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -2138,7 +2138,7 @@ INS_HOL = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -2223,7 +2223,7 @@ HOL = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -2309,7 +2309,7 @@ TUR = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -2394,7 +2394,7 @@ GEO = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -2479,7 +2479,7 @@ BAH = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } @@ -2564,7 +2564,7 @@ BLZ = { "gfx/leaders/Europe/Portrait_Europe_Generic_navy_18.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_19.dds" "gfx/leaders/Europe/Portrait_Europe_Generic_navy_20.dds" - "gfx/leaders/Europe/Portrait_Europe_Generic_navy_21.dds" + } } diff --git a/src/portraits/027_lar_portraits.txt b/src/portraits/027_lar_portraits.txt index 1737d9e..33be71f 100755 --- a/src/portraits/027_lar_portraits.txt +++ b/src/portraits/027_lar_portraits.txt @@ -116,6 +116,7 @@ continent = { "gfx/leaders/Europe/portrait_europe_generic_operative_female_25.dds" "gfx/leaders/Europe/portrait_europe_generic_operative_female_26.dds" } + } } continent = {