set_leader_CHE = { 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 = "Akhmed Zakaye" picture = "CHE_Akhmed_Zakaye.dds" ideology = conservatism traits = { western_conservatism guerrilla_leader } } 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 = 3 } } if = { limit = { check_variable = { socialism_leader = 0 } } add_to_variable = { socialism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Anzor Maskhadov" picture = "CHE_Maskhadov_Anzor.dds" ideology = socialism traits = { western_socialism rational } } 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 = 6 } } if = { limit = { check_variable = { Conservative_leader = 0 } } add_to_variable = { Conservative_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ahmat Kadyrov" picture = "Ahmat_Kadyrov.dds" ideology = Conservative traits = { emerging_Conservative pro_russia populist sly } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Conservative_leader = 1 } } set_temp_variable = { b = 1 } } 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 = "Ramzan Kadyrov" picture = "CHE_Ramzan_Kadyrov.dds" ideology = Conservative traits = { emerging_Conservative sly corruptible populist pro_russia } } 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 = 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 = "Ramzan Akhmadov" picture = "CHE_Ramzan_Akhmadov.dds" ideology = Kingdom traits = { salafist_Kingdom ruthless zealous guerrilla_leader } } 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 = "Musa Madayev" picture = "Musa_Madayev.dds" ideology = Kingdom traits = { salafist_Kingdom zealous } } 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 = 11 } } if = { limit = { check_variable = { Caliphate_leader = 0 } } add_to_variable = { Caliphate_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Shamil Basayev" picture = "Shamil_Basayev.dds" ideology = Caliphate traits = { salafist_Caliphate military_career guerrilla_leader Firefighter } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Caliphate_leader = 1 } } if = { limit = { date < 2004.1.2 } set_temp_variable = { b = 1 } } set_temp_variable = { b = 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 = "Ibn al-Khattab" picture = "Ibn_al_Khattab.dds" ideology = Caliphate traits = { salafist_Caliphate Fighter pro_al_qaeda } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Caliphate_leader = 1 } } if = { limit = { date < 2004.1.2 } set_temp_variable = { b = 1 } } set_temp_variable = { b = 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 = "Dokka Umarov" picture = "Dokka_Umarov.dds" ideology = Caliphate traits = { salafist_Caliphate pro_al_qaeda } } 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 = "Zelimkhan Yandarbiyev" picture = "CHE_zelimkhan_yandarbiyev.dds" ideology = Neutral_Muslim_Brotherhood traits = { neutrality_Neutral_Muslim_Brotherhood writer } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Muslim_Brotherhood_leader = 1 } } set_temp_variable = { b = 1 } } 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 = "Said-Khasanom Abumuslimov" picture = "CHE_Said_Khasanom_Abumuslimov.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 = 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 = "Salman Raduev" picture = "salman_raduev.dds" ideology = Nat_Fascism traits = { nationalist_Nat_Fascism economist rash zealous } } 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 = { check_variable = { b = 1 } } } add_to_variable = { Nat_Fascism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Vakha Jafarov" picture = "CHE_Vakha_Jafarov.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 = "Abdul-Halim Sadulayev" picture = "Abdul_Halim_Sadulayev.dds" ideology = Nat_Populism traits = { nationalist_Nat_Populism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Autocracy_leader = 1 } } set_temp_variable = { b = 1 } } 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 = "Akhmed Zakayev" picture = "Akhmed_Zakayev.dds" ideology = Nat_Populism traits = { nationalist_Nat_Populism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Autocracy_leader = 1 } } set_temp_variable = { b = 1 } } } } CHE_ahmat_ai_popularity_bump = { if = { limit = { CHE = { is_ai = yes } } set_temp_variable = { party_index = 6 } set_temp_variable = { party_popularity_increase = 0.15 } set_temp_variable = { temp_outlook_increase = 0.15 } change_relative_party_popularity = yes } }