2025-08-04 04:03:05

This commit is contained in:
actions[bot]
2025-08-04 04:03:05 +00:00
parent c70d9b827a
commit 4d93d252ed
9 changed files with 758 additions and 185 deletions

View File

@@ -15,17 +15,17 @@ ENG_protect_home_waters = {
ai_strategy = {
type = strike_force_home_base
id = 18
value = 800
value = 1000
}
ai_strategy = {
type = strike_force_home_base
id = 16
value = 100
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 18
value = -300
value = -1000
}
}
@@ -45,18 +45,23 @@ ENG_secure_mediterranean = {
ai_strategy = {
type = strike_force_home_base
id = 29
value = 100
value = 150
}
ai_strategy = {
type = strike_force_home_base
id = 68
value = 20
value = 100
}
ai_strategy = {
type = strike_force_home_base
id = 69
value = 200
}
ai_strategy = {
type = naval_avoid_region
id = 168
value = 800
}
}
ENG_avoid_pacific = {
@@ -66,19 +71,20 @@ ENG_avoid_pacific = {
}
enable = {
has_war_with = CHY
has_war_with = TIX
has_war_with = SAD
ITA = { has_navy_size = { size > 99 } }
enable_vnr_naval_ai = yes
}
abort_when_not_enabled = yes
ai_strategy = {
type = naval_avoid_region
id = 75
value = 100
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 72
value = 20
value = 50
}
ai_strategy = {
type = naval_avoid_region
@@ -87,6 +93,55 @@ ENG_avoid_pacific = {
}
}
ENG_reinforce_pacific = {
allowed = {
has_dlc = "Man the Guns"
original_tag = HUJ
}
enable = {
has_war_with = CHY
OR = {
NOT = { has_war_with = SAD }
ITA = { has_navy_size = { size < 100 } }
}
336 = {
is_controlled_by_ROOT_or_ally = yes
}
enable_vnr_naval_ai = yes
}
abort_when_not_enabled = yes
ai_strategy = {
type = strike_force_home_base
id = 72
value = 1000
}
ai_strategy = {
type = strike_force_home_base
id = 91
value = 10
}
ai_strategy = {
type = strike_force_home_base
id = 92
value = 10
}
ai_strategy = {
type = strike_force_home_base
id = 93
value = 10
}
ai_strategy = {
type = strike_force_home_base
id = 84
value = 300
}
ai_strategy = {
type = strike_force_home_base
id = 83
value = 300
}
}
### CHY ###
JAP_destroy_china_navy_quick = {
allowed = {
@@ -102,7 +157,7 @@ JAP_destroy_china_navy_quick = {
ai_strategy = {
type = strike_force_home_base
id = 75
value = 10
value = 100
}
ai_strategy = {
type = strike_force_home_base
@@ -114,6 +169,22 @@ JAP_destroy_china_navy_quick = {
id = 77
value = 200
}
ai_strategy = {
type = naval_convoy_raid_region
id = 75
value = 100
}
ai_strategy = {
type = naval_convoy_raid_region
id = 76
value = 200
}
ai_strategy = {
type = naval_convoy_raid_region
id = 77
value = 200
}
}
JAP_pacific_war_naval_stage_one = {
@@ -221,8 +292,11 @@ USA_pacific_war_naval_avoid_first = {
original_tag = BYG
}
enable = {
has_war_with = CHY
date < 1943.1.1
OR = {
has_war_with = CHY
threat > 0.7
}
date < 1942.5.1
naval_strength_ratio = {
tag = CHY
ratio < 5
@@ -233,27 +307,32 @@ USA_pacific_war_naval_avoid_first = {
ai_strategy = {
type = naval_avoid_region
id = 75
value = 100
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 76
value = 100
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 77
value = 100
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 78
value = 100
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 79
value = 100
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 80
value = 1000
}
ai_strategy = {
type = naval_avoid_region
@@ -263,31 +342,84 @@ USA_pacific_war_naval_avoid_first = {
ai_strategy = {
type = naval_avoid_region
id = 90
value = 100
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 94
value = 100
}
ai_strategy = {
type = naval_avoid_region
id = 97
value = 100
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 177
value = 100
value = 1000
}
ai_strategy = {
type = strike_force_home_base
id = 95
value = 500
}
ai_strategy = {
type = naval_avoid_region
id = 94
value = 100
type = strike_force_home_base
id = 97
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 105
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 180
value = 500
}
}
USA_pacific_war_naval_counterattack = {
USA_do_not_waste_fleet_in_north_pacific = {
allowed = {
has_dlc = "Man the Guns"
original_tag = BYG
}
enable = {
has_war_with = CHY
enable_vnr_naval_ai = yes
}
abort_when_not_enabled = yes
ai_strategy = {
type = strike_force_home_base
id = 87
value = -1000
}
ai_strategy = {
type = strike_force_home_base
id = 88
value = -1000
}
ai_strategy = {
type = strike_force_home_base
id = 96
value = -1000
}
ai_strategy = {
type = strike_force_home_base
id = 176
value = -1000
}
ai_strategy = {
type = strike_force_home_base
id = 114
value = -1000
}
ai_strategy = {
type = strike_force_home_base
id = 171
value = -1000
}
}
USA_pacific_war_naval_counterattack_1 = {
allowed = {
has_dlc = "Man the Guns"
original_tag = BYG
@@ -295,55 +427,341 @@ USA_pacific_war_naval_counterattack = {
enable = {
has_war_with = CHY
OR = {
date > 1942.12.31
date > 1942.4.30
naval_strength_ratio = {
tag = CHY
ratio > 5
}
}
NOT = {
controls_state = 633
controls_state = 684
}
enable_vnr_naval_ai = yes
}
abort_when_not_enabled = yes
ai_strategy = {
type = strike_force_home_base
id = 75
value = 50
}
ai_strategy = {
type = strike_force_home_base
id = 78
value = 50
}
ai_strategy = {
type = strike_force_home_base
id = 94
value = 50
}
ai_strategy = {
type = strike_force_home_base
id = 84
value = 150
}
type = naval_avoid_region
id = 75
value = 1000
}
ai_strategy = {
type = strike_force_home_base
id = 95
value = 200
}
ai_strategy = {
type = strike_force_home_base
id = 97
value = 200
}
ai_strategy = {
type = strike_force_home_base
id = 180
value = 100
}
type = naval_avoid_region
id = 76
value = 1000
}
ai_strategy = {
type = strike_force_home_base
id = 83
value = 130
type = naval_avoid_region
id = 77
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 78
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 79
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 80
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 90
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 94
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 177
value = 1000
}
ai_strategy = {
type = strike_force_home_base
id = 84
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 95
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 97
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 105
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 180
value = 500
}
ai_strategy = {
type = invade
id = JAP
value = 500
}
ai_strategy = {
type = naval_invasion_focus
value = 1000
}
ai_strategy = {
type = naval_convoy_raid_region
id = 94
value = 300
}
ai_strategy = {
type = naval_convoy_raid_region
id = 97
value = 300
}
ai_strategy = {
type = naval_convoy_raid_region
id = 84
value = 300
}
ai_strategy = {
type = invasion_unit_request
state = 633
value = 500
}
ai_strategy = {
type = invasion_unit_request
state = 684
value = 500
}
}
USA_pacific_war_naval_counterattack_2 = {
allowed = {
has_dlc = "Man the Guns"
original_tag = BYG
}
enable = {
has_war_with = CHY
OR = {
date > 1942.4.30
naval_strength_ratio = {
tag = CHY
ratio > 5
}
}
controls_state = 633
controls_state = 684
NOT = {
controls_state = 645
}
enable_vnr_naval_ai = yes
}
abort_when_not_enabled = yes
ai_strategy = {
type = naval_avoid_region
id = 75
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 76
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 77
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 79
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 80
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 90
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 177
value = 1000
}
ai_strategy = {
type = strike_force_home_base
id = 84
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 95
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 97
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 94
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 78
value = 1000
}
ai_strategy = {
type = invade
id = JAP
value = 1000
}
ai_strategy = {
type = naval_invasion_focus
value = 1000
}
ai_strategy = {
type = naval_convoy_raid_region
id = 94
value = 300
}
ai_strategy = {
type = naval_convoy_raid_region
id = 97
value = 300
}
ai_strategy = {
type = naval_convoy_raid_region
id = 84
value = 300
}
ai_strategy = {
type = naval_convoy_raid_region
id = 78
value = 300
}
ai_strategy = {
type = naval_convoy_raid_region
id = 76
value = 300
}
ai_strategy = {
type = invasion_unit_request
state = 645
value = 500
}
}
USA_pacific_war_naval_counterattack_3 = {
allowed = {
has_dlc = "Man the Guns"
original_tag = BYG
}
enable = {
has_war_with = CHY
OR = {
date > 1942.4.30
naval_strength_ratio = {
tag = CHY
ratio > 5
}
}
controls_state = 633
controls_state = 684
controls_state = 645
enable_vnr_naval_ai = yes
}
abort_when_not_enabled = yes
ai_strategy = {
type = naval_avoid_region
id = 77
value = 1000
}
ai_strategy = {
type = naval_avoid_region
id = 79
value = 1000
}
ai_strategy = {
type = strike_force_home_base
id = 75
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 80
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 76
value = 1000
}
ai_strategy = {
type = strike_force_home_base
id = 94
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 78
value = 500
}
ai_strategy = {
type = invade
id = JAP
value = 1000
}
ai_strategy = {
type = naval_invasion_focus
value = 1000
}
ai_strategy = {
type = naval_convoy_raid_region
id = 78
value = 300
}
ai_strategy = {
type = naval_convoy_raid_region
id = 76
value = 300
}
ai_strategy = {
type = naval_convoy_raid_region
id = 90
value = 300
}
ai_strategy = {
type = invasion_unit_request
state = 526
value = 500
}
}
### SAD ###
@@ -353,41 +771,61 @@ ITA_avoid_mediterranean = {
original_tag = SAD
}
enable = {
has_war_with = HUJ
has_navy_size = { size < 100 }
OR = {
has_war_with = HUJ
threat > 0.4
}
has_navy_size = { size < 250 }
enable_vnr_naval_ai = yes
}
abort_when_not_enabled = yes
ai_strategy = {
type = strike_force_home_base
id = 29
value = -100
value = -1000
}
ai_strategy = {
type = strike_force_home_base
id = 68
value = -100
value = -1000
}
ai_strategy = {
type = strike_force_home_base
id = 69
value = -100
}
ai_strategy = {
type = naval_avoid_region
id = 29
value = 100
}
ai_strategy = {
type = naval_avoid_region
id = 68
value = 100
}
ai_strategy = {
type = naval_avoid_region
id = 69
value = 100
value = -1000
}
ai_strategy = {
type = strike_force_home_base
id = 168
value = 500
}
ai_strategy = {
type = strike_force_home_base
id = 169
value = 500
}
ai_strategy = {
type = naval_convoy_raid_region
id = 68
value = 100
}
ai_strategy = {
type = naval_convoy_raid_region
id = 69
value = 100
}
ai_strategy = {
type = naval_convoy_raid_region
id = 29
value = 100
}
ai_strategy = {
type = naval_avoid_region
id = 29
value = 800
}
}
### TIX ###