818 lines
20 KiB
Plaintext
Executable File
818 lines
20 KiB
Plaintext
Executable File
on_actions = {
|
|
on_startup = {
|
|
effect = {
|
|
SIR = {
|
|
country_event = az_tianjiang.324
|
|
}
|
|
BLI = {
|
|
country_event = az_tianjiang.324
|
|
}
|
|
CHY = {
|
|
country_event = az_tianjiang.324
|
|
}
|
|
}
|
|
effect = {
|
|
SHO = {
|
|
country_event = az_tianjiang.357
|
|
}
|
|
BOW = {
|
|
country_event = az_tianjiang.357
|
|
}
|
|
HOL = {
|
|
country_event = az_tianjiang.357
|
|
}
|
|
}
|
|
effect = {
|
|
every_country = {
|
|
limit = {
|
|
is_ai = no
|
|
}
|
|
#country_event = az_tianjiang.389
|
|
activate_mission = AZ_meizhoutiaozhan_jy_time
|
|
}
|
|
}
|
|
effect = {
|
|
every_country = {
|
|
limit = {
|
|
OR = {
|
|
tag = BYG
|
|
tag = HUJ
|
|
tag = TIX
|
|
tag = SAD
|
|
tag = BFL
|
|
tag = YUW
|
|
tag = DOH
|
|
tag = CHY
|
|
tag = BLI
|
|
tag = SIR
|
|
tag = DH1
|
|
}
|
|
is_ai = no
|
|
}
|
|
add_ideas = az_meitanzuobi
|
|
}
|
|
}
|
|
effect = {
|
|
every_country = {
|
|
limit = {
|
|
OR = {
|
|
tag = BYG
|
|
tag = HUJ
|
|
tag = TIX
|
|
tag = SAD
|
|
tag = BFL
|
|
tag = YUW
|
|
tag = DOH
|
|
tag = CHY
|
|
tag = BLI
|
|
tag = SIR
|
|
}
|
|
is_ai = yes
|
|
}
|
|
add_ideas = az_aimeitanzuobi
|
|
}
|
|
}
|
|
effect = {
|
|
CAN = {
|
|
#retire_country_leader = yes
|
|
recruit_character = HUJ_CAN_yuekegongjue
|
|
add_country_leader_role = {
|
|
character = HUJ_CAN_yuekegongjue
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = liberalism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_CAN_yuekegongjue
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = fascism_ideology
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_CAN_yuekegongjue
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = despotism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
}
|
|
AST = {
|
|
#retire_country_leader = yes
|
|
recruit_character = HUJ_AST_yingyong
|
|
add_country_leader_role = {
|
|
character = HUJ_AST_yingyong
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = liberalism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_AST_yingyong
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = fascism_ideology
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_AST_yingyong
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = despotism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
}
|
|
NZL = {
|
|
#retire_country_leader = yes
|
|
recruit_character = HUJ_NZL_yingyong
|
|
add_country_leader_role = {
|
|
character = HUJ_NZL_yingyong
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = liberalism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_NZL_yingyong
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = fascism_ideology
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_NZL_yingyong
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = despotism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
}
|
|
SAF = {
|
|
#retire_country_leader = yes
|
|
recruit_character = HUJ_SAF_heiwangzi
|
|
add_country_leader_role = {
|
|
character = HUJ_SAF_heiwangzi
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = liberalism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_SAF_heiwangzi
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = fascism_ideology
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_SAF_heiwangzi
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = despotism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
}
|
|
RAJ = {
|
|
recruit_character = HUJ_RAJ_naerxun
|
|
add_country_leader_role = {
|
|
character = HUJ_RAJ_naerxun
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = liberalism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_RAJ_naerxun
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = fascism_ideology
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_RAJ_naerxun
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = despotism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
retire_character = RAJ_mahatma_mohandas_gandhi
|
|
}
|
|
MAL = {
|
|
#retire_country_leader = yes
|
|
recruit_character = HUJ_MAL_luodeni
|
|
add_country_leader_role = {
|
|
character = HUJ_MAL_luodeni
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = liberalism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_MAL_luodeni
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = fascism_ideology
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_MAL_luodeni
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = despotism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
}
|
|
BRM = {
|
|
#retire_country_leader = yes
|
|
recruit_character = HUJ_BRM_nvjiang
|
|
add_country_leader_role = {
|
|
character = HUJ_BRM_nvjiang
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = liberalism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_BRM_nvjiang
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = fascism_ideology
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
add_country_leader_role = {
|
|
character = HUJ_BRM_nvjiang
|
|
promote_leader = yes
|
|
country_leader = {
|
|
ideology = despotism
|
|
expire = "1965.1.1.1"
|
|
traits = { }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
on_capitulation = {
|
|
effect = {
|
|
if = {
|
|
limit = {
|
|
tag = YUW
|
|
not = { has_government = communism }
|
|
}
|
|
complete_national_focus = YUW_48
|
|
}
|
|
}
|
|
effect = {
|
|
if = {
|
|
limit = {
|
|
original_tag = SAD
|
|
has_civil_war = yes
|
|
has_government = fascism
|
|
is_in_faction_with = TIX
|
|
not = { tag = SAD }
|
|
}
|
|
SAD = {
|
|
annex_country = { target = PREV transfer_troops = no }
|
|
}
|
|
}
|
|
}
|
|
effect = {
|
|
if = {
|
|
limit = {
|
|
ROOT = {
|
|
tag = TIX
|
|
is_puppet = no
|
|
has_government = fascism
|
|
has_global_flag = yaertahuiyi_chenggong
|
|
not = { has_global_flag = yaertahuiyi_chenggong_shishi }
|
|
not = { country_exists = WEX }
|
|
not = { controls_state = 64 }
|
|
has_war_with = BFL
|
|
has_war_with = BYG
|
|
has_war_with = HUJ
|
|
}
|
|
FROM = {
|
|
OR = {
|
|
tag = BFL
|
|
tag = HUJ
|
|
tag = BYG
|
|
tag = YUW
|
|
tag = SAD
|
|
}
|
|
}
|
|
}
|
|
yaertahuiyi_effects = yes
|
|
}
|
|
}
|
|
}
|
|
on_weekly_TIX = {
|
|
effect = {
|
|
if = {
|
|
limit = {
|
|
tag = TIX
|
|
date > 1941.6.1
|
|
surrender_progress > 0.7
|
|
has_government = fascism
|
|
is_puppet = no
|
|
not = { has_global_flag = yaertahuiyi_chenggong_shishi }
|
|
#not = { controls_state = 64 }
|
|
not = { country_exists = WEX }
|
|
has_global_flag = yaertahuiyi_chenggong
|
|
has_war_with = BFL
|
|
has_war_with = BYG
|
|
has_war_with = HUJ
|
|
BFL = {
|
|
surrender_progress < 0.4
|
|
}
|
|
HUJ = {
|
|
surrender_progress < 0.4
|
|
}
|
|
BYG = {
|
|
surrender_progress < 0.1
|
|
}
|
|
}
|
|
yaertahuiyi_effects = yes
|
|
}
|
|
}
|
|
}
|
|
on_monthly_DOH = {
|
|
effect = {
|
|
if = {
|
|
limit = {
|
|
tag = DOH
|
|
date < 1937.7.7
|
|
has_war_with = CHY
|
|
}
|
|
set_country_flag = DOH_zaozhan_cjwx
|
|
}
|
|
}
|
|
}
|
|
on_weekly_BYG = {
|
|
effect = {
|
|
if = {
|
|
limit = {
|
|
has_government = democratic
|
|
has_country_leader = {
|
|
character = BYG_qiye
|
|
ruling_only = yes
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_qiye = { has_trait = BYG_qiye_zztz_1_off }
|
|
not = { has_idea = BYG_jjwjhyz }
|
|
not = { has_idea = BYG_jjwjhyz_1 }
|
|
not = { has_idea = BYG_jjwjhyz_2 }
|
|
not = { has_idea = BYG_jjwjhyz_3 }
|
|
not = { has_idea = BYG_jjwjhyz_4 }
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_1_off
|
|
add_country_leader_trait = BYG_qiye_zztz_1_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_qiye = { has_trait = BYG_qiye_zztz_2_off }
|
|
not = { has_war_with = TIX }
|
|
not = { has_war_with = CHY }
|
|
not = { has_war_with = SAD }
|
|
not = { has_war_with = HUJ }
|
|
not = { has_war_with = YUW }
|
|
not = { has_war_with = BFL }
|
|
not = { has_war_with = DOH }
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_2_off
|
|
add_country_leader_trait = BYG_qiye_zztz_2_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_qiye = { has_trait = BYG_qiye_zztz_2_on }
|
|
OR = {
|
|
has_war_with = TIX
|
|
has_war_with = CHY
|
|
has_war_with = SAD
|
|
has_war_with = HUJ
|
|
has_war_with = YUW
|
|
has_war_with = BFL
|
|
has_war_with = DOH
|
|
}
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_2_on
|
|
add_country_leader_trait = BYG_qiye_zztz_2_off
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_qiye = { has_trait = BYG_qiye_zztz_3_off }
|
|
OR = {
|
|
is_in_faction_with = HUJ
|
|
is_faction_leader = yes
|
|
}
|
|
OR = {
|
|
has_war_with = TIX
|
|
has_war_with = BFL
|
|
has_war_with = YUW
|
|
}
|
|
any_country = {
|
|
has_war_with = BYG
|
|
is_major = yes
|
|
}
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_3_off
|
|
add_country_leader_trait = BYG_qiye_zztz_3_on
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
has_government = democratic
|
|
has_country_leader = {
|
|
character = BYG_huayuan
|
|
ruling_only = yes
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_huayuan = { has_trait = BYG_huayuan_zztz_1_off }
|
|
OR = {
|
|
has_completed_focus = BYG_coldwar_25
|
|
has_completed_focus = BYG_coldwar_26
|
|
has_completed_focus = BYG_coldwar_27
|
|
date > 1947.1.1
|
|
}
|
|
}
|
|
remove_country_leader_trait = BYG_huayuan_zztz_1_off
|
|
add_country_leader_trait = BYG_huayuan_zztz_1_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_huayuan = { has_trait = BYG_huayuan_zztz_2_off }
|
|
is_faction_leader = yes
|
|
}
|
|
remove_country_leader_trait = BYG_huayuan_zztz_2_off
|
|
add_country_leader_trait = BYG_huayuan_zztz_2_on
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
has_government = democratic
|
|
has_country_leader = {
|
|
character = BYG_ankeleiqi
|
|
ruling_only = yes
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_ankeleiqi = { has_trait = BYG_qiye_zztz_1_off }
|
|
not = { has_idea = BYG_jjwjhyz }
|
|
not = { has_idea = BYG_jjwjhyz_1 }
|
|
not = { has_idea = BYG_jjwjhyz_2 }
|
|
not = { has_idea = BYG_jjwjhyz_3 }
|
|
not = { has_idea = BYG_jjwjhyz_4 }
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_1_off
|
|
add_country_leader_trait = BYG_qiye_zztz_1_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_ankeleiqi = { has_trait = BYG_qiye_zztz_2_off }
|
|
not = { has_war_with = TIX }
|
|
not = { has_war_with = CHY }
|
|
not = { has_war_with = SAD }
|
|
not = { has_war_with = HUJ }
|
|
not = { has_war_with = YUW }
|
|
not = { has_war_with = BFL }
|
|
not = { has_war_with = DOH }
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_2_off
|
|
add_country_leader_trait = BYG_qiye_zztz_2_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_ankeleiqi = { has_trait = BYG_qiye_zztz_2_on }
|
|
OR = {
|
|
has_war_with = TIX
|
|
has_war_with = CHY
|
|
has_war_with = SAD
|
|
has_war_with = HUJ
|
|
has_war_with = YUW
|
|
has_war_with = BFL
|
|
has_war_with = DOH
|
|
}
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_2_on
|
|
add_country_leader_trait = BYG_qiye_zztz_2_off
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_ankeleiqi = { has_trait = BYG_qiye_zztz_3_off }
|
|
OR = {
|
|
is_in_faction_with = HUJ
|
|
is_faction_leader = yes
|
|
}
|
|
OR = {
|
|
has_war_with = TIX
|
|
has_war_with = BFL
|
|
has_war_with = YUW
|
|
}
|
|
any_country = {
|
|
has_war_with = BYG
|
|
is_major = yes
|
|
}
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_3_off
|
|
add_country_leader_trait = BYG_qiye_zztz_3_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_ankeleiqi = { has_trait = BYG_xiaojiajia_zztz_1_off }
|
|
has_completed_focus = BYG_zhonglifaan
|
|
}
|
|
remove_country_leader_trait = BYG_xiaojiajia_zztz_1_off
|
|
add_country_leader_trait = BYG_xiaojiajia_zztz_1_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_ankeleiqi = { has_trait = BYG_xiaojiajia_zztz_2_off }
|
|
has_completed_focus = BYG_lianbangdetiequan
|
|
}
|
|
remove_country_leader_trait = BYG_xiaojiajia_zztz_2_off
|
|
add_country_leader_trait = BYG_xiaojiajia_zztz_2_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_ankeleiqi = { has_trait = BYG_xiaojiajia_zztz_3_off }
|
|
has_completed_focus = BYG_jierufenzheng
|
|
any_country = {
|
|
has_war_with = BYG
|
|
is_major = yes
|
|
}
|
|
}
|
|
remove_country_leader_trait = BYG_xiaojiajia_zztz_3_off
|
|
add_country_leader_trait = BYG_xiaojiajia_zztz_3_on
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
has_government = democratic
|
|
has_country_leader = {
|
|
character = BYG_salatuojia
|
|
ruling_only = yes
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_salatuojia = { has_trait = BYG_xiaojiajia_zztz_1_off }
|
|
has_completed_focus = BYG_zhonglifaan
|
|
}
|
|
remove_country_leader_trait = BYG_xiaojiajia_zztz_1_off
|
|
add_country_leader_trait = BYG_xiaojiajia_zztz_1_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_salatuojia = { has_trait = BYG_xiaojiajia_zztz_2_off }
|
|
has_completed_focus = BYG_lianbangdetiequan
|
|
}
|
|
remove_country_leader_trait = BYG_xiaojiajia_zztz_2_off
|
|
add_country_leader_trait = BYG_xiaojiajia_zztz_2_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_salatuojia = { has_trait = BYG_xiaojiajia_zztz_3_off }
|
|
has_completed_focus = BYG_jierufenzheng
|
|
any_country = {
|
|
has_war_with = BYG
|
|
is_major = yes
|
|
}
|
|
}
|
|
remove_country_leader_trait = BYG_xiaojiajia_zztz_3_off
|
|
add_country_leader_trait = BYG_xiaojiajia_zztz_3_on
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
has_government = democratic
|
|
has_country_leader = {
|
|
character = BYG_shengdiyage
|
|
ruling_only = yes
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_shengdiyage = { has_trait = BYG_xiaojiajia_zztz_1_off }
|
|
has_completed_focus = BYG_zhonglifaan
|
|
}
|
|
remove_country_leader_trait = BYG_xiaojiajia_zztz_1_off
|
|
add_country_leader_trait = BYG_xiaojiajia_zztz_1_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_shengdiyage = { has_trait = BYG_shengdiyage_zztz_1_off }
|
|
has_completed_focus = BYG_duiwaichukoujinkela
|
|
}
|
|
remove_country_leader_trait = BYG_shengdiyage_zztz_1_off
|
|
add_country_leader_trait = BYG_shengdiyage_zztz_1_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_shengdiyage = { has_trait = BYG_xiaojiajia_zztz_3_off }
|
|
has_completed_focus = BYG_jierufenzheng
|
|
any_country = {
|
|
has_war_with = BYG
|
|
is_major = yes
|
|
}
|
|
}
|
|
remove_country_leader_trait = BYG_xiaojiajia_zztz_3_off
|
|
add_country_leader_trait = BYG_xiaojiajia_zztz_3_on
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
has_government = democratic
|
|
has_country_leader = {
|
|
character = BYG_aierdeliqi
|
|
ruling_only = yes
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_aierdeliqi = { has_trait = BYG_xiaojiajia_zztz_1_off }
|
|
has_completed_focus = BYG_zhonglifaan
|
|
}
|
|
remove_country_leader_trait = BYG_xiaojiajia_zztz_1_off
|
|
add_country_leader_trait = BYG_xiaojiajia_zztz_1_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_aierdeliqi = { has_trait = BYG_xiaojiajia_zztz_3_off }
|
|
has_completed_focus = BYG_jierufenzheng
|
|
any_country = {
|
|
has_war_with = BYG
|
|
is_major = yes
|
|
}
|
|
}
|
|
remove_country_leader_trait = BYG_xiaojiajia_zztz_3_off
|
|
add_country_leader_trait = BYG_xiaojiajia_zztz_3_on
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
has_government = democratic
|
|
has_country_leader = {
|
|
character = BYG_shengluyisi
|
|
ruling_only = yes
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_shengluyisi = { has_trait = BYG_qiye_zztz_1_off }
|
|
not = { has_idea = BYG_jjwjhyz }
|
|
not = { has_idea = BYG_jjwjhyz_1 }
|
|
not = { has_idea = BYG_jjwjhyz_2 }
|
|
not = { has_idea = BYG_jjwjhyz_3 }
|
|
not = { has_idea = BYG_jjwjhyz_4 }
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_1_off
|
|
add_country_leader_trait = BYG_qiye_zztz_1_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_shengluyisi = { has_trait = BYG_xiaojiajia_zztz_2_off }
|
|
has_completed_focus = BYG_laiyingde
|
|
}
|
|
remove_country_leader_trait = BYG_xiaojiajia_zztz_2_off
|
|
add_country_leader_trait = BYG_xiaojiajia_zztz_2_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_shengluyisi = { has_trait = BYG_qiye_zztz_3_off }
|
|
OR = {
|
|
is_in_faction_with = HUJ
|
|
is_faction_leader = yes
|
|
}
|
|
OR = {
|
|
has_war_with = TIX
|
|
has_war_with = BFL
|
|
has_war_with = YUW
|
|
}
|
|
any_country = {
|
|
has_war_with = BYG
|
|
is_major = yes
|
|
}
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_3_off
|
|
add_country_leader_trait = BYG_qiye_zztz_3_on
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
has_government = democratic
|
|
has_country_leader = {
|
|
character = BYG_aisaikesi
|
|
ruling_only = yes
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_aisaikesi = { has_trait = BYG_qiye_zztz_1_off }
|
|
not = { has_idea = BYG_jjwjhyz }
|
|
not = { has_idea = BYG_jjwjhyz_1 }
|
|
not = { has_idea = BYG_jjwjhyz_2 }
|
|
not = { has_idea = BYG_jjwjhyz_3 }
|
|
not = { has_idea = BYG_jjwjhyz_4 }
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_1_off
|
|
add_country_leader_trait = BYG_qiye_zztz_1_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_aisaikesi = { has_trait = BYG_qiye_zztz_2_off }
|
|
not = { has_war_with = TIX }
|
|
not = { has_war_with = CHY }
|
|
not = { has_war_with = SAD }
|
|
not = { has_war_with = HUJ }
|
|
not = { has_war_with = YUW }
|
|
not = { has_war_with = BFL }
|
|
not = { has_war_with = DOH }
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_2_off
|
|
add_country_leader_trait = BYG_qiye_zztz_2_on
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_aisaikesi = { has_trait = BYG_qiye_zztz_2_on }
|
|
OR = {
|
|
has_war_with = TIX
|
|
has_war_with = CHY
|
|
has_war_with = SAD
|
|
has_war_with = HUJ
|
|
has_war_with = YUW
|
|
has_war_with = BFL
|
|
has_war_with = DOH
|
|
}
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_2_on
|
|
add_country_leader_trait = BYG_qiye_zztz_2_off
|
|
}
|
|
if = {
|
|
limit = {
|
|
BYG_aisaikesi = { has_trait = BYG_qiye_zztz_3_off }
|
|
OR = {
|
|
is_in_faction_with = HUJ
|
|
is_faction_leader = yes
|
|
}
|
|
OR = {
|
|
has_war_with = TIX
|
|
has_war_with = BFL
|
|
has_war_with = YUW
|
|
}
|
|
any_country = {
|
|
has_war_with = BYG
|
|
is_major = yes
|
|
}
|
|
}
|
|
remove_country_leader_trait = BYG_qiye_zztz_3_off
|
|
add_country_leader_trait = BYG_qiye_zztz_3_on
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
} |