﻿#Written by Hiddengearz

add_namespace = USA_FOCUS
add_namespace = USA_Cabinet_picks
add_namespace = USA_Muslim_Ban
add_namespace = USA_Repeal_Obama_Care
add_namespace = USA_Trump_First_Trip
add_namespace = USA_JCPOA
add_namespace = USA_Expand_OEF
add_namespace = USA_Russia_Investigation
add_namespace = USA_Purchase_Bases_ME


#News Event - US deploys Armored Brigade to Eastern Europe
news_event = {
	id = USA_FOCUS.1
	title = USA_FOCUS.1.t
	desc = USA_FOCUS.1.d
	
	#hidden = yes
	#fire_only_once = yes
	major = yes
	is_triggered_only = yes

	option = {
		name = USA_FOCUS.1.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.1.a executed"

	}	
}

#US Armoured Brigade in E-Europe Activated - Spawns in Warsaw
country_event = {
	id = USA_FOCUS.2
	title = USA_FOCUS.2.t
	desc = USA_FOCUS.2.d
	
	#hidden = yes
	#fire_only_once = yes
	major = yes
	is_triggered_only = yes

	option = {
		name = USA_FOCUS.2.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.2.a executed"
		USA = {
			clr_country_flag = Reinforce_NATO_EAST
			load_oob = USA_NATO_E_BRIGADE
		}
	}
}

#News Event - US deploys Armored Brigade to Turkey
news_event = {
	id = USA_FOCUS.3
	title = USA_FOCUS.3.t
	desc = USA_FOCUS.3.d
	
	#hidden = yes
	#fire_only_once = yes
	major = yes
	is_triggered_only = yes

	option = {
		name = USA_FOCUS.3.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.3.a executed"

	}
}

##US Armoured Brigade in Turkey Activated - Spawns in Ankara
country_event = {
	id = USA_FOCUS.4
	title = USA_FOCUS.4.t
	desc = USA_FOCUS.4.d
	
	#hidden = yes
	fire_only_once = yes
	major = yes
	is_triggered_only = yes

	option = {
		name = USA_FOCUS.4.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.4.a executed"
		USA = {
			clr_country_flag = REINFORCE_Bosphorus
			load_oob = USA_NATO_S_BRIGADE
		}
	}
}

##US Investment in India
country_event = {
	id = USA_FOCUS.5
	title = USA_FOCUS.5.t
	desc = USA_FOCUS.5.d
	
	#hidden = yes
	fire_only_once = yes
	major = yes
	is_triggered_only = yes

	option = {
		name = USA_FOCUS.5.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.5.a executed"

		RAJ = {
			add_ideas = { usa_ind_investment }
		}
	}
}

#Cabinet picks - Secretary of State
country_event = {
	id = USA_Cabinet_picks.0
	title = USA_Cabinet_picks.0.t
	desc = USA_Cabinet_picks.0.d
	#picture = GFX_new_years_2017_usa

	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		country_event = { id = USA_Cabinet_picks.1 days = 17 }
	}

	option = { #Pick Rex Tillerson, western +relations with russia
		name = USA_Cabinet_picks.0.a
		log = "[GetDateText]: [This.GetName]: USA_Cabinet_picks.0.a executed"
		add_country_leader_trait = USA_Rex_Tillerson
		add_opinion_modifier = { target = SOV modifier = USA_Tillerson_EFFECT }
		SOV = { add_opinion_modifier = { target = USA modifier = USA_Tillerson_EFFECT } }
		ai_chance = { factor = 50 }
	}
	option = { #Pick Giuliani + western
		name = USA_Cabinet_picks.0.b
		log = "[GetDateText]: [This.GetName]: USA_Cabinet_picks.0.b executed"
		add_country_leader_trait = USA_Giuliani
	}
	option = { #Pick Romney + western - national unity (swamp)
		name = USA_Cabinet_picks.0.c
		log = "[GetDateText]: [This.GetName]: USA_Cabinet_picks.0.c executed"
		add_country_leader_trait = USA_Romney
		add_stability = -0.02
	}
	option = { #Pick Alex Jones + nationalism
		name = USA_Cabinet_picks.0.e
		log = "[GetDateText]: [This.GetName]: USA_Cabinet_picks.0.e executed"
		add_country_leader_trait = USA_Alex_Jones
	}
}

#Cabinet picks - Secretary of Deffense
country_event = {
	id = USA_Cabinet_picks.1
	title = USA_Cabinet_picks.1.t
	desc = USA_Cabinet_picks.1.d
	#picture = GFX_new_years_2017_usa

	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		country_event = { id = USA_Cabinet_picks.2 days = 17 }
	}

	option = { #Pick Gen. James Mattis western, + relations nato, + mil exp
		name = USA_Cabinet_picks.1.a
		log = "[GetDateText]: [This.GetName]: USA_Cabinet_picks.1.a executed"
		add_country_leader_trait = USA_Mattis
		every_country = {
			limit = {
				not = { has_government = nationalist }
				is_in_faction_with = USA
			}
			add_opinion_modifier = { target = USA modifier = USA_Mattis_EFFECT }
			reverse_add_opinion_modifier = { target = USA modifier = USA_Mattis_EFFECT }
		}
		army_experience = 10
		ai_chance = { factor = 50 }
	}
	option = { #Pick Lt. Gen. Mike Flynn + nationalism + russia relations
		name = USA_Cabinet_picks.1.b
		log = "[GetDateText]: [This.GetName]: USA_Cabinet_picks.1.b executed"
		add_country_leader_trait = USA_Mike_Flynn
		add_opinion_modifier = { target = SOV modifier = USA_Flynn_EFFECT }
		reverse_add_opinion_modifier = { target = SOV modifier = USA_Flynn_EFFECT }
	}
	
}
#Cabinet picks - Attorney General
country_event = {
	id = USA_Cabinet_picks.2
	title = USA_Cabinet_picks.2.t
	desc = USA_Cabinet_picks.2.d
	#picture = GFX_new_years_2017_usa

	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		country_event = { id = USA_Cabinet_picks.3 days = 17 }
	}

	option = { #Pick Sen. Jeff Sessions western
		name = USA_Cabinet_picks.2.a
		log = "[GetDateText]: [This.GetName]: USA_Cabinet_picks.2.a executed"
		add_country_leader_trait = USA_Sessions
		ai_chance = { factor = 50 }
	}
	option = { #Pick Kris Kobach - nationalism
		name = USA_Cabinet_picks.2.b
		log = "[GetDateText]: [This.GetName]: USA_Cabinet_picks.2.b executed"
		add_country_leader_trait = USA_Kris_Kobac
	}
}

#Cabinet picks - White House Chief of Staff
country_event = {
	id = USA_Cabinet_picks.3
	title = USA_Cabinet_picks.3.t
	desc = USA_Cabinet_picks.3.d
	#picture = GFX_new_years_2017_usa

	fire_only_once = yes

	is_triggered_only = yes

	option = { #Pick Reince Priebus + western
		name = USA_Cabinet_picks.3.a
		log = "[GetDateText]: [This.GetName]: USA_Cabinet_picks.3.a executed"
		add_country_leader_trait = USA_Priebus
	}
	option = { #Pick Steve Bannon + nationalism
		name = USA_Cabinet_picks.3.b
		log = "[GetDateText]: [This.GetName]: USA_Cabinet_picks.3.b executed"
		add_country_leader_trait = USA_Bannon
		ai_chance = { factor = 50 }
	}
}

#Propose the Muslim ban
country_event = {
	id = USA_Muslim_Ban.0
	title = USA_Muslim_Ban.0.t
	desc = USA_Muslim_Ban.0.d
	#picture = GFX_new_years_2017_usa

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USA_Muslim_Ban.0.a
		log = "[GetDateText]: [This.GetName]: USA_Muslim_Ban.0.a executed" #Popose the muslim ban
		random_list = {
			70 = {
				country_event = { id = USA_Muslim_Ban.1 days = 10 }
				add_political_power = -25
			}
			30 = {
				#swap_ideas = { remove_idea = visa_program add_idea = love_it_or_leave_it }
				add_popularity = { ideology = nationalist popularity = 0.015 }
				news_event = { id = USA_Muslim_Ban.3 days = 3 }
			}
		}
		ai_chance = { factor = 50 }
	}
}

#Propose it again
country_event = {
	id = USA_Muslim_Ban.1
	title = USA_Muslim_Ban.1.t
	desc = USA_Muslim_Ban.1.d
	#picture = GFX_new_years_2017_usa

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USA_Muslim_Ban.1.a
		log = "[GetDateText]: [This.GetName]: USA_Muslim_Ban.1.a executed" #Popose the muslim ban
		random_list = {
			50 = {
				country_event = { id = USA_Muslim_Ban.2 days = 10 }
				add_political_power = -25
			}
			50 = {
				#swap_ideas = { remove_idea = visa_program add_idea = love_it_or_leave_it }
				add_popularity = { ideology = nationalist popularity = 0.015 }
				news_event = { id = USA_Muslim_Ban.3 days = 3 }
			}
		}
		ai_chance = { factor = 50 }
	}
	option = {
		name = USA_Muslim_Ban.1.b
		log = "[GetDateText]: [This.GetName]: USA_Muslim_Ban.1.b executed" #What Muslim Ban?
		add_popularity = { ideology = democratic popularity = 0.015 }
	}
}

