Files
azurlane-tj/src/common/decisions/keyan_decisions.txt
actions[bot] 25b987c614
Some checks are pending
sync / build (push) Waiting to run
2024-07-31 00:31:12
2024-07-31 00:31:12 +08:00

1322 lines
26 KiB
Plaintext
Executable File

keyan_category = {
yanfa_zhuli_xp = {
icon = hude
available = {
custom_trigger_tooltip = {
tooltip = ""
AND = {
has_army_experience > 150
has_navy_experience > 250
}
}
}
custom_cost_trigger = {
AND = {
has_army_experience > 150
has_navy_experience > 250
}
}
custom_cost_text = keyanxp_zhuli
visible = {
shijianniangguojia_trigger = yes
}
fire_only_once = yes
ai_will_do = {
factor = 0
}
complete_effect = {
hidden_effect = {
army_experience = -150
navy_experience = -250
}
}
remove_effect = {
hidden_effect = {
scoped_sound_effect = AZ_wancheng_sound
}
set_country_flag = yanfa_zhuli_xp_get
custom_effect_tooltip = yanfa_xp_effect_tooltip
}
}
yanfa_zhuli_wz = {
icon = hude
available = {
custom_trigger_tooltip = {
tooltip = ""
check_variable = {
var = wz_sl
value = 20000
compare = greater_than_or_equals
}
}
}
custom_cost_text = wz_shuliang_20000
custom_cost_trigger = {
check_variable = {
var = wz_sl
value = 20000
compare = greater_than_or_equals
}
}
fire_only_once = yes
visible = {
has_country_flag = yanfa_zhuli_xp_get
}
days_remove = 90
modifier = {
political_power_cost = 1
}
ai_will_do = {
factor = 5
}
complete_effect = {
add_to_variable = {
var = wz_sl
value = -20000
}
}
remove_effect = {
hidden_effect = {
scoped_sound_effect = AZ_wancheng_sound
}
set_country_flag = yanfa_zhuli_wz_get
custom_effect_tooltip = yanfa_wz_effect_tooltip
}
}
yanfa_xzmf = {
icon = xzmf
available = {
custom_trigger_tooltip = {
tooltip = ""
check_variable = {
var = xzmf_sl
value = 5
compare = greater_than_or_equals
}
}
}
custom_cost_text = mf_shuliang_5
custom_cost_trigger = {
check_variable = {
var = xzmf_sl
value = 5
compare = greater_than_or_equals
}
}
visible = {
has_country_flag = yanfa_zhuli_wz_get
}
days_remove = 10
fire_only_once = yes
ai_will_do = {
factor = 5
}
complete_effect = {
add_to_variable = {
var = xzmf_sl
value = -5
}
}
remove_effect = {
hidden_effect = {
scoped_sound_effect = AZ_wancheng_sound
}
set_country_flag = yanfa_xzmf_get
custom_effect_tooltip = yanfa_xzmf_effect_tooltip
}
}
zhuli_yanfa_completed = {
icon = hude
visible = {
has_country_flag = yanfa_xzmf_get
}
days_remove = 30
cost = 200
fire_only_once = yes
ai_will_do = {
factor = 10
}
remove_effect = {
set_technology = {
keyantech_daxingyinqing = 1
keyantech_sunguan = 1
keyantech_huokong = 1
ship_hull_super_heavy = 1
advanced_ship_hull_heavy = 1
improved_heavy_armor_scheme = 1
advanced_heavy_battery = 1
}
create_equipment_variant = {
name = "心智魔方试作型主力战列舰"
type = ship_hull_heavy_4
parent_version = 0
modules = {
fixed_ship_battery_slot = ship_heavy_battery_2
fixed_ship_anti_air_slot = ship_anti_air_2
fixed_ship_fire_control_system_slot = ship_fire_control_system_xzmf
fixed_ship_radar_slot = empty
fixed_ship_engine_slot = heavy_ship_engine_xzmf
fixed_ship_secondaries_slot = empty
fixed_ship_armor_slot = ship_armor_bb_3
front_1_custom_slot = empty
mid_1_custom_slot = empty
mid_2_custom_slot = empty
mid_3_custom_slot = empty
rear_1_custom_slot = empty
}
}
hidden_effect = {
add_equipment_production = {
equipment = {
type = ship_hull_heavy_4
creator = ROOT
version_name = "心智魔方试作型主力战列舰"
}
name = "心智魔方试作型主力战列舰"
requested_factories = 1
progress = 1
amount = 1
}
}
}
}
xianfeng_yanfa_completed = {
icon = chaijun
visible = {
has_country_flag = yanfa_xzmf_get
}
days_remove = 30
cost = 200
fire_only_once = yes
ai_will_do = {
factor = 10
}
remove_effect = {
set_technology = {
keyantech_zhongxingyinqing = 1
keyantech_huokong = 1
advanced_ship_hull_cruiser = 1
improved_sonar = 1
basic_dp_medium_battery = 1
advanced_medium_battery = 1
}
create_equipment_variant = {
name = "心智魔方试作型先锋巡洋舰"
type = ship_hull_cruiser_4
parent_version = 0
modules = {
fixed_ship_battery_slot = ship_medium_battery_2
fixed_ship_anti_air_slot = ship_anti_air_2
fixed_ship_fire_control_system_slot = ship_fire_control_system_xzmf
fixed_ship_radar_slot = empty
fixed_ship_engine_slot = cruiser_ship_engine_xzmf
fixed_ship_secondaries_slot = ship_secondaries_1
fixed_ship_armor_slot = ship_armor_cruiser_4
mid_1_custom_slot = empty
mid_2_custom_slot = empty
rear_1_custom_slot = empty
}
}
hidden_effect = {
add_equipment_production = {
equipment = {
type = ship_hull_cruiser_4
creator = ROOT
version_name = "心智魔方试作型先锋巡洋舰"
}
name = "心智魔方试作型先锋巡洋舰"
requested_factories = 1
progress = 1
amount = 1
}
}
}
}
chihou_yanfa_completed = {
icon = chaijun
visible = {
has_country_flag = yanfa_xzmf_get
}
days_remove = 30
cost = 200
fire_only_once = yes
ai_will_do = {
factor = 10
}
remove_effect = {
set_technology = {
keyantech_xiaoxingyinqing = 1
keyantech_jianyongyulei = 1
advanced_light_battery = 1
advanced_dp_light_battery = 1
advanced_ship_hull_light = 1
modern_depth_charges = 1
}
create_equipment_variant = {
name = "心智魔方试作型斥候驱逐舰"
type = ship_hull_light_4
parent_version = 0
modules = {
fixed_ship_battery_slot = ship_light_battery_1
fixed_ship_anti_air_slot = empty
fixed_ship_fire_control_system_slot = ship_fire_control_system_0
fixed_ship_radar_slot = empty
fixed_ship_engine_slot = light_ship_engine_xzmf
fixed_ship_torpedo_slot = ship_torpedo_xzmf
front_1_custom_slot = empty
mid_1_custom_slot = empty
mid_2_custom_slot = empty
rear_1_custom_slot = empty
}
}
hidden_effect = {
add_equipment_production = {
equipment = {
type = ship_hull_light_4
creator = ROOT
version_name = "心智魔方试作型斥候驱逐舰"
}
name = "心智魔方试作型斥候驱逐舰"
requested_factories = 1
progress = 1
amount = 1
}
}
}
}
cike_yanfa_completed = {
icon = chaijun
visible = {
has_country_flag = yanfa_xzmf_get
}
days_remove = 30
cost = 200
fire_only_once = yes
ai_will_do = {
factor = 10
}
remove_effect = {
set_technology = {
keyantech_qiantingyinqing = 1
keyantech_qiantingyulei = 1
advanced_ship_hull_submarine = 1
improved_submarine_snorkel = 1
modern_ship_torpedo_launcher = 1
}
create_equipment_variant = {
name = "心智魔方试作型刺客潜艇"
type = ship_hull_submarine_4
parent_version = 0
modules = {
fixed_ship_torpedo_slot = ship_torpedo_sub_xzmf
fixed_ship_engine_slot = sub_ship_engine_xzmf
front_1_custom_slot = empty
mid_1_custom_slot = empty
rear_1_custom_slot = empty
}
}
hidden_effect = {
add_equipment_production = {
equipment = {
type = ship_hull_submarine_4
creator = ROOT
version_name = "心智魔方试作型刺客潜艇"
}
name = "心智魔方试作型刺客潜艇"
requested_factories = 1
progress = 1
amount = 1
}
}
}
}
hangmu_yanfa_completed = {
icon = chaijun
visible = {
has_country_flag = yanfa_xzmf_get
}
days_remove = 30
cost = 200
fire_only_once = yes
ai_will_do = {
factor = 10
}
remove_effect = {
set_technology = {
keyantech_hangmuyinqing = 1
keyantech_jiku = 1
advanced_ship_hull_carrier = 1
}
create_equipment_variant = {
name = "心智魔方试作型航空母舰"
type = ship_hull_carrier_3
parent_version = 0
modules = {
fixed_ship_deck_slot_1 = ship_deck_space_xzmf
fixed_ship_deck_slot_2 = empty
fixed_ship_anti_air_slot = ship_anti_air_2
fixed_ship_radar_slot = empty
fixed_ship_engine_slot = carrier_ship_engine_xzmf
fixed_ship_secondaries_slot = ship_secondaries_1
front_1_custom_slot = empty
}
}
hidden_effect = {
add_equipment_production = {
equipment = {
type = ship_hull_carrier_3
creator = ROOT
version_name = "心智魔方试作型航空母舰"
}
name = "心智魔方试作型航空母舰"
requested_factories = 1
progress = 1
amount = 1
}
}
}
}
##############################################################################################################################
DOH_daodantech = {
icon = jian
visible = {
tag = DOH
}
available = {
if = {
limit = {
is_ai = no
}
OR = {
custom_trigger_tooltip = {
tooltip = DOH_daodantech_trigger_tt
has_country_flag = shikongchuansuo_get
}
has_tech = advanced_rocket_engines
}
}
}
fire_only_once = yes
days_remove = 30
cost = 150
remove_effect = {
set_technology = {
keyantech_daodan = 1
}
set_global_flag = DOH_faxiandaodan_get
}
ai_will_do = {
base = 0
modifier = {
date > 1937.6.1
add = 500
}
}
}
buy_daodantech = {
icon = jian
visible = {
NOT = {
tag = DOH
}
is_ai = no
NOT = {
has_tech = keyantech_daodan
}
has_global_flag = DOH_faxiandaodan_get
}
available = {
NOT = {
has_tech = keyantech_daodan
}
custom_trigger_tooltip = {
tooltip = ""
check_variable = {
var = wz_sl
value = 25000
compare = greater_than_or_equals
}
}
}
custom_cost_text = wz_shuliang_25000
custom_cost_trigger = {
check_variable = {
var = wz_sl
value = 25000
compare = greater_than_or_equals
}
}
days_remove = 2
cost = 300
complete_effect = {
add_to_variable = {
wz_sl = -25000
}
}
remove_effect = {
set_technology = {
keyantech_daodan = 1
}
if = {
limit = {
country_exists = DOH
}
DOH = {
country_event = junhuo.19
}
}
}
}
steal_daodantech = {
icon = jian
visible = {
NOT = {
tag = DOH
}
is_ai = no
NOT = {
has_tech = keyantech_daodan
}
has_global_flag = DOH_faxiandaodan_get
}
available = {
NOT = {
has_tech = keyantech_daodan
}
}
days_remove = 7
cost = 300
remove_effect = {
random_list = {
1 = {
set_technology = {
keyantech_daodan = 1
}
navy_experience = 10
hidden_effect = {
scoped_sound_effect = AZ_wancheng_sound
}
}
9 = {
navy_experience = 1
hidden_effect = {
scoped_sound_effect = AZ_shibai_sound
}
}
}
}
}
BYG_donglizhuangjiatech = {
icon = jian
visible = {
tag = BYG
}
available = {
if = {
limit = {
is_ai = no
}
OR = {
AND = {
has_tech = armor_tech_3
has_tech = nuclear_reactor
}
custom_trigger_tooltip = {
tooltip = DOH_daodantech_trigger_tt
has_country_flag = shikongchuansuo_get
}
}
}
}
fire_only_once = yes
days_remove = 30
cost = 300
remove_effect = {
set_technology = {
keyantech_donglizhuangjia = 1
}
set_global_flag = BYG_donglizhuangjiatech_get
}
ai_will_do = {
base = 0
modifier = {
date > 1937.6.1
add = 500
}
}
}
buy_donglizhuangjiatech = {
icon = jian
visible = {
NOT = {
tag = BYG
}
is_ai = no
NOT = {
has_tech = keyantech_donglizhuangjia
}
has_global_flag = BYG_donglizhuangjiatech_get
}
available = {
NOT = {
has_tech = keyantech_donglizhuangjia
}
custom_trigger_tooltip = {
tooltip = ""
check_variable = {
var = wz_sl
value = 25000
compare = greater_than_or_equals
}
}
}
custom_cost_text = wz_shuliang_25000
custom_cost_trigger = {
check_variable = {
var = wz_sl
value = 25000
compare = greater_than_or_equals
}
}
days_remove = 2
cost = 300
complete_effect = {
add_to_variable = {
wz_sl = -25000
}
}
remove_effect = {
set_technology = {
keyantech_donglizhuangjia = 1
}
}
}
steal_donglizhuangjiatech = {
icon = jian
visible = {
NOT = {
tag = BYG
}
is_ai = no
NOT = {
has_tech = keyantech_donglizhuangjia
}
has_global_flag = BYG_donglizhuangjiatech_get
}
available = {
NOT = {
has_tech = keyantech_donglizhuangjia
}
}
days_remove = 7
cost = 300
remove_effect = {
random_list = {
1 = {
set_technology = {
keyantech_donglizhuangjia = 1
}
army_experience = 10
hidden_effect = {
scoped_sound_effect = AZ_wancheng_sound
}
}
9 = {
army_experience = 1
hidden_effect = {
scoped_sound_effect = AZ_shibai_sound
}
}
}
}
}
YUW_jupaotech = {
icon = jian
visible = {
tag = YUW
}
available = {
if = {
limit = {
is_ai = no
}
OR = {
AND = {
has_tech = artillery3
has_tech = antitank2
}
custom_trigger_tooltip = {
tooltip = DOH_daodantech_trigger_tt
has_country_flag = shikongchuansuo_get
}
}
}
}
fire_only_once = yes
days_remove = 30
cost = 200
remove_effect = {
set_technology = {
keyantech_jupao = 1
}
set_global_flag = YUW_jupaotech_get
}
ai_will_do = {
base = 0
modifier = {
date > 1937.6.1
add = 500
}
}
}
buy_jupaotech = {
icon = jian
visible = {
NOT = {
tag = YUW
}
is_ai = no
NOT = {
has_tech = keyantech_jupao
}
has_global_flag = YUW_jupaotech_get
}
available = {
NOT = {
has_tech = keyantech_jupao
}
custom_trigger_tooltip = {
tooltip = ""
check_variable = {
var = wz_sl
value = 25000
compare = greater_than_or_equals
}
}
}
custom_cost_text = wz_shuliang_25000
custom_cost_trigger = {
check_variable = {
var = wz_sl
value = 25000
compare = greater_than_or_equals
}
}
days_remove = 2
cost = 300
complete_effect = {
add_to_variable = {
wz_sl = -25000
}
}
remove_effect = {
set_technology = {
keyantech_jupao = 1
}
}
}
steal_jupaotech = {
icon = jian
visible = {
NOT = {
tag = YUW
}
is_ai = no
NOT = {
has_tech = keyantech_jupao
}
has_global_flag = YUW_jupaotech_get
}
available = {
NOT = {
has_tech = keyantech_jupao
}
}
days_remove = 7
cost = 300
remove_effect = {
random_list = {
1 = {
set_technology = {
keyantech_jupao = 1
}
army_experience = 10
hidden_effect = {
scoped_sound_effect = AZ_wancheng_sound
}
}
9 = {
army_experience = 1
hidden_effect = {
scoped_sound_effect = AZ_shibai_sound
}
}
}
}
}
CHY_hangmutech = {
icon = jian
visible = {
tag = CHY
}
available = {
if = {
limit = {
is_ai = no
}
OR = {
AND = {
has_tech = ship_hull_super_heavy
}
custom_trigger_tooltip = {
tooltip = DOH_daodantech_trigger_tt
has_country_flag = shikongchuansuo_get
}
}
}
}
fire_only_once = yes
days_remove = 30
cost = 200
remove_effect = {
set_technology = {
keyantech_juxinghangmu = 1
}
set_global_flag = CHY_hangmutech_get
}
ai_will_do = {
base = 0
modifier = {
date > 1937.6.1
add = 500
}
}
}
buy_hangmutech = {
icon = jian
visible = {
NOT = {
tag = CHY
}
is_ai = no
NOT = {
has_tech = keyantech_juxinghangmu
}
has_global_flag = CHY_hangmutech_get
}
available = {
NOT = {
has_tech = keyantech_juxinghangmu
}
custom_trigger_tooltip = {
tooltip = ""
check_variable = {
var = wz_sl
value = 25000
compare = greater_than_or_equals
}
}
}
custom_cost_text = wz_shuliang_25000
custom_cost_trigger = {
check_variable = {
var = wz_sl
value = 25000
compare = greater_than_or_equals
}
}
days_remove = 2
cost = 300
complete_effect = {
add_to_variable = {
wz_sl = -25000
}
}
remove_effect = {
set_technology = {
keyantech_juxinghangmu = 1
}
}
}
steal_hangmutech = {
icon = jian
visible = {
NOT = {
tag = CHY
}
is_ai = no
NOT = {
has_tech = keyantech_juxinghangmu
}
has_global_flag = CHY_hangmutech_get
}
available = {
NOT = {
has_tech = keyantech_juxinghangmu
}
}
days_remove = 7
cost = 300
remove_effect = {
random_list = {
1 = {
set_technology = {
keyantech_juxinghangmu = 1
}
army_experience = 10
hidden_effect = {
scoped_sound_effect = AZ_wancheng_sound
}
}
9 = {
army_experience = 1
hidden_effect = {
scoped_sound_effect = AZ_shibai_sound
}
}
}
}
}
BFL_hangtiankeji = {
icon = jian
visible = {
tag = BFL
}
available = {
if = {
limit = {
is_ai = no
}
OR = {
AND = {
has_tech = nuclear_reactor
}
custom_trigger_tooltip = {
tooltip = DOH_daodantech_trigger_tt
has_country_flag = shikongchuansuo_get
}
}
}
}
fire_only_once = yes
days_remove = 30
cost = 200
remove_effect = {
set_technology = {
keyantech_feitingtoudanqi = 1
}
set_technology = {
keyantech_hedonglifeijiyinqing = 1
}
set_global_flag = BFL_hangtiankeji_get
}
ai_will_do = {
base = 0
modifier = {
date > 1937.6.1
add = 500
}
}
}
buy_hangtiankeji = {
icon = jian
visible = {
NOT = {
tag = BFL
}
is_ai = no
NOT = {
has_tech = keyantech_feitingtoudanqi
}
has_global_flag = BFL_hangtiankeji
}
available = {
NOT = {
has_tech = keyantech_feitingtoudanqi
}
custom_trigger_tooltip = {
tooltip = ""
check_variable = {
var = wz_sl
value = 25000
compare = greater_than_or_equals
}
}
}
custom_cost_text = wz_shuliang_25000
custom_cost_trigger = {
check_variable = {
var = wz_sl
value = 25000
compare = greater_than_or_equals
}
}
days_remove = 2
cost = 300
complete_effect = {
add_to_variable = {
wz_sl = -25000
}
}
remove_effect = {
set_technology = {
keyantech_feitingtoudanqi = 1
}
set_technology = {
keyantech_hedonglifeijiyinqing = 1
}
}
}
steal_hangtiankeji = {
icon = jian
visible = {
NOT = {
tag = BFL
}
is_ai = no
NOT = {
has_tech = keyantech_feitingtoudanqi
}
has_global_flag = BFL_hangtiankeji
}
available = {
NOT = {
has_tech = keyantech_feitingtoudanqi
}
}
days_remove = 7
cost = 300
remove_effect = {
random_list = {
1 = {
set_technology = {
keyantech_feitingtoudanqi = 1
}
set_technology = {
keyantech_hedonglifeijiyinqing = 1
}
army_experience = 10
hidden_effect = {
scoped_sound_effect = AZ_wancheng_sound
}
}
9 = {
army_experience = 1
hidden_effect = {
scoped_sound_effect = AZ_shibai_sound
}
}
}
}
}
keyanxiezhu_quzhu_1 = {
icon = chaijun
available = {
NOT = {
has_tech = shipgirltech_quzhupao_1
}
custom_trigger_tooltip = {
tooltip = keyanxiezhu_quzhu_1_cost_trigger_tt
check_variable = {
wz_sl > 9999
}
}
if = {
limit = {
has_government = communism
}
has_idea = BFL_zuozhanshiyanshi
}
if = {
limit = {
has_government = democratic
}
has_idea = BYG_zuozhanshiyanshi
}
if = {
limit = {
has_government = neutrality
}
has_idea = DOH_zuozhanshiyanshi
}
if = {
limit = {
has_government = fascism
}
has_idea = TIX_zuozhanshiyanshi
}
if = {
limit = {
has_government = siren
}
has_idea = SIR_zuozhanshiyanshi
}
}
fire_only_once = yes
days_remove = 30
cost = 80
complete_effect = {
add_to_variable = {
wz_sl = -10000
}
}
remove_effect = {
set_technology = {
shipgirltech_quzhupao_1 = 1
}
}
ai_will_do = {
base = 0
modifier = {
date > 1937.6.1
add = 500
}
}
}
keyanxiezhu_xunyang_1 = {
icon = chaijun
available = {
NOT = {
has_tech = shipgirltech_xunyangpao_1
}
custom_trigger_tooltip = {
tooltip = keyanxiezhu_quzhu_1_cost_trigger_tt
check_variable = {
wz_sl > 9999
}
}
if = {
limit = {
has_government = communism
}
has_idea = BFL_zuozhanshiyanshi
}
if = {
limit = {
has_government = democratic
}
has_idea = BYG_zuozhanshiyanshi
}
if = {
limit = {
has_government = neutrality
}
has_idea = DOH_zuozhanshiyanshi
}
if = {
limit = {
has_government = fascism
}
has_idea = TIX_zuozhanshiyanshi
}
if = {
limit = {
has_government = siren
}
has_idea = SIR_zuozhanshiyanshi
}
}
fire_only_once = yes
days_remove = 30
cost = 100
complete_effect = {
add_to_variable = {
wz_sl = -10000
}
}
remove_effect = {
set_technology = {
shipgirltech_xunyangpao_1 = 1
}
}
ai_will_do = {
base = 0
modifier = {
date > 1937.6.1
add = 500
}
}
}
keyanxiezhu_zhanlie_1 = {
icon = chaijun
available = {
NOT = {
has_tech = shipgirltech_zhanliepao_1
}
custom_trigger_tooltip = {
tooltip = keyanxiezhu_quzhu_1_cost_trigger_tt
check_variable = {
wz_sl > 9999
}
}
if = {
limit = {
has_government = communism
}
has_idea = BFL_zuozhanshiyanshi
}
if = {
limit = {
has_government = democratic
}
has_idea = BYG_zuozhanshiyanshi
}
if = {
limit = {
has_government = neutrality
}
has_idea = DOH_zuozhanshiyanshi
}
if = {
limit = {
has_government = fascism
}
has_idea = TIX_zuozhanshiyanshi
}
if = {
limit = {
has_government = siren
}
has_idea = SIR_zuozhanshiyanshi
}
}
fire_only_once = yes
days_remove = 30
cost = 150
complete_effect = {
add_to_variable = {
wz_sl = -10000
}
}
remove_effect = {
set_technology = {
shipgirltech_zhanliepao_1 = 1
}
}
ai_will_do = {
base = 0
modifier = {
date > 1937.6.1
add = 500
}
}
}
keyanxiezhu_zujiekeyanxiaozu_1 = {
icon = manjiu
available = {
NOT = {
has_country_flag = keyanxiezhu_zujiekeyanxiaozu_2_get
}
custom_trigger_tooltip = {
tooltip = keyanxiezhu_zujiekeyanxiaozu_1_cost_trigger_tt
check_variable = {
wz_sl > 11999
}
}
if = {
limit = {
has_government = communism
}
has_idea = BFL_zuozhanshiyanshi
}
if = {
limit = {
has_government = democratic
}
has_idea = BYG_zuozhanshiyanshi
}
if = {
limit = {
has_government = neutrality
}
has_idea = DOH_zuozhanshiyanshi
}
if = {
limit = {
has_government = fascism
}
has_idea = TIX_zuozhanshiyanshi
}
if = {
limit = {
has_government = siren
}
has_idea = SIR_zuozhanshiyanshi
}
}
days_remove = 180
complete_effect = {
add_to_variable = {
wz_sl = -12000
}
add_research_slot = 1
set_country_flag = keyanxiezhu_zujiekeyanxiaozu_1_doing
}
remove_effect = {
add_research_slot = -1
clr_country_flag = keyanxiezhu_zujiekeyanxiaozu_1_doing
}
ai_will_do = {
base = 0
}
}
keyanxiezhu_zujiekeyanxiaozu_2 = {
icon = manjiu
visible = {
has_country_flag = keyanxiezhu_zujiekeyanxiaozu_1_doing
}
available = {
custom_trigger_tooltip = {
tooltip = keyanxiezhu_maishenqi_cost_trigger_tt
check_variable = {
zs_sl > 887
}
}
if = {
limit = {
has_government = communism
}
has_idea = BFL_zuozhanshiyanshi
}
if = {
limit = {
has_government = democratic
}
has_idea = BYG_zuozhanshiyanshi
}
if = {
limit = {
has_government = neutrality
}
has_idea = DOH_zuozhanshiyanshi
}
if = {
limit = {
has_government = fascism
}
has_idea = TIX_zuozhanshiyanshi
}
if = {
limit = {
has_government = siren
}
has_idea = SIR_zuozhanshiyanshi
}
}
fire_only_once = yes
complete_effect = {
add_research_slot = 1
custom_effect_tooltip = keyanxiezhu_zujiekeyanxiaozu_2_tt
hidden_effect = {
add_to_variable = {
zs_sl = -888
}
set_country_flag = keyanxiezhu_zujiekeyanxiaozu_2_get
}
}
ai_will_do = {
base = 0
}
}
}