set_leader_SER = { if = { limit = { western_autocrats_are_in_power = yes } if = { limit = { check_variable = { Western_Autocracy_leader = 0 } } add_to_variable = { Western_Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Vojislav Mihailovic" picture = "vojislav_mihailovich.dds" ideology = Western_Autocracy traits = { western_Western_Autocracy } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Western_Autocracy_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Western_Autocracy_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Western_Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Vuk Draškovic" picture = "vuk_draskovic.dds" ideology = Western_Autocracy traits = { western_Western_Autocracy } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Western_Autocracy_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 1 } } if = { limit = { check_variable = { conservatism_leader = 0 } } add_to_variable = { conservatism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Velimir Ilic" picture = "velimir_ilic.dds" ideology = conservatism traits = { western_conservatism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { conservatism_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { conservatism_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { conservatism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Dragan Markovic 'Palm'" picture = "dragan_markovic.dds" ideology = conservatism traits = { western_conservatism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { conservatism_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 2 } } if = { limit = { check_variable = { liberalism_leader = 0 } } add_to_variable = { liberalism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Zoran Ðindic" picture = "zoran_dindic.dds" ideology = liberalism traits = { western_liberalism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } } if = { limit = { date < 2008.1.1 } set_temp_variable = { b = 1 } } #skip if 2008 } if = { limit = { check_variable = { liberalism_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { liberalism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Boris Tadić" picture = "Boris_Tadic.dds" ideology = liberalism traits = { western_liberalism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } } if = { limit = { date < 2008.1.1 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { liberalism_leader = 2 } NOT = { check_variable = { b = 1 } } } add_to_variable = { liberalism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Dragan Đilas" picture = "Dragan_Dilas.dds" ideology = liberalism traits = { western_liberalism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } } if = { limit = { date < 2008.1.1 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { liberalism_leader = 3 } NOT = { check_variable = { b = 1 } } } add_to_variable = { liberalism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Bojan Pajtić" picture = "bojan_pajtic.dds" ideology = liberalism traits = { western_liberalism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } } if = { limit = { date < 2008.1.1 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { liberalism_leader = 4 } NOT = { check_variable = { b = 1 } } } add_to_variable = { liberalism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Dragan Šutanovac" picture = "Dragan_Sutanovac.dds" ideology = liberalism traits = { western_liberalism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } } if = { limit = { date < 2008.1.1 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { liberalism_leader = 5 } NOT = { check_variable = { b = 1 } } has_start_date < 2016.1.1 date > 2008.1.1 } add_to_variable = { liberalism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Aleksandar Vučić" picture = "Aleksandar_Vucic.dds" ideology = liberalism traits = { western_liberalism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 3 } } if = { limit = { check_variable = { socialism_leader = 0 } } add_to_variable = { socialism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Žarko Korać" picture = "zarko_korac.dds" ideology = socialism traits = { western_socialism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { socialism_leader = 1 } } } if = { limit = { check_variable = { socialism_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { socialism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ivan Zlatić" picture = "Ivan_Zlatic.dds" ideology = socialism traits = { western_socialism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { socialism_leader = 1 } } if = { limit = { date < 2008.1.1 } set_temp_variable = { b = 1 } } #skip if 2008 } if = { limit = { check_variable = { socialism_leader = 2 } NOT = { check_variable = { b = 1 } } date > 2008.1.1 } add_to_variable = { socialism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Rasim Ljajić" picture = "rasim_ljajic.dds" ideology = socialism traits = { western_socialism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { socialism_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 4 } } if = { limit = { check_variable = { Communist-State_leader = 0 } } add_to_variable = { Communist-State_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Aleksandar Banjanac" picture = "Aleksandar_Banjanac.dds" ideology = Communist-State traits = { emerging_Communist-State } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Communist-State_leader = 1 } } if = { limit = { date < 2010.1.1 } set_temp_variable = { b = 1 } } #skip if 2010 } if = { limit = { check_variable = { Communist-State_leader = 1 } NOT = { OR = { check_variable = { b = 1 } date > 2010.1.1 } } } add_to_variable = { Communist-State_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Joška Broz" picture = "joska_broz.dds" ideology = Communist-State traits = { emerging_Communist-State } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Communist-State_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 5 } } if = { limit = { check_variable = { anarchist_communism_leader = 0 } } add_to_variable = { anarchist_communism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ljubisa Ristic" picture = "ljubisa_ristic.dds" ideology = anarchist_communism traits = { emerging_anarchist_communism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { anarchist_communism_leader = 1 } } if = { limit = { date < 2010.1.1 } set_temp_variable = { b = 1 } } #skip if 2010 } if = { limit = { check_variable = { anarchist_communism_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { anarchist_communism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Mirjana Marković" picture = "gfx/leaders/generic_politicians/white_female_001.dds" ideology = anarchist_communism traits = { emerging_anarchist_communism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { anarchist_communism_leader = 1 } } if = { limit = { date < 2010.1.1 } set_temp_variable = { b = 1 } } #skip if 2010 } if = { limit = { check_variable = { anarchist_communism_leader = 2 } NOT = { check_variable = { b = 1 } } date > 2010.1.1 } add_to_variable = { anarchist_communism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Aleksandar Vulin" picture = "gfx/leaders/generic_politicians/white_011.dds" ideology = anarchist_communism traits = { emerging_anarchist_communism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { anarchist_communism_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 6 } } if = { limit = { check_variable = { Conservative_leader = 0 } } add_to_variable = { Conservative_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Borislav Pelevic" picture = "borislav_pelevic.dds" ideology = Conservative traits = { emerging_Conservative } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Conservative_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Conservative_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Conservative_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Slobodan Nikolic" picture = "slobodan_nikolic.dds" ideology = Conservative traits = { emerging_Conservative } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Conservative_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 7 } } if = { limit = { check_variable = { Autocracy_leader = 0 } date > 2014.1.1 } add_to_variable = { Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Nenad Popović" picture = "Nenad_Popovic.dds" ideology = Autocracy traits = { emerging_Autocracy } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Autocracy_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 12 } } if = { limit = { check_variable = { Neutral_Muslim_Brotherhood_leader = 0 } } add_to_variable = { Neutral_Muslim_Brotherhood_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Rasim Ljajic" picture = "rasim_ljajic.dds" ideology = Neutral_Muslim_Brotherhood traits = { neutrality_Neutral_Muslim_Brotherhood } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Muslim_Brotherhood_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Neutral_Muslim_Brotherhood_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Neutral_Muslim_Brotherhood_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Sulejman Ugljanin" picture = "sulejman_ugljanin.dds" ideology = Neutral_Muslim_Brotherhood traits = { neutrality_Neutral_Muslim_Brotherhood } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Muslim_Brotherhood_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 13 } } if = { limit = { check_variable = { Neutral_Autocracy_leader = 0 } } add_to_variable = { Neutral_Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Borislav Pelevic" picture = "borislav_pelevic.dds" ideology = Neutral_Autocracy traits = { neutrality_Neutral_Autocracy } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Autocracy_leader = 1 } } if = { limit = { date < 2008.1.2 } set_temp_variable = { b = 1 } } } if = { limit = { check_variable = { Neutral_Autocracy_leader = 1 } NOT = { OR = { check_variable = { b = 1 } has_country_flag = SER_radical_divided } } } add_to_variable = { Neutral_Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Tomislav Nikolić" picture = "tomislav_nikolic.dds" ideology = Neutral_Autocracy traits = { neutrality_Neutral_Autocracy } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Autocracy_leader = 1 } } if = { limit = { date < 2017.1.2 } set_temp_variable = { b = 1 } } } if = { limit = { check_variable = { Neutral_Autocracy_leader = 2 } NOT = { OR = { check_variable = { b = 1 } has_country_flag = SER_radical_divided } } } add_to_variable = { Neutral_Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Aleksandar Vučić" picture = "Aleksandar_Vucic.dds" ideology = Neutral_Autocracy traits = { neutrality_Neutral_Autocracy } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Autocracy_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 14 } } if = { limit = { check_variable = { Neutral_conservatism_leader = 0 } } add_to_variable = { Neutral_conservatism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Vojislav Koštunica" picture = "vojislav_kostunica.dds" ideology = Neutral_conservatism traits = { neutrality_Neutral_conservatism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_conservatism_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Neutral_conservatism_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Neutral_conservatism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Sanda Rašković Ivić" picture = "Sanda_Raskovic_Ivic.dds" ideology = Neutral_conservatism traits = { neutrality_Neutral_conservatism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_conservatism_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Neutral_conservatism_leader = 2 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Neutral_conservatism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Miloš Jovanović" picture = "Milos_Jovanovic.dds" ideology = Neutral_conservatism traits = { neutrality_Neutral_conservatism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_conservatism_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 16 } } if = { limit = { check_variable = { Neutral_Libertarian_leader = 0 } } add_to_variable = { Neutral_Libertarian_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Goran Svilanovic" picture = "goran_svilanovic.dds" ideology = Neutral_Libertarian traits = { neutrality_Neutral_Libertarian } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Libertarian_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Neutral_Libertarian_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Neutral_Libertarian_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Vuk Jeremic" picture = "vuk_jeremic.dds" ideology = Neutral_Libertarian traits = { neutrality_Neutral_Libertarian } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Libertarian_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 17 } } if = { limit = { check_variable = { Neutral_green_leader = 0 } date > 2007.1.1 } add_to_variable = { Neutral_green_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ivan Karić" picture = "ivan_karic.dds" ideology = Neutral_green traits = { neutrality_Neutral_green } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_green_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 18 } } if = { limit = { check_variable = { neutral_Social_leader = 0 } NOT = { has_country_leader = { name = "Slobodan Milošević" ruling_only = yes } } } add_to_variable = { neutral_Social_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ivica Dačić" picture = "ivica_dacic.dds" ideology = neutral_Social traits = { neutrality_neutral_Social } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { neutral_Social_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 19 } } if = { limit = { check_variable = { Neutral_Communism_leader = 0 } } add_to_variable = { Neutral_Communism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Mira Tokanović" picture = "Mira_Tokanovic.dds" ideology = Neutral_Communism traits = { neutrality_Neutral_Communism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Communism_leader = 1 } } if = { limit = { date < 2010.1.1 } set_temp_variable = { b = 1 } } #skip if 2017 } } else_if = { limit = { check_variable = { ruling_party = 20 } } if = { limit = { check_variable = { Nat_Populism_leader = 0 } NOT = { has_country_leader = { name = "Slobodan Milošević" ruling_only = yes } } } add_to_variable = { Nat_Populism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Boško Obradovic" picture = "bosko_obradovic.dds" ideology = Nat_Populism traits = { nationalist_Nat_Populism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Populism_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 21 } } if = { limit = { check_variable = { Nat_Fascism_leader = 0 } } add_to_variable = { Nat_Fascism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Vojislav Šešelj" picture = "vojislav_seselj.dds" ideology = Nat_Fascism traits = { nationalist_Nat_Fascism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Fascism_leader = 1 } } set_temp_variable = { b = 1 } } if = { limit = { check_variable = { Nat_Fascism_leader = 1 } NOT = { OR = { check_variable = { b = 1 } has_country_flag = SER_radical_divided } } } add_to_variable = { Nat_Fascism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Tomislav Nikolić" picture = "tomislav_nikolic.dds" ideology = Nat_Fascism traits = { nationalist_Nat_Fascism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Fascism_leader = 1 } } set_temp_variable = { b = 1 } } if = { limit = { check_variable = { Nat_Fascism_leader = 2 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Nat_Fascism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Dragan Todorović" picture = "Dragan_Todorovic.dds" ideology = Nat_Fascism traits = { nationalist_Nat_Fascism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Fascism_leader = 1 } } set_temp_variable = { b = 1 } } if = { limit = { check_variable = { Nat_Fascism_leader = 3 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Nat_Fascism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Nemanja Šarović" picture = "Nemanja_Sarovic.dds" ideology = Nat_Fascism traits = { nationalist_Nat_Fascism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Fascism_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 22 } } if = { limit = { check_variable = { Nat_Autocracy_leader = 0 } } add_to_variable = { Nat_Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Milorad Ulemek 'Legia'" picture = "milorad_ulemek_legia.dds" ideology = Nat_Autocracy traits = { nationalist_Nat_Autocracy } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Autocracy_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } } else_if = { limit = { check_variable = { ruling_party = 23 } } if = { limit = { check_variable = { Monarchist_leader = 0 } } add_to_variable = { Monarchist_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Alexander II Karađorđević" picture = "alexander_ii_of_yugoslavia.dds" ideology = Monarchist traits = { nationalist_Monarchist } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Monarchist_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Monarchist_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Monarchist_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Peter III Karađorđević" picture = "Peter_III_Karadordevic.dds" ideology = Monarchist traits = { nationalist_Monarchist } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Monarchist_leader = 1 } } set_temp_variable = { b = 1 } } } }