add_namespace = usa

#September 11 Attacks
country_event = {
	id = usa.1
	title = usa.1.t
	desc = usa.1.d
	picture = GFX_report_event_nine_eleven

	is_triggered_only = yes

	trigger = {
		NOT = { has_government = islamist }
		has_full_control_of_state = 358	#New York
	}

	immediate = {
		hidden_effect = {
			country_event = usa.32
		}
		set_country_flag = usa_9_11
		set_country_flag = major_terrorist_attack
	}

	option = {
		name = usa.1.o1
		news_event = {
			hours = 6
			id = usa_news.1
		}
	}
}

#USS Cole Attacks
country_event = {
	id = usa.2
	title = usa.2.t
	desc = usa.2.d
	picture = GFX_report_event_cole_attack

	is_triggered_only = yes

	immediate = {
		set_country_flag = usa_uss_cole_attack
	}

	option = {
		name = usa.2.o1
		news_event = {
			hours = 6
			id = usa_news.18
		}
		navy_experience = 2
		add_political_power = -10
		add_opinion_modifier = {
			target = SUD
			modifier = recent_actions_negative
		}
	}
}

#Southern Illinois Incident
country_event = {
	id = usa.3
	title = usa.3.t
	desc = usa.3.d
	picture = GFX_report_event_ufo

	is_triggered_only = yes

	trigger = {
		has_full_control_of_state = 395	#Illinois
	}

	option = {
		name = usa.3.o1
		add_political_power = -1
	}
}

#Microsoft acquires Visio
country_event = {
	id = usa.4
	title = usa.4.t
	desc = usa.4.d
	picture = GFX_report_event_stock_market

	is_triggered_only = yes

	trigger = {
		NOT = { has_government = communist }
	}

	option = {
		name = usa.4.o1
		add_political_power = 5
	}

	option = {
		name = usa.4.o2
		add_popularity = {
			ideology = communist
			popularity = 0.02
		}
		fourth_estate_communist_increase = yes
		add_stability = -0.02
	}
}

#America Online merges with Time Warner
country_event = {
	id = usa.5
	title = usa.5.t
	desc = usa.5.d
	picture = GFX_report_event_stock_market

	is_triggered_only = yes

	trigger = {
		NOT = { has_government = communist }
	}

	option = {
		name = usa.5.o1
		add_political_power = 30
	}

	option = {
		name = usa.5.o2
		add_popularity = {
			ideology = communist
			popularity = 0.04
		}
		fourth_estate_communist_increase = yes
		add_stability = -0.03
	}
}

#January 2000 North American Blizzard
country_event = {
	id = usa.6
	title = usa.6.t
	desc = usa.6.d
	picture = GFX_report_event_blizzard

	is_triggered_only = yes

	option = {
		name = usa.6.o1
		add_political_power = -15
		add_stability = -0.04
		ai_chance = { factor = 0 }
	}

	option = {
		name = usa.6.o2
		add_political_power = -60
		add_stability = -0.01
		ai_chance = { factor = 100 }
	}
}

#Elian Gonzalez Affair
country_event = {
	id = usa.7
	title = usa.7.t
	desc = usa.7.d
	picture = GFX_report_event_elian_gonzalez

	is_triggered_only = yes

	trigger = {
		country_exists = CUB
		NOT = { has_government = communist }
		CUB = { has_government = communist }
	}

	option = {	#Send the boy back
		name = usa.7.o1

		add_political_power = 25

		hidden_effect = {
			country_event = {
				id = usa.51
				days = 102
			}
		}

		ai_chance = {
			factor = 10
		}

		set_country_flag = usa_elian_gonzalez_sent_to_cuba
	}

	option = {	#Keep him here
		name = usa.7.o2

		add_popularity = {
			ideology = social_liberal
			popularity = 0.01
		}
		add_popularity = {
			ideology = communist
			popularity = -0.02
		}
		add_stability = 0.01
		CUB = {
			add_opinion_modifier = {
				target = USA
				modifier = recent_actions_negative
			}
		}
		add_named_threat = {
			threat = 0.3
			name = usa.7.t
		}

		ai_chance = {
			factor = 5
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}

		set_country_flag = usa_elian_gonzalez_kept_in_the_states
	}
}

#Greeneville sinks Ehime-Maru
country_event = {
	id = usa.8
	title = usa.8.t
	desc = usa.8.d
	picture = GFX_report_event_submarine

	is_triggered_only = yes

	option = {	#Apologize
		name = usa.8.o1

		add_stability = -0.01
	}

	option = {	#It's their fault
		name = usa.8.o2

		add_popularity = {
			ideology = nationalist
			popularity = 0.03
		}
		add_stability = 0.01
		add_named_threat = {
			threat = 0.3
			name = usa.8.t
		}
		JAP = {
			add_opinion_modifier = {
				target = USA
				modifier = recent_actions_negative
			}
		}
	}
}


#Alaska Airlines Flight 261
news_event = {
	id = usa.9
	title = usa.9.t
	desc = usa.9.d
	picture = GFX_news_event_plane_crash
	
	is_triggered_only = yes
	
	option = {
		name = usa.9.o1
		add_political_power = -10
	}
}

#End of the Peanuts
news_event = {
	id = usa.10
	title = usa.10.t
	desc = usa.10.d
	picture = GFX_news_event_peanuts_ends
	
	is_triggered_only = yes
	
	option = {
		name = usa.10.o1
		add_political_power = 5
	}
}

#Shooting of Kayla Rolland
country_event = {
	id = usa.11
	title = usa.11.t
	desc = usa.11.d
	picture = GFX_report_event_handgun

	is_triggered_only = yes

	trigger = {
		has_full_control_of_state = 393 #Michigan
	}

	option = {
		name = usa.11.o1
		add_political_power = -10
		add_stability = -0.001
	}
}

#2000 Phillips Explosion
country_event = {
	id = usa.12
	title = usa.12.t
	desc = usa.12.d
	picture = GFX_report_event_burning_oil_refinery

	is_triggered_only = yes

	trigger = {
		has_full_control_of_state = 375	#Texas
	}

	option = {
		name = usa.12.o1
		add_political_power = -5
		add_stability = -0.01

		ai_chance = {
			factor = 0
		}
	}

	option = {
		name = usa.12.o2
		add_political_power = -25

		ai_chance = {
			factor = 100
		}
	}
}

#All befriended countries: USA stands with us!
country_event = {
	id = usa.13
	title = usa.13.t
	desc = usa.13.d
	picture = GFX_report_event_american_flag

	is_triggered_only = yes

	option = {
		name = usa.13.o1
		effect_tooltip = {
			add_opinion_modifier = {
				target = USA
				modifier = has_expressed_loyalty
			}
		}
	}
}

#All opposed countries: USA stands against us!
country_event = {
	id = usa.14
	title = usa.14.t
	desc = usa.14.d
	picture = GFX_report_event_american_flag
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.14.o1
		effect_tooltip = {
			add_opinion_modifier = {
				target = USA
				modifier = loyal_to_our_enemy
			}
		}
	}
}

#Fort Worth Tornado
country_event = {
	id = usa.15
	title = usa.15.t
	desc = usa.15.d
	picture = GFX_report_event_tornado
	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		has_full_control_of_state = 375	#Texas
	}

	option = {
		name = usa.15.o1
		add_stability = -0.01
	}
}

#Japan/SK/Taiwan: East Asian Military Support Program
country_event = {
	id = usa.16
	title = usa.16.t
	desc = usa.16.d
	picture = GFX_report_event_american_flag

	is_triggered_only = yes

	option = {
		name = usa.16.o1
		army_experience = 10
		navy_experience = 10
		air_experience = 10
	}
}

#The Sanders Craze
country_event = {
	id = usa.17
	title = usa.17.t
	desc = usa.17.d
	picture = GFX_report_event_bernie_sanders

	fire_only_once = yes

	trigger = {
		tag = USA
		date > 2016.1.1
		has_idea = idea_USA_political_establishment
	}

	mean_time_to_happen = {
		days = 10
	}

	option = {	#A new era for leftism in America?
		name = usa.17.o1
		add_popularity = {
			ideology = social_liberal
			popularity = 0.02
		}
		add_popularity = {
			ideology = progressive
			popularity = 0.02
		}
		add_popularity = {
			ideology = democratic_socialist
			popularity = 0.02
		}
	}
}

#Third Party Gains
country_event = {
	id = usa.18
	title = usa.18.t
	desc = usa.18.d
	picture = GFX_report_event_gary_johnson

	trigger = {
		tag = USA
		has_idea = idea_USA_political_establishment
		OR = {
			has_government = conservative
			has_government = social_liberal
		}
	}

	mean_time_to_happen = {
		days = 500
	}

	option = {	#A new alternative?
		name = usa.18.o1
		add_popularity = {
			ideology = social_liberal
			popularity = -0.02
		}
		add_popularity = {
			ideology = conservative
			popularity = -0.02
		}
	}
}

#Republican Nomination 2016
country_event = {
	id = usa.19
	title = usa.19.t
	desc = usa.19.d
	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		USA = { has_democratic_form_of_government = yes }
		USA = { has_idea = idea_USA_political_establishment }
	}

	option = {	#I dont care
		name = usa.19.o1
		random_list = {
			80 = {
				set_country_flag = usa_rep_trump_2016
				if = {
				}
			}
			15 = {
				set_country_flag = usa_rep_cruz_2016
				if = {
				}
			}
			4 = {
				set_country_flag = usa_rep_rubio_2016
				if = {
				}
			}
			1 = {
				set_country_flag = usa_rep_kasich_2016
				if = {
				}
			}
		}
		ai_chance = {
			factor = 100
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
	}

	option = {	#Trump
		name = usa.19.o2
		set_country_flag = usa_rep_trump_2016
		if = {
		}

		ai_chance = {
			factor = 100
			modifier = {
				is_historical_focus_on = no
				factor = 0
			}
		}
	}

	option = {	#Cruz
		name = usa.19.o3
		set_country_flag = usa_rep_cruz_2016
		if = {
		}

		ai_chance = { factor = 0 }
	}

	option = {	#Rubio
		name = usa.19.o4
		set_country_flag = usa_rep_rubio_2016
		if = {
		}

		ai_chance = { factor = 0 }
	}

	option = {	#Kasich
		name = usa.19.o5
		set_country_flag = usa_rep_kasich_2016
		if = {
		}

		ai_chance = { factor = 0 }
	}
}

#Democratic Nomination 2016
country_event = {
	id = usa.20
	title = usa.20.t
	desc = usa.20.d
	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		USA = { has_democratic_form_of_government = yes }
		USA = { has_idea = idea_USA_political_establishment }
	}

	option = {	#I dont care
		name = usa.20.o1
		random_list = {
			70 = {
				set_country_flag = usa_dem_clinton_2016
				if = {
				}
			}
			30 = {
				set_country_flag = usa_dem_sanders_2016
				if = {
				}
			}
		}

		ai_chance = {
			factor = 100
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
	}

	option = {	#Clinton
		name = usa.20.o2
		set_country_flag = usa_dem_clinton_2016
		if = {
		}

		ai_chance = {
			factor = 100
			modifier = {
				is_historical_focus_on = no
				factor = 0
			}
		}
	}

	option = {	#Sanders
		name = usa.20.o3
		set_country_flag = usa_dem_sanders_2016
		if = {
		}

		ai_chance = { factor = 0 }
	}
}

#Totalitarians in our ranks trigger (other countries)
country_event = {
	id = usa.21
	hidden = yes

	trigger = {
		is_in_faction_with = USA
		has_democratic_form_of_government = no
		NOT = { original_tag = USA }
		USA = { is_faction_leader = yes }
		USA = { has_democratic_form_of_government = yes }
		USA = { NOT = { has_country_flag = tolerates_totalitarians_in_NATO } }
	}

	mean_time_to_happen = {
		days = 45
	}

	option = {
		USA = { country_event = usa.22 }
	}
}

#Totalitarians in our ranks
country_event = {
	id = usa.22
	title = usa.22.t
	desc = usa.22.d
	picture = GFX_report_event_nato

	is_triggered_only = yes

	option = {	#They have to leave
		name = usa.22.o1
		remove_from_faction = FROM
		FROM = {
			country_event = diplomatic_message.2
		}
		FROM = {
			add_opinion_modifier = {
				modifier = kicked_from_faction
				target = ROOT
			}
		}

		ai_chance = {
			factor = 100
		}
	}

	option = {	#Uhhh, let's just look past that
		name = usa.22.o2
		add_stability = -0.05
		set_country_flag = tolerates_totalitarians_in_NATO
		news_event = usa.23
		FROM = {
			add_opinion_modifier = {
				target = USA
				modifier = recent_actions_very_positive
			}
		}
		every_country = {
			limit = {
				NOT = { original_tag = USA }
				is_in_faction_with = USA
				has_democratic_form_of_government = yes
			}
			add_opinion_modifier = {
				target = USA
				modifier = tolerates_totalitarians_in_faction_faction_member
			}
		}
		every_country = {
			limit = {
				NOT = { original_tag = USA }
				NOT = { is_in_faction_with = USA }
				has_democratic_form_of_government = yes
			}
			add_opinion_modifier = {
				target = USA
				modifier = tolerates_totalitarians_in_faction
			}
		}

		ai_chance = {
			factor = 0

			modifier = {
				add = 5
				is_historical_focus_on = no
			}
		}
	}
}

news_event = {	#Toleration of Totalitarians in NATO
	id = usa.23
	title = usa.23.t
	desc = usa.23.d
	picture = GFX_news_event_nato

	is_triggered_only = yes

	option = {
		name = usa.23.o1
		trigger = { original_tag = USA }
	}

	option = {
		name = usa.23.o2
		trigger = {
			NOT = { original_tag = USA }
			is_in_faction_with = USA
			has_democratic_form_of_government = yes
		}
	}

	option = {
		name = usa.23.o3
		trigger = {
			NOT = { original_tag = USA }
			is_in_faction_with = USA
			has_democratic_form_of_government = no
		}
	}

	option = {
		name = usa.23.o4
		trigger = {
			NOT = { original_tag = USA }
			NOT = { original_tag = SOV }
			NOT = { is_in_faction_with = USA }
			has_democratic_form_of_government = yes
			NOT = { has_idea = neutrality_idea }
		}
	}

	option = {
		name = usa.23.o5
		trigger = {
			NOT = { original_tag = USA }
			NOT = { original_tag = SOV }
			NOT = { is_in_faction_with = USA }
			has_democratic_form_of_government = yes
			has_idea = neutrality_idea
		}
	}

	option = {
		name = usa.23.o6
		trigger = {
			NOT = { original_tag = USA }
			original_tag = SOV
			NOT = { is_in_faction_with = USA }
			has_democratic_form_of_government = yes
		}
	}

	option = {
		name = usa.23.o7
		trigger = {
			NOT = { original_tag = USA }
			NOT = { is_in_faction_with = USA }
			has_democratic_form_of_government = no
		}
	}
}

news_event = {	#America is a monarchy
	id = usa.24
	title = usa.24.t
	desc = usa.24.d
	picture = GFX_news_event_american_monarchy

	major = yes
	fire_only_once = yes
	is_triggered_only = yes

	trigger = {}

	mean_time_to_happen = {}

	option = {
		name = usa.24.o1
		trigger = {
			original_tag = USA
		}
	}

	option = {
		name = usa.24.o2
		trigger = {
			NOT = { original_tag = USA }
			is_in_faction_with = USA
		}
	}

	option = {
		name = usa.24.o3
		trigger = {
			NOT = { original_tag = USA }
			NOT = { is_in_faction_with = USA }
		}
	}
}

country_event = {	#The New President lost the Popular Vote
	id = usa.25
	title = usa.25.t
	desc = usa.25.d
	picture = GFX_report_event_protests

	is_triggered_only = yes

	option = {
		name = usa.25.o1
		add_stability = -0.01
		add_stability = -0.02
	}
}

country_event = {	#Choose our successor
	id = usa.26
	title = usa.26.t
	desc = usa.26.d
	picture = GFX_report_event_nato

	is_triggered_only = yes

	option = {	#CAN
		name = usa.26.o1
		trigger = {
			CAN = { num_of_factories > 49 }
			CAN = { has_democratic_form_of_government = yes }
			CAN = { is_puppet = no }
			is_in_faction_with = CAN
		}
		every_country = {
			limit = {
				NOT = { tag = CAN }
				NOT = { tag = USA }
				is_in_faction_with = USA
			}
			set_country_flag = to_be_added_to_new_nato
		}
		CAN = {
			create_faction = NATO
			country_event = usa.27
		}
		hidden_effect = {
			every_country = {
				limit = {
					has_country_flag = to_be_added_to_new_nato
				}
				CAN = { add_to_faction = PREV }
				clr_country_flag = to_be_added_to_new_nato
				set_country_flag = seeks_canadian_alliance
			}
		}
		dismantle_faction = yes
	}

	option = {	#ENG
		name = usa.26.o2
		trigger = {
			ENG = { num_of_factories > 49 }
			ENG = { has_democratic_form_of_government = yes }
			ENG = { is_puppet = no }
			is_in_faction_with = ENG
		}
		every_country = {
			limit = {
				NOT = { tag = ENG }
				NOT = { tag = USA }
				is_in_faction_with = USA
			}
			set_country_flag = to_be_added_to_new_nato
		}
		ENG = {
			create_faction = NATO
			country_event = usa.27
		}
		hidden_effect = {
			every_country = {
				limit = {
					has_country_flag = to_be_added_to_new_nato
				}
				ENG = { add_to_faction = PREV }
				clr_country_flag = to_be_added_to_new_nato
				set_country_flag = seeks_british_alliance
			}
		}
		dismantle_faction = yes
	}

	option = {	#FRA
		name = usa.26.o3
		trigger = {
			FRA = { num_of_factories > 49 }
			FRA = { has_democratic_form_of_government = yes }
			FRA = { is_puppet = no }
			is_in_faction_with = FRA
		}
		every_country = {
			limit = {
				NOT = { tag = FRA }
				NOT = { tag = USA }
				is_in_faction_with = USA
			}
			set_country_flag = to_be_added_to_new_nato
		}
		FRA = {
			create_faction = NATO
			country_event = usa.27
		}
		hidden_effect = {
			every_country = {
				limit = {
					has_country_flag = to_be_added_to_new_nato
				}
				FRA = { add_to_faction = PREV }
				clr_country_flag = to_be_added_to_new_nato
				set_country_flag = seeks_french_alliance
			}
		}
		dismantle_faction = yes
	}

	option = {	#GER
		name = usa.26.o4
		trigger = {
			GER = { num_of_factories > 49 }
			GER = { has_democratic_form_of_government = yes }
			GER = { is_puppet = no }
			is_in_faction_with = GER
		}
		every_country = {
			limit = {
				NOT = { tag = GER }
				NOT = { tag = USA }
				is_in_faction_with = USA
			}
			set_country_flag = to_be_added_to_new_nato
		}
		GER = {
			create_faction = NATO
			country_event = usa.27
		}
		hidden_effect = {
			every_country = {
				limit = {
					has_country_flag = to_be_added_to_new_nato
				}
				GER = { add_to_faction = PREV }
				clr_country_flag = to_be_added_to_new_nato
				set_country_flag = seeks_german_alliance
			}
		}
		dismantle_faction = yes
	}

	option = {	#ITA
		name = usa.26.o5
		trigger = {
			ITA = { num_of_factories > 49 }
			ITA = { has_democratic_form_of_government = yes }
			is_in_faction_with = ITA
		}
		every_country = {
			limit = {
				NOT = { tag = ITA }
				NOT = { tag = USA }
				is_in_faction_with = USA
			}
			set_country_flag = to_be_added_to_new_nato
		}
		ITA = {
			create_faction = NATO
			country_event = usa.27
		}
		hidden_effect = {
			every_country = {
				limit = {
					has_country_flag = to_be_added_to_new_nato
				}
				ITA = { add_to_faction = PREV }
				clr_country_flag = to_be_added_to_new_nato
				set_country_flag = seeks_italian_alliance
			}
		}
		dismantle_faction = yes
	}
}

country_event = { #Focus Tree: USA makes us NATO leader!
	id = usa.27
	title = usa.27.t
	desc = usa.27.d
	picture = GFX_report_event_nato

	is_triggered_only = yes

	option = {	#Excellent news!
		name = usa.27.o1
		add_political_power = 300
	}
}

country_event = { #Focus Tree: Invitation to the American Faction
	id = usa.28
	title = usa.28.t
	desc = usa.28.d
	picture = GFX_report_event_nato

	is_triggered_only = yes

	option = {	#We accept!
		name = usa.28.o1
		USA = { add_to_faction = ROOT }
		hidden_effect = {
			USA = { country_event = diplomatic_response.1 }
		}
		set_country_flag = seeks_american_alliance
		ai_chance = {
			base = 100
			modifier = {
				is_faction_leader = yes
				add = -100
			}
		}
	}

	option = {	#We refuse!
		name = usa.28.o2
		add_political_power = 20
		hidden_effect = {
			USA = { country_event = diplomatic_response.2 }
		}
		ai_chance = {
			base = 0
			modifier = {
				is_in_faction = yes
				add = 50
			}
		}
	}
}

country_event = { #American Infrastructure Investments
	id = usa.29
	title = usa.29.t
	desc = usa.29.d
	picture = GFX_report_event_nato

	is_triggered_only = yes

	option = {	#Excellent.
		name = usa.29.o1
		add_political_power = -100
		random_owned_controlled_state = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
	}

	option = {	#Use the funding for other purposes.
		name = usa.29.o2
		add_stability = 0.01
		add_political_power = 10
		add_stability = 0.01
	}
}

country_event = { #American Stabilization Effort
	id = usa.30
	title = usa.30.t
	desc = usa.30.d
	picture = GFX_report_event_nato

	is_triggered_only = yes

	option = {	#Excellent.
		name = usa.30.o1
		add_stability = 0.03
	}
}

country_event = { #American Military Mission
	id = usa.31
	title = usa.31.t
	desc = usa.31.d
	picture = GFX_report_event_american_flag

	is_triggered_only = yes

	option = {	#Excellent.
		name = usa.31.o1
		add_stability = 0.02
		add_political_power = 100
		add_stability = 0.03
		army_experience = 50
		navy_experience = 50
		air_experience = 50
	}
}

## AFGHANISTAN WAR ##
#Central Timeline Management Event
country_event = {
	id = usa.32
	hidden = yes
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		#The event triggers on September 11th, 2001.
		every_country = {							#September 12th: International Reactions
			limit = {
				OR = { tag = CAN tag = ENG tag = AST tag = GER tag = FRA tag = POL }
				OR = { is_in_faction_with = USA tag = AST }
			}
			country_event = { id = usa.33 days = 1 }
		}
		#2001#
		country_event = { id = usa.34 days = 2 }	#September 13th: Hillary Clinton backs the post-9/11 efforts
		country_event = { id = usa.35 days = 3 }	#September 14th: National Prayer Service
		country_event = { id = usa.36 days = 4 }	#September 15th: Murder of Balbir Singh Sondhi
		country_event = { id = usa.37 days = 7 }	#September 18th: Anthrax Attacks
		country_event = { id = usa.38 days = 9 }	#September 20th: The War on Terror Speech
		country_event = { id = usa.41 days = 25 }	#October 6th: Announcement of the Invasion to Congress
		country_event = { id = usa.39 days = 26 }	#October 7th: The Invasion of Afghanistan
		country_event = { id = usa.40 days = 27 }	#October 8th: The Homeland Security
		#2002#
		country_event = { id = usa.45 days = 122 }	#January 11th: Guantanamo Bay
		#2002#
		country_event = { id = usa.71 days = 388 }	#October 3rd: The Iraq Resolution
		#2003
		news_event = { id = fne.9 days = 553 }	#March 18th: Ultimatum
		country_event = { id = usa.72 days = 555 }	#March 20th: Invasion of Iraq
		#2004
		country_event = { id = usa.100 days = 950 }	#March - August
	}
}

#Diplomatic Response to 9/11
country_event = {
	id = usa.33
	title = usa.33.t
	desc = usa.33.d
	picture = GFX_report_event_schroeder_and_bush

	is_triggered_only = yes

	option = {
		name = usa.33.o1

		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = nine_eleven_total_loyalty
			}
		}

		add_political_power = -20
		add_stability = -0.01

		ai_chance = {
			base = 1
		}
	}

	option = {
		name = usa.33.o2

		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = nine_eleven_loyalty
			}
		}

		add_stability = 0.01

		ai_chance = {
			base = 0
			modifier = {
				has_democratic_form_of_government = no
				add = 100
			}
		}
	}
}

#Hillary Clinton backs the government
country_event = {
	id = usa.34
	title = usa.34.t
	desc = usa.34.d
	picture = GFX_report_event_hillary_clinton_young

	is_triggered_only = yes

	trigger = {
		has_government = conservative
	}

	option = {	#We stand united
		name = usa.34.o1
		add_popularity = {
			ideology = social_liberal
			popularity = 0.005
		}
		add_popularity = {
			ideology = conservative
			popularity = 0.01
		}
		add_political_power = 25
		add_stability = 0.03

		hidden_effect = {
			#news_event = {
			#	id = usa_news.10
			#	hours = 6
			#}
		}
	}
}

#National Prayer Service
country_event = {
	id = usa.35
	title = usa.35.t
	desc = usa.35.d
	picture = GFX_report_event_national_prayer_service_2001

	is_triggered_only = yes

	option = {
		name = usa.35.o1
		add_political_power = 10
		add_stability = 0.025

		hidden_effect = {
			#news_event = {
			#	id = usa_news.11
			#	hours = 6
			#}
		}
	}
}

#Murder of Balbir Singh Sodhi
country_event = {
	id = usa.36
	title = usa.36.t
	desc = usa.36.d
	picture = GFX_report_event_balbir_singh_sodhi

	is_triggered_only = yes

	option = {
		name = usa.36.o1
		add_political_power = -5

		hidden_effect = {
			#news_event = {
			#	id = usa_news.12
			#	hours = 6
			#}
		}
	}
}

#Anthrax Attacks
country_event = {
	id = usa.37
	title = usa.37.t
	desc = usa.37.d
	picture = GFX_report_event_fbi

	is_triggered_only = yes

	option = {
		name = usa.37.o1
		add_stability = -0.002
		add_political_power = -5

		hidden_effect = {
			#news_event = {
			#	id = usa_news.13
			#	hours = 6
			#}
		}
	}
}

#The War on Terror Speech
country_event = {
	id = usa.38
	title = usa.38.t
	desc = usa.38.d
	picture = GFX_report_event_george_w_bush

	is_triggered_only = yes

	option = {
		name = usa.38.o1
		add_stability = 0.045

		hidden_effect = {
			news_event = {
				id = usa_news.14
				hours = 6
			}
		}
	}
}

#Invasion of Afghanistan
country_event = {
	id = usa.39
	title = usa.39.t
	desc = usa.39.d
	picture = GFX_report_event_afghanistan_war

	is_triggered_only = yes

	trigger = {
		TAL = {
			exists = yes
			is_puppet = no
			has_government = islamist
		}
		NOT = { has_global_flag = sandbox_tabula_rasa }
	}

	option = {
		name = usa.39.o1
		ai_chance = {
			base = 100
			modifier = {
				is_historical_focus_on = yes
			}
		}
		add_timed_idea = {
			idea = AFG_US_bombing_idea
			days = 140
		}
		if = {
			limit = { AFG = { exists = no } }
			declare_war_on = {
				target = TAl
				type = puppet_wargoal_focus
			}
			hidden_effect = {
				#load_oob = "USA_invading_force_AFG"
			}
		}

		if = {
			limit = { AFG = { exists = yes } }
			add_to_war = {
				targeted_alliance = AFG
				enemy = TAL
				hostility_reason = asked_to_join
			}
			add_to_faction = AFG
			AFG = {
				add_timed_idea = {
					idea = AFG_US_bombing_idea
					days = 140
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_2
					amount = 600
				}

			}
			hidden_effect = {
				load_oob = "USA_invading_force_AFG_with_NorthAll"
			}
		}

		TAL = {
			add_timed_idea = {
				idea = TAL_US_bombing_idea
				days = 140
			}
		}
	}
	option = {
		name = "Let's not go to war instead..."
		ai_chance = {
			base = 0
			modifier = {
				is_historical_focus_on = no
			}
		}
	}
}

#The Homeland Security
country_event = {
	id = usa.40
	title = usa.40.t
	desc = usa.40.d
	picture = GFX_report_event_homeland_security

	is_triggered_only = yes

	option = {
		name = usa.40.o1
		add_political_power = -25
		add_stability = 0.01
		set_country_flag = the_homeland_security
	}

	option = {
		name = usa.40.o2
		add_political_power = -5
	}
}

#Announcement of the Afghanistan Invasion
country_event = {
	id = usa.41
	title = usa.41.t
	desc = usa.41.d
	picture = GFX_report_event_bush_and_cheney

	is_triggered_only = yes

	trigger = {
		TAL = { has_government = islamist }
	}

	option = {
		name = usa.41.o1
		add_political_power = 20
		add_stability = 0.01
		army_experience = 10
		hidden_effect = {
			news_event = {
				id = usa_news.15
				hours = 6
			}
		}
	}
}

#The Karzai Administration
country_event = {
	id = usa.42
	title = usa.42.t
	desc = usa.42.d
	picture = GFX_report_event_hamid_karzai

	fire_only_once = yes

	trigger = {
		original_tag = USA
		is_puppet = no
		has_war = no
		has_democratic_form_of_government = yes
		OR = {
			AFG = { is_puppet_of = USA }
			AFG = { has_government = conservative }
			has_democratic_form_of_government = yes
		}
		AFG = {
			has_full_control_of_state = 267
			has_full_control_of_state = 320
			has_full_control_of_state = 415
			has_full_control_of_state = 824
			has_full_control_of_state = 837
			has_full_control_of_state = 1191
			has_full_control_of_state = 1192
			has_full_control_of_state = 1193
			has_full_control_of_state = 1190
		}
	}

	mean_time_to_happen = {
		days = 2
	}

	option = {
		name = usa.42.o1
		PAK = {
			give_military_access = USA
		}
		AFG = {
			set_country_flag = the_karzai_administration
			country_event = afghanistan.10
		}
		add_political_power = 100
		puppet = AFG
		if = {
			limit = { NOT = {AFG = { has_government = conservative} } }
			AFG = {
				set_politics = {
					ruling_party = conservative
				}
				set_popularities = {
					islamist = 20
					conservative = 50
					market_liberal = 7
					social_liberal = 7
					social_democrat = 8
					communist = 8
				}
			}
		}
		AFG = {
			set_capital = {
				state = 267
				remember_old_capital = no
			}
			retire_ideology_leader = conservative
			drop_cosmetic_tag = yes
			set_party_name = {
				ideology = conservative
				name = AFG_conservative_party2
			}
			create_country_leader = {
				name = "Hamid Karzai"
				picture = "Hamid_Karzai.dds"
				ideology = fiscal_conservative
			}
			#add_stability = 0.1
			#add_war_support = 0.05
			remove_ideas = AFG_bad_tech
			remove_ideas = AFG_northern_alliance
			remove_ideas = partially_recognized_state
			remove_ideas = AFG_US_bombing_idea

		}

		hidden_effect = {
			267 = {
				remove_core_of = TAL
			}
			415 = {
				remove_core_of = TAL
			}
			320 = {
				remove_core_of = TAL
			}
			1191 = {
				remove_core_of = TAL
			}
			1190 = {
				remove_core_of = TAL
			}
			1192 = {
				remove_core_of = TAL
			}
			415 = {
				remove_core_of = TAL
			}
			1192 = {
				remove_core_of = TAL
			}
			837 = {
				remove_core_of = TAL
			}
			824 = {
				remove_core_of = TAL
			}

		}
	}
}

#Bonn Agreement Trigger
country_event = {
	id = usa.43
	hidden = yes

	fire_only_once = yes

	trigger = {
		date > 2001.12.4
		date < 2006.1.1
		AFG = { has_country_flag = the_karzai_administration }
		GER = { is_in_faction_with = USA }
		GER = { has_full_control_of_state = 51 }
	}

	option = {
		USA = { country_event = usa.44 }
	}
}

#Bonn Agreement
country_event = {
	id = usa.44
	title = usa.44.t
	desc = usa.44.d
	picture = GFX_report_event_america_and_afghanistan

	is_triggered_only = yes

	option = {
		name = usa.44.o1

		hidden_effect = {
			news_event = {
				id = usa_news.16
				hours = 6
			}
		}
	}
}

#Guantanamo Bay
country_event = {
	id = usa.45
	title = usa.45.t
	desc = usa.45.d
	picture = GFX_report_event_guantanamo_bay

	is_triggered_only = yes

	trigger = {
		has_full_control_of_state = 880	#Guantanamo Bay
	}

	#Establish the Detention Center
	option = {
		name = usa.45.o1
		add_stability = 0.05
		add_political_power = -25
		set_country_flag = guantanamo_bay_detention_center_established
		CUB = {
			add_opinion_modifier = {
				target = USA
				modifier = territorial_violation
			}
		}
		hidden_effect = {
			news_event = { id = usa_news.17 hours = 3 }
		}

		ai_chance = {
			base = 100
		}
	}

	#This is an utterly monstrous plan!
	option = {
		name = usa.45.o2
		add_political_power = 5

		ai_chance = {
			base = 100
			modifier = {
				add = -100
				is_historical_focus_on = no
			}
		}
	}
}

#2000 U.S. Census
country_event = {
	id = usa.46
	title = usa.46.t
	desc = usa.46.d
	picture = GFX_report_event_election

	is_triggered_only = yes

	option = {
		name = usa.46.o1
		add_political_power = 10
		add_stability = 0.01
	}
}

#United States vs Microsoft Corp
country_event = {
	id = usa.47
	title = usa.47.t
	desc = usa.47.d
	picture = GFX_report_event_jury

	is_triggered_only = yes

	option = {
		name = usa.47.o1
		add_political_power = 25
	}

	option = {
		name = usa.47.o2
		add_stability = -0.02
		country_event = {
			id = usa.48
			days = 75
		}
	}
}

#Microsoft allowed to expand further
country_event = {
	id = usa.48
	title = usa.48.t
	desc = usa.48.d
	picture = GFX_report_event_jury

	is_triggered_only = yes

	option = {
		name = usa.48.o1
		add_stability = -0.03
		if = {
			limit = {
				378 = {
					free_building_slots = { building = industrial_complex size > 1 include_locked = yes }
				}
			}
			378 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex level = 1 instant_build = yes
				}
			}
		}
		if = {
			limit = {
				385 = {
					free_building_slots = { building = industrial_complex size > 1 include_locked = yes }
				}
			}
			385 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex level = 1 instant_build = yes
				}
			}
		}
	}
}

#Marine Corps aircraft crash near Marana, Arizona
country_event = {
	id = usa.49
	title = usa.49.t
	desc = usa.49.d
	picture = GFX_report_event_plane_crash

	is_triggered_only = yes

	trigger = {
		has_full_control_of_state = 377	#Arizona
	}

	option = {
		name = usa.49.o1
		add_political_power = -25
		navy_experience = 2
		air_experience = 2
	}
}

#Anti-Globalization Protests in Washington
country_event = {
	id = usa.50
	title = usa.50.t
	desc = usa.50.d
	picture = GFX_report_event_political_activist

	is_triggered_only = yes

	trigger = {
		has_full_control_of_state = 361	#Maryland/DC
		has_democratic_form_of_government = yes
	}

	option = {	#The establishment is right.
		name = usa.50.o1
		add_political_power = 10
		ai_chance = { factor = 100 }
	}

	option = {	#The environmentalists are right.
		name = usa.50.o2
		add_political_power = -10
		fourth_estate_progressive_increase = yes
		ai_chance = { factor = 0 }
	}

	option = {	#Perhaps we should listen to the nationalists?
		name = usa.50.o3
		add_political_power = -10
		fourth_estate_nationalist_increase = yes
		ai_chance = { factor = 0 }
	}
}

#Elian Gonzalez seized by Federal Agents
country_event = {
	id = usa.51
	title = usa.51.t
	desc = usa.51.d
	picture = GFX_report_event_elian_gonzalez

	is_triggered_only = yes

	trigger = {
		has_government = social_liberal
	}

	option = {	#The establishment is right.
		name = usa.51.o1
		add_popularity = {
			ideology = social_liberal
			popularity = -0.03
		}
	}
}

#Shepherdstown Peace Talks
news_event = {
	id = usa.52
	title = usa.52.t
	desc = {
		text = usa.52.d1
		trigger = {
			tag = USA
		}
	}
	desc = {
		text = usa.52.d2
		trigger = {
			tag = SYR
		}
	}
	desc = {
		text = usa.52.d3
		trigger = {
			tag = ISR
		}
	}
	picture = GFX_news_event_Shepherdstown_peace
	
	is_triggered_only = yes
	
	option = {
		trigger = {
			tag = USA
		}
		name = usa.52.o1
		add_political_power = 5
	}
	option = {
		trigger = {
			tag = SYR
		}
		name = usa.52.o1
		add_opinion_modifier = {
			target = ISR
			modifier = peace_talks
		}
	}
	option = {
		trigger = {
			tag = ISR
		}
		name = usa.52.o1
		add_opinion_modifier = {
			target = SYR
			modifier = peace_talks
		}
	}
}

#Syria: Shepherdstown Peace Talks
country_event = {
	id = usa.53
	title = usa.53.t
	desc = usa.53.d
	picture = GFX_report_event_political_deal

	is_triggered_only = yes

	option = {
		name = usa.53.o1
		add_opinion_modifier = {
			target = ISR
			modifier = peace_talks
		}
	}
}

#Israel: Shepherdstown Peace Talks
country_event = {
	id = usa.54
	title = usa.54.t
	desc = usa.54.d
	picture = GFX_report_event_political_deal

	is_triggered_only = yes

	option = {
		name = usa.54.o1
		add_opinion_modifier = {
			target = SYR
			modifier = peace_talks
		}
	}
}

#Datapoint files for Chapter 11 bankruptcy
news_event = {
	id = usa.55
	title = usa.55.t
	desc = usa.55.d
	picture = GFX_report_event_computer
	
	is_triggered_only = yes
	
	option = {
		name = usa.55.o1
		add_political_power = -10
	}
}


