#Rework Author(s): TheGeneral CHI_sco_category = { # Tier 1: Apply as Dialogue Partner CHI_sco_apply_as_dialogue_partner = { allowed = { NOT = { OR = { original_tag = CHI original_tag = SOV } } } icon = GFX_decision_sco_watch_button visible = { CHI = { has_completed_focus = CHI_Form_the_SCO } NOT = { CHI_sco_is_any = yes } } available = { CHI_sco_can_apply_to_join = yes custom_trigger_tooltip = { tooltip = CHI_sco_cohesion_gt_2_tt CHI = { check_variable = { CHI_sco_cohesion > 2 } } } NOT = { has_war_with = CHI } has_opinion = { target = CHI value > -25 } } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_sco_apply_as_dialogue_partner executed" CHI_sco_add_dialogue_partner = yes } ai_will_do = { base = 0 modifier = { add = 2 has_government = communism CHI = { has_government = communism } } modifier = { add = 1 CHI = { check_variable = { CHI_chinese_aggression < -9 } } } modifier = { factor = 0 has_war = yes } modifier = { factor = 0 has_opinion = { target = CHI value < -50 } } } } # Tier 2: Upgrade from Dialogue Partner to Observer CHI_sco_upgrade_to_observer = { allowed = { NOT = { OR = { original_tag = CHI original_tag = SOV } } } icon = GFX_decision_sco_watch_button visible = { CHI_sco_is_dialogue_partner = yes } available = { CHI_sco_is_dialogue_partner = yes custom_trigger_tooltip = { tooltip = CHI_sco_cohesion_gt_3_tt CHI = { check_variable = { CHI_sco_cohesion > 3 } } } has_opinion = { target = CHI value > 0 } NOT = { has_war_with = CHI } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_sco_upgrade_to_observer executed" CHI = { country_event = CHI_sco.1 } } days_remove = 90 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_sco_upgrade_to_observer" if = { limit = { NOT = { has_country_flag = CHI_sco_observer_status_rejected } } CHI_sco_promote_to_observer = yes } clr_country_flag = CHI_sco_observer_status_rejected } ai_will_do = { base = 0 modifier = { add = 2 has_government = communism CHI = { has_government = communism } } modifier = { add = 1 CHI = { check_variable = { CHI_chinese_aggression < -9 } } } modifier = { factor = 0 has_war = yes } } } # Tier 3: Upgrade from Observer to Full Member CHI_sco_upgrade_to_member = { allowed = { NOT = { OR = { original_tag = CHI original_tag = SOV } } } icon = GFX_decision_sco_watch_button visible = { CHI_sco_is_observer = yes } available = { CHI_sco_is_observer = yes custom_trigger_tooltip = { tooltip = CHI_sco_cohesion_gt_4_tt CHI = { check_variable = { CHI_sco_cohesion > 4 } } } has_opinion = { target = CHI value > 25 } NOT = { has_war_with = CHI } } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_sco_upgrade_to_member executed" CHI = { country_event = CHI_sco.2 } } days_remove = 90 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_sco_upgrade_to_member" if = { limit = { NOT = { has_country_flag = CHI_sco_membership_rejected } } CHI_sco_promote_to_member = yes country_event = CHI_sco.7 } clr_country_flag = CHI_sco_membership_rejected } ai_will_do = { base = 0 modifier = { add = 2 has_government = communism CHI = { has_government = communism } } modifier = { add = 1 CHI = { check_variable = { CHI_chinese_aggression < -19 } } } modifier = { factor = 0 has_war = yes } } } provide_development_assistance = { allowed = { OR = { original_tag = CHI original_tag = SOV } } icon = GFX_decision_sco_develp_button target_root_trigger = { is_sco = yes } available = { FROM = { NOT = { has_idea = SCO_development_assistance } NOT = { has_idea = SCO_development_assistance_2 } has_war = no } } target_array = global.sco_members target_trigger = { country_exists = FROM FROM = { is_sco = yes NOT = { OR = { original_tag = CHI original_tag = SOV } } } if = { limit = { ROOT = { original_tag = CHI has_completed_focus = CHI_Development_Assistance } } FROM = { check_variable = { gdp_per_capita < ROOT.gdp_per_capita } } } else = { ic_ratio = { tag = FROM ratio > 2 } } } custom_cost_trigger = { check_variable = { treasury > 1.4 } } custom_cost_text = cost_1_5 days_remove = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision provide_development_assistance" if = { limit = { original_tag = CHI has_completed_focus = CHI_Development_Assistance } FROM = { add_timed_idea = { idea = SCO_development_assistance_2 days = 90 } country_event = CHI_sco.11 } } else = { FROM = { add_timed_idea = { idea = SCO_development_assistance days = 90 } country_event = CHI_sco.11 } } newline = yes set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision provide_development_assistance" if = { limit = { original_tag = CHI has_completed_focus = CHI_Development_Assistance } set_temp_variable = { percent_change = 2.25 } } else = { set_temp_variable = { percent_change = 1.5 } } set_temp_variable = { tag_index = ROOT.id } set_temp_variable = { influence_target = FROM.id } change_influence_percentage = yes } days_re_enable = 365 ai_will_do = { base = 1 } } ### SCO Bilateral Decisions ### sco_bilateral_trade_agreement = { icon = GFX_decision_sco_develp_button target_root_trigger = { is_sco = yes } available = { NOT = { has_war = yes } FROM = { NOT = { has_war = yes } } } custom_cost_trigger = { check_variable = { treasury > 0.5 } } custom_cost_text = cost_0_5 target_array = global.sco_members target_trigger = { country_exists = FROM FROM = { is_sco = yes NOT = { tag = ROOT } } } cost = 50 days_re_enable = 730 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_bilateral_trade_agreement with [From.GetName]" FROM = { add_timed_idea = { idea = SCO_trade_agreement_bonus days = 365 } } add_timed_idea = { idea = SCO_trade_agreement_bonus days = 365 } set_temp_variable = { sco_cohesion_amount = 0.1 } CHI_sco_bilateral_complete = yes newline = yes set_temp_variable = { treasury_change = -0.5 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_war = yes } } } sco_bilateral_border_patrol = { icon = GFX_decision_sco_exersises_button target_root_trigger = { is_sco = yes } available = { NOT = { has_war = yes } FROM = { NOT = { has_war = yes } } command_power > 20 } target_array = global.sco_members target_trigger = { country_exists = FROM FROM = { is_sco = yes NOT = { tag = ROOT } } any_neighbor_country = { tag = FROM } } cost = 25 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_bilateral_border_patrol with [From.GetName]" add_command_power = -20 add_stability = 0.01 FROM = { add_stability = 0.01 } set_temp_variable = { sco_cohesion_amount = 0.2 } CHI_sco_bilateral_complete = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_war = yes } } } sco_bilateral_cultural_exchange = { icon = GFX_decision_sco_develp_button target_root_trigger = { is_sco = yes } available = { NOT = { has_war = yes } } target_array = global.sco_members target_trigger = { country_exists = FROM FROM = { is_sco = yes NOT = { tag = ROOT } } } cost = 30 days_re_enable = 1095 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_bilateral_cultural_exchange with [From.GetName]" FROM = { add_timed_idea = { idea = SCO_cultural_exchange_bonus days = 180 } } add_timed_idea = { idea = SCO_cultural_exchange_bonus days = 180 } set_temp_variable = { sco_cohesion_amount = 0.1 } CHI_sco_bilateral_complete = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_war = yes } } } sco_bilateral_intel_sharing = { icon = GFX_decision_sco_exersises_button target_root_trigger = { is_sco = yes CHI = { has_completed_focus = CHI_Counter_Terrorism_Cooperation } } available = { NOT = { has_war = yes } FROM = { NOT = { has_war = yes } } } target_array = global.sco_members target_trigger = { country_exists = FROM FROM = { is_sco = yes NOT = { tag = ROOT } } } cost = 40 days_re_enable = 730 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_bilateral_intel_sharing with [From.GetName]" FROM = { add_timed_idea = { idea = SCO_intel_sharing_bonus days = 365 } } add_timed_idea = { idea = SCO_intel_sharing_bonus days = 365 } set_temp_variable = { sco_cohesion_amount = 0.2 } CHI_sco_bilateral_complete = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_war = yes } } } sco_bilateral_energy_deal = { icon = GFX_decision_sco_develp_button target_root_trigger = { is_sco = yes } available = { NOT = { has_war = yes } FROM = { NOT = { has_war = yes } } } custom_cost_trigger = { check_variable = { treasury > 1.0 } } custom_cost_text = cost_1_0 target_array = global.sco_members target_trigger = { country_exists = FROM FROM = { is_sco = yes NOT = { tag = ROOT } } } cost = 75 days_re_enable = 730 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_bilateral_energy_deal with [From.GetName]" FROM = { add_timed_idea = { idea = SCO_energy_deal_income days = 365 } } add_stability = 0.01 FROM = { add_stability = 0.01 } set_temp_variable = { sco_cohesion_amount = 0.3 } CHI_sco_bilateral_complete = yes newline = yes set_temp_variable = { treasury_change = -1.0 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 has_war = yes } modifier = { factor = 0 check_variable = { treasury < 2.0 } } } } ### Three Evils — Counter-Terror & Anti-Separatism ### CHI_sco_anti_terror_crackdown = { icon = GFX_decision_sco_exersises_button visible = { is_sco = yes CHI = { has_completed_focus = CHI_Crack_Down_on_the_Three_Evils } } available = { NOT = { has_war = yes } has_stability > 0.25 } cost = 50 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_sco_anti_terror_crackdown" add_stability = -0.02 add_to_variable = { ct_defense_total = 2 tooltip = ct_defense_total_tt } add_timed_idea = { idea = CHI_anti_terror_crackdown_idea days = 365 } } ai_will_do = { base = 1 modifier = { factor = 0 has_stability < 0.4 } modifier = { factor = 0 has_war = yes } } } CHI_crack_down_xinjiang_separatism = { icon = GFX_decision_sco_exersises_button allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_Crack_Down_on_the_Three_Evils 592 = { is_owned_by = CHI } } available = { NOT = { has_war = yes } 592 = { is_controlled_by = CHI } command_power > 15 } cost = 40 days_re_enable = 730 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_crack_down_xinjiang_separatism" add_command_power = -15 add_to_variable = { CHI_ETK_required_garrison_factor = -0.02 tooltip = required_garrison_factor_tt } 592 = { add_compliance = 3 add_resistance = -2 } add_timed_idea = { idea = CHI_xinjiang_crackdown_idea days = 365 } } ai_will_do = { base = 1 modifier = { factor = 0 has_war = yes } } } CHI_crack_down_tibet_separatism = { icon = GFX_decision_sco_exersises_button allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_Crack_Down_on_the_Three_Evils 589 = { is_owned_by = CHI } } available = { NOT = { has_war = yes } 589 = { is_controlled_by = CHI } command_power > 15 } cost = 40 days_re_enable = 730 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_crack_down_tibet_separatism" add_command_power = -15 add_to_variable = { CHI_TIB_state_productivity_growth_modifier = 0.02 tooltip = state_productivity_growth_modifier_tt } 589 = { add_compliance = 3 add_resistance = -2 } add_timed_idea = { idea = CHI_tibet_crackdown_idea days = 365 } } ai_will_do = { base = 1 modifier = { factor = 0 has_war = yes } } } ### SCO Mega-Projects ### sco_megaproject_energy_grid_propose = { icon = GFX_decision_sco_watch_button visible = { is_sco = yes CHI = { has_completed_focus = CHI_Civilian_Technology_Sharing } custom_trigger_tooltip = { tooltip = CHI_sco_megaproject_energy_grid_inactive_tt NOT = { check_variable = { var = global.sco_megaproject_energy_grid_active value = 0 compare = greater_than } } } NOT = { has_global_flag = sco_megaproject_energy_grid_completed } } available = { NOT = { has_war_with = CHI } } custom_cost_trigger = { check_variable = { treasury > 2.0 } } custom_cost_text = cost_2_0 cost = 100 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_megaproject_energy_grid_propose" set_country_flag = sco_megaproject_energy_grid_initiator if = { limit = { CHI = { check_variable = { CHI_sco_balance > 5 } } } set_variable = { global.sco_megaproject_energy_grid_active = 1 } set_country_flag = { flag = sco_megaproject_energy_grid_window value = 1 days = 180 } CHI = { country_event = { id = CHI_sco.42 days = 180 } } } else_if = { limit = { CHI = { check_variable = { CHI_sco_balance < -5 } } } SOV = { country_event = { id = CHI_sco.30 days = 3 } } } else = { CHI = { country_event = { id = CHI_sco.30 days = 3 } } } newline = yes set_temp_variable = { treasury_change = -2.0 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { treasury < 5.0 } } modifier = { factor = 0.5 CHI = { check_variable = { CHI_chinese_aggression > 10 } } } } } sco_megaproject_energy_grid_optin = { icon = GFX_decision_sco_watch_button visible = { is_sco = yes custom_trigger_tooltip = { tooltip = CHI_sco_megaproject_energy_grid_active_tt check_variable = { var = global.sco_megaproject_energy_grid_active value = 0 compare = greater_than } } NOT = { has_idea = SCO_energy_grid_member } NOT = { has_idea = SCO_energy_grid_initiator } } available = { NOT = { has_war_with = CHI } } custom_cost_trigger = { check_variable = { treasury > 1.5 } } custom_cost_text = cost_1_5 cost = 50 days_remove = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_megaproject_energy_grid_optin" if = { limit = { has_country_flag = sco_megaproject_energy_grid_initiator } add_ideas = SCO_energy_grid_initiator } else = { add_ideas = SCO_energy_grid_member } CHI = { add_to_variable = { CHI_sco_cohesion = 0.5 } clamp_variable = { var = CHI_sco_cohesion min = 0 max = 100 } } newline = yes set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } ai_will_do = { base = 3 modifier = { factor = 0 check_variable = { treasury < 3.0 } } modifier = { factor = 0.3 CHI = { check_variable = { CHI_chinese_aggression > 15 } } } } } sco_megaproject_railway_propose = { icon = GFX_decision_sco_watch_button visible = { is_sco = yes CHI = { has_completed_focus = CHI_Exploit_Economic_Clout } custom_trigger_tooltip = { tooltip = CHI_sco_megaproject_railway_inactive_tt NOT = { check_variable = { var = global.sco_megaproject_railway_active value = 0 compare = greater_than } } } NOT = { has_global_flag = sco_megaproject_railway_completed } } available = { NOT = { has_war_with = CHI } } custom_cost_trigger = { check_variable = { treasury > 3.0 } } custom_cost_text = cost_3_0 cost = 150 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_megaproject_railway_propose" set_country_flag = sco_megaproject_railway_initiator if = { limit = { CHI = { check_variable = { CHI_sco_balance > 5 } } } set_variable = { global.sco_megaproject_railway_active = 1 } set_country_flag = { flag = sco_megaproject_railway_window value = 1 days = 180 } CHI = { country_event = { id = CHI_sco.41 days = 180 } } } else_if = { limit = { CHI = { check_variable = { CHI_sco_balance < -5 } } } SOV = { country_event = { id = CHI_sco.31 days = 3 } } } else = { CHI = { country_event = { id = CHI_sco.31 days = 3 } } } newline = yes set_temp_variable = { treasury_change = -3.0 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { treasury < 6.0 } } modifier = { factor = 0.5 CHI = { check_variable = { CHI_chinese_aggression > 10 } } } } } sco_megaproject_railway_optin = { icon = GFX_decision_sco_watch_button visible = { is_sco = yes custom_trigger_tooltip = { tooltip = CHI_sco_megaproject_railway_active_tt check_variable = { var = global.sco_megaproject_railway_active value = 0 compare = greater_than } } NOT = { has_idea = SCO_railway_member } NOT = { has_idea = SCO_railway_initiator } } available = { NOT = { has_war_with = CHI } } custom_cost_trigger = { check_variable = { treasury > 2.0 } } custom_cost_text = cost_2_0 cost = 75 days_remove = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_megaproject_railway_optin" if = { limit = { has_country_flag = sco_megaproject_railway_initiator } add_ideas = SCO_railway_initiator } else = { add_ideas = SCO_railway_member } CHI = { add_to_variable = { CHI_sco_cohesion = 0.5 } clamp_variable = { var = CHI_sco_cohesion min = 0 max = 100 } } newline = yes set_temp_variable = { treasury_change = -2.0 } modify_treasury_effect = yes } ai_will_do = { base = 3 modifier = { factor = 0 check_variable = { treasury < 4.0 } } modifier = { factor = 0.3 CHI = { check_variable = { CHI_chinese_aggression > 15 } } } } } sco_megaproject_dev_bank_propose = { icon = GFX_decision_sco_watch_button visible = { is_sco = yes CHI = { has_completed_focus = CHI_Development_Assistance } custom_trigger_tooltip = { tooltip = CHI_sco_megaproject_dev_bank_inactive_tt NOT = { check_variable = { var = global.sco_megaproject_dev_bank_active value = 0 compare = greater_than } } } NOT = { has_global_flag = sco_megaproject_dev_bank_completed } } available = { NOT = { has_war_with = CHI } } custom_cost_trigger = { check_variable = { treasury > 5.0 } } custom_cost_text = cost_5_0 cost = 200 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_megaproject_dev_bank_propose" set_country_flag = sco_megaproject_dev_bank_initiator if = { limit = { CHI = { check_variable = { CHI_sco_balance > 5 } } } set_variable = { global.sco_megaproject_dev_bank_active = 1 } set_country_flag = { flag = sco_megaproject_dev_bank_window value = 1 days = 180 } CHI = { country_event = { id = CHI_sco.43 days = 180 } } } else_if = { limit = { CHI = { check_variable = { CHI_sco_balance < -5 } } } SOV = { country_event = { id = CHI_sco.32 days = 3 } } } else = { CHI = { country_event = { id = CHI_sco.32 days = 3 } } } newline = yes set_temp_variable = { treasury_change = -5.0 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { treasury < 8.0 } } modifier = { factor = 0.5 CHI = { check_variable = { CHI_chinese_aggression > 10 } } } } } sco_megaproject_dev_bank_optin = { icon = GFX_decision_sco_watch_button visible = { is_sco = yes custom_trigger_tooltip = { tooltip = CHI_sco_megaproject_dev_bank_active_tt check_variable = { var = global.sco_megaproject_dev_bank_active value = 0 compare = greater_than } } NOT = { has_idea = SCO_dev_bank_member } NOT = { has_idea = SCO_dev_bank_initiator } } available = { NOT = { has_war_with = CHI } } custom_cost_trigger = { check_variable = { treasury > 3.0 } } custom_cost_text = cost_3_0 cost = 100 days_remove = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_megaproject_dev_bank_optin" if = { limit = { has_country_flag = sco_megaproject_dev_bank_initiator } add_ideas = SCO_dev_bank_initiator } else = { add_ideas = SCO_dev_bank_member } CHI = { add_to_variable = { CHI_sco_cohesion = 0.5 } clamp_variable = { var = CHI_sco_cohesion min = 0 max = 100 } } newline = yes set_temp_variable = { treasury_change = -3.0 } modify_treasury_effect = yes } ai_will_do = { base = 3 modifier = { factor = 0 check_variable = { treasury < 5.0 } } modifier = { factor = 0.3 CHI = { check_variable = { CHI_chinese_aggression > 15 } } } } } sco_megaproject_air_defense_propose = { icon = GFX_decision_sco_watch_button visible = { is_sco = yes CHI = { has_completed_focus = CHI_Strengthen_Security_Framework } custom_trigger_tooltip = { tooltip = CHI_sco_megaproject_air_defense_inactive_tt NOT = { check_variable = { var = global.sco_megaproject_air_defense_active value = 0 compare = greater_than } } } NOT = { has_global_flag = sco_megaproject_air_defense_completed } } available = { NOT = { has_war_with = CHI } } custom_cost_trigger = { check_variable = { treasury > 1.5 } } custom_cost_text = cost_1_5 cost = 100 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_megaproject_air_defense_propose" set_country_flag = sco_megaproject_air_defense_initiator if = { limit = { CHI = { check_variable = { CHI_sco_balance > 5 } } } set_variable = { global.sco_megaproject_air_defense_active = 1 } set_country_flag = { flag = sco_megaproject_air_defense_window value = 1 days = 180 } CHI = { country_event = { id = CHI_sco.44 days = 180 } } } else_if = { limit = { CHI = { check_variable = { CHI_sco_balance < -5 } } } SOV = { country_event = { id = CHI_sco.33 days = 3 } } } else = { CHI = { country_event = { id = CHI_sco.33 days = 3 } } } newline = yes set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { treasury < 3.0 } } modifier = { factor = 0.5 CHI = { check_variable = { CHI_chinese_aggression > 10 } } } } } sco_megaproject_air_defense_optin = { icon = GFX_decision_sco_watch_button visible = { is_sco = yes custom_trigger_tooltip = { tooltip = CHI_sco_megaproject_air_defense_active_tt check_variable = { var = global.sco_megaproject_air_defense_active value = 0 compare = greater_than } } NOT = { has_idea = SCO_air_defense_member } NOT = { has_idea = SCO_air_defense_initiator } } available = { NOT = { has_war_with = CHI } } custom_cost_trigger = { check_variable = { treasury > 1.0 } } custom_cost_text = cost_1_0 cost = 50 days_remove = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision sco_megaproject_air_defense_optin" if = { limit = { has_country_flag = sco_megaproject_air_defense_initiator } add_ideas = SCO_air_defense_initiator } else = { add_ideas = SCO_air_defense_member } CHI = { add_to_variable = { CHI_sco_cohesion = 0.5 } clamp_variable = { var = CHI_sco_cohesion min = 0 max = 100 } } newline = yes set_temp_variable = { treasury_change = -1.0 } modify_treasury_effect = yes } ai_will_do = { base = 3 modifier = { factor = 0 check_variable = { treasury < 2.0 } } modifier = { factor = 0.3 CHI = { check_variable = { CHI_chinese_aggression > 15 } } } } } apply_to_join_as_an_observer = { icon = GFX_decision_sco_watch_button visible = { OR = { CHI_sco_observer_eligible_special = yes CHI_sco_observer_eligible_asia_me_africa = yes CHI_sco_observer_eligible_americas = yes } } available = { if = { limit = { CHI = { has_government = communism } } NOT = { has_government = democratic } } NOT = { has_war_with = CHI } NOT = { OR = { has_idea = EU_member has_idea = NATO_member has_idea = non_state_actor has_idea = lacks_international_recognition has_idea = Massive_International_Sanctions has_idea = international_sanctions } } if = { limit = { CHI = { NOT = { has_completed_focus = CHI_Chinese_Dominance } } } NOT = { has_war_with = SOV } } } highlight_states = { highlight_states_trigger = { state = 540 } } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision apply_to_join_as_an_observer" CHI = { country_event = CHI_sco.1 } if = { limit = { CHI = { NOT = { has_completed_focus = CHI_Chinese_Dominance } } } SOV = { country_event = CHI_sco.1 } } } days_remove = 90 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision apply_to_join_as_an_observer" if = { limit = { NOT = { has_country_flag = CHI_sco_observer_status_rejected } } add_ideas = CHI_sco_observer } } ai_will_do = { base = 0 modifier = { add = 2 has_government = communism CHI = { has_government = communism } } modifier = { add = 1 check_variable = { CHI_chinese_aggression < -9 } } modifier = { add = 1 check_variable = { CHI_chinese_aggression < -19 } } modifier = { add = 1 check_variable = { CHI_chinese_aggression < -29 } } modifier = { factor = 0 has_war = yes } modifier = { factor = 0 SOV = { is_sco = yes } has_war_with = SOV } modifier = { factor = 0 RAJ = { is_sco = yes } has_war_with = RAJ } modifier = { factor = 0 PAK = { is_sco = yes } has_war_with = PAK } modifier = { factor = 0 original_tag = NKO NKO = { OR = { has_idea = international_sanctions has_idea = Massive_International_Sanctions } } } modifier = { factor = 0 original_tag = SOV CHI = { has_completed_focus = CHI_Chinese_Dominance } } modifier = { factor = 0 has_opinion = { target = CHI value < -50 } } } } give_up_observer_status = { icon = GFX_decision_sco_giveup_button visible = { has_idea = CHI_sco_observer } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision give_up_observer_status" remove_ideas = CHI_sco_observer } ai_will_do = { base = 0 modifier = { add = 1 NOT = { has_government = communism } check_variable = { CHI_chinese_aggression > 19 } } modifier = { add = 10 has_war_with = CHI } modifier = { add = 10 SOV = { is_sco = yes } has_war_with = SOV } modifier = { add = 10 RAJ = { is_sco = yes } has_war_with = RAJ } modifier = { add = 10 PAK = { is_sco = yes } has_war_with = PAK } } } apply_to_join_as_a_member = { icon = GFX_decision_sco_member_button visible = { has_idea = CHI_sco_observer NOT = { OR = { has_idea = CHI_sco_member has_idea = CHI_sco_member_econ has_idea = CHI_sco_member_pol has_idea = CHI_sco_member_mil } } } available = { is_subject = no if = { limit = { CHI = { has_government = communism } } NOT = { has_government = democratic } } NOT = { has_war_with = CHI } if = { limit = { CHI = { NOT = { has_completed_focus = CHI_Chinese_Dominance } } } NOT = { has_war_with = SOV } } if = { limit = { has_idea = ASEAN_Member } CHI = { has_completed_focus = CHI_SCO_Exclusive_Core } } if = { limit = { original_tag = UKR } OR = { AND = { emerging_communist_state_are_in_power = yes has_completed_focus = UKR_commie_china_trade } AND = { emerging_reactionaries_are_in_power = yes has_completed_focus = UKR_party_regions_inauguration } } } } highlight_states = { highlight_states_trigger = { state = 540 } } cost = 200 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision apply_to_join_as_a_member" CHI = { country_event = CHI_sco.2 } if = { limit = { CHI = { NOT = { has_completed_focus = CHI_Chinese_Dominance } } } SOV = { country_event = CHI_sco.2 } } } days_remove = 90 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision apply_to_join_as_a_member" add_to_array = { global.sco_members = ROOT } if = { limit = { NOT = { has_country_flag = CHI_sco_membership_rejected } } if = { limit = { CHI = { has_idea = CHI_sco_member_econ } } add_ideas = CHI_sco_member_econ } else_if = { limit = { CHI = { has_idea = CHI_sco_member_pol } } add_ideas = CHI_sco_member_pol } else_if = { limit = { CHI = { has_idea = CHI_sco_member_mil } } add_ideas = CHI_sco_member_mil } else_if = { limit = { CHI = { has_idea = CHI_sco_member } } add_ideas = CHI_sco_member } } if = { limit = { CHI = { has_completed_focus = CHI_Split_CSTO } is_in_faction_with = SOV } leave_faction = yes } if = { limit = { CHI = { has_completed_focus = CHI_An_Alliance_to_Rival_NATO } } CHI = { add_to_faction = ROOT } } if = { limit = { has_idea = ASEAN_Member } remove_ideas = ASEAN_Member } country_event = CHI_sco.7 remove_ideas = CHI_sco_observer } ai_will_do = { base = 0 modifier = { add = 1 CHI = { has_government = communism } has_government = communism } modifier = { add = 1 check_variable = { CHI_chinese_aggression < -19 } } modifier = { add = 1 check_variable = { CHI_chinese_aggression < -29 } } modifier = { factor = 0 has_war = yes } } } give_up_membership_status = { allowed = { NOT = { original_tag = CHI } } icon = GFX_decision_sco_giveup_button visible = { is_sco = yes } available = { if = { limit = { original_tag = SOV } CHI = { has_completed_focus = CHI_Chinese_Dominance } } } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision give_up_membership_status executed" if = { limit = { is_in_faction_with = CHI } leave_faction = yes } CHI_sco_remove = yes country_event = CHI_sco.8 } ai_will_do = { base = 0 modifier = { add = 1 NOT = { has_government = communism } check_variable = { CHI_chinese_aggression > 9 } } modifier = { add = 10 has_war_with = CHI } modifier = { add = 10 SOV = { is_sco = yes } has_war_with = SOV } modifier = { add = 10 RAJ = { is_sco = yes } has_war_with = RAJ } modifier = { add = 10 PAK = { is_sco = yes } has_war_with = PAK } modifier = { add = 10 original_tag = SOV CHI = { has_completed_focus = CHI_Chinese_Dominance } check_variable = { CHI_chinese_aggression > 9 } } modifier = { add = 10 has_opinion = { target = CHI value < -50 } } } } CHI_sco_consider_leaving = { allowed = { NOT = { original_tag = CHI } NOT = { original_tag = SOV } } icon = GFX_decision_sco_giveup_button visible = { always = no } available = { CHI_sco_is_any = yes } days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_sco_consider_leaving executed" if = { limit = { is_sco = yes } CHI_sco_demote_member = yes } else_if = { limit = { CHI_sco_is_observer = yes } CHI_sco_demote_observer = yes } else_if = { limit = { CHI_sco_is_dialogue_partner = yes } if = { limit = { is_in_faction_with = CHI } leave_faction = yes } CHI_sco_remove = yes country_event = CHI_sco.8 } } ai_will_do = { base = 0 modifier = { add = 1 CHI = { check_variable = { CHI_chinese_aggression > 15 } } } modifier = { add = 1 CHI = { check_variable = { CHI_sco_cohesion < 2 } } } modifier = { add = 2 has_opinion = { target = CHI value < -50 } } modifier = { factor = 0 OR = { original_tag = CHI original_tag = SOV original_tag = KAZ original_tag = KYR original_tag = TAJ original_tag = UZB } } } } CHI_sco_cohesion_decay = { allowed = { original_tag = CHI } icon = GFX_decision_sco_watch_button visible = { always = no } available = { has_completed_focus = CHI_Form_the_SCO } days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_sco_cohesion_decay executed" set_temp_variable = { CHI_sco_equilibrium = 5 } if = { limit = { check_variable = { global.sco_megaproject_energy_grid_active > 0 } } add_to_temp_variable = { CHI_sco_equilibrium = 0.5 } } if = { limit = { check_variable = { global.sco_megaproject_railway_active > 0 } } add_to_temp_variable = { CHI_sco_equilibrium = 0.5 } } if = { limit = { check_variable = { global.sco_megaproject_dev_bank_active > 0 } } add_to_temp_variable = { CHI_sco_equilibrium = 0.5 } } if = { limit = { check_variable = { global.sco_megaproject_air_defense_active > 0 } } add_to_temp_variable = { CHI_sco_equilibrium = 0.5 } } if = { limit = { check_variable = { CHI_sco_cohesion > CHI_sco_equilibrium } } add_to_variable = { CHI_sco_cohesion = -1 } } else_if = { limit = { check_variable = { CHI_sco_cohesion < CHI_sco_equilibrium } } add_to_variable = { CHI_sco_cohesion = 1 } } clamp_variable = { var = CHI_sco_cohesion min = 0 max = 100 } } ai_will_do = { base = 1 } } host_joint_exercises = { allowed = { OR = { original_tag = CHI original_tag = SOV } } icon = GFX_decision_sco_exersises_button visible = { is_sco = yes OR = { original_tag = CHI AND = { original_tag = SOV CHI = { NOT = { has_completed_focus = CHI_Chinese_Dominance } } } } } available = { custom_trigger_tooltip = { tooltip = SCO_peace_tt NOT = { any_of_scopes = { array = global.sco_members is_sco = yes has_war = yes } } } custom_trigger_tooltip = { tooltip = SCO_any_drills_tt NOT = { any_of_scopes = { array = global.sco_members OR = { has_country_flag = CHI_sco_joint_exercises_accepted has_country_flag = CHI_sco_joint_exercises_offered has_idea = SCO_joint_drill has_idea = SCO_joint_drill_1 has_idea = SCO_joint_drill_specific } } } } } custom_cost_trigger = { command_power > 40 } custom_cost_text = command_power_more_than_40 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision host_joint_exercises" add_command_power = -40 if = { limit = { has_completed_focus = CHI_Strengthen_Security_Framework } for_each_scope_loop = { array = global.sco_members add_timed_idea = { idea = SCO_joint_drill_1 days = 21 } } } else = { for_each_scope_loop = { array = global.sco_members add_timed_idea = { idea = SCO_joint_drill days = 21 } } } country_event = { days = 1 id = CHI_sco.6 } } days_remove = 14 days_re_enable = 730 fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision host_joint_exercises" random_army_leader = { add_skill_level = 1 } } ai_will_do = { base = 1 } } offer_joint_exercises_specific = { icon = GFX_decision_sco_exersises_button target_root_trigger = { is_sco = yes } target_array = global.sco_members target_trigger = { country_exists = FROM FROM = { is_sco = yes } } available = { has_war = no FROM = { has_war = no } custom_trigger_tooltip = { tooltip = SCO_drills_tt NOT = { has_country_flag = CHI_sco_joint_exercises_accepted } NOT = { has_country_flag = CHI_sco_joint_exercises_offered } NOT = { has_idea = SCO_joint_drill } NOT = { has_idea = SCO_joint_drill_1 } NOT = { has_idea = SCO_joint_drill_specific } } FROM = { custom_trigger_tooltip = { tooltip = SCO_drills_tt NOT = { has_country_flag = CHI_sco_joint_exercises_accepted } NOT = { has_country_flag = CHI_sco_joint_exercises_offered } NOT = { has_idea = SCO_joint_drill } NOT = { has_idea = SCO_joint_drill_1 } NOT = { has_idea = SCO_joint_drill_specific } } } if = { limit = { original_tag = CHI FROM = { original_tag = PAK } } NOT = { has_completed_focus = CHI_End_Joint_Military_Exercises } } } cost = 50 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision offer_joint_exercises_specific" set_country_flag = CHI_sco_joint_exercises_offered FROM = { country_event = CHI_sco.3 } } ai_will_do = { base = 1 } } start_joint_exercises_specific = { icon = GFX_decision_sco_exersises_button target_root_trigger = { is_sco = yes has_country_flag = CHI_sco_joint_exercises_offered } target_array = global.sco_members target_trigger = { country_exists = FROM FROM = { has_country_flag = CHI_sco_joint_exercises_accepted } } available = { has_war = no FROM = { has_war = no } } custom_cost_trigger = { command_power > 20 } custom_cost_text = command_power_more_than_20 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision start_joint_exercises_specific" add_command_power = -20 ROOT = { add_timed_idea = { idea = SCO_joint_drill_specific days = 14 } } FROM = { add_timed_idea = { idea = SCO_joint_drill_specific days = 14 } } } days_remove = 14 remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision start_joint_exercises_specific" add_opinion_modifier = { target = FROM modifier = military_cooperation } clr_country_flag = CHI_sco_joint_exercises_offered FROM = { add_opinion_modifier = { target = ROOT modifier = military_cooperation } clr_country_flag = CHI_sco_joint_exercises_accepted } } ai_will_do = { base = 1 } } } CHI_subcontinent_strategy = { ### LAC De-escalation ### CHI_de_escalate_at_LAC = { icon = GFX_decision_generic_decision visible = { has_completed_focus = CHI_The_Border_Personnel_Meetings custom_trigger_tooltip = { tooltip = CHI_lac_deescalation_uses_remaining_tt check_variable = { var = CHI_lac_deescalation_uses value = 5 compare = less_than } } } available = { NOT = { has_war_with = RAJ } } cost = 25 days_remove = 30 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_de_escalate_at_LAC executed" if = { limit = { country_exists = RAJ } RAJ = { add_opinion_modifier = { target = CHI modifier = CHI_lac_deescalation_goodwill } } } add_to_variable = { CHI_chinese_aggression = -1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_to_variable = { CHI_lac_deescalation_uses = 1 } add_to_variable = { global.raj_chi_border_tension = -15 tooltip = raj_chi_border_tension_tt } clamp_variable = { var = global.raj_chi_border_tension min = 0 max = 100 } } ai_will_do = { base = 5 modifier = { factor = 0 has_war_with = RAJ } modifier = { add = 5 check_variable = { CHI_chinese_aggression > 9 } } modifier = { factor = 0 check_variable = { var = CHI_lac_deescalation_uses value = 5 compare = greater_than_or_equals } } } } CHI_seek_basing_BAN = { icon = GFX_decision_generic_naval allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_String_of_Pearls country_exists = BAN NOT = { has_country_flag = CHI_pearls_BAN_offered } } available = { NOT = { has_war_with = BAN } BAN = { influence_higher_30 = yes } } cost = 50 days_remove = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_seek_basing_BAN executed" set_country_flag = CHI_pearls_BAN_offered BAN = { country_event = { id = sino_indian.52 days = 1 } } } ai_will_do = { base = 5 } } CHI_seek_basing_BRM = { icon = GFX_decision_generic_naval allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_String_of_Pearls country_exists = BRM NOT = { has_country_flag = CHI_pearls_BRM_offered } } available = { NOT = { has_war_with = BRM } BRM = { influence_higher_30 = yes } } cost = 50 days_remove = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_seek_basing_BRM executed" set_country_flag = CHI_pearls_BRM_offered BRM = { country_event = { id = sino_indian.52 days = 1 } } } ai_will_do = { base = 5 } } CHI_seek_basing_CBD = { icon = GFX_decision_generic_naval allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_String_of_Pearls country_exists = CBD NOT = { has_country_flag = CHI_pearls_CBD_offered } } available = { NOT = { has_war_with = CBD } CBD = { influence_higher_30 = yes } } cost = 50 days_remove = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_seek_basing_CBD executed" set_country_flag = CHI_pearls_CBD_offered CBD = { country_event = { id = sino_indian.52 days = 1 } } } ai_will_do = { base = 5 } } CHI_seek_basing_PAK = { icon = GFX_decision_generic_naval allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_String_of_Pearls country_exists = PAK NOT = { has_country_flag = CHI_pearls_PAK_offered } } available = { NOT = { has_war_with = PAK } } cost = 50 days_remove = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_seek_basing_PAK executed" set_country_flag = CHI_pearls_PAK_offered PAK = { country_event = { id = sino_indian.52 days = 1 } } } ai_will_do = { base = 5 } } CHI_seek_basing_SRI = { icon = GFX_decision_generic_naval allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_String_of_Pearls country_exists = SRI NOT = { has_country_flag = CHI_pearls_SRI_offered } } available = { NOT = { has_war_with = SRI } SRI = { influence_higher_30 = yes } } cost = 50 days_remove = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_seek_basing_SRI executed" set_country_flag = CHI_pearls_SRI_offered SRI = { country_event = { id = sino_indian.52 days = 1 } } } ai_will_do = { base = 5 } } CHI_initiate_joint_military_training = { icon = GFX_decision_generic_army_support allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_Iron_Brothers country_exists = PAK } available = { NOT = { has_war_with = PAK } } cost = 25 days_remove = 60 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_initiate_joint_military_training executed" add_timed_idea = { idea = CHI_iron_brothers_joint_training days = 180 } PAK = { add_timed_idea = { idea = CHI_iron_brothers_joint_training days = 180 } } } ai_will_do = { base = 4 modifier = { factor = 0 has_war_with = PAK } } } CHI_back_nepalese_communists = { icon = GFX_decision_generic_decision allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_Support_Nepals_Maoists NOT = { country_exists = NPM } country_exists = NEP has_country_flag = CHI_nepal_communist_support_needed } available = { NEP = { NOT = { has_war_with = CHI } influence_higher_30 = yes } } cost = 30 days_remove = 60 days_re_enable = 120 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_back_nepalese_communists executed" NEP = { add_popularity = { ideology = communism popularity = 0.05 } recalculate_party = yes } } ai_will_do = { base = 3 } } CHI_initiate_joint_exercises_with_RAJ = { icon = GFX_decision_generic_army_support allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_End_Joint_Military_Exercises country_exists = RAJ } available = { NOT = { has_war_with = RAJ } RAJ = { has_opinion = { target = CHI value > 24 } } } cost = 30 days_remove = 60 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_initiate_joint_exercises_with_RAJ executed" army_experience = 15 RAJ = { army_experience = 15 } add_opinion_modifier = { target = RAJ modifier = border_personnel_meetings } RAJ = { add_opinion_modifier = { target = CHI modifier = border_personnel_meetings } } } ai_will_do = { base = 3 modifier = { factor = 0 has_war_with = RAJ } } } } CHI_national_commitee_decisions_category = { CHI_mute_general_shoutout_decision = { icon = GFX_decision_generic_army_support visible = { has_country_flag = CHI_first_general_quote_shout } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_mute_general_shoutout_decision" set_country_flag = CHI_muted_generals } ai_will_do = { base = 0 } } CHI_unmute_general_shoutout_decision = { icon = GFX_decision_generic_army_support visible = { has_country_flag = CHI_muted_generals } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_unmute_general_shoutout_decision" clr_country_flag = CHI_muted_generals } ai_will_do = { base = 0 } } CHI_current_congress_mission = { icon = eng_blackshirt_speech fixed_random_seed = no days_mission_timeout = 6 available = { hidden_trigger = { always = no } } activation = { has_country_flag = CHI_national_congress_started } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_current_congress_mission" clr_country_flag = CHI_national_congress_started if = { limit = { has_country_flag = CHI_16_nc_needs_to_be_started } clr_country_flag = CHI_16_nc_needs_to_be_started set_country_flag = CHI_17_nc_needs_to_be_started activate_mission = CHI_17_national_congress_mission if = { limit = { NOT = { has_country_flag = CHI_16th_congress_successor_set } } CHI_16th_congress_succession_tooltip = yes set_country_flag = CHI_16th_congress_successor_set if = { limit = { is_ai = yes OR = { is_historical_focus_on = yes has_global_flag = CHI_HISTORICAL_FOCUS_PATH has_global_flag = CHI_HEGEMON_FOCUS_PATH } NOT = { has_global_flag = CHI_PEACEFUL_RISE_FOCUS_PATH } } set_power_balance = { id = CHI_factional_balance left_side = CHI_princeling_shanghai right_side = CHI_tuanpai_youth_league set_value = 0.40 } } else_if = { limit = { is_ai = yes has_global_flag = CHI_PEACEFUL_RISE_FOCUS_PATH } set_power_balance = { id = CHI_factional_balance left_side = CHI_princeling_shanghai right_side = CHI_tuanpai_youth_league set_value = -0.45 } } kill_country_leader = yes if = { limit = { is_power_balance_in_range = { id = CHI_factional_balance range > CHI_shanghai_clique_leaning } } set_variable = { CHI_ic_leader = 2 } create_country_leader = { name = "Hu Jintao" picture = "Hu_jintao.dds" ideology = Communist-State traits = { emerging_Communist-State CHI_bop_drift_hu } } } else = { set_variable = { CHI_ic_leader = 4 } create_country_leader = { name = "Zeng Qinghong" picture = "Zeng_Qinghong.dds" ideology = Communist-State traits = { emerging_Communist-State CHI_bop_drift_zeng } } } } } else_if = { limit = { has_country_flag = CHI_17_nc_needs_to_be_started } clr_country_flag = CHI_17_nc_needs_to_be_started set_country_flag = CHI_18_nc_needs_to_be_started activate_mission = CHI_18_national_congress_mission } else_if = { limit = { has_country_flag = CHI_18_nc_needs_to_be_started } clr_country_flag = CHI_18_nc_needs_to_be_started set_country_flag = CHI_19_nc_needs_to_be_started activate_mission = CHI_19_national_congress_mission if = { limit = { NOT = { has_country_flag = CHI_18th_congress_successor_set } } CHI_18th_congress_succession_tooltip = yes set_country_flag = CHI_18th_congress_successor_set if = { limit = { is_ai = yes OR = { is_historical_focus_on = yes has_global_flag = CHI_HISTORICAL_FOCUS_PATH has_global_flag = CHI_PEACEFUL_RISE_FOCUS_PATH } NOT = { has_global_flag = CHI_HEGEMON_FOCUS_PATH } } set_power_balance = { id = CHI_factional_balance left_side = CHI_princeling_shanghai right_side = CHI_tuanpai_youth_league set_value = -0.45 } } else_if = { limit = { is_ai = yes has_global_flag = CHI_HEGEMON_FOCUS_PATH } set_power_balance = { id = CHI_factional_balance left_side = CHI_princeling_shanghai right_side = CHI_tuanpai_youth_league set_value = 0.45 } } kill_country_leader = yes if = { limit = { is_power_balance_in_range = { id = CHI_factional_balance range > CHI_collective_leadership_active } } set_variable = { CHI_ic_leader = 5 } create_country_leader = { name = "Bo Xilai" picture = "bo_xilai.dds" ideology = Communist-State traits = { emerging_Communist-State CHI_bop_drift_bo } } } else = { set_variable = { CHI_ic_leader = 3 } create_country_leader = { name = "Xi Jinping" picture = "Xi_Jinping.dds" ideology = Communist-State traits = { ex_engineer emerging_Communist-State rational polished honest capable CHI_bop_drift_xi } } } } } else_if = { limit = { has_country_flag = CHI_19_nc_needs_to_be_started } clr_country_flag = CHI_19_nc_needs_to_be_started set_country_flag = CHI_20_nc_needs_to_be_started activate_mission = CHI_20_national_congress_mission } else_if = { limit = { has_country_flag = CHI_20_nc_needs_to_be_started } clr_country_flag = CHI_20_nc_needs_to_be_started set_country_flag = CHI_21_nc_needs_to_be_started activate_mission = CHI_21_national_congress_mission } } ai_will_do = { base = 1 } } CHI_16_national_congress_mission = { icon = CHI_national_congress fire_only_once = yes is_good = yes days_mission_timeout = 1042 available = { hidden_trigger = { always = no } } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_16_national_congress_mission" CHI_16th_congress_succession_tooltip = yes CHI_reset_ic_commissions = yes country_event = china_national_committee.02 activate_mission = CHI_current_congress_mission set_country_flag = CHI_national_congress_started set_country_flag = CHI_16_nc_needs_to_be_started if = { limit = { NOT = { has_completed_focus = CHI_the_shanghai_succession } } unlock_national_focus = CHI_the_shanghai_succession custom_effect_tooltip = CHI_16_national_congress_mission_tt } } ai_will_do = { base = 1 } } CHI_17_national_congress_mission = { icon = CHI_national_congress fire_only_once = yes days_mission_timeout = 1796 activation = { has_country_flag = CHI_17_nc_needs_to_be_started } available = { hidden_trigger = { always = no } } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_17_national_congress_mission" CHI_reset_ic_commissions = yes country_event = china_national_committee.02 activate_mission = CHI_current_congress_mission set_country_flag = CHI_national_congress_started set_country_flag = CHI_17_nc_needs_to_be_started } ai_will_do = { base = 1 } } CHI_18_national_congress_mission = { icon = CHI_national_congress fire_only_once = yes days_mission_timeout = 1845 available = { hidden_trigger = { always = no } } activation = { has_country_flag = CHI_18_nc_needs_to_be_started } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_18_national_congress_mission" CHI_18th_congress_succession_tooltip = yes CHI_reset_ic_commissions = yes country_event = china_national_committee.02 activate_mission = CHI_current_congress_mission set_country_flag = CHI_national_congress_started set_country_flag = CHI_18_nc_needs_to_be_started set_country_flag = CHI_ic_nsc_unlocked } ai_will_do = { base = 1 } } CHI_19_national_congress_mission = { icon = CHI_national_congress fire_only_once = yes days_mission_timeout = 1799 available = { hidden_trigger = { always = no } } activation = { has_country_flag = CHI_19_nc_needs_to_be_started } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_19_national_congress_mission" CHI_reset_ic_commissions = yes country_event = china_national_committee.02 activate_mission = CHI_current_congress_mission set_country_flag = CHI_national_congress_started set_country_flag = CHI_19_nc_needs_to_be_started } ai_will_do = { base = 1 } } CHI_20_national_congress_mission = { icon = CHI_national_congress fire_only_once = yes days_mission_timeout = 1818 available = { hidden_trigger = { always = no } } activation = { has_country_flag = CHI_20_nc_needs_to_be_started } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_20_national_congress_mission" CHI_reset_ic_commissions = yes country_event = china_national_committee.02 activate_mission = CHI_current_congress_mission set_country_flag = CHI_national_congress_started set_country_flag = CHI_20_nc_needs_to_be_started set_country_flag = CHI_ic_social_unlocked } ai_will_do = { base = 1 } } CHI_21_national_congress_mission = { icon = CHI_national_congress fire_only_once = yes days_mission_timeout = 1824 available = { hidden_trigger = { always = no } } activation = { has_country_flag = CHI_21_nc_needs_to_be_started } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_21_national_congress_mission" CHI_reset_ic_commissions = yes country_event = china_national_committee.02 activate_mission = CHI_current_congress_mission set_country_flag = CHI_national_congress_started set_country_flag = CHI_21_nc_needs_to_be_started } ai_will_do = { base = 1 } } CHI_yangtze_delta_integration_mission = { icon = generic_construction fire_only_once = yes days_mission_timeout = 365 available = { hidden_trigger = { always = no } } activation = { has_completed_focus = CHI_yangtze_delta_integration } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission CHI_yangtze_delta_integration_mission timed out" custom_effect_tooltip = CHI_yangtze_delta_integration_mission_shanghai_tt effect_tooltip = { 540 = { add_state_modifier = { modifier = { state_productivity_growth_modifier = 0.05 } } } } custom_effect_tooltip = CHI_yangtze_delta_integration_mission_jiangsu_tt effect_tooltip = { 541 = { add_state_modifier = { modifier = { state_productivity_growth_modifier = 0.05 } } } } custom_effect_tooltip = CHI_yangtze_delta_integration_mission_zhejiang_tt effect_tooltip = { 538 = { add_state_modifier = { modifier = { state_productivity_growth_modifier = 0.05 } } } } newline = yes custom_effect_tooltip = current_effect_tooltip if = { limit = { controls_state = 540 540 = { check_variable = { 540.productivity_state_var > 1499 } } } 540 = { add_state_modifier = { modifier = { state_productivity_growth_modifier = 0.05 } } } } if = { limit = { controls_state = 541 541 = { check_variable = { 541.productivity_state_var > 1499 } } } 541 = { add_state_modifier = { modifier = { state_productivity_growth_modifier = 0.05 } } } } if = { limit = { controls_state = 538 538 = { check_variable = { 538.productivity_state_var > 1499 } } } 538 = { add_state_modifier = { modifier = { state_productivity_growth_modifier = 0.05 } } } } } } CHI_eleventh_five_year_plan_mission = { icon = generic_construction fire_only_once = yes is_good = yes days_mission_timeout = 1825 activation = { has_completed_focus = CHI_eleventh_five_year_plan } available = { custom_trigger_tooltip = { tooltip = CHI_11fyp_gdp_goal_tt check_variable = { gdp_per_capita > CHI_11fyp_gdp_target } } custom_trigger_tooltip = { tooltip = CHI_11fyp_offices_goal_tt check_variable = { office_park_total > CHI_11fyp_offices_target } } custom_trigger_tooltip = { tooltip = CHI_11fyp_civfac_goal_tt check_variable = { var = industrial_complex_total value = CHI_11fyp_civfac_target compare = greater_than_or_equals } } custom_trigger_tooltip = { tooltip = CHI_11fyp_infra_goal_tt all_owned_state = { infrastructure > 1 } } has_tech = energy_efficiency has_tech = early_renewables has_education_law_at_least_3 = yes has_health_law_at_least_2 = yes has_social_law_at_least_2 = yes custom_trigger_tooltip = { tooltip = CHI_11fyp_social_goal_tt check_variable = { display_income > display_expense } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Mission CHI_eleventh_five_year_plan_mission completed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_political_system } add_to_variable = { CHI_pol_drift_defence_factor = 0.15 tooltip = drift_defence_factor_tt } newline = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_country_resource_cost_steel = -1 tooltip = country_resource_cost_steel_tt } add_to_variable = { CHI_economy_production_speed_renewable_energy_infra_factor = 0.15 tooltip = production_speed_renewable_energy_infra_factor_tt } add_to_variable = { CHI_economy_production_speed_nuclear_reactor_factor = 0.15 tooltip = production_speed_nuclear_reactor_factor_tt } } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission CHI_eleventh_five_year_plan_mission timed out" set_temp_variable = { CHI_fyp_goals_met = 0 } if = { limit = { check_variable = { gdp_per_capita > CHI_11fyp_gdp_target } } add_to_temp_variable = { CHI_fyp_goals_met = 1 } } if = { limit = { check_variable = { office_park_total > CHI_11fyp_offices_target } } add_to_temp_variable = { CHI_fyp_goals_met = 1 } } if = { limit = { check_variable = { var = industrial_complex_total value = CHI_11fyp_civfac_target compare = greater_than_or_equals } } add_to_temp_variable = { CHI_fyp_goals_met = 1 } } if = { limit = { all_owned_state = { infrastructure > 1 } } add_to_temp_variable = { CHI_fyp_goals_met = 1 } } if = { limit = { has_tech = energy_efficiency has_tech = early_renewables } add_to_temp_variable = { CHI_fyp_goals_met = 1 } } if = { limit = { has_education_law_at_least_3 = yes has_health_law_at_least_2 = yes has_social_law_at_least_2 = yes check_variable = { display_income > display_expense } } add_to_temp_variable = { CHI_fyp_goals_met = 1 } } if = { limit = { check_variable = { CHI_fyp_goals_met > 1 } } custom_effect_tooltip = CHI_11fyp_partial_success_tt custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_political_system } add_to_variable = { CHI_pol_drift_defence_factor = 0.05 tooltip = drift_defence_factor_tt } newline = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_speed_renewable_energy_infra_factor = 0.05 tooltip = production_speed_renewable_energy_infra_factor_tt } add_to_variable = { CHI_economy_production_speed_nuclear_reactor_factor = 0.05 tooltip = production_speed_nuclear_reactor_factor_tt } } else = { add_timed_idea = { idea = CHI_failed_five_year_plan years = 3 } } } } CHI_three_gorges_dam_decision = { icon = hol_drain_water_lines days_remove = 3650 fire_only_once = yes visible = { has_completed_focus = CHI_three_gorges_completion } available = { num_of_civilian_factories_available_for_projects > 29 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_three_gorges_dam_decision remove" 570 = { set_temp_variable = { electric_addition = 12.700 } set_temp_variable = { storage_addition = 0 } add_hydroelectric_energy_production_effect = yes } } modifier = { civilian_factory_use = 30 } ai_will_do = { base = 1 } } CHI_build_public_housing = { icon = generic_construction state_target = yes on_map_mode = map_only highlight_states = { highlight_states_trigger = { is_owned_and_controlled_by = ROOT is_core_of = ROOT NOT = { has_state_flag = CHI_housing_project_complete } } highlight_color_before_active = 3 highlight_color_while_active = 2 } target_trigger = { FROM = { is_owned_and_controlled_by = ROOT is_core_of = ROOT NOT = { has_state_flag = CHI_housing_project_complete } } } target_root_trigger = { has_completed_focus = CHI_public_rental_housing_drive } available = { num_of_civilian_factories_available_for_projects > 14 FROM = { NOT = { has_state_flag = CHI_housing_project_complete } } } cost = 75 days_remove = 730 modifier = { civilian_factory_use = 15 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_build_public_housing in [FROM.GetName] started" } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_build_public_housing in [FROM.GetName] completed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_political_system } add_to_variable = { CHI_pol_consumer_goods_expected_value = -0.01 tooltip = consumer_goods_expected_value_tt } add_to_variable = { CHI_pol_population_tax_income_multiplier_modifier = 0.005 tooltip = population_tax_income_multiplier_modifier_tt } FROM = { set_state_flag = CHI_housing_project_complete } } ai_will_do = { base = 3 } } CHI_grey_society_crisis = { icon = generic_political_discourse fire_only_once = yes is_good = no selectable_mission = no days_mission_timeout = 3650 available = { hidden_trigger = { always = no } } activation = { always = no } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission CHI_grey_society_crisis timed out" custom_effect_tooltip = CHI_grey_society_crisis_subsides_tt effect_tooltip = { remove_ideas = CHI_grey_society_crisis_idea } country_event = CHI_political_events.52 } ai_will_do = { base = 1 } } CHI_adopt_two_child_policy = { icon = generic_political_discourse fire_only_once = yes cost = 100 days_remove = 365 available = { custom_trigger_tooltip = { tooltip = CHI_demographic_stage_1_tt check_variable = { CHI_demographic_policy_stage = 1 } } } modifier = { social_cost_multiplier_modifier = 0.08 education_cost_multiplier_modifier = 0.08 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_adopt_two_child_policy" unlock_decision_tooltip = CHI_adopt_three_child_policy newline = yes set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_adopt_two_child_policy settled" set_variable = { CHI_demographic_policy_stage = 2 } CHI_apply_demographic_policy = yes } ai_will_do = { base = 5 } } CHI_adopt_three_child_policy = { icon = generic_political_discourse fire_only_once = yes cost = 100 days_remove = 730 available = { custom_trigger_tooltip = { tooltip = CHI_demographic_stage_2_tt check_variable = { CHI_demographic_policy_stage = 2 } } } modifier = { social_cost_multiplier_modifier = 0.10 health_cost_multiplier_modifier = 0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_adopt_three_child_policy" unlock_decision_tooltip = CHI_abolish_birth_limits newline = yes set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_adopt_three_child_policy settled" set_variable = { CHI_demographic_policy_stage = 3 } CHI_apply_demographic_policy = yes } ai_will_do = { base = 5 } } CHI_abolish_birth_limits = { icon = generic_political_discourse fire_only_once = yes cost = 150 days_remove = 730 available = { custom_trigger_tooltip = { tooltip = CHI_demographic_stage_3_tt check_variable = { CHI_demographic_policy_stage = 3 } } } modifier = { health_cost_multiplier_modifier = 0.10 social_cost_multiplier_modifier = 0.10 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_abolish_birth_limits" newline = yes set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_abolish_birth_limits settled" set_variable = { CHI_demographic_policy_stage = 4 } CHI_apply_demographic_policy = yes } ai_will_do = { base = 5 } } CHI_pro_natalist_subsidies = { icon = generic_independence fire_only_once = yes cost = 150 days_remove = 730 available = { custom_trigger_tooltip = { tooltip = CHI_pro_natalist_requires_relaxation_tt check_variable = { CHI_demographic_policy_stage > 1 } } } visible = { has_active_mission = CHI_grey_society_crisis } modifier = { social_cost_multiplier_modifier = 0.12 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_pro_natalist_subsidies" add_days_mission_timeout = { mission = CHI_grey_society_crisis days = -730 } newline = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } ai_will_do = { base = 5 } } CHI_raise_retirement_age = { icon = eng_trade_unions_support fire_only_once = yes cost = 150 days_remove = 550 available = { has_stability > 0.5 } visible = { has_active_mission = CHI_grey_society_crisis } modifier = { communism_drift = 0.05 country_productivity_growth_modifier = -0.02 health_cost_multiplier_modifier = 0.08 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_raise_retirement_age" add_days_mission_timeout = { mission = CHI_grey_society_crisis days = -550 } } ai_will_do = { base = 5 } } CHI_skilled_immigration_drive = { icon = generic_research fire_only_once = yes cost = 150 days_remove = 365 available = { NOT = { has_idea = heavily_regulated_immigration } NOT = { has_idea = closed_borders } } visible = { has_active_mission = CHI_grey_society_crisis } modifier = { bureaucracy_cost_multiplier_modifier = 0.08 nationalist_drift = 0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_skilled_immigration_drive" add_days_mission_timeout = { mission = CHI_grey_society_crisis days = -365 } newline = yes set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes } ai_will_do = { base = 5 } } CHI_automation_robotics_push = { icon = generic_operation fire_only_once = yes cost = 150 days_remove = 365 available = { has_tech = robotics_3 } visible = { has_active_mission = CHI_grey_society_crisis } modifier = { internal_investments_money_cost_modifier = 0.10 energy_use_modifier_civs = 0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_automation_robotics_push" add_days_mission_timeout = { mission = CHI_grey_society_crisis days = -365 } newline = yes set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } ai_will_do = { base = 5 } } } CHI_SAR_decisions_category = { CHI_pressure_derecognize_TAI = { icon = eng_trade_unions_demand target_array = global.countries target_root_trigger = { has_completed_focus = CHI_TAI_one_china_enforcement } target_trigger = { FROM = { is_in_array = { recognised_countries = TAI } NOT = { original_tag = CHI } NOT = { original_tag = TAI } NOT = { has_war_with = ROOT } exists = yes } } visible = { has_completed_focus = CHI_TAI_one_china_enforcement country_exists = TAI } available = { has_completed_focus = CHI_TAI_one_china_enforcement } cost = 50 days_remove = 90 fire_only_once = no days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_pressure_derecognize_TAI targeting [From.GetName]" FROM = { add_opinion_modifier = { target = ROOT modifier = chi_tai_recognition_blockade } } custom_effect_tooltip = CHI_pressure_derecognize_TAI_tt } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_pressure_derecognize_TAI remove targeting [From.GetName]" if = { limit = { FROM = { is_in_array = { recognised_countries = TAI } } has_dlc = "By Blood Alone" } send_embargo = FROM } } ai_will_do = { base = 3 modifier = { factor = 0 check_variable = { FROM.interest_rate > 8 } } } } CHI_establish_education_centres = { icon = generic_nationalism visible = { has_completed_focus = CHI_ETK_education_centres 592 = { is_owned_by = CHI } } available = { 592 = { resistance < 60 } num_of_civilian_factories_available_for_projects > 10 } cost = 50 days_remove = 120 fire_only_once = no fixed_random_seed = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_establish_education_centres" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_SAR_network_modifier } add_to_variable = { CHI_sinicization_modifier = 0.015 tooltip = CHI_sinicization_modifier_tt } newline = yes 592 = { add_resistance = 5 random = { chance = 30 add_compliance = 5 } } } modifier = { civilian_factory_use = 10 } ai_will_do = { base = 1 } } CHI_calm_hong_kong_protests = { icon = generic_nationalism visible = { has_idea = CHI_Hong_Kong_Protests_01 } available = { has_idea = CHI_Hong_Kong_Protests_01 divisions_in_state = { size > 0 state = 595 } OR = { NOT = { controls_state = 595 } 595 = { resistance < 40 } } } cost = 100 days_remove = 100 fire_only_once = no modifier = { political_power_factor = -0.15 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_calm_hong_kong_protests remove" remove_ideas = CHI_Hong_Kong_Protests_01 add_stability = 0.01 if = { limit = { controls_state = 595 } 595 = { add_compliance = 5 } } } ai_will_do = { base = 10 } } CHI_HKG_patriotic_education_drive = { icon = generic_brainwash visible = { has_completed_focus = CHI_HKG_moral_national_education 595 = { owns_or_subject_of = yes NOT = { is_core_of = CHI } } } available = { CHI_HKG_sinicization_slot_free = yes } cost = 50 custom_cost_trigger = { check_variable = { treasury > 2 } } custom_cost_text = cost_2_0 days_remove = 180 fire_only_once = no modifier = { education_cost_multiplier_modifier = 0.05 political_power_factor = -0.03 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_HKG_patriotic_education_drive" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_HKG_sinicization_modifier } set_temp_variable = { sinicization_base_change = 2 } CHI_apply_sinicization_HKG = yes newline = yes set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } ai_will_do = { base = 4 } } CHI_HKG_liaison_office_expansion = { icon = generic_police_action fixed_random_seed = no visible = { has_completed_focus = CHI_HKG_national_security_law 595 = { owns_or_subject_of = yes NOT = { is_core_of = CHI } } } available = { CHI_HKG_sinicization_slot_free = yes } cost = 100 custom_cost_trigger = { check_variable = { treasury > 6 } } custom_cost_text = cost_6_0 days_remove = 365 fire_only_once = no modifier = { bureaucracy_cost_multiplier_modifier = 0.10 political_power_factor = -0.05 stability_factor = -0.03 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_HKG_liaison_office_expansion" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_HKG_sinicization_modifier } set_temp_variable = { sinicization_base_change = 5 } CHI_apply_sinicization_HKG = yes newline = yes random = { chance = 15 add_ideas = CHI_Hong_Kong_Protests_01 } newline = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } ai_will_do = { base = 2 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_MAC_cross_border_administration = { icon = generic_political_discourse visible = { has_completed_focus = CHI_MAC_financial_services 1106 = { owns_or_subject_of = yes NOT = { is_core_of = CHI } } } available = { CHI_MAC_sinicization_slot_free = yes } cost = 50 custom_cost_trigger = { check_variable = { treasury > 2 } } custom_cost_text = cost_2_0 days_remove = 180 fire_only_once = no modifier = { bureaucracy_cost_multiplier_modifier = 0.05 political_power_factor = -0.03 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_MAC_cross_border_administration" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_MAC_sinicization_modifier } set_temp_variable = { sinicization_base_change = 2 } CHI_apply_sinicization_MAC = yes newline = yes set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } ai_will_do = { base = 4 } } CHI_MAC_hengqin_integration_zone = { icon = generic_construction visible = { has_completed_focus = CHI_MAC_guangdong_integration 1106 = { owns_or_subject_of = yes NOT = { is_core_of = CHI } } } available = { CHI_MAC_sinicization_slot_free = yes } cost = 100 custom_cost_trigger = { check_variable = { treasury > 6 } } custom_cost_text = cost_6_0 days_remove = 365 fire_only_once = no modifier = { infrastructure_cost_multiplier_modifier = 0.10 bureaucracy_cost_multiplier_modifier = 0.10 consumer_goods_factor = 0.02 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_MAC_hengqin_integration_zone" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_MAC_sinicization_modifier } set_temp_variable = { sinicization_base_change = 5 } CHI_apply_sinicization_MAC = yes newline = yes add_stability = -0.01 newline = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } ai_will_do = { base = 2 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_TIB_monastic_patriotic_education = { icon = generic_speech visible = { has_completed_focus = CHI_TIB_sinification 589 = { is_owned_by = CHI NOT = { is_core_of = CHI } } } available = { CHI_TIB_sinicization_slot_free = yes } cost = 50 custom_cost_trigger = { check_variable = { treasury > 2 } } custom_cost_text = cost_2_0 days_remove = 180 fire_only_once = no modifier = { education_cost_multiplier_modifier = 0.05 compliance_growth = 0.10 resistance_growth = -0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TIB_monastic_patriotic_education" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_TIB_sinicization_modifier } set_temp_variable = { sinicization_base_change = 2 } CHI_apply_sinicization_TIB = yes newline = yes 589 = { add_compliance = 2 } newline = yes set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } ai_will_do = { base = 4 } } CHI_TIB_village_cadre_teams = { icon = generic_civil_support visible = { has_completed_focus = CHI_TIB_cultural_integration 589 = { is_owned_by = CHI NOT = { is_core_of = CHI } } } available = { CHI_TIB_sinicization_slot_free = yes 589 = { resistance < 60 } } cost = 100 custom_cost_trigger = { check_variable = { treasury > 6 } } custom_cost_text = cost_6_0 days_remove = 365 fire_only_once = no modifier = { police_cost_multiplier_modifier = 0.10 political_power_factor = -0.05 resistance_growth = 0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TIB_village_cadre_teams" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_TIB_sinicization_modifier } set_temp_variable = { sinicization_base_change = 5 } CHI_apply_sinicization_TIB = yes newline = yes 589 = { add_resistance = 5 } newline = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } ai_will_do = { base = 2 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_ETK_bilingual_boarding_schools = { icon = generic_research visible = { has_completed_focus = CHI_ETK_education_centres 592 = { is_owned_by = CHI NOT = { is_core_of = CHI } } } available = { CHI_ETK_sinicization_slot_free = yes } cost = 50 custom_cost_trigger = { check_variable = { treasury > 2 } } custom_cost_text = cost_2_0 days_remove = 180 fire_only_once = no modifier = { education_cost_multiplier_modifier = 0.05 compliance_growth = 0.10 resistance_growth = -0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_ETK_bilingual_boarding_schools" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_ETK_sinicization_modifier } set_temp_variable = { sinicization_base_change = 2 } CHI_apply_sinicization_ETK = yes newline = yes 592 = { add_compliance = 2 } newline = yes set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } ai_will_do = { base = 4 } } CHI_ETK_labour_transfer_scheme = { icon = generic_factory visible = { has_completed_focus = CHI_ETK_total_survaillance_infrastructure 592 = { is_owned_by = CHI NOT = { is_core_of = CHI } } } available = { CHI_ETK_sinicization_slot_free = yes 592 = { resistance < 60 } } cost = 100 custom_cost_trigger = { check_variable = { treasury > 6 } } custom_cost_text = cost_6_0 days_remove = 365 fire_only_once = no modifier = { personnel_cost_multiplier_modifier = 0.10 stability_factor = -0.03 resistance_growth = 0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_ETK_labour_transfer_scheme" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_ETK_sinicization_modifier } set_temp_variable = { sinicization_base_change = 5 } CHI_apply_sinicization_ETK = yes newline = yes 592 = { add_resistance = 5 } set_temp_variable = { modify_uighur_threat = 3 } CHI_modify_uighur_threat = yes newline = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } ai_will_do = { base = 2 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_han_settlement_small = { fixed_random_seed = no icon = generic_nationalism visible = { has_completed_focus = CHI_OMG_han_settlement_program 556 = { is_owned_by = CHI NOT = { is_core_of = CHI } } } available = { CHI_OMG_sinicization_slot_free = yes } fire_only_once = no days_remove = 180 modifier = { social_cost_multiplier_modifier = 0.03 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_han_settlement_small" random_list = { 25 = { 564 = { add_manpower = -25000 } } 25 = { 549 = { add_manpower = -25000 } } 25 = { 534 = { add_manpower = -25000 } } 25 = { 574 = { add_manpower = -25000 } } } 556 = { add_manpower = 25000 newline = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_OMG_sinicization_modifier } set_temp_variable = { sinicization_base_change = 3 } CHI_apply_sinicization_OMG = yes newline = yes random = { chance = 30 add_compliance = 5 } newline = yes random_list = { 33 = { add_resistance = 5 } 33 = { add_resistance = 10 } 33 = { add_resistance = 15 } } } } ai_will_do = { base = 3 } } CHI_han_settlement_medium = { fixed_random_seed = no icon = generic_nationalism visible = { has_completed_focus = CHI_OMG_han_settlement_program 556 = { is_owned_by = CHI NOT = { is_core_of = CHI } } } available = { CHI_OMG_sinicization_slot_free = yes } fire_only_once = no days_remove = 270 modifier = { social_cost_multiplier_modifier = 0.05 infrastructure_cost_multiplier_modifier = 0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_han_settlement_medium" random_list = { 25 = { 564 = { add_manpower = -75000 } } 25 = { 549 = { add_manpower = -75000 } } 25 = { 534 = { add_manpower = -75000 } } 25 = { 574 = { add_manpower = -75000 } } } 556 = { add_manpower = 75000 newline = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_OMG_sinicization_modifier } set_temp_variable = { sinicization_base_change = 5 } CHI_apply_sinicization_OMG = yes newline = yes random = { chance = 30 add_compliance = 10 } newline = yes random_list = { 33 = { add_resistance = 5 } 33 = { add_resistance = 10 } 33 = { add_resistance = 15 } } } } ai_will_do = { base = 2 } } CHI_han_settlement_large = { icon = generic_nationalism fixed_random_seed = no visible = { has_completed_focus = CHI_OMG_han_settlement_program 556 = { is_owned_by = CHI NOT = { is_core_of = CHI } } } available = { CHI_OMG_sinicization_slot_free = yes 556 = { resistance < 60 } } fire_only_once = no days_remove = 365 modifier = { social_cost_multiplier_modifier = 0.08 infrastructure_cost_multiplier_modifier = 0.08 stability_factor = -0.03 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_han_settlement_large" random_list = { 25 = { 564 = { add_manpower = -150000 } } 25 = { 549 = { add_manpower = -150000 } } 25 = { 534 = { add_manpower = -150000 } } 25 = { 574 = { add_manpower = -150000 } } } 556 = { add_manpower = 150000 newline = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_OMG_sinicization_modifier } set_temp_variable = { sinicization_base_change = 8 } CHI_apply_sinicization_OMG = yes newline = yes random = { chance = 30 add_compliance = 20 } newline = yes random_list = { 33 = { add_resistance = 5 } 33 = { add_resistance = 10 } 33 = { add_resistance = 15 } } } } ai_will_do = { base = 1 } } CHI_OMG_mandarin_curriculum_rollout = { icon = generic_welfare visible = { has_completed_focus = CHI_OMG_mandarin_education 556 = { is_owned_by = CHI NOT = { is_core_of = CHI } } } available = { CHI_OMG_sinicization_slot_free = yes } cost = 50 custom_cost_trigger = { check_variable = { treasury > 2 } } custom_cost_text = cost_2_0 days_remove = 180 fire_only_once = no modifier = { education_cost_multiplier_modifier = 0.05 compliance_growth = 0.10 resistance_growth = -0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_OMG_mandarin_curriculum_rollout" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_OMG_sinicization_modifier } set_temp_variable = { sinicization_base_change = 2 } CHI_apply_sinicization_OMG = yes newline = yes 556 = { add_compliance = 2 } newline = yes set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } ai_will_do = { base = 4 } } CHI_OMG_pastoral_sedentarisation = { icon = generic_construction visible = { has_completed_focus = CHI_OMG_han_settlement_program 556 = { is_owned_by = CHI NOT = { is_core_of = CHI } } } available = { CHI_OMG_sinicization_slot_free = yes 556 = { resistance < 60 } } cost = 100 custom_cost_trigger = { check_variable = { treasury > 6 } } custom_cost_text = cost_6_0 days_remove = 365 fire_only_once = no modifier = { social_cost_multiplier_modifier = 0.10 infrastructure_cost_multiplier_modifier = 0.05 resistance_growth = 0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_OMG_pastoral_sedentarisation" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_OMG_sinicization_modifier } set_temp_variable = { sinicization_base_change = 5 } CHI_apply_sinicization_OMG = yes newline = yes 556 = { add_resistance = 5 } newline = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } ai_will_do = { base = 2 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_national_common_language_campaign = { icon = eng_propaganda_campaigns visible = { has_completed_focus = CHI_SAR_one_system_declaration CHI_any_SAR_awaiting_integration = yes } available = { CHI_national_sinicization_slot_free = yes } cost = 150 custom_cost_trigger = { check_variable = { treasury > 15 } } custom_cost_text = cost_15_0 days_remove = 730 fire_only_once = no modifier = { education_cost_multiplier_modifier = 0.10 bureaucracy_cost_multiplier_modifier = 0.10 compliance_growth = 0.10 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_national_common_language_campaign" custom_effect_tooltip = CHI_sinicization_all_SARs_tt set_temp_variable = { sinicization_base_change = 2.5 } CHI_apply_sinicization_all_SARs = yes newline = yes set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes } ai_will_do = { base = 3 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_second_generation_ethnic_policy = { icon = generic_nationalism visible = { has_completed_focus = CHI_SAR_han_superiority CHI_any_SAR_awaiting_integration = yes } available = { CHI_national_sinicization_slot_free = yes } cost = 250 custom_cost_trigger = { check_variable = { treasury > 30 } } custom_cost_text = cost_30_0 days_remove = 1095 fire_only_once = no modifier = { police_cost_multiplier_modifier = 0.15 bureaucracy_cost_multiplier_modifier = 0.15 stability_factor = -0.05 resistance_growth = 0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_second_generation_ethnic_policy" custom_effect_tooltip = CHI_sinicization_all_SARs_tt set_temp_variable = { sinicization_base_change = 5 } CHI_apply_sinicization_all_SARs = yes newline = yes set_temp_variable = { treasury_change = -30 } modify_treasury_effect = yes } ai_will_do = { base = 2 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_MON_reunification_retry = { icon = generic_form_nation visible = { has_country_flag = CHI_MON_reunification_rejected country_exists = MON } available = { country_exists = MON } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_MON_reunification_retry" clr_country_flag = CHI_MON_reunification_rejected MON = { country_event = { id = china_sar.036 days = 1 } } custom_effect_tooltip = TT_IF_THEY_REJECT custom_effect_tooltip = CHI_MON_reunification_rejected_tt custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { OMG = { add_state_core = 596 add_state_core = 597 } } } ai_will_do = { base = 5 } } CHI_TAI_media_infiltration = { fixed_random_seed = no icon = generic_brainwash visible = { has_completed_focus = CHI_SAR_one_china_framework country_exists = TAI } available = { country_exists = TAI NOT = { has_war_with = TAI } custom_trigger_tooltip = { tooltip = CHI_TAI_trust_gt_4_tt check_variable = { CHI_TAI_trust > 4 } } TAI = { NOT = { has_country_flag = TAI_foreign_interference } } } fire_only_once = no cost = 50 days_re_enable = 120 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_media_infiltration" TAI = { add_to_variable = { party_pop_array^1 = 0.02 } add_to_variable = { party_pop_array^2 = -0.01 } recalculate_party = yes } random = { chance = 25 TAI = { country_event = { id = china_sar.005 days = 14 } } add_to_variable = { CHI_TAI_trust = -15 } if = { limit = { check_variable = { CHI_TAI_trust < 0 } } set_variable = { CHI_TAI_trust = 0 } } } } ai_will_do = { base = 5 } } CHI_TAI_resend_economic_track = { icon = generic_political_discourse visible = { has_country_flag = CHI_TAI_rejected_economic_track country_exists = TAI } available = { NOT = { has_war_with = TAI } } fire_only_once = no cost = 40 days_re_enable = 45 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_resend_economic_track" TAI = { country_event = { id = china_sar.038 days = 3 } } } ai_will_do = { base = 5 } } CHI_TAI_resend_expand_trade = { icon = generic_political_discourse visible = { has_country_flag = CHI_TAI_rejected_expand_trade country_exists = TAI } available = { NOT = { has_war_with = TAI } } fire_only_once = no cost = 40 days_re_enable = 45 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_resend_expand_trade" TAI = { country_event = { id = china_sar.039 days = 3 } } } ai_will_do = { base = 5 } } CHI_TAI_resend_peaceful_reunification = { icon = generic_political_discourse visible = { has_country_flag = CHI_TAI_rejected_peaceful_reunification country_exists = TAI } available = { NOT = { has_war_with = TAI } } fire_only_once = no cost = 40 days_re_enable = 45 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_resend_peaceful_reunification" TAI = { country_event = { id = china_sar.047 days = 3 } } } ai_will_do = { base = 5 } } CHI_TAI_resend_mainland_access = { icon = generic_political_discourse visible = { has_country_flag = CHI_TAI_rejected_mainland_access country_exists = TAI } available = { NOT = { has_war_with = TAI } } fire_only_once = no cost = 40 days_re_enable = 45 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_resend_mainland_access" TAI = { country_event = { id = china_sar.040 days = 3 } } } ai_will_do = { base = 5 } } CHI_TAI_resend_semiconductor = { icon = generic_political_discourse visible = { has_country_flag = CHI_TAI_rejected_semiconductor country_exists = TAI } available = { NOT = { has_war_with = TAI } } fire_only_once = no cost = 40 days_re_enable = 45 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_resend_semiconductor" TAI = { country_event = { id = china_sar.041 days = 3 } } } ai_will_do = { base = 5 } } CHI_TAI_resend_business_deleg = { icon = generic_political_discourse visible = { has_country_flag = CHI_TAI_rejected_business_deleg country_exists = TAI } available = { NOT = { has_war_with = TAI } } fire_only_once = no cost = 40 days_re_enable = 45 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_resend_business_deleg" TAI = { country_event = { id = china_sar.042 days = 3 } } } ai_will_do = { base = 5 } } CHI_TAI_resend_transport = { icon = generic_political_discourse visible = { has_country_flag = CHI_TAI_rejected_transport country_exists = TAI } available = { NOT = { has_war_with = TAI } } fire_only_once = no cost = 40 days_re_enable = 45 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_resend_transport" TAI = { country_event = { id = china_sar.043 days = 3 } } } ai_will_do = { base = 5 } } CHI_TAI_resend_safeguards = { icon = generic_political_discourse visible = { has_country_flag = CHI_TAI_rejected_safeguards country_exists = TAI } available = { NOT = { has_war_with = TAI } } fire_only_once = no cost = 40 days_re_enable = 45 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_resend_safeguards" TAI = { country_event = { id = china_sar.044 days = 3 } } } ai_will_do = { base = 5 } } CHI_TAI_resend_joint_planning = { icon = generic_political_discourse visible = { has_country_flag = CHI_TAI_rejected_joint_planning country_exists = TAI } available = { NOT = { has_war_with = TAI } } fire_only_once = no cost = 40 days_re_enable = 45 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_resend_joint_planning" TAI = { country_event = { id = china_sar.045 days = 3 } } } ai_will_do = { base = 5 } } CHI_TAI_resend_deep_integration = { icon = generic_political_discourse visible = { has_country_flag = CHI_TAI_rejected_deep_integration country_exists = TAI } available = { NOT = { has_war_with = TAI } } fire_only_once = no cost = 40 days_re_enable = 45 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_resend_deep_integration" TAI = { country_event = { id = china_sar.046 days = 3 } } } ai_will_do = { base = 5 } } CHI_TAI_goodwill_gesture = { icon = generic_political_discourse visible = { has_completed_focus = CHI_SAR_one_china_framework country_exists = TAI } available = { country_exists = TAI NOT = { has_war_with = TAI } } fire_only_once = no cost = 50 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_goodwill_gesture" add_to_variable = { CHI_TAI_trust = 6 tooltip = CHI_TAI_trust_tt } clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 } add_opinion_modifier = { target = TAI modifier = political_outreach } } ai_will_do = { base = 5 } } CHI_TAI_coercive_signaling = { icon = generic_intelligence_operation visible = { has_completed_focus = CHI_SAR_one_china_framework country_exists = TAI } available = { country_exists = TAI NOT = { has_war_with = TAI } } fire_only_once = no cost = 40 days_re_enable = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_coercive_signaling" add_to_variable = { CHI_TAI_trust = -6 tooltip = CHI_TAI_trust_tt } clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 } add_opinion_modifier = { target = TAI modifier = recent_actions_negative } TAI = { add_opinion_modifier = { target = CHI modifier = recent_actions_negative } } } ai_will_do = { base = 5 } } CHI_TAI_business_council_funding = { fixed_random_seed = no icon = generic_welfare visible = { has_completed_focus = CHI_SAR_one_china_framework country_exists = TAI } available = { country_exists = TAI NOT = { has_war_with = TAI } custom_trigger_tooltip = { tooltip = CHI_TAI_trust_gt_9_tt check_variable = { CHI_TAI_trust > 9 } } } fire_only_once = no cost = 80 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_business_council_funding" TAI = { add_to_variable = { pan_blue_coalition_support = 0.02 } } add_to_variable = { CHI_TAI_trust = 3 } random = { chance = 20 TAI = { country_event = { id = china_sar.005 days = 14 } } add_to_variable = { CHI_TAI_trust = -15 } if = { limit = { check_variable = { CHI_TAI_trust < 0 } } set_variable = { CHI_TAI_trust = 0 } } } } ai_will_do = { base = 5 } } CHI_TAI_cultural_exchange_program = { fixed_random_seed = no icon = eng_trade_unions_support visible = { has_completed_focus = CHI_SAR_one_china_framework country_exists = TAI } available = { country_exists = TAI NOT = { has_war_with = TAI } } fire_only_once = no cost = 30 days_re_enable = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_cultural_exchange_program" add_to_variable = { CHI_TAI_trust = 3 } TAI = { add_to_variable = { party_pop_array^14 = 0.01 } recalculate_party = yes } random = { chance = 10 TAI = { country_event = { id = china_sar.005 days = 14 } } add_to_variable = { CHI_TAI_trust = -15 } if = { limit = { check_variable = { CHI_TAI_trust < 0 } } set_variable = { CHI_TAI_trust = 0 } } } } ai_will_do = { base = 5 } } CHI_TAI_cross_strait_infrastructure_investment = { fixed_random_seed = no icon = generic_construction visible = { has_completed_focus = CHI_SAR_one_china_framework country_exists = TAI TAI = { has_country_flag = TAI_CSSTA_signed } } available = { country_exists = TAI NOT = { has_war_with = TAI } TAI = { has_country_flag = TAI_CSSTA_signed } custom_trigger_tooltip = { tooltip = CHI_TAI_trust_gt_24_tt check_variable = { CHI_TAI_trust > 24 } } } fire_only_once = no cost = 100 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_cross_strait_infrastructure_investment" add_to_variable = { CHI_TAI_trust = 6 } TAI = { random_owned_state = { limit = { free_building_slots = { building = industrial_complex size > 1 include_locked = yes } } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } if = { limit = { NOT = { has_dynamic_modifier = { modifier = CHI_TAI_shared_modifier } } } add_dynamic_modifier = { modifier = CHI_TAI_shared_modifier } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_TAI_shared_modifier } add_to_variable = { CHI_TAI_civilian_factories_productivity = 0.02 tooltip = civilian_factories_productivity_tt } add_to_variable = { CHI_TAI_production_speed_buildings_factor = 0.03 tooltip = production_speed_buildings_factor_tt } } random = { chance = 15 TAI = { country_event = { id = china_sar.005 days = 14 } } add_to_variable = { CHI_TAI_trust = -15 } if = { limit = { check_variable = { CHI_TAI_trust < 0 } } set_variable = { CHI_TAI_trust = 0 } } } } ai_will_do = { base = 3 } } CHI_TAI_pro_china_party_networks_mission = { icon = eng_propaganda_campaigns is_good = yes days_mission_timeout = 30 activation = { has_country_flag = CHI_TAI_pro_china_networks_active country_exists = TAI NOT = { has_war_with = TAI } } available = { hidden_trigger = { always = no } } timeout_effect = { log = "[GetDateText]: [Root.GetName]: CHI_TAI_pro_china_party_networks_mission timeout" if = { limit = { check_variable = { CHI_TAI_trust > 50 } country_exists = TAI NOT = { has_war_with = TAI } } TAI = { add_to_variable = { party_pop_array^1 = 0.02 } add_to_variable = { party_pop_array^14 = 0.01 } add_to_variable = { party_pop_array^2 = -0.02 } recalculate_party = yes } } if = { limit = { has_country_flag = CHI_TAI_pro_china_networks_active country_exists = TAI NOT = { has_war_with = TAI } } activate_mission = CHI_TAI_pro_china_party_networks_mission } } ai_will_do = { base = 1 } } CHI_TAI_amphibious_exercise = { icon = INS_take_java visible = { has_completed_focus = CHI_TAI_fleet_modernization country_exists = TAI NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_fleet_modernization } cost = 75 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_amphibious_exercise" add_to_variable = { CHI_taiwan_strait_tension = 8 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } add_to_variable = { CHI_taiwan_us_support = -3 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } set_country_flag = { flag = CHI_amphibious_exercise_active days = 180 value = 1 } } ai_will_do = { base = 3 modifier = { factor = 0 check_variable = { CHI_taiwan_strait_tension > 80 } } } } CHI_TAI_adiz_incursion = { fixed_random_seed = no icon = recruit_operative visible = { has_completed_focus = CHI_TAI_air_superiority country_exists = TAI NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_air_superiority } cost = 25 days_re_enable = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_adiz_incursion" add_to_variable = { CHI_taiwan_strait_tension = 3 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } add_to_variable = { CHI_taiwan_us_support = -1 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } set_country_flag = { flag = CHI_adiz_incursion_active days = 60 value = 1 } if = { limit = { check_variable = { CHI_taiwan_strait_tension > 60 } } random = { chance = 25 country_event = { id = china_sar.007 days = 3 } } } } ai_will_do = { base = 5 modifier = { factor = 0 check_variable = { CHI_taiwan_strait_tension > 90 } } } } CHI_TAI_rocket_test = { icon = generic_operation visible = { has_completed_focus = CHI_TAI_dongfeng_program country_exists = TAI NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_dongfeng_program } cost = 100 days_re_enable = 120 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_rocket_test" add_to_variable = { CHI_taiwan_strait_tension = 5 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } if = { limit = { check_variable = { CHI_taiwan_us_support > 70 } } country_event = { id = china_sar.010 days = 7 } } else = { country_event = { id = china_sar.009 days = 7 } } } ai_will_do = { base = 2 modifier = { add = 5 check_variable = { CHI_taiwan_us_support < 50 } } modifier = { factor = 0 check_variable = { CHI_taiwan_us_support > 70 } } } } CHI_TAI_grey_zone_ops = { fixed_random_seed = no icon = generic_intelligence_operation visible = { has_completed_focus = CHI_TAI_air_superiority country_exists = TAI NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_air_superiority } cost = 15 days_re_enable = 30 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_grey_zone_ops" add_to_variable = { CHI_taiwan_strait_tension = 2 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } add_to_variable = { CHI_taiwan_us_support = -1 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } random = { chance = 15 add_to_variable = { CHI_taiwan_us_support = 3 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } } } ai_will_do = { base = 8 modifier = { factor = 0 check_variable = { CHI_taiwan_strait_tension > 85 } } } } CHI_TAI_blockade_simulation = { icon = generic_naval visible = { has_completed_focus = CHI_TAI_dongfeng_program country_exists = TAI NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_dongfeng_program } cost = 75 days_re_enable = 120 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_blockade_simulation" add_to_variable = { CHI_taiwan_strait_tension = 10 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } add_to_variable = { CHI_taiwan_us_support = -4 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } set_country_flag = { flag = CHI_blockade_sim_active days = 120 value = 1 } TAI = { country_event = { id = china_sar.015 days = 3 } } } ai_will_do = { base = 2 modifier = { factor = 0 check_variable = { CHI_taiwan_strait_tension > 70 } } } } CHI_TAI_cyberattack = { icon = hol_radio_oranje visible = { has_completed_focus = CHI_TAI_cyber_warfare country_exists = TAI NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_cyber_warfare } cost = 50 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_cyberattack" TAI = { add_timed_idea = { idea = TAI_cyber_sabotage days = 180 } } } ai_will_do = { base = 3 } } CHI_TAI_shadow_carrier = { fixed_random_seed = no icon = HOL_air_carrier visible = { has_completed_focus = CHI_TAI_cross_strait_policy USA = { has_country_flag = USA_TAI_carrier_sent } } available = { USA = { has_country_flag = USA_TAI_carrier_sent } } cost = 25 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_shadow_carrier" add_to_variable = { CHI_taiwan_strait_tension = 5 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } random_list = { 80 = { add_to_variable = { CHI_taiwan_us_support = -2 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } } 20 = { country_event = { id = china_sar.008 days = 3 } } } } ai_will_do = { base = 5 } } CHI_TAI_intercept_aircraft = { fixed_random_seed = no icon = GFX_decision_generic_air visible = { has_completed_focus = CHI_TAI_cross_strait_policy USA = { has_country_flag = USA_TAI_recon_active } } available = { USA = { has_country_flag = USA_TAI_recon_active } } cost = 25 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_intercept_aircraft" random_list = { 70 = { add_to_variable = { CHI_taiwan_us_support = -1 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } } 30 = { country_event = { id = china_sar.007 days = 1 } } } } ai_will_do = { base = 5 } } CHI_TAI_un_protest = { icon = generic_civil_support visible = { has_completed_focus = CHI_TAI_cross_strait_policy USA = { has_country_flag = USA_TAI_arms_sale_active } } available = { USA = { has_country_flag = USA_TAI_arms_sale_active } } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_un_protest" add_to_variable = { CHI_taiwan_us_support = -2 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } USA = { add_opinion_modifier = { target = CHI modifier = chi_usa_pressure_campaign } } } ai_will_do = { base = 5 } } CHI_TAI_maritime_zone = { icon = generic_naval visible = { has_completed_focus = CHI_TAI_blockade_capability country_exists = TAI NOT = { has_war_with = TAI } NOT = { has_country_flag = CHI_TAI_maritime_zone_active } } available = { has_completed_focus = CHI_TAI_blockade_capability } fire_only_once = yes cost = 150 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_maritime_zone" set_country_flag = CHI_TAI_maritime_zone_active add_to_variable = { CHI_taiwan_strait_tension = 8 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } add_to_variable = { CHI_taiwan_us_support = -3 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } TAI = { add_timed_idea = { idea = TAI_blockade_partial days = 365 } } } ai_will_do = { base = 1 modifier = { add = 5 check_variable = { CHI_taiwan_us_support < 40 } } } } CHI_TAI_partial_blockade = { icon = generic_naval visible = { has_country_flag = CHI_TAI_maritime_zone_active country_exists = TAI NOT = { has_war_with = TAI } NOT = { has_country_flag = CHI_TAI_partial_blockade_active } } available = { has_country_flag = CHI_TAI_maritime_zone_active custom_trigger_tooltip = { tooltip = CHI_taiwan_strait_tension_less_70_tt check_variable = { CHI_taiwan_strait_tension < 70 } } } fire_only_once = yes cost = 175 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_partial_blockade" set_country_flag = CHI_TAI_partial_blockade_active add_to_variable = { CHI_taiwan_strait_tension = 15 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } add_to_variable = { CHI_taiwan_us_support = -6 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } TAI = { remove_ideas = TAI_blockade_partial add_ideas = TAI_blockade_economic_crisis } add_to_variable = { CHI_taiwan_us_support = 5 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } TAI = { country_event = { id = china_sar.016 days = 60 } } } ai_will_do = { base = 0 modifier = { add = 5 has_global_flag = CHI_HEGEMON_FOCUS_PATH check_variable = { CHI_taiwan_us_support < 30 } naval_strength_ratio = { tag = TAI ratio > 1.5 } } } } CHI_TAI_full_blockade = { icon = generic_naval visible = { has_country_flag = CHI_TAI_partial_blockade_active country_exists = TAI NOT = { has_war_with = TAI } NOT = { has_country_flag = CHI_TAI_full_blockade_active } } available = { has_country_flag = { flag = CHI_TAI_partial_blockade_active days > 60 } custom_trigger_tooltip = { tooltip = CHI_taiwan_strait_tension_less_75_tt check_variable = { CHI_taiwan_strait_tension < 75 } } } fire_only_once = yes cost = 200 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_full_blockade" set_country_flag = CHI_TAI_full_blockade_active add_to_variable = { CHI_taiwan_strait_tension = 20 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } if = { limit = { check_variable = { CHI_taiwan_us_support < 30 } } TAI = { country_event = { id = china_sar.017 days = 30 } } } } ai_will_do = { base = 0 modifier = { add = 10 has_global_flag = CHI_HEGEMON_FOCUS_PATH check_variable = { CHI_taiwan_us_support < 20 } naval_strength_ratio = { tag = TAI ratio > 2 } } } } CHI_TAI_lift_full_blockade = { icon = generic_naval visible = { has_country_flag = CHI_TAI_full_blockade_active } available = { has_country_flag = { flag = CHI_TAI_full_blockade_active days > 60 } NOT = { has_war_with = TAI } } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_lift_full_blockade" clr_country_flag = CHI_TAI_full_blockade_active set_country_flag = CHI_TAI_partial_blockade_active add_to_variable = { CHI_taiwan_strait_tension = -15 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } add_to_variable = { CHI_taiwan_us_support = 5 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } TAI = { remove_ideas = TAI_blockade_economic_crisis add_ideas = TAI_blockade_partial } } ai_will_do = { base = 0 modifier = { add = 100 NOT = { has_global_flag = CHI_HEGEMON_FOCUS_PATH } } modifier = { add = 100 naval_strength_ratio = { tag = TAI ratio < 2 } } } } CHI_TAI_strait_naval_exercise = { icon = generic_naval visible = { has_completed_focus = CHI_TAI_amphibious_doctrine country_exists = TAI NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_amphibious_doctrine } cost = 50 days_remove = 120 days_re_enable = 120 modifier = { trait_naval_invader_xp_gain_factor = 0.25 rapid_amphibious_assault_mastery_gain_factor = 0.075 massed_landing_forces_mastery_gain_factor = 0.075 naval_invasion_prep_speed = 0.15 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_strait_naval_exercise" set_country_flag = { flag = CHI_amphibious_exercise_active days = 120 value = 1 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_strait_naval_exercise" add_to_variable = { CHI_taiwan_strait_tension = 5 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } add_to_variable = { CHI_taiwan_us_support = -2 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } navy_experience = 15 set_country_flag = CHI_recent_provocation } ai_will_do = { base = 5 modifier = { factor = 0 check_variable = { CHI_taiwan_strait_tension > 80 } } } } CHI_TAI_influence_us_election = { fixed_random_seed = no icon = generic_brainwash visible = { has_completed_focus = CHI_TAI_lobby_network country_exists = USA country_exists = TAI NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_lobby_network } cost = 150 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_influence_us_election" USA = { set_party_index_to_ruling_party = yes set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes } random = { chance = 30 country_event = { id = china_sar.014 days = 14 } } } ai_will_do = { base = 1 modifier = { factor = 0 check_variable = { CHI_taiwan_us_support < 30 } } } } CHI_TAI_support_houthis = { icon = infiltrate_state visible = { has_completed_focus = CHI_TAI_proxy_strategy country_exists = TAI NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_proxy_strategy } cost = 75 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_support_houthis" if = { limit = { USA = { OR = { has_war = yes any_neighbor_country = { has_war_with = USA } } } } add_to_variable = { CHI_taiwan_us_support = -4 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } } else = { add_to_variable = { CHI_taiwan_us_support = -2 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } } } ai_will_do = { base = 2 } } CHI_TAI_scs_provocations = { icon = infiltrate_state visible = { has_completed_focus = CHI_TAI_proxy_strategy country_exists = TAI NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_proxy_strategy } cost = 75 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_scs_provocations" add_to_variable = { CHI_taiwan_us_support = -3 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } add_to_variable = { CHI_taiwan_strait_tension = 2 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } if = { limit = { country_exists = PHI } PHI = { add_opinion_modifier = { target = CHI modifier = nine_dash_line } } } if = { limit = { country_exists = VIE } VIE = { add_opinion_modifier = { target = CHI modifier = nine_dash_line } } } } ai_will_do = { base = 3 } } CHI_TAI_middleeast_diversion = { icon = infiltrate_state visible = { has_completed_focus = CHI_TAI_proxy_strategy country_exists = TAI NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_proxy_strategy } cost = 100 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_middleeast_diversion" if = { limit = { OR = { PER = { has_war = yes } IRQ = { has_war = yes } SYR = { has_war = yes } SAU = { has_war = yes } YEM = { has_war = yes } } } add_to_variable = { CHI_taiwan_us_support = -5 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } } else = { add_to_variable = { CHI_taiwan_us_support = -2 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } } } ai_will_do = { base = 2 modifier = { add = 5 OR = { PER = { has_war = yes } IRQ = { has_war = yes } SYR = { has_war = yes } SAU = { has_war = yes } YEM = { has_war = yes } } } } } CHI_TAI_arm_iran = { fixed_random_seed = no icon = ger_military_buildup visible = { has_completed_focus = CHI_TAI_proxy_strategy country_exists = PER country_exists = TAI NOT = { has_war_with = PER } NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_proxy_strategy } cost = 100 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_arm_iran" if = { limit = { USA = { has_war_with = PER } } add_to_variable = { CHI_taiwan_us_support = -5 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } } else = { add_to_variable = { CHI_taiwan_us_support = -2 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } } random = { chance = 40 add_to_variable = { CHI_taiwan_us_support = 10 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } USA = { add_opinion_modifier = { target = CHI modifier = chi_usa_sanctions_response } } } } ai_will_do = { base = 1 modifier = { add = 5 USA = { has_war_with = PER } } } } CHI_TAI_nk_provocations = { icon = eng_blackshirt_march visible = { has_completed_focus = CHI_TAI_proxy_strategy country_exists = NKO country_exists = TAI NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_proxy_strategy country_exists = NKO } cost = 50 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_nk_provocations" add_to_variable = { CHI_taiwan_us_support = -3 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } } ai_will_do = { base = 3 } } CHI_TAI_support_russia = { icon = recogn_russia_button visible = { has_completed_focus = CHI_TAI_proxy_strategy country_exists = TAI NOT = { has_war_with = TAI } SOV = { exists = yes has_war = yes } } available = { has_completed_focus = CHI_TAI_proxy_strategy SOV = { has_war = yes } } cost = 100 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_support_russia" add_to_variable = { CHI_taiwan_us_support = -5 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } SOV = { add_opinion_modifier = { target = CHI modifier = shared_future_community } } } ai_will_do = { base = 3 } } CHI_TAI_fund_us_opposition = { fixed_random_seed = no icon = generic_welfare visible = { has_completed_focus = CHI_TAI_distract_america country_exists = TAI country_exists = USA NOT = { has_war_with = TAI } } available = { has_completed_focus = CHI_TAI_distract_america } cost = 75 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_fund_us_opposition" add_to_variable = { CHI_taiwan_us_support = -3 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } USA = { add_stability = -0.02 } random = { chance = 40 add_to_variable = { CHI_taiwan_us_support = 8 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } USA = { add_opinion_modifier = { target = CHI modifier = chi_usa_sanctions_response } } } } ai_will_do = { base = 2 modifier = { add = 5 USA = { has_war = yes } } } } CHI_TAI_exploit_us_commitments = { icon = generic_civil_support visible = { has_completed_focus = CHI_TAI_distract_america country_exists = TAI country_exists = USA NOT = { has_war_with = TAI } USA = { has_war = yes } } available = { has_completed_focus = CHI_TAI_distract_america USA = { has_war = yes } } cost = 50 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_TAI_exploit_us_commitments" add_to_variable = { CHI_taiwan_us_support = -6 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } add_to_variable = { CHI_taiwan_strait_tension = 3 tooltip = CHI_taiwan_strait_tension_tt } clamp_variable = { var = CHI_taiwan_strait_tension min = 0 max = 100 } } ai_will_do = { base = 8 } } } CHI_south_china_sea_category = { CHI_scs_deploy_maritime_militia = { icon = generic_naval visible = { has_completed_focus = CHI_The_Cabbage_Strategy } available = { has_war = no NOT = { has_idea = CHI_militia_deployed } } cost = 30 days_remove = 90 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_deploy_maritime_militia executed" add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_to_variable = { CHI_scs_framework = -1 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_deploy_maritime_militia" add_timed_idea = { idea = CHI_militia_deployed days = 365 } } ai_will_do = { base = 3 modifier = { add = 2 is_historical_focus_on = yes } } } CHI_scs_island_construction_runway = { icon = generic_construction visible = { has_completed_focus = CHI_The_Sansha_Administrative_Upgrade } available = { has_war = no custom_trigger_tooltip = { tooltip = CHI_scs_island_construction_treasury_tt check_variable = { treasury > 4 } } } cost = 100 days_remove = 180 modifier = { production_speed_buildings_factor = -0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_island_construction_runway executed" add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } newline = yes set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_island_construction_runway remove_effect executed" 526 = { add_building_construction = { type = air_base level = 1 instant_build = no } } add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_will_do = { base = 5 } } CHI_scs_island_construction_sam_battery = { icon = generic_construction visible = { has_completed_focus = CHI_The_Sansha_Administrative_Upgrade } available = { has_war = no custom_trigger_tooltip = { tooltip = CHI_scs_island_construction_treasury_tt check_variable = { treasury > 4 } } } cost = 100 days_remove = 180 modifier = { production_speed_buildings_factor = -0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_island_construction_sam_battery executed" add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } newline = yes set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_island_construction_sam_battery remove_effect executed" 526 = { add_building_construction = { type = anti_air_building level = 2 instant_build = no } } add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_will_do = { base = 5 } } CHI_scs_island_construction_radar = { icon = generic_construction visible = { has_completed_focus = CHI_The_Sansha_Administrative_Upgrade } available = { has_war = no custom_trigger_tooltip = { tooltip = CHI_scs_island_construction_treasury_tt check_variable = { treasury > 4 } } } cost = 100 days_remove = 180 modifier = { production_speed_buildings_factor = -0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_island_construction_radar executed" add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } newline = yes set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_island_construction_radar remove_effect executed" 526 = { add_building_construction = { type = radar_station level = 2 instant_build = no } } add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_will_do = { base = 5 } } CHI_scs_island_construction_civilian = { icon = generic_construction visible = { has_completed_focus = CHI_The_Sansha_Administrative_Upgrade } available = { has_war = no custom_trigger_tooltip = { tooltip = CHI_scs_island_construction_treasury_tt check_variable = { treasury > 4 } } } cost = 75 days_remove = 180 modifier = { production_speed_buildings_factor = -0.05 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_island_construction_civilian executed" add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_to_variable = { CHI_scs_framework = 2 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } newline = yes set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_island_construction_civilian remove_effect executed" 526 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } } } ai_will_do = { base = 5 } } CHI_scs_standoff_philippines = { icon = generic_naval visible = { has_completed_focus = CHI_The_Scarborough_Model country_exists = PHI NOT = { has_war_with = PHI } } available = { has_war = no NOT = { has_war_with = PHI } } cost = 100 days_remove = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_standoff_philippines executed" add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_standoff_philippines remove_effect executed" if = { limit = { ic_ratio = { tag = PHI ratio > 3 } } add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } set_country_flag = CHI_scarborough_won PHI = { add_timed_idea = { idea = CHI_national_humiliation days = 365 } } country_event = { id = china_scs.12 hours = 6 } } else_if = { limit = { ic_ratio = { tag = PHI ratio > 1.2 } } add_to_variable = { CHI_scs_framework = -5 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } set_country_flag = CHI_scarborough_contested country_event = { id = china_scs.12 hours = 6 } } else = { add_to_variable = { CHI_chinese_aggression = -3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_timed_idea = { idea = CHI_scs_setback days = 60 } country_event = { id = china_scs.12 hours = 6 } } } ai_will_do = { base = 3 modifier = { add = 2 is_historical_focus_on = yes } modifier = { factor = 0 ic_ratio = { tag = PHI ratio < 1 } } } } CHI_scs_standoff_vietnam = { icon = generic_naval visible = { has_completed_focus = CHI_The_Scarborough_Model country_exists = VIE NOT = { has_war_with = VIE } } available = { has_war = no NOT = { has_war_with = VIE } } cost = 100 days_remove = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_standoff_vietnam executed" add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_standoff_vietnam remove_effect executed" if = { limit = { ic_ratio = { tag = VIE ratio > 3 } } add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } set_country_flag = CHI_scarborough_won VIE = { add_timed_idea = { idea = CHI_national_humiliation days = 365 } } country_event = { id = china_scs.12 hours = 6 } } else_if = { limit = { ic_ratio = { tag = VIE ratio > 1.2 } } add_to_variable = { CHI_scs_framework = -5 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } set_country_flag = CHI_scarborough_contested country_event = { id = china_scs.12 hours = 6 } } else = { add_to_variable = { CHI_chinese_aggression = -3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_timed_idea = { idea = CHI_scs_setback days = 60 } country_event = { id = china_scs.12 hours = 6 } } } ai_will_do = { base = 3 modifier = { add = 2 is_historical_focus_on = yes } modifier = { factor = 0 ic_ratio = { tag = VIE ratio < 1 } } } } CHI_scs_standoff_malaysia = { icon = generic_naval visible = { has_completed_focus = CHI_The_Scarborough_Model country_exists = MAY NOT = { has_war_with = MAY } } available = { has_war = no NOT = { has_war_with = MAY } } cost = 100 days_remove = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_standoff_malaysia executed" add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_standoff_malaysia remove_effect executed" if = { limit = { ic_ratio = { tag = MAY ratio > 3 } } add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } set_country_flag = CHI_scarborough_won MAY = { add_timed_idea = { idea = CHI_national_humiliation days = 365 } } country_event = { id = china_scs.12 hours = 6 } } else_if = { limit = { ic_ratio = { tag = MAY ratio > 1.2 } } add_to_variable = { CHI_scs_framework = -5 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } set_country_flag = CHI_scarborough_contested country_event = { id = china_scs.12 hours = 6 } } else = { add_to_variable = { CHI_chinese_aggression = -3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_timed_idea = { idea = CHI_scs_setback days = 60 } country_event = { id = china_scs.12 hours = 6 } } } ai_will_do = { base = 3 modifier = { add = 2 is_historical_focus_on = yes } modifier = { factor = 0 ic_ratio = { tag = MAY ratio < 1 } } } } CHI_scs_natuna_provocation = { icon = generic_naval visible = { has_completed_focus = CHI_The_Cabbage_Tightens country_exists = IND } available = { has_war = no NOT = { has_war_with = IND } } cost = 50 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_natuna_provocation executed" add_to_variable = { CHI_chinese_aggression = 2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } IND = { country_event = { id = china_scs.70 days = 1 } } } ai_will_do = { base = 2 modifier = { add = 2 is_historical_focus_on = yes } } } CHI_scs_natuna_press_claim = { icon = eng_trade_unions_demand fire_only_once = yes visible = { has_completed_focus = CHI_The_Cabbage_Tightens country_exists = IND custom_trigger_tooltip = { tooltip = CHI_aggression_gt_25_tt check_variable = { CHI_chinese_aggression > 25 } } } available = { has_war = no NOT = { has_war_with = IND } } cost = 200 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_natuna_press_claim executed" add_to_variable = { CHI_chinese_aggression = 5 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_to_variable = { CHI_scs_framework = -8 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } IND = { add_opinion_modifier = { target = ROOT modifier = territorial_integrity_violation } } country_event = { id = china_scs.51 hours = 6 } } ai_will_do = { base = 1 modifier = { add = 2 is_historical_focus_on = no } } } CHI_scs_invoke_doc_2002 = { icon = generic_political_discourse fire_only_once = yes visible = { has_completed_focus = CHI_The_Spirit_Of_Zheng_He } available = { has_war = no } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_invoke_doc_2002 executed" add_to_variable = { CHI_scs_framework = 3 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } VIE = { add_opinion_modifier = { target = ROOT modifier = small_increase } } PHI = { add_opinion_modifier = { target = ROOT modifier = small_increase } } MAY = { add_opinion_modifier = { target = ROOT modifier = small_increase } } news_event = { id = china_scs.31 hours = 6 } } ai_will_do = { base = 2 modifier = { add = 3 is_historical_focus_on = no } } } CHI_scs_block_asean_consensus = { icon = generic_break_treaty visible = { has_completed_focus = CHI_The_Maritime_Silk_Road_Initiative } available = { has_war = no country_exists = CBD country_exists = LAO CBD = { has_opinion = { target = ROOT value > 25 } } LAO = { has_opinion = { target = ROOT value > 25 } } } cost = 150 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_block_asean_consensus executed" add_to_variable = { CHI_chinese_aggression = 2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_to_variable = { CHI_scs_framework = 4 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } set_country_flag = { flag = CHI_scs_asean_consensus_blocked days = 60 value = 1 } CBD = { add_opinion_modifier = { target = ROOT modifier = small_increase } } LAO = { add_opinion_modifier = { target = ROOT modifier = small_increase } } } ai_will_do = { base = 3 modifier = { add = 2 is_historical_focus_on = yes } } } CHI_scs_joint_development_VIE = { icon = generic_construction visible = { has_completed_focus = CHI_The_Maritime_Silk_Road_Initiative country_exists = VIE NOT = { has_country_flag = CHI_scs_jdz_signed_VIE } } available = { has_war = no VIE = { has_opinion = { target = ROOT value > 0 } } custom_trigger_tooltip = { tooltip = CHI_framework_gt_0_tt check_variable = { CHI_scs_framework > 0 } } } cost = 75 days_remove = 90 days_re_enable = 730 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_joint_development_VIE executed" add_to_variable = { CHI_scs_framework = 2 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } VIE = { add_opinion_modifier = { target = ROOT modifier = small_increase } } add_timed_idea = { idea = CHI_scs_jdz_revenue days = 1825 } add_resource = { type = oil amount = 4 state = 526 } add_resource = { type = oil amount = 4 state = 813 } set_country_flag = CHI_scs_jdz_signed_VIE if = { limit = { NOT = { has_country_flag = CHI_scs_first_jdz_signed } } set_country_flag = CHI_scs_first_jdz_signed } news_event = { id = china_scs.33 hours = 6 } } ai_will_do = { base = 2 modifier = { add = 3 is_historical_focus_on = no } } } CHI_scs_joint_development_PHI = { icon = generic_construction visible = { has_completed_focus = CHI_The_Maritime_Silk_Road_Initiative country_exists = PHI NOT = { has_country_flag = CHI_scs_jdz_signed_PHI } } available = { has_war = no PHI = { has_opinion = { target = ROOT value > 0 } } custom_trigger_tooltip = { tooltip = CHI_framework_gt_0_tt check_variable = { CHI_scs_framework > 0 } } } cost = 75 days_remove = 90 days_re_enable = 730 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_joint_development_PHI executed" add_to_variable = { CHI_scs_framework = 2 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } PHI = { add_opinion_modifier = { target = ROOT modifier = small_increase } } add_timed_idea = { idea = CHI_scs_jdz_revenue days = 1825 } add_resource = { type = oil amount = 4 state = 526 } add_resource = { type = oil amount = 4 state = 943 } set_country_flag = CHI_scs_jdz_signed_PHI unlock_decision_tooltip = CHI_scs_infrastructure_loan_PHI if = { limit = { NOT = { has_country_flag = CHI_scs_first_jdz_signed } } set_country_flag = CHI_scs_first_jdz_signed } news_event = { id = china_scs.33 hours = 6 } } ai_will_do = { base = 2 modifier = { add = 3 is_historical_focus_on = no } } } CHI_scs_joint_development_MAY = { icon = generic_construction visible = { has_completed_focus = CHI_The_Maritime_Silk_Road_Initiative country_exists = MAY NOT = { has_country_flag = CHI_scs_jdz_signed_MAY } } available = { has_war = no MAY = { has_opinion = { target = ROOT value > 0 } } custom_trigger_tooltip = { tooltip = CHI_framework_gt_0_tt check_variable = { CHI_scs_framework > 0 } } } cost = 75 days_remove = 90 days_re_enable = 730 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_joint_development_MAY executed" add_to_variable = { CHI_scs_framework = 2 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } MAY = { add_opinion_modifier = { target = ROOT modifier = small_increase } } add_timed_idea = { idea = CHI_scs_jdz_revenue days = 1825 } add_resource = { type = oil amount = 4 state = 531 } add_resource = { type = oil amount = 4 state = 526 } set_country_flag = CHI_scs_jdz_signed_MAY if = { limit = { NOT = { has_country_flag = CHI_scs_first_jdz_signed } } set_country_flag = CHI_scs_first_jdz_signed } news_event = { id = china_scs.33 hours = 6 } } ai_will_do = { base = 2 modifier = { add = 3 is_historical_focus_on = no } } } CHI_scs_infrastructure_loan_VIE = { icon = syr_money_button visible = { has_country_flag = CHI_scs_jdz_signed_VIE NOT = { has_country_flag = CHI_scs_loan_signed_VIE } country_exists = VIE } available = { has_war = no } cost = 100 days_re_enable = 1095 fixed_random_seed = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_infrastructure_loan_VIE executed" add_to_variable = { CHI_scs_framework = 1 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } VIE = { add_opinion_modifier = { target = ROOT modifier = medium_increase } add_timed_idea = { idea = CHI_scs_chinese_debt days = 3650 } } set_country_flag = CHI_scs_loan_signed_VIE random = { chance = 25 VIE = { country_event = { id = china_scs.34 days = 1095 } } } VIE = { CHI = { country_event = { id = china_scs.36 days = 1825 random_days = 730 } } } news_event = { id = china_scs.33 hours = 6 } } ai_will_do = { base = 2 modifier = { add = 3 is_historical_focus_on = no } } } CHI_scs_infrastructure_loan_PHI = { icon = syr_money_button visible = { has_country_flag = CHI_scs_jdz_signed_PHI NOT = { has_country_flag = CHI_scs_loan_signed_PHI } country_exists = PHI } available = { has_war = no } cost = 100 days_re_enable = 1095 fixed_random_seed = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_infrastructure_loan_PHI executed" add_to_variable = { CHI_scs_framework = 1 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } PHI = { add_opinion_modifier = { target = ROOT modifier = medium_increase } add_timed_idea = { idea = CHI_scs_chinese_debt days = 3650 } } set_country_flag = CHI_scs_loan_signed_PHI random = { chance = 25 PHI = { country_event = { id = china_scs.34 days = 1095 } } } PHI = { CHI = { country_event = { id = china_scs.36 days = 1825 random_days = 730 } } } news_event = { id = china_scs.33 hours = 6 } } ai_will_do = { base = 2 modifier = { add = 3 is_historical_focus_on = no } } } CHI_scs_infrastructure_loan_MAY = { icon = syr_money_button visible = { has_country_flag = CHI_scs_jdz_signed_MAY NOT = { has_country_flag = CHI_scs_loan_signed_MAY } country_exists = MAY } available = { has_war = no } cost = 100 days_re_enable = 1095 fixed_random_seed = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_infrastructure_loan_MAY executed" add_to_variable = { CHI_scs_framework = 1 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } MAY = { add_opinion_modifier = { target = ROOT modifier = medium_increase } add_timed_idea = { idea = CHI_scs_chinese_debt days = 3650 } } set_country_flag = CHI_scs_loan_signed_MAY random = { chance = 25 MAY = { country_event = { id = china_scs.34 days = 1095 } } } MAY = { CHI = { country_event = { id = china_scs.36 days = 1825 random_days = 730 } } } news_event = { id = china_scs.33 hours = 6 } } ai_will_do = { base = 2 modifier = { add = 3 is_historical_focus_on = no } } } CHI_scs_boundary_codification_VIE = { icon = generic_decision fire_only_once = yes visible = { has_country_flag = CHI_scs_loan_signed_VIE NOT = { has_country_flag = CHI_scs_codified_VIE } country_exists = VIE } available = { has_war = no VIE = { has_opinion = { target = ROOT value > 25 } } custom_trigger_tooltip = { tooltip = CHI_framework_gt_20_tt check_variable = { CHI_scs_framework > 20 } } } cost = 200 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_boundary_codification_VIE executed" add_to_variable = { CHI_scs_framework = 8 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } add_to_variable = { CHI_chinese_aggression = -2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } set_country_flag = CHI_scs_codified_VIE news_event = { id = china_scs.33 hours = 6 } } ai_will_do = { base = 2 modifier = { add = 3 is_historical_focus_on = no } } } CHI_scs_boundary_codification_PHI = { icon = generic_decision fire_only_once = yes visible = { has_country_flag = CHI_scs_loan_signed_PHI NOT = { has_country_flag = CHI_scs_codified_PHI } country_exists = PHI } available = { has_war = no PHI = { has_opinion = { target = ROOT value > 25 } } custom_trigger_tooltip = { tooltip = CHI_framework_gt_20_tt check_variable = { CHI_scs_framework > 20 } } } cost = 200 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_boundary_codification_PHI executed" add_to_variable = { CHI_scs_framework = 8 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } add_to_variable = { CHI_chinese_aggression = -2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } set_country_flag = CHI_scs_codified_PHI news_event = { id = china_scs.33 hours = 6 } } ai_will_do = { base = 2 modifier = { add = 3 is_historical_focus_on = no } } } CHI_scs_boundary_codification_MAY = { icon = generic_decision fire_only_once = yes visible = { has_country_flag = CHI_scs_loan_signed_MAY NOT = { has_country_flag = CHI_scs_codified_MAY } country_exists = MAY } available = { has_war = no MAY = { has_opinion = { target = ROOT value > 25 } } custom_trigger_tooltip = { tooltip = CHI_framework_gt_20_tt check_variable = { CHI_scs_framework > 20 } } } cost = 200 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_boundary_codification_MAY executed" add_to_variable = { CHI_scs_framework = 8 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } add_to_variable = { CHI_chinese_aggression = -2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } set_country_flag = CHI_scs_codified_MAY news_event = { id = china_scs.33 hours = 6 } } ai_will_do = { base = 2 modifier = { add = 3 is_historical_focus_on = no } } } CHI_scs_first_island_chain_exercise = { icon = generic_naval visible = { has_completed_focus = CHI_Liu_Huaqing_Doctrine } available = { has_war = no } cost = 75 days_remove = 120 days_re_enable = 365 modifier = { naval_mastery_gain_factor = 0.10 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_first_island_chain_exercise remove_effect executed" add_to_variable = { CHI_chinese_aggression = 2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_to_variable = { CHI_scs_framework = -3 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } navy_experience = 20 } ai_will_do = { base = 3 } } CHI_scs_carrier_strike_group_deployment = { icon = HOL_air_carrier visible = { has_completed_focus = CHI_The_PLAN_Expeditionary_Buildup } available = { has_war = no } cost = 100 days_remove = 90 days_re_enable = 180 modifier = { naval_invasion_prep_speed = 0.10 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_carrier_strike_group_deployment executed" add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_carrier_strike_group_deployment remove_effect executed" add_to_variable = { CHI_chinese_aggression = 5 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_to_variable = { CHI_scs_framework = -2 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } } ai_will_do = { base = 3 } } CHI_scs_assertive_patrol_VIE = { fixed_random_seed = no icon = generic_naval visible = { has_completed_focus = CHI_The_Mandate_Of_The_Seas country_exists = VIE } available = { has_war = no } cost = 80 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_assertive_patrol_VIE executed" add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_to_variable = { CHI_scs_framework = -2 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } random_list = { 50 = { modifier = { factor = 1.5 naval_strength_comparison = { other = VIE ratio > 1.5 } } modifier = { factor = 0.5 VIE = { is_in_faction_with = USA } } add_to_variable = { CHI_scs_clash_counter_VIE = 1 tooltip = CHI_scs_clash_counter_VIE_tt } VIE = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } } 30 = { USA = { country_event = { id = china_scs.13 days = 7 } } } 20 = { modifier = { factor = 0 naval_strength_comparison = { other = VIE ratio > 2.0 } } navy_experience = -10 add_to_variable = { CHI_scs_framework = -3 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } VIE = { add_war_support = 0.02 } add_timed_idea = { idea = CHI_scs_setback days = 180 } } } } ai_will_do = { base = 5 modifier = { factor = 0 check_variable = { CHI_scs_clash_counter_VIE > 4 } } } } CHI_scs_assertive_patrol_PHI = { fixed_random_seed = no icon = generic_naval visible = { has_completed_focus = CHI_The_Mandate_Of_The_Seas country_exists = PHI } available = { has_war = no } cost = 80 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_assertive_patrol_PHI executed" add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_to_variable = { CHI_scs_framework = -2 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } random_list = { 50 = { modifier = { factor = 1.5 naval_strength_comparison = { other = PHI ratio > 1.5 } } modifier = { factor = 0.5 PHI = { is_in_faction_with = USA } } add_to_variable = { CHI_scs_clash_counter_PHI = 1 tooltip = CHI_scs_clash_counter_PHI_tt } PHI = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } } 30 = { USA = { country_event = { id = china_scs.13 days = 7 } } } 20 = { modifier = { factor = 0 naval_strength_comparison = { other = PHI ratio > 2.0 } } navy_experience = -10 add_to_variable = { CHI_scs_framework = -3 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } PHI = { add_war_support = 0.02 } add_timed_idea = { idea = CHI_scs_setback days = 180 } } } } ai_will_do = { base = 5 modifier = { factor = 0 check_variable = { CHI_scs_clash_counter_PHI > 4 } } } } CHI_scs_assertive_patrol_MAY = { fixed_random_seed = no icon = generic_naval visible = { has_completed_focus = CHI_The_Mandate_Of_The_Seas country_exists = MAY } available = { has_war = no } cost = 80 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_assertive_patrol_MAY executed" add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_to_variable = { CHI_scs_framework = -2 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } random_list = { 50 = { modifier = { factor = 1.5 naval_strength_comparison = { other = MAY ratio > 1.5 } } modifier = { factor = 0.5 MAY = { is_in_faction_with = USA } } add_to_variable = { CHI_scs_clash_counter_MAY = 1 tooltip = CHI_scs_clash_counter_MAY_tt } MAY = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } } 30 = { USA = { country_event = { id = china_scs.13 days = 7 } } } 20 = { modifier = { factor = 0 naval_strength_comparison = { other = MAY ratio > 2.0 } } navy_experience = -10 add_to_variable = { CHI_scs_framework = -3 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } MAY = { add_war_support = 0.02 } add_timed_idea = { idea = CHI_scs_setback days = 180 } } } } ai_will_do = { base = 5 modifier = { factor = 0 check_variable = { CHI_scs_clash_counter_MAY > 4 } } } } CHI_scs_demand_tribute_VIE = { icon = eng_trade_unions_demand fire_only_once = yes visible = { has_completed_focus = CHI_Reclaim_The_Heavenly_Waters country_exists = VIE NOT = { has_country_flag = CHI_scs_ultimatum_issued_VIE } } available = { has_war = no custom_trigger_tooltip = { tooltip = CHI_scs_clash_counter_VIE_req_tt check_variable = { CHI_scs_clash_counter_VIE > 2 } } } cost = 200 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_demand_tribute_VIE executed" VIE = { country_event = { id = china_scs.52 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { transfer_state = 813 } custom_effect_tooltip = TT_IF_THEY_REJECT effect_tooltip = { set_country_flag = CHI_scs_ultimatum_issued_VIE } country_event = { id = china_scs.51 hours = 6 } } ai_will_do = { base = 0 modifier = { add = 5 is_historical_focus_on = no date > 2025.1.1 } } } CHI_scs_demand_tribute_PHI = { icon = eng_trade_unions_demand fire_only_once = yes visible = { has_completed_focus = CHI_Reclaim_The_Heavenly_Waters country_exists = PHI NOT = { has_country_flag = CHI_scs_ultimatum_issued_PHI } } available = { has_war = no custom_trigger_tooltip = { tooltip = CHI_scs_clash_counter_PHI_req_tt check_variable = { CHI_scs_clash_counter_PHI > 2 } } } cost = 200 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_demand_tribute_PHI executed" PHI = { country_event = { id = china_scs.52 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { transfer_state = 943 } custom_effect_tooltip = TT_IF_THEY_REJECT effect_tooltip = { set_country_flag = CHI_scs_ultimatum_issued_PHI } country_event = { id = china_scs.51 hours = 6 } } ai_will_do = { base = 0 modifier = { add = 5 is_historical_focus_on = no date > 2025.1.1 } } } CHI_scs_demand_tribute_MAY = { icon = eng_trade_unions_demand fire_only_once = yes visible = { has_completed_focus = CHI_Reclaim_The_Heavenly_Waters country_exists = MAY NOT = { has_country_flag = CHI_scs_ultimatum_issued_MAY } } available = { has_war = no custom_trigger_tooltip = { tooltip = CHI_scs_clash_counter_MAY_req_tt check_variable = { CHI_scs_clash_counter_MAY > 2 } } } cost = 200 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_demand_tribute_MAY executed" MAY = { country_event = { id = china_scs.52 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { transfer_state = 526 } custom_effect_tooltip = TT_IF_THEY_REJECT effect_tooltip = { set_country_flag = CHI_scs_ultimatum_issued_MAY } country_event = { id = china_scs.51 hours = 6 } } ai_will_do = { base = 0 modifier = { add = 5 is_historical_focus_on = no date > 2025.1.1 } } } CHI_scs_summon_dragon_king_blessing = { icon = eng_abdication_crisis visible = { has_completed_focus = CHI_The_Mandate_Of_The_Seas } available = { has_war = no } cost = 25 days_re_enable = 1095 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_summon_dragon_king_blessing executed" add_timed_idea = { idea = CHI_mazu_blessing days = 180 } } ai_will_do = { base = 3 } } CHI_scs_reclaim_taiping = { icon = eng_puppet_usa fire_only_once = yes visible = { has_completed_focus = CHI_The_Sea_Within_The_Sea country_exists = TAI controls_state = 526 controls_state = 813 controls_state = 943 } available = { has_war = no } cost = 300 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_scs_reclaim_taiping executed" transfer_state = 491 add_state_core = 491 TAI = { add_opinion_modifier = { target = ROOT modifier = territorial_integrity_violation } } add_to_variable = { CHI_chinese_aggression = 8 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_to_variable = { CHI_scs_framework = -5 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } } ai_will_do = { base = 3 modifier = { add = 20 is_historical_focus_on = no } } } } CHI_japan_strategy = { CHI_activate_rare_earth_embargo = { icon = SWI_isolate_switzerland allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_the_rare_earth_lever NOT = { has_country_flag = CHI_rare_earth_embargo_active } } available = { country_exists = JAP NOT = { has_war_with = JAP } NOT = { JAP = { has_country_flag = CHI_jap_rare_earth_resilient } } } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_activate_rare_earth_embargo executed" set_country_flag = CHI_rare_earth_embargo_active JAP = { capital_scope = { add_dynamic_modifier = { modifier = CHI_rare_earth_embargoed } } add_opinion_modifier = { target = CHI modifier = threatened_measures } } add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_will_do = { base = 2 modifier = { factor = 0 has_war_with = JAP } modifier = { factor = 0 JAP = { has_country_flag = CHI_jap_rare_earth_resilient } } } } CHI_lift_rare_earth_embargo = { icon = SWI_support_humanitarian_efforts allowed = { original_tag = CHI } visible = { has_country_flag = CHI_rare_earth_embargo_active } available = { always = yes } cost = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_lift_rare_earth_embargo executed" clr_country_flag = CHI_rare_earth_embargo_active JAP = { capital_scope = { if = { limit = { has_dynamic_modifier = { modifier = CHI_rare_earth_embargoed } } remove_dynamic_modifier = { modifier = CHI_rare_earth_embargoed } } } } } ai_will_do = { base = 0 modifier = { add = 5 has_war_with = JAP } modifier = { add = 3 JAP = { has_country_flag = CHI_jap_rare_earth_resilient } } modifier = { add = 3 JAP = { has_country_flag = JAP_rare_earth_capitulated } } } } CHI_patrol_diaoyu_fishing_grounds = { icon = generic_naval allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_the_diaoyu_sovereignty_declaration } available = { country_exists = JAP NOT = { has_war_with = JAP } } cost = 50 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_patrol_diaoyu_fishing_grounds executed" add_to_variable = { var = CHI_senkaku_pressure value = 3 tooltip = CHI_senkaku_pressure_tt } clamp_variable = { var = CHI_senkaku_pressure min = 0 max = 100 } add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } if = { limit = { NOT = { has_country_flag = CHI_diaoyu_fishing_demand_sent } } set_country_flag = CHI_diaoyu_fishing_demand_sent JAP = { country_event = { id = Japan.8 days = 3 } } } } ai_will_do = { base = 1 modifier = { factor = 0 has_war_with = JAP } } } CHI_deploy_paf_maritime_militia = { icon = SWE_set_navy_budget allowed = { original_tag = CHI } visible = { has_completed_focus = CHI_the_maritime_militia_initiative NOT = { has_country_flag = CHI_paf_militia_toggle_active } } available = { country_exists = JAP NOT = { has_war_with = JAP } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_deploy_paf_maritime_militia executed" set_country_flag = CHI_paf_militia_toggle_active 939 = { add_dynamic_modifier = { modifier = CHI_coast_guard_standoff } } add_to_variable = { CHI_senkaku_pressure = 5 tooltip = CHI_senkaku_pressure_tt } clamp_variable = { var = CHI_senkaku_pressure min = 0 max = 100 } } ai_will_do = { base = 2 modifier = { factor = 0 has_war_with = JAP } } } CHI_recall_paf_maritime_militia = { icon = SWE_set_navy_budget allowed = { original_tag = CHI } visible = { has_country_flag = CHI_paf_militia_toggle_active } available = { always = yes } cost = 0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_recall_paf_maritime_militia executed" clr_country_flag = CHI_paf_militia_toggle_active 939 = { if = { limit = { has_dynamic_modifier = { modifier = CHI_coast_guard_standoff } } remove_dynamic_modifier = { modifier = CHI_coast_guard_standoff } } } } ai_will_do = { base = 0 modifier = { add = 5 has_war_with = JAP } modifier = { add = 3 check_variable = { CHI_senkaku_pressure > 95 } } } } CHI_jap_capitulate_to_demands = { icon = generic_political_discourse allowed = { original_tag = JAP } visible = { CHI = { has_country_flag = CHI_rare_earth_embargo_active } NOT = { has_country_flag = CHI_jap_rare_earth_resilient } } available = { NOT = { has_war_with = CHI } } cost = 200 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_jap_capitulate_to_demands executed" set_country_flag = JAP_rare_earth_capitulated capital_scope = { if = { limit = { has_dynamic_modifier = { modifier = CHI_rare_earth_embargoed } } remove_dynamic_modifier = { modifier = CHI_rare_earth_embargoed } } } CHI = { clr_country_flag = CHI_rare_earth_embargo_active add_political_power = 100 add_opinion_modifier = { target = JAP modifier = threatened_measures } } add_stability = -0.05 } ai_will_do = { base = 1 modifier = { factor = 0 has_country_flag = CHI_jap_rare_earth_resilient } modifier = { factor = 2 has_war_with = CHI } } } CHI_jap_diversify_rare_earth = { icon = generic_construction allowed = { original_tag = JAP } visible = { CHI = { has_country_flag = CHI_rare_earth_embargo_active } NOT = { has_country_flag = CHI_jap_rare_earth_resilient } } available = { NOT = { has_war_with = CHI } } cost = 100 days_remove = 365 fire_only_once = yes modifier = { civilian_factory_use = 2 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_jap_diversify_rare_earth started" add_timed_idea = { idea = JAP_rare_earth_diversification days = 365 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_jap_diversify_rare_earth completed" set_country_flag = CHI_jap_rare_earth_resilient capital_scope = { if = { limit = { has_dynamic_modifier = { modifier = CHI_rare_earth_embargoed } } remove_dynamic_modifier = { modifier = CHI_rare_earth_embargoed } } } CHI = { clr_country_flag = CHI_rare_earth_embargo_active } } ai_will_do = { base = 5 modifier = { factor = 0 has_political_power < 100 } } } CHI_jap_reinforce_coast_guard = { icon = generic_naval allowed = { original_tag = JAP } visible = { CHI = { has_country_flag = CHI_paf_militia_toggle_active } } available = { NOT = { has_war_with = CHI } } cost = 50 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_jap_reinforce_coast_guard executed" navy_experience = 5 CHI = { add_to_variable = { CHI_senkaku_pressure = 1 tooltip = CHI_senkaku_pressure_tt } clamp_variable = { var = CHI_senkaku_pressure min = 0 max = 100 } } } ai_will_do = { base = 2 modifier = { factor = 0 has_war_with = CHI } } } CHI_jap_open_back_channel = { icon = GFX_decision_generic_decision allowed = { original_tag = JAP } visible = { CHI = { has_country_flag = CHI_senkaku_back_channel_open } } available = { NOT = { has_war_with = CHI } } cost = 75 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_jap_open_back_channel executed" CHI = { add_to_variable = { CHI_senkaku_pressure = -15 tooltip = CHI_senkaku_pressure_tt } clamp_variable = { var = CHI_senkaku_pressure min = 0 max = 100 } add_opinion_modifier = { target = JAP modifier = senkaku_back_channel } } add_opinion_modifier = { target = CHI modifier = senkaku_back_channel } } ai_will_do = { base = 3 modifier = { factor = 0 has_war_with = CHI } modifier = { add = 3 CHI = { check_variable = { CHI_senkaku_pressure > 60 } } } } } CHI_push_rcep_signing = { icon = GFX_decision_generic_decision allowed = { original_tag = CHI } available = { has_completed_focus = CHI_the_rcep_acceleration custom_trigger_tooltip = { tooltip = CHI_aggression_below_0_tt check_variable = { CHI_chinese_aggression < 0 } } NOT = { has_war_with = JAP } } cost = 75 days_remove = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_push_rcep_signing started" } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_push_rcep_signing completed" add_ideas = CHI_rcep_member add_to_variable = { CHI_chinese_aggression = -1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_will_do = { base = 5 } } CHI_cancel_east_china_sea_exercise = { icon = generic_break_treaty allowed = { original_tag = CHI } available = { has_completed_focus = CHI_assuage_japanese_concerns NOT = { has_war_with = JAP } } cost = 30 days_re_enable = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_cancel_east_china_sea_exercise executed" army_experience = -5 add_to_variable = { CHI_chinese_aggression = -2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } JAP = { add_opinion_modifier = { target = CHI modifier = peaceful_rise } } } ai_will_do = { base = 1 modifier = { factor = 0 has_war_with = JAP } modifier = { add = 2 check_variable = { CHI_chinese_aggression > -10 } } } } CHI_convene_bilateral_channel = { icon = hol_exchange_intelligence_data allowed = { original_tag = CHI } available = { has_completed_focus = CHI_the_quad_wedge_strategy NOT = { has_war_with = JAP } NOT = { has_war_with = USA } } cost = 50 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_convene_bilateral_channel executed" JAP = { add_opinion_modifier = { target = USA modifier = CHI_quad_wedge_doubt } add_opinion_modifier = { target = CHI modifier = peaceful_rise } } } ai_will_do = { base = 2 modifier = { factor = 0 has_war_with = JAP } } } CHI_invite_JAP_mitsubishi_aerospace = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_mitsubishi_aerospace executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_air_attack_factor = 0.02 tooltip = air_attack_factor_tt } add_to_variable = { CHI_jap_industry_air_research_factor = 0.03 tooltip = industry_air_research_factor_tt } random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.231 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_kawasaki_aerospace = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_kawasaki_aerospace executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_air_range_factor = 0.03 tooltip = air_range_factor_tt } random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.232 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_jsw = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_jsw executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_army_armor_attack_factor = 0.02 tooltip = army_armor_attack_factor_tt } add_to_variable = { CHI_jap_armor_research_factor = 0.02 tooltip = armor_research_factor_tt } if = { limit = { has_dlc = "Arms Against Tyranny" } set_country_flag = CHI_JAP_jsw_partnered } else = { random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.233 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_mhi_tank = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_mhi_tank executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_army_armor_attack_factor = 0.03 tooltip = army_armor_attack_factor_tt } if = { limit = { has_dlc = "Arms Against Tyranny" } set_country_flag = CHI_JAP_mhi_tank_partnered } else = { random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.234 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_komatsu = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_komatsu executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_army_armor_defence_factor = 0.02 tooltip = army_armor_defence_factor_tt } if = { limit = { has_dlc = "Arms Against Tyranny" } set_country_flag = CHI_JAP_komatsu_partnered } else = { random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.235 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_subaru = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_subaru executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_army_armor_defence_factor = 0.02 tooltip = army_armor_defence_factor_tt } if = { limit = { has_dlc = "Arms Against Tyranny" } set_country_flag = CHI_JAP_subaru_partnered } else = { random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.236 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_howa = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_howa executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_army_artillery_attack_factor = 0.03 tooltip = army_artillery_attack_factor_tt } if = { limit = { has_dlc = "Arms Against Tyranny" } set_country_flag = CHI_JAP_howa_partnered } else = { random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.237 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_nec = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_nec executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_electronics_research_factor = 0.02 tooltip = electronics_research_factor_tt } if = { limit = { has_dlc = "Arms Against Tyranny" } set_country_flag = CHI_JAP_nec_partnered } else = { random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.238 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_toshiba = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_toshiba executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_electronics_research_factor = 0.02 tooltip = electronics_research_factor_tt } if = { limit = { has_dlc = "Arms Against Tyranny" } set_country_flag = CHI_JAP_toshiba_partnered } else = { random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.239 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_mitsubishi_shipbuilding = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_mitsubishi_shipbuilding executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_naval_speed_factor = 0.03 tooltip = naval_speed_factor_tt } add_to_variable = { CHI_jap_naval_research_factor = 0.02 tooltip = naval_research_factor_tt } random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.240 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_kawasaki_shipbuilding = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_kawasaki_shipbuilding executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_naval_torpedo_screen_penetration_factor = 0.02 tooltip = naval_torpedo_screen_penetration_factor_tt } random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.241 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_ihi = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_ihi executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_naval_speed_factor = 0.02 tooltip = naval_speed_factor_tt } random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.242 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_jmu = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_jmu executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_naval_research_factor = 0.02 tooltip = naval_research_factor_tt } random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.243 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_toyota = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_toyota executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_production_speed_arms_factory_factor = 0.05 tooltip = production_speed_arms_factory_factor_tt } add_to_variable = { CHI_jap_monthly_population = 0.05 tooltip = monthly_population_tt } random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.244 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_honda = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_honda executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_production_speed_arms_factory_factor = 0.04 tooltip = production_speed_arms_factory_factor_tt } add_to_variable = { CHI_jap_research_speed_factor = 0.02 tooltip = research_speed_factor_tt } random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.245 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_nippon_steel = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_nippon_steel executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_production_factory_efficiency_gain_factor = 0.05 tooltip = production_factory_efficiency_gain_factor_tt } add_to_variable = { CHI_jap_production_speed_industrial_complex_factor = 0.03 tooltip = production_speed_industrial_complex_factor_tt } random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.246 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_hitachi = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_hitachi executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_civilian_factories_productivity = 0.04 tooltip = civilian_factories_productivity_tt } add_to_variable = { CHI_jap_research_speed_factor = 0.03 tooltip = research_speed_factor_tt } random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.247 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_panasonic = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_panasonic executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_electronics_research_factor = 0.04 tooltip = electronics_research_factor_tt } add_to_variable = { CHI_jap_consumer_goods_factor = -0.05 tooltip = consumer_goods_factor_tt } random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.248 days = 7 } } } ai_will_do = { base = 3 } } CHI_invite_JAP_jr_east = { icon = JAP_zaibatsu_faction allowed = { original_tag = CHI } fire_only_once = yes visible = { country_exists = JAP custom_trigger_tooltip = { tooltip = CHI_JAP_invitations_remaining_tt check_variable = { CHI_JAP_invitations_used < 8 } } } available = { has_war = no NOT = { has_war_with = JAP } JAP = { has_opinion = { target = ROOT value > 0 } NOT = { has_government = nationalist } } } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_JAP_jr_east executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_jap_industrial_partnerships } add_to_variable = { CHI_jap_production_speed_infrastructure_factor = 0.05 tooltip = production_speed_infrastructure_factor_tt } add_to_variable = { CHI_jap_monthly_population = 0.05 tooltip = monthly_population_tt } random_owned_controlled_state = { limit = { is_capital = yes } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } add_to_variable = { CHI_JAP_invitations_used = 1 } clamp_variable = { var = CHI_JAP_invitations_used min = 0 max = 8 } JAP = { country_event = { id = CHI_foreign.249 days = 7 } } } ai_will_do = { base = 3 } } } CHI_BRI_management = { CHI_FOCAC_Summit = { icon = generic_speech visible = { has_completed_focus = CHI_Forum_on_China_African_Cooperation } available = { has_war = no custom_trigger_tooltip = { tooltip = CHI_bri_dual_treasury_50_tt check_variable = { var = CHI_bri_treasury value = 50 compare = greater_than_or_equals } check_variable = { var = treasury value = 50 compare = greater_than_or_equals } } } cost = 100 days_remove = 30 days_re_enable = 1095 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_FOCAC_Summit executed" subtract_from_variable = { CHI_bri_treasury = 50 } for_each_scope_loop = { array = global.is_african_nation if = { limit = { NOT = { has_war_with = CHI } } add_opinion_modifier = { target = CHI modifier = medium_increase } } } country_event = { id = chi_bri.80 days = 1 } newline = yes set_temp_variable = { treasury_change = -50 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 5 has_government = neutrality } modifier = { factor = 3 has_stability < 0.5 } modifier = { factor = 0 has_war = yes } } } CHI_BRI_Forum_Triennial = { icon = generic_speech visible = { has_completed_focus = CHI_BRI_Forum_Beijing } available = { has_war = no custom_trigger_tooltip = { tooltip = CHI_bri_treasury_gt_149_tt check_variable = { var = CHI_bri_treasury value = 150 compare = greater_than_or_equals } } } cost = 200 days_remove = 30 days_re_enable = 1095 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_BRI_Forum_Triennial executed" subtract_from_variable = { CHI_bri_treasury = 150 } clamp_variable = { var = CHI_bri_treasury min = 0 } country_event = { id = chi_bri.40 days = 1 } newline = yes set_temp_variable = { treasury_change = -150 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 5 has_government = neutrality } modifier = { factor = 3 has_stability < 0.5 } modifier = { factor = 0 has_war = yes } } } CHI_BRI_automation_enable = { icon = generic_political_discourse visible = { is_ai = no NOT = { has_country_flag = CHI_bri_auto_accept } } cost = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_BRI_automation_enable executed" set_country_flag = CHI_bri_auto_accept custom_effect_tooltip = CHI_BRI_automation_enable_tt } ai_will_do = { base = 0 } } CHI_BRI_automation_disable = { icon = generic_political_discourse visible = { is_ai = no has_country_flag = CHI_bri_auto_accept } cost = 0 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_BRI_automation_disable executed" clr_country_flag = CHI_bri_auto_accept custom_effect_tooltip = CHI_BRI_automation_disable_tt } ai_will_do = { base = 0 } } CHI_bri_raise_contribution = { icon = generic_fundraising available = { custom_trigger_tooltip = { tooltip = CHI_bri_contribution_cap_tt check_variable = { CHI_bri_monthly_income_base < 30 } } } cost = 75 fire_only_once = no days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_bri_raise_contribution executed" add_to_variable = { CHI_bri_monthly_income_base = 4 tooltip = CHI_bri_monthly_income_tt } clamp_variable = { var = CHI_bri_monthly_income_base max = 30 } } ai_will_do = { base = 10 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_Debt_Restructuring = { icon = generic_fundraising target_root_trigger = { has_completed_focus = CHI_Win_Win_Cooperation } target_array = CHI_bri_debtors target_trigger = { FROM = { NOT = { original_tag = CHI } NOT = { has_war_with = CHI } has_country_flag = bri_defaulted } } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_Debt_Restructuring executed" FROM = { CHI_bri_restructure_loan = yes custom_effect_tooltip = CHI_bri_restructure_loan_tt add_opinion_modifier = { target = CHI modifier = medium_increase } } add_to_variable = { CHI_bri_winwin_score = 2 tooltip = CHI_bri_winwin_score_tt } } ai_will_do = { base = 1 modifier = { factor = 5 has_government = neutrality } modifier = { factor = 3 has_stability < 0.5 } modifier = { factor = 0 has_war = yes } } } CHI_Asset_Seizure = { icon = infiltrate_state target_root_trigger = { has_completed_focus = CHI_Predatory_Lending_Doctrine } target_array = CHI_bri_debtors target_trigger = { FROM = { NOT = { original_tag = CHI } NOT = { has_war_with = CHI } has_country_flag = bri_defaulted CHI_bri_has_reclaimable_structure = yes } } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_Asset_Seizure executed" FROM = { CHI_bri_reclaim_structure = yes } if = { limit = { FROM = { check_variable = { bri_structure_reclaimed = 1 } } } FROM = { set_temp_variable = { bri_debt_reduction = CHI.CHI_bri_project_cost } CHI_bri_reduce_loan = yes add_opinion_modifier = { target = CHI modifier = large_decrease } } custom_effect_tooltip = CHI_Asset_Seizure_tt add_to_variable = { CHI_bri_global_presence = 3 tooltip = CHI_bri_global_presence_tt } CHI_bri_recalc_presence = yes newline = yes set_temp_variable = { treasury_change = 25 } modify_treasury_effect = yes } add_to_variable = { CHI_bri_predatory_score = 1 tooltip = CHI_bri_predatory_score_tt } } ai_will_do = { base = 1 modifier = { factor = 5 has_government = neutrality } modifier = { factor = 3 has_stability < 0.5 } modifier = { factor = 0 has_war = yes } } } CHI_bri_claim_resource_rights = { icon = generic_industry target_root_trigger = { has_completed_focus = CHI_Predatory_Lending_Doctrine has_political_power > 49 } target_array = CHI_bri_debtors target_trigger = { FROM = { NOT = { original_tag = CHI } NOT = { has_war_with = CHI } has_country_flag = bri_defaulted NOT = { has_idea = CHI_bri_resource_concession_idea } } } cost = 50 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_bri_claim_resource_rights executed" FROM = { country_event = { id = chi_bri.17 days = 2 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { FROM = { set_temp_variable = { bri_debt_reduction = CHI.CHI_bri_project_cost } CHI_bri_reduce_loan = yes add_ideas = CHI_bri_resource_concession_idea } } add_to_variable = { CHI_bri_predatory_score = 1 tooltip = CHI_bri_predatory_score_tt } } ai_will_do = { base = 1 modifier = { factor = 3 has_war = no } modifier = { factor = 0 has_war = yes } } } CHI_Surveillance_Export = { icon = generic_police_action target_root_trigger = { has_completed_focus = CHI_Digital_Silk_Road_Initiative has_war = no check_variable = { var = CHI_bri_treasury value = 80 compare = greater_than_or_equals } check_variable = { var = treasury value = 80 compare = greater_than_or_equals } } target_array = global.countries target_trigger = { FROM = { NOT = { original_tag = CHI } NOT = { has_government = democratic } NOT = { has_idea = chinese_surveillance_systems } } } cost = 75 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_Surveillance_Export executed" subtract_from_variable = { CHI_bri_treasury = 80 } FROM = { add_ideas = chinese_surveillance_systems } newline = yes set_temp_variable = { treasury_change = -80 } modify_treasury_effect = yes } ai_will_do = { base = 1 modifier = { factor = 5 has_government = neutrality } modifier = { factor = 3 has_stability < 0.5 } modifier = { factor = 0 has_war = yes } } } # Promote the corresponding idea when a project counter reaches its next tier. CHI_BRI_promote_maritime_network = { icon = syr_self_button visible = { NOT = { has_idea = CHI_bri_ports_tier_3_idea } } available = { custom_trigger_tooltip = { tooltip = CHI_bri_ports_next_tier_tt OR = { AND = { check_variable = { CHI_bri_ports_built > 4 } NOT = { has_idea = CHI_bri_ports_tier_1_idea } NOT = { has_idea = CHI_bri_ports_tier_2_idea } NOT = { has_idea = CHI_bri_ports_tier_3_idea } } AND = { check_variable = { CHI_bri_ports_built > 14 } has_idea = CHI_bri_ports_tier_1_idea } AND = { check_variable = { CHI_bri_ports_built > 29 } has_idea = CHI_bri_ports_tier_2_idea } } } } fire_only_once = no cost = 25 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_BRI_promote_maritime_network executed" if = { limit = { check_variable = { CHI_bri_ports_built > 29 } has_idea = CHI_bri_ports_tier_2_idea } swap_ideas = { remove_idea = CHI_bri_ports_tier_2_idea add_idea = CHI_bri_ports_tier_3_idea } } else_if = { limit = { check_variable = { CHI_bri_ports_built > 14 } has_idea = CHI_bri_ports_tier_1_idea } swap_ideas = { remove_idea = CHI_bri_ports_tier_1_idea add_idea = CHI_bri_ports_tier_2_idea } } else = { add_ideas = CHI_bri_ports_tier_1_idea } } ai_will_do = { base = 100 } } CHI_BRI_promote_overland_corridors = { icon = syr_self_button visible = { NOT = { has_idea = CHI_bri_railways_tier_3_idea } } available = { custom_trigger_tooltip = { tooltip = CHI_bri_railways_next_tier_tt OR = { AND = { check_variable = { CHI_bri_railways_built > 4 } NOT = { has_idea = CHI_bri_railways_tier_1_idea } NOT = { has_idea = CHI_bri_railways_tier_2_idea } NOT = { has_idea = CHI_bri_railways_tier_3_idea } } AND = { check_variable = { CHI_bri_railways_built > 14 } has_idea = CHI_bri_railways_tier_1_idea } AND = { check_variable = { CHI_bri_railways_built > 29 } has_idea = CHI_bri_railways_tier_2_idea } } } } fire_only_once = no cost = 25 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_BRI_promote_overland_corridors executed" if = { limit = { check_variable = { CHI_bri_railways_built > 29 } has_idea = CHI_bri_railways_tier_2_idea } swap_ideas = { remove_idea = CHI_bri_railways_tier_2_idea add_idea = CHI_bri_railways_tier_3_idea } } else_if = { limit = { check_variable = { CHI_bri_railways_built > 14 } has_idea = CHI_bri_railways_tier_1_idea } swap_ideas = { remove_idea = CHI_bri_railways_tier_1_idea add_idea = CHI_bri_railways_tier_2_idea } } else = { add_ideas = CHI_bri_railways_tier_1_idea } } ai_will_do = { base = 100 } } CHI_BRI_promote_energy_arteries = { icon = syr_self_button visible = { NOT = { has_idea = CHI_bri_pipelines_tier_3_idea } } available = { custom_trigger_tooltip = { tooltip = CHI_bri_pipelines_next_tier_tt OR = { AND = { check_variable = { CHI_bri_pipelines_built > 4 } NOT = { has_idea = CHI_bri_pipelines_tier_1_idea } NOT = { has_idea = CHI_bri_pipelines_tier_2_idea } NOT = { has_idea = CHI_bri_pipelines_tier_3_idea } } AND = { check_variable = { CHI_bri_pipelines_built > 14 } has_idea = CHI_bri_pipelines_tier_1_idea } AND = { check_variable = { CHI_bri_pipelines_built > 29 } has_idea = CHI_bri_pipelines_tier_2_idea } } } } fire_only_once = no cost = 25 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_BRI_promote_energy_arteries executed" if = { limit = { check_variable = { CHI_bri_pipelines_built > 29 } has_idea = CHI_bri_pipelines_tier_2_idea } swap_ideas = { remove_idea = CHI_bri_pipelines_tier_2_idea add_idea = CHI_bri_pipelines_tier_3_idea } } else_if = { limit = { check_variable = { CHI_bri_pipelines_built > 14 } has_idea = CHI_bri_pipelines_tier_1_idea } swap_ideas = { remove_idea = CHI_bri_pipelines_tier_1_idea add_idea = CHI_bri_pipelines_tier_2_idea } } else = { add_ideas = CHI_bri_pipelines_tier_1_idea } } ai_will_do = { base = 100 } } CHI_BRI_promote_digital_silk_road = { icon = syr_self_button visible = { NOT = { has_idea = CHI_bri_telecom_tier_3_idea } } available = { custom_trigger_tooltip = { tooltip = CHI_bri_telecom_next_tier_tt OR = { AND = { check_variable = { CHI_bri_telecom_built > 4 } NOT = { has_idea = CHI_bri_telecom_tier_1_idea } NOT = { has_idea = CHI_bri_telecom_tier_2_idea } NOT = { has_idea = CHI_bri_telecom_tier_3_idea } } AND = { check_variable = { CHI_bri_telecom_built > 14 } has_idea = CHI_bri_telecom_tier_1_idea } AND = { check_variable = { CHI_bri_telecom_built > 29 } has_idea = CHI_bri_telecom_tier_2_idea } } } } fire_only_once = no cost = 25 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_BRI_promote_digital_silk_road executed" if = { limit = { check_variable = { CHI_bri_telecom_built > 29 } has_idea = CHI_bri_telecom_tier_2_idea } swap_ideas = { remove_idea = CHI_bri_telecom_tier_2_idea add_idea = CHI_bri_telecom_tier_3_idea } } else_if = { limit = { check_variable = { CHI_bri_telecom_built > 14 } has_idea = CHI_bri_telecom_tier_1_idea } swap_ideas = { remove_idea = CHI_bri_telecom_tier_1_idea add_idea = CHI_bri_telecom_tier_2_idea } } else = { add_ideas = CHI_bri_telecom_tier_1_idea } } ai_will_do = { base = 100 } } CHI_BRI_promote_resource_concessions = { icon = syr_self_button visible = { NOT = { has_idea = CHI_bri_mines_tier_3_idea } } available = { custom_trigger_tooltip = { tooltip = CHI_bri_mines_next_tier_tt OR = { AND = { check_variable = { CHI_bri_mines_secured > 4 } NOT = { has_idea = CHI_bri_mines_tier_1_idea } NOT = { has_idea = CHI_bri_mines_tier_2_idea } NOT = { has_idea = CHI_bri_mines_tier_3_idea } } AND = { check_variable = { CHI_bri_mines_secured > 14 } has_idea = CHI_bri_mines_tier_1_idea } AND = { check_variable = { CHI_bri_mines_secured > 29 } has_idea = CHI_bri_mines_tier_2_idea } } } } fire_only_once = no cost = 25 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_BRI_promote_resource_concessions executed" if = { limit = { check_variable = { CHI_bri_mines_secured > 29 } has_idea = CHI_bri_mines_tier_2_idea } swap_ideas = { remove_idea = CHI_bri_mines_tier_2_idea add_idea = CHI_bri_mines_tier_3_idea } } else_if = { limit = { check_variable = { CHI_bri_mines_secured > 14 } has_idea = CHI_bri_mines_tier_1_idea } swap_ideas = { remove_idea = CHI_bri_mines_tier_1_idea add_idea = CHI_bri_mines_tier_2_idea } } else = { add_ideas = CHI_bri_mines_tier_1_idea } } ai_will_do = { base = 100 } } CHI_BRI_promote_power_generation = { icon = syr_self_button visible = { NOT = { has_idea = CHI_bri_powerplants_tier_3_idea } } available = { custom_trigger_tooltip = { tooltip = CHI_bri_powerplants_next_tier_tt OR = { AND = { check_variable = { CHI_bri_powerplants_built > 4 } NOT = { has_idea = CHI_bri_powerplants_tier_1_idea } NOT = { has_idea = CHI_bri_powerplants_tier_2_idea } NOT = { has_idea = CHI_bri_powerplants_tier_3_idea } } AND = { check_variable = { CHI_bri_powerplants_built > 14 } has_idea = CHI_bri_powerplants_tier_1_idea } AND = { check_variable = { CHI_bri_powerplants_built > 29 } has_idea = CHI_bri_powerplants_tier_2_idea } } } } fire_only_once = no cost = 25 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_BRI_promote_power_generation executed" if = { limit = { check_variable = { CHI_bri_powerplants_built > 29 } has_idea = CHI_bri_powerplants_tier_2_idea } swap_ideas = { remove_idea = CHI_bri_powerplants_tier_2_idea add_idea = CHI_bri_powerplants_tier_3_idea } } else_if = { limit = { check_variable = { CHI_bri_powerplants_built > 14 } has_idea = CHI_bri_powerplants_tier_1_idea } swap_ideas = { remove_idea = CHI_bri_powerplants_tier_1_idea add_idea = CHI_bri_powerplants_tier_2_idea } } else = { add_ideas = CHI_bri_powerplants_tier_1_idea } } ai_will_do = { base = 100 } } CHI_BRI_promote_economic_zones = { icon = syr_self_button visible = { NOT = { has_idea = CHI_bri_industrial_zones_tier_3_idea } } available = { custom_trigger_tooltip = { tooltip = CHI_bri_industrial_zones_next_tier_tt OR = { AND = { check_variable = { CHI_bri_industrial_zones > 4 } NOT = { has_idea = CHI_bri_industrial_zones_tier_1_idea } NOT = { has_idea = CHI_bri_industrial_zones_tier_2_idea } NOT = { has_idea = CHI_bri_industrial_zones_tier_3_idea } } AND = { check_variable = { CHI_bri_industrial_zones > 14 } has_idea = CHI_bri_industrial_zones_tier_1_idea } AND = { check_variable = { CHI_bri_industrial_zones > 29 } has_idea = CHI_bri_industrial_zones_tier_2_idea } } } } fire_only_once = no cost = 25 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_BRI_promote_economic_zones executed" if = { limit = { check_variable = { CHI_bri_industrial_zones > 29 } has_idea = CHI_bri_industrial_zones_tier_2_idea } swap_ideas = { remove_idea = CHI_bri_industrial_zones_tier_2_idea add_idea = CHI_bri_industrial_zones_tier_3_idea } } else_if = { limit = { check_variable = { CHI_bri_industrial_zones > 14 } has_idea = CHI_bri_industrial_zones_tier_1_idea } swap_ideas = { remove_idea = CHI_bri_industrial_zones_tier_1_idea add_idea = CHI_bri_industrial_zones_tier_2_idea } } else = { add_ideas = CHI_bri_industrial_zones_tier_1_idea } } ai_will_do = { base = 100 } } CHI_BRI_promote_prestige_diplomacy = { icon = syr_self_button visible = { NOT = { has_idea = CHI_bri_prestige_tier_3_idea } } available = { custom_trigger_tooltip = { tooltip = CHI_bri_prestige_next_tier_tt OR = { AND = { check_variable = { CHI_bri_prestige_projects > 4 } NOT = { has_idea = CHI_bri_prestige_tier_1_idea } NOT = { has_idea = CHI_bri_prestige_tier_2_idea } NOT = { has_idea = CHI_bri_prestige_tier_3_idea } } AND = { check_variable = { CHI_bri_prestige_projects > 14 } has_idea = CHI_bri_prestige_tier_1_idea } AND = { check_variable = { CHI_bri_prestige_projects > 29 } has_idea = CHI_bri_prestige_tier_2_idea } } } } fire_only_once = no cost = 25 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_BRI_promote_prestige_diplomacy executed" if = { limit = { check_variable = { CHI_bri_prestige_projects > 29 } has_idea = CHI_bri_prestige_tier_2_idea } swap_ideas = { remove_idea = CHI_bri_prestige_tier_2_idea add_idea = CHI_bri_prestige_tier_3_idea } } else_if = { limit = { check_variable = { CHI_bri_prestige_projects > 14 } has_idea = CHI_bri_prestige_tier_1_idea } swap_ideas = { remove_idea = CHI_bri_prestige_tier_1_idea add_idea = CHI_bri_prestige_tier_2_idea } } else = { add_ideas = CHI_bri_prestige_tier_1_idea } } ai_will_do = { base = 100 } } } CHI_BRI_recipient_actions = { BRI_apply_for_port_project = { icon = generic_decision name = BRI_apply_named_PORT available = { CHI_bri_can_request = yes CHI_bri_can_host_port = yes } cost = 30 days_re_enable = 540 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision BRI_apply_for_port_project executed" set_variable = { bri_project_type = 1 } CHI_bri_request_project = yes } } BRI_apply_for_railway_project = { icon = generic_decision name = BRI_apply_named_RAIL available = { CHI_bri_can_request = yes OR = { is_neighbor_of = CHI has_country_flag = CHI_bri_partner } if = { limit = { has_country_flag = european_nation_flag } custom_trigger_tooltip = { tooltip = CHI_aggression_below_25_tt CHI = { check_variable = { CHI_chinese_aggression < 25 } } } } if = { limit = { has_country_flag = american_nation_flag NOT = { original_tag = USA } NOT = { original_tag = CAN } } custom_trigger_tooltip = { tooltip = CHI_aggression_below_35_tt CHI = { check_variable = { CHI_chinese_aggression < 35 } } } } CHI_bri_can_host_rail = yes } cost = 30 days_re_enable = 540 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision BRI_apply_for_railway_project executed" set_variable = { bri_project_type = 2 } CHI_bri_request_project = yes } } BRI_apply_for_pipeline_project = { icon = generic_decision name = BRI_apply_named_PIPELINE available = { CHI_bri_can_request = yes CHI_bri_can_host_pipeline = yes } cost = 35 days_re_enable = 540 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision BRI_apply_for_pipeline_project executed" set_variable = { bri_project_type = 3 } CHI_bri_request_project = yes } } BRI_apply_for_telecom_project = { icon = generic_decision name = BRI_apply_named_TELECOM available = { CHI_bri_can_request = yes CHI_bri_can_host_telecom = yes if = { limit = { has_country_flag = european_nation_flag } custom_trigger_tooltip = { tooltip = CHI_aggression_below_25_tt CHI = { check_variable = { CHI_chinese_aggression < 25 } } } } if = { limit = { has_country_flag = american_nation_flag NOT = { original_tag = USA } NOT = { original_tag = CAN } } custom_trigger_tooltip = { tooltip = CHI_aggression_below_35_tt CHI = { check_variable = { CHI_chinese_aggression < 35 } } } } } cost = 25 days_re_enable = 540 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision BRI_apply_for_telecom_project executed" set_variable = { bri_project_type = 4 } CHI_bri_request_project = yes } } BRI_apply_for_sez_project = { icon = generic_decision name = BRI_apply_named_SEZ available = { CHI_bri_can_request = yes CHI_bri_can_host_sez = yes } cost = 40 days_re_enable = 540 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision BRI_apply_for_sez_project executed" set_variable = { bri_project_type = 5 } CHI_bri_request_project = yes } } BRI_apply_for_mining_project = { icon = generic_decision name = BRI_apply_named_MINE available = { CHI_bri_can_request = yes CHI_bri_can_host_mine = yes } cost = 30 days_re_enable = 540 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision BRI_apply_for_mining_project executed" set_variable = { bri_project_type = 6 } CHI_bri_request_project = yes } } BRI_apply_for_powerplant_project = { icon = generic_decision name = BRI_apply_named_ENERGY available = { CHI_bri_can_request = yes CHI_bri_can_host_energy = yes } cost = 30 days_re_enable = 540 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision BRI_apply_for_powerplant_project executed" set_variable = { bri_project_type = 7 } CHI_bri_request_project = yes } } BRI_apply_for_prestige_project = { icon = generic_decision name = BRI_apply_named_PRESTIGE available = { CHI_bri_can_request = yes CHI_bri_can_host_prestige = yes } cost = 40 days_re_enable = 540 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision BRI_apply_for_prestige_project executed" set_variable = { bri_project_type = 8 } CHI_bri_request_project = yes } } } CHI_BRI_recipient_finance = { CHI_bri_buy_back_concession = { icon = generic_fundraising visible = { has_idea = CHI_bri_resource_concession_idea } custom_cost_trigger = { check_variable = { var = treasury value = 75 compare = greater_than_or_equals } } custom_cost_text = cost_75_0 cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_bri_buy_back_concession executed" remove_ideas = CHI_bri_resource_concession_idea add_opinion_modifier = { target = CHI modifier = medium_decrease } newline = yes set_temp_variable = { treasury_change = -75 } modify_treasury_effect = yes } ai_will_do = { base = 10 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 is_puppet_of = CHI } } } BRI_request_loan_extension = { icon = generic_decision visible = { has_country_flag = bri_defaulted } available = { has_war = no } cost = 50 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision BRI_request_loan_extension executed" CHI = { country_event = { id = chi_bri.13 days = 1 } } } ai_will_do = { base = 1 modifier = { factor = 3 has_stability < 0.5 } } } } CHI_VEN_petrocaribe_program = { CHI_VEN_oil_processing_aid = { icon = oil visible = { country_exists = VEN VEN = { has_opinion_modifier = CHI_loans_for_oil_partner } } available = { custom_trigger_tooltip = { tooltip = CHI_bri_treasury_gt_49_tt check_variable = { CHI_bri_treasury > 49 } } } cost = 75 days_remove = 90 fire_only_once = no days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_VEN_oil_processing_aid" add_to_variable = { CHI_bri_treasury = -50 tooltip = CHI_bri_treasury_tt } VEN = { random_owned_controlled_state = { limit = { oil > 0 } add_resource = { type = oil amount = 4 } } } } ai_will_do = { base = 5 modifier = { factor = 0 has_war = yes } } } CHI_VEN_emergency_food_aid = { icon = SWI_support_humanitarian_efforts visible = { country_exists = VEN } available = { custom_trigger_tooltip = { tooltip = CHI_bri_treasury_gt_29_tt check_variable = { CHI_bri_treasury > 29 } } } cost = 50 days_remove = 60 fire_only_once = no days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_VEN_emergency_food_aid" add_to_variable = { CHI_bri_treasury = -30 tooltip = CHI_bri_treasury_tt } VEN = { add_stability = 0.05 } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = VEN } change_influence_percentage = yes } ai_will_do = { base = 3 modifier = { factor = 0 has_war = yes } } } CHI_VEN_currency_swap_line = { icon = sovfed_money_button visible = { country_exists = VEN date > 2017.1.1 } available = { custom_trigger_tooltip = { tooltip = CHI_bri_treasury_gt_49_tt check_variable = { CHI_bri_treasury > 49 } } } cost = 75 days_remove = 120 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_VEN_currency_swap_line" add_to_variable = { CHI_bri_treasury = -50 tooltip = CHI_bri_treasury_tt } VEN = { add_opinion_modifier = { target = ROOT modifier = CHI_loans_for_oil_partner } } } ai_will_do = { base = 4 modifier = { factor = 0 has_war = yes } } } } CHI_LATAM_security_options = { CHI_LATAM_emergency_aid = { icon = SWI_support_humanitarian_efforts available = { custom_trigger_tooltip = { tooltip = CHI_bri_treasury_gt_19_tt check_variable = { CHI_bri_treasury > 19 } } } cost = 50 days_remove = 30 fire_only_once = no days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_LATAM_emergency_aid" add_to_variable = { CHI_bri_treasury = -20 tooltip = CHI_bri_treasury_tt } random_other_country = { limit = { is_South_America = yes has_opinion_modifier = CHI_security_umbrella } add_stability = 0.03 set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = THIS } change_influence_percentage = yes } } ai_will_do = { base = 4 modifier = { factor = 0 has_war = yes } } } CHI_LATAM_military_advisors = { icon = generic_army_support available = { has_army_experience > 49 } cost = 75 days_remove = 60 fire_only_once = no days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_LATAM_military_advisors" army_experience = -50 random_other_country = { limit = { is_South_America = yes has_opinion_modifier = CHI_security_umbrella } army_experience = 25 add_opinion_modifier = { target = ROOT modifier = CHI_security_umbrella } } } ai_will_do = { base = 3 modifier = { factor = 0 has_war = yes } } } CHI_LATAM_intel_sharing_pact = { icon = recruit_operative cost = 50 days_remove = 90 fire_only_once = no days_re_enable = 730 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_LATAM_intel_sharing_pact" random_other_country = { limit = { is_South_America = yes has_opinion_modifier = CHI_security_umbrella } give_military_access = ROOT add_opinion_modifier = { target = ROOT modifier = CHI_security_umbrella } } } ai_will_do = { base = 3 modifier = { factor = 0 has_war = yes } } } } CHI_pacific_pla_training = { CHI_pla_train_SOL = { icon = generic_naval visible = { country_exists = SOL } available = { has_army_experience > 24 } cost = 50 days_remove = 60 fire_only_once = no days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_pla_train_SOL" army_experience = -25 SOL = { army_experience = 15 add_opinion_modifier = { target = ROOT modifier = CHI_pla_basing_partner } } } ai_will_do = { base = 4 modifier = { factor = 0 has_war = yes } } } CHI_pla_joint_maritime_exercise = { icon = generic_naval available = { has_navy_experience > 24 custom_trigger_tooltip = { tooltip = CHI_pacific_pivot_partner_exists_tt any_of_scopes = { array = global.oceania_nations exists = yes has_opinion_modifier = CHI_pacific_pivot_partner } } } cost = 50 days_remove = 90 fire_only_once = no days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_pla_joint_maritime_exercise" navy_experience = -25 for_each_scope_loop = { array = global.oceania_nations if = { limit = { exists = yes has_opinion_modifier = CHI_pacific_pivot_partner } navy_experience = 10 set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = THIS } change_influence_percentage = yes } } } ai_will_do = { base = 3 modifier = { factor = 0 has_war = yes } } } } CHI_BRI_project_missions = { CHI_bri_project_mission = { icon = generic_construction allowed = { NOT = { original_tag = CHI } } activation = { always = no } available = { hidden_trigger = { always = no } } is_good = yes days_mission_timeout = 730 fire_only_once = no timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission CHI_bri_project_mission completed" CHI_bri_complete_project = yes } } } CHI_olympic_preparations = { CHI_olympic_mission = { icon = olympics fire_only_once = yes is_good = yes days_mission_timeout = 1285 activation = { has_completed_focus = CHI_beijing_action_plan_green_olympics } available = { has_country_flag = CHI_olympic_venues_funded has_country_flag = CHI_athlete_village_funded has_country_flag = CHI_transport_links_funded has_country_flag = CHI_environmental_program_done } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission CHI_olympic_mission timed out" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_political_system } add_to_variable = { CHI_pol_political_power_factor = 0.10 tooltip = political_power_factor_tt } newline = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_diplomacy_modifier } add_to_variable = { CHI_foreign_influence_modifier_diplomacy = 0.05 tooltip = foreign_influence_modifier_tt } set_country_flag = CHI_olympics_completed } } CHI_olympic_venue_construction = { icon = generic_construction visible = { has_completed_focus = CHI_beijing_action_plan_green_olympics } custom_cost_trigger = { check_variable = { treasury > 15 } } custom_cost_text = cost_15_0 cost = 0 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_olympic_venue_construction executed" set_country_flag = CHI_olympic_venues_funded newline = yes set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_olympic_venue_construction completed" 547 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { local_building_slots_factor = 0.05 state_productivity_growth_modifier = 0.05 } } } } ai_will_do = { base = 5 } } CHI_olympic_athlete_village = { icon = generic_construction visible = { has_completed_focus = CHI_beijing_action_plan_green_olympics } custom_cost_trigger = { check_variable = { treasury > 10 } } custom_cost_text = cost_10_0 cost = 0 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_olympic_athlete_village executed" set_country_flag = CHI_athlete_village_funded newline = yes set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_olympic_athlete_village completed" 547 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_productivity_growth_modifier = 0.05 } } } } ai_will_do = { base = 5 } } CHI_olympic_transport_links = { icon = generic_construction visible = { has_completed_focus = CHI_beijing_action_plan_green_olympics } custom_cost_trigger = { check_variable = { treasury > 10 } } custom_cost_text = cost_10_0 cost = 0 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_olympic_transport_links executed" set_country_flag = CHI_transport_links_funded newline = yes set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_olympic_transport_links completed" 547 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } } 548 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } } ai_will_do = { base = 5 } } CHI_olympic_environmental_program = { icon = generic_forestry visible = { has_completed_focus = CHI_beijing_action_plan_green_olympics } custom_cost_trigger = { check_variable = { treasury > 8 } } custom_cost_text = cost_8_0 cost = 0 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_olympic_environmental_program executed" set_country_flag = CHI_environmental_program_done custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_political_system } add_to_variable = { CHI_pol_war_support_factor = 0.03 tooltip = war_support_factor_tt } add_to_variable = { CHI_pol_drift_defence_factor = 0.02 tooltip = drift_defence_factor_tt } newline = yes set_temp_variable = { treasury_change = -8 } modify_treasury_effect = yes } ai_will_do = { base = 5 } } } CHI_water_shortage_category = { CHI_water_conservation_project = { icon = hol_drain_water_lines state_target = yes on_map_mode = map_only targets = { 547 548 549 434 544 435 567 558 559 560 1072 556 592 } target_trigger = { FROM = { is_owned_and_controlled_by = ROOT NOT = { has_state_flag = CHI_water_project_done } NOT = { has_state_flag = CHI_water_project_in_progress } } } target_root_trigger = { has_completed_focus = CHI_water_security_initiative } days_remove = 180 custom_cost_trigger = { check_variable = { treasury > 8 } } custom_cost_text = cost_8_0 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_water_conservation_project in [FROM.GetName] started" FROM = { set_state_flag = CHI_water_project_in_progress } newline = yes set_temp_variable = { treasury_change = -8 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_water_conservation_project in [FROM.GetName] completed" FROM = { clr_state_flag = CHI_water_project_in_progress set_state_flag = CHI_water_project_done add_extra_state_shared_building_slots = 1 add_building_construction = { type = agriculture_district level = 1 instant_build = yes } } CHI_add_water_project_progress = yes } ai_will_do = { base = 5 } } CHI_drip_irrigation_rollout = { icon = hol_drain_water_lines visible = { has_completed_focus = CHI_hybrid_rice_super_program } custom_cost_trigger = { check_variable = { treasury > 15 } } custom_cost_text = cost_15_0 fire_only_once = yes days_remove = 300 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_drip_irrigation_rollout started" newline = yes set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_drip_irrigation_rollout completed" CHI_add_water_project_progress = yes } ai_will_do = { base = 5 } } CHI_anti_desertification_belt = { icon = generic_forestry visible = { has_completed_focus = CHI_grain_for_green_program } custom_cost_trigger = { check_variable = { treasury > 15 } } custom_cost_text = cost_15_0 fire_only_once = yes days_remove = 300 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_anti_desertification_belt started" newline = yes set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_anti_desertification_belt completed" CHI_add_water_project_progress = yes } ai_will_do = { base = 5 } } CHI_urban_water_recycling = { icon = hol_drain_water_lines visible = { has_completed_focus = CHI_beijing_action_plan_green_olympics } custom_cost_trigger = { check_variable = { treasury > 15 } } custom_cost_text = cost_15_0 fire_only_once = yes days_remove = 300 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_urban_water_recycling started" newline = yes set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_urban_water_recycling completed" CHI_add_water_project_progress = yes } ai_will_do = { base = 5 } } } CHI_railway_improvement = { CHI_hsr_beijing_tianjin = { icon = CHI_railways visible = { has_completed_focus = CHI_high_speed_rail_one } custom_cost_trigger = { check_variable = { treasury > 15 } } custom_cost_text = cost_15_0 cost = 0 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_hsr_beijing_tianjin executed" newline = yes set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_hsr_beijing_tianjin completed" # Need to build railway from Beijing to Tianjin 547 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.10 } } } 548 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.10 } } } if = { limit = { has_dlc = "No Step Back" } build_railway = { level = 4 path = { 11761 3156 10068 } } } } ai_will_do = { base = 5 } } CHI_hsr_wuhan_guangzhou = { icon = CHI_railways visible = { has_completed_focus = CHI_high_speed_rail_one } custom_cost_trigger = { check_variable = { treasury > 15 } } custom_cost_text = cost_15_0 cost = 0 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_hsr_wuhan_guangzhou executed" newline = yes set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_hsr_wuhan_guangzhou completed" # Need to build railway from Wuhan to Guangzhou 570 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.10 } } } 532 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.10 } } } if = { limit = { has_dlc = "No Step Back" } build_railway = { level = 4 path = { 4619 3095 4631 9999 7097 13143 1448 9982 3078 9970 1120 12095 1047 } } } } ai_will_do = { base = 5 } } CHI_hsr_beijing_shanghai = { icon = CHI_railways visible = { has_completed_focus = CHI_high_speed_rail_one } custom_cost_trigger = { check_variable = { treasury > 20 } } custom_cost_text = cost_20_0 cost = 0 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_hsr_beijing_shanghai executed" newline = yes set_temp_variable = { treasury_change = -20 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_hsr_beijing_shanghai completed" # Need to build railway from Beijing to Shanghai 547 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.10 } } } 540 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.10 } } } if = { limit = { has_dlc = "No Step Back" } build_railway = { level = 4 path = { 11761 9969 11996 11944 15654 7189 1069 4037 10043 7025 11973 16157 1161 11916 16210 10008 4148 11913 11982 14754 10076 10034 7014 } } } } ai_will_do = { base = 5 } } CHI_hsr_chengdu_chongqing = { icon = CHI_railways visible = { has_completed_focus = CHI_high_speed_rail_one } custom_cost_trigger = { check_variable = { treasury > 15 } } custom_cost_text = cost_15_0 cost = 0 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_hsr_chengdu_chongqing executed" newline = yes set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_hsr_chengdu_chongqing completed" # Need to build railway from Chengdu to Chongqing 586 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.10 state_productivity_growth_modifier = 0.05 } } } 583 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.10 state_productivity_growth_modifier = 0.05 } } } if = { limit = { has_dlc = "No Step Back" } build_railway = { level = 4 path = { 4925 3099 3094 14312 6999 } } } } ai_will_do = { base = 5 } } CHI_railway_north_upgrade = { icon = generic_construction visible = { has_completed_focus = CHI_beijing_tianjin_hsr } available = { custom_trigger_tooltip = { tooltip = CHI_railway_upgrade_treasury_tt check_variable = { treasury > 12 } } } cost = 25 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_railway_north_upgrade executed" newline = yes set_temp_variable = { treasury_change = -12.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_railway_north_upgrade completed" 547 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } 549 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } 558 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_speed_buildings_factor = 0.02 tooltip = production_speed_buildings_factor_tt } } ai_will_do = { base = 5 } } CHI_railway_east_upgrade = { icon = generic_construction visible = { has_completed_focus = CHI_beijing_tianjin_hsr } available = { custom_trigger_tooltip = { tooltip = CHI_railway_upgrade_treasury_tt check_variable = { treasury > 12 } } } cost = 25 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_railway_east_upgrade executed" newline = yes set_temp_variable = { treasury_change = -12.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_railway_east_upgrade completed" 562 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } 564 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } 586 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_speed_buildings_factor = 0.02 tooltip = production_speed_buildings_factor_tt } } ai_will_do = { base = 5 } } CHI_railway_south_upgrade = { icon = generic_construction visible = { has_completed_focus = CHI_beijing_tianjin_hsr } available = { custom_trigger_tooltip = { tooltip = CHI_railway_upgrade_treasury_tt check_variable = { treasury > 12 } } } cost = 25 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_railway_south_upgrade executed" newline = yes set_temp_variable = { treasury_change = -12.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_railway_south_upgrade completed" 570 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } 572 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } 578 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_speed_buildings_factor = 0.02 tooltip = production_speed_buildings_factor_tt } } ai_will_do = { base = 5 } } CHI_railway_central_upgrade = { icon = generic_construction visible = { has_completed_focus = CHI_beijing_tianjin_hsr } available = { custom_trigger_tooltip = { tooltip = CHI_railway_upgrade_treasury_tt check_variable = { treasury > 12 } } } cost = 25 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_railway_central_upgrade executed" newline = yes set_temp_variable = { treasury_change = -12.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_railway_central_upgrade completed" 552 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } 567 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } 534 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_speed_buildings_factor = 0.02 tooltip = production_speed_buildings_factor_tt } } ai_will_do = { base = 5 } } CHI_railway_west_upgrade = { icon = generic_construction visible = { has_completed_focus = CHI_beijing_tianjin_hsr } available = { custom_trigger_tooltip = { tooltip = CHI_railway_upgrade_treasury_tt check_variable = { treasury > 12 } } } cost = 25 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_railway_west_upgrade executed" newline = yes set_temp_variable = { treasury_change = -12.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_railway_west_upgrade completed" 559 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } 560 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } 583 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } 592 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_speed_buildings_factor = 0.02 tooltip = production_speed_buildings_factor_tt } } ai_will_do = { base = 5 } } } CHI_industrial_investment_category = { CHI_gobi_desert_solar_expansion = { icon = generic_solar visible = { has_completed_focus = CHI_gobi_solar_offshore_wind custom_trigger_tooltip = { tooltip = CHI_gobi_solar_cap_tt check_variable = { var = CHI_gobi_solar_count value = 5 compare = less_than } } } available = { num_of_civilian_factories_available_for_projects > 4 } days_remove = 180 modifier = { production_speed_buildings_factor = -0.075 civilian_factory_use = 5 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_gobi_desert_solar_expansion executed" 592 = { add_building_construction = { type = renewable_energy_infra level = 2 instant_build = yes } } add_to_variable = { CHI_gobi_solar_count = 1 } } ai_will_do = { base = 3 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 num_of_civilian_factories_available_for_projects < 8 } } } CHI_invite_basf_caojing = { icon = generic_construction fire_only_once = yes visible = { has_completed_focus = CHI_caojing_seven_chem_bases } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_basf_caojing" add_tech_bonus = { name = CHI_invite_basf_caojing bonus = 0.25 uses = 1 category = CAT_industry } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_speed_fuel_silo_factor = 0.10 tooltip = production_speed_fuel_silo_factor_tt } } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 100 } } } CHI_invite_bayer_nanjing = { icon = hol_exchange_intelligence_data fire_only_once = yes visible = { has_completed_focus = CHI_caojing_seven_chem_bases } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_bayer_nanjing" add_tech_bonus = { name = CHI_invite_bayer_nanjing bonus = 0.15 uses = 1 category = CAT_util } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_research_speed_factor = 0.03 tooltip = research_speed_factor_tt } } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 75 } } } CHI_invite_exxonmobil_jv = { icon = hol_exchange_intelligence_data fire_only_once = yes visible = { has_completed_focus = CHI_caojing_seven_chem_bases } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_exxonmobil_jv" add_tech_bonus = { name = CHI_invite_exxonmobil_jv bonus = 0.15 uses = 1 category = CAT_fuel_oil } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_local_resources_oil_factor = 0.04 tooltip = local_resources_oil_factor_tt } } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 75 } } } CHI_invite_shell_chem = { icon = hol_exchange_intelligence_data fire_only_once = yes visible = { has_completed_focus = CHI_caojing_seven_chem_bases } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_shell_chem" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_speed_fuel_silo_factor = 0.06 tooltip = production_speed_fuel_silo_factor_tt } } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 75 } } } CHI_invite_saudi_aramco = { icon = sau_oil fire_only_once = yes visible = { has_completed_focus = CHI_caojing_seven_chem_bases } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invite_saudi_aramco" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_local_resources_oil_factor = 0.05 tooltip = local_resources_oil_factor_tt } if = { limit = { country_exists = SAU } SAU = { add_opinion_modifier = { target = ROOT modifier = CHI_bri_resource_concession } } } } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 75 } } } CHI_mature_node_export_drive_decision = { icon = generic_decision visible = { has_completed_focus = CHI_hua_hong_mature_node custom_trigger_tooltip = { tooltip = CHI_mature_node_export_cap_tt check_variable = { var = CHI_mature_node_export_stacks value = 5 compare = less_than } } } cost = 40 days_re_enable = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_mature_node_export_drive_decision executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_trade_opinion_factor = 0.01 tooltip = trade_opinion_factor_tt } add_to_variable = { CHI_mature_node_export_stacks = 1 } newline = yes set_temp_variable = { treasury_change = 3 } modify_treasury_effect = yes } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 40 } } } CHI_fabless_provincial_subsidy_decision = { icon = generic_welfare visible = { has_completed_focus = CHI_fabless_design_cluster custom_trigger_tooltip = { tooltip = CHI_fabless_subsidy_cap_tt check_variable = { var = CHI_fabless_subsidy_stacks value = 5 compare = less_than } } } cost = 50 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_fabless_provincial_subsidy_decision executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_civilian_factories_productivity = 0.01 tooltip = civilian_factories_productivity_tt } add_to_variable = { CHI_fabless_subsidy_stacks = 1 } newline = yes set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } ai_will_do = { base = 4 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 50 } } } CHI_replace_synopsys_cadence_decision = { icon = generic_merge_plant_materiel fire_only_once = yes visible = { has_completed_focus = CHI_domestic_eda } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_replace_synopsys_cadence_decision executed" add_tech_bonus = { name = CHI_replace_synopsys_cadence_decision bonus = 0.15 uses = 1 category = CAT_computing_tech } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_factory_efficiency_gain_factor = 0.02 tooltip = production_factory_efficiency_gain_factor_tt } } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 75 } } } CHI_duv_breakthrough_decision = { fixed_random_seed = no icon = generic_decision fire_only_once = yes visible = { has_completed_focus = CHI_smee_lithography } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_duv_breakthrough_decision executed" random_list = { 60 = { add_tech_bonus = { name = CHI_duv_breakthrough_decision bonus = 0.10 uses = 1 category = CAT_cnc } } 30 = { add_tech_bonus = { name = CHI_duv_breakthrough_decision bonus = 0.10 uses = 1 category = CAT_cnc } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_microchip_plant_productivity_modifier = 0.04 tooltip = microchip_plant_productivity_modifier_tt } } 10 = { set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } } newline = yes set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 100 } } } CHI_critical_minerals_export_license_decision = { icon = generic_decision visible = { has_completed_focus = CHI_strategic_materials } cost = 100 days_remove = 90 days_re_enable = 365 modifier = { civilian_factory_use = 2 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_critical_minerals_export_license_decision executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_resource_export_multiplier_modifier = 0.03 tooltip = resource_export_multiplier_modifier_tt } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_critical_minerals_export_license_decision expired" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_resource_export_multiplier_modifier = -0.03 tooltip = resource_export_multiplier_modifier_tt } } ai_will_do = { base = 4 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 100 } } } CHI_cxmt_hbm_qualification_decision = { icon = generic_decision fire_only_once = yes visible = { has_completed_focus = CHI_memory_independence } cost = 150 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_cxmt_hbm_qualification_decision executed" add_tech_bonus = { name = CHI_cxmt_hbm_qualification_decision bonus = 0.10 uses = 1 category = CAT_computing_tech } 570 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = microchip_plant level = 1 instant_build = yes } } newline = yes set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 150 } } } CHI_big_fund_iii_allocate_tranche_decision = { icon = generic_decision visible = { has_completed_focus = CHI_big_fund_phase2 custom_trigger_tooltip = { tooltip = CHI_bfiii_cap_tt check_variable = { var = CHI_bfiii_stacks value = 5 compare = less_than } } } available = { check_variable = { tooltip = CHI_big_fund_iii_allocate_tranche_decision_tt var = CHI_bfiii_stacks value = 5 compare = less_than } } cost = 50 days_remove = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_big_fund_iii_allocate_tranche_decision executed" one_random_microchip_plant = yes add_to_variable = { CHI_bfiii_stacks = 1 } newline = yes set_temp_variable = { treasury_change = -8.5 } modify_treasury_effect = yes } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 50 } } } CHI_rare_earth_chip_leverage_decision = { icon = generic_decision fire_only_once = yes visible = { has_completed_focus = CHI_strategic_materials } available = { country_exists = USA } cost = 120 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_rare_earth_chip_leverage_decision executed" USA = { country_event = { id = CHI_semiconductor_events.5 days = 3 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT custom_effect_tooltip = CHI_rare_earth_leverage_accept_tt custom_effect_tooltip = TT_IF_THEY_REJECT custom_effect_tooltip = CHI_rare_earth_leverage_reject_tt } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 has_political_power < 120 } } } # The frontier AI laboratories. Each choice funds a one-year programme, and only one programme can run at a time. CHI_ernie_national_champion_decision = { icon = GFX_decision_generic_form_nation visible = { NOT = { has_country_flag = collapsed_nation } NOT = { has_country_flag = CHI_ai_lab_program_active } NOT = { has_country_flag = CHI_ernie_structure_set } date > 2023.3.16 } available = { has_tech = artificial_intelligence_8 has_stability > 0.50 has_war = no } cost = 75 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_ernie_national_champion_decision" set_country_flag = CHI_ernie_structure_set set_country_flag = { flag = CHI_ai_lab_program_active value = 1 days = 365 } add_timed_idea = { idea = CHI_ernie_national_champion days = 365 } } ai_will_do = { base = 30 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_ernie_consumer_search_decision = { icon = GFX_decision_generic_factory visible = { NOT = { has_country_flag = collapsed_nation } NOT = { has_country_flag = CHI_ai_lab_program_active } NOT = { has_country_flag = CHI_ernie_structure_set } date > 2023.3.16 } available = { has_tech = artificial_intelligence_8 custom_trigger_tooltip = { tooltip = CHI_ai_lab_treasury_20_tt check_variable = { treasury > 20 } } has_war = no } cost = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_ernie_consumer_search_decision" set_country_flag = CHI_ernie_structure_set set_country_flag = { flag = CHI_ai_lab_program_active value = 1 days = 365 } set_temp_variable = { treasury_change = -20.00 } modify_treasury_effect = yes add_timed_idea = { idea = CHI_ernie_consumer_search days = 365 } } ai_will_do = { base = 25 modifier = { factor = 5 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 check_variable = { treasury < 20 } } } } CHI_qwen_open_ecosystem_decision = { icon = GFX_decision_generic_research visible = { NOT = { has_country_flag = collapsed_nation } NOT = { has_country_flag = CHI_ai_lab_program_active } NOT = { has_country_flag = CHI_qwen_structure_set } date > 2023.8.1 } available = { has_tech = artificial_intelligence_8 custom_trigger_tooltip = { tooltip = CHI_ai_lab_treasury_15_tt check_variable = { treasury > 15 } } num_of_civilian_factories > 50 has_war = no } cost = 70 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_qwen_open_ecosystem_decision" set_country_flag = CHI_qwen_structure_set set_country_flag = { flag = CHI_ai_lab_program_active value = 1 days = 365 } set_temp_variable = { treasury_change = -15.00 } modify_treasury_effect = yes add_timed_idea = { idea = CHI_qwen_open_ecosystem days = 365 } } ai_will_do = { base = 30 modifier = { factor = 5 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 check_variable = { treasury < 15 } } } } CHI_qwen_cloud_captive_decision = { icon = GFX_decision_generic_factory visible = { NOT = { has_country_flag = collapsed_nation } NOT = { has_country_flag = CHI_ai_lab_program_active } NOT = { has_country_flag = CHI_qwen_structure_set } date > 2023.4.1 } available = { has_tech = artificial_intelligence_8 custom_trigger_tooltip = { tooltip = CHI_ai_lab_treasury_20_tt check_variable = { treasury > 20 } } has_war = no } cost = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_qwen_cloud_captive_decision" set_country_flag = CHI_qwen_structure_set set_country_flag = { flag = CHI_ai_lab_program_active value = 1 days = 365 } set_temp_variable = { treasury_change = -20.00 } modify_treasury_effect = yes add_timed_idea = { idea = CHI_qwen_cloud_captive days = 365 } } ai_will_do = { base = 25 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 check_variable = { treasury < 20 } } } } CHI_zhipu_academic_pipeline_decision = { icon = GFX_decision_generic_research visible = { NOT = { has_country_flag = collapsed_nation } NOT = { has_country_flag = CHI_ai_lab_program_active } NOT = { has_country_flag = CHI_zhipu_structure_set } date > 2020.1.1 } available = { has_tech = artificial_intelligence_8 has_stability > 0.50 has_war = no } cost = 65 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_zhipu_academic_pipeline_decision" set_country_flag = CHI_zhipu_structure_set set_country_flag = { flag = CHI_ai_lab_program_active value = 1 days = 365 } add_timed_idea = { idea = CHI_zhipu_academic_pipeline days = 365 } } ai_will_do = { base = 30 modifier = { factor = 5 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_zhipu_state_procurement_decision = { icon = GFX_decision_generic_political_discourse visible = { NOT = { has_country_flag = collapsed_nation } NOT = { has_country_flag = CHI_ai_lab_program_active } NOT = { has_country_flag = CHI_zhipu_structure_set } date > 2020.1.1 } available = { has_tech = artificial_intelligence_8 custom_trigger_tooltip = { tooltip = CHI_ai_lab_treasury_20_tt check_variable = { treasury > 20 } } has_war = no } cost = 55 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_zhipu_state_procurement_decision" set_country_flag = CHI_zhipu_structure_set set_country_flag = { flag = CHI_ai_lab_program_active value = 1 days = 365 } set_temp_variable = { treasury_change = -20.00 } modify_treasury_effect = yes add_timed_idea = { idea = CHI_zhipu_state_procurement days = 365 } } ai_will_do = { base = 25 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 check_variable = { treasury < 20 } } } } CHI_doubao_consumer_scale_decision = { icon = GFX_decision_generic_factory visible = { NOT = { has_country_flag = collapsed_nation } NOT = { has_country_flag = CHI_ai_lab_program_active } NOT = { has_country_flag = CHI_doubao_structure_set } date > 2023.8.1 } available = { has_tech = artificial_intelligence_8 custom_trigger_tooltip = { tooltip = CHI_ai_lab_treasury_20_tt check_variable = { treasury > 20 } } has_war = no } cost = 70 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_doubao_consumer_scale_decision" set_country_flag = CHI_doubao_structure_set set_country_flag = { flag = CHI_ai_lab_program_active value = 1 days = 365 } set_temp_variable = { treasury_change = -20.00 } modify_treasury_effect = yes add_timed_idea = { idea = CHI_doubao_consumer_scale days = 365 } } ai_will_do = { base = 30 modifier = { factor = 5 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 check_variable = { treasury < 20 } } } } CHI_doubao_recommendation_core_decision = { icon = GFX_decision_generic_research visible = { NOT = { has_country_flag = collapsed_nation } NOT = { has_country_flag = CHI_ai_lab_program_active } NOT = { has_country_flag = CHI_doubao_structure_set } date > 2023.8.1 } available = { has_tech = artificial_intelligence_8 has_stability > 0.50 has_war = no } cost = 60 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_doubao_recommendation_core_decision" set_country_flag = CHI_doubao_structure_set set_country_flag = { flag = CHI_ai_lab_program_active value = 1 days = 365 } add_timed_idea = { idea = CHI_doubao_recommendation_core days = 365 } } ai_will_do = { base = 25 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_deepseek_open_weight_release_decision = { icon = GFX_decision_generic_research visible = { NOT = { has_country_flag = collapsed_nation } NOT = { has_country_flag = CHI_ai_lab_program_active } NOT = { has_country_flag = CHI_deepseek_structure_set } date > 2023.7.1 } available = { has_tech = artificial_intelligence_8 custom_trigger_tooltip = { tooltip = CHI_ai_lab_treasury_15_tt check_variable = { treasury > 15 } } num_of_civilian_factories > 50 has_war = no } cost = 70 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_deepseek_open_weight_release_decision" set_country_flag = CHI_deepseek_structure_set set_country_flag = { flag = CHI_ai_lab_program_active value = 1 days = 365 } set_temp_variable = { treasury_change = -15.00 } modify_treasury_effect = yes add_timed_idea = { idea = CHI_deepseek_open_weight_release days = 365 } } ai_will_do = { base = 35 modifier = { factor = 5 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 check_variable = { treasury < 15 } } } } CHI_deepseek_state_aligned_lab_decision = { icon = GFX_decision_generic_political_discourse visible = { NOT = { has_country_flag = collapsed_nation } NOT = { has_country_flag = CHI_ai_lab_program_active } NOT = { has_country_flag = CHI_deepseek_structure_set } date > 2023.7.1 } available = { has_tech = artificial_intelligence_8 has_stability > 0.50 has_war = no } cost = 80 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_deepseek_state_aligned_lab_decision" set_country_flag = CHI_deepseek_structure_set set_country_flag = { flag = CHI_ai_lab_program_active value = 1 days = 365 } add_timed_idea = { idea = CHI_deepseek_state_aligned_lab days = 365 } } ai_will_do = { base = 30 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_moonshot_long_context_decision = { icon = GFX_decision_generic_research visible = { NOT = { has_country_flag = collapsed_nation } NOT = { has_country_flag = CHI_ai_lab_program_active } NOT = { has_country_flag = CHI_moonshot_structure_set } date > 2023.10.1 } available = { has_tech = artificial_intelligence_8 custom_trigger_tooltip = { tooltip = CHI_ai_lab_treasury_15_tt check_variable = { treasury > 15 } } num_of_civilian_factories > 50 has_war = no } cost = 65 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_moonshot_long_context_decision" set_country_flag = CHI_moonshot_structure_set set_country_flag = { flag = CHI_ai_lab_program_active value = 1 days = 365 } set_temp_variable = { treasury_change = -15.00 } modify_treasury_effect = yes add_timed_idea = { idea = CHI_moonshot_long_context days = 365 } } ai_will_do = { base = 30 modifier = { factor = 5 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 check_variable = { treasury < 15 } } } } CHI_moonshot_enterprise_pivot_decision = { icon = GFX_decision_generic_factory visible = { NOT = { has_country_flag = collapsed_nation } NOT = { has_country_flag = CHI_ai_lab_program_active } NOT = { has_country_flag = CHI_moonshot_structure_set } date > 2023.10.1 } available = { has_tech = artificial_intelligence_8 custom_trigger_tooltip = { tooltip = CHI_ai_lab_treasury_20_tt check_variable = { treasury > 20 } } has_war = no } cost = 55 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_moonshot_enterprise_pivot_decision" set_country_flag = CHI_moonshot_structure_set set_country_flag = { flag = CHI_ai_lab_program_active value = 1 days = 365 } set_temp_variable = { treasury_change = -20.00 } modify_treasury_effect = yes add_timed_idea = { idea = CHI_moonshot_enterprise_pivot days = 365 } } ai_will_do = { base = 25 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 check_variable = { treasury < 20 } } } } } CHI_military_decisions_category = { CHI_eastern_theatre_command = { icon = generic_army_support visible = { has_completed_focus = CHI_joint_operations_command } cost = 75 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_eastern_theatre_command executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_landforce_modifier } add_to_variable = { CHI_land_army_attack_factor = 0.05 tooltip = army_attack_factor_tt } add_to_variable = { CHI_land_breakthrough_factor = 0.05 tooltip = breakthrough_factor_tt } } ai_will_do = { base = 5 } } CHI_southern_theatre_command = { icon = generic_army_support visible = { has_completed_focus = CHI_joint_operations_command } cost = 75 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_southern_theatre_command executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_landforce_modifier } add_to_variable = { CHI_land_coordination_bonus = 0.05 tooltip = coordination_bonus_tt } add_to_variable = { CHI_land_recon_factor = 0.05 tooltip = recon_factor_tt } } ai_will_do = { base = 5 } } CHI_western_theatre_command = { icon = generic_army_support visible = { has_completed_focus = CHI_joint_operations_command } cost = 75 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_western_theatre_command executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_landforce_modifier } add_to_variable = { CHI_land_army_defence_factor = 0.05 tooltip = army_defence_factor_tt } add_to_variable = { CHI_land_dig_in_speed_factor = 0.10 tooltip = dig_in_speed_factor_tt } } ai_will_do = { base = 5 } } CHI_northern_theatre_command = { icon = generic_army_support visible = { has_completed_focus = CHI_joint_operations_command } cost = 75 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_northern_theatre_command executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_landforce_modifier } add_to_variable = { CHI_land_max_planning = 0.05 tooltip = max_planning_tt } add_to_variable = { CHI_land_army_org_factor = 0.05 tooltip = army_org_factor_tt } } ai_will_do = { base = 5 } } CHI_central_theatre_command = { icon = generic_army_support visible = { has_completed_focus = CHI_joint_operations_command } cost = 75 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_central_theatre_command executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_landforce_modifier } add_to_variable = { CHI_land_max_command_power_mult = 0.10 tooltip = max_command_power_mult_tt } add_to_variable = { CHI_land_army_morale_factor = 0.05 tooltip = army_morale_factor_tt } } ai_will_do = { base = 5 } } CHI_norinco_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 days_remove = 365 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_norinco_innovation executed" add_timed_idea = { idea = CHI_norinco_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_caic_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 days_remove = 365 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_caic_innovation executed" add_timed_idea = { idea = CHI_caic_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_inner_mongolia_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 days_remove = 365 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_inner_mongolia_innovation executed" add_timed_idea = { idea = CHI_inner_mongolia_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_avic_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_avic_innovation executed" add_timed_idea = { idea = CHI_avic_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_cetc_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_cetc_innovation executed" add_timed_idea = { idea = CHI_cetc_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_casic_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_casic_innovation executed" add_timed_idea = { idea = CHI_casic_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_casc_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_casc_innovation executed" add_timed_idea = { idea = CHI_casc_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_haig_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_haig_innovation executed" add_timed_idea = { idea = CHI_haig_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_sac_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_sac_innovation executed" add_timed_idea = { idea = CHI_sac_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_cssc_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_cssc_innovation executed" add_timed_idea = { idea = CHI_cssc_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_csic_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_csic_innovation executed" add_timed_idea = { idea = CHI_csic_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_csgc_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_csgc_innovation executed" add_timed_idea = { idea = CHI_csgc_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_poly_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_poly_innovation executed" add_timed_idea = { idea = CHI_poly_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_crrc_innovation = { icon = generic_research visible = { has_completed_focus = CHI_original_innovation_problem } cost = 50 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_crrc_innovation executed" add_timed_idea = { idea = CHI_crrc_innovation_idea days = 365 } } ai_will_do = { base = 1 } } CHI_rare_earth_embargo_decision = { icon = SWI_isolate_switzerland target_root_trigger = { has_completed_focus = CHI_rare_earth_leverage } target_array = global.majors target_trigger = { country_exists = FROM FROM = { NOT = { original_tag = CHI } } NOT = { is_in_faction_with = FROM } } available = { FROM = { NOT = { has_idea = CHI_rare_earth_embargoed_idea } } } cost = 100 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_rare_earth_embargo_decision on [From.GetName]" FROM = { add_timed_idea = { idea = CHI_rare_earth_embargoed_idea days = 180 } } } ai_will_do = { base = 1 } } CHI_rein_in_cliques = { icon = generic_intelligence_operation visible = { has_completed_focus = CHI_the_northeast_tiger } cost = 50 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_rein_in_cliques executed" set_temp_variable = { temp_opinion = -5 } change_the_military_opinion = yes newline = yes set_temp_variable = { treasury_change = 75 } modify_treasury_effect = yes } ai_will_do = { base = 1 } } } CHI_megaprojects = { CHI_snwt_eastern_route = { icon = generic_construction visible = { has_completed_focus = CHI_four_trillion_stimulus NOT = { has_country_flag = CHI_snwt_eastern_done } } available = { num_of_civilian_factories_available_for_projects > 7 } custom_cost_trigger = { check_variable = { treasury > 14 } } custom_cost_text = cost_14_0 cost = 0 fire_only_once = yes days_remove = 540 modifier = { civilian_factory_use = 7 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_snwt_eastern_route executed" newline = yes set_temp_variable = { treasury_change = -14 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_snwt_eastern_route completed" 541 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } } 544 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = agriculture_district level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } 548 = { add_building_construction = { type = agriculture_district level = 1 instant_build = no } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_agricolture_productivity_modifier = 0.04 tooltip = agricolture_productivity_modifier_tt } set_country_flag = CHI_snwt_eastern_done CHI_add_water_project_progress = yes CHI_snwt_capstone_check = yes } ai_will_do = { base = 4 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_snwt_central_route = { icon = generic_construction visible = { has_completed_focus = CHI_four_trillion_stimulus NOT = { has_country_flag = CHI_snwt_central_done } } available = { num_of_civilian_factories_available_for_projects > 9 } custom_cost_trigger = { check_variable = { treasury > 18 } } custom_cost_text = cost_18_0 cost = 0 fire_only_once = yes days_remove = 720 modifier = { civilian_factory_use = 9 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_snwt_central_route executed" newline = yes set_temp_variable = { treasury_change = -18 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_snwt_central_route completed" 570 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } } 567 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = agriculture_district level = 1 instant_build = no } } 549 = { add_building_construction = { type = agriculture_district level = 1 instant_build = no } } 547 = { add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_speed_agriculture_district_factor = 0.05 tooltip = production_speed_agriculture_district_factor_tt } set_country_flag = CHI_snwt_central_done CHI_add_water_project_progress = yes CHI_snwt_capstone_check = yes } ai_will_do = { base = 4 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_snwt_western_route = { icon = generic_construction visible = { has_completed_focus = CHI_four_trillion_stimulus NOT = { has_country_flag = CHI_snwt_western_done } } available = { num_of_civilian_factories_available_for_projects > 9 } custom_cost_trigger = { check_variable = { treasury > 22 } } custom_cost_text = cost_22_0 cost = 0 fire_only_once = yes days_remove = 900 modifier = { civilian_factory_use = 10 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_snwt_western_route executed" newline = yes set_temp_variable = { treasury_change = -22 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_snwt_western_route completed" 588 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = agriculture_district level = 1 instant_build = no } } 560 = { add_building_construction = { type = agriculture_district level = 1 instant_build = no } } 559 = { add_building_construction = { type = agriculture_district level = 1 instant_build = no } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_agricolture_productivity_modifier = 0.04 tooltip = agricolture_productivity_modifier_tt } set_country_flag = CHI_snwt_western_done CHI_add_water_project_progress = yes CHI_snwt_capstone_check = yes } ai_will_do = { base = 3 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_uhv_west_generation = { icon = generic_electricity visible = { has_completed_focus = CHI_four_trillion_stimulus NOT = { has_country_flag = CHI_uhv_west_done } } available = { num_of_civilian_factories_available_for_projects > 9 } custom_cost_trigger = { check_variable = { treasury > 20 } } custom_cost_text = cost_20_0 cost = 0 fire_only_once = yes days_remove = 720 modifier = { civilian_factory_use = 9 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_uhv_west_generation executed" newline = yes set_temp_variable = { treasury_change = -20 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_uhv_west_generation completed" 592 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = renewable_energy_infra level = 2 instant_build = no } } 556 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = renewable_energy_infra level = 1 instant_build = no } } 585 = { set_temp_variable = { electric_addition = 3.500 } set_temp_variable = { storage_addition = 0 } add_hydroelectric_energy_production_effect = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_energy_gain_multiplier = 0.05 tooltip = energy_gain_multiplier_tt } set_country_flag = CHI_uhv_west_done } ai_will_do = { base = 4 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_uhv_east_transmission = { icon = decision_generic_electricity visible = { has_country_flag = CHI_uhv_west_done NOT = { has_country_flag = CHI_uhv_east_done } } available = { num_of_civilian_factories_available_for_projects > 11 } custom_cost_trigger = { check_variable = { treasury > 24 } } custom_cost_text = cost_24_0 cost = 0 fire_only_once = yes days_remove = 900 modifier = { civilian_factory_use = 11 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_uhv_east_transmission executed" newline = yes set_temp_variable = { treasury_change = -24 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_uhv_east_transmission completed" 540 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } } 547 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } } 534 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_energy_gain_multiplier = 0.05 tooltip = energy_gain_multiplier_tt } add_to_variable = { CHI_economy_energy_use_modifier_civs = -0.05 tooltip = energy_use_modifier_civs_tt } add_to_variable = { CHI_economy_production_factory_max_efficiency_factor = 0.03 tooltip = production_factory_max_efficiency_factor_tt } set_country_flag = CHI_uhv_east_done } ai_will_do = { base = 4 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_fusion_program = { icon = decision_generic_electricity visible = { has_completed_focus = CHI_four_trillion_stimulus NOT = { has_country_flag = CHI_fusion_program_done } } available = { has_political_power > 74 num_of_civilian_factories_available_for_projects > 7 } custom_cost_trigger = { check_variable = { treasury > 26 } } custom_cost_text = cost_26_0 fire_only_once = yes days_remove = 1095 modifier = { civilian_factory_use = 7 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_fusion_program executed" newline = yes set_temp_variable = { treasury_change = -26 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_fusion_program completed" 564 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = nuclear_reactor level = 1 instant_build = no } add_building_construction = { type = renewable_energy_infra level = 1 instant_build = no } } add_tech_bonus = { name = CHI_fusion_program bonus = 0.25 uses = 2 category = CAT_electrical_tech } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_energy_gain_multiplier = 0.06 tooltip = energy_gain_multiplier_tt } add_to_variable = { CHI_economy_production_speed_nuclear_reactor_factor = 0.10 tooltip = production_speed_nuclear_reactor_factor_tt } set_country_flag = CHI_fusion_program_done } ai_will_do = { base = 3 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_three_north_shelterbelt = { icon = generic_forestry visible = { has_completed_focus = CHI_four_trillion_stimulus NOT = { has_country_flag = CHI_green_wall_done } } available = { num_of_civilian_factories_available_for_projects > 7 } custom_cost_trigger = { check_variable = { treasury > 16 } } custom_cost_text = cost_16_0 cost = 0 fire_only_once = yes days_remove = 900 modifier = { civilian_factory_use = 7 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_three_north_shelterbelt executed" newline = yes set_temp_variable = { treasury_change = -16 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_three_north_shelterbelt completed" 592 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = agriculture_district level = 1 instant_build = no } add_state_modifier = { modifier = { local_supplies = 0.05 } } } 560 = { add_state_modifier = { modifier = { local_supplies = 0.05 } } } 556 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = agriculture_district level = 1 instant_build = no } } 559 = { add_state_modifier = { modifier = { local_supplies = 0.05 } } } 558 = { add_state_modifier = { modifier = { local_supplies = 0.05 } } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_agricolture_productivity_modifier = 0.05 tooltip = agricolture_productivity_modifier_tt } add_to_variable = { CHI_economy_agriculture_tax_modifier = -0.05 tooltip = agriculture_tax_modifier_tt } set_country_flag = CHI_green_wall_done } ai_will_do = { base = 3 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_sichuan_tibet_railway = { icon = generic_construction visible = { has_completed_focus = CHI_four_trillion_stimulus NOT = { has_country_flag = CHI_sichuan_tibet_done } 589 = { is_owned_by = CHI } } available = { num_of_civilian_factories_available_for_projects > 9 } custom_cost_trigger = { check_variable = { treasury > 24 } } custom_cost_text = cost_24_0 cost = 0 fire_only_once = yes days_remove = 1095 modifier = { civilian_factory_use = 10 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_sichuan_tibet_railway executed" newline = yes set_temp_variable = { treasury_change = -24 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_sichuan_tibet_railway completed" 586 = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } } 585 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } } 589 = { add_building_construction = { type = infrastructure level = 1 instant_build = no } add_compliance = 5 add_resistance = -3 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_speed_buildings_factor = 0.04 tooltip = production_speed_buildings_factor_tt } set_country_flag = CHI_sichuan_tibet_done } ai_will_do = { base = 3 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_build_mega_rail_hub = { icon = generic_construction state_target = yes on_map_mode = map_only highlight_states = { highlight_states_trigger = { is_owned_and_controlled_by = ROOT OR = { state = 547 state = 540 state = 534 state = 586 state = 570 state = 559 state = 567 } NOT = { has_state_flag = CHI_mega_rail_hub_built } } highlight_color_before_active = 3 highlight_color_while_active = 2 } target_trigger = { FROM = { is_owned_and_controlled_by = ROOT OR = { state = 547 state = 540 state = 534 state = 586 state = 570 state = 559 state = 567 } NOT = { has_state_flag = CHI_mega_rail_hub_built } } } target_root_trigger = { has_completed_focus = CHI_four_trillion_stimulus custom_trigger_tooltip = { tooltip = CHI_mega_rail_hub_cap_tt check_variable = { CHI_mega_rail_hub_count < 5 } } } available = { num_of_civilian_factories_available_for_projects > 5 } custom_cost_trigger = { check_variable = { treasury > 10 } } custom_cost_text = cost_10_0 cost = 0 days_remove = 365 days_re_enable = 30 modifier = { civilian_factory_use = 5 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_build_mega_rail_hub in [FROM.GetName] executed" newline = yes set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_build_mega_rail_hub in [FROM.GetName] completed" FROM = { add_building_construction = { type = rail_terminal level = 1 instant_build = no } add_building_construction = { type = infrastructure level = 1 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 } } set_state_flag = CHI_mega_rail_hub_built } add_to_variable = { CHI_mega_rail_hub_count = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_speed_buildings_factor = 0.01 tooltip = production_speed_buildings_factor_tt } } ai_will_do = { base = 3 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_hainan_free_trade_port = { icon = generic_construction visible = { has_completed_focus = CHI_four_trillion_stimulus NOT = { has_country_flag = CHI_hainan_ftp_done } 531 = { is_owned_by = CHI } } available = { date > 2013.1.1 num_of_civilian_factories_available_for_projects > 7 gdp_per_capita_greater_than_5 = yes } custom_cost_trigger = { check_variable = { treasury > 30 } } custom_cost_text = cost_30_0 cost = 0 fire_only_once = yes days_remove = 900 modifier = { civilian_factory_use = 7 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_hainan_free_trade_port executed" newline = yes set_temp_variable = { treasury_change = -30 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_hainan_free_trade_port completed" 531 = { add_extra_state_shared_building_slots = 3 add_building_construction = { type = infrastructure level = 2 instant_build = no } add_building_construction = { type = offices level = 2 instant_build = no } add_state_modifier = { modifier = { state_production_speed_buildings_factor = 0.05 local_building_slots_factor = 0.10 } } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_trade_opinion_factor = 0.05 tooltip = trade_opinion_factor_tt } add_to_variable = { CHI_economy_production_speed_offices_factor = 0.05 tooltip = production_speed_offices_factor_tt } add_to_variable = { CHI_chinese_aggression = -2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } set_country_flag = CHI_hainan_ftp_done } ai_will_do = { base = 4 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_hainan_zero_tariff_zone = { icon = generic_fundraising visible = { has_country_flag = CHI_hainan_ftp_done NOT = { has_country_flag = CHI_hainan_tariff_done } 531 = { is_owned_by = CHI } } available = { date > 2018.1.1 num_of_civilian_factories_available_for_projects > 9 gdp_per_capita_greater_than_7 = yes } custom_cost_trigger = { check_variable = { treasury > 24 } } custom_cost_text = cost_24_0 cost = 0 fire_only_once = yes days_remove = 720 modifier = { civilian_factory_use = 9 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_hainan_zero_tariff_zone executed" newline = yes set_temp_variable = { treasury_change = -24 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_hainan_zero_tariff_zone completed" 531 = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = offices level = 2 instant_build = no } add_building_construction = { type = internet_station level = 1 instant_build = no } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_offices_productivity = 0.05 tooltip = offices_productivity_tt } add_to_variable = { CHI_economy_resource_export_multiplier_modifier = 0.04 tooltip = resource_export_multiplier_modifier_tt } add_to_variable = { CHI_economy_return_on_investment_modifier = 0.03 tooltip = return_on_investment_modifier_tt } add_to_variable = { CHI_economy_corporate_tax_income_multiplier_modifier = -0.03 tooltip = corporate_tax_income_multiplier_modifier_tt } add_to_variable = { CHI_chinese_aggression = -3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } set_country_flag = CHI_hainan_tariff_done } ai_will_do = { base = 4 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_kra_canal_underwriting = { icon = generic_construction visible = { has_completed_focus = CHI_four_trillion_stimulus NOT = { has_country_flag = CHI_kra_underwritten } SIA = { has_completed_focus = SIA_kra_patron_china } } available = { NOT = { has_war_with = SIA } custom_trigger_tooltip = { tooltip = CHI_kra_canal_underwriting_phase_tt SIA = { check_variable = { SIA_kra_phase < 4 } } } } custom_cost_trigger = { check_variable = { treasury > 25 } } custom_cost_text = cost_25_0 cost = 0 fire_only_once = yes days_remove = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_kra_canal_underwriting executed" newline = yes set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_kra_canal_underwriting completed" SIA = { set_temp_variable = { treasury_change = 15 } modify_treasury_effect = yes clr_country_flag = SIA_kra_phase_timer } set_temp_variable = { percent_change = 10 } set_temp_variable = { influence_target = SIA } change_influence_percentage = yes add_opinion_modifier = { target = SIA modifier = large_commercial_relations } SIA = { add_opinion_modifier = { target = CHI modifier = large_commercial_relations } } set_country_flag = CHI_kra_underwritten } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_kra_transit_corridor = { icon = generic_naval visible = { has_completed_focus = CHI_four_trillion_stimulus NOT = { has_country_flag = CHI_kra_transit_done } SIA = { OR = { has_idea = SIA_kra_canal has_idea = SIA_kra_canal_sovereign } } } available = { NOT = { has_war_with = SIA } SIA = { NOT = { has_idea = SIA_kra_default_pariah } } } custom_cost_trigger = { check_variable = { treasury > 20 } } custom_cost_text = cost_20_0 cost = 0 fire_only_once = yes days_remove = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_kra_transit_corridor executed" newline = yes set_temp_variable = { treasury_change = -20 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_kra_transit_corridor completed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } if = { limit = { SIA = { has_idea = SIA_kra_lease_concession } } add_to_variable = { CHI_economy_local_resources_oil_factor = 0.08 tooltip = local_resources_oil_factor_tt } } else = { add_to_variable = { CHI_economy_local_resources_oil_factor = 0.04 tooltip = local_resources_oil_factor_tt } } add_to_variable = { CHI_economy_fuel_gain_factor = 0.05 tooltip = fuel_gain_factor_tt } add_to_variable = { CHI_economy_resource_export_multiplier_modifier = 0.03 tooltip = resource_export_multiplier_modifier_tt } set_country_flag = CHI_kra_transit_done } ai_will_do = { base = 5 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } CHI_invest_domestic_arms_lines = { icon = generic_factory visible = { OR = { has_idea = CHI_russian_arms_dependency has_idea = CHI_russian_arms_dependency_2 has_idea = CHI_russian_arms_dependency_3 has_idea = CHI_russian_arms_dependency_4 } } custom_cost_trigger = { check_variable = { treasury > 1.49 } } custom_cost_text = cost_1_5 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_invest_domestic_arms_lines executed" set_temp_variable = { arms_ss_gain = 6 } CHI_add_arms_self_sufficiency = yes newline = yes set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } ai_will_do = { base = 2 } } CHI_localise_licensed_system = { icon = generic_factory visible = { has_completed_focus = CHI_own_designs OR = { has_idea = CHI_russian_arms_dependency has_idea = CHI_russian_arms_dependency_2 has_idea = CHI_russian_arms_dependency_3 has_idea = CHI_russian_arms_dependency_4 } } cost = 75 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_localise_licensed_system executed" set_temp_variable = { arms_ss_gain = 10 } CHI_add_arms_self_sufficiency = yes } ai_will_do = { base = 2 } } } CHI_space_program = { CHI_shenzhou_mission = { fixed_random_seed = no icon = buran_timer_button days_mission_timeout = 150 fire_only_once = no is_good = yes selectable_mission = no available = { hidden_trigger = { always = no } } activation = { always = no } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission CHI_shenzhou_mission" random_list = { 50 = { modifier = { add = 25 check_variable = { CHI_space_launch_progress > 3 } } set_country_flag = CHI_shenzhou_mission_done clr_country_flag = CHI_shenzhou_mission_failed air_experience = 10 unlock_decision_tooltip = CHI_launch_payload } 50 = { set_country_flag = CHI_shenzhou_mission_failed unlock_decision_tooltip = CHI_retry_shenzhou_mission } } } } CHI_tiangong_mission = { fixed_random_seed = no icon = generic_research days_mission_timeout = 180 fire_only_once = no is_good = yes selectable_mission = no available = { hidden_trigger = { always = no } } activation = { always = no } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission CHI_tiangong_mission" random_list = { 50 = { modifier = { add = 25 check_variable = { CHI_space_launch_progress > 3 } } set_country_flag = CHI_tiangong_mission_done clr_country_flag = CHI_tiangong_mission_failed custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_speed_facility_factor = 0.05 tooltip = production_speed_facility_factor_tt } } 50 = { set_country_flag = CHI_tiangong_mission_failed } } } } CHI_chang_e_mission = { fixed_random_seed = no icon = generic_research days_mission_timeout = 180 fire_only_once = no is_good = yes selectable_mission = no available = { hidden_trigger = { always = no } } activation = { always = no } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission CHI_chang_e_mission" random_list = { 50 = { modifier = { add = 25 check_variable = { CHI_space_launch_progress > 3 } } set_country_flag = CHI_chang_e_mission_done clr_country_flag = CHI_chang_e_mission_failed add_tech_bonus = { name = CHI_chang_e_mission bonus = 0.25 uses = 1 category = CAT_space } } 50 = { set_country_flag = CHI_chang_e_mission_failed } } } } CHI_crewed_lunar_landing_mission = { icon = generic_research days_mission_timeout = 365 fire_only_once = yes is_good = yes selectable_mission = no available = { hidden_trigger = { always = no } } activation = { has_completed_focus = CHI_crewed_lunar_landing } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission CHI_crewed_lunar_landing_mission" country_event = CHI_space_events.2 hidden_effect = { country_event = { id = CHI_space_events.20 days = 30 } } } } CHI_asteroid_survey_mission = { icon = asteroid_mining days_mission_timeout = 365 fire_only_once = yes is_good = yes selectable_mission = no available = { hidden_trigger = { always = no } } activation = { has_completed_focus = CHI_tianwen_interplanetary } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Mission CHI_asteroid_survey_mission" set_country_flag = CHI_asteroid_mining_unlocked unlock_decision_tooltip = CHI_asteroid_mining_investment } } CHI_launch_payload = { icon = generic_operation fire_only_once = no cost = 25 days_remove = 90 available = { has_country_flag = CHI_shenzhou_mission_done } visible = { has_completed_focus = CHI_shenzhou_program } fixed_random_seed = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_launch_payload" air_experience = 5 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_launch_payload removed" custom_effect_tooltip = CHI_launch_payload_progress_tt add_to_variable = { CHI_space_launch_progress = 1 } random = { chance = 35 add_tech_bonus = { name = CHI_launch_payload bonus = 0.25 uses = 1 category = CAT_space } } newline = yes set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } ai_will_do = { base = 3 } } CHI_retry_shenzhou_mission = { icon = generic_research fire_only_once = no cost = 35 days_re_enable = 30 visible = { has_country_flag = CHI_shenzhou_mission_failed } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_retry_shenzhou_mission" clr_country_flag = CHI_shenzhou_mission_failed activate_mission = CHI_shenzhou_mission newline = yes set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } ai_will_do = { base = 5 } } CHI_retry_tiangong_mission = { icon = generic_research fire_only_once = no cost = 35 days_re_enable = 30 visible = { has_country_flag = CHI_tiangong_mission_failed } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_retry_tiangong_mission" clr_country_flag = CHI_tiangong_mission_failed activate_mission = CHI_tiangong_mission newline = yes set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } ai_will_do = { base = 5 } } CHI_retry_chang_e_mission = { icon = generic_research fire_only_once = no cost = 35 days_re_enable = 30 visible = { has_country_flag = CHI_chang_e_mission_failed } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_retry_chang_e_mission" clr_country_flag = CHI_chang_e_mission_failed activate_mission = CHI_chang_e_mission newline = yes set_temp_variable = { treasury_change = -25 } modify_treasury_effect = yes } ai_will_do = { base = 5 } } CHI_asteroid_mining_investment = { icon = asteroid_mining fire_only_once = no cost = 50 days_remove = 120 available = { has_country_flag = CHI_asteroid_mining_unlocked custom_trigger_tooltip = { tooltip = CHI_asteroid_bonus_cap_tt check_variable = { CHI_asteroid_bonus_count < 5 } } } visible = { has_country_flag = CHI_asteroid_mining_unlocked } fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_asteroid_mining_investment" random = { chance = 60 CHI_unlock_random_asteroid_bonus = yes } newline = yes set_temp_variable = { treasury_change = -50 } modify_treasury_effect = yes } ai_will_do = { base = 2 } } } CHI_factional_balance_category = { CHI_back_princeling_network = { icon = eng_propaganda_campaigns cost = 75 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_back_princeling_network" add_power_balance_value = { id = CHI_factional_balance value = -0.20 tooltip_side = CHI_princeling_shanghai } } ai_will_do = { base = 0 modifier = { add = 200 has_country_leader = { name = "Hu Jintao" } OR = { is_historical_focus_on = yes has_global_flag = CHI_HISTORICAL_FOCUS_PATH } NOT = { has_global_flag = CHI_HEGEMON_FOCUS_PATH } is_power_balance_in_range = { id = CHI_factional_balance range > CHI_collective_leadership_active } } modifier = { add = 200 has_global_flag = CHI_PEACEFUL_RISE_FOCUS_PATH is_power_balance_in_range = { id = CHI_factional_balance range > CHI_shanghai_clique_leaning } } } } CHI_promote_youth_league = { icon = eng_propaganda_campaigns cost = 75 days_re_enable = 180 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision CHI_promote_youth_league" add_power_balance_value = { id = CHI_factional_balance value = 0.20 tooltip_side = CHI_tuanpai_youth_league } } ai_will_do = { base = 0 modifier = { add = 200 has_global_flag = CHI_HEGEMON_FOCUS_PATH is_power_balance_in_range = { id = CHI_factional_balance range < CHI_youth_league_leaning } } modifier = { add = 200 is_power_balance_in_range = { id = CHI_factional_balance range < CHI_shanghai_clique_leaning } } } } }