This commit is contained in:
@@ -168,6 +168,7 @@ CHY_unit_production_army_before_1940 = {
|
||||
NOT = {
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
|
||||
}
|
||||
abort = {
|
||||
OR = {
|
||||
@@ -175,6 +176,8 @@ CHY_unit_production_army_before_1940 = {
|
||||
date > 1940.1.1
|
||||
NOT = { country_exists = DOH }
|
||||
has_idea = TY_dingzhenai
|
||||
has_global_flag = AZ_fengkuangAI_citiao_10
|
||||
has_global_flag = AZ_fengkuangAI_citiao_ex
|
||||
}
|
||||
}
|
||||
|
||||
@@ -262,6 +265,10 @@ CHY_unit_production_army_after_1940 = {
|
||||
NOT = {
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
OR = {
|
||||
has_global_flag = AZ_fengkuangAI_citiao_10
|
||||
has_global_flag = AZ_fengkuangAI_citiao_ex
|
||||
}
|
||||
}
|
||||
}
|
||||
abort_when_not_enabled = yes
|
||||
@@ -792,9 +799,16 @@ strike_DOH = {
|
||||
enable = {
|
||||
has_war_with = DOH
|
||||
date < 1938.2.1
|
||||
OR = {
|
||||
has_global_flag = AZ_fengkuangAI_citiao_10
|
||||
has_global_flag = AZ_fengkuangAI_citiao_ex
|
||||
}
|
||||
}
|
||||
abort = {
|
||||
date > 1938.2.1
|
||||
NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 }
|
||||
NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex }
|
||||
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
@@ -1191,7 +1205,8 @@ CHY_hold_up_in_china = { #We got this far but there are bigger targets to worry
|
||||
613 = { # Nanjing
|
||||
is_controlled_by = CHY
|
||||
}
|
||||
|
||||
NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 }
|
||||
NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex }
|
||||
}
|
||||
abort_when_not_enabled = yes
|
||||
|
||||
|
||||
@@ -192,10 +192,16 @@ DOH_unit_production_at_week = {
|
||||
NOT = {
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 }
|
||||
NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex }
|
||||
}
|
||||
abort = {
|
||||
num_of_military_factories > 150
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
has_idea = TY_dingzhenai
|
||||
has_global_flag = AZ_fengkuangAI_citiao_10
|
||||
has_global_flag = AZ_fengkuangAI_citiao_ex
|
||||
}
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
@@ -273,15 +279,14 @@ DOH_unit_production_at_strong = {
|
||||
original_tag = DOH
|
||||
}
|
||||
enable = {
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
num_of_military_factories > 149
|
||||
NOT = {
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
has_global_flag = AZ_fengkuangAI_citiao_10
|
||||
has_global_flag = AZ_fengkuangAI_citiao_ex
|
||||
}
|
||||
abort = {
|
||||
num_of_military_factories < 150
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
abort_when_not_enabled = yes
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
@@ -647,6 +652,8 @@ DOH_hunker_down_now = {
|
||||
CHY = { has_war_with = BYG }
|
||||
CHY = { has_war_with = YUW }
|
||||
CHY = { has_war_with = HUJ }
|
||||
has_global_flag = AZ_fengkuangAI_citiao_10
|
||||
has_global_flag = AZ_fengkuangAI_citiao_ex
|
||||
}
|
||||
}
|
||||
|
||||
@@ -674,6 +681,39 @@ DOH_hunker_down_now = {
|
||||
}
|
||||
}
|
||||
|
||||
strike_CHY_fengkuangAI = {
|
||||
allowed = {
|
||||
original_tag = DOH
|
||||
}
|
||||
enable = {
|
||||
has_war_with = CHY
|
||||
OR = {
|
||||
has_global_flag = AZ_fengkuangAI_citiao_10
|
||||
has_global_flag = AZ_fengkuangAI_citiao_ex
|
||||
}
|
||||
}
|
||||
abort_when_not_enabled = yes
|
||||
|
||||
ai_strategy = {
|
||||
type = front_control
|
||||
|
||||
tag = CHY
|
||||
|
||||
ratio = 0.25
|
||||
|
||||
priority = 100
|
||||
ordertype = front
|
||||
execution_type = rush
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = CHY
|
||||
value = 200
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DOH_war_with_CHY_at_strong = {
|
||||
allowed = {
|
||||
original_tag = DOH
|
||||
|
||||
@@ -172,10 +172,12 @@ SIR_unit_production_army_before_1940 = {
|
||||
NOT = {
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
NOT = { has_global_flag = modoption_historicalbossai_on }
|
||||
}
|
||||
abort = {
|
||||
NOT = { country_exists = BLI }
|
||||
has_idea = TY_dingzhenai
|
||||
has_global_flag = modoption_historicalbossai_on
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
@@ -271,10 +273,118 @@ SIR_unit_production_army_after_1940 = {
|
||||
original_tag = SIR
|
||||
}
|
||||
enable = {
|
||||
NOT = { country_exists = BLI }
|
||||
NOT = {
|
||||
has_idea = TY_dingzhenai
|
||||
NOT = { country_exists = BLI }
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
has_global_flag = modoption_historicalbossai_on
|
||||
}
|
||||
abort = {
|
||||
has_global_flag = modoption_historicalbossai_on
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = garrison
|
||||
value = -100
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = paratroopers
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = mountaineers
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = marines
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = cavalry
|
||||
value = -100
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio #模板倾向
|
||||
id = infantry
|
||||
value = 400
|
||||
}
|
||||
ai_strategy = {
|
||||
type = template_prio #修改模板倾向
|
||||
id = infantry
|
||||
value = 50
|
||||
}
|
||||
ai_strategy = {
|
||||
type = role_ratio #模板倾向
|
||||
id = armor
|
||||
value = 2000
|
||||
}
|
||||
ai_strategy = {
|
||||
type = template_prio #修改模板倾向
|
||||
id = armor
|
||||
value = 1000
|
||||
}
|
||||
ai_strategy = {
|
||||
type = equipment_production_factor #装备倾向
|
||||
id = armor
|
||||
value = 1000
|
||||
}
|
||||
ai_strategy = {
|
||||
type = equipment_production_factor #装备倾向
|
||||
id = infantry
|
||||
value = 20
|
||||
}
|
||||
ai_strategy = {
|
||||
type = equipment_production_factor #装备倾向
|
||||
id = anti_air
|
||||
value = 10
|
||||
}
|
||||
ai_strategy = {
|
||||
type = equipment_production_factor #装备倾向
|
||||
id = land_heavy_tank_destroyer
|
||||
value = 500
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_min_factories
|
||||
id = land_heavy_tank
|
||||
value = 1
|
||||
}
|
||||
ai_strategy = {
|
||||
type = equipment_production_min_factories
|
||||
id = land_heavy_tank_destroyer
|
||||
value = 1
|
||||
}
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
SIR_unit_production_army_historicalbossai_on = {
|
||||
allowed = {
|
||||
original_tag = SIR
|
||||
}
|
||||
enable = {
|
||||
has_global_flag = modoption_historicalbossai_on
|
||||
}
|
||||
abort_when_not_enabled = yes
|
||||
|
||||
|
||||
@@ -1464,6 +1464,7 @@ TIX_dont_help_SAD_in_africa_after_SAD_control_Cairo = {
|
||||
enable = {
|
||||
is_in_faction_with = SAD
|
||||
SAD = { controls_state = 2 }
|
||||
country_exists = BFL
|
||||
}
|
||||
abort_when_not_enabled = yes
|
||||
ai_strategy = {
|
||||
|
||||
@@ -1565,6 +1565,68 @@ ai_naval_research_DOH_8 = {
|
||||
|
||||
}
|
||||
|
||||
ai_tank_research_1 = {
|
||||
allowed = {
|
||||
original_tag = SIR
|
||||
}
|
||||
enable = {
|
||||
date > 1936.1.1
|
||||
}
|
||||
|
||||
abort = {
|
||||
has_tech = gwtank_chassis
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = research_tech
|
||||
id = 88 #gwtank_chassis
|
||||
value = 2000
|
||||
}
|
||||
}
|
||||
|
||||
ai_heavy_tank_research_1 = {
|
||||
allowed = {
|
||||
original_tag = SIR
|
||||
}
|
||||
enable = {
|
||||
has_tech = gwtank_chassis
|
||||
date > 1936.1.1
|
||||
}
|
||||
|
||||
abort = {
|
||||
has_tech = basic_heavy_tank_chassis
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = research_tech
|
||||
id = 98 #basic_heavy_tank_chassis
|
||||
value = 2000
|
||||
}
|
||||
}
|
||||
|
||||
ai_heavy_tank_research_2 = {
|
||||
allowed = {
|
||||
OR = {
|
||||
original_tag = SIR
|
||||
original_tag = BLI
|
||||
}
|
||||
}
|
||||
enable = {
|
||||
has_tech = basic_heavy_tank_chassis
|
||||
date > 1936.1.1
|
||||
}
|
||||
|
||||
abort = {
|
||||
has_tech = improved_heavy_tank_chassis
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = research_tech
|
||||
id = 99 #improved_heavy_tank_chassis
|
||||
value = 2000
|
||||
}
|
||||
}
|
||||
|
||||
ai_naval_submarine = {
|
||||
allowed = {
|
||||
OR = {
|
||||
|
||||
Reference in New Issue
Block a user