add_namespace = election_USA

################### ELECTIONS #########################

#2000
country_event = {
	id = election_USA.1
	title = election_USA.1.t
	desc = election_USA.1.d
	picture = GFX_report_event_election_2000_bush_gore

	is_triggered_only = yes
	fire_only_once = yes
	trigger = {
		original_tag = USA
		date > 2000.6.1
		date < 2001.1.1
		not = { has_country_flag = USA_ELECTION_2000 }
		has_idea = idea_USA_political_establishment
	}
	
	immediate = {
		set_country_flag = USA_ELECTION_2000
		
		hidden_effect = {
			country_event = {
				id = usa.65
				hours = 8
			}
			country_event = {
				id = usa.66
				days = 40
			}
			promote_character = USA_al_gore
		}
	}
	
	option = {	#Bush
		name = election_USA.1.o1
		trigger = {
			has_country_flag = usa_rep_bush_2000
		}
		ai_chance = {
			factor = 60
		}
		hidden_effect = { country_event = usa.25 }
		set_politics = {
			ruling_party = conservative
			elections_allowed = yes
		}
		add_popularity = {
			ideology = conservative
			popularity = 0.03
		}
		hidden_effect = {
			
		}
		add_political_power = 15
		set_country_flag = usa_bush_victory_2000
		
		news_event = {
			id = usa_news.3
			hours = 6
		}
	}

	option = {	#Buchanan
		name = election_USA.1.o3
		trigger = {
			has_country_flag = usa_rep_buchanan_2000
		}
		ai_chance = {
			factor = 0
		}
		hidden_effect = { country_event = usa.25 }
		set_politics = {
			ruling_party = reactionary
			elections_allowed = yes
		}
		add_popularity = {
			ideology = reactionary
			popularity = 0.03
		}
		hidden_effect = {
			
		}
		add_political_power = 15
		set_country_flag = usa_buchanan_victory_2000
	
	}
	
	option = {	#Gore
		name = election_USA.1.o2
		trigger = {
			has_country_flag = usa_dem_gore_2000
		}
		ai_chance = {
			factor = 40
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = yes
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.03
		}
		hidden_effect = {
		}
		
		add_political_power = -15
		set_country_flag = usa_gore_victory_2000
		
		news_event = {
			id = usa_news.2
			hours = 6
		}
	}

	option = {	#Beatty
		name = election_USA.1.o4
		trigger = {
			has_country_flag = usa_dem_beatty_2000
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = no
			}
		}
		
		set_politics = {
			ruling_party = social_democrat
			elections_allowed = yes
		}
		add_popularity = {
			ideology = social_democrat
			popularity = 0.03
		}
		hidden_effect = {
		}
		
		add_political_power = -15
		set_country_flag = usa_beatty_victory_2000
		
	}	
}

#2004
country_event = {
	id = election_USA.2
	title = election_USA.2.t
	desc = {
		text = election_USA.2.d1
		trigger = {
			has_country_flag = usa_bush_victory_2000
		}
	}
	desc = {
		text = election_USA.2.d2
		trigger = {
			has_country_flag = usa_gore_victory_2000
		}
	}
	picture = GFX_report_event_USA_election_2004_bush_kerry
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		original_tag = USA
		date > 2004.6.1
		date < 2005.1.1
		not = {
			has_country_flag = usa_election_2004
		}
		has_idea = idea_USA_political_establishment
	}
	
	immediate = {
		set_country_flag = usa_election_2004
		hidden_effect = {
		}
	}
	
	option = {	#Bush
		name = election_USA.2.o1
		trigger = {
			has_country_flag = usa_bush_victory_2000
		}
		add_popularity = {
			ideology = conservative
			popularity = 0.03
		}
		add_political_power = 20
		hidden_effect = {
			promote_character = USA_barack_obama
		}
		ai_chance = {
			factor = 75
		}
		set_country_flag = usa_bush_victory_2004
		
		news_event = {
			# id = news_USA.3
			# hours = 6
		}
	}
	
	option = { #Kerry
		name = election_USA.2.o2
		hidden_effect = { country_event = usa.25 }
		trigger = {
			has_country_flag = usa_bush_victory_2000
		}
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = yes
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.03
		}
		promote_character = USA_john_kerry

		hidden_effect = {
			
		}
		ai_chance = {
			factor = 25
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		set_country_flag = usa_kerry_victory_2004
	}
	
	option = { #Gore
		name = election_USA.2.o3
		trigger = {
			has_country_flag = usa_gore_victory_2000
		}
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = yes
		}
		add_political_power = 20
		hidden_effect = {
		}
		ai_chance = {
			factor = 75
		}
		set_country_flag = usa_gore_victory_2004
	}

		option = { #Beatty
		name = election_USA.2.o4
		trigger = {
			has_country_flag = usa_beatty_victory_2000
		}
		set_politics = {
			ruling_party = social_democrat
			elections_allowed = yes
		}
		add_political_power = 20
		hidden_effect = {
		}
		ai_chance = {
			factor = 0
		}
		set_country_flag = usa_beatty_victory_2004
	}
	option = { #Buchanan
		name = election_USA.2.o5
		trigger = {
			has_country_flag = usa_buchanan_victory_2000
		}
		set_politics = {
			ruling_party = reactionary
			elections_allowed = yes
		}
		add_political_power = 20
		hidden_effect = {
		}
		ai_chance = {
			factor = 0
		}
		set_country_flag = usa_buchanan_victory_2004
	}
}

#2008
country_event = {
	id = election_USA.3
	title = election_USA.3.t
	desc = election_USA.3.d
	picture = GFX_report_event_election_2008_mccain_obama
	
	is_triggered_only = yes
	fire_only_once = yes
	trigger = {
		original_tag = USA
		date > 2008.6.1
		date < 2009.1.1
		not = {
			has_country_flag = usa_election_2008
		}
		has_idea = idea_USA_political_establishment
	}
	
	immediate = {
		set_country_flag = usa_election_2008
		create_country_leader = {		
		name = "Bob Barr"		
		picture = "gfx/leaders/USA/Bob_Barr.dds"		
		expire = "1.1.1.1"		
		ideology = libertarian		
				
			traits  = {		
					
			}		
		}
		create_country_leader = {		
		name = "Chuck Baldwin"		
		picture = "gfx/leaders/USA/chuck_baldwin.dds"		
		expire = "1.1.1.1"		
		ideology = pannationalist	
				
			traits  = {		
					
			}		
		}
		create_country_leader = {		
		name = "Cynthia McKinney"		
		picture = "gfx/leaders/USA/cynthia_mckinney.dds"		
		expire = "1.1.1.1"		
		ideology = green
				
			traits  = {		
					
			}		
		}
		create_country_leader = {		
		name = "Brian Moore"		
		picture = "gfx/leaders/USA/brian_moore.dds"		
		expire = "1.1.1.1"		
		ideology = democratic_socialist_ideology		
				
			traits  = {		
					
			}		
		}			
	}
	
	option = {	#Obama
		name = election_USA.3.o1
		trigger = {
			has_country_flag = usa_dem_obama_2008
		}
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = yes
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.03
		}
		promote_character = USA_barack_obama
		news_event = {
			id = news_USA.4
			hours = 6
		}
		
		ai_chance = {
			factor = 75
		}
		
		set_country_flag = usa_obama_victory_2008
	}
	
	option = {	#McCain
		name = election_USA.3.o2
		trigger = {
			has_country_flag = usa_rep_mccain_2008
		}
		hidden_effect = { country_event = usa.25 }
		set_politics = {
			ruling_party = conservative
			elections_allowed = yes
		}
		add_popularity = {
			ideology = conservative
			popularity = 0.03
		}
		promote_character = USA_john_mccain
		
		ai_chance = {
			factor = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		
		set_country_flag = usa_mccain_victory_2008
	}

	option = {	#Giuliani
		name = election_USA.3.o3
		trigger = {
			has_country_flag = usa_rep_giuliani_2008
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = no
			}
		}
		create_country_leader = {		
		name = "Rudy Giuliani"		
		picture = "gfx/leaders/USA/rudy_giuliani.dds"		
		expire = "1.1.1.1"		
		ideology = counter_progressive_democrat
				
			traits  = {		
					
			}		
		}				
		set_politics = {
			ruling_party = reactionary
			elections_allowed = yes
		}
		add_popularity = {
			ideology = reactionary
			popularity = 0.03
		}
		hidden_effect = {
		}
		
		add_political_power = -15
		set_country_flag = usa_giuliani_victory_2008
	}	

	option = {	#Gravel
		name = election_USA.3.o4
		trigger = {
			has_country_flag = usa_dem_gravel_2008
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = no
			}
		}
		create_country_leader = {		
		name = "Mike Gravel"		
		picture = "gfx/leaders/USA/mike_gravel.dds"		
		expire = "1.1.1.1"		
		ideology = social_democrat_ideology
				
			traits  = {		
					
			}		
		}				
		set_politics = {
			ruling_party = social_democrat
			elections_allowed = yes
		}
		add_popularity = {
			ideology = social_democrat
			popularity = 0.03
		}
		hidden_effect = {
		}
		
		add_political_power = 15
		set_country_flag = usa_gravel_victory_2008
	}	
}