#Propose it again
country_event = {
	id = USA_Muslim_Ban.2
	title = USA_Muslim_Ban.2.t
	desc = USA_Muslim_Ban.2.d
	#picture = GFX_new_years_2017_usa

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USA_Muslim_Ban.2.a
		log = "[GetDateText]: [This.GetName]: USA_Muslim_Ban.2.a executed" #Popose the muslim ban
		#swap_ideas = { remove_idea = visa_program add_idea = love_it_or_leave_it }
		add_popularity = { ideology = nationalist popularity = 0.015 }
		news_event = { id = USA_Muslim_Ban.3 days = 3 }
		ai_chance = { factor = 50 }
	}
}

#Muslim Ban passes
news_event = {
	id = USA_Muslim_Ban.3
	title = USA_Muslim_Ban.3.t
	desc = USA_Muslim_Ban.3.d
	picture = GFX_USA_news_event_muslim_ban
	
	major = yes
	#fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USA_Muslim_Ban.3.a
		log = "[GetDateText]: [This.GetName]: USA_Muslim_Ban.3.a executed" #Muslim Ban Passes
		if = {
			limit = { tag = USA }
			add_stability = -0.01
			relative_change_pos_2 = yes
		}
		
	}
}

#Propose to repeal Obama Care
country_event = {
	id = USA_Repeal_Obama_Care.0
	title = USA_Repeal_Obama_Care.0.t
	desc = USA_Repeal_Obama_Care.0.d
	#picture = GFX_new_years_2017_usa

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USA_Repeal_Obama_Care.0.a
		log = "[GetDateText]: [This.GetName]: USA_Repeal_Obama_Care.0.a executed" #Propose to repeal Obama Care
		random_list = {
			80 = {
				country_event = { id = USA_Repeal_Obama_Care.1 days = 10 }
				add_political_power = -25
			}
			20 = {
				swap_ideas = { remove_idea = health_04 add_idea = health_03 }
				news_event = { id = USA_Repeal_Obama_Care.3 days = 3 }
			}
		}
		ai_chance = { factor = 50 }
	}
}

#Propose it again
country_event = {
	id = USA_Repeal_Obama_Care.1
	title = USA_Repeal_Obama_Care.1.t
	desc = USA_Repeal_Obama_Care.1.d
	#picture = GFX_new_years_2017_usa

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USA_Repeal_Obama_Care.1.a
		log = "[GetDateText]: [This.GetName]: USA_Repeal_Obama_Care.1.a executed" #Propose to repeal Obama Care
		random_list = {
			70 = {
				country_event = { id = USA_Repeal_Obama_Care.2 days = 10 }
				add_political_power = -25
			}
			30 = {
				swap_ideas = { remove_idea = health_04 add_idea = health_03 }
				news_event = { id = USA_Repeal_Obama_Care.3 days = 3 }
			}
		}
		ai_chance = { factor = 50 }
	}
	option = {
		name = USA_Repeal_Obama_Care.1.b
		log = "[GetDateText]: [This.GetName]: USA_Repeal_Obama_Care.1.b executed" #Obama what?
		add_popularity = { ideology = democratic popularity = 0.015 }
	}
}

#Propose it again
country_event = {
	id = USA_Repeal_Obama_Care.2
	title = USA_Repeal_Obama_Care.2.t
	desc = USA_Repeal_Obama_Care.2.d
	#picture = GFX_new_years_2017_usa

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USA_Repeal_Obama_Care.2.a
		log = "[GetDateText]: [This.GetName]: USA_Repeal_Obama_Care.2.a executed" #Propose to repeal Obama Care
		random_list = {
			50 = {
				country_event = { id = USA_Repeal_Obama_Care.4 days = 10 }
				add_political_power = -25
			}
			50 = {
				swap_ideas = { remove_idea = health_04 add_idea = health_03 }
				news_event = { id = USA_Repeal_Obama_Care.3 days = 3 }
			}
		}
		ai_chance = { factor = 50 }
	}
	option = {
		name = USA_Repeal_Obama_Care.2.b
		log = "[GetDateText]: [This.GetName]: USA_Repeal_Obama_Care.2.b executed" #Obama what?
		add_popularity = { ideology = democratic popularity = 0.015 }
	}
}

#ObamaCare Repealed!
news_event = {
	id = USA_Repeal_Obama_Care.3
	title = USA_Repeal_Obama_Care.3.t
	desc = USA_Repeal_Obama_Care.3.d
	picture = GFX_USA_OBAMA_CARE_REPEALED
	#major = yes
	
	#fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USA_Repeal_Obama_Care.3.a
		log = "[GetDateText]: [This.GetName]: USA_Repeal_Obama_Care.3.a executed" #Obama Care undermined
		ai_chance = { factor = 50 }
		add_stability = -0.01
		relative_change_pos_2 = yes
	}
}

