add_namespace = slovenia # Subideology party successions for Slovenia. # Each ideology slot starts on its default party (set in history/countries/SLV - Slovenia.txt) # and is swapped to the historically active party on that party's founding date. # Every swap is guarded by the expected previous flag so the year-hook path (forward play # from a 2000 start) and the startup catch-up path (mid-game bookmarks) can never double-apply. # Startup catch-up: on a mid-game start, set each slot to the era-correct party immediately. country_event = { id = slovenia.0 hidden = yes is_triggered_only = yes immediate = { # Liberalism: LDS -> Positive Slovenia -> List of Marjan Šarec -> Z.DEJ -> Freedom Movement if = { limit = { date > 2022.4.24 } clr_country_flag = SLV_Liberal_Democracy_of_Slovenia clr_country_flag = SLV_Positive_Slovenia clr_country_flag = SLV_List_of_Marjan clr_country_flag = SLV_ZDEJ set_country_flag = SLV_Freedom } else_if = { limit = { date > 2021.1.26 } clr_country_flag = SLV_Liberal_Democracy_of_Slovenia clr_country_flag = SLV_Positive_Slovenia clr_country_flag = SLV_List_of_Marjan set_country_flag = SLV_ZDEJ } else_if = { limit = { date > 2018.6.3 } clr_country_flag = SLV_Liberal_Democracy_of_Slovenia clr_country_flag = SLV_Positive_Slovenia set_country_flag = SLV_List_of_Marjan } else_if = { limit = { date > 2011.10.22 } clr_country_flag = SLV_Liberal_Democracy_of_Slovenia set_country_flag = SLV_Positive_Slovenia } # Western Autocracy: Modern Centre Party -> Konkretno if = { limit = { date > 2022.1.27 } clr_country_flag = SLV_Modern_Centre_Party set_country_flag = SLV_Konkretno } # Anarchist communism: Initiative for Democratic Socialism -> The Left if = { limit = { date > 2017.6.24 } clr_country_flag = SLV_Initiative_for_Democratic_Socialism set_country_flag = SLV_The_Left } # Non-aligned greens: Greens of Slovenia -> Youth Party -> United Greens coalition if = { limit = { date > 2007.10.20 } clr_country_flag = SLV_Neutral_green_party clr_country_flag = SLV_Neutral_green_Youth_party set_country_flag = SLV_Neutral_green_coalition } else_if = { limit = { date > 2000.7.4 } clr_country_flag = SLV_Neutral_green_party set_country_flag = SLV_Neutral_green_Youth_party } hidden_effect = { update_party_name = yes } } } # 2011 — Positive Slovenia (PS) founded, supplants the Liberal Democracy of Slovenia. country_event = { id = slovenia.1 hidden = yes is_triggered_only = yes trigger = { has_country_flag = SLV_Liberal_Democracy_of_Slovenia } immediate = { log = "[GetDateText]: [This.GetName]: slovenia.1 - Positive Slovenia takes the liberalism slot" clr_country_flag = SLV_Liberal_Democracy_of_Slovenia set_country_flag = SLV_Positive_Slovenia hidden_effect = { update_party_name = yes } } } # 2018 — List of Marjan Šarec (LMŠ) enters national politics. country_event = { id = slovenia.2 hidden = yes is_triggered_only = yes trigger = { has_country_flag = SLV_Positive_Slovenia } immediate = { log = "[GetDateText]: [This.GetName]: slovenia.2 - List of Marjan Šarec takes the liberalism slot" clr_country_flag = SLV_Positive_Slovenia set_country_flag = SLV_List_of_Marjan hidden_effect = { update_party_name = yes } } } # 2021 — Z.DEJ (Green Action) registered. country_event = { id = slovenia.3 hidden = yes is_triggered_only = yes trigger = { has_country_flag = SLV_List_of_Marjan } immediate = { log = "[GetDateText]: [This.GetName]: slovenia.3 - Z.DEJ takes the liberalism slot" clr_country_flag = SLV_List_of_Marjan set_country_flag = SLV_ZDEJ hidden_effect = { update_party_name = yes } } } # 2022 — Z.DEJ rebrands as the Freedom Movement and wins the election. country_event = { id = slovenia.4 hidden = yes is_triggered_only = yes trigger = { has_country_flag = SLV_ZDEJ } immediate = { log = "[GetDateText]: [This.GetName]: slovenia.4 - Freedom Movement takes the liberalism slot" clr_country_flag = SLV_ZDEJ set_country_flag = SLV_Freedom hidden_effect = { update_party_name = yes } } } # 2022 — Modern Centre Party merges into Konkretno. country_event = { id = slovenia.5 hidden = yes is_triggered_only = yes trigger = { has_country_flag = SLV_Modern_Centre_Party } immediate = { log = "[GetDateText]: [This.GetName]: slovenia.5 - Konkretno takes the Western Autocracy slot" clr_country_flag = SLV_Modern_Centre_Party set_country_flag = SLV_Konkretno hidden_effect = { update_party_name = yes } } } # 2017 — The Left (Levica) forms from the Initiative for Democratic Socialism. country_event = { id = slovenia.6 hidden = yes is_triggered_only = yes trigger = { has_country_flag = SLV_Initiative_for_Democratic_Socialism } immediate = { log = "[GetDateText]: [This.GetName]: slovenia.6 - The Left takes the anarchist communism slot" clr_country_flag = SLV_Initiative_for_Democratic_Socialism set_country_flag = SLV_The_Left hidden_effect = { update_party_name = yes } } } # 2000 — Youth Party of Slovenia (SMS) founded. country_event = { id = slovenia.7 hidden = yes is_triggered_only = yes trigger = { has_country_flag = SLV_Neutral_green_party } immediate = { log = "[GetDateText]: [This.GetName]: slovenia.7 - Youth Party takes the non-aligned green slot" clr_country_flag = SLV_Neutral_green_party set_country_flag = SLV_Neutral_green_Youth_party hidden_effect = { update_party_name = yes } } } # 2007 — Youth Party merges with the Greens into the United Greens coalition. country_event = { id = slovenia.8 hidden = yes is_triggered_only = yes trigger = { has_country_flag = SLV_Neutral_green_Youth_party } immediate = { log = "[GetDateText]: [This.GetName]: slovenia.8 - United Greens coalition takes the non-aligned green slot" clr_country_flag = SLV_Neutral_green_Youth_party set_country_flag = SLV_Neutral_green_coalition hidden_effect = { update_party_name = yes } } } # NATO Accession Celebrations (29 March 2004) country_event = { id = slovenia.9 title = slovenia.9.t desc = slovenia.9.d picture = GFX_slovenian_flag_nato is_triggered_only = yes trigger = { original_tag = SLV has_idea = NATO_member } option = { name = slovenia.9.a log = "[GetDateText]: [This.GetName]: slovenia.9.a executed" add_political_power = 50 add_stability = 0.02 ai_chance = { base = 30 } } } # EU Accession Celebrations (1 May 2004) country_event = { id = slovenia.10 title = slovenia.10.t desc = slovenia.10.d picture = GFX_european_parliament is_triggered_only = yes trigger = { original_tag = SLV has_idea = EU_member } option = { name = slovenia.10.a log = "[GetDateText]: [This.GetName]: slovenia.10.a executed" add_political_power = 50 add_stability = 0.02 set_temp_variable = { temp_productivity_change = 3 } flat_productivity_change_effect = yes ai_chance = { base = 30 } } } # Euro Adoption (1 January 2007) country_event = { id = slovenia.11 title = slovenia.11.t desc = slovenia.11.d picture = GFX_invetsments_in_eastern_europe is_triggered_only = yes trigger = { original_tag = SLV has_idea = EU_member } option = { name = slovenia.11.a log = "[GetDateText]: [This.GetName]: slovenia.11.a executed" add_political_power = 25 set_temp_variable = { temp_productivity_change = 2 } flat_productivity_change_effect = yes ai_chance = { base = 30 } } } # Schengen Entry (21 December 2007) country_event = { id = slovenia.12 title = slovenia.12.t desc = slovenia.12.d picture = GFX_european_union_flag is_triggered_only = yes trigger = { original_tag = SLV has_idea = EU_member } option = { name = slovenia.12.a log = "[GetDateText]: [This.GetName]: slovenia.12.a executed" add_political_power = 25 set_temp_variable = { temp_productivity_change = 2 } flat_productivity_change_effect = yes ai_chance = { base = 30 } } }