2024-06-26 20:31:17

This commit is contained in:
actions[bot]
2024-06-26 20:31:17 +08:00
parent ed7dc34237
commit ac6195ac46
6808 changed files with 624025 additions and 0 deletions

View File

@@ -0,0 +1,285 @@
CHY_island_hopping_level_up = {
if = {
limit = { has_idea =CHY_island_hopping14 }
swap_ideas = {
remove_idea =CHY_island_hopping14
add_idea =CHY_island_hopping15
}
}
else_if = {
limit = { has_idea =CHY_island_hopping13 }
swap_ideas = {
remove_idea =CHY_island_hopping13
add_idea =CHY_island_hopping14
}
}
else_if = {
limit = { has_idea =CHY_island_hopping12 }
swap_ideas = {
remove_idea =CHY_island_hopping12
add_idea =CHY_island_hopping13
}
}
else_if = {
limit = { has_idea =CHY_island_hopping11 }
swap_ideas = {
remove_idea =CHY_island_hopping11
add_idea =CHY_island_hopping12
}
}
else_if = {
limit = { has_idea =CHY_island_hopping10 }
swap_ideas = {
remove_idea =CHY_island_hopping10
add_idea =CHY_island_hopping11
}
}
else_if = {
limit = { has_idea =CHY_island_hopping9 }
swap_ideas = {
remove_idea =CHY_island_hopping9
add_idea =CHY_island_hopping10
}
}
else_if = {
limit = { has_idea =CHY_island_hopping8 }
swap_ideas = {
remove_idea =CHY_island_hopping8
add_idea =CHY_island_hopping9
}
}
else_if = {
limit = { has_idea =CHY_island_hopping7 }
swap_ideas = {
remove_idea =CHY_island_hopping7
add_idea =CHY_island_hopping8
}
}
else_if = {
limit = { has_idea =CHY_island_hopping6 }
swap_ideas = {
remove_idea =CHY_island_hopping6
add_idea =CHY_island_hopping7
}
}
else_if = {
limit = { has_idea =CHY_island_hopping5 }
swap_ideas = {
remove_idea =CHY_island_hopping5
add_idea =CHY_island_hopping6
}
}
else_if = {
limit = { has_idea =CHY_island_hopping4 }
swap_ideas = {
remove_idea =CHY_island_hopping4
add_idea =CHY_island_hopping5
}
}
else_if = {
limit = { has_idea =CHY_island_hopping3 }
swap_ideas = {
remove_idea =CHY_island_hopping3
add_idea =CHY_island_hopping4
}
}
else_if = {
limit = { has_idea =CHY_island_hopping2 }
swap_ideas = {
remove_idea =CHY_island_hopping2
add_idea =CHY_island_hopping3
}
}
else_if = {
limit = { has_idea =CHY_island_hopping1}
swap_ideas = {
remove_idea =CHY_island_hopping1
add_idea =CHY_island_hopping2
}
}
}
# Like the level up effect except it runs in reverse
CHY_island_hopping_level_down = {
if = {
limit = { has_idea =CHY_island_hopping1 }
}
else_if = {
limit = { has_idea =CHY_island_hopping2 }
swap_ideas = {
remove_idea =CHY_island_hopping2
add_idea =CHY_island_hopping1
}
}
else_if = {
limit = { has_idea =CHY_island_hopping3 }
swap_ideas = {
remove_idea =CHY_island_hopping3
add_idea =CHY_island_hopping2
}
}
else_if = {
limit = { has_idea =CHY_island_hopping4 }
swap_ideas = {
remove_idea =CHY_island_hopping4
add_idea =CHY_island_hopping3
}
}
else_if = {
limit = { has_idea =CHY_island_hopping5 }
swap_ideas = {
remove_idea =CHY_island_hopping5
add_idea =CHY_island_hopping4
}
}
else_if = {
limit = { has_idea =CHY_island_hopping6 }
swap_ideas = {
remove_idea =CHY_island_hopping6
add_idea =CHY_island_hopping5
}
}
else_if = {
limit = { has_idea =CHY_island_hopping7 }
swap_ideas = {
remove_idea =CHY_island_hopping7
add_idea =CHY_island_hopping6
}
}
else_if = {
limit = { has_idea =CHY_island_hopping8 }
swap_ideas = {
remove_idea =CHY_island_hopping8
add_idea =CHY_island_hopping7
}
}
else_if = {
limit = { has_idea =CHY_island_hopping9 }
swap_ideas = {
remove_idea =CHY_island_hopping9
add_idea =CHY_island_hopping8
}
}
else_if = {
limit = { has_idea =CHY_island_hopping10 }
swap_ideas = {
remove_idea =CHY_island_hopping10
add_idea =CHY_island_hopping9
}
}
else_if = {
limit = { has_idea =CHY_island_hopping11 }
swap_ideas = {
remove_idea =CHY_island_hopping11
add_idea =CHY_island_hopping10
}
}
else_if = {
limit = { has_idea =CHY_island_hopping12 }
swap_ideas = {
remove_idea =CHY_island_hopping12
add_idea =CHY_island_hopping11
}
}
else_if = {
limit = { has_idea =CHY_island_hopping13 }
swap_ideas = {
remove_idea =CHY_island_hopping13
add_idea =CHY_island_hopping12
}
}
else_if = {
limit = { has_idea =CHY_island_hopping14 }
swap_ideas = {
remove_idea =CHY_island_hopping14
add_idea =CHY_island_hopping13
}
}
else_if = {
limit = { has_idea =CHY_island_hopping15 }
swap_ideas = {
remove_idea =CHY_island_hopping15
add_idea =CHY_island_hopping14
}
}
}
CHY_increase_power = {
hidden_effect = {
if = {
limit = {
has_idea = CHY_txbw_7
}
swap_ideas = {
remove_idea = CHY_txbw_7
add_idea = CHY_txbw_8
}
}
if = {
limit = {
has_idea = CHY_txbw_6
}
swap_ideas = {
remove_idea = CHY_txbw_6
add_idea = CHY_txbw_7
}
}
if = {
limit = {
has_idea = CHY_txbw_5
}
swap_ideas = {
remove_idea = CHY_txbw_5
add_idea = CHY_txbw_6
}
}
if = {
limit = {
has_idea = CHY_txbw_4
}
swap_ideas = {
remove_idea = CHY_txbw_4
add_idea = CHY_txbw_5
}
}
if = {
limit = {
has_idea = CHY_txbw_3
}
swap_ideas = {
remove_idea = CHY_txbw_3
add_idea = CHY_txbw_4
}
}
if = {
limit = {
has_idea = CHY_txbw_2
}
swap_ideas = {
remove_idea = CHY_txbw_2
add_idea = CHY_txbw_3
}
}
if = {
limit = {
has_idea = CHY_txbw_1
}
swap_ideas = {
remove_idea = CHY_txbw_1
add_idea = CHY_txbw_2
}
}
}
}

View File