#Propose it again
country_event = {
	id = USA_Repeal_Obama_Care.4
	title = USA_Repeal_Obama_Care.4.t
	desc = USA_Repeal_Obama_Care.4.d
	#picture = GFX_new_years_2017_usa

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USA_Repeal_Obama_Care.4.a
		log = "[GetDateText]: [This.GetName]: USA_Repeal_Obama_Care.4.a executed" #Undermine Obama Care
		swap_ideas = { remove_idea = health_04 add_idea = health_03 }
		add_stability = 0.04
			
	}
}

#First Foreign trip
country_event = {
	id = USA_Trump_First_Trip.0
	title = USA_Trump_First_Trip.0.t
	desc = USA_Trump_First_Trip.0.d
	#picture = GFX_new_years_2017_usa

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USA_Trump_First_Trip.0.a
		log = "[GetDateText]: [This.GetName]: USA_Trump_First_Trip.0.a executed" #Middle East
		set_country_flag = USA_Trump_ME_trip
		SAU = { country_event = { id = SAU_2017_Riyadh_Summit.0 days = 20 } }
		ai_chance = { factor = 50 }
		
	}
	option = {
		name = USA_Trump_First_Trip.0.b
		log = "[GetDateText]: [This.GetName]: USA_Trump_First_Trip.0.b executed" #Europe
		trigger = { has_country_flag = MD4_V2 }
		set_country_flag = USA_Trump_EU_trip
	}
	option = {
		name = USA_Trump_First_Trip.0.c
		log = "[GetDateText]: [This.GetName]: USA_Trump_First_Trip.0.c executed" #Indo-Pacific
		trigger = { has_country_flag = MD4_V3 }
		set_country_flag = USA_Trump_IP_trip
	}
}

#Trump tweets support of Saudi's
news_event = {
	id = USA_Trump_First_Trip.1
	title = USA_Trump_First_Trip.1.t
	desc = USA_Trump_First_Trip.1.d
	picture = GFX_USA_TRUMP_SUPPORT_Salman
	
	is_triggered_only = yes
	
	option = {
		 name = USA_Trump_First_Trip.1.a
		 log = "[GetDateText]: [This.GetName]: USA_Trump_First_Trip.1.a executed" #Interesting
			hidden_effect = {
			SAU = { country_event = { id = SAU_GCC_CRISIS.0 days = 2 } }
			}
		 }
	}

##The Palestine Question
country_event = {
	id = USA_FOCUS.6
	title = USA_FOCUS.6.t
	desc = USA_FOCUS.6.d
	
	is_triggered_only = yes
	
	option = { #Jerusalem Is Isreal's capital
		name = USA_FOCUS.6.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.6.a executed"
		ISR = {
			add_opinion_modifier = { target = USA modifier = USA_ISR_Jerusalem_Capital }
		}
		every_country = {
			limit = {
				or = {
					has_idea = sunni
					has_idea = shia
				}
			}
			add_opinion_modifier = { target = USA modifier = USA_Recognize_Jerusalem_Capital }
		}
		hidden_effect = {
			every_country = {
				news_event = { id = USA_FOCUS.7 days = 3 }
			}
			news_event = { id = Israel.1 days = 90 } #temp
		}
		add_political_power = 25
		ai_chance = { factor = 50 }
	}
	
	option = { #eh, maybe later
		name = USA_FOCUS.6.b
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.6.b executed"
		ISR = {
			add_opinion_modifier = { target = USA modifier = USA_Not_Jerusalem_Capital }
		}
	}
	
}
#News Event - Trump recognizes Jerusalem as Israel's capital
news_event = {
	id = USA_FOCUS.7
	title = USA_FOCUS.7.t
	desc = USA_FOCUS.7.d
	picture = GFX_USA_TRUMP_ISRAEL_CAPITAL
	
	hidden = yes
	major = yes
	is_triggered_only = yes

	option = {
		name = USA_FOCUS.7.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.7.a executed"

	}	
}
##Condem Iran missile Launch
country_event = {
	id = USA_FOCUS.8
	title = USA_FOCUS.8.t
	desc = USA_FOCUS.8.d
	
	#hidden = yes
	is_triggered_only = yes

	option = { #Condem
		name = USA_FOCUS.8.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.8.a executed"
		this = {
			add_opinion_modifier = { target = PER modifier = insult }
			reverse_add_opinion_modifier = { target = PER modifier = insult }
			
			reverse_add_opinion_modifier = { target = USA modifier = gratitude }
			add_political_power = 25
		}
		ai_chance = { factor = 50 }
	}
	
	option = { #No
		name = USA_FOCUS.8.b
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.8.b executed"
		this = {
			add_opinion_modifier = { target = USA modifier = USA_Decline_PER_Embargo }
			reverse_add_opinion_modifier = { target = USA modifier = USA_Decline_PER_Embargo }
		}
	}
	
}

