#################################### #MADE BY Iranian Maggot/BoNDeX/LordBogdanoff/PAKMAN #################################### add_namespace = Serbia add_namespace = SerbiaFocus add_namespace = ser_reading add_namespace = ser_deals add_namespace = serbia_news add_namespace = ser_dem add_namespace = ser_kos add_namespace = ser_voj add_namespace = ser_invest add_namespace = Montenegro add_namespace = kosovo add_namespace = kosovo_rec add_namespace = kosovo_un #Serbia Requere Invest country_event = { id = ser_invest.1 title = ser_invest.1.t desc = ser_invest.1.d picture = GFX_stock_market is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: ser_invest.1.a executed" name = ser_invest.1.a ai_chance = { base = 60 modifier = { add = 40 has_opinion = { target = SER value > 10 } } modifier = { factor = 0 has_war_with = SER } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } if = { limit = { OR = { original_tag = GER original_tag = USA } } set_temp_variable = { percent_change = 3.5 } set_temp_variable = { influence_target = SER } change_influence_percentage = yes SER = { country_event = { id = ser_invest.2 days = 1 } } } if = { limit = { original_tag = ITA } set_temp_variable = { percent_change = 3.5 } set_temp_variable = { influence_target = SER } change_influence_percentage = yes SER = { country_event = { id = ser_invest.3 days = 1 } } } if = { limit = { original_tag = AUS } set_temp_variable = { percent_change = 3.5 } set_temp_variable = { influence_target = SER } change_influence_percentage = yes SER = { country_event = { id = ser_invest.4 days = 1 } } } if = { limit = { original_tag = SOV } set_temp_variable = { percent_change = 3.5 } set_temp_variable = { influence_target = SER } change_influence_percentage = yes SER = { country_event = { id = ser_invest.6 days = 1 } } } if = { limit = { original_tag = CHI } set_temp_variable = { percent_change = 3.5 } set_temp_variable = { influence_target = SER } change_influence_percentage = yes SER = { country_event = { id = ser_invest.7 days = 1 } } } } option = { log = "[GetDateText]: [This.GetName]: ser_invest.1.b executed" name = ser_invest.1.b ai_chance = { base = 20 modifier = { add = 40 has_opinion = { target = SER value < -10 } } } SER = { country_event = { id = ser_invest.5 days = 1 } } } } #Serbia Requere Invest Agree Factory country_event = { id = ser_invest.2 title = ser_invest.2.t desc = ser_invest.2.d picture = GFX_treaty is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: ser_invest.2.a executed" name = ser_invest.2.a one_random_industrial_complex = yes one_random_fossil_fuel_powerplant = yes } } #Serbia Requere Invest Agree Office country_event = { id = ser_invest.3 title = ser_invest.3.t desc = ser_invest.3.d picture = GFX_treaty is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: ser_invest.3.a executed" name = ser_invest.3.a one_office_construction = yes one_random_fossil_fuel_powerplant = yes } } #Serbia Requere Invest Agree Internet country_event = { id = ser_invest.4 title = ser_invest.4.t desc = ser_invest.4.d picture = GFX_treaty is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: ser_invest.4.a executed" name = ser_invest.4.a set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes random_owned_controlled_state = { add_building_construction = { type = internet_station level = 1 instant_build = yes } } } } #Serbia Requere Invest Disagree country_event = { id = ser_invest.5 title = ser_invest.5.t desc = ser_invest.5.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = ser_invest.5.a } } #Serbia Requere Invest Russia country_event = { id = ser_invest.6 title = ser_invest.6.t desc = ser_invest.6.d picture = GFX_treaty is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: ser_invest.6.a executed" name = ser_invest.6.a one_random_infrastructure = yes } } #Serbia Requere Invest China country_event = { id = ser_invest.7 title = ser_invest.7.t desc = ser_invest.7.d picture = GFX_treaty is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: ser_invest.7.a executed" name = ser_invest.7.a set_temp_variable = { treasury_change = -1.95 } modify_treasury_effect = yes add_resource = { type = steel amount = 5 state = 131 } } } country_event = { #Arkan Assassination id = Serbia.1 title = "Arkan Assassination Attempt" desc = Serbia.1.d picture = GFX_Arkan_Assassination is_triggered_only = yes trigger = { original_tag = SER } option = { log = "[GetDateText]: [This.GetName]: Serbia.1.a executed" name = Serbia.1.a custom_effect_tooltip = Serbia.1.tt ai_chance = { base = 75 } hidden_effect = { retire_character = SER_zeljko_raznatovic country_event = { id = Serbia.2 days = 5 } } add_political_power = -75 #WAR CRIMINALS MINIGAME THIS WAR CRIMINAL SUSPECT WILL BE RESOLVED ONE STEP CLOSER TO FINISHING MECHANIC IN BEST WAY } option = { log = "[GetDateText]: [This.GetName]: Serbia.1.b executed" name = Serbia.1.b ai_chance = { base = 25 } add_stability = -0.02 add_war_support = -0.05 } } country_event = { id = Serbia.2 title = Serbia.2.t desc = Serbia.2.d picture = GFX_Arkan_Assassination is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: Serbia.2.a executed" name = Serbia.2.a add_political_power = -20 add_stability = 0.05 if = { limit = { has_nationalist_government = yes } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes } else = { set_temp_variable = { party_index = 21 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } } option = { log = "[GetDateText]: [This.GetName]: Serbia.2.b executed" name = Serbia.2.b ai_chance = { base = 25 } add_political_power = -75 add_stability = -0.02 } } country_event = { #Zoran Đinđić Assassinate Plot id = Serbia.3 #WIP title = "Uncovered Plot to Kill Zoran Đinđić" desc = Serbia.3.d picture = GFX_crime_fighting is_triggered_only = yes #picture = GFX_Arkan_Assassination trigger = { original_tag = SER has_country_flag = SER_bulldozer_revolution NOT = { has_country_flag = SER_Zoran_Live } NOT = { has_country_flag = SER_Zoran_Die } } option = { #Warn him (he lives) log = "[GetDateText]: [This.GetName]: Serbia.3.a executed" name = Serbia.3.a ai_chance = { base = 25 modifier = { OR = { NOT = { neutrality_neutral_conservatism_are_in_power = yes } AND = { western_liberals_are_in_power = yes neutrality_neutral_conservatism_are_in_coalition = yes } } add = 75 } } set_country_flag = SER_Zoran_Live custom_effect_tooltip = Serbia.3.tt.a hidden_effect = { country_event = { id = Serbia.11 days = 4 } country_event = { id = Serbia.10 days = 5 } country_event = { id = Serbia.12 days = 6 } } } option = { #Don't warn him (he dies) log = "[GetDateText]: [This.GetName]: Serbia.3.b executed" name = Serbia.3.b ai_chance = { base = 75 modifier = { OR = { NOT = { neutrality_neutral_conservatism_are_in_power = yes } AND = { western_liberals_are_in_power = yes neutrality_neutral_conservatism_are_in_coalition = yes } } add = -75 } } set_country_flag = SER_Zoran_Die custom_effect_tooltip = Serbia.3.tt.b hidden_effect = { country_event = { id = Serbia.9 days = 10 } } } } country_event = { #2010 Earthquake id = Serbia.5 title = "5.5 Magnitude Earthquake Hits Kraljevo!" desc = Serbia.5.d picture = GFX_broken_infrastructure is_triggered_only = yes trigger = { original_tag = SER } immediate = { add_stability = -0.05 add_manpower = -1000 } option = { log = "[GetDateText]: [This.GetName]: Serbia.5.a executed" name = Serbia.5.a ai_chance = { base = 50 } set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes add_political_power = 60 add_stability = 0.05 random_owned_controlled_state = { limit = { NOT = { state = 134 } industrial_complex > 0 } remove_building = { type = industrial_complex level = 1 } } } option = { log = "[GetDateText]: [This.GetName]: Serbia.5.b executed" name = Serbia.5.b ai_chance = { base = 50 } random_owned_controlled_state = { limit = { NOT = { state = 134 } infrastructure > 0 } remove_building = { type = infrastructure level = 1 } } add_manpower = -2000 custom_effect_tooltip = Serbia.5.tt } } country_event = { #2014 Floods id = Serbia.6 #WIP title = "Cyclone Tamara Causes Massive Flooding!" desc = Serbia.6.d picture = GFX_typhoon is_triggered_only = yes #picture = GFX_Arkan_Assassination trigger = { original_tag = SER } option = { log = "[GetDateText]: [This.GetName]: Serbia.6.a executed" name = Serbia.6.a add_manpower = -500 random_owned_controlled_state = { limit = { NOT = { state = 134 } infrastructure > 0 } remove_building = { type = infrastructure level = 1 } } ai_chance = { base = 50 } } } country_event = { #2018 Floods id = Serbia.7 #WIP title = "Flash Floods Damage Agriculture!" desc = Serbia.7.d picture = GFX_generic_tractor_manufacturer is_triggered_only = yes #picture = GFX_Arkan_Assassination trigger = { original_tag = SER } option = { log = "[GetDateText]: [This.GetName]: Serbia.7.a executed" name = Serbia.7.a set_temp_variable = { temp_opinion = 5 } change_landowners_opinion = yes ai_chance = { base = 75 } } option = { log = "[GetDateText]: [This.GetName]: Serbia.7.b executed" name = Serbia.7.b set_temp_variable = { temp_opinion = 10 } change_small_medium_business_owners_opinion = yes set_temp_variable = { temp_opinion = -5 } change_landowners_opinion = yes ai_chance = { base = 25 } } } country_event = { #Cyanide Spills in Danube id = Serbia.8 #WIP title = Serbia.8.t desc = Serbia.8.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture = GFX_Arkan_Assassination immediate = { BUL = { country_event = { id = Serbia.8 days = 1 } } } option = { log = "[GetDateText]: [This.GetName]: Serbia.8.a executed" name = Serbia.8.a set_temp_variable = { tag_index = SER.id } set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes add_political_power = -100 ROM = { add_opinion_modifier = { target = SER modifier = blame_us_for_cyanide_spill } add_opinion_modifier = { target = BUL modifier = blame_us_for_cyanide_spill } } SER = { add_opinion_modifier = { target = ROM modifier = caused_cyanide_spill } } BUL = { add_opinion_modifier = { target = ROM modifier = caused_cyanide_spill } } ai_chance = { base = 25 } } option = { log = "[GetDateText]: [This.GetName]: Serbia.8.b executed" name = Serbia.8.b set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { treasury_change = -15 } modify_treasury_effect = yes SER = { add_opinion_modifier = { target = ROM modifier = cooperated_to_clean_up_cyanide_spill } } ROM = { add_opinion_modifier = { target = SER modifier = cooperated_to_clean_up_cyanide_spill } } ai_chance = { base = 75 } } } ######## #Some more Zoran Đinđić related stuff ######## country_event = { #Zoran Đinđić Assassinated id = Serbia.9 title = "Zoran Đinđić Assassinated!" desc = Serbia.9.d picture = GFX_court is_triggered_only = yes fire_only_once = yes #picture = GFX_Arkan_Assassination trigger = { has_country_flag = SER_Zoran_Die } option = { #Operation Sabre decisions (you get to arrest people as you wish kinda maybe idk yet just brainstorming rn) name = Serbia.9.a ai_chance = { base = 75 } } option = { #Forget about it (basically) name = Serbia.9.b ai_chance = { base = 25 } } } country_event = { #Zoran Đinđić Assassinated Prevention With Đinđić In Power id = Serbia.10 #WIP title = "Assassination Attempt Prevented" desc = Serbia.10.d picture = GFX_court is_triggered_only = yes fire_only_once = yes trigger = { has_country_flag = SER_Zoran_Live western_liberals_are_in_power = yes NOT = { has_country_flag = Serbia.11_fired_first } } #picture = GFX_Arkan_Assassination immediate = { set_country_flag = Serbia.10_fired_first } option = { name = Serbia.10.a ai_chance = { base = 25 } } option = { name = Serbia.10.b ai_chance = { base = 75 } } } country_event = { #Zoran Đinđić Assassinated Prevention With Kostunica In Power id = Serbia.11 #WIP title = "Assassination Attempt Prevented" desc = Serbia.11.d picture = GFX_court is_triggered_only = yes fire_only_once = yes trigger = { has_country_flag = SER_Zoran_Live neutrality_neutral_conservatism_are_in_power = yes NOT = { has_country_flag = Serbia.10_fired_first } } #picture = GFX_Arkan_Assassination immediate = { set_country_flag = Serbia.11_fired_first } option = { name = Serbia.11.a ai_chance = { base = 75 } } option = { name = Serbia.11.b ai_chance = { base = 25 } } } country_event = { #Zoran Đinđić Assassinated Prevention With Neither Đinđić Nor Kostunica In Power id = Serbia.12 #WIP title = "Assassination Attempt Prevented" desc = Serbia.12.d picture = GFX_court is_triggered_only = yes fire_only_once = yes #picture = GFX_Arkan_Assassination trigger = { has_country_flag = SER_Zoran_Live NOT = { has_country_flag = Serbia.10_fired_first } NOT = { has_country_flag = Serbia.11_fired_first } } option = { name = Serbia.12.a ai_chance = { base = 75 } } option = { name = Serbia.12.b ai_chance = { base = 25 } } } # Montenegro Begins Independence Movements country_event = { id = Serbia.14 title = Serbia.14.t desc = Serbia.14.d picture = GFX_treaty is_triggered_only = yes fire_only_once = yes #picture = GFX_Arkan_Assassination trigger = { OR = { 134 = { is_owned_and_controlled_by = SER } MNT = { is_subject_of = SER } } } option = { log = "[GetDateText]: [This.GetName]: Serbia.14.a executed" name = Serbia.14.a set_country_flag = SER_montenegro_independence unlock_decision_category_tooltip = SER_The_Montenegro_Confederacy hidden_effect = { country_event = { id = Serbia.16 days = 425 } } ai_chance = { base = 75 } } } # Montenegro Breaks Off country_event = { id = Serbia.15 title = Serbia.15.t desc = Serbia.15.d picture = GFX_treaty is_triggered_only = yes fire_only_once = yes trigger = { OR = { 134 = { is_owned_and_controlled_by = SER } MNT = { is_subject_of = SER } } } option = { log = "[GetDateText]: [This.GetName]: Serbia.15.a executed" name = Serbia.15.a if = { limit = { MNT = { is_subject_of = SER } } set_autonomy = { target = MNT autonomy_state = autonomy_free } MNT = { drop_cosmetic_tag = yes clear_variable = dynamic_flag_variant } } else = { release = MNT MNT = { ingame_startup_nations_effect = yes } } ai_chance = { base = 75 } } } # country_event = { #Montenegrans become militarized id = Serbia.16 title = Serbia.16.t desc = Serbia.16.d picture = GFX_generic_soldiers is_triggered_only = yes fire_only_once = yes #picture = GFX_Arkan_Assassination trigger = { OR = { 134 = { is_owned_and_controlled_by = SER } MNT = { is_subject_of = SER } } } option = { log = "[GetDateText]: [This.GetName]: Serbia.16.a executed" name = Serbia.16.a custom_effect_tooltip = SER_deployments_initial set_country_flag = SER_montenegro_independence_violent add_to_variable = { var = SER_Serbian_combatants value = 450 } clamp_variable = { var = SER_Serbian_combatants min = 0 max = 8000 } # add_to_variable = { var = SER_Montenegro_combatants value = 873 } clamp_variable = { var = SER_Montenegro_combatants min = 0 max = 8000 } ai_chance = { base = 75 } } option = { log = "[GetDateText]: [This.GetName]: Serbia.16.b executed" name = Serbia.16.b if = { limit = { MNT = { is_subject_of = SER } } set_autonomy = { target = MNT autonomy_state = autonomy_free } MNT = { drop_cosmetic_tag = yes clear_variable = dynamic_flag_variant } } else = { release = MNT MNT = { ingame_startup_nations_effect = yes } } ai_chance = { base = 75 } } } # Montenegro Independence Movements Dies country_event = { id = Serbia.17 title = Serbia.17.t desc = Serbia.17.d picture = GFX_SER_montenegro_crackdown is_triggered_only = yes trigger = { OR = { 134 = { is_owned_and_controlled_by = SER } MNT = { is_subject_of = SER } } } option = { log = "[GetDateText]: [This.GetName]: Serbia.17.a executed" name = Serbia.17.a set_country_flag = SER_montenegro_independence_dead clr_country_flag = SER_montenegro_independence ai_chance = { base = 75 } } } country_event = { id = Serbia.18 title = Serbia.18.t desc = Serbia.18.d picture = GFX_treaty is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: Serbia.18.a executed" name = Serbia.18.a SER = { set_temp_variable = { wargoal_on = ROOT } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = ROOT type = annex_everything } country_event = Serbia.25 } ai_chance = { base = 80 modifier = { add = 40 strength_ratio = { tag = SER ratio > 0.6 } } modifier = { add = 20 is_in_faction = yes } modifier = { add = 20 has_opinion = { target = SER value < -20 } } } } option = { log = "[GetDateText]: [This.GetName]: Serbia.18.b executed" name = Serbia.18.b ai_chance = { base = 5 modifier = { add = 25 strength_ratio = { tag = SER ratio < 0.3 } } modifier = { add = 10 has_opinion = { target = SER value > 0 } } modifier = { factor = 0 is_in_faction = yes } } SER = { country_event = Serbia.26 add_political_power = -100 annex_country = { target = ROOT transfer_troops = yes } hidden_effect = { ROOT = { every_unit_leader = { set_nationality = SER } } add_to_variable = { treasury = ROOT.treasury } add_to_variable = { debt = ROOT.debt } add_to_variable = { int_investments = ROOT.int_investments } } } } } country_event = { id = Serbia.19 title = Serbia.19.t desc = Serbia.19.d picture = GFX_crime_fighting is_triggered_only = yes trigger = { original_tag = SER has_country_flag = SER_bulldozer_revolution } immediate = { set_country_flag = SER_milosevic_arrested } option = { name = Serbia.19.a ai_chance = { base = 85 } } option = { name = Serbia.19.b ai_chance = { base = 85 } } } country_event = { id = Serbia.20 title = Serbia.20.t desc = Serbia.20.d picture = GFX_SER_generic is_triggered_only = yes option = { name = Serbia.20.a log = "[GetDateText]: [This.GetName]: Serbia.20.a executed" KOS = { country_event = { id = Serbia.22 days = 14 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { custom_effect_tooltip = SER_KOS_normalization_tt } ai_chance = { base = 10 modifier = { add = 0.2 has_opinion = { target = SER value > 10 } } } } option = { log = "[GetDateText]: [This.GetName]: Serbia.20.b executed" name = Serbia.20.b add_political_power = 50 add_opinion_modifier = { modifier = drama target = SER } reverse_add_opinion_modifier = { modifier = drama target = SER } SER = { country_event = Serbia.21 } ai_chance = { base = 1 modifier = { add = 1.2 has_opinion = { target = SER value < 10 } } } } } country_event = { id = Serbia.21 title = Serbia.21.t desc = Serbia.21.d picture = GFX_SER_generic is_triggered_only = yes option = { name = Serbia.21.a ai_chance = { base = 85 } } } country_event = { id = Serbia.22 title = Serbia.22.t desc = Serbia.22.d picture = GFX_SER_generic is_triggered_only = yes trigger = { original_tag = KOS country_exists = SER NOT = { has_war_with = SER } } option = { log = "[GetDateText]: [This.GetName]: Serbia.22.a executed" name = Serbia.22.a if = { limit = { SER = { NOT = { OR = { has_country_leader = { name = "Slobodan Milošević" ruling_only = yes } nationalist_monarchists_are_in_power = yes nationalist_fascist_are_in_power = yes } } } } diplomatic_relation = { country = SER relation = non_aggression_pact active = yes } add_opinion_modifier = { modifier = declaration_of_friendship target = SER } reverse_add_opinion_modifier = { modifier = declaration_of_friendship target = SER } set_temp_variable = { modify_europeanism = 0.03 } europeanism_change = yes set_temp_variable = { modify_europeanism = 0.03 } set_temp_variable = { modify_europeanism_target = SER } europeanism_change = yes custom_effect_tooltip = SER_KOS_normalization_tt hidden_effect = { set_global_flag = GLOBAL_ser_kos_normalization SER = { country_event = { id = Serbia.23 days = 1 } } } } else = { # Serbia turned hardline between the proposal and the signing table country_event = { id = kosovo_rec.6 days = 1 } } ai_chance = { base = 10 modifier = { factor = 3 has_opinion = { target = SER value > 30 } } modifier = { factor = 0.2 has_opinion = { target = SER value < 0 } } } } option = { log = "[GetDateText]: [This.GetName]: Serbia.22.b executed" name = Serbia.22.b SER = { country_event = Serbia.24 } add_opinion_modifier = { modifier = drama target = SER } reverse_add_opinion_modifier = { modifier = drama target = SER } ai_chance = { base = 10 modifier = { factor = 3 has_opinion = { target = SER value < 0 } } modifier = { factor = 0.2 has_opinion = { target = SER value > 30 } } } } } country_event = { id = Serbia.23 title = Serbia.23.t desc = Serbia.23.d picture = GFX_SER_generic is_triggered_only = yes option = { name = Serbia.23.a } } country_event = { id = Serbia.24 title = Serbia.24.t desc = Serbia.24.d picture = GFX_SER_generic is_triggered_only = yes option = { name = Serbia.24.a } } country_event = { id = Serbia.25 title = Serbia.25.t desc = Serbia.25.d picture = GFX_SER_generic is_triggered_only = yes option = { name = Serbia.25.a } } country_event = { id = Serbia.26 title = Serbia.26.t desc = Serbia.26.d picture = GFX_SER_generic is_triggered_only = yes option = { name = Serbia.26.a } } country_event = { id = Serbia.27 title = Serbia.27.t desc = Serbia.27.d picture = GFX_ser_balkan_federation is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: Serbia.27.a executed" name = Serbia.27.a set_country_flag = balkan_subject_agree SER = { set_autonomy = { target = ROOT autonomy_state = autonomy_balkan_federation } } # Grant ideas if SER already completed the relevant focuses if = { limit = { SER = { has_completed_focus = SER_confederation_created } NOT = { has_idea = SER_subject_federation } } add_ideas = SER_subject_federation } if = { limit = { SER = { has_completed_focus = SER_south_european_balkan_confederation } NOT = { has_idea = SER_balkan_nation1 } } add_ideas = SER_balkan_nation1 } } } # Milosevic Extradited to The Hague (28 June 2001) country_event = { id = Serbia.28 title = Serbia.28.t desc = Serbia.28.d picture = GFX_court is_triggered_only = yes trigger = { original_tag = SER has_country_flag = SER_milosevic_arrested } option = { name = Serbia.28.a log = "[GetDateText]: [This.GetName]: Serbia.28.a executed" set_temp_variable = { modify_europeanism = 0.05 } europeanism_change = yes add_stability = -0.02 set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes custom_effect_tooltip = SER_nat_populism_gain_tt hidden_effect = { set_country_flag = SER_milosevic_extradited } ai_chance = { base = 80 modifier = { factor = 2 is_historical_focus_on = yes } } } option = { name = Serbia.28.b log = "[GetDateText]: [This.GetName]: Serbia.28.b executed" set_temp_variable = { modify_europeanism = -0.05 } europeanism_change = yes hidden_effect = { USA = { add_opinion_modifier = { target = ROOT modifier = diplomatic_insults } } } ai_chance = { base = 20 modifier = { factor = 0 is_historical_focus_on = yes } } } } # Milosevic Dies in Custody (11 March 2006) country_event = { id = Serbia.29 title = Serbia.29.t desc = Serbia.29.d picture = GFX_ser_crisis is_triggered_only = yes trigger = { original_tag = SER has_country_flag = SER_milosevic_extradited } option = { name = Serbia.29.a log = "[GetDateText]: [This.GetName]: Serbia.29.a executed" set_temp_variable = { temp_yugo_nost_gain = 4 } add_yugo_nostalgia_effect = yes ai_chance = { base = 30 } } } # The State Union of Serbia and Montenegro (4 February 2003) country_event = { id = Serbia.30 title = Serbia.30.t desc = Serbia.30.d picture = GFX_message_signing is_triggered_only = yes trigger = { original_tag = SER has_cosmetic_tag = SER_FRY has_subject = MNT } option = { name = Serbia.30.a log = "[GetDateText]: [This.GetName]: Serbia.30.a executed" drop_cosmetic_tag = yes clear_variable = dynamic_flag_variant set_cosmetic_tag = SER_MNT add_political_power = 25 ai_chance = { base = 30 } } } # Karadzic Arrested in Belgrade (21 July 2008) country_event = { id = Serbia.31 title = Serbia.31.t desc = Serbia.31.d picture = GFX_report_event_Arrest is_triggered_only = yes trigger = { original_tag = SER has_war = no NOT = { has_country_leader = { name = "Slobodan Milošević" ruling_only = yes } } } option = { name = Serbia.31.a log = "[GetDateText]: [This.GetName]: Serbia.31.a executed" set_temp_variable = { modify_europeanism = 0.05 } europeanism_change = yes add_stability = -0.02 custom_effect_tooltip = SER_icty_cooperation_karadzic_tt hidden_effect = { set_country_flag = SER_icty_cooperation_karadzic } ai_chance = { base = 80 modifier = { factor = 2 is_historical_focus_on = yes } } } option = { name = Serbia.31.b log = "[GetDateText]: [This.GetName]: Serbia.31.b executed" set_temp_variable = { modify_europeanism = -0.05 } europeanism_change = yes hidden_effect = { USA = { add_opinion_modifier = { target = ROOT modifier = diplomatic_insults } } GER = { add_opinion_modifier = { target = ROOT modifier = diplomatic_insults } } FRA = { add_opinion_modifier = { target = ROOT modifier = diplomatic_insults } } } ai_chance = { base = 20 modifier = { factor = 0 is_historical_focus_on = yes } } } } # Mladic Arrested in Lazarevo (26 May 2011) country_event = { id = Serbia.32 title = Serbia.32.t desc = Serbia.32.d picture = GFX_report_event_Arrest is_triggered_only = yes trigger = { original_tag = SER has_war = no has_country_flag = SER_icty_cooperation_karadzic } option = { name = Serbia.32.a log = "[GetDateText]: [This.GetName]: Serbia.32.a executed" set_temp_variable = { modify_europeanism = 0.05 } europeanism_change = yes add_stability = -0.02 custom_effect_tooltip = SER_icty_cooperation_complete_tt hidden_effect = { set_country_flag = SER_icty_cooperation_complete } ai_chance = { base = 80 modifier = { factor = 2 is_historical_focus_on = yes } } } option = { name = Serbia.32.b log = "[GetDateText]: [This.GetName]: Serbia.32.b executed" set_temp_variable = { modify_europeanism = -0.05 } europeanism_change = yes hidden_effect = { USA = { add_opinion_modifier = { target = ROOT modifier = diplomatic_insults } } GER = { add_opinion_modifier = { target = ROOT modifier = diplomatic_insults } } FRA = { add_opinion_modifier = { target = ROOT modifier = diplomatic_insults } } } ai_chance = { base = 20 modifier = { factor = 0 is_historical_focus_on = yes } } } } # EU Candidate Status (1 March 2012) country_event = { id = Serbia.33 title = Serbia.33.t desc = Serbia.33.d picture = GFX_european_union_flag is_triggered_only = yes trigger = { original_tag = SER has_war = no has_country_flag = SER_icty_cooperation_complete NOT = { has_country_flag = EU_candidate } NOT = { has_idea = EU_member } NOT = { has_global_flag = GAME_RULE_eu_disabled } # SER starts at 0 europeanism: 0.2 needs the full cooperative ICTY line plus at least one other pro-EU step check_variable = { europeanism > 0.19 } } option = { name = Serbia.33.a log = "[GetDateText]: [This.GetName]: Serbia.33.a executed" add_political_power = 50 add_stability = 0.02 set_temp_variable = { modify_europeanism = 0.05 } europeanism_change = yes custom_effect_tooltip = SER_recognized_eu_candidate_tt hidden_effect = { set_country_flag = EU_candidate set_eu_candidate_europeanism_floor = yes } ai_chance = { base = 30 } } } # Belgrade Embassy Riots (21 February 2008) country_event = { id = Serbia.34 title = Serbia.34.t desc = Serbia.34.d picture = GFX_politics_protest is_triggered_only = yes trigger = { original_tag = SER has_war = no country_exists = KOS KOS = { has_completed_focus = KOS_Referendum } } option = { name = Serbia.34.a log = "[GetDateText]: [This.GetName]: Serbia.34.a executed" add_stability = -0.03 set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes custom_effect_tooltip = SER_nat_populism_gain_tt hidden_effect = { USA = { add_opinion_modifier = { target = ROOT modifier = diplomatic_insults } } ENG = { add_opinion_modifier = { target = ROOT modifier = diplomatic_insults } } } ai_chance = { base = 30 } } } # country_event = { id = SerbiaFocus.1 title = SerbiaFocus.1.t desc = SerbiaFocus.1.d picture = GFX_treaty is_triggered_only = yes option = { name = SerbiaFocus.1.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.1.a executed" set_temp_variable = { percent_change = 3 } set_temp_variable = { tag_index = SER } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes SER = { country_event = { id = SerbiaFocus.2 days = 1 } } increase_exports = yes ai_chance = { base = 5 modifier = { has_opinion = { target = SER value > 19 } add = 5 } } } option = { log = "[GetDateText]: [This.GetName]: SerbiaFocus.1.b executed" name = SerbiaFocus.1.b SER = { country_event = { id = SerbiaFocus.3 days = 1 } } ai_chance = { base = 5 modifier = { has_opinion = { target = SER value < 0 } add = -5 } } } } country_event = { id = SerbiaFocus.2 title = SerbiaFocus.2.t desc = SerbiaFocus.2.d picture = GFX_treaty is_triggered_only = yes option = { name = SerbiaFocus.2.a ai_chance = { base = 75 } } } country_event = { id = SerbiaFocus.3 title = SerbiaFocus.3.t desc = SerbiaFocus.3.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = SerbiaFocus.3.a ai_chance = { base = 75 } } } country_event = { id = SerbiaFocus.4 title = SerbiaFocus.4.t desc = SerbiaFocus.4.d picture = GFX_ser_srpska is_triggered_only = yes option = { name = SerbiaFocus.4.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.4.a executed" set_temp_variable = { percent_change = 20 } set_temp_variable = { tag_index = SER } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes add_stability = -0.05 SER = { country_event = { id = SerbiaFocus.5 days = 1 } } ai_chance = { base = 5 modifier = { has_opinion = { target = SER value > 19 } add = 5 } } } option = { name = SerbiaFocus.4.b log = "[GetDateText]: [This.GetName]: SerbiaFocus.4.b executed" add_war_support = 0.05 SER = { country_event = { id = SerbiaFocus.6 days = 1 } } ai_chance = { base = 5 modifier = { has_opinion = { target = SER value < 0 } add = 5 } } } } country_event = { id = SerbiaFocus.5 title = SerbiaFocus.5.t desc = SerbiaFocus.5.d picture = GFX_ser_srpska is_triggered_only = yes option = { name = SerbiaFocus.5.a ai_chance = { base = 75 } } } # country_event = { id = SerbiaFocus.6 title = SerbiaFocus.6.t desc = SerbiaFocus.6.d picture = GFX_ser_srpska is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: SerbiaFocus.6.a executed" name = SerbiaFocus.6.a add_war_support = 0.10 ai_chance = { base = 75 } } } # country_event = { id = SerbiaFocus.7 title = SerbiaFocus.7.t desc = SerbiaFocus.7.d picture = GFX_ser_srpska is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: SerbiaFocus.7.a executed" name = SerbiaFocus.7.a BOS = { release_puppet = RSK } SER = { if = { limit = { has_global_flag = GAME_RULE_allow_colored_puppets } set_autonomy = { target = RSK autonomy_state = autonomy_autonomous_state_colored end_wars = yes end_civil_wars = yes } } else = { set_autonomy = { target = RSK autonomy_state = autonomy_autonomous_state end_wars = yes end_civil_wars = yes } } } BOS = { country_event = { id = SerbiaFocus.8 days = 1 } } } } country_event = { id = SerbiaFocus.8 title = SerbiaFocus.8.t desc = SerbiaFocus.8.d picture = GFX_ser_srpska is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: SerbiaFocus.8.a executed" name = SerbiaFocus.8.a declare_war_on = { target = SER type = annex_everything } ai_chance = { base = 75 } } option = { log = "[GetDateText]: [This.GetName]: SerbiaFocus.8.b executed" name = SerbiaFocus.8.b add_stability = -0.15 add_war_support = 0.15 add_political_power = -200 ai_chance = { base = 10 } } } country_event = { id = SerbiaFocus.9 title = SerbiaFocus.9.t desc = SerbiaFocus.9.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { log = "[GetDateText]: [This.GetName]: SerbiaFocus.9.a executed" name = SerbiaFocus.9.a release = VOJ set_autonomy = { target = VOJ autonomy_state = autonomy_autonomous_province } hidden_effect = { 130 = { add_core_of = SER } 998 = { add_core_of = SER } } VOJ = { add_ideas = SER_subject_idea ingame_startup_nations_effect = yes } ai_chance = { base = 10 } } option = { log = "[GetDateText]: [This.GetName]: SerbiaFocus.9.b executed" name = SerbiaFocus.9.b add_stability = -0.10 add_political_power = -100 add_ideas = VOJ_debuff_nation ai_chance = { base = 90 } } } #Vojvodina start Rebelleion country_event = { id = SerbiaFocus.99 title = SerbiaFocus.99.t desc = SerbiaFocus.99.d picture = GFX_vojvodina_quest is_triggered_only = yes fire_only_once = yes option = { name = SerbiaFocus.99.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.99.a executed" # Clean up ideas before freeing VOJ if = { limit = { has_idea = SER_subject_idea } remove_ideas = SER_subject_idea } if = { limit = { has_idea = SER_republic_ser } remove_ideas = SER_republic_ser } SER = { if = { limit = { has_idea = SER_confederation_idea } remove_ideas = SER_confederation_idea } set_autonomy = { target = VOJ autonomy_state = autonomy_free } country_event = { id = SerbiaFocus.100 days = 1 } } } } #Serbia react Vojvodina start Rebelleion country_event = { id = SerbiaFocus.100 title = SerbiaFocus.100.t desc = SerbiaFocus.100.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = SerbiaFocus.100.a ai_chance = { base = 55 } log = "[GetDateText]: [This.GetName]: SerbiaFocus.100.a executed" declare_war_on = { target = VOJ type = annex_everything } } option = { name = SerbiaFocus.100.b ai_chance = { base = 45 } } } #Vojvodina request Federation country_event = { id = SerbiaFocus.101 title = SerbiaFocus.101.t desc = SerbiaFocus.101.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = SerbiaFocus.101.a ai_chance = { base = 55 } log = "[GetDateText]: [This.GetName]: SerbiaFocus.101.a executed" VOJ = { country_event = { id = SerbiaFocus.102 days = 1 } set_temp_variable = { modify_voj_separ = -5 } modify_voj_separ_support = yes } } option = { name = SerbiaFocus.101.b ai_chance = { base = 45 } log = "[GetDateText]: [This.GetName]: SerbiaFocus.101.b executed" VOJ = { country_event = { id = SerbiaFocus.103 days = 1 } set_temp_variable = { modify_voj_separ = 10 } modify_voj_separ_support = yes } } } #Vojvodina take Federation country_event = { id = SerbiaFocus.102 title = SerbiaFocus.102.t desc = SerbiaFocus.102.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = SerbiaFocus.102.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.102.a executed" VOJ = { set_country_flag = our_federation } # If VOJ already has upgraded autonomy, grant ideas if = { limit = { VOJ = { has_autonomy_state = autonomy_autonomous_province1 } } SER = { if = { limit = { NOT = { has_idea = SER_confederation_idea } } add_ideas = SER_confederation_idea } } VOJ = { if = { limit = { NOT = { has_idea = SER_republic_ser } } add_ideas = SER_republic_ser } } } } } #Vojvodina not take Federation country_event = { id = SerbiaFocus.103 title = SerbiaFocus.103.t desc = SerbiaFocus.103.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = SerbiaFocus.103.a } } #Vojvodina request Military country_event = { id = SerbiaFocus.104 title = SerbiaFocus.104.t desc = SerbiaFocus.104.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = SerbiaFocus.104.a ai_chance = { base = 55 } log = "[GetDateText]: [This.GetName]: SerbiaFocus.104.a executed" VOJ = { country_event = { id = SerbiaFocus.105 days = 1 } set_temp_variable = { modify_voj_separ = -5 } modify_voj_separ_support = yes } } option = { name = SerbiaFocus.104.b ai_chance = { base = 45 } log = "[GetDateText]: [This.GetName]: SerbiaFocus.104.b executed" VOJ = { country_event = { id = SerbiaFocus.106 days = 1 } set_temp_variable = { modify_voj_separ = 10 } modify_voj_separ_support = yes } } } #Vojvodina take military country_event = { id = SerbiaFocus.105 title = SerbiaFocus.105.t desc = SerbiaFocus.105.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = SerbiaFocus.105.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.105.a executed" VOJ = { # Military autonomy replaces basic subject idea if = { limit = { has_idea = SER_subject_idea } remove_ideas = SER_subject_idea } } } } #Vojvodina not take military country_event = { id = SerbiaFocus.106 title = SerbiaFocus.106.t desc = SerbiaFocus.106.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = SerbiaFocus.106.a } } #Vojvodina take Autonomy country_event = { id = SerbiaFocus.107 title = SerbiaFocus.107.t desc = SerbiaFocus.107.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = SerbiaFocus.107.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.107.a executed" SER = { set_autonomy = { target = VOJ autonomy_state = autonomy_autonomous_province1 } } # Remove province idea since we're upgrading to province1 if = { limit = { has_idea = SER_subject_idea } remove_ideas = SER_subject_idea } # If VOJ already has federation flag, grant ideas if = { limit = { has_country_flag = our_federation } if = { limit = { NOT = { has_idea = SER_republic_ser } } add_ideas = SER_republic_ser } SER = { if = { limit = { NOT = { has_idea = SER_confederation_idea } } add_ideas = SER_confederation_idea } } } } } #Vojvodina not take Autonomy country_event = { id = SerbiaFocus.108 title = SerbiaFocus.108.t desc = SerbiaFocus.108.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = SerbiaFocus.108.a } } #Vojvodina request more Autonomy country_event = { id = SerbiaFocus.109 title = SerbiaFocus.109.t desc = SerbiaFocus.109.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = SerbiaFocus.109.a ai_chance = { base = 55 } log = "[GetDateText]: [This.GetName]: SerbiaFocus.109.a executed" VOJ = { country_event = { id = SerbiaFocus.107 days = 1 } set_temp_variable = { modify_voj_separ = -5 } modify_voj_separ_support = yes } } option = { name = SerbiaFocus.109.b ai_chance = { base = 45 } log = "[GetDateText]: [This.GetName]: SerbiaFocus.109.b executed" VOJ = { country_event = { id = SerbiaFocus.108 days = 1 } set_temp_variable = { modify_voj_separ = 10 } modify_voj_separ_support = yes } } } # AI-only Milosevic strength boost, fired from SER_the_high_castle country_event = { id = SerbiaFocus.113 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: SerbiaFocus.113 executed" add_to_variable = { var = SER_milosevic_strength value = 80 } } } # Reading Events country_event = { id = ser_reading.1 title = ser_reading.1.t desc = ser_reading.1.d picture = GFX_ser_crisis is_triggered_only = yes option = { name = ser_reading.1.a ai_chance = { base = 75 } } } ##Serbia Proposes to Invest in it country_event = { id = ser_deals.1 title = ser_deals.1.t desc = ser_deals.1.d picture = GFX_stock_market is_triggered_only = yes option = { name = ser_deals.1.a log = "[GetDateText]: [This.GetName]: ser_deals.1.a executed" set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes set_temp_variable = { int_investment_change = 5 } modify_international_investment_effect = yes set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = SER } change_influence_percentage = yes SER = { country_event = { id = ser_deals.2 days = 1 } } ai_chance = { base = 60 modifier = { add = 30 has_opinion = { target = SER value > 10 } } modifier = { factor = 0 has_war_with = SER } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = ser_deals.1.b log = "[GetDateText]: [This.GetName]: ser_deals.1.b executed" ai_chance = { base = 25 modifier = { add = 40 has_opinion = { target = SER value < -10 } } } SER = { country_event = { id = ser_deals.3 days = 1 } } } } ##They Agree country_event = { id = ser_deals.2 title = ser_deals.2.t desc = ser_deals.2.d picture = GFX_treaty is_triggered_only = yes option = { name = ser_deals.2.a log = "[GetDateText]: [This.GetName]: ser_deals.2.a executed" 131 = { add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } ##They Agree country_event = { id = ser_deals.3 title = ser_deals.3.t desc = ser_deals.3.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = ser_deals.3.a } } ################## #Export Cons country_event = { id = SerbiaFocus.11 title = SerbiaFocus.11.t desc = SerbiaFocus.11.d picture = GFX_Serbian_Election is_triggered_only = yes option = { name = SerbiaFocus.11.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.11.a executed" add_popularity = { ideology = democratic popularity = 0.10 } add_popularity = { ideology = neutrality popularity = 0.10 } recalculate_party = yes } } country_event = { id = SerbiaFocus.12 title = SerbiaFocus.12.t desc = SerbiaFocus.12.d picture = GFX_SER_generic is_triggered_only = yes # Accept the Agreements option = { name = SerbiaFocus.12.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.12.a executed" diplomatic_relation = { country = SER relation = non_aggression_pact active = no } add_opinion_modifier = { target = SER modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = SER modifier = declaration_of_friendship } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = SER } change_influence_percentage = yes set_temp_variable = { receiver_nation = ROOT.id } set_temp_variable = { sender_nation = SER.id } set_improved_trade_agreement = yes SER = { diplomatic_relation = { country = PREV relation = non_aggression_pact active = no } } ai_chance = { base = 1 modifier = { add = 0.2 has_opinion = { target = SER value > 10 } } } } # Denny the Agreements option = { name = SerbiaFocus.12.b log = "[GetDateText]: [This.GetName]: SerbiaFocus.12.b executed" add_opinion_modifier = { modifier = drama target = SER } reverse_add_opinion_modifier = { modifier = drama target = SER } ai_chance = { base = 1 modifier = { add = 0.2 has_opinion = { target = SER value < 10 } } } } } country_event = { id = SerbiaFocus.13 title = SerbiaFocus.13.t desc = SerbiaFocus.13.d picture = GFX_srpska_portests is_triggered_only = yes option = { name = SerbiaFocus.13.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.13.a executed" if = { limit = { tag = SER } add_popularity = { ideology = nationalist popularity = -0.1 } add_popularity = { ideology = communism popularity = -0.1 } } add_stability = 0.05 } } country_event = { id = SerbiaFocus.14 title = SerbiaFocus.14.t desc = SerbiaFocus.14.d picture = GFX_mars_colony_20 is_triggered_only = yes option = { name = SerbiaFocus.14.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.14.a executed" SER = { random_owned_controlled_state = { limit = { network_infrastructure_random_build_loc = yes } add_building_construction = { type = internet_station level = 1 instant_build = yes } } random_owned_controlled_state = { limit = { network_infrastructure_random_build_loc = yes } add_building_construction = { type = internet_station level = 1 instant_build = yes } } set_temp_variable = { percent_change = 5 } change_influence_percentage = yes country_event = SerbiaFocus.15 } set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes ai_chance = { base = 1 modifier = { add = 0.5 has_opinion = { target = SER value > 10 } } } } option = { name = SerbiaFocus.14.b log = "[GetDateText]: [This.GetName]: SerbiaFocus.14.b executed" SER = { country_event = SerbiaFocus.16 } ai_chance = { base = 1 modifier = { add = 0.5 has_opinion = { target = SER value < 10 } } } } } country_event = { id = SerbiaFocus.15 title = SerbiaFocus.15.t desc = SerbiaFocus.15.d picture = GFX_mars_colony_20 is_triggered_only = yes option = { name = SerbiaFocus.15.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.15.a executed" ai_chance = { base = 1 } custom_effect_tooltip = ser_we_will_int_tt } } country_event = { id = SerbiaFocus.16 title = SerbiaFocus.16.t desc = SerbiaFocus.16.d picture = GFX_mars_colony_20 is_triggered_only = yes option = { name = SerbiaFocus.16.a ai_chance = { base = 1 } } } country_event = { id = SerbiaFocus.17 title = SerbiaFocus.17.t desc = SerbiaFocus.17.d picture = GFX_ser_balkan_federation is_triggered_only = yes option = { name = SerbiaFocus.17.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.17.a executed" ai_chance = { base = 15 modifier = { add = 20 is_top5_influencer = yes } modifier = { add = 20 is_top3_influencer = yes } } set_country_flag = balkan_subject_agree SER = { set_autonomy = { target = ROOT autonomy_state = autonomy_balkan_federation } } # Grant ideas if SER already completed the relevant focuses if = { limit = { SER = { has_completed_focus = SER_confederation_created } NOT = { has_idea = SER_subject_federation } } add_ideas = SER_subject_federation } if = { limit = { SER = { has_completed_focus = SER_south_european_balkan_confederation } NOT = { has_idea = SER_balkan_nation1 } } add_ideas = SER_balkan_nation1 } country_event = { id = Serbia.27 days = 1 } set_temp_variable = { percent_change = -2 } set_temp_variable = { tag_index = SER } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes } option = { name = SerbiaFocus.17.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.17.a executed" ai_chance = { base = 85 } set_temp_variable = { percent_change = -5 } set_temp_variable = { tag_index = SER } set_temp_variable = { influence_target = ROOT } change_influence_percentage = yes SER = { country_event = { id = SerbiaFocus.20 days = 1 } } } } country_event = { id = SerbiaFocus.20 title = SerbiaFocus.20.t desc = SerbiaFocus.20.d picture = GFX_ser_balkan_federation is_triggered_only = yes option = { name = SerbiaFocus.20.a } } country_event = { id = SerbiaFocus.21 title = SerbiaFocus.21.t desc = SerbiaFocus.21.d picture = GFX_generic_factory is_triggered_only = yes option = { name = SerbiaFocus.21.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.21.a executed" ai_chance = { base = 1 modifier = { add = 0.2 has_opinion = { target = SER value > 10 } } } random_owned_state = { limit = { free_shared_building_slots = yes } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_extra_state_shared_building_slots = 1 } set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes SER = { set_temp_variable = { treasury_change = -3.5 } modify_treasury_effect = yes country_event = SerbiaFocus.22 } set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = SER } set_temp_variable = { influence_target = BOS } change_influence_percentage = yes BOS_srpska_attitude_increase_effect = yes BOS_srpska_stability_increase_effect = yes BOS_bosniak_attitude_decrease_effect = yes BOS_bosniak_stability_decrease_effect = yes } option = { name = SerbiaFocus.21.b log = "[GetDateText]: [This.GetName]: SerbiaFocus.21.b executed" ai_chance = { base = 1 modifier = { add = 0.2 has_opinion = { target = SER value < 10 } } } SER = { country_event = SerbiaFocus.23 } set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes add_opinion_modifier = { modifier = drama target = SER } reverse_add_opinion_modifier = { modifier = drama target = SER } BOS_bosniak_attitude_increase_effect = yes BOS_bosniak_stability_increase_effect = yes BOS_srpska_attitude_decrease_effect = yes BOS_srpska_stability_decrease_effect = yes } } country_event = { id = SerbiaFocus.22 title = SerbiaFocus.22.t desc = SerbiaFocus.22.d picture = GFX_generic_factory is_triggered_only = yes option = { name = SerbiaFocus.22.a } } country_event = { id = SerbiaFocus.23 title = SerbiaFocus.23.t desc = SerbiaFocus.23.d picture = GFX_generic_factory is_triggered_only = yes option = { name = SerbiaFocus.23.a } } country_event = { id = SerbiaFocus.24 title = SerbiaFocus.24.t desc = SerbiaFocus.24.d picture = GFX_t90 is_triggered_only = yes option = { name = SerbiaFocus.24.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.24.a executed" ai_chance = { base = 60 modifier = { add = 40 has_opinion = { target = SER value > 20 } } modifier = { factor = 0 has_war_with = SER } } SER = { country_event = SerbiaFocus.25 } } option = { name = SerbiaFocus.24.b log = "[GetDateText]: [This.GetName]: SerbiaFocus.24.b executed" ai_chance = { base = 10 modifier = { add = 30 has_opinion = { target = SER value < 0 } } } SER = { country_event = SerbiaFocus.26 } } } country_event = { id = SerbiaFocus.25 title = SerbiaFocus.25.t desc = SerbiaFocus.25.d picture = GFX_t90 is_triggered_only = yes option = { name = SerbiaFocus.25.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.25.a executed" set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = SER } change_influence_percentage = yes add_ideas = SER_rus_peacekeepers } } country_event = { id = SerbiaFocus.26 title = SerbiaFocus.26.t desc = SerbiaFocus.26.d picture = GFX_t90 is_triggered_only = yes option = { name = SerbiaFocus.26.a log = "[GetDateText]: [This.GetName]: SerbiaFocus.26.a executed" set_temp_variable = { percent_change = -2 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = SER } change_influence_percentage = yes } } news_event = { id = serbia_news.1 title = serbia_news.1.t desc = serbia_news.1.d picture = GFX_news_election_rally is_triggered_only = yes major = yes option = { name = serbia_news.1.o1 } } news_event = { id = serbia_news.2 title = serbia_news.2.t desc = serbia_news.2.d picture = GFX_news_election_rally is_triggered_only = yes major = yes option = { name = serbia_news.2.o1 } } news_event = { id = serbia_news.3 title = serbia_news.3.t desc = serbia_news.3.d picture = GFX_news_election_rally is_triggered_only = yes major = yes option = { name = serbia_news.3.o1 } } country_event = { id = ser_dem.1 title = ser_dem.1.t desc = ser_dem.1.d picture = GFX_message_signing is_triggered_only = yes option = { name = ser_dem.1.a log = "[GetDateText]: [This.GetName]: ser_dem.1.a executed" ai_chance = { base = 100 modifier = { add = 0.2 has_opinion = { target = SER value > 10 } } } SER = { one_random_industrial_complex = yes set_temp_variable = { treasury_change = 3 } modify_treasury_effect = yes set_temp_variable = { percent_change = 5 } change_influence_percentage = yes country_event = ser_dem.2 } set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes } option = { name = ser_dem.1.b log = "[GetDateText]: [This.GetName]: ser_dem.1.b executed" ai_chance = { base = 1 modifier = { add = 0.2 has_opinion = { target = SER value > 10 } } } SER = { one_random_infrastructure = yes set_temp_variable = { treasury_change = 2 } modify_treasury_effect = yes set_temp_variable = { percent_change = 5 } change_influence_percentage = yes country_event = ser_dem.2 } set_temp_variable = { treasury_change = -3.5 } modify_treasury_effect = yes } option = { name = ser_dem.1.c log = "[GetDateText]: [This.GetName]: ser_dem.1.c executed" ai_chance = { base = 1 modifier = { add = 0.2 has_opinion = { target = SER value > 10 } } } SER = { one_random_network_infrastructure = yes set_temp_variable = { treasury_change = 1 } modify_treasury_effect = yes set_temp_variable = { percent_change = 5 } change_influence_percentage = yes country_event = ser_dem.2 } set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes } option = { name = ser_dem.1.f log = "[GetDateText]: [This.GetName]: ser_dem.1.f executed" ai_chance = { base = 1 modifier = { add = 0.2 has_opinion = { target = SER value < 10 } } } SER = { country_event = ser_dem.3 } } } country_event = { id = ser_dem.2 title = ser_dem.2.t desc = ser_dem.2.d picture = GFX_handshake_black is_triggered_only = yes option = { name = ser_dem.2.a ai_chance = { base = 1 } } } country_event = { id = ser_dem.3 title = ser_dem.3.t desc = ser_dem.3.d picture = GFX_declined_offer_no is_triggered_only = yes option = { name = ser_dem.3.a ai_chance = { base = 1 } } } country_event = { id = ser_dem.4 title = ser_dem.4.t desc = ser_dem.4.d picture = GFX_passenger_plane is_triggered_only = yes option = { name = ser_dem.4.a log = "[GetDateText]: [This.GetName]: ser_dem.4.a executed" ai_chance = { base = 1 } CHI = { country_event = ser_dem.1 } SOV = { country_event = ser_dem.1 } } option = { name = ser_dem.4.b log = "[GetDateText]: [This.GetName]: ser_dem.4.b executed" ai_chance = { base = 1 } USA = { country_event = ser_dem.1 } GER = { country_event = ser_dem.1 } } option = { name = ser_dem.4.c log = "[GetDateText]: [This.GetName]: ser_dem.4.c executed" ai_chance = { base = 1 } set_temp_variable = { percent_change = 1 } set_temp_variable = { tag_index = THIS.id } every_neighbor_country = { limit = { NOT = { has_war_with = ROOT } } add_opinion_modifier = { target = PREV modifier = supports_us_2 } reverse_add_opinion_modifier = { target = PREV modifier = supports_us_2 } change_influence_percentage = yes } custom_effect_tooltip = influence_on_neighbors_tt set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = 0.05 } modify_treasury_effect = yes } } country_event = { id = ser_dem.5 title = ser_dem.5.t desc = ser_dem.5.d picture = GFX_passenger_plane is_triggered_only = yes option = { name = ser_dem.5.a log = "[GetDateText]: [This.GetName]: ser_dem.5.a executed" ai_chance = { base = 1 } set_country_flag = SER_radical_divided set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = -0.10 } change_relative_party_popularity = yes set_temp_variable = { party_index = 13 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes custom_effect_tooltip = SER_radical_create_tt } option = { name = ser_dem.5.b log = "[GetDateText]: [This.GetName]: ser_dem.5.b executed" ai_chance = { base = 1 } set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } } ##########VOJVODINA########## country_event = { id = ser_voj.1 title = ser_voj.1.t desc = ser_voj.1.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = ser_voj.1.a log = "[GetDateText]: [This.GetName]: ser_voj.1.a executed" ai_chance = { base = 100 } # Clean up province-related ideas since autonomy is changing VOJ = { if = { limit = { has_idea = SER_subject_idea } remove_ideas = SER_subject_idea } if = { limit = { has_idea = SER_republic_ser } remove_ideas = SER_republic_ser } } if = { limit = { has_idea = SER_confederation_idea } remove_ideas = SER_confederation_idea } if = { limit = { has_global_flag = GAME_RULE_allow_colored_puppets } set_autonomy = { target = VOJ autonomy_state = autonomy_autonomous_state_colored end_wars = yes end_civil_wars = yes } } else = { set_autonomy = { target = VOJ autonomy_state = autonomy_autonomous_state end_wars = yes end_civil_wars = yes } } } option = { name = ser_voj.1.b ai_chance = { base = 0 } } } country_event = { id = ser_voj.2 title = ser_voj.2.t desc = ser_voj.2.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = ser_voj.2.a log = "[GetDateText]: [This.GetName]: ser_voj.2.a executed" ai_chance = { base = 100 } VOJ = { country_event = ser_voj.3 } diplomatic_relation = { country = VOJ relation = guarantee active = no } } option = { name = ser_voj.2.b ai_chance = { base = 0 } } } country_event = { id = ser_voj.3 title = ser_voj.3.t desc = ser_voj.3.d picture = GFX_vojvodina_quest is_triggered_only = yes option = { name = ser_voj.3.a log = "[GetDateText]: [This.GetName]: ser_voj.3.a executed" diplomatic_relation = { country = KOS relation = guarantee active = no } } } ##########MONTENEGRO########## country_event = { id = Montenegro.1 title = Montenegro.1.t desc = Montenegro.1.d picture = GFX_message_signing is_triggered_only = yes option = { name = Montenegro.1.a log = "[GetDateText]: [This.GetName]: Montenegro.1.a executed" ai_chance = { base = 1 modifier = { add = 2 has_opinion = { target = MNT value > 10 } } modifier = { add = 2 has_opinion = { target = MNT value > 40 } } modifier = { factor = 0 has_opinion = { target = MNT value < -10 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } MNT = { one_random_industrial_complex = yes set_temp_variable = { treasury_change = 7.5 } modify_treasury_effect = yes set_temp_variable = { percent_change = 5 } change_influence_percentage = yes country_event = Montenegro.2 } set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes } option = { name = Montenegro.1.b log = "[GetDateText]: [This.GetName]: Montenegro.1.b executed" ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value < 0 } } } MNT = { country_event = Montenegro.3 } } } country_event = { id = Montenegro.2 title = Montenegro.2.t desc = Montenegro.2.d picture = GFX_handshake_black is_triggered_only = yes option = { name = Montenegro.2.a ai_chance = { base = 1 } } } country_event = { id = Montenegro.3 title = Montenegro.3.t desc = Montenegro.3.d picture = GFX_declined_offer_no is_triggered_only = yes option = { name = Montenegro.3.a ai_chance = { base = 1 } } } country_event = { id = Montenegro.4 title = Montenegro.4.t desc = Montenegro.4.d picture = GFX_passenger_plane is_triggered_only = yes option = { name = Montenegro.4.a log = "[GetDateText]: [This.GetName]: Montenegro.4.a executed" ai_chance = { base = 1 modifier = { add = 4 MNT_ai_belgrade_path = yes } modifier = { factor = 0 MNT_ai_western_path = yes } } SOV = { country_event = Montenegro.1 } } option = { name = Montenegro.4.b log = "[GetDateText]: [This.GetName]: Montenegro.4.b executed" ai_chance = { base = 1 modifier = { add = 4 MNT_ai_western_path = yes } } USA = { country_event = Montenegro.1 } } } country_event = { id = Montenegro.5 title = Montenegro.5.t desc = Montenegro.5.d picture = GFX_message_signing is_triggered_only = yes option = { name = Montenegro.5.a log = "[GetDateText]: [This.GetName]: Montenegro.5.a executed" ai_chance = { base = 1 modifier = { add = 2 has_opinion = { target = MNT value > 10 } } modifier = { add = 2 has_opinion = { target = MNT value > 40 } } modifier = { factor = 0 has_opinion = { target = MNT value < -10 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } MNT = { one_random_infrastructure = yes set_temp_variable = { treasury_change = 3.5 } modify_treasury_effect = yes set_temp_variable = { percent_change = 5 } change_influence_percentage = yes country_event = Montenegro.2 } set_temp_variable = { treasury_change = -3.5 } modify_treasury_effect = yes } option = { name = Montenegro.5.b log = "[GetDateText]: [This.GetName]: Montenegro.5.b executed" ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value < 0 } } } MNT = { country_event = Montenegro.3 } } } country_event = { id = Montenegro.6 title = Montenegro.6.t desc = Montenegro.6.d picture = GFX_message_signing is_triggered_only = yes option = { name = Montenegro.6.a log = "[GetDateText]: [This.GetName]: Montenegro.6.a executed" ai_chance = { base = 1 modifier = { add = 2 has_opinion = { target = MNT value > 20 } } modifier = { add = 2 has_opinion = { target = MNT value > 50 } } modifier = { add = 10 has_global_flag = MNT_SERBIAN_UNION_FOCUS_PATH } modifier = { add = 10 has_global_flag = MNT_MONARCHIST_RESTORATION_FOCUS_PATH } modifier = { factor = 0 has_opinion = { target = MNT value < 0 } NOT = { MNT_ai_belgrade_path = yes } } } diplomatic_relation = { country = MNT relation = guarantee } MNT = { diplomatic_relation = { country = SER relation = guarantee } } } option = { name = Montenegro.6.b log = "[GetDateText]: [This.GetName]: Montenegro.6.b executed" ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value < 20 } } modifier = { factor = 0 MNT_ai_belgrade_path = yes } } MNT = { country_event = Montenegro.3 } } } country_event = { id = Montenegro.7 title = Montenegro.7.t desc = Montenegro.7.d picture = GFX_message_signing is_triggered_only = yes option = { name = Montenegro.7.a log = "[GetDateText]: [This.GetName]: Montenegro.7.a executed" ai_chance = { base = 2 modifier = { add = 2 has_opinion = { target = MNT value > 0 } } modifier = { add = 2 has_opinion = { target = MNT value > 40 } } modifier = { factor = 0 has_opinion = { target = MNT value < -20 } } } diplomatic_relation = { country = MNT relation = non_aggression_pact } } option = { name = Montenegro.7.b log = "[GetDateText]: [This.GetName]: Montenegro.7.b executed" ai_chance = { base = 1 modifier = { add = 2 has_opinion = { target = MNT value < 0 } } } MNT = { country_event = Montenegro.3 } } } country_event = { id = Montenegro.8 title = Montenegro.8.t desc = Montenegro.8.d picture = GFX_message_signing is_triggered_only = yes option = { name = Montenegro.8.a log = "[GetDateText]: [This.GetName]: Montenegro.8.a executed" set_autonomy = { target = MNT autonomy_state = autonomy_autonomous_province1 } ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value > 25 } } modifier = { add = 3 has_opinion = { target = MNT value > 60 } } modifier = { add = 10 has_global_flag = MNT_SERBIAN_UNION_FOCUS_PATH } modifier = { factor = 0 has_opinion = { target = MNT value < 0 } NOT = { has_global_flag = MNT_SERBIAN_UNION_FOCUS_PATH } } } } option = { name = Montenegro.8.b log = "[GetDateText]: [This.GetName]: Montenegro.8.b executed" MNT = { country_event = Montenegro.3 } ai_chance = { base = 2 modifier = { add = 3 has_opinion = { target = MNT value < 25 } } modifier = { factor = 0 has_global_flag = MNT_SERBIAN_UNION_FOCUS_PATH } } } } country_event = { id = Montenegro.9 title = Montenegro.9.t desc = Montenegro.9.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = Montenegro.9.a log = "[GetDateText]: [This.GetName]: Montenegro.9.a executed" SOV = { add_equipment_to_stockpile = { type = infantry_weapons_3 amount = -4000 producer = SOV } set_temp_variable = { treasury_change = 3 } modify_treasury_effect = yes } MNT = { add_equipment_to_stockpile = { type = infantry_weapons_3 amount = 4000 producer = SOV } set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes country_event = Montenegro.2 } set_temp_variable = { percent_change = 3 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes ai_chance = { base = 2 modifier = { add = 2 has_opinion = { target = MNT value > 0 } } modifier = { add = 3 has_opinion = { target = MNT value > 30 } } modifier = { factor = 0 has_opinion = { target = MNT value < -20 } } modifier = { factor = 0 has_war_with = MNT } } } option = { name = Montenegro.9.b log = "[GetDateText]: [This.GetName]: Montenegro.9.b executed" MNT = { country_event = Montenegro.3 } ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value < 0 } } } } } country_event = { id = Montenegro.10 title = Montenegro.10.t desc = Montenegro.10.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = Montenegro.10.a log = "[GetDateText]: [This.GetName]: Montenegro.10.a executed" USA = { add_equipment_to_stockpile = { type = infantry_weapons_4 amount = -3000 producer = USA } set_temp_variable = { treasury_change = 5 } modify_treasury_effect = yes } MNT = { add_equipment_to_stockpile = { type = infantry_weapons_4 amount = 3000 producer = USA } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes country_event = Montenegro.2 } set_temp_variable = { percent_change = 3 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes ai_chance = { base = 2 modifier = { add = 2 has_opinion = { target = MNT value > 0 } } modifier = { add = 3 has_opinion = { target = MNT value > 30 } } modifier = { factor = 0 has_opinion = { target = MNT value < -20 } } modifier = { factor = 0 has_war_with = MNT } } } option = { name = Montenegro.10.b log = "[GetDateText]: [This.GetName]: Montenegro.10.b executed" MNT = { country_event = Montenegro.3 } ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value < 0 } } } } } country_event = { id = Montenegro.11 title = Montenegro.11.t desc = Montenegro.11.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = Montenegro.11.a log = "[GetDateText]: [This.GetName]: Montenegro.11.a executed" SER = { add_equipment_to_stockpile = { type = infantry_weapons_3 amount = -1500 producer = SER } set_temp_variable = { treasury_change = 2 } modify_treasury_effect = yes } MNT = { add_equipment_to_stockpile = { type = infantry_weapons_3 amount = 1500 producer = SER } set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes country_event = Montenegro.2 } set_temp_variable = { percent_change = 3 } set_temp_variable = { tag_index = SER } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes ai_chance = { base = 2 modifier = { add = 2 has_opinion = { target = MNT value > 0 } } modifier = { add = 3 has_opinion = { target = MNT value > 30 } } modifier = { factor = 0 has_opinion = { target = MNT value < -20 } } modifier = { factor = 0 has_war_with = MNT } } } option = { name = Montenegro.11.b log = "[GetDateText]: [This.GetName]: Montenegro.11.b executed" MNT = { country_event = Montenegro.3 } ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value < 0 } } } } } country_event = { id = Montenegro.12 title = Montenegro.12.t desc = Montenegro.12.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = Montenegro.12.a log = "[GetDateText]: [This.GetName]: Montenegro.12.a executed" USA = { add_equipment_to_stockpile = { type = util_vehicle_4 amount = -150 producer = USA } set_temp_variable = { treasury_change = 5 } modify_treasury_effect = yes } MNT = { add_equipment_to_stockpile = { type = util_vehicle_4 amount = 150 producer = USA } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes country_event = Montenegro.2 } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes ai_chance = { base = 2 modifier = { add = 2 has_opinion = { target = MNT value > 0 } } modifier = { add = 3 has_opinion = { target = MNT value > 30 } } modifier = { factor = 0 has_opinion = { target = MNT value < -20 } } modifier = { factor = 0 has_war_with = MNT } } } option = { name = Montenegro.12.b log = "[GetDateText]: [This.GetName]: Montenegro.12.b executed" MNT = { country_event = Montenegro.3 } ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value < 0 } } } } } country_event = { id = Montenegro.13 title = Montenegro.13.t desc = Montenegro.13.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = Montenegro.13.a log = "[GetDateText]: [This.GetName]: Montenegro.13.a executed" SOV = { add_equipment_to_stockpile = { type = util_vehicle_3 amount = -220 producer = SOV } set_temp_variable = { treasury_change = 3 } modify_treasury_effect = yes } MNT = { add_equipment_to_stockpile = { type = util_vehicle_3 amount = 220 producer = SOV } set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes country_event = Montenegro.2 } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes ai_chance = { base = 2 modifier = { add = 2 has_opinion = { target = MNT value > 0 } } modifier = { add = 3 has_opinion = { target = MNT value > 30 } } modifier = { factor = 0 has_opinion = { target = MNT value < -20 } } modifier = { factor = 0 has_war_with = MNT } } } option = { name = Montenegro.13.b log = "[GetDateText]: [This.GetName]: Montenegro.13.b executed" MNT = { country_event = Montenegro.3 } ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value < 0 } } } } } country_event = { id = Montenegro.14 title = Montenegro.14.t desc = Montenegro.14.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes #Creation of tara arms option = { name = Montenegro.14.a log = "[GetDateText]: [This.GetName]: Montenegro.14.a executed" set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes ai_chance = { base = 1 modifier = { add = 4 MNT_ai_belgrade_path = yes } modifier = { factor = 0 MNT_ai_western_path = yes } } add_ideas = MNT_tara_arms_ru #cooperation with russia } option = { name = Montenegro.14.b log = "[GetDateText]: [This.GetName]: Montenegro.14.b executed" ai_chance = { base = 1 modifier = { add = 4 MNT_ai_western_path = yes } } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes add_ideas = MNT_tara_arms_us #cooperation with us } option = { name = Montenegro.14.c log = "[GetDateText]: [This.GetName]: Montenegro.14.c executed" ai_chance = { base = 1 modifier = { add = 4 MNT_ai_free_harbour_path = yes } } add_ideas = MNT_tara_arms_ind #cooperation with no one } } country_event = { id = Montenegro.15 title = Montenegro.15.t desc = Montenegro.15.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes #from whom you will buy option = { name = Montenegro.15.a log = "[GetDateText]: [This.GetName]: Montenegro.15.a executed" ai_chance = { base = 1 modifier = { add = 4 MNT_ai_western_path = yes } } USA = { country_event = Montenegro.17 } } option = { name = Montenegro.15.b log = "[GetDateText]: [This.GetName]: Montenegro.15.b executed" ai_chance = { base = 1 modifier = { add = 4 MNT_ai_belgrade_path = yes } modifier = { factor = 0 MNT_ai_western_path = yes } } SOV = { country_event = Montenegro.16 } } } country_event = { id = Montenegro.16 title = Montenegro.16.t desc = Montenegro.16.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = Montenegro.16.a log = "[GetDateText]: [This.GetName]: Montenegro.16.a executed" SOV = { add_equipment_to_stockpile = { type = transport_helicopter_2 amount = -20 producer = SOV } set_temp_variable = { treasury_change = 3 } modify_treasury_effect = yes } MNT = { add_equipment_to_stockpile = { type = transport_helicopter_2 amount = 20 producer = SOV } set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes country_event = Montenegro.2 } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes ai_chance = { base = 2 modifier = { add = 2 has_opinion = { target = MNT value > 0 } } modifier = { add = 3 has_opinion = { target = MNT value > 30 } } modifier = { factor = 0 has_opinion = { target = MNT value < -20 } } modifier = { factor = 0 has_war_with = MNT } } } option = { name = Montenegro.16.b log = "[GetDateText]: [This.GetName]: Montenegro.16.b executed" MNT = { country_event = Montenegro.3 } ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value < 0 } } } } } country_event = { id = Montenegro.17 title = Montenegro.17.t desc = Montenegro.17.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = Montenegro.17.a log = "[GetDateText]: [This.GetName]: Montenegro.17.a executed" USA = { add_equipment_to_stockpile = { type = transport_helicopter_2 amount = -20 producer = USA } set_temp_variable = { treasury_change = 4 } modify_treasury_effect = yes } MNT = { add_equipment_to_stockpile = { type = transport_helicopter_2 amount = 20 producer = USA } set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes country_event = Montenegro.2 } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes ai_chance = { base = 2 modifier = { add = 2 has_opinion = { target = MNT value > 0 } } modifier = { add = 3 has_opinion = { target = MNT value > 30 } } modifier = { factor = 0 has_opinion = { target = MNT value < -20 } } modifier = { factor = 0 has_war_with = MNT } } } option = { name = Montenegro.17.b log = "[GetDateText]: [This.GetName]: Montenegro.17.b executed" MNT = { country_event = Montenegro.3 } ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value < 0 } } } } } country_event = { id = Montenegro.18 title = Montenegro.18.t desc = Montenegro.18.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes #from whom you will buy option = { name = Montenegro.18.a log = "[GetDateText]: [This.GetName]: Montenegro.18.a executed" ai_chance = { base = 1 modifier = { add = 4 MNT_ai_western_path = yes } } USA = { country_event = Montenegro.19 } } option = { name = Montenegro.18.b log = "[GetDateText]: [This.GetName]: Montenegro.18.b executed" ai_chance = { base = 1 modifier = { add = 4 MNT_ai_belgrade_path = yes } modifier = { factor = 0 MNT_ai_western_path = yes } } SOV = { country_event = Montenegro.20 } } } country_event = { id = Montenegro.19 title = Montenegro.19.t desc = Montenegro.19.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = Montenegro.19.a log = "[GetDateText]: [This.GetName]: Montenegro.19.a executed" USA = { add_equipment_to_stockpile = { type = convoy_1 amount = -12 producer = USA } set_temp_variable = { treasury_change = 4 } modify_treasury_effect = yes } MNT = { add_equipment_to_stockpile = { type = convoy_1 amount = 12 producer = USA } set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes country_event = Montenegro.2 } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes ai_chance = { base = 2 modifier = { add = 2 has_opinion = { target = MNT value > 0 } } modifier = { add = 3 has_opinion = { target = MNT value > 30 } } modifier = { factor = 0 has_opinion = { target = MNT value < -20 } } modifier = { factor = 0 has_war_with = MNT } } } option = { name = Montenegro.19.b log = "[GetDateText]: [This.GetName]: Montenegro.19.b executed" MNT = { country_event = Montenegro.3 } ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value < 0 } } } } } country_event = { id = Montenegro.20 title = Montenegro.20.t desc = Montenegro.20.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = Montenegro.20.a log = "[GetDateText]: [This.GetName]: Montenegro.20.a executed" SOV = { add_equipment_to_stockpile = { type = convoy_1 amount = -12 producer = SOV } set_temp_variable = { treasury_change = 4 } modify_treasury_effect = yes } MNT = { add_equipment_to_stockpile = { type = convoy_1 amount = 12 producer = SOV } set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes country_event = Montenegro.2 } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes ai_chance = { base = 2 modifier = { add = 2 has_opinion = { target = MNT value > 0 } } modifier = { add = 3 has_opinion = { target = MNT value > 30 } } modifier = { factor = 0 has_opinion = { target = MNT value < -20 } } modifier = { factor = 0 has_war_with = MNT } } } option = { name = Montenegro.20.b log = "[GetDateText]: [This.GetName]: Montenegro.20.b executed" MNT = { country_event = Montenegro.3 } ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value < 0 } } } } } country_event = { id = Montenegro.21 title = Montenegro.21.t desc = Montenegro.21.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes #political support from sov option = { name = Montenegro.21.a log = "[GetDateText]: [This.GetName]: Montenegro.21.a executed" MNT = { add_timed_idea = { idea = MNT_sov_supp days = 60 } country_event = Montenegro.2 } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value > 30 } } modifier = { add = 2 has_opinion = { target = MNT value > 60 } } modifier = { factor = 0 has_opinion = { target = MNT value < 0 } } } } option = { name = Montenegro.21.b log = "[GetDateText]: [This.GetName]: Montenegro.21.b executed" MNT = { country_event = Montenegro.3 } ai_chance = { base = 1 modifier = { add = 2 has_opinion = { target = MNT value < 10 } } } } } country_event = { id = Montenegro.22 title = Montenegro.22.t desc = Montenegro.22.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes #political support from us option = { name = Montenegro.22.a log = "[GetDateText]: [This.GetName]: Montenegro.22.a executed" MNT = { add_timed_idea = { idea = MNT_usa_supp days = 60 } country_event = Montenegro.2 } set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = MNT } change_influence_percentage = yes ai_chance = { base = 1 modifier = { add = 3 has_opinion = { target = MNT value > 30 } } modifier = { add = 2 has_opinion = { target = MNT value > 60 } } modifier = { factor = 0 has_opinion = { target = MNT value < 0 } } } } option = { name = Montenegro.22.b log = "[GetDateText]: [This.GetName]: Montenegro.22.b executed" MNT = { country_event = Montenegro.3 } ai_chance = { base = 1 modifier = { add = 2 has_opinion = { target = MNT value < 10 } } } } } country_event = { id = Montenegro.23 title = Montenegro.23.t desc = Montenegro.23.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = Montenegro.23.a log = "[GetDateText]: [This.GetName]: Montenegro.23.a executed" MNT_balance_ser_change = yes add_timed_idea = { idea = MNT_mnt_discon days = 30 } ai_chance = { base = 1 modifier = { add = 2 MNT_ai_belgrade_path = yes } } } option = { name = Montenegro.23.b log = "[GetDateText]: [This.GetName]: Montenegro.23.b executed" MNT_balance_mon_change = yes add_timed_idea = { idea = MNT_ser_discon days = 30 } ai_chance = { base = 1 modifier = { add = 2 MNT_ai_dukanovic_path = yes } } } } country_event = { id = Montenegro.24 title = Montenegro.24.t desc = Montenegro.24.d picture = GFX_israeli_soldiers_injured is_triggered_only = yes option = { name = Montenegro.24.a log = "[GetDateText]: [This.GetName]: Montenegro.24.a executed" MNT_balance_mon_change = yes add_timed_idea = { idea = MNT_ser_discon days = 30 } if = { limit = { has_idea = the_clergy } swap_ideas = { remove_idea = the_clergy add_idea = labour_unions } add_political_power = 100 } ai_chance = { base = 1 modifier = { add = 2 MNT_ai_dukanovic_path = yes } modifier = { add = 2 has_global_flag = MNT_EUROPEAN_REFORM_FOCUS_PATH } } } option = { name = Montenegro.24.b log = "[GetDateText]: [This.GetName]: Montenegro.24.b executed" add_political_power = 100 ai_chance = { base = 1 modifier = { add = 2 MNT_ai_belgrade_path = yes } } } } country_event = { id = Montenegro.25 title = Montenegro.25.t desc = Montenegro.25.d picture = GFX_handshake_black is_triggered_only = yes option = { name = Montenegro.25.a log = "[GetDateText]: [This.GetName]: Montenegro.25.a executed" SER = { country_event = { id = md4.14 days = 2 } } ai_chance = { base = 1 modifier = { factor = 0 MNT_ai_belgrade_path = yes } } } option = { name = Montenegro.25.b log = "[GetDateText]: [This.GetName]: Montenegro.25.b executed" SER = { country_event = Montenegro.26 } ai_chance = { base = 2 modifier = { add = 2 MNT_ai_belgrade_path = yes } } } } country_event = { id = Montenegro.26 title = Montenegro.26.t desc = Montenegro.26.d picture = GFX_handshake_black is_triggered_only = yes option = { name = Montenegro.26.a log = "[GetDateText]: [This.GetName]: Montenegro.26.a executed" add_political_power = -150 diplomatic_relation = { country = MNT relation = puppet active = no } MNT = { add_political_power = 150 } ai_chance = { base = 1 modifier = { add = 2 has_opinion = { target = MNT value > 25 } } modifier = { add = 3 has_opinion = { target = MNT value > 50 } } modifier = { factor = 0 has_opinion = { target = MNT value < 0 } } } } option = { name = Montenegro.26.b log = "[GetDateText]: [This.GetName]: Montenegro.26.b executed" MNT = { country_event = Montenegro.27 } ai_chance = { base = 2 modifier = { add = 3 has_opinion = { target = MNT value < 25 } } } } } country_event = { id = Montenegro.27 title = Montenegro.27.t desc = Montenegro.27.d picture = GFX_handshake_black is_triggered_only = yes option = { name = Montenegro.27.a ai_chance = { base = 1 } } } # Election-Day Coup Plot (16 October 2016) country_event = { id = Montenegro.28 title = Montenegro.28.t desc = Montenegro.28.d picture = GFX_report_event_Arrest is_triggered_only = yes trigger = { original_tag = MNT is_subject = no has_war = no NOT = { has_global_flag = MNT_SERBIAN_UNION_FOCUS_PATH } OR = { has_country_flag = NATO_Aspirant has_country_flag = NATO_Accession_Voting } } immediate = { add_stability = -0.03 } option = { name = Montenegro.28.a log = "[GetDateText]: [This.GetName]: Montenegro.28.a executed" add_opinion_modifier = { target = SOV modifier = failed_coup } add_opinion_modifier = { target = SER modifier = failed_coup } add_opinion_modifier = { target = USA modifier = military_cooperation } reverse_add_opinion_modifier = { target = USA modifier = military_cooperation } add_political_power = 25 ai_chance = { base = 70 modifier = { factor = 2 is_historical_focus_on = yes } } } option = { name = Montenegro.28.b log = "[GetDateText]: [This.GetName]: Montenegro.28.b executed" add_stability = 0.02 add_political_power = 10 ai_chance = { base = 30 modifier = { factor = 0 is_historical_focus_on = yes } } } } # NATO Accession Celebrations (5 June 2017) country_event = { id = Montenegro.29 title = Montenegro.29.t desc = Montenegro.29.d picture = GFX_MON_nato is_triggered_only = yes trigger = { original_tag = MNT has_idea = NATO_member } option = { name = Montenegro.29.a log = "[GetDateText]: [This.GetName]: Montenegro.29.a executed" add_political_power = 50 add_stability = 0.02 ai_chance = { base = 30 } } } ##########KOSOVO########## country_event = { id = ser_kos.1 title = ser_kos.1.t desc = ser_kos.1.d picture = GFX_politics_protest is_triggered_only = yes option = { name = ser_kos.1.a log = "[GetDateText]: [This.GetName]: ser_kos.1.a executed" ai_chance = { base = 25 modifier = { add = 35 has_government = nationalist } modifier = { add = 15 strength_ratio = { tag = KOS ratio > 2 } } modifier = { add = -25 has_opinion = { target = KOS value > 0 } } modifier = { factor = 0.2 has_government = democratic } } declare_war_on = { target = KOS type = puppet_wargoal_focus } add_named_threat = { threat = 2 name = Kosovo_War } } option = { name = ser_kos.1.b log = "[GetDateText]: [This.GetName]: ser_kos.1.b executed" ai_chance = { base = 75 modifier = { add = 25 has_government = democratic } modifier = { add = -25 has_government = nationalist } modifier = { add = -15 strength_ratio = { tag = KOS ratio > 2 } } } add_stability = -0.09 } } country_event = { id = ser_kos.2 title = ser_kos.2.t desc = ser_kos.2.d picture = GFX_politics_protest is_triggered_only = yes option = { name = ser_kos.2.a log = "[GetDateText]: [This.GetName]: ser_kos.2.a executed" add_war_support = 0.05 SER = { country_event = { id = ser_kos.3 days = 1 } } ai_chance = { base = 80 modifier = { add = 20 has_opinion = { target = SER value < -20 } } modifier = { add = -30 sender_influence_higher_50 = yes } modifier = { add = -20 strength_ratio = { tag = SER ratio < 0.3 } } } } option = { name = ser_kos.2.b log = "[GetDateText]: [This.GetName]: ser_kos.2.b executed" SER = { puppet = ROOT } hidden_effect = { SER = { country_event = { id = ser_kos.4 days = 1 } } } ai_chance = { base = 5 modifier = { add = 15 has_opinion = { target = SER value > 20 } } modifier = { add = 20 sender_influence_higher_60 = yes } modifier = { add = 15 strength_ratio = { tag = SER ratio < 0.25 } } modifier = { factor = 0 is_in_faction = yes } } } } country_event = { id = ser_kos.3 title = ser_kos.3.t desc = ser_kos.3.d picture = GFX_politics_protest is_triggered_only = yes option = { name = ser_kos.3.a log = "[GetDateText]: [This.GetName]: ser_kos.3.a executed" set_temp_variable = { wargoal_on = KOS } set_temp_variable = { wargoal_type = 1 } add_threat_from_wargoal_effect = yes create_wargoal = { type = puppet_wargoal_focus target = KOS expire = 365 } } } country_event = { id = ser_kos.4 title = ser_kos.4.t desc = ser_kos.4.d picture = GFX_politics_protest is_triggered_only = yes option = { name = ser_kos.4.a } } country_event = { #Struggle for recognition id = kosovo.3 title = kosovo.3.t desc = kosovo.3.d picture = GFX_treaty is_triggered_only = yes option = { # name = kosovo.3.a log = "[GetDateText]: [This.GetName]: kosovo.3.a executed" swap_ideas = { remove_idea = non_state_actor add_idea = lacks_international_recognition } ai_chance = { base = 6 } } } # country_event = { #Kosovo wants to ease tensions id = kosovo.4 title = kosovo.4.t desc = kosovo.4.d picture = GFX_treaty is_triggered_only = yes option = { #No name = kosovo.4.a log = "[GetDateText]: [This.GetName]: kosovo.4.a executed" KOS = { country_event = kosovo.6 } ai_chance = { base = 30 modifier = { add = 30 has_government = nationalist } modifier = { add = -20 has_opinion = { target = KOS value > 0 } } } } option = { #Okay name = kosovo.4.b log = "[GetDateText]: [This.GetName]: kosovo.4.b executed" KOS = { country_event = kosovo.5 if = { limit = { NOT = { has_non_aggression_pact_with = SER } } diplomatic_relation = { country = SER relation = non_aggression_pact active = yes } } } ai_chance = { base = 70 modifier = { add = 20 has_opinion = { target = KOS value > 0 } } modifier = { add = -30 has_government = nationalist } } } } # country_event = { #Serbia agrees to non-aggression pact id = kosovo.5 title = kosovo.5.t desc = kosovo.5.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo.5.a ai_chance = { base = 6 } } } country_event = { #Serbia not agrees to non-aggression pact id = kosovo.6 title = kosovo.6.t desc = kosovo.6.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo.6.a ai_chance = { base = 6 } } } #### country_event = { #Kosovo wants to create a union state id = kosovo.7 title = kosovo.7.t desc = kosovo.7.d picture = GFX_political_deal is_triggered_only = yes option = { #Ok name = kosovo.7.a log = "[GetDateText]: [This.GetName]: kosovo.7.a executed" KOS = { country_event = kosovo.8 } ai_chance = { base = 20 modifier = { add = 30 has_opinion = { target = KOS value > 49 } } modifier = { factor = 0 OR = { has_faction_template = faction_template_nato has_faction_template = faction_template_csto } } } } option = { #Ok name = kosovo.7.b log = "[GetDateText]: [This.GetName]: kosovo.7.b executed" KOS = { country_event = kosovo.9 } ai_chance = { base = 30 modifier = { add = 40 OR = { has_faction_template = faction_template_nato has_faction_template = faction_template_csto } } modifier = { add = -20 has_opinion = { target = KOS value > 49 } } } } } # country_event = { #Albania agrees id = kosovo.8 title = kosovo.8.t desc = kosovo.8.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo.8.a log = "[GetDateText]: [This.GetName]: kosovo.8.a executed" KOS = { set_cosmetic_tag = KOS_AUTH set_variable = { dynamic_flag_variant = 2 } remove_ideas = KOS_Ruined_Nations mark_formed_country_formable = yes } annex_country = { target = ALB transfer_troops = yes } ALB = { every_core_state = { add_core_of = KOS } every_core_state = { transfer_state_to = KOS } } hidden_effect = { add_to_variable = { treasury = ALB.treasury } add_to_variable = { debt = ALB.debt } add_to_variable = { int_investments = ALB.int_investments } } ai_chance = { base = 6 } } } # country_event = { #Albania rejects id = kosovo.9 title = kosovo.9.t desc = kosovo.9.d picture = GFX_treaty_rejected is_triggered_only = yes option = { #Ok name = kosovo.9.a ai_chance = { base = 6 modifier = { factor = 100 ALB = { OR = { has_faction_template = faction_template_nato has_faction_template = faction_template_csto } } } } } option = { #We'll do it through war name = kosovo.9.b log = "[GetDateText]: [This.GetName]: kosovo.9.b executed" KOS = { set_temp_variable = { wargoal_on = ALB } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { type = annex_everything target = ALB } } ALB = { every_core_state = { add_core_of = KOS } } ai_chance = { base = 6 modifier = { factor = 0 ALB = { OR = { has_faction_template = faction_template_nato has_faction_template = faction_template_csto } } } modifier = { factor = 0 interest_rate_higher_than_8 = yes } modifier = { add = -4 alliance_strength_ratio > 0.75 } modifier = { add = -3 strength_ratio = { tag = ALB ratio > 1 } } } } } # The March Unrest (17 March 2004) country_event = { id = kosovo.10 title = kosovo.10.t desc = kosovo.10.d picture = GFX_politics_protest is_triggered_only = yes trigger = { original_tag = KOS has_idea = non_state_actor 133 = { is_owned_and_controlled_by = KOS } } option = { name = kosovo.10.a log = "[GetDateText]: [This.GetName]: kosovo.10.a executed" add_stability = -0.05 custom_effect_tooltip = KOS_SER_opinion_decrease_5 add_to_variable = { var = KOS_serbs value = -0.05 } clamp_variable = { var = KOS_serbs min = 0 max = 1 } if = { limit = { country_exists = SER } add_opinion_modifier = { target = SER modifier = diplomatic_insults } SER = { add_opinion_modifier = { target = ROOT modifier = diplomatic_insults } } } ai_chance = { base = 30 } } } # ICJ Advisory Opinion (22 July 2010) country_event = { id = kosovo.11 title = kosovo.11.t desc = kosovo.11.d picture = GFX_court is_triggered_only = yes trigger = { original_tag = KOS has_completed_focus = KOS_Referendum has_idea = lacks_international_recognition } option = { name = kosovo.11.a log = "[GetDateText]: [This.GetName]: kosovo.11.a executed" add_political_power = 50 add_stability = 0.02 custom_effect_tooltip = KOS_icj_opinion_tt custom_effect_tooltip = KOS_icj_ser_reaction_tt if = { limit = { country_exists = SER } if = { limit = { SER = { has_government = nationalist } } set_temp_variable = { modify_europeanism = -0.03 } set_temp_variable = { modify_europeanism_target = SER } europeanism_change = yes } else = { SER = { set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = -0.02 } change_relative_party_popularity = yes } } } hidden_effect = { set_country_flag = KOS_icj_opinion } ai_chance = { base = 30 } } } # The Banjska Attack (24 September 2023) country_event = { id = kosovo.12 title = kosovo.12.t desc = kosovo.12.d picture = GFX_terrorist_attack is_triggered_only = yes trigger = { original_tag = KOS is_subject = no has_completed_focus = KOS_Referendum country_exists = SER NOT = { has_war_with = SER } NOT = { has_global_flag = GLOBAL_ser_kos_normalization } } option = { name = kosovo.12.a log = "[GetDateText]: [This.GetName]: kosovo.12.a executed" add_stability = -0.03 add_opinion_modifier = { target = SER modifier = border_tensions } SER = { add_opinion_modifier = { target = KOS modifier = border_tensions } } set_temp_variable = { modify_europeanism = -0.03 } set_temp_variable = { modify_europeanism_target = SER } europeanism_change = yes ai_chance = { base = 80 modifier = { factor = 2 is_historical_focus_on = yes } } } option = { name = kosovo.12.b log = "[GetDateText]: [This.GetName]: kosovo.12.b executed" add_stability = -0.05 add_war_support = 0.05 add_opinion_modifier = { target = SER modifier = border_tensions } SER = { add_opinion_modifier = { target = KOS modifier = border_tensions } } set_temp_variable = { modify_europeanism = -0.03 } set_temp_variable = { modify_europeanism_target = SER } europeanism_change = yes ai_chance = { base = 20 modifier = { factor = 0 is_historical_focus_on = yes } } } } ######################################################### country_event = { #Kosovo requests recognition (China) id = kosovo_rec.1 title = kosovo_rec.1.t desc = kosovo_rec.1.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo_rec.1.a log = "[GetDateText]: [This.GetName]: kosovo_rec.1.a executed" KOS = { set_country_flag = KOS_china_rec country_event = kosovo_rec.3 } ai_chance = { base = 1 modifier = { add = 20 has_opinion = { target = KOS value > 19 } } } } option = { #No name = kosovo_rec.1.b log = "[GetDateText]: [This.GetName]: kosovo_rec.1.b executed" KOS = { country_event = kosovo_rec.2 } ai_chance = { base = 1 } } } # country_event = { #Kosovo requests recognition (India) id = kosovo_rec.4 title = kosovo_rec.4.t desc = kosovo_rec.4.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo_rec.4.a log = "[GetDateText]: [This.GetName]: kosovo_rec.4.a executed" KOS = { set_country_flag = KOS_india_rec country_event = kosovo_rec.3 } ai_chance = { base = 1 modifier = { add = 20 has_opinion = { target = KOS value > 19 } } } } option = { #No name = kosovo_rec.4.b log = "[GetDateText]: [This.GetName]: kosovo_rec.4.b executed" KOS = { country_event = kosovo_rec.2 } ai_chance = { base = 1 } } } # country_event = { #Kosovo requests recognition (Indonesia) id = kosovo_rec.5 title = kosovo_rec.5.t desc = kosovo_rec.5.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo_rec.5.a log = "[GetDateText]: [This.GetName]: kosovo_rec.5.a executed" KOS = { set_country_flag = KOS_indonesia_rec country_event = kosovo_rec.3 } ai_chance = { base = 1 modifier = { add = 20 has_opinion = { target = KOS value > 19 } } } } option = { #No name = kosovo_rec.5.b log = "[GetDateText]: [This.GetName]: kosovo_rec.5.b executed" KOS = { country_event = kosovo_rec.2 } ai_chance = { base = 1 } } } # country_event = { #Kosovo requests recognition (Brazil) id = kosovo_rec.7 title = kosovo_rec.7.t desc = kosovo_rec.7.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo_rec.7.a log = "[GetDateText]: [This.GetName]: kosovo_rec.7.a executed" KOS = { set_country_flag = KOS_brazil_rec country_event = kosovo_rec.3 } ai_chance = { base = 1 modifier = { add = 20 has_opinion = { target = KOS value > 19 } } } } option = { #No name = kosovo_rec.7.b log = "[GetDateText]: [This.GetName]: kosovo_rec.7.b executed" KOS = { country_event = kosovo_rec.2 } ai_chance = { base = 1 } } } # country_event = { #Kosovo requests recognition (Argentina) id = kosovo_rec.8 title = kosovo_rec.8.t desc = kosovo_rec.8.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo_rec.8.a log = "[GetDateText]: [This.GetName]: kosovo_rec.8.a executed" KOS = { set_country_flag = KOS_argentina_rec country_event = kosovo_rec.3 } ai_chance = { base = 1 modifier = { add = 20 has_opinion = { target = KOS value > 19 } } } } option = { #No name = kosovo_rec.8.b log = "[GetDateText]: [This.GetName]: kosovo_rec.8.b executed" KOS = { country_event = kosovo_rec.2 } ai_chance = { base = 1 } } } # country_event = { #Kosovo requests recognition (Chile) id = kosovo_rec.9 title = kosovo_rec.9.t desc = kosovo_rec.9.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo_rec.9.a log = "[GetDateText]: [This.GetName]: kosovo_rec.9.a executed" KOS = { set_country_flag = KOS_chile_rec country_event = kosovo_rec.3 } ai_chance = { base = 1 modifier = { add = 20 has_opinion = { target = KOS value > 19 } } } } option = { #No name = kosovo_rec.9.b log = "[GetDateText]: [This.GetName]: kosovo_rec.9.b executed" KOS = { country_event = kosovo_rec.2 } ai_chance = { base = 1 } } } # country_event = { #Kosovo requests recognition (Belarus) id = kosovo_rec.10 title = kosovo_rec.10.t desc = kosovo_rec.10.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo_rec.10.a log = "[GetDateText]: [This.GetName]: kosovo_rec.10.a executed" KOS = { set_country_flag = KOS_belarus_rec country_event = kosovo_rec.3 } ai_chance = { base = 1 modifier = { add = 20 has_opinion = { target = KOS value > 19 } } } } option = { #No name = kosovo_rec.10.b log = "[GetDateText]: [This.GetName]: kosovo_rec.10.b executed" KOS = { country_event = kosovo_rec.2 } ai_chance = { base = 1 } } } # country_event = { #Kosovo requests recognition (Ukraine) id = kosovo_rec.11 title = kosovo_rec.11.t desc = kosovo_rec.11.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo_rec.11.a log = "[GetDateText]: [This.GetName]: kosovo_rec.11.a executed" KOS = { set_country_flag = KOS_ukraine_rec country_event = kosovo_rec.3 } ai_chance = { base = 1 modifier = { add = 20 has_opinion = { target = KOS value > 19 } } } } option = { #No name = kosovo_rec.11.b log = "[GetDateText]: [This.GetName]: kosovo_rec.11.b executed" KOS = { country_event = kosovo_rec.2 } ai_chance = { base = 1 } } } #Kosovo requests recognition (Russia) country_event = { id = kosovo_rec.12 title = kosovo_rec.12.t desc = kosovo_rec.12.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo_rec.12.a log = "[GetDateText]: [This.GetName]: kosovo_rec.12.a executed" KOS = { set_country_flag = KOS_russia_rec country_event = kosovo_rec.3 } ai_chance = { base = 1 modifier = { add = 20 has_opinion = { target = KOS value > 19 } } } } option = { #No name = kosovo_rec.12.b log = "[GetDateText]: [This.GetName]: kosovo_rec.12.b executed" KOS = { country_event = kosovo_rec.2 } ai_chance = { base = 1 } } } # country_event = { #COUNTRY denies recognition id = kosovo_rec.2 title = kosovo_rec.2.t desc = kosovo_rec.2.d picture = GFX_treaty_rejected is_triggered_only = yes option = { #Ok name = kosovo_rec.2.a log = "[GetDateText]: [This.GetName]: kosovo_rec.2.a executed" custom_effect_tooltip = KOS_try_again ai_chance = { base = 5 } } } # country_event = { #COUNTRY denies recognition id = kosovo_rec.3 title = kosovo_rec.3.t desc = kosovo_rec.3.d picture = GFX_treaty is_triggered_only = yes option = { #Ok name = kosovo_rec.3.a ai_chance = { base = 5 } } } country_event = { id = kosovo_rec.16 title = kosovo_rec.16.t desc = kosovo_rec.16.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = kosovo_rec.16.a log = "[GetDateText]: [This.GetName]: kosovo_rec.16.a executed" if = { limit = { NOT = { country_exists = MNT } } SER = { release = MNT MNT = { ingame_startup_nations_effect = yes } } MNT = { country_event = { id = kosovo_rec.17 days = 1 } } } ai_chance = { base = 1 } } } country_event = { id = kosovo_rec.17 title = kosovo_rec.17.t desc = kosovo_rec.17.d picture = GFX_generic_soldiers is_triggered_only = yes option = { #Ok name = kosovo_rec.17.a log = "[GetDateText]: [This.GetName]: kosovo_rec.17.a executed" declare_war_on = { target = SER type = puppet_wargoal_focus } division_template = { name = "Rebels Brigade" regiments = { Militia_Bat = { x = 0 y = 0 } Militia_Bat = { x = 0 y = 1 } Militia_Bat = { x = 0 y = 2 } Militia_Bat = { x = 0 y = 3 } Militia_Bat = { x = 1 y = 0 } Militia_Bat = { x = 1 y = 1 } } priority = 2 } capital_scope = { create_unit = { division = "name = \"Rebels Brigade\" division_template = \"Rebels Brigade\" start_experience_factor = 1.0" owner = ROOT count = 3 } } ai_chance = { base = 1 } } } country_event = { id = kosovo_rec.6 title = kosovo_rec.6.t desc = kosovo_rec.6.d picture = GFX_treaty_rejected is_triggered_only = yes option = { #Ok name = kosovo_rec.6.a ai_chance = { base = 1 } } } country_event = { id = kosovo_un.1 title = kosovo_un.1.t desc = kosovo_un.1.d picture = GFX_treaty is_triggered_only = yes option = { name = kosovo_un.1.a log = "[GetDateText]: [This.GetName]: kosovo_un.1.a executed" ai_chance = { base = 1 } add_timed_idea = { idea = KOS_education_focus_idea days = 600 } } option = { name = kosovo_un.1.b log = "[GetDateText]: [This.GetName]: kosovo_un.1.b executed" ai_chance = { base = 1 } add_timed_idea = { idea = KOS_industry_focus_idea days = 600 } } option = { name = kosovo_un.1.c log = "[GetDateText]: [This.GetName]: kosovo_un.1.c executed" ai_chance = { base = 1 } add_timed_idea = { idea = KOS_social_focus_idea days = 600 } } } # Republika Srpska breaks from Bosnia (fired on RSK release) country_event = { id = Serbia.35 title = Serbia.35.t desc = Serbia.35.d picture = GFX_srpska_portests is_triggered_only = yes trigger = { original_tag = SER country_exists = RSK } option = { name = Serbia.35.a log = "[GetDateText]: [This.GetName]: Serbia.35.a executed" add_ideas = BOS_SER_vol_troops add_opinion_modifier = { target = RSK modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = RSK modifier = declaration_of_friendship } add_threat = 2 ai_chance = { base = 60 modifier = { factor = 2 has_government = nationalist } modifier = { factor = 0 has_government = democratic } } } option = { name = Serbia.35.b log = "[GetDateText]: [This.GetName]: Serbia.35.b executed" add_stability = 0.02 add_political_power = 25 ai_chance = { base = 40 modifier = { factor = 2 has_government = democratic } modifier = { factor = 0 has_government = nationalist } } } }