set_leader_SWE = { 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 = "Fredrik Reinfeldt" picture = "Fredrik_Reinfeldt.dds" ideology = conservatism traits = { likeable career_politician 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 } if = { limit = { check_variable = { conservatism_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { conservatism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Anna Kinberg Batra" picture = "Anna_Kinberg_Batra.dds" ideology = conservatism traits = { western_conservatism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { conservatism_leader = 1 } } set_temp_variable = { b = 1 } } if = { limit = { check_variable = { conservatism_leader = 2 } NOT = { check_variable = { b = 2 } } } add_to_variable = { conservatism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ulf Kristersson" picture = "Ulf_Kristersson.dds" ideology = conservatism traits = { career_politician western_conservatism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { conservatism_leader = 1 } } set_temp_variable = { b = 2 } } } else_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 = "Lars Leijonborg" picture = "lars_leijonborg.dds" ideology = liberalism traits = { western_liberalism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { liberalism_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { liberalism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Jan Björklund" picture = "jan_bjorklund.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 } } if = { limit = { check_variable = { liberalism_leader = 2 } NOT = { check_variable = { b = 2 } } } add_to_variable = { liberalism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Johan Pehrson" picture = "johan_pehrson.dds" ideology = liberalism traits = { western_liberalism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } } set_temp_variable = { b = 2 } } } 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 = "Rolf Hagel" picture = "rolf_hagel.dds" ideology = Communist-State traits = { emerging_Communist-State } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Communist-State_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Communist-State_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Communist-State_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Andreas Sörensen" picture = "andreas_sorensen.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 } } if = { limit = { check_variable = { Communist-State_leader = 2 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Communist-State_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Victor Diaz de Filippi" picture = "victor_diaz_de_filippi.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 = 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 = "Alf Svensson" picture = "alf_svensson.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 = "Göran Hägglund" picture = "goran_hagglund.dds" ideology = Neutral_conservatism traits = { neutrality_Neutral_conservatism } } 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 = 2 } NOT = { check_variable = { b = 2 } } } add_to_variable = { Neutral_conservatism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Ebba Busch" picture = "ebba_busch_thor.dds" ideology = Neutral_conservatism traits = { neutrality_Neutral_conservatism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_conservatism_leader = 1 } } set_temp_variable = { b = 2 } } } 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 = "Lennart Daléus" picture = "lennart_daleus.dds" 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 } if = { limit = { check_variable = { oligarchism_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { oligarchism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Maud Olofsson" picture = "maud_olofsson.dds" ideology = oligarchism traits = { neutrality_oligarchism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { oligarchism_leader = 1 } } set_temp_variable = { b = 1 } } if = { limit = { check_variable = { oligarchism_leader = 2 } NOT = { check_variable = { b = 2 } } } add_to_variable = { oligarchism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Annie Lööf" picture = "annie_loof.dds" ideology = oligarchism traits = { neutrality_oligarchism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { oligarchism_leader = 1 } } set_temp_variable = { b = 2 } } } 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 = "Gudrun Schyman" picture = "gudrun_schyman.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 = "Lars Ohly" picture = "lars_ohly.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 } } if = { limit = { check_variable = { neutral_Social_leader = 2 } NOT = { check_variable = { b = 2 } } } add_to_variable = { neutral_Social_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Jonas Sjöstedt" picture = "jonas_sjostedt.dds" ideology = neutral_Social traits = { likeable neutrality_neutral_Social } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { neutral_Social_leader = 1 } } set_temp_variable = { b = 2 } } if = { limit = { check_variable = { neutral_Social_leader = 3 } NOT = { check_variable = { b = 3 } } } add_to_variable = { neutral_Social_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Nooshi Dadgostar" picture = "nooshi_dadgostar.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 = 3 } } } 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 = "Marianne Samuelsson" picture = "marianne_samuelsson.dds" ideology = Neutral_green traits = { neutrality_Neutral_green } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_green_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Neutral_green_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Neutral_green_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Isabella Lövin / Gustav Fridolin" picture = "isabella_lovin.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 = 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 = "Mikael Jansson" picture = "mikael_jansson.dds" ideology = Nat_Populism traits = { nationalist_Nat_Populism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Populism_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } if = { limit = { check_variable = { Nat_Populism_leader = 1 } NOT = { check_variable = { b = 1 } } } add_to_variable = { Nat_Populism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Jimmie Åkesson" picture = "Nationalist_Jimmie_Aakesson.dds" ideology = Nat_Populism traits = { career_politician likeable 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 = 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 = "Gustav Kasselstrand" picture = "gustav_kasselstrand.dds" ideology = Nat_Populism traits = { businessman nationalist_Nat_Fascism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Fascism_leader = 1 } } if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017 } } 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 = "Carl XVI Gustaf" picture = "carl_xvi_gustaf.dds" ideology = Monarchist traits = { likeable king nationalist_Monarchist } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Monarchist_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 = "Mona Sahlin" picture = "mona_sahlin.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 } } 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 = "Stefan Löfven" picture = "Stefan_Lofven.dds" ideology = socialism traits = { career_politician western_socialism } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { socialism_leader = 1 } } set_temp_variable = { b = 1 } } if = { limit = { check_variable = { socialism_leader = 2 } NOT = { check_variable = { b = 2 } } } add_to_variable = { socialism_leader = 1 } hidden_effect = { kill_country_leader = yes } create_country_leader = { name = "Magdalena Andersson" picture = "Magdalena_Andersson.dds" ideology = socialism traits = { western_socialism experienced_banker } } if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { socialism_leader = 1 } } set_temp_variable = { b = 2 } } } }