# Author(s): Tasos, Kor, XilingoHotel, Reid, Angel, Jame, Bond, Alex, BirdyBoi add_namespace = estonia add_namespace = baltic_un # Baltic Crossroads country_event = { id = estonia.1 title = estonia.1.t desc = estonia.1.d picture = GFX_computer is_triggered_only = yes fire_only_once = yes trigger = { has_completed_focus = EST_baltic_crossroad } option = { name = estonia.1.o1 log = "[GetDateText]: [This.GetName]: event estonia.1.o1 executed" add_political_power = 100 add_stability = 0.03 add_popularity = { ideology = neutrality popularity = 0.05 } recalculate_party = yes ai_chance = { base = 1 } } } country_event = { id = estonia.2 title = estonia.2.t desc = estonia.2.d picture = GFX_message_signing is_triggered_only = yes fire_only_once = yes option = { #War is the only way to our goals name = estonia.2.o1 log = "[GetDateText]: [This.GetName]: event estonia.2.o1 executed" ai_chance = { base = 40 } add_state_claim = 1058 add_state_claim = 1013 add_state_claim = 108 add_state_claim = 107 add_stability = -0.15 } option = { #Peaceful resolution name = estonia.2.o2 log = "[GetDateText]: [This.GetName]: event estonia.2.o2 executed" ai_chance = { base = 60 } add_political_power = -15 add_stability = 0.01 } } country_event = { id = estonia.3 title = estonia.3.t desc = estonia.3.d picture = GFX_message_signing is_triggered_only = yes fire_only_once = yes option = { #War is the only way to our goals name = estonia.3.o1 log = "[GetDateText]: [This.GetName]: event estonia.3.o1 executed" ai_chance = { base = 40 } add_state_claim = 109 add_state_claim = 110 add_state_claim = 1044 add_state_claim = 1043 add_stability = -0.15 } option = { #Peaceful resolution name = estonia.3.o2 log = "[GetDateText]: [This.GetName]: event estonia.3.o2 executed" ai_chance = { base = 60 } add_political_power = -15 add_stability = 0.01 } } #Eurovision Contest 2001 country_event = { id = estonia.5 title = estonia.5.t desc = estonia.5.d picture = GFX_EST_EuroVision is_triggered_only = yes fire_only_once = yes option = { name = estonia.5.o1 log = "[GetDateText]: [This.GetName]: event estonia.5.o1 executed" add_political_power = 100 } } country_event = { id = estonia.8 title = estonia.8.t desc = estonia.8.d picture = GFX_EST_LocalElections is_triggered_only = yes fire_only_once = yes option = { name = estonia.8.o1 log = "[GetDateText]: [This.GetName]: event estonia.8.o1 executed" set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes set_temp_variable = { party_index = 3 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes set_country_flag = EST_lean_west_flag ai_chance = { base = 10 modifier = { factor = 5 EST_ai_western_path = yes } modifier = { factor = 0 has_global_flag = EST_CENTRIST_FOCUS_PATH } modifier = { factor = 0 has_global_flag = EST_NATIONALIST_FOCUS_PATH } } } option = { name = estonia.8.o2 log = "[GetDateText]: [This.GetName]: event estonia.8.o2 executed" set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes set_temp_variable = { party_index = 6 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes ai_chance = { base = 10 modifier = { factor = 0 EST_ai_western_path = yes } modifier = { factor = 0 has_global_flag = EST_CENTRIST_FOCUS_PATH } } } option = { name = estonia.8.o3 log = "[GetDateText]: [This.GetName]: event estonia.8.o3 executed" set_temp_variable = { party_index = 15 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes set_country_flag = EST_lean_neutral_flag ai_chance = { base = 10 modifier = { factor = 5 has_global_flag = EST_CENTRIST_FOCUS_PATH } modifier = { factor = 0 EST_ai_western_path = yes } modifier = { factor = 0 has_global_flag = EST_NATIONALIST_FOCUS_PATH } } } } # War of Independence Victory Column country_event = { id = estonia.6 title = estonia.6.t desc = estonia.6.d picture = GFX_EST_VictoryColumng is_triggered_only = yes option = { name = estonia.6.o1 log = "[GetDateText]: [This.GetName]: event estonia.6.o1 executed" add_political_power = 100 add_stability = 0.10 } } # Copterline Crash country_event = { id = estonia.7 title = estonia.7.t desc = estonia.7.d picture = GFX_copterline_crash is_triggered_only = yes option = { name = estonia.7.o1 log = "[GetDateText]: [This.GetName]: event estonia.7.o1 executed" add_political_power = -50 add_stability = -0.05 } option = { name = estonia.7.o2 log = "[GetDateText]: [This.GetName]: event estonia.7.o2 executed" add_political_power = -100 set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } option = { name = estonia.7.o3 log = "[GetDateText]: [This.GetName]: event estonia.7.o3 executed" add_political_power = 10 add_stability = -0.01 set_temp_variable = { treasury_change = -5.5 } modify_treasury_effect = yes } } country_event = { id = baltic_un.1 title = baltic_un.1.t desc = baltic_un.1.d picture = GFX_computer is_triggered_only = yes # Join the Baltic Union option = { name = baltic_un.1.o1 log = "[GetDateText]: [This.GetName]: event baltic_un.1.o1 executed" trigger = { tag = LIT } every_owned_state = { add_core_of = EST } EST = { annex_country = { target = LIT transfer_troops = yes } LIT = { every_unit_leader = { set_nationality = PREV } } } ai_chance = { base = 1 modifier = { factor = 2 has_government = EST } modifier = { factor = 1.5 has_opinion = { target = EST value > 100 } } modifier = { factor = 1.5 check_variable = { influence_array^0 = EST.id } check_variable = { influence_array_val^0 > 69.99 } } modifier = { factor = 10 LIT = { is_subject_of = EST } } } } option = { name = baltic_un.1.o1 log = "[GetDateText]: [This.GetName]: event baltic_un.1.o1 executed" trigger = { tag = LAT } every_owned_state = { add_core_of = EST } EST = { annex_country = { target = LAT transfer_troops = yes } LAT = { every_unit_leader = { set_nationality = PREV } } } ai_chance = { base = 1 modifier = { factor = 2 has_government = EST } modifier = { factor = 1.5 has_opinion = { target = EST value > 100 } } modifier = { factor = 1.5 check_variable = { influence_array^0 = EST.id } check_variable = { influence_array_val^0 > 69.99 } } modifier = { factor = 10 is_subject_of = EST } } } # Refuse the Estonians option = { name = baltic_un.1.o2 log = "[GetDateText]: [This.GetName]: event baltic_un.1.o2 executed" trigger = { original_tag = LIT } EST = { country_event = estonia.3 } ai_chance = { base = 5 modifier = { factor = 2 has_government = nationalist } } } option = { name = baltic_un.1.o2 log = "[GetDateText]: [This.GetName]: event baltic_un.1.o2 executed" trigger = { original_tag = LAT } EST = { country_event = estonia.2 } ai_chance = { base = 5 modifier = { factor = 2 has_government = nationalist } } } } country_event = { id = estonia.9 title = estonia.9.t desc = estonia.9.d picture = GFX_bronze_night is_triggered_only = yes fire_only_once = yes immediate = { hidden_effect = { country_event = { id = estonia.10 days = 7 random_days = 3 } } } option = { name = estonia.9.o1 #Move that monument! log = "[GetDateText]: [This.GetName]: event estonia.9.o1 executed" add_stability = -0.05 add_political_power = -50 add_war_support = 0.025 add_popularity = { ideology = democratic popularity = 0.05 } recalculate_party = yes } option = { name = estonia.9.o2 #We should listen to them. log = "[GetDateText]: [This.GetName]: event estonia.9.o2 executed" add_stability = 0.03 add_war_support = -0.03 add_popularity = { ideology = communism popularity = 0.09 } recalculate_party = yes } } country_event = { id = estonia.10 title = estonia.10.t desc = estonia.10.d picture = GFX_cyber_attack is_triggered_only = yes fire_only_once = yes # Blame the Russians! option = { name = estonia.10.o1 log = "[GetDateText]: [This.GetName]: event estonia.10.o1 executed" SOV = { add_opinion_modifier = { target = ROOT modifier = EST_attack_on_cyber_infrastructure } } add_stability = -0.04 } # It's the Americans! option = { name = estonia.10.o2 log = "[GetDateText]: [This.GetName]: event estonia.10.o2 executed" USA = { add_opinion_modifier = { target = ROOT modifier = EST_attack_on_cyber_infrastructure } } add_stability = -0.04 } } # Estonia School Shooting country_event = { id = estonia.11 title = estonia.11.t desc = estonia.11.d picture = GFX_EST_SchoolShooting is_triggered_only = yes option = { name = estonia.11.o1 # IDGAF Route log = "[GetDateText]: [This.GetName]: event estonia.11.o1 executed" add_stability = -0.05 ai_chance = { base = 0 } } option = { name = estonia.11.o2 # Compassionate Route log = "[GetDateText]: [This.GetName]: event estonia.11.o2 executed" increase_healthcare_budget = yes ai_chance = { base = 1 } } option = { name = estonia.11.o3 # Increased Policing route log = "[GetDateText]: [This.GetName]: event estonia.11.o3 executed" increase_policing_budget = yes add_popularity = { ideology = nationalist popularity = 0.02 } recalculate_party = yes ai_chance = { base = 0 } } } # Estonia's National Day country_event = { id = estonia.12 title = estonia.12.t desc = estonia.12.d picture = GFX_EST_NationalDay is_triggered_only = yes option = { name = estonia.12.o1 log = "[GetDateText]: [This.GetName]: event estonia.12.o1 executed" add_stability = 0.02 add_political_power = 125 } } #ETV2 Broadcast channel country_event = { id = estonia.16 title = estonia.16.t desc = estonia.16.d picture = GFX_EST_etv2 is_triggered_only = yes option = { name = estonia.16.o1 log = "[GetDateText]: [This.GetName]: event estonia.16.o1 executed" add_stability = 0.05 set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes } } country_event = { # Constitutional reform focus id = estonia.18 title = estonia.18.t desc = estonia.18.d picture = GFX_computer is_triggered_only = yes fire_only_once = yes trigger = { original_tag = EST has_completed_focus = EST_constitutional_reform } option = { # Leftist option name = estonia.18.o1 log = "[GetDateText]: [This.GetName]: event estonia.18.o1 executed" ai_chance = { base = 75 } add_command_power = 10 set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes add_popularity = { ideology = nationalist popularity = -0.1 } add_political_power = 10 } option = { # Conservative option name = estonia.18.o2 log = "[GetDateText]: [This.GetName]: event estonia.18.o2 executed" ai_chance = { base = 25 } add_command_power = 10 set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = -0.01 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes add_popularity = { ideology = nationalist popularity = 0.05 } add_stability = 0.15 } } country_event = { id = estonia.19 title = estonia.19.t desc = estonia.19.d picture = GFX_computer is_triggered_only = yes trigger = { original_tag = EST has_completed_focus = EST_liberal_estonian_cabinet_reform } option = { name = estonia.19.o1 log = "[GetDateText]: [This.GetName]: event estonia.19.o1 executed" set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes add_war_support = 0.05 } } # Economic Heaven country_event = { id = estonia.20 title = estonia.20.t desc = estonia.20.d picture = GFX_banking_crisis is_triggered_only = yes trigger = { original_tag = FIN } option = { name = estonia.20.o1 log = "[GetDateText]: [This.GetName]: event estonia.20.o1 executed" effect_tooltip = { 106 = { add_building_construction = { type = offices level = 1 instant_build = yes } } set_temp_variable = { percent_change = 8 } set_temp_variable = { tag_index = FIN } set_temp_variable = { influence_target = EST } change_influence_percentage = yes } ai_chance = { base = 1 } } } ### Flavour Events # 2000 - Estonia & Russia expel diplomats in tit-for-tat moves over spying country_event = { id = estonia.100 title = estonia.100.t desc = estonia.100.d picture = GFX_EST_LocalElections is_triggered_only = yes trigger = { original_tag = EST any_neighbor_country = { original_tag = SOV } } option = { name = estonia.100.a log = "[GetDateText]: [This.GetName]: event estonia.100.a executed" add_opinion_modifier = { target = SOV modifier = diplomatic_insults } reverse_add_opinion_modifier = { target = SOV modifier = diplomatic_insults } set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes set_temp_variable = { temp_change = 2 } change_domestic_influence_percentage = yes ai_chance = { base = 1 } } option = { name = estonia.100.b log = "[GetDateText]: [This.GetName]: event estonia.100.b executed" add_political_power = 100 add_opinion_modifier = { target = SOV modifier = tensions_eased } reverse_add_opinion_modifier = { target = SOV modifier = tensions_eased } ai_chance = { base = 0 } } } # 2001 - Res Publica is established country_event = { id = estonia.101 title = estonia.101.t desc = estonia.101.d picture = GFX_banking_crisis is_triggered_only = yes trigger = { original_tag = EST } option = { name = estonia.101.a ai_chance = { base = 1 } } } # 2001 - New Law scrapping law requiring people to be proficient in the Estonian language country_event = { id = estonia.102 title = estonia.102.t desc = estonia.102.d picture = GFX_banking_crisis is_triggered_only = yes trigger = { original_tag = EST } option = { name = estonia.102.a log = "[GetDateText]: [This.GetName]: event estonia.102.a executed" set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes reverse_add_opinion_modifier = { target = SOV modifier = EST_suppressing_russian_language } ai_chance = { base = 1 } } option = { name = estonia.102.b log = "[GetDateText]: [This.GetName]: event estonia.102.b executed" add_political_power = 50 ai_chance = { base = 1 } } } # 2006 - Kumu Art Museum is established country_event = { id = estonia.106 title = estonia.106.t desc = estonia.106.d picture = GFX_banking_crisis is_triggered_only = yes trigger = { original_tag = EST } option = { name = estonia.106.a log = "[GetDateText]: [This.GetName]: event estonia.106.a executed" add_political_power = 100 set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes ai_chance = { base = 1 } } } # 2008 - Estonian United Left Party is established country_event = { id = estonia.111 title = estonia.111.t desc = estonia.111.d picture = GFX_banking_crisis is_triggered_only = yes trigger = { original_tag = EST } option = { name = estonia.111.a log = "[GetDateText]: [This.GetName]: event estonia.111.a executed" add_popularity = { ideology = communism popularity = 0.02 } recalculate_party = yes set_country_flag = EST_estonian_united_left_forms ai_chance = { base = 1 } } } # 2012 - Eesti Konservatiivne Rahvaerakond is formed country_event = { id = estonia.115 title = estonia.115.t desc = estonia.115.d picture = GFX_banking_crisis is_triggered_only = yes trigger = { original_tag = EST } option = { name = estonia.115.a log = "[GetDateText]: [This.GetName]: event estonia.115.a executed" add_popularity = { ideology = nationalist popularity = 0.02 } recalculate_party = yes set_country_flag = EST_ekre_has_formed } }