@@ -0,0 +1,413 @@
AUS_set_pubilcity_slot = {
if = {
limit = {
check_variable = {
AUS_pub_slot_A = 0
}
}
set_variable = {
AUS_pub_slot_A = AUS_pub_temp
}
else_if = {
limit = {
check_variable = {
AUS_pub_slot_B = 0
}
}
set_variable = {
AUS_pub_slot_B = AUS_pub_temp
}
else_if = {
limit = {
check_variable = {
AUS_pub_slot_C = 0
}
}
set_variable = {
AUS_pub_slot_C = AUS_pub_temp
}
}
}
}
}
AUS_clr_pubilcity_slot = {
if = {
limit = {
check_variable = {
AUS_pub_slot_A = AUS_pub_temp
}
}
set_variable = {
AUS_pub_slot_A = 0
}
else_if = {
limit = {
check_variable = {
AUS_pub_slot_B = AUS_pub_temp
}
}
set_variable = {
AUS_pub_slot_B = 0
}
else_if = {
limit = {
check_variable = {
AUS_pub_slot_C = AUS_pub_temp
}
}
set_variable = {
AUS_pub_slot_C = 0
}
}
}
}
}
GER_get_a_governor_to_PREV = {
if = {
limit = {
has_character = KMS_Bismarck
KMS_Bismarck = {
not = {
has_character_flag = has_been_a_governor
}
is_country_leader = no
}
}
PREV = {
create_country_leader = {
name = "俾斯麦"
desc = ""
picture = "gfx/leaders/XGE/Konrad_Adenauer.dds"
expire = "1985.1.1"
ideology = nazism
traits = {
}
}
}
KMS_Bismarck = {
set_character_flag = has_been_a_governor
}
}
else_if = {
limit = {
has_character = GER_gerd_von_rundstedt
GER_gerd_von_rundstedt = {
not = {
has_character_flag = has_been_a_governor
}
is_country_leader = no
}
}
PREV = {
create_country_leader = {
name = "格尔德·冯·伦德斯泰特"
desc = ""
picture = "gfx/leaders/XGE/Portrait_Germany_Gerd_von_Rundstedt.dds"
expire = "1985.1.1"
ideology = nazism
traits = {
}
}
}
GER_gerd_von_rundstedt = {
set_character_flag = has_been_a_governor
}
}
else_if = {
limit = {
not = {
has_idea = GER_xier_idea
}
has_character = GER_xier
GER_xier = {
not = {
has_character_flag = has_been_a_governor
}
is_country_leader = no
}
}
PREV = {
create_country_leader = {
name = "希尔"
desc = ""
picture = "gfx/leaders/XGE/GER_xier.dds"
expire = "1985.1.1"
ideology = nazism
traits = {
}
}
}
GER_xier = {
set_character_flag = has_been_a_governor
}
}
else_if = {
limit = {
has_character = GER_maiye
GER_maiye = {
not = {
has_character_flag = has_been_a_governor
}
is_country_leader = no
}
}
PREV = {
create_country_leader = {
name = "赫尔曼·迈耶"
desc = ""
picture = "gfx/leaders/XGE/GER_maiye.dds"
expire = "1985.1.1"
ideology = nazism
traits = {
}
}
}
GER_maiye = {
set_character_flag = has_been_a_governor
}
}
else_if = {
limit = {
has_character = GER_Tanya
GER_Tanya = {
not = {
has_character_flag = has_been_a_governor
}
is_country_leader = no
}
}
PREV = {
create_country_leader = {
name = "谭雅·提古雷查夫"
desc = ""
picture = "gfx/leaders/XGE/GER_Tanya.dds"
expire = "1985.1.1"
ideology = nazism
traits = {
}
}
}
GER_Tanya = {
set_character_flag = has_been_a_governor
}
}
else_if = {
limit = {
has_character = GER_ailika
GER_ailika = {
not = {
has_character_flag = has_been_a_governor
}
is_country_leader = no
}
}
PREV = {
create_country_leader = {
name = "逸见艾丽卡"
desc = ""
picture = "gfx/leaders/XGE/GER_Erika_13.dds"
expire = "1985.1.1"
ideology = nazism
traits = {
}
}
}
GER_ailika = {
set_character_flag = has_been_a_governor
}
}
else_if = {
limit = {
has_character = GER_zhensui
GER_zhensui = {
not = {
has_character_flag = has_been_a_governor
}
is_country_leader = no
}
}
PREV = {
create_country_leader = {
name = "西住真穗"
desc = ""
picture = "gfx/leaders/XGE/zhensui.dds"
expire = "1985.1.1"
ideology = nazism
traits = {
}
}
}
GER_zhensui = {
set_character_flag = has_been_a_governor
}
}
else_if = {
limit = {
has_character = GER_gunther_von_kluge
GER_gunther_von_kluge = {
not = {
has_character_flag = has_been_a_governor
}
is_country_leader = no
}
}
PREV = {
create_country_leader = {
name = "君特·冯·克鲁格"
desc = ""
picture = "gfx/leaders/XGE/GER_gunther_von_kluge.dds"
expire = "1985.1.1"
ideology = nazism
traits = {
}
}
}
GER_gunther_von_kluge = {
set_character_flag = has_been_a_governor
}
}
else_if = {
limit = {
has_character = GER_erwin_rommel
GER_erwin_rommel = {
not = {
has_character_flag = has_been_a_governor
}
is_country_leader = no
}
}
PREV = {
create_country_leader = {
name = "埃尔温·隆美尔"
desc = ""
picture = "gfx/leaders/XGE/GER_erwin_rommel.dds"
expire = "1985.1.1"
ideology = nazism
traits = {
}
}
}
GER_erwin_rommel = {
set_character_flag = has_been_a_governor
}
}
else_if = {
limit = {
has_character = GER_erich_von_manstein
GER_erich_von_manstein = {
not = {
has_character_flag = has_been_a_governor
}
is_country_leader = no
}
}
PREV = {
create_country_leader = {
name = "埃里希·冯·曼施坦因"
desc = ""
picture = "gfx/leaders/XGE/GER_erich_von_manstein.dds"
expire = "1985.1.1"
ideology = nazism
traits = {
}
}
}
GER_erich_von_manstein = {
set_character_flag = has_been_a_governor
}
}
else_if = {
limit = {
has_character = GER_speer
GER_speer = {
not = {
has_character_flag = has_been_a_governor
}
is_country_leader = no
}
}
PREV = {
create_country_leader = {
name = "阿尔伯特·施佩尔"
desc = ""
picture = "gfx/leaders/XGE/GER_speer.dds"
expire = "1985.1.1"
ideology = nazism
traits = {
}
}
}
GER_speer = {
set_character_flag = has_been_a_governor
}
}
else_if = {
limit = {
has_character = GER_friedrich_paulus
GER_friedrich_paulus = {
not = {
has_character_flag = has_been_a_governor
}
is_country_leader = no
}
}
PREV = {
create_country_leader = {
name = "弗里德里希·保卢斯"
desc = ""
picture = "gfx/leaders/XGE/GER_friedrich_paulus.dds"
expire = "1985.1.1"
ideology = nazism
traits = {
}
}
}
GER_friedrich_paulus = {
set_character_flag = has_been_a_governor
}
}
}
XGE_LISHA_EFFECT = {
if = {
limit = {
check_variable = { Lisa_resurrection_progress_var > 0 }
not = { has_country_flag = Lisa_resurrection_progress_var_event_1 }
}
country_event = {
id = XGE.007
}
set_country_flag = Lisa_resurrection_progress_var_event_1
}
if = {
limit = {
check_variable = { Lisa_resurrection_progress_var > 50 }
not = { has_country_flag = Lisa_resurrection_progress_var_event_2 }
}
country_event = {
id = XGE.009
}
set_country_flag = Lisa_resurrection_progress_var_event_2
}
if = {
limit = {
check_variable = { Lisa_resurrection_progress_var > 80 }
not = { has_country_flag = Lisa_resurrection_progress_var_event_3 }
}
country_event = {
id = XGE.010
}
set_country_flag = Lisa_resurrection_progress_var_event_3
}
if = {
limit = {
check_variable = { Lisa_resurrection_progress_var = 100 }
not = { has_country_flag = Lisa_resurrection_progress_var_event_4 }
}
country_event = {
id = XGE.011
}
set_country_flag = Lisa_resurrection_progress_var_event_4
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,37 @@
BFL_dqx_dengji = {
if = {
limit = { has_idea = BFL_dqx_0 }
swap_ideas = {
remove_idea = BFL_dqx_0
add_idea = BFL_dqx_1
}
}
else_if = {
limit = { has_idea = BFL_dqx_1 }
swap_ideas = {
remove_idea = BFL_dqx_1
add_idea = BFL_dqx_2
}
}
else_if = {
limit = { has_idea = BFL_dqx_2 }
swap_ideas = {
remove_idea = BFL_dqx_2
add_idea = BFL_dqx_3
}
}
else_if = {
limit = { has_idea = BFL_dqx_3 }
swap_ideas = {
remove_idea = BFL_dqx_3
add_idea = BFL_dqx_4
}
}
else_if = {
limit = { has_idea = BFL_dqx_4 }
swap_ideas = {
remove_idea = BFL_dqx_4
add_idea = BFL_dqx_5
}
}
}

View File

@@ -0,0 +1,30 @@
BYG_dxt_dengji = {
if = {
limit = { has_idea = BYG_jjwjhyz }
swap_ideas = {
remove_idea = BYG_jjwjhyz
add_idea = BYG_jjwjhyz_1
}
}
else_if = {
limit = { has_idea = BYG_jjwjhyz_1 }
swap_ideas = {
remove_idea = BYG_jjwjhyz_1
add_idea = BYG_jjwjhyz_2
}
}
else_if = {
limit = { has_idea = BYG_jjwjhyz_2 }
swap_ideas = {
remove_idea = BYG_jjwjhyz_2
add_idea = BYG_jjwjhyz_3
}
}
else_if = {
limit = { has_idea = BYG_jjwjhyz_3 }
swap_ideas = {
remove_idea = BYG_jjwjhyz_3
add_idea = BYG_jjwjhyz_4
}
}
}

View File

@@ -0,0 +1,547 @@
DOH_mofifier_effect = {
set_variable = {
var = DOH_zongjikaizhi
value = 0
}
set_variable = {
var = DOH_xiaofeipingyinxiang
value = 0
}
add_to_variable = { var:DOH_zongjikaizhi = var:DOH_touzi }
add_to_variable = { var:DOH_zongjikaizhi = var:DOH_keyanjinfei }
add_to_variable = { var:DOH_zongjikaizhi = var:DOH_junshijinfei }
add_to_variable = { var:DOH_zongjikaizhi = var:DOH_gonggongkaizhi }
set_variable = { var:DOH_xiaofeipingyinxiang = var:DOH_zongjikaizhi }
multiply_variable = { var:DOH_xiaofeipingyinxiang = var:DOH_xiaofeipingyinxiang_factor }
set_variable = { var:DOH_touzi_effect = var:DOH_touzi }
multiply_variable = { var:DOH_touzi_effect = 0.04 }
set_variable = { var:DOH_keyanjinfei_effect = var:DOH_keyanjinfei }
multiply_variable = { var:DOH_keyanjinfei_effect = 0.035 }
set_variable = { var:DOH_junshijinfei_effect = var:DOH_junshijinfei }
multiply_variable = { var:DOH_junshijinfei_effect = 0.035 }
set_variable = { var:DOH_gonggongkaizhi_effect = var:DOH_gonggongkaizhi }
multiply_variable = { var:DOH_gonggongkaizhi_effect = 0.05 }
set_variable = { var:DOH_gonggongkaizhi_effect_m = var:DOH_gonggongkaizhi_effect }
multiply_variable = { var:DOH_gonggongkaizhi_effect_m = -1 }
set_variable = { var:DOH_gonggongkaizhi_effect_2 = var:DOH_gonggongkaizhi }
multiply_variable = { var:DOH_gonggongkaizhi_effect_2 = 0.01 }
set_variable = { var:DOH_gonggongkaizhi_effect_3 = var:DOH_gonggongkaizhi }
multiply_variable = { var:DOH_gonggongkaizhi_effect_3 = 0.001 }
set_variable = { var:DOH_shichang_effect = var:DOH_shichang }
multiply_variable = { var:DOH_shichang_effect = 0.03 }
set_variable = { var:DOH_shichang_effect_m = var:DOH_shichang_effect }
multiply_variable = { var:DOH_shichang_effect_m = -1 }
set_variable = {
var = DOH_xiaofeipingyinxiang_factor
value = 0.08
}
set_variable = {
var:DOH_zhichiduchengfa_effect = DOH_zhichiduchengfa
}
multiply_variable = { var:DOH_zhichiduchengfa_effect = -0.01 }
if = {
limit = {
DOH = {
has_completed_focus = DOH_donghuanggongyetixi
}
}
set_variable = {
var = DOH_guimoxiaoyin
value = DOH.num_of_civilian_factories
}
multiply_variable = { var:DOH_guimoxiaoyin = 0.01 }
set_variable = {
var = DOH_guimoxiaoyin_effect
value = DOH_guimoxiaoyin
}
multiply_variable = { var:DOH_guimoxiaoyin_effect = 0.05 }
set_variable = {
var = DOH_guimoxiaoyin_effect_2
value = DOH_guimoxiaoyin
}
multiply_variable = { var:DOH_guimoxiaoyin_effect_2 = 0.006 }
if = {
limit = {
check_variable = {
DOH_guimoxiaoyin_effect_2 > 0.018 # 大于300民用厂
}
}
add_to_variable = {
var = DOH_xiaofeipingyinxiang_factor
value = DOH_guimoxiaoyin_effect_2
}
add_to_variable = {
var = DOH_xiaofeipingyinxiang_factor
value = -0.018
}
}
# 革新生产力
set_variable = {
DOH_keyansudu_all = 0
}
if = {
limit = {
has_completed_focus = DOH_guangronghemengxiangdeyuanzheng
}
DOH_gexinshengchanli_effect = yes
}
multiply_variable = {
DOH_keyansudu_all = 0.2
}
add_to_variable = {
DOH_keyansudu_all = 1
}
divide_variable = {
DOH_xiaofeipingyinxiang_factor = DOH_keyansudu_all
}
}
if = {
limit = {
has_completed_focus = DOH_heqishengcai
}
set_variable = {
extra_xiaofeiping = DOH.stability
}
multiply_variable = {
extra_xiaofeiping = -0.2
}
}
## 工业目标
set_variable = {
var:DOH_gongyeguihua_doing_goal_display = 1.1
}
if = {
limit = {
check_variable = {
DOH.num_of_factories < 450
}
}
set_variable = {
var:DOH_gongyeguihua_doing_goal_display = 450
}
subtract_from_variable = {
var:DOH_gongyeguihua_doing_goal_display = DOH.num_of_factories
}
multiply_variable = {
var:DOH_gongyeguihua_doing_goal_display = 0.001
}
add_to_variable = {
var:DOH_gongyeguihua_doing_goal_display = 1.1
}
}
multiply_variable = {
var:DOH_gongyeguihua_doing_goal_display = DOH.num_of_factories
}
round_variable = var:DOH_gongyeguihua_doing_goal_display
##核电站
DOH = {
every_owned_state = {
if = {
limit = {
nuclear_reactor > 0
}
add_dynamic_modifier = {
modifier = DOH_hedian_state_modifier
}
}
}
}
set_variable = {
var:DOH_hedian_counter = 0
}
if = {
limit = {
DOH = {
all_owned_state = {
if = {
limit = {
nuclear_reactor > 0
}
add_to_temp_variable = {
DOH_nu_counter = -0.02
}
}
}
}
}
set_variable = {
var:DOH_hedian_counter = DOH_nu_counter
}
}
if = {
limit = {
has_country_flag = DOH_auto_conv_com_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 = 180
}
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 = -180
}
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 = {
DOH = {
has_completed_focus = DOH_kuangyedaxue
}
}
set_variable = {
var:DOH_minyonggongchang_counter_1 = 0
}
if = {
limit = {
DOH = {
all_owned_state = {
if = {
limit = {
industrial_complex > 0
}
add_to_temp_variable = {
DOH_civ_counter = building_level@industrial_complex
}
}
}
}
}
set_variable = {
var:DOH_minyonggongchang_counter_1 = DOH_civ_counter
}
}
set_variable = {
var:DOH_hechenglianyouchang_counter_2 = 0
}
if = {
limit = {
DOH = {
all_owned_state = {
if = {
limit = {
synthetic_refinery > 0
}
add_to_temp_variable = { DOH_sr_counter = building_level@synthetic_refinery }
add_to_temp_variable = { DOH_sr_counter = building_level@synthetic_refinery }
}
}
}
}
set_variable = {
var:DOH_hechenglianyouchang_counter_2 = DOH_sr_counter
}
}
}
# if = {
# limit = {
# has_country_flag = DOH_auto_conv_cic_civ
# has > 10000
# }
# set_temp_variable = {
# temp_var:az_doh_clr_equ = var:cic
# }
# divide_temp_variable = {
# temp_var:az_doh_clr_equ = 1800
# }
# 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 = -1800
# }
# 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
# }
# }
}
DOH_zhichilvchengfa_effect = {
add_popularity = {
ideology = neutrality
popularity = DOH_zhichiduchengfa_effect
}
# if = {
# limit = { has_completed_focus = DOH_renminwansui }
# add_popularity = {
# ideology = communism
# popularity = DOH_zhichiduchengfa_effect
# }
# }
# if = {
# limit = { has_completed_focus = DOH_yinruwaizi }
# add_popularity = {
# ideology = democratic
# popularity = DOH_zhichiduchengfa_effect
# }
# }
# if = {
# limit = { has_completed_focus = DOH_yixianwansui }
# add_popularity = {
# ideology = fascism
# popularity = DOH_zhichiduchengfa_effect
# }
# }
}
DOH_duiwaishuchu_effect = {
# 工厂数目
set_variable = {
DOH_has_shuchu_factroies = DOH_has_shuchu_civ
}
multiply_variable = {
DOH_has_shuchu_factroies = 0.011
}
# 控股比例:输出工厂数占对方总工厂数之百分比
set_variable = {
shuchu_factor = DOH_has_shuchu_factroies
}
every_country = {
if = {
limit = {
all_country = {
if = {
limit = {
has_country_flag = DOH_shuchu_civ_target_flag
}
set_temp_variable = {
target_total_factories_temp = var:num_of_factories
}
}
}
}
set_variable = {
target_total_factories = target_total_factories_temp
}
}
}
multiply_variable = {
target_total_factories = 1.45
}
divide_variable = {
shuchu_factor = target_total_factories
}
# 股东分红
set_variable = {
shuchu_factor_to_doh = shuchu_factor
}
multiply_variable = {
shuchu_factor_to_doh = 0.5
}
if = {
limit = {
check_variable = {
shuchu_factor_to_doh > 0.60
}
}
set_variable = {
shuchu_factor_to_doh = 0.6
}
}
}
d_DOH_auto_shuchu_effect = {
set_variable = {
DOH_civ_num = DOH.num_equipment@doh_civ_equipment_1
}
DOH = {
send_equipment = {
type = doh_civ_equipment_1
amount = DOH_civ_num
target = var:DOH_shuchu_civ_target_tag
}
}
add_to_variable = {
DOH_has_shuchu_civ = DOH_civ_num
}
}
d_DOH_self_duiwaishuchu_init = {
DOH = {
set_variable = {
var:DOH_has_shuchu_civ = 0
}
set_variable = {
var:DOH_has_shuchu_factroies = 0
}
set_variable = {
var:shuchu_factor = 0
}
set_variable = {
var:shuchu_factor_to_doh = 0
}
clr_country_flag = DOH_shuchu_civ_doing_flag
clr_country_flag = DOH_auto_shuchu_civ
d_DOH_auto_shuchu_effect = yes
DOH_duiwaishuchu_effect = yes
}
}
doh_kexueyuan_effect = {
set_variable = {
shared_speed_factor = DOH.num_subjects
}
multiply_variable = {
shared_speed_factor = 0.08
}
every_country = {
if = {
limit = {
OR = {
is_subject_of = DOH
tag = DOH
}
NOT = {
has_dynamic_modifier = {
modifier = az_doh_kexueyuan_modifier
}
}
}
add_dynamic_modifier = {
modifier = az_doh_kexueyuan_modifier
}
}
if = {
limit = {
NOT = {
OR = {
is_subject_of = DOH
tag = DOH
}
}
has_dynamic_modifier = {
modifier = az_doh_kexueyuan_modifier
}
}
remove_dynamic_modifier = {
modifier = az_doh_kexueyuan_modifier
}
}
}
}
# d_DOH_fanshu_add_effect = {
# every_country = {
# limit = {
# has_autonomy_state = doh_fanshu
# }
# set_variable = {
# THIS.zizhichengdu = THIS.autonomy_ratio
# }
# multiply_variable = {
# THIS.zizhichengdu = -1
# }
# add_to_variable = {
# THIS.zizhichengdu = 1
# }
# multiply_variable = {
# THIS.zizhichengdu = 0.3
# }
# add_dynamic_modifier = {
# modifier = az_doh_fanshu_modifier
# scope = THIS.overlord
# }
# }
# }
# d_DOH_fanshu_refresh_effect = {
# every_country = {
# limit = {
# has_autonomy_state = doh_fanshu
# }
# set_variable = {
# THIS.zizhichengdu = THIS.autonomy_ratio
# }
# multiply_variable = {
# THIS.zizhichengdu = -1
# }
# add_to_variable = {
# THIS.zizhichengdu = 1
# }
# multiply_variable = {
# THIS.zizhichengdu = 0.3
# }
# }
# }
DOH_neibufenqi_jianqin_effect = {
multiply_variable = {
var:DOH_zhichiduchengfa = 0.8
}
custom_effect_tooltip = DOH_neibufenqi_jianqin_effect_tooltip
}
DOH_neibufenqi_jianqin_few_effect = {
multiply_variable = {
var:DOH_zhichiduchengfa = 0.9
}
custom_effect_tooltip = DOH_neibufenqi_jianqin_few_effect_tooltip
}
DOH_neibufenqi_jiazhong_effect = {
multiply_variable = {
var:DOH_zhichiduchengfa = 2.50
}
custom_effect_tooltip = DOH_neibufenqi_jiazhong_effect_tooltip
}
DOH_gexinshengchanli_effect = {
DOH = {
set_variable = {
DOH_keyansudu_single = modifier@research_speed_factor
}
set_variable = {
DOH_keyancao_all = amount_research_slots
}
add_to_variable = {
DOH_keyancao_all = DOH_gexinshengchanli
}
divide_variable = {
DOH_keyansudu_single = DOH_keyancao_all
}
set_variable = {
DOH_keyansudu_all = DOH_keyansudu_single
}
multiply_variable = {
DOH_keyansudu_all = DOH_gexinshengchanli
}
}
}

View File

@@ -0,0 +1,218 @@
az_pt_page_up = {
if = {
limit = {
has_country_flag = az_photowindow_2
}
clr_country_flag = az_photowindow_2
set_country_flag = az_photowindow_1
}
else_if = {
limit = {
has_country_flag = az_photowindow_3
}
clr_country_flag = az_photowindow_3
set_country_flag = az_photowindow_2
}
else_if = {
limit = {
has_country_flag = az_photowindow_4
}
clr_country_flag = az_photowindow_4
set_country_flag = az_photowindow_3
}
else_if = {
limit = {
has_country_flag = az_photowindow_5
}
clr_country_flag = az_photowindow_5
set_country_flag = az_photowindow_4
}
else_if = {
limit = {
has_country_flag = az_photowindow_6
}
clr_country_flag = az_photowindow_6
set_country_flag = az_photowindow_5
}
else_if = {
limit = {
has_country_flag = az_photowindow_7
}
clr_country_flag = az_photowindow_7
set_country_flag = az_photowindow_6
}
else_if = {
limit = {
has_country_flag = az_photowindow_8
}
clr_country_flag = az_photowindow_8
set_country_flag = az_photowindow_7
}
else_if = {
limit = {
has_country_flag = az_photowindow_9
}
clr_country_flag = az_photowindow_9
set_country_flag = az_photowindow_8
}
else_if = {
limit = {
has_country_flag = az_photowindow_10
}
clr_country_flag = az_photowindow_10
set_country_flag = az_photowindow_9
}
else_if = {
limit = {
has_country_flag = az_photowindow_11
}
clr_country_flag = az_photowindow_11
set_country_flag = az_photowindow_10
}
}
az_pt_page_down = {
if = {
limit = {
has_country_flag = az_photowindow_10
}
clr_country_flag = az_photowindow_10
set_country_flag = az_photowindow_11
}
else_if = {
limit = {
has_country_flag = az_photowindow_9
}
clr_country_flag = az_photowindow_9
set_country_flag = az_photowindow_10
}
else_if = {
limit = {
has_country_flag = az_photowindow_8
}
clr_country_flag = az_photowindow_8
set_country_flag = az_photowindow_9
}
else_if = {
limit = {
has_country_flag = az_photowindow_7
}
clr_country_flag = az_photowindow_7
set_country_flag = az_photowindow_8
}
else_if = {
limit = {
has_country_flag = az_photowindow_6
}
clr_country_flag = az_photowindow_6
set_country_flag = az_photowindow_7
}
else_if = {
limit = {
has_country_flag = az_photowindow_5
}
clr_country_flag = az_photowindow_5
set_country_flag = az_photowindow_6
}
else_if = {
limit = {
has_country_flag = az_photowindow_4
}
clr_country_flag = az_photowindow_4
set_country_flag = az_photowindow_5
}
else_if = {
limit = {
has_country_flag = az_photowindow_3
}
clr_country_flag = az_photowindow_3
set_country_flag = az_photowindow_4
}
else_if = {
limit = {
has_country_flag = az_photowindow_2
}
clr_country_flag = az_photowindow_2
set_country_flag = az_photowindow_3
}
else_if = {
limit = {
has_country_flag = az_photowindow_1
}
clr_country_flag = az_photowindow_1
set_country_flag = az_photowindow_2
}
}
az_photo_finish = {
if = {
limit = {
has_country_flag = az_photowindow_10
}
set_country_flag = az_photo_finish_10
country_event = az_pt_10_event.16
}
else_if = {
limit = {
has_country_flag = az_photowindow_9
}
set_country_flag = az_photo_finish_9
country_event = az_pt_9_event.16
}
else_if = {
limit = {
has_country_flag = az_photowindow_8
}
set_country_flag = az_photo_finish_8
country_event = az_pt_8_event.16
}
else_if = {
limit = {
has_country_flag = az_photowindow_7
}
set_country_flag = az_photo_finish_7
country_event = az_pt_7_event.16
}
else_if = {
limit = {
has_country_flag = az_photowindow_6
}
set_country_flag = az_photo_finish_6
country_event = az_pt_6_event.16
}
else_if = {
limit = {
has_country_flag = az_photowindow_5
}
set_country_flag = az_photo_finish_5
country_event = az_pt_5_event.16
}
else_if = {
limit = {
has_country_flag = az_photowindow_4
}
set_country_flag = az_photo_finish_4
country_event = az_pt_4_event.16
}
else_if = {
limit = {
has_country_flag = az_photowindow_3
}
set_country_flag = az_photo_finish_3
country_event = az_pt_3_event.16
}
else_if = {
limit = {
has_country_flag = az_photowindow_2
}
set_country_flag = az_photo_finish_2
country_event = az_pt_2_event.16
}
else_if = {
limit = {
has_country_flag = az_photowindow_1
}
set_country_flag = az_photo_finish_1
country_event = az_pt_1_event.16
}
}

View File

@@ -0,0 +1,986 @@
getzhg_event_gerentezhi_se = {
custom_effect_tooltip = getzhg_event_gerentezhi_tt
if = {
limit = { is_navy_leader = yes }
add_random_trait = {
search_pattern_expert
gentlemanly
gunnery_expert
cuts_corners
chief_engineer
bold
navy_career_officer
battleship_adherent
aviation_enthusiast
caustic_personality
craven
naval_lineage
navy_media_personality
}
}
else = {
add_random_trait = {
substance_abuser
substance_addict
old_guard
brilliant_strategist
inflexible_strategist
politically_connected
war_hero
career_officer
trait_cautious
trait_reckless
media_personality
harsh_leader
bearer_of_artillery
infantry_officer
cavalry_officer
armor_officer
}
}
}
getzhg_event_xidetezhi_se = {
custom_effect_tooltip = getzhg_event_xidetezhi_tt
if = {
limit = { is_navy_leader = yes }
add_random_trait = {
seawolf
fleet_protector
fly_swatter
superior_tactician
blockade_runner
spotter
air_controller
ironside
}
}
else = {
add_random_trait = {
organizer
cavalry_leader
infantry_leader
skilled_staffer
trickster
trait_engineer
panzer_leader
commando
naval_invader
}
}
}
getzhg_event_dixingtezhi_se = {
custom_effect_tooltip = getzhg_event_dixingtezhi_tt
if = {
limit = { is_navy_leader = yes }
add_random_trait = {
inshore_fighter
green_water_expert
blue_water_expert
arctic_water_expert
}
}
else = {
add_random_trait = {
desert_fox
swamp_fox
trait_mountaineer
hill_fighter
jungle_rat
ranger
urban_assault_specialist
winter_specialist
}
}
}
SIR_buffshangsheng = {
custom_effect_tooltip = "BUFF加强"
if = {
limit = { has_idea = SIR_buff1 }
swap_ideas = {
add_idea = SIR_buff2
remove_idea = SIR_buff1
}
}
else_if = {
limit = { has_idea = SIR_buff2 }
add_research_slot = 1
swap_ideas = {
add_idea = SIR_buff3
remove_idea = SIR_buff2
}
}
else_if = {
limit = { has_idea = SIR_buff3 }
add_research_slot = 1
add_manpower = 10000000
swap_ideas = {
add_idea = SIR_buff4
remove_idea = SIR_buff3
}
}
else_if = {
limit = { has_idea = SIR_buff4 }
add_research_slot = 1
remove_ideas = SIR_srdqz
swap_ideas = {
add_idea = SIR_buff5
remove_idea = SIR_buff4
}
}
else_if = {
limit = { has_idea = SIR_buff5 }
add_war_support = 1
}
else = { add_ideas = SIR_buff1 }
}
TIX_heikeji_dengji = {
custom_effect_tooltip = TIX_heikeji_dengji_tooltip
hidden_effect = {
if = {
limit = { has_idea = TIX_heikeji_1 }
swap_ideas = {
remove_idea = TIX_heikeji_1
add_idea = TIX_heikeji_2
}
}
else_if = {
limit = { has_idea = TIX_heikeji_2 }
swap_ideas = {
remove_idea = TIX_heikeji_2
add_idea = TIX_heikeji_3
}
}
else_if = {
limit = { has_idea = TIX_heikeji_3 }
swap_ideas = {
remove_idea = TIX_heikeji_3
add_idea = TIX_heikeji_4
}
}
else = { add_ideas = TIX_heikeji_1 }
}
}
BFL_lujunjianshe_dengji = {
custom_effect_tooltip = BFL_lujunjianshe_dengji_tooltip
hidden_effect = {
if = {
limit = { has_idea = BFL_hjdj1 }
swap_ideas = {
remove_idea = BFL_hjdj1
add_idea = BFL_hjdj2
}
}
else_if = {
limit = { has_idea = BFL_hjdj2 }
swap_ideas = {
remove_idea = BFL_hjdj2
add_idea = BFL_hjdj3
}
}
else_if = {
limit = { has_idea = BFL_hjdj3 }
swap_ideas = {
remove_idea = BFL_hjdj3
add_idea = BFL_hjdj4
}
}
else_if = {
limit = { has_idea = BFL_hjdj4 }
swap_ideas = {
remove_idea = BFL_hjdj4
add_idea = BFL_hjdj5
}
}
else = { add_ideas = BFL_hjdj1}
}
}
DOH_dongfangguguo_dengji = {
if = {
limit = { has_idea = DOH_dfgg1 }
swap_ideas = {
remove_idea = DOH_dfgg1
add_idea = DOH_dfgg2
}
}
else_if = {
limit = { has_idea = DOH_dfgg2 }
swap_ideas = {
remove_idea = DOH_dfgg2
add_idea = DOH_dfgg3
}
}
else_if = {
limit = { has_idea = DOH_dfgg3 }
swap_ideas = {
remove_idea = DOH_dfgg3
add_idea = DOH_dfgg4
}
}
else_if = {
limit = { has_idea = DOH_dfgg4 }
swap_ideas = {
remove_idea = DOH_dfgg4
add_idea = DOH_dfgg5
}
}
else = {
}
}
DOH_baojiaweiguo_dengji = {
if = {
limit = { has_idea = DOH_bjwg1 }
swap_ideas = {
remove_idea = DOH_bjwg1
add_idea = DOH_bjwg2
}
}
else_if = {
limit = { has_idea = DOH_bjwg2 }
swap_ideas = {
remove_idea = DOH_bjwg2
add_idea = DOH_bjwg3
}
}
else_if = {
limit = { has_idea = DOH_bjwg3 }
swap_ideas = {
remove_idea = DOH_bjwg3
add_idea = DOH_bjwg4
}
}
else_if = {
limit = { has_idea = DOH_bjwg4 }
swap_ideas = {
remove_idea = DOH_bjwg4
add_idea = DOH_bjwg5
}
}
else_if = {
limit = { has_idea = DOH_bjwg5 }
swap_ideas = {
remove_idea = DOH_bjwg5
add_idea = DOH_bjwg6
}
}
else_if = {
limit = { has_idea = DOH_bjwg6 }
swap_ideas = {
remove_idea = DOH_bjwg6
add_idea = DOH_bjwg7
}
}
else = { add_war_support = 0.1 }
}
YUW_hldzf_dengji = {
if = {
limit = { has_idea = YUW_hldzf1 }
swap_ideas = {
remove_idea = YUW_hldzf1
add_idea = YUW_hldzf2
}
}
else_if = {
limit = { has_idea = YUW_hldzf2 }
swap_ideas = {
remove_idea = YUW_hldzf2
add_idea = YUW_hldzf3
}
}
else_if = {
limit = { has_idea = YUW_hldzf3 }
swap_ideas = {
remove_idea = YUW_hldzf3
add_idea = YUW_hldzf4
}
}
else_if = {
limit = { has_idea = YUW_hldzf4 }
swap_ideas = {
remove_idea = YUW_hldzf4
add_idea = YUW_hldzf5
}
}
}
YUW_gsjj_dengji = {
custom_effect_tooltip = YUW_gsjj_tooltip
hidden_effect = {
if = {
limit = { has_idea = YUW_jjbk }
swap_ideas = {
remove_idea = YUW_jjbk
add_idea = YUW_jjxt
}
}
else_if = {
limit = { has_idea = YUW_jjxt }
swap_ideas = {
remove_idea = YUW_jjxt
add_idea = YUW_jjhmhf
}
}
else_if = {
limit = { has_idea = YUW_jjhmhf }
swap_ideas = {
remove_idea = YUW_jjhmhf
add_idea = YUW_jjqywd
}
}
else_if = {
limit = { has_idea = YUW_jjqywd }
swap_ideas = {
remove_idea = YUW_jjqywd
add_idea = YUW_wddjj
}
}
}
}
YUW_gsjj1_dengji = {
custom_effect_tooltip = YUW_gsjj1_tooltip
hidden_effect = {
if = {
limit = { has_idea = YUW_wddjj }
swap_ideas = {
remove_idea = YUW_wddjj
add_idea = YUW_jjqywd
}
}
else_if = {
limit = { has_idea = YUW_jjqywd }
swap_ideas = {
remove_idea = YUW_jjqywd
add_idea = YUW_jjhmhf
}
}
else_if = {
limit = { has_idea = YUW_jjhmhf }
swap_ideas = {
remove_idea = YUW_jjhmhf
add_idea = YUW_jjxt
}
}
else_if = {
limit = { has_idea = YUW_jjxt }
swap_ideas = {
remove_idea = YUW_jjxt
add_idea = YUW_jjbk
}
}
}
}
SAD_junfei_army = {
if = {
limit = { has_idea = SAD_junfei_navy2 }
swap_ideas = {
remove_idea = SAD_junfei_navy2
add_idea = SAD_junfei_navy1
}
}
else_if = {
limit = { has_idea = SAD_junfei_navy1 }
swap_ideas = {
remove_idea = SAD_junfei_navy1
add_idea = SAD_junfei_0
}
}
else_if = {
limit = { has_idea = SAD_junfei_0 }
swap_ideas = {
remove_idea = SAD_junfei_0
add_idea = SAD_junfei_army1
}
}
else_if = {
limit = { has_idea = SAD_junfei_army1 }
swap_ideas = {
remove_idea = SAD_junfei_army1
add_idea = SAD_junfei_army2
}
}
else_if = {
limit = { has_idea = SAD_junfei_army2 }
army_experience = 50
}
}
SAD_junfei_navy = {
if = {
limit = { has_idea = SAD_junfei_army2 }
swap_ideas = {
remove_idea = SAD_junfei_army2
add_idea = SAD_junfei_army1
}
}
else_if = {
limit = { has_idea = SAD_junfei_army1 }
swap_ideas = {
remove_idea = SAD_junfei_army1
add_idea = SAD_junfei_0
}
}
else_if = {
limit = { has_idea = SAD_junfei_0 }
swap_ideas = {
remove_idea = SAD_junfei_0
add_idea = SAD_junfei_navy1
}
}
else_if = {
limit = { has_idea = SAD_junfei_navy1 }
swap_ideas = {
remove_idea = SAD_junfei_navy1
add_idea = SAD_junfei_navy2
}
}
else_if = {
limit = { has_idea = SAD_junfei_navy2 }
navy_experience = 75
}
}
DH1_xinrenjingtidu_up_1 = {
custom_effect_tooltip = DH1_xinrenjingtidu_up_1_effect_tooltip
add_to_variable = {
DOH.xinrenjingtidu_value = 1
}
}
DH1_xinrenjingtidu_down_1 = {
custom_effect_tooltip = DH1_xinrenjingtidu_down_1_effect_tooltip
add_to_variable = {
DOH.xinrenjingtidu_value = -1
}
}
DH1_xinrenjingtidu_up_3 = {
custom_effect_tooltip = DH1_xinrenjingtidu_up_3_effect_tooltip
add_to_variable = {
DOH.xinrenjingtidu_value = 3
}
}
DH1_xinrenjingtidu_down_3 = {
custom_effect_tooltip = DH1_xinrenjingtidu_down_3_effect_tooltip
add_to_variable = {
DOH.xinrenjingtidu_value = -3
}
}
DH1_xinrenjingtidu_up_5 = {
custom_effect_tooltip = DH1_xinrenjingtidu_up_5_effect_tooltip
add_to_variable = {
DOH.xinrenjingtidu_value = 5
}
}
DH1_xinrenjingtidu_down_5 = {
custom_effect_tooltip = DH1_xinrenjingtidu_down_5_effect_tooltip
add_to_variable = {
DOH.xinrenjingtidu_value = -5
}
}
DH1_xinrenjingtidu_up_10 = {
custom_effect_tooltip = DH1_xinrenjingtidu_up_10_effect_tooltip
add_to_variable = {
DOH.xinrenjingtidu_value = 10
}
}
DH1_xinrenjingtidu_down_10 = {
custom_effect_tooltip = DH1_xinrenjingtidu_down_10_effect_tooltip
add_to_variable = {
DOH.xinrenjingtidu_value = -10
}
}
guojishengyu_up_1 = {
custom_effect_tooltip = guojishengyu_up_1_effect_tooltip
add_to_variable = {
guojishengyu_value = 1
}
}
guojishengyu_up_3 = {
custom_effect_tooltip = guojishengyu_up_3_effect_tooltip
add_to_variable = {
guojishengyu_value = 3
}
}
guojishengyu_up_5 = {
custom_effect_tooltip = guojishengyu_up_5_effect_tooltip
add_to_variable = {
guojishengyu_value = 5
}
}
guojishengyu_down_1 = {
custom_effect_tooltip = guojishengyu_down_1_effect_tooltip
subtract_from_variable = {
guojishengyu_value = 1
}
}
guojishengyu_down_3 = {
custom_effect_tooltip = guojishengyu_down_3_effect_tooltip
subtract_from_variable = {
guojishengyu_value = 3
}
}
guojishengyu_down_5 = {
custom_effect_tooltip = guojishengyu_down_5_effect_tooltip
subtract_from_variable = {
guojishengyu_value = 5
}
}
guojishengyu_down_10 = {
custom_effect_tooltip = guojishengyu_down_10_effect_tooltip
subtract_from_variable = {
guojishengyu_value = 10
}
}
guojishengyu_down_50 = {
custom_effect_tooltip = guojishengyu_down_50_effect_tooltip
subtract_from_variable = {
guojishengyu_value = 50
}
}
TY_lujunliluntupo = {
custom_effect_tooltip = TY_lujunliluntupo_effect_tooltip
set_country_flag = TY_army_liluntupo
}
TY_haijunliluntupo = {
custom_effect_tooltip = TY_haijunliluntupo_effect_tooltip
set_country_flag = TY_navy_liluntupo
}
TY_kongjunliluntupo = {
custom_effect_tooltip = TY_kongjunliluntupo_effect_tooltip
set_country_flag = TY_air_liluntupo
}
shaixuan_leader_seffect = {
clear_array = ROOT.az_leader_list_array
every_unit_leader = {
set_variable = { THIS.xiujia_leader_wuzi_cost = THIS.num_traits }
multiply_variable = { THIS.xiujia_leader_wuzi_cost = 200 }
}
if = {
limit = { has_country_flag = leader_shaixuan_lujunjiangling }
if = {
limit = {
NOT = {
OR = {
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
}
}
}
every_army_leader = {
limit = {
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_zhanlie }
every_army_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
has_trait = zhanlie_army
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_hangmu }
every_army_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
has_trait = hangmu_army
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_xunyang }
every_army_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
has_trait = xunyang_army
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_quzhu }
every_army_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
has_trait = quzhu_army
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_haijunjiangling }
if = {
limit = {
NOT = {
OR = {
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
}
}
}
every_navy_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_zhanlie }
every_navy_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
has_trait = zhanlie_navy
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_hangmu }
every_navy_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
has_trait = hangmu_navy
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_xunyang }
every_navy_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
has_trait = xunyang_navy
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_quzhu }
every_navy_leader = {
limit = {
has_trait = quzhu_navy
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_qianting }
every_navy_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
has_trait = qianting_navy
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
}
if = {
limit = {
AND = {
NOT = { has_country_flag = leader_shaixuan_lujunjiangling }
NOT = { has_country_flag = leader_shaixuan_haijunjiangling }
}
}
if = {
limit = { has_country_flag = leader_shaixuan_zhanlie }
every_unit_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
OR = {
has_trait = zhanlie_navy
has_trait = zhanlie_army
}
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_hangmu }
every_unit_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
OR = {
has_trait = hangmu_navy
has_trait = hangmu_army
}
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_xunyang }
every_unit_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
OR = {
has_trait = xunyang_navy
has_trait = xunyang_army
}
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_quzhu }
every_unit_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
OR = {
has_trait = quzhu_navy
has_trait = quzhu_army
}
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
if = {
limit = { has_country_flag = leader_shaixuan_qianting }
every_unit_leader = {
limit = {
NOT = { has_trait = trait_yujin }
NOT = { has_character_flag = zhaopinzhihuiguan }
OR = {
has_trait = qianting_navy
}
or = {
has_trait = zhanlie_army
has_trait = zhanlie_navy
has_trait = hangmu_army
has_trait = hangmu_navy
has_trait = xunyang_army
has_trait = xunyang_navy
has_trait = quzhu_army
has_trait = quzhu_navy
has_trait = qianting_navy
}
}
add_to_array = {
ROOT.az_leader_list_array = THIS
}
}
}
}
}

