2024-11-17 20:00:50
All checks were successful
sync / build (push) Successful in 49s

This commit is contained in:
actions[bot]
2024-11-17 20:00:50 +00:00
parent 5841421748
commit 6c31b3ab5e
11 changed files with 4205 additions and 107 deletions

View File

@@ -231,12 +231,6 @@ BFL_bangzhuxifang = {
}
}
ai_strategy = {
type = send_volunteers_desire
id = "YUG"
value = 50
}
ai_strategy = {
type = send_volunteers_desire
id = "ROM"
@@ -272,6 +266,11 @@ claims_on_poland = {
id = "POL"
value = 100
}
ai_strategy = {
type = send_volunteers_desire
id = "POL"
value = -100
}
}
BFL_wushichongying = {
@@ -1195,3 +1194,589 @@ BFL_protect_sandacheng_ore = {
}
}
BFL_home_land_is_safe = {
allowed = {
original_tag = BFL
}
enable = {
always = yes
}
abort_when_not_enabled = yes
ai_strategy = {
type = garrison
value = -25
}
}
BFL_scorched_earth_german_front_baltics = {
allowed = { original_tag = BFL }
enable = {
is_historical_focus_on = yes
has_war_with = TIX
NOT = { # please don't spend PP on blowing up your own stuff when you need it for manpower
has_manpower < 1000000
has_political_power < 200
OR = {
has_idea = volunteer_only
has_idea = limited_conscription
}
}
count_triggers = {
amount = 4 #if 4 baltic states are owned by an enemy, burn the rest of the Baltics
814 = { CONTROLLER = { has_war_with = BFL } }
11 = { CONTROLLER = { has_war_with = BFL } }
189 = { CONTROLLER = { has_war_with = BFL } }
815 = { CONTROLLER = { has_war_with = BFL } }
190 = { CONTROLLER = { has_war_with = BFL } }
809 = { CONTROLLER = { has_war_with = BFL } }
810 = { CONTROLLER = { has_war_with = BFL } }
808 = { CONTROLLER = { has_war_with = BFL } }
811 = { CONTROLLER = { has_war_with = BFL } }
13 = { CONTROLLER = { has_war_with = BFL } }
812 = { CONTROLLER = { has_war_with = BFL } }
813 = { CONTROLLER = { has_war_with = BFL } }
191 = { CONTROLLER = { has_war_with = BFL } }
}
}
abort = {
OR = {
NOT = { has_war_with = TIX }
strength_ratio = { tag = TIX ratio > 1.5 }
date > 1944.1.1
}
}
ai_strategy = {
type = scorched_earth_prio
id = BFL
states = {
814
11
189
815
190
809
810
808
811
13
812
813
191
}
}
}
BFL_scorched_earth_german_front_Poland = {
allowed = { original_tag = BFL }
enable = {
has_war_with = TIX
is_historical_focus_on = yes
NOT = { # please don't spend PP on blowing up your own stuff when you need it for manpower
has_manpower < 1000000
has_political_power < 200
OR = {
has_idea = volunteer_only
has_idea = limited_conscription
}
}
count_triggers = {
amount = 2 #if 2 states are owned by an enemy, burn the rest of the area
784 = { CONTROLLER = { has_war_with = BFL } }
96 = { CONTROLLER = { has_war_with = BFL } }
95 = { CONTROLLER = { has_war_with = BFL } }
94 = { CONTROLLER = { has_war_with = BFL } }
93 = { CONTROLLER = { has_war_with = BFL } }
91 = { CONTROLLER = { has_war_with = BFL } }
89 = { CONTROLLER = { has_war_with = BFL } }
}
}
abort = {
OR = {
NOT = { has_war_with = TIX }
strength_ratio = { tag = TIX ratio > 1.5 }
date > 1944.1.1
}
}
ai_strategy = {
type = scorched_earth_prio
id = BFL
states = {
784
96
95
94
93
91
89
}
}
}
BFL_scorched_earth_german_front_north = {
allowed = { original_tag = BFL }
enable = {
has_war_with = TIX
is_historical_focus_on = yes
NOT = { # please don't spend PP on blowing up your own stuff when you need it for manpower
has_manpower < 1000000
has_political_power < 200
OR = {
has_idea = volunteer_only
has_idea = limited_conscription
}
}
count_triggers = {
amount = 2 #if 2 states are owned by an enemy, burn the rest of the area
208 = { CONTROLLER = { has_war_with = BFL } }
209 = { CONTROLLER = { has_war_with = BFL } }
210 = { CONTROLLER = { has_war_with = BFL } }
195 = { CONTROLLER = { has_war_with = BFL } }
263 = { CONTROLLER = { has_war_with = BFL } }
246 = { CONTROLLER = { has_war_with = BFL } }
}
}
abort = {
OR = {
NOT = { has_war_with = TIX }
strength_ratio = { tag = TIX ratio > 1.5 }
date > 1944.1.1
}
}
ai_strategy = {
type = scorched_earth_prio
id = BFL
states = {
208
209
210
195
263
246
}
}
}
BFL_scorched_earth_german_front_center = {
allowed = { original_tag = BFL }
enable = {
has_war_with = TIX
is_historical_focus_on = yes
NOT = { # please don't spend PP on blowing up your own stuff when you need it for manpower
has_manpower < 1000000
has_political_power < 200
OR = {
has_idea = volunteer_only
has_idea = limited_conscription
}
}
count_triggers = {
amount = 4 #if 4 states are owned by an enemy, burn the rest of the area
207 = { CONTROLLER = { has_war_with = BFL } }
206 = { CONTROLLER = { has_war_with = BFL } }
204 = { CONTROLLER = { has_war_with = BFL } }
194 = { CONTROLLER = { has_war_with = BFL } }
201 = { CONTROLLER = { has_war_with = BFL } }
199 = { CONTROLLER = { has_war_with = BFL } }
202 = { CONTROLLER = { has_war_with = BFL } }
193 = { CONTROLLER = { has_war_with = BFL } }
241 = { CONTROLLER = { has_war_with = BFL } }
242 = { CONTROLLER = { has_war_with = BFL } }
243 = { CONTROLLER = { has_war_with = BFL } }
224 = { CONTROLLER = { has_war_with = BFL } }
}
}
abort = {
OR = {
NOT = { has_war_with = TIX }
strength_ratio = { tag = TIX ratio > 1.5 }
date > 1944.1.1
}
}
ai_strategy = {
type = scorched_earth_prio
id = BFL
states = {
207
206
204
194
201
199
202
193
241
242
243
224
}
}
}
BFL_scorched_earth_german_front_moscow = {
allowed = { original_tag = BFL }
enable = {
has_war_with = TIX
is_historical_focus_on = yes
NOT = { # please don't spend PP on blowing up your own stuff when you need it for manpower
has_manpower < 1000000
has_political_power < 200
OR = {
has_idea = volunteer_only
has_idea = limited_conscription
}
}
count_triggers = {
amount = 1 #if 1 states are owned by an enemy, burn the rest of the area
219 = { CONTROLLER = { has_war_with = BFL } }
246 = { CONTROLLER = { has_war_with = BFL } }
242 = { CONTROLLER = { has_war_with = BFL } }
205 = { CONTROLLER = { has_war_with = BFL } }
223 = { CONTROLLER = { has_war_with = BFL } }
}
}
abort = {
OR = {
NOT = { has_war_with = TIX }
strength_ratio = { tag = TIX ratio > 1.5 }
date > 1944.1.1
}
controls_state = 220
controls_state = 224
controls_state = 243
controls_state = 207
controls_state = 210
}
ai_strategy = {
type = scorched_earth_prio
id = BFL
states = {
219
246
242
205
223
}
}
}
BFL_scorched_earth_german_front_stalingrad = {
allowed = { original_tag = BFL }
enable = {
has_war_with = TIX
is_historical_focus_on = yes
NOT = { # please don't spend PP on blowing up your own stuff when you need it for manpower
has_manpower < 1000000
has_political_power < 200
OR = {
has_idea = volunteer_only
has_idea = limited_conscription
}
}
count_triggers = {
amount = 1 #if 1 states are owned by an enemy, burn the rest of the area
217 = { CONTROLLER = { has_war_with = BFL } }
265 = { CONTROLLER = { has_war_with = BFL } }
245 = { CONTROLLER = { has_war_with = BFL } }
238 = { CONTROLLER = { has_war_with = BFL } }
829 = { CONTROLLER = { has_war_with = BFL } }
}
}
abort = {
OR = {
NOT = { has_war_with = TIX }
strength_ratio = { tag = TIX ratio > 1.5 }
date > 1944.1.1
}
controls_state = 218
controls_state = 228
controls_state = 260
controls_state = 239
}
ai_strategy = {
type = scorched_earth_prio
id = BFL
states = {
217
265
245
238
829
}
}
}
BFL_dont_do_so_many_naval_invasions_please = {
allowed = { original_tag = BFL }
enable = {
always = yes
}
abort_when_not_enabled = yes
ai_strategy = {
type = invasion_unit_request
tag = TIX
value = -50
}
ai_strategy = {
type = invasion_unit_request
tag = FIN
value = -50
}
}
BFL_defend_blitzkrieg = {#Only perform careful attacks, we want to defend while germany has buffs.
allowed = {
original_tag = BFL
}
enable = {
date < 1942.8.1 #To space!
has_war_with = TIX
TIX = { has_idea = TIX_sljh }
}
abort_when_not_enabled = yes
ai_strategy = {
type = front_control
tag = TIX
ratio = 0.4
priority = 100
ordertype = front
execution_type = careful
execute_order = no
}
}
BFL_defend_blitzkrieg_2 = {#Only perform careful attacks, we want to defend for a bit
allowed = {
original_tag = BFL
}
enable = {
date < 1942.8.1 #To space!
has_war_with = TIX
NOT = { TIX = { has_idea = TIX_sljh } }
is_historical_focus_on = yes
}
abort_when_not_enabled = yes
ai_strategy = {
type = front_control
tag = TIX
ratio = 0.4
priority = 100
ordertype = front
execution_type = careful
}
}
###########################
### avoid attacking the baltics until we have sent ultimatums
###########################
BFL_ultimatum_LIT = {
allowed = {
original_tag = BFL
}
enable = {
is_historical_focus_on = yes
}
abort = {
date > 1941.12.31 #If it's late then it's fine
}
ai_strategy = {
type = antagonize
id = LIT
value = -50
}
ai_strategy = {
type = conquer
id = LIT
value = -200
}
}
BFL_ultimatum_LAT = {
allowed = {
original_tag = BFL
}
enable = {
is_historical_focus_on = yes
}
abort = {
date > 1941.12.31 #If it's late then it's fine
}
ai_strategy = {
type = antagonize
id = LAT
value = -50
}
ai_strategy = {
type = conquer
id = LAT
value = -200
}
}
BFL_ultimatum_EST = {
allowed = {
original_tag = BFL
}
enable = {
is_historical_focus_on = yes
}
abort = {
date > 1941.12.31 #If it's late then it's fine
}
ai_strategy = {
type = antagonize
id = EST
value = -50
}
ai_strategy = {
type = conquer
id = EST
value = -200
}
}
###########################
### avoid attacking Finland until we have sent ultimatum
###########################
BFL_ultimatum_FIN = {
allowed = {
original_tag = BFL
}
enable = {
is_historical_focus_on = yes
OR = {
NOT = { owns_state = 146 } #Karjala
146 = {
owner = { NOT = { is_in_faction_with = ROOT } }
}
}
}
abort = {
OR = {
date > 1941.12.31 #If it's late then it's fine
OR = {
owns_state = 146 #Karjala
146 = {
owner = { is_in_faction_with = ROOT }
}
}
}
}
ai_strategy = {
type = antagonize
id = FIN
value = -30
}
ai_strategy = {
type = conquer
id = FIN
value = -200
}
}
###### Don't start ww3 until Japan is defeated
AZ_ALLIES_avoid_enemies_for_a_while_ww3 = {
allowed = {
OR = {
original_tag = HUJ
is_in_faction_with = HUJ
}
}
enable = {
is_historical_focus_on = yes
date > 1943.1.1
OR = {
has_war_with = TIX
has_war_with = CHY
}
}
abort_when_not_enabled = yes
ai_strategy = {
type = conquer
id = PER
value = -200
}
ai_strategy = {
type = conquer
id = BFL
value = -200
}
}
#### FORCE CONCENTRATION
# Spread out before barbarossa
BFL_aifc_linear_defence = {
allowed = { original_tag = BFL }
enable = {
# We have split Poland up
OR = {
owns_state = 96
owns_state = 95
owns_state = 94
owns_state = 93
owns_state = 92
}
}
abort = {
OR ={
# Winter Offensive, Right
date > 1941.12.1
# Desperate Defence
surrender_progress > 0.4
}
}
ai_strategy = {
type = force_concentration_factor
value = -100 # Just don't
}
}