#Announce intentions to leave JCPOA
news_event = {
	id = USA_JCPOA.0
	title = USA_JCPOA.0.t
	desc = USA_JCPOA.0.d
	picture = GFX_USA_TRUMP_JCPOA
	major = yes
	
	#hidden = yes
	is_triggered_only = yes
	
	fire_only_once = yes
	
	
	option = {
		name = USA_JCPOA.0.a
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.0.a executed"
	}	
}
#Lobby US goverment FRA, ENG, GER, ISR, SAU
country_event = {
	id = USA_JCPOA.1
	title = USA_JCPOA.1.t
	desc = USA_JCPOA.1.d
	
	#hidden = yes
	is_triggered_only = yes
	
	option = { #end JCPOA
		name = USA_JCPOA.1.a
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.1.a executed"
		country_event = { id = USA_JCPOA.2 days = 3 }
		ai_chance = {
			base = 10
			modifier = {
				factor = 10
				or = {
					tag = ISR
					tag = SAU
				}
			}
		}
	}	
	option = { #KEEP JCPOA
		name = USA_JCPOA.1.b
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.1.b executed"
		country_event = { id = USA_JCPOA.3 days = 3 }
		ai_chance = {
			base = 10
			modifier = {
				factor = 10
				or = {
					tag = FRA
					tag = ENG
					tag = GER
				}
			}
		}
	}	
	option = { #No ty
		name = USA_JCPOA.1.c
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.1.c executed"
		ai_chance = {
			base = 0
		}
	}	
	
	
}
#spend 0, 50, 150, 250, 500 pp to lobby US to end JCPOA
country_event = {
	id = USA_JCPOA.2
	title = USA_JCPOA.2.t
	desc = USA_JCPOA.2.d
	
	#hidden = yes
	is_triggered_only = yes
	
	option = { #50 pp
		name = USA_JCPOA.2.b
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.2.b executed"
		hidden_effect = { USA = { modify_country_flag = { flag = USA_JCPOA_Lobbying value = 50 } } }
		add_political_power = -50
	}	
	option = { #150 pp
		name = USA_JCPOA.2.c
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.2.c executed"
		hidden_effect = { USA = { modify_country_flag = { flag = USA_JCPOA_Lobbying value = 150 } } }
		add_political_power = -150
		ai_chance = {
			base = 10
			modifier = {
				factor = 10
				tag = SAU
			}
		}
	}	
	option = { #250 pp
		name = USA_JCPOA.2.dd
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.2.dd executed"
		hidden_effect = { USA = { modify_country_flag = { flag = USA_JCPOA_Lobbying value = 250 } } }
		add_political_power = -250
		
	}	
	option = { #500 pp
		name = USA_JCPOA.2.e
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.2.e executed"
		hidden_effect = { USA = { modify_country_flag = { flag = USA_JCPOA_Lobbying value = 500 } } }
		add_political_power = -500
		ai_chance = {
			base = 10
			modifier = {
				factor = 10
				tag = ISR
			}
		}
	}	
}
#spend 0, 50, 150, 250, 500 pp to lobby US to keep JCPOA
country_event = {
	id = USA_JCPOA.3
	title = USA_JCPOA.3.t
	desc = USA_JCPOA.3.d
	
	#hidden = yes
	is_triggered_only = yes
	
	option = { #50 pp
		name = USA_JCPOA.3.b
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.3.b executed"
		hidden_effect = { USA = { modify_country_flag = { flag = USA_JCPOA_Lobbying value = -50 } } }
		add_political_power = -50
	}	
	option = { #150 pp
		name = USA_JCPOA.3.c
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.3.c executed"
		hidden_effect = { USA = { modify_country_flag = { flag = USA_JCPOA_Lobbying value = -150 } } }
		add_political_power = -150
		ai_chance = {
			base = 10
			modifier = {
				factor = 10
				or = {
					tag = FRA
					tag = ENG
					tag = GER
				}
			}
		}
	}	
	option = { #250 pp
		name = USA_JCPOA.3.dd
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.3.dd executed"
		hidden_effect = { USA = { modify_country_flag = { flag = USA_JCPOA_Lobbying value = -250 } } }
		add_political_power = -250
	}	
	option = { #500 pp
		name = USA_JCPOA.3.e
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.3.e executed"
		hidden_effect = { USA = { modify_country_flag = { flag = USA_JCPOA_Lobbying value = -500 } } }
		add_political_power = -500
	}	
}
#US Response, pick the most lobbied for response or loose PP equvalent to pp spent by (winning lobbyist - lossing lobyist e.g 1000 - 400 = 600)
country_event = {
	id = USA_JCPOA.4
	title = USA_JCPOA.4.t
	desc = USA_JCPOA.4.d
	
	#hidden = yes
	is_triggered_only = yes
	
	option = { #Remove JCPOA
		name = USA_JCPOA.4.a
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.4.a executed"
		PER = {
			add_opinion_modifier = { target = USA modifier = USA_LEFT_JCPOA }
		}
		if = {
			limit = { has_country_flag = { flag = USA_JCPOA_Lobbying value < 0 } }
			scripted_usa_jcpoa_pp = yes
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 10
				has_country_flag = { flag = USA_JCPOA_Lobbying value > 0 }
			}
		}
	}
	option = { #Keep JCPOA
		name = USA_JCPOA.4.b
		log = "[GetDateText]: [This.GetName]: USA_JCPOA.4.b executed"
		if = {
			limit = { has_country_flag = { flag = USA_JCPOA_Lobbying value > 0 } }
			scripted_usa_jcpoa_pp = yes
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 10
				has_country_flag = { flag = USA_JCPOA_Lobbying value < 0 }
			}
		}
	}
}