#2012
country_event = {
	id = election_USA.4
	title = election_USA.4.t
	desc = election_USA.4.d
	picture = GFX_report_event_election_2012_romney_obama
	
	is_triggered_only = yes
	fire_only_once = yes
	trigger = {
		original_tag = USA
		date > 2012.6.1
		date < 2013.1.1
		not = {
			has_country_flag = usa_election_2012
		}
		has_idea = idea_USA_political_establishment
	}
	
	immediate = {
		set_country_flag = usa_election_2012
		if = {
			limit = {
				NOT = {
					has_country_leader = { 
						name = "Barack Obama"
					}
				}
			}
			promote_character = USA_barack_obama
		}
	}
	
	option = {	#Obama
		name = election_USA.4.o1
		
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = yes
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.03
		}
		
		news_event = {
			id = news_USA.4
			hours = 6
		}
		
		
		ai_chance = {
			factor = 75
		}
		
		set_country_flag = usa_obama_victory_2012
	}
	
	option = {	#Romney
		name = election_USA.4.o2
		
		hidden_effect = { country_event = usa.25 }
		set_politics = {
			ruling_party = conservative
			elections_allowed = yes
		}
		add_popularity = {
			ideology = conservative
			popularity = 0.03
		}
		
		promote_character = USA_Mitt_Romney
		
		ai_chance = {
			factor = 25
		}
		
		set_country_flag = usa_romney_victory_2012
	}
	option = { #Gravel
		name = election_USA.4.o3
		trigger = {
			has_country_flag = usa_gravel_victory_2008
		}
		set_politics = {
			ruling_party = social_democrat
			elections_allowed = yes
		}
		add_political_power = 20
		hidden_effect = {
		}
		ai_chance = {
			factor = 0
		}
		set_country_flag = usa_gravel_victory_2012
	}
	option = { #Giuliani
		name = election_USA.4.o4
		trigger = {
			has_country_flag = usa_giuliani_victory_2008
		}
		set_politics = {
			ruling_party = reactionary
			elections_allowed = yes
		}
		add_political_power = 20
		hidden_effect = {
		}
		ai_chance = {
			factor = 0
		}
		set_country_flag = usa_giuliani_victory_2012
	}
}

