2024-11-25 23:44:32

This commit is contained in:
actions[bot]
2024-11-25 23:44:32 +00:00
parent 4c29c4dfbb
commit d2489c4908
48 changed files with 11098 additions and 15112 deletions

View File

@@ -160,8 +160,6 @@ naval_unit_role_ratios_minors_coastal = {
tag = YUW
tag = BYG
tag = BFL
tag = DOH
tag = DH1
}
}
enable = {
@@ -196,8 +194,6 @@ naval_unit_role_ratios_minors_defensive = {
tag = YUW
tag = BYG
tag = BFL
tag = DOH
tag = DH1
}
}
enable = {
@@ -244,8 +240,6 @@ naval_unit_role_ratios_minors_offensive = {
tag = YUW
tag = BYG
tag = BFL
tag = DOH
tag = DH1
}
}
enable = {
@@ -298,8 +292,6 @@ naval_unit_role_ratios_minors_global = {
tag = YUW
tag = BYG
tag = BFL
tag = DOH
tag = DH1
}
}
enable = {
@@ -346,7 +338,7 @@ naval_unit_role_ratios_minors_global = {
}
}
### GER ###
### TIX ###
naval_unit_role_ratios_GER_prewar_early = {
allowed = {
@@ -429,7 +421,7 @@ naval_unit_role_ratios_GER_prewar_late = {
ai_strategy = {
type = role_ratio
id = vnr_naval_submarine
value = 200
value = 400
}
}
@@ -483,7 +475,7 @@ naval_unit_role_ratios_GER_atwar_many_shipyard = {
ai_strategy = {
type = role_ratio
id = vnr_naval_submarine
value = 80
value = 180
}
ai_strategy = {
@@ -533,7 +525,7 @@ naval_unit_role_ratios_GER_atwar_knock_USA = {
ai_strategy = {
type = role_ratio
id = vnr_naval_submarine
value = 80
value = 120
}
ai_strategy = {
@@ -681,7 +673,7 @@ naval_unit_role_ratios_GER_late_peace = {
value = 20
}
}
### ENG ###
### HUJ ###
naval_unit_role_ratios_ENG_prewar_early = {
allowed = {
@@ -774,7 +766,7 @@ naval_unit_role_ratios_ENG_prewar_late = {
ai_strategy = {
type = role_ratio
id = vnr_naval_screen_leader
value = 20
value = 10
}
ai_strategy = {
@@ -808,13 +800,13 @@ naval_unit_role_ratios_ENG_atwar = {
ai_strategy = {
type = role_ratio
id = vnr_naval_capital_bb
value = 20
value = 30
}
ai_strategy = {
type = role_ratio
id = vnr_naval_carrier
value = 25
value = 35
}
ai_strategy = {
@@ -877,7 +869,7 @@ naval_unit_role_ratios_ENG_late_peace = {
}
}
### FRA ###
### YUW ###
naval_unit_role_ratios_FRA_prewar = {
allowed = {
@@ -1056,7 +1048,7 @@ naval_unit_role_ratios_FRA_late_peace = {
}
### SOV ###
### BFL ###
naval_unit_role_ratios_SOV_need_to_watch_germany_peace = {
allowed = {
@@ -1100,7 +1092,7 @@ naval_unit_role_ratios_SOV_no_need_to_watch_germany_peace = {
enable = {
OR = {
NOT = { country_exists = TIX }
is_ally_with = TIX
is_ally_with = GER
date > 1941.12.31
}
has_war_with_major = no
@@ -1232,7 +1224,7 @@ naval_unit_role_ratios_SOV_atwar_with_major = {
}
}
### JAP ###
### CHY ###
naval_unit_role_ratios_JAP_prewar_build_carriers = {
allowed = {
@@ -1342,12 +1334,10 @@ naval_unit_role_ratios_JAP_atwar = {
tag = CHY
}
enable = {
OR = {
date > 1939.5.31
any_enemy_country = {
is_literally_china = no
is_major = yes
}
date > 1939.5.31
any_enemy_country = {
is_literally_china = no
is_major = yes
}
}
abort_when_not_enabled = yes
@@ -1355,7 +1345,7 @@ naval_unit_role_ratios_JAP_atwar = {
ai_strategy = {
type = role_ratio
id = vnr_naval_submarine
value = 20
value = 90
}
ai_strategy = {
type = role_ratio
@@ -1384,7 +1374,7 @@ naval_unit_role_ratios_JAP_atwar = {
}
ai_strategy = {
type = dockyard_to_military_factory_ratio
value = 70
value = 60
}
}
@@ -1394,40 +1384,51 @@ naval_unit_role_ratios_JAP_late_peace = {
tag = CHY
}
enable = {
date > 1942.1.1
has_war_with_major = no
date > 1939.5.31
OR = {
has_war_with_major = no
any_enemy_country = {
is_literally_china = yes
is_major = yes
}
}
}
abort_when_not_enabled = yes
ai_strategy = {
type = role_ratio
id = vnr_naval_screen
value = 200
id = vnr_naval_submarine
value = 60
}
ai_strategy = {
type = role_ratio
id = vnr_naval_screen_cruiser
value = 10
id = vnr_naval_screen
value = 250
}
ai_strategy = {
type = role_ratio
id = vnr_naval_cruiser_light
value = 65
}
ai_strategy = {
type = role_ratio
id = vnr_naval_cruiser_medium
value = 30
}
ai_strategy = {
type = role_ratio
id = vnr_naval_cruiser_large
value = 30
}
ai_strategy = {
type = role_ratio
id = vnr_naval_capital_bb
value = 10
}
ai_strategy = {
type = role_ratio
id = vnr_naval_capital_bb
value = 15
}
ai_strategy = {
type = role_ratio
id = vnr_naval_carrier
value = 20
value = 25
}
ai_strategy = {
type = dockyard_to_military_factory_ratio
@@ -1435,7 +1436,7 @@ naval_unit_role_ratios_JAP_late_peace = {
}
}
### USA ###
### BYG ###
naval_unit_role_ratios_USA_great_depression = {
allowed = {
@@ -1463,7 +1464,7 @@ naval_unit_role_ratios_USA_great_depression = {
ai_strategy = {
type = role_ratio
id = vnr_naval_submarine
value = 25
value = 45
}
ai_strategy = {
@@ -1505,7 +1506,7 @@ naval_unit_role_ratios_USA_go_to_war = {
ai_strategy = {
type = role_ratio
id = vnr_naval_submarine
value = 40
value = 55
}
ai_strategy = {
type = role_ratio
@@ -1533,7 +1534,7 @@ naval_unit_role_ratios_USA_go_to_war = {
ai_strategy = {
type = role_ratio
id = vnr_naval_capital_bb
value = 40
value = 30
}
ai_strategy = {
@@ -1582,13 +1583,13 @@ naval_unit_role_ratios_USA_atwar = {
ai_strategy = {
type = role_ratio
id = vnr_naval_capital_bb
value = 50
value = 40
}
ai_strategy = {
type = role_ratio
id = vnr_naval_carrier
value = 60
value = 50
}
ai_strategy = {
@@ -1605,7 +1606,7 @@ naval_unit_role_ratios_ITA_prewar_build_battleships = {
enable = {
date < 1941.1.1
has_war_with_major = no
has_navy_size = { size < 6 type = capital_ship archetype = ship_hull_heavy }
has_navy_size = { size < 8 type = capital_ship archetype = ship_hull_heavy }
}
abort_when_not_enabled = yes
@@ -1650,14 +1651,14 @@ naval_unit_role_ratios_ITA_prewar_enough_battleships = {
enable = {
date < 1941.1.1
has_war_with_major = no
has_navy_size = { size > 5 type = capital_ship archetype = ship_hull_heavy }
has_navy_size = { size > 7 type = capital_ship archetype = ship_hull_heavy }
}
abort_when_not_enabled = yes
ai_strategy = {
type = role_ratio
id = vnr_naval_submarine
value = 40
value = 140
}
ai_strategy = {
type = role_ratio
@@ -1753,7 +1754,7 @@ naval_unit_role_ratios_ITA_atwar_with_major = {
ai_strategy = {
type = role_ratio
id = vnr_naval_submarine
value = 40
value = 70
}
ai_strategy = {
type = role_ratio
@@ -1785,6 +1786,11 @@ naval_unit_role_ratios_ITA_atwar_with_major = {
id = vnr_naval_capital_bb
value = 15
}
ai_strategy = {
type = role_ratio
id = vnr_naval_carrier
value = 10
}
ai_strategy = {
type = dockyard_to_military_factory_ratio
value = 50
@@ -1844,12 +1850,12 @@ naval_unit_role_ratios_ITA_late_peace = {
# allowed = {
# has_dlc = "Man the Guns"
# OR = {
# tag = GER
# tag = FRA
# tag = TIX
# tag = YUW
# tag = NFA
# tag = ENG
# tag = HUJ
# tag = GBR
# tag = JAP
# tag = CHY
# tag = CAN
# }
# }
@@ -1886,19 +1892,19 @@ naval_unit_role_ratios_ITA_late_peace = {
# allowed = {
# has_dlc = "Man the Guns"
# OR = {
# tag = GER
# tag = FRA
# tag = TIX
# tag = YUW
# tag = NFA
# tag = ENG
# tag = HUJ
# tag = GBR
# tag = JAP
# tag = USA
# tag = CHY
# tag = BYG
# tag = CSA
# tag = TEX
# tag = PSA
# tag = CAN
# tag = RUS
# tag = SOV
# tag = BFL
# }
# }
# enable = {
@@ -1955,11 +1961,11 @@ naval_unit_role_ratios_ITA_late_peace = {
# allowed = {
# has_dlc = "Man the Guns"
# OR = {
# tag = GER
# tag = ENG
# tag = TIX
# tag = HUJ
# tag = GBR
# tag = JAP
# tag = USA
# tag = CHY
# tag = BYG
# tag = CSA
# tag = TEX
# tag = PSA
@@ -1984,11 +1990,11 @@ naval_unit_role_ratios_ITA_late_peace = {
# allowed = {
# has_dlc = "Man the Guns"
# OR = {
# tag = GER
# tag = ENG
# tag = TIX
# tag = HUJ
# tag = GBR
# tag = JAP
# tag = USA
# tag = CHY
# tag = BYG
# tag = CSA
# tag = TEX
# tag = PSA
@@ -2022,8 +2028,6 @@ we_need_convoys_minors = {
tag = BYG
tag = SAD
tag = BFL
tag = DOH
tag = DH1
}
}
}
@@ -2047,8 +2051,6 @@ we_need_convoys_majors1 = {
tag = BYG
tag = SAD
tag = BFL
tag = DOH
tag = DH1
}
}
enable = { stockpile_ratio = { archetype = convoy ratio < 75 } }
@@ -2071,8 +2073,6 @@ we_need_convoys_majors2 = {
tag = BYG
tag = SAD
tag = BFL
tag = DOH
tag = DH1
}
}
enable = { stockpile_ratio = { archetype = convoy ratio < 125 } }
@@ -2095,8 +2095,6 @@ we_need_convoys_majors3 = {
tag = BYG
tag = SAD
tag = BFL
tag = DOH
tag = DH1
}
}
enable = { stockpile_ratio = { archetype = convoy ratio > 500 } }
@@ -2112,10 +2110,10 @@ we_need_convoys_majors3 = {
# we_need_convoys_majors3 = {
# allowed = {
# OR = {
# tag = ENG
# tag = JAP
# tag = GER
# tag = USA
# tag = HUJ
# tag = CHY
# tag = TIX
# tag = BYG
# tag = CSA
# tag = TEX
# tag = PSA
@@ -2134,10 +2132,10 @@ we_need_convoys_majors3 = {
# we_need_convoys_majors4 = {
# allowed = {
# OR = {
# tag = ENG
# tag = JAP
# tag = GER
# tag = USA
# tag = HUJ
# tag = CHY
# tag = TIX
# tag = BYG
# tag = CSA
# tag = TEX
# tag = PSA
@@ -2164,8 +2162,6 @@ we_dont_need_convoys_1 = {
tag = BYG
tag = SAD
tag = BFL
tag = DOH
tag = DH1
}
}
}
@@ -2189,8 +2185,6 @@ we_dont_need_convoys_2 = {
tag = BYG
tag = SAD
tag = BFL
tag = DOH
tag = DH1
}
}
enable = { stockpile_ratio = { archetype = convoy ratio > 1000 } }
@@ -2213,8 +2207,6 @@ we_need_screen_1 = {
tag = BYG
tag = SAD
tag = BFL
tag = DOH
tag = DH1
}
}
enable = { has_navy_size = { size < 50 type = screen_ship archetype = ship_hull_light } }
@@ -2272,6 +2264,30 @@ we_need_cv_planes_1 = {
id = cv_cas
value = 20
}
ai_strategy = {
type = equipment_production_min_factories
id = cv_fighter
value = 1
}
ai_strategy = {
type = equipment_production_min_factories
id = cv_naval_bomber
value = 1
}
ai_strategy = {
type = equipment_production_min_factories
id = cv_cas
value = 1
}
ai_strategy = {
type = equipment_variant_production_factor
id = cv_small_plane_airframe
value = 20
}
}
we_need_cv_planes_2 = {
@@ -2319,6 +2335,30 @@ we_need_cv_planes_2 = {
id = cv_cas
value = 40
}
ai_strategy = {
type = equipment_production_min_factories
id = cv_fighter
value = 2
}
ai_strategy = {
type = equipment_production_min_factories
id = cv_naval_bomber
value = 2
}
ai_strategy = {
type = equipment_production_min_factories
id = cv_cas
value = 2
}
ai_strategy = {
type = equipment_variant_production_factor
id = cv_small_plane_airframe
value = 40
}
}
we_need_cv_planes_3 = {
@@ -2365,6 +2405,30 @@ we_need_cv_planes_3 = {
id = cv_cas
value = 60
}
ai_strategy = {
type = equipment_production_min_factories
id = cv_fighter
value = 3
}
ai_strategy = {
type = equipment_production_min_factories
id = cv_naval_bomber
value = 3
}
ai_strategy = {
type = equipment_production_min_factories
id = cv_cas
value = 3
}
ai_strategy = {
type = equipment_variant_production_factor
id = cv_small_plane_airframe
value = 50
}
}