#Syria Strike
country_event = {
	id = USA_FOCUS.9
	title = USA_FOCUS.9.t
	desc = USA_FOCUS.9.d
	
	#hidden = yes
	fire_only_once = yes
	#major = yes
	is_triggered_only = yes

	option = { #Yes
		name = USA_FOCUS.9.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.9.a executed"
		add_political_power = 25
		add_popularity = { ideology = nationalist popularity = -0.025 } #Pissed off nationalist who wanted withdrawal from ME
		SOV = { add_opinion_modifier = { target = USA modifier = USA_Shayrat_missile_strike } }
		PER = { add_opinion_modifier = { target = USA modifier = USA_Shayrat_missile_strike } }
		SYR = { add_opinion_modifier = { target = USA modifier = USA_Shayrat_missile_strike } }
		186 = { damage_building = { type = air_base damage = 1.2 } }
		news_event = { id = USA_FOCUS.10 } # US Strikes syria
		ai_chance = { factor = 50 }
	}
	
	option = { #No
		name = USA_FOCUS.9.b
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.9.b executed"
		ai_chance = { factor = 50 }
	}
	
}
news_event = {
	id = USA_FOCUS.10
	title = USA_FOCUS.10.t
	desc = USA_FOCUS.10.d
	picture = GFX_USA_syria_missile_strike
	
	#hidden = yes
	#fire_only_once = yes
	major = yes
	is_triggered_only = yes

	option = { #Yes
		name = USA_FOCUS.10.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.10.a executed"
	}
	
}
#Arm Rojova
country_event = {
	id = USA_FOCUS.11
	title = USA_FOCUS.11.t
	desc = USA_FOCUS.11.d
	
	#hidden = yes
	fire_only_once = yes
	#major = yes
	is_triggered_only = yes

	option = { #Yes
		name = USA_FOCUS.11.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.11.a executed"
		ROJ = {
			add_equipment_to_stockpile = { type = infantry_weapons3 amount = 2500 producer = USA }
			add_equipment_to_stockpile = { type = util_vehicle_4 amount = 100 producer = USA }
			add_equipment_to_stockpile = { type = Anti_tank_1 amount = 500 producer = USA }
			add_opinion_modifier = { target = USA modifier = USA_ROJ_ARMED }
		}
		TUR = {
			add_opinion_modifier = { target = USA modifier = USA_TUR_ARM_KURDS }
		}
		set_country_flag = USA_Armed_ROJ
		ai_chance = { factor = 50 }
	}
	
	option = { #No
		name = USA_FOCUS.11.b
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.11.b executed"
	}
	
}
#Decide to expand OEF or not
country_event = {
	id = USA_Expand_OEF.0
	title = USA_Expand_OEF.0.t
	desc = USA_Expand_OEF.0.d
	
	#hidden = yes
	#major = yes
	is_triggered_only = yes

	option = { #Yes
		name = USA_Expand_OEF.0.a
		log = "[GetDateText]: [This.GetName]: USA_Expand_OEF.0.a executed"
		news_event = { id = USA_Expand_OEF.1 }
		every_country = {
			limit = {
				fascism > 0.20
				not = {
					has_idea = Enduring_Freedom
					has_idea = Inherent_Resolve
					has_idea = Resolute_Support_Mission
					has_idea = GCC_member
					tag = SYR
					tag = ISI
					tag = AQY
				}
			}
			country_event = { id = USA_Expand_OEF.2 }
		}
		add_ideas = Enduring_Freedom_Expansion
		ai_chance = { factor = 50 }
	}
	
	option = { #No
		name = USA_Expand_OEF.0.b
		log = "[GetDateText]: [This.GetName]: USA_Expand_OEF.0.b executed"
	}
	
}
#Trump Expands OEF
news_event = {
	id = USA_Expand_OEF.1
	title = USA_Expand_OEF.1.t
	desc = USA_Expand_OEF.1.d
	picture = GFX_USA_War_On_Terrorism
	
	major = yes
	is_triggered_only = yes
	
	option = { #ok
		name = USA_Expand_OEF.1.a
		log = "[GetDateText]: [This.GetName]: USA_Expand_OEF.1.a executed"
	}
	
}
#Accept/Decline trump offer for OEF expansion
country_event = {
	id = USA_Expand_OEF.2
	title = USA_Expand_OEF.2.t
	desc = USA_Expand_OEF.2.d
	
	#hidden = yes
	is_triggered_only = yes
	
	trigger = {
		#any country has civil war not facist
	}
	
	option = { #Yes
		name = USA_Expand_OEF.2.a
		log = "[GetDateText]: [This.GetName]: USA_Expand_OEF.2.a executed"
		add_ideas = Enduring_Freedom
		add_stability = -0.05
		ai_chance = { factor = 50 }
	}
	
	option = { #No
		name = USA_Expand_OEF.2.b
		log = "[GetDateText]: [This.GetName]: USA_Expand_OEF.2.b executed"
	}
	
}
#Start of Russia investigation
news_event = {
	id = USA_Russia_Investigation.0
	title = USA_Russia_Investigation.0.t
	desc = USA_Russia_Investigation.0.d
	picture = GFX_Start_Russia_Investigation
	
	major = yes
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #ok
		name = USA_Russia_Investigation.0.a
		log = "[GetDateText]: [This.GetName]: USA_Russia_Investigation.0.a executed"
		if = {
			limit = { original_tag = USA }
			set_global_flag = USA_Start_Russia_Investigation
			unlock_national_focus = USA_RUSSIA_INVESTIGATION
			hidden_effect = { add_ideas = usa_russia_investigation relative_change_neg_12 = yes }
		}
		
	}
	
	
}

