set_leader_SAU = { if = { limit = { check_variable = { ruling_party = 9 } } if = { limit = { check_variable = { Vilayat_e_Faqih_leader = 0 } } add_to_variable = { Vilayat_e_Faqih_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Abdelkarim Hussein Mohamed Al-Nasser" picture = "abdelkarim_hussein_mohamed_al_nasser.dds" ideology = Vilayat_e_Faqih traits = { emerging_Vilayat_e_Faqih } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Vilayat_e_Faqih_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Vilayat_e_Faqih_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Vilayat_e_Faqih_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Abdelkarim Hussein Mohamed al-Nasser" picture = "abdelkarim_hussein_mohamed_al_nasser.dds" ideology = Vilayat_e_Faqih traits = { emerging_Vilayat_e_Faqih } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Vilayat_e_Faqih_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 11 } } if = { limit = { check_variable = { Caliphate_leader = 0 } } add_to_variable = { Caliphate_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Osama bin Laden" picture = "osama_bin_laden.dds" ideology = Caliphate traits = { salafist_Caliphate } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Caliphate_leader = 1 } } if = { limit = { date < 2016.1.2 NOT = { has_global_flag = GLOBAL_bin_laden_killed_or_captured } } set_temp_variable = { b = 1 } } #stay on bin Laden only while he is alive and it is before 2016 } 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 = "Ayman Mohammed Rabie al-Zawahiri" picture = "Ayman_Al_Zawahiri.dds" ideology = Caliphate traits = { salafist_Caliphate } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Caliphate_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 = "Dr Sa'ad Al-Faqih" picture = "dr_saad_al_faqih.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 } } else_if = { limit = { check_variable = { ruling_party = 10 } } if = { limit = { check_variable = { Kingdom_leader = 0 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Kingdom_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Salman bin Abdulaziz Al-Saud" picture = "Salman_bin_Abdulaziz_Al_Saud.dds" ideology = Kingdom traits = { king salafist_Kingdom cautious alzheimer } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Kingdom_leader = 1 } } set_temp_variable = { b = 1 } } if = { limit = { check_variable = { Kingdom_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Kingdom_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Mohammed bin Nayef Al-Saud" picture = "Muhammad_bin_Nayef_Al_Saud.dds" ideology = Kingdom traits = { king salafist_Kingdom pro_american capable cautious spymaster } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Kingdom_leader = 1 } } set_temp_variable = { b = 1 } } if = { limit = { check_variable = { Kingdom_leader = 2 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Kingdom_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Mohammed bin Salman Al-Saud" picture = "Mohammad_bin_Salman_Al_Saud.dds" ideology = Kingdom traits = { king salafist_Kingdom pro_american geopolitical_thinker ruthless rash technocrat } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Kingdom_leader = 1 } } set_temp_variable = { b = 1 } } if = { limit = { check_variable = { Kingdom_leader = 3 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Kingdom_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Bandar bin Sultan Al-Saud" picture = "Bandar_bin_Sultan_Al_Saud.dds" ideology = Kingdom traits = { king salafist_Kingdom pro_american sly geopolitical_thinker } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Kingdom_leader = 1 } } set_temp_variable = { b = 1 } } if = { limit = { check_variable = { Kingdom_leader = 4 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Kingdom_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Mutaib bin Abdullah Al-Saud" picture = "Gen_Mutaib_bin_Abdullah_Al_Saud.dds" ideology = Kingdom traits = { king salafist_Kingdom capable cautious pro_american } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Kingdom_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 = "Khaled al-Johani " picture = "khaled_al_johani.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 = 8 } } if = { limit = { check_variable = { Mod_Vilayat_e_Faqih_leader = 0 } } add_to_variable = { Mod_Vilayat_e_Faqih_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Hassan al-Saffar" picture = "Hassan_al-Saffar.dds" ideology = Mod_Vilayat_e_Faqih traits = { emerging_Vilayat_e_Faqih likeable capable cleric } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Mod_Vilayat_e_Faqih_leader = 1 } } set_temp_variable = { b = 1 } } } }