# Author(s): AngriestBird, Doolittle, Papinian7 add_namespace = EUevent add_namespace = EUelection add_namespace = EUvote add_namespace = EUbudget add_namespace = EU_POTEF_news # Parliament Vote Started country_event = { id = EUvote.1 title = EUvote.1.t desc = EUvote.1.d picture = GFX_european_parliament is_triggered_only = yes minor_flavor = yes option = { name = EUvote.1.a log = "[GetDateText]: [ROOT.GetName]: event EUvote.1.a" custom_effect_tooltip = eu_voting_minor_popup_tt } } # Council Vote Started country_event = { id = EUvote.2 title = EUvote.2.t desc = EUvote.2.d picture = GFX_european_council is_triggered_only = yes minor_flavor = yes option = { name = EUvote.2.a log = "[GetDateText]: [ROOT.GetName]: event EUvote.2.a" custom_effect_tooltip = eu_voting_minor_popup_tt } } # The Parliament is Ready for Session country_event = { id = EUvote.3 title = EUvote.3.t desc = EUvote.3.d picture = GFX_european_council is_triggered_only = yes minor_flavor = yes option = { name = EUvote.3.a log = "[GetDateText]: [ROOT.GetName]: event EUvote.3.a" custom_effect_tooltip = eu_voting_minor_popup_tt } } # The Council is Ready for Session country_event = { id = EUvote.4 title = EUvote.4.t desc = EUvote.4.d picture = GFX_european_council is_triggered_only = yes minor_flavor = yes option = { name = EUvote.4.a log = "[GetDateText]: [ROOT.GetName]: event EUvote.4.a" custom_effect_tooltip = eu_voting_minor_popup_tt } } # Budget Draft in 7 days country_event = { id = EUbudget.10 title = EUbudget.10.t desc = EUbudget.10.d picture = GFX_european_council is_triggered_only = yes minor_flavor = yes option = { name = EUbudget.10.a log = "[GetDateText]: [ROOT.GetName]: event EUbudget.10.a" custom_effect_tooltip = eu_voting_minor_popup_tt } } # Budget Draft Ongoing country_event = { id = EUbudget.11 title = EUbudget.11.t desc = EUbudget.11.d picture = GFX_european_council is_triggered_only = yes minor_flavor = yes option = { name = EUbudget.11.a log = "[GetDateText]: [ROOT.GetName]: event EUbudget.11.a" custom_effect_tooltip = eu_voting_minor_popup_tt } } # MFF Draft in 14 days country_event = { id = EUbudget.20 title = EUbudget.20.t desc = EUbudget.20.d picture = GFX_european_council is_triggered_only = yes minor_flavor = yes option = { name = EUbudget.20.a log = "[GetDateText]: [ROOT.GetName]: event EUbudget.20.a" custom_effect_tooltip = eu_voting_minor_popup_tt } } # MFF Draft Ongoing country_event = { id = EUbudget.21 title = EUbudget.21.t desc = EUbudget.21.d picture = GFX_european_council is_triggered_only = yes minor_flavor = yes option = { name = EUbudget.21.a log = "[GetDateText]: [ROOT.GetName]: event EUbudget.21.a" custom_effect_tooltip = eu_voting_minor_popup_tt } } country_event = { id = EUevent.4 title = EUevent.4.t desc = EUevent.4.d picture = GFX_european_union_flag is_triggered_only = yes option = { #a name = EUevent.4.a log = "[GetDateText]: [THIS.GetName]: event EUevent.4.a" if = { limit = { NOT = { original_tag = FROM } } FROM = { annex_country = { target = ROOT transfer_troops = yes } # Integrates Entire Economy of the nation add_to_variable = { treasury = ROOT.treasury } add_to_variable = { debt = ROOT.debt } add_to_variable = { int_investments = ROOT.int_investments } set_variable = { tag_to_grab = ROOT.id } update_missile_satellite_inventory = yes } } } } # European Debt Crisis country_event = { id = EUevent.5 title = EUevent.5.t desc = EUevent.5.d picture = GFX_eurojail is_triggered_only = yes fire_only_once = yes # The Euro is at Stake! option = { name = EUevent.5.a log = "[GetDateText]: [ROOT.GetName]: event EUevent.5.a" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_ideas = european_debt_crisis if = { limit = { check_variable = { interest_rate > 4.5 } gdp_debt_ratio_lower_75 = yes } add_ideas = EUU_national_dept_crisis_eu } } set_global_flag = EUU_european_debt_crisis } } # Eurozone Reforms country_event = { id = EUevent.6 title = EUevent.6.t desc = EUevent.6.d picture = GFX_eurozone_reforms is_triggered_only = yes # In varietate concordia # - European Union Debt Crisis Will Never Happen option = { name = EUevent.6.a log = "[GetDateText]: [ROOT.GetName]: event EUevent.6.a" set_global_flag = eurozone_reforms set_temp_variable = { modify_europeanism = 0.10 } europeanism_change = yes } } # Eurozone Reforms country_event = { id = EUevent.7 title = EUevent.7.t desc = EUevent.7.d picture = GFX_eurozone_reforms is_triggered_only = yes trigger = { NOT = { has_global_flag = eurozone_reforms } has_idea = EU_member } # So they begin option = { name = EUevent.7.a log = "[GetDateText]: [ROOT.GetName]: event EUevent.7.a" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN activate_mission = eurozone_reforms } } } # Troika Reforms Accomplished country_event = { id = EUevent.8 title = EUevent.8.t desc = EUevent.8.d picture = GFX_european_union_flag is_triggered_only = yes # two years option = { #a name = EUevent.8.a log = "[GetDateText]: [ROOT.GetName]: event EUevent.8.a" remove_ideas = EUU_national_dept_crisis_eu add_timed_idea = { idea = austerity days = 730 } } } # EU Exit by Accident country_event = { id = EUevent.9 title = EUevent.9.t desc = EUevent.9.d picture = GFX_article_50 is_triggered_only = yes option = { name = EUevent.9.a log = "[GetDateText]: [ROOT.GetName]: event EUevent.9.a" ROOT = { add_timed_idea = { idea = no_deal_exit days = 1825 # five years # unprepared no deal exit } leaving_EU = yes } news_event = EU_news.20 } } # EuroNavy Transfer Navy country_event = { id = EUevent.10 title = EUevent.10.t desc = EUevent.10.d picture = GFX_carrier is_triggered_only = yes option = { name = EUevent.10.a log = "[GetDateText]: [ROOT.GetName]: event EUevent.10.a" ROOT = { transfer_navy = { target = FROM } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN news_event = EU_news.25 } ai_chance = { base = 100 } } option = { #b no name = EUevent.10.b log = "[GetDateText]: [ROOT.GetName]: event EUevent.10.b" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN news_event = EU_news.26 } ai_chance = { base = 0 } } } ### FROM asks us to host a Military Exercise country_event = { id = EUevent.18 title = EUevent.18.t desc = EUevent.18.d picture = GFX_france_leclerc is_triggered_only = yes option = { #a yes name = EUevent.18.a log = "[GetDateText]: [ROOT.GetName]: event EUevent.18.a" # Only host if we own a province bordering the exercise target; otherwise the mission is uncompletable. if = { limit = { any_owned_state = { any_neighbor_state = { is_owned_by = FROM.var_EU_military_exercise_target } } } set_country_flag = EU_host_military_exercise@FROM random_owned_state = { limit = { any_neighbor_state = { is_owned_by = FROM.var_EU_military_exercise_target } } set_variable = { var = FROM.var_EU_military_exercise_host_state value = THIS } } FROM = { activate_mission = EU_military_exercise_mission set_variable = { var = FROM.var_EU_military_exercise_host_tag value = ROOT } } } ai_chance = { base = 1 } } option = { #b no name = EUevent.18.b ai_chance = { base = 0 } } } # pre_accession_assistance country_event = { id = EUevent.20 title = EUevent.20.t desc = EUevent.20.d picture = GFX_euro is_triggered_only = yes option = { #a yes name = EUevent.20.a log = "[GetDateText]: [ROOT.GetName]: event EUevent.20.a" set_temp_variable = { gdp_percent = FROM.gdp_total } set_temp_variable = { treasury_change = { value = gdp_percent multiply = -0.05 } } modify_treasury_effect = yes FROM = { decrease_corruption = yes } } option = { #b no name = EUevent.20.b } } # Office Expired country_event = { id = EUevent.21 title = EUevent.21.t desc = EUevent.21.d picture = GFX_european_union_flag is_triggered_only = yes # Thanks for Tip! option = { name = EUevent.21.a } } # The Migrant Crisis of Europe country_event = { id = EUevent.22 title = EUevent.22.t desc = EUevent.22.d picture = GFX_european_migrant_crisis is_triggered_only = yes # Focus on Anti-Asylum Policies option = { name = EUevent.22.a log = "[GetDateText]: [ROOT.GetName]: event EUevent.22.a" for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN add_ideas = Migrant_Crisis_Europe } } } # European Union Election country_event = { id = EUelection.1 title = EUelection.1.t desc = EUelection.1.d picture = GFX_european_parliament_elections is_triggered_only = yes option = { name = EUelection.1.a log = "[GetDateText]: [ROOT.GetName]: event EUelection.1.a" clear_EU_Parliament = yes election_EU_Parliament = yes activate_mission = EU_election_5_years ### Result of EU Parliament elections for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN news_event = EU_news.52 } } } country_event = { id = EUelection.2 title = EUelection.2.t desc = EUelection.2.d picture = GFX_european_parliament_elections is_triggered_only = yes option = { #a name = EUelection.2.a log = "[GetDateText]: [ROOT.GetName]: event EUelection.2.a" clear_EU_Parliament = yes election_EU_Parliament = yes } } # ----- POTEF news_event = { id = EU_POTEF_news.1 title = EU_POTEF_news.1.t desc = EU_POTEF_news.1.d picture = GFX_eu is_triggered_only = yes option = { name = EU_POTEF_news.1.a } } news_event = { id = EU_POTEF_news.2 title = EU_POTEF_news.2.t desc = EU_POTEF_news.2.d picture = GFX_eu major = yes is_triggered_only = yes option = { name = EU_POTEF_news.2.a } } news_event = { id = EU_POTEF_news.5 title = EU_POTEF_news.5.t desc = EU_POTEF_news.5.d picture = GFX_eu is_triggered_only = yes option = { name = EU_POTEF_news.5.a } } news_event = { id = EU_POTEF_news.6 title = EU_POTEF_news.6.t desc = EU_POTEF_news.6.d picture = GFX_eu is_triggered_only = yes option = { name = EU_POTEF_news.6.a } }