View File

@@ -0,0 +1,542 @@
SIR_zaogongchang_focus_effect = {
add_offsite_building = { type = dockyard level = 20 }
every_controlled_state = {
limit = {
OR = {
has_state_category = metropolis
has_state_category = megalopolis
}
}
add_extra_state_shared_building_slots = 5
add_building_construction = {
type = industrial_complex
level = 2
instant_build = yes
}
add_building_construction = {
type = arms_factory
level = 3
instant_build = yes
}
add_building_construction = {
type = infrastructure
level = 2
instant_build = yes
}
}
every_controlled_state = {
limit = {
OR = {
has_state_category = large_city
}
}
add_extra_state_shared_building_slots = 2
add_building_construction = {
type = industrial_complex
level = 1
instant_build = yes
}
add_building_construction = {
type = arms_factory
level = 1
instant_build = yes
}
add_building_construction = {
type = infrastructure
level = 1
instant_build = yes
}
}
every_controlled_state = {
limit = {
NOT = {
OR = {
has_state_category = large_city
has_state_category = metropolis
has_state_category = megalopolis
}
}
}
add_extra_state_shared_building_slots = 2
add_building_construction = {
type = infrastructure
level = 1
instant_build = yes
}
}
}
AZ_siren_reinforce_cd_setup = {
#此效果在开始游戏按钮点击后触发,用来设置不同塞壬刷兵决议的冷却时间。
#以下变量存储在国家域,开始游戏后也可以加减以改变不同阶段塞壬召唤不同种类支援的速率和数量
#siren_reinforce_1_cd 步兵/摩托化部队冷却时间
#siren_reinforce_2_cd 轻坦冷却时间
#siren_reinforce_3_cd 中坦冷却时间
#siren_reinforce_4_cd 重坦冷却时间
#siren_reinforce_5_cd 超重冷却时间
#siren_reinforce_1_factor 步兵/摩托化部队乘数
#siren_reinforce_2_factor 轻坦冷却乘数
#siren_reinforce_3_factor 中坦冷却乘数
#siren_reinforce_4_factor 重坦冷却乘数
#siren_reinforce_5_factor 超重冷却乘数
SIR = {
set_variable = { siren_reinforce_1_cd = 50 }
set_variable = { siren_reinforce_2_cd = 60 }
set_variable = { siren_reinforce_3_cd = 60 }
set_variable = { siren_reinforce_4_cd = 90 }
set_variable = { siren_reinforce_5_cd = 120 }
if = {
limit = {
has_global_flag = sirennandu1
}
set_variable = { siren_reinforce_1_factor = 7 }
set_variable = { siren_reinforce_2_factor = 7 }
set_variable = { siren_reinforce_3_factor = 6 }
set_variable = { siren_reinforce_4_factor = 12 }
set_variable = { siren_reinforce_5_factor = 10 }
}
else_if = {
limit = {
OR = {
has_global_flag = sirennandu2
has_global_flag = sirennandu3
}
}
set_variable = { siren_reinforce_1_factor = 10 }
set_variable = { siren_reinforce_2_factor = 10 }
set_variable = { siren_reinforce_3_factor = 8 }
set_variable = { siren_reinforce_4_factor = 15 }
set_variable = { siren_reinforce_5_factor = 10 }
}
else = {
set_variable = { siren_reinforce_1_factor = 5 }
set_variable = { siren_reinforce_2_factor = 5 }
set_variable = { siren_reinforce_3_factor = 4 }
set_variable = { siren_reinforce_4_factor = 7 }
set_variable = { siren_reinforce_5_factor = 10 }
}
}
SR1 = {
set_variable = { siren_reinforce_1_cd = 100 }
set_variable = { siren_reinforce_2_cd = 100 }
set_variable = { siren_reinforce_3_cd = 120 }
set_variable = { siren_reinforce_4_cd = 120 }
set_variable = { siren_reinforce_5_cd = 360 }
set_variable = { siren_reinforce_1_factor = 7 }
set_variable = { siren_reinforce_2_factor = 2 }
set_variable = { siren_reinforce_3_factor = 1 }
set_variable = { siren_reinforce_4_factor = 1 }
set_variable = { siren_reinforce_5_factor = 7 }
}
SR2 = {
set_variable = { siren_reinforce_1_cd = 80 }
set_variable = { siren_reinforce_2_cd = 80 }
set_variable = { siren_reinforce_3_cd = 100 }
set_variable = { siren_reinforce_4_cd = 100 }
set_variable = { siren_reinforce_5_cd = 360 }
set_variable = { siren_reinforce_1_factor = 7 }
set_variable = { siren_reinforce_2_factor = 6 }
set_variable = { siren_reinforce_3_factor = 5 }
set_variable = { siren_reinforce_4_factor = 5 }
set_variable = { siren_reinforce_5_factor = 7 }
}
SR3 = {
set_variable = { siren_reinforce_1_cd = 30 }
set_variable = { siren_reinforce_2_cd = 30 }
set_variable = { siren_reinforce_3_cd = 60 }
set_variable = { siren_reinforce_4_cd = 60 }
set_variable = { siren_reinforce_5_cd = 360 }
if = {
limit = {
OR = {
has_global_flag = sirennandu2
has_global_flag = sirennandu3
}
}
set_variable = { siren_reinforce_1_factor = 6 }
set_variable = { siren_reinforce_2_factor = 6 }
set_variable = { siren_reinforce_3_factor = 4 }
set_variable = { siren_reinforce_4_factor = 4 }
set_variable = { siren_reinforce_5_factor = 7 }
}
else = {
set_variable = { siren_reinforce_1_factor = 4 }
set_variable = { siren_reinforce_2_factor = 3 }
set_variable = { siren_reinforce_3_factor = 1 }
set_variable = { siren_reinforce_4_factor = 1 }
set_variable = { siren_reinforce_5_factor = 7 }
}
}
SR4 = {
set_variable = { siren_reinforce_1_cd = 100 }
set_variable = { siren_reinforce_2_cd = 100 }
set_variable = { siren_reinforce_3_cd = 120 }
set_variable = { siren_reinforce_4_cd = 120 }
set_variable = { siren_reinforce_5_cd = 360 }
set_variable = { siren_reinforce_1_factor = 7 }
set_variable = { siren_reinforce_2_factor = 1 }
set_variable = { siren_reinforce_3_factor = 1 }
set_variable = { siren_reinforce_4_factor = 1 }
set_variable = { siren_reinforce_5_factor = 7 }
}
}
AZ_siren_difficulty_setup = {
#另 起 炉 灶
#游戏刚开始不允许塞壬刷兵
if = {
limit = {
has_global_flag = sirennandu1
}
set_variable = { global.AZ_siren_difficulty = 1 }
every_country = {
limit = {
shisairen_trigger = yes
}
set_country_flag = { flag = siren_safe_time value = 1 days = 180 }
country_event = { id = AZ_siren.1 days = 1 }
}
}
else_if = {
limit = {
has_global_flag = sirennandu2
}
set_variable = { global.AZ_siren_difficulty = 2 }
every_country = {
limit = {
shisairen_trigger = yes
}
set_country_flag = { flag = siren_safe_time value = 1 days = 180 }
country_event = { id = AZ_siren.1 days = 1 }
}
}
else_if = {
limit = {
has_global_flag = sirennandu3
}
set_variable = { global.AZ_siren_difficulty = 3 }
every_country = {
limit = {
shisairen_trigger = yes
}
set_country_flag = { flag = siren_safe_time value = 1 days = 360 }
country_event = { id = AZ_siren.1 days = 1 }
}
}
else = {
set_variable = { global.AZ_siren_difficulty = 0 }
every_country = {
limit = {
OR = {
tag = SR1
tag = SR2
tag = SR3
tag = SR4
}
}
set_country_flag = { flag = siren_safe_time value = 1 days = 180 }
country_event = { id = AZ_siren.1 days = 1 }
}
}
}
SIR_reinforce_1_inf = {
set_temp_variable = { num_enemies = 0 }
for_each_loop = {
array = enemies
add_to_temp_variable = { num_enemies = 1 }
}
set_temp_variable = { loop_num = siren_reinforce_1_factor } #这是基础乘数
multiply_temp_variable = { loop_num = num_enemies } #参战国数*基础乘数=刷兵数量
if = {
limit = {
has_global_flag = sirennandu3
}
add_to_temp_variable = { loop_num = 15 } #对于孤勇者难度额外+15
}
for_loop_effect = {
end = loop_num
random_controlled_state = {
create_unit = {
division = "name = \"蛮啾步兵师\" division_template = \"塞壬步兵兵团\" start_experience_factor = 0.1 start_equipment_factor = 1"
owner = ROOT
}
}
}
}
SIR_reinforce_1_mot = {
set_temp_variable = { num_enemies = 0 }
for_each_loop = {
array = enemies
add_to_temp_variable = { num_enemies = 1 }
}
set_temp_variable = { loop_num = siren_reinforce_1_factor } #这是基础乘数
multiply_temp_variable = { loop_num = num_enemies } #参战国数*基础乘数=刷兵数量
if = {
limit = {
has_global_flag = sirennandu3
}
add_to_temp_variable = { loop_num = 10 } #对于孤勇者难度额外+10
}
for_loop_effect = {
end = loop_num
random_controlled_state = {
create_unit = {
division = "name = \"蛮啾机动师\" division_template = \"塞壬机动兵团\" start_experience_factor = 0 start_equipment_factor = 1"
owner = ROOT
}
}
}
}
SIR_reinforce_1_mec = {
set_temp_variable = { num_enemies = 0 }
for_each_loop = {
array = enemies
add_to_temp_variable = { num_enemies = 1 }
}
set_temp_variable = { loop_num = siren_reinforce_1_factor } #这是基础乘数
multiply_temp_variable = { loop_num = num_enemies } #参战国数*基础乘数=刷兵数量
if = {
limit = {
has_global_flag = sirennandu3
}
add_to_temp_variable = { loop_num = 10 } #对于孤勇者难度额外+10
}
for_loop_effect = {
end = loop_num
random_controlled_state = {
create_unit = {
division = "name = \"蛮啾掷弹兵\" division_template = \"塞壬机械化兵团\" start_experience_factor = 0 start_equipment_factor = 1"
owner = ROOT
}
}
}
}
SIR_reinforce_1_inf_big = {
set_temp_variable = { num_enemies = 0 }
for_each_loop = {
array = enemies
add_to_temp_variable = { num_enemies = 1 }
}
set_temp_variable = { loop_num = siren_reinforce_1_factor } #这是基础乘数
multiply_temp_variable = { loop_num = num_enemies } #参战国数*基础乘数=刷兵数量
if = {
limit = {
has_global_flag = sirennandu3
}
add_to_temp_variable = { loop_num = 15 } #对于孤勇者难度额外+15
}
for_loop_effect = {
end = loop_num
random_controlled_state = {
create_unit = {
division = "name = \"蛮啾步兵师\" division_template = \"塞壬大型步兵兵团\" start_experience_factor = 0.1 start_equipment_factor = 1"
owner = ROOT
}
}
}
}
SIR_reinforce_2_lt = {
set_temp_variable = { num_enemies = 0 }
for_each_loop = {
array = enemies
add_to_temp_variable = { num_enemies = 1 }
}
set_temp_variable = { loop_num = siren_reinforce_2_factor } #这是基础乘数
multiply_temp_variable = { loop_num = num_enemies } #参战国数*基础乘数=刷兵数量
if = {
limit = {
has_global_flag = sirennandu3
}
add_to_temp_variable = { loop_num = 5 } #对于孤勇者难度额外+10
}
for_loop_effect = {
end = loop_num
random_controlled_state = {
create_unit = {
division = "name = \"塞壬轻装甲兵团\" division_template = \"塞壬轻装甲兵团\" start_experience_factor = 0 start_equipment_factor = 1 force_equipment_variants = { light_tank_chassis_1 = { version_name = \"Siren LT-1\"} }"
owner = ROOT
}
}
}
#原数据 <2(10) 2-4(14) >4(22)
}
SIR_reinforce_3_mt = {
set_temp_variable = { num_enemies = 0 }
for_each_loop = {
array = enemies
add_to_temp_variable = { num_enemies = 1 }
}
set_temp_variable = { loop_num = siren_reinforce_3_factor } #这是基础乘数
multiply_temp_variable = { loop_num = num_enemies } #参战国数*基础乘数=刷兵数量
if = {
limit = {
has_global_flag = sirennandu3
}
add_to_temp_variable = { loop_num = 5 } #对于孤勇者难度额外+5
}
for_loop_effect = {
end = loop_num
random_controlled_state = {
create_unit = {
division = "name = \"塞壬中装甲兵团\" division_template = \"塞壬中装甲兵团\" start_experience_factor = 0 start_equipment_factor = 1"
owner = ROOT
}
}
}
}
SIR_reinforce_3_td = {
set_temp_variable = { num_enemies = 0 }
for_each_loop = {
array = enemies
add_to_temp_variable = { num_enemies = 1 }
}
set_temp_variable = { loop_num = siren_reinforce_3_factor } #这是基础乘数
multiply_temp_variable = { loop_num = num_enemies } #参战国数*基础乘数=刷兵数量
if = {
limit = {
has_global_flag = sirennandu3
}
add_to_temp_variable = { loop_num = 5 } #对于孤勇者难度额外+5
}
for_loop_effect = {
end = loop_num
random_controlled_state = {
create_unit = {
division = "name = \"塞壬反坦克兵团\" division_template = \"塞壬反坦克兵团\" start_experience_factor = 0 start_equipment_factor = 1"
owner = ROOT
}
}
}
}
SIR_reinforce_3_mt_late = {
set_temp_variable = { num_enemies = 0 }
for_each_loop = {
array = enemies
add_to_temp_variable = { num_enemies = 1 }
}
set_temp_variable = { loop_num = siren_reinforce_3_factor } #这是基础乘数
multiply_temp_variable = { loop_num = num_enemies } #参战国数*基础乘数=刷兵数量
if = {
limit = {
has_global_flag = sirennandu3
}
add_to_temp_variable = { loop_num = 5 } #对于孤勇者难度额外+5
}
for_loop_effect = {
end = loop_num
random_controlled_state = {
create_unit = {
division = "name = \"塞壬中装甲兵团\" division_template = \"塞壬中装甲兵团(后期)\" start_experience_factor = 0 start_equipment_factor = 1"
owner = ROOT
}
}
}
}
SIR_reinforce_4_ht = {
set_temp_variable = { num_enemies = 0 }
for_each_loop = {
array = enemies
add_to_temp_variable = { num_enemies = 1 }
}
set_temp_variable = { loop_num = siren_reinforce_4_factor } #这是基础乘数
multiply_temp_variable = { loop_num = num_enemies } #参战国数*基础乘数=刷兵数量
if = {
limit = {
has_global_flag = sirennandu3
}
add_to_temp_variable = { loop_num = 5 } #对于孤勇者难度额外+5
}
for_loop_effect = {
end = loop_num
random_controlled_state = {
create_unit = {
division = "name = \"塞壬精锐装甲兵团\" division_template = \"塞壬精锐装甲兵团\" start_experience_factor = 0 start_equipment_factor = 1"
owner = ROOT
}
}
}
}
SIR_reinforce_4_td = {
set_temp_variable = { num_enemies = 0 }
for_each_loop = {
array = enemies
add_to_temp_variable = { num_enemies = 1 }
}
set_temp_variable = { loop_num = siren_reinforce_4_factor } #这是基础乘数
multiply_temp_variable = { loop_num = num_enemies } #参战国数*基础乘数=刷兵数量
if = {
limit = {
has_global_flag = sirennandu3
}
add_to_temp_variable = { loop_num = 5 } #对于孤勇者难度额外+5
}
for_loop_effect = {
end = loop_num
random_controlled_state = {
create_unit = {
division = "name = \"塞壬重装甲兵团\" division_template = \"塞壬重装甲兵团\" start_experience_factor = 0 start_equipment_factor = 1"
owner = ROOT
}
}
}
}
SIR_reinforce_5_sht = {
set_temp_variable = { num_enemies = 0 }
for_each_loop = {
array = enemies
add_to_temp_variable = { num_enemies = 1 }
}
set_temp_variable = { loop_num = siren_reinforce_5_factor } #这是基础乘数
multiply_temp_variable = { loop_num = num_enemies } #参战国数*基础乘数=刷兵数量
if = {
limit = {
has_global_flag = sirennandu3
}
add_to_temp_variable = { loop_num = 5 } #对于孤勇者难度额外+5
}
for_loop_effect = {
end = loop_num
random_controlled_state = {
create_unit = {
division = "name = \"塞壬陆上要塞装甲兵团\" division_template = \"塞壬陆上要塞装甲兵团\" start_experience_factor = 0 start_equipment_factor = 1"
owner = ROOT
}
}
}
}