2024-12-19 00:15:05

This commit is contained in:
actions[bot]
2024-12-19 00:15:05 +00:00
parent f47da26778
commit 0181f8042c
7059 changed files with 649516 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
scripted_gui = {
AUS_pl_cat_gui = {
context_type = decision_category
window_name = "aus_publicity_campaigns_ui_window"
properties = {
aus_publicity_solt_A = {
image = "[AUS_Get_Publicity_Slot_A]"
}
aus_publicity_solt_B = {
image = "[AUS_Get_Publicity_Slot_B]"
}
aus_publicity_solt_C = {
image = "[AUS_Get_Publicity_Slot_C]"
}
}
}
}
scripted_gui = {
GER_Eye_of_Rebirth_Project_window = {
context_type = decision_category
window_name = "GER_Eye_of_Rebirth_Project_window"
visible = {
always = yes
}
properties = {
}
}
}

View File

@@ -0,0 +1,111 @@
scripted_gui = {
az_autooption_decision_window_guis = {
context_type = decision_category
window_name = "az_autooption_decision_window"
visible = {
always = yes
}
effects = {
az_autooption_decision_button_click = {
if = {
limit = {
NOT = { has_country_flag = open_az_autooption_window }
}
set_country_flag = open_az_autooption_window
}
else = {
clr_country_flag = open_az_autooption_window
}
}
}
}
az_autooption_window_guis = {
window_name = "az_autooption_window"
context_type = player_context
visible = {
has_country_flag = open_az_autooption_window
}
effects = {
az_autooption_close_btn_click = {
clr_country_flag = open_az_autooption_window
}
az_autooption_1_on_btn_click = {
set_country_flag = az_autooption_automofang_on
}
az_autooption_1_off_btn_click = {
clr_country_flag = az_autooption_automofang_on
}
az_autooption_2_on_btn_click = {
set_country_flag = az_autooption_autotansuodui1_on
}
az_autooption_2_off_btn_click = {
clr_country_flag = az_autooption_autotansuodui1_on
}
az_autooption_3_on_btn_click = {
set_country_flag = az_autooption_autotansuodui2_on
}
az_autooption_3_off_btn_click = {
clr_country_flag = az_autooption_autotansuodui2_on
}
az_autooption_4_on_btn_click = {
set_country_flag = az_autooption_mofangjiexi_on
}
az_autooption_4_off_btn_click = {
clr_country_flag = az_autooption_mofangjiexi_on
}
az_autooption_5_on_btn_click = {
set_country_flag = az_autooption_mofangjichuang_on
}
az_autooption_5_off_btn_click = {
clr_country_flag = az_autooption_mofangjichuang_on
}
az_autooption_6_on_btn_click = {
set_country_flag = az_autooption_mofangzaochuan_on
}
az_autooption_6_off_btn_click = {
clr_country_flag = az_autooption_mofangzaochuan_on
}
}
triggers = {
az_autooption_1_on_btn_visible = {
NOT = { has_country_flag = az_autooption_automofang_on }
}
az_autooption_1_off_btn_visible = {
has_country_flag = az_autooption_automofang_on
}
az_autooption_2_on_btn_visible = {
NOT = { has_country_flag = az_autooption_autotansuodui1_on }
}
az_autooption_2_off_btn_visible = {
has_country_flag = az_autooption_autotansuodui1_on
}
az_autooption_3_on_btn_visible = {
NOT = { has_country_flag = az_autooption_autotansuodui2_on }
}
az_autooption_3_off_btn_visible = {
has_country_flag = az_autooption_autotansuodui2_on
}
az_autooption_4_on_btn_visible = {
NOT = { has_country_flag = az_autooption_mofangjiexi_on }
}
az_autooption_4_off_btn_visible = {
has_country_flag = az_autooption_mofangjiexi_on
}
az_autooption_5_on_btn_visible = {
NOT = { has_country_flag = az_autooption_mofangjichuang_on }
}
az_autooption_5_off_btn_visible = {
has_country_flag = az_autooption_mofangjichuang_on
}
az_autooption_6_on_btn_visible = {
NOT = { has_country_flag = az_autooption_mofangzaochuan_on }
}
az_autooption_6_off_btn_visible = {
has_country_flag = az_autooption_mofangzaochuan_on
}
}
}
}

View File

@@ -0,0 +1,438 @@
scripted_gui = {
az_doh_gui_decision_window_guis = {
context_type = decision_category
window_name = "az_doh_gui_decision_window"
visible = {
always = yes
}
triggers = {
az_doh_gui_touzi_add_one_click_enabled = {
has_completed_focus = DOH_jinjigaige
num_of_civilian_factories_available_for_projects > 5
check_variable = {
DOH_add_touzi_weekly_limit < 16
}
}
az_doh_gui_touzi_add_5_click_enabled = {
has_completed_focus = DOH_jinjigaige
num_of_civilian_factories_available_for_projects > 15
check_variable = {
DOH_add_touzi_weekly_limit < 16
}
}
az_doh_gui_touzi_subtract_one_click_enabled = {
has_completed_focus = DOH_jinjigaige
check_variable = {
var:DOH_touzi > 0
}
}
az_doh_gui_touzi_subtract_5_click_enabled = {
has_completed_focus = DOH_jinjigaige
check_variable = {
var:DOH_touzi > 4
}
}
az_doh_gui_gonggongkaizhi_add_one_click_enabled = {
has_completed_focus = DOH_shehuibaozhang
num_of_civilian_factories_available_for_projects > 5
check_variable = {
DOH_add_gonggongkaizhi_weekly_limit < 16
}
}
az_doh_gui_gonggongkaizhi_add_5_click_enabled = {
has_completed_focus = DOH_shehuibaozhang
num_of_civilian_factories_available_for_projects > 15
check_variable = {
DOH_add_gonggongkaizhi_weekly_limit < 16
}
}
az_doh_gui_gonggongkaizhi_subtract_one_click_enabled = {
has_completed_focus = DOH_shehuibaozhang
check_variable = {
var:DOH_gonggongkaizhi > 0
}
}
az_doh_gui_gonggongkaizhi_subtract_5_click_enabled = {
has_completed_focus = DOH_shehuibaozhang
check_variable = {
var:DOH_gonggongkaizhi > 4
}
}
az_doh_gui_keyanjinfei_add_one_click_enabled = {
has_completed_focus = DOH_rencaiyinjin
num_of_civilian_factories_available_for_projects > 5
check_variable = {
var:DOH_keyanjinfei < 100
}
check_variable = {
DOH_add_keyanjinfei_weekly_limit < 16
}
}
az_doh_gui_keyanjinfei_add_5_click_enabled = {
has_completed_focus = DOH_rencaiyinjin
num_of_civilian_factories_available_for_projects > 15
check_variable = {
var:DOH_keyanjinfei < 96
}
check_variable = {
DOH_add_keyanjinfei_weekly_limit < 16
}
}
az_doh_gui_keyanjinfei_subtract_one_click_enabled = {
has_completed_focus = DOH_rencaiyinjin
check_variable = {
var:DOH_keyanjinfei > 0
}
}
az_doh_gui_keyanjinfei_subtract_5_click_enabled = {
has_completed_focus = DOH_rencaiyinjin
check_variable = {
var:DOH_keyanjinfei > 4
}
}
az_doh_gui_junshijinfei_add_one_click_enabled = {
has_completed_focus = DOH_donghuanggongyetixi
num_of_civilian_factories_available_for_projects > 5
check_variable = {
DOH_add_junshijinfei_weekly_limit < 16
}
}
az_doh_gui_junshijinfei_add_5_click_enabled = {
has_completed_focus = DOH_donghuanggongyetixi
num_of_civilian_factories_available_for_projects > 15
check_variable = {
DOH_add_junshijinfei_weekly_limit < 16
}
}
az_doh_gui_junshijinfei_subtract_one_click_enabled = {
has_completed_focus = DOH_donghuanggongyetixi
check_variable = {
var:DOH_junshijinfei > 0
}
}
az_doh_gui_junshijinfei_subtract_5_click_enabled = {
has_completed_focus = DOH_donghuanggongyetixi
check_variable = {
var:DOH_junshijinfei > 4
}
}
az_doh_gui_shichang_add_one_click_enabled = {
check_variable = {
var:DOH_shichang < 30
}
has_completed_focus = DOH_shichanghuanjishu
}
az_doh_gui_shichang_add_5_click_enabled = {
has_completed_focus = DOH_jinjigaige
check_variable = {
var:DOH_shichang < 25
}
has_completed_focus = DOH_shichanghuanjishu
}
az_doh_gui_shichang_subtract_one_click_enabled = {
has_completed_focus = DOH_shichanghuanjishu
check_variable = {
var:DOH_shichang > 0
}
}
az_doh_gui_shichang_subtract_5_click_enabled = {
has_completed_focus = DOH_shichanghuanjishu
check_variable = {
var:DOH_shichang > 4
}
}
az_doh_gui_gexinshengchanli_subtract_one_click_enabled = {
has_completed_focus = DOH_guangronghemengxiangdeyuanzheng
check_variable = {
var:DOH_gexinshengchanli > 0
}
}
az_doh_gui_gexinshengchanli_subtract_5_click_enabled = {
has_completed_focus = DOH_guangronghemengxiangdeyuanzheng
check_variable = {
var:DOH_shichang > 4
}
}
az_doh_gui_gexinshengchanli_add_one_click_enabled = {
has_completed_focus = DOH_guangronghemengxiangdeyuanzheng
DOH = {
amount_research_slots > 1
}
}
az_doh_gui_gexinshengchanli_add_5_click_enabled = {
has_completed_focus = DOH_guangronghemengxiangdeyuanzheng
DOH = {
amount_research_slots > 6
}
}
}
effects = {
az_doh_gui_touzi_add_one_click = {
add_to_variable = {
var:DOH_touzi = 1
}
add_to_variable = {
var:DOH_add_touzi_weekly_limit = 1
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_touzi_add_5_click = {
add_to_variable = {
var:DOH_touzi = 5
}
add_to_variable = {
var:DOH_add_touzi_weekly_limit = 5
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_touzi_subtract_one_click = {
add_to_variable = {
var:DOH_touzi = -1
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_touzi_subtract_5_click = {
add_to_variable = {
var:DOH_touzi = -5
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_gonggongkaizhi_add_one_click = {
add_to_variable = {
var:DOH_gonggongkaizhi = 1
}
add_to_variable = {
var:DOH_add_gonggongkaizhi_weekly_limit = 1
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_gonggongkaizhi_add_5_click = {
add_to_variable = {
var:DOH_gonggongkaizhi = 5
}
add_to_variable = {
var:DOH_add_gonggongkaizhi_weekly_limit = 5
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_gonggongkaizhi_subtract_one_click = {
add_to_variable = {
var:DOH_gonggongkaizhi = -1
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_gonggongkaizhi_subtract_5_click = {
add_to_variable = {
var:DOH_gonggongkaizhi = -5
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_keyanjinfei_add_one_click = {
add_to_variable = {
var:DOH_keyanjinfei = 1
}
add_to_variable = {
var:DOH_add_keyanjinfei_weekly_limit = 1
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_keyanjinfei_add_5_click = {
add_to_variable = {
var:DOH_keyanjinfei = 5
}
add_to_variable = {
var:DOH_add_keyanjinfei_weekly_limit = 5
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_keyanjinfei_subtract_one_click = {
add_to_variable = {
var:DOH_keyanjinfei = -1
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_keyanjinfei_subtract_5_click = {
add_to_variable = {
var:DOH_keyanjinfei = -5
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_junshijinfei_add_one_click = {
add_to_variable = {
var:DOH_junshijinfei = 1
}
add_to_variable = {
var:DOH_add_junshijinfei_weekly_limit = 1
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_junshijinfei_add_5_click = {
add_to_variable = {
var:DOH_junshijinfei = 5
}
add_to_variable = {
var:DOH_add_junshijinfei_weekly_limit = 5
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_junshijinfei_subtract_one_click = {
add_to_variable = {
var:DOH_junshijinfei = -1
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_junshijinfei_subtract_5_click = {
add_to_variable = {
var:DOH_junshijinfei = -5
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_shichang_add_one_click = {
add_to_variable = {
var:DOH_shichang = 1
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_shichang_add_5_click = {
add_to_variable = {
var:DOH_shichang = 5
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_shichang_subtract_one_click = {
add_to_variable = {
var:DOH_shichang = -1
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_shichang_subtract_5_click = {
add_to_variable = {
var:DOH_shichang = -5
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_gexinshengchanli_add_one_click = {
add_to_variable = {
var:DOH_gexinshengchanli = 1
}
DOH = {
add_research_slot = -1
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_gexinshengchanli_add_5_click = {
add_to_variable = {
var:DOH_gexinshengchanli = 5
}
DOH = {
add_research_slot = -5
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_gexinshengchanli_subtract_one_click = {
add_to_variable = {
var:DOH_gexinshengchanli = -1
}
DOH = {
add_research_slot = 1
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
}
az_doh_gui_gexinshengchanli_subtract_5_click = {
add_to_variable = {
var:DOH_gexinshengchanli = -5
}
DOH = {
add_research_slot = 5
}
DOH_modifier_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
DOH_zhichilvchengfa_effect = yes
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,833 @@
scripted_gui = {
az_leadermenu_open_button_window_guis = {
window_name = "az_leadermenu_open_button_window"
context_type = player_context
visible = {
always = yes
}
effects = {
az_leadermenu_open_button_click = {
if = {
limit = {
NOT = {
has_country_flag = az_leadermenu_main_window_show
}
}
set_country_flag = az_leadermenu_main_window_show
}
else = {
clr_country_flag = az_leadermenu_main_window_show
}
shaixuan_leader_seffect = yes
}
}
}
az_leadermenu_main_window_guis = {
window_name = "az_leadermenu_main_window"
context_type = player_context
visible = {
has_country_flag = az_leadermenu_main_window_show
}
triggers = {
####
####舰娘菜单
az_single_leader_xiuchangjia_click_enabled = {
is_country_leader = no
}
az_single_leader_xiuchangjia_visible = {
always = NO
}
az_single_leader_xiujia_click_enabled = {
NOT = { has_character_flag = xiujia_doing }
is_assigned = no
check_variable = {
ROOT.wz_sl > var:THIS.xiujia_leader_wuzi_cost
}
#always = NO
}
az_single_leader_qianghua_click_enabled = {
#lv1
if = {
limit = {
THIS = {
skill > 0
skill < 2
}
}
check_variable = {
ROOT.wz_sl >499
}
}
#lv2
if = {
limit = {
THIS = {
skill > 1
skill < 3
}
}
check_variable = {
ROOT.wz_sl >999
}
}
#lv3
if = {
limit = {
THIS = {
skill > 2
skill < 4
}
}
check_variable = {
ROOT.wz_sl >2999
}
}
#lv4
if = {
limit = {
THIS = {
skill > 3
skill < 5
}
}
check_variable = {
ROOT.wz_sl >5999
}
}
#lv5
if = {
limit = {
THIS = {
skill > 4
skill < 6
}
}
check_variable = {
ROOT.ROOT.wz_sl >9999
}
check_variable = {
ROOT.ROOT.xzmf_sl >0
}
}
#lv6
if = {
limit = {
THIS = {
skill > 5
skill < 7
}
}
check_variable = {
ROOT.wz_sl >14999
}
check_variable = {
ROOT.xzmf_sl >0
}
}
#lv7
if = {
limit = {
THIS = {
skill > 6
skill < 8
}
}
check_variable = {
ROOT.wz_sl >19999
}
check_variable = {
ROOT.xzmf_sl >1
}
}
#lv8
if = {
limit = {
THIS = {
skill > 7
skill < 9
}
}
check_variable = {
ROOT.wz_sl >29999
}
check_variable = {
ROOT.xzmf_sl >1
}
}
#lv9
if = {
limit = {
THIS = {
skill > 8
skill < 10
is_navy_leader = NO
}
}
check_variable = {
ROOT.wz_sl >34999
}
check_variable = {
ROOT.xzmf_sl >2
}
check_variable = {
ROOT.zs_sl >19
}
}
#lv9haijun
if = {
limit = {
THIS = {
is_navy_leader = yes
skill > 8
}
}
always = NO
}
#lv10
if = {
limit = {
THIS = {
skill > 9
skill < 11
}
}
check_variable = {
ROOT.wz_sl >39999
}
check_variable = {
ROOT.xzmf_sl >2
}
check_variable = {
ROOT.zs_sl >59
}
}
#lv11
if = {
limit = {
THIS = {
skill > 10
skill < 12
}
}
check_variable = {
ROOT.wz_sl >49999
}
check_variable = {
ROOT.xzmf_sl >3
}
check_variable = {
ROOT.zs_sl >99
}
}
#lv12
if = {
limit = {
THIS = {
skill > 11
}
}
always = NO
}
}
}
effects = {
####筛选
az_leadermenu_shaixuan_button_click = {
if = {
limit = {
ROOT = {
NOT = {
has_country_flag = az_leadermenu_shaixuan_window_show
}
}
}
ROOT = { set_country_flag = az_leadermenu_shaixuan_window_show }
}
else = {
ROOT = { clr_country_flag = az_leadermenu_shaixuan_window_show }
}
}
####舰娘菜单
az_leadermenu_main_window_close_button_click = {
clr_country_flag = az_leadermenu_main_window_show
}
az_single_leader_xiuchangjia_click = {
if = {
limit = {
THIS = {
OR = {
is_corps_commander = yes
is_field_marshal = yes
}
}
}
add_skill_level = -12
add_logistics = -15
add_planning = -15
add_defense = -15
add_attack = -15
}
else_if = {
limit = {
THIS = {
is_navy_leader = yes
}
}
add_skill_level = -9
add_coordination = -10
add_maneuver = -10
add_defense = -10
add_attack = -10
}
}
az_single_leader_qianghua_click = {
#lv1
if = {
limit = {
skill > 0
skill < 2
}
add_to_variable = {
ROOT.wz_sl = -500
}
add_skill_level = 1
}
#lv2
else_if = {
limit = {
skill > 1
skill < 3
}
add_to_variable = {
ROOT.wz_sl = -1000
}
add_skill_level = 1
}
#lv3
else_if = {
limit = {
skill > 2
skill < 4
}
add_to_variable = {
ROOT.wz_sl = -3000
}
add_skill_level = 1
}
#lv4
else_if = {
limit = {
skill > 3
skill < 5
}
add_to_variable = {
ROOT.wz_sl = -6000
}
add_skill_level = 1
}
#lv5
else_if = {
limit = {
skill > 4
skill < 6
}
add_to_variable = {
ROOT.wz_sl = -10000
}
add_to_variable = {
ROOT.xzmf_sl = -1
}
add_skill_level = 1
}
#lv6
else_if = {
limit = {
skill > 5
skill < 7
}
add_to_variable = {
ROOT.wz_sl = -15000
}
add_to_variable = {
ROOT.xzmf_sl = -1
}
add_skill_level = 1
}
#lv7
else_if = {
limit = {
skill > 6
skill < 8
}
add_to_variable = {
ROOT.wz_sl = -20000
}
add_to_variable = {
ROOT.xzmf_sl = -2
}
add_skill_level = 1
}
#lv8
else_if = {
limit = {
skill > 7
skill < 9
}
add_to_variable = {
ROOT.wz_sl = -30000
}
add_to_variable = {
ROOT.xzmf_sl = -2
}
randomize_temp_variable = {
var = chenggonggailv
distribution = uniform
min = 0
max = 100
}
if = {
limit = {
check_variable = {
chenggonggailv > 20
}
}
add_skill_level = 1
}
else = {
PREV = { unit_leader_event = getzhg_event.2501 }
}
}
#lv9
else_if = {
limit = {
THIS = {
skill > 8
skill < 10
}
}
add_to_variable = {
ROOT.wz_sl = -35000
}
add_to_variable = {
ROOT.xzmf_sl = -3
}
add_to_variable = {
ROOT.zs_sl = -20
}
randomize_temp_variable = {
var = chenggonggailv
distribution = uniform
min = 0
max = 100
}
if = {
limit = {
check_variable = {
chenggonggailv > 25
}
}
add_skill_level = 1
}
else = {
PREV = { unit_leader_event = getzhg_event.2501 }
}
}
#lv10
else_if = {
limit = {
THIS = {
skill > 9
skill < 11
}
}
add_to_variable = {
ROOT.wz_sl = -40000
}
add_to_variable = {
ROOT.xzmf_sl = -3
}
add_to_variable = {
ROOT.zs_sl = -60
}
randomize_temp_variable = {
var = chenggonggailv
distribution = uniform
min = 0
max = 100
}
if = {
limit = {
check_variable = {
chenggonggailv > 30
}
}
add_skill_level = 1
}
else = {
PREV = { unit_leader_event = getzhg_event.2501 }
}
}
#lv11
else_if = {
limit = {
THIS = {
skill > 10
skill < 12
}
}
add_to_variable = {
ROOT.wz_sl = -50000
}
add_to_variable = {
ROOT.xzmf_sl = -4
}
add_to_variable = {
ROOT.zs_sl = -100
}
randomize_temp_variable = {
var = chenggonggailv
distribution = uniform
min = 0
max = 100
}
randomize_temp_variable = {
var = chenggonggailv
distribution = uniform
min = 0
max = 100
}
if = {
limit = {
check_variable = {
chenggonggailv > 40
}
}
add_skill_level = 1
}
else = {
PREV = { unit_leader_event = getzhg_event.2501 }
}
}
}
az_single_leader_xiujia_click = {
ROOT = {
add_to_variable = { xiujia_leader_amount = 1 }
set_variable = { xiujia_leader_modifier_cm_gain_var = xiujia_leader_amount }
set_variable = { xiujia_leader_modifier_cm_max_var = xiujia_leader_amount }
set_variable = { xiujia_leader_modifier_pp_var = xiujia_leader_amount }
multiply_variable = { xiujia_leader_modifier_cm_gain_var = -0.25 }
multiply_variable = { xiujia_leader_modifier_cm_max_var = -20 }
multiply_variable = { xiujia_leader_modifier_pp_var = -0.05 }
}
#set_temp_variable = { THIS.skill_level }
#ROOT = { add_command_power = 500 }
THIS = {
set_variable = { THIS.xiujia_leader_wuzi_cost = THIS.num_traits }
multiply_variable = { THIS.xiujia_leader_wuzi_cost = 200 }
subtract_from_variable = { ROOT.wz_sl = THIS.xiujia_leader_wuzi_cost }
set_character_flag = xiujia_doing
log = "xiujia_leader_amount=[?xiujia_leader_amount]"
random_list = {
10 = {
unit_leader_event = { id = getzhg_event.2601 days = 60 random_days = 60 }
}
10 = {
unit_leader_event = { id = getzhg_event.2602 days = 90 random_days = 60 }
}
10 = {
unit_leader_event = { id = getzhg_event.2603 days = 120 random_days = 60 }
}
10 = {
unit_leader_event = { id = getzhg_event.2604 days = 90 random_days = 60 }
}
10 = {
unit_leader_event = { id = getzhg_event.2606 days = 90 random_days = 30 }
}
10 = {
unit_leader_event = { id = getzhg_event.2607 days = 60 random_days = 30 }
}
10 = {
unit_leader_event = { id = getzhg_event.2608 days = 60 random_days = 30 }
}
10 = {
unit_leader_event = { id = getzhg_event.2609 days = 90 random_days = 90 }
}
10 = {
unit_leader_event = { id = getzhg_event.2610 days = 60 random_days = 60 }
}
10 = {
unit_leader_event = { id = getzhg_event.2611 days = 120 random_days = 90 }
}
10 = {
unit_leader_event = { id = getzhg_event.2612 days = 60 random_days = 60 }
}
10 = {
unit_leader_event = { id = getzhg_event.2613 days = 90 random_days = 90 }
}
10 = {
unit_leader_event = { id = getzhg_event.2614 days = 90 random_days = 60 }
}
10 = {
unit_leader_event = { id = getzhg_event.2615 days = 60 random_days = 60 }
}
1 = {
unit_leader_event = { id = getzhg_event.2616 days = 150 random_days = 150}
}
}
}
}
az_single_leader_huanzhuang_click = {
ROOT = {
set_variable = {
huanzhuangleader = PREV
}
}
THIS = {
unit_leader_event = getzhg_event.24
}
}
}
dynamic_lists = {
az_leadermenu_gridbox = {
array = ROOT.az_leader_list_array
entry_container = az_single_leader_menu
change_scope = yes
}
}
}
az_leadermenu_shaixuan_window_guis = {
window_name = "az_leadermenu_shaixuan_window"
context_type = player_context
visible = {
ROOT = {
AND = {
has_country_flag = az_leadermenu_shaixuan_window_show
has_country_flag = az_leadermenu_main_window_show
}
}
}
effects = {
az_leadermenu_shaixuan_window_close_button_click = {
clr_country_flag = az_leadermenu_shaixuan_window_show
}
leader_shaixuan_btn1_click = {
if = {
limit = {
ROOT = {
NOT = {
has_country_flag = leader_shaixuan_lujunjiangling
}
}
}
ROOT = { set_country_flag = leader_shaixuan_lujunjiangling }
}
else = {
ROOT = { clr_country_flag = leader_shaixuan_lujunjiangling }
}
}
leader_shaixuan_btn2_click = {
if = {
limit = {
ROOT = {
NOT = {
has_country_flag = leader_shaixuan_haijunjiangling
}
}
}
ROOT = { set_country_flag = leader_shaixuan_haijunjiangling }
}
else = {
ROOT = { clr_country_flag = leader_shaixuan_haijunjiangling }
}
}
leader_shaixuan_btn3_click = {
if = {
limit = {
ROOT = {
NOT = {
has_country_flag = leader_shaixuan_zhanlie
}
}
}
ROOT = { set_country_flag = leader_shaixuan_zhanlie }
}
else = {
ROOT = { clr_country_flag = leader_shaixuan_zhanlie }
}
}
leader_shaixuan_btn4_click = {
if = {
limit = {
ROOT = {
NOT = {
has_country_flag = leader_shaixuan_hangmu
}
}
}
ROOT = { set_country_flag = leader_shaixuan_hangmu }
}
else = {
ROOT = { clr_country_flag = leader_shaixuan_hangmu }
}
}
leader_shaixuan_btn5_click = {
if = {
limit = {
ROOT = {
NOT = {
has_country_flag = leader_shaixuan_xunyang
}
}
}
ROOT = { set_country_flag = leader_shaixuan_xunyang }
}
else = {
ROOT = { clr_country_flag = leader_shaixuan_xunyang }
}
}
leader_shaixuan_btn6_click = {
if = {
limit = {
ROOT = {
NOT = {
has_country_flag = leader_shaixuan_quzhu
}
}
}
ROOT = { set_country_flag = leader_shaixuan_quzhu }
}
else = {
ROOT = { clr_country_flag = leader_shaixuan_quzhu }
}
}
leader_shaixuan_btn7_click = {
if = {
limit = {
ROOT = {
NOT = {
has_country_flag = leader_shaixuan_qianting
}
}
}
ROOT = { set_country_flag = leader_shaixuan_qianting }
}
else = {
ROOT = { clr_country_flag = leader_shaixuan_qianting }
}
}
az_leadermenu_shaixuan_quanxuan_button_click = {
if = {
limit = {
AND = {
has_country_flag = leader_shaixuan_lujunjiangling
has_country_flag = leader_shaixuan_haijunjiangling
has_country_flag = leader_shaixuan_zhanlie
has_country_flag = leader_shaixuan_hangmu
has_country_flag = leader_shaixuan_xunyang
has_country_flag = leader_shaixuan_quzhu
has_country_flag = leader_shaixuan_qianting
}
}
clr_country_flag = leader_shaixuan_lujunjiangling
clr_country_flag = leader_shaixuan_haijunjiangling
clr_country_flag = leader_shaixuan_zhanlie
clr_country_flag = leader_shaixuan_hangmu
clr_country_flag = leader_shaixuan_xunyang
clr_country_flag = leader_shaixuan_quzhu
clr_country_flag = leader_shaixuan_qianting
}
else = {
ROOT = {
set_country_flag = leader_shaixuan_lujunjiangling
set_country_flag = leader_shaixuan_haijunjiangling
set_country_flag = leader_shaixuan_zhanlie
set_country_flag = leader_shaixuan_hangmu
set_country_flag = leader_shaixuan_xunyang
set_country_flag = leader_shaixuan_quzhu
set_country_flag = leader_shaixuan_qianting
}
}
}
az_leadermenu_shaixuan_confirm_button_click = {
shaixuan_leader_seffect = yes
}
}
}
}

View File

@@ -0,0 +1,512 @@
scripted_gui = {
az_photowindow_open = {
window_name = "az_photowindow_open"
context_type = player_context
visible = {
}
effects = {
az_photowindow_open_button_click = {
set_country_flag = az_photowindow_open
if = {
limit = {
not = {
OR = {
has_country_flag = az_photowindow_1
has_country_flag = az_photowindow_2
has_country_flag = az_photowindow_3
has_country_flag = az_photowindow_4
has_country_flag = az_photowindow_5
has_country_flag = az_photowindow_6
has_country_flag = az_photowindow_7
has_country_flag = az_photowindow_8
has_country_flag = az_photowindow_9
has_country_flag = az_photowindow_10
}
}
}
set_country_flag = az_photowindow_1
}
}
}
}
az_al_photowindow = {
window_name = "az_photowindow"
context_type = player_context
visible = {
has_country_flag = az_photowindow_open
}
effects = {
az_pt_goto_1_click = {
set_country_flag = az_photowindow_1
clr_country_flag = az_photowindow_2
clr_country_flag = az_photowindow_3
clr_country_flag = az_photowindow_4
clr_country_flag = az_photowindow_5
clr_country_flag = az_photowindow_6
clr_country_flag = az_photowindow_7
clr_country_flag = az_photowindow_8
clr_country_flag = az_photowindow_9
clr_country_flag = az_photowindow_10
}
az_pt_goto_1_alt_shift_right_click = {
set_country_flag = az_PT_1_000
set_country_flag = az_PT_1_001
set_country_flag = az_PT_1_002
set_country_flag = az_PT_1_003
set_country_flag = az_PT_1_004
set_country_flag = az_PT_1_005
set_country_flag = az_PT_1_006
set_country_flag = az_PT_1_007
set_country_flag = az_PT_1_008
set_country_flag = az_PT_1_009
set_country_flag = az_PT_1_010
set_country_flag = az_PT_1_011
set_country_flag = az_PT_1_012
set_country_flag = az_PT_1_013
set_country_flag = az_PT_1_014
}
az_pt_goto_2_click = {
set_country_flag = az_photowindow_2
clr_country_flag = az_photowindow_1
clr_country_flag = az_photowindow_3
clr_country_flag = az_photowindow_4
clr_country_flag = az_photowindow_5
clr_country_flag = az_photowindow_6
clr_country_flag = az_photowindow_7
clr_country_flag = az_photowindow_8
clr_country_flag = az_photowindow_9
clr_country_flag = az_photowindow_10
}
az_pt_goto_3_click = {
set_country_flag = az_photowindow_3
clr_country_flag = az_photowindow_2
clr_country_flag = az_photowindow_1
clr_country_flag = az_photowindow_4
clr_country_flag = az_photowindow_5
clr_country_flag = az_photowindow_6
clr_country_flag = az_photowindow_7
clr_country_flag = az_photowindow_8
clr_country_flag = az_photowindow_9
clr_country_flag = az_photowindow_10
}
az_pt_goto_4_click = {
set_country_flag = az_photowindow_4
clr_country_flag = az_photowindow_2
clr_country_flag = az_photowindow_3
clr_country_flag = az_photowindow_1
clr_country_flag = az_photowindow_5
clr_country_flag = az_photowindow_6
clr_country_flag = az_photowindow_7
clr_country_flag = az_photowindow_8
clr_country_flag = az_photowindow_9
clr_country_flag = az_photowindow_10
}
az_pt_goto_5_click = {
set_country_flag = az_photowindow_5
clr_country_flag = az_photowindow_2
clr_country_flag = az_photowindow_3
clr_country_flag = az_photowindow_4
clr_country_flag = az_photowindow_1
clr_country_flag = az_photowindow_6
clr_country_flag = az_photowindow_7
clr_country_flag = az_photowindow_8
clr_country_flag = az_photowindow_9
clr_country_flag = az_photowindow_10
}
az_pt_goto_6_click = {
set_country_flag = az_photowindow_6
clr_country_flag = az_photowindow_2
clr_country_flag = az_photowindow_3
clr_country_flag = az_photowindow_4
clr_country_flag = az_photowindow_5
clr_country_flag = az_photowindow_1
clr_country_flag = az_photowindow_7
clr_country_flag = az_photowindow_8
clr_country_flag = az_photowindow_9
clr_country_flag = az_photowindow_10
}
az_pt_goto_7_click = {
set_country_flag = az_photowindow_7
clr_country_flag = az_photowindow_2
clr_country_flag = az_photowindow_3
clr_country_flag = az_photowindow_4
clr_country_flag = az_photowindow_5
clr_country_flag = az_photowindow_6
clr_country_flag = az_photowindow_1
clr_country_flag = az_photowindow_8
clr_country_flag = az_photowindow_9
clr_country_flag = az_photowindow_10
}
az_pt_goto_8_click = {
set_country_flag = az_photowindow_8
clr_country_flag = az_photowindow_2
clr_country_flag = az_photowindow_3
clr_country_flag = az_photowindow_4
clr_country_flag = az_photowindow_5
clr_country_flag = az_photowindow_6
clr_country_flag = az_photowindow_7
clr_country_flag = az_photowindow_1
clr_country_flag = az_photowindow_9
clr_country_flag = az_photowindow_10
}
az_pt_goto_9_click = {
set_country_flag = az_photowindow_9
clr_country_flag = az_photowindow_2
clr_country_flag = az_photowindow_3
clr_country_flag = az_photowindow_4
clr_country_flag = az_photowindow_5
clr_country_flag = az_photowindow_6
clr_country_flag = az_photowindow_7
clr_country_flag = az_photowindow_8
clr_country_flag = az_photowindow_1
clr_country_flag = az_photowindow_10
}
az_pt_goto_10_click = {
set_country_flag = az_photowindow_10
clr_country_flag = az_photowindow_2
clr_country_flag = az_photowindow_3
clr_country_flag = az_photowindow_4
clr_country_flag = az_photowindow_5
clr_country_flag = az_photowindow_6
clr_country_flag = az_photowindow_7
clr_country_flag = az_photowindow_8
clr_country_flag = az_photowindow_9
clr_country_flag = az_photowindow_1
}
az_pt_page_up_click = {
az_pt_page_up = yes
}
az_pt_page_down_click = {
az_pt_page_down = yes
}
az_pt_photowindow_close_click = {
clr_country_flag = az_photowindow_open
}
az_pt_photo_finish_click = {
az_photo_finish = yes
}
}
triggers = {
az_pt_photo_finish_click_enabled = {
custom_trigger_tooltip = {
tooltip = all_photo_finish_tishi
az_photo_finish_triggers = yes
}
}
az_pt_photo_finish_visible = {
az_photo_no_finish_triggers = yes
}
az_pt_page_up_visible = {
NOT = { has_country_flag = az_photowindow_1 }
}
az_pt_page_down_visible = {
NOT = { has_country_flag = az_photowindow_10 }
}
az_PT_1_visible = {
az_photo_1_finish_triggers = yes
}
}
properties = {
az_pt_000 = {
image = "[az_pt_000]"
}
az_pt_001 = {
image = "[az_pt_001]"
}
az_pt_002 = {
image = "[az_pt_002]"
}
az_pt_003 = {
image = "[az_pt_003]"
}
az_pt_004 = {
image = "[az_pt_004]"
}
az_pt_005 = {
image = "[az_pt_005]"
}
az_pt_006 = {
image = "[az_pt_006]"
}
az_pt_007 = {
image = "[az_pt_007]"
}
az_pt_008 = {
image = "[az_pt_008]"
}
az_pt_009 = {
image = "[az_pt_009]"
}
az_pt_010 = {
image = "[az_pt_010]"
}
az_pt_011 = {
image = "[az_pt_011]"
}
az_pt_012 = {
image = "[az_pt_012]"
}
az_pt_013 = {
image = "[az_pt_013]"
}
az_pt_014 = {
image = "[az_pt_014]"
}
az_pt_015 = {
image = "[az_pt_015]"
}
}
}
#寻找类
az_pt_1_000_f = {
window_name = "az_pt_1_000_f"
context_type = player_context
parent_window_token = top_bar
visible = {
NOT = {
has_country_flag = az_PT_1_000
}
}
effects = {
az_pt_1_000_f_click = {
country_event = az_pt_1_event.1
}
}
}
az_pt_1_001_f = {
window_name = "az_pt_1_001_f"
context_type = player_context
parent_window_token = selected_state_view
visible = {
NOT = {
has_country_flag = az_PT_1_001
}
}
effects = {
az_pt_1_001_f_click = {
country_event = az_pt_1_event.2
}
}
}
az_pt_1_002_f = {
window_name = "az_pt_1_002_f"
context_type = player_context
parent_window_token = tech_support_folder
visible = {
NOT = {
has_country_flag = az_PT_1_002
}
has_tech = tech_support
}
effects = {
az_pt_1_002_f_click = {
country_event = az_pt_1_event.3
}
}
}
az_pt_1_003_f = {
window_name = "az_pt_1_003_f"
context_type = player_context
parent_window_token = trade_tab
visible = {
NOT = {
has_country_flag = az_PT_1_003
}
}
effects = {
az_pt_1_003_f_click = {
country_event = az_pt_1_event.4
}
}
}
az_pt_1_004_f = {
window_name = "az_pt_1_004_f"
context_type = player_context
parent_window_token = navy_ledger
visible = {
NOT = {
has_country_flag = az_PT_1_004
}
}
effects = {
az_pt_1_004_f_click = {
country_event = az_pt_1_event.5
}
}
}
az_pt_1_005_f = {
window_name = "az_pt_1_005_f"
context_type = player_context
parent_window_token = production_tab
visible = {
NOT = {
has_country_flag = az_PT_1_005
}
}
effects = {
az_pt_1_005_f_click = {
country_event = az_pt_1_event.6
}
}
}
az_pt_1_006_f = {
window_name = "az_pt_1_006_f"
context_type = player_context
parent_window_token = national_focus
visible = {
NOT = {
has_country_flag = az_PT_1_006
}
}
effects = {
az_pt_1_006_f_click = {
country_event = az_pt_1_event.7
}
}
}
az_pt_1_007_f = {
window_name = "az_pt_1_007_f"
context_type = player_context
parent_window_token = selected_country_view_diplomacy
visible = {
NOT = {
has_country_flag = az_PT_1_007
}
}
effects = {
az_pt_1_007_f_click = {
country_event = az_pt_1_event.8
}
}
}
az_pt_1_008_f = {
window_name = "az_pt_1_008_f"
context_type = player_context
parent_window_name = "az_leadermenu_shaixuan_window"
visible = {
NOT = {
has_country_flag = az_PT_1_008
}
has_country_flag = az_leadermenu_shaixuan_window_show
}
effects = {
az_pt_1_008_f_click = {
country_event = az_pt_1_event.9
}
}
}
az_pt_1_009_f = {
window_name = "az_pt_1_009_f"
context_type = player_context
parent_window_token = politics_tab
visible = {
NOT = {
has_country_flag = az_PT_1_009
}
}
effects = {
az_pt_1_009_f_click = {
country_event = az_pt_1_event.10
}
}
}
az_pt_1_010_f = {
window_name = "az_pt_1_010_f"
context_type = player_context
parent_window_token = decision_tab
visible = {
NOT = {
has_country_flag = az_PT_1_010
}
}
effects = {
az_pt_1_010_f_click = {
country_event = az_pt_1_event.11
}
}
}
az_pt_1_011_f = {
window_name = "az_pt_1_011_f"
context_type = player_context
parent_window_token = diplomacy_tab
visible = {
NOT = {
has_country_flag = az_PT_1_011
}
}
effects = {
az_pt_1_011_f_click = {
country_event = az_pt_1_event.12
}
}
}
az_pt_1_012_f = {
window_name = "az_pt_1_012_f"
context_type = player_context
parent_window_token = tech_artillery_folder
visible = {
NOT = {
has_country_flag = az_PT_1_012
}
}
effects = {
az_pt_1_012_f_click = {
country_event = az_pt_1_event.13
}
}
}
az_pt_1_013_f = {
window_name = "az_pt_1_013_f"
context_type = player_context
parent_window_name = "az_photowindow"
visible = {
NOT = {
has_country_flag = az_PT_1_013
}
has_country_flag = az_photowindow_open
has_country_flag = az_photowindow_10
}
effects = {
az_pt_1_013_f_click = {
country_event = az_pt_1_event.14
}
}
}
az_pt_1_014_f = {
window_name = "az_pt_1_014_f"
context_type = player_context
parent_window_name = "az_xmp_main_window"
visible = {
NOT = {
has_country_flag = az_PT_1_014
}
has_country_flag = xmpwindow3_open
has_country_flag = open_az_xmp_main_window
}
effects = {
az_pt_1_014_f_click = {
country_event = az_pt_1_event.15
}
}
}
}

View File

@@ -0,0 +1,807 @@
scripted_gui = {
az_start_mainwindow_start = {
window_name = "az_start_mainwindow"
context_type = player_context
visible = {
has_country_flag = az_startwindow_open
}
effects = {
az_start_mainwindow_gengxinshuoming_btn_click = {
if = {
limit = {
has_country_flag = az_start_modoption_window_open
}
clr_country_flag = az_start_modoption_window_open
}
if = {
limit = {
has_country_flag = az_start_wanfagonglue_window_open
}
clr_country_flag = az_start_wanfagonglue_window_open
}
if = {
limit = {
has_country_flag = az_start_dashang_window_open
}
clr_country_flag = az_start_dashang_window_open
}
set_country_flag = az_start_gengxinshuoming_window_open
}
AZ_start_mainwindow_dashanghuayuan_click = {
if = {
limit = {
has_country_flag = az_start_gengxinshuoming_window_open
}
clr_country_flag = az_start_gengxinshuoming_window_open
}
if = {
limit = {
has_country_flag = az_start_modoption_window_open
}
clr_country_flag = az_start_modoption_window_open
}
if = {
limit = {
has_country_flag = az_start_wanfagonglue_window_open
}
clr_country_flag = az_start_wanfagonglue_window_open
}
set_country_flag = az_start_dashang_window_open
}
az_start_mainwindow_wanfagonglue_btn_click = {
if = {
limit = {
has_country_flag = az_start_modoption_window_open
}
clr_country_flag = az_start_modoption_window_open
}
if = {
limit = {
has_country_flag = az_start_gengxinshuoming_window_open
}
clr_country_flag = az_start_gengxinshuoming_window_open
}
if = {
limit = {
has_country_flag = az_start_dashang_window_open
}
clr_country_flag = az_start_dashang_window_open
}
set_country_flag = az_start_wanfagonglue_window_open
}
az_start_mainwindow_modoption_btn_click = {
if = {
limit = {
has_country_flag = az_start_gengxinshuoming_window_open
}
clr_country_flag = az_start_gengxinshuoming_window_open
}
if = {
limit = {
has_country_flag = az_start_wanfagonglue_window_open
}
clr_country_flag = az_start_wanfagonglue_window_open
}
if = {
limit = {
has_country_flag = az_start_dashang_window_open
}
clr_country_flag = az_start_dashang_window_open
}
set_country_flag = az_start_modoption_window_open
}
az_start_mainwindow_stratgame_btn_click = {
AZ_siren_reinforce_cd_setup = yes
AZ_siren_difficulty_setup = yes
clr_country_flag = az_startwindow_open
set_global_flag = az_gamestarted
if = {
limit = {
AND = {
has_global_flag = MOD_azurlane_tianjiangjiannian
has_global_flag = MOD_azurlane_sairenzhizai
}
}
country_event = azstartevent.1001
}
else = {
if = {
limit = {
has_global_flag = modoption_fengkuangai_on
not = { has_country_flag = fengkuangai_yixuanzeguo_flag }
}
set_country_flag = fengkuangai_yixuanzeguo_flag
country_event = az_tianjiang.292
}
if = {
limit = {
has_global_flag = sirennandu2
}
every_country = {
limit = {
shisairen_trigger = yes
}
add_ideas = SIR_buff1
add_ideas = SIR_startbuff_3
add_research_slot = 3
add_manpower = 10000000
}
every_country = {
limit = {
shijianniangguojia_trigger = yes
}
add_ideas = TY_tiaozhanjiacheng_3
}
every_country = {
limit = {
AND = {
shijianniangguojia_trigger = yes
is_ai = yes
}
}
}
}
if = {
limit = {
has_global_flag = sirennandu1
}
every_country = {
limit = {
shisairen_trigger = yes
}
add_ideas = SIR_startbuff_1
add_research_slot = 1
}
every_country = {
limit = {
shijianniangguojia_trigger = yes
}
add_ideas = TY_tiaozhanjiacheng_1
}
}
if = {
limit = {
has_global_flag = sirennandu4
}
TIX ={
complete_national_focus = TIX_zhunbeichongfanoulu
if = {
limit = { country_exists = TIX }
every_state = {
limit = { is_core_of = TIX }
transfer_state_to = TIX
}
}
}
HUJ ={
complete_national_focus = HUJ_buliedianjihua
complete_national_focus = HUJ_dizhonghaijihua
complete_national_focus = HUJ_sikandenaweiyajihua
if = {
limit = { country_exists = HUJ }
every_state = {
limit = { is_core_of = HUJ }
transfer_state_to = HUJ
}
}
}
YUW ={
complete_national_focus = YUW_ouzhouxiongji
complete_national_focus = YUW_huangjinbandao_sr
if = {
limit = { country_exists = YUW }
every_state = {
limit = { is_core_of = YUW }
transfer_state_to = YUW
}
}
}
SAD ={
complete_national_focus = SAD_duohuiyapingning
complete_national_focus = SAD_weinisixingdong
complete_national_focus = SAD_toudubeifei
if = {
limit = { country_exists = SAD }
every_state = {
limit = { is_core_of = SAD }
transfer_state_to = SAD
}
}
}
BFL ={
complete_national_focus = BFL_dongougongshi
complete_national_focus = BFL_wulaergongshi
if = {
limit = { country_exists = BFL }
every_state = {
limit = { is_core_of = BFL }
transfer_state_to = BFL
}
}
}
DOH ={
complete_national_focus = DOH_beishang
complete_national_focus = DOH_jiefangxuanyan
complete_national_focus = DOH_jixubeifa
if = {
limit = { country_exists = DOH }
every_state = {
limit = { is_core_of = DOH }
transfer_state_to = DOH
}
}
}
CHY ={
complete_national_focus = CHY_shijiyidao
if = {
limit = { country_exists = CHY }
every_state = {
limit = { is_core_of = CHY }
transfer_state_to = CHY
}
}
}
BYG ={
complete_national_focus = BYG_chongduozhiminling
complete_national_focus = BYG_qinglimenting
complete_national_focus = BYG_zhunbeifangong
complete_national_focus = BYG_xianhuashengkai
if = {
limit = { country_exists = BYG }
every_state = {
limit = { is_core_of = BYG }
transfer_state_to = BYG
}
}
}
}
if = {
limit = {
has_global_flag = sirennandu3
}
set_country_flag = AL_alone
mark_focus_tree_layout_dirty = yes
country_event = { id = AL_event.49 days = 1 }
every_country = {
limit = {
shisairen_trigger = yes
}
add_ideas = AL_sir_full_armor
add_ideas = SIR_buff1
add_research_slot = 1
add_manpower = 10000000
}
every_other_country = {
limit = {
shijianniangguojia_trigger = yes
}
every_state = {
remove_core_of = PREV
}
every_character = {
limit = {
has_character_flag = chushijianniang
is_country_leader = no
}
set_nationality = ROOT
}
every_character = {
limit = {
is_country_leader = yes
}
remove_country_leader_role = {
ideology = socialism
}
remove_country_leader_role = {
ideology = stalinism
}
remove_country_leader_role = {
ideology = fascism_ideology
}
remove_country_leader_role = {
ideology = liberalism
}
remove_country_leader_role = {
ideology = despotism
}
remove_country_leader_role = {
ideology = leninism
}
remove_country_leader_role = {
ideology = marxism
}
set_nationality = ROOT
}
}
every_other_country = {
limit = {
OR = {
tag = BYG
tag = HUJ
tag = TIX
tag = YUW
tag = SAD
tag = BFL
}
is_ai = yes
}
SIR = {
annex_country = {
target = PREV
transfer_troops = no
}
}
}
every_other_country = {
limit = {
OR = {
tag = CHY
tag = DOH
}
is_ai = yes
}
SR3 = {
annex_country = {
target = PREV
transfer_troops = no
}
}
}
every_other_country = {
limit = {
OR = {
tag = BLI
}
is_ai = yes
}
SR4 = {
annex_country = {
target = PREV
transfer_troops = no
}
}
}
}
}
}
}
triggers = {
}
}
az_start_gengxinshuomingwindow = {
window_name = "az_start_gengxinshuoming_window"
context_type = player_context
visible = {
has_country_flag = az_start_gengxinshuoming_window_open
}
parent_window_name = "az_start_mainwindow"
effects = {
gengxinshuoming_to_gonglue_btn_click = {
if = {
limit = {
has_country_flag = az_start_modoption_window_open
}
clr_country_flag = az_start_modoption_window_open
}
if = {
limit = {
has_country_flag = az_start_gengxinshuoming_window_open
}
clr_country_flag = az_start_gengxinshuoming_window_open
}
if = {
limit = {
has_country_flag = az_start_dashang_window_open
}
clr_country_flag = az_start_dashang_window_open
}
set_country_flag = az_start_wanfagonglue_window_open
}
}
}
az_start_dashangwindow = {
window_name = "az_start_dashang_window"
context_type = player_context
visible = {
has_country_flag = az_start_dashang_window_open
}
parent_window_name = "az_start_mainwindow"
}
az_start_wanfagongluewindow = {
window_name = "az_start_wanfagonglue_window"
context_type = player_context
visible = {
has_country_flag = az_start_wanfagonglue_window_open
}
parent_window_name = "az_start_mainwindow"
}
az_start_modoptionwindow = {
window_name = "az_start_modoption_window"
context_type = player_context
visible = {
has_country_flag = az_start_modoption_window_open
}
parent_window_name = "az_start_mainwindow"
effects = {
modoption_sirennandu1_click = {
if = {
limit = {
has_global_flag = sirennandu1
}
clr_global_flag = sirennandu1
}
else = {
hidden_effect = { scoped_sound_effect = az_nandu1_sound }
set_global_flag = sirennandu1
}
}
modoption_sirennandu2_click = {
if = {
limit = {
has_global_flag = sirennandu2
}
clr_global_flag = sirennandu2
}
else = {
hidden_effect = { scoped_sound_effect = az_nandu3_sound }
set_global_flag = sirennandu2
}
}
modoption_sirennandu3_click = {
if = {
limit = {
has_global_flag = sirennandu3
}
clr_global_flag = sirennandu3
}
else = {
set_global_flag = sirennandu3
}
}
modoption_sirennandu4_click = {
if = {
limit = {
has_global_flag = sirennandu4
}
clr_global_flag = sirennandu4
}
else = {
set_global_flag = sirennandu4
}
}
modoption_button1_on_click = {
if = {
limit = {
has_global_flag = xianzhikongjun_on
}
clr_global_flag = xianzhikongjun_on
every_country = {
remove_ideas = TY_xianzhikongjun
}
}
else = {
set_global_flag = xianzhikongjun_on
every_country = {
add_ideas = TY_xianzhikongjun
}
}
}
modoption_button2_on_click = {
if = {
limit = {
has_global_flag = modoption_navykuaijian_on
}
clr_global_flag = modoption_navykuaijian_on
every_country = {
remove_ideas = TY_qianghuachuanwu
}
}
else = {
set_global_flag = modoption_navykuaijian_on
every_country = {
add_ideas = TY_qianghuachuanwu
}
}
}
modoption_button3_on_click = {
if = {
limit = {
has_global_flag = modoption_shengchan_on
}
clr_global_flag = modoption_shengchan_on
every_country = {
remove_ideas = TY_chaojishengchan
}
}
else = {
set_global_flag = modoption_shengchan_on
every_country = {
add_ideas = TY_chaojishengchan
}
}
}
modoption_button4_on_click = {
if = {
limit = {
has_global_flag = modoption_morepp_on
}
clr_global_flag = modoption_morepp_on
every_country = {
remove_ideas = TY_gengduoppdian
}
}
else = {
set_global_flag = modoption_morepp_on
every_country = {
add_ideas = TY_gengduoppdian
}
}
}
modoption_button5_on_click = {
if = {
limit = {
has_global_flag = modoption_yansukeyan_on
}
clr_global_flag = modoption_yansukeyan_on
every_country = {
remove_ideas = TY_jiasuyanjiu
}
}
else = {
set_global_flag = modoption_yansukeyan_on
every_country = {
add_ideas = TY_jiasuyanjiu
}
}
}
modoption_button6_on_click = {
if = {
limit = {
has_global_flag = modoption_fengkuangai_on
}
clr_global_flag = modoption_fengkuangai_on
every_country = {
limit = {
AND = {
shijianniangguojia_trigger = yes
is_ai = yes
}
}
remove_ideas = TY_fengkuangai
}
}
else = {
set_global_flag = modoption_fengkuangai_on
every_country = {
limit = {
AND = {
shijianniangguojia_trigger = yes
is_ai = yes
}
}
add_ideas = TY_fengkuangai
}
}
}
modoption_button7_on_click = {
if = {
limit = {
has_global_flag = modoption_dingzhenai_on
}
clr_global_flag = modoption_dingzhenai_on
every_country = {
limit = {
AND = {
shijianniangguojia_trigger = yes
is_ai = yes
}
}
remove_ideas = TY_dingzhenai
}
}
else = {
set_global_flag = modoption_dingzhenai_on
every_country = {
limit = {
AND = {
shijianniangguojia_trigger = yes
is_ai = yes
}
}
add_ideas = TY_dingzhenai
}
}
}
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
}
}
}
modoption_button9_on_click = {
if = {
limit = {
has_global_flag = modoption_tiantangzhizhan_on
}
clr_global_flag = modoption_tiantangzhizhan_on
every_country = {
limit = {
AND = {
shijianniangguojia_trigger = no
is_ai = yes
}
}
remove_ideas = TY_yuanbanAI
}
}
else = {
set_global_flag = modoption_tiantangzhizhan_on
every_country = {
limit = {
AND = {
shijianniangguojia_trigger = no
is_ai = yes
}
}
add_ideas = TY_yuanbanAI
}
}
}
}
triggers = {
modoption_button6_on_click_enabled = {
NOT = { has_global_flag = modoption_dingzhenai_on }
}
modoption_button7_on_click_enabled = {
NOT = { has_global_flag = modoption_fengkuangai_on }
}
modoption_button8_on_click_enabled = {
is_historical_focus_on = yes
}
modoption_button9_on_click_enabled = {
has_global_flag = modoption_fengkuangai_on
}
modoption_sirennandu1_click_enabled = {
NOT = { has_global_flag = sirennandu2 }
NOT = { has_global_flag = sirennandu3 }
}
modoption_sirennandu2_click_enabled = {
NOT = { has_global_flag = sirennandu1 }
NOT = { has_global_flag = sirennandu3 }
}
modoption_sirennandu3_click_enabled = {
NOT = { has_global_flag = sirennandu1 }
NOT = { has_global_flag = sirennandu2 }
}
modoption_button1_on_visible = {
NOT = { has_global_flag = az_gamestarted }
}
modoption_button2_on_visible = {
NOT = { has_global_flag = az_gamestarted }
}
modoption_button3_on_visible = {
NOT = { has_global_flag = az_gamestarted }
}
modoption_button4_on_visible = {
NOT = { has_global_flag = az_gamestarted }
}
modoption_button5_on_visible = {
NOT = { has_global_flag = az_gamestarted }
}
modoption_button6_on_visible = {
NOT = { has_global_flag = az_gamestarted }
}
modoption_button7_on_visible = {
NOT = { has_global_flag = az_gamestarted }
}
modoption_button8_on_visible = {
NOT = { has_global_flag = az_gamestarted }
}
modoption_button9_on_visible = {
NOT = { has_global_flag = az_gamestarted }
}
modoption_sirennandu_title_visible = {
has_global_flag = MOD_azurlane_sairenzhizai
}
modoption_sirennandu1_visible = {
NOT = { has_global_flag = az_gamestarted }
has_global_flag = MOD_azurlane_sairenzhizai
}
modoption_sirennandu2_visible = {
NOT = { has_global_flag = az_gamestarted }
has_global_flag = MOD_azurlane_sairenzhizai
}
modoption_sirennandu3_visible = {
NOT = { has_global_flag = az_gamestarted }
has_global_flag = MOD_azurlane_sairenzhizai
}
modoption_sirennandu4_visible = {
NOT = { has_global_flag = az_gamestarted }
has_global_flag = MOD_azurlane_sairenzhizai
}
modoption_sirennandu1_text_visible = {
if = {
limit = {
has_global_flag = az_gamestarted
}
has_global_flag = sirennandu1
}
else = {
has_global_flag = MOD_azurlane_sairenzhizai
}
}
modoption_sirennandu2_text_visible = {
if = {
limit = {
has_global_flag = az_gamestarted
}
has_global_flag = sirennandu2
}
else = {
has_global_flag = MOD_azurlane_sairenzhizai
}
}
modoption_sirennandu3_text_visible = {
if = {
limit = {
has_global_flag = az_gamestarted
}
has_global_flag = sirennandu3
}
else = {
has_global_flag = MOD_azurlane_sairenzhizai
}
}
modoption_sirennandu4_text_visible = {
if = {
limit = {
has_global_flag = az_gamestarted
}
has_global_flag = sirennandu4
}
else = {
has_global_flag = MOD_azurlane_sairenzhizai
}
}
}
}
}

View File

@@ -0,0 +1,59 @@
scripted_gui = {
az_xinxiban_open = {
window_name = "az_xinxiban_open_button_window"
context_type = player_context
visible = {
NOT = { has_country_flag = open_az_xinxiban_window }
}
effects = {
az_xinxiban_open_button_click = {
set_country_flag = open_az_xinxiban_window
}
}
}
az_xinxiban_window_guis = {
window_name = "az_xinxiban_window"
context_type = player_context
visible = {
has_country_flag = open_az_xinxiban_window
}
effects = {
az_xinxiban_close_button_click = {
clr_country_flag = open_az_xinxiban_window
}
az_xinxiban_openstartwindow_click = {
set_country_flag = az_startwindow_open
}
az_xmp_xinxiban_button_click = {
if = {
limit = {
NOT = { has_country_flag = open_az_xmp_main_window }
}
set_country_flag = open_az_xmp_main_window
}
else = {
clr_country_flag = open_az_xmp_main_window
}
}
az_jhd_xinxiban_button_click = {
if = {
limit = {
NOT = { has_country_flag = open_jh_store_main_window }
}
set_country_flag = open_jh_store_main_window
}
else = {
clr_country_flag = open_jh_store_main_window
}
}
}
}
}

File diff suppressed because it is too large Load Diff