#US Request To Purchase Kuwait Naval Base
country_event = {
	id = USA_Purchase_Bases_ME.0
	title = USA_Purchase_Bases_ME.0.t
	desc = USA_Purchase_Bases_ME.0.d
	
	is_triggered_only = yes
	
	
	option = { #Yes
		name = USA_Purchase_Bases_ME.0.a
		log = "[GetDateText]: [This.GetName]: USA_Purchase_Bases_ME.0.a executed"
		KUW = { country_event = { id = USA_Purchase_Bases_ME.1 days = 1 } }
		ai_chance = { factor = 50 }
	}
	
	option = { #No
		name = USA_Purchase_Bases_ME.0.b
		log = "[GetDateText]: [This.GetName]: USA_Purchase_Bases_ME.0.b executed"
		country_event = { id = USA_Purchase_Bases_ME.3 }
	}
	
}
#Kuwait accept/decline US request
country_event = {
	id = USA_Purchase_Bases_ME.1
	title = USA_Purchase_Bases_ME.1.t
	desc = USA_Purchase_Bases_ME.1.d
	
	#hidden = yes
	is_triggered_only = yes
	
	trigger = {
		#any country has civil war not facist
	}
	
	option = { #Yes
		name = USA_Purchase_Bases_ME.1.a
		log = "[GetDateText]: [This.GetName]: USA_Purchase_Bases_ME.1.a executed"
		set_country_flag = Sell_base_to_US
		effect_tooltip = { USA = { transfer_state = 488 } }
		hidden_effect = {
			news_event = { id = USA_Purchase_Bases_ME.2 }
			USA = { news_event = { id = USA_Purchase_Bases_ME.2 } }
		}
		ai_chance = { factor = 50 }
	}
	
	option = { #No
		name = USA_Purchase_Bases_ME.1.b
		log = "[GetDateText]: [This.GetName]: USA_Purchase_Bases_ME.1.b executed"
		news_event = { id = USA_Purchase_Bases_ME.2 }
		USA = { news_event = { id = USA_Purchase_Bases_ME.2 } }
		ai_chance = {
			factor = 10 
			modifier = {
				factor = 20
				is_puppet = yes
			
			}
			modifier = {
				factor = 20
				is_in_faction = yes
			}
			modifier = {
				factor = 20
				has_opinion = { target = USA value < 76 }
			}
			
		}
	}
	
}
#News event for kuwait accepting/declining
news_event = {
	id = USA_Purchase_Bases_ME.2
	title = USA_Purchase_Bases_ME.2.t
	desc = USA_Purchase_Bases_ME.2.d
	picture = GFX_kuwait_naval_base
	
	#hidden = yes
	is_triggered_only = yes
	#major = yes
	
	trigger = {
		#any country has civil war not facist
	}
	
	option = { #Kuwait sold it
		name = USA_Purchase_Bases_ME.2.a
		log = "[GetDateText]: [This.GetName]: USA_Purchase_Bases_ME.2.a executed"
		trigger = { KUW = { has_country_flag = Sell_base_to_US } }
		if = {
			limit = { original_tag = USA }
			USA = { transfer_state = 488 }
			country_event = { id = USA_Purchase_Bases_ME.6 }
		}
		goto_province = 14619
	}
	
	option = { #Kuwait didnt sell it
		name = USA_Purchase_Bases_ME.2.b
		log = "[GetDateText]: [This.GetName]: USA_Purchase_Bases_ME.2.b executed"
		trigger = { KUW = { not = { has_country_flag = Sell_base_to_US } } }
		if = {
			limit = { original_tag = USA }
			country_event = { id = USA_Purchase_Bases_ME.6 }
		}
	}
	
}