#2016
country_event = {
	id = election_USA.5
	title = election_USA.5.t
	fire_only_once = yes
	desc = {
		#Trump versus Clinton
		text = election_USA.5.d1
		trigger = {
			OR = {
				AND = { #If everything goes right
					has_country_flag = usa_rep_trump_2016
					has_country_flag = usa_dem_clinton_2016
				}
				AND = { #If no Democratic Nomination has been set
					has_country_flag = usa_rep_trump_2016
					NOT = { has_country_flag = usa_dem_clinton_2016 }
					NOT = { has_country_flag = usa_dem_sanders_2016 }
				}
				AND = { #If no Republican Nomination has been set
					NOT = { has_country_flag = usa_rep_trump_2016 }
					NOT = { has_country_flag = usa_rep_kasich_2016 }
					NOT = { has_country_flag = usa_rep_cruz_2016 }
					NOT = { has_country_flag = usa_rep_rubio_2016 }
					has_country_flag = usa_dem_clinton_2016
				}
				AND = { #If everything goes wrong
					NOT = { has_country_flag = usa_rep_trump_2016 }
					NOT = { has_country_flag = usa_rep_kasich_2016 }
					NOT = { has_country_flag = usa_rep_cruz_2016 }
					NOT = { has_country_flag = usa_rep_rubio_2016 }
					NOT = { has_country_flag = usa_dem_clinton_2016 }
					NOT = { has_country_flag = usa_dem_sanders_2016 }
				}
			}
		}
	}
	desc = {
		#Trump versus Sanders
		text = election_USA.5.d2
		trigger = {
			OR = {
				AND = {
					has_country_flag = usa_rep_trump_2016
					has_country_flag = usa_dem_sanders_2016
				}
				AND = {
					NOT = { has_country_flag = usa_rep_trump_2016 }
					NOT = { has_country_flag = usa_rep_kasich_2016 }
					NOT = { has_country_flag = usa_rep_cruz_2016 }
					NOT = { has_country_flag = usa_rep_rubio_2016 }
					has_country_flag = usa_dem_sanders_2016
				}
			}
		}
	}
	desc = {
		#Cruz versus Clinton
		text = election_USA.5.d3
		trigger = {
			OR = {
				AND = {
					has_country_flag = usa_rep_cruz_2016
					has_country_flag = usa_dem_clinton_2016
				}
				AND = {
					has_country_flag = usa_rep_cruz_2016
					NOT = { has_country_flag = usa_dem_clinton_2016 }
					NOT = { has_country_flag = usa_dem_sanders_2016 }
				}
			}
		}
	}
	desc = {
		#Cruz versus Sanders
		text = election_USA.5.d4
		trigger = {
			AND = {
				has_country_flag = usa_rep_cruz_2016
				has_country_flag = usa_dem_sanders_2016
			}
		}
	}
	desc = {
		#Rubio versus Clinton
		text = election_USA.5.d5
		trigger = {
			OR = {
				AND = {
					has_country_flag = usa_rep_rubio_2016
					has_country_flag = usa_dem_clinton_2016
				}
				AND = {
					has_country_flag = usa_rep_rubio_2016
					NOT = { has_country_flag = usa_dem_clinton_2016 }
					NOT = { has_country_flag = usa_dem_sanders_2016 }
				}
			}
		}
	}
	desc = {
		#Rubio versus Sanders
		text = election_USA.5.d6
		trigger = {
			AND = {
				has_country_flag = usa_rep_rubio_2016
				has_country_flag = usa_dem_sanders_2016
			}
		}
	}
	desc = {
		#Kasich versus Clinton
		text = election_USA.5.d7
		trigger = {
			OR = {
				AND = {
					has_country_flag = usa_rep_kasich_2016
					has_country_flag = usa_dem_clinton_2016
				}
				AND = {
					has_country_flag = usa_rep_kasich_2016
					NOT = { has_country_flag = usa_dem_clinton_2016 }
					NOT = { has_country_flag = usa_dem_sanders_2016 }
				}
			}
		}
	}
	desc = {
		#Kasich versus Sanders
		text = election_USA.5.d8
		trigger = {
			AND = {
				has_country_flag = usa_rep_cruz_2016
				has_country_flag = usa_dem_sanders_2016
			}
		}
	}
	
	picture = GFX_report_event_USA_election_2016_trump_clinton
	
	is_triggered_only = yes
	
	trigger = {
		original_tag = USA
		date > 2016.6.1
		date < 2017.1.1
		not = {
			has_country_flag = usa_election_2016
		}
		has_idea = idea_USA_political_establishment
	}
	
	immediate = {
		if = {
			limit = {
				AND = {
					has_country_flag = republican_nomination_2016_cruz
					has_country_flag = usa_dem_sanders_2016
				}
			}
			hidden_effect = {
				add_popularity = {
					ideology = social_liberal
					popularity = 0.08
				}
			}
		}
		set_country_flag = usa_election_2016
		create_country_leader = {		
		name = "Gary Johnson"		
		picture = "gfx/leaders/USA/Gary_Johnson.dds"		
		expire = "1.1.1.1"		
		ideology = libertarian		
				
			traits  = {		
					
			}		
		}
		create_country_leader = {		
		name = "Darrell Castle"		
		picture = "gfx/leaders/USA/darrell_castle.dds"		
		expire = "1.1.1.1"		
		ideology = pannationalist	
				
			traits  = {		
					
			}		
		}
		create_country_leader = {		
		name = "Jill Stein"		
		picture = "gfx/leaders/USA/Jill_Stein.dds"		
		expire = "1.1.1.1"		
		ideology = green
				
			traits  = {		
					
			}		
		}
		create_country_leader = {		
		name = "Mimi Soltysik"		
		picture = "gfx/leaders/USA/mimi_soltysik.dds"		
		expire = "1.1.1.1"		
		ideology = democratic_socialist_ideology		
				
			traits  = {		
					
			}		
		}					
	}
	
	option = {	#Donald Trump
		name = election_USA.5.o1
		
		hidden_effect = { country_event = usa.25 }
		trigger = {
			OR = {	#Should be the standard option should something go wrong.
				has_country_flag = usa_rep_trump_2016
				AND = {
					NOT = { has_country_flag = usa_rep_trump_2016 }
					NOT = { has_country_flag = usa_rep_kasich_2016 }
					NOT = { has_country_flag = usa_rep_cruz_2016 }
					NOT = { has_country_flag = usa_rep_rubio_2016 }
				}
			}
		}
		set_politics = {
			ruling_party = reactionary
			elections_allowed = yes
		}
		add_popularity = {
			ideology = reactionary
			popularity = 0.03
		}
		promote_character = USA_Donald_Trump
		
		news_event = {
			id = news_USA.5
			hours = 6
		}
		
		ai_chance = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 100
			}
		}
		set_country_flag = usa_trump_victory_2016
	}
	
	option = {	#Ted Cruz
		name = election_USA.5.o2
		trigger = { has_country_flag = usa_rep_cruz_2016 }
		set_politics = { ruling_party = conservative elections_allowed = yes }
		add_popularity = { ideology = conservative popularity = 0.03 }
		promote_character = USA_Ted_Cruz
		
		ai_chance = {
			factor = 10
		}
		set_country_flag = usa_cruz_victory_2016
	}
	
	option = {	#Marco Rubio
		name = election_USA.5.o3
		trigger = { has_country_flag = usa_rep_rubio_2016 }
		set_politics = { ruling_party = conservative elections_allowed = yes }
		add_popularity = { ideology = conservative popularity = 0.03 }
		promote_character = USA_Marco_Rubio
		
		ai_chance = {
			factor = 10
		}
		set_country_flag = usa_rubio_victory_2016
	}
	
	option = {	#John Kasich
		name = election_USA.5.o4
		trigger = { has_country_flag = usa_rep_kasich_2016 }
		set_politics = { ruling_party = conservative elections_allowed = yes }
		add_popularity = { ideology = conservative popularity = 0.03 }

		promote_character = USA_John_Kasich
		
		ai_chance = {
			factor = 10
		}
		set_country_flag = usa_kasich_victory_2016
	}
	
	option = {	#Hillary Clinton
		name = election_USA.5.o5
		
		trigger = {
			OR = {	#Should be the standard option should something go wrong.
				has_country_flag = usa_dem_clinton_2016
				AND = {
					NOT = { has_country_flag = usa_dem_clinton_2016 }
					NOT = { has_country_flag = usa_dem_sanders_2016 }
				}
			}
		}
		
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = yes
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.03
		}
		
		news_event = {
			id = news_USA.6
			hours = 6
		}
		
		promote_character = USA_Hillary_Clinton
		
		ai_chance = {
			factor = 10
		}
		
		set_country_flag = usa_clinton_victory_2016
	}
	
	option = {	#Bernie Sanders
		name = election_USA.5.o6
		trigger = { has_country_flag = usa_dem_sanders_2016 }
		set_politics = { ruling_party = social_democrat elections_allowed = yes }
		add_popularity = { ideology = social_liberal popularity = 0.03 }
		add_popularity = { ideology = progressive popularity = 0.03 }
		add_popularity = { ideology = democratic_socialist popularity = 0.03 }
		add_popularity = { ideology = social_democrat popularity = 0.03 }
		
		promote_character = USA_Bernie_Sanders
		
		ai_chance = {
			factor = 10
		}
		
		set_country_flag = usa_sanders_victory_2016
	}
}

