#Rework Author(s): TheGeneral add_namespace = CHI_political_events add_namespace = CHI_semiconductor_events add_namespace = china_national_committee add_namespace = china_sar add_namespace = CHI_sco add_namespace = CHI_foreign add_namespace = china_scs add_namespace = sino_indian add_namespace = chi_bri add_namespace = chi_uighur add_namespace = CHI_military_event add_namespace = CHI_space_events add_namespace = china_news country_event = { id = china_national_committee.02 title = china_national_committee.02.t desc = china_national_committee.02.d picture = GFX_CHI_event_national_congress_started is_triggered_only = yes option = { name = china_national_committee.02.a ai_chance = { base = 1 } } } country_event = { id = china_sar.001 title = china_sar.001.t desc = china_sar.001.d picture = GFX_CHI_event_cross_strat_service_agreement is_triggered_only = yes option = { name = china_sar.001.a log = "[GetDateText]: [This.GetName]: china_sar.001.a executed" add_opinion_modifier = { target = CHI modifier = CSSTA } reverse_add_opinion_modifier = { target = TAI modifier = CSSTA } add_opinion_modifier = { target = CHI modifier = large_commercial_relations } reverse_add_opinion_modifier = { target = TAI modifier = large_commercial_relations } 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_democratic_drift = -0.02 tooltip = democratic_drift_tt } add_to_variable = { CHI_TAI_civilian_factories_productivity = 0.03 tooltip = civilian_factories_productivity_tt } set_country_flag = TAI_CSSTA_signed CHI = { add_to_variable = { CHI_TAI_trust = 10 } } ai_chance = { base = 10 } } option = { name = china_sar.001.b log = "[GetDateText]: [This.GetName]: china_sar.001.b executed" CHI = { add_to_variable = { CHI_TAI_trust = -5 } if = { limit = { check_variable = { CHI_TAI_trust < 0 } } set_variable = { CHI_TAI_trust = 0 } } } ai_chance = { base = 10 } } } country_event = { id = china_sar.002 title = china_sar.002.t desc = china_sar.002.d picture = GFX_CHI_event_china_taiwan_flag is_triggered_only = yes option = { name = china_sar.002.a log = "[GetDateText]: [This.GetName]: china_sar.002.a executed" add_to_variable = { party_pop_array^1 = 0.02 } add_to_variable = { party_pop_array^2 = -0.01 } recalculate_party = yes CHI = { add_to_variable = { CHI_TAI_trust = 8 } } ai_chance = { base = 10 } } option = { name = china_sar.002.b log = "[GetDateText]: [This.GetName]: china_sar.002.b executed" CHI = { add_to_variable = { CHI_TAI_trust = 3 } } ai_chance = { base = 10 } } option = { name = china_sar.002.c log = "[GetDateText]: [This.GetName]: china_sar.002.c executed" add_to_variable = { party_pop_array^2 = 0.01 } recalculate_party = yes add_war_support = 0.03 CHI = { add_to_variable = { CHI_TAI_trust = -8 } if = { limit = { check_variable = { CHI_TAI_trust < 0 } } set_variable = { CHI_TAI_trust = 0 } } } ai_chance = { base = 10 } } } country_event = { id = china_sar.003 title = china_sar.003.t desc = china_sar.003.d picture = GFX_CHI_event_china_taiwan_flag is_triggered_only = yes option = { name = china_sar.003.a log = "[GetDateText]: [This.GetName]: china_sar.003.a executed" add_to_variable = { party_pop_array^1 = 0.02 } recalculate_party = yes add_stability = 0.03 CHI = { add_to_variable = { CHI_TAI_trust = 8 } } ai_chance = { base = 10 } } option = { name = china_sar.003.b log = "[GetDateText]: [This.GetName]: china_sar.003.b executed" add_stability = 0.01 CHI = { add_to_variable = { CHI_TAI_trust = 2 } } ai_chance = { base = 10 } } option = { name = china_sar.003.c log = "[GetDateText]: [This.GetName]: china_sar.003.c executed" add_to_variable = { party_pop_array^2 = 0.02 } recalculate_party = yes add_war_support = 0.05 CHI = { add_to_variable = { CHI_TAI_trust = -10 } if = { limit = { check_variable = { CHI_TAI_trust < 0 } } set_variable = { CHI_TAI_trust = 0 } } } ai_chance = { base = 10 } } } country_event = { id = china_sar.004 title = china_sar.004.t desc = china_sar.004.d picture = GFX_CHI_event_pro_taiwan is_triggered_only = yes option = { name = china_sar.004.a } } country_event = { id = china_sar.005 title = china_sar.005.t desc = china_sar.005.d picture = GFX_TAI_sunflower is_triggered_only = yes option = { name = china_sar.005.a log = "[GetDateText]: [This.GetName]: china_sar.005.a executed" set_country_flag = { flag = TAI_foreign_interference value = 1 days = 180 } add_stability = -0.05 add_opinion_modifier = { target = USA modifier = political_outreach } add_opinion_modifier = { target = JAP modifier = political_outreach } CHI = { add_to_variable = { CHI_TAI_trust = -15 } if = { limit = { check_variable = { CHI_TAI_trust < 0 } } set_variable = { CHI_TAI_trust = 0 } } country_event = { id = china_sar.006 days = 3 } } } } country_event = { id = china_sar.006 title = china_sar.006.t desc = china_sar.006.d picture = GFX_TAI_taiwan is_triggered_only = yes option = { name = china_sar.006.a log = "[GetDateText]: [This.GetName]: china_sar.006.a executed" add_stability = -0.01 } } country_event = { id = china_sar.007 title = china_sar.007.t desc = china_sar.007.d picture = GFX_CHI_event_aircraft is_triggered_only = yes option = { name = china_sar.007.a log = "[GetDateText]: [This.GetName]: china_sar.007.a executed" 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 } set_country_flag = { flag = CHI_recent_provocation days = 30 value = 1 } ai_chance = { base = 30 } } option = { name = china_sar.007.b log = "[GetDateText]: [This.GetName]: china_sar.007.b executed" set_country_flag = { flag = CHI_recent_provocation days = 30 value = 1 } ai_chance = { base = 50 } } option = { name = china_sar.007.c log = "[GetDateText]: [This.GetName]: china_sar.007.c executed" 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 = -2 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } set_country_flag = { flag = CHI_recent_provocation days = 30 value = 1 } ai_chance = { base = 20 } } } country_event = { id = china_sar.008 title = china_sar.008.t desc = china_sar.008.d picture = GFX_CHI_event_chinese_ship is_triggered_only = yes option = { name = china_sar.008.a log = "[GetDateText]: [This.GetName]: china_sar.008.a executed" random_list = { 50 = { 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 } 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 } } 50 = { 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_recent_provocation days = 60 value = 1 } ai_chance = { base = 30 } } option = { name = china_sar.008.b log = "[GetDateText]: [This.GetName]: china_sar.008.b executed" 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 } set_country_flag = { flag = CHI_recent_provocation days = 60 value = 1 } ai_chance = { base = 40 } } option = { name = china_sar.008.c log = "[GetDateText]: [This.GetName]: china_sar.008.c executed" add_to_variable = { CHI_taiwan_strait_tension = -6 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_recent_provocation days = 60 value = 1 } ai_chance = { base = 30 } } } country_event = { id = china_sar.009 title = china_sar.009.t desc = china_sar.009.d picture = GFX_CHI_event_missiles_taiwan is_triggered_only = yes option = { name = china_sar.009.a log = "[GetDateText]: [This.GetName]: china_sar.009.a executed" 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 } add_war_support = 0.03 } } country_event = { id = china_sar.010 title = china_sar.010.t desc = china_sar.010.d picture = GFX_CHI_event_missiles_taiwan is_triggered_only = yes option = { name = china_sar.010.a log = "[GetDateText]: [This.GetName]: china_sar.010.a executed" 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 } add_stability = -0.02 } } country_event = { id = china_sar.011 title = china_sar.011.t desc = china_sar.011.d picture = GFX_CHI_event_taiwan_flag_down is_triggered_only = yes option = { name = china_sar.011.a log = "[GetDateText]: [This.GetName]: china_sar.011.a executed" 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 = { CHI_TAI_apply_isolation = yes } } } country_event = { id = china_sar.012 title = china_sar.012.t desc = china_sar.012.d picture = GFX_USA_event_congress is_triggered_only = yes option = { name = china_sar.012.a log = "[GetDateText]: [This.GetName]: china_sar.012.a executed" add_political_power = -50 random_list = { 70 = { 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 } } 30 = { 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_chance = { base = 60 } } option = { name = china_sar.012.b log = "[GetDateText]: [This.GetName]: china_sar.012.b executed" 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 } ai_chance = { base = 30 } } option = { name = china_sar.012.c log = "[GetDateText]: [This.GetName]: china_sar.012.c executed" TAI = { add_timed_idea = { idea = TAI_civil_defense_readiness days = 365 } } ai_chance = { base = 10 } } } country_event = { id = china_sar.013 title = china_sar.013.t desc = china_sar.013.d picture = GFX_USA_generic is_triggered_only = yes option = { name = china_sar.013.a log = "[GetDateText]: [This.GetName]: china_sar.013.a executed" 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 } } } country_event = { id = china_sar.014 title = china_sar.014.t desc = china_sar.014.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = china_sar.014.a log = "[GetDateText]: [This.GetName]: china_sar.014.a executed" add_to_variable = { CHI_taiwan_us_support = 15 tooltip = CHI_taiwan_us_support_tt } clamp_variable = { var = CHI_taiwan_us_support min = 0 max = 100 } add_stability = -0.05 USA = { add_opinion_modifier = { target = CHI modifier = chi_usa_sanctions_response } } } } country_event = { id = china_sar.015 title = china_sar.015.t desc = china_sar.015.d picture = GFX_USA_event_cia is_triggered_only = yes option = { name = china_sar.015.a log = "[GetDateText]: [This.GetName]: china_sar.015.a executed" add_timed_idea = { idea = TAI_civil_defense_readiness days = 365 } add_war_support = 0.05 ai_chance = { base = 10 } } option = { name = china_sar.015.b log = "[GetDateText]: [This.GetName]: china_sar.015.b executed" add_political_power = 50 CHI = { 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_chance = { base = 10 } } } country_event = { id = china_sar.016 title = china_sar.016.t desc = china_sar.016.d picture = GFX_CHI_event_navy_ship is_triggered_only = yes option = { name = china_sar.016.a log = "[GetDateText]: [This.GetName]: china_sar.016.a executed" add_ideas = TAI_emergency_situation add_war_support = 0.10 ai_chance = { base = 70 } } option = { name = china_sar.016.b log = "[GetDateText]: [This.GetName]: china_sar.016.b executed" add_stability = 0.03 CHI = { 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 } } ai_chance = { base = 30 } } } country_event = { id = china_sar.017 title = china_sar.017.t desc = china_sar.017.d picture = GFX_CHI_event_chinese_ship is_triggered_only = yes option = { name = china_sar.017.a log = "[GetDateText]: [This.GetName]: china_sar.017.a executed" add_war_support = 0.15 add_stability = -0.10 CHI = { 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 } } ai_chance = { base = 80 modifier = { factor = 0.1 CHI = { check_variable = { CHI_taiwan_us_support < 15 } } } } } option = { name = china_sar.017.b log = "[GetDateText]: [This.GetName]: china_sar.017.b executed" trigger = { CHI = { check_variable = { CHI_taiwan_us_support < 20 } } } CHI = { country_event = { id = china_sar.018 days = 7 } } ai_chance = { base = 5 modifier = { add = 50 CHI = { check_variable = { CHI_taiwan_us_support < 15 } } } } } } country_event = { id = china_sar.018 title = china_sar.018.t desc = china_sar.018.d picture = GFX_CHI_event_chineses_taiwan_flag is_triggered_only = yes option = { name = china_sar.018.a log = "[GetDateText]: [This.GetName]: china_sar.018.a executed" annex_country = { target = TAI transfer_troops = yes } add_stability = 0.10 add_war_support = 0.10 add_political_power = 200 clr_country_flag = CHI_TAI_full_blockade_active clr_country_flag = CHI_TAI_partial_blockade_active clr_country_flag = CHI_TAI_maritime_zone_active } } country_event = { id = china_sar.019 title = china_sar.019.t desc = china_sar.019.d picture = GFX_CHI_chinese_soldiers is_triggered_only = yes option = { name = china_sar.019.a log = "[GetDateText]: [This.GetName]: china_sar.019.a executed" set_variable = { CHI_taiwan_strait_tension = 60 } 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 } add_stability = -0.05 add_war_support = -0.05 ai_chance = { base = 70 modifier = { factor = 0.2 check_variable = { CHI_taiwan_us_support < 30 } } } } option = { name = china_sar.019.b log = "[GetDateText]: [This.GetName]: china_sar.019.b executed" create_wargoal = { type = annex_everything target = TAI } TAI = { CHI_TAI_apply_isolation = yes } 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 } add_stability = -0.10 ai_chance = { base = 0 modifier = { add = 50 has_global_flag = CHI_HEGEMON_FOCUS_PATH check_variable = { CHI_taiwan_us_support < 30 } naval_strength_ratio = { tag = TAI ratio > 2 } } } } } country_event = { id = china_sar.020 title = china_sar.020.t desc = china_sar.020.d picture = GFX_CHI_event_chinese_ship_2 is_triggered_only = yes option = { name = china_sar.020.a log = "[GetDateText]: [This.GetName]: china_sar.020.a executed" add_war_support = 0.20 add_stability = -0.05 CHI = { country_event = { id = china_sar.021 days = 1 } } ai_chance = { base = 90 modifier = { factor = 0.1 CHI = { check_variable = { CHI_taiwan_us_support < 10 } } } } } option = { name = china_sar.020.b log = "[GetDateText]: [This.GetName]: china_sar.020.b executed" trigger = { CHI = { check_variable = { CHI_taiwan_us_support < 20 } } } CHI = { country_event = { id = china_sar.022 days = 1 } } ai_chance = { base = 5 modifier = { add = 80 CHI = { check_variable = { CHI_taiwan_us_support < 10 } } } } } } country_event = { id = china_sar.021 title = china_sar.021.t desc = china_sar.021.d picture = GFX_CHI_event_chinese_ship_2 is_triggered_only = yes option = { name = china_sar.021.a log = "[GetDateText]: [This.GetName]: china_sar.021.a executed" add_war_support = 0.10 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 } create_wargoal = { type = annex_everything target = TAI } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = CHI_HEGEMON_FOCUS_PATH naval_strength_ratio = { tag = TAI ratio > 2 } } } } option = { name = china_sar.021.b log = "[GetDateText]: [This.GetName]: china_sar.021.b executed" add_war_support = -0.10 add_stability = -0.05 set_variable = { CHI_taiwan_strait_tension = 55 } 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 } ai_chance = { base = 100 } } } country_event = { id = china_sar.022 title = china_sar.022.t desc = china_sar.022.d picture = GFX_CHI_end_of_roc is_triggered_only = yes option = { name = china_sar.022.a log = "[GetDateText]: [This.GetName]: china_sar.022.a executed" add_stability = 0.05 annex_country = { target = TAI transfer_troops = yes } if = { limit = { has_dynamic_modifier = { modifier = CHI_TAI_shared_modifier } } remove_dynamic_modifier = { modifier = CHI_TAI_shared_modifier } } } } country_event = { id = china_sar.023 title = china_sar.023.t desc = china_sar.023.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = china_sar.023.a log = "[GetDateText]: [This.GetName]: china_sar.023.a executed" remove_from_array = { recognised_countries = TAI } add_opinion_modifier = { target = CHI modifier = chi_tai_recognition_reward } ai_chance = { base = 3 modifier = { add = 7 has_opinion = { target = CHI value > 50 } } modifier = { add = 5 CHI = { check_variable = { CHI_taiwan_us_support < 30 } } } } } option = { name = china_sar.023.b log = "[GetDateText]: [This.GetName]: china_sar.023.b executed" add_opinion_modifier = { target = CHI modifier = chi_tai_recognition_defiance } ai_chance = { base = 7 modifier = { add = 5 has_opinion = { target = TAI value > 30 } } } } } country_event = { id = china_sar.024 title = china_sar.024.t desc = china_sar.024.d picture = GFX_CHI_landing is_triggered_only = yes option = { name = china_sar.024.a log = "[GetDateText]: [This.GetName]: china_sar.024.a executed" 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 = -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 = 90 value = 1 } } } country_event = { id = china_sar.025 title = china_sar.025.t desc = china_sar.025.d picture = GFX_us_flag is_triggered_only = yes option = { name = china_sar.025.a log = "[GetDateText]: [This.GetName]: china_sar.025.a executed" 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_stability = -0.02 ai_chance = { base = 40 modifier = { add = 30 check_variable = { CHI_taiwan_strait_tension > 70 } } } } option = { name = china_sar.025.b log = "[GetDateText]: [This.GetName]: china_sar.025.b executed" 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 = { 60 = { 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 } } 40 = { country_event = { id = china_sar.008 days = 3 } } } ai_chance = { base = 60 modifier = { factor = 0.3 check_variable = { CHI_taiwan_strait_tension > 70 } } } } } country_event = { id = china_sar.026 title = china_sar.026.t desc = china_sar.026.d picture = GFX_us_flag is_triggered_only = yes option = { name = china_sar.026.a } } country_event = { id = china_sar.027 title = china_sar.027.t desc = china_sar.027.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = china_sar.027.a log = "[GetDateText]: [This.GetName]: china_sar.027.a executed" custom_effect_tooltip = CHI_tai_pressure_economic_tt hidden_effect = { USA = { country_event = { id = china_sar.028 days = 14 } } } add_opinion_modifier = { target = USA modifier = chi_usa_pressure_campaign } ai_chance = { base = 6 modifier = { add = 3 has_completed_focus = CHI_SAR_one_system_declaration } } } option = { name = china_sar.027.b log = "[GetDateText]: [This.GetName]: china_sar.027.b executed" custom_effect_tooltip = CHI_tai_pressure_diplomatic_tt hidden_effect = { USA = { country_event = { id = china_sar.028 days = 21 } } } add_opinion_modifier = { target = USA modifier = chi_usa_pressure_campaign } ai_chance = { base = 4 } } } country_event = { id = china_sar.028 title = china_sar.028.t desc = china_sar.028.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = china_sar.028.a log = "[GetDateText]: [This.GetName]: china_sar.028.a executed" CHI = { country_event = { id = china_sar.029 days = 14 } add_opinion_modifier = { target = USA modifier = tai_diplomatic_isolation } } TAI = { add_opinion_modifier = { target = USA modifier = reduced_tensions } } ai_chance = { base = 8 modifier = { add = 5 has_opinion = { target = CHI value < -10 } } modifier = { add = 4 TAI = { is_in_faction_with = USA } } modifier = { factor = 0 has_opinion = { target = CHI value > 30 } } } } option = { name = china_sar.028.b log = "[GetDateText]: [This.GetName]: china_sar.028.b executed" CHI = { country_event = { id = china_sar.030 days = 14 } } ai_chance = { base = 4 modifier = { add = 3 has_opinion = { target = CHI value > 10 } } modifier = { factor = 0 TAI = { is_in_faction_with = USA } } } } } country_event = { id = china_sar.029 title = china_sar.029.t desc = china_sar.029.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = china_sar.029.a log = "[GetDateText]: [This.GetName]: china_sar.029.a executed" add_war_support = 0.03 every_other_country = { limit = { has_opinion = { target = USA value < -15 } NOT = { is_in_faction_with = USA } is_major = yes } add_opinion_modifier = { target = CHI modifier = shared_future_community } } hidden_effect = { USA = { country_event = { id = china_sar.031 days = 21 } } } ai_chance = { base = 8 } } option = { name = china_sar.029.b log = "[GetDateText]: [This.GetName]: china_sar.029.b executed" add_war_support = 0.05 add_threat = 0.5 hidden_effect = { USA = { country_event = { id = china_sar.031 days = 14 } } } ai_chance = { base = 4 modifier = { add = 4 has_completed_focus = CHI_SAR_one_system_declaration } } } } country_event = { id = china_sar.030 title = china_sar.030.t desc = china_sar.030.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = china_sar.030.a log = "[GetDateText]: [This.GetName]: china_sar.030.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_SAR_network_modifier } add_to_variable = { CHI_network_trade_opinion_factor = 0.03 tooltip = trade_opinion_factor_tt } TAI = { add_timed_idea = { idea = TAI_reduced_us_support days = 730 } } ai_chance = { base = 7 } } option = { name = china_sar.030.b log = "[GetDateText]: [This.GetName]: china_sar.030.b executed" hidden_effect = { USA = { country_event = { id = china_sar.031 days = 14 } } } ai_chance = { base = 3 modifier = { add = 5 has_completed_focus = CHI_SAR_one_system_declaration } } } } country_event = { id = china_sar.031 title = china_sar.031.t desc = china_sar.031.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = china_sar.031.a log = "[GetDateText]: [This.GetName]: china_sar.031.a executed" CHI = { country_event = { id = china_sar.032 days = 7 } } ai_chance = { base = 3 modifier = { add = 5 has_opinion = { target = CHI value > 20 } } modifier = { factor = 0 TAI = { is_in_faction_with = ROOT } } modifier = { factor = 0 check_variable = { num_of_military_factories > 150 } } } } option = { name = china_sar.031.b log = "[GetDateText]: [This.GetName]: china_sar.031.b executed" CHI = { country_event = { id = china_sar.033 days = 7 } } TAI = { add_opinion_modifier = { target = USA modifier = reduced_tensions } } ai_chance = { base = 7 modifier = { add = 5 has_opinion = { target = CHI value < 0 } } modifier = { add = 5 TAI = { is_in_faction_with = ROOT } } } } } country_event = { id = china_sar.032 title = china_sar.032.t desc = china_sar.032.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = china_sar.032.a log = "[GetDateText]: [This.GetName]: china_sar.032.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_SAR_network_modifier } add_to_variable = { CHI_network_border_control_multiplier_modifier = 0.03 tooltip = border_control_multiplier_modifier_tt } add_war_support = 0.05 custom_effect_tooltip = CHI_taiwan_us_support_collapse_tt hidden_effect = { set_variable = { CHI_taiwan_us_support = 0 } } TAI = { add_timed_idea = { idea = TAI_isolated_from_us days = 1825 } NATO_major_non_nato_ally_leave = yes country_event = { id = china_sar.049 days = 1 } } USA = { set_country_flag = USA_withdrew_support_TAI diplomatic_relation = { country = TAI relation = guarantee active = no } add_opinion_modifier = { target = CHI modifier = chi_usa_pressure_campaign } } ai_chance = { base = 10 } } } country_event = { id = china_sar.033 title = china_sar.033.t desc = china_sar.033.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = china_sar.033.a log = "[GetDateText]: [This.GetName]: china_sar.033.a executed" USA = { add_opinion_modifier = { target = CHI modifier = chi_usa_sanctions_response } } add_war_support = -0.03 add_opinion_modifier = { target = USA modifier = chi_usa_sanctions_response } TAI = { add_opinion_modifier = { target = USA modifier = reduced_tensions } } ai_chance = { base = 10 } } } country_event = { id = china_sar.049 title = china_sar.049.t desc = china_sar.049.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes minor_flavor = yes option = { name = china_sar.049.a } } country_event = { id = china_sar.034 title = china_sar.034.t desc = china_sar.034.d picture = GFX_CHI_counter_terrorist is_triggered_only = yes option = { name = china_sar.034.a log = "[GetDateText]: [Root.GetName]: china_sar.034.a" add_stability = -0.04 add_political_power = -25 ETK = { add_timed_idea = { idea = ETK_terrorism_aftermath days = 90 } } set_temp_variable = { sinicization_base_change = 2 } CHI_apply_sinicization_ETK = yes ai_chance = { base = 70 } } option = { name = china_sar.034.b log = "[GetDateText]: [Root.GetName]: china_sar.034.b" add_stability = -0.02 ETK = { add_timed_idea = { idea = ETK_terrorism_aftermath days = 45 } } ai_chance = { base = 30 } } } country_event = { id = china_sar.035 title = china_sar.035.t desc = china_sar.035.d picture = GFX_CHI_begonia_leaf is_triggered_only = yes option = { name = china_sar.035.a log = "[GetDateText]: [This.GetName]: china_sar.035.a executed" add_ideas = MON_CHI_cultural_sphere_idea } } country_event = { id = china_sar.036 title = china_sar.036.t desc = china_sar.036.d picture = GFX_CHI_outer_mongolia_over_crosshair is_triggered_only = yes option = { name = china_sar.036.a log = "[GetDateText]: [This.GetName]: china_sar.036.a executed" every_unit_leader = { set_nationality = OMG } OMG = { annex_country = { target = MON transfer_troops = yes } add_state_core = 596 add_state_core = 597 } ai_chance = { base = 1 } } option = { name = china_sar.036.b log = "[GetDateText]: [This.GetName]: china_sar.036.b executed" CHI = { country_event = { id = china_sar.037 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = china_sar.037 title = china_sar.037.t desc = china_sar.037.d picture = GFX_CHI_outer_mongolia_over_crosshair is_triggered_only = yes option = { name = china_sar.037.a log = "[GetDateText]: [This.GetName]: china_sar.037.a executed" set_country_flag = CHI_MON_reunification_rejected unlock_decision_tooltip = CHI_MON_reunification_retry } } country_event = { id = china_sar.038 title = china_sar.038.t desc = china_sar.038.d picture = GFX_CHI_event_chineses_taiwan_flag is_triggered_only = yes option = { name = china_sar.038.a log = "[GetDateText]: [This.GetName]: china_sar.038.a executed" add_opinion_modifier = { target = CHI modifier = political_outreach } CHI = { add_to_variable = { CHI_TAI_trust = 4 tooltip = CHI_TAI_trust_tt } clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 } add_opinion_modifier = { target = TAI modifier = political_outreach } clr_country_flag = CHI_TAI_rejected_economic_track } ai_chance = { base = 40 modifier = { factor = 0 check_variable = { ruling_party = 2 } } modifier = { add = 30 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } modifier = { add = 20 CHI = { check_variable = { CHI_TAI_trust > 30 } } } } } option = { name = china_sar.038.b log = "[GetDateText]: [This.GetName]: china_sar.038.b executed" CHI = { set_country_flag = CHI_TAI_rejected_economic_track } ai_chance = { base = 30 modifier = { add = 60 check_variable = { ruling_party = 2 } } modifier = { factor = 0.2 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } } } } country_event = { id = china_sar.039 title = china_sar.039.t desc = china_sar.039.d picture = GFX_CHI_event_chineses_taiwan_flag is_triggered_only = yes option = { name = china_sar.039.a log = "[GetDateText]: [This.GetName]: china_sar.039.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_TAI_shared_modifier } add_to_variable = { CHI_TAI_consumer_goods_factor = -0.03 tooltip = consumer_goods_factor_tt } add_to_variable = { CHI_TAI_trade_opinion_factor = 0.05 tooltip = trade_opinion_factor_tt } CHI = { add_to_variable = { CHI_TAI_trust = 6 tooltip = CHI_TAI_trust_tt } clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_SAR_network_modifier } add_to_variable = { CHI_network_trade_opinion_factor = 0.03 tooltip = trade_opinion_factor_tt } clr_country_flag = CHI_TAI_rejected_expand_trade } ai_chance = { base = 40 modifier = { factor = 0 check_variable = { ruling_party = 2 } } modifier = { add = 30 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } modifier = { add = 20 CHI = { check_variable = { CHI_TAI_trust > 30 } } } } } option = { name = china_sar.039.b log = "[GetDateText]: [This.GetName]: china_sar.039.b executed" CHI = { set_country_flag = CHI_TAI_rejected_expand_trade } ai_chance = { base = 30 modifier = { add = 60 check_variable = { ruling_party = 2 } } modifier = { factor = 0.2 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } } } } country_event = { id = china_sar.040 title = china_sar.040.t desc = china_sar.040.d picture = GFX_CHI_event_chineses_taiwan_flag is_triggered_only = yes option = { name = china_sar.040.a log = "[GetDateText]: [This.GetName]: china_sar.040.a executed" add_opinion_modifier = { target = CHI modifier = CSSTA } random_owned_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = offices level = 1 instant_build = yes } } CHI = { add_to_variable = { CHI_TAI_trust = 6 tooltip = CHI_TAI_trust_tt } clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_SAR_network_modifier } add_to_variable = { CHI_network_trade_opinion_factor = 0.02 tooltip = trade_opinion_factor_tt } add_opinion_modifier = { target = TAI modifier = CSSTA } clr_country_flag = CHI_TAI_rejected_mainland_access set_temp_variable = { treasury_change = -13 } modify_treasury_effect = yes } ai_chance = { base = 40 modifier = { factor = 0 check_variable = { ruling_party = 2 } } modifier = { add = 30 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } modifier = { add = 20 CHI = { check_variable = { CHI_TAI_trust > 30 } } } } } option = { name = china_sar.040.b log = "[GetDateText]: [This.GetName]: china_sar.040.b executed" CHI = { set_country_flag = CHI_TAI_rejected_mainland_access } ai_chance = { base = 30 modifier = { add = 60 check_variable = { ruling_party = 2 } } modifier = { factor = 0.2 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } } } } country_event = { id = china_sar.041 title = china_sar.041.t desc = china_sar.041.d picture = GFX_CHI_event_chineses_taiwan_flag is_triggered_only = yes option = { name = china_sar.041.a log = "[GetDateText]: [This.GetName]: china_sar.041.a executed" random_owned_state = { add_building_construction = { type = microchip_plant level = 1 instant_build = yes } add_extra_state_shared_building_slots = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_TAI_shared_modifier } add_to_variable = { CHI_TAI_production_factory_efficiency_gain_factor = 0.03 tooltip = production_factory_efficiency_gain_factor_tt } add_to_variable = { CHI_TAI_research_speed_factor = 0.02 tooltip = research_speed_factor_tt } random_owned_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = offices level = 1 instant_build = yes } } CHI = { add_to_variable = { CHI_TAI_trust = 5 tooltip = CHI_TAI_trust_tt } clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_SAR_network_modifier } add_to_variable = { CHI_network_production_factory_efficiency_gain_factor = 0.03 tooltip = production_factory_efficiency_gain_factor_tt } add_opinion_modifier = { target = TAI modifier = large_commercial_relations } clr_country_flag = CHI_TAI_rejected_semiconductor set_temp_variable = { treasury_change = -25.5 } modify_treasury_effect = yes } ai_chance = { base = 40 modifier = { factor = 0 check_variable = { ruling_party = 2 } } modifier = { add = 30 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } modifier = { add = 20 CHI = { check_variable = { CHI_TAI_trust > 30 } } } } } option = { name = china_sar.041.b log = "[GetDateText]: [This.GetName]: china_sar.041.b executed" CHI = { set_country_flag = CHI_TAI_rejected_semiconductor } ai_chance = { base = 30 modifier = { add = 60 check_variable = { ruling_party = 2 } } modifier = { factor = 0.2 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } } } } country_event = { id = china_sar.042 title = china_sar.042.t desc = china_sar.042.d picture = GFX_CHI_event_chineses_taiwan_flag is_triggered_only = yes option = { name = china_sar.042.a log = "[GetDateText]: [This.GetName]: china_sar.042.a executed" CHI = { add_to_variable = { CHI_TAI_trust = 6 tooltip = CHI_TAI_trust_tt } clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_SAR_network_modifier } add_to_variable = { CHI_network_production_speed_industrial_complex_factor = 0.02 tooltip = production_speed_industrial_complex_factor_tt } clr_country_flag = CHI_TAI_rejected_business_deleg } ai_chance = { base = 40 modifier = { factor = 0 check_variable = { ruling_party = 2 } } modifier = { add = 30 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } modifier = { add = 20 CHI = { check_variable = { CHI_TAI_trust > 30 } } } } } option = { name = china_sar.042.b log = "[GetDateText]: [This.GetName]: china_sar.042.b executed" CHI = { set_country_flag = CHI_TAI_rejected_business_deleg } ai_chance = { base = 30 modifier = { add = 60 check_variable = { ruling_party = 2 } } modifier = { factor = 0.2 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } } } } country_event = { id = china_sar.043 title = china_sar.043.t desc = china_sar.043.d picture = GFX_CHI_event_chineses_taiwan_flag is_triggered_only = yes option = { name = china_sar.043.a log = "[GetDateText]: [This.GetName]: china_sar.043.a executed" random_owned_state = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } CHI = { add_to_variable = { CHI_TAI_trust = 7 tooltip = CHI_TAI_trust_tt } clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_SAR_network_modifier } add_to_variable = { CHI_network_trade_opinion_factor = 0.03 tooltip = trade_opinion_factor_tt } add_to_variable = { CHI_network_production_speed_infrastructure_factor = 0.02 tooltip = production_speed_infrastructure_factor_tt } clr_country_flag = CHI_TAI_rejected_transport set_temp_variable = { treasury_change = -3.5 } modify_treasury_effect = yes } ai_chance = { base = 40 modifier = { factor = 0 check_variable = { ruling_party = 2 } } modifier = { add = 30 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } modifier = { add = 20 CHI = { check_variable = { CHI_TAI_trust > 30 } } } } } option = { name = china_sar.043.b log = "[GetDateText]: [This.GetName]: china_sar.043.b executed" CHI = { set_country_flag = CHI_TAI_rejected_transport } ai_chance = { base = 30 modifier = { add = 60 check_variable = { ruling_party = 2 } } modifier = { factor = 0.2 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } } } } country_event = { id = china_sar.044 title = china_sar.044.t desc = china_sar.044.d picture = GFX_CHI_event_chineses_taiwan_flag is_triggered_only = yes option = { name = china_sar.044.a log = "[GetDateText]: [This.GetName]: china_sar.044.a executed" random_owned_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = offices level = 1 instant_build = yes } } CHI = { add_to_variable = { CHI_TAI_trust = 4 tooltip = CHI_TAI_trust_tt } clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 } clr_country_flag = CHI_TAI_rejected_safeguards set_temp_variable = { treasury_change = -13 } modify_treasury_effect = yes } ai_chance = { base = 40 modifier = { factor = 0 check_variable = { ruling_party = 2 } } modifier = { add = 30 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } modifier = { add = 20 CHI = { check_variable = { CHI_TAI_trust > 30 } } } } } option = { name = china_sar.044.b log = "[GetDateText]: [This.GetName]: china_sar.044.b executed" CHI = { set_country_flag = CHI_TAI_rejected_safeguards } ai_chance = { base = 30 modifier = { add = 60 check_variable = { ruling_party = 2 } } modifier = { factor = 0.2 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } } } } country_event = { id = china_sar.045 title = china_sar.045.t desc = china_sar.045.d picture = GFX_CHI_event_chineses_taiwan_flag is_triggered_only = yes option = { name = china_sar.045.a log = "[GetDateText]: [This.GetName]: china_sar.045.a executed" add_to_variable = { party_pop_array^1 = 0.01 } recalculate_party = yes random_owned_state = { add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } CHI = { add_to_variable = { CHI_TAI_trust = 10 tooltip = CHI_TAI_trust_tt } clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_SAR_network_modifier } add_to_variable = { CHI_network_trade_opinion_factor = 0.04 tooltip = trade_opinion_factor_tt } add_to_variable = { CHI_network_production_speed_industrial_complex_factor = 0.03 tooltip = production_speed_industrial_complex_factor_tt } add_opinion_modifier = { target = TAI modifier = large_commercial_relations } clr_country_flag = CHI_TAI_rejected_joint_planning set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes } ai_chance = { base = 40 modifier = { factor = 0 check_variable = { ruling_party = 2 } } modifier = { add = 30 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } modifier = { add = 20 CHI = { check_variable = { CHI_TAI_trust > 30 } } } } } option = { name = china_sar.045.b log = "[GetDateText]: [This.GetName]: china_sar.045.b executed" CHI = { set_country_flag = CHI_TAI_rejected_joint_planning } ai_chance = { base = 30 modifier = { add = 60 check_variable = { ruling_party = 2 } } modifier = { factor = 0.2 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } } } } country_event = { id = china_sar.046 title = china_sar.046.t desc = china_sar.046.d picture = GFX_CHI_event_chineses_taiwan_flag is_triggered_only = yes option = { name = china_sar.046.a log = "[GetDateText]: [This.GetName]: china_sar.046.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_TAI_shared_modifier } add_to_variable = { CHI_TAI_consumer_goods_factor = -0.05 tooltip = consumer_goods_factor_tt } add_to_variable = { CHI_TAI_production_speed_buildings_factor = 0.05 tooltip = production_speed_buildings_factor_tt } add_to_variable = { CHI_TAI_trade_opinion_factor = 0.10 tooltip = trade_opinion_factor_tt } random_owned_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = offices level = 1 instant_build = yes } } CHI = { add_to_variable = { CHI_TAI_trust = 12 tooltip = CHI_TAI_trust_tt } clamp_variable = { var = CHI_TAI_trust min = 0 max = 100 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_SAR_network_modifier } add_to_variable = { CHI_network_consumer_goods_factor = -0.02 tooltip = consumer_goods_factor_tt } add_to_variable = { CHI_network_trade_opinion_factor = 0.02 tooltip = trade_opinion_factor_tt } clr_country_flag = CHI_TAI_rejected_deep_integration set_temp_variable = { treasury_change = -13 } modify_treasury_effect = yes } ai_chance = { base = 40 modifier = { factor = 0 check_variable = { ruling_party = 2 } } modifier = { add = 30 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } modifier = { add = 20 CHI = { check_variable = { CHI_TAI_trust > 30 } } } } } option = { name = china_sar.046.b log = "[GetDateText]: [This.GetName]: china_sar.046.b executed" CHI = { set_country_flag = CHI_TAI_rejected_deep_integration } ai_chance = { base = 30 modifier = { add = 60 check_variable = { ruling_party = 2 } } modifier = { factor = 0.2 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } } } } country_event = { id = china_sar.047 title = china_sar.047.t desc = china_sar.047.d picture = GFX_CHI_taiwan_sar is_triggered_only = yes option = { name = china_sar.047.a log = "[GetDateText]: [This.GetName]: china_sar.047.a executed" CHI = { clr_country_flag = CHI_TAI_rejected_peaceful_reunification puppet = TAI set_autonomy = { target = TAI autonomy_state = autonomy_special_administrative_region_TAI } if = { limit = { has_completed_focus = CHI_SAR_research_sharing } TAI = { add_to_tech_sharing_group = Greater_China_Tech_Share } } } ai_chance = { base = 60 modifier = { factor = 0 check_variable = { ruling_party = 2 } } modifier = { add = 30 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } modifier = { add = 20 CHI = { check_variable = { CHI_TAI_trust > 80 } } } } } option = { name = china_sar.047.b log = "[GetDateText]: [This.GetName]: china_sar.047.b executed" CHI = { set_country_flag = CHI_TAI_rejected_peaceful_reunification } ai_chance = { base = 20 modifier = { add = 60 check_variable = { ruling_party = 2 } } modifier = { factor = 0.2 OR = { check_variable = { ruling_party = 1 } check_variable = { ruling_party = 14 } } } } } } country_event = { id = CHI_sco.1 title = CHI_sco.1.t desc = CHI_sco.1.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = CHI_sco.1.a } option = { name = CHI_sco.1.b FROM = { set_country_flag = CHI_sco_observer_status_rejected } log = "[GetDateText]: [This.GetName]: CHI_sco.1.b executed" ai_chance = { base = 0 } } } country_event = { id = CHI_sco.2 title = CHI_sco.2.t desc = CHI_sco.2.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = CHI_sco.2.a } option = { name = CHI_sco.2.b FROM = { set_country_flag = CHI_sco_membership_rejected } log = "[GetDateText]: [This.GetName]: CHI_sco.2.b executed" ai_chance = { base = 0 } } } country_event = { id = CHI_sco.3 title = CHI_sco.3.t desc = CHI_sco.3.d picture = GFX_CHI_event_sco_military is_triggered_only = yes option = { name = CHI_sco.3.a set_country_flag = CHI_sco_joint_exercises_accepted FROM = { country_event = { days = 1 id = CHI_sco.4 } } log = "[GetDateText]: [This.GetName]: CHI_sco.3.a executed" ai_chance = { base = 40 } } option = { name = CHI_sco.3.b FROM = { clr_country_flag = CHI_sco_joint_exercises_offered country_event = { days = 1 id = CHI_sco.5 } } log = "[GetDateText]: [This.GetName]: CHI_sco.3.b executed" ai_chance = { base = 0 modifier = { add = 40 has_opinion = { target = FROM value < 0 } } modifier = { add = 40 has_opinion = { target = FROM value < -50 } } } } } country_event = { id = CHI_sco.4 title = CHI_sco.4.t desc = CHI_sco.4.d picture = GFX_CHI_event_sco_military is_triggered_only = yes option = { name = CHI_sco.4.a } } country_event = { id = CHI_sco.5 title = CHI_sco.5.t desc = CHI_sco.5.d picture = GFX_CHI_event_sco_military is_triggered_only = yes option = { name = CHI_sco.5.a } } country_event = { id = CHI_sco.6 title = CHI_sco.6.t desc = CHI_sco.6.d picture = GFX_CHI_event_sco_military is_triggered_only = yes option = { trigger = { has_government = democratic } name = CHI_sco.6.a } option = { trigger = { has_government = communism } name = CHI_sco.6.b } option = { trigger = { NOT = { has_government = communism } NOT = { has_government = democratic } } name = CHI_sco.6.c } } country_event = { id = CHI_sco.7 title = CHI_sco.7.t desc = CHI_sco.7.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { trigger = { has_government = democratic } name = CHI_sco.7.a } option = { trigger = { NOT = { has_government = democratic } } name = CHI_sco.7.b } } country_event = { id = CHI_sco.8 title = CHI_sco.8.t desc = CHI_sco.8.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { trigger = { has_government = democratic } name = CHI_sco.8.a } option = { trigger = { NOT = { has_government = democratic } } name = CHI_sco.8.b } } news_event = { id = CHI_sco.9 title = CHI_sco.9.t desc = CHI_sco.9.d picture = GFX_china_19th_national_congress is_triggered_only = yes option = { name = CHI_sco.9.a } } country_event = { id = CHI_sco.10 title = CHI_sco.10.t desc = CHI_sco.10.d picture = GFX_CHI_event_china_russian_flag is_triggered_only = yes option = { name = CHI_sco.10.a log = "[GetDateText]: [This.GetName]: CHI_sco.10.a executed" if = { limit = { is_in_faction = yes } leave_faction = yes } CHI_sco_promote_to_member = yes CHI = { add_opinion_modifier = { target = ROOT modifier = diplomatic_support } } SOV = { add_opinion_modifier = { target = ROOT modifier = diplomatic_disloyalty } } ai_chance = { base = 10 modifier = { add = 20 has_opinion = { target = CHI value > 50 } } modifier = { add = 20 has_opinion = { target = CHI value > 100 } } } } option = { name = CHI_sco.10.b log = "[GetDateText]: [This.GetName]: CHI_sco.10.b executed" CHI_sco_remove = yes SOV = { add_opinion_modifier = { target = ROOT modifier = has_expressed_loyalty } } CHI = { add_opinion_modifier = { target = ROOT modifier = resisted_territorial_ambition } } ai_chance = { base = 40 } } option = { name = CHI_sco.10.c trigger = { has_opinion = { target = CHI value > 0 } has_opinion = { target = SOV value > 0 } } log = "[GetDateText]: [This.GetName]: CHI_sco.10.c executed" CHI_sco_remove = yes if = { limit = { is_in_faction = yes } leave_faction = yes } ai_chance = { base = 5 } } } country_event = { id = CHI_sco.11 title = CHI_sco.11.t desc = CHI_sco.11.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = CHI_sco.11.a effect_tooltip = { add_timed_idea = { idea = SCO_development_assistance days = 90 } } log = "[GetDateText]: [This.GetName]: CHI_sco.11.a executed" } } country_event = { id = CHI_sco.30 title = CHI_sco.30.t desc = CHI_sco.30.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = CHI_sco.30.a log = "[GetDateText]: [This.GetName]: CHI_sco.30.a executed" set_variable = { global.sco_megaproject_energy_grid_active = 1 } FROM = { set_country_flag = { flag = sco_megaproject_energy_grid_window value = 1 days = 180 } } CHI = { country_event = { id = CHI_sco.42 days = 180 } } ai_chance = { base = 10 modifier = { factor = 0.1 has_opinion = { target = FROM value < -50 } } } } option = { name = CHI_sco.30.b log = "[GetDateText]: [This.GetName]: CHI_sco.30.b executed" FROM = { clr_country_flag = sco_megaproject_energy_grid_initiator } add_political_power = 25 ai_chance = { base = 1 } } } country_event = { id = CHI_sco.31 title = CHI_sco.31.t desc = CHI_sco.31.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = CHI_sco.31.a log = "[GetDateText]: [This.GetName]: CHI_sco.31.a executed" set_variable = { global.sco_megaproject_railway_active = 1 } FROM = { set_country_flag = { flag = sco_megaproject_railway_window value = 1 days = 180 } } CHI = { country_event = { id = CHI_sco.41 days = 180 } } ai_chance = { base = 10 modifier = { factor = 0.1 has_opinion = { target = FROM value < -50 } } } } option = { name = CHI_sco.31.b log = "[GetDateText]: [This.GetName]: CHI_sco.31.b executed" FROM = { clr_country_flag = sco_megaproject_railway_initiator } add_political_power = 25 ai_chance = { base = 1 } } } country_event = { id = CHI_sco.32 title = CHI_sco.32.t desc = CHI_sco.32.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = CHI_sco.32.a log = "[GetDateText]: [This.GetName]: CHI_sco.32.a executed" set_variable = { global.sco_megaproject_dev_bank_active = 1 } FROM = { set_country_flag = { flag = sco_megaproject_dev_bank_window value = 1 days = 180 } } CHI = { country_event = { id = CHI_sco.43 days = 180 } } ai_chance = { base = 10 modifier = { factor = 0.1 has_opinion = { target = FROM value < -50 } } } } option = { name = CHI_sco.32.b log = "[GetDateText]: [This.GetName]: CHI_sco.32.b executed" FROM = { clr_country_flag = sco_megaproject_dev_bank_initiator } add_political_power = 25 ai_chance = { base = 1 } } } country_event = { id = CHI_sco.33 title = CHI_sco.33.t desc = CHI_sco.33.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = CHI_sco.33.a log = "[GetDateText]: [This.GetName]: CHI_sco.33.a executed" set_variable = { global.sco_megaproject_air_defense_active = 1 } FROM = { set_country_flag = { flag = sco_megaproject_air_defense_window value = 1 days = 180 } } CHI = { country_event = { id = CHI_sco.44 days = 180 } } ai_chance = { base = 10 modifier = { factor = 0.1 has_opinion = { target = FROM value < -50 } } } } option = { name = CHI_sco.33.b log = "[GetDateText]: [This.GetName]: CHI_sco.33.b executed" FROM = { clr_country_flag = sco_megaproject_air_defense_initiator } add_political_power = 25 ai_chance = { base = 1 } } } country_event = { id = CHI_sco.41 is_triggered_only = yes hidden = yes immediate = { set_global_flag = sco_megaproject_railway_completed set_variable = { global.sco_megaproject_railway_active = 0 } } } country_event = { id = CHI_sco.42 is_triggered_only = yes hidden = yes immediate = { set_global_flag = sco_megaproject_energy_grid_completed set_variable = { global.sco_megaproject_energy_grid_active = 0 } } } country_event = { id = CHI_sco.43 is_triggered_only = yes hidden = yes immediate = { set_global_flag = sco_megaproject_dev_bank_completed set_variable = { global.sco_megaproject_dev_bank_active = 0 } } } country_event = { id = CHI_sco.44 is_triggered_only = yes hidden = yes immediate = { set_global_flag = sco_megaproject_air_defense_completed set_variable = { global.sco_megaproject_air_defense_active = 0 } } } country_event = { id = CHI_sco.34 title = CHI_sco.34.t desc = CHI_sco.34.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = CHI_sco.34.a log = "[GetDateText]: [This.GetName]: CHI_sco.34.a executed" add_ideas = CHI_sco_member } } country_event = { id = CHI_sco.20 title = CHI_sco.20.t desc = CHI_sco.20.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = CHI_sco.20.a log = "[GetDateText]: [This.GetName]: CHI_sco.20.a executed" add_political_power = -50 add_to_variable = { CHI_sco_cohesion = 1 } clamp_variable = { var = CHI_sco_cohesion min = 0 max = 100 } ai_chance = { base = 10 } } option = { name = CHI_sco.20.b log = "[GetDateText]: [This.GetName]: CHI_sco.20.b executed" add_stability = -0.02 ai_chance = { base = 10 } } } country_event = { id = CHI_sco.21 title = CHI_sco.21.t desc = CHI_sco.21.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = CHI_sco.21.a log = "[GetDateText]: [This.GetName]: CHI_sco.21.a executed" add_political_power = 50 add_stability = 0.02 every_country = { limit = { is_sco = yes NOT = { tag = ROOT } } add_opinion_modifier = { target = ROOT modifier = sco_cooperation } } } } country_event = { id = CHI_sco.22 title = CHI_sco.22.t desc = CHI_sco.22.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = CHI_sco.22.a log = "[GetDateText]: [This.GetName]: CHI_sco.22.a executed" add_to_variable = { CHI_chinese_aggression = 2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } SOV = { add_opinion_modifier = { target = ROOT modifier = diplomatic_distance } } ai_chance = { base = 10 } } option = { name = CHI_sco.22.b log = "[GetDateText]: [This.GetName]: CHI_sco.22.b executed" add_to_variable = { CHI_sco_balance = -2 } clamp_variable = { var = CHI_sco_balance min = -10 max = 10 } SOV = { add_opinion_modifier = { target = ROOT modifier = sco_cooperation } } ai_chance = { base = 10 } } } country_event = { id = CHI_sco.23 title = CHI_sco.23.t desc = CHI_sco.23.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = CHI_sco.23.a log = "[GetDateText]: [This.GetName]: CHI_sco.23.a executed" add_political_power = -75 add_to_variable = { CHI_sco_balance = 2 } clamp_variable = { var = CHI_sco_balance min = -10 max = 10 } ai_chance = { base = 10 } } option = { name = CHI_sco.23.b log = "[GetDateText]: [This.GetName]: CHI_sco.23.b executed" add_stability = -0.03 add_to_variable = { CHI_chinese_aggression = -2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } ai_chance = { base = 10 } } } country_event = { id = CHI_foreign.012 title = CHI_foreign.012.t desc = CHI_foreign.012.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = CHI_foreign.012.a log = "[GetDateText]: [This.GetName]: CHI_foreign.012.a executed" add_opinion_modifier = { target = CHI modifier = diplomatic_opening } KOR = { add_to_variable = { SFR = 3 } } ai_chance = { base = 3 } } } country_event = { id = CHI_foreign.043 title = CHI_foreign.043.t desc = CHI_foreign.043.d picture = GFX_CHI_event_chinese_ship_2 is_triggered_only = yes option = { name = CHI_foreign.043.a } } country_event = { id = CHI_foreign.044 title = CHI_foreign.044.t desc = CHI_foreign.044.d picture = GFX_CHI_generic is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.044" if = { limit = { NOT = { has_idea = CHI_usa_asia_pivot_collapse } } add_timed_idea = { idea = CHI_usa_asia_pivot_collapse days = 3650 } } } option = { name = CHI_foreign.044.a } } country_event = { id = CHI_foreign.102 title = CHI_foreign.102.t desc = CHI_foreign.102.d picture = GFX_CHI_generic is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.102" if = { limit = { NOT = { has_idea = CHI_usa_back_channel_open } } add_timed_idea = { idea = CHI_usa_back_channel_open days = 1825 } } } option = { name = CHI_foreign.102.a } } country_event = { id = CHI_foreign.047 title = CHI_foreign.047.t desc = CHI_foreign.047.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = CHI_foreign.047.a log = "[GetDateText]: [This.GetName]: CHI_foreign.047.a executed" add_to_variable = { SFR = 20 } add_stability = 0.05 } } country_event = { id = CHI_foreign.048 title = CHI_foreign.048.t desc = CHI_foreign.048.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = CHI_foreign.048.a log = "[GetDateText]: [This.GetName]: CHI_foreign.048.a executed" add_opinion_modifier = { target = KOR modifier = accepted_unity } } } country_event = { id = CHI_foreign.105 title = CHI_foreign.105.t desc = CHI_foreign.105.d picture = GFX_CHI_event_chinese_south_korean_flag is_triggered_only = yes option = { name = CHI_foreign.105.a log = "[GetDateText]: [This.GetName]: CHI_foreign.105.a executed" add_timed_idea = { idea = CHI_kor_g2_economic_platform days = 3650 } } } country_event = { id = CHI_foreign.106 title = CHI_foreign.106.t desc = CHI_foreign.106.d picture = GFX_CHI_event_chinese_south_korean_flag is_triggered_only = yes option = { name = CHI_foreign.106.a log = "[GetDateText]: [This.GetName]: CHI_foreign.106.a executed" add_timed_idea = { idea = CHI_kor_strategic_autonomy_doctrine days = 3650 } } } country_event = { id = CHI_foreign.110 title = CHI_foreign.110.t desc = CHI_foreign.110.d picture = GFX_nko_russian_ratnik is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.110" } option = { name = CHI_foreign.110.a log = "[GetDateText]: [This.GetName]: CHI_foreign.110.a executed" add_to_variable = { CHI_korea_peninsula_tension = 40 tooltip = CHI_korea_peninsula_tension_tt } create_wargoal = { type = annex_everything target = NKO } declare_war_on = { target = NKO type = annex_everything } USA = { create_wargoal = { type = annex_everything target = NKO } declare_war_on = { target = NKO type = annex_everything } } KOR = { create_wargoal = { type = annex_everything target = NKO } declare_war_on = { target = NKO type = annex_everything } } news_event = { id = china_news.45 days = 1 } } } country_event = { id = CHI_foreign.014 title = CHI_foreign.014.t desc = CHI_foreign.014.d picture = GFX_CHI_event_korean_peninsula is_triggered_only = yes option = { name = CHI_foreign.014.a log = "[GetDateText]: [This.GetName]: CHI_foreign.014.a executed" add_political_power = 50 KOR = { add_to_variable = { SFR = 5 } } } } country_event = { id = CHI_foreign.024 title = CHI_foreign.024.t desc = CHI_foreign.024.d picture = GFX_CHI_event_korean_peninsula is_triggered_only = yes option = { name = CHI_foreign.024.a log = "[GetDateText]: [This.GetName]: CHI_foreign.024.a executed" add_popularity = { ideology = democratic popularity = 0.05 } add_stability = -0.03 } } country_event = { id = CHI_foreign.030 title = CHI_foreign.030.t desc = CHI_foreign.030.d picture = GFX_CHI_event_korean_peninsula is_triggered_only = yes option = { name = CHI_foreign.030.a log = "[GetDateText]: [This.GetName]: CHI_foreign.030.a executed" add_opinion_modifier = { target = CHI modifier = CHI_thaad_retaliation } } } country_event = { id = CHI_foreign.031 title = CHI_foreign.031.t desc = CHI_foreign.031.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = CHI_foreign.031.a log = "[GetDateText]: [This.GetName]: CHI_foreign.031.a executed" add_opinion_modifier = { target = CHI modifier = diplomatic_opening } } } country_event = { id = CHI_foreign.032 title = CHI_foreign.032.t desc = CHI_foreign.032.d picture = GFX_CHI_event_korean_peninsula is_triggered_only = yes option = { name = CHI_foreign.032.a log = "[GetDateText]: [This.GetName]: CHI_foreign.032.a executed" add_war_support = 0.05 add_opinion_modifier = { target = CHI modifier = CHI_opposes_strategic_flexibility } } } country_event = { id = CHI_foreign.033 title = CHI_foreign.033.t desc = CHI_foreign.033.d picture = GFX_japanese_nationalism is_triggered_only = yes option = { name = CHI_foreign.033.a log = "[GetDateText]: [This.GetName]: CHI_foreign.033.a executed" add_war_support = 0.05 } } country_event = { id = CHI_foreign.034 title = CHI_foreign.034.t desc = CHI_foreign.034.d picture = GFX_CHI_event_chinese_north_korean_flag is_triggered_only = yes option = { name = CHI_foreign.034.a log = "[GetDateText]: [This.GetName]: CHI_foreign.034.a executed" add_war_support = 0.10 add_opinion_modifier = { target = CHI modifier = CHI_war_criminal_state } } } country_event = { id = CHI_foreign.035 title = CHI_foreign.035.t desc = CHI_foreign.035.d picture = GFX_CHI_event_chinese_north_korean_flag is_triggered_only = yes option = { name = CHI_foreign.035.a log = "[GetDateText]: [This.GetName]: CHI_foreign.035.a executed" add_war_support = 0.10 add_stability = -0.03 } } country_event = { id = CHI_foreign.036 title = CHI_foreign.036.t desc = CHI_foreign.036.d picture = GFX_CHI_event_soldiers_02 is_triggered_only = yes option = { name = CHI_foreign.036.a log = "[GetDateText]: [This.GetName]: CHI_foreign.036.a executed" add_opinion_modifier = { target = CHI modifier = CHI_regional_hegemon } } } country_event = { id = CHI_foreign.037 title = CHI_foreign.037.t desc = CHI_foreign.037.d picture = GFX_CHI_event_chinese_north_korean_flag is_triggered_only = yes option = { name = CHI_foreign.037.a log = "[GetDateText]: [This.GetName]: CHI_foreign.037.a executed" add_opinion_modifier = { target = CHI modifier = CHI_regional_hegemon } } } country_event = { id = CHI_foreign.038 title = CHI_foreign.038.t desc = CHI_foreign.038.d picture = GFX_CHI_event_chinese_north_korean_flag is_triggered_only = yes option = { name = CHI_foreign.038.a log = "[GetDateText]: [This.GetName]: CHI_foreign.038.a executed" add_opinion_modifier = { target = CHI modifier = CHI_regional_hegemon } } } country_event = { id = CHI_foreign.040 title = CHI_foreign.040.t desc = CHI_foreign.040.d picture = GFX_CHI_event_chinese_south_korean_flag is_triggered_only = yes option = { name = CHI_foreign.040.a log = "[GetDateText]: [This.GetName]: CHI_foreign.040.a executed" add_timed_idea = { idea = CHI_usa_asia_pivot_collapse days = 1825 } add_opinion_modifier = { target = CHI modifier = CHI_displaced_partner } } } country_event = { id = CHI_foreign.041 title = CHI_foreign.041.t desc = CHI_foreign.041.d picture = GFX_CHI_event_chinese_south_korean_flag is_triggered_only = yes option = { name = CHI_foreign.041.a } } country_event = { id = CHI_foreign.042 title = CHI_foreign.042.t desc = CHI_foreign.042.d picture = GFX_CHI_event_chinese_south_korean_flag is_triggered_only = yes option = { name = CHI_foreign.042.a log = "[GetDateText]: [This.GetName]: CHI_foreign.042.a executed" add_stability = -0.03 add_war_support = 0.05 } } country_event = { id = CHI_foreign.045 title = CHI_foreign.045.t desc = CHI_foreign.045.d picture = GFX_CHI_event_chinese_south_korean_flag is_triggered_only = yes option = { name = CHI_foreign.045.a log = "[GetDateText]: [This.GetName]: CHI_foreign.045.a executed" add_opinion_modifier = { target = CHI modifier = CHI_eclipsed_in_asia } } } country_event = { id = CHI_foreign.046 title = CHI_foreign.046.t desc = CHI_foreign.046.d picture = GFX_CHI_pla_navy is_triggered_only = yes option = { name = CHI_foreign.046.a log = "[GetDateText]: [This.GetName]: CHI_foreign.046.a executed" add_war_support = 0.05 } } country_event = { id = CHI_foreign.049 title = CHI_foreign.049.t desc = CHI_foreign.049.d picture = GFX_CHI_south_sea_victory is_triggered_only = yes option = { name = CHI_foreign.049.a log = "[GetDateText]: [This.GetName]: CHI_foreign.049.a executed" add_opinion_modifier = { target = CHI modifier = CHI_eclipsed_in_asia } } } news_event = { id = CHI_foreign.050 title = CHI_foreign.050.t desc = CHI_foreign.050.d picture = GFX_chinese_flag is_triggered_only = yes major = yes option = { name = CHI_foreign.050.a } } country_event = { id = CHI_foreign.051 title = CHI_foreign.051.t desc = CHI_foreign.051.d picture = GFX_CHI_event_korean_peninsula is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.051" } option = { name = CHI_foreign.051.a log = "[GetDateText]: [This.GetName]: CHI_foreign.051.a executed" if = { limit = { country_exists = USA } USA = { add_timed_idea = { idea = CHI_regional_crisis_alert days = 1095 } } } if = { limit = { country_exists = JAP } JAP = { add_timed_idea = { idea = CHI_regional_crisis_alert days = 1095 } } } if = { limit = { country_exists = KOR } KOR = { add_timed_idea = { idea = CHI_regional_crisis_alert days = 1095 } } } } } country_event = { id = CHI_foreign.052 title = CHI_foreign.052.t desc = CHI_foreign.052.d picture = GFX_CHI_event_chinese_ship_2 is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.052" } option = { name = CHI_foreign.052.a log = "[GetDateText]: [This.GetName]: CHI_foreign.052.a executed" add_to_variable = { CHI_korea_peninsula_tension = -30 tooltip = CHI_korea_peninsula_tension_tt } add_political_power = -50 add_stability = -0.05 ai_chance = { base = 10 } } option = { name = CHI_foreign.052.b log = "[GetDateText]: [This.GetName]: CHI_foreign.052.b executed" add_war_support = 0.05 add_timed_idea = { idea = CHI_south_china_sea_dominance_window days = 180 } ai_chance = { base = 10 } } } country_event = { id = CHI_foreign.100 title = CHI_foreign.100.t desc = CHI_foreign.100.d picture = GFX_CHI_event_chinese_south_korean_flag is_triggered_only = yes option = { name = CHI_foreign.100.a log = "[GetDateText]: [This.GetName]: CHI_foreign.100.a executed" add_timed_idea = { idea = CHI_kor_beijing_pressure days = 1095 } } } country_event = { id = CHI_foreign.101 title = CHI_foreign.101.t desc = CHI_foreign.101.d picture = GFX_CHI_event_missiles_taiwan is_triggered_only = yes option = { name = CHI_foreign.101.a log = "[GetDateText]: [This.GetName]: CHI_foreign.101.a executed" add_timed_idea = { idea = CHI_informal_sanctions days = 1095 } } } country_event = { id = CHI_foreign.103 title = CHI_foreign.103.t desc = CHI_foreign.103.d picture = GFX_CHI_event_chinese_south_korean_flag is_triggered_only = yes option = { name = CHI_foreign.103.a log = "[GetDateText]: [This.GetName]: CHI_foreign.103.a executed" add_timed_idea = { idea = CHI_kor_trilateral_opening days = 1825 } } } country_event = { id = CHI_foreign.104 title = CHI_foreign.104.t desc = CHI_foreign.104.d picture = GFX_CHI_event_korean_peninsula is_triggered_only = yes option = { name = CHI_foreign.104.a log = "[GetDateText]: [This.GetName]: CHI_foreign.104.a executed" add_timed_idea = { idea = CHI_usa_g2_framework days = 3650 } } } country_event = { id = CHI_foreign.107 title = CHI_foreign.107.t desc = CHI_foreign.107.d picture = GFX_CHI_event_chinese_north_korean_flag is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.107" } option = { name = CHI_foreign.107.a log = "[GetDateText]: [This.GetName]: CHI_foreign.107.a executed" NKO = { country_event = { id = CHI_foreign.108 days = 2 } } CHI = { add_opinion_modifier = { target = KOR modifier = accepted_unity } } reverse_add_opinion_modifier = { target = CHI modifier = accepted_unity } } option = { name = CHI_foreign.107.b log = "[GetDateText]: [This.GetName]: CHI_foreign.107.b executed" CHI = { add_opinion_modifier = { target = KOR modifier = CHI_replacement_partner } } add_political_power = -50 ai_chance = { base = 10 } } } country_event = { id = CHI_foreign.249 title = CHI_foreign.249.t desc = CHI_foreign.249.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.249.a log = "[GetDateText]: [This.GetName]: CHI_foreign.249.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_political_power_gain = 0.10 tooltip = political_power_gain_tt } add_to_variable = { JAP_chi_stability_factor = 0.02 tooltip = stability_factor_tt } set_temp_variable = { percent_change = 4 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 14 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.108 title = CHI_foreign.108.t desc = CHI_foreign.108.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.108" } option = { name = CHI_foreign.108.a log = "[GetDateText]: [This.GetName]: CHI_foreign.108.a executed" CHI = { country_event = { id = CHI_foreign.109 days = 2 } } ai_chance = { base = 10 modifier = { factor = 3 has_stability < 0.30 } modifier = { factor = 0 has_war_support > 0.60 } } } option = { name = CHI_foreign.108.b log = "[GetDateText]: [This.GetName]: CHI_foreign.108.b executed" CHI = { country_event = { id = CHI_foreign.110 days = 2 } } ai_chance = { base = 90 } } } country_event = { id = CHI_foreign.109 title = CHI_foreign.109.t desc = CHI_foreign.109.d picture = GFX_CHI_event_chinese_south_korean_flag is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.109" } option = { name = CHI_foreign.109.a log = "[GetDateText]: [This.GetName]: CHI_foreign.109.a executed" add_political_power = 200 add_stability = 0.05 add_to_variable = { CHI_korea_peninsula_tension = -40 tooltip = CHI_korea_peninsula_tension_tt } KOR = { add_to_variable = { SFR = 20 tooltip = SFR_tt } } every_state = { limit = { is_owned_by = NKO } KOR = { transfer_state = PREV } } news_event = { id = china_news.44 days = 1 } add_opinion_modifier = { target = KOR modifier = partner_in_unification } reverse_add_opinion_modifier = { target = KOR modifier = partner_in_unification } } } country_event = { id = CHI_foreign.55 title = CHI_foreign.55.t desc = CHI_foreign.55.d picture = GFX_CHI_beijing is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.55" KOR = { clr_country_flag = KOR_peace_talks_failed } NKO = { clr_country_flag = NKO_peace_talks_failed } } option = { name = CHI_foreign.55.a log = "[GetDateText]: [This.GetName]: CHI_foreign.55.a executed" ai_chance = { base = 5 } KOR = { add_to_variable = { SFR = 8 } clamp_variable = { var = SFR min = 0 max = 100 } add_opinion_modifier = { target = NKO modifier = KOR_beijing_mediated } } NKO = { add_opinion_modifier = { target = KOR modifier = KOR_beijing_mediated } } set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = KOR } change_influence_percentage = yes USA = { add_opinion_modifier = { target = CHI modifier = chi_usa_pressure_campaign } } set_temp_variable = { BROKERAGE_AMOUNT = 5 } CHI_add_brokerage = yes } option = { name = CHI_foreign.55.b log = "[GetDateText]: [This.GetName]: CHI_foreign.55.b executed" ai_chance = { base = 10 } KOR = { add_to_variable = { SFR = 5 } clamp_variable = { var = SFR min = 0 max = 100 } add_opinion_modifier = { target = NKO modifier = KOR_beijing_mediated } } NKO = { add_opinion_modifier = { target = KOR modifier = KOR_beijing_mediated } } USA = { add_opinion_modifier = { target = CHI modifier = responsible_stakeholder } } set_temp_variable = { BROKERAGE_AMOUNT = 3 } CHI_add_brokerage = yes } option = { name = CHI_foreign.55.c log = "[GetDateText]: [This.GetName]: CHI_foreign.55.c executed" ai_chance = { base = 3 } KOR = { add_to_variable = { SFR = 3 } clamp_variable = { var = SFR min = 0 max = 100 } add_opinion_modifier = { target = CHI modifier = peace_contributor } } add_stability = 0.02 set_temp_variable = { BROKERAGE_AMOUNT = 1 } CHI_add_brokerage = yes } } country_event = { id = CHI_foreign.66 title = CHI_foreign.66.t desc = CHI_foreign.66.d picture = GFX_CHI_counter_terrorist is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.66" } option = { name = CHI_foreign.66.a log = "[GetDateText]: [This.GetName]: CHI_foreign.66.a executed" if = { limit = { original_tag = CHI } if = { limit = { check_variable = { CHI_nko_internal_influence > 60 } } add_political_power = -100 add_stability = -0.02 add_to_variable = { CHI_korea_peninsula_tension = 30 tooltip = CHI_korea_peninsula_tension_tt } } else = { add_political_power = -200 add_stability = -0.05 add_to_variable = { CHI_korea_peninsula_tension = 50 tooltip = CHI_korea_peninsula_tension_tt } } } else = { create_wargoal = { type = annex_everything target = CHI } declare_war_on = { target = CHI type = annex_everything } add_opinion_modifier = { target = CHI modifier = CHI_attempted_coup } } } } country_event = { id = CHI_foreign.67 title = CHI_foreign.67.t desc = CHI_foreign.67.d picture = GFX_CHI_chinese_soldiers is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.67" } option = { name = CHI_foreign.67.a log = "[GetDateText]: [This.GetName]: CHI_foreign.67.a executed" if = { limit = { original_tag = CHI } if = { limit = { check_variable = { CHI_nko_internal_influence > 60 } } add_political_power = -50 add_command_power = -10 add_to_variable = { CHI_korea_peninsula_tension = 10 tooltip = CHI_korea_peninsula_tension_tt } } else = { add_political_power = -100 add_command_power = -20 add_to_variable = { CHI_korea_peninsula_tension = 20 tooltip = CHI_korea_peninsula_tension_tt } } } else = { if = { limit = { CHI = { check_variable = { CHI_nko_internal_influence > 60 } } } add_stability = -0.10 } else = { add_stability = -0.05 } } } } country_event = { id = CHI_foreign.68 title = CHI_foreign.68.t desc = CHI_foreign.68.d picture = GFX_CHI_chinese_soldiers is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.68" } option = { name = CHI_foreign.68.a log = "[GetDateText]: [This.GetName]: CHI_foreign.68.a executed" if = { limit = { original_tag = CHI } add_political_power = -50 add_to_variable = { CHI_korea_peninsula_tension = 30 tooltip = CHI_korea_peninsula_tension_tt } } else = { if = { limit = { CHI = { check_variable = { CHI_nko_internal_influence > 80 } } } start_civil_war = { ideology = communism size = 0.7 } } else_if = { limit = { CHI = { check_variable = { CHI_nko_internal_influence > 60 } } } start_civil_war = { ideology = communism size = 0.55 } } else = { start_civil_war = { ideology = communism size = 0.4 } } } } } country_event = { id = CHI_foreign.69 title = CHI_foreign.69.t desc = CHI_foreign.69.d picture = GFX_CHI_event_chinese_north_korean_flag is_triggered_only = yes immediate = { log = "[GetDateText]: [Root.GetName]: Event CHI_foreign.69" } option = { name = CHI_foreign.69.a log = "[GetDateText]: [This.GetName]: CHI_foreign.69.a executed" if = { limit = { original_tag = CHI } add_political_power = 100 add_stability = 0.05 add_to_variable = { CHI_korea_peninsula_tension = -20 tooltip = CHI_korea_peninsula_tension_tt } if = { limit = { check_variable = { CHI_nko_internal_influence > 80 } } every_state = { limit = { is_owned_by = NKO } CHI = { transfer_state = PREV } } } else = { set_autonomy = { target = NKO autonomy_state = autonomy_puppet_state end_wars = no } } } else = { if = { limit = { CHI = { NOT = { check_variable = { CHI_nko_internal_influence > 80 } } } } add_ideas = NKO_pro_beijing_regime } if = { limit = { country_exists = USA } USA = { add_opinion_modifier = { target = NKO modifier = CHI_nko_regime_change_opinion } } NKO = { add_opinion_modifier = { target = USA modifier = CHI_nko_regime_change_opinion } } } if = { limit = { country_exists = KOR } KOR = { add_opinion_modifier = { target = NKO modifier = CHI_nko_regime_change_opinion } } NKO = { add_opinion_modifier = { target = KOR modifier = CHI_nko_regime_change_opinion } } } if = { limit = { country_exists = JAP } JAP = { add_opinion_modifier = { target = NKO modifier = CHI_nko_regime_change_opinion } } NKO = { add_opinion_modifier = { target = JAP modifier = CHI_nko_regime_change_opinion } } } } } } country_event = { id = china_news.43 title = china_news.43.t desc = china_news.43.d picture = GFX_CHI_event_korean_peninsula is_triggered_only = yes option = { name = china_news.43.a } } news_event = { id = china_news.44 title = china_news.44.t desc = china_news.44.d picture = GFX_news_chi_southkorea_flag is_triggered_only = yes major = yes option = { name = china_news.44.a } } news_event = { id = china_news.45 title = china_news.45.t desc = china_news.45.d picture = GFX_CHI_chinese_soldiers_news2 is_triggered_only = yes major = yes option = { name = china_news.45.a } } country_event = { id = china_scs.10 title = china_scs.10.t desc = china_scs.10.d picture = GFX_CHI_event_chinese_ship is_triggered_only = yes option = { name = china_scs.10.a log = "[GetDateText]: [This.GetName]: china_scs.10.a executed" add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } if = { limit = { OR = { original_tag = PHI original_tag = VIE original_tag = MAY } } add_political_power = -10 } ai_chance = { base = 1 } } } country_event = { id = china_scs.12 title = china_scs.12.t desc = china_scs.12.d picture = GFX_CHI_south_sea_victory is_triggered_only = yes option = { name = china_scs.12.a log = "[GetDateText]: [This.GetName]: china_scs.12.a executed" if = { limit = { has_country_flag = CHI_scarborough_won } 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 = -2 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } add_stability = 0.02 } else_if = { limit = { has_country_flag = CHI_scarborough_contested } add_to_variable = { CHI_scs_framework = -1 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } add_ideas = CHI_scs_setback } else = { 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 } add_ideas = CHI_scs_setback add_stability = -0.02 } ai_chance = { base = 1 } } } country_event = { id = china_scs.13 title = china_scs.13.t desc = china_scs.13.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = china_scs.13.a log = "[GetDateText]: [This.GetName]: china_scs.13.a executed" hidden_effect = { CHI = { country_event = { id = china_scs.14 days = 30 } } } ai_chance = { base = 60 modifier = { add = 20 has_idea = super_power } modifier = { add = -20 check_variable = { interest_rate > 6 } } } } option = { name = china_scs.13.b log = "[GetDateText]: [This.GetName]: china_scs.13.b executed" add_political_power = 10 ai_chance = { base = 40 modifier = { add = -20 has_idea = super_power } modifier = { add = 20 check_variable = { interest_rate > 6 } } } } } country_event = { id = china_scs.14 title = china_scs.14.t desc = china_scs.14.d picture = GFX_CHI_navy_soldier is_triggered_only = yes option = { name = china_scs.14.a log = "[GetDateText]: [This.GetName]: china_scs.14.a 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 = 1 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } hidden_effect = { if = { limit = { check_variable = { var = CHI_chinese_aggression value = 15 compare = greater_than } } country_event = { id = china_scs.14 days = 180 } } } ai_chance = { base = 25 modifier = { add = 20 has_government = democratic } modifier = { add = -10 check_variable = { CHI_chinese_aggression > 30 } } } } option = { name = china_scs.14.b log = "[GetDateText]: [This.GetName]: china_scs.14.b executed" hidden_effect = { if = { limit = { check_variable = { var = CHI_chinese_aggression value = 15 compare = greater_than } } country_event = { id = china_scs.14 days = 180 } } } ai_chance = { base = 50 modifier = { add = 10 has_idea = super_power } } } option = { name = china_scs.14.c log = "[GetDateText]: [This.GetName]: china_scs.14.c 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 = -3 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } hidden_effect = { random = { chance = 15 country_event = { id = china_scs.15 days = 7 } } if = { limit = { check_variable = { var = CHI_chinese_aggression value = 15 compare = greater_than } } country_event = { id = china_scs.14 days = 180 } } } ai_chance = { base = 25 modifier = { add = 15 check_variable = { CHI_chinese_aggression > 30 } } modifier = { add = -15 has_government = democratic } } } } country_event = { id = china_scs.15 title = china_scs.15.t desc = china_scs.15.d picture = GFX_CHI_event_chinese_ship_2 is_triggered_only = yes option = { name = china_scs.15.a log = "[GetDateText]: [This.GetName]: china_scs.15.a executed" if = { limit = { original_tag = CHI } add_to_variable = { CHI_chinese_aggression = -1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_ideas = CHI_regional_crisis_alert } if = { limit = { original_tag = USA } add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } hidden_effect = { if = { limit = { original_tag = CHI } USA = { country_event = { id = china_scs.15 days = 3 } } } } ai_chance = { base = 50 modifier = { add = 10 has_government = fascism } } } option = { name = china_scs.15.b log = "[GetDateText]: [This.GetName]: china_scs.15.b executed" if = { limit = { original_tag = CHI } add_to_variable = { CHI_chinese_aggression = -2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_ideas = CHI_regional_crisis_alert } if = { limit = { original_tag = USA } add_political_power = -20 } hidden_effect = { if = { limit = { original_tag = CHI } USA = { country_event = { id = china_scs.15 days = 3 } } } } ai_chance = { base = 50 modifier = { add = 10 has_government = democratic } } } } country_event = { id = china_scs.20 title = china_scs.20.t desc = china_scs.20.d picture = GFX_CHI_event_aircraft is_triggered_only = yes option = { name = china_scs.20.a trigger = { original_tag = CHI } } option = { log = "[GetDateText]: [This.GetName]: china_scs.20.a executed" name = china_scs.20.a trigger = { NOT = { original_tag = CHI } NOT = { is_in_faction_with = CHI } OR = { has_government = democratic is_in_faction_with = USA } } add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } option = { name = china_scs.20.a trigger = { NOT = { original_tag = CHI } NOT = { is_in_faction_with = CHI } NOT = { has_government = democratic } NOT = { is_in_faction_with = USA } } } option = { name = china_scs.20.a trigger = { NOT = { original_tag = CHI } is_in_faction_with = CHI } } } country_event = { id = china_scs.30 title = china_scs.30.t desc = china_scs.30.d picture = GFX_china_ccecc is_triggered_only = yes option = { name = china_scs.30.a log = "[GetDateText]: [This.GetName]: china_scs.30.a executed" add_opinion_modifier = { target = CHI modifier = large_commercial_relations } ai_chance = { base = 1 } } } news_event = { id = china_scs.31 title = china_scs.31.t desc = china_scs.31.d picture = GFX_chinese_flag is_triggered_only = yes major = yes option = { name = china_scs.31.a trigger = { original_tag = CHI } } option = { name = china_scs.31.a trigger = { NOT = { original_tag = CHI } } } } country_event = { id = china_scs.32 title = china_scs.32.t desc = china_scs.32.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = china_scs.32.a log = "[GetDateText]: [This.GetName]: china_scs.32.a executed" add_opinion_modifier = { target = CHI modifier = large_commercial_relations } reverse_add_opinion_modifier = { target = CHI modifier = large_commercial_relations } USA = { add_opinion_modifier = { target = PHI modifier = territorial_integrity_violation } } add_ideas = CHI_scs_chinese_debt ai_chance = { base = 20 modifier = { add = 15 NOT = { is_in_faction_with = USA } } modifier = { add = 10 has_opinion = { target = CHI value > 20 } } modifier = { add = -20 is_in_faction_with = USA } modifier = { add = -10 has_opinion = { target = CHI value < 0 } } } } option = { name = china_scs.32.b log = "[GetDateText]: [This.GetName]: china_scs.32.b executed" CHI = { add_opinion_modifier = { target = PHI modifier = territorial_integrity_violation } } ai_chance = { base = 30 modifier = { add = 20 is_in_faction_with = USA } modifier = { add = 10 has_opinion = { target = CHI value < 0 } } modifier = { add = -15 NOT = { is_in_faction_with = USA } has_opinion = { target = CHI value > 20 } } } } } news_event = { id = china_scs.33 title = china_scs.33.t desc = china_scs.33.d picture = GFX_china_19th_national_congress is_triggered_only = yes major = yes option = { name = china_scs.33.a trigger = { original_tag = CHI } } option = { name = china_scs.33.a trigger = { NOT = { original_tag = CHI } } } } country_event = { id = china_scs.34 title = china_scs.34.t desc = china_scs.34.d picture = GFX_chinese_yuan is_triggered_only = yes option = { name = china_scs.34.a log = "[GetDateText]: [This.GetName]: china_scs.34.a executed" add_opinion_modifier = { target = CHI modifier = military_cooperation } remove_ideas = CHI_scs_chinese_debt CHI = { add_to_variable = { CHI_scs_framework = 1 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } } ai_chance = { base = 40 modifier = { add = 20 has_opinion = { target = CHI value > 0 } } modifier = { add = -15 is_in_faction_with = USA } } } option = { name = china_scs.34.b log = "[GetDateText]: [This.GetName]: china_scs.34.b executed" add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } CHI = { add_to_variable = { CHI_scs_framework = -5 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } } ai_chance = { base = 30 modifier = { add = 15 is_in_faction_with = USA } modifier = { add = -10 has_opinion = { target = CHI value > 0 } } } } option = { name = china_scs.34.c log = "[GetDateText]: [This.GetName]: china_scs.34.c executed" add_opinion_modifier = { target = CHI modifier = military_cooperation } remove_ideas = CHI_scs_chinese_debt CHI = { add_to_variable = { CHI_scs_framework = -3 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } } ai_chance = { base = 30 modifier = { add = 10 NOT = { has_opinion = { target = CHI value > 10 } } } } } } news_event = { id = china_scs.35 title = china_scs.35.t desc = china_scs.35.d picture = GFX_chinese_flag is_triggered_only = yes major = yes option = { name = china_scs.35.a log = "[GetDateText]: [This.GetName]: china_scs.35.a executed" trigger = { original_tag = CHI } add_to_variable = { CHI_scs_framework = 5 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } PHI = { add_opinion_modifier = { target = CHI modifier = military_cooperation } } VIE = { add_opinion_modifier = { target = CHI modifier = military_cooperation } } MAY = { add_opinion_modifier = { target = CHI modifier = military_cooperation } } IND = { add_opinion_modifier = { target = CHI modifier = military_cooperation } } SIA = { add_opinion_modifier = { target = CHI modifier = military_cooperation } } USA = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } } option = { name = china_scs.35.a trigger = { OR = { original_tag = PHI original_tag = VIE original_tag = MAY original_tag = IND original_tag = SIA } } } option = { name = china_scs.35.a trigger = { NOT = { original_tag = CHI } NOT = { original_tag = PHI } NOT = { original_tag = VIE } NOT = { original_tag = MAY } NOT = { original_tag = IND } NOT = { original_tag = SIA } } } } country_event = { id = china_scs.40 title = china_scs.40.t desc = china_scs.40.d picture = GFX_CHI_beijing is_triggered_only = yes option = { name = china_scs.40.a log = "[GetDateText]: [This.GetName]: china_scs.40.a executed" add_to_variable = { CHI_scs_framework = -5 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } add_to_variable = { CHI_chinese_aggression = 5 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } PHI = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } VIE = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } MAY = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } hidden_effect = { USA = { country_event = { id = china_scs.41 days = 14 } } } ai_chance = { base = 30 modifier = { add = 20 has_idea = super_power } modifier = { add = 10 check_variable = { CHI_chinese_aggression > 20 } } } } option = { name = china_scs.40.b log = "[GetDateText]: [This.GetName]: china_scs.40.b executed" add_to_variable = { CHI_scs_framework = 3 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } PHI = { add_opinion_modifier = { target = CHI modifier = military_cooperation } } VIE = { add_opinion_modifier = { target = CHI modifier = military_cooperation } } MAY = { add_opinion_modifier = { target = CHI modifier = military_cooperation } } hidden_effect = { USA = { country_event = { id = china_scs.41 days = 14 } } } ai_chance = { base = 70 modifier = { add = -20 has_idea = super_power } modifier = { add = -10 check_variable = { CHI_chinese_aggression > 20 } } } } } country_event = { id = china_scs.41 title = china_scs.41.t desc = china_scs.41.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = china_scs.41.a log = "[GetDateText]: [This.GetName]: china_scs.41.a executed" add_political_power = -15 ai_chance = { base = 1 } } } country_event = { id = china_scs.50 title = china_scs.50.t desc = china_scs.50.d picture = GFX_CHI_begonia_leaf is_triggered_only = yes option = { name = china_scs.50.a log = "[GetDateText]: [This.GetName]: china_scs.50.a executed" add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } if = { limit = { OR = { original_tag = PHI original_tag = VIE original_tag = MAY } } add_political_power = -15 add_stability = -0.02 } ai_chance = { base = 1 } } } country_event = { id = china_scs.51 title = china_scs.51.t desc = china_scs.51.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = china_scs.51.a log = "[GetDateText]: [This.GetName]: china_scs.51.a executed" trigger = { original_tag = CHI } PHI = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } VIE = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } MAY = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } IND = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } USA = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } JAP = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } ai_chance = { base = 70 } } option = { name = china_scs.51.b log = "[GetDateText]: [This.GetName]: china_scs.51.b executed" trigger = { original_tag = CHI } add_to_variable = { CHI_chinese_aggression = -2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } PHI = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } VIE = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } MAY = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } IND = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } ai_chance = { base = 30 } } option = { name = china_scs.51.a trigger = { NOT = { original_tag = CHI } } } } country_event = { id = china_scs.52 title = china_scs.52.t desc = china_scs.52.d picture = GFX_CHI_pla_navy is_triggered_only = yes option = { name = china_scs.52.a log = "[GetDateText]: [This.GetName]: china_scs.52.a executed" add_ideas = CHI_national_humiliation CHI = { add_opinion_modifier = { target = PREV modifier = military_cooperation } add_to_variable = { CHI_scs_framework = 3 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } } if = { limit = { original_tag = VIE } CHI = { transfer_state = 813 } } if = { limit = { original_tag = PHI } CHI = { transfer_state = 943 } } if = { limit = { original_tag = MAY } CHI = { transfer_state = 526 } } ai_chance = { base = 5 modifier = { add = 10 NOT = { is_in_faction_with = USA } } modifier = { add = 5 has_opinion = { target = CHI value > 0 } } modifier = { add = -10 is_in_faction_with = USA } modifier = { add = -5 has_opinion = { target = CHI value < 0 } } modifier = { add = 10 num_of_naval_factories < 4 } } } option = { name = china_scs.52.b log = "[GetDateText]: [This.GetName]: china_scs.52.b executed" add_ideas = CHI_defiance_of_china CHI = { add_opinion_modifier = { target = PREV modifier = territorial_integrity_violation } if = { limit = { PREV = { original_tag = VIE } } set_country_flag = CHI_scs_ultimatum_issued_VIE } if = { limit = { PREV = { original_tag = PHI } } set_country_flag = CHI_scs_ultimatum_issued_PHI } if = { limit = { PREV = { original_tag = MAY } } set_country_flag = CHI_scs_ultimatum_issued_MAY } set_country_flag = CHI_scs_ultimatum_issued_any } hidden_effect = { if = { limit = { original_tag = VIE } CHI = { if = { limit = { controls_state = 531 NOT = { controls_state = 813 } 531 = { NOT = { has_border_war = yes } } 813 = { NOT = { has_border_war = yes } } } start_border_war = { change_state_after_war = no attacker = { state = 531 num_provinces = 1 on_win = china_scs.56 on_lose = china_scs.58 } defender = { state = 813 num_provinces = 1 on_win = china_scs.57 on_lose = china_scs.56 } } } } } if = { limit = { original_tag = PHI } CHI = { if = { limit = { controls_state = 531 NOT = { controls_state = 943 } 531 = { NOT = { has_border_war = yes } } 943 = { NOT = { has_border_war = yes } } } start_border_war = { change_state_after_war = no attacker = { state = 531 num_provinces = 1 on_win = china_scs.56 on_lose = china_scs.58 } defender = { state = 943 num_provinces = 1 on_win = china_scs.57 on_lose = china_scs.56 } } } } } if = { limit = { original_tag = MAY } CHI = { if = { limit = { controls_state = 531 NOT = { controls_state = 526 } 531 = { NOT = { has_border_war = yes } } 526 = { NOT = { has_border_war = yes } } } start_border_war = { change_state_after_war = no attacker = { state = 531 num_provinces = 1 on_win = china_scs.56 on_lose = china_scs.58 } defender = { state = 526 num_provinces = 1 on_win = china_scs.57 on_lose = china_scs.56 } } } } } } ai_chance = { base = 30 modifier = { add = 20 is_in_faction_with = USA } modifier = { add = 10 has_opinion = { target = CHI value < 0 } } modifier = { add = -10 NOT = { is_in_faction_with = USA } has_opinion = { target = CHI value > 0 } } modifier = { add = -10 num_of_naval_factories < 4 } } } } country_event = { id = china_scs.53 title = china_scs.53.t desc = china_scs.53.d picture = GFX_CHI_event_navy_ship is_triggered_only = yes option = { name = china_scs.53.a log = "[GetDateText]: [This.GetName]: china_scs.53.a executed" hidden_effect = { CHI = { country_event = { id = china_scs.54 days = 7 } } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { CHI = { if = { limit = { has_country_flag = CHI_scs_ultimatum_issued_VIE } transfer_state = 813 } if = { limit = { has_country_flag = CHI_scs_ultimatum_issued_PHI } transfer_state = 943 } if = { limit = { has_country_flag = CHI_scs_ultimatum_issued_MAY } transfer_state = 526 } } } custom_effect_tooltip = TT_IF_THEY_REJECT effect_tooltip = { USA = { create_wargoal = { type = liberate_wargoal target = CHI } } JAP = { add_war_support = 0.05 } RAJ = { add_war_support = 0.05 } AST = { add_war_support = 0.05 } } ai_chance = { base = 20 modifier = { add = 20 OR = { is_in_faction_with = VIE is_in_faction_with = PHI is_in_faction_with = MAY } } modifier = { add = 15 naval_strength_comparison = { other = CHI ratio > 1.2 } } modifier = { add = 10 OR = { VIE = { has_opinion = { target = USA value > 25 } } PHI = { has_opinion = { target = USA value > 25 } } MAY = { has_opinion = { target = USA value > 25 } } } } modifier = { add = -20 CHI = { num_of_naval_factories > 18 } } modifier = { add = 25 has_country_flag = CHI_scs_china_already_lost_border_war } } } option = { name = china_scs.53.b log = "[GetDateText]: [This.GetName]: china_scs.53.b executed" add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } CHI = { 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 = -5 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } } ai_chance = { base = 40 modifier = { add = 20 has_war = yes } modifier = { add = 15 OR = { VIE = { has_opinion = { target = USA value < 0 } } PHI = { has_opinion = { target = USA value < 0 } } MAY = { has_opinion = { target = USA value < 0 } } } } modifier = { add = -15 has_country_flag = CHI_scs_china_already_lost_border_war } } } option = { name = china_scs.53.c log = "[GetDateText]: [This.GetName]: china_scs.53.c executed" add_opinion_modifier = { target = CHI modifier = military_cooperation } ai_chance = { base = 10 modifier = { factor = 0 OR = { is_in_faction_with = VIE is_in_faction_with = PHI is_in_faction_with = MAY } } modifier = { add = 20 NOT = { naval_strength_comparison = { other = CHI ratio > 1.0 } } } modifier = { add = -20 has_country_flag = CHI_scs_china_already_lost_border_war } } } } news_event = { id = china_scs.56 title = china_scs.56.t desc = china_scs.56.d picture = GFX_CHI_varyag is_triggered_only = yes major = yes option = { name = china_scs.56.a log = "[GetDateText]: [This.GetName]: china_scs.56.a executed" trigger = { original_tag = CHI } 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 } if = { limit = { has_country_flag = CHI_scs_ultimatum_issued_VIE } if = { limit = { NOT = { owns_state = 813 } } transfer_state = 813 } add_state_core = 813 } if = { limit = { has_country_flag = CHI_scs_ultimatum_issued_PHI } if = { limit = { NOT = { owns_state = 943 } } transfer_state = 943 } add_state_core = 943 } if = { limit = { has_country_flag = CHI_scs_ultimatum_issued_MAY } if = { limit = { NOT = { owns_state = 526 } } transfer_state = 526 } add_state_core = 526 } hidden_effect = { USA = { country_event = { id = china_scs.53 days = 7 } } } } option = { name = china_scs.56.a trigger = { NOT = { original_tag = CHI } } } } country_event = { id = china_scs.57 title = china_scs.57.t desc = china_scs.57.d picture = GFX_CHI_pla_navy is_triggered_only = yes option = { name = china_scs.57.a log = "[GetDateText]: [This.GetName]: china_scs.57.a executed" CHI = { add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_chance = { base = 30 modifier = { add = 20 has_war = yes } modifier = { add = 15 has_stability < 0.40 } } } option = { name = china_scs.57.b log = "[GetDateText]: [This.GetName]: china_scs.57.b executed" CHI = { add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } hidden_effect = { USA = { set_country_flag = CHI_scs_china_already_lost_border_war country_event = { id = china_scs.53 days = 7 } } } ai_chance = { base = 40 modifier = { add = 30 is_in_faction_with = USA } modifier = { add = 15 has_opinion = { target = USA value > 25 } } modifier = { add = -20 has_war = yes } } } } news_event = { id = china_scs.58 title = china_scs.58.t desc = china_scs.58.d picture = GFX_CHI_varyag_lost is_triggered_only = yes option = { name = china_scs.58.a log = "[GetDateText]: [This.GetName]: china_scs.58.a executed" trigger = { original_tag = CHI } 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 } add_timed_idea = { idea = CHI_scs_setback days = 365 } ai_chance = { base = 1 } } option = { name = china_scs.58.a trigger = { NOT = { original_tag = CHI } } ai_chance = { base = 1 } } } country_event = { id = china_scs.54 title = china_scs.54.t desc = china_scs.54.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = china_scs.54.a log = "[GetDateText]: [This.GetName]: china_scs.54.a executed" if = { limit = { has_country_flag = CHI_scs_ultimatum_issued_VIE } if = { limit = { owns_state = 813 } transfer_state = 813 VIE = { add_state_core = 813 } } clr_country_flag = CHI_scs_ultimatum_issued_VIE } if = { limit = { has_country_flag = CHI_scs_ultimatum_issued_PHI } if = { limit = { owns_state = 943 } transfer_state = 943 PHI = { add_state_core = 943 } } clr_country_flag = CHI_scs_ultimatum_issued_PHI } if = { limit = { has_country_flag = CHI_scs_ultimatum_issued_MAY } if = { limit = { owns_state = 526 } transfer_state = 526 MAY = { add_state_core = 526 } } clr_country_flag = CHI_scs_ultimatum_issued_MAY } clr_country_flag = CHI_scs_ultimatum_issued_any 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 } add_timed_idea = { idea = CHI_national_humiliation days = 365 } ai_chance = { base = 20 modifier = { add = 30 num_of_naval_factories < 12 } modifier = { add = 20 has_war = yes } modifier = { add = -20 check_variable = { var = CHI_chinese_aggression value = 35 compare = greater_than } } } } option = { name = china_scs.54.b log = "[GetDateText]: [This.GetName]: china_scs.54.b executed" create_wargoal = { type = liberate_wargoal target = USA } add_to_variable = { CHI_chinese_aggression = 10 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_to_variable = { CHI_scs_framework = -15 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } hidden_effect = { USA = { add_war_support = 0.05 } JAP = { add_war_support = 0.05 } RAJ = { add_war_support = 0.05 } AST = { add_war_support = 0.05 } } ai_chance = { base = 10 modifier = { add = 40 num_of_naval_factories > 20 } modifier = { add = 20 check_variable = { var = CHI_chinese_aggression value = 35 compare = greater_than } } } } } country_event = { id = china_scs.36 title = china_scs.36.t desc = china_scs.36.d picture = GFX_chinese_yuan is_triggered_only = yes option = { name = china_scs.36.a log = "[GetDateText]: [This.GetName]: china_scs.36.a executed" add_to_variable = { CHI_scs_framework = -2 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } FROM = { add_timed_idea = { idea = CHI_scs_chinese_debt days = 1825 } } ai_chance = { base = 40 modifier = { add = 10 check_variable = { var = CHI_scs_framework value = 5 compare = greater_than } } } } option = { name = china_scs.36.b log = "[GetDateText]: [This.GetName]: china_scs.36.b executed" add_to_variable = { CHI_scs_framework = -6 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } add_political_power = 30 FROM = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } ai_chance = { base = 20 modifier = { add = 30 check_variable = { var = CHI_chinese_aggression value = 15 compare = greater_than } } } } option = { name = china_scs.36.c log = "[GetDateText]: [This.GetName]: china_scs.36.c executed" add_to_variable = { CHI_scs_framework = -1 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } FROM = { remove_ideas = CHI_scs_chinese_debt add_opinion_modifier = { target = CHI modifier = military_cooperation } } ai_chance = { base = 20 modifier = { add = 30 check_variable = { var = CHI_scs_framework value = 0 compare = less_than } } } } } country_event = { id = china_scs.21 title = china_scs.21.t desc = china_scs.21.d picture = GFX_CHI_event_aircraft is_triggered_only = yes option = { name = china_scs.21.a log = "[GetDateText]: [This.GetName]: china_scs.21.a executed" add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } hidden_effect = { random_list = { 30 = { USA = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } } 20 = { JAP = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } } 15 = { PHI = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } } 15 = { VIE = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } } 10 = { AST = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } } 10 = { add_to_variable = { CHI_chinese_aggression = 2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } USA = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } JAP = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } } } } ai_chance = { base = 60 modifier = { add = 20 check_variable = { CHI_scs_framework > 5 } } } } option = { name = china_scs.21.b log = "[GetDateText]: [This.GetName]: china_scs.21.b executed" add_to_variable = { CHI_chinese_aggression = 2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } hidden_effect = { random_list = { 30 = { USA = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } add_political_power = -10 } 20 = { JAP = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } add_political_power = -10 } 15 = { PHI = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } add_political_power = -5 } 15 = { VIE = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } add_political_power = -5 } 10 = { AST = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } add_political_power = -5 } 10 = { add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } USA = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } JAP = { add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } } add_political_power = -20 } } } ai_chance = { base = 40 modifier = { add = 20 check_variable = { CHI_chinese_aggression > 20 } } } } } country_event = { id = china_scs.60 title = china_scs.60.t desc = china_scs.60.d picture = GFX_CHI_event_navy_ship is_triggered_only = yes major = yes option = { name = china_scs.60.a log = "[GetDateText]: [This.GetName]: china_scs.60.a executed" trigger = { OR = { original_tag = USA original_tag = JAP original_tag = RAJ original_tag = AST } } USA = { add_opinion_modifier = { target = JAP modifier = military_cooperation } add_opinion_modifier = { target = RAJ modifier = military_cooperation } add_opinion_modifier = { target = AST modifier = military_cooperation } } JAP = { add_opinion_modifier = { target = USA modifier = military_cooperation } add_opinion_modifier = { target = RAJ modifier = military_cooperation } add_opinion_modifier = { target = AST modifier = military_cooperation } } RAJ = { add_opinion_modifier = { target = USA modifier = military_cooperation } add_opinion_modifier = { target = JAP modifier = military_cooperation } add_opinion_modifier = { target = AST modifier = military_cooperation } } AST = { add_opinion_modifier = { target = USA modifier = military_cooperation } add_opinion_modifier = { target = JAP modifier = military_cooperation } add_opinion_modifier = { target = RAJ modifier = military_cooperation } } add_war_support = 0.03 CHI = { add_to_variable = { CHI_chinese_aggression = 2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } } option = { name = china_scs.60.a trigger = { NOT = { original_tag = USA } NOT = { original_tag = JAP } NOT = { original_tag = RAJ } NOT = { original_tag = AST } } } } country_event = { id = china_scs.70 title = china_scs.70.t desc = china_scs.70.d picture = GFX_CHI_event_chinese_ship is_triggered_only = yes option = { name = china_scs.70.a log = "[GetDateText]: [This.GetName]: china_scs.70.a executed" CHI = { add_to_variable = { CHI_scs_framework = 1 tooltip = CHI_scs_framework_tt } clamp_variable = { var = CHI_scs_framework min = -50 max = 50 } } add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } ai_chance = { base = 30 modifier = { add = 30 has_war = yes } modifier = { add = 20 has_stability < 0.35 } } } option = { name = china_scs.70.b log = "[GetDateText]: [This.GetName]: china_scs.70.b executed" CHI = { add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } add_war_support = 0.05 ai_chance = { base = 40 modifier = { add = 25 is_in_faction_with = USA } modifier = { add = 15 has_opinion = { target = USA value > 0 } } } } } country_event = { id = sino_indian.1 title = sino_indian.1.t desc = sino_indian.1.d picture = GFX_CHI_counter_terrorist is_triggered_only = yes option = { name = sino_indian.1.a trigger = { original_tag = BHU } log = "[GetDateText]: [This.GetName]: sino_indian.1.a executed" create_wargoal = { type = annex_everything target = CHI } add_war_support = 0.05 ai_chance = { base = 30 modifier = { add = 20 has_opinion = { target = CHI value < -25 } } modifier = { add = 20 is_in_faction_with = RAJ } } } option = { name = sino_indian.1.b trigger = { original_tag = BHU } log = "[GetDateText]: [This.GetName]: sino_indian.1.b executed" add_opinion_modifier = { target = CHI modifier = CHI_doklam_concession } ai_chance = { base = 50 modifier = { add = 30 NOT = { is_in_faction_with = RAJ } } } } option = { name = sino_indian.1.e trigger = { original_tag = BHU } log = "[GetDateText]: [This.GetName]: sino_indian.1.e executed" create_wargoal = { type = annex_everything target = CHI } add_opinion_modifier = { target = RAJ modifier = territorial_integrity_violation } ai_chance = { base = 20 } } option = { name = sino_indian.1.c trigger = { original_tag = RAJ } log = "[GetDateText]: [This.GetName]: sino_indian.1.c executed" add_war_support = 0.05 give_guarantee = BHU ai_chance = { base = 60 modifier = { add = 20 has_opinion = { target = CHI value < -10 } } } } option = { name = sino_indian.1.d_opt trigger = { original_tag = RAJ } log = "[GetDateText]: [This.GetName]: sino_indian.1.d_opt executed" add_opinion_modifier = { target = BHU modifier = territorial_integrity_violation } ai_chance = { base = 40 modifier = { factor = 0 has_opinion = { target = BHU value > 30 } } } } option = { name = sino_indian.1.f trigger = { NOT = { OR = { original_tag = BHU original_tag = RAJ } } } log = "[GetDateText]: [This.GetName]: sino_indian.1.f executed" add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } ai_chance = { base = 100 } } } country_event = { id = sino_indian.11 title = sino_indian.11.t desc = sino_indian.11.d picture = GFX_CHI_event_china_indian_flag is_triggered_only = yes option = { name = sino_indian.11.a log = "[GetDateText]: [This.GetName]: sino_indian.11.a executed" add_ideas = CHI_asian_century_concord_idea add_opinion_modifier = { target = CHI modifier = diplomatic_opening } CHI = { add_ideas = CHI_asian_century_concord_idea add_opinion_modifier = { target = RAJ modifier = diplomatic_opening } } ai_chance = { base = 60 modifier = { add = 20 has_opinion = { target = CHI value > 25 } } modifier = { add = -20 has_opinion = { target = CHI value < 0 } } } } option = { name = sino_indian.11.b log = "[GetDateText]: [This.GetName]: sino_indian.11.b executed" add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } CHI = { add_opinion_modifier = { target = RAJ modifier = territorial_integrity_violation } } ai_chance = { base = 40 modifier = { add = 20 has_opinion = { target = CHI value < -10 } } modifier = { add = -20 has_opinion = { target = CHI value > 30 } } } } } news_event = { id = sino_indian.13 title = sino_indian.13.t desc = sino_indian.13.d picture = GFX_china_indian_border_skirmish is_triggered_only = yes major = yes option = { name = sino_indian.13.a trigger = { original_tag = CHI } } option = { name = sino_indian.13.b trigger = { NOT = { original_tag = CHI } } } } country_event = { id = sino_indian.20 title = sino_indian.20.t desc = sino_indian.20.d picture = GFX_CHI_event_sco_military is_triggered_only = yes option = { name = sino_indian.20.a log = "[GetDateText]: [This.GetName]: sino_indian.20.a executed" add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } create_faction_from_template = faction_template_sco PAK = { if = { limit = { NOT = { is_in_faction = yes } } CHI = { add_to_faction = PREV } } if = { limit = { NOT = { has_idea = CHI_sco_member } NOT = { has_idea = CHI_sco_member_econ } NOT = { has_idea = CHI_sco_member_pol } NOT = { has_idea = CHI_sco_member_mil } } CHI_sco_promote_to_member = yes } } AFG = { if = { limit = { NOT = { is_in_faction = yes } } CHI = { add_to_faction = PREV } } if = { limit = { NOT = { has_idea = CHI_sco_member } NOT = { has_idea = CHI_sco_member_econ } NOT = { has_idea = CHI_sco_member_pol } NOT = { has_idea = CHI_sco_member_mil } } CHI_sco_promote_to_member = yes } } TAJ = { if = { limit = { NOT = { is_in_faction = yes } } CHI = { add_to_faction = PREV } } if = { limit = { NOT = { has_idea = CHI_sco_member } NOT = { has_idea = CHI_sco_member_econ } NOT = { has_idea = CHI_sco_member_pol } NOT = { has_idea = CHI_sco_member_mil } } CHI_sco_promote_to_member = yes } } hidden_effect = { every_country = { limit = { OR = { original_tag = PAK original_tag = TAJ original_tag = AFG } } add_war_support = 0.05 } } ai_chance = { base = 20 modifier = { add = 10 check_variable = { var = CHI_chinese_aggression value = 0 compare = less_than } } } } option = { name = sino_indian.20.b log = "[GetDateText]: [This.GetName]: sino_indian.20.b executed" add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } hidden_effect = { PAK = { country_event = { id = sino_indian.46 days = 2 } } every_country = { limit = { has_government = democratic NOT = { original_tag = CHI } } add_opinion_modifier = { target = CHI modifier = aggressive_diplomacy_penalty } } } ai_chance = { base = 40 modifier = { add = 20 check_variable = { var = CHI_chinese_aggression value = 5 compare = greater_than } } } } option = { name = sino_indian.20.c log = "[GetDateText]: [This.GetName]: sino_indian.20.c executed" add_to_variable = { CHI_chinese_aggression = 5 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } every_country = { limit = { OR = { original_tag = CHI original_tag = PAK original_tag = TAJ original_tag = AFG } } add_timed_idea = { idea = CHI_war_footing_central_asia days = 730 } } hidden_effect = { PAK = { country_event = { id = sino_indian.46 days = 2 } } every_country = { limit = { has_government = democratic NOT = { original_tag = CHI } } add_opinion_modifier = { target = CHI modifier = aggressive_diplomacy_penalty } } every_country = { limit = { OR = { original_tag = TUR original_tag = PER } } country_event = { id = sino_indian.31 days = 30 } } } ai_chance = { base = 10 modifier = { add = 20 check_variable = { var = CHI_chinese_aggression value = 10 compare = greater_than } } } } } country_event = { id = sino_indian.21 title = sino_indian.21.t desc = sino_indian.21.d picture = GFX_CHI_event_china_indian_flag is_triggered_only = yes option = { name = sino_indian.21.a log = "[GetDateText]: [This.GetName]: sino_indian.21.a executed" add_opinion_modifier = { target = CHI modifier = diplomatic_opening } add_opinion_modifier = { target = USA modifier = territorial_integrity_violation } ai_chance = { base = 30 modifier = { add = 20 has_opinion = { target = CHI value > 10 } } modifier = { add = -15 is_in_faction_with = USA } } } option = { name = sino_indian.21.b log = "[GetDateText]: [This.GetName]: sino_indian.21.b executed" add_opinion_modifier = { target = CHI modifier = cautious_opening } ai_chance = { base = 40 modifier = { add = 15 has_opinion = { target = CHI value > 0 } } } } option = { name = sino_indian.21.c log = "[GetDateText]: [This.GetName]: sino_indian.21.c executed" add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } add_opinion_modifier = { target = USA modifier = diplomatic_opening } CHI = { set_country_flag = CHI_bandung_rejected } ai_chance = { base = 30 modifier = { add = 20 has_opinion = { target = CHI value < -10 } } modifier = { add = 20 is_in_faction_with = USA } } } } country_event = { id = sino_indian.31 title = sino_indian.31.t desc = sino_indian.31.d picture = GFX_CHI_event_sco_military is_triggered_only = yes option = { name = sino_indian.31.a log = "[GetDateText]: [This.GetName]: sino_indian.31.a executed" add_opinion_modifier = { target = CHI modifier = aggressive_diplomacy_penalty } ai_chance = { base = 100 } } } country_event = { id = sino_indian.32 title = sino_indian.32.t desc = sino_indian.32.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = sino_indian.32.a log = "[GetDateText]: [This.GetName]: sino_indian.32.a executed" USA = { add_opinion_modifier = { target = RAJ modifier = host_and_guarantor } } add_opinion_modifier = { target = CHI modifier = chinese_aggression_himalayan_front } ai_chance = { base = 60 modifier = { add = 20 has_opinion = { target = CHI value < -20 } } modifier = { add = 15 has_opinion = { target = USA value > 10 } } } } option = { name = sino_indian.32.b log = "[GetDateText]: [This.GetName]: sino_indian.32.b executed" add_stability = -0.05 ai_chance = { base = 40 modifier = { add = 20 has_opinion = { target = USA value < 0 } } modifier = { add = -20 has_opinion = { target = CHI value < -30 } } } } } country_event = { id = sino_indian.22 title = sino_indian.22.t desc = sino_indian.22.d picture = GFX_CHI_counter_terrorist is_triggered_only = yes option = { name = sino_indian.22.a log = "[GetDateText]: [This.GetName]: sino_indian.22.a executed" add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } ai_chance = { base = 20 modifier = { add = 10 check_variable = { var = CHI_chinese_aggression value = 0 compare = less_than } } } } option = { name = sino_indian.22.b log = "[GetDateText]: [This.GetName]: sino_indian.22.b executed" add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } RAJ = { add_war_support = 0.10 } ai_chance = { base = 50 modifier = { add = 15 check_variable = { var = CHI_chinese_aggression value = 5 compare = greater_than } } } } option = { name = sino_indian.22.c log = "[GetDateText]: [This.GetName]: sino_indian.22.c executed" add_to_variable = { CHI_chinese_aggression = 5 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } add_timed_idea = { idea = CHI_total_war_himalayan_front days = 1095 } hidden_effect = { RAJ = { country_event = { id = sino_indian.32 days = 7 } } } ai_chance = { base = 30 modifier = { add = 20 check_variable = { var = CHI_chinese_aggression value = 10 compare = greater_than } } } } } country_event = { id = sino_indian.33 title = sino_indian.33.t desc = sino_indian.33.d picture = GFX_CHI_event_china_indian_flag is_triggered_only = yes option = { name = sino_indian.33.a log = "[GetDateText]: [This.GetName]: sino_indian.33.a executed" add_ideas = CHI_raj_foreign_defense_pressure ai_chance = { base = 100 } } } country_event = { id = sino_indian.34 title = sino_indian.34.t desc = sino_indian.34.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = sino_indian.34.a log = "[GetDateText]: [This.GetName]: sino_indian.34.a executed" add_ideas = CHI_npm_red_banner_insurgency army_experience = 50 CHI = { set_country_flag = CHI_backing_npm_insurgency } hidden_effect = { CHI = { send_equipment = { target = NPM type = infantry_weapons_type amount = 2000 } } } ai_chance = { base = 80 modifier = { add = 20 has_opinion = { target = CHI value > 25 } } } } option = { name = sino_indian.34.b ai_chance = { base = 20 modifier = { add = 20 has_opinion = { target = CHI value < 0 } } } } } country_event = { id = sino_indian.53 title = sino_indian.53.t desc = sino_indian.53.d picture = GFX_chinese_yuan is_triggered_only = yes option = { name = sino_indian.53.a log = "[GetDateText]: [This.GetName]: sino_indian.53.a executed" CHI = { set_autonomy = { target = NPM autonomy_state = autonomy_associated_state end_wars = no } add_opinion_modifier = { target = NPM modifier = large_increase } } ai_chance = { base = 65 modifier = { add = 20 has_opinion = { target = CHI value > 0 } } } } option = { name = sino_indian.53.b log = "[GetDateText]: [This.GetName]: sino_indian.53.b executed" CHI = { create_wargoal = { type = annex_everything target = NPM } add_opinion_modifier = { target = NPM modifier = large_decrease } } ai_chance = { base = 35 modifier = { add = 25 has_opinion = { target = CHI value < -10 } } } } } country_event = { id = sino_indian.35 title = sino_indian.35.t desc = sino_indian.35.d picture = GFX_CHI_event_china_indian_flag is_triggered_only = yes option = { name = sino_indian.35.a log = "[GetDateText]: [This.GetName]: sino_indian.35.a executed" add_ideas = CHI_nepal_himalayan_friendship CHI = { add_to_variable = { CHI_opinion_gain_monthly_factor_diplomacy = 0.02 tooltip = opinion_gain_monthly_factor_tt } clamp_variable = { var = CHI_opinion_gain_monthly_factor_diplomacy min = 0 max = 0.30 } add_to_variable = { CHI_trade_opinion_factor_diplomacy = 0.02 tooltip = trade_opinion_factor_tt } clamp_variable = { var = CHI_trade_opinion_factor_diplomacy min = 0 max = 0.30 } add_to_variable = { CHI_foreign_subversive_activites_diplomacy = -0.02 tooltip = foreign_subversive_activites_tt } clamp_variable = { var = CHI_foreign_subversive_activites_diplomacy min = -0.30 max = 0 } } ai_chance = { base = 70 modifier = { add = 20 has_opinion = { target = CHI value > 10 } } modifier = { add = -20 has_opinion = { target = CHI value < -10 } } } } option = { name = sino_indian.35.b ai_chance = { base = 30 modifier = { add = 20 has_opinion = { target = CHI value < -10 } } } } } country_event = { id = sino_indian.36 title = sino_indian.36.t desc = sino_indian.36.d picture = GFX_china_ccecc is_triggered_only = yes option = { name = sino_indian.36.a log = "[GetDateText]: [This.GetName]: sino_indian.36.a executed" add_ideas = CHI_ban_strategic_partnership add_opinion_modifier = { target = CHI modifier = dhaka_strategic_partnership } CHI = { give_guarantee = BAN add_opinion_modifier = { target = BAN modifier = dhaka_strategic_partnership } } ai_chance = { base = 65 modifier = { add = 20 has_opinion = { target = CHI value > 10 } } modifier = { add = -20 is_in_faction_with = USA } } } option = { name = sino_indian.36.b ai_chance = { base = 35 modifier = { add = 20 has_opinion = { target = CHI value < -10 } } } } } country_event = { id = sino_indian.37 title = sino_indian.37.t desc = sino_indian.37.d picture = GFX_CHI_begonia_leaf is_triggered_only = yes option = { name = sino_indian.37.a log = "[GetDateText]: [This.GetName]: sino_indian.37.a executed" add_opinion_modifier = { target = CHI modifier = eased_border_tensions } remove_opinion_modifier = { target = CHI modifier = minor_border_dispute } ai_chance = { base = 100 } } } country_event = { id = sino_indian.38 title = sino_indian.38.t desc = sino_indian.38.d picture = GFX_CHI_event_china_pakistan_flag is_triggered_only = yes option = { name = sino_indian.38.a log = "[GetDateText]: [This.GetName]: sino_indian.38.a executed" add_opinion_modifier = { target = CHI modifier = iron_brothers_partnership } ai_chance = { base = 80 modifier = { add = 15 has_opinion = { target = CHI value > 25 } } } } option = { name = sino_indian.38.b log = "[GetDateText]: [This.GetName]: sino_indian.38.b executed" add_opinion_modifier = { target = CHI modifier = aggressive_diplomacy_penalty } CHI = { add_to_variable = { CHI_foreign_subversive_activites_diplomacy = 0.01 tooltip = foreign_subversive_activites_tt } clamp_variable = { var = CHI_foreign_subversive_activites_diplomacy min = -0.30 max = 0 } } ai_chance = { base = 20 modifier = { factor = 0 has_opinion = { target = CHI value > 25 } } } } } country_event = { id = sino_indian.39 title = sino_indian.39.t desc = sino_indian.39.d picture = GFX_CHI_event_china_pakistan_flag is_triggered_only = yes option = { name = sino_indian.39.a log = "[GetDateText]: [This.GetName]: sino_indian.39.a executed" add_breakthrough_points = { specialization = specialization_land value = 1 } CHI = { set_country_flag = CHI_joint_mil_land country_event = { id = sino_indian.54 days = 1 } } ai_chance = { base = 30 } } option = { name = sino_indian.39.b log = "[GetDateText]: [This.GetName]: sino_indian.39.b executed" add_breakthrough_points = { specialization = specialization_air value = 1 } CHI = { set_country_flag = CHI_joint_mil_air country_event = { id = sino_indian.54 days = 1 } } ai_chance = { base = 30 } } option = { name = sino_indian.39.c log = "[GetDateText]: [This.GetName]: sino_indian.39.c executed" add_breakthrough_points = { specialization = specialization_naval value = 1 } CHI = { set_country_flag = CHI_joint_mil_naval country_event = { id = sino_indian.54 days = 1 } } ai_chance = { base = 20 } } option = { name = sino_indian.39.d_opt log = "[GetDateText]: [This.GetName]: sino_indian.39.d_opt executed" add_breakthrough_points = { specialization = specialization_nuclear value = 1 } CHI = { set_country_flag = CHI_joint_mil_nuclear country_event = { id = sino_indian.54 days = 1 } } ai_chance = { base = 15 } } } country_event = { id = sino_indian.54 title = sino_indian.54.t desc = sino_indian.54.d picture = GFX_CHI_event_china_pakistan_flag is_triggered_only = yes option = { name = sino_indian.54.a log = "[GetDateText]: [This.GetName]: sino_indian.54.a executed" if = { limit = { has_country_flag = CHI_joint_mil_land } add_breakthrough_points = { specialization = specialization_land value = 1 } clr_country_flag = CHI_joint_mil_land } else_if = { limit = { has_country_flag = CHI_joint_mil_air } add_breakthrough_points = { specialization = specialization_air value = 1 } clr_country_flag = CHI_joint_mil_air } else_if = { limit = { has_country_flag = CHI_joint_mil_naval } add_breakthrough_points = { specialization = specialization_naval value = 1 } clr_country_flag = CHI_joint_mil_naval } else_if = { limit = { has_country_flag = CHI_joint_mil_nuclear } add_breakthrough_points = { specialization = specialization_nuclear value = 1 } clr_country_flag = CHI_joint_mil_nuclear } } } country_event = { id = sino_indian.40 title = sino_indian.40.t desc = sino_indian.40.d picture = GFX_CHI_counter_terrorist is_triggered_only = yes option = { name = sino_indian.40.a log = "[GetDateText]: [This.GetName]: sino_indian.40.a executed" add_ideas = CHI_etim_designation reverse_add_opinion_modifier = { target = CHI modifier = etim_cooperation } ai_chance = { base = 70 modifier = { add = 20 has_opinion = { target = CHI value > 15 } } } } option = { name = sino_indian.40.b ai_chance = { base = 30 modifier = { add = 20 has_opinion = { target = CHI value < 0 } } } } } country_event = { id = sino_indian.41 title = sino_indian.41.t desc = sino_indian.41.d picture = GFX_china_ccecc is_triggered_only = yes option = { name = sino_indian.41.a log = "[GetDateText]: [This.GetName]: sino_indian.41.a executed" add_timed_idea = { idea = CHI_cpec_partner days = 1825 } ai_chance = { base = 100 } } } country_event = { id = sino_indian.42 title = sino_indian.42.t desc = sino_indian.42.d picture = GFX_CHI_event_navy_ship is_triggered_only = yes option = { name = sino_indian.42.a log = "[GetDateText]: [This.GetName]: sino_indian.42.a executed" 416 = { add_building_construction = { type = dockyard level = 2 instant_build = yes } add_building_construction = { type = naval_facility level = 1 instant_build = yes province = 12774 } } CHI = { country_event = { id = sino_indian.55 days = 1 } } add_opinion_modifier = { target = CHI modifier = gwadar_naval_partnership } ai_chance = { base = 100 } } } country_event = { id = sino_indian.55 title = sino_indian.55.t desc = sino_indian.55.d picture = GFX_CHI_pla_navy is_triggered_only = yes option = { name = sino_indian.55.a log = "[GetDateText]: [This.GetName]: sino_indian.55.a executed" add_ideas = CHI_gwadar_basing_rights add_opinion_modifier = { target = PAK modifier = gwadar_naval_partnership } diplomatic_relation = { country = PAK relation = military_access } } } country_event = { id = sino_indian.43 title = sino_indian.43.t desc = sino_indian.43.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = sino_indian.43.a log = "[GetDateText]: [This.GetName]: sino_indian.43.a executed" army_experience = 25 reverse_add_opinion_modifier = { target = CHI modifier = qccm_partner } ai_chance = { base = 100 } } } country_event = { id = sino_indian.44 title = sino_indian.44.t desc = sino_indian.44.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = sino_indian.44.a log = "[GetDateText]: [This.GetName]: sino_indian.44.a executed" army_experience = 25 reverse_add_opinion_modifier = { target = CHI modifier = qccm_partner } ai_chance = { base = 100 } } } country_event = { id = sino_indian.45 title = sino_indian.45.t desc = sino_indian.45.d picture = GFX_CHI_event_sco_flags is_triggered_only = yes option = { name = sino_indian.45.a log = "[GetDateText]: [This.GetName]: sino_indian.45.a executed" army_experience = 25 reverse_add_opinion_modifier = { target = CHI modifier = qccm_partner } ai_chance = { base = 100 } } } country_event = { id = sino_indian.46 title = sino_indian.46.t desc = sino_indian.46.d picture = GFX_CHI_event_sco_military is_triggered_only = yes option = { name = sino_indian.46.a log = "[GetDateText]: [This.GetName]: sino_indian.46.a executed" if = { limit = { country_exists = TAL } create_wargoal = { type = topple_government target = TAL } } if = { limit = { country_exists = TTP } create_wargoal = { type = topple_government target = TTP } } CHI = { if = { limit = { country_exists = TAL } create_wargoal = { type = topple_government target = TAL } } if = { limit = { country_exists = TTP } create_wargoal = { type = topple_government target = TTP } } } ai_chance = { base = 65 modifier = { add = 20 has_opinion = { target = CHI value > 10 } } } } option = { name = sino_indian.46.b log = "[GetDateText]: [This.GetName]: sino_indian.46.b executed" CHI = { if = { limit = { country_exists = TAL } create_wargoal = { type = topple_government target = TAL } } if = { limit = { country_exists = TTP } create_wargoal = { type = topple_government target = TTP } } } ai_chance = { base = 35 modifier = { add = 20 has_opinion = { target = CHI value < 0 } } } } } country_event = { id = sino_indian.47 title = sino_indian.47.t desc = sino_indian.47.d picture = GFX_CHI_event_soldiers_02 is_triggered_only = yes option = { name = sino_indian.47.a log = "[GetDateText]: [This.GetName]: sino_indian.47.a executed" add_ideas = CHI_wakhan_buffer_partner_idea ai_chance = { base = 100 } } } country_event = { id = sino_indian.48 title = sino_indian.48.t desc = sino_indian.48.d picture = GFX_CHI_event_china_indian_flag is_triggered_only = yes option = { name = sino_indian.48.a log = "[GetDateText]: [This.GetName]: sino_indian.48.a executed" add_opinion_modifier = { target = CHI modifier = beijing_distances_from_islamabad } CHI = { add_opinion_modifier = { target = RAJ modifier = beijing_distances_from_islamabad } } ai_chance = { base = 75 modifier = { add = 15 has_opinion = { target = CHI value > 0 } } } } option = { name = sino_indian.48.b ai_chance = { base = 25 modifier = { add = 20 has_opinion = { target = CHI value < -20 } } } } } country_event = { id = sino_indian.49 title = sino_indian.49.t desc = sino_indian.49.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = sino_indian.49.a log = "[GetDateText]: [This.GetName]: sino_indian.49.a executed" add_opinion_modifier = { target = CHI modifier = territorial_integrity_violation } add_opinion_modifier = { target = RAJ modifier = territorial_integrity_violation } ai_chance = { base = 60 modifier = { add = 20 has_opinion = { target = CHI value < -10 } } } } option = { name = sino_indian.49.b log = "[GetDateText]: [This.GetName]: sino_indian.49.b executed" CHI = { add_opinion_modifier = { target = USA modifier = diplomatic_opening } } ai_chance = { base = 40 modifier = { add = 15 has_opinion = { target = CHI value > 10 } } } } } country_event = { id = sino_indian.50 title = sino_indian.50.t desc = sino_indian.50.d picture = GFX_CHI_chinese_soldiers is_triggered_only = yes option = { name = sino_indian.50.a log = "[GetDateText]: [This.GetName]: sino_indian.50.a executed" CHI = { annex_country = { target = BHU transfer_troops = yes } } ai_chance = { base = 40 modifier = { add = 30 CHI = { has_war = no } } modifier = { add = -20 has_opinion = { target = CHI value < -30 } } } } option = { name = sino_indian.50.b log = "[GetDateText]: [This.GetName]: sino_indian.50.b executed" CHI = { create_wargoal = { type = annex_everything target = BHU } } ai_chance = { base = 60 modifier = { factor = 0 CHI = { has_war = yes } } } } } country_event = { id = sino_indian.52 title = sino_indian.52.t desc = sino_indian.52.d picture = GFX_CHI_pla_navy is_triggered_only = yes option = { name = sino_indian.52.a log = "[GetDateText]: [This.GetName]: sino_indian.52.a executed" add_timed_idea = { idea = CHI_pearls_economic_partner days = 1825 } CHI = { add_to_variable = { CHI_navy_max_range_factor_diplomacy = 0.05 tooltip = navy_max_range_factor_tt } clamp_variable = { var = CHI_navy_max_range_factor_diplomacy min = 0 max = 0.30 } add_to_variable = { CHI_supply_consumption_factor_diplomacy = -0.02 tooltip = supply_consumption_factor_tt } clamp_variable = { var = CHI_supply_consumption_factor_diplomacy min = -0.20 max = 0 } add_to_variable = { CHI_out_of_supply_factor_diplomacy = -0.02 tooltip = out_of_supply_factor_tt } clamp_variable = { var = CHI_out_of_supply_factor_diplomacy min = -0.20 max = 0 } diplomatic_relation = { country = PREV relation = military_access active = yes } } ai_chance = { base = 60 modifier = { add = 25 has_opinion = { target = CHI value > 10 } } modifier = { add = -25 is_in_faction_with = USA } } } option = { name = sino_indian.52.b ai_chance = { base = 40 modifier = { add = 30 is_in_faction_with = USA } modifier = { add = 25 has_opinion = { target = CHI value < -10 } } } } } country_event = { id = sino_indian.51 title = sino_indian.51.t desc = sino_indian.51.d picture = GFX_CHI_chinese_soldiers is_triggered_only = yes option = { name = sino_indian.51.a log = "[GetDateText]: [This.GetName]: sino_indian.51.a executed" CHI = { set_autonomy = { target = NEP autonomy_state = autonomy_associated_state end_wars = no } } ai_chance = { base = 40 modifier = { add = 30 CHI = { has_war = no } } modifier = { add = -20 has_opinion = { target = CHI value < -30 } } } } option = { name = sino_indian.51.b log = "[GetDateText]: [This.GetName]: sino_indian.51.b executed" CHI = { create_wargoal = { type = puppet_wargoal_focus target = NEP } } if = { limit = { RAJ = { has_guaranteed = NEP } } RAJ = { diplomatic_relation = { country = NEP relation = guarantee active = no } } } ai_chance = { base = 60 modifier = { factor = 0 CHI = { has_war = yes } } } } } country_event = { id = CHI_foreign.200 title = CHI_foreign.200.t desc = CHI_foreign.200.d picture = GFX_CHI_event_navy_ship is_triggered_only = yes trigger = { original_tag = CHI } option = { name = CHI_foreign.200.a log = "[GetDateText]: [This.GetName]: CHI_foreign.200.a executed" add_to_variable = { CHI_chinese_aggression = 5 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } JAP = { country_event = { id = CHI_foreign.201 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { JAP = { transfer_state = 939 } } custom_effect_tooltip = TT_IF_THEY_REJECT effect_tooltip = { create_wargoal = { type = take_state_focus target = JAP generator = { 939 } } } if = { limit = { any_of_scopes = { array = JAP.guaranteeing_nations exists = yes has_guaranteed = JAP } } USA = { country_event = { id = CHI_foreign.215 days = 2 } } } ai_chance = { base = 5 modifier = { add = 10 check_variable = { var = CHI_chinese_aggression value = 10 compare = greater_than_or_equals } } modifier = { factor = 0 has_war = yes } } } option = { name = CHI_foreign.200.b log = "[GetDateText]: [This.GetName]: CHI_foreign.200.b executed" add_stability = 0.05 JAP = { add_opinion_modifier = { target = CHI modifier = border_tensions } } ai_chance = { base = 40 modifier = { add = 20 check_variable = { var = CHI_chinese_aggression value = 0 compare = less_than } } modifier = { add = -10 check_variable = { var = CHI_chinese_aggression value = 10 compare = greater_than_or_equals } } } } option = { name = CHI_foreign.200.c log = "[GetDateText]: [This.GetName]: CHI_foreign.200.c executed" news_event = { id = CHI_foreign.203 days = 1 } if = { limit = { any_of_scopes = { array = JAP.guaranteeing_nations exists = yes has_guaranteed = JAP } } USA = { country_event = { id = CHI_foreign.202 days = 2 } } } ai_chance = { base = 20 modifier = { add = 10 check_variable = { var = CHI_chinese_aggression value = 0 compare = less_than } } } } option = { name = CHI_foreign.200.e log = "[GetDateText]: [This.GetName]: CHI_foreign.200.e executed" add_to_variable = { CHI_chinese_aggression = 5 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } JAP = { country_event = { id = Japan.6 days = 1 } } every_country = { limit = { NOT = { original_tag = JAP } NOT = { original_tag = CHI } } news_event = { id = Japan.7 days = 2 } } custom_effect_tooltip = TT_IF_THEY_REJECT effect_tooltip = { JAP = { create_wargoal = { type = topple_government target = CHI } } } ai_chance = { base = 5 modifier = { add = 15 check_variable = { var = CHI_chinese_aggression value = 20 compare = greater_than_or_equals } } modifier = { add = -5 any_of_scopes = { array = JAP.guaranteeing_nations exists = yes has_guaranteed = JAP } } modifier = { factor = 0 has_war = yes } } } } country_event = { id = CHI_foreign.201 title = CHI_foreign.201.t desc = CHI_foreign.201.d picture = GFX_CHI_event_chinese_ship_2 is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.201.a log = "[GetDateText]: [This.GetName]: CHI_foreign.201.a executed" CHI = { transfer_state = 939 } add_stability = -0.10 add_war_support = -0.05 ai_chance = { base = 5 modifier = { add = 30 has_government = democratic } modifier = { add = -5 any_of_scopes = { array = JAP.guaranteeing_nations exists = yes has_guaranteed = JAP } } modifier = { factor = 0 num_of_military_factories > 50 } } } option = { name = CHI_foreign.201.b log = "[GetDateText]: [This.GetName]: CHI_foreign.201.b executed" add_war_support = 0.10 CHI = { create_wargoal = { type = take_state_focus target = JAP generator = { 939 } } } ai_chance = { base = 50 modifier = { add = 20 num_of_military_factories > 50 } modifier = { add = 10 has_government = nationalist } modifier = { add = -20 NOT = { any_of_scopes = { array = JAP.guaranteeing_nations exists = yes has_guaranteed = JAP } } num_of_military_factories < 30 } } } option = { name = CHI_foreign.201.c log = "[GetDateText]: [This.GetName]: CHI_foreign.201.c executed" if = { limit = { any_of_scopes = { array = JAP.guaranteeing_nations exists = yes has_guaranteed = JAP } } USA = { country_event = { id = CHI_foreign.202 days = 1 } } } ai_chance = { base = 30 modifier = { add = 30 any_of_scopes = { array = JAP.guaranteeing_nations exists = yes has_guaranteed = JAP } } modifier = { factor = 0 has_government = nationalist } } } } country_event = { id = CHI_foreign.202 title = CHI_foreign.202.t desc = CHI_foreign.202.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes trigger = { original_tag = USA } option = { name = CHI_foreign.202.a log = "[GetDateText]: [This.GetName]: CHI_foreign.202.a executed" create_wargoal = { type = take_state_focus target = CHI generator = { 939 } } ai_chance = { base = 40 modifier = { add = 30 has_opinion = { target = JAP value > 30 } } modifier = { add = -20 has_war = yes } } } option = { name = CHI_foreign.202.b log = "[GetDateText]: [This.GetName]: CHI_foreign.202.b executed" JAP = { add_opinion_modifier = { target = USA modifier = diplomatic_disloyalty } add_timed_idea = { idea = JAP_abandoned_by_ally days = 730 } } ai_chance = { base = 20 modifier = { add = 20 has_war = yes } modifier = { add = 10 has_opinion = { target = CHI value > 0 } } modifier = { add = -30 has_opinion = { target = JAP value > 50 } } } } } news_event = { id = CHI_foreign.203 title = CHI_foreign.203.t desc = CHI_foreign.203.d picture = GFX_japan_china is_triggered_only = yes major = yes trigger = { NOT = { original_tag = JAP } NOT = { original_tag = CHI } } option = { name = CHI_foreign.203.a trigger = { original_tag = CHI } } option = { name = CHI_foreign.203.b trigger = { NOT = { original_tag = CHI } NOT = { original_tag = JAP } capital_scope = { is_on_continent = asia } } } option = { name = CHI_foreign.203.c trigger = { NOT = { original_tag = CHI } NOT = { original_tag = JAP } NOT = { capital_scope = { is_on_continent = asia } } } } } country_event = { id = CHI_foreign.204 title = CHI_foreign.204.t desc = CHI_foreign.204.d picture = GFX_CHI_begonia_leaf is_triggered_only = yes option = { name = CHI_foreign.204.a log = "[GetDateText]: [This.GetName]: CHI_foreign.204.a executed" add_opinion_modifier = { target = CHI modifier = border_tensions } CHI = { add_to_variable = { var = CHI_senkaku_pressure value = 5 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 } } ai_chance = { base = 70 modifier = { add = 20 has_government = nationalist } } } option = { name = CHI_foreign.204.b log = "[GetDateText]: [This.GetName]: CHI_foreign.204.b executed" add_opinion_modifier = { target = CHI modifier = senkaku_back_channel } CHI = { add_opinion_modifier = { target = JAP modifier = senkaku_back_channel } add_to_variable = { CHI_chinese_aggression = -1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_chance = { base = 30 modifier = { factor = 0 has_government = nationalist } } } } country_event = { id = CHI_foreign.211 title = CHI_foreign.211.t desc = CHI_foreign.211.d picture = GFX_CHI_anti_japan_protest is_triggered_only = yes option = { name = CHI_foreign.211.a log = "[GetDateText]: [This.GetName]: CHI_foreign.211.a executed" add_stability = -0.02 remove_opinion_modifier = { target = CHI modifier = CHI_yasukuni_diplomatic_freeze } CHI = { 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 = { var = CHI_senkaku_pressure value = -10 tooltip = CHI_senkaku_pressure_tt } clamp_variable = { var = CHI_senkaku_pressure min = 0 max = 100 } } ai_chance = { base = 30 modifier = { factor = 0 has_government = nationalist } modifier = { add = 30 NOT = { has_government = nationalist } } } } option = { name = CHI_foreign.211.b log = "[GetDateText]: [This.GetName]: CHI_foreign.211.b executed" add_timed_idea = { idea = JAP_revisionist_pride days = 365 } CHI = { 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 = { var = CHI_senkaku_pressure value = 10 tooltip = CHI_senkaku_pressure_tt } clamp_variable = { var = CHI_senkaku_pressure min = 0 max = 100 } } ai_chance = { base = 70 modifier = { add = 20 has_government = nationalist } } } } country_event = { id = CHI_foreign.212 title = CHI_foreign.212.t desc = CHI_foreign.212.d picture = GFX_CHI_event_chinese_ship is_triggered_only = yes option = { name = CHI_foreign.212.a log = "[GetDateText]: [This.GetName]: CHI_foreign.212.a executed" add_timed_idea = { idea = JAP_jcg_emergency_deployment days = 180 } CHI = { add_to_variable = { var = CHI_senkaku_pressure value = 5 tooltip = CHI_senkaku_pressure_tt } clamp_variable = { var = CHI_senkaku_pressure min = 0 max = 100 } } ai_chance = { base = 60 modifier = { add = 30 has_government = nationalist } } } option = { name = CHI_foreign.212.b log = "[GetDateText]: [This.GetName]: CHI_foreign.212.b executed" add_opinion_modifier = { target = CHI modifier = senkaku_back_channel } CHI = { set_country_flag = CHI_senkaku_back_channel_open add_opinion_modifier = { target = JAP modifier = senkaku_back_channel } add_to_variable = { var = CHI_senkaku_pressure value = -10 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 } } ai_chance = { base = 40 modifier = { factor = 0 has_government = nationalist } modifier = { add = 30 NOT = { has_government = nationalist } } } } } country_event = { id = CHI_foreign.216 title = CHI_foreign.216.t desc = CHI_foreign.216.d picture = GFX_CHI_event_aircraft is_triggered_only = yes option = { name = CHI_foreign.216.a log = "[GetDateText]: [This.GetName]: CHI_foreign.216.a executed" add_timed_idea = { idea = JAP_jcg_emergency_deployment days = 270 } CHI = { add_to_variable = { var = CHI_senkaku_pressure value = 8 tooltip = CHI_senkaku_pressure_tt } clamp_variable = { var = CHI_senkaku_pressure min = 0 max = 100 } add_to_variable = { CHI_chinese_aggression = 2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_chance = { base = 60 modifier = { add = 30 has_government = nationalist } } } option = { name = CHI_foreign.216.b log = "[GetDateText]: [This.GetName]: CHI_foreign.216.b executed" add_opinion_modifier = { target = CHI modifier = senkaku_back_channel } CHI = { set_country_flag = CHI_senkaku_back_channel_open add_opinion_modifier = { target = JAP modifier = senkaku_back_channel } add_to_variable = { var = CHI_senkaku_pressure value = -14 tooltip = CHI_senkaku_pressure_tt } clamp_variable = { var = CHI_senkaku_pressure min = 0 max = 100 } add_to_variable = { CHI_chinese_aggression = -2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_chance = { base = 40 modifier = { factor = 0 has_government = nationalist } modifier = { add = 30 NOT = { has_government = nationalist } } } } } country_event = { id = CHI_foreign.217 title = CHI_foreign.217.t desc = CHI_foreign.217.d picture = GFX_CHI_pla_navy is_triggered_only = yes option = { name = CHI_foreign.217.a log = "[GetDateText]: [This.GetName]: CHI_foreign.217.a executed" add_timed_idea = { idea = JAP_jcg_emergency_deployment days = 365 } add_timed_idea = { idea = JAP_revisionist_pride days = 365 } CHI = { add_to_variable = { var = CHI_senkaku_pressure value = 10 tooltip = CHI_senkaku_pressure_tt } clamp_variable = { var = CHI_senkaku_pressure min = 0 max = 100 } add_to_variable = { CHI_chinese_aggression = 3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_chance = { base = 55 modifier = { add = 35 has_government = nationalist } } } option = { name = CHI_foreign.217.b log = "[GetDateText]: [This.GetName]: CHI_foreign.217.b executed" add_opinion_modifier = { target = CHI modifier = senkaku_back_channel } CHI = { set_country_flag = CHI_senkaku_back_channel_open add_opinion_modifier = { target = JAP modifier = senkaku_back_channel } add_to_variable = { var = CHI_senkaku_pressure value = -20 tooltip = CHI_senkaku_pressure_tt } clamp_variable = { var = CHI_senkaku_pressure min = 0 max = 100 } add_to_variable = { CHI_chinese_aggression = -3 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_chance = { base = 45 modifier = { factor = 0 has_government = nationalist } modifier = { add = 30 NOT = { has_government = nationalist } } } } } country_event = { id = CHI_foreign.213 title = CHI_foreign.213.t desc = CHI_foreign.213.d picture = GFX_CHI_anti_japan_protest is_triggered_only = yes option = { name = CHI_foreign.213.a log = "[GetDateText]: [This.GetName]: CHI_foreign.213.a executed" add_political_power = -100 CHI = { add_to_variable = { CHI_chinese_aggression = -1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_chance = { base = 40 modifier = { add = 20 has_political_power > 200 } } } option = { name = CHI_foreign.213.b log = "[GetDateText]: [This.GetName]: CHI_foreign.213.b executed" add_timed_idea = { idea = JAP_export_pain days = 365 } CHI = { add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_chance = { base = 60 modifier = { add = 20 has_government = nationalist } } } } country_event = { id = CHI_foreign.215 title = CHI_foreign.215.t desc = CHI_foreign.215.d picture = GFX_CHI_event_american_chinese_flag is_triggered_only = yes option = { name = CHI_foreign.215.a log = "[GetDateText]: [This.GetName]: CHI_foreign.215.a executed" CHI = { set_country_flag = USA_intervened_senkaku add_war_support = -0.05 } 939 = { add_state_modifier = { modifier = { local_resources_factor = -0.10 required_garrison_factor = 0.10 } } } ai_chance = { base = 60 } } option = { name = CHI_foreign.215.b log = "[GetDateText]: [This.GetName]: CHI_foreign.215.b executed" CHI = { add_opinion_modifier = { target = JAP modifier = east_china_sea_armistice } } JAP = { add_opinion_modifier = { target = CHI modifier = east_china_sea_armistice } } ai_chance = { base = 40 } } } country_event = { id = CHI_foreign.220 title = CHI_foreign.220.t desc = CHI_foreign.220.d picture = GFX_event_CHI_japan_china_flag is_triggered_only = yes option = { name = CHI_foreign.220.a log = "[GetDateText]: [This.GetName]: CHI_foreign.220.a executed" add_ideas = JAP_china_engagement add_opinion_modifier = { target = CHI modifier = peaceful_rise } CHI = { add_opinion_modifier = { target = JAP modifier = peaceful_rise } } set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = JAP } change_influence_percentage = yes ai_chance = { base = 50 modifier = { factor = 0 has_government = nationalist } modifier = { add = 30 NOT = { has_government = nationalist } } } } option = { name = CHI_foreign.220.b ai_chance = { base = 50 modifier = { add = 30 has_government = nationalist } } } } country_event = { id = CHI_foreign.221 title = CHI_foreign.221.t desc = CHI_foreign.221.d picture = GFX_CHI_panda_diplomacy is_triggered_only = yes option = { name = CHI_foreign.221.a log = "[GetDateText]: [This.GetName]: CHI_foreign.221.a executed" add_opinion_modifier = { target = CHI modifier = cultural_thaw } CHI = { add_opinion_modifier = { target = JAP modifier = cultural_thaw } add_to_variable = { CHI_chinese_aggression = -2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = JAP } change_influence_percentage = yes ai_chance = { base = 60 modifier = { factor = 0 has_government = nationalist } modifier = { add = 30 NOT = { has_government = nationalist } } } } option = { name = CHI_foreign.221.b log = "[GetDateText]: [This.GetName]: CHI_foreign.221.b executed" CHI = { add_to_variable = { CHI_chinese_aggression = -1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } ai_chance = { base = 40 modifier = { add = 30 has_government = nationalist } } } } country_event = { id = CHI_foreign.222 title = CHI_foreign.222.t desc = CHI_foreign.222.d picture = GFX_event_CHI_japan_china_flag is_triggered_only = yes option = { name = CHI_foreign.222.a log = "[GetDateText]: [This.GetName]: CHI_foreign.222.a executed" remove_opinion_modifier = { target = CHI modifier = historic_enemies } CHI = { set_country_flag = CHI_JAP_threat_reduction add_to_variable = { CHI_chinese_aggression = -2 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } } set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = JAP } change_influence_percentage = yes ai_chance = { base = 50 modifier = { factor = 0 has_government = nationalist } } } option = { name = CHI_foreign.222.b ai_chance = { base = 50 modifier = { add = 30 has_government = nationalist } } } } country_event = { id = CHI_foreign.223 title = CHI_foreign.223.t desc = CHI_foreign.223.d picture = GFX_CHI_event_navy_ship is_triggered_only = yes trigger = { original_tag = USA } option = { name = CHI_foreign.223.a log = "[GetDateText]: [This.GetName]: CHI_foreign.223.a executed" set_country_flag = USA_quad_reaffirmed if = { limit = { country_exists = JAP } JAP = { add_opinion_modifier = { target = CHI modifier = JAP_quad_pressure } } } ai_chance = { base = 60 } } option = { name = CHI_foreign.223.b log = "[GetDateText]: [This.GetName]: CHI_foreign.223.b executed" set_country_flag = quad_weakened if = { limit = { country_exists = JAP } JAP = { add_timed_idea = { idea = JAP_strategic_autonomy_drift days = 1825 } } } ai_chance = { base = 40 } } } country_event = { id = CHI_foreign.224 title = CHI_foreign.224.t desc = CHI_foreign.224.d picture = GFX_event_CHI_japan_china_flag is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.224.a log = "[GetDateText]: [This.GetName]: CHI_foreign.224.a executed" add_ideas = JAP_sino_japanese_understanding diplomatic_relation = { country = CHI relation = non_aggression_pact active = yes } add_opinion_modifier = { target = CHI modifier = improve_trade } reverse_add_opinion_modifier = { target = CHI modifier = improve_trade } CHI = { add_ideas = CHI_sino_japanese_understanding set_country_flag = tokyo_communique_signed add_opinion_modifier = { target = JAP modifier = improve_trade } reverse_add_opinion_modifier = { target = JAP modifier = improve_trade } country_event = { id = CHI_foreign.206 days = 1 } } if = { limit = { is_in_faction_with = USA } USA = { add_opinion_modifier = { target = JAP modifier = tokyo_communique_strain } } } ai_chance = { base = 60 modifier = { factor = 0 NOT = { sender_influence_higher_70 = yes } } modifier = { add = 30 sender_influence_higher_90 = yes } } } option = { name = CHI_foreign.224.b log = "[GetDateText]: [This.GetName]: CHI_foreign.224.b executed" diplomatic_relation = { country = CHI relation = non_aggression_pact active = yes } add_opinion_modifier = { target = CHI modifier = responsible_stakeholder } reverse_add_opinion_modifier = { target = CHI modifier = responsible_stakeholder } CHI = { set_country_flag = tokyo_communique_partial add_opinion_modifier = { target = JAP modifier = responsible_stakeholder } reverse_add_opinion_modifier = { target = JAP modifier = responsible_stakeholder } country_event = { id = CHI_foreign.226 days = 1 } } ai_chance = { base = 30 modifier = { add = 20 sender_influence_higher_70 = yes } } } option = { name = CHI_foreign.224.c log = "[GetDateText]: [This.GetName]: CHI_foreign.224.c executed" add_opinion_modifier = { target = CHI modifier = small_decrease } CHI = { add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } country_event = { id = CHI_foreign.227 days = 1 } } ai_chance = { base = 10 modifier = { add = 30 has_government = nationalist } } } } country_event = { id = CHI_foreign.206 title = CHI_foreign.206.t desc = CHI_foreign.206.d picture = GFX_event_CHI_japan_china_flag is_triggered_only = yes trigger = { original_tag = CHI } option = { name = CHI_foreign.206.a log = "[GetDateText]: [This.GetName]: CHI_foreign.206.a executed" if = { limit = { country_exists = USA } USA = { news_event = { id = CHI_foreign.208 days = 2 } } } ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.226 title = CHI_foreign.226.t desc = CHI_foreign.226.d picture = GFX_event_CHI_japan_china_flag is_triggered_only = yes trigger = { original_tag = CHI } option = { name = CHI_foreign.226.a ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.227 title = CHI_foreign.227.t desc = CHI_foreign.227.d picture = GFX_event_CHI_japan_china_flag is_triggered_only = yes trigger = { original_tag = CHI } option = { name = CHI_foreign.227.a ai_chance = { base = 1 } } } news_event = { id = CHI_foreign.208 title = CHI_foreign.208.t desc = CHI_foreign.208.d picture = GFX_japan_china is_triggered_only = yes major = yes option = { name = CHI_foreign.208.a trigger = { original_tag = USA } } option = { name = CHI_foreign.208.b trigger = { NOT = { original_tag = USA } capital_scope = { is_on_continent = asia } } } option = { name = CHI_foreign.208.c trigger = { NOT = { original_tag = USA } NOT = { capital_scope = { is_on_continent = asia } } } } } country_event = { id = china_news.yasukuni_recall title = china_news.yasukuni_recall.t desc = china_news.yasukuni_recall.d picture = GFX_CHI_anti_japan_protest is_triggered_only = yes option = { name = china_news.yasukuni_recall.a } } country_event = { id = china_news.boycott_streets title = china_news.boycott_streets.t desc = china_news.boycott_streets.d picture = GFX_CHI_anti_japan_protest is_triggered_only = yes major = yes option = { name = china_news.boycott_streets.a } } country_event = { id = china_news.panda_arrives_tokyo title = china_news.panda_arrives_tokyo.t desc = china_news.panda_arrives_tokyo.d picture = GFX_CHI_panda_diplomacy is_triggered_only = yes major = yes option = { name = china_news.panda_arrives_tokyo.a log = "[GetDateText]: [This.GetName]: china_news.panda_arrives_tokyo.a executed" if = { limit = { country_exists = JAP } add_opinion_modifier = { target = JAP modifier = improve_trade } JAP = { add_opinion_modifier = { target = CHI modifier = improve_trade } } } } } country_event = { id = CHI_foreign.231 title = CHI_foreign.231.t desc = CHI_foreign.231.d picture = GFX_CHI_event_aircraft is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.231.a log = "[GetDateText]: [This.GetName]: CHI_foreign.231.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_research_speed_factor = 0.01 tooltip = research_speed_factor_tt } set_temp_variable = { percent_change = 1.5 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 5 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.232 title = CHI_foreign.232.t desc = CHI_foreign.232.d picture = GFX_CHI_event_aircraft is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.232.a log = "[GetDateText]: [This.GetName]: CHI_foreign.232.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_civilian_factories_productivity = 0.02 tooltip = civilian_factories_productivity_tt } set_temp_variable = { percent_change = 1.5 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 5 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.233 title = CHI_foreign.233.t desc = CHI_foreign.233.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.233.a log = "[GetDateText]: [This.GetName]: CHI_foreign.233.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_political_power_gain = 0.05 tooltip = political_power_gain_tt } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 6 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.234 title = CHI_foreign.234.t desc = CHI_foreign.234.d picture = GFX_event_JAP_mitsubishi_logo is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.234.a log = "[GetDateText]: [This.GetName]: CHI_foreign.234.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_production_factory_efficiency_gain_factor = 0.02 tooltip = production_factory_efficiency_gain_factor_tt } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 6 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.235 title = CHI_foreign.235.t desc = CHI_foreign.235.d picture = GFX_event_JAP_komatsu is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.235.a log = "[GetDateText]: [This.GetName]: CHI_foreign.235.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_production_speed_buildings_factor = 0.02 tooltip = production_speed_buildings_factor_tt } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 6 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.236 title = CHI_foreign.236.t desc = CHI_foreign.236.d picture = GFX_CHI_event_aircraft is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.236.a log = "[GetDateText]: [This.GetName]: CHI_foreign.236.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_civilian_factories_productivity = 0.01 tooltip = civilian_factories_productivity_tt } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 5 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.237 title = CHI_foreign.237.t desc = CHI_foreign.237.d picture = GFX_event_JAP_howa is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.237.a log = "[GetDateText]: [This.GetName]: CHI_foreign.237.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_monthly_population = 0.05 tooltip = monthly_population_tt } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 5 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.238 title = CHI_foreign.238.t desc = CHI_foreign.238.d picture = GFX_CHI_generic is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.238.a log = "[GetDateText]: [This.GetName]: CHI_foreign.238.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_research_speed_factor = 0.02 tooltip = research_speed_factor_tt } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 5 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.239 title = CHI_foreign.239.t desc = CHI_foreign.239.d picture = GFX_CHI_generic is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.239.a log = "[GetDateText]: [This.GetName]: CHI_foreign.239.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_consumer_goods_factor = -0.01 tooltip = consumer_goods_factor_tt } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 5 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.240 title = CHI_foreign.240.t desc = CHI_foreign.240.d picture = GFX_CHI_event_navy_ship is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.240.a log = "[GetDateText]: [This.GetName]: CHI_foreign.240.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_production_factory_efficiency_gain_factor = 0.02 tooltip = production_factory_efficiency_gain_factor_tt } set_temp_variable = { percent_change = 2.5 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 6 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.241 title = CHI_foreign.241.t desc = CHI_foreign.241.d picture = GFX_CHI_event_navy_ship is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.241.a log = "[GetDateText]: [This.GetName]: CHI_foreign.241.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_political_power_gain = 0.05 tooltip = political_power_gain_tt } set_temp_variable = { percent_change = 2.5 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 6 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.242 title = CHI_foreign.242.t desc = CHI_foreign.242.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.242.a log = "[GetDateText]: [This.GetName]: CHI_foreign.242.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_civilian_factories_productivity = 0.02 tooltip = civilian_factories_productivity_tt } set_temp_variable = { percent_change = 2.5 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 6 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.243 title = CHI_foreign.243.t desc = CHI_foreign.243.d picture = GFX_CHI_event_navy_ship is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.243.a log = "[GetDateText]: [This.GetName]: CHI_foreign.243.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_stability_factor = 0.02 tooltip = stability_factor_tt } set_temp_variable = { percent_change = 2.5 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 6 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.244 title = CHI_foreign.244.t desc = CHI_foreign.244.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.244.a log = "[GetDateText]: [This.GetName]: CHI_foreign.244.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_civilian_factories_productivity = 0.05 tooltip = civilian_factories_productivity_tt } add_to_variable = { JAP_chi_political_power_gain = 0.05 tooltip = political_power_gain_tt } set_temp_variable = { percent_change = 4 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 12 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.245 title = CHI_foreign.245.t desc = CHI_foreign.245.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.245.a log = "[GetDateText]: [This.GetName]: CHI_foreign.245.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_consumer_goods_factor = -0.02 tooltip = consumer_goods_factor_tt } add_to_variable = { JAP_chi_research_speed_factor = 0.03 tooltip = research_speed_factor_tt } set_temp_variable = { percent_change = 3.5 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 10 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.246 title = CHI_foreign.246.t desc = CHI_foreign.246.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.246.a log = "[GetDateText]: [This.GetName]: CHI_foreign.246.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_political_power_gain = 0.10 tooltip = political_power_gain_tt } add_to_variable = { JAP_chi_production_factory_efficiency_gain_factor = 0.03 tooltip = production_factory_efficiency_gain_factor_tt } set_temp_variable = { percent_change = 4 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 14 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.247 title = CHI_foreign.247.t desc = CHI_foreign.247.d picture = GFX_CHI_generic is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.247.a log = "[GetDateText]: [This.GetName]: CHI_foreign.247.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_civilian_factories_productivity = 0.04 tooltip = civilian_factories_productivity_tt } add_to_variable = { JAP_chi_research_speed_factor = 0.02 tooltip = research_speed_factor_tt } set_temp_variable = { percent_change = 4 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes set_temp_variable = { int_investment_change = 12 } modify_international_investment_effect = yes ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.248 title = CHI_foreign.248.t desc = CHI_foreign.248.d picture = GFX_CHI_generic is_triggered_only = yes trigger = { original_tag = JAP } option = { name = CHI_foreign.248.a log = "[GetDateText]: [This.GetName]: CHI_foreign.248.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_china_market_partnerships } add_to_variable = { JAP_chi_consumer_goods_factor = -0.03 tooltip = consumer_goods_factor_tt } add_to_variable = { JAP_chi_civilian_factories_productivity = 0.02 tooltip = civilian_factories_productivity_tt } set_temp_variable = { percent_change = 3.5 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes ai_chance = { base = 1 } } } news_event = { id = chi_bri.1 title = chi_bri.1.t desc = chi_bri.1.d picture = GFX_china_19th_national_congress is_triggered_only = yes major = yes option = { name = chi_bri.1.a } } country_event = { id = chi_bri.9 is_triggered_only = yes hidden = yes immediate = { CHI = { country_event = chi_bri.10 } } } country_event = { id = chi_bri.10 title = chi_bri.10.t desc = chi_bri.10.d picture = GFX_gen_construction is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.10.a log = "[GetDateText]: [This.GetName]: chi_bri.10.a executed" FROM = { CHI_bri_start_project = yes } custom_effect_tooltip = CHI_bri_application_approved_tt ai_chance = { base = 8 modifier = { add = 3 FROM = { has_government = communism } } modifier = { add = 2 FROM = { is_in_faction_with = CHI } } } } option = { name = chi_bri.10.d_opt log = "[GetDateText]: [This.GetName]: chi_bri.10.d_opt executed" FROM = { CHI_bri_cancel_project = yes } ai_chance = { base = 2 modifier = { add = 5 FROM = { has_opinion = { target = CHI value < -10 } } } modifier = { add = 3 FROM = { gdp_per_capita_greater_than_10 = yes } } modifier = { factor = 0 FROM = { has_government = communism } } } } } country_event = { id = chi_bri.13 title = chi_bri.13.t desc = chi_bri.13.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.13.a log = "[GetDateText]: [This.GetName]: chi_bri.13.a executed" FROM = { CHI_bri_grant_loan_grace = yes add_opinion_modifier = { target = CHI modifier = medium_commercial_relations } } add_to_variable = { CHI_bri_winwin_score = 1 } ai_chance = { base = 5 modifier = { add = 5 FROM = { has_government = communism } } modifier = { factor = 0 has_completed_focus = CHI_Predatory_Lending_Doctrine } } } option = { name = chi_bri.13.b log = "[GetDateText]: [This.GetName]: chi_bri.13.b executed" FROM = { add_opinion_modifier = { target = CHI modifier = negative_small_commercial_relations } } ai_chance = { base = 3 modifier = { add = 5 has_completed_focus = CHI_Predatory_Lending_Doctrine } } } } # Fires at the debtor the month it first misses a payment. country_event = { id = chi_bri.16 title = chi_bri.16.t desc = chi_bri.16.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { country_exists = CHI NOT = { has_war_with = CHI } has_country_flag = bri_defaulted check_variable = { bri_debt_owed_to_china > 0 } CHI = { is_in_array = { CHI_bri_debtors = PREV.id } } } immediate = { CHI = { country_event = chi_bri.19 } } option = { name = chi_bri.16.a ai_chance = { base = 1 } } } # Fires at the debtor when China claims resource rights. country_event = { id = chi_bri.17 title = chi_bri.17.t desc = chi_bri.17.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { country_exists = CHI NOT = { has_war_with = CHI } has_country_flag = bri_defaulted CHI = { is_in_array = { CHI_bri_debtors = PREV.id } } } option = { name = chi_bri.17.a log = "[GetDateText]: [This.GetName]: chi_bri.17.a executed" set_temp_variable = { bri_debt_reduction = CHI.CHI_bri_project_cost } CHI_bri_reduce_loan = yes add_ideas = CHI_bri_resource_concession_idea add_opinion_modifier = { target = CHI modifier = medium_decrease } ai_chance = { base = 5 modifier = { add = 5 has_war = yes } modifier = { add = 3 OR = { is_puppet_of = CHI is_in_faction_with = CHI } } modifier = { factor = 0.5 has_stability > 0.6 } } } option = { name = chi_bri.17.b log = "[GetDateText]: [This.GetName]: chi_bri.17.b executed" # Refusing keeps the debt and the default flag, which leaves Asset Seizure armed. custom_effect_tooltip = CHI_bri_refuse_concession_tt add_opinion_modifier = { target = CHI modifier = large_decrease } CHI = { add_opinion_modifier = { target = ROOT modifier = large_decrease } country_event = { id = chi_bri.18 days = 2 } } ai_chance = { base = 3 modifier = { add = 4 has_opinion = { target = CHI value < 0 } } modifier = { factor = 0 is_puppet_of = CHI } } } } # Notifies China that a debtor refused the concession demand. country_event = { id = chi_bri.18 title = chi_bri.18.t desc = chi_bri.18.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.18.a ai_chance = { base = 1 } } } # Notifies China that a debtor has defaulted. country_event = { id = chi_bri.19 title = chi_bri.19.t desc = chi_bri.19.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { original_tag = CHI is_in_array = { CHI_bri_debtors = FROM.id } FROM = { NOT = { has_war_with = CHI } has_country_flag = bri_defaulted check_variable = { bri_debt_owed_to_china > 0 } } } option = { name = chi_bri.19.a ai_chance = { base = 1 } } } # Notifies the recipient when China's funding arrives as a loan. country_event = { id = chi_bri.23 title = chi_bri.23.t desc = chi_bri.23.d picture = GFX_gen_construction is_triggered_only = yes trigger = { has_country_flag = bri_pipeline_busy has_country_flag = bri_project_financed_loan check_variable = { bri_debt_owed_to_china > 0 } } option = { name = chi_bri.23.a ai_chance = { base = 1 } } } # Fired on the partner so chi_bri.15 gets the partner as FROM (chi_bri.71 runs on CHI). country_event = { id = chi_bri.14 is_triggered_only = yes hidden = yes immediate = { CHI = { country_event = chi_bri.15 } } } country_event = { id = chi_bri.15 title = chi_bri.15.t desc = chi_bri.15.d picture = GFX_gen_construction is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.15.a log = "[GetDateText]: [This.GetName]: chi_bri.15.a executed" trigger = { FROM = { original_tag = PAK } } FROM = { 220 = { add_state_modifier = { modifier = { local_building_slots_factor = 0.20 state_production_speed_dockyard_factor = 0.30 state_production_speed_infrastructure_factor = 0.25 local_supplies = 0.20 } } } CHI_bri_apply_partner_rank = yes } add_to_variable = { CHI_bri_ports_built = 1 } set_temp_variable = { bri_presence_amount = 15 } CHI_bri_credit_presence = yes ai_chance = { base = 1 } } option = { name = chi_bri.15.b log = "[GetDateText]: [This.GetName]: chi_bri.15.b executed" trigger = { FROM = { original_tag = PAK } } FROM = { 419 = { add_state_modifier = { modifier = { local_building_slots_factor = 0.30 local_factories = 3 local_resources_factor = 0.35 local_resources = 0.20 } } } CHI_bri_apply_partner_rank = yes } add_to_variable = { CHI_bri_industrial_zones = 1 } set_temp_variable = { bri_presence_amount = 15 } CHI_bri_credit_presence = yes ai_chance = { base = 1 } } option = { name = chi_bri.15.c log = "[GetDateText]: [This.GetName]: chi_bri.15.c executed" trigger = { FROM = { original_tag = PAK } } FROM = { 250 = { add_state_modifier = { modifier = { local_building_slots_factor = 0.20 state_production_speed_dockyard_factor = 0.30 state_production_speed_infrastructure_factor = 0.25 local_supplies = 0.20 } } } CHI_bri_apply_partner_rank = yes } add_to_variable = { CHI_bri_railways_built = 1 } set_temp_variable = { bri_presence_amount = 15 } CHI_bri_credit_presence = yes ai_chance = { base = 1 } } option = { name = chi_bri.15.d_opt log = "[GetDateText]: [This.GetName]: chi_bri.15.d_opt executed" trigger = { FROM = { original_tag = SRI } } FROM = { 413 = { add_state_modifier = { modifier = { local_building_slots_factor = 0.20 state_production_speed_dockyard_factor = 0.30 state_production_speed_infrastructure_factor = 0.25 local_supplies = 0.20 } } } CHI_bri_apply_partner_rank = yes } add_to_variable = { CHI_bri_ports_built = 1 } set_temp_variable = { bri_presence_amount = 15 } CHI_bri_credit_presence = yes ai_chance = { base = 1 } } option = { name = chi_bri.15.e log = "[GetDateText]: [This.GetName]: chi_bri.15.e executed" trigger = { FROM = { original_tag = SRI } } FROM = { 414 = { add_state_modifier = { modifier = { local_building_slots_factor = 0.20 state_production_speed_dockyard_factor = 0.30 state_production_speed_infrastructure_factor = 0.25 local_supplies = 0.20 } } } CHI_bri_apply_partner_rank = yes } add_to_variable = { CHI_bri_ports_built = 1 } set_temp_variable = { bri_presence_amount = 15 } CHI_bri_credit_presence = yes ai_chance = { base = 1 } } option = { name = chi_bri.15.f log = "[GetDateText]: [This.GetName]: chi_bri.15.f executed" trigger = { FROM = { original_tag = KEN } } FROM = { random_owned_state = { limit = { is_coastal = yes } add_state_modifier = { modifier = { local_building_slots_factor = 0.20 state_production_speed_dockyard_factor = 0.30 state_production_speed_infrastructure_factor = 0.25 local_supplies = 0.20 } } } CHI_bri_apply_partner_rank = yes } add_to_variable = { CHI_bri_ports_built = 1 } set_temp_variable = { bri_presence_amount = 15 } CHI_bri_credit_presence = yes ai_chance = { base = 1 } } option = { name = chi_bri.15.g log = "[GetDateText]: [This.GetName]: chi_bri.15.g executed" trigger = { FROM = { NOT = { original_tag = PAK } NOT = { original_tag = SRI } NOT = { original_tag = KEN } } } FROM = { random_owned_state = { limit = { is_coastal = yes } add_state_modifier = { modifier = { local_building_slots_factor = 0.20 state_production_speed_dockyard_factor = 0.30 state_production_speed_infrastructure_factor = 0.25 local_supplies = 0.20 } } } CHI_bri_apply_partner_rank = yes } add_to_variable = { CHI_bri_ports_built = 1 } set_temp_variable = { bri_presence_amount = 15 } CHI_bri_credit_presence = yes ai_chance = { base = 1 } } } country_event = { id = chi_bri.20 title = chi_bri.20.t desc = chi_bri.20.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { original_tag = SRI country_exists = CHI NOT = { has_war_with = CHI } has_country_flag = bri_defaulted CHI = { is_in_array = { CHI_bri_debtors = PREV.id } } } option = { name = chi_bri.20.a log = "[GetDateText]: [This.GetName]: chi_bri.20.a executed" 413 = { if = { limit = { has_dynamic_modifier = { modifier = CHI_bri_state_infrastructure } } remove_dynamic_modifier = { modifier = CHI_bri_state_infrastructure } } add_state_modifier = { modifier = { local_building_slots_factor = 0.20 state_production_speed_dockyard_factor = 0.30 state_production_speed_infrastructure_factor = 0.25 local_supplies = 0.20 } } } set_country_flag = bri_defaulted add_opinion_modifier = { target = FROM modifier = medium_commercial_relations } FROM = { add_to_variable = { CHI_bri_predatory_score = 2 } } ai_chance = { base = 3 modifier = { add = 5 has_stability < 0.35 } } } option = { name = chi_bri.20.b log = "[GetDateText]: [This.GetName]: chi_bri.20.b executed" add_opinion_modifier = { target = FROM modifier = negative_large_commercial_relations } FROM = { add_opinion_modifier = { target = ROOT modifier = negative_large_commercial_relations } } ai_chance = { base = 7 modifier = { add = 10 has_stability > 0.6 } } } } country_event = { id = chi_bri.21 title = chi_bri.21.t desc = chi_bri.21.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { original_tag = PAK country_exists = CHI NOT = { has_war_with = CHI } has_country_flag = bri_defaulted CHI = { is_in_array = { CHI_bri_debtors = PREV.id } } } option = { name = chi_bri.21.a log = "[GetDateText]: [This.GetName]: chi_bri.21.a executed" add_opinion_modifier = { target = FROM modifier = medium_commercial_relations } ai_chance = { base = 8 modifier = { add = 5 is_in_faction_with = CHI } } } option = { name = chi_bri.21.b log = "[GetDateText]: [This.GetName]: chi_bri.21.b executed" add_opinion_modifier = { target = FROM modifier = negative_small_commercial_relations } ai_chance = { base = 2 modifier = { factor = 0 is_in_faction_with = CHI } } } } country_event = { id = chi_bri.22 title = chi_bri.22.t desc = chi_bri.22.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { original_tag = DJI country_exists = CHI NOT = { has_war_with = CHI } has_country_flag = bri_defaulted CHI = { is_in_array = { CHI_bri_debtors = PREV.id } } } option = { name = chi_bri.22.a log = "[GetDateText]: [This.GetName]: chi_bri.22.a executed" add_opinion_modifier = { target = FROM modifier = medium_commercial_relations } ai_chance = { base = 9 modifier = { add = 4 has_government = communism } } } option = { name = chi_bri.22.b log = "[GetDateText]: [This.GetName]: chi_bri.22.b executed" add_opinion_modifier = { target = FROM modifier = negative_small_commercial_relations } ai_chance = { base = 1 modifier = { add = 4 has_government = democratic } } } } country_event = { id = chi_bri.30 title = chi_bri.30.t desc = chi_bri.30.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { original_tag = USA } option = { name = chi_bri.30.a log = "[GetDateText]: [This.GetName]: chi_bri.30.a executed" CHI = { add_opinion_modifier = { target = USA modifier = negative_large_commercial_relations } } add_opinion_modifier = { target = CHI modifier = negative_large_commercial_relations } ai_chance = { base = 7 modifier = { add = 5 has_government = democratic } } } option = { name = chi_bri.30.b log = "[GetDateText]: [This.GetName]: chi_bri.30.b executed" add_opinion_modifier = { target = CHI modifier = negative_small_commercial_relations } ai_chance = { base = 3 modifier = { add = 3 CHI = { has_opinion = { target = USA value > 25 } } } } } } country_event = { id = chi_bri.40 title = chi_bri.40.t desc = chi_bri.40.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.40.a log = "[GetDateText]: [This.GetName]: chi_bri.40.a executed" add_political_power = 10 add_to_variable = { CHI_bri_global_presence = 5 } country_event = { id = chi_bri.43 days = 7 } ai_chance = { base = 4 } } option = { name = chi_bri.40.b log = "[GetDateText]: [This.GetName]: chi_bri.40.b executed" add_timed_idea = { idea = CHI_bri_forum_surge days = 1095 } country_event = { id = chi_bri.42 days = 2 } ai_chance = { base = 5 } } option = { name = chi_bri.40.c log = "[GetDateText]: [This.GetName]: chi_bri.40.c executed" add_to_variable = { CHI_bri_winwin_score = 5 } if = { limit = { check_variable = { var = CHI_bri_predatory_score value = 2 compare = greater_than_or_equals } } add_to_variable = { CHI_bri_predatory_score = -2 } } country_event = { id = chi_bri.43 days = 7 } ai_chance = { base = 3 modifier = { add = 4 has_completed_focus = CHI_Win_Win_Cooperation } } } } country_event = { id = chi_bri.42 title = chi_bri.42.t desc = chi_bri.42.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.42.a log = "[GetDateText]: [This.GetName]: chi_bri.42.a executed" add_to_variable = { CHI_bri_predatory_score = 2 } add_political_power = -10 country_event = { id = chi_bri.43 days = 5 } ai_chance = { base = 3 modifier = { add = 5 has_completed_focus = CHI_Predatory_Lending_Doctrine } } } option = { name = chi_bri.42.b log = "[GetDateText]: [This.GetName]: chi_bri.42.b executed" add_to_variable = { CHI_bri_winwin_score = 2 } add_political_power = 10 country_event = { id = chi_bri.43 days = 5 } ai_chance = { base = 7 modifier = { add = 5 has_completed_focus = CHI_Win_Win_Cooperation } } } } country_event = { id = chi_bri.43 title = chi_bri.43.t desc = chi_bri.43.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.43.a log = "[GetDateText]: [This.GetName]: chi_bri.43.a executed" add_political_power = 50 add_to_variable = { CHI_bri_global_presence = 10 } every_country = { limit = { has_country_flag = CHI_bri_partner capital_scope = { is_on_continent = africa } } add_opinion_modifier = { target = CHI modifier = small_commercial_relations } } ai_chance = { base = 1 } } } country_event = { id = chi_bri.50 title = chi_bri.50.t desc = chi_bri.50.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.50.a log = "[GetDateText]: [This.GetName]: chi_bri.50.a executed" add_political_power = 150 add_stability = 0.10 add_war_support = 0.05 add_to_variable = { CHI_bri_global_presence = 50 } add_ideas = pax_sinica every_country = { limit = { has_country_flag = CHI_bri_partner } add_opinion_modifier = { target = CHI modifier = large_commercial_relations } } ai_chance = { base = 1 } } } country_event = { id = chi_bri.70 title = chi_bri.70.t desc = chi_bri.70.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.70.a log = "[GetDateText]: [This.GetName]: chi_bri.70.a executed" add_political_power = 100 add_to_variable = { CHI_bri_global_presence = 30 } add_to_variable = { CHI_bri_africa_engagement = 10 } if = { limit = { has_completed_focus = CHI_Wolf_Warrior_Diplomacy } every_country = { limit = { has_country_flag = CHI_bri_partner capital_scope = { is_on_continent = africa } } CHI_bri_apply_partner_rank = yes add_opinion_modifier = { target = CHI modifier = large_commercial_relations } } } else_if = { limit = { has_completed_focus = CHI_Bide_Your_Time } every_country = { limit = { has_country_flag = CHI_bri_partner capital_scope = { is_on_continent = africa } } add_opinion_modifier = { target = CHI modifier = large_commercial_relations } } every_country = { limit = { has_opinion_modifier = focac_member } add_opinion_modifier = { target = ROOT modifier = diplomatic_charm } } } else = { every_country = { limit = { has_country_flag = CHI_bri_partner capital_scope = { is_on_continent = africa } } CHI_bri_apply_partner_rank = yes add_opinion_modifier = { target = CHI modifier = large_commercial_relations } } } country_event = { id = chi_bri.71 days = 7 } ai_chance = { base = 1 } } } country_event = { id = chi_bri.71 title = chi_bri.71.t desc = chi_bri.71.d picture = GFX_gen_construction is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.71.a log = "[GetDateText]: [This.GetName]: chi_bri.71.a executed" random_country = { limit = { has_country_flag = CHI_bri_partner capital_scope = { is_on_continent = africa } NOT = { has_country_flag = CHI_bri_mega_offered } is_in_array = { array = global.bri_eligible_countries value = THIS.id } } set_country_flag = CHI_bri_mega_offered country_event = { id = chi_bri.14 days = 5 } } ai_chance = { base = 1 } } } country_event = { id = chi_bri.80 title = chi_bri.80.t desc = chi_bri.80.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.80.a log = "[GetDateText]: [This.GetName]: chi_bri.80.a executed" add_to_variable = { CHI_bri_winwin_score = 5 } for_each_scope_loop = { array = global.is_african_nation if = { limit = { has_country_flag = CHI_bri_partner } add_opinion_modifier = { target = CHI modifier = medium_commercial_relations } } if = { limit = { check_variable = { bri_debt_owed_to_china > 0 } } CHI_bri_clear_loan = yes } } ai_chance = { base = 7 modifier = { add = 5 has_completed_focus = CHI_Win_Win_Cooperation } } } option = { name = chi_bri.80.b log = "[GetDateText]: [This.GetName]: chi_bri.80.b executed" add_to_variable = { CHI_bri_predatory_score = 3 } for_each_scope_loop = { array = global.is_african_nation if = { limit = { has_country_flag = CHI_bri_partner } add_opinion_modifier = { target = CHI modifier = negative_small_commercial_relations } } } ai_chance = { base = 3 modifier = { add = 5 has_completed_focus = CHI_Predatory_Lending_Doctrine } } } } country_event = { id = chi_bri.81 title = chi_bri.81.t desc = chi_bri.81.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = USA } option = { name = chi_bri.81.a log = "[GetDateText]: [This.GetName]: chi_bri.81.a executed" add_stability = -0.02 add_to_variable = { CHI_chinese_aggression = 1 tooltip = CHI_chinese_aggression_tt } clamp_variable = { var = CHI_chinese_aggression min = -50 max = 50 } ai_chance = { base = 6 modifier = { add = 4 has_government = democratic } } } option = { name = chi_bri.81.b log = "[GetDateText]: [This.GetName]: chi_bri.81.b executed" add_political_power = -25 every_country = { limit = { is_South_America = yes } add_opinion_modifier = { target = USA modifier = negative_small_commercial_relations } } ai_chance = { base = 3 modifier = { add = 3 has_government = democratic } } } option = { name = chi_bri.81.c log = "[GetDateText]: [This.GetName]: chi_bri.81.c executed" add_political_power = 10 ai_chance = { base = 1 } } } country_event = { id = chi_bri.82 title = chi_bri.82.t desc = chi_bri.82.d picture = GFX_china_ccecc is_triggered_only = yes option = { name = chi_bri.82.a log = "[GetDateText]: [This.GetName]: chi_bri.82.a executed" set_temp_variable = { treasury_change = -80 } modify_treasury_effect = yes add_to_variable = { CHI_bri_winwin_score = 2 } VEN = { add_opinion_modifier = { target = CHI modifier = CHI_beijing_brokered_peace } } ai_chance = { base = 4 modifier = { add = 3 has_government = communism } } } option = { name = chi_bri.82.b log = "[GetDateText]: [This.GetName]: chi_bri.82.b executed" set_temp_variable = { treasury_change = 40 } modify_treasury_effect = yes add_to_variable = { CHI_bri_predatory_score = 1 } VEN = { add_opinion_modifier = { target = CHI modifier = chinese_creditor_dependency } } ai_chance = { base = 5 modifier = { add = 3 has_completed_focus = CHI_Predatory_Lending_Doctrine } } } option = { name = chi_bri.82.c log = "[GetDateText]: [This.GetName]: chi_bri.82.c executed" add_to_variable = { CHI_bri_latam_engagement = -2 } VEN = { add_opinion_modifier = { target = CHI modifier = predatory_lender } } ai_chance = { base = 1 } } } country_event = { id = chi_bri.83 title = chi_bri.83.t desc = chi_bri.83.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = USA } option = { name = chi_bri.83.a log = "[GetDateText]: [This.GetName]: chi_bri.83.a executed" add_political_power = -30 every_country = { limit = { is_South_America = yes } add_opinion_modifier = { target = USA modifier = negative_small_commercial_relations } } ai_chance = { base = 5 modifier = { add = 4 has_government = democratic } } } option = { name = chi_bri.83.b log = "[GetDateText]: [This.GetName]: chi_bri.83.b executed" set_temp_variable = { treasury_change = -120 } modify_treasury_effect = yes add_political_power = 20 ai_chance = { base = 4 modifier = { add = 2 has_government = democratic } } } option = { name = chi_bri.83.c log = "[GetDateText]: [This.GetName]: chi_bri.83.c executed" add_political_power = 10 ai_chance = { base = 1 } } } country_event = { id = chi_bri.84 title = chi_bri.84.t desc = chi_bri.84.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.84.a log = "[GetDateText]: [This.GetName]: chi_bri.84.a executed" add_to_variable = { CHI_bri_latam_engagement = 3 } add_to_variable = { CHI_bri_global_presence = 10 } PAR = { add_opinion_modifier = { target = CHI modifier = CHI_celac_forum_member } } GUA = { add_opinion_modifier = { target = CHI modifier = CHI_celac_forum_member } } BLZ = { add_opinion_modifier = { target = CHI modifier = CHI_celac_forum_member } } HAI = { add_opinion_modifier = { target = CHI modifier = CHI_celac_forum_member } } ai_chance = { base = 8 modifier = { add = 4 check_variable = { var = CHI_bri_latam_engagement value = 15 compare = greater_than_or_equals } } } } option = { name = chi_bri.84.b log = "[GetDateText]: [This.GetName]: chi_bri.84.b executed" add_to_variable = { CHI_bri_latam_engagement = 2 } add_to_variable = { CHI_bri_global_presence = 6 } PAR = { add_opinion_modifier = { target = CHI modifier = CHI_celac_forum_member } } GUA = { add_opinion_modifier = { target = CHI modifier = CHI_celac_forum_member } } BLZ = { add_opinion_modifier = { target = CHI modifier = CHI_celac_forum_member } } ai_chance = { base = 5 } } } country_event = { id = chi_bri.85 title = chi_bri.85.t desc = chi_bri.85.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.85.a log = "[GetDateText]: [This.GetName]: chi_bri.85.a executed" every_country = { limit = { is_South_America = yes NOT = { original_tag = CHI } NOT = { has_idea = non_state_actor } NOT = { has_idea = lacks_international_recognition } } add_opinion_modifier = { target = CHI modifier = CHI_celac_forum_member } } USA = { add_opinion_modifier = { target = CHI modifier = eu_unity_undermined } } add_to_variable = { CHI_bri_global_presence = 8 } ai_chance = { base = 8 modifier = { add = 4 check_variable = { var = CHI_bri_latam_engagement value = 18 compare = greater_than_or_equals } } } } option = { name = chi_bri.85.b log = "[GetDateText]: [This.GetName]: chi_bri.85.b executed" add_political_power = 50 USA = { add_opinion_modifier = { target = CHI modifier = eu_unity_undermined } } add_to_variable = { CHI_bri_global_presence = 4 } ai_chance = { base = 2 } } } country_event = { id = chi_bri.86 title = chi_bri.86.t desc = chi_bri.86.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { OR = { original_tag = USA original_tag = ISR original_tag = SAU original_tag = UAE } } option = { name = chi_bri.86.a log = "[GetDateText]: [This.GetName]: chi_bri.86.a executed" add_political_power = -25 CHI = { add_opinion_modifier = { target = ROOT modifier = eu_unity_undermined } } ai_chance = { base = 7 modifier = { add = 5 OR = { original_tag = USA original_tag = ISR } } } } option = { name = chi_bri.86.b log = "[GetDateText]: [This.GetName]: chi_bri.86.b executed" add_political_power = 15 ai_chance = { base = 3 modifier = { add = 3 original_tag = UAE } } } } country_event = { id = chi_bri.87 title = chi_bri.87.t desc = chi_bri.87.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.87.a log = "[GetDateText]: [This.GetName]: chi_bri.87.a executed" every_country = { limit = { NOT = { original_tag = CHI } NOT = { original_tag = USA } NOT = { has_idea = non_state_actor } NOT = { has_idea = lacks_international_recognition } is_major = yes } add_opinion_modifier = { target = CHI modifier = CHI_beijing_brokered_peace } } USA = { add_opinion_modifier = { target = CHI modifier = eu_unity_undermined } } add_to_variable = { CHI_bri_global_presence = 8 } add_to_variable = { CHI_bri_winwin_score = 3 } ai_chance = { base = 10 } } option = { name = chi_bri.87.b log = "[GetDateText]: [This.GetName]: chi_bri.87.b executed" add_political_power = 50 add_to_variable = { CHI_bri_global_presence = 4 } ai_chance = { base = 0 } } } country_event = { id = chi_bri.88 title = chi_bri.88.t desc = chi_bri.88.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.88.a log = "[GetDateText]: [This.GetName]: chi_bri.88.a executed" add_ideas = CHI_petrodollar_breaks USA = { add_opinion_modifier = { target = CHI modifier = CHI_dollar_eroded } } every_country = { limit = { is_major = yes NOT = { original_tag = CHI } NOT = { original_tag = USA } } add_opinion_modifier = { target = CHI modifier = CHI_celac_forum_member } } set_temp_variable = { bri_presence_amount = 15 } CHI_bri_credit_presence = yes set_temp_variable = { treasury_change = 60 } modify_treasury_effect = yes ai_chance = { base = 10 } } } country_event = { id = chi_bri.89 title = chi_bri.89.t desc = chi_bri.89.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.89.a log = "[GetDateText]: [This.GetName]: chi_bri.89.a executed" add_to_variable = { CHI_bri_pacific_engagement = 4 } add_to_variable = { CHI_bri_global_presence = 6 } SOL = { add_opinion_modifier = { target = CHI modifier = CHI_pacific_pivot_partner } } KIR = { add_opinion_modifier = { target = CHI modifier = CHI_pacific_pivot_partner } } ai_chance = { base = 8 } } option = { name = chi_bri.89.b log = "[GetDateText]: [This.GetName]: chi_bri.89.b executed" add_to_variable = { CHI_bri_pacific_engagement = 6 } add_to_variable = { CHI_bri_global_presence = 10 } SOL = { add_opinion_modifier = { target = CHI modifier = CHI_pacific_pivot_partner } } KIR = { add_opinion_modifier = { target = CHI modifier = CHI_pacific_pivot_partner } } TUL = { add_opinion_modifier = { target = CHI modifier = CHI_pacific_pivot_partner } } PAU = { add_opinion_modifier = { target = CHI modifier = CHI_pacific_pivot_partner } } set_temp_variable = { treasury_change = -40 } modify_treasury_effect = yes ai_chance = { base = 6 modifier = { add = 4 check_variable = { var = CHI_bri_pacific_engagement value = 4 compare = greater_than_or_equals } } } } } country_event = { id = chi_bri.90 title = chi_bri.90.t desc = chi_bri.90.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { OR = { original_tag = AUS original_tag = USA original_tag = NZL } } option = { name = chi_bri.90.a log = "[GetDateText]: [This.GetName]: chi_bri.90.a executed" add_political_power = -30 CHI = { add_opinion_modifier = { target = ROOT modifier = eu_unity_undermined } } if = { limit = { original_tag = AUS } add_timed_idea = { idea = CHI_pacific_diplomatic_setback days = 365 } } ai_chance = { base = 8 modifier = { add = 4 OR = { original_tag = AUS original_tag = USA } } } } option = { name = chi_bri.90.b log = "[GetDateText]: [This.GetName]: chi_bri.90.b executed" add_political_power = 15 ai_chance = { base = 2 modifier = { add = 2 original_tag = NZL } } } } country_event = { id = chi_bri.91 title = chi_bri.91.t desc = chi_bri.91.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.91.a log = "[GetDateText]: [This.GetName]: chi_bri.91.a executed" trigger = { check_variable = { var = CHI_bri_pacific_engagement value = 12 compare = greater_than_or_equals } } add_ideas = CHI_pacific_security_lead add_to_variable = { CHI_bri_global_presence = 12 } add_to_variable = { CHI_bri_pacific_engagement = 3 } ai_chance = { base = 1 } } option = { name = chi_bri.91.b log = "[GetDateText]: [This.GetName]: chi_bri.91.b executed" trigger = { check_variable = { var = CHI_bri_pacific_engagement value = 12 compare = less_than } } add_timed_idea = { idea = CHI_pacific_diplomatic_setback days = 730 } add_to_variable = { CHI_bri_global_presence = 3 } ai_chance = { base = 1 } } } country_event = { id = chi_bri.92 title = chi_bri.92.t desc = chi_bri.92.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { OR = { original_tag = USA original_tag = AUS } } option = { name = chi_bri.92.a log = "[GetDateText]: [This.GetName]: chi_bri.92.a executed" add_political_power = -40 CHI = { add_opinion_modifier = { target = ROOT modifier = eu_unity_undermined } } ai_chance = { base = 7 modifier = { add = 5 original_tag = USA } } } option = { name = chi_bri.92.b log = "[GetDateText]: [This.GetName]: chi_bri.92.b executed" trigger = { check_variable = { var = CHI_chinese_aggression value = 30 compare = greater_than_or_equals } } add_political_power = 20 CHI = { add_opinion_modifier = { target = ROOT modifier = predatory_lender } } ai_chance = { base = 3 modifier = { add = 4 check_variable = { var = CHI_chinese_aggression value = 30 compare = greater_than_or_equals } } } } option = { name = chi_bri.92.c log = "[GetDateText]: [This.GetName]: chi_bri.92.c executed" add_political_power = 10 ai_chance = { base = 0 } } } country_event = { id = chi_bri.93 title = chi_bri.93.t desc = chi_bri.93.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { OR = { original_tag = USA original_tag = GER original_tag = FRA original_tag = ENG original_tag = JAP original_tag = CAN } } option = { name = chi_bri.93.a log = "[GetDateText]: [This.GetName]: chi_bri.93.a executed" add_political_power = -20 ITA = { add_opinion_modifier = { target = ROOT modifier = eu_unity_undermined } } ai_chance = { base = 7 modifier = { add = 5 original_tag = USA } } } option = { name = chi_bri.93.b log = "[GetDateText]: [This.GetName]: chi_bri.93.b executed" add_political_power = 10 ai_chance = { base = 3 modifier = { add = 3 OR = { original_tag = GER original_tag = FRA } } } } } country_event = { id = chi_bri.94 title = chi_bri.94.t desc = chi_bri.94.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.94.a log = "[GetDateText]: [This.GetName]: chi_bri.94.a executed" add_to_variable = { CHI_bri_europe_engagement = 2 } HUN = { add_opinion_modifier = { target = CHI modifier = CHI_bri_core_partner } } SER = { add_opinion_modifier = { target = CHI modifier = CHI_bri_core_partner } } GRE = { add_opinion_modifier = { target = CHI modifier = CHI_bri_core_partner } } LIT = { add_opinion_modifier = { target = CHI modifier = eu_unity_undermined } } EST = { add_opinion_modifier = { target = CHI modifier = eu_unity_undermined } } LAT = { add_opinion_modifier = { target = CHI modifier = eu_unity_undermined } } ai_chance = { base = 6 modifier = { add = 4 has_government = communism } } } option = { name = chi_bri.94.b log = "[GetDateText]: [This.GetName]: chi_bri.94.b executed" set_temp_variable = { treasury_change = -100 } modify_treasury_effect = yes add_to_variable = { CHI_bri_europe_engagement = 2 } every_country = { limit = { OR = { original_tag = HUN original_tag = SER original_tag = GRE original_tag = LIT original_tag = EST original_tag = LAT } } add_opinion_modifier = { target = CHI modifier = cee_china_summit } } ai_chance = { base = 4 modifier = { add = 3 has_government = democratic } } } } country_event = { id = chi_bri.95 is_triggered_only = yes hidden = yes immediate = { if = { limit = { has_idea = CHI_eu_market_access check_variable = { var = CHI_chinese_aggression value = 25 compare = greater_than_or_equals } } remove_ideas = CHI_eu_market_access GER = { remove_opinion_modifier = { target = CHI modifier = CHI_cai_signatory } add_opinion_modifier = { target = CHI modifier = CHI_cai_suspended } } FRA = { remove_opinion_modifier = { target = CHI modifier = CHI_cai_signatory } add_opinion_modifier = { target = CHI modifier = CHI_cai_suspended } } HOL = { remove_opinion_modifier = { target = CHI modifier = CHI_cai_signatory } add_opinion_modifier = { target = CHI modifier = CHI_cai_suspended } } BEL = { remove_opinion_modifier = { target = CHI modifier = CHI_cai_signatory } add_opinion_modifier = { target = CHI modifier = CHI_cai_suspended } } ITA = { remove_opinion_modifier = { target = CHI modifier = CHI_cai_signatory } add_opinion_modifier = { target = CHI modifier = CHI_cai_suspended } } SPR = { remove_opinion_modifier = { target = CHI modifier = CHI_cai_signatory } add_opinion_modifier = { target = CHI modifier = CHI_cai_suspended } } } else_if = { limit = { has_idea = CHI_eu_market_access check_variable = { var = CHI_chinese_aggression value = 25 compare = less_than } } country_event = { id = chi_bri.95 days = 30 } } } } country_event = { id = chi_bri.96 title = chi_bri.96.t desc = chi_bri.96.d picture = GFX_china_ccecc is_triggered_only = yes option = { name = chi_bri.96.a trigger = { original_tag = CHI } ai_chance = { base = 1 } } option = { name = chi_bri.96.b trigger = { NOT = { original_tag = CHI } capital_scope = { is_on_continent = asia } } ai_chance = { base = 1 } } option = { name = chi_bri.96.c trigger = { NOT = { original_tag = CHI } NOT = { capital_scope = { is_on_continent = asia } } } ai_chance = { base = 1 } } } country_event = { id = chi_uighur.1 title = chi_uighur.1.t desc = chi_uighur.1.d picture = GFX_CHI_urumqi_riot is_triggered_only = yes option = { name = chi_uighur.1.a log = "[GetDateText]: [Root.GetName]: chi_uighur.1.a" add_political_power = -10 592 = { add_resistance = 2 } set_temp_variable = { modify_uighur_threat = 2 } CHI_modify_uighur_threat = yes ai_chance = { base = 50 } } option = { name = chi_uighur.1.b log = "[GetDateText]: [Root.GetName]: chi_uighur.1.b" add_political_power = -15 592 = { add_compliance = 2 add_resistance = -2 } set_temp_variable = { modify_uighur_threat = -3 } CHI_modify_uighur_threat = yes ai_chance = { base = 30 } } option = { name = chi_uighur.1.c log = "[GetDateText]: [Root.GetName]: chi_uighur.1.c" add_stability = 0.02 592 = { add_compliance = 3 add_resistance = 3 } set_temp_variable = { sinicization_base_change = 1 } CHI_apply_sinicization_ETK = yes set_temp_variable = { modify_uighur_threat = -2 } CHI_modify_uighur_threat = yes ai_chance = { base = 20 } } } country_event = { id = chi_uighur.2 title = chi_uighur.2.t desc = chi_uighur.2.d picture = GFX_CHI_urumqi_bombing is_triggered_only = yes option = { name = chi_uighur.2.a log = "[GetDateText]: [Root.GetName]: chi_uighur.2.a" add_political_power = -40 add_timed_idea = { idea = ETK_surveillance_state_idea days = 365 } 592 = { add_compliance = 4 add_resistance = -3 } set_temp_variable = { modify_uighur_threat = -5 } CHI_modify_uighur_threat = yes ai_chance = { base = 45 } } option = { name = chi_uighur.2.b log = "[GetDateText]: [Root.GetName]: chi_uighur.2.b" add_political_power = -30 592 = { add_compliance = 4 add_resistance = -3 } set_temp_variable = { modify_uighur_threat = -6 } CHI_modify_uighur_threat = yes ai_chance = { base = 25 } } option = { name = chi_uighur.2.c log = "[GetDateText]: [Root.GetName]: chi_uighur.2.c" add_timed_idea = { idea = ETK_terrorism_aftermath days = 90 } 592 = { add_compliance = 4 add_resistance = 4 } set_temp_variable = { modify_uighur_threat = -4 } CHI_modify_uighur_threat = yes ai_chance = { base = 30 } } } country_event = { id = chi_uighur.3 title = chi_uighur.3.t desc = chi_uighur.3.d picture = GFX_CHI_urumqi_riot is_triggered_only = yes option = { name = chi_uighur.3.a log = "[GetDateText]: [Root.GetName]: chi_uighur.3.a" add_stability = -0.05 add_war_support = 0.04 592 = { add_compliance = 4 add_resistance = 5 } add_timed_idea = { idea = ETK_security_reinforcement_idea days = 180 } set_temp_variable = { modify_uighur_threat = -10 } CHI_modify_uighur_threat = yes hidden_effect = { news_event = { id = chi_uighur.6 days = 1 } } ai_chance = { base = 45 } } option = { name = chi_uighur.3.b log = "[GetDateText]: [Root.GetName]: chi_uighur.3.b" add_stability = -0.08 592 = { add_compliance = 8 add_resistance = -5 } set_temp_variable = { sinicization_base_change = 3 } CHI_apply_sinicization_ETK = yes set_temp_variable = { modify_uighur_threat = -15 } CHI_modify_uighur_threat = yes hidden_effect = { news_event = { id = chi_uighur.6 days = 1 } country_event = { id = chi_uighur.4 days = 30 } } ai_chance = { base = 40 } } option = { name = chi_uighur.3.c log = "[GetDateText]: [Root.GetName]: chi_uighur.3.c" trigger = { check_variable = { var = ETK_sinicization_var value = 30 compare = less_than } } add_political_power = -75 add_stability = 0.02 592 = { add_compliance = 10 add_resistance = -10 } set_temp_variable = { modify_uighur_threat = -25 } CHI_modify_uighur_threat = yes hidden_effect = { news_event = { id = chi_uighur.6 days = 1 } } ai_chance = { base = 15 } } } country_event = { id = chi_uighur.4 title = chi_uighur.4.t desc = chi_uighur.4.d picture = GFX_CHI_xinjiang_sar is_triggered_only = yes option = { name = chi_uighur.4.a log = "[GetDateText]: [Root.GetName]: chi_uighur.4.a" add_political_power = 20 TUR = { add_opinion_modifier = { target = CHI modifier = chi_uyghur_repression } } USA = { add_opinion_modifier = { target = CHI modifier = chi_uyghur_repression } } every_country = { limit = { is_in_array = { CHI.influence_array = THIS.id } has_government = democratic } add_opinion_modifier = { target = CHI modifier = chi_uyghur_repression } } set_country_flag = { flag = CHI_uighur_western_pressure value = 1 days = 365 } ai_chance = { base = 70 modifier = { factor = 0 has_global_flag = CHI_PEACEFUL_RISE_FOCUS_PATH } } } option = { name = chi_uighur.4.b log = "[GetDateText]: [Root.GetName]: chi_uighur.4.b" add_political_power = -50 set_temp_variable = { modify_uighur_threat = -5 } CHI_modify_uighur_threat = yes 592 = { add_compliance = -3 } TUR = { add_opinion_modifier = { target = CHI modifier = peaceful_rise } } USA = { add_opinion_modifier = { target = CHI modifier = peaceful_rise } } ai_chance = { base = 30 modifier = { factor = 10 has_global_flag = CHI_PEACEFUL_RISE_FOCUS_PATH } } } } country_event = { id = chi_uighur.5 title = chi_uighur.5.t desc = chi_uighur.5.d picture = GFX_CHI_counter_terrorist is_triggered_only = yes option = { name = chi_uighur.5.a log = "[GetDateText]: [Root.GetName]: chi_uighur.5.a" add_political_power = 25 592 = { add_compliance = 4 } set_temp_variable = { modify_uighur_threat = -8 } CHI_modify_uighur_threat = yes ai_chance = { base = 100 } } } news_event = { id = chi_uighur.6 title = chi_uighur.6.t desc = chi_uighur.6.d picture = GFX_CHI_chinese_soldiers_news is_triggered_only = yes major = yes option = { name = chi_uighur.6.a trigger = { original_tag = CHI } ai_chance = { base = 1 } } option = { name = chi_uighur.6.b trigger = { NOT = { original_tag = CHI } } ai_chance = { base = 1 } } } country_event = { id = chi_bri.103 title = chi_bri.103.t desc = chi_bri.103.d picture = GFX_trade_agreement is_triggered_only = yes option = { name = chi_bri.103.a log = "[GetDateText]: [This.GetName]: chi_bri.103.a executed" add_timed_idea = { idea = CHI_aiib_dividend_member days = 5475 } add_opinion_modifier = { target = FROM modifier = aiib_founding_member } FROM = { country_event = { id = chi_bri.104 days = 1 } } ai_chance = { base = 7 modifier = { add = 5 has_government = communism } modifier = { add = 3 has_opinion = { target = FROM value > 30 } } modifier = { factor = 0 has_war_with = FROM } } } option = { name = chi_bri.103.b log = "[GetDateText]: [This.GetName]: chi_bri.103.b executed" add_opinion_modifier = { target = FROM modifier = aiib_declined } FROM = { country_event = { id = chi_bri.105 days = 1 } } ai_chance = { base = 3 modifier = { add = 5 has_war_with = FROM } } } } country_event = { id = chi_bri.104 title = chi_bri.104.t desc = chi_bri.104.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.104.a ai_chance = { base = 1 } } } country_event = { id = chi_bri.105 title = chi_bri.105.t desc = chi_bri.105.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.105.a ai_chance = { base = 1 } } } country_event = { id = chi_bri.131 title = chi_bri.131.t desc = chi_bri.131.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = chi_bri.131.a log = "[GetDateText]: [This.GetName]: chi_bri.131.a executed" add_timed_idea = { idea = CHI_pla_basing_economic_help days = 3650 } add_opinion_modifier = { target = FROM modifier = CHI_pla_basing_partner } ai_chance = { base = 4 modifier = { add = 6 has_opinion = { target = FROM value > 50 } } modifier = { factor = 0 is_in_faction_with = USA } } } option = { name = chi_bri.131.b log = "[GetDateText]: [This.GetName]: chi_bri.131.b executed" add_opinion_modifier = { target = FROM modifier = chinese_pressure_resisted } ai_chance = { base = 3 modifier = { add = 5 is_in_faction_with = USA } } } } country_event = { id = chi_bri.132 title = chi_bri.132.t desc = chi_bri.132.d picture = GFX_CHI_generic is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.132.a ai_chance = { base = 1 } } } country_event = { id = chi_bri.133 title = chi_bri.133.t desc = chi_bri.133.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = chi_bri.133.a log = "[GetDateText]: [This.GetName]: chi_bri.133.a executed" add_ideas = CHI_brokered_non_aggression_pact add_opinion_modifier = { target = FROM modifier = beijing_brokered_peace } ai_chance = { base = 7 modifier = { add = 5 has_opinion = { target = FROM value > 30 } } modifier = { factor = 0 has_war_with = FROM } } } option = { name = chi_bri.133.b ai_chance = { base = 3 } } } country_event = { id = chi_bri.134 title = chi_bri.134.t desc = chi_bri.134.d picture = GFX_CHI_generic is_triggered_only = yes trigger = { original_tag = CHI } option = { name = chi_bri.134.a log = "[GetDateText]: [This.GetName]: chi_bri.134.a executed" add_political_power = -100 FROM = { country_event = { id = chi_bri.135 days = 1 } } ai_chance = { base = 4 modifier = { factor = 0 surrender_progress > 0.30 } } } option = { name = chi_bri.134.b log = "[GetDateText]: [This.GetName]: chi_bri.134.b executed" add_to_variable = { CHI_bri_winwin_score = -5 tooltip = CHI_bri_winwin_score_tt } FROM = { add_opinion_modifier = { target = ROOT modifier = chinese_betrayal } } ai_chance = { base = 6 } } } country_event = { id = chi_bri.135 title = chi_bri.135.t desc = chi_bri.135.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = chi_bri.135.a log = "[GetDateText]: [This.GetName]: chi_bri.135.a executed" add_opinion_modifier = { target = FROM modifier = chinese_pact_honored } ai_chance = { base = 1 } } } country_event = { id = CHI_political_events.1 title = CHI_political_events.1.t desc = CHI_political_events.1.d picture = GFX_sars_sex_virus is_triggered_only = yes option = { name = CHI_political_events.1.a log = "[GetDateText]: [Root.GetName]: CHI_political_events.1.a" if = { limit = { has_completed_focus = CHI_national_overall_emergency_response_plan } add_timed_idea = { idea = CHI_sars_response_effective_idea years = 1 } } else = { add_timed_idea = { idea = CHI_sars_outbreak_uncontrolled_idea years = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_political_system } add_to_variable = { CHI_pol_stability_factor = -0.05 tooltip = stability_factor_tt } } } } country_event = { id = CHI_political_events.2 title = CHI_political_events.2.t desc = CHI_political_events.2.d picture = GFX_asian_earthquakes is_triggered_only = yes option = { name = CHI_political_events.2.a log = "[GetDateText]: [Root.GetName]: CHI_political_events.2.a" 586 = { add_manpower = -5000 } if = { limit = { has_completed_focus = CHI_national_overall_emergency_response_plan } add_timed_idea = { idea = CHI_wenchuan_reconstruction_drive_idea years = 2 } } else = { custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_political_system } add_to_variable = { CHI_pol_stability_factor = -0.05 tooltip = stability_factor_tt } add_to_variable = { CHI_pol_pp_gain = -0.05 tooltip = political_power_gain_tt } } } } country_event = { id = CHI_political_events.3 title = CHI_political_events.3.t desc = CHI_political_events.3.d picture = GFX_event_olympics is_triggered_only = yes option = { name = CHI_political_events.3.a log = "[GetDateText]: [Root.GetName]: CHI_political_events.3.a" add_stability = 0.03 add_political_power = 25 unlock_national_focus = CHI_beijing_action_plan_green_olympics } } country_event = { id = CHI_political_events.4 title = CHI_political_events.4.t desc = CHI_political_events.4.d picture = GFX_CHI_event_national_congress_started is_triggered_only = yes option = { name = CHI_political_events.4.a log = "[GetDateText]: [Root.GetName]: CHI_political_events.4.a" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_political_system } add_to_variable = { CHI_pol_research_speed_factor = 0.03 tooltip = research_speed_factor_tt } newline = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_production_factory_max_efficiency_factor = 0.05 tooltip = production_factory_max_efficiency_factor_tt } ai_chance = { base = 10 } } option = { name = CHI_political_events.4.b log = "[GetDateText]: [Root.GetName]: CHI_political_events.4.b" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_political_system } add_to_variable = { CHI_pol_consumer_goods_expected_value = -0.05 tooltip = consumer_goods_expected_value_tt } add_to_variable = { CHI_pol_expected_healthcare_modifier = 0.05 tooltip = expected_healthcare_modifier_tt } add_to_variable = { CHI_pol_expected_education_modifier = 0.05 tooltip = expected_education_modifier_tt } ai_chance = { base = 10 modifier = { factor = 10 has_global_flag = CHI_PEACEFUL_RISE_FOCUS_PATH } } } option = { name = CHI_political_events.4.c log = "[GetDateText]: [Root.GetName]: CHI_political_events.4.c" add_country_leader_trait = CHI_two_centenary_supreme_commander newline = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_political_system } add_to_variable = { CHI_pol_war_support_factor = 0.05 tooltip = war_support_factor_tt } ai_chance = { base = 10 modifier = { factor = 10 has_global_flag = CHI_HEGEMON_FOCUS_PATH } } } } country_event = { id = CHI_political_events.5 title = CHI_political_events.5.t desc = CHI_political_events.5.d picture = GFX_CHI_event_national_congress_started is_triggered_only = yes option = { name = CHI_political_events.5.a log = "[GetDateText]: [Root.GetName]: CHI_political_events.5.a" add_power_balance_value = { id = CHI_factional_balance value = 0.10 tooltip_side = CHI_tuanpai_youth_league } add_political_power = 25 ai_chance = { base = 10 modifier = { factor = 10 has_global_flag = CHI_HEGEMON_FOCUS_PATH } modifier = { factor = 0 has_global_flag = CHI_PEACEFUL_RISE_FOCUS_PATH } } } option = { name = CHI_political_events.5.b log = "[GetDateText]: [Root.GetName]: CHI_political_events.5.b" add_power_balance_value = { id = CHI_factional_balance value = -0.10 tooltip_side = CHI_princeling_shanghai } add_political_power = 25 ai_chance = { base = 10 modifier = { factor = 10 has_global_flag = CHI_PEACEFUL_RISE_FOCUS_PATH } modifier = { factor = 0 has_global_flag = CHI_HEGEMON_FOCUS_PATH } } } option = { name = CHI_political_events.5.c log = "[GetDateText]: [Root.GetName]: CHI_political_events.5.c" add_political_power = 50 ai_chance = { base = 10 } } } country_event = { id = CHI_political_events.6 title = CHI_political_events.6.t desc = CHI_political_events.6.d picture = GFX_CHI_hainan_ep3 is_triggered_only = yes option = { name = CHI_political_events.6.a log = "[GetDateText]: [Root.GetName]: CHI_political_events.6.a" add_war_support = 0.05 add_stability = 0.02 add_power_balance_value = { id = CHI_factional_balance value = -0.02 tooltip_side = CHI_princeling_shanghai } add_tech_bonus = { name = CHI_political_events.6.t bonus = 0.25 uses = 1 category = CAT_naval_electronics } ai_chance = { base = 35 modifier = { add = 20 is_historical_focus_on = yes } } } option = { name = CHI_political_events.6.b log = "[GetDateText]: [Root.GetName]: CHI_political_events.6.b" add_political_power = 75 add_power_balance_value = { id = CHI_factional_balance value = -0.03 tooltip_side = CHI_princeling_shanghai } add_tech_bonus = { name = CHI_political_events.6.t bonus = 0.25 uses = 1 category = CAT_naval_electronics } ai_chance = { base = 20 } } } country_event = { id = CHI_political_events.7 title = CHI_political_events.7.t desc = CHI_political_events.7.d picture = GFX_event_CHI_crackdown_tech is_triggered_only = yes fire_only_once = yes option = { name = CHI_political_events.7.a log = "[GetDateText]: [Root.GetName]: CHI_political_events.7.a" trigger = { check_variable = { var = CHI_services_platform_count value = 5 compare = less_than } } add_ideas = CHI_tech_crackdown_severe ai_chance = { base = 100 } } option = { name = CHI_political_events.7.b log = "[GetDateText]: [Root.GetName]: CHI_political_events.7.b" trigger = { check_variable = { var = CHI_services_platform_count value = 5 compare = greater_than_or_equals } check_variable = { var = CHI_services_platform_count value = 10 compare = less_than } } add_ideas = CHI_tech_crackdown_moderate ai_chance = { base = 100 } } option = { name = CHI_political_events.7.c log = "[GetDateText]: [Root.GetName]: CHI_political_events.7.c" trigger = { check_variable = { var = CHI_services_platform_count value = 10 compare = greater_than_or_equals } check_variable = { var = CHI_services_platform_count value = 14 compare = less_than } } add_stability = 0.01 ai_chance = { base = 100 } } option = { name = CHI_political_events.7.e log = "[GetDateText]: [Root.GetName]: CHI_political_events.7.e" trigger = { check_variable = { var = CHI_services_platform_count value = 14 compare = greater_than_or_equals } } add_stability = 0.03 add_to_variable = { CHI_economy_production_speed_offices_factor = 0.03 tooltip = production_speed_offices_factor_tt } ai_chance = { base = 100 } } } country_event = { id = CHI_semiconductor_events.1 title = CHI_semiconductor_events.1.t desc = CHI_semiconductor_events.1.d picture = GFX_CHI_semiconductor_fab is_triggered_only = yes fire_only_once = yes option = { name = CHI_semiconductor_events.1.o1 log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.1.o1" USA = { add_opinion_modifier = { target = CHI modifier = chi_usa_sanctions_response } } if = { limit = { has_idea = CHI_semiconductor_backwardness } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_research_speed_factor = -0.08 tooltip = research_speed_factor_tt } add_to_variable = { CHI_economy_production_factory_max_efficiency_factor = -0.06 tooltip = production_factory_max_efficiency_factor_tt } add_to_variable = { CHI_economy_civilian_factories_productivity = -0.05 tooltip = civilian_factories_productivity_tt } } else_if = { limit = { has_idea = CHI_semiconductor_backwardness_2 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_research_speed_factor = -0.04 tooltip = research_speed_factor_tt } add_to_variable = { CHI_economy_civilian_factories_productivity = -0.04 tooltip = civilian_factories_productivity_tt } } else_if = { limit = { has_idea = CHI_semiconductor_backwardness_3 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_research_speed_factor = -0.02 tooltip = research_speed_factor_tt } add_to_variable = { CHI_economy_civilian_factories_productivity = -0.02 tooltip = civilian_factories_productivity_tt } } else = { custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_microchip_export_multiplier_modifier = 0.10 tooltip = microchip_export_multiplier_modifier_tt } add_to_variable = { CHI_economy_trade_opinion_factor = 0.05 tooltip = trade_opinion_factor_tt } add_to_variable = { CHI_economy_resource_export_multiplier_modifier = 0.04 tooltip = resource_export_multiplier_modifier_tt } every_other_country = { limit = { is_in_faction_with = USA } add_opinion_modifier = { target = ROOT modifier = chi_semiconductor_supremacy } } } } } country_event = { id = CHI_semiconductor_events.2 title = CHI_semiconductor_events.2.t desc = CHI_semiconductor_events.2.d picture = GFX_CHI_mate_60 is_triggered_only = yes fire_only_once = yes option = { name = CHI_semiconductor_events.2.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.2.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_research_speed_factor = 0.04 tooltip = research_speed_factor_tt } add_to_variable = { CHI_economy_civilian_factories_productivity = 0.03 tooltip = civilian_factories_productivity_tt } if = { limit = { country_exists = USA } USA = { add_opinion_modifier = { target = ROOT modifier = chi_advanced_node_breakout } } } ai_chance = { base = 80 } } option = { name = CHI_semiconductor_events.2.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.2.b executed" 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 } ai_chance = { base = 20 } } } country_event = { id = CHI_semiconductor_events.3 title = CHI_semiconductor_events.3.t desc = CHI_semiconductor_events.3.d picture = GFX_CHI_semiconductor_fab is_triggered_only = yes fire_only_once = yes option = { name = CHI_semiconductor_events.3.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.3.a executed" trigger = { has_completed_focus = CHI_domestic_eda } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_research_speed_factor = 0.05 tooltip = research_speed_factor_tt } unlock_decision_tooltip = CHI_replace_synopsys_cadence_decision ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.3.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.3.b executed" add_timed_idea = { idea = CHI_eda_grey_market_idea years = 1 } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_trade_opinion_factor = 0.04 tooltip = trade_opinion_factor_tt } ai_chance = { base = 60 } } } country_event = { id = CHI_semiconductor_events.4 title = CHI_semiconductor_events.4.t desc = CHI_semiconductor_events.4.d picture = GFX_CHI_semiconductor_fab is_triggered_only = yes fire_only_once = yes option = { name = CHI_semiconductor_events.4.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.4.a executed" 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 } add_to_variable = { CHI_economy_civilian_factories_productivity = 0.03 tooltip = civilian_factories_productivity_tt } unlock_decision_tooltip = CHI_cxmt_hbm_qualification_decision ai_chance = { base = 90 } } option = { name = CHI_semiconductor_events.4.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.4.b executed" trigger = { OR = { RUS = { has_opinion = { target = ROOT value > 30 } } PER = { has_opinion = { target = ROOT value > 30 } } } } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_resource_export_multiplier_modifier = 0.04 tooltip = resource_export_multiplier_modifier_tt } if = { limit = { RUS = { has_opinion = { target = ROOT value > 30 } } } RUS = { add_opinion_modifier = { target = ROOT modifier = chi_hbm_export_partner } } } if = { limit = { PER = { has_opinion = { target = ROOT value > 30 } } } PER = { add_opinion_modifier = { target = ROOT modifier = chi_hbm_export_partner } } } if = { limit = { country_exists = USA } USA = { add_opinion_modifier = { target = ROOT modifier = chi_hbm_proliferation_concern } } } ai_chance = { base = 10 } } } country_event = { id = CHI_semiconductor_events.5 title = CHI_semiconductor_events.5.t desc = CHI_semiconductor_events.5.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = CHI_semiconductor_events.5.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.5.a executed" ai_chance = { base = 20 modifier = { factor = 0 has_war_with = FROM } modifier = { factor = 3 has_opinion = { target = FROM value > 20 } } } FROM = { country_event = { id = CHI_semiconductor_events.6 days = 2 } } } option = { name = CHI_semiconductor_events.5.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.5.b executed" ai_chance = { base = 80 } FROM = { country_event = { id = CHI_semiconductor_events.7 days = 2 } } } } country_event = { id = CHI_semiconductor_events.6 title = CHI_semiconductor_events.6.t desc = CHI_semiconductor_events.6.d picture = GFX_CHI_semiconductor_fab is_triggered_only = yes option = { name = CHI_semiconductor_events.6.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.6.a executed" 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 } } } country_event = { id = CHI_semiconductor_events.7 title = CHI_semiconductor_events.7.t desc = CHI_semiconductor_events.7.d picture = GFX_CHI_semiconductor_fab is_triggered_only = yes option = { name = CHI_semiconductor_events.7.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.7.a executed" add_political_power = -50 } } country_event = { id = CHI_foreign.054 title = CHI_foreign.054.t desc = CHI_foreign.054.d picture = GFX_CHI_soe_energy is_triggered_only = yes trigger = { original_tag = KAZ } option = { name = CHI_foreign.054.a log = "[GetDateText]: [This.GetName]: CHI_foreign.054.a executed" add_political_power = 100 CHI = { country_event = { id = CHI_foreign.063 days = 1 } } ai_chance = { base = 9 } } option = { name = CHI_foreign.054.b log = "[GetDateText]: [This.GetName]: CHI_foreign.054.b executed" CHI = { country_event = { id = CHI_foreign.056 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.063 title = CHI_foreign.063.t desc = CHI_foreign.063.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = CHI_foreign.063.a log = "[GetDateText]: [This.GetName]: CHI_foreign.063.a executed" 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 } FROM = { add_opinion_modifier = { target = ROOT modifier = CHI_bri_resource_concession } } ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.056 title = CHI_foreign.056.t desc = CHI_foreign.056.d picture = GFX_CHI_generic is_triggered_only = yes trigger = { original_tag = CHI } option = { name = CHI_foreign.056.a ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.057 title = CHI_foreign.057.t desc = CHI_foreign.057.d picture = GFX_CHI_soe_energy is_triggered_only = yes trigger = { original_tag = AGL } option = { name = CHI_foreign.057.a log = "[GetDateText]: [This.GetName]: CHI_foreign.057.a executed" add_political_power = 75 capital_scope = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } CHI = { country_event = { id = CHI_foreign.058 days = 1 } } ai_chance = { base = 9 } } option = { name = CHI_foreign.057.b log = "[GetDateText]: [This.GetName]: CHI_foreign.057.b executed" CHI = { country_event = { id = CHI_foreign.059 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.058 title = CHI_foreign.058.t desc = CHI_foreign.058.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = CHI_foreign.058.a log = "[GetDateText]: [This.GetName]: CHI_foreign.058.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_local_resources_oil_factor = 0.03 tooltip = local_resources_oil_factor_tt } FROM = { add_opinion_modifier = { target = ROOT modifier = CHI_bri_resource_concession } } ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.059 title = CHI_foreign.059.t desc = CHI_foreign.059.d picture = GFX_CHI_generic is_triggered_only = yes trigger = { original_tag = CHI } option = { name = CHI_foreign.059.a ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.060 title = CHI_foreign.060.t desc = CHI_foreign.060.d picture = GFX_CHI_soe_energy is_triggered_only = yes trigger = { original_tag = VEN } option = { name = CHI_foreign.060.a log = "[GetDateText]: [This.GetName]: CHI_foreign.060.a executed" add_political_power = 50 add_stability = 0.01 CHI = { country_event = { id = CHI_foreign.061 days = 1 } } ai_chance = { base = 9 } } option = { name = CHI_foreign.060.b log = "[GetDateText]: [This.GetName]: CHI_foreign.060.b executed" CHI = { country_event = { id = CHI_foreign.062 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.061 title = CHI_foreign.061.t desc = CHI_foreign.061.d picture = GFX_china_ccecc is_triggered_only = yes trigger = { original_tag = CHI } option = { name = CHI_foreign.061.a log = "[GetDateText]: [This.GetName]: CHI_foreign.061.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_local_resources_oil_factor = 0.03 tooltip = local_resources_oil_factor_tt } FROM = { add_opinion_modifier = { target = ROOT modifier = CHI_bri_resource_concession } } ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.062 title = CHI_foreign.062.t desc = CHI_foreign.062.d picture = GFX_CHI_generic is_triggered_only = yes trigger = { original_tag = CHI } option = { name = CHI_foreign.062.a ai_chance = { base = 1 } } } country_event = { id = CHI_foreign.250 title = CHI_foreign.250.t desc = CHI_foreign.250.d picture = GFX_CHI_anti_japan_protest is_triggered_only = yes option = { name = CHI_foreign.250.a log = "[GetDateText]: [This.GetName]: CHI_foreign.250.a executed" add_ideas = CHI_jap_historical_pressure ai_chance = { base = 100 } } } country_event = { id = CHI_military_event.2 title = CHI_military_event.2.t desc = CHI_military_event.2.d picture = GFX_CHI_pla_badge is_triggered_only = yes option = { name = CHI_military_event.2.a log = "[GetDateText]: [This.GetName]: CHI_military_event.2.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_economy_modifier } add_to_variable = { CHI_economy_research_speed_factor = 0.04 tooltip = research_speed_factor_tt } ai_chance = { base = 5 } } option = { name = CHI_military_event.2.b log = "[GetDateText]: [This.GetName]: CHI_military_event.2.b executed" add_tech_bonus = { name = CHI_military_event.2.t uses = 3 ahead_reduction = 2.5 category = CAT_Civilian category = CAT_Military } ai_chance = { base = 5 } } } country_event = { id = CHI_military_event.4 title = CHI_military_event.4.t desc = CHI_military_event.4.d picture = GFX_event_CHI_polygroup is_triggered_only = yes option = { name = CHI_military_event.4.a log = "[GetDateText]: [This.GetName]: CHI_military_event.4.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_defense_industry } add_to_variable = { CHI_di_military_industry_tax_modifier = 0.05 tooltip = military_industry_tax_modifier_tt } ai_chance = { base = 6 } } option = { name = CHI_military_event.4.b log = "[GetDateText]: [This.GetName]: CHI_military_event.4.b executed" add_political_power = 75 ai_chance = { base = 4 } } } country_event = { id = CHI_military_event.5 title = CHI_military_event.5.t desc = CHI_military_event.5.d picture = GFX_event_CHI_flags is_triggered_only = yes option = { name = CHI_military_event.5.a log = "[GetDateText]: [This.GetName]: CHI_military_event.5.a executed" add_stability = 0.05 add_political_power = 50 ai_chance = { base = 7 } } option = { name = CHI_military_event.5.b log = "[GetDateText]: [This.GetName]: CHI_military_event.5.b executed" add_war_support = 0.03 add_stability = -0.05 ai_chance = { base = 3 } } } country_event = { id = CHI_military_event.6 title = CHI_military_event.6.t desc = CHI_military_event.6.d picture = GFX_event_CHI_chinese_dream is_triggered_only = yes option = { name = CHI_military_event.6.a log = "[GetDateText]: [This.GetName]: CHI_military_event.6.a executed" add_stability = 0.05 add_political_power = 75 ai_chance = { base = 7 } } option = { name = CHI_military_event.6.b log = "[GetDateText]: [This.GetName]: CHI_military_event.6.b executed" add_stability = -0.03 ai_chance = { base = 3 } } } country_event = { id = CHI_military_event.10 title = CHI_military_event.10.t desc = CHI_military_event.10.d picture = GFX_event_CHI_flags is_triggered_only = yes option = { name = CHI_military_event.10.a log = "[GetDateText]: [This.GetName]: CHI_military_event.10.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CHI_defense_industry } add_to_variable = { CHI_di_military_factories_productivity = 0.05 tooltip = military_factories_productivity_tt } add_stability = 0.05 add_political_power = 50 set_temp_variable = { temp_opinion = 5 } change_the_military_opinion = yes ai_chance = { base = 5 } } option = { name = CHI_military_event.10.b log = "[GetDateText]: [This.GetName]: CHI_military_event.10.b executed" add_political_power = -50 add_stability = -0.05 set_temp_variable = { temp_opinion = -5 } change_the_military_opinion = yes set_temp_variable = { temp_opinion = 5 } change_communist_cadres_opinion = yes ai_chance = { base = 5 } } } country_event = { id = CHI_space_events.1 title = CHI_space_events.1.t desc = CHI_space_events.1.d picture = GFX_CHI_long_march_launch is_triggered_only = yes option = { name = CHI_space_events.1.a log = "[GetDateText]: [This.GetName]: CHI_space_events.1.a executed" add_political_power = 25 ai_chance = { base = 10 } } } country_event = { id = CHI_space_events.2 title = CHI_space_events.2.t desc = CHI_space_events.2.d picture = GFX_CHI_taikonaut_moon is_triggered_only = yes option = { name = CHI_space_events.2.a log = "[GetDateText]: [This.GetName]: CHI_space_events.2.a executed" add_stability = 0.05 add_war_support = 0.05 add_tech_bonus = { name = CHI_space_events.2.t ahead_reduction = 1 uses = 1 category = CAT_space } ai_chance = { base = 10 } } } country_event = { id = CHI_space_events.10 title = CHI_space_events.10.t desc = CHI_space_events.10.d picture = GFX_CHI_yashennmima_sat is_triggered_only = yes option = { name = CHI_space_events.10.a log = "[GetDateText]: [This.GetName]: CHI_space_events.10.a executed" set_country_flag = CHI_lunar_satellite_invest set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes country_event = { id = CHI_space_events.11 days = 90 } ai_chance = { base = 10 } } option = { name = CHI_space_events.10.b log = "[GetDateText]: [This.GetName]: CHI_space_events.10.b executed" add_political_power = 25 country_event = { id = CHI_space_events.11 days = 90 } ai_chance = { base = 5 } } } country_event = { id = CHI_space_events.11 title = CHI_space_events.11.t desc = CHI_space_events.11.d picture = GFX_CHI_long_march_launch is_triggered_only = yes option = { name = CHI_space_events.11.a log = "[GetDateText]: [This.GetName]: CHI_space_events.11.a executed" set_country_flag = CHI_lunar_rocketry_invest set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes country_event = { id = CHI_space_events.13 days = 180 } ai_chance = { base = 10 } } option = { name = CHI_space_events.11.b log = "[GetDateText]: [This.GetName]: CHI_space_events.11.b executed" add_political_power = 25 country_event = { id = CHI_space_events.12 days = 120 } ai_chance = { base = 5 } } } country_event = { id = CHI_space_events.12 title = CHI_space_events.12.t desc = CHI_space_events.12.d picture = GFX_CHI_long_march_launch is_triggered_only = yes option = { name = CHI_space_events.12.a log = "[GetDateText]: [This.GetName]: CHI_space_events.12.a executed" country_event = { id = CHI_space_events.13 days = 180 } ai_chance = { base = 10 } } } country_event = { id = CHI_space_events.13 title = CHI_space_events.13.t desc = CHI_space_events.13.d picture = GFX_CHI_yashennmima_sat is_triggered_only = yes option = { name = CHI_space_events.13.a log = "[GetDateText]: [This.GetName]: CHI_space_events.13.a executed" if = { limit = { has_country_flag = CHI_lunar_satellite_invest } custom_effect_tooltip = CHI_lunar_satellite_invest_tt add_tech_bonus = { name = CHI_space_events.13.t bonus = 0.50 uses = 2 category = CAT_satellite } } if = { limit = { has_country_flag = CHI_lunar_rocketry_invest } custom_effect_tooltip = CHI_lunar_rocketry_invest_tt add_tech_bonus = { name = CHI_space_events.13.t bonus = 0.50 uses = 2 category = CAT_missile } } newline = yes 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_chance = { base = 10 } } } country_event = { id = CHI_space_events.20 title = CHI_space_events.20.t desc = CHI_space_events.20.d picture = GFX_event_CHI_moon is_triggered_only = yes option = { name = CHI_space_events.20.a log = "[GetDateText]: [This.GetName]: CHI_space_events.20.a executed" add_ideas = CHI_lunar_legacy_political ai_chance = { base = 10 } } option = { name = CHI_space_events.20.b log = "[GetDateText]: [This.GetName]: CHI_space_events.20.b executed" add_ideas = CHI_lunar_legacy_industrial ai_chance = { base = 10 } } option = { name = CHI_space_events.20.c log = "[GetDateText]: [This.GetName]: CHI_space_events.20.c executed" add_ideas = CHI_lunar_legacy_research ai_chance = { base = 10 } } option = { name = CHI_space_events.20.e log = "[GetDateText]: [This.GetName]: CHI_space_events.20.e executed" add_ideas = CHI_lunar_legacy_military ai_chance = { base = 10 } } } country_event = { id = CHI_political_events.8 title = CHI_political_events.8.t desc = CHI_political_events.8.d picture = GFX_CHI_bilibili is_triggered_only = yes option = { name = CHI_political_events.8.a log = "[GetDateText]: [This.GetName]: CHI_political_events.8.a" random_list = { 50 = { add_tech_bonus = { name = CHI_political_events.8.t bonus = 0.3 uses = 1 category = CAT_internet_tech } } 50 = { add_tech_bonus = { name = CHI_political_events.8.t bonus = 0.3 uses = 1 category = CAT_computing_tech } } } hidden_effect = { if = { limit = { OR = { NOT = { has_completed_focus = CHI_hu_jintao_reign } NOT = { has_completed_focus = CHI_zeng_qinghong_reign } } } country_event = { id = CHI_political_events.8 days = 365 } } } } } country_event = { id = CHI_political_events.50 title = CHI_political_events.50.t desc = CHI_political_events.50.d picture = GFX_CHI_ageing_society is_triggered_only = yes option = { name = CHI_political_events.50.a ai_chance = { base = 1 } } } country_event = { id = CHI_political_events.51 title = CHI_political_events.51.t desc = CHI_political_events.51.d picture = GFX_CHI_ageing_society is_triggered_only = yes option = { name = CHI_political_events.51.a log = "[GetDateText]: [This.GetName]: CHI_political_events.51.a executed" if = { limit = { check_variable = { CHI_demographic_policy_stage = 1 } } activate_mission = CHI_grey_society_crisis add_ideas = CHI_grey_society_crisis_idea } ai_chance = { base = 1 } } } country_event = { id = CHI_political_events.52 title = CHI_political_events.52.t desc = CHI_political_events.52.d picture = GFX_CHI_ageing_society is_triggered_only = yes option = { name = CHI_political_events.52.a log = "[GetDateText]: [This.GetName]: CHI_political_events.52.a executed" remove_ideas = CHI_grey_society_crisis_idea ai_chance = { base = 1 } } } country_event = { id = china_sar.048 title = china_sar.048.t desc = china_sar.048.d picture = GFX_CHI_china_unite is_triggered_only = yes option = { name = china_sar.048.a log = "[GetDateText]: [This.GetName]: china_sar.048.a executed" 595 = { add_core_of = CHI remove_core_of = HKG if = { limit = { has_dynamic_modifier = { modifier = CHI_HKG_sinicization_modifier } } remove_dynamic_modifier = { modifier = CHI_HKG_sinicization_modifier } } } ai_chance = { base = 1 } } } # Huawei corporate history country_event = { id = CHI_semiconductor_events.300 title = CHI_semiconductor_events.300.t desc = CHI_semiconductor_events.300.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_huawei_international_expansion } NOT = { has_country_flag = CHI_huawei_home_market_focus } } option = { name = CHI_semiconductor_events.300.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.300.a executed" add_political_power = -15 add_tech_bonus = { name = CHI_semiconductor_events.300.t bonus = 0.15 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_huawei_international_expansion ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.300.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.300.b executed" add_tech_bonus = { name = CHI_semiconductor_events.300.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_huawei_home_market_focus ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.301 title = CHI_semiconductor_events.301.t desc = CHI_semiconductor_events.301.d picture = GFX_generic_factory is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_huawei_european_carrier_wins } NOT = { has_country_flag = CHI_huawei_domestic_carrier_focus } } option = { name = CHI_semiconductor_events.301.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.301.a executed" add_political_power = -20 add_tech_bonus = { name = CHI_semiconductor_events.301.t bonus = 0.15 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_huawei_european_carrier_wins ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.301.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.301.b executed" add_tech_bonus = { name = CHI_semiconductor_events.301.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_huawei_domestic_carrier_focus ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.302 title = CHI_semiconductor_events.302.t desc = CHI_semiconductor_events.302.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_huawei_5g_moonshot } NOT = { has_country_flag = CHI_huawei_incremental_radio } } option = { name = CHI_semiconductor_events.302.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.302.a executed" add_political_power = -30 add_tech_bonus = { name = CHI_semiconductor_events.302.t bonus = 0.15 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_huawei_5g_moonshot ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.302.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.302.b executed" add_tech_bonus = { name = CHI_semiconductor_events.302.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_huawei_incremental_radio ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.303 title = CHI_semiconductor_events.303.t desc = CHI_semiconductor_events.303.d picture = GFX_raid_international_sanctions is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_huawei_entity_list_defiance } NOT = { has_country_flag = CHI_huawei_entity_list_accommodation } } option = { name = CHI_semiconductor_events.303.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.303.a executed" add_political_power = -25 add_tech_bonus = { name = CHI_semiconductor_events.303.t bonus = 0.15 uses = 1 category = CAT_computing_tech } set_country_flag = CHI_huawei_entity_list_defiance ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.303.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.303.b executed" add_tech_bonus = { name = CHI_semiconductor_events.303.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_huawei_entity_list_accommodation ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.304 title = CHI_semiconductor_events.304.t desc = CHI_semiconductor_events.304.d picture = GFX_broken_infrastructure is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_huawei_domestic_fab_push } NOT = { has_country_flag = CHI_huawei_stockpile_and_wait } } option = { name = CHI_semiconductor_events.304.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.304.a executed" add_political_power = -25 add_tech_bonus = { name = CHI_semiconductor_events.304.t bonus = 0.15 uses = 1 category = CAT_microchips } set_country_flag = CHI_huawei_domestic_fab_push ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.304.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.304.b executed" add_tech_bonus = { name = CHI_semiconductor_events.304.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_huawei_stockpile_and_wait ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.305 title = CHI_semiconductor_events.305.t desc = CHI_semiconductor_events.305.d picture = GFX_computer is_triggered_only = yes trigger = { CHI_huawei_outcome_settled = no } option = { name = CHI_semiconductor_events.305.a trigger = { has_country_flag = CHI_huawei_domestic_fab_push } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.305.a executed" effect_tooltip = { add_ideas = CHI_huawei_sovereign_full_stack } hidden_effect = { CHI_huawei_apply_sovereign_full_stack = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.305.b trigger = { NOT = { has_country_flag = CHI_huawei_domestic_fab_push } has_country_flag = CHI_huawei_entity_list_defiance } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.305.b executed" effect_tooltip = { add_timed_idea = { idea = CHI_huawei_resilient_technology_fortress days = 365 } } hidden_effect = { CHI_huawei_apply_resilient_fortress = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.305.c trigger = { NOT = { has_country_flag = CHI_huawei_domestic_fab_push } NOT = { has_country_flag = CHI_huawei_entity_list_defiance } has_country_flag = CHI_huawei_european_carrier_wins } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.305.c executed" effect_tooltip = { add_timed_idea = { idea = CHI_huawei_global_telecom_challenger days = 365 } } hidden_effect = { CHI_huawei_apply_global_challenger = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.305.e trigger = { NOT = { has_country_flag = CHI_huawei_domestic_fab_push } NOT = { has_country_flag = CHI_huawei_entity_list_defiance } NOT = { has_country_flag = CHI_huawei_european_carrier_wins } } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.305.e executed" effect_tooltip = { add_timed_idea = { idea = CHI_huawei_consumer_ecosystem_power days = 365 } } hidden_effect = { CHI_huawei_apply_consumer_ecosystem = yes } ai_chance = { base = 100 } } } # Lenovo corporate history country_event = { id = CHI_semiconductor_events.310 title = CHI_semiconductor_events.310.t desc = CHI_semiconductor_events.310.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_lenovo_ibm_pc_acquired } NOT = { has_country_flag = CHI_lenovo_organic_growth } } option = { name = CHI_semiconductor_events.310.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.310.a executed" set_temp_variable = { treasury_change = -2.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.310.t bonus = 0.15 uses = 1 category = CAT_computing_tech } set_country_flag = CHI_lenovo_ibm_pc_acquired ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.310.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.310.b executed" add_political_power = 10 add_tech_bonus = { name = CHI_semiconductor_events.310.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_lenovo_organic_growth ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.311 title = CHI_semiconductor_events.311.t desc = CHI_semiconductor_events.311.d picture = GFX_stock_market is_triggered_only = yes trigger = { has_country_flag = CHI_lenovo_ibm_pc_acquired NOT = { has_country_flag = CHI_lenovo_security_undertakings } NOT = { has_country_flag = CHI_lenovo_terms_refused } } option = { name = CHI_semiconductor_events.311.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.311.a executed" add_political_power = -20 add_tech_bonus = { name = CHI_semiconductor_events.311.t bonus = 0.10 uses = 1 category = CAT_computing_tech } set_country_flag = CHI_lenovo_security_undertakings ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.311.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.311.b executed" add_tech_bonus = { name = CHI_semiconductor_events.311.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_lenovo_terms_refused ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.312 title = CHI_semiconductor_events.312.t desc = CHI_semiconductor_events.312.d picture = GFX_computer is_triggered_only = yes trigger = { has_country_flag = CHI_lenovo_ibm_pc_acquired NOT = { has_country_flag = CHI_lenovo_own_brand } NOT = { has_country_flag = CHI_lenovo_inherited_brand } } option = { name = CHI_semiconductor_events.312.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.312.a executed" set_temp_variable = { treasury_change = -1.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.312.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_lenovo_own_brand ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.312.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.312.b executed" add_political_power = 10 add_tech_bonus = { name = CHI_semiconductor_events.312.t bonus = 0.10 uses = 1 category = CAT_computing_tech } set_country_flag = CHI_lenovo_inherited_brand ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.313 title = CHI_semiconductor_events.313.t desc = CHI_semiconductor_events.313.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_lenovo_joint_ventures } NOT = { has_country_flag = CHI_lenovo_direct_expansion } } option = { name = CHI_semiconductor_events.313.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.313.a executed" add_political_power = -15 add_tech_bonus = { name = CHI_semiconductor_events.313.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_lenovo_joint_ventures ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = CHI_semiconductor_events.313.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.313.b executed" set_temp_variable = { treasury_change = -3.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.313.t bonus = 0.15 uses = 1 category = CAT_computing_tech } set_country_flag = CHI_lenovo_direct_expansion ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } } country_event = { id = CHI_semiconductor_events.314 title = CHI_semiconductor_events.314.t desc = CHI_semiconductor_events.314.d picture = GFX_generic_factory is_triggered_only = yes trigger = { has_country_flag = CHI_lenovo_ibm_pc_acquired NOT = { has_country_flag = CHI_lenovo_server_acquired } NOT = { has_country_flag = CHI_lenovo_pc_focus } } option = { name = CHI_semiconductor_events.314.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.314.a executed" set_temp_variable = { treasury_change = -3.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.314.t bonus = 0.15 uses = 1 category = CAT_computing_tech } set_country_flag = CHI_lenovo_server_acquired ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.314.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.314.b executed" add_political_power = 15 add_tech_bonus = { name = CHI_semiconductor_events.314.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_lenovo_pc_focus ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.315 title = CHI_semiconductor_events.315.t desc = CHI_semiconductor_events.315.d picture = GFX_computer is_triggered_only = yes trigger = { CHI_lenovo_outcome_settled = no } option = { name = CHI_semiconductor_events.315.a trigger = { has_country_flag = CHI_lenovo_ibm_pc_acquired has_country_flag = CHI_lenovo_server_acquired } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.315.a executed" effect_tooltip = { add_timed_idea = { idea = CHI_lenovo_enterprise_server_platform days = 365 } } hidden_effect = { CHI_lenovo_apply_enterprise_server_platform = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.315.b trigger = { has_country_flag = CHI_lenovo_ibm_pc_acquired NOT = { has_country_flag = CHI_lenovo_server_acquired } } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.315.b executed" effect_tooltip = { add_timed_idea = { idea = CHI_lenovo_global_pc_platform days = 365 } } hidden_effect = { CHI_lenovo_apply_global_pc_platform = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.315.c trigger = { NOT = { has_country_flag = CHI_lenovo_ibm_pc_acquired } has_country_flag = CHI_lenovo_joint_ventures } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.315.c executed" effect_tooltip = { add_timed_idea = { idea = CHI_lenovo_strategic_bridge days = 365 } } hidden_effect = { CHI_lenovo_apply_strategic_bridge = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.315.e trigger = { NOT = { has_country_flag = CHI_lenovo_ibm_pc_acquired } NOT = { has_country_flag = CHI_lenovo_joint_ventures } } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.315.e executed" effect_tooltip = { add_ideas = CHI_lenovo_domestic_champion } hidden_effect = { CHI_lenovo_apply_domestic_champion = yes } ai_chance = { base = 100 } } } # Tencent corporate history country_event = { id = CHI_semiconductor_events.320 title = CHI_semiconductor_events.320.t desc = CHI_semiconductor_events.320.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_tencent_foreign_capital } NOT = { has_country_flag = CHI_tencent_domestic_capital } } option = { name = CHI_semiconductor_events.320.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.320.a executed" set_temp_variable = { treasury_change = 3.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.320.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_tencent_foreign_capital ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = CHI_semiconductor_events.320.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.320.b executed" set_temp_variable = { treasury_change = -3.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.320.t bonus = 0.10 uses = 1 category = CAT_computing_tech } set_country_flag = CHI_tencent_domestic_capital ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } } country_event = { id = CHI_semiconductor_events.321 title = CHI_semiconductor_events.321.t desc = CHI_semiconductor_events.321.d picture = GFX_stock_market is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_tencent_public_listing } NOT = { has_country_flag = CHI_tencent_closely_held } } option = { name = CHI_semiconductor_events.321.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.321.a executed" set_temp_variable = { treasury_change = 6.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.321.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_tencent_public_listing ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = CHI_semiconductor_events.321.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.321.b executed" add_tech_bonus = { name = CHI_semiconductor_events.321.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_tencent_closely_held ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } } } } country_event = { id = CHI_semiconductor_events.322 title = CHI_semiconductor_events.322.t desc = CHI_semiconductor_events.322.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_tencent_superapp } NOT = { has_country_flag = CHI_tencent_messenger_defence } } option = { name = CHI_semiconductor_events.322.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.322.a executed" set_temp_variable = { treasury_change = -5.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.322.t bonus = 0.15 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_tencent_superapp ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.322.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.322.b executed" add_tech_bonus = { name = CHI_semiconductor_events.322.t bonus = 0.10 uses = 1 category = CAT_computing_tech } set_country_flag = CHI_tencent_messenger_defence ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.323 title = CHI_semiconductor_events.323.t desc = CHI_semiconductor_events.323.d picture = GFX_internal_faction_business_purchase is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_tencent_global_games } NOT = { has_country_flag = CHI_tencent_domestic_publishing } } option = { name = CHI_semiconductor_events.323.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.323.a executed" set_temp_variable = { treasury_change = -9.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.323.t bonus = 0.15 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_tencent_global_games ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.323.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.323.b executed" set_temp_variable = { treasury_change = 2.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.323.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_tencent_domestic_publishing ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.324 title = CHI_semiconductor_events.324.t desc = CHI_semiconductor_events.324.d picture = GFX_politics_censorship is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_tencent_state_accommodation } NOT = { has_country_flag = CHI_tencent_offshore_hedge } } option = { name = CHI_semiconductor_events.324.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.324.a executed" set_temp_variable = { treasury_change = -4.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.324.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_tencent_state_accommodation ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.324.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.324.b executed" add_tech_bonus = { name = CHI_semiconductor_events.324.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_tencent_offshore_hedge ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.325 title = CHI_semiconductor_events.325.t desc = CHI_semiconductor_events.325.d picture = GFX_computer is_triggered_only = yes trigger = { CHI_tencent_outcome_settled = no } option = { name = CHI_semiconductor_events.325.a trigger = { has_country_flag = CHI_tencent_superapp has_country_flag = CHI_tencent_global_games } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.325.a executed" effect_tooltip = { add_timed_idea = { idea = CHI_tencent_global_platform_conglomerate days = 365 } } hidden_effect = { CHI_tencent_apply_global_platform = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.325.b trigger = { has_country_flag = CHI_tencent_superapp NOT = { has_country_flag = CHI_tencent_global_games } } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.325.b executed" effect_tooltip = { add_ideas = CHI_tencent_domestic_superapp } hidden_effect = { CHI_tencent_apply_domestic_superapp = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.325.c trigger = { has_country_flag = CHI_tencent_state_accommodation NOT = { has_country_flag = CHI_tencent_superapp } } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.325.c executed" effect_tooltip = { add_timed_idea = { idea = CHI_tencent_licensed_games_publisher days = 365 } } hidden_effect = { CHI_tencent_apply_licensed_publisher = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.325.e trigger = { NOT = { has_country_flag = CHI_tencent_superapp } NOT = { has_country_flag = CHI_tencent_state_accommodation } } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.325.e executed" effect_tooltip = { add_timed_idea = { idea = CHI_tencent_independent_messaging days = 365 } } hidden_effect = { CHI_tencent_apply_independent_messaging = yes } ai_chance = { base = 100 } } } # Alibaba corporate history country_event = { id = CHI_semiconductor_events.330 title = CHI_semiconductor_events.330.t desc = CHI_semiconductor_events.330.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_alibaba_foreign_venture_capital } NOT = { has_country_flag = CHI_alibaba_bootstrapped } } option = { name = CHI_semiconductor_events.330.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.330.a executed" set_temp_variable = { treasury_change = 3.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.330.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_alibaba_foreign_venture_capital ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = CHI_semiconductor_events.330.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.330.b executed" add_tech_bonus = { name = CHI_semiconductor_events.330.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_alibaba_bootstrapped ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } } } } country_event = { id = CHI_semiconductor_events.331 title = CHI_semiconductor_events.331.t desc = CHI_semiconductor_events.331.d picture = GFX_marketplace is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_alibaba_consumer_marketplace } NOT = { has_country_flag = CHI_alibaba_b2b_focus } } option = { name = CHI_semiconductor_events.331.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.331.a executed" set_temp_variable = { treasury_change = -5.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.331.t bonus = 0.15 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_alibaba_consumer_marketplace ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.331.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.331.b executed" set_temp_variable = { treasury_change = 2.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.331.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_alibaba_b2b_focus ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.332 title = CHI_semiconductor_events.332.t desc = CHI_semiconductor_events.332.d picture = GFX_stock_market is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_alibaba_yahoo_stake } NOT = { has_country_flag = CHI_alibaba_closed_register } } option = { name = CHI_semiconductor_events.332.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.332.a executed" set_temp_variable = { treasury_change = 8.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.332.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_alibaba_yahoo_stake ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = CHI_semiconductor_events.332.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.332.b executed" set_temp_variable = { treasury_change = -2.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.332.t bonus = 0.10 uses = 1 category = CAT_computing_tech } set_country_flag = CHI_alibaba_closed_register ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } } country_event = { id = CHI_semiconductor_events.333 title = CHI_semiconductor_events.333.t desc = CHI_semiconductor_events.333.d picture = GFX_court is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_alibaba_payments_severed } NOT = { has_country_flag = CHI_alibaba_payments_retained } } option = { name = CHI_semiconductor_events.333.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.333.a executed" set_temp_variable = { treasury_change = -3.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.333.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_alibaba_payments_severed ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.333.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.333.b executed" add_tech_bonus = { name = CHI_semiconductor_events.333.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_alibaba_payments_retained ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.334 title = CHI_semiconductor_events.334.t desc = CHI_semiconductor_events.334.d picture = GFX_CHI_semiconductor_fab is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_alibaba_state_supervision } NOT = { has_country_flag = CHI_alibaba_defiant_listing } } option = { name = CHI_semiconductor_events.334.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.334.a executed" set_temp_variable = { treasury_change = -6.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.334.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_alibaba_state_supervision ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.334.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.334.b executed" add_tech_bonus = { name = CHI_semiconductor_events.334.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_alibaba_defiant_listing ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.335 title = CHI_semiconductor_events.335.t desc = CHI_semiconductor_events.335.d picture = GFX_marketplace is_triggered_only = yes trigger = { CHI_alibaba_outcome_settled = no } option = { name = CHI_semiconductor_events.335.a trigger = { has_country_flag = CHI_alibaba_consumer_marketplace has_country_flag = CHI_alibaba_state_supervision } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.335.a executed" effect_tooltip = { add_ideas = CHI_alibaba_supervised_commerce_backbone } hidden_effect = { CHI_alibaba_apply_supervised_backbone = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.335.b trigger = { has_country_flag = CHI_alibaba_consumer_marketplace NOT = { has_country_flag = CHI_alibaba_state_supervision } } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.335.b executed" effect_tooltip = { add_timed_idea = { idea = CHI_alibaba_open_consumer_marketplace days = 365 } } hidden_effect = { CHI_alibaba_apply_open_marketplace = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.335.c trigger = { has_country_flag = CHI_alibaba_yahoo_stake NOT = { has_country_flag = CHI_alibaba_consumer_marketplace } } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.335.c executed" effect_tooltip = { add_timed_idea = { idea = CHI_alibaba_foreign_capitalised_trading_house days = 365 } } hidden_effect = { CHI_alibaba_apply_trading_house = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.335.e trigger = { NOT = { has_country_flag = CHI_alibaba_consumer_marketplace } NOT = { has_country_flag = CHI_alibaba_yahoo_stake } } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.335.e executed" effect_tooltip = { add_timed_idea = { idea = CHI_alibaba_wholesale_export_broker days = 365 } } hidden_effect = { CHI_alibaba_apply_export_broker = yes } ai_chance = { base = 100 } } } # ByteDance corporate history country_event = { id = CHI_semiconductor_events.340 title = CHI_semiconductor_events.340.t desc = CHI_semiconductor_events.340.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_bytedance_algorithmic_feed } NOT = { has_country_flag = CHI_bytedance_editorial_control } } option = { name = CHI_semiconductor_events.340.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.340.a executed" set_temp_variable = { treasury_change = -2.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.340.t bonus = 0.15 uses = 1 category = CAT_ai } set_country_flag = CHI_bytedance_algorithmic_feed ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.340.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.340.b executed" add_tech_bonus = { name = CHI_semiconductor_events.340.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_bytedance_editorial_control ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.341 title = CHI_semiconductor_events.341.t desc = CHI_semiconductor_events.341.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_bytedance_short_video } NOT = { has_country_flag = CHI_bytedance_news_only } } option = { name = CHI_semiconductor_events.341.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.341.a executed" set_temp_variable = { treasury_change = -4.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.341.t bonus = 0.15 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_bytedance_short_video ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.341.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.341.b executed" add_tech_bonus = { name = CHI_semiconductor_events.341.t bonus = 0.10 uses = 1 category = CAT_ai } set_country_flag = CHI_bytedance_news_only ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.342 title = CHI_semiconductor_events.342.t desc = CHI_semiconductor_events.342.d picture = GFX_politics_censorship is_triggered_only = yes trigger = { NOT = { has_country_flag = CHI_bytedance_content_compliance } NOT = { has_country_flag = CHI_bytedance_contested_order } } option = { name = CHI_semiconductor_events.342.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.342.a executed" set_temp_variable = { treasury_change = -3.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.342.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_bytedance_content_compliance ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.342.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.342.b executed" add_tech_bonus = { name = CHI_semiconductor_events.342.t bonus = 0.10 uses = 1 category = CAT_ai } set_country_flag = CHI_bytedance_contested_order ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.343 title = CHI_semiconductor_events.343.t desc = CHI_semiconductor_events.343.d picture = GFX_CHI_semiconductor_fab is_triggered_only = yes trigger = { has_country_flag = CHI_bytedance_short_video NOT = { has_country_flag = CHI_bytedance_algorithm_withheld } NOT = { has_country_flag = CHI_bytedance_us_carve_out } } option = { name = CHI_semiconductor_events.343.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.343.a executed" add_tech_bonus = { name = CHI_semiconductor_events.343.t bonus = 0.10 uses = 1 category = CAT_ai } set_country_flag = CHI_bytedance_algorithm_withheld ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = CHI_semiconductor_events.343.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.343.b executed" set_temp_variable = { treasury_change = 5.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.343.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_bytedance_us_carve_out ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } } } } country_event = { id = CHI_semiconductor_events.344 title = CHI_semiconductor_events.344.t desc = CHI_semiconductor_events.344.d picture = GFX_court is_triggered_only = yes trigger = { has_country_flag = CHI_bytedance_short_video NOT = { has_country_flag = CHI_bytedance_us_carve_out } NOT = { has_country_flag = CHI_bytedance_litigated } NOT = { has_country_flag = CHI_bytedance_partitioned } } option = { name = CHI_semiconductor_events.344.a log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.344.a executed" set_temp_variable = { treasury_change = -4.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.344.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = CHI_bytedance_litigated ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = CHI_semiconductor_events.344.b log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.344.b executed" set_temp_variable = { treasury_change = 4.00 } modify_treasury_effect = yes add_tech_bonus = { name = CHI_semiconductor_events.344.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = CHI_bytedance_partitioned ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = CHI_semiconductor_events.345 title = CHI_semiconductor_events.345.t desc = CHI_semiconductor_events.345.d picture = GFX_computer is_triggered_only = yes trigger = { CHI_bytedance_outcome_settled = no } option = { name = CHI_semiconductor_events.345.a trigger = { has_country_flag = CHI_bytedance_short_video has_country_flag = CHI_bytedance_algorithm_withheld } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.345.a executed" effect_tooltip = { add_ideas = CHI_bytedance_sovereign_recommendation_engine } hidden_effect = { CHI_bytedance_apply_sovereign_engine = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.345.b trigger = { has_country_flag = CHI_bytedance_short_video NOT = { has_country_flag = CHI_bytedance_algorithm_withheld } } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.345.b executed" effect_tooltip = { add_timed_idea = { idea = CHI_bytedance_global_attention_platform days = 365 } } hidden_effect = { CHI_bytedance_apply_global_attention = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.345.c trigger = { has_country_flag = CHI_bytedance_content_compliance NOT = { has_country_flag = CHI_bytedance_short_video } } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.345.c executed" effect_tooltip = { add_timed_idea = { idea = CHI_bytedance_licensed_information_utility days = 365 } } hidden_effect = { CHI_bytedance_apply_licensed_utility = yes } ai_chance = { base = 100 } } option = { name = CHI_semiconductor_events.345.e trigger = { NOT = { has_country_flag = CHI_bytedance_short_video } NOT = { has_country_flag = CHI_bytedance_content_compliance } } log = "[GetDateText]: [Root.GetName]: CHI_semiconductor_events.345.e executed" effect_tooltip = { add_timed_idea = { idea = CHI_bytedance_editorial_news_group days = 365 } } hidden_effect = { CHI_bytedance_apply_editorial_group = yes } ai_chance = { base = 100 } } }