2024-07-20 17:35:52
All checks were successful
sync / build (push) Successful in 51s

This commit is contained in:
actions[bot]
2024-07-20 17:35:52 +08:00
parent 2bea8a8d29
commit 0bbb942aeb
35 changed files with 993 additions and 92 deletions

View File

@@ -1170,7 +1170,7 @@ BFL_protect_sandacheng_ore = {
original_tag = BFL
}
enable = {
has_war = yes
always = yes
}
abort_when_not_enabled = yes

View File

@@ -1081,4 +1081,53 @@ BYG_protect_asia_ore = {
area = asia
}
}
BYG_dont_do_so_many_naval_invasions_please = {
allowed = { original_tag = BYG }
enable = {
is_historical_focus_on = yes
}
ai_strategy = {
type = invasion_unit_request
tag = ROM
value = -200
}
ai_strategy = {
type = invasion_unit_request
tag = HUN
value = -200
}
ai_strategy = {
type = invasion_unit_request
tag = TUR
value = -200
}
}
BYG_dont_do_so_many_naval_1942 = {
allowed = { original_tag = BYG }
enable = {
is_historical_focus_on = yes
date < 1941.8.1
}
abort_when_not_enabled = yes
ai_strategy = {
type = invasion_unit_request
tag = TIX
value = -200
}
ai_strategy = {
type = invasion_unit_request
tag = SAD
value = -200
}
ai_strategy = {
type = invasion_unit_request
tag = WEX
value = -200
}
}

View File

@@ -922,6 +922,7 @@ HUJ_defend_Britain = {
}
enable = {
or = {
has_war_with = TIX
has_war_with = CHY
has_war_with = SAD
has_war_with = YUW
@@ -936,32 +937,33 @@ HUJ_defend_Britain = {
ai_strategy = {
type = put_unit_buffers
order_id = 2
order_id = 1
# south england
states = {
125
126
127
128
129
127
123
125
338
123
122
132
129
130
132
131
121
133
136
120
121
119
113
135
}
ratio = 0.20
ratio = 1.0
area = europe
subtract_invasions_from_need = no
subtract_invasions_from_need = yes
subtract_fronts_from_need = yes
}
}
@@ -991,7 +993,6 @@ HUJ_convoy_raids_TIX_SAD_convoys = {
id = 18
value = 200
}
ai_strategy = {
type = naval_convoy_raid_region
id = 43
@@ -1003,6 +1004,21 @@ HUJ_convoy_raids_TIX_SAD_convoys = {
id = 16
value = 200
}
ai_strategy = {
type = strike_force_home_base
id = 18
value = 400
}
ai_strategy = {
type = strike_force_home_base
id = 43
value = 400
}
ai_strategy = {
type = strike_force_home_base
id = 16
value = 400
}
}
HUJ_place_for_build_factory = {
@@ -1139,10 +1155,10 @@ HUJ_protect_bentu_ore = {
type = put_unit_buffers
# ratio of total armeis in country to be buffered
ratio = 0.4
ratio = 1.0
# you can specify an order id. ratio of same orders ids will be share same ratio
order_id = 1
order_id = 2
# states to put garrison orders (if no state is friendly, strat is invalid)
states = {
@@ -1162,7 +1178,8 @@ HUJ_protect_bentu_ore = {
113
135
}
subtract_invasions_from_need = yes
subtract_fronts_from_need = yes
# ai areas that the orders will use these buffers in
area = europe
}

View File

@@ -839,7 +839,7 @@ SAD_protect_bentu_ore = {
type = put_unit_buffers
# ratio of total armeis in country to be buffered
ratio = 0.2
ratio = 1.0
# you can specify an order id. ratio of same orders ids will be share same ratio
order_id = 1

View File

@@ -1911,4 +1911,63 @@ TIX_hold_up_in_bfl = { #We got this far but there are bigger targets to worry ab
execution_type = careful
}
}
TIX_attack_DOH = {
allowed = {
original_tag = TIX
}
enable = {
not = { country_exists = BFL }
TIX = {
has_government = fascism
not = { is_in_faction_with = DOH }
}
DOH = { is_ai = no }
}
abort = {
NOT = {
TIX = {
has_government = fascism
}
}
}
ai_strategy = {
type = invade
id = "DOH"
value = 200
}
ai_strategy = {
type = declare_war
id = "DOH"
value = 200
}
ai_strategy = {
type = antagonize
id = "DOH"
value = 1000
}
}
TIX_SIR_guanxi = {
allowed = { original_tag = TIX }
enable = {
is_subject = no
}
abort = {
is_subject = yes
}
ai_strategy = {
type = befriend
id = SIR
value = 40
}
ai_strategy = {
type = alliance
id = SIR
value = 40
}
}

View File

@@ -477,10 +477,10 @@ YUW_protect_bentu_ore = {
type = put_unit_buffers
# ratio of total armeis in country to be buffered
ratio = 0.05
ratio = 0.5
# you can specify an order id. ratio of same orders ids will be share same ratio
order_id = 1
order_id = 2
# states to put garrison orders (if no state is friendly, strat is invalid)
states = {
@@ -507,7 +507,7 @@ YUW_protect_maqinuo_ore = {
type = put_unit_buffers
# ratio of total armeis in country to be buffered
ratio = 0.7
ratio = 1.0
# you can specify an order id. ratio of same orders ids will be share same ratio
order_id = 1