#2020
country_event = {
	id = election_USA.6
	title = election_USA.6.t
	fire_only_once = yes
	desc = {
		#Republicans incumbent
		text = election_USA.6.d1
		trigger = {
			has_government = conservative
		}
	}
	desc = {
		#Democrats incumbent
		text = election_USA.6.d2
		trigger = {
			has_government = social_liberal
		}
	}
	
	picture = GFX_report_event_USA_election_2020_trump_biden
	
	is_triggered_only = yes
	
	trigger = {
		original_tag = USA
		date > 2020.6.1
		date < 2021.1.1
		NOT = { has_country_flag = usa_election_2020 }
		has_idea = idea_USA_political_establishment
	}
	
	immediate = {
		set_country_flag = usa_election_2020
	}
	
	option = {#Trump
		name = election_USA.6.o1
		trigger = {
			OR = {
				has_country_flag = usa_trump_victory_2016
				has_country_flag = republican_nomination_2020_trump
			}
		}
		set_politics = {
			ruling_party = conservative
			elections_allowed = yes
		}
		add_popularity = {
			ideology = conservative
			popularity = 0.05
		}
		if = {
			limit = {
				NOT = {
					has_country_leader = { 
						name = "Donald Trump"
					}
				}
			}
			promote_character = USA_Donald_Trump
		}
		
		ai_chance = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		set_country_flag = usa_trump_victory_2020
	}
	
	option = {#Cruz
		name = election_USA.6.o2
		trigger = {
			has_country_flag = republican_nomination_2020_cruz
		}
		
		set_politics = {
			ruling_party = conservative
			elections_allowed = yes
		}
		add_popularity = {
			ideology = conservative
			popularity = 0.03
		}
		if = {
			limit = {
				NOT = {
					has_country_leader = { 
						name = "Ted Cruz"
					}
				}
			}
			promote_character = USA_Ted_Cruz
		}
		
		ai_chance = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		set_country_flag = usa_cruz_victory_2020
	}
	
	option = {#Rubio
		name = election_USA.6.o3
		trigger = {
			has_country_flag = republican_nomination_2020_rubio
		}
		
		set_politics = {
			ruling_party = conservative
			elections_allowed = yes
		}
		add_popularity = {
			ideology = conservative
			popularity = 0.03
		}
		if = {
			limit = {
				NOT = {
					has_country_leader = { 
						name = "Marco Rubio"
					}
				}
			}
			promote_character = USA_Marco_Rubio
		}
		
		ai_chance = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		set_country_flag = usa_rubio_victory_2020
	}
	
	option = {#Biden
		name = election_USA.6.o4
		trigger = {
			has_country_flag = democratic_nomination_2020_biden
		}
		
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = yes
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.03
		}

		promote_character = USA_Joe_Biden
		
		ai_chance = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 100
			}
		}
		set_country_flag = usa_biden_victory_2020
	}
	
	option = {#Sanders
		name = election_USA.6.o5
		trigger = {
			has_country_flag = democratic_nomination_2020_sanders
		}
		
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = yes
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.03
		}
		if = {
			limit = {
				NOT = {
					has_country_leader = { 
						name = "Bernie Sanders"
					}
				}
			}
			promote_character = USA_Bernie_Sanders
		}
		ai_chance = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		set_country_flag = usa_sanders_victory_2020
	}
	
	option = {#Gabbard
		name = election_USA.6.o6
		trigger = {
			has_country_flag = democratic_nomination_2020_gabbard
		}
		
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = yes
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.03
		}
		promote_character = USA_Tulsi_Gabbard2020
		
		ai_chance = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		set_country_flag = usa_gabbard_victory_2020
	}
	
	option = {#Establishment
		name = election_USA.6.o7
		trigger = {
			NOT = { has_country_flag = usa_trump_victory_2016 }
		}
		
		ai_chance = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				NOT = { has_country_flag = democratic_nomination_2020_biden }
				factor = 100
			}
		}
		set_country_flag = usa_biden_victory_2020
	}
}