BYG_start_tianjiang = { allowed = { original_tag = BYG } enable = { has_global_flag = MOD_azurlane_tianjiangjianniang NOT = { has_idea = TY_dingzhenai } } abort_when_not_enabled = yes ai_strategy = { type = role_ratio #模板倾向 id = infantry value = 100 } ai_strategy = { type = template_prio #修改模板倾向 id = infantry value = 100 } ai_strategy = { type = role_ratio #模板倾向 id = armor value = 800 } ai_strategy = { type = template_prio #修改模板倾向 id = armor value = 800 } ai_strategy = { type = role_ratio #模板倾向 id = marines value = 0 } ai_strategy = { type = template_prio #修改模板倾向 id = marines value = 800 } ai_strategy = { type = equipment_production_min_factories id = train value = 1 } ai_strategy = { type = ignore_army_incompetence value = 10000 } ai_strategy = { type = force_build_armies value = 100 } ai_strategy = { type = equipment_stockpile_surplus_ratio value = 5 } } BYG_start_sairen = { allowed = { original_tag = BYG } enable = { has_global_flag = MOD_azurlane_sairenzhizai NOT = { has_idea = TY_dingzhenai } } abort_when_not_enabled = yes ai_strategy = { type = role_ratio #模板倾向 id = infantry value = 100 } ai_strategy = { type = template_prio #修改模板倾向 id = infantry value = 100 } ai_strategy = { type = role_ratio #模板倾向 id = armor value = 800 } ai_strategy = { type = template_prio #修改模板倾向 id = armor value = 800 } ai_strategy = { type = role_ratio #模板倾向 id = marines value = 400 } ai_strategy = { type = template_prio #修改模板倾向 id = marines value = 800 } ai_strategy = { type = equipment_production_factor id = cv_fighter value = 5 } ai_strategy = { type = equipment_production_factor id = cv_naval_bomber value = 5 } ai_strategy = { type = equipment_production_min_factories id = train value = 1 } } BYG_air = { allowed = { original_tag = BYG } enable = { always = yes } abort_when_not_enabled = yes ai_strategy = { type = unit_ratio id = fighter value = 150 } ai_strategy = { type = unit_ratio id = cas value = 1 } ai_strategy = { type = unit_ratio id = tactical_bomber value = 0 } ai_strategy = { type = unit_ratio id = strategic_bomber value = 1 } ai_strategy = { type = unit_ratio id = naval_bomber value = 1 } ai_strategy = { type = equipment_production_factor id = cv_fighter value = 5 } ai_strategy = { type = equipment_production_factor id = cv_naval_bomber value = 5 } } BYG_naval_role_ratios_historical = { allowed = { original_tag = BYG } enable = { has_dlc = "Man the Guns" } abort_when_not_enabled = yes ai_strategy = { type = role_ratio id = naval_capital_bb value = 10 } ai_strategy = { type = role_ratio id = naval_capital_bc value = -100 } ai_strategy = { type = role_ratio id = naval_carrier value = 10 } ai_strategy = { type = role_ratio id = naval_submarine value = -10 } ai_strategy = { type = role_ratio id = naval_screen value = 150 } ai_strategy = { type = role_ratio id = naval_cruiser_light value = 30 } ai_strategy = { type = role_ratio id = naval_cruiser_heavy value = -15 } ai_strategy = { type = unit_ratio id = cv_naval_bomber value = 1 } ai_strategy = { type = unit_ratio id = cv_fighter value = 1 } ai_strategy = { type = equipment_production_factor id = cv_fighter value = 1 } ai_strategy = { type = equipment_production_factor id = cv_naval_bomber value = 1 } ai_strategy = { type = unit_ratio id = convoy value = 1 } ai_strategy = { type = equipment_production_min_factories id = convoy value = 1 } } BYG_war_with_tix = { allowed = { original_tag = BYG } enable = { has_war_with = TIX } abort_when_not_enabled = yes ai_strategy = { type = invade #入侵 id = "TIX" value = 100 } ai_strategy = { type = conquer #征服 id = "TIX" value = 100 } ai_strategy = { type = invasion_unit_request tag = TIX value = 10 } ai_strategy = { type = front_unit_request #前线部队 tag = TIX value = 200 # lets put more units, should be safe } } BYG_war_with_HUJ = { allowed = { original_tag = BYG } enable = { has_war_with = HUJ } abort_when_not_enabled = yes ai_strategy = { type = invade #入侵 id = "HUJ" value = 100 } ai_strategy = { type = conquer #征服 id = "HUJ" value = 100 } ai_strategy = { type = invasion_unit_request tag = HUJ value = 10 } ai_strategy = { type = front_unit_request #前线部队 tag = HUJ value = 200 # lets put more units, should be safe } } BYG_war_with_YUW = { allowed = { original_tag = BYG } enable = { has_war_with = YUW } abort_when_not_enabled = yes ai_strategy = { type = invade #入侵 id = "YUW" value = 100 } ai_strategy = { type = conquer #征服 id = "YUW" value = 100 } ai_strategy = { type = invasion_unit_request tag = YUW value = 10 } ai_strategy = { type = front_unit_request #前线部队 tag = YUW value = 200 # lets put more units, should be safe } } BYG_war_with_CHY = { allowed = { original_tag = BYG } enable = { has_war_with = CHY } abort_when_not_enabled = yes ai_strategy = { type = invade #入侵 id = "CHY" value = 100 } ai_strategy = { type = conquer #征服 id = "CHY" value = 100 } ai_strategy = { type = invasion_unit_request tag = CHY value = 10 } ai_strategy = { type = front_unit_request #前线部队 tag = CHY value = 30 # lets put more units, should be safe } } BYG_war_with_BFL = { allowed = { original_tag = BYG } enable = { has_war_with = BFL } abort_when_not_enabled = yes ai_strategy = { type = invade #入侵 id = "BFL" value = 100 } ai_strategy = { type = conquer #征服 id = "BFL" value = 100 } ai_strategy = { type = invasion_unit_request tag = BFL value = 10 } ai_strategy = { type = front_unit_request #前线部队 tag = BFL value = 200 # lets put more units, should be safe } } BYG_war_with_USA = { allowed = { original_tag = BYG } enable = { has_war_with = USA } abort_when_not_enabled = yes ai_strategy = { type = invade #入侵 id = "USA" value = 100 } ai_strategy = { type = conquer #征服 id = "USA" value = 100 } ai_strategy = { type = invasion_unit_request tag = USA value = 10 } ai_strategy = { type = front_unit_request #前线部队 tag = USA value = 200 # lets put more units, should be safe } } BYG_war_with_USB = { allowed = { original_tag = BYG } enable = { has_war_with = USB } abort_when_not_enabled = yes ai_strategy = { type = invade #入侵 id = "USB" value = 100 } ai_strategy = { type = conquer #征服 id = "USB" value = 100 } ai_strategy = { type = invasion_unit_request tag = USB value = 10 } ai_strategy = { type = front_unit_request #前线部队 tag = USB value = 200 # lets put more units, should be safe } } BYG_war_with_CSA = { allowed = { original_tag = BYG } enable = { has_war_with = CSA } abort_when_not_enabled = yes ai_strategy = { type = invade #入侵 id = "CSA" value = 100 } ai_strategy = { type = conquer #征服 id = "CSA" value = 100 } ai_strategy = { type = invasion_unit_request tag = CSA value = 10 } ai_strategy = { type = front_unit_request #前线部队 tag = CSA value = 200 # lets put more units, should be safe } } BYG_war_with_SAD = { allowed = { original_tag = BYG } enable = { has_war_with = SAD } abort_when_not_enabled = yes ai_strategy = { type = invade #入侵 id = "SAD" value = 100 } ai_strategy = { type = conquer #征服 id = "SAD" value = 100 } ai_strategy = { type = invasion_unit_request tag = SAD value = 10 } ai_strategy = { type = front_unit_request #前线部队 tag = SAD value = 200 # lets put more units, should be safe } } BYG_war_with_DOH = { allowed = { original_tag = BYG } enable = { has_war_with = DOH } abort_when_not_enabled = yes ai_strategy = { type = invade #入侵 id = "DOH" value = 100 } ai_strategy = { type = conquer #征服 id = "DOH" value = 100 } ai_strategy = { type = invasion_unit_request tag = DOH value = 10 } ai_strategy = { type = front_unit_request #前线部队 tag = DOH value = 200 # lets put more units, should be safe } } BYG_HUJ_zhichiyuanwei = { allowed = { OR = { original_tag = BYG original_tag = HUJ } } enable = { has_war = no NOT = { has_government = fascism } NOT = { is_in_faction_with = TIX } TIX = { has_war_with = YUW has_government = fascism } } abort_when_not_enabled = yes ai_strategy = { type = support id = "YUW" value = 300 } } BYG_save_the_aussies = { allowed = { original_tag = BYG } enable = { has_government = democratic is_in_faction = no has_war = no } abort = { OR = { CHY = { NOT = { has_government = fascism } } is_in_faction_with = CHY } } ai_strategy = { type = contain id = "CHY" value = 200 } } BYG_democracy_on_CHY = { allowed = { original_tag = BYG } enable = { has_war_with = CHY } ai_strategy = { type = strike_force_home_base id = 105 # perl harbor } } BYG_help_waters_around_TIX = { allowed = { original_tag = BYG } enable = { is_in_faction_with = HUJ NOT = { has_war_with = CHY } has_war_with = TIX HUJ = { has_war_with = TIX } } abort = { TIX = { has_capitulated = yes } } ai_strategy = { type = strike_force_home_base id = 18 # channel } } BYG_gang_up_TIX_with_ENG = { allowed = { original_tag = BYG } enable = { tag = BYG date > 1940.6.6 } # help fronts in europe ai_strategy = { type = force_defend_ally_borders value = 1000 target = europe } } # USA should put some buffer units in africa and ENG to help with invasions BYG_unit_buffer_for_europe = { allowed = { original_tag = BYG } enable = { date > 1940.1.1 is_in_faction_with = HUJ has_war_with = TIX } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers order_id = 2 # south england states = { 125 126 127 128 129 338 123 122 } ratio = 0.20 area = europe subtract_invasions_from_need = no } ai_strategy = { type = put_unit_buffers order_id = 2 # spain states = { 171 180 112 179 795 169 173 167 } ratio = 0.1 area = europe subtract_invasions_from_need = no } } BYG_naval_invasions_please = { allowed = { original_tag = BYG } ai_strategy = { type = invasion_unit_request tag = TIX value = 40 } ai_strategy = { type = invasion_unit_request tag = CHY value = 20 } } BYG_dont_go_DOH = { #我加这个倾向是防止白鹰进东煌阵营的,不要瞎几把删 allowed = { original_tag = BYG } enable = { country_exists = DOH DOH = { has_government = fascism } } abort = { NOT = { DOH = { has_government = fascism } } } ai_strategy = { type = antagonize id = "DOH" value = 200 } } BYG_wants_civ = { allowed = { original_tag = BYG } enable = { date < 1941.1.1 } abort_when_not_enabled = yes ai_strategy = { type = building_target id = arms_factory value = 10000 } } BYG_place_for_build_factory = { allowed = { original_tag = BYG } enable = { always = yes } abort = { always = no } ai_strategy = { type = factory_build_score_factor target = 261 value = 500 } ai_strategy = { type = factory_build_score_factor target = 360 value = 500 } ai_strategy = { type = factory_build_score_factor target = 358 value = 500 } ai_strategy = { type = factory_build_score_factor target = 357 value = 500 } ai_strategy = { type = factory_build_score_factor target = 359 value = 500 } ai_strategy = { type = factory_build_score_factor target = 361 value = 500 } ai_strategy = { type = factory_build_score_factor target = 385 value = 500 } ai_strategy = { type = factory_build_score_factor target = 395 value = 500 } ai_strategy = { type = factory_build_score_factor target = 378 value = 400 } ai_strategy = { type = factory_build_score_factor target = 386 value = 400 } ai_strategy = { type = factory_build_score_factor target = 375 value = 400 } ai_strategy = { type = factory_build_score_factor target = 371 value = 400 } ai_strategy = { type = factory_build_score_factor target = 367 value = 400 } ai_strategy = { type = factory_build_score_factor target = 365 value = 400 } ai_strategy = { type = factory_build_score_factor target = 364 value = 400 } ai_strategy = { type = factory_build_score_factor target = 363 value = 400 } ai_strategy = { type = factory_build_score_factor target = 362 value = 400 } ai_strategy = { type = factory_build_score_factor target = 816 value = 400 } ai_strategy = { type = factory_build_score_factor target = 369 value = 400 } ai_strategy = { type = factory_build_score_factor target = 368 value = 400 } ai_strategy = { type = factory_build_score_factor target = 396 value = 400 } ai_strategy = { type = factory_build_score_factor target = 373 value = 400 } ai_strategy = { type = factory_build_score_factor target = 392 value = 400 } ai_strategy = { type = factory_build_score_factor target = 391 value = 400 } ai_strategy = { type = factory_build_score_factor target = 394 value = 400 } ai_strategy = { type = factory_build_score_factor target = 393 value = 400 } ai_strategy = { type = factory_build_score_factor target = 366 value = 300 } ai_strategy = { type = factory_build_score_factor target = 370 value = 300 } ai_strategy = { type = factory_build_score_factor target = 372 value = 300 } ai_strategy = { type = factory_build_score_factor target = 374 value = 300 } ai_strategy = { type = factory_build_score_factor target = 383 value = 300 } ai_strategy = { type = factory_build_score_factor target = 384 value = 300 } ai_strategy = { type = factory_build_score_factor target = 390 value = 300 } ai_strategy = { type = factory_build_score_factor target = 389 value = 300 } ai_strategy = { type = factory_build_score_factor target = 388 value = 300 } ai_strategy = { type = factory_build_score_factor target = 381 value = 300 } ai_strategy = { type = factory_build_score_factor target = 387 value = 300 } ai_strategy = { type = factory_build_score_factor target = 382 value = 300 } ai_strategy = { type = factory_build_score_factor target = 380 value = 300 } ai_strategy = { type = factory_build_score_factor target = 379 value = 300 } ai_strategy = { type = factory_build_score_factor target = 377 value = 300 } ai_strategy = { type = factory_build_score_factor target = 376 value = 300 } } BYG_protect_asia_ore = { allowed = { original_tag = BYG } enable = { has_war_with = CHY 361 = { is_fully_controlled_by = ROOT } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers # ratio of total armeis in country to be buffered ratio = 0.1 # you can specify an order id. ratio of same orders ids will be share same ratio order_id = 1 # states to put garrison orders (if no state is friendly, strat is invalid) states = { 629 631 630 632 638 } # ai areas that the orders will use these buffers in area = asia } }