set_leader_CDI = { 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 = "Robert Guei" picture = "robert_guei.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 } } else_if = { limit = { check_variable = { ruling_party = 5 } } if = { limit = { check_variable = { anarchist_communism_leader = 0 } } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Laurent Gbagbo" picture = "laurent_gbagbo.dds" expire = "2050.1.1" ideology = anarchist_communism traits = { emerging_anarchist_communism career_politician } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { anarchist_communism_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { anarchist_communism_leader = 1 } } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Pascal Affi N'Guessan" picture = "pascal_affi_nguessean.dds" expire = "2050.1.1" ideology = anarchist_communism traits = { emerging_anarchist_communism career_politician } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { anarchist_communism_leader = 1 } } } } else_if = { limit = { check_variable = { ruling_party = 2 } } if = { limit = { check_variable = { liberalism_leader = 0 } } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Alassane Ouattara" picture = "Alassane_Ouattara.dds" expire = "2050.1.1" ideology = liberalism traits = { western_liberalism economist career_politician } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } } } } else_if = { limit = { check_variable = { ruling_party = 14 } } if = { limit = { check_variable = { Neutral_conservatism_leader = 0 } } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Konan Bertin Kouadio" picture = "kouadio_konan_bertin.dds" expire = "2050.1.1" ideology = Neutral_conservatism traits = { neutrality_Neutral_conservatism career_politician } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_conservatism_leader = 1 } } } } else_if = { limit = { check_variable = { ruling_party = 20 } } if = { limit = { check_variable = { Nat_Populism_leader = 0 } } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Guillaume Soro" picture = "guillaume_soro.dds" expire = "2050.1.1" ideology = Nat_Populism traits = { nationalist_Nat_Populism career_politician } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Populism_leader = 1 } } } } }