#Republican National Convention 2000
country_event = {
	id = usa.56
	title = usa.56.t
	desc = usa.56.d
	picture = GFX_report_event_republican_national_convention

	is_triggered_only = yes

	trigger = {
		has_democratic_form_of_government = yes
	}

	option = {
		name = usa.56.o1
		add_popularity = {
			ideology = conservative
			popularity = 0.03
		}
		set_country_flag = usa_rep_bush_2000
		ai_chance = {
			factor = 180
		}
	}

	option = {
		name = usa.56.o2
		add_popularity = {
			ideology = reactionary
			popularity = 0.03
		}
		set_country_flag = usa_rep_buchanan_2000
		ai_chance = {
			factor = 40
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

#DeviantART launched
country_event = {
	id = usa.57
	title = usa.57.t
	desc = usa.57.d
	picture = GFX_report_event_computer

	is_triggered_only = yes

	trigger = {
		has_democratic_form_of_government = yes
	}

	option = {
		name = usa.57.o1
		add_political_power = 3
	}
}

#H.L. Hunley
country_event = {
	id = usa.58
	title = usa.58.t
	desc = usa.58.d
	picture = GFX_report_event_submarine

	is_triggered_only = yes

	option = {
		name = usa.58.o1
		add_political_power = 10
	}
}

#Democratic National Convention 2000
country_event = {
	id = usa.59
	title = usa.59.t
	desc = usa.59.d
	picture = GFX_report_event_democratic_national_convention

	is_triggered_only = yes

	trigger = {
		has_democratic_form_of_government = yes
	}

	option = {
		name = usa.59.o1
		add_popularity = {
			ideology = social_liberal
			popularity = 0.03
		}
		set_country_flag = usa_dem_gore_2000
		ai_chance = {
			factor = 40
		}
	}

	option = {
		name = usa.59.o2
		add_popularity = {
			ideology = social_democrat
			popularity = 0.03
		}
		set_country_flag = usa_dem_beatty_2000
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

#Mac OS X
country_event = {
	id = usa.60
	title = usa.60.t
	desc = usa.60.d
	picture = GFX_report_event_computer

	is_triggered_only = yes

	option = {
		name = usa.60.o1
		add_political_power = 3
	}
}

#Martin County Oil Spill
country_event = {
	id = usa.61
	title = usa.61.t
	desc = usa.61.d
	picture = GFX_report_event_burning_oil_refinery

	trigger = {
		has_full_control_of_state = 369	#Kentucky
	}

	is_triggered_only = yes

	option = {
		name = usa.61.o1
		add_political_power = -20
	}

	option = {
		name = usa.61.o2
		add_stability = -0.01
	}
}

#Gus Hall dies
country_event = {
	id = usa.62
	title = usa.62.t
	desc = usa.62.d
	picture = GFX_report_event_fathers_of_communism

	is_triggered_only = yes

	immediate = {
		set_country_flag = death_of_gus_hall
	}

	option = {
		name = usa.62.o1

		ai_chance = { factor = 100 }
	}

	option = {
		name = usa.62.o2
		add_political_power = -50
		add_stability = -0.02
		fourth_estate_communist_increase = yes
		add_popularity = {
			ideology = communist
			popularity = 0.05
		}
		hidden_effect = { country_event = { id = usa.63 days = 1000 } }

		ai_chance = { factor = 0 }
	}
}

#Hall State
country_event = {
	id = usa.63
	title = usa.63.t
	desc = usa.63.d
	picture = GFX_report_event_communism

	is_triggered_only = yes

	trigger = {
		has_government = communist
	}

	option = {
		name = usa.63.o1
		add_political_power = 20
		fourth_estate_communist_increase = yes
		#State Names
		386 = { set_state_name = "Halberg" }		#Washington			#Arvo Kustaa Halberg (Gus Hall)
		363 = { set_state_name = "Vladimir" }		#North Carolina		#Vladimir Lenin
		364 = { set_state_name = "Marx" }			#South Carolina		#Karl Marx
		371 = { set_state_name = "Delescluze" }		#Louisiana			#Louis Charles Delescluze
		362 = { set_state_name = "Josephia" }		#Virginia			#Joseph Stalin
		896 = { set_state_name = "Zedong" }			#West Virginia		#Mao Zedong
		365 = { set_state_name = "Malcolm" }		#Georgia			#Malcolm X
		376 = { set_state_name = "Manabendra" }		#New Mexico			#Manabendra Nath Roy
		794 = { set_state_name = "Inkpin" }			#New Hampshire		#Albert Inkpin
		359 = { set_state_name = "Browder" }		#New Jersey			#Earl Browder
		361 = { set_state_name = "Margot" }			#Maryland			#Margot Honecker
		360 = { set_state_name = "Eugene" }			#Pennsylvania		#Eugene Debs
		358 = { set_state_name = "Engels" }			#New York			#Friedrich Engels
		#Province Names
		set_province_name = { id = 3957 name = "Gus Hall City, D.M." }
		set_country_flag = washington_dc_renamed_due_to_gus_hall
		ai_chance = { factor = 100 }
	}

	option = {
		name = usa.63.o2
		ai_chance = { factor = 0 }
	}
}

#Madeleine Albright and Kim Jong-Il
country_event = {
	id = usa.64
	title = usa.64.t
	desc = usa.64.d
	picture = GFX_report_event_political_deal

	is_triggered_only = yes

	trigger = {
		has_government = social_liberal
	}

	option = {
		name = usa.64.o1
		add_opinion_modifier = { target = PRK modifier = new_diplomatic_missions }
		reverse_add_opinion_modifier = { target = PRK modifier = new_diplomatic_missions }
	}
}

#Hillary Clinton elected to the U.S. Senate
country_event = {
	id = usa.65
	title = usa.65.t
	desc = usa.65.d
	picture = GFX_report_event_hillary_clinton_young

	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = usa.65.o1
		add_popularity = {
			ideology = social_liberal
			popularity = 0.001
		}
	}
}

#Bush v Gore: Florida Recount Stopped
country_event = {
	id = usa.66
	title = usa.66.t
	desc = usa.66.d
	picture = GFX_report_event_jury

	is_triggered_only = yes
	fire_only_once = yes
	trigger = {
		has_government = conservative
	}

	option = {
		name = usa.66.o1
		add_stability = -0.01
	}
}

#December 2000 nor'easter
country_event = {
	id = usa.67
	title = usa.67.t
	desc = usa.67.d
	picture = GFX_report_event_blizzard
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.67.o1
		add_political_power = -50
	}
}

#The Launch of Wikipedia
country_event = {
	id = usa.68
	title = usa.68.t
	desc = usa.68.d
	picture = GFX_report_event_computer
	fire_only_once = yes
	trigger = {
		has_democratic_form_of_government = yes
	}

	is_triggered_only = yes

	option = {
		name = usa.68.o1
		add_political_power = 10
	}
}

#Colin Powell attacks Zimbabwe
country_event = {
	id = usa.69
	title = usa.69.t
	desc = usa.69.d
	picture = GFX_report_event_united_states_army

	is_triggered_only = yes
	fire_only_once = yes
	trigger = {
		ZIM = { has_democratic_form_of_government = no }
	}

	option = {
		name = usa.69.o1
		add_political_power = -15
		ZIM = {
			add_opinion_modifier = {
				target = USA
				modifier = diplomatic_insults
			}
		}
		trigger = { NOT = { has_government = fascist } }
		ai_chance = { factor = 100 }
	}

	option = {
		name = usa.69.o2
		remove_unit_leader = 1
		ai_chance = { factor = 0 }
	}
}

#Hall State Reversal Event
country_event = {
	id = usa.70
	fire_only_once = yes
	hidden = yes
	fire_only_once = yes
	trigger = {
		NOT = { has_government = communist }
		has_country_flag = washington_dc_renamed_due_to_gus_hall
	}

	option = {
		clr_country_flag = washington_dc_renamed_due_to_gus_hall
		386 = { set_state_name = "Washington" }		#Washington
		363 = { set_state_name = "North Carolina" }	#North Carolina
		364 = { set_state_name = "South Carolina" }	#South Carolina
		371 = { set_state_name = "Louisiana" }		#Louisiana
		362 = { set_state_name = "Virginia" }		#Virginia
		896 = { set_state_name = "West Virginia" }	#West Virginia
		365 = { set_state_name = "Georgia" }		#Georgia
		376 = { set_state_name = "New Mexico" }		#New Mexico
		794 = { set_state_name = "New Hampshire" }	#New Hampshire
		359 = { set_state_name = "New Jersey" }		#New Jersey
		361 = { set_state_name = "Maryland" }		#Maryland
		360 = { set_state_name = "Pennsylvania" }	#Pennsylvania
		358 = { set_state_name = "New York" }		#New York
		set_province_name = { id = 3957 name = "Washington, D.C." }
	}
}

#The Iraq Resolution
country_event = {
	id = usa.71
	title = usa.71.t
	desc = usa.71.d
	picture = GFX_report_event_bush_and_cheney

	is_triggered_only = yes

	trigger = {
		IRQ = { has_government = nationalist }
		NOT = { IRQ = { has_non_aggression_pact_with  = USA } }
		NOT = { IRQ = { is_in_faction_with  = USA } }
		NOT = { IRQ = { is_in_faction_with  = SOV } }
		NOT = { IRQ = { is_in_faction_with  = PRC } }
		NOT = { has_global_flag = sandbox_tabula_rasa }
		NOT = { has_global_flag = operation_iraqi_freedom }
	}

	option = {
		name = usa.71.o1
		add_political_power = 20
		add_stability = 0.01
		set_global_flag = iraq_resolution
		country_event = {
			id = USA_flavor.2
			days = 30
			random_days = 20
		}
	}
}

#Invasion of Iraq
country_event = {
	id = usa.72
	title = usa.72.t
	desc = usa.72.d
	picture = GFX_report_event_iraq_war3

	is_triggered_only = yes

	trigger = {
		IRQ = { has_government = nationalist }
		NOT = { IRQ = { has_non_aggression_pact_with  = USA } }
		NOT = { IRQ = { is_in_faction_with  = USA } }
		NOT = { IRQ = { is_in_faction_with  = SOV } }
		NOT = { IRQ = { is_in_faction_with  = PRC } }
		NOT = { has_global_flag = sandbox_tabula_rasa }
		NOT = { has_global_flag = operation_iraqi_freedom }
		NOT = {has_war_with = IRQ}
		has_global_flag = iraq_resolution
	}

	immediate = {
		set_global_flag = operation_iraqi_freedom
	}

	option = {
		name = usa.72.o1
		ai_chance = {
			base = 100
			modifier = {
				is_historical_focus_on = yes
			}
		}
		set_global_flag = american_invasion_of_iraq
		add_timed_idea = {
			idea = shock_and_awe_US_idea
			days = 28
		}

		IRQ = {
			country_event = {
				id = IRQ_flavor.9
				hours = 1
			}
		}

		declare_war_on = {
			target = IRQ
			type = puppet_wargoal_focus
		}

		KUR = {
			add_to_war = {
				targeted_alliance = USA
				enemy = IRQ
				hostility_reason = asked_to_join
			}
			give_military_access = USA
		}

		hidden_effect = {
			add_timed_idea = {
				idea = flavor_no_NATO_IRQ
				days = 240
			}
			load_oob = "USA_invading_force_IRQ"
			USA = {
				set_province_controller = 13316
				set_province_controller = 15984
			}
		}

		news_event = {
			id = fne.8
			hours = 6
		}

		IF = {
			limit = {
				is_ai = yes
			}
			load_oob = "USA_invading_force_IRQ_AI_help"
		}

		IF = {
			limit = {
				TUR = { has_country_flag = TUR_iraqi_freedom_ok }
			}

			hidden_effect = {
				TUR = {
					country_event = {
						id = TUR_flavor.1
						hours = 1
					}
					add_timed_idea = {
						idea = flavor_no_NATO_IRQ
						days = 240
					}
				}
			}
		}


		IF = {
			limit = {
				ENG = { has_country_flag = ENG_iraqi_freedom_ok }
			}
			ENG = {
				country_event = {
					id = ENG_flavor.1
					hours = 1
				}
				hidden_effect = {
					add_timed_idea = {
						idea = flavor_no_NATO_IRQ
						days = 240
					}
					add_timed_idea = {
						idea = shock_and_awe_US_idea
						days = 28
					}
				}
			}
		}



		IF = {
			limit = {
				OR = {
					TUR = { has_country_flag = TUR_iraqi_freedom_ok }
					TUR = { has_country_flag = TUR_let_US_pass }
				}
			}
			hidden_effect = {
				load_oob = "USA_invading_force_IRQ_with_TUR"
			}
		}
		ELSE = {
			hidden_effect = {
				load_oob = "USA_invading_force_IRQ_without_TUR"
			}
			country_event = {
				id = USA_flavor.4
				hours = 1
			}
		}
	}
		option = {
		name = "Let's not go to war instead..."
		ai_chance = {
			base = 0
			modifier = {
				is_historical_focus_on = no
			}
		}
	}
}

## SUCCESS OF OPERATION IRAQI FREEDOM ##
#Success of Operation Iraqi Freedom
country_event = {
	id = usa.73
	hidden = yes

	fire_only_once = yes

	trigger = {
		#date < 2006.12.30
		IRQ = { is_puppet_of = USA }
		has_global_flag = american_invasion_of_iraq
	}

	immediate = {
		set_global_flag = success_of_operation_iraqi_freedom
	}

	option = {
		name = country_capitulated.0.o1
	}
}

#Capture of Saddam Hussein Trigger
country_event = {
	id = usa.74
	hidden = yes

	fire_only_once = yes

	trigger = {
		date > 2003.12.12
		date < 2006.12.30
		has_global_flag = success_of_operation_iraqi_freedom
		IRQ = { is_puppet_of = USA }
	}

	immediate = {
		set_global_flag = saddam_hussein_captured
	}

	option = {
		news_event = {
			id = usa_news.21
			hours = 6
		}
	}
}

#Saddam Hussein Sentenced to Death Trigger
country_event = {
	id = usa.75
	hidden = yes

	fire_only_once = yes

	trigger = {
		date > 2006.12.29
		date < 2015.1.1
		has_global_flag = success_of_operation_iraqi_freedom
		IRQ = { is_puppet_of = USA }
	}

	option = {
		news_event = {
			id = usa_news.22
			hours = 6
		}
	}
}

#US Withdraws Troops From Iraq Trigger
country_event = {
	id = usa.76
	hidden = yes

	fire_only_once = yes

	trigger = {
		date > 2011.12.17
		date < 2015.1.1
		has_global_flag = success_of_operation_iraqi_freedom
		IRQ = { is_puppet_of = USA }
	}

	option = {
		end_puppet = IRQ
		remove_from_faction = IRQ
		news_event = {
			id = usa_news.23
			hours = 6
		}
	}
}

#Republican Nomination 2020
country_event = {
	id = usa.77
	title = usa.77.t
	desc = usa.77.d

	is_triggered_only = yes

	trigger = {
		USA = { has_democratic_form_of_government = yes }
		USA = { has_idea = idea_USA_political_establishment }
		USA = { NOT = { has_government = conservative } }
	}

	option = {	#I dont care
		name = usa.77.o1
		random_list = {
			65 = {
				set_country_flag = republican_nomination_2020_trump
				if = {
					limit = { NOT = { has_government = conservative } }
					create_country_leader = {
						name = "Donald Trump"
						picture = "Donald_Trump.dds"
						ideology = right_wing_conservative
					}
				}
			}
			35 = {
				set_country_flag = republican_nomination_2020_cruz
				if = {
					limit = { NOT = { has_government = conservative } }
					create_country_leader = {
						name = "Ted Cruz"
						picture = "Ted_Cruz2020.dds"
						ideology = right_wing_conservative
					}
				}
			}
		}
		ai_chance = {
			factor = 100
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
	}

	option = {	#Trump
		name = usa.77.o2
		set_country_flag = republican_nomination_2020_trump
		if = {
			limit = { NOT = { has_government = conservative } }
			create_country_leader = {
				name = "Donald Trump"
				picture = "Donald_Trump.dds"
				ideology = right_wing_conservative
			}
		}

		ai_chance = {
			factor = 100
			modifier = {
				is_historical_focus_on = no
				factor = 0
			}
		}
	}

	option = {	#Cruz
		name = usa.77.o3
		set_country_flag = republican_nomination_2020_cruz
		if = {
			limit = { NOT = { has_government = conservative } }
			create_country_leader = {
				name = "Ted Cruz"
				picture = "Ted_Cruz2020.dds"
				ideology = right_wing_conservative
			}
		}

		ai_chance = { factor = 0 }
	}

	option = {	#Rubio
		name = usa.77.o4
		set_country_flag = republican_nomination_2020_rubio
		if = {
			limit = { NOT = { has_government = conservative } }
			create_country_leader = {
				name = "Marco Rubio"
				picture = "Marco_Rubio.dds"
				ideology = fiscal_conservative
			}
		}

		ai_chance = { factor = 0 }
	}
}

#Democratic Nomination 2020
country_event = {
	id = usa.78
	title = usa.78.t
	desc = usa.78.d

	is_triggered_only = yes

	trigger = {
		USA = { has_democratic_form_of_government = yes }
		USA = { has_idea = idea_USA_political_establishment }
		USA = { NOT = { has_government = social_liberal } }
	}

	option = {	#I dont care
		name = usa.78.o1
		random_list = {
			50 = {
				set_country_flag = democratic_nomination_2020_biden
				if = {
					limit = { NOT = { has_government = social_liberal } }
					create_country_leader = {
						name = "Joe Biden"
						picture = "Joe_Biden.dds"
						ideology = centrist
					}
				}
			}
			35 = {
				set_country_flag = democratic_nomination_2020_sanders
				if = {
					limit = { NOT = { has_government = social_liberal } }
					create_country_leader = {
						name = "Bernie Sanders"
						picture = "Bernie_Sanders2020.dds"
						ideology = liberalist
					}
				}
			}
			15 = {
				set_country_flag = democratic_nomination_2020_gabbard
				if = {
					limit = { NOT = { has_government = social_liberal } }
					create_country_leader = {
						name = "Tulsi Gabbard"
						picture = "Tulsi_Gabbard2020.dds"
						ideology = moderate
					}
				}
			}
		}

		ai_chance = {
			factor = 100
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
	}

	option = {	#Biden
		name = usa.78.o2
		set_country_flag = democratic_nomination_2020_biden
		if = {
			limit = { NOT = { has_government = social_liberal } }
			create_country_leader = {
				name = "Joe Biden"
				picture = "Joe_Biden.dds"
				ideology = centrist
			}
		}

		ai_chance = {
			factor = 100
			modifier = {
				is_historical_focus_on = no
				factor = 0
			}
		}
	}

	option = {	#Sanders
		name = usa.78.o3
		set_country_flag = democratic_nomination_2020_sanders
		if = {
			limit = { NOT = { has_government = social_liberal } }
			create_country_leader = {
				name = "Bernie Sanders"
				picture = "Bernie_Sanders2020.dds"
				ideology = liberalist
			}
		}

		ai_chance = { factor = 0 }
	}

	option = {	#Gabbard
		name = usa.78.o4
		set_country_flag = democratic_nomination_2020_gabbard
		if = {
			limit = { NOT = { has_government = social_liberal } }
			create_country_leader = {
				name = "Tulsi Gabbard"
				picture = "Tulsi_Gabbard2020.dds"
				ideology = moderate
			}
		}

		ai_chance = { factor = 0 }
	}
}

#Appoint Legion Leader
country_event = {
	id = usa.93
	title = usa.93.t
	desc = usa.93.d
	picture = GFX_fascist_leaders

	is_triggered_only = yes

	option = {	#David Duke
		name = usa.93.o1

		create_country_leader = {
			name = "David E. Duke"
			picture = "David_Duke.dds"
			ideology = fascist_ideology
		}
	}

	option = {	#Richard Spencer
		name = usa.93.o2

		create_country_leader = {
			name = "Richard Spencer"
			picture = "Richard_Spencer.dds"
			ideology = fascist_ideology
		}
	}

	option = {	#Jeff Schoep
		name = usa.93.o3
		add_political_power = 100
		ai_chance = {
			factor = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

#Reorganize NSM
country_event = {
	id = usa.96
	title = usa.96.t
	desc = usa.96.d
	picture = GFX_fascist_leaders

	is_triggered_only = yes

	option = {	#Michael Hill
		name = usa.96.o1

		create_country_leader = {
			name = "Michael Hill"
			picture = "Michael_Hill.dds"
			ideology = fascist_ideology
		}
	}

	option = {	#Matthew Heimbach
		name = usa.96.o2

		create_country_leader = {
			name = "Matthew Heimbach"
			picture = "Matthew_Heimbach.dds"
			ideology = fascist_ideology
		}
	}

	option = {	#Jeff Schoep
		name = usa.96.o3
		add_political_power = 100
		ai_chance = {
			factor = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

#Elect a Monarch
country_event = {
	id = usa.94
	title = usa.94.t
	desc = usa.94.d
	picture = GFX_monarch_election

	is_triggered_only = yes

	option = {	#Trump
		name = usa.94.o1
		add_stability = 0.05
		create_country_leader = {
			name = "Trump I"
			picture = "Donald_Trump1.dds"
			ideology = absolute_monarchist
			traits = {
				headstrong
				friend_of_russia
			}
		}

		set_party_name = {
			name = "House of Trump"
			long_name = "House of Trump"
			ideology = monarchist
		}
	}

	option = {	#Caroline Kennedy
		name = usa.94.o2
		news_event = {
			hours = 6
			id = usa_news.96
		}

		create_country_leader = {
			name = "Caroline I"
			picture = "Caroline_Kennedy.dds"
			ideology = absolute_monarchist
		}

		set_party_name = {
			name = "House of Kennedy"
			long_name = "House of Kennedy"
			ideology = monarchist
		}
	}

	option = {	#House Washington
		name = usa.94.o4
		create_country_leader = {
			name = "Paul I"
			picture = "Paul_Emory_Washington.dds"
			ideology = absolute_monarchist
		}
		set_party_name = {
			name = "House of Washington"
			long_name = "House of Washington"
			ideology = monarchist
		}
	}

	option = {	#House Mattis
		name = usa.94.o6
		create_country_leader = {
			name = "James I"
			picture = "gfx/leaders/USA/generals/James_Mattis.dds"
			ideology = absolute_monarchist
		}
		set_party_name = {
			name = "House of Mattis"
			long_name = "House of Mattis"
			ideology = monarchist
		}
	}

}

#USA Threatens our sovereignty!
country_event = {
	id = usa.95
	title = usa.95.t
	desc = usa.95.d
	picture = GFX_report_event_war

	is_triggered_only = yes

	option = {
		name = usa.95.o1
		USA = {
			annex_country = { target = ROOT }
		}
	}
}

#Restructure the Education System Part 1
country_event = {
	id = usa.97
	title = usa.97.t
	desc = usa.97.d
	picture = GFX_education_department

	is_triggered_only = yes

	#Merit Based
	option = {
		name = usa.97.o1
		add_stability = .05
		add_popularity = {
			ideology = nationalist
			popularity = .05
		}
		hidden_effect = {
			country_event = usa.98
		}
	}
	#Ethnicity Based
	option = {
		name = usa.97.o2
		add_stability = -.02
		add_popularity = {
			ideology = fascist
			popularity = .05
		}
		hidden_effect = {
			country_event = usa.98
		}
	}
	#Both
	option = {
		name = usa.97.o3
		add_popularity = {
			ideology = fascist
			popularity = .02
		}
		add_popularity = {
			ideology = nationalist
			popularity = .02
		}
		hidden_effect = {
			country_event = usa.98
		}
	}
}

#Restructure Education Pt 2
country_event = {
	id = usa.98
	title = usa.98.t
	desc = usa.98.d
	picture = GFX_education_department

	is_triggered_only = yes

	#Accurate History
	option = {
		name = usa.98.o1
		add_stability = .05
		add_political_power = -50
	}

	#Rewritten Textbooks
	option = {
		name = usa.98.o2
		add_stability = -.05
		add_political_power = 50
	}
}
#Syrian sanctions
country_event = {
	id = usa.100
	title = usa.100.t
	desc = usa.100.d
	picture = GFX_report_event_political_deal
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = {
		name = usa.100.o1
		SYR = {
			country_event = syria.8
		}
		ai_chance = {		
			factor = 100		
		}
		# trigger = {
		# 	NOT = {
		# 		SYR = {
		# 			has_completed_focus = SYR_sanction_iraq
		# 		}
		# 	}
		# }
	}
	option = {
		name = usa.100.o2
		ai_chance = {		
			factor = 0		
		}
		# trigger = {
		# 	SYR = {
		# 		has_completed_focus = SYR_sanction_iraq
		# 	}
		# }
	}
}
	country_event = {		
	id = usa.4019	
	title = usa.4019.t		
	desc = usa.4019.d
	picture = GFX_report_event_cpusa
	is_triggered_only = yes		
				
	option = {	#Webb	
		name = usa.4019.o1
		ai_chance = {		
			factor = 100		
		}		
		create_country_leader = {		
		name = "Sam Webb"		
		picture = "gfx/leaders/USA/sam_webb.dds"		
		expire = "1.1.1.1"		
		ideology = marxist		
						
			traits = {		
						
			}		
		}		
	}		
}		
country_event = {		
	id = usa.4020	
	title = usa.4020.t	
	desc = usa.4020.d		
	picture = GFX_report_event_cpusa		
	is_triggered_only = yes		
				
	option = {	#Bachtell		
		name = usa.4020.o1	
		ai_chance = {		
			factor = 100		
		}		
		create_country_leader = {		
		name = "John Bachtell"		
		picture = "gfx/leaders/USA/John_Bachtell.dds"		
		expire = "1.1.1.1"		
		ideology = marxist		
				
			traits  = {		
				communist_politician 		
			}		
		}		
	}		
}

#Republican National Convention 2008
country_event = {
	id = usa.4021
	title = usa.4021.t
	desc = usa.4021.d
	picture = GFX_report_event_rnc2008

	is_triggered_only = yes

	trigger = {
		has_democratic_form_of_government = yes
	}

	option = {
		name = usa.4021.o1
		add_popularity = {
			ideology = conservative
			popularity = 0.03
		}
		set_country_flag = usa_rep_mccain_2008
		ai_chance = {
			factor = 290
		}
	}

	option = {
		name = usa.4021.o2
		add_popularity = {
			ideology = reactionary
			popularity = 0.03
		}
		set_country_flag = usa_rep_giuliani_2008
		ai_chance = {
			factor = 40
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

#Democratic National Convention 2008
country_event = {
	id = usa.4022
	title = usa.4022.t
	desc = usa.4022.d
	picture = GFX_report_event_dnc2008

	is_triggered_only = yes

	trigger = {
		has_democratic_form_of_government = yes
	}

	option = {
		name = usa.4022.o1
		add_popularity = {
			ideology = social_liberal
			popularity = 0.03
		}
		set_country_flag = usa_dem_obama_2008
		ai_chance = {
			factor = 290
		}
	}

	option = {
		name = usa.4022.o2
		add_popularity = {
			ideology = social_democrat
			popularity = 0.03
		}
		set_country_flag = usa_dem_gravel_2008
		ai_chance = {
			factor = 40
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}
