set_leader_BOT = { 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 = "Ephraim Setshwaelo" picture = "Ephraim_Setshwaelo.dds" ideology = liberalism traits = { western_liberalism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } } if = { limit = { date < 2017.1.1 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { liberalism_leader = 1 } NOT = { check_variable = { b = 1 } } date > 2017.1.1 } add_to_variable = { liberalism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ndaba Gaolathe" picture = "Ndaba_Gaolathe.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 = 3 } } if = { limit = { check_variable = { socialism_leader = 0 } } add_to_variable = { socialism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Otsweletse Moupo" picture = "Otsweletse_Moupo.dds" ideology = socialism traits = { western_socialism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { socialism_leader = 1 } } if = { limit = { date < 2010.1.1 NOT = { has_country_flag = BNF_joined_UDC } } set_temp_variable = { b = 1 } } #skip if 2010 } if = { limit = { check_variable = { socialism_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { socialism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Duma Boko" picture = "duma_boko.dds" ideology = socialism traits = { western_socialism lawyer } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { socialism_leader = 1 } } if = { limit = { NOT = { has_country_flag = BNF_joined_UDC } } set_temp_variable = { b = 1 } } } } else_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 = "Themba Joina" picture = "themba_joina.dds" ideology = Communist-State traits = { emerging_Communist-State lawyer } } 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 = 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 = "Motlatsi Molapisi" picture = "Motlatsi_Molapisi.dds" ideology = anarchist_communism traits = { emerging_anarchist_communism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { anarchist_communism_leader = 1 } } if = { limit = { NOT = { has_country_flag = BPP_joined_UDC } } set_temp_variable = { b = 1 } } } } else_if = { limit = { check_variable = { ruling_party = 14 } } if = { limit = { check_variable = { Neutral_conservatism_leader = 0 } } add_to_variable = { Neutral_conservatism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ian Khama" desc = "BOT_IAN_KHAMA_GENERATED_DESC" picture = "Ian_Khama.dds" ideology = Neutral_conservatism traits = { neutrality_Neutral_conservatism military_career defender_of_democracy likeable } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_conservatism_leader = 1 } } set_temp_variable = { b = 1 } } if = { limit = { check_variable = { Neutral_conservatism_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Neutral_conservatism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Mokgweetsi Masisi" desc = "BOT_MOKGWEETSI_MASISI_DESC" picture = "Mokgweetsi_Masisi.dds" ideology = Neutral_conservatism traits = { neutrality_Neutral_conservatism actor_politician inexperienced pro_china } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_conservatism_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 = "Daniel Kwelagobe" picture = "Daniel_Kwelagobe.dds" ideology = Neutral_Libertarian traits = { neutrality_Neutral_Libertarian } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Libertarian_leader = 1 } } if = { limit = { NOT = { has_country_flag = BDP_split } } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Neutral_Libertarian_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Neutral_Libertarian_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Gomolemo Motswaledi" picture = "Gomolemo_Motswaledi.dds" ideology = Neutral_Libertarian traits = { neutrality_Neutral_Libertarian } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Libertarian_leader = 1 } } if = { limit = { NOT = { has_country_flag = BOT_Motswaledi_dead } } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Neutral_Libertarian_leader = 2 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Neutral_Libertarian_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ponatshego Kedikilwe" picture = "Ponatshego_Kedikilwe.dds" ideology = Neutral_Libertarian traits = { neutrality_Neutral_Libertarian } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Libertarian_leader = 1 } } if = { limit = { has_country_flag = BDP_split NOT = { has_country_flag = BMD_joined_UDC } } 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 = "Michael Dingake" picture = "Michael_Dingake.dds" ideology = neutral_Social traits = { neutrality_neutral_Social writer } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { neutral_Social_leader = 1 } } if = { limit = { date < 2001.1.1 NOT = { has_country_flag = UDC_formed } } set_temp_variable = { b = 1 } } #skip if 2001 } 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 = "Otlaadisa Koosaletse" picture = "Otlaadisa_Koosaletse.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 < 2005.1.1 NOT = { has_country_flag = UDC_formed } } set_temp_variable = { b = 1 } } #skip if 2005 } if = { limit = { check_variable = { neutral_Social_leader = 2 } NOT = { check_variable = { b = 1 } } } add_to_variable = { neutral_Social_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Gilson Saleshando" picture = "Gilson_Saleshando.dds" # TODO: Needs a portrait 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 < 2010.1.1 NOT = { has_country_flag = UDC_formed } } set_temp_variable = { b = 1 } } #skip if 2010 } if = { limit = { check_variable = { neutral_Social_leader = 3 } NOT = { check_variable = { b = 1 } } } add_to_variable = { neutral_Social_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Dumelang Saleshando" picture = "Dumelang_Saleshando.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 < 2010.1.1 NOT = { has_country_flag = UDC_formed } } set_temp_variable = { b = 1 } } #skip if 2010 } if = { limit = { check_variable = { neutral_Social_leader = 4 } NOT = { check_variable = { b = 1 } } } add_to_variable = { neutral_Social_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Duma Boko" picture = "duma_boko.dds" ideology = neutral_Social traits = { neutrality_neutral_Social lawyer } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { neutral_Social_leader = 1 } } if = { limit = { has_country_flag = UDC_formed } set_temp_variable = { b = 1 } } #skip if 2010 } } 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 = "Shawn Nthaile" picture = "Shawn_Nthaile.dds" ideology = Nat_Populism traits = { nationalist_Nat_Populism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Populism_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 = "Louis Matshwenyego Fisher" picture = "Louis_Matshwenyego_Fisher.dds" 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 = "Placid Segokgo" picture = "placid_segokgo.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 = 23 } } if = { limit = { check_variable = { Monarchist_leader = 0 } } add_to_variable = { Monarchist_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Kgafela II" picture = "Kgafela_II.dds" ideology = Monarchist traits = { nationalist_Monarchist kgosikgolo_leader_trait } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Monarchist_leader = 1 } } set_temp_variable = { b = 1 } } } }