set_leader_SWS = { 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 = "Adan Mohamed Nuur Madobe" picture = "SWS_Adan_Mohamed_Nuur_Madobe.dds" ideology = Neutral_conservatism traits = { neutrality_Neutral_conservatism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_conservatism_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } 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 = "Muhammad Ibrahim Habsade" picture = "SWS_Muhammad_Ibrahim_Habsade.dds" ideology = Neutral_conservatism traits = { neutrality_Neutral_conservatism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_conservatism_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } } }