set_leader_KAZ = { 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 = "Turgun Syzdykov" picture = "turgun_syzdykov.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 = 18 } } if = { limit = { check_variable = { neutral_Social_leader = 0 } } add_to_variable = { neutral_Social_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Azat Peruashev" picture = "azat_peruashev.dds" 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 = "Zharmakhan Tuyakbay" picture = "zharmakhan_tuyakbay.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 = 17 } } if = { limit = { check_variable = { Neutral_green_leader = 0 } } add_to_variable = { Neutral_green_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Serik Sultangali" picture = "serik_sultangali.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 = 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 = "Lt Gen. Murat Maikeyev" picture = "murat_maikeyev.dds" ideology = Nat_Autocracy traits = { nationalist_Nat_Autocracy } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Autocracy_leader = 1 } } set_temp_variable = { b = 1 } } } else_if = { limit = { check_variable = { ruling_party = 15 } } if = { limit = { check_variable = { oligarchism_leader = 0 } } add_to_variable = { oligarchism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Gani Kasymov" picture = "KAZ_Gani_Kasymov" ideology = oligarchism traits = { neutrality_oligarchism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { oligarchism_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } } 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 = "Äli Bektayev" picture = "ali_bektayev.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 = 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 = "Ainur Kurmanov" picture = "ainur_kurmanov.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 = 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 = "Marat Mulkubaev" picture = "marat_mulkubaev.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 = 7 } } if = { limit = { check_variable = { Autocracy_leader = 0 } } add_to_variable = { Autocracy_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Alikhan Baimenov" picture = "eastasian_044.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 } } } }