### Author: Manchu ### Chinese Trigger Conditions is_sco = { OR = { has_idea = CHI_sco_member has_idea = CHI_sco_member_econ has_idea = CHI_sco_member_pol has_idea = CHI_sco_member_mil } } CHI_sco_is_dialogue_partner = { has_idea = CHI_sco_dialogue_partner } CHI_sco_is_observer = { has_idea = CHI_sco_observer } CHI_sco_is_any = { OR = { has_idea = CHI_sco_dialogue_partner has_idea = CHI_sco_observer has_idea = CHI_sco_member has_idea = CHI_sco_member_econ has_idea = CHI_sco_member_pol has_idea = CHI_sco_member_mil } } CHI_sco_can_apply_to_join = { CHI = { has_completed_focus = CHI_Form_the_SCO } NOT = { CHI_sco_is_any = yes } NOT = { is_in_faction_with = USA } NOT = { is_in_faction_with = ENG } CHI = { has_war = no } NOT = { has_war_with = CHI } } all_sco_members_are_china_ruling_party = { if = { limit = { has_government = communism } custom_trigger_tooltip = { tooltip = SCO_all_emerging_tt NOT = { any_of_scopes = { array = global.sco_members is_sco = yes NOT = { has_government = communism } } } } } else_if = { limit = { has_government = democratic } custom_trigger_tooltip = { tooltip = SCO_all_democratic_tt NOT = { any_of_scopes = { array = global.sco_members is_sco = yes NOT = { has_government = democratic } } } } } else = { always = no } } ### SCO Observer Eligibility — Per-Region ### CHI_sco_can_apply_observer = { NOT = { is_sco = yes } NOT = { has_idea = CHI_sco_observer } NOT = { has_country_flag = CHI_sco_observer_status_rejected } } CHI_sco_observer_eligible_special = { OR = { AND = { #Italy original_tag = ITA is_subject = no has_completed_focus = ITA_attempt_join_sco CHI = { has_country_flag = accepted_italy_as_sco_candidate } CHI_sco_can_apply_observer = yes } AND = { #Sweden original_tag = SWE has_completed_focus = SWE_SCO_observer_status CHI_sco_can_apply_observer = yes } AND = { #Ukraine original_tag = UKR is_subject = no CHI = { has_completed_focus = CHI_Form_the_SCO } 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 } } CHI_sco_can_apply_observer = yes } AND = { #Libya original_tag = LBA is_subject = no CHI = { has_completed_focus = CHI_Form_the_SCO has_completed_focus = CHI_China_Africa_Development_Fund } CHI_sco_can_apply_observer = yes LBA = { OR = { NOT = { OR = { has_completed_focus = LBA_strive_for_african_union has_completed_focus = LBA_approach_nato } } NOT = { salafist_caliphate_are_in_power = yes } } } } } } CHI_sco_observer_eligible_asia_me_africa = { is_subject = no CHI = { has_completed_focus = CHI_Form_the_SCO } CHI_sco_can_apply_observer = yes NOT = { OR = { original_tag = ITA original_tag = SWE original_tag = UKR original_tag = LBA original_tag = BRA original_tag = CUB original_tag = VEN } } if = { #ASEAN limit = { has_idea = ASEAN_Member } CHI = { has_completed_focus = CHI_SCO_Exclusive_Core } } if = { #Indian Subcontinent limit = { OR = { original_tag = RAJ original_tag = PAK } } NOT = { RAJ = { has_war_with = PAK } } } if = { #Korean Peninsula (North) limit = { original_tag = NKO } NOT = { has_war_with = KOR } } if = { #Korean Peninsula (South) limit = { original_tag = KOR } NOT = { has_war_with = NKO } OR = { KOR_has_progressive_government = yes KOR_has_liberal_government = yes } } if = { #Middle East limit = { OR = { original_tag = ALA original_tag = AQY original_tag = BHR original_tag = DRU original_tag = FSA original_tag = HAM original_tag = HEZ original_tag = HOU original_tag = IRQ original_tag = ISI original_tag = JOR original_tag = KUR original_tag = PUK original_tag = KUW original_tag = LEB original_tag = NUS original_tag = OMA original_tag = PKK original_tag = QAT original_tag = ROJ original_tag = SAU original_tag = SYR original_tag = UAE original_tag = YEM } } OR = { PER = { is_sco = yes } TUR = { is_sco = yes } AND = { ISI = { exists = no } if = { limit = { original_tag = SYR } has_completed_focus = SYR_russian_military_cooperation } } } } if = { #Nigeria limit = { original_tag = NIG } CHI = { has_completed_focus = CHI_China_Africa_Development_Fund } OR = { AND = { check_variable = { influence_array^0 = USA } check_variable = { influence_array^1 = ROOT } } AND = { OR = { check_variable = { influence_array^0 = USA } check_variable = { influence_array^1 = USA } } check_variable = { influence_array^2 = ROOT } } AND = { OR = { check_variable = { influence_array^0 = USA } check_variable = { influence_array^1 = USA } check_variable = { influence_array^2 = USA } } check_variable = { influence_array^3 = ROOT } } AND = { OR = { check_variable = { influence_array^0 = USA } check_variable = { influence_array^1 = USA } check_variable = { influence_array^2 = USA } check_variable = { influence_array^3 = USA } } check_variable = { influence_array^4 = ROOT } } AND = { OR = { check_variable = { influence_array^0 = USA } check_variable = { influence_array^1 = USA } check_variable = { influence_array^2 = USA } check_variable = { influence_array^3 = USA } check_variable = { influence_array^4 = USA } } check_variable = { influence_array^5 = ROOT } } AND = { OR = { check_variable = { influence_array^0 = USA } check_variable = { influence_array^1 = USA } check_variable = { influence_array^2 = USA } check_variable = { influence_array^3 = USA } check_variable = { influence_array^4 = USA } check_variable = { influence_array^5 = USA } } check_variable = { influence_array^6 = ROOT } } is_influencer = no } } if = { #Cameroon limit = { original_tag = CAM } OR = { AND = { check_variable = { influence_array^0 = USA } check_variable = { influence_array^1 = ROOT } } AND = { OR = { check_variable = { influence_array^0 = USA } check_variable = { influence_array^1 = USA } } check_variable = { influence_array^2 = ROOT } } AND = { OR = { check_variable = { influence_array^0 = USA } check_variable = { influence_array^1 = USA } check_variable = { influence_array^2 = USA } } check_variable = { influence_array^3 = ROOT } } AND = { OR = { check_variable = { influence_array^0 = USA } check_variable = { influence_array^1 = USA } check_variable = { influence_array^2 = USA } check_variable = { influence_array^3 = USA } } check_variable = { influence_array^4 = ROOT } } AND = { OR = { check_variable = { influence_array^0 = USA } check_variable = { influence_array^1 = USA } check_variable = { influence_array^2 = USA } check_variable = { influence_array^3 = USA } check_variable = { influence_array^4 = USA } } check_variable = { influence_array^5 = ROOT } } AND = { OR = { check_variable = { influence_array^0 = USA } check_variable = { influence_array^1 = USA } check_variable = { influence_array^2 = USA } check_variable = { influence_array^3 = USA } check_variable = { influence_array^4 = USA } check_variable = { influence_array^5 = USA } } check_variable = { influence_array^6 = ROOT } } is_influencer = no } } if = { #Other African Countries limit = { OR = { original_tag = DRC original_tag = EGY original_tag = ETH original_tag = SAF original_tag = SUD } } CHI = { has_completed_focus = CHI_China_Africa_Development_Fund } } } CHI_sco_observer_eligible_americas = { is_subject = no CHI = { has_completed_focus = CHI_Form_the_SCO } CHI_sco_can_apply_observer = yes OR = { original_tag = BRA original_tag = CUB original_tag = VEN } if = { #Brazil limit = { original_tag = BRA } has_opinion = { target = CHI value > 74 } } if = { #Venezuela limit = { original_tag = VEN } has_opinion = { target = CHI value > 99 } } if = { #Cuba limit = { original_tag = CUB } has_opinion = { target = CHI value > 49 } } } ### CHI-NKO ### CHI_NKO_joint_focus_available = { CHI = { exists = yes NOT = { has_war_with = NKO } has_opinion = { target = NKO value > 24 } } NKO = { exists = yes has_opinion = { target = CHI value > 24 } } } CHI_NKO_idea_cancel = { OR = { NOT = { country_exists = CHI } NOT = { country_exists = NKO } AND = { original_tag = CHI has_war_with = NKO } AND = { original_tag = NKO has_war_with = CHI } } } ### CHI-SOV ### CHI_SOV_joint_focus_available = { CHI = { exists = yes NOT = { has_war_with = SOV } has_opinion = { target = SOV value > 24 } } SOV = { exists = yes has_opinion = { target = CHI value > 24 } } } CHI_SOV_idea_cancel = { OR = { NOT = { country_exists = CHI } NOT = { country_exists = SOV } AND = { original_tag = CHI has_war_with = SOV } AND = { original_tag = SOV has_war_with = CHI } } } ### SAR CHI_TAI_both_at_peace = { country_exists = CHI country_exists = TAI NOT = { has_war_with = CHI } NOT = { has_war_with = TAI } } ### Belt and Road Initiative ### CHI_bri_is_application_eligible = { has_war = no NOT = { has_war_with = CHI } NOT = { has_country_flag = bri_pipeline_busy } NOT = { has_country_flag = bri_defaulted } NOT = { has_active_mission = bankruptcy_incoming_collapse } } CHI_bri_can_request = { country_exists = CHI CHI_bri_is_application_eligible = yes NOT = { gdp_per_capita_greater_than_30 = yes } CHI = { check_variable = { CHI_bri_committed_projects < CHI_bri_project_slots } check_variable = { var = CHI_bri_treasury value = CHI_bri_project_cost compare = greater_than_or_equals } } } CHI_bri_reserved_application_is_valid = { country_exists = CHI has_country_flag = bri_pipeline_busy has_war = no NOT = { has_war_with = CHI } NOT = { has_country_flag = bri_defaulted } NOT = { has_active_mission = bankruptcy_incoming_collapse } NOT = { gdp_per_capita_greater_than_30 = yes } if = { limit = { check_variable = { bri_project_type = 2 } } OR = { is_neighbor_of = CHI has_country_flag = CHI_bri_partner } } CHI_bri_project_type_is_hostable = yes } CHI_bri_project_type_is_hostable = { OR = { AND = { check_variable = { bri_project_type = 1 } CHI_bri_can_host_port = yes } AND = { check_variable = { bri_project_type = 2 } CHI_bri_can_host_rail = yes } AND = { check_variable = { bri_project_type = 3 } CHI_bri_can_host_pipeline = yes } AND = { check_variable = { bri_project_type = 4 } CHI_bri_can_host_telecom = yes } AND = { check_variable = { bri_project_type = 5 } CHI_bri_can_host_sez = yes } AND = { check_variable = { bri_project_type = 6 } CHI_bri_can_host_mine = yes } AND = { check_variable = { bri_project_type = 7 } CHI_bri_can_host_energy = yes } AND = { check_variable = { bri_project_type = 8 } CHI_bri_can_host_prestige = yes } } } CHI_bri_can_host_port = { any_owned_state = { is_controlled_by = PREV is_coastal = yes infrastructure < 5 } } CHI_bri_can_host_rail = { any_owned_state = { is_controlled_by = PREV infrastructure < 5 } } CHI_bri_can_host_pipeline = { any_owned_state = { is_controlled_by = PREV OR = { has_resources_amount = { resource = oil amount > 4 } has_resources_amount = { resource = steel amount > 4 } has_resources_amount = { resource = chromium amount > 4 } } } } CHI_bri_can_host_telecom = { any_owned_state = { is_controlled_by = PREV free_building_slots = { building = internet_station size > 0 include_locked = no } } } CHI_bri_can_host_sez = { num_of_factories > 4 any_owned_state = { is_controlled_by = PREV free_building_slots = { building = industrial_complex size > 0 include_locked = no } OR = { is_coastal = yes infrastructure > 3 } } } CHI_bri_can_host_mine = { any_owned_state = { is_controlled_by = PREV OR = { has_resources_amount = { resource = steel amount > 2 } has_resources_amount = { resource = chromium amount > 2 } has_resources_amount = { resource = aluminium amount > 2 } has_resources_amount = { resource = tungsten amount > 2 } } } } CHI_bri_can_host_energy = { any_owned_state = { is_controlled_by = PREV industrial_complex > 0 free_building_slots = { building = renewable_energy_infra size > 0 include_locked = no } } } CHI_bri_can_host_prestige = { has_stability > 0.4 any_owned_state = { is_controlled_by = PREV is_capital = yes free_building_slots = { building = offices size > 0 include_locked = no } } } CHI_bri_is_engaged = { OR = { check_variable = { bri_partner_rank > 0 } check_variable = { bri_debt_owed_to_china > 0 } has_country_flag = bri_pipeline_busy } } CHI_bri_has_reclaimable_structure = { any_owned_state = { is_controlled_by = PREV OR = { has_dynamic_modifier = { modifier = CHI_bri_state_port } has_dynamic_modifier = { modifier = CHI_bri_state_rail } has_dynamic_modifier = { modifier = CHI_bri_state_pipeline } has_dynamic_modifier = { modifier = CHI_bri_state_telecom } has_dynamic_modifier = { modifier = CHI_bri_state_sez } has_dynamic_modifier = { modifier = CHI_bri_state_mine } has_dynamic_modifier = { modifier = CHI_bri_state_energy } has_dynamic_modifier = { modifier = CHI_bri_state_prestige } has_dynamic_modifier = { modifier = CHI_bri_state_industrial } has_dynamic_modifier = { modifier = CHI_bri_state_infrastructure } } } } CHI_corruption_under_control = { NOT = { has_idea = corruption_level_06 } NOT = { has_idea = corruption_level_07 } NOT = { has_idea = corruption_level_08 } NOT = { has_idea = corruption_level_09 } NOT = { has_idea = corruption_level_10 } } CHI_HKG_sinicization_slot_free = { NOT = { has_decision = CHI_HKG_patriotic_education_drive } NOT = { has_decision = CHI_HKG_liaison_office_expansion } } CHI_MAC_sinicization_slot_free = { NOT = { has_decision = CHI_MAC_cross_border_administration } NOT = { has_decision = CHI_MAC_hengqin_integration_zone } } CHI_TIB_sinicization_slot_free = { NOT = { has_decision = CHI_TIB_monastic_patriotic_education } NOT = { has_decision = CHI_TIB_village_cadre_teams } } CHI_ETK_sinicization_slot_free = { NOT = { has_decision = CHI_ETK_bilingual_boarding_schools } NOT = { has_decision = CHI_ETK_labour_transfer_scheme } } CHI_OMG_sinicization_slot_free = { NOT = { has_decision = CHI_OMG_mandarin_curriculum_rollout } NOT = { has_decision = CHI_OMG_pastoral_sedentarisation } NOT = { has_decision = CHI_han_settlement_small } NOT = { has_decision = CHI_han_settlement_medium } NOT = { has_decision = CHI_han_settlement_large } } CHI_national_sinicization_slot_free = { NOT = { has_decision = CHI_national_common_language_campaign } NOT = { has_decision = CHI_second_generation_ethnic_policy } } CHI_any_SAR_awaiting_integration = { OR = { 595 = { owns_or_subject_of = yes NOT = { is_core_of = CHI } } 1106 = { owns_or_subject_of = yes NOT = { is_core_of = CHI } } 589 = { is_owned_by = CHI NOT = { is_core_of = CHI } } 592 = { is_owned_by = CHI NOT = { is_core_of = CHI } } 591 = { is_owned_by = CHI NOT = { is_core_of = CHI } } 556 = { is_owned_by = CHI NOT = { is_core_of = CHI } } 1097 = { is_owned_by = CHI NOT = { is_core_of = CHI } } } } # The awarded idea is the authoritative outcome; no parallel flag is kept. CHI_huawei_outcome_settled = { OR = { has_idea = CHI_huawei_sovereign_full_stack has_idea = CHI_huawei_global_telecom_challenger has_idea = CHI_huawei_resilient_technology_fortress has_idea = CHI_huawei_consumer_ecosystem_power } } # The awarded idea is the authoritative outcome; no parallel flag is kept. CHI_lenovo_outcome_settled = { OR = { has_idea = CHI_lenovo_enterprise_server_platform has_idea = CHI_lenovo_global_pc_platform has_idea = CHI_lenovo_strategic_bridge has_idea = CHI_lenovo_domestic_champion } } # The awarded idea is the authoritative outcome; no parallel flag is kept. CHI_tencent_outcome_settled = { OR = { has_idea = CHI_tencent_global_platform_conglomerate has_idea = CHI_tencent_domestic_superapp has_idea = CHI_tencent_licensed_games_publisher has_idea = CHI_tencent_independent_messaging } } # The awarded idea is the authoritative outcome; no parallel flag is kept. CHI_alibaba_outcome_settled = { OR = { has_idea = CHI_alibaba_supervised_commerce_backbone has_idea = CHI_alibaba_open_consumer_marketplace has_idea = CHI_alibaba_foreign_capitalised_trading_house has_idea = CHI_alibaba_wholesale_export_broker } } # The awarded idea is the authoritative outcome; no parallel flag is kept. CHI_bytedance_outcome_settled = { OR = { has_idea = CHI_bytedance_sovereign_recommendation_engine has_idea = CHI_bytedance_global_attention_platform has_idea = CHI_bytedance_licensed_information_utility has_idea = CHI_bytedance_editorial_news_group } }