add_namespace = preah_vihear add_namespace = preah_vihear_news country_event = { id = preah_vihear.1 title = preah_vihear.1.t desc = preah_vihear.1.d picture = GFX_politics_demands is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.1.a executed" name = preah_vihear.1.a add_war_support = 0.02 ai_chance = { base = 10 } } } country_event = { id = preah_vihear.5 title = preah_vihear.5.t desc = preah_vihear.5.d picture = GFX_special_forces is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.5.a executed" name = preah_vihear.5.a set_country_flag = preah_vihear_attacked_by_sia add_war_support = 0.05 ai_chance = { base = 10 } } } country_event = { id = preah_vihear.6 title = preah_vihear.6.t desc = preah_vihear.6.d picture = GFX_weapons_arms1 is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.6.a executed" name = preah_vihear.6.a add_war_support = 0.05 ai_chance = { base = 10 } } } country_event = { id = preah_vihear.10 title = preah_vihear.10.t desc = preah_vihear.10.d picture = GFX_american_troops is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.10.a executed" name = preah_vihear.10.a if = { limit = { original_tag = SIA } add_war_support = 0.05 add_political_power = 100 army_experience = 25 add_to_variable = { THIS.preah_vihear_war_progress = 10 } clamp_variable = { var = THIS.preah_vihear_war_progress min = 0 max = 100 } custom_effect_tooltip = preah_vihear_progress_increase_10_tt add_to_variable = { GLOBAL.preah_vihear_tension = 10 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_increase_10_tt clr_country_flag = preah_vihear_clash_active } if = { limit = { original_tag = CBD } add_war_support = -0.05 add_political_power = -100 add_stability = -0.03 subtract_from_variable = { THIS.preah_vihear_war_progress = 10 } clamp_variable = { var = THIS.preah_vihear_war_progress min = 0 max = 100 } custom_effect_tooltip = preah_vihear_progress_decrease_10_tt } ai_chance = { base = 10 } } } country_event = { id = preah_vihear.11 title = preah_vihear.11.t desc = preah_vihear.11.d picture = GFX_event_pmcs is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.11.a executed" name = preah_vihear.11.a if = { limit = { original_tag = CBD } add_war_support = 0.05 add_political_power = 75 army_experience = 30 add_to_variable = { THIS.preah_vihear_war_progress = 5 } clamp_variable = { var = THIS.preah_vihear_war_progress min = 0 max = 100 } custom_effect_tooltip = preah_vihear_progress_increase_5_tt } if = { limit = { original_tag = SIA } add_war_support = -0.08 add_political_power = -150 add_stability = -0.05 subtract_from_variable = { THIS.preah_vihear_war_progress = 5 } clamp_variable = { var = THIS.preah_vihear_war_progress min = 0 max = 100 } custom_effect_tooltip = preah_vihear_progress_decrease_5_tt subtract_from_variable = { GLOBAL.preah_vihear_tension = 10 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_decrease_10_tt clr_country_flag = preah_vihear_clash_active } ai_chance = { base = 10 } } } country_event = { id = preah_vihear.12 title = preah_vihear.12.t desc = preah_vihear.12.d picture = GFX_Military_Reform is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.12.a executed" name = preah_vihear.12.a add_war_support = -0.02 army_experience = 10 subtract_from_variable = { THIS.preah_vihear_war_progress = 3 } clamp_variable = { var = THIS.preah_vihear_war_progress min = 0 max = 100 } custom_effect_tooltip = preah_vihear_progress_decrease_3_tt if = { limit = { has_country_flag = preah_vihear_clash_active } clr_country_flag = preah_vihear_clash_active } ai_chance = { base = 10 } } } country_event = { id = preah_vihear.13 title = preah_vihear.13.t desc = preah_vihear.13.d picture = GFX_special_forces is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.13.a executed" name = preah_vihear.13.a if = { limit = { original_tag = CBD } add_war_support = 0.05 add_political_power = 100 army_experience = 25 add_to_variable = { THIS.preah_vihear_war_progress = 10 } clamp_variable = { var = THIS.preah_vihear_war_progress min = 0 max = 100 } custom_effect_tooltip = preah_vihear_progress_increase_10_tt clr_country_flag = preah_vihear_clash_active } if = { limit = { original_tag = SIA } add_war_support = -0.05 add_political_power = -100 add_stability = -0.03 subtract_from_variable = { GLOBAL.preah_vihear_tension = 15 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_decrease_15_tt subtract_from_variable = { THIS.preah_vihear_war_progress = 10 } clamp_variable = { var = THIS.preah_vihear_war_progress min = 0 max = 100 } custom_effect_tooltip = preah_vihear_progress_decrease_10_tt } ai_chance = { base = 10 } } } country_event = { id = preah_vihear.14 title = preah_vihear.14.t desc = preah_vihear.14.d picture = GFX_weapons_arms1 is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.14.a executed" name = preah_vihear.14.a if = { limit = { original_tag = SIA } add_war_support = 0.05 add_political_power = 75 army_experience = 30 add_to_variable = { GLOBAL.preah_vihear_tension = 5 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_increase_5_tt add_to_variable = { THIS.preah_vihear_war_progress = 5 } clamp_variable = { var = THIS.preah_vihear_war_progress min = 0 max = 100 } custom_effect_tooltip = preah_vihear_progress_increase_5_tt } if = { limit = { original_tag = CBD } add_war_support = -0.08 add_political_power = -150 add_stability = -0.05 subtract_from_variable = { THIS.preah_vihear_war_progress = 5 } clamp_variable = { var = THIS.preah_vihear_war_progress min = 0 max = 100 } custom_effect_tooltip = preah_vihear_progress_decrease_5_tt clr_country_flag = preah_vihear_clash_active } ai_chance = { base = 10 } } } country_event = { id = preah_vihear.20 title = preah_vihear.20.t desc = preah_vihear.20.d picture = GFX_handshake_black is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.20.a executed" name = preah_vihear.20.a add_political_power = 25 subtract_from_variable = { GLOBAL.preah_vihear_tension = 40 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_decrease_40_tt add_timed_idea = { idea = preah_vihear_observers days = 365 } remove_opinion_modifier = { target = SIA modifier = minor_border_dispute } remove_opinion_modifier = { target = SIA modifier = preah_vihear_dispute } set_global_flag = GLOBAL_preah_vihear_resolved SIA = { add_timed_idea = { idea = preah_vihear_observers days = 365 } remove_opinion_modifier = { target = CBD modifier = minor_border_dispute } remove_opinion_modifier = { target = CBD modifier = preah_vihear_dispute } country_event = preah_vihear.22 } news_event = preah_vihear_news.2 ai_chance = { base = 7 } } option = { log = "[GetDateText]: [This.GetName]: preah_vihear.20.b executed" name = preah_vihear.20.b add_political_power = -25 add_to_variable = { GLOBAL.preah_vihear_tension = 10 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_increase_10_tt SIA = { country_event = preah_vihear.23 } ai_chance = { base = 3 } } } country_event = { id = preah_vihear.21 title = preah_vihear.21.t desc = preah_vihear.21.d picture = GFX_negotiations is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.21.a executed" name = preah_vihear.21.a add_political_power = 25 subtract_from_variable = { GLOBAL.preah_vihear_tension = 40 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_decrease_40_tt add_timed_idea = { idea = preah_vihear_observers days = 365 } remove_opinion_modifier = { target = CBD modifier = minor_border_dispute } remove_opinion_modifier = { target = CBD modifier = preah_vihear_dispute } set_global_flag = GLOBAL_preah_vihear_resolved CBD = { add_timed_idea = { idea = preah_vihear_observers days = 365 } remove_opinion_modifier = { target = SIA modifier = minor_border_dispute } remove_opinion_modifier = { target = SIA modifier = preah_vihear_dispute } country_event = preah_vihear.22 } news_event = preah_vihear_news.2 ai_chance = { base = 5 } } option = { log = "[GetDateText]: [This.GetName]: preah_vihear.21.b executed" name = preah_vihear.21.b add_political_power = -25 add_to_variable = { GLOBAL.preah_vihear_tension = 10 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_increase_10_tt CBD = { country_event = preah_vihear.23 } ai_chance = { base = 5 modifier = { factor = 2 has_government = nationalist } } } } country_event = { id = preah_vihear.22 title = preah_vihear.22.t desc = preah_vihear.22.d picture = GFX_treaty is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.22.a executed" name = preah_vihear.22.a add_political_power = 50 add_stability = 0.05 ai_chance = { base = 10 } } } country_event = { id = preah_vihear.23 title = preah_vihear.23.t desc = preah_vihear.23.d picture = GFX_treaty_rejected is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.23.a executed" name = preah_vihear.23.a add_war_support = 0.03 ai_chance = { base = 10 } } } country_event = { id = preah_vihear.30 title = preah_vihear.30.t desc = preah_vihear.30.d picture = GFX_court is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.30.a executed" name = preah_vihear.30.a add_political_power = -25 ai_chance = { base = 10 } } } country_event = { id = preah_vihear.31 title = preah_vihear.31.t desc = preah_vihear.31.d picture = GFX_paris_convention is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.31.a executed" name = preah_vihear.31.a add_political_power = 100 add_stability = 0.05 set_global_flag = GLOBAL_preah_vihear_icj_ruling SIA = { country_event = preah_vihear.32 } ai_chance = { base = 10 } } } country_event = { id = preah_vihear.32 title = preah_vihear.32.t desc = preah_vihear.32.d picture = GFX_declined_offer_no is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.32.a executed" name = preah_vihear.32.a add_stability = -0.03 ai_chance = { base = 10 } } } country_event = { id = preah_vihear.35 title = preah_vihear.35.t desc = preah_vihear.35.d picture = GFX_political_deal is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.35.a executed" name = preah_vihear.35.a add_political_power = 100 add_stability = 0.1 ai_chance = { base = 10 } } } country_event = { id = preah_vihear.36 title = preah_vihear.36.t desc = preah_vihear.36.d picture = GFX_event_pmcs is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.36.a executed" name = preah_vihear.36.a add_war_support = 0.1 add_political_power = 50 ai_chance = { base = 10 } } } country_event = { id = preah_vihear.40 title = preah_vihear.40.t desc = preah_vihear.40.d picture = GFX_Military_Reform is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.40.a executed" name = preah_vihear.40.a add_war_support = -0.01 add_manpower = -20 subtract_from_variable = { THIS.preah_vihear_readiness = 5 } clamp_variable = { var = THIS.preah_vihear_readiness min = 0 max = 100 } custom_effect_tooltip = preah_vihear_readiness_decrease_5_tt } } country_event = { id = preah_vihear.41 title = preah_vihear.41.t desc = preah_vihear.41.d picture = GFX_politics_demands is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.41.a executed" name = preah_vihear.41.a add_political_power = -10 subtract_from_variable = { GLOBAL.preah_vihear_tension = 8 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_decrease_8_tt } } country_event = { id = preah_vihear.100 title = preah_vihear.100.t desc = preah_vihear.100.d picture = GFX_politics_talks is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.100.a executed" name = preah_vihear.100.a add_political_power = -50 add_war_support = 0.05 add_to_variable = { GLOBAL.preah_vihear_tension = 15 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_increase_15_tt add_opinion_modifier = { target = CBD modifier = preah_vihear_dispute } CBD = { add_opinion_modifier = { target = SIA modifier = preah_vihear_dispute } } ai_chance = { base = 5 modifier = { factor = 3 has_government = nationalist } } } option = { log = "[GetDateText]: [This.GetName]: preah_vihear.100.b executed" name = preah_vihear.100.b add_political_power = 25 add_to_variable = { GLOBAL.preah_vihear_tension = 5 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_increase_5_tt ai_chance = { base = 5 modifier = { factor = 2 NOT = { has_government = nationalist } } } } } country_event = { id = preah_vihear.101 title = preah_vihear.101.t desc = preah_vihear.101.d picture = GFX_politics_talks is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.101.a executed" name = preah_vihear.101.a add_political_power = 100 add_stability = 0.05 ai_chance = { base = 10 } } } # The Noppadon Communique - Cambodia's UNESCO listing bid was co-signed by our own foreign # minister before the Constitutional Court struck it down. country_event = { id = preah_vihear.110 title = preah_vihear.110.t desc = preah_vihear.110.d picture = GFX_political_deal is_triggered_only = yes trigger = { original_tag = SIA } option = { log = "[GetDateText]: [This.GetName]: preah_vihear.110.a executed" name = preah_vihear.110.a add_political_power = -50 set_temp_variable = { coup_delta = 15 } SIA_coup_set_risk = yes ai_chance = { base = 5 modifier = { factor = 2 has_country_flag = SIA_path_populist } } } option = { log = "[GetDateText]: [This.GetName]: preah_vihear.110.b executed" name = preah_vihear.110.b add_to_variable = { GLOBAL.preah_vihear_tension = 20 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_increase_20_tt add_political_power = -25 add_war_support = 0.03 ai_chance = { base = 5 modifier = { factor = 2 has_country_flag = SIA_path_royalist } } } } country_event = { id = preah_vihear.111 title = preah_vihear.111.t desc = preah_vihear.111.d picture = GFX_negotiations is_triggered_only = yes trigger = { original_tag = SIA } option = { log = "[GetDateText]: [This.GetName]: preah_vihear.111.a executed" name = preah_vihear.111.a add_to_variable = { GLOBAL.preah_vihear_tension = 25 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_increase_25_tt add_war_support = 0.03 if = { limit = { has_country_flag = SIA_path_royalist } add_stability = 0.03 } if = { limit = { has_country_flag = SIA_path_populist } add_political_power = -50 } ai_chance = { base = 5 modifier = { factor = 3 has_country_flag = SIA_path_royalist } modifier = { factor = 0.5 has_country_flag = SIA_path_populist } } } option = { log = "[GetDateText]: [This.GetName]: preah_vihear.111.b executed" name = preah_vihear.111.b add_to_variable = { GLOBAL.preah_vihear_tension = 10 } clamp_variable = { var = GLOBAL.preah_vihear_tension min = 0 max = 100 } custom_effect_tooltip = preah_vihear_tension_increase_10_tt if = { limit = { has_country_flag = SIA_path_royalist } add_stability = -0.02 } ai_chance = { base = 5 modifier = { factor = 3 has_country_flag = SIA_path_populist } modifier = { factor = 0.5 has_country_flag = SIA_path_royalist } } } } country_event = { id = preah_vihear.112 title = preah_vihear.112.t desc = preah_vihear.112.d picture = GFX_politics_protest is_triggered_only = yes trigger = { check_variable = { GLOBAL.preah_vihear_tension > 60 } } option = { log = "[GetDateText]: [This.GetName]: preah_vihear.112.a executed" name = preah_vihear.112.a if = { limit = { has_idea = SIA_pt_tier_surge } add_stability = -0.08 set_temp_variable = { coup_delta = 15 } } else_if = { limit = { has_idea = SIA_pt_tier_rising } add_stability = -0.05 set_temp_variable = { coup_delta = 10 } } else = { add_stability = -0.03 set_temp_variable = { coup_delta = 5 } } SIA_coup_set_risk = yes ai_chance = { base = 10 } } } country_event = { id = preah_vihear.120 title = preah_vihear.120.t desc = preah_vihear.120.d picture = GFX_UN_gen_assembly is_triggered_only = yes trigger = { original_tag = SIA } option = { log = "[GetDateText]: [This.GetName]: preah_vihear.120.a executed" name = preah_vihear.120.a add_political_power = -10 ai_chance = { base = 10 } } } country_event = { id = preah_vihear.121 title = preah_vihear.121.t desc = preah_vihear.121.d picture = GFX_handshake_black is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.121.a executed" name = preah_vihear.121.a add_political_power = 15 add_timed_idea = { idea = preah_vihear_observers days = 180 } if = { limit = { original_tag = SIA } CBD = { add_timed_idea = { idea = preah_vihear_observers days = 180 } } } if = { limit = { original_tag = CBD } SIA = { add_timed_idea = { idea = preah_vihear_observers days = 180 } } } ai_chance = { base = 7 } } option = { name = preah_vihear.121.b ai_chance = { base = 3 modifier = { factor = 2 has_government = nationalist } } } } country_event = { id = preah_vihear.130 title = preah_vihear.130.t desc = preah_vihear.130.d picture = GFX_declined_offer_no is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.130.a executed" name = preah_vihear.130.a add_stability = -0.03 add_political_power = -25 ai_chance = { base = 7 modifier = { factor = 2 NOT = { has_government = nationalist } } } } option = { log = "[GetDateText]: [This.GetName]: preah_vihear.130.b executed" name = preah_vihear.130.b add_war_support = 0.1 add_political_power = -50 if = { limit = { original_tag = SIA } set_temp_variable = { wargoal_on = CBD } set_temp_variable = { wargoal_type = 0 } add_threat_from_wargoal_effect = yes create_wargoal = { type = take_state_focus target = CBD generator = { 512 } } } if = { limit = { original_tag = CBD } set_temp_variable = { wargoal_on = SIA } set_temp_variable = { wargoal_type = 0 } add_threat_from_wargoal_effect = yes create_wargoal = { type = take_state_focus target = SIA generator = { 506 } } } ai_chance = { base = 3 modifier = { factor = 3 has_government = nationalist } } } } # Northern Khmer annexed - fired at Cambodia once Thailand's capture decision transfers the # disputed state, ending the dispute in Bangkok's favor. country_event = { id = preah_vihear.131 title = preah_vihear.131.t desc = preah_vihear.131.d picture = GFX_declined_offer_no is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: preah_vihear.131.a executed" name = preah_vihear.131.a add_stability = -0.05 add_political_power = -50 ai_chance = { base = 7 modifier = { factor = 2 NOT = { has_government = nationalist } } } } option = { log = "[GetDateText]: [This.GetName]: preah_vihear.131.b executed" name = preah_vihear.131.b add_war_support = 0.10 add_political_power = -25 set_temp_variable = { wargoal_on = SIA } set_temp_variable = { wargoal_type = 0 } add_threat_from_wargoal_effect = yes create_wargoal = { type = take_state_focus target = SIA generator = { 512 } } ai_chance = { base = 3 modifier = { factor = 3 has_government = nationalist } } } } news_event = { id = preah_vihear_news.1 title = preah_vihear_news.1.t desc = preah_vihear_news.1.d picture = GFX_news_press_conference is_triggered_only = yes major = yes option = { name = preah_vihear_news.1.o1 } } news_event = { id = preah_vihear_news.2 title = preah_vihear_news.2.t desc = preah_vihear_news.2.d picture = GFX_news_press_conference is_triggered_only = yes major = yes option = { name = preah_vihear_news.2.o1 } } news_event = { id = preah_vihear_news.3 title = preah_vihear_news.3.t desc = preah_vihear_news.3.d picture = GFX_news_event_war is_triggered_only = yes major = yes option = { name = preah_vihear_news.3.o1 } } news_event = { id = preah_vihear_news.4 title = preah_vihear_news.4.t desc = { text = preah_vihear_news.4.d_sia trigger = { has_global_flag = GLOBAL_preah_vihear_de_facto_SIA } } desc = { text = preah_vihear_news.4.d_cbd trigger = { has_global_flag = GLOBAL_preah_vihear_de_facto_CBD } } picture = GFX_news_generic_soldiers is_triggered_only = yes major = yes option = { name = preah_vihear_news.4.o1 } }