add_namespace = karabakh add_namespace = karabakh_news # Armenia Attacks from Stepanakert country_event = { id = karabakh.1 title = karabakh.1.t desc = karabakh.1.d picture = GFX_arm_war_decl is_triggered_only = yes option = { name = karabakh.1.a ai_chance = { base = 10 } } } country_event = { id = karabakh.2 title = karabakh.2.t desc = karabakh.2.d picture = GFX_win_armenian is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.2.a executed" name = karabakh.2.a if = { limit = { original_tag = ARM } add_war_support = 0.05 add_political_power = 100 army_experience = 35 } if = { limit = { original_tag = AZE } add_war_support = -0.05 add_political_power = -100 } ai_chance = { base = 10 } } } country_event = { id = karabakh.3 title = karabakh.3.t desc = karabakh.3.d picture = GFX_win_azerbaijani is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.3.a executed" name = karabakh.3.a if = { limit = { original_tag = AZE } add_war_support = 0.05 add_political_power = 50 army_experience = 35 } if = { limit = { original_tag = ARM } add_war_support = -0.08 add_political_power = -150 } ai_chance = { base = 10 } } } country_event = { id = karabakh.4 title = karabakh.4.t desc = karabakh.4.d picture = GFX_win_azerbaijani is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.4.a executed" name = karabakh.4.a if = { limit = { original_tag = AZE } add_war_support = -0.03 } if = { limit = { original_tag = ARM } add_war_support = -0.03 } ai_chance = { base = 10 } } } # Azeris Attack Stepanakert country_event = { id = karabakh.5 title = karabakh.5.t desc = karabakh.5.d picture = GFX_azerbaijan_fight is_triggered_only = yes option = { name = karabakh.5.a ai_chance = { base = 10 } } } country_event = { id = karabakh.6 title = karabakh.6.t desc = karabakh.6.d picture = GFX_win_azerbaijani is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.2.a executed" name = karabakh.6.a if = { limit = { original_tag = AZE } add_war_support = 0.05 add_political_power = 100 army_experience = 35 } if = { limit = { original_tag = ARM } add_war_support = -0.05 add_political_power = -100 } ai_chance = { base = 10 } } } country_event = { id = karabakh.7 title = karabakh.7.t desc = karabakh.7.d picture = GFX_arm_nkr_army is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.7.a executed" name = karabakh.7.a if = { limit = { original_tag = ARM } add_war_support = 0.05 add_political_power = 50 army_experience = 35 } if = { limit = { original_tag = AZE } add_war_support = -0.08 add_political_power = -150 } ai_chance = { base = 10 } } } #Drone recon succ country_event = { id = karabakh.8 title = karabakh.8.t desc = karabakh.8.d picture = GFX_AFG_Drone_Event is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.8.a executed" name = karabakh.8.a if = { limit = { original_tag = ARM } random_list = { 20 = { add_intel = { target = AZE civilian_intel = 1 army_intel = 2 navy_intel = 0 airforce_intel = 1 } } 20 = { add_intel = { target = AZE civilian_intel = 2 army_intel = 0 navy_intel = 0 airforce_intel = 1 } } 20 = { add_intel = { target = AZE civilian_intel = 1 army_intel = 1 navy_intel = 0 airforce_intel = 1 } } 20 = { add_intel = { target = AZE civilian_intel = 0 army_intel = 3 navy_intel = 1 airforce_intel = 1 } } 20 = { add_intel = { target = AZE civilian_intel = 3 army_intel = 0 navy_intel = 1 airforce_intel = 2 } } } } if = { limit = { original_tag = AZE } random_list = { 20 = { add_intel = { target = ARM civilian_intel = 1 army_intel = 2 navy_intel = 0 airforce_intel = 1 } } 20 = { add_intel = { target = ARM civilian_intel = 2 army_intel = 0 navy_intel = 0 airforce_intel = 1 } } 20 = { add_intel = { target = ARM civilian_intel = 1 army_intel = 1 navy_intel = 0 airforce_intel = 1 } } 20 = { add_intel = { target = ARM civilian_intel = 0 army_intel = 3 navy_intel = 1 airforce_intel = 1 } } 20 = { add_intel = { target = ARM civilian_intel = 3 army_intel = 0 navy_intel = 1 airforce_intel = 2 } } } } ai_chance = { base = 10 } } } #Drone recon fail country_event = { id = karabakh.9 title = karabakh.9.t desc = karabakh.9.d picture = GFX_AFG_Drone_Event is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.9.a executed" name = karabakh.9.a add_war_support = -0.05 set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes if = { limit = { original_tag = AZE } ARM = { country_event = karabakh.101 } } if = { limit = { original_tag = ARM } AZE = { country_event = karabakh.101 } } ai_chance = { base = 10 } } } #Notify oppos country_event = { id = karabakh.101 title = karabakh.101.t desc = karabakh.101.d picture = GFX_AFG_Drone_Event is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.101.a executed" name = karabakh.101.a add_war_support = 0.05 air_experience = 15 } } ###########NEGOTIATIONS country_event = { id = karabakh.10 title = karabakh.10.t desc = karabakh.10.d picture = GFX_armaze_negot is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.10.a executed" name = karabakh.10.a add_political_power = -100 add_stability = -0.05 AZE = { country_event = karabakh.11 } ai_chance = { base = 1 } } option = { log = "[GetDateText]: [This.GetName]: karabakh.10.b executed" name = karabakh.10.b AZE = { country_event = karabakh.12 } ai_chance = { base = 1 } } } country_event = { id = karabakh.11 title = karabakh.11.t desc = karabakh.11.d picture = GFX_armaze_negot is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.11.a executed" name = karabakh.11.a news_event = { id = karabakh_news.2 days = 1 } add_stability = 0.3 set_country_flag = karabakh_regulated_flag transfer_state = 1037 1037 = { remove_core_of = NKR remove_core_of = ARM } ARM = { set_country_flag = karabakh_regulated_flag remove_ideas = ARM_has_artsakh_idea annex_country = { target = NKR transfer_troops = yes } } 710 = { remove_core_of = AZE } 1036 = { remove_core_of = AZE } diplomatic_relation = { country = ARM relation = non_aggression_pact active = no } ai_chance = { base = 1 modifier = { factor = 5 strength_ratio = { tag = ARM ratio > 1 } } } } option = { log = "[GetDateText]: [This.GetName]: karabakh.11.b executed" name = karabakh.11.b ARM = { country_event = karabakh.13 } ai_chance = { base = 2 } } } country_event = { id = karabakh.12 title = karabakh.12.t desc = karabakh.12.d picture = GFX_armaze_negot is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.12.a executed" name = karabakh.12.a add_threat = 1 set_country_flag = { flag = negot_recent_was days = 300 value = 1 } set_variable = { NKR_artsakh_stage = 1 } ARM = { country_event = karabakh.13 set_country_flag = { flag = negot_recent_was days = 300 value = 1 } set_variable = { NKR_artsakh_stage = 1 } } update_arm_artsakh_dirty_variable = yes custom_effect_tooltip = next_negot_stage_tt ai_chance = { base = 6 } } option = { log = "[GetDateText]: [This.GetName]: karabakh.12.b executed" name = karabakh.12.b news_event = { id = karabakh_news.2 days = 1 } add_stability = 0.3 add_political_power = -150 set_country_flag = karabakh_regulated_flag ARM = { set_country_flag = karabakh_regulated_flag remove_ideas = ARM_has_artsakh_idea annex_country = { target = NKR transfer_troops = yes } } 710 = { remove_core_of = AZE } 1036 = { remove_core_of = AZE } 1037 = { remove_core_of = AZE } diplomatic_relation = { country = ARM relation = non_aggression_pact active = no } ai_chance = { base = 0 } } } country_event = { id = karabakh.13 title = karabakh.13.t desc = karabakh.13.d picture = GFX_armaze_negot is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.13.a executed" name = karabakh.13.a custom_effect_tooltip = next_negot_stage_tt ai_chance = { base = 6 } } } news_event = { id = karabakh_news.2 title = karabakh_news.2.t desc = karabakh_news.2.d picture = GFX_news_artsakh is_triggered_only = yes major = yes option = { name = karabakh_news.2.o1 } } country_event = { id = karabakh.14 title = karabakh.14.t desc = karabakh.14.d picture = GFX_armaze_negot is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.14.a executed" name = karabakh.14.a ARM = { country_event = karabakh.15 } ai_chance = { base = 6 } } option = { log = "[GetDateText]: [This.GetName]: karabakh.14.a executed" name = karabakh.14.b news_event = { id = karabakh_news.2 days = 1 } add_stability = 0.3 add_political_power = -150 set_country_flag = karabakh_regulated_flag ARM = { set_country_flag = karabakh_regulated_flag remove_ideas = ARM_has_artsakh_idea annex_country = { target = NKR transfer_troops = yes } } 710 = { remove_core_of = AZE } 1036 = { remove_core_of = AZE } 1037 = { remove_core_of = AZE } diplomatic_relation = { country = ARM relation = non_aggression_pact active = no } ai_chance = { base = 1 modifier = { factor = 5 strength_ratio = { tag = ARM ratio > 1 } } } } } country_event = { id = karabakh.15 title = karabakh.15.t desc = karabakh.15.d picture = GFX_armaze_negot is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.15.a executed" name = karabakh.15.a add_threat = 1 set_country_flag = { flag = negot_recent_was days = 600 value = 1 } set_variable = { NKR_artsakh_stage = 2 } AZE = { country_event = karabakh.16 set_country_flag = { flag = negot_recent_was days = 600 value = 1 } set_variable = { NKR_artsakh_stage = 2 } } update_arm_artsakh_dirty_variable = yes custom_effect_tooltip = next_negot_stage_two_tt ai_chance = { base = 6 } } option = { log = "[GetDateText]: [This.GetName]: karabakh.15.a executed" name = karabakh.15.b news_event = { id = karabakh_news.2 days = 1 } add_stability = 0.3 set_country_flag = karabakh_regulated_flag transfer_state = 1037 1037 = { remove_core_of = NKR remove_core_of = ARM } ARM = { set_country_flag = karabakh_regulated_flag remove_ideas = ARM_has_artsakh_idea annex_country = { target = NKR transfer_troops = yes } give_military_access = AZE } 710 = { remove_core_of = AZE } 1036 = { remove_core_of = AZE } 1035 = { set_demilitarized_zone = yes } diplomatic_relation = { country = ARM relation = non_aggression_pact active = no } ai_chance = { base = 1 modifier = { factor = 5 strength_ratio = { tag = ARM ratio > 1 } } } } } country_event = { id = karabakh.16 title = karabakh.16.t desc = karabakh.16.d picture = GFX_armaze_negot is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.16.a executed" name = karabakh.16.a custom_effect_tooltip = next_negot_stage_two_tt } } country_event = { id = karabakh.17 title = karabakh.17.t desc = karabakh.17.d picture = GFX_armaze_negot is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.17.a executed" name = karabakh.17.a ARM = { country_event = karabakh.18 } ai_chance = { base = 7 } } option = { log = "[GetDateText]: [This.GetName]: karabakh.17.b executed" name = karabakh.17.b news_event = { id = karabakh_news.2 days = 1 } add_stability = 0.4 add_political_power = -150 set_country_flag = karabakh_regulated_flag ARM = { set_country_flag = karabakh_regulated_flag remove_ideas = ARM_has_artsakh_idea annex_country = { target = NKR transfer_troops = yes } } 710 = { remove_core_of = AZE } 1036 = { remove_core_of = AZE } 1037 = { remove_core_of = AZE } diplomatic_relation = { country = ARM relation = non_aggression_pact active = no } ai_chance = { base = 1 modifier = { factor = 5 strength_ratio = { tag = ARM ratio > 1 } } } } } country_event = { id = karabakh.18 title = karabakh.18.t desc = karabakh.18.d picture = GFX_armaze_negot is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.18.a executed" name = karabakh.18.a add_threat = 1 set_country_flag = { flag = negot_recent_was days = 300 value = 1 } set_variable = { NKR_artsakh_stage = 3 } AZE = { country_event = karabakh.16 set_country_flag = { flag = negot_recent_was days = 300 value = 1 } set_variable = { NKR_artsakh_stage = 3 } } update_arm_artsakh_dirty_variable = yes custom_effect_tooltip = next_negot_stage_tt ai_chance = { base = 7 } } option = { log = "[GetDateText]: [This.GetName]: karabakh.18.b executed" name = karabakh.18.b news_event = { id = karabakh_news.2 days = 1 } add_stability = 0.3 add_political_power = -200 set_country_flag = karabakh_regulated_flag remove_ideas = ARM_has_artsakh_idea annex_country = { target = NKR transfer_troops = yes } AZE = { set_country_flag = karabakh_regulated_flag } 710 = { remove_core_of = AZE } 1036 = { remove_core_of = ARM remove_core_of = NKR transfer_state_to = AZE } 1037 = { remove_core_of = ARM remove_core_of = NKR transfer_state_to = AZE } diplomatic_relation = { country = ARM relation = non_aggression_pact active = no } ai_chance = { base = 1 modifier = { factor = 5 strength_ratio = { tag = ARM ratio > 1 } } } } } country_event = { id = karabakh.24 title = karabakh.24.t desc = karabakh.24.d picture = GFX_armenian_fight is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.24.a executed" name = karabakh.24.a news_event = karabakh_news.3 ARM = { declare_war_on = { target = AZE type = puppet_wargoal_focus } } ai_chance = { base = 2 } } } news_event = { id = karabakh_news.3 title = karabakh_news.3.t desc = karabakh_news.3.d picture = GFX_news_generic_soldiers is_triggered_only = yes major = yes option = { name = karabakh_news.3.o1 } } country_event = { id = karabakh.25 title = karabakh.25.t desc = karabakh.25.d picture = GFX_armenian_artillery is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.25.a executed" name = karabakh.25.a AZE = { country_event = karabakh.26 } ai_chance = { base = 6 } } option = { log = "[GetDateText]: [This.GetName]: karabakh.25.b executed" name = karabakh.25.b add_stability = 0.02 set_temp_variable = { percent_change = -5 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = ARM } change_influence_percentage = yes set_temp_variable = { percent_change = -5 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = AZE } change_influence_percentage = yes ai_chance = { base = 4 } } } country_event = { id = karabakh.26 title = karabakh.26.t desc = karabakh.26.d picture = GFX_SOV_generic is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.26.a executed" name = karabakh.26.a add_political_power = 50 ARM = { country_event = karabakh.28 } ai_chance = { base = 6 } } option = { log = "[GetDateText]: [This.GetName]: karabakh.26.b executed" name = karabakh.26.b SOV = { country_event = karabakh.27 } add_political_power = -100 add_war_support = 0.1 add_timed_idea = { idea = international_sanctions days = 800 } set_temp_variable = { percent_change = -10 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes add_opinion_modifier = { modifier = hostile_status target = SOV } reverse_add_opinion_modifier = { modifier = hostile_status target = SOV } ai_chance = { base = 2 } } } country_event = { id = karabakh.27 title = karabakh.27.t desc = karabakh.27.d picture = GFX_war_declared is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.27.a executed" name = karabakh.27.a add_political_power = -50 effect_tooltip = { add_opinion_modifier = { modifier = hostile_status target = FROM } reverse_add_opinion_modifier = { modifier = hostile_status target = FROM } } ai_chance = { base = 6 } } } country_event = { id = karabakh.28 title = karabakh.28.t desc = karabakh.28.d picture = GFX_war_declared is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.28.a executed" name = karabakh.28.a news_event = karabakh_news.4 NKR = { white_peace = AZE set_truce = { target = AZE days = 1085 } } white_peace = AZE set_truce = { target = AZE days = 1085 } 1036 = { remove_core_of = ARM remove_core_of = NKR transfer_state_to = AZE } 1037 = { remove_core_of = ARM remove_core_of = NKR transfer_state_to = AZE } SOV = { give_guarantee = NKR } NKR = { give_military_access = SOV give_military_access = TUR } hidden_effect = { AZE = { country_event = { id = karabakh.29 days = 1085 } } } ai_chance = { base = 5 } } option = { log = "[GetDateText]: [This.GetName]: karabakh.28.b executed" name = karabakh.28.b SOV = { country_event = karabakh.27 } add_political_power = -100 add_war_support = 0.1 add_timed_idea = { idea = international_sanctions days = 800 } set_temp_variable = { percent_change = -10 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes add_opinion_modifier = { modifier = hostile_status target = SOV } reverse_add_opinion_modifier = { modifier = hostile_status target = SOV } ai_chance = { base = 5 } } } news_event = { id = karabakh_news.4 title = karabakh_news.4.t desc = karabakh_news.4.d picture = GFX_sov_nationalist_news16 is_triggered_only = yes major = yes option = { name = karabakh_news.4.o1 } } country_event = { id = karabakh.29 title = karabakh.29.t desc = karabakh.29.d picture = GFX_war_declared is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.29.a executed" name = karabakh.29.a ARM = { release = NKR } SOV = { diplomatic_relation = { country = NKR relation = guarantee active = yes } } declare_war_on = { target = NKR type = annex_everything } } } # Border Opening Events country_event = { id = karabakh.30 title = karabakh.30.t desc = karabakh.30.d picture = GFX_armaze_negot is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: karabakh.30.a executed" name = karabakh.30.a set_country_flag = arm_aze_borders_open add_stability = 0.05 add_opinion_modifier = { target = ARM modifier = large_increase } ARM = { set_country_flag = arm_aze_borders_open country_event = { id = karabakh.31 days = 1 } add_stability = 0.05 add_opinion_modifier = { target = AZE modifier = large_increase } } ai_chance = { base = 5 } } option = { log = "[GetDateText]: [This.GetName]: karabakh.30.b executed" name = karabakh.30.b add_opinion_modifier = { target = ARM modifier = medium_decrease } ARM = { country_event = { id = karabakh.31 days = 1 } add_opinion_modifier = { target = AZE modifier = medium_decrease } } ai_chance = { base = 3 } } } country_event = { id = karabakh.31 title = karabakh.31.t desc = karabakh.31.d picture = GFX_armaze_negot is_triggered_only = yes option = { name = karabakh.31.a } }