#US Request To Purchase RAFO Masriah
country_event = {
	id = USA_Purchase_Bases_ME.6
	title = USA_Purchase_Bases_ME.6.t
	desc = USA_Purchase_Bases_ME.6.d
	
	is_triggered_only = yes
	
	
	option = { #Yes
		name = USA_Purchase_Bases_ME.6.a
		log = "[GetDateText]: [This.GetName]: USA_Purchase_Bases_ME.6.a executed"
		OMA = { country_event = { id = USA_Purchase_Bases_ME.7 days = 1 } }
		ai_chance = { factor = 50 }
	}
	
	option = { #No
		name = USA_Purchase_Bases_ME.6.b
		log = "[GetDateText]: [This.GetName]: USA_Purchase_Bases_ME.6.b executed"
	}
	
}
#Jebel Ali Harbour accept/decline US request
country_event = {
	id = USA_Purchase_Bases_ME.7
	title = USA_Purchase_Bases_ME.7.t
	desc = USA_Purchase_Bases_ME.7.d
	
	#hidden = yes
	is_triggered_only = yes
	
	trigger = {
		#any country has civil war not facist
	}
	
	option = { #Yes
		name = USA_Purchase_Bases_ME.7.a
		log = "[GetDateText]: [This.GetName]: USA_Purchase_Bases_ME.7.a executed"
		set_country_flag = Sell_base_to_US
		hidden_effect = {
			news_event = { id = USA_Purchase_Bases_ME.8 }
			USA = { news_event = { id = USA_Purchase_Bases_ME.8 } }
		}
		effect_tooltip = { USA = { transfer_state = 486 } }
		ai_chance = { factor = 50 }
	}
	
	option = { #No
		name = USA_Purchase_Bases_ME.7.b
		log = "[GetDateText]: [This.GetName]: USA_Purchase_Bases_ME.7.b executed"
		news_event = { id = USA_Purchase_Bases_ME.8 }
		USA = { news_event = { id = USA_Purchase_Bases_ME.8 } }
		ai_chance = {
			factor = 10 
			modifier = {
				factor = 20
				is_puppet = yes
			
			}
			modifier = {
				factor = 20
				is_in_faction = yes
			}
			modifier = {
				factor = 20
				has_opinion = { target = USA value < 76 }
			}
			
		}
	}
	
}
#News event for OMA accepting/declining
news_event = {
	id = USA_Purchase_Bases_ME.8
	title = USA_Purchase_Bases_ME.8.t
	desc = USA_Purchase_Bases_ME.8.d
	picture = GFX_RAFO_Masriah
	
	#hidden = yes
	is_triggered_only = yes
	#major = yes
	
	trigger = {
		#any country has civil war not facist
	}
	
	option = { #Kuwait sold it
		name = USA_Purchase_Bases_ME.8.a
		log = "[GetDateText]: [This.GetName]: USA_Purchase_Bases_ME.8.a executed"
		trigger = { OMA = { has_country_flag = Sell_base_to_US } }
		if = {
			limit = { original_tag = USA }
			USA = { transfer_state = 486 }
		}
		goto_province = 14620
	}
	
	option = { #Kuwait didnt sell it
		name = USA_Purchase_Bases_ME.8.b
		log = "[GetDateText]: [This.GetName]: USA_Purchase_Bases_ME.8.b executed"
		trigger = { OMA = { not = { has_country_flag = Sell_base_to_US } } }
		if = {
			limit = { original_tag = USA }
		}
	}
	
}