View File

@@ -764,6 +764,34 @@ BYG_unit_buffer_for_europe = {
subtract_invasions_from_need = no
}
ai_strategy = {
type = put_unit_buffers
order_id = 1
# north africa
states = {
290
461
459
460
458
665
448
449
450
451
452
447
}
ratio = 0.15
area = europe
subtract_invasions_from_need = yes
}
}
BYG_naval_invasions_please = {
@@ -1144,3 +1172,653 @@ BYG_wushibfl = {
value = 500
}
}
BYG_ask_HUJ_YUW_for_access_before_war = {
allowed = {
tag = BYG
}
enable = {
date > 1940.9.9
NOT = {
OR = {
is_in_faction_with = HUJ
has_military_access_to = HUJ
}
}
}
abort_when_not_enabled = yes
ai_strategy = {
type = diplo_action_desire
id = HUJ
target = military_access
value = 1000
}
ai_strategy = {
type = diplo_action_desire
id = YUW
target = military_access
value = 1000
}
}
BYG_focus_on_africa = {
allowed = { original_tag = BYG }
enable = {
is_historical_focus_on = yes
has_war_with = TIX
country_exists = WEX
OR = { # Check whole north-african coast
448 = { CONTROLLER = { has_war_with = ROOT } } # tripoli
450 = { CONTROLLER = { has_war_with = ROOT } } # benghazi
458 = { CONTROLLER = { has_war_with = ROOT } } # tunisia
461 = { CONTROLLER = { has_war_with = ROOT } } # casablanca
462 = { CONTROLLER = { has_war_with = ROOT } } # marrakech
459 = { CONTROLLER = { has_war_with = ROOT } } # algiers
460 = { CONTROLLER = { has_war_with = ROOT } } # constantine
665 = { CONTROLLER = { has_war_with = ROOT } } # gabès
449 = { CONTROLLER = { has_war_with = ROOT } } # el agheila
451 = { CONTROLLER = { has_war_with = ROOT } } # derna
452 = { CONTROLLER = { has_war_with = ROOT } } # matrouh
447 = { CONTROLLER = { has_war_with = ROOT } } # alexandria
446 = { CONTROLLER = { has_war_with = ROOT } } # cairo
290 = { CONTROLLER = { has_war_with = ROOT } } # spanish africa
}
}
abort_when_not_enabled = yes
ai_strategy = {
type = front_unit_request
area = africa
value = 60
}
ai_strategy = {
type = area_priority
id = africa
value = 60
}
}
BYG_HUJ_sync_invasions_on_europe = {
allowed = {
#always = no
OR = {
tag = BYG
tag = HUJ
}
}
# only allow invasion on europe on every third month
enable = {
set_temp_variable = { days = global.num_days }
modulo_temp_variable = { days = 90 }
check_variable = { days < 60 }
}
abort_when_not_enabled = yes
ai_strategy = {
type = front_control
area = mainland_europe
ordertype = invasion
execute_order = no
}
}
BYG_take_out_italy_boost = {
allowed = {
original_tag = BYG
is_historical_focus_on = yes
}
enable = {
date > 1942.6.1
SAD = {
surrender_progress < 0.2
}
}
abort_when_not_enabled = yes
ai_strategy = {
type = invade
id = SAD
value = 150
}
ai_strategy = {
type = area_priority
id = italy
value = 600
}
ai_strategy = {
type = invasion_unit_request
area = italy
value = 3
}
ai_strategy = {
type = area_priority
id = north_africa
value = 400
}
ai_strategy = {
type = area_priority
id = normandy_landing_zone
value = -100
}
}
BYG_d_day_boost = {
allowed = {
original_tag = BYG
}
enable = {
has_war_with = TIX
date > 1942.9.1
SAD = {
surrender_progress > 0.2
}
}
abort = {
OR = {
date > 1944.9.1 # if we haven't succeeded by now, kill Japan instead
AND = {
16 = { is_controlled_by_ROOT_or_ally = yes } # Paris has been liberated
is_historical_focus_on = yes
}
}
}
ai_strategy = {
type = invade
id = TIX
value = 200
}
ai_strategy = {
type = area_priority
id = normandy_landing_zone
value = 400
}
ai_strategy = {
type = invasion_unit_request
area = normandy_landing_zone
value = 5
}
}
BYG_torch_boost = {
allowed = {
original_tag = BYG
}
enable = {
country_exists = WEX
has_war_with = TIX
date > 1942.5.1
}
abort = {
OR = {
date > 1943.9.1 # if we haven't succeeded by now, maybe try somewhere else
461 = { is_controlled_by_ROOT_or_ally = yes }
459 = { is_controlled_by_ROOT_or_ally = yes }
}
}
ai_strategy = {
type = area_priority
id = torch_landing_zone
value = 800
}
ai_strategy = {
type = area_priority
id = vichy_mainland
value = -200
}
ai_strategy = {
type = invasion_unit_request
area = torch_landing_zone
value = 2
}
ai_strategy = {
type = front_unit_request
area = torch_landing_zone
value = 1
}
ai_strategy = {
type = prepare_for_war
id = WEX
value = 200
}
ai_strategy = {
type = invade
id = WEX
value = 200
}
}
BYG_save_india = { # in the case where japan has beaten china and is moving on india we should step up
allowed = { original_tag = BYG }
enable = {
has_government = democratic
is_in_faction = no
has_war = no
CHY = {
or = {
has_war_with = RAJ
has_war_with = HUJ
}
NOT = { has_war_with = DOH }
}
or = {
RAJ = {
is_in_faction_with = HUJ
surrender_progress > 0.15
}
not = { country_exists = RAJ }
}
}
abort = {
OR = {
has_war_with = RAJ
is_in_faction_with = CHY
CHY = {
NOT = { has_war_with = RAJ }
}
}
}
ai_strategy = {
type = contain
id = "CHY"
value = 200
}
ai_strategy = {
type = protect
id = "RAJ"
value = 200
}
}
BYG_lose_fateful_lightning_from_terribly_swift_sword = {
allowed = {
OR = {
tag = BYG
tag = HUJ # second breakfast protocol - activated
}
}
enable = {
country_exists = WEX
YUW = {
OR = {
has_capitulated = yes
controls_state = 16
}
has_war_with = TIX
is_in_faction_with = BYG
}
OR = {
AND = {
WEX = {
is_ai = no
has_war = no
}
is_historical_focus_on = yes
date > 1942.9.1
}
AND = {
OR = {
is_historical_focus_on = no
WEX = { has_war = yes }
}
date > 1942.6.1
}
AND = {
WEX = { is_ai = yes }
date > 1942.6.1
}
}
}
abort_when_not_enabled = yes
ai_strategy = {
type = antagonize
id = WEX
value = 2500 # we hateses them filthy Vichy Frenches
}
ai_strategy = {
type = declare_war
id = WEX
value = 500 # we hateses them filthy Vichy Frenches. strategy >= 500 forces declaration
}
}
TIX_is_bad = {
allowed = {
tag = BYG
}
enable = {
TIX = {
exists = yes
}
NOT = { is_ally_with = TIX }
HUJ = {
has_war_with = TIX
}
has_government = democratic
HUJ = {
has_government = democratic
}
date > 1939.1.1
}
abort_when_not_enabled = yes
ai_strategy = {
type = prepare_for_war
id = TIX
value = 100
}
}
BYG_produce_floating_harbors = {
allowed = { original_tag = BYG }
enable = {
is_historical_focus_on = yes
date > 1941.1.1
has_war = yes
num_of_naval_factories > 25
}
abort_when_not_enabled = yes
ai_strategy = {
type = unit_ratio
id = floating_harbor # for floating harbors, 'unit_ratio' is actually not a ratio but an absolute desired number
value = 10
}
}
BYG_stay_away_from_my_pacific = {
allowed = {
original_tag = BYG
}
enable = {
has_war_with = CHY
}
abort_when_not_enabled = yes
ai_strategy = {
type = area_priority
id = pacific
value = 100
}
}
BYG_start_buffering_in_pacific = {
allowed = {
tag = BYG
}
enable = {
date > 1941.10.2
OR = {
has_war_with = CHY
has_war_with = DOH
}
}
abort_when_not_enabled = yes
ai_strategy = {
type = put_unit_buffers
# pacific islands
states = {
633 #Marshall
632 #Wake
684 #Caroline
645 #Iwo Jima
638 #Guam
646 #Saipan
}
ratio = 0.12
area = pacific
subtract_invasions_from_need = no
subtract_fronts_from_need = no
}
ai_strategy = {
type = put_unit_buffers
# pacific islands
states = {
633 #Marshall
632 #Wake
684 #Caroline
645 #Iwo Jima
638 #Guam
646 #Saipan
}
ratio = 0.12
area = pacific
subtract_invasions_from_need = yes
subtract_fronts_from_need = no
}
ai_strategy = {
type = put_unit_buffers
# pacific islands
states = {
633 #Marshall
632 #Wake
684 #Caroline
645 #Iwo Jima
638 #Guam
646 #Saipan
}
ratio = 0.12
area = home_islands
subtract_invasions_from_need = yes
subtract_fronts_from_need = no
}
ai_strategy = {
type = front_unit_request
area = pacific
value = 30
}
ai_strategy = {
type = invasion_unit_request
area = pacific
value = 2
}
ai_strategy = {
type = naval_invasion_supremacy_weight
value = 50
}
}
BYG_sugar_daddy_for_HUJ = {
allowed = { original_tag = BYG }
enable = {
NOT = { has_war_with = HUJ }
has_government = democratic
HUJ = {
has_government = democratic
has_war = yes
}
}
abort_when_not_enabled = yes
ai_strategy = {
type = send_lend_lease_desire
id = HUJ
value = 500
}
}
BYG_sugar_daddy_for_BFL = {
allowed = { original_tag = BYG }
enable = {
NOT = { has_war_with = BFL }
has_government = democratic
TIX = { has_government = fascism }
BFL = {
has_war_with = TIX
}
}
abort_when_not_enabled = yes
ai_strategy = {
type = send_lend_lease_desire
id = BFL
value = 500
}
}
BYG_dont_guarantee_SA_unless_everyhting_is_shit = {
allowed = {
original_tag = BYG
has_dlc = "Trial of Allegiance"
}
enable = {
threat < 0.9
}
abort_when_not_enabled = yes
ai_strategy = {
type = protect
id = CAN
value = -200
}
ai_strategy = {
type = protect
id = MEX
value = -200
}
ai_strategy = {
type = protect
id = GUA
value = -200
}
ai_strategy = {
type = protect
id = HON
value = -200
}
ai_strategy = {
type = protect
id = ELS
value = -200
}
ai_strategy = {
type = protect
id = NIC
value = -200
}
ai_strategy = {
type = protect
id = CUB
value = -200
}
ai_strategy = {
type = protect
id = HAI
value = -200
}
ai_strategy = {
type = protect
id = DOM
value = -200
}
ai_strategy = {
type = protect
id = COS
value = -200
}
ai_strategy = {
type = protect
id = PAN
value = -200
}
ai_strategy = {
type = protect
id = COL
value = -200
}
ai_strategy = {
type = protect
id = VEN
value = -200
}
ai_strategy = {
type = protect
id = ECU
value = -200
}
ai_strategy = {
type = protect
id = PRU
value = -200
}
ai_strategy = {
type = protect
id = BOL
value = -200
}
ai_strategy = {
type = protect
id = CHL
value = -200
}
ai_strategy = {
type = protect
id = ARG
value = -200
}
ai_strategy = {
type = protect
id = PAR
value = -200
}
ai_strategy = {
type = protect
id = URG
value = -200
}
ai_strategy = {
type = protect
id = BRA
value = -200
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -305,32 +305,32 @@ SAD_hold_africa = {
original_tag = SAD
}
enable = {
is_in_faction_with = TIX
date < 1941.1.1
}
abort = {
NOT = { country_exists = TIX }
any_owned_state = { is_core_of = SAD NOT = { is_controlled_by = SAD } }
date > 1941.1.1
}
# Tripoli
ai_strategy = {
type = area_priority
id = africa
value = 1
}
ai_strategy = {
type = area_priority
id = suez
value = 200
}
ai_strategy = {
type = area_priority
id = europe
value = 50
type = theatre_distribution_demand_increase
id = 448
value = 2
}
# Benghasi
ai_strategy = {
type = front_unit_request
area = suez
value = 60
type = theatre_distribution_demand_increase
id = 450
value = 2
}
# Alexandria
ai_strategy = {
type = theatre_distribution_demand_increase
id = 447
value = 2
}
}
@@ -661,12 +661,24 @@ SAD_war_with_ETH = {
ai_strategy = {
type = front_unit_request
tag = ETH
value = 200
value = 400
}
ai_strategy = {
type = invade
id = "ETH"
value = 200
value = 400
}
ai_strategy = {
type = front_control
tag = ETH
ratio = 0.8
priority = 100
ordertype = front
execution_type = rush
execute_order = yes
}
}
@@ -880,3 +892,91 @@ SAD_helpnor = {
}
SAD_trade_with_sweden = {
allowed = {
original_tag = SAD
}
enable = {
# if we're not communist and they're not communist
NOT = { has_government = communism }
NOT = { SWE = { has_government = communism } }
}
abort_when_not_enabled = yes
ai_strategy = {
type = equipment_market_trade_desire
id = SWE
value = 60
}
}
SAD_trade_with_germany = {
allowed = {
original_tag = SAD
}
enable = {
has_government = fascism
TIX = { has_government = fascism }
}
abort_when_not_enabled = yes
ai_strategy = {
type = equipment_market_trade_desire
id = TIX
value = 40
}
}
# lets not invade until we have europe
SAD_dont_invade_NOR_until_YUW_falls = {
allowed = {
original_tag = SAD
is_historical_focus_on = yes
}
enable = {
has_war_together_with = TIX
date < 1942.1.1 # Italy should probably stay out of Norway for a while even if France has capitulated
#YUW = {
# has_capitulated = no
#}
}
abort_when_not_enabled = yes
ai_strategy = {
type = invasion_unit_request
tag = NOR
value = -100
}
}
SAD_invasion_buffer = {
allowed = {
original_tag = SAD
}
enable = {
is_historical_focus_on = yes
date > 1942.1.1
}
abort_when_not_enabled = yes
ai_strategy = {
type = put_unit_buffers
states = {
156
117
849
157
2
162
161
### Oh no we forgot sicily! What could possibly go wrong.
}
ratio = 0.20
area = italy
subtract_invasions_from_need = no
subtract_fronts_from_need = yes
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -522,3 +522,187 @@ YUW_protect_maqinuo_ore = {
}
}
YUW_accept_BYG_access = {
allowed = {
tag = YUW # not original_tag to avoid Vichy weirdness
}
enable = {
date > 1940.9.9
BYG = {
is_ai = yes
NOT = {
OR = {
is_in_faction_with = YUW
has_military_access_to = YUW
}
}
}
}
abort_when_not_enabled = yes
ai_strategy = {
type = diplo_action_acceptance
id = BYG
target = military_access
value = 1000
}
}
TUW_TIX_will_probably_join_SAD = {
# if SAD is going to war with us, consider TIX as a threat as well
allowed = {
original_tag = YUW
}
enable = {
TIX = {
has_government = fascism
NOT = {
has_war_with = YUW
}
}
SAD = {
has_government = fascism
OR = {
is_in_faction = no
is_in_faction_with = TIX
}
OR = {
# check if we are declaring on YUW
OR = {
has_war_with = YUW
is_justifying_wargoal_against = YUW
has_wargoal_against = YUW
}
# check if we are declaring on any guarantee of YUW
YUW = {
any_guaranteed_country = {
SAD = {
OR = {
has_war_with = PREV
is_justifying_wargoal_against = PREV
has_wargoal_against = PREV
}
}
}
}
}
}
}
abort_when_not_enabled = yes
ai_strategy = {
type = prepare_for_war
id = TIX
value = 100
}
}
YUW_why_push_into_germany_their_food_is_horrible = {
allowed = {
original_tag = YUW
}
enable = {
date < 1941.1.1 # Deactivate after some time
surrender_progress < 0.01 # We haven't lost territories
# Once Germany launches some kind of attack on the low countries, or if they go somewhere dangerous, we can try if we want to
GER = { NOT = { has_war_with = BEL } }
GER = { NOT = { has_war_with = HOL } }
GER = { NOT = { has_war_with = CZE } }
GER = { NOT = { has_war_with = AUS } }
GER = { NOT = { has_war_with = BFL } }
GER = { NOT = { has_war_with = SAD } }
28 = { # Alsace-Lorraine
is_fully_controlled_by = ROOT
}
42 = { # Moselland
is_controlled_by = GER
}
978 = { # Baden
is_controlled_by = GER
}
}
abort_when_not_enabled = yes
ai_strategy = {
type = force_concentration_front_factor
state = 42 # Moselland
state = 978 # Baden
ratio = 0.95 # Only if > 95 % of the front consists of these states. This should make it deactivate if the frontline extends around the maginot
value = -100
}
ai_strategy = {
type = front_control
state = 42 # Moselland
state = 978 # Baden
ratio = 0.8
priority = 100
ordertype = front
execution_type = careful
execute_order = no # This should block France from attacking, It's a bit digital, but as the strategy should cancel if they do something weird, it should be fine
manual_attack = no
}
}
YUW_benelux_will_surely_not_fall = {
allowed = { original_tag = YUW }
enable = {
has_war_with = TIX
date < 1940.8.1
OR = {
HOL = { has_capitulated = no }
BEL = { has_capitulated = no }
}
}
abort = {
OR = {
date > 1940.8.1
AND = {
HOL = { surrender_progress > 0.30 }
BEL = { surrender_progress > 0.30 }
}
}
}
ai_strategy = {
type = dont_defend_ally_borders
id = "HOL"
value = 50
}
ai_strategy = {
type = dont_defend_ally_borders
id = "BEL"
value = 50
}
ai_strategy = {
type = dont_defend_ally_borders
id = "LUX"
value = 50
}
ai_strategy = {
type = put_unit_buffers
# french states bordering benelux
states = {
29
785
18
}
ratio = 0.1
area = europe
subtract_invasions_from_need = no
subtract_fronts_from_need = yes
}
}

View File

@@ -430,6 +430,41 @@ ideas = {
cancel_if_invalid = no
}
totaler_krieg_economy = {
visible = {
original_tag = GER
has_completed_focus = GER_totaler_krieg
}
available = {
has_completed_focus = GER_totaler_krieg
has_war_with_major = yes
has_war_support > 0.8
any_enemy_country = {
ic_ratio = {
tag = ROOT
ratio > 0.5
}
}
}
cost = 150
removal_cost = -1
modifier = {
consumer_goods_expected_value = 0.15
conscription = -0.02
production_speed_arms_factory_factor = 0.2
production_speed_dockyard_factor = 0.2
conversion_cost_civ_to_mil_factor= -0.3
conversion_cost_mil_to_civ_factor = -0.3
industrial_capacity_factory = 0.05
industrial_capacity_dockyard = 0.05
}
cancel_if_invalid = no
}
new_economic_policy = {
picture = new_economic_policy
@@ -915,7 +950,6 @@ ideas = {
cost = 150
removal_cost = -1
modifier = {
min_export = 0
#civilian_intel_to_others = 0.0

View File

@@ -56,7 +56,7 @@ ideas = {
always = yes
}
modifier = {
production_speed_buildings_factor = 0.1
production_speed_buildings_factor = 0.15
global_building_slots = 1
production_speed_air_base_factor = 0.2
production_speed_naval_base_factor = 0.2
@@ -74,7 +74,7 @@ ideas = {
always = yes
}
modifier = {
industrial_capacity_factory = 0.15
industrial_capacity_factory = 0.2
production_factory_max_efficiency_factor = -0.05
}
}
@@ -84,9 +84,10 @@ ideas = {
always = yes
}
modifier = {
industrial_capacity_factory = 0.05
industrial_capacity_factory = 0.15
industrial_capacity_dockyard = 0.1
production_factory_efficiency_gain_factor = 0.1
production_factory_max_efficiency_factor = 0.2
}
}
CHY_chongyingzaochuan = {
@@ -125,7 +126,7 @@ ideas = {
always = yes
}
modifier = {
local_resources_factor = 0.15
local_resources_factor = 0.5
}
}
CHY_navyupupup = {
@@ -134,7 +135,7 @@ ideas = {
always = yes
}
modifier = {
consumer_goods_factor = 0.1
consumer_goods_factor = 0.05
production_speed_dockyard_factor = 0.1
production_speed_naval_base_factor = 0.2
production_speed_coastal_bunker_factor = 0.2
@@ -147,7 +148,7 @@ ideas = {
always = yes
}
modifier = {
research_speed_factor = 0.1
research_speed_factor = 0.15
}
}
chy_hangmu_buff_1 = {
@@ -910,6 +911,15 @@ ideas = {
}
}
}
AL_guojizongdui_back = {
picture = generic_production_bonus
allowed_civil_war = {
always = yes
}
modifier = {
production_speed_buildings_factor = 0.01
}
}
}
}

View File

@@ -1056,9 +1056,12 @@ focus_tree = {
}
}
if = {
limit = { has_idea = TIX_organization_todt_improved
limit = { OR = {
has_idea = TIX_organization_todt_improved
has_idea = TIX_philipp_holzmann_improved
has_dlc = "Arms Against Tyranny" }
}
has_dlc = "Arms Against Tyranny"
}
swap_ideas = {
add_idea = TIX_hanz_building
remove_idea = TIX_organization_todt_improved
@@ -1066,8 +1069,10 @@ focus_tree = {
}
}
if = {
limit = { has_idea = TIX_organization_todt_improved
limit = { OR = {
has_idea = TIX_organization_todt_improved
has_idea = TIX_philipp_holzmann_improved
}
NOT = { has_dlc = "Arms Against Tyranny" } }
swap_ideas = {
add_idea = TIX_hanz_building_no_aat

View File

@@ -16,6 +16,11 @@ country_event = {
set_technology = { tech_military_police = 1 }
set_technology = { tech_maintenance_company = 1 }
set_technology = { tech_maintenance_company2 = 1 }
set_technology = { sp_armored_engineer_tech = 1 }
set_technology = { sp_armored_maintenance_tech = 1 }
set_technology = { sp_helicopter_med_evac_tech = 1 }
set_technology = { sp_helicopter_transport_pods_tech = 1 }
set_technology = { sp_armored_signal_tech = 1 }
complete_special_project = { project = sp:sp_land_flamethrower_tank }
complete_special_project = { project = sp:sp_land_military_engineering_vehicles }
complete_special_project = { project = sp:sp_air_helicopter }
@@ -227,6 +232,11 @@ country_event = {
set_technology = { tech_military_police = 1 }
set_technology = { tech_maintenance_company = 1 }
set_technology = { tech_maintenance_company2 = 1 }
set_technology = { sp_armored_engineer_tech = 1 }
set_technology = { sp_armored_maintenance_tech = 1 }
set_technology = { sp_helicopter_med_evac_tech = 1 }
set_technology = { sp_helicopter_transport_pods_tech = 1 }
set_technology = { sp_armored_signal_tech = 1 }
complete_special_project = { project = sp:sp_land_flamethrower_tank }
complete_special_project = { project = sp:sp_land_military_engineering_vehicles }
complete_special_project = { project = sp:sp_air_helicopter }
@@ -465,6 +475,11 @@ country_event = {
set_technology = { tech_military_police = 1 }
set_technology = { tech_maintenance_company = 1 }
set_technology = { tech_maintenance_company2 = 1 }
set_technology = { sp_armored_engineer_tech = 1 }
set_technology = { sp_armored_maintenance_tech = 1 }
set_technology = { sp_helicopter_med_evac_tech = 1 }
set_technology = { sp_helicopter_transport_pods_tech = 1 }
set_technology = { sp_armored_signal_tech = 1 }
complete_special_project = { project = sp:sp_land_flamethrower_tank }
complete_special_project = { project = sp:sp_land_military_engineering_vehicles }
complete_special_project = { project = sp:sp_air_helicopter }
@@ -733,6 +748,11 @@ country_event = {
set_technology = { tech_military_police = 1 }
set_technology = { tech_maintenance_company = 1 }
set_technology = { tech_maintenance_company2 = 1 }
set_technology = { sp_armored_engineer_tech = 1 }
set_technology = { sp_armored_maintenance_tech = 1 }
set_technology = { sp_helicopter_med_evac_tech = 1 }
set_technology = { sp_helicopter_transport_pods_tech = 1 }
set_technology = { sp_armored_signal_tech = 1 }
complete_special_project = { project = sp:sp_land_flamethrower_tank }
complete_special_project = { project = sp:sp_land_military_engineering_vehicles }
complete_special_project = { project = sp:sp_air_helicopter }
@@ -989,6 +1009,11 @@ country_event = {
set_technology = { motorized_rocket_unit = 1 }
set_technology = { tech_maintenance_company = 1 }
set_technology = { tech_maintenance_company2 = 1 }
set_technology = { sp_armored_engineer_tech = 1 }
set_technology = { sp_armored_maintenance_tech = 1 }
set_technology = { sp_helicopter_med_evac_tech = 1 }
set_technology = { sp_helicopter_transport_pods_tech = 1 }
set_technology = { sp_armored_signal_tech = 1 }
complete_special_project = { project = sp:sp_land_flamethrower_tank }
complete_special_project = { project = sp:sp_land_military_engineering_vehicles }
complete_special_project = { project = sp:sp_air_helicopter }
@@ -1234,6 +1259,11 @@ country_event = {
set_technology = { tech_military_police = 1 }
set_technology = { tech_maintenance_company = 1 }
set_technology = { tech_maintenance_company2 = 1 }
set_technology = { sp_armored_engineer_tech = 1 }
set_technology = { sp_armored_maintenance_tech = 1 }
set_technology = { sp_helicopter_med_evac_tech = 1 }
set_technology = { sp_helicopter_transport_pods_tech = 1 }
set_technology = { sp_armored_signal_tech = 1 }
complete_special_project = { project = sp:sp_land_flamethrower_tank }
complete_special_project = { project = sp:sp_land_military_engineering_vehicles }
complete_special_project = { project = sp:sp_air_helicopter }
@@ -1465,6 +1495,11 @@ country_event = {
set_technology = { interwar_antitank = 1 }
set_technology = { tech_maintenance_company = 1 }
set_technology = { tech_maintenance_company2 = 1 }
set_technology = { sp_armored_engineer_tech = 1 }
set_technology = { sp_armored_maintenance_tech = 1 }
set_technology = { sp_helicopter_med_evac_tech = 1 }
set_technology = { sp_helicopter_transport_pods_tech = 1 }
set_technology = { sp_armored_signal_tech = 1 }
complete_special_project = { project = sp:sp_land_flamethrower_tank }
complete_special_project = { project = sp:sp_land_military_engineering_vehicles }
complete_special_project = { project = sp:sp_air_helicopter }
@@ -1730,6 +1765,11 @@ country_event = {
set_technology = { tech_logistics_company = 1 }
set_technology = { tech_maintenance_company = 1 }
set_technology = { tech_maintenance_company2 = 1 }
set_technology = { sp_armored_engineer_tech = 1 }
set_technology = { sp_armored_maintenance_tech = 1 }
set_technology = { sp_helicopter_med_evac_tech = 1 }
set_technology = { sp_helicopter_transport_pods_tech = 1 }
set_technology = { sp_armored_signal_tech = 1 }
complete_special_project = { project = sp:sp_land_flamethrower_tank }
complete_special_project = { project = sp:sp_land_military_engineering_vehicles }
complete_special_project = { project = sp:sp_air_helicopter }
@@ -2113,6 +2153,11 @@ country_event = {
set_technology = { tech_logistics_company = 1 }
set_technology = { tech_maintenance_company = 1 }
set_technology = { tech_maintenance_company2 = 1 }
set_technology = { sp_armored_engineer_tech = 1 }
set_technology = { sp_armored_maintenance_tech = 1 }
set_technology = { sp_helicopter_med_evac_tech = 1 }
set_technology = { sp_helicopter_transport_pods_tech = 1 }
set_technology = { sp_armored_signal_tech = 1 }
complete_special_project = { project = sp:sp_land_flamethrower_tank }
complete_special_project = { project = sp:sp_land_military_engineering_vehicles }
complete_special_project = { project = sp:sp_air_helicopter }
@@ -2331,6 +2376,11 @@ country_event = {
set_technology = { tech_logistics_company = 1 }
set_technology = { tech_maintenance_company = 1 }
set_technology = { tech_maintenance_company2 = 1 }
set_technology = { sp_armored_engineer_tech = 1 }
set_technology = { sp_armored_maintenance_tech = 1 }
set_technology = { sp_helicopter_med_evac_tech = 1 }
set_technology = { sp_helicopter_transport_pods_tech = 1 }
set_technology = { sp_armored_signal_tech = 1 }
complete_special_project = { project = sp:sp_land_flamethrower_tank }
complete_special_project = { project = sp:sp_land_military_engineering_vehicles }
complete_special_project = { project = sp:sp_air_helicopter }

View File

@@ -2651,7 +2651,7 @@ country_event = {
desc = az_PT_9_014_tooltip_1
picture = GFX_report_event_generic_read_write
trigger = {
has_tech = advanced_centimetric_radar
has_tech = monopulse_radar
NOT = { has_country_flag = az_PT_9_014 }
}
option = {