set_leader_GER = {

	if = { limit = { has_country_flag = set_conservatism }

		if = { limit = { check_variable = { conservatism_leader = 0 } }
			add_to_variable = { conservatism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Angela Merkel"
				picture = "Angela_Merkel.dds"
				ideology = conservatism
				traits = {
					scientist
					western_conservatism
					ruthless
					honest
					stubborn
					political_dancer
				}
			}
			
			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 = 1 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { conservatism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Annegret Kramp-Karrenbauer"
				picture = "Annegret_Kramp-Karrenbauer.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 = 1 }
		}
		
		if = { limit = { check_variable = { conservatism_leader = 2 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { conservatism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Julia Klockner"
				picture = "Julia_Klockner.dds"
				ideology = conservatism
				traits = {
					writer
					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 = 3 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { conservatism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Paul Ziemiak"
				picture = "paul_ziemiak_futcons.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 }
		}
	}
	else_if = { limit = { has_country_flag = set_liberalism }
			
		if = { limit = { check_variable = { liberalism_leader = 0 } }
			add_to_variable = { liberalism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Patrick Schiffer"
				picture = "Patrick_Schiffer.dds"
				ideology = 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 = "Christian Lindner"
				picture = "lib_Christian_Lindner.dds"
				ideology = liberalism
			}
			
			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
	}
	else_if = { limit = { has_country_flag = set_socialism }

		if = { limit = { check_variable = { socialism_leader = 0 } }
			add_to_variable = { socialism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Gerhard Schroeder"
				picture = "Gerhard_Schroeder.dds"
				expire = "2002.6.10"
				ideology = socialism
				traits = {
					lawyer
					western_socialism
					pro_russia
				}
			}
			
			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { socialism_leader = 1 } }
			if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017
		}
		
		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 = "Sigmar Gabriel"
				picture = "Sigmar_Gabriel.dds"
				ideology = socialism
			}
			
			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { socialism_leader = 1 } }
			if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017
		}

		if = { limit = { check_variable = { socialism_leader = 2 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { socialism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Peer Steinbruck"
				picture = "Peer_Steinbruck.dds"
				ideology = socialism
			}
			
			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { socialism_leader = 1 } }
			if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017
		}
		if = { limit = { check_variable = { socialism_leader = 3 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { socialism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Martin Schulz"
				picture = "Martin_Schulz.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 = 4 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { socialism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Andrea Nahles"
				picture = "Andrea_Nahles.dds"
				expire = "2050.1.1"
				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 = 5 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { socialism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Johanna Uekermann"
				picture = "Johanna_Uekermann.dds"
				expire = "2060.1.1"
				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 = { has_country_flag = set_Communist-State }

		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 = "Patrik Koebele"
				picture = "Patrik_Koebele.dds"
				ideology = 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 = { has_country_flag = set_anarchist_communism }
			
		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 = "Gregor Gysi"
				picture = "Gregor_Gysi.dds"
				ideology = anarchist_communism
			}
			
			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 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { anarchist_communism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Katja Kipping"
				picture = "Katja_Kipping.dds"
				ideology = anarchist_communism
			}
			
			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { anarchist_communism_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
		
		if = { limit = { check_variable = { anarchist_communism_leader = 2 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { anarchist_communism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Sahra Wagenknecht"
				picture = "Sahra_Wagenknecht.dds"
				ideology = anarchist_communism
			}
			
			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { anarchist_communism_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
		
		if = { limit = { check_variable = { anarchist_communism_leader = 3 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { anarchist_communism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Julia Bonk"
				picture = "Julia_Bonk.dds"
				ideology = 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 = { has_country_flag = set_Caliphate }
			
		if = { limit = { check_variable = { Caliphate_leader = 0 } }
			add_to_variable = { Caliphate_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Pierre Vogel"
				picture = "Pierre_Vogel.dds"
				ideology = Caliphate
			}
			
			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Caliphate_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
	}
	else_if = { limit = { has_country_flag = set_oligarchism }

		if = { limit = { check_variable = { oligarchism_leader = 0 } }
			add_to_variable = { oligarchism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Bernd Lucke"
				picture = "Bernd_Lucke.dds"
				ideology = oligarchism
			}
			
			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { oligarchism_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
	}
	else_if = { limit = { has_country_flag = set_Neutral_Libertarian }
			
		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 = "Wolfgang Gerhardt"
				picture = "Wolfgang_Gerhardt.dds"
				ideology = 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 = { has_country_flag = set_Neutral_green }
	
		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 = "Joschka Fischer"
				picture = "Joschka_Fischer.dds"
				expire = "2065.1.1"
				ideology = 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 = "Katrin Goring Eckardt"
				picture = "Katrin_Goring_Eckardt.dds"
				expire = "2060.1.1"
				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 }
		}
		
		if = { limit = { check_variable = { Neutral_green_leader = 2 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { Neutral_green_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Cem Ozdemir"
				picture = "Cem_Ozdemir.dds"
				expire = "2060.1.1"
				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 = { has_country_flag = set_Nat_Autocracy }
			
		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 = "Wolfgang Schneiderhan"
				picture = "gen_Wolfgang_Schneiderhan.dds"
				ideology = Nat_Autocracy
			}
			
			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Autocracy_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
		
		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 = "Werner Freers"
				picture = "gen_Werner_Freers.dds"
				ideology = 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 = { has_country_flag = set_Nat_Fascism }
			
		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 = "Udo Pastors"
				picture = "Udo_Pastors.dds"
				ideology = 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
		}
		
		if = { limit = { check_variable = { Nat_Fascism_leader = 1 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { Nat_Fascism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Klaus Armstroff"
				picture = "Klaus_Armstroff.dds"
				ideology = 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
		}
		
		if = { limit = { check_variable = { Nat_Fascism_leader = 2 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { Nat_Fascism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Frank Franz"
				picture = "Frank_Franz.dds"
				expire = "2065.1.1"
				ideology = Nat_Fascism
				traits = {
					nationalist_Nat_Fascism
					islamophobe
				}
			}
			
			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Fascism_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
	}
	else_if = { limit = { has_country_flag = set_Nat_Populism }
			
		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 = "Ronald Schill"
				picture = "Ronald_Schill.dds"
				ideology = 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 = "Alexander Gauland"
				picture = "Alexander_Gauland.dds"
				ideology = 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 = 2 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { Nat_Populism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Alice Weidel"
				picture = "Alice_Weidel.dds"
				expire = "2065.1.1"
				ideology = Nat_Populism
				traits = {
					nationalist_Nat_Populism
					islamophobe
				}
			}
			
			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Nat_Populism_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
		if = { limit = { check_variable = { Nat_Populism_leader = 3 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { Nat_Populism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Frauke Petry"
				picture = "frauke_petry.dds"
				expire = "2065.1.1"
				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 = { has_country_flag = set_Monarchist }
			
		if = { limit = { check_variable = { Monarchist_leader = 0 } }
			add_to_variable = { Monarchist_leader = 1 }
			hidden_effect = { kill_country_leader = yes }
			
			create_country_leader = {
				name = "Georg Friedrich I"
				picture = "Georg_Friedrich.dds"
				ideology = Monarchist
			}
			
			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Monarchist_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
	}
}
