set_leader_ALG = { 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 = "Redha Malek" picture = "Redha_Malek.dds" expire = "2017.7.29" ideology = conservatism traits = { western_conservatism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { conservatism_leader = 1 } } } 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 = "Belkacem Sahli" picture = "belkacem_sahli.dds" ideology = conservatism traits = { western_conservatism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { conservatism_leader = 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 = "Abdelaziz Bouteflika" picture = "ALG_Abdelaziz_Bouteflika.dds" expire = "2009.01.01" ideology = liberalism traits = { western_liberalism corruptible popular_figurehead career_politician } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } 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 = "Azzedine Mihoubi" picture = "Azzedine_Mhoubi.dds" ideology = liberalism traits = { western_liberalism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 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 = "Amara Benyouns" picture = "amara_benyounes.dds" ideology = socialism traits = { western_socialism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { socialism_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } } 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 = "Moussa Touati" picture = "moussa_touati.dds" ideology = Conservative traits = { emerging_Conservative } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Conservative_leader = 1 } } } } else_if = { limit = { check_variable = { ruling_party = 7 } } if = { limit = { check_variable = { Autocracy_leader = 0 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ali Benflis" picture = "Ali_Benflis.dds" expire = "2009.1.1" ideology = Autocracy traits = { emerging_Autocracy } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Autocracy_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Autocracy_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Abdelaziz Bouteflika" picture = "ALG_Abdelaziz_Bouteflika.dds" expire = "2019.4.2" ideology = Autocracy traits = { emerging_Autocracy corruptible popular_figurehead career_politician } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Autocracy_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Autocracy_leader = 2 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Djamel Ould Abbes" picture = "Djamel_Ould_Abbes.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 } } if = { limit = { check_variable = { Autocracy_leader = 3 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Abdelmajid Tebboune" picture = "tebboune.dds" ideology = Autocracy traits = { emerging_Autocracy technocrat career_politician } } 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 = 11 } } if = { limit = { check_variable = { Caliphate_leader = 0 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Caliphate_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Hassan Hattab" picture = "Hassan_Hattab.dds" expire = "2003.10.23" ideology = Caliphate traits = { salafist_Caliphate } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Caliphate_leader = 1 } } } if = { limit = { check_variable = { Caliphate_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Caliphate_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Nabil Sahraoui" picture = "Nabil_Sahraoui.dds" expire = "2004.6.20" ideology = Caliphate traits = { salafist_Caliphate } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Caliphate_leader = 1 } } } if = { limit = { check_variable = { Caliphate_leader = 2 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Caliphate_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Abdelmalek Droukdel" picture = "abdelmalek_droukdel.dds" ideology = Caliphate expire = "2020.06.03" traits = { salafist_Caliphate } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Caliphate_leader = 1 } } } if = { limit = { check_variable = { Caliphate_leader = 3 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Caliphate_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Abu Ubaidah Youssef al-Annabi" picture = "Abu_Ubaidah_Youssef_al_Annabi.dds" ideology = Caliphate traits = { salafist_Caliphate } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Caliphate_leader = 1 } } } } else_if = { limit = { check_variable = { ruling_party = 12 } } if = { limit = { check_variable = { Neutral_Muslim_Brotherhood_leader = 0 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Neutral_Muslim_Brotherhood_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Mahfoud Nahnah" picture = "Mahfoud_Nahnah.dds" expire = "2003.6.19" 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 = "Bouguerra Soltani" picture = "Bouguerra_Soltani.dds" expire = "2013.5.1" 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 = 2 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Neutral_Muslim_Brotherhood_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Abderrazak Makri" picture = "abderrazak_makri.dds" ideology = Neutral_Muslim_Brotherhood traits = { neutrality_Neutral_Muslim_Brotherhood cleric political_dancer } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Muslim_Brotherhood_leader = 1 } } } } else_if = { limit = { check_variable = { ruling_party = 13 } } if = { limit = { check_variable = { Neutral_Autocracy_leader = 0 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Neutral_Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Abdallah Djaballah" picture = "Abdallah_Djaballah.dds" expire = "2009.1.1" 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 < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Neutral_Autocracy_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Neutral_Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Djahid Younsi" picture = "Djahid_Younsi.dds" ideology = Neutral_Autocracy traits = { neutrality_Neutral_Autocracy } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Autocracy_leader = 1 } } } } else_if = { limit = { check_variable = { ruling_party = 18 } } if = { limit = { check_variable = { neutral_Social_leader = 0 } NOT = { check_variable = { b = 1 } } } add_to_variable = { neutral_Social_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Hocine Ait Ahmed" picture = "Hocine_Ait_Ahmed.dds" expire = "2009.12.31" ideology = neutral_Social traits = { neutrality_neutral_Social } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { neutral_Social_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { neutral_Social_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { neutral_Social_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ali Laskri" picture = "ALG_Ali_Laskri.dds" ideology = neutral_Social traits = { neutrality_neutral_Social } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { neutral_Social_leader = 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 = "Louisa Hanoune" picture = "louisa_hanoune.dds" ideology = Neutral_Communism traits = { neutrality_Neutral_Communism union_man compassionate_gentleman } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Communism_leader = 1 } } } } else_if = { limit = { check_variable = { ruling_party = 20 } } if = { limit = { check_variable = { Nat_Populism_leader = 0 } } add_to_variable = { Nat_Populism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Abdallah Djaballah" picture = "Abdallah_Djaballah.dds" ideology = Nat_Populism traits = { nationalist_Nat_Populism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Populism_leader = 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 = "Ahmed Choutri" picture = "Ahmed_Choutri.dds" ideology = Nat_Fascism traits = { nationalist_Nat_Fascism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Fascism_leader = 1 } } } } 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 = "Khaldoun Makki Al Hassani" picture = "khaldoun.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 } } 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 = "Mohamed Lamari" picture = "Mohamed_Lamari.dds" expire = "2004.8.23" 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 } if = { limit = { check_variable = { Nat_Autocracy_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Nat_Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ahmed Gaid Salah" picture = "ahmed_gaid_salah.dds" expire = "2019.12.23" ideology = Nat_Autocracy traits = { nationalist_Nat_Autocracy military_career army_general staunch_personalist dictator } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Autocracy_leader = 1 } } } if = { limit = { check_variable = { Nat_Autocracy_leader = 2 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Nat_Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Said Chengriha" picture = "Said_Chengriha.dds" ideology = Nat_Autocracy traits = { nationalist_Nat_Autocracy military_career army_general cautious } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Autocracy_leader = 1 } } set_temp_variable = { b = 1 } } } else_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 = "Noureddine Boukrou" picture = "Noureddine_Boukrou.dds" ideology = conservatism traits = { western_Western_Autocracy } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Western_Autocracy_leader = 1 } } set_temp_variable = { b = 1 } } } }