2024-07-20 20:01:08
All checks were successful
sync / build (push) Successful in 54s

This commit is contained in:
actions[bot]
2024-07-20 20:01:08 +08:00
parent f1b185b018
commit ec22c04e70
28 changed files with 868 additions and 181 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

View File

@@ -15,6 +15,7 @@ BFL_historical = {
option = BFL_historical_focus
}
}
not = { has_global_flag = modoption_historicalbossai_on }
}
abort = {
has_completed_focus = BFL_beijiyanjiuyuan
@@ -109,105 +110,93 @@ BFL_historical = {
}
BFL_historical_sairen = {
name = "BFL_historical"
desc = "BFL_historical_desc"
BFL_sayousi = {
name = "BFL_sayousi"
desc = "BFL_sayousi_desc"
allowed = {
original_tag = BFL
}
enable = {
has_global_flag = MOD_azurlane_sairenzhizai
or = {
is_historical_focus_on = yes
has_game_rule = {
rule = BFL_ai_behavior
option = BFL_historical_focus
}
}
has_global_flag = MOD_azurlane_tianjiangjianniang
has_global_flag = modoption_historicalbossai_on
}
abort = {
has_completed_focus = BFL_jingliangdedaxingjian
has_completed_focus = BFL_68
}
ai_national_focuses = {
#before war
BFL_beiliandejianshizhe
BFL_womendecimu
BFL_yinyingzhongdeyanjing
BFL_qiangyingluxian
BFL_shiyingyanhan
BFL_lujunjianshe
BFL_zhongshijiaoyu
#begin war with SIR
BFL_dongougongshi
BFL_renminzhanzheng
BFL_jingweizhixin
BFL_wanchengdiergewunianjihua
BFL_xiayigewunianjihua
BFL_moermansike
BFL_beijitanxiandui
BFL_beijiyanjiuyuan
BFL_jungongchang
BFL_jitizhuyi
BFL_yingxiongzhuyi
BFL_futejiajiuchang
BFL_huanleshiguang
BFL_jihuangwenti
BFL_zhongzhiyumi
BFL_jinkouliangshi
BFL_zhongshizhuangbei
BFL_fazhanbubing
BFL_buqiangshengchan
BFL_yinruwaizi
BFL_gongrenfuli
BFL_mingongjianshe
#war with SR3(Asia SR)
BFL_chongxinshenshizishendiwei
BFL_dulizizhu
BFL_mosike
BFL_lieninggele
BFL_junduizhengwei
BFL_wulaergongshi
BFL_huopaodezhongchui
BFL_baohefugai
BFL_qishuichang
BFL_beijikeji
BFL_beijifadongji
BFL_beijijianzhuang
BFL_beijiwurenji
BFL_kejichuangxin
BFL_fazhanjidonghua
BFL_yundongzhan
BFL_zongshenzuozhan
#mid
BFL_zhanshuyanjiu
BFL_fazhanzhuangjia
BFL_goumaitiexuetuzhi
BFL_qiequtiexuetuzhi
BFL_t34shengchan
BFL_gangtiehongliu
BFL_wulaerdakaifa
BFL_zhiduzixin
BFL_guojiyundong
#navy&airforce
BFL_zhongshihaijun
BFL_xiaoquzhujian
BFL_xunyangjian
BFL_zhanliedajieda
BFL_hangmumama
BFL_kongjunjianshe
BFL_liluntupo
BFL_cezhongduidizhiyuan
BFL_hongzhadashi
BFL_xianyuchang
BFL_buyuchuanchuanwu
BFL_lieninggelezaochuanchang
BFL_mosikegongyequn
BFL_jianduizhiliang
BFL_chaoqiansiwei
BFL_jingliangdedaxingjian
#1936
BFL_wanchengdiergewunianjihua #70
BFL_xiayigewunianjihua #35
BFL_12 #35
BFL_14 #35
BFL_33 #28
BFL_34 #28
BFL_36 #28
BFL_35 #28
BFL_37 #42
BFL_51 #0
BFL_52 #28
BFL_53 #28
BFL_54 #210
#1937
BFL_60
BFL_61
BFL_62
BFL_futejiajiuchang #49
BFL_huanleshiguang #35
BFL_jihuangwenti #70
#1938
BFL_zhongzhiyumi #35
BFL_63 #70
BFL_1 #28
BFL_7 #35
BFL_8 #35
BFL_jinkouliangshi #28
BFL_lujunjianshe #56
BFL_zhongshijiaoyu #35
BFL_jitizhuyi #35
BFL_yingxiongzhuyi #35
#1939
BFL_junduizhengwei #56
BFL_zhongshizhuangbei #70
BFL_fazhanbubing #35
BFL_jungongchang #42
BFL_lingpixijing #21
BFL_zuihoutongdie #35
BFL_buqiangshengchan #35
BFL_gongrenfuli #35
BFL_huopaodezhongchui #49
BFL_baohefugai #49
#1940
BFL_fazhanjidonghua #49
BFL_yundongzhan #56
BFL_zongshenzuozhan #49
BFL_weisheyilang #35
BFL_zhengfuafuhan #21
BFL_fazhanzhuangjia #49
BFL_qiequtiexuetuzhi #35
BFL_t34shengchan #56
#1941
BFL_gangtiehongliu #42
BFL_liluntupo #56
BFL_2 #28
BFL_3 #28
BFL_4 #28
BFL_5 #28
BFL_dongfangdeweixie #35
BFL_quebaohoufanganquan #14
BFL_kongjunjianshe #70
#1942
BFL_cezhongduidizhiyuan #70
BFL_hongzhadashi #70
BFL_moermansike #70
BFL_beijitanxiandui #35
BFL_beijiyanjiuyuan #49
BFL_64
BFL_66
BFL_68
}
research = {

View File

@@ -14,6 +14,7 @@ YUW_historical_new = {
option = YUW_historical_focus_new
}
}
not = { has_global_flag = modoption_historicalbossai_on }
}
abort = {
has_completed_focus = YUW_yongwangzhiqian
@@ -745,13 +746,16 @@ YUW_jiaojuzhe_banerwei = {
original_tag = YUW
}
enable = {
or = {
has_game_rule = {
rule = YUW_ai_behavior
option = YUW_jiaojuzhe_banerwei
}
has_global_flag = modoption_historicalbossai_on
}
}
abort = {
has_completed_focus = YUW_xingyunqiyuan
has_completed_focus = YUW_yongwangzhiqian
}
ai_national_focuses = {
@@ -766,6 +770,18 @@ YUW_jiaojuzhe_banerwei = {
YUW_zhengmianyingjibuqu
YUW_zhongzhifengkuangjihua
YUW_xingyunqiyuan
#外交线
YUW_jiuciweizhiderongren
YUW_gongfangzhuanhuan
YUW_yanchangfangxian
YUW_jiaotingjiudi
#其他线路
YUW_chongzhengjunbei
YUW_lan
YUW_blhx
YUW_ouzhouxiongji
YUW_xinyang
YUW_yongwangzhiqian
}
research = {

View File

@@ -670,41 +670,7 @@ DOH_decision_category = {
days_remove = 21
remove_effect = {
custom_effect_tooltip = "(原)北联的五位革命舰娘将来到东煌暂避。"
TIX = {
BFL_sayousi = {
set_nationality = DOH
}
BFL_afuleer = {
set_nationality = DOH
}
BFL_shuixingjinian = {
set_nationality = DOH
}
BFL_kalangshitade = {
set_nationality = DOH
}
BFL_luoxiya = {
set_nationality = DOH
}
}
BFL = {
BFL_sayousi = {
set_nationality = DOH
}
BFL_afuleer = {
set_nationality = DOH
}
BFL_shuixingjinian = {
set_nationality = DOH
}
BFL_kalangshitade = {
set_nationality = DOH
}
BFL_luoxiya = {
set_nationality = DOH
}
}
CHY = {
every_possible_country = {
BFL_sayousi = {
set_nationality = DOH
}
@@ -721,6 +687,7 @@ DOH_decision_category = {
set_nationality = DOH
}
}
set_country_flag = DOH_BFL_bifenggang_flag
}
}
#DOH_BFL_bifenggang_gaobie_decision
@@ -983,6 +950,7 @@ DOH_industry_decision_category = {
has_completed_focus = DOH_jinjigaige
NOT = {
has_country_flag = DOH_auto_conv_com_arm
has_country_flag = DOH_auto_conv_arm
}
}
}
@@ -1007,7 +975,10 @@ DOH_industry_decision_category = {
is_debug = yes
AND = {
has_completed_focus = DOH_jinjigaige
has_country_flag = DOH_auto_conv_com_arm
OR = {
has_country_flag = DOH_auto_conv_com_arm
has_country_flag = DOH_auto_conv_arm
}
}
}
}
@@ -1019,7 +990,58 @@ DOH_industry_decision_category = {
clr_country_flag = DOH_auto_conv_com_arm
}
}
DOH_auto_civ_to_arm_industry_decision = {
icon = xingdong
ai_will_do = {
factor = 0
}
visible = {
OR = {
is_debug = yes
AND = {
has_completed_focus = DOH_jinjigaige
NOT = {
has_country_flag = DOH_auto_conv_com_arm
has_country_flag = DOH_auto_conv_arm
}
}
}
}
cost = 0
available = {
has_equipment = {
doh_civ_equipment_1 > 0
}
}
complete_effect = {
set_country_flag = DOH_auto_conv_arm
}
}
DOH_disable_auto_civ_to_arm_industry_decision = {
icon = xingdong
ai_will_do = {
factor = 0
}
visible = {
OR = {
is_debug = yes
AND = {
has_completed_focus = DOH_jinjigaige
OR = {
has_country_flag = DOH_auto_conv_com_arm
has_country_flag = DOH_auto_conv_arm
}
}
}
}
cost = 0
available = {
has_country_flag = DOH_auto_conv_arm
}
complete_effect = {
clr_country_flag = DOH_auto_conv_arm
}
}
# DOH_cic_to_civ_industry_decision = {
# icon = xingdong
# ai_will_do = {

View File

@@ -39,8 +39,9 @@ DOH_industry_decision_category = {
is_debug = yes
}
has_completed_focus = DOH_junmingronghe
has_equipment = {
doh_civ_equipment > 0
doh_civ_equipment_1 > 0
}
# has_equipment = {
# doh_civ_naval_equipment_1 > 1

View File

@@ -1,4 +1,51 @@
tianjiang_aizuobi = {
ai_byg_ruzhan_fa = {
available = {
date > 1940.4.1
tag = BYG
is_puppet = no
is_ai = yes
has_global_flag = modoption_historicalbossai_on
has_global_flag = MOD_azurlane_tianjiangjianniang
}
visible = {
is_ai = yes
tag = BYG
}
ai_will_do = {
factor = 10000
}
fire_only_once = yes
complete_effect = {
set_technology = { mobile_warfare = 1 }
complete_national_focus = BYG_ziyouhanweizhe
complete_national_focus = BYG_bilanhangxianfangyutongmeng
complete_national_focus = BYG_lianbangdeyingxiong
complete_national_focus = BYG_zongtongqinshangzhen
complete_national_focus = BYG_xiandaishandianzhan
}
}
ai_huj_zhimindi_fa = {
available = {
date > 1939.10.10
tag = HUJ
is_puppet = no
is_ai = yes
has_global_flag = modoption_historicalbossai_on
has_global_flag = MOD_azurlane_tianjiangjianniang
}
visible = {
is_ai = yes
tag = HUJ
}
ai_will_do = {
factor = 10000
}
fire_only_once = yes
complete_effect = {
complete_national_focus = HUJ_tongzhibabuliedianhuj
}
}
ai_tix_zaozhanbeilianzuobi = {
available = {
date > 1939.12.30
@@ -20,6 +67,58 @@ tianjiang_aizuobi = {
YUW = { has_capitulated = yes }
NOT = { country_exists = YUW }
}
not = { has_global_flag = modoption_historicalbossai_on }
}
visible = {
is_ai = yes
tag = TIX
}
ai_will_do = {
factor = 10000
}
fire_only_once = yes
days_remove = 180
complete_effect = {
complete_national_focus = TIX_siweichuangxin
complete_national_focus = TIX_libingmoma
complete_national_focus = TIX_feixuzhixia
BFL = { country_event = az_tianjiang.231 }
BYG = { country_event = az_tianjiang.231 }
add_ai_strategy = {
type = prepare_for_war
id = "BFL"
value = 500
}
}
remove_effect = {
complete_national_focus = TIX_qifujuxiong
complete_national_focus = TIX_zhifujuxiong
}
}
ai_tix_zaozhanbeilianzuobi2 = {
available = {
date > 1940.6.30
tag = TIX
is_puppet = no
or = {
has_idea = TY_fengkuangai
has_idea = TY_fengkuangai2
has_idea = TY_fengkuangai3
}
is_ai = yes
has_government = fascism
has_global_flag = MOD_azurlane_tianjiangjianniang
or = {
BFL = { is_ai = no }
BYG = { is_ai = no }
}
OR = {
YUW = { has_capitulated = yes }
NOT = { country_exists = YUW }
}
has_global_flag = modoption_historicalbossai_on
}
visible = {
is_ai = yes
@@ -784,6 +883,7 @@ tianjiang_aizuobi = {
tag = TIX
date > 1939.8.1
has_idea = TIX_fkAIbuff
not = { has_global_flag = modoption_historicalbossai_on }
}
visible = {
tag = TIX
@@ -805,6 +905,27 @@ tianjiang_aizuobi = {
complete_national_focus = TIX_heikejibuqiang
}
}
tix_sairenkeji_fa2 = {
icon = generic_construction
available = {
is_ai = yes
tag = TIX
date > 1939.2.1
has_global_flag = modoption_historicalbossai_on
}
visible = {
tag = TIX
is_ai = yes
}
ai_will_do = {
factor = 100
}
fire_only_once = yes
complete_effect = {
complete_national_focus = TIX_jixuheikeji
}
}
SAD_tankekeji_fa = {
icon = generic_construction

View File

@@ -119,6 +119,13 @@ xingdong_category = {
visible = {
NOT = { has_country_flag = show_tuxizhanzheng }
}
available = {
or = {
not = { has_global_flag = modoption_fengkuangai_on }
not = { has_global_flag = modoption_historicalbossai_on }
has_global_flag = MOD_azurlane_sairenzhizai
}
}
complete_effect = {
set_country_flag = show_tuxizhanzheng
}
@@ -1902,6 +1909,10 @@ xingdong_category = {
mf_chushoumofang = {
icon = xzmf
available = {
or = {
has_global_flag = modoption_fengkuangai_on
not = { has_global_flag = modoption_historicalbossai_on }
}
custom_trigger_tooltip = {
tooltip = ""
check_variable = {

View File

@@ -4774,6 +4774,10 @@
set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled
}
available = {
if = {
limit = {
is_ai = no
}
has_country_flag = BFL_fanduiluoxiya_flag
has_country_flag = BFL_zzpianzhidu_on
custom_trigger_tooltip = {
@@ -4784,6 +4788,7 @@
compare = less_than_or_equals
}
}
}
}
ai_will_do = {
factor = 100
@@ -4792,6 +4797,7 @@
clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag
if = {
limit = {
is_ai = no
check_variable = {
var = az_pianzhidu
value = 19
@@ -4799,7 +4805,18 @@
}
}
country_event = az_tianjiang.253
}else = {
}
if = {
limit = {
or = {
is_ai = yes
check_variable = {
var = az_pianzhidu
value = 20
compare = greater_than_or_equals
}
}
}
country_event = az_tianjiang.254
}
}

View File

@@ -3063,9 +3063,12 @@ focus = {
}
cost = 5
bypass = {
or = {
BLI = {
has_completed_focus = BLI_xindalu
}
not = { country_exists = BRA }
}
}
ai_will_do = {
factor = 10
@@ -3131,6 +3134,8 @@ focus = {
BLI = {
has_completed_focus = BLI_xindalu
}
not = { country_exists = VEN }
not = { country_exists = PRU }
}
}
ai_will_do = {

View File

@@ -1584,10 +1584,14 @@ focus_tree = {
army_experience = 50
add_war_support = 0.2
DOH_yixian = {
add_skill_level = 2
add_skill_level = 1
add_planning = 1
add_unit_leader_trait = brilliant_strategist
add_unit_leader_trait = expert_delegator
}
every_army_leader = {
add_skill_level = 1
}
}
}
focus = {
@@ -1607,7 +1611,7 @@ focus_tree = {
add_popularity = { ideology = fascism popularity = 0.25 }
add_to_variable = { DOH_guomuyixian_var_army_morale_factor = 0.08 }
add_to_variable = { DOH_guomuyixian_var_land_reinforce_rate = 0.1 }
add_to_variable = { DOH_guomuyixian_var_planning_speed = 0.1 }
add_to_variable = { DOH_guomuyixian_var_planning_speed = 0.15 }
custom_effect_tooltip = DOH_zhangkongsanjun_tt
}
}
@@ -1698,8 +1702,8 @@ focus_tree = {
add_political_power = 350
add_stability = 0.25
add_to_variable = { DOH_guomuyixian_var_political_power_factor = 0.1 }
add_to_variable = { DOH_guomuyixian_var_army_attack_factor = 0.05 }
add_to_variable = { DOH_guomuyixian_var_army_defence_factor = 0.05 }
add_to_variable = { DOH_guomuyixian_var_army_attack_factor = 0.25 }
add_to_variable = { DOH_guomuyixian_var_army_defence_factor = 0.25 }
custom_effect_tooltip = DOH_yixianwansui_tt
hidden_effect = { news_event = aznews.13 }
}
@@ -2337,7 +2341,6 @@ focus_tree = {
#search_filters = { FOCUS_FILTER_STABILITY }
completion_reward = {
custom_effect_tooltip = DOH_hongsedengta_tooltip
custom_effect_tooltip = "这里有个bug还没做完"
every_country = {
limit = {
OR = {
@@ -3645,6 +3648,7 @@ focus_tree = {
completion_reward = {
custom_effect_tooltip = DOH_chaogongtixi_tooltip
custom_effect_tooltip = "(还没做完)"
}
}
focus = {
@@ -3666,11 +3670,12 @@ focus_tree = {
}
available = {
always = no
}
completion_reward = {
custom_effect_tooltip = DOH_cijichaogongzhongxin_tooltip
custom_effect_tooltip = "(还没做完)"
}
}
@@ -5080,9 +5085,9 @@ focus_tree = {
focus = DOH_junmingronghe_jishugaijing
}
available = {
num_of_factories > 1600
num_of_factories > 800
}
cost = 5
cost = 2
x = 3
y = 2
completion_reward = {

View File

@@ -4128,6 +4128,10 @@ focus_tree = {
search_filters = { FOCUS_FILTER_HISTORICAL }
completion_reward = {
custom_effect_tooltip = AZ_lishitiaozhan_on
effect_tooltip = {
country_event = az_tianjiang.270
}
custom_effect_tooltip = iflwntlingxiu_tezhihuode
effect_tooltip = {
add_country_leader_trait = trait_psh_tianxuanzhiren
@@ -4150,6 +4154,14 @@ focus_tree = {
add_unit_leader_trait = expert_delegator
}
add_political_power = -100
hidden_effect = {
if = {
limit = {
has_global_flag = modoption_historicalbossai_on
}
country_event = az_tianjiang.270
}
}
}
}

View File

@@ -1109,6 +1109,7 @@ focus_tree = {
}
is_ai = no
BLI = { is_ai = no }
has_global_flag = modoption_historicalbossai_on
}
}
ai_will_do = {

View File

@@ -332,6 +332,18 @@ focus = {
army_experience = 100
navy_experience = 50
TIX_heikeji_dengji = yes
custom_effect_tooltip = AZ_lishitiaozhan_on
effect_tooltip = {
country_event = az_tianjiang.269
}
hidden_effect = {
if = {
limit = {
has_global_flag = modoption_historicalbossai_on
}
country_event = az_tianjiang.269
}
}
}
}
@@ -2257,6 +2269,18 @@ focus = {
ideology = nazism
}
}
custom_effect_tooltip = AZ_lishitiaozhan_on
effect_tooltip = {
country_event = az_tianjiang.268
}
hidden_effect = {
if = {
limit = {
has_global_flag = modoption_historicalbossai_on
}
country_event = az_tianjiang.268
}
}
}
}
@@ -5085,7 +5109,16 @@ focus = {
add_timed_idea = { idea = TIX_shuangxianzuozhandepibei days = 80 }
}
}
if = {
limit = {
is_ai = yes
BFL = { is_ai = yes }
has_idea = TIX_fkAIbuff
}
BFL = {
add_timed_idea = { idea = BFL_weidadeweiguozhanzheng_ai days = 650 }
}
}
}
}

View File

@@ -206,6 +206,45 @@ DOH_mofifier_effect = {
days = 10
}
}
if = {
limit = {
has_country_flag = DOH_auto_conv_arm
check_variable = {
var:num_equipment@doh_civ_equipment_1 > 0
}
}
set_temp_variable = {
temp_var:az_doh_clr_equ = var:num_equipment@doh_civ_equipment_1
}
divide_temp_variable = {
temp_var:az_doh_clr_equ = 72
}
round_temp_variable = temp_var:az_doh_clr_equ
set_temp_variable = {
temp_var:az_doh_factroies_add = temp_var:az_doh_clr_equ
}
multiply_temp_variable = {
temp_var:az_doh_clr_equ = -72
}
add_equipment_to_stockpile = {
type = doh_civ_equipment_1
amount = temp_var:az_doh_clr_equ
}
add_offsite_building = {
type = arms_factory
level = temp_var:az_doh_factroies_add
}
add_offsite_building = {
type = industrial_complex
level = temp_var:az_doh_factroies_add
}
add_timed_idea = {
idea = DOH_czdswgy
days = 10
}
}
#东煌矿业大学
if = {
limit = {

View File

@@ -633,6 +633,20 @@ scripted_gui = {
}
}
}
modoption_button8_on_click = {
if = {
limit = {
has_global_flag = modoption_historicalbossai_on
}
clr_global_flag = modoption_historicalbossai_on
}
else = {
set_global_flag = modoption_historicalbossai_on
every_country = {
country_event = az_tianjiang.271
}
}
}
}
triggers = {
modoption_button6_on_click_enabled = {
@@ -641,6 +655,9 @@ scripted_gui = {
modoption_button7_on_click_enabled = {
NOT = { has_global_flag = modoption_fengkuangai_on }
}
modoption_button8_on_click_enabled = {
is_historical_focus_on = yes
}
modoption_sirennandu1_click_enabled = {
NOT = { has_global_flag = sirennandu2 }
NOT = { has_global_flag = sirennandu3 }
@@ -674,6 +691,9 @@ scripted_gui = {
modoption_button7_on_visible = {
NOT = { has_global_flag = az_gamestarted }
}
modoption_button8_on_visible = {
NOT = { has_global_flag = az_gamestarted }
}
modoption_sirennandu_title_visible = {
has_global_flag = MOD_azurlane_sairenzhizai
}

View File

@@ -963,4 +963,34 @@ defined_text = {
}
localization_key = modoption_btn_1_off
}
}
defined_text = {
name = modoption_title8
text = {
trigger = {
has_global_flag = modoption_historicalbossai_on
}
localization_key = modoption_title8_on
}
text = {
trigger = {
NOT= { has_global_flag = modoption_historicalbossai_on }
}
localization_key = modoption_title8_off
}
}
defined_text = {
name = modoption_btn_8
text = {
trigger = {
has_global_flag = modoption_historicalbossai_on
}
localization_key = modoption_btn_1_on
}
text = {
trigger = {
NOT = { has_global_flag = modoption_historicalbossai_on }
}
localization_key = modoption_btn_1_off
}
}