add_namespace = usa
add_namespace = USA_utah_war
add_namespace = usa_news

###############################################
# Bookmark Introductions to the United States #
###############################################
# 1857 — Divided States of America
country_event = {
	id = usa.249
	title = usa.249.t
	desc = usa.249.d
	picture = GFX_report_event_usa_election_generic

	is_triggered_only = yes
	
	option = {
            name = usa.249.a
            trigger = { is_ai = no }
            country_event = usa.250
	}
	option = {
            name = usa.249.b
            trigger = { is_ai = no }
            country_event = usa.251
	}
	option = {
             name = usa.249.c
             trigger = { is_ai = no }
             country_event = usa.252
	}
	option = {
		name = usa.249.e
		add_political_power = -5
		hidden_effect = {
			360 = { OWNER = { country_event = { id = usa.342 days = 300 random_days = 100 } } }
		}
	}
}
country_event = {
	id = usa.250 # Seminole War
	title = usa.250.t
	desc = usa.250.d

	is_triggered_only = yes
	
	option = {
            name = usa.250.a
            trigger = { is_ai = no }
            country_event = usa.249
	}
}
country_event = {
	id = usa.251 # Slavery Debate
	title = usa.251.t
	desc = usa.251.d

	is_triggered_only = yes
	
	option = {
            name = usa.251.a
            trigger = { is_ai = no }
            country_event = usa.249
	}
}
country_event = {
	id = usa.252 # Mormons
	title = usa.252.t
	desc = usa.252.d

	is_triggered_only = yes
	
	option = {
            name = usa.252.a
            trigger = { is_ai = no }
            country_event = usa.249
	}
}
# 1870 — A Nation Rebuilding
country_event = {
	id = usa.253
	title = usa.253.t
	desc = usa.253.d
	picture = GFX_report_event_usa_election_generic

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = usa.249.a
		add_political_power = -5
	}
}

country_event = {
	id = usa.254
	title = usa.254.t
	desc = usa.254.d
	picture = GFX_report_event_usa_election_generic

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = usa.254.a
		add_political_power = -5
	}
}



####################### Worker Events ##########################

#####################################
# 1860 New England Shoemaker Strike #
#####################################
country_event = { #New England Shoemakers Cut Wages
	id = usa.279
	title = usa.279.t
	desc = usa.279.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.279.a
	}
}
state_event = { #1860
	id = usa.280
	hidden = yes
	
	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		OWNER = { country_event = { id = usa.281 } }
	}
}
country_event = { #Mechanics Association Formed
	id = usa.281
	title = usa.281.t
	desc = usa.281.d

	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = { 
		hidden_effect = { 
			news_event = { id = usa.282 days = 7 } 
			news_event = { id = usa.283 days = 170 }
		} 
	}

	option = {
		name = usa.286.a
		add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
		#worker organization increase
	}
	option = {
		name = usa.286.b
		trigger = { has_political_power > 0 }
		add_political_power = -50
		add_popularity = { ideology = social_egalitarianism popularity = 0.03 }
		#worker organization increase
	}
}
news_event = { #Shoemaker Strike Begins
	id = usa.282
	title = usa.282.t
	desc = usa.282.d
	show_major = {
		if = {
			limit = { USA = { exists = yes } }
			TAG = USA
			is_subject_of = USA
		}
		else = {
			NA_B_is_american_allowed = yes
		}
	}
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.282.a
		trigger = { 
			OR = { 
				owns_state = 357
				owns_state = 960
			}
		}
		add_stability = -0.01
	}
	
	option = {
		name = usa.282.b
		trigger = { 
			NOT = {
				owns_state = 357
				owns_state = 960
			}
		}
	}
}
news_event = { #Shoemaker Strike Ends
	id = usa.283
	title = usa.283.t
	desc = usa.283.d
	show_major = {
		if = {
			limit = { USA = { exists = yes } }
			TAG = USA
			is_subject_of = USA
		}
		else = {
			NA_B_is_american_allowed = yes
		}
	}
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.283.a
	}
}


####################### Western Expansion Events ##########################

###############################
# 1858 — Pikes Peak Gold Rush #
###############################
state_event = {
	id = usa.284
	hidden = yes
	
	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		if = {
			limit = { OWNER = {  } }
			OWNER = { country_event = { id = usa.286 days = 7 } }
			if = { 
				limit = { USA = { exists = yes } }
				OWNER = { news_event = { id = usa.285 } }
			}
		}
		else = { 
			OWNER = { news_event = { id = usa.285 } }
		}
	}
}
news_event = { #Non-Native
	id = usa.285
	title = usa.285.t
	desc = usa.285.d
	show_major = {
		if = {
			limit = { USA = { exists = yes } }
			TAG = USA
			is_subject_of = USA
		}
		else = {
			NA_B_is_american_allowed = yes
		}
	}
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.285.a
		if = {
			limit = { TAG = USA }
			complete_national_focus = USA_FN_pike_peak_gold_rush
		}
	}
}
country_event = { #Native
	id = usa.286
	title = usa.286.t
	desc = usa.286.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.286.a
	}
}



### Firearm Manufacturers Move to Private Sector ###
country_event = { #Triggers after Seminole War is over
	id = usa.287
	title = usa.287.t
	desc = usa.287.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.287.a
		complete_national_focus = USA_FN_arms_from_the_private_sector
	}
}

#####################################
### The Iron Horse Reaches Kansas ###
#####################################
state_event = {
	id = usa.288
	hidden = yes

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		OWNER = { 
			news_event = { id = usa.289 } 
			every_country = {
				limit = {  }
				country_event = { id = usa.290 days = 7 }
			}
		}
	}
}
news_event = { #US - The Iron Horse Reaches Kansas
	id = usa.289
	title = usa.289.t
	desc = usa.289.d
	show_major = {
		if = {
			limit = { USA = { exists = yes } }
			TAG = USA
			is_subject_of = USA
		}
		else = {
			NA_B_is_american_allowed = yes
		}
		
	}
	
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.289.a
		if = {
			limit = { TAG = USA }
			complete_national_focus = USA_FN_growing_rail_industry
		}
	}
}
country_event = { #Natives Informed of Railway Expansion
	id = usa.290
	title = usa.290.t
	desc = usa.290.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.290.a
	}
}
#########################################
### Birth of Commercial Bison Hunting ###
#########################################
country_event = { 
	id = usa.291
	title = usa.291.t
	desc = usa.291.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.291.a
		complete_national_focus = USA_FN_the_growing_bison_industry
	}
}
#Natives Informed on Commercial Bison Hunting
country_event = { 
	id = usa.292
	title = usa.292.t
	desc = usa.292.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.292.a
		
	}
}
#Bans Bison Hunting on Native Reservations Focus
country_event = { 
	id = usa.293
	title = usa.293.t
	desc = usa.293.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.293.a
		
	}
}
#Promotes Bison Hunting Focus
country_event = { 
	id = usa.294
	title = usa.294.t
	desc = usa.294.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.294.a
		
	}
}

#################################
### Rumors of the Breadbasket ###
#################################
state_event = {
	id = usa.295
	hidden = yes

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		OWNER = { 
			news_event = { id = usa.296 } 
			every_country = {
				limit = {  }
				country_event = { id = usa.297 days = 7 }
			}
		}
	}
}
news_event = { #US - Agricultural Breakthrough
	id = usa.296
	title = usa.296.t
	desc = usa.296.d
	show_major = {
		if = {
			limit = { USA = { exists = yes } }
			TAG = USA
			is_subject_of = USA
			if = { 
				limit = { CSA = { exists = yes } }
				TAG = CSA
			}
		}
		else = {
			NA_B_is_american_allowed = yes
		}
		
	}
	
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.296.a
		if = {
			limit = { TAG = USA }
			complete_national_focus = USA_FN_americas_breadbasket
		}
	}
}
country_event = { #Natives Informed of More Settlers Lately
	id = usa.297
	title = usa.297.t
	desc = usa.297.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.297.a
	}
}

#################################
### Orofino Creek Gold Rush ###
#################################
state_event = {
	id = usa.298
	hidden = yes

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		OWNER = { 
			news_event = { id = usa.299 } 
			every_country = {
				limit = {  }
				country_event = { id = usa.300 days = 7 }
			}
		}
	}
}
news_event = { #US - Agricultural Breakthrough
	id = usa.299
	title = usa.299.t
	desc = usa.299.d
	show_major = {
		if = {
			limit = { USA = { exists = yes } }
			TAG = USA
			is_subject_of = USA
			if = { 
				limit = { CSA = { exists = yes } }
				TAG = CSA
			}
		}
		else = {
			NA_B_is_american_allowed = yes
		}
		
	}
	
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.299.a
		if = {
			limit = { TAG = USA }
			complete_national_focus = USA_FN_orofino_creek_gold_rush
		}
	}
}
country_event = { #Natives Informed of More Settlers Lately
	id = usa.300
	title = usa.300.t
	desc = usa.300.d

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.300.a
	}
}

############################### 
### Legacy of Isaac Stevens ###
###############################
country_event = { 
	id = usa.301
	title = usa.301.t
	desc = usa.301.d
	picture = GFX_report_event_usa_election_generic

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.301.a
		trigger = { NOT = { TAG = NEZ } }
	}
	option = {
		name = usa.301.b
		trigger = { TAG = NEZ }
	}
}


####################### Panic of 1857 ##########################

# Panic of 1857 2
#country_event = {
#	id = usa.302
#	title = usa.302.t
#	desc = usa.302.d
#	picture = GFX_report_event_generic_rally2
#
#	fire_only_once = yes
#
#	is_triggered_only = yes
#
#	option = {
#		name = usa.302.a
#		random_owned_controlled_state = {
#			limit = {
#				industrial_complex > 0
#				is_core_of = USA
#
#			}
#			remove_building = {
#				type = industrial_complex
#				level = 1
#			}
#			add_building_construction = {
#				type = industrial_complex_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				industrial_complex > 0
#				is_core_of = USA
#
#			}
#			remove_building = {
#				type = industrial_complex
#				level = 1
#			}
#			add_building_construction = {
#				type = industrial_complex_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				infrastructure > 0
#			}
#			remove_building = {
#				type = infrastructure
#				level = 1
#			}
#			add_building_construction = {
#				type = infrastructure_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#	}
#}

# Panic of 1857 3
#country_event = {
#	id = usa.303
#	title = usa.303.t
#	desc = usa.303.d
#	picture = GFX_report_event_generic_rally2
#
#	fire_only_once = yes
#
#	is_triggered_only = yes
#
#	option = {
#		name = usa.303.a
#		random_owned_controlled_state = {
#			limit = {
#				industrial_complex > 0
#				is_core_of = USA
#
#			}
#			remove_building = {
#				type = industrial_complex
#				level = 1
#			}
#			add_building_construction = {
#				type = industrial_complex_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				industrial_complex > 0
#				is_core_of = USA
#
#			}
#			remove_building = {
#				type = industrial_complex
#				level = 1
#			}
#			add_building_construction = {
#				type = industrial_complex_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				infrastructure > 0
#			}
#			remove_building = {
#				type = infrastructure
#				level = 1
#			}
#			add_building_construction = {
#				type = infrastructure_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				infrastructure > 0
#			}
#			remove_building = {
#				type = infrastructure
#				level = 1
#			}
#			add_building_construction = {
#				type = infrastructure_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				infrastructure > 0
#			}
#			remove_building = {
#				type = infrastructure
#				level = 1
#			}
#			add_building_construction = {
#				type = infrastructure_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#	}
#}

# Panic of 1857 4
#country_event = {
#	id = usa.304
#	title = usa.304.t
#	desc = usa.304.d
#	picture = GFX_report_event_generic_rally2
#
#	fire_only_once = yes
#
#	is_triggered_only = yes
#
#	option = {
#		name = usa.304.a
#		random_owned_controlled_state = {
#			limit = {
#				industrial_complex > 0
#				is_core_of = USA
#
#			}
#			remove_building = {
#				type = industrial_complex
#				level = 1
#			}
#			add_building_construction = {
#				type = industrial_complex_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				industrial_complex > 0
#				is_core_of = USA
#
#			}
#			remove_building = {
#				type = industrial_complex
#				level = 1
#			}
#			add_building_construction = {
#				type = industrial_complex_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				arms_factory > 0
#				is_core_of = USA
#
#			}
#			remove_building = {
#				type = arms_factory
#				level = 1
#			}
#			add_building_construction = {
#				type = arms_factory_inactive
#				level = 1
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				infrastructure > 0
#			}
#			remove_building = {
#				type = infrastructure
#				level = 1
#			}
#			add_building_construction = {
#				type = infrastructure_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				infrastructure > 0
#			}
#			remove_building = {
#				type = infrastructure
#				level = 1
#			}
#			add_building_construction = {
#				type = infrastructure_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#	}
#}

# Panic of 1857 5
#country_event = {
#	id = usa.305
#	title = usa.305.t
#	desc = usa.305.d
#	picture = GFX_report_event_generic_rally2
#
#	fire_only_once = yes
#
#	is_triggered_only = yes
#
#	option = {
#		name = usa.305.a
#		random_owned_controlled_state = {
#			limit = {
#				industrial_complex > 0
#				is_core_of = USA
#
#			}
#			remove_building = {
#				type = industrial_complex
#				level = 1
#			}
#			add_building_construction = {
#				type = industrial_complex_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				industrial_complex > 0
#				is_core_of = USA
#
#			}
#			remove_building = {
#				type = industrial_complex
#				level = 1
#			}
#			add_building_construction = {
#				type = industrial_complex_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				infrastructure > 0
#			}
#			remove_building = {
#				type = infrastructure
#				level = 1
#			}
#			add_building_construction = {
#				type = infrastructure_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				infrastructure > 0
#			}
#			remove_building = {
#				type = infrastructure
#				level = 1
#			}
#			add_building_construction = {
#				type = infrastructure_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {
#			limit = {
#				infrastructure > 0
#			}
#			remove_building = {
#				type = infrastructure
#				level = 1
#			}
#			add_building_construction = {
#				type = infrastructure_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#	}
#}

# Panic of 1857 6
#country_event = {
#	id = usa.306
#	title = usa.306.t
#	desc = usa.306.d
#	picture = GFX_report_event_generic_rally2
#
#	fire_only_once = yes
#
#	is_triggered_only = yes
#
#	option = {
#		name = usa.306.a
#		random_owned_controlled_state = {
#			limit = {
#				industrial_complex > 0
#				is_core_of = USA
#
#			}
#			remove_building = {
#				type = industrial_complex
#				level = 1
#			}
#			add_building_construction = {
#				type = industrial_complex_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#		random_owned_controlled_state = {	
#			limit = {
#				infrastructure > 0
#			}
#			remove_building = {
#				type = infrastructure
#				level = 1
#			}
#			add_building_construction = {
#				type = infrastructure_inactive
#				level = 1
#				instant_build = yes
#			}
#		}
#	}
#}

# Panic of 1857 7
country_event = {
	id = usa.307
	title = usa.307.t
	desc = usa.307.d
	picture = GFX_report_event_generic_rally2

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = usa.307.a
		remove_ideas = USA_1857Panic5
		set_country_flag = USA_panic_recovery_flag
		hidden_effect = {
			clr_country_flag = na_b_monthly_economic_panic_countdown_flag
			if = {
				limit = { has_country_flag = na_b_economic_panic_industry_bankruptcy_protections_flag }
				clr_country_flag = na_b_economic_panic_industry_bankruptcy_protections_flag
			}
		}
		if = {
			limit = { has_country_flag = na_b_economic_panic_temporary_tax_relief_flag }
			custom_effect_tooltip = na_b_economic_panic_temporary_tax_relief_tooltip
			if = { 
				limit = { has_idea = taxation_level_1 }
				swap_ideas = {
					remove_idea = taxation_level_1
					add_idea = taxation_level_2
				}
			}
			else_if = { 
				limit = { has_idea = taxation_level_2 }
				swap_ideas = {
					remove_idea = taxation_level_2
					add_idea = taxation_level_3
				}
			}
			else_if = { 
				limit = { has_idea = taxation_level_3 }
				swap_ideas = {
					remove_idea = taxation_level_3
					add_idea = taxation_level_4
				}
			}
			else_if = { 
				limit = { has_idea = taxation_level_4 }
				swap_ideas = {
					remove_idea = taxation_level_4
					add_idea = taxation_level_5
				}
			}
			clr_country_flag = na_b_economic_panic_temporary_tax_relief_flag
		}
	}
}

#################### Utah/Mormon War #######################################################################################################

#Preperations for Utah War#
country_event = {
	id = USA_utah_war.1
	title = USA_utah_war.1.t
	desc = USA_utah_war.1.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
 		name = USA_utah_war.1.a
		hidden_effect = {
			country_event = { id = USA_utah_war.2 days = 14 }
			UTA = {
				country_event = { id = UTA.1 days = 6 }
			}
 		}
	}
}
#Alfred Cumming chosen#
country_event = {
	id = USA_utah_war.2
	title = USA_utah_war.2.t
	desc = USA_utah_war.2.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.2.a
	}
}
#Mountain Meadow Massacre#
country_event = {
 	id = USA_utah_war.3
 	title = USA_utah_war.3.t
 	desc = USA_utah_war.3.d

 	is_triggered_only = yes
 	fire_only_once = yes

 	option = {
		name = USA_utah_war.3.a
		add_manpower = -140
		hidden_effect = {
				country_event = { id = USA_utah_war.5 days = 24 }
		}
	}
}
#Mountain Meadow Massacre Avoided#
country_event = {
	id = USA_utah_war.4
	title = USA_utah_war.4.t
	desc = USA_utah_war.4.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.4.a
	}
}
#Ambush#
country_event = {
	id = USA_utah_war.5
	title = USA_utah_war.5.t
	desc = USA_utah_war.5.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.5.a
		hidden_effect = {
			country_event = { id = USA_utah_war.6 days = 10 }
		}
	}
}
#Donkey Battle#
country_event = {
	id = USA_utah_war.6
	title = USA_utah_war.6.t
	desc = USA_utah_war.6.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.6.a
		hidden_effect = {
				country_event = { id = USA_utah_war.7 days = 19 }
		}
	}
}
#Johnston catches up#
country_event = {
	id = USA_utah_war.7
	title = USA_utah_war.7.t
	desc = USA_utah_war.7.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.7.a
		hidden_effect = {
			country_event = { id = USA_utah_war.8 days = 17 }
		}
	}
}
#Newspapers spread Hysteria#
country_event = {
	id = USA_utah_war.8
	title = USA_utah_war.8.t
	desc = USA_utah_war.8.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.8.a
		hidden_effect = {
			country_event = { id = USA_utah_war.9 days = 1 }
		}
	}
}
#Cumming declares state of rebellion#
country_event = {
	id = USA_utah_war.9
	title = USA_utah_war.9.t
	desc = USA_utah_war.9.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.9.a
		hidden_effect = {
			country_event = { id = USA_utah_war.10 days = 14 }
		}
	}
}
#Thomas L. Kane contacts Buchanan#
country_event = {
	id = USA_utah_war.10
	title = USA_utah_war.10.t
	desc = USA_utah_war.10.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.10.a
		hidden_effect = {
			country_event = { id = USA_utah_war.11 days = 24 }
		}
	}
}
#Russia Negotiations start#
country_event = {
	id = USA_utah_war.11
	title = USA_utah_war.11.t
	desc = USA_utah_war.11.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.11.a
		custom_effect_tooltip = work_in_progress
		hidden_effect = {
			country_event = { id = USA_utah_war.12 days = 7 }
		}
	}
	option = {
		name = USA_utah_war.11.b
		custom_effect_tooltip = historical_option
		hidden_effect = {
			country_event = { id = USA_utah_war.12 days = 7 }
		}
	}
}
#Advance up the Colorado River#
country_event = {
	id = USA_utah_war.12
	title = USA_utah_war.12.t
	desc = USA_utah_war.12.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.12.a
		hidden_effect = {
			country_event = { id = USA_utah_war.13 days = 60 }
		}
	}
}
#Kane returns#
country_event = {
	id = USA_utah_war.13
	title = USA_utah_war.13.t
	desc = USA_utah_war.13.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.13.a
		hidden_effect = {
			country_event = { id = USA_utah_war.14 days = 14 }
		}
	}
}
#Ives and Hamblin meet#
country_event = {
	id = USA_utah_war.14
	title = USA_utah_war.14.t
	desc = USA_utah_war.14.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.14.a
		hidden_effect = {
			country_event = { id = USA_utah_war.15 days = 17 }
		}
	}
}
#Buchanan Proclamation#
country_event = {
	id = USA_utah_war.15
	title = USA_utah_war.15.t
	desc = USA_utah_war.15.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.15.a
		hidden_effect = {
			country_event = { id = USA_utah_war.16 days = 6 }
		}
	}
}
#Cumming instated#
country_event = {
	id = USA_utah_war.16
	title = USA_utah_war.16.t
	desc = USA_utah_war.16.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.16.a
		hidden_effect = {
			country_event = { id = USA_utah_war.17 days = 37 }
			UTA = {
				retire_country_leader = yes
				set_politics = {
					ruling_party = traditional_conservatism
					elections_allowed = no
					long_name = USA_democrat_party_long
					name = USA_democrat_party
				}
				UTA_character_alfred_cumming = {
					add_country_leader_role = {
						promote_leader = yes
						country_leader = {
							ideology = conserv
							desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
							expire = "1873.10.9"
						}
					}
				}
			}
		}
	}
}
#Peaceful Ending#
country_event = {
	id = USA_utah_war.17
	title = USA_utah_war.17.t
	desc = USA_utah_war.17.d

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_utah_war.17.a
		remove_ideas = USA_UtahWar

	}
}
#####################################################################################################################

###########Buchanan Foreign Policy####################################################################################



country_event = {
	id = usa.267
	title = usa.267.t
	desc = usa.267.d

	is_triggered_only = yes

	immediate = {
		USA_Buchanan_Cabinet_Modify = yes
	}

	option = {
		name = usa.267.a
	}
}

country_event = { # Congressional Elections (Put scripted effects for Congressional elections here)
	id = usa.268
	title = usa.268.t
	desc = usa.268.desc

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			compute_national_vote = yes
			country_event = {
				id = usa.268
				days = 730
			}
		}
	}

	option = {
		name = usa.268.a
	}
}

# #Election of 1860
# country_event = {
# 	id = usa.10
# 	title = usa.10.t
# 	desc = usa.10.d
# 	picture = GFX_report_event_election_vote

# 	fire_only_once = yes
# 	mean_time_to_happen = { days = -1 }

# 	trigger = {
# 		TAG = ASA
# 		date > 1861.11.5
# 		OR = {
# 			has_government = centrism
# 			has_government = traditional_conservatism
# 			has_government = radical_democracy
# 			has_government = social_egalitarianism
# 		}
# 	}

# 	option = { # Lincoln
# 		name = usa.10.a
# 		custom_effect_tooltip = 01_ACW_tt
# 		ai_chance = { factor = 60 }

# 		swap_ideas = {
# 			remove_ideas = american_slavery_tension_6
# 			add_ideas = american_slavery_3
# 		}
# 		add_popularity = {
# 			ideology = centrism
# 			popularity = 0.05
# 		}
# 		hidden_effect = {
# 			news_event { id = usa_news.3 }
# 			USA = {
# 				country_event = { days = 44 id = usa.11 }
# 				country_event = { days = 68 id = acw.1 }
# 				set_country_flag = USA_LincolnElected
# 				clr_country_flag = USASlavery_Debate
# 			}
# 		}
# 	}
# 	option = { # Beckenridge
# 		name = usa.10.b
# 		custom_effect_tooltip = 02_ACW_tt
# 		ai_chance = {
# 			factor = 20
# 			modifier = {
#       	factor = 0
#       	is_historical_focus_on = yes
#     	}
# 		}

# 		swap_ideas = {
# 			remove_ideas = american_slavery_tension_6
# 			add_ideas = american_slavery_3
# 		}
# 		add_popularity = {
# 			ideology = traditional_conservatism
# 			popularity = -0.05
# 		}
# 		add_popularity = {
# 			ideology = social_egalitarianism
# 			popularity = 0.05
# 		}
# 		hidden_effect = {
# 			news_event = { id = usa_news.4 }
# 			USA = {
# 				country_event = { days = 20 id = acw_beckenridge.1 }
# 				set_country_flag = USA_BreckinridgeElected
# 				clr_country_flag = USASlavery_Debate
# 			}
# 		}
# 	}
# 	option = { # Douglas
# 		name = usa.10.c
# 		custom_effect_tooltip = 05_ACW_tt
# 		ai_chance = {
# 			factor = 5
# 			modifier = {
#       	factor = 0
#       	is_historical_focus_on = yes
#     	}
# 		}
# 		swap_ideas = {
# 			remove_ideas = american_slavery_tension_6
# 			add_ideas = american_slavery_3
# 		}
# 		hidden_effect = {
# 			news_event = { id = usa_news.5 }
# 			USA = {
# 				country_event = { days = 55 id = usa.12 }
# 				country_event = { days = 720 id = usa_national_guard_unlock.1 }
# 				set_country_flag = USA_DouglasElected
# 				clr_country_flag = USASlavery_Debate
# 			}
# 			ASA = {
# 				country_event = { days = 720 id = usa_national_guard_unlock.1 }
# 			}
# 		}
# 		add_popularity = {
# 			ideology = centrism
# 			popularity = 0.02
# 		}
# 		add_popularity = {
# 			ideology = traditional_conservatism
# 			popularity = -0.02
# 		}
# 		add_popularity = {
# 			ideology = social_egalitarianism
# 			popularity = 0.01
# 		}
# 	}
# 	option = { # Bell
# 		name = usa.10.e
# 		custom_effect_tooltip = 05_ACW_tt
# 		ai_chance = {
# 			factor = 15
# 			modifier = {
#       	factor = 0
#       	is_historical_focus_on = yes
#   		}
# 		}
# 		swap_ideas = {
# 			remove_ideas = american_slavery_tension_6
# 			add_ideas = american_slavery_3
# 		}
# 		add_popularity = {
# 			ideology = centrism
# 			popularity = -0.01
# 		}
# 		add_popularity = {
# 			ideology = traditional_conservatism
# 			popularity = -0.01
# 		}
# 		add_popularity = {
# 			ideology = social_egalitarianism
# 			popularity = 0.01
# 		}
# 		add_popularity = {
# 			ideology = radical_democracy
# 			popularity = 0.02
# 		}
# 		if = {
# 			limit = {
# 				NOT = {
# 					AND = {
# 						has_country_flag = USA_Civil_War_Avoid_Attempt_1
# 						has_country_flag = USA_Civil_War_Avoid_Attempt_2
# 						has_country_flag = USA_Civil_War_Avoid_Attempt_3
# 						has_country_flag = USA_Civil_War_Avoid_Attempt_4
# 						has_country_flag = USA_Civil_War_Avoid_Attempt_5
# 						has_country_flag = USA_Civil_War_Avoid_Attempt_6
# 						has_country_flag = USA_Civil_War_Avoid_Attempt_7
# 					}
# 				}
# 			}
# 			hidden_effect = { USA = { country_event = { days = 45 id = acw.1 } } }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_1 }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_2 }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_3 }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_4 }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_5 }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_6 }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_7 }
# 		}
# 		if = {
# 			limit = {
# 				AND = {
# 					has_country_flag = USA_Civil_War_Avoid_Attempt_1
# 					has_country_flag = USA_Civil_War_Avoid_Attempt_2
# 					has_country_flag = USA_Civil_War_Avoid_Attempt_3
# 					has_country_flag = USA_Civil_War_Avoid_Attempt_4
# 					has_country_flag = USA_Civil_War_Avoid_Attempt_5
# 					has_country_flag = USA_Civil_War_Avoid_Attempt_6
# 					has_country_flag = USA_Civil_War_Avoid_Attempt_7
# 				}
# 			}
# 			hidden_effect = { USA = { country_event = { days = 30 id = usa.15 } } }
# 			hidden_effect = { USA = { country_event = { days = 55 id = usa.13 } } }
# 			hidden_effect = {
# 				USA = {
# 					set_division_template_lock = {
# 						division_template = "National Guard"
# 						is_locked = no
# 					}
# 				}
# 			}
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_1 }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_2 }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_3 }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_4 }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_5 }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_6 }
# 			hidden_effect = { clr_country_flag = USA_Civil_War_Avoid_Attempt_7 }
# 		}
# 		hidden_effect = {
# 			news_event = { id = usa_news.24 }
# 			USA = {
# 				set_country_flag = USA_BellElected
# 				clr_country_flag = USASlavery_Debate
# 			}
# 		}
# 	}
# }

# Call Up to Arms
country_event = {
	id = usa.14
	title = usa.14.t
	desc = usa.14.d
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.14.a
		if = {
			limit = {
				has_country_flag = USA_Radical_Coup
			}
			load_oob = USA_CIVIL_WAR_RADICAL
			hidden_effect = {
				set_division_template_lock = {
					division_template = "Union Regimental"
					is_locked = yes
				}
			}
		}
		else = {
			load_oob = USA_CIVIL_WAR
			hidden_effect = {
				set_division_template_lock = {
					division_template = "Union Regimental"
					is_locked = yes
				}
			}
		}
	}
}

# Plead for Peace (Bell)
country_event = {
	id = usa.15
	title = usa.15.t
	desc = usa.15.d
	picture = GFX_report_event_worker_protests

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = usa.15.a
		hidden_effect = { USA = { country_event = { days = 10 id = usa.19 } } }
		ai_chance = { factor = 25 }
	}
	option = {
		name = usa.15.b
		hidden_effect = { USA = { country_event = { days = 10 id = usa.19 } } }
		ai_chance = {	factor = 25 }
	}
	option = {
		name = usa.15.c
		hidden_effect = { USA = { country_event = { days = 10 id = usa.16 } } }
		ai_chance = {	factor = 25 }
	}
	option = {
		name = usa.15.e
		hidden_effect = { USA = { country_event = { days = 10 id = usa.19 } } }
		ai_chance = {	factor = 25 }
	}
}

# Plan for Peace
country_event = {
	id = usa.16
	title = usa.16.t
	desc = usa.16.d
	picture = GFX_report_event_crowd_in_prague

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.16.a
		hidden_effect = { USA = { country_event = { days = 10 id = usa.19 } } }
		ai_chance = {	factor = 25 }
	}
	option = {
		name = usa.16.b
		hidden_effect = { USA = { country_event = { days = 10 id = usa.19 } } }
		ai_chance = {	factor = 25 }
	}
	option = {
		name = usa.16.c
		hidden_effect = { USA = { country_event = { days = 10 id = usa.19 } } }
		ai_chance = {	factor = 25 }
	}
	option = {
		name = usa.16.e
		hidden_effect = { USA = { country_event = { days = 10 id = usa.17 } } }
		ai_chance = {	factor = 25 }
	}
}

# Vote for Peace
country_event = {
	id = usa.17
	title = usa.17.t
	desc = usa.17.d
	picture = GFX_report_event_election_vote

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.17.a
		hidden_effect = { USA = { country_event = { days = 20 id = usa.19 } } }
		ai_chance = {	factor = 25 }
	}
	option = {
		name = usa.17.b
		hidden_effect = { USA = { country_event = { days = 20 id = usa.19 } } }
		ai_chance = {	factor = 25 }
	}
	option = {
		name = usa.17.c
		hidden_effect = { USA = { country_event = { days = 20 id = usa.18 } } }
		ai_chance = {	factor = 25 }
	}
	option = {
		name = usa.17.e
		hidden_effect = { USA = { country_event = { days = 20 id = usa.19 } } }
		ai_chance = {	factor = 25 }
	}
}

# Peace!
country_event = {
	id = usa.18
	title = usa.18.t
	desc = usa.18.d
	picture = GFX_report_event_generic_rally_3

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = usa.18.a
		ai_chance = { factor = 100 }
		#remove_ideas = american_slavery_3
		add_political_power = 250
		add_timed_idea = { idea = usa_thirty_year_plan_1 days = 3650 }
		hidden_effect = {
			news_event = { id = usa_news.8 }
			USA = {
				country_event = { days = 3561 id = usa.21 }
			}
			set_global_flag = ACW_Civil_War_Avoided
		}
	}
}

# Failure!
country_event = {
	id = usa.19
	title = usa.19.t
	desc = usa.19.d
	picture = GFX_report_event_worker_protests

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.19.a
		ai_chance = { factor = 100 }
		hidden_effect = { USA = { country_event = { days = 10 id = acw.1 } } }
	}
}

# Thirty Year Plan 2
country_event = {
	id = usa.21
	title = usa.21.t
	desc = usa.21.d
	picture = GFX_report_event_generic_rally_3

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.21.a
		add_political_power = 50
		add_timed_idea = { idea = usa_thirty_year_plan_2 days = 3650 }
		hidden_effect = { USA = { country_event = { days = 3651 id = usa.22 } } }
	}
}

# Thirty Year Plan 3
country_event = {
	id = usa.22
	title = usa.22.t
	desc = usa.22.d
	picture = GFX_report_event_generic_rally_3

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = usa.22.a
		add_political_power = 50
		add_timed_idea = { idea = usa_thirty_year_plan_3 days = 3650 }
		hidden_effect = { USA = { country_event = { days = 3651 id = usa.23 } } }
	}
}

# Thirty Year Plan Finished
country_event = {
	id = usa.23
	title = usa.23.t
	desc = usa.23.d
	picture = GFX_report_event_generic_rally_3

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.23.a
		add_political_power = 100
		swap_ideas = {
			remove_idea = usa_slavery_law
			add_idea = limited_equality
		}
	}
}

# Escapee Policy
country_event = {
	id = usa.24
	title = usa.24.t
	desc = usa.24.d
	picture = GFX_report_event_german_politician_speech

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.24.a
		add_political_power = 25
		CSA = { add_opinion_modifier = { target = USA modifier = USA_escape_yes } }
	}
	option = {
		name = usa.24.b
		add_political_power = -50
		CSA = { add_opinion_modifier = { target = USA modifier = USA_escape_no } }
	}
}

#Persecute Rebels
country_event = {
	id = usa.25
	title = usa.25.t
	desc = usa.25.d
	picture = GFX_report_event_worker_protests

	is_triggered_only = yes

	option = {
		name = usa.25.a
		add_political_power = 10
	}
	option = {
		name = usa.25.b
		add_political_power = -10
		if = {
			limit = {
				NOT = { has_global_flag = Davis_Flees }
				NOT = { has_country_flag = usa_acw_northern_revolt }
			}
			hidden_effect = { USA = { country_event = { id = usa.47 days = 20 } } }
		}
		if = {
			limit = {
				has_country_flag = usa_acw_northern_revolt
			}
		}
		if = {
			limit = {
				NOT = {
					has_country_flag = usa_acw_northern_revolt
				}
			}
			set_country_flag = USA_Confederate_Investigation
		}
	}
	option = {
		name = usa.25.c
		add_political_power = -25
		if = {
			limit = {
				NOT = { has_global_flag = Davis_Flees }
			}
			hidden_effect = { USA = { country_event = { id = usa.47 days = 10 } } }
		}
		if = {
			limit = {
				has_country_flag = usa_acw_northern_revolt
			}
		}
		if = {
			limit = {
				NOT = {
					has_country_flag = usa_acw_northern_revolt
				}
			}
			set_country_flag = USA_Confederate_Investigation
		}
	}
}

country_event = {
	id = usa.308
	title = usa.308.t
	desc = usa.308.d
	picture = placeholder
	hidden = yes

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				USA = {
					has_war_with = ENG
				}
			}
			country_event = {
				id = usa.308
				days = 30
			}
		}
		else = {
			country_event = usa.26
		}
	}
}

# Pig War
country_event = {
	id = usa.26
	title = usa.26.t
	desc = usa.26.d
	picture = GFX_report_event_soldiers_marching

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		trigger = {
			TAG = USA
		}
		name = usa.26.a
	}
	option = {
		trigger = {
			TAG = ENG
		}
		name = usa.26.b
	}
}

#Revitalization of Pig War in 1871
country_event = {
	id = usa.27
	title = usa.27.t
	desc = usa.27.d
	picture = GFX_report_event_generic_sign_treaty3

	is_triggered_only = yes

	option = {
		name = usa.27.a
		trigger = { TAG = USA }
		if = {
			limit = {
				PRS = { exists = yes }
				GER = { exists = no }
			}
			PRS = { country_event = { days = 30 id = usa.28 } }
		}
		if = {
			limit = {
				GER = { exists = yes }
			}
			GER = { country_event = { days = 30 id = usa.28 } }
		}
	}
	option = {
		trigger = {
			TAG = ENG
		}
		name = usa.27.b
	}
}

#Prussian Response
country_event = {
	id = usa.28
	title = usa.28.t
	desc = usa.28.d
	picture = GFX_GFX_report_event_royal_visit

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.28.a
		USA = { country_event = { days = 30 id = usa.29 } }
		ENG = { country_event = { days = 30 id = usa.29 } }
		CAN = { country_event = { days = 30 id = usa.29 } }
		hidden_effect = {
			HBC = { country_event = { days = 30 id = usa.29 } }
			BRK = { country_event = { days = 30 id = usa.29 } }
			NVS = { country_event = { days = 30 id = usa.29 } }
			NFL = { country_event = { days = 30 id = usa.29 } }
			BCO = { country_event = { days = 30 id = usa.29 } }
		}
	}
	option = {
		name = usa.28.b
		USA = { country_event = { days = 30 id = usa.30 } }
		ENG = { country_event = { days = 30 id = usa.30 } }
		CAN = { country_event = { days = 30 id = usa.30 } }
		hidden_effect = {
			HBC = { country_event = { days = 30 id = usa.30 } }
			BRK = { country_event = { days = 30 id = usa.30 } }
			NVS = { country_event = { days = 30 id = usa.30 } }
			NFL = { country_event = { days = 30 id = usa.30 } }
			BCO = { country_event = { days = 30 id = usa.30 } }
		}
	}
}

#Pig War - America
country_event = {
	id = usa.29
	title = usa.29.t
	desc = usa.29.d
	picture = GFX_report_event_generic_sign_treaty2

	is_triggered_only = yes

	option = {
		trigger = { TAG = USA }
		name = usa.29.a
		add_political_power = 10
	}
	option = {
		trigger = { TAG = ENG }
		name = usa.29.b
		add_political_power = -10
	}
	option = {
		trigger = {
			OR = {
				TAG = CAN
				TAG = HBC
				TAG = BRK
				TAG = NVS
				TAG = NFL
				TAG = BCO
			}
		}
		name = usa.29.c
		add_autonomy_ratio = {
			value = 0.05
		}
	}
}

#Pig War - Britain
country_event = {
	id = usa.30
	title = usa.30.t
	desc = usa.30.d
	picture = GFX_report_event_generic_sign_treaty2

	is_triggered_only = yes

	option = {
		trigger = { TAG = USA }
		name = usa.30.a
		add_political_power = -10
	}
	option = {
		trigger = { TAG = ENG }
		name = usa.30.b
		add_political_power = 10
	}
	option = {
		trigger = {
			OR = {
				TAG = CAN
				TAG = HBC
				TAG = BRK
				TAG = NVS
				TAG = NFL
				TAG = BCO
			}
		}
		name = usa.30.c
		add_autonomy_ratio = {
			value = -0.05
		}
	}
}

#George Washington Parke Custis
country_event = {
	id = usa.31
	title = usa.31.t
	desc = usa.31.d
	picture = GFX_report_event_generic_funeral

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.31.a
		add_political_power = -10
	}
}

#Utah Annexation
country_event = {
	id = usa.32
	title = usa.32.t
	desc = usa.32.d
	picture = report_event_generic_conference

	is_triggered_only = yes

	option = {
		name = usa.32.a
		annex_country = {
			target = UTA
		}
		hidden_effect = {
			UTA = {
				every_owned_state = {
					limit = { is_in_home_area = yes }
					set_state_flag = NA_B_Resistant_Population
				}
			}
		}
		swap_ideas = {
			remove_idea = state_religion
			add_idea = secular_state
		}
		hidden_effect = {
			#set_country_flag = USAUtah_War_Over
			#remove_ideas = USA_UtahWar_2
		}
		hidden_effect = { news_event = { id = utah.10 } }
	}
}

#Utah Refused Annexation
country_event = {
	id = usa.33
	title = usa.33.t
	desc = usa.33.d
	picture = report_event_generic_riot

	is_triggered_only = yes

	option = {
		name = usa.33.a
		ai_chance = {	factor = 100 }
		declare_war_on = {
			target = UTA
			type = annex_everything
		}
		hidden_effect = {
			UTA = {
				every_owned_state = {
					limit = { is_in_home_area = yes }
					set_state_flag = NA_B_Resistant_Population
				}
			}
		}
		set_country_flag = USA_UtahWar_Escalated
	}
	option = {
		name = usa.33.b
		add_political_power = -100
		add_stability = -0.05
		ai_chance = { factor = 0 }
		release_puppet = UTA
		set_country_flag = USA_Utah_LetGo
	}
}

#Socialist Revolution
country_event = {
	id = usa.34
	title = usa.34.t
	desc = usa.34.d
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes

	option = {
		name = usa.34.a
		set_politics = {
			ruling_party = social_egalitarianism
		}
		hidden_effect = {
			#swap_ideas = {
			#	remove_idea = presidential_republic
			#	add_idea = socialist_republic
			#}
		}
		remove_ideas = USA_recovery
		hidden_effect = { news_event = { id = usa_news.10 } }
		custom_effect_tooltip = 14_USA_tt
	}
}

#Monarchist Revolution
country_event = {
	id = usa.35
	title = usa.35.t
	desc = usa.35.d
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes

	option = {
		name = usa.35.a
		hidden_effect = {
			#swap_ideas = {
			#	remove_idea = non_monarchical_system
			#	add_idea = no_heir
			#}
			#swap_ideas = {
			#	remove_idea = presidential_republic
			#	add_idea = constitutional_monarchy
			#}
		}
		hidden_effect = { remove_ideas = USA_recovery }
		set_politics = { ruling_party = autocracy }
		remove_ideas = USA_recovery
		custom_effect_tooltip = 15_USA_tt
		hidden_effect = { news_event = { id = usa_news.11 } }
	}
}

country_event = {
	id = usa.309
	title = usa.309.t
	desc = usa.309.desc
	is_triggered_only = yes
	hidden = yes

	immediate = {
		if = {
			limit = {
				AND = {
					has_war_with = CSA
					NOT = {
						OR = {
							has_government = autocracy
							has_government = ideology_radical_socialism
							has_government = anarchism
						}
					}
				}
			}
			country_event = usa.36
		}
		else_if = {
			limit = {
				NOT = {
					OR = {
						has_war_with = CSA
						has_government = autocracy
						has_government = ideology_radical_socialism
						has_government = anarchism
					}
				}
			}
			country_event = usa.38
		}
		else = { }
	}
}

#Election of 1864
country_event = {
	id = usa.36
	title = usa.36.t
	desc = {
		text = usa.36.d
		trigger = { has_country_flag = USA_LincolnElected }
	}
	# desc =  {
	# 	text = usa.36.d_a
	# 	trigger = { has_country_flag = USA_DouglasElected }
	# }
	desc =  {
		text = usa.36.d_b
		trigger = { has_country_flag = USA_Radical_Coup }
	}
	desc =  {
		text = usa.36.d_c
		trigger = { has_government = radical_democracy }
	}
	picture = report_event_election_vote

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.36.a
		trigger = {
			NOT = { has_country_flag = USA_DouglasElected }
		}
		ai_chance = {
			factor = 50
			modifier = {
      	factor = 100
      	is_historical_focus_on = yes
    	}
			modifier = {
      	factor = 0
      	has_war_support > 0.8
    	}
    	modifier = {
      	factor = 95
      	has_war_support < 0.8
    	}
    	modifier = {
      	factor = 80
      	has_war_support < 0.75
    	}
    	modifier = {
      	factor = 60
      	has_war_support < 0.65
    	}
    	modifier = {
      	factor = 40
      	has_war_support < 0.5
    	}
    	modifier = {
      	factor = 20
      	has_war_support < 0.4
    	}
    	modifier = {
      	factor = 0
      	has_war_support < 0.25
    	}
		}
		set_country_flag = USA_Lincoln1864
	}
	# option = {
	# 	name = usa.36.b
	# 	trigger = {
	# 		has_country_flag = USA_DouglasElected
	# 	}
	# 	ai_chance = {
	# 		factor = 50
	# 		modifier = {
    #   	factor = 0
    #   	has_war_support > 0.8
    # 	}
    # 	modifier = {
    #   	factor = 95
    #   	has_war_support < 0.8
    # 	}
    # 	modifier = {
    #   	factor = 80
    #   	has_war_support < 0.75
    # 	}
    # 	modifier = {
    #   	factor = 60
    #   	has_war_support < 0.65
    # 	}
    # 	modifier = {
    #   	factor = 40
    #   	has_war_support < 0.5
    # 	}
    # 	modifier = {
    #   	factor = 20
    #   	has_war_support < 0.4
    # 	}
    # 	modifier = {
    #   	factor = 0
    #   	has_war_support < 0.25
    # 	}
	# 	}
	# 	set_party_name = { ideology = centrism long_name = USA_centrism_party name = USA_centrism_party }
	# 	set_country_flag = USA_Douglas1864
	# }
	option = {
		name = usa.36.c
		ai_chance = {
			factor = 30
			modifier = {
      	factor = 0
      	is_historical_focus_on = yes
    	}
    	modifier = {
      	factor = 0
      	has_war_support > 0.3
    	}
    	modifier = {
      	factor = 5
      	has_war_support < 0.3
    	}
    	modifier = {
      	factor = 20
      	has_war_support < 0.25
    	}
    	modifier = {
      	factor = 40
      	has_war_support < 0.2
    	}
    	modifier = {
      	factor = 60
      	has_war_support < 0.15
    	}
    	modifier = {
      	factor = 80
      	has_war_support < 0.1
    	}
    	modifier = {
      	factor = 100
      	has_war_support < 0.05
    	}
		}
		set_country_flag = USA_McClellanElected
		set_party_name = { ideology = traditional_conservatism long_name = USA_copperhead_democrats name = USA_copperhead_democrats }
		hidden_effect = { USA = { country_event = { days = 120 id = usa.37 } } }
	}
	option = {
		name = usa.36.e
		trigger = {
			has_country_flag = USA_Radical_Coup
		}
		ai_chance = { factor = 1000 }
	}
	option = {
		name = usa.36.f
		trigger = {
			has_government = radical_democracy
		}
		ai_chance = {
			factor = 1000
    }
	}
}

#McClellan Inaugerated
country_event = {
	id = usa.37
	title = usa.37.t
	desc = usa.37.d
	picture = GFX_report_event_german_reichstag_gathering

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = usa.37.a
		retire_country_leader = yes
		set_politics = {
			ruling_party = traditional_conservatism
			election_frequency = 48
			elections_allowed = yes
		}
		create_country_leader = {
			name = "George B. McClellan"
			desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
			picture = "Portrait_USA_George_McClellan.dds"
			expire = "1947.1.1"
			ideology = federal
		}
	}
}

#Election of 1864 - No War
country_event = {
	id = usa.38
	title = usa.38.t
	desc = usa.38.d
	picture = GFX_report_event_election_vote

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.38.a
		trigger = {
			NOT = { has_country_flag = USA_DouglasElected }
			NOT = { has_country_flag = Lincoln_Assassinated }
		}
		set_country_flag = USA_Lincoln1864
		ai_chance = {
			factor = 50
			modifier = {
      	factor = 100
      	is_historical_focus_on = yes
    	}
    	modifier = {
        factor = 100
      	CSA = { exists = no }
      }
    }
    set_party_name = { ideology = traditional_conservatism long_name = USA_traditional_conservatism_party name = USA_traditional_conservatism_party }
	}
	# option = {
	# 	name = usa.38.b
	# 	trigger = {
	# 		has_country_flag = USA_DouglasElected
	# 	}
	# 	set_country_flag = USA_Douglas1864
	# 	ai_chance = {
	# 		factor = 50
	# 		modifier = {
    #     factor = 100
    #   	CSA = { exists = no }
    #   }
    # }
    # set_party_name = { ideology = centrism long_name = USA_centrism_party name = USA_centrism_party }
    # set_party_name = { ideology = traditional_conservatism long_name = USA_traditional_conservatism_party name = USA_traditional_conservatism_party }
	# }
	option = {
		name = usa.38.c
		ai_chance = {
			factor = 50
			modifier = {
        factor = 0
      	is_historical_focus_on = yes
      }
      modifier = {
        factor = 0.1
      	CSA = { exists = no }
      }
    }
    set_party_name = { ideology = centrism long_name = USA_centrism_party name = USA_centrism_party }
    set_party_name = { ideology = traditional_conservatism long_name = USA_traditional_conservatism_party name = USA_traditional_conservatism_party }
    set_country_flag = USA_Pendleton_Elected
    hidden_effect = { USA = { country_event = { days = 120 id = usa.39 } } }
	}
	option = {
		name = usa.38.e
		trigger = {
			has_country_flag = USA_Radical_Coup
		}
		ai_chance = {
			factor = 1000
    }
	}
	option = {
		name = usa.38.f
		trigger = {
			has_government = radical_democracy
		}
		ai_chance = {
			factor = 1000
    }
	}
	option = {
		name = usa.38.g
		trigger = {
			has_country_flag = Lincoln_Assassinated
		}
		hidden_effect = { USA = { country_event = { days = 120 id = usa.57 } } }
	}
}

#Pendleton Inaugerated
country_event = {
	id = usa.39
	title = usa.39.t
	desc = usa.39.d
	picture = GFX_report_event_german_reichstag_gathering

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = usa.39.a
		retire_country_leader = yes
		set_politics = {
			ruling_party = traditional_conservatism
			election_frequency = 48
			elections_allowed = yes
		}
		create_country_leader = {
			name = "George H. Pendleton"
			desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
			picture = "Portrait_USA_George_Pendleton.dds"
			expire = "1947.1.1"
			ideology = federal
		}
	}
}

#Alaska Purchase
country_event = {
	id = usa.40
	title = usa.40.t
	desc = usa.40.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.40.a
		ai_chance = {
			factor = 90
			modifier = {
      	factor = 100
      	is_historical_focus_on = yes
      }
    }
    every_country = {
    	limit = {
    		owns_state = 463
    	}
    	country_event = { id = usa.41 hours = 1 }
    }
	}
}

#Alaska Russia
country_event = {
	id = usa.41
	title = usa.41.t
	desc = usa.41.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.41.a
		USA = { country_event = { id = usa.42 hours = 1 } }
		ROOT = { add_timed_idea = { idea = USA_idea_alaska_sale days = 365 } }
		if = {
			limit = {
				NOT = { tag = RUS }
			}
			save_global_event_target_as = sold_alaska_target
			set_global_flag = alaska_sold_not_by_rus
		}
		set_global_flag = USA_Alaska_Purchased_flag
		ai_chance = {
			factor = 90
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
    	}
	}
	option = {
		name = usa.41.b
		add_political_power = -25
		USA = { country_event = { id = usa.42 hours = 1 } }
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}
#Alaska Result
country_event = {
	id = usa.42
	title = usa.42.t
	desc = {
		text = usa.42.d
		trigger = { has_global_flag = USA_Alaska_Purchased_flag }
	}
	desc = {
		text = usa.42.d_a
		trigger = { NOT = { has_global_flag = USA_Alaska_Purchased_flag } }
	}
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		trigger = {
			has_global_flag = USA_Alaska_Purchased_flag
		}
		name = usa.42.a
		USA = { add_timed_idea = { idea = USA_idea_alaska_purchase days = 365 } }
		USA = { transfer_state = 463 }
		news_event = { id = usa_news.17 }
	}
	option = {
		trigger = {
			NOT = { has_global_flag = USA_Alaska_Purchased_flag }
		}
		name = usa.42.b
	}
}

#Integration Plan/ Reconstruction
country_event = {
	id = usa.44
	title = usa.44.t
	desc = usa.44.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		trigger = {
			has_country_flag = USASoaring_Eagle
		}
		name = usa.44.a
		set_variable = {
			var = reconstruction_points
			value = 0
		}
		clamp_variable = {
			var = reconstruction_points
			min = 0
			max = 100
		}
	}
	option = {
		trigger = {
			has_country_flag = USASoaring_Eagle
		}
		name = usa.44.b
		add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
		set_variable = {
			var = reconstruction_points
			value = 1
		}
		clamp_variable = {
			var = reconstruction_points
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_reconstruction_add_1
	}
	option = {
		trigger = {
			has_country_flag = USASoaring_Eagle
		}
		name = usa.44.c
		add_popularity = { ideology = social_egalitarianism popularity = 0.02 }
		set_variable = {
			var = reconstruction_points
			value = 2
		}
		clamp_variable = {
			var = reconstruction_points
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_reconstruction_add_2
	}
	option = {
		trigger = {
			has_country_flag = USASoaring_Eagle
		}
		name = usa.44.e
		add_popularity = { ideology = social_egalitarianism popularity = 0.03 }
		set_variable = {
			var = reconstruction_points
			value = 3
		}
		clamp_variable = {
			var = reconstruction_points
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_reconstruction_add_3
	}
}

#Jefferson Davis captured / Thaddeus Stevens Captured
country_event = {
	id = usa.47
	title = usa.47.t
	desc = usa.47.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.47.a
		add_political_power = 25
		if = {
			limit = {
				has_country_flag = usa_acw_northern_revolt
			}
			set_country_flag = Stevens_Captured
		}
		set_country_flag = Davis_Captured
		add_to_variable = {
			var = reconstruction_points
			value = 1
		}
		hidden_effect = { USA = { country_event = { id = usa.55 days = 30 } } }
		custom_effect_tooltip = USA_reconstruction_add_1
	}
}

country_event = { #Event check for Jefferson Davis flees the Union
	id = usa.310
	title = usa.310.t
	desc = usa.310.desc
	hidden = yes
	picture = placeholder

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				USA = {
					NOT = { has_country_flag = USA_Confederate_Investigation }
					NOT = { has_country_flag = Davis_Captured }
				}
			}
			country_event = usa.48
		}
		else = { }
	}
}

#Jefferson Davis flees the Union
country_event = {
	id = usa.48
	title = usa.48.t
	desc = usa.48.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		hidden_effect = {
			BRA = {
				country_event = {
					id = usa.49
					days = 25
				}
			}
		}
	}

	option = {
		name = usa.48.a
		add_political_power = -50
		set_global_flag = Davis_Flees
		subtract_from_variable = {
			var = reconstruction_points
			value = 1
		}
		custom_effect_tooltip = USA_reconstruction_remove_1
	}
}

#Davis flees to Brazil
country_event = {
	id = usa.49
	title = usa.49.t
	desc = usa.49.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.49.a
		set_global_flag = Davis_Flees_Brazil
		clr_global_flag = Davis_Flees
		USA = {
			add_opinion_modifier = {
				target = BRA
				modifier = usa_davis_held
			}
		}
		capital_scope = { add_manpower = 146 }
	}
	option = {
		name = usa.49.b
		FRA = { country_event = { id = usa.50 days = 10 } }
	}
	option = {
		name = usa.49.c
		clr_global_flag = Davis_Flees
		USA = { country_event = { id = usa.53 days = 5 } }
		USA = { set_country_flag = BRA_Davis_Returned }
		USA = {
			add_opinion_modifier = {
				target = BRA
				modifier = usa_davis_returned
			}
		}
	}
}

#Davis flees to France
country_event = {
	id = usa.50
	title = usa.50.t
	desc = usa.50.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.49.a
		set_global_flag = Davis_Flees_France
		clr_global_flag = Davis_Flees
		USA = {
			add_opinion_modifier = {
				target = FRA
				modifier = usa_davis_held
			}
		}
		capital_scope = { add_manpower = 146 }
	}
	option = {
		name = usa.49.b
		ENG = { country_event = { id = usa.51 days = 3 } }
	}
	option = {
		name = usa.49.c
		clr_global_flag = Davis_Flees
		USA = { country_event = { id = usa.53 days = 5 } }
		USA = { set_country_flag = FRA_Davis_Returned }
		USA = {
			add_opinion_modifier = {
				target = FRA
				modifier = usa_davis_returned
			}
		}
	}
}

#Davis flees to UK
country_event = {
	id = usa.51
	title = usa.51.t
	desc = usa.51.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.49.a
		set_global_flag = Davis_Flees_UK
		clr_global_flag = Davis_Flees
		USA = {
			add_opinion_modifier = {
				target = ENG
				modifier = usa_davis_held
			}
		}
		capital_scope = { add_manpower = 146 }
	}
	option = {
		name = usa.49.b
		USA = { country_event = { id = usa.52 days = 4 } }
	}
	option = {
		name = usa.49.c
		clr_global_flag = Davis_Flees
		USA = { country_event = { id = usa.53 days = 5 } }
		USA = { set_country_flag = ENG_Davis_Returned }
		USA = {
			add_opinion_modifier = {
				target = ENG
				modifier = usa_davis_returned
			}
		}
	}
}

#Davis found and captured after escape
country_event = {
	id = usa.52
	title = usa.52.t
	desc = usa.52.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.52.a
		clr_global_flag = Davis_Flees
		add_political_power = 50
		USA = { country_event = { id = usa.55 days = 30 } }
	}
}

#Davis returned
country_event = {
	id = usa.53
	title = usa.53.t
	desc = {
		text = usa.53.d_brazil
		trigger = { has_country_flag = BRA_Davis_Returned }
	}
	desc = {
		text = usa.53.d_france
		trigger = { has_country_flag = FRA_Davis_Returned }
	}
	desc = {
		text = usa.53.d_uk
		trigger = { has_country_flag = ENG_Davis_Returned }
	}
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.53.a
		add_political_power = 10
		USA = { country_event = { id = usa.55 days = 30 } }
	}
}

#Davis given sancturary
country_event = {
	id = usa.54
	title = usa.54.t
	desc = {
		text = usa.54.d_brazil
		trigger = { has_global_flag = Davis_Flees_Brazil }
	}
	desc = {
		text = usa.54.d_france
		trigger = { has_global_flag = Davis_Flees_France }
	}
	desc = {
		text = usa.54.d_uk
		trigger = { has_global_flag = Davis_Flees_UK }
	}
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.54.a
		clr_global_flag = Davis_Flees
		add_political_power = -50
		add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
		subtract_from_variable = {
			var = reconstruction_points
			value = 1
		}
		custom_effect_tooltip = USA_reconstruction_remove_1
	}
}

#What to do with Davis
country_event = {
	id = usa.55
	title = usa.55.t
	desc = usa.55.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.55.a
		add_political_power = 25
		add_popularity = { ideology = social_egalitarianism popularity = -0.01 }
		add_to_variable = {
			var = reconstruction_points
			value = 1
		}
		custom_effect_tooltip = USA_reconstruction_add_1
	}
	option = {
		name = usa.55.b
		add_political_power = -25
		add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
		add_to_variable = {
			var = reconstruction_points
			value = 3
		}
		custom_effect_tooltip = USA_reconstruction_add_3
	}
	option = {
		name = usa.55.c
		add_to_variable = {
			var = reconstruction_points
			value = 2
		}
		custom_effect_tooltip = USA_reconstruction_add_2
	}
}

#Hannibal Inaugeration
country_event = {
	id = usa.57
	title = usa.57.t
	desc = usa.57.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.57.a
		retire_country_leader = yes
		set_politics = {
			ruling_party = centrism
			election_frequency = 48
				elections_allowed = yes
		}
		create_country_leader = {
			name = "Hannibal Hamlin"
			desc = ""
			#picture = ""
			expire = "1947.1.1"
			ideology = liberal_social
		}
	}
}

country_event = {
	id = usa.311
	title = usa.311.t
	desc = usa.311.desc
	picture = placeholder
	hidden = yes

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				USA = {
					NOT = { has_country_flag = USA_Reconstruction_Ended }
					NOT = { has_idea = full_equality }
				}
			}
			USA = {
				country_event = usa.58
			}
		}
	}
}

#Liberia Emigration
country_event = {
	id = usa.58
	title = usa.58.t
	desc = usa.58.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.58.a
		add_political_power = -10
		add_popularity = { ideology = social_egalitarianism popularity = 0.05 }
		set_global_flag = USA_Liberia_No_Intervention
		LIB = { country_event = { id = usa.59 days = 4 } }
		add_timed_idea = { idea = USA_liberia_emigration_1 days = 1000 }

		366 = { add_manpower = -1000 }
		365 = { add_manpower = -1000 }
		364 = { add_manpower = -3000 }
		363 = {	add_manpower = -1000 }
		367 = {	add_manpower = -2000 }
		370 = { add_manpower = -1000 }
		371 = { add_manpower = -1000 }
		372 = {	add_manpower = -1000 }
		375 = {	add_manpower = -1000 }
		368 = {	add_manpower = -1000 }
		373 = {	add_manpower = -1500 }
		369 = {	add_manpower = -1500 }
		361 = {	add_manpower = -2500 }
		add_to_variable = {
			var = reconstruction_points
			value = 2
		}
		custom_effect_tooltip = USA_reconstruction_add_2
	}
	option = {
		name = usa.58.b
		add_political_power = -25
		366 = { add_manpower = -5000 }
		365 = { add_manpower = -5000 }
		364 = { add_manpower = -5000 }
		363 = {	add_manpower = -5000 }
		367 = {	add_manpower = -5000 }
		370 = { add_manpower = -5000 }
		371 = { add_manpower = -5000 }
		372 = {	add_manpower = -5000 }
		375 = {	add_manpower = -5000 }
		368 = {	add_manpower = -5000 }
		373 = {	add_manpower = -3500 }
		369 = {	add_manpower = -3500 }
		361 = {	add_manpower = -3500 }

		set_global_flag = USA_Liberia_Encouraged
		LIB = { country_event = { id = usa.59 days = 4 } }
		add_timed_idea = { idea = USA_liberia_emigration_2 days = 1000 }
	}
	option = {
		name = usa.58.c
		add_political_power = -50
		366 = { add_manpower = -10000 }
		365 = { add_manpower = -10000 }
		364 = { add_manpower = -12000 }
		363 = {	add_manpower = -10000 }
		367 = {	add_manpower = -12000 }
		370 = { add_manpower = -10000 }
		371 = { add_manpower = -10000 }
		372 = {	add_manpower = -10000 }
		375 = {	add_manpower = -10000 }
		368 = {	add_manpower = -10000 }
		373 = {	add_manpower = -7500 }
		369 = {	add_manpower = -7500 }
		361 = {	add_manpower = -7500 }
		subtract_from_variable = {
			var = reconstruction_points
			value = 2
		}
		custom_effect_tooltip = USA_reconstruction_remove_1
		add_popularity = { ideology = social_egalitarianism popularity = -0.05 }
		LIB = { country_event = { id = usa.59 days = 4 } }
		set_global_flag = USA_Liberia_Mandatory
		add_timed_idea = { idea = USA_liberia_emigration_3 days = 1000 }
	}
}

#Liberia Immigration
country_event = {
	id = usa.59
	title = usa.59.t
	desc = usa.59.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.59.a
		add_political_power = -10
		trigger = { has_global_flag = USA_Liberia_No_Intervention }
		298 = {
			add_manpower = 13000
		}
		add_timed_idea = { idea = Liberia_immigration_1 days = 1000 }
	}
	option = {
		name = usa.59.b
		add_political_power = -50
		trigger = { has_global_flag = USA_Liberia_Encouraged }
		298 = {
			add_manpower = 65000
		}
		add_timed_idea = { idea = Liberia_immigration_2 days = 1000 }
	}
	option = {
		name = usa.59.c
		trigger = { has_global_flag = USA_Liberia_Mandatory }
		add_political_power = -100
		298 = {
			add_manpower = 130000
		}
		add_timed_idea = { idea = Liberia_immigration_3 days = 1000 }
	}
}

#Granted Support
country_event = {
	id = usa.60
	title = usa.60.t
	desc = usa.60.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.60.a
		# add_equipment_to_stockpile = {
		# 	type = infantry_equipment
		# 	amount = 3000
		# 	producer = USA
		# }
		# add_equipment_to_stockpile = {
		# 	type = uniform_equipment
		# 	amount = 3000
		# 	producer = USA
		# }
		# add_manpower = 5000
		MEX = { add_ideas = MEX_american_support }
	}
}

#Mend Relations - UK
country_event = {
	id = usa.61
	title = usa.61.t
	desc = usa.61.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.61.a
		ENG = { set_country_flag = USA_Mend_Relations }
		ENG = { country_event = { id = usa.62 } }
	}
	option = {
		name = usa.61.b
		trigger = {
			NOT = {
				has_war_with = ENG
				is_in_faction = yes
				ENG = { is_in_faction = yes }
			}
		}
		ENG = { set_country_flag = USA_Mend_Alliance }
		ENG = { country_event = { id = usa.62 } }
	}
}

#Mend Relations - UK Response
country_event = {
	id = usa.62
	title = usa.62.t
	desc = {
		text = usa.62.d
		trigger = { has_country_flag = USA_Mend_Relations }
	}
	desc = {
		text = usa.62.d_ally
		trigger = { has_country_flag = USA_Mend_Alliance }
	}
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.62.a
		trigger = { has_country_flag = USA_Mend_Relations }
		diplomatic_relation = {
			country = USA
			relation = non_aggression_pact
			active = yes
		}
	}
	option = {
		name = usa.62.a
		trigger = {
			AND = {
				has_country_flag = USA_Mend_Alliance
				is_ai = no
			}
		}
	}
	option = {
		ai_chance = {
			factor = 40
			#modifier = {
			#	add = 60
			#	ROOT = {
			#		has_opinion = {
			#			USA = ENG
			#			value = 50
			#		}
			#	}
			#}
		}
		name = usa.62.a
		trigger = {
			AND = {
				has_country_flag = USA_Mend_Alliance
				is_ai = yes
			}
		}
	}
	option = {
		ai_chance = {
			factor = 50
			#modifier = {
			#	add = 50
			#	ROOT = {
			#		has_opinion = {
			#			USA = ENG
			#			value = 0
			#		}
			#	}
			#}
		}
		name = usa.62.b
	}
}

#USA Requests Non Aggression Pact
country_event = {
	id = usa.63
	title = usa.63.t
	desc = usa.63.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.63.a
		add_political_power = 25
		diplomatic_relation = {
			country = USA
			relation = non_aggression_pact
			active = yes
		}
	}
	option = {
		name = usa.63.b
		add_political_power = -25
	}
}

#USA Utah reclaimed
country_event = {
	id = usa.65
	title = usa.65.t
	desc = usa.65.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	#mean_time_to_happen = {
	#	days = 2
	#}

	option = {
		name = usa.65.a
		#remove_ideas = USA_UtahWar_2
		swap_ideas = {
			remove_idea = state_religion
			add_idea = secular_state
		}
		if = {
			limit = {
				UTA = { is_puppet_of = USA }
			}
			annex_country = {
				target = UTA
			}
		}
		hidden_effect = { news_event = { id = utah.12 } }
		clr_country_flag = USA_UtahWar_Escalated
	}
	option = {
		name = usa.65.b
		#remove_ideas = USA_UtahWar_2
		clr_country_flag = USA_UtahWar_Escalated
		if = {
			limit = {
				UTA = { is_puppet_of = USA }
			}
			annex_country = {
				target = UTA
			}
		}
		hidden_effect = { news_event = { id = utah.12 } }
		add_political_power = -25
	}
}
#USA Utah lost
country_event = {
	id = usa.66
	title = usa.66.t
	desc = usa.66.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.66.a
		add_political_power = -100
		clr_country_flag = USA_UtahWar_Escalated
		#remove_ideas = USA_UtahWar_2
	}
}

country_event = {
	id = usa.312
	title = usa.312.t
	desc = usa.312.desc
	hidden = yes

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				USA = {
					has_idea = USA_Spirit_Anti_Irish
				}
			}
			country_event = usa.67
		}
	}
}

#USA Anti-Irish Sentiment goes down ACW
country_event = {
	id = usa.67
	title = usa.67.t
	desc = {
		text = usa.67.d
		trigger = { has_global_flag = ACW_American_Civil_War }
	}
	desc = {
		text = usa.67.d_nowar
		trigger = {	has_global_flag = ACW_American_Civil_War_Avoided }
	}
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.67.a
		if = {
			limit = {
				has_war_with = CSA
			}
			remove_ideas = USA_Spirit_Anti_Irish
			add_timed_idea = {
				idea = USA_Spirit_Anti_Irish_ACW
				days = 1825
			}
		}
		else = {
			remove_ideas = USA_Spirit_Anti_Irish
			add_timed_idea = {
				idea = USA_Spirit_Anti_Irish2
				days = 1825
			}
		}
	}
}

#USA Anti-Irish Sentiment returns to normal
country_event = {
	id = usa.68
	title = usa.68.t
	desc = usa.68.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.67.a
		swap_ideas = {
			remove_idea = USA_Spirit_Anti_Irish_ACW
			add_idea = USA_Spirit_Anti_Irish2
		}
	}
}

country_event = { #Event check for 'USA Anti-Irish Sentiment not an issue anymore'
	id = usa.313
	title = usa.313.t
	desc = usa.313.desc
	hidden = yes
	picture = placeholder

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				has_idea = USA_Spirit_Anti_Irish2
			}
			country_event = usa.69
		}
	}
}

#USA Anti-Irish Sentiment not an issue anymore
country_event = {
	id = usa.69
	title = usa.69.t
	desc = usa.69.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.69.a
		remove_ideas = USA_Spirit_Anti_Irish2
	}
}

#Modern Times suffers from Panic of 1857
country_event = {
	id = usa.73
	title = usa.73.t
	desc = usa.73.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = usa.73.a
		add_political_power = -10
	}
	option = {
		name = usa.73.b
		hidden_effect = { country_event = { id = usa.74 days = 250 random_days = 180 } }
		custom_effect_tooltip = MHC_modern_times_angry_tooltip
	}
}
#Modern Times community complains about restriction to work
country_event = {
	id = usa.74
	title = usa.74.t
	desc = usa.74.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.74.a
		add_political_power = -20
		hidden_effect = { country_event = { id = usa.76 days = 40 } }
		custom_effect_tooltip = MHC_modern_times_calm_tooltip
	}
	option = {
		name = usa.74.b
		hidden_effect = { country_event = { id = usa.75 days = 80 } }
		custom_effect_tooltip = MHC_modern_times_radicalizes_tooltip
	}
}
#Modern Times Community radicalizes
country_event = {
	id = usa.75
	title = usa.75.t
	desc = usa.75.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.75.a
		add_political_power = -5
		add_stability = -0.05
		set_country_flag = USA_Manhattan_Marked_ACW
		add_popularity = {
			ideology = anarchism
			popularity = 0.01
		}
		hidden_effect = { country_event = { id = usa.78 days = 30 } }
		custom_effect_tooltip = MHC_modern_times_revolt_tooltip
	}
	option = {
		name = usa.75.b
		add_political_power = -50
		add_stability = -0.05
		add_popularity = {
			ideology = anarchism
			popularity = 0.01
		}
		hidden_effect = { country_event = { id = usa.76 days = 150 } }
		custom_effect_tooltip = MHC_modern_times_calm_tooltip
	}
}
#Modern Times Community calms
country_event = {
	id = usa.76
	title = usa.76.t
	desc = usa.76.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.76.a
		add_political_power = 10
		add_popularity = {
			ideology = anarchism
			popularity = -0.01
		}
	}
}
#Modern Times Grows Powerful
country_event = {
	id = usa.78
	title = usa.78.t
	desc = usa.78.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.78.a
		set_country_flag = USA_Manhattan_Marked_ACW
	}
}
#Reconstruction Events#
#Freedmans Bureau
country_event = {
	id = usa.79
	title = usa.79.t
	desc = usa.79.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.79.a
		add_to_variable = {
			var = reconstruction_points
			value = 5
		}
		if = {
			limit = {
				NOT = {
					has_country_flag = usa_acw_northern_revolt
				}
			}
			add_popularity = {
				ideology = traditional_conservatism
				popularity = -0.03
			}
			add_ideas = USA_freedman_bureau
		}
		custom_effect_tooltip = USA_reconstruction_add_5
		add_political_power = -50
		ai_chance = {
			factor = 70
			modifier = {
				factor = 0
				has_government = traditional_conservatism
			}
		}
	}
	option = {
		name = usa.79.b
		add_to_variable = {
			var = reconstruction_points
			value = 3
		}
		add_ideas = USA_freedman_bureau
		add_popularity = {
			ideology = traditional_conservatism
			popularity = -0.02
		}
		custom_effect_tooltip = USA_reconstruction_add_3
		add_political_power = -25
		ai_chance = {
			factor = 30
			modifier = {
				factor = 0
				has_government = traditional_conservatism
			}
		}
	}
	option = {
		name = usa.79.c
		subtract_from_variable = {
			var = reconstruction_points
			value = 4
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.02
		}
		custom_effect_tooltip = USA_reconstruction_remove_4
		add_political_power = 25
		ai_chance = {
			factor = 0
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
	}
}
#Seizing Plantations / Establish New Plantations
country_event = {
	id = usa.80
	title = usa.80.t
	desc = usa.80.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.80.a
		add_to_variable = {
			var = reconstruction_points
			value = 2
		}
		random_owned_state = {
			limit = {
				cotton_farm > 0
			}
			remove_building = {
				type = cotton_farm
				level = 1
			}
		}
		random_owned_state = {
			limit = {
				cotton_farm > 0
			}
			remove_building = {
				type = cotton_farm
				level = 1
			}
		}
		if = {
			limit = {
				has_country_flag = usa_acw_northern_revolt
			}
			# add_timed_idea = {
			# 	idea = USA_incentivizing_plantations
			# 	days = 400
			# }
		}
		if = {
			limit = {
				NOT = {
					has_country_flag = usa_acw_northern_revolt
				}
			}
			add_timed_idea = {
				idea = USA_seize_plantations
				days = 400
			}
		}
		add_popularity = {
			ideology = centrism
			popularity = 0.04
		}
		add_political_power = -50
		custom_effect_tooltip = USA_reconstruction_add_2
		ai_chance = {
			factor = 0
			modifier = {
				factor = 100
				has_government = social_egalitarianism
			}
		}
	}
	option = {
		name = usa.80.b
		add_to_variable = {
			var = reconstruction_points
			value = 1
		}
		add_political_power = -25
		random_owned_state = {
			limit = {
				cotton_farm > 0
			}
			remove_building = {
				type = cotton_farm
				level = 1
			}
		}
		if = {
			limit = {
				has_country_flag = usa_acw_northern_revolt
			}
			# add_timed_idea = {
			# 	idea = USA_incentivizing_plantations
			# 	days = 400
			# }
		}
		if = {
			limit = {
				NOT = {
					has_country_flag = usa_acw_northern_revolt
				}
			}
			add_timed_idea = {
				idea = USA_seize_plantations
				days = 400
			}
		}
		add_popularity = {
			ideology = centrism
			popularity = 0.02
		}
		custom_effect_tooltip = USA_reconstruction_add_1
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
	}
	option = {
		name = usa.80.c
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = social_egalitarianism
			}
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
	}
}
#Oath of Loyalty
country_event = {
	id = usa.81
	title = usa.81.t
	desc = usa.81.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.81.a
		add_stability = -0.1
		add_war_support = -0.1
		add_to_variable = {
			var = reconstruction_points
			value = 3
		}
		custom_effect_tooltip = USA_reconstruction_add_3
		ai_chance = {
			factor = 0
			modifier = {
				factor = 100
				has_government = social_egalitarianism
			}
		}
	}
	option = {
		name = usa.81.b
		add_stability = -0.05
		add_war_support = -0.05
		add_to_variable = {
			var = reconstruction_points
			value = 2
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.02
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 25
				has_government = centrism
			}
		}
		custom_effect_tooltip = USA_reconstruction_add_2
	}
	option = {
		name = usa.81.c
		add_stability = 0.05
		add_war_support = 0.05
		subtract_from_variable = {
			var = reconstruction_points
			value = 2
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.04
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 25
				has_government = centrism
			}
		}
		custom_effect_tooltip = USA_reconstruction_remove_2
	}
	option = {
		name = usa.81.e
		add_stability = 0.1
		add_war_support = 0.1
		subtract_from_variable = {
			var = reconstruction_points
			value = 3
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.08
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
		custom_effect_tooltip = USA_reconstruction_remove_3
	}
}
#Occupy the South
country_event = {
	id = usa.82
	title = usa.82.t
	desc = usa.82.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.82.a
		add_stability = -0.05
		add_to_variable = {
			var = reconstruction_points
			value = 3
		}
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.05
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = social_egalitarianism
			}
		}
		custom_effect_tooltip = USA_reconstruction_add_3
	}
	option = {
		name = usa.82.b
		add_political_power = 10
		add_popularity = {
			ideology = centrism
			popularity = 0.04
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
		}
	}
	option = {
		name = usa.82.c
		add_political_power = 20
		add_stability = 0.05
		subtract_from_variable = {
			var = reconstruction_points
			value = 3
		}
		add_popularity = {
			ideology = centrism
			popularity = 0.03
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
		custom_effect_tooltip = USA_reconstruction_remove_3
	}
}
#Black Wages
country_event = {
	id = usa.83
	title = usa.83.t
	desc = usa.83.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.83.a
		add_to_variable = {
			var = reconstruction_points
			value = 3
		}
		custom_effect_tooltip = USA_reconstruction_add_3
		add_timed_idea = {
			idea = USA_black_wages
			days = 750
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.02
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 100
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = social_egalitarianism
			}
		}
	}
	option = {
		name = usa.83.b
		add_political_power = -25
		add_timed_idea = {
			idea = USA_black_wages
			days = 365
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = traditional_conservatism
			}
		}
	}
	option = {
		name = usa.83.c
		subtract_from_variable = {
			var = reconstruction_points
			value = 3
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = traditional_conservatism
			}
		}
		custom_effect_tooltip = USA_reconstruction_remove_3
	}
}
#Olklahoma Issue
country_event = {
	id = usa.84
	title = usa.84.t
	desc = usa.84.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.84.a
		add_to_variable = {
			var = reconstruction_points
			value = 1
		}
		custom_effect_tooltip = USA_reconstruction_add_1
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = social_egalitarianism
			}
		}
	}
	option = {
		name = usa.84.b
		subtract_from_variable = {
			var = reconstruction_points
			value = 1
		}
		custom_effect_tooltip = USA_reconstruction_remove_1
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
	}
}
#Lift Northern Matrial Law
country_event = {
	id = usa.85
	title = usa.85.t
	desc = usa.85.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.85.a
		add_to_variable = {
			var = reconstruction_points
			value = 2
		}
		custom_effect_tooltip = USA_reconstruction_add_2
		add_stability = -0.05
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.02
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = social_egalitarianism
			}
		}
	}
	option = {
		name = usa.85.c
		subtract_from_variable = {
			var = reconstruction_points
			value = 2
		}
		custom_effect_tooltip = USA_reconstruction_remove_2
		add_stability = 0.05
		add_popularity = {
			ideology = traditional_conservatism
			popularity = -0.02
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
	}
}
country_event = { # Event check for 'People Complain about Policies'
	id = usa.314
	title = usa.314.t
	desc = usa.314.desc
	hidden = yes
	picture = placeholder

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				AND = {
					check_variable = { reconstruction_points > 14 }
					has_idea = USA_recovery
				}
			}
			country_event = usa.86
		}
		else = {
			country_event = {
				id = usa.314
				days = 30
			}
		}
	}
}
#People Complain about Policies
country_event = {
	id = usa.86
	title = usa.86.t
	desc = usa.86.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.86.a
		add_to_variable = {
			var = reconstruction_points
			value = 3
		}
		add_political_power = -50
		custom_effect_tooltip = USA_reconstruction_add_3
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = social_egalitarianism
			}
		}
		hidden_effect = {
			country_event = usa.314
		}
	}
	option = {
		name = usa.86.b
		subtract_from_variable = {
			var = reconstruction_points
			value = 3
		}
		custom_effect_tooltip = USA_reconstruction_remove_3
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
	}
}
country_event = { #Event checks for KKK forms (hooray controversy)
	id = usa.315
	title = usa.315.t
	desc = usa.315.desc
	hidden = yes

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				USA = {
					check_variable = { reconstruction_points > 19 }
				}
			}
			country_event = usa.87
		}
		else = {
			country_event = {
				id = usa.315
				days = 30
			}
		}
	}
}
#KKK forms (hooray controversy)
country_event = {
	id = usa.87
	title = usa.87.t
	desc = usa.87.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	immediate =  {
		hidden_effect = {
			USA = {
				country_event = {
					id = usa.320
					days = 1
					random_days = 500
				}
			}
		}
	}

	option = {
		name = usa.87.a
		set_country_flag = USA_first_kkk
	}
}
country_event = { #Event check for KKK becomes violent
	id = usa.316
	title = usa.316.t
	desc = usa.316.desc
	hidden = yes

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				USA = {
					check_variable = { reconstruction_points > 19 }
					has_idea = USA_recovery
					has_country_flag = USA_first_kkk
				}
			}
			country_event = {
				id = usa.88
				days = 30
				random_days = 60
			}
		}
		else_if = {
			limit = {
				has_country_flag = USA_first_kkk
			}
			country_event = {
				id = usa.316
				days = 45
			}
		}
	}
}
#KKK becomes violent (PresidentStorm: kotaku article incoming) (Ormr1: Here it comes)
country_event = {
	id = usa.88
	title = usa.88.t
	desc = usa.88.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		hidden_effect = {
			USA = {
				country_event = {
					id = usa.89
					days = 45
					random_days = 115
				}
				country_event = {
					id = usa.318
					days = 90
				}
			}
		}
	}

	option = {
		name = usa.88.a
		add_to_variable = {
			var = reconstruction_points
			value = 1
		}
		add_political_power = -75
		custom_effect_tooltip = USA_reconstruction_add_1
		ai_chance = {
			factor = 0
			modifier = {
				factor = 90
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = social_egalitarianism
			}
		}
	}
	option = {
		name = usa.88.b
		subtract_from_variable = {
			var = reconstruction_points
			value = 4
		}
		custom_effect_tooltip = USA_reconstruction_remove_4
		ai_chance = {
			factor = 0
			modifier = {
				factor = 10
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
	}
}
country_event = {
	id = usa.317
	title = usa.317.t
	desc = usa.317.desc
	hidden = yes
	picture = placeholder

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				USA = {
					has_country_flag = USA_first_kkk
				}
			}
			country_event = usa.89
		}
	}
}
#KKK intimidates voters
country_event = {
	id = usa.89
	title = usa.89.t
	desc = usa.89.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			country_event = {
				id = usa.318
				days = 20
				random_days = 40
			}
		}
	}

	option = {
		name = usa.89.a
		add_to_variable = {
			var = reconstruction_points
			value = 1
		}
		add_manpower = -2500
		add_political_power = -50
		custom_effect_tooltip = USA_reconstruction_add_1
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = social_egalitarianism
			}
		}
	}
	option = {
		name = usa.89.b
		subtract_from_variable = {
			var = reconstruction_points
			value = 4
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.03
		}
		custom_effect_tooltip = USA_reconstruction_remove_4
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
	}
}
country_event = {
	id = usa.318
	title = usa.318.t
	desc = usa.318.desc
	hidden = yes
	picture = placeholder

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				has_country_flag = USA_first_kkk
				any_owned_state = {
					industrial_complex > 0
					OR = {
						state = 362
						state = 363
						state = 364
						state = 365
						state = 366
						state = 367
						state = 368
						state = 370
						state = 371
						state = 372
						state = 375
					}
				}
			}
			country_event = {
				id = usa.90
				days = 1
				random_days = 30
			}
		}
	}
}
#KKK disrupts southern factory
country_event = {
	id = usa.90
	title = usa.90.t
	desc = usa.90.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.90.a
		add_political_power = -50
		add_to_variable = {
			var = reconstruction_points
			value = 1
		}
		custom_effect_tooltip = USA_reconstruction_add_1
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				AND = {
					has_government = social_egalitarianism
					is_historical_focus_on = no
				}
			}
			modifier = {
				factor = 100
				AND = {
					check_variable = { reconstruction_points < 70 }
					is_historical_focus_on = yes
				}
			}
		}
	}
	option = {
		name = usa.90.b
		add_political_power = -25
		random_owned_state = {
			limit = {
				industrial_complex > 0
				OR = {
					state = 362
					state = 363
					state = 364
					state = 365
					state = 366
					state = 367
					state = 368
					state = 370
					state = 371
					state = 372
					state = 375
				}
			}
			damage_building = {
				type = industrial_complex
				damage = 0.5
			}
		}
		subtract_from_variable = {
			var = reconstruction_points
			value = 1
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
		}
		custom_effect_tooltip = USA_reconstruction_remove_1
	}
	option = {
		name = usa.90.c
		random_owned_state = {
			limit = {
				industrial_complex > 0
				OR = {
					state = 362
					state = 363
					state = 364
					state = 365
					state = 366
					state = 367
					state = 368
					state = 370
					state = 371
					state = 372
					state = 375
				}
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		subtract_from_variable = {
			var = reconstruction_points
			value = 2
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
		custom_effect_tooltip = USA_reconstruction_remove_2
	}
}
country_event = {
	id = usa.319
	title = usa.319
	desc = usa.319
	hidden = yes
	picture = placeholder

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				check_variable = { reconstruction_points > 24 }
				has_country_flag = USA_first_kkk
			}
			country_event = usa.91
		}
		else_if = {
			limit = {
				has_country_flag = USA_first_kkk
			}
			country_event = {
				id = usa.319
				days = 35
			}
		}
	}
}
#KKK 'ghosts of Confederate soldiers'
country_event = {
	id = usa.91
	title = usa.91.t
	desc = usa.91.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.91.a
		add_to_variable = {
			var = reconstruction_points
			value = 2
		}
		add_political_power = -40
		custom_effect_tooltip = USA_reconstruction_add_2
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = social_egalitarianism
			}
		}
	}
	option = {
		name = usa.91.b
		add_political_power = -20
		ai_chance = {
			factor = 0
			modifier = {
				factor = 50
				has_government = centrism
			}
		}
	}
	option = {
		name = usa.91.c
		subtract_from_variable = {
			var = reconstruction_points
			value = 2
		}
		custom_effect_tooltip = USA_reconstruction_remove_2
		ai_chance = {
			factor = 0
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
	}
}
country_event = {
	id = usa.320
	title = usa.320.t
	desc = usa.320.desc
	hidden = yes
	picture = placeholder
	
	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				USA = {
					check_variable = { reconstruction_points > 24 }
				}
			}
			country_event = usa.92
		}
		else = {
			country_event = {
				id = usa.320
				days = 1
				random_days = 50
			}
		}
	}
}
#KKK attacks Loyal Leagues
country_event = {
	id = usa.92
	title = usa.92.t
	desc = usa.92.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.92.a
		add_to_variable = {
			var = reconstruction_points
			value = 3
		}
		add_manpower = -4000
		custom_effect_tooltip = USA_reconstruction_add_3
		ai_chance = {
			factor = 0
			modifier = {
				factor = 33
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = social_egalitarianism
			}
		}
	}
	option = {
		name = usa.92.b
		add_to_variable = {
			var = reconstruction_points
			value = 1
		}
		add_manpower = -2000
		custom_effect_tooltip = USA_reconstruction_add_1
		ai_chance = {
			factor = 0
			modifier = {
				factor = 66
				has_government = centrism
			}
		}
	}
	option = {
		name = usa.92.c
		subtract_from_variable = {
			var = reconstruction_points
			value = 3
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 10
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
		custom_effect_tooltip = USA_reconstruction_remove_3
	}
}
#Third Enforcement Act
country_event = {
	id = usa.93
	title = usa.93.t
	desc = usa.93.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.93.a
		add_to_variable = {
			var = reconstruction_points
			value = 5
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = -0.02
		}
		custom_effect_tooltip = USA_reconstruction_add_5
	}
}
#Southern Plantations don't pay black workers actual money
country_event = {
	id = usa.94
	title = usa.94.t
	desc = usa.94.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.94.a
		add_to_variable = {
			var = reconstruction_points
			value = 2
		}
		ai_chance = {
			factor = 0
			modifier = {
				factor = 10
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = social_egalitarianism
			}
		}
		custom_effect_tooltip = USA_reconstruction_add_2
		add_political_power = -40
	}
	option = {
		name = usa.94.b
		add_political_power = -20
		ai_chance = {
			factor = 0
			modifier = {
				factor = 70
				has_government = centrism
			}
		}
	}
	option = {
		name = usa.94.c
		subtract_from_variable = {
			var = reconstruction_points
			value = 2
		}
		custom_effect_tooltip = USA_reconstruction_remove_2
		remove_ideas = USA_black_wages
		ai_chance = {
			factor = 0
			modifier = {
				factor = 20
				has_government = centrism
			}
			modifier = {
				factor = 100
				has_government = traditional_conservatism
			}
		}
	}
}
#Reconstruction is Over
country_event = {
	id = usa.95
	title = usa.95.t
	desc = usa.95.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		hidden_effect = {
			set_variable = {
				var = USA_standard_oil_influence
				value = 47
			}
			set_variable = {
				var = USA_standard_oil_popularity
				value = 59
			}
			set_variable = {
				var = USA_standard_oil_opinion
				value = 50
			}
		}
		hidden_effect = {
			set_variable = {
				var = USA_steel_influence
				value = 43
			}
			set_variable = {
				var = USA_steel_popularity
				value = 64
			}
			set_variable = {
				var = USA_steel_opinion
				value = 50
			}
		}
	}

	option = {
		name = usa.95.a
		trigger = {
			check_variable = {
				reconstruction_points > 99
			}
		}
		swap_ideas = {
			remove_idea = limited_equality
			add_idea = full_equality
		}
		clr_country_flag = USA_enforcement_act
		set_global_flag = USA_gilded_age_ft
	}
	option = {
		name = usa.95.a
		trigger = {
			check_variable = {
				reconstruction_points < 100
			}
			check_variable = {
				reconstruction_points > 79
			}
		}
		clr_country_flag = USA_enforcement_act
		set_global_flag = USA_gilded_age_ft
		load_focus_tree = usa_gilded_age
	}
	option = {
		name = usa.95.a
		trigger = {
			check_variable = {
				reconstruction_points < 80
			}
			check_variable = {
				reconstruction_points > 19
			}
		}
		swap_ideas = {
			remove_idea = limited_equality
			add_idea = segregation
		}
		clr_country_flag = USA_enforcement_act
		set_global_flag = USA_gilded_age_ft
		load_focus_tree = usa_gilded_age
	}
	option = {
		name = usa.95.a
		trigger = {
			check_variable = {
				reconstruction_points < 20
			}
		}
		swap_ideas = {
			remove_idea = limited_equality
			add_idea = racial_laws
		}
		clr_country_flag = USA_enforcement_act
		set_global_flag = USA_gilded_age_ft
		load_focus_tree = usa_gilded_age
	}
}
##Norton Events##
#Districts
country_event = {
	id = usa.96
	title = usa.96.t
	desc = usa.96.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.96.a
		#swap_ideas = {
		#	remove_idea = lp_land_purchase
		#	add_idea = lp_land_estates
		#}
	}
	option = {
		name = usa.96.b
		add_political_power = 25
	}
}
#Religion
country_event = {
	id = usa.97
	title = usa.97.t
	desc = usa.97.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.97.a
		swap_ideas = {
			remove_idea = secular_state
			add_idea = state_religion
		}
	}
	option = {
		name = usa.97.b
		add_political_power = 25
	}
}
#Recognize Emperor Norton?
country_event = {
	id = usa.98
	title = usa.98.t
	desc = usa.98.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.98.a
		add_opinion_modifier = {
			target = USA
			modifier = usa_recognize_norton
		}
		reverse_add_opinion_modifier = {
			target = USA
			modifier = usa_recognize_norton
		}
	}
	option = {
		name = usa.98.b
		add_opinion_modifier = {
			target = USA
			modifier = usa_refuse_norton
		}
		reverse_add_opinion_modifier = {
			target = USA
			modifier = usa_refuse_norton
		}
	}
}
#Sending in National Guard
country_event = {
	id = usa.99
	title = usa.99.t
	desc = usa.99.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.99.a
		add_manpower = -5000
		add_political_power = -25
		subtract_from_variable = {
			var = USA_norton_rebels
			value = 1
		}
	}
	option = {
		name = usa.99.b
	}
}
#Norton Martial Law
country_event = {
	id = usa.100
	title = usa.100.t
	desc = usa.100.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.101.a
		add_ideas = USA_norton_martial_law
		subtract_from_variable = {
			var = USA_norton_rebels
			value = 1
		}
	}
	option = {
		name = usa.101.b
	}
}
#Sons of Liberty Investigation
country_event = {
	id = usa.101
	title = usa.101.t
	desc = usa.101.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.102.a
		add_stability = -0.05
		add_political_power = -25
		subtract_from_variable = {
			var = USA_norton_rebels
			value = 1
		}
	}
	option = {
		name = usa.102.b
	}
}
#Arrest Leaders
country_event = {
	id = usa.102
	title = usa.102.t
	desc = usa.102.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.102.a
		add_political_power = -75
		subtract_from_variable = {
			var = USA_norton_rebels
			value = 1
		}
	}
	option = {
		name = usa.102.b
	}
}
#Declare the Government
country_event = {
	id = usa.103
	title = usa.103.t
	desc = usa.103.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.103.a #Absolutism
		set_country_flag = USA_norton_absolute
	}
	option = {
		name = usa.103.b #Constitutional
		set_country_flag = USA_norton_constitutional
	}
	option = {
		name = usa.103.c #Parliament
		set_country_flag = USA_norton_parliament
	}
}

#Check for Liberal ideology changes

#Sons of Liberty Revolt
country_event = {
	id = usa.104
	title = usa.104.t
	desc = usa.104.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.104.a
		trigger = {
			has_completed_focus = USA_norton_promise_rights
		}
		start_civil_war = {
			ideology = ideology_social_liberalism
			size = 0.4
			capital = 1091
			states = {
			357 1031 958 358
			}
		}
		random_other_country = {
			limit = {
				original_tag = USA
				has_government = ideology_social_liberalism
			}
			create_country_leader = {
		name = "Ulysses S. Grant"
		desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
		picture = "Portrait_USA_Ulysses_grant.dds"
		expire = "1947.1.1"
		ideology = radical_liberal
	}
	set_stability = 0.9
	set_war_support = 0.9
	set_cosmetic_tag = USA_free_states_of_america
	every_state = {
		limit = {
		is_core_of = USA
		}
		add_core_of = PREV
	}
	add_equipment_to_stockpile = {
		type = infantry_equipment
		amount = 5500
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = uniform_equipment
		amount = 2500
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = cavalry_equipment
		amount = 500
		producer = USA
	}
		add_ideas = {
		#hos_is_leader
		victorian_era
		doctrine_victorian_army_1
		industrializing
		#non_monarchical_system
		#presidential_republic

		civilian_economy
		export_focus
		army_spending_level_2
		normal_taxes
		cl_restricted
		#twelve_hour_work_day

		#stagnation_growth
		border_control
		volunteer_only
		racial_laws
		universal_male_suffrage

		#constitution_adopted
		free_elections
		privileged_education
		state_religion
		#religion_protestant
	}
		}
	}
	option = {
		name = usa.104.a
		trigger = {
			has_variable = USA_norton_rebels
			check_variable = {
				var = USA_norton_rebels
				value = 4
				compare = equals
			}
		}
		start_civil_war = {
			ideology = ideology_social_liberalism
			size = 0.3
			capital = 1091
			states = {
				357 1031 958 358
			}
		}
		random_other_country = {
			limit = {
				original_tag = USA
				has_government = ideology_social_liberalism
			}
			create_country_leader = {
				name = "Ulysses S. Grant"
				desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
				picture = "Portrait_USA_Ulysses_grant.dds"
				expire = "1947.1.1"
				ideology = radical_liberal
			}
			set_stability = 0.9
			set_war_support = 0.9
			set_cosmetic_tag = USA_free_states_of_america
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 2500
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = uniform_equipment
				amount = 2500
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = cavalry_equipment
				amount = 500
				producer = USA
			}
			add_ideas = {
				#hos_is_leader
				victorian_era
				doctrine_victorian_army_1
				industrializing
				#non_monarchical_system
				#presidential_republic

				civilian_economy
				export_focus
				army_spending_level_2
				normal_taxes
				cl_restricted
				#twelve_hour_work_day

				#stagnation_growth
				border_control
				volunteer_only
				racial_laws
				universal_male_suffrage

				#constitution_adopted
				free_elections

				privileged_education
				state_religion
				#religion_protestant
			}
		}
	}
	option = {
		name = usa.104.a
		trigger = {
			has_variable = USA_norton_rebels
			check_variable = {
				var = USA_norton_rebels
				value = 3
				compare = equals
			}
		}
		start_civil_war = {
			ideology = ideology_social_liberalism
			size = 0.2
			capital = 1091
			states = {
				357 1031 958 358
			}
		}
		random_other_country = {
			limit = {
				original_tag = USA
				has_government = ideology_social_liberalism
			}
			create_country_leader = {
				name = "Ulysses S. Grant"
				desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
				picture = "Portrait_USA_Ulysses_grant.dds"
				expire = "1947.1.1"
				ideology = radical_liberal
			}
			set_stability = 0.9
			set_war_support = 0.9
			set_cosmetic_tag = USA_free_states_of_america
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 2500
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = uniform_equipment
				amount = 2500
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = cavalry_equipment
				amount = 500
				producer = USA
			}
			add_ideas = {
				#hos_is_leader
				victorian_era
				doctrine_victorian_army_1
				industrializing
				#non_monarchical_system
				#presidential_republic

				civilian_economy
				export_focus
				army_spending_level_2
				normal_taxes
				cl_restricted
				#twelve_hour_work_day

				#stagnation_growth
				border_control
				volunteer_only
				racial_laws
				universal_male_suffrage

				#constitution_adopted
				free_elections

				privileged_education
				state_religion
				#religion_protestant
			}
		}
	}
	option = {
		name = usa.104.a
		trigger = {
			has_variable = USA_norton_rebels
			check_variable = {
				var = USA_norton_rebels
				value = 2
				compare = equals
			}
		}
		start_civil_war = {
			ideology = ideology_social_liberalism
			size = 0.15
			capital = 1091
			states = {
				357 1031 958 358
			}
		}
		random_other_country = {
			limit = {
				original_tag = USA
				has_government = ideology_social_liberalism
			}
			create_country_leader = {
				name = "Ulysses S. Grant"
				desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
				picture = "Portrait_USA_Ulysses_grant.dds"
				expire = "1947.1.1"
				ideology = radical_liberal
			}
			set_stability = 0.9
			set_war_support = 0.9
			set_cosmetic_tag = USA_free_states_of_america
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 2500
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = uniform_equipment
				amount = 2500
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = cavalry_equipment
				amount = 500
				producer = USA
			}
			add_ideas = {
				#hos_is_leader
				victorian_era
				doctrine_victorian_army_1
				industrializing
				#non_monarchical_system
				#presidential_republic

				civilian_economy
				export_focus
				army_spending_level_2
				normal_taxes
				cl_restricted
				#twelve_hour_work_day

				#stagnation_growth
				border_control
				volunteer_only
				racial_laws
				universal_male_suffrage

				#constitution_adopted
				free_elections

				privileged_education
				state_religion
				#religion_protestant
			}
		}
	}
	option = {
		name = usa.104.a
		trigger = {
			has_variable = USA_norton_rebels
			check_variable = {
				var = USA_norton_rebels
				value = 1
				compare = equals
			}
		}
		start_civil_war = {
			ideology = ideology_social_liberalism
			size = 0.1
			capital = 1091
			states = {
				357 1031 958 358
			}
		}
		random_other_country = {
			limit = {
				original_tag = USA
				has_government = ideology_social_liberalism
			}
			create_country_leader = {
				name = "Ulysses S. Grant"
				desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
				picture = "Portrait_USA_Ulysses_grant.dds"
				expire = "1947.1.1"
				ideology = radical_liberal
			}
			set_stability = 0.9
			set_war_support = 0.9
			set_cosmetic_tag = USA_free_states_of_america
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 2500
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = uniform_equipment
				amount = 2500
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = cavalry_equipment
				amount = 500
				producer = USA
			}
			add_ideas = {
				#hos_is_leader
				victorian_era
				doctrine_victorian_army_1
				industrializing
				#non_monarchical_system
				#presidential_republic

				civilian_economy
				export_focus
				army_spending_level_2
				normal_taxes
				cl_restricted
				#twelve_hour_work_day

				#stagnation_growth
				border_control
				volunteer_only
				racial_laws
				universal_male_suffrage

				#constitution_adopted
				free_elections

				privileged_education
				state_religion
				#religion_protestant
			}
		}
	}
}
#West Virginia Ultimatum
country_event = {
	id = usa.105
	title = usa.105.t
	desc = usa.105.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.105.a
		ai_chance = {
			factor = 40
			modifier = {
				factor = 0.5
				strength_ratio = { tag = USA ratio > 1.5 }
			}
			modifier = {
				factor = 0.2
				strength_ratio = { tag = USA ratio > 3 }
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = USA ratio > 5 }
			}
		}
		USA = {
			set_country_flag = USA_CSA_westvirginia
			country_event = { id = usa.108 }
		}
	}
	option = {
		name = usa.105.b
		ai_chance = {
			factor = 60
			modifier = {
				factor = 0.5
				strength_ratio = { tag = USA ratio < 1 }
			}
			modifier = {
				factor = 0.2
				strength_ratio = { tag = USA ratio < 0.5 }
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = USA ratio < 0.2 }
			}
		}
		USA = {
			country_event = { id = usa.107 }
		}
	}
}
#Arizona Ultimatum
country_event = {
	id = usa.106
	title = usa.106.t
	desc = usa.106.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.106.a
		ai_chance = {
			factor = 40
			modifier = {
				factor = 0.5
				strength_ratio = { tag = USA ratio > 1.5 }
			}
			modifier = {
				factor = 0.2
				strength_ratio = { tag = USA ratio > 3 }
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = USA ratio > 5 }
			}
		}
		USA = {
			set_country_flag = USA_CSA_arizona
			country_event = { id = usa.108 }
		}
	}
	option = {
		name = usa.106.b
		ai_chance = {
			factor = 60
			modifier = {
				factor = 0.5
				strength_ratio = { tag = USA ratio < 1 }
			}
			modifier = {
				factor = 0.2
				strength_ratio = { tag = USA ratio < 0.5 }
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = USA ratio < 0.2 }
			}
		}
		USA = {
			country_event = { id = usa.107 }
		}
	}
}
#Ultimatum Refused
country_event = {
	id = usa.107
	title = usa.107.t
	desc = usa.107.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.107.a
		ai_chance = {
			factor = 90
		}
	}
	option = {
		name = usa.107.b
		ai_chance = {
			factor = 10
		}
		declare_war_on = {
			target = CSA
			type = annex_everything
		}
	}
}
#Ultimatum Accepted
country_event = {
	id = usa.108
	title = usa.108.t
	desc = usa.108.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.108.a
		if = {
			limit = {
				has_country_flag = USA_CSA_westvirginia
			}
			transfer_state = 746
			add_state_core = 746
		}
		if = {
			limit = {
				has_country_flag = USA_CSA_arizona
			}
			if = {
				limit = {
					CSA = { owns_state = 377 }
				}
				transfer_state = 377
			}
			if = {
				limit = {
					CSA = { owns_state = 1286 }
				}
				transfer_state = 1286
			}
		}
	}
}
country_event = { #Event check for Sam Houston Elected Governor of Texas
	id = usa.321
	title = usa.321.t
	desc = usa.321.desc
	hidden = yes
	picture = placeholder

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				USA = {
					OR = {
						owns_state = 375
					}
				}
			}
			country_event = usa.109
		}
		else = { }
	}
}
# Texas ACW Events #
#Sam Houston Elected Governor of Texas
country_event = {
	id = usa.109
	title = usa.109.t
	desc = usa.109.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		hidden_effect = {
			USA = {
				country_event = {
					id = usa.110
					days = 336
					random_days = 459
				}
			}
		}
	}

	option = {
		name = usa.109.a
		add_popularity = {
			ideology = radical_democracy
			popularity = 0.01
		}
		add_political_power = 25
		set_country_flag = USA_Houston_TX_Gov
	}
}
#Houston Campaigns for Unionism
country_event = {
	id = usa.110
	title = usa.110.t
	desc = usa.110.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.110.a
		add_political_power = 25
	}
	#option = {
	#	name = usa.110.b
	#	hidden_effect = { country_event = { id = usa.111 days = 10 } }
	#}
}
#Attempt to Convince Houston to Rise Up like a true Gamer
#country_event = {
#	id = usa.111
#	title = usa.111.t
#	desc = usa.111.d
#	picture = GFX_report_event_german_reichstag_gathering
#
#	is_triggered_only = yes
#
#	option = {
#		name = usa.111.a
#		hidden_effect = { country_event = { id = usa.113 days = 5 } }
#	}
#	option = {
#		name = usa.111.b
#		hidden_effect = { country_event = { id = usa.112 days = 5 } }
#	}
#}
#Fail to Convince Houston
#country_event = {
#	id = usa.112
#	title = usa.112.t
#	desc = usa.112.d
#	picture = GFX_report_event_german_reichstag_gathering
#
#	is_triggered_only = yes
#
#	option = {
#		name = usa.112.a
#	}
#}
#Negotiation with Houston
#country_event = {
#	id = usa.113
#	title = usa.113.t
#	desc = usa.113.d
#	picture = GFX_report_event_german_reichstag_gathering
#
#	is_triggered_only = yes
#
#	option = {
#		name = usa.113.a
#		hidden_effect = { country_event = { id = usa.112 days = 5 } }
#	}
#	option = {
#		name = usa.113.b
#		hidden_effect = { country_event = { id = usa.114 days = 5 } }
#	}
#}
#Plan of the Revolt
#country_event = {
#	id = usa.114
#	title = usa.114.t
#	desc = usa.114.d
#	picture = GFX_report_event_german_reichstag_gathering
#
#	is_triggered_only = yes
#
#	option = {
#		name = usa.114.a
#		hidden_effect = { country_event = { id = usa.112 days = 5 } }
#	}
#	option = {
#		name = usa.114.b
#		hidden_effect = { country_event = { id = usa.115 days = 5 } }
#	}
#	option = {
#		name = usa.114.c
#		hidden_effect = { country_event = { id = usa.112 days = 5 } }
#	}
#}
#Offering of Supplies?
#country_event = {
#	id = usa.115
#	title = usa.115.t
#	desc = usa.115.d
#	picture = GFX_report_event_german_reichstag_gathering
#
#	is_triggered_only = yes
#
#	option = {
#		name = usa.115.a
#		add_political_power = -50
#		hidden_effect = { country_event = { id = usa.116 days = 5 } }
#	}
#	option = {
#		name = usa.115.b
#		add_political_power = -25
#		hidden_effect = {
#			random_list = {
#				50 = {
#					country_event = { id = usa.112 days = 5 }
#				}
#				50 = {
#					country_event = { id = usa.116 days = 5 }
#				}
#			}
#		}
#	}
#	option = {
#		name = usa.115.c
#		hidden_effect = { country_event = { id = usa.112 days = 5 } }
#	}
#}
#Plan of the Revolt
#country_event = {
#	id = usa.116
#	title = usa.116.t
#	desc = usa.116.d
#	picture = GFX_report_event_german_reichstag_gathering
#
#	is_triggered_only = yes
#
#	option = {
#		name = usa.116.a
#		set_country_flag = USA_Houston_Revolt_Marked
#	}
#}
#Manhattan Commune MHC#
#Matters of the Rich Estates
country_event = {
	id = usa.117
	title = usa.117.t
	desc = usa.117.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.117.a
		add_popularity = {
			ideology = anarchism
			popularity = 0.02
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
	option = {
		name = usa.117.b
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.02
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
	option = {
		name = usa.117.c
		add_popularity = {
			ideology = ideology_radical_socialism
			popularity = 0.02
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
}
#Executive Power
country_event = {
	id = usa.118
	title = usa.118.t
	desc = usa.118.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.118.a
		add_popularity = {
			ideology = anarchism
			popularity = 0.02
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
	option = {
		name = usa.118.b
		add_popularity = {
			ideology = ideology_radical_socialism
			popularity = 0.02
		}
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.02
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
	option = {
		name = usa.118.c
		add_popularity = {
			ideology = ideology_radical_socialism
			popularity = 0.04
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
}
#Social Ideals
country_event = {
	id = usa.119
	title = usa.119.t
	desc = usa.119.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.119.a
		add_popularity = {
			ideology = anarchism
			popularity = 0.04
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
	option = {
		name = usa.119.b
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.04
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
	option = {
		name = usa.119.c
		add_popularity = {
			ideology = ideology_radical_socialism
			popularity = 0.04
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
	option = {
		name = usa.119.e
		add_popularity = {
			ideology = ideology_radical_socialism
			popularity = 0.06
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
}
#Political Parties Issue
country_event = {
	id = usa.120
	title = usa.120.t
	desc = usa.120.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.120.a
		add_popularity = {
			ideology = anarchism
			popularity = 0.03
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
	option = {
		name = usa.120.b
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.03
		}
		add_popularity = {
			ideology = ideology_radical_socialism
			popularity = 0.03
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
	option = {
		name = usa.120.c
		add_popularity = {
			ideology = ideology_radical_socialism
			popularity = 0.05
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
}
#Democratic Spirit
country_event = {
	id = usa.121
	title = usa.121.t
	desc = usa.121.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.121.a
		add_popularity = {
			ideology = ideology_radical_socialism
			popularity = -0.1
		}
		if = {
			limit = {
				has_completed_focus = USA_mhc_estates
				has_completed_focus = USA_mhc_executive
				has_completed_focus = USA_mhc_socialist_ideals
				has_completed_focus = USA_mhc_political_parties
				has_completed_focus = USA_mhc_democratic_spirit
			}
			country_event = { id = usa.122 }
		}
	}
	option = {
		name = usa.121.b
		add_popularity = {
			ideology = ideology_radical_socialism
			popularity = 0.1
		}
		hidden_effect = {
			if = {
				limit = {
					has_completed_focus = USA_mhc_estates
					has_completed_focus = USA_mhc_executive
					has_completed_focus = USA_mhc_socialist_ideals
					has_completed_focus = USA_mhc_political_parties
					has_completed_focus = USA_mhc_democratic_spirit
				}
				country_event = { id = usa.122 }
			}
		}
	}
}
#MHC Election
country_event = {
	id = usa.122
	title = usa.122.t
	desc = usa.122.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	immediate = {
		set_variable = {
			var = MHC_anarchism_points
			value = party_popularity@anarchism
		}
		set_variable = {
			var = MHC_social_points
			value = party_popularity@social_egalitarianism
		}
		set_variable = {
			var = MHC_radical_points
			value = party_popularity@ideology_radical_socialism
		}
	}

	option = {
		name = usa.122.a
		trigger = {
			OR = {
				check_variable = { MHC_anarchism_points > MHC_social_points }
				check_variable = { MHC_anarchism_points = MHC_social_points }
			}
			OR = {
				check_variable = { MHC_anarchism_points > MHC_radical_points }
				check_variable = { MHC_anarchism_points = MHC_radical_points }
			}
		}
		set_politics = {
			ruling_party = anarchism
			elections_allowed = yes
			election_frequency = 48
		}
		set_country_flag = USA_mhc_warren_flag
	}
	option = {
		name = usa.122.b
		trigger = {
			OR = {
				check_variable = { MHC_social_points > MHC_anarchism_points }
				check_variable = { MHC_social_points = MHC_anarchism_points }
			}
			OR = {
				check_variable = { MHC_social_points > MHC_radical_points }
				check_variable = { MHC_social_points = MHC_radical_points }
			}
		}
		set_politics = {
			ruling_party = social_egalitarianism
			elections_allowed = yes
			election_frequency = 48
		}
		set_country_flag = USA_mhc_uriah_flag
	}
	option = {
		name = usa.122.c
		trigger = {
			OR = {
				check_variable = { MHC_radical_points > MHC_anarchism_points }
				check_variable = { MHC_radical_points = MHC_anarchism_points }
			}
			OR = {
				check_variable = { MHC_radical_points > MHC_social_points }
				check_variable = { MHC_radical_points = MHC_social_points }
			}
		}
		set_politics = {
			ruling_party = ideology_radical_socialism
			elections_allowed = yes
			election_frequency = 48
		}
		set_country_flag = USA_mhc_sorge_flag
	}
}
#Marx Invited
country_event = {
	id = usa.123
	title = usa.123.t
	desc = usa.123.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.123.a
		add_political_power = 10
	}
	option = {
		name = usa.123.b
		trigger = {
			NOT = {
				any_other_country = {
					has_country_leader = {
						name = "Karl Marx"
						ruling_only = yes
					}
				}
			}
		}
		set_country_flag = USA_mhc_marx_leader
	}
}
#Stephen A. Douglas passes Popular Sovreignty
# country_event = {
# 	id = usa.143
# 	title = usa.143.t
# 	desc = usa.143.d
# 	picture = GFX_report_event_german_reichstag_gathering

# 	is_triggered_only = yes

# 	option = {
# 		name = usa.143.a
# 		add_stability = -0.05
# 		country_event = {
# 			id = usa.144
# 			days = 10
# 		}
# 	}
# }

#Stephen A. Douglas Plans the Tour
# country_event = {
# 	id = usa.144
# 	title = usa.144.t
# 	desc = usa.144.d
# 	picture = GFX_report_event_german_reichstag_gathering

# 	is_triggered_only = yes

# 	option = {
# 		name = usa.144.a
# 		country_event = {
# 			id = usa.124
# 			days = 10
# 		}
# 	}
# }

#Europe Colonizes former USA islands in pacific
country_event = {
	id = usa.145
	title = usa.145.t
	desc = usa.145.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.145.a
		trigger = {
			tag = ENG
		}
		transfer_state = 632
		transfer_state = 630
		transfer_state = 631
	}
	option = {
		name = usa.145.a
		trigger = {
			tag = FRA
		}
		transfer_state = 727
		transfer_state = 409
		transfer_state = 642
	}
	option = {
		name = usa.145.a
		trigger = {
			tag = RUS
		}
	}
}
#USA Purchase of Iceland/Greenland 1867
country_event = {
	id = usa.146
	title = usa.146.t
	desc = usa.146.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.146.a
		ai_chance = {
				factor = 70
				modifier = {
					factor = 0
				is_historical_focus_on = yes
			}
		}
		if = {
			limit = {
				any_country = {
					owns_state = 101
					NOT = { owns_state = 100}
				}
			}
			101 = {
				owner = { country_event = { id = usa.149 hours = 1 } }
			}
			100 = {
				owner = { country_event = { id = usa.150 hours = 1 } }
			}
			set_country_flag = USA_purchasing_greenland
			set_country_flag = USA_purchasing_iceland
		}
		else = {
			every_country = {
				limit = {
					owns_state = 101
					owns_state = 100
				}
				country_event = { id = usa.147 hours = 1 }
			}
		}
	}
	option = {
		name = usa.146.b
		ai_chance = {
				factor = 30
			}
	}
}
#USA Purchase FROM Response (BOTH)
country_event = {
	id = usa.147
	title = usa.147.t
	desc = usa.147.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.147.a
		ai_chance = {
				factor = 10
				modifier = {
					factor = 0
				is_historical_focus_on = yes
			}
		}
		random_owned_controlled_state = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		USA = {
			set_country_flag = USA_DEN_icebox_accept
			country_event = { id = usa.148 hours = 1 }
		}
	}
	option = {
		name = usa.147.b
		ai_chance = {
				factor = 40
				modifier = {
					factor = 0
				is_historical_focus_on = yes
			}
		}
		random_owned_controlled_state = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		USA = {
			set_country_flag = USA_DEN_icebox_greenland
			country_event = { id = usa.148 hours = 1 }
		}
	}
	option = {
		name = usa.147.c
		ai_chance = {
				factor = 50
				modifier = {
					factor = 100
				is_historical_focus_on = yes
			}
		}
		USA = {
			country_event = { id = usa.148 hours = 1 }
		}
	}
}
#USA Gets Response
country_event = {
	id = usa.148
	title = usa.148.t
	desc = usa.148.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.148.a
		trigger = {
			OR = {
				AND = {
					has_country_flag = USA_DEN_icebox_greenland
					has_country_flag = USA_DEN_icebox_iceland
				}
				has_country_flag = USA_DEN_icebox_accept
			}
		}
		set_global_flag = USA_DEN_sold_icegreen
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		USA = {
			transfer_state = 101
			transfer_state = 100
		}
		clr_country_flag = USA_DEN_icebox_accept
		news_event = { id = usa_news.25 }
	}
	option = {
		name = usa.148.b
		trigger = {
			has_country_flag = USA_DEN_icebox_greenland
			NOT = {
				has_country_flag = USA_DEN_icebox_iceland
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		USA = {
			transfer_state = 101
		}
		clr_country_flag = USA_DEN_icebox_greenland
		clr_country_flag = USA_purchasing_greenland
		hidden_effect = {
			if = {
				limit = {
					NOT = {
						OR = {
							has_country_flag = USA_purchasing_greenland
							has_country_flag = USA_purchasing_iceland
						}
					}
				}
				set_global_flag = USA_DEN_sold_green
				news_event = { id = usa_news.25 }
			}
		}
	}
	option = {
		name = usa.148.c
		trigger = {
			NOT = { has_country_flag = USA_DEN_icebox_accept }
			NOT = { has_country_flag = USA_DEN_icebox_greenland }
			NOT = { has_country_flag = USA_DEN_icebox_iceland }
		}
		add_political_power = -10
	}
	option = {
		name = usa.148.e
		trigger = {
			has_country_flag = USA_DEN_icebox_iceland
			NOT = {
				has_country_flag = USA_DEN_icebox_greenland
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = {
				industrial_complex > 0
			}
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		USA = {
			transfer_state = 100
		}
		clr_country_flag = USA_DEN_icebox_iceland
		clr_country_flag = USA_purchasing_iceland
		hidden_effect = {
			if = {
				limit = {
					NOT = {
						OR = {
							has_country_flag = USA_purchasing_greenland
							has_country_flag = USA_purchasing_iceland
						}
					}
				}
				set_global_flag = USA_DEN_sold_ice
				news_event = { id = usa_news.25 }
			}
		}
	}
}
#USA Purchase FROM Response (GREENLAND)
country_event = {
	id = usa.149
	title = usa.149.t
	desc = usa.149.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.149.a
		ai_chance = {
				factor = 50
				modifier = {
					factor = 0
				is_historical_focus_on = yes
			}
		}
		random_owned_controlled_state = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		USA = {
			set_country_flag = USA_DEN_icebox_greenland
			if = {
				limit = {
					OR = {
						NOT = {
							has_country_flag = USA_purchasing_iceland
						}
						has_country_flag = USA_DEN_icebox_iceland
					}
				}
				country_event = { id = usa.148 hours = 1 }
			}
		}
	}
	option = {
		name = usa.149.b
		ai_chance = {
				factor = 50
				modifier = {
					factor = 100
				is_historical_focus_on = yes
			}
		}
		USA = {
			clr_country_flag = USA_purchasing_greenland
			if = {
				limit = {
					OR = {
						NOT = {
							has_country_flag = USA_purchasing_iceland
						}
						has_country_flag = USA_DEN_icebox_iceland
					}
				}
				country_event = { id = usa.148 hours = 1 }
			}
		}
	}
}
#USA Purchase FROM Response (ICELAND)
country_event = {
	id = usa.150
	title = usa.150.t
	desc = usa.150.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.150.a
		ai_chance = {
				factor = 20
				modifier = {
					factor = 0
				is_historical_focus_on = yes
			}
		}
		random_owned_controlled_state = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		USA = {
			set_country_flag = USA_DEN_icebox_iceland
			if = {
				limit = {
					OR = {
						NOT = {
							has_country_flag = USA_purchasing_greenland
						}
						has_country_flag = USA_DEN_icebox_greenland
					}
				}
				country_event = { id = usa.148 hours = 1 }
			}
		}
	}
	option = {
		name = usa.150.b
		ai_chance = {
				factor = 80
				modifier = {
					factor = 100
				is_historical_focus_on = yes
			}
		}
		USA = {
			clr_country_flag = USA_purchasing_iceland
			if = {
				limit = {
					OR = {
						NOT = {
							has_country_flag = USA_purchasing_greenland
						}
						has_country_flag = USA_DEN_icebox_greenland
					}
				}
				country_event = { id = usa.148 hours = 1 }
			}
		}
	}
}
### Gilded Age Events ###
country_event = {
	id = usa.325
	title = usa.325.t
	desc = usa.325.desc
	hidden = yes
	picture = placeholder

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				has_global_flag = USA_gilded_age_ft
				OR = {
					check_variable = {
						var = USA_steel_opinion
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_opinion
						value = 40
						compare = less_than_or_equals
					}
				}
				OR = {
					AND = {
						date > 1876.1.1
						date < 1877.1.1
					}
					AND = {
						date > 1880.1.1
						date < 1881.1.1
					}
					AND = {
						date > 1884.1.1
						date < 1885.1.1
					}
					AND = {
						date > 1888.1.1
						date < 1889.1.1
					}
					AND = {
						date > 1892.1.1
						date < 1893.1.1
					}
					AND = {
						date > 1896.1.1
						date < 1897.1.1
					}
					AND = {
						date > 1900.1.1
						date < 1900.1.1
					}
				}
			}
			country_event = usa.151
		}
		else = {
			country_event = {
				id = usa.325
				days = 30
			}
		}
	}
}
country_event = {
	id = usa.326
	title = usa.326.t
	desc = usa.326.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.326.a
		add_state_core = 391
		transfer_state = 391
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.327
				days = 279
			}
		}
		MIN = {
			set_cosmetic_tag = MIN_unorganized_territory
		}
	}
}
country_event = {
	id = usa.327
	title = usa.327.t
	desc = usa.327.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.327.a
		add_state_core = 385
		transfer_state = 385
		WSH = {
			add_state_core = 387
			transfer_state = 387
			add_state_core = 1291
			transfer_state = 1291
			add_state_core = 1156
			transfer_state = 1156
			add_state_core = 381
			transfer_state = 381
		}
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.328
				days = 715
			}
		}
	}
}
country_event = {
	id = usa.328
	title = usa.328.t
	desc = usa.328.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.328.a
		add_state_core = 383
		transfer_state = 383
		add_state_core = 1052
		transfer_state = 1052
		MIN = {
			add_state_core = 1051
			transfer_state = 1051
		}
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.329
				days = 30
			}
		}
	}
}
country_event = {
	id = usa.329
	title = usa.329.t
	desc = usa.329.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.329.a
		puppet = BFT
		1092 = {
			transfer_state_to = BFT
		}
		1296 = {
			transfer_state_to = BFT
		}
		1051 = {
			transfer_state_to = BFT
		}
		1283 = {
			transfer_state_to = BFT
		}
		hidden_effect = {
			country_event = {
				id = usa.330
				days = 2
			}
		}
	}
}
country_event = {
	id = usa.330
	title = usa.330.t
	desc = usa.330.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.330.a
		MIN = {
			add_state_core = 1045
			transfer_state = 1045
			add_state_core = 1160
			transfer_state = 1160
			add_state_core = 1047
			transfer_state = 1047
			add_state_core = 388
			transfer_state = 388
			add_state_core = 1074
			transfer_state = 1074
		}
		DAK = {
			add_state_core = 381
			transfer_state = 381
			add_state_core = 258
			transfer_state = 258
		}
		puppet = NAV
		379 = {
			transfer_state_to = NAV
		}
		hidden_effect = {
			country_event = {
				id = usa.331
				days = 499
			}
		}
	}
}
country_event = {
	id = usa.331
	title = usa.331.t
	desc = usa.331.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.331.a
		NAV = {
			add_state_core = 382
			transfer_state = 382
		}
		hidden_effect = {
			country_event = {
				id = usa.332
				days = 225
			}
		}
	}
}
country_event = {
	id = usa.332
	title = usa.332.t
	desc = usa.332.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.332.a
		puppet = APA
		1093 = {
			transfer_state_to = APA
		}
		1297 = {
			transfer_state_to = APA
		}
		377 = {
			transfer_state_to = APA
		}
		hidden_effect = {
			country_event = {
				id = usa.333
				days = 7
			}
		}
	}
}
country_event = {
	id = usa.333
	title = usa.333.t
	desc = usa.333.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.333.a
		puppet = ASI
		1076 = {
			transfer_state_to = ASI
		}
		387 = {
			transfer_state_to = ASI
		}
		1074 = {
			transfer_state_to = ASI
		}
		388 = {
			transfer_state_to = ASI
		}
		1047 = {
			transfer_state_to = ASI
		}
		1291 = {
			transfer_state_to = ASI
		}
		381 = {
			transfer_state_to = ASI
		}
		258 = {
			transfer_state_to = ASI
		}
		1049 = {
			transfer_state_to = ASI
		}
		1156 = {
			transfer_state_to = ASI
		}
		1292 = {
			transfer_state_to = ASI
		}
		hidden_effect = {
			country_event = {
				id = usa.334
				days = 450
			}
		}
	}
}
country_event = {
	id = usa.334
	title = usa.334.t
	desc = usa.334.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.334.a
		puppet = TAF
		388 = {
			transfer_state_to = TAF
		}
		258 = {
			transfer_state_to = TAF
		}
		1292 = {
			transfer_state_to = TAF
		}
		MIN = {
			add_state_core = 1049
			transfer_state = 1049
			add_state_core = 258
			transfer_state = 258
			add_state_core = 381
			transfer_state = 381
			add_state_core = 1291
			transfer_state = 1291
			add_state_core = 1047
			transfer_state = 1047
		}
		hidden_effect = {
			country_event = {
				id = usa.335
				days = 158
			}
		}
	}
}
country_event = {
	id = usa.335
	title = usa.335.t
	desc = usa.335.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.335.a
		add_state_core = 379
		transfer_state = 379
		add_state_core = 382
		transfer_state = 382
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.336
				days = 551
			}
		}
	}
}
country_event = {
	id = usa.336
	title = usa.336.t
	desc = usa.336.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.336.a
		add_state_core = 1286
		transfer_state = 1286
		hidden_effect = {
			country_event = {
				id = usa.337
				days = 258
			}
		}
	}
}
country_event = {
	id = usa.337
	title = usa.337.t
	desc = usa.337.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.337.a
		add_state_core = 1093
		transfer_state = 1093
		hidden_effect = {
			country_event = {
				id = usa.338
				days = 42
			}
		}
	}
}
country_event = {
	id = usa.338
	title = usa.338.t
	desc = usa.338.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.338.a
		add_state_core = 384
		transfer_state = 384
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.340
				days = 512
			}
		}
	}
}
#	country_event = {
#		id = usa.339
#		title = usa.339.t
#		desc = usa.339.desc
#		picture = placeholder
#	
#		is_triggered_only = yes
#	
#		option = {
#			name = usa.339.a
#		}
#	}
country_event = {
	id = usa.340
	title = usa.340.t
	desc = usa.340.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.340.a
		puppet = SHO
		1291 = {
			transfer_state_to = SHO
		}
		1047 = {
			transfer_state_to = SHO
		}
		1048 = {
			transfer_state_to = SHO
		}
		381 = {
			transfer_state_to = SHO
		}
		258 = {
			transfer_state_to = SHO
		}
		1049 = {
			transfer_state_to = SHO
		}
		1156 = {
			transfer_state_to = SHO
		}
		hidden_effect = {
			country_event = {
				id = usa.357
				days = 2929
			}
		}
	}
}
country_event = {
	id = usa.357
	title = usa.357.t
	desc = usa.357.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.357.a
		add_state_core = 1092
		transfer_state = 1092
		add_state_core = 1296
		transfer_state = 1296
		add_state_core = 1051
		transfer_state = 1051
		add_state_core = 1283
		transfer_state = 1283
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.358
				days = 4841
			}
		}
	}
}
country_event = {
	id = usa.358
	title = usa.358.t
	desc = usa.358.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.358.a
		add_state_core = 1160
		transfer_state = 1160
		add_state_core = 389
		transfer_state = 389
		add_state_core = 1045
		transfer_state = 1045
		add_state_core = 390
		transfer_state = 390
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.359
				days = 6
			}
		}
	}
}
country_event = {
	id = usa.359
	title = usa.359.t
	desc = usa.359.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.359.a
		add_state_core = 388
		transfer_state = 388
		add_state_core = 1292
		transfer_state = 1292
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.360
				days = 3
			}
		}
	}
}
country_event = {
	id = usa.360
	title = usa.360.t
	desc = usa.360.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.360.a
		add_state_core = 386
		transfer_state = 386
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.361
				days = 172
			}
		}
	}
}
country_event = {
	id = usa.361
	title = usa.361.t
	desc = usa.361.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.361.a
		CIM = {
			add_state_core = 374
			transfer_state = 374
			add_state_core = 1279
			transfer_state = 1279
		}
		hidden_effect = {
			country_event = {
				id = usa.362
				days = 62
			}
		}
	}
}
country_event = {
	id = usa.362
	title = usa.362.t
	desc = usa.362.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.362.a
			add_state_core = 387
			transfer_state = 387
			add_state_core = 1074
			transfer_state = 1074
			add_state_core = 1076
			transfer_state = 1076
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.363
				days = 7
			}
		}
	}
}
country_event = {
	id = usa.363
	title = usa.363.t
	desc = usa.363.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.363.a
			add_state_core = 1047
			transfer_state = 1047
			add_state_core = 1156
			transfer_state = 1156
			add_state_core = 1048
			transfer_state = 1048
			add_state_core = 1291
			transfer_state = 1291
			add_state_core = 381
			transfer_state = 381
			add_state_core = 1049
			transfer_state = 1049
			add_state_core = 258
			transfer_state = 258
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.364
				days = 1164
			}
		}
	}
}
country_event = {
	id = usa.364
	title = usa.364.t
	desc = usa.364.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.364.a
		CIM = {
			add_state_core = 1285
			transfer_state = 1285
		}
		hidden_effect = {
			country_event = {
				id = usa.365
				days = 840
			}
		}
	}
}
country_event = {
	id = usa.365
	title = usa.365.t
	desc = usa.365.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.365.a
			add_state_core = 380
			transfer_state = 380
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.366
				days = 4333
			}
		}
	}
}
country_event = {
	id = usa.366
	title = usa.366.t
	desc = usa.366.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.366.a
			add_state_core = 1288
			transfer_state = 1288
			add_state_core = 374
			transfer_state = 374
			add_state_core = 1279
			transfer_state = 1279
			add_state_core = 1285
			transfer_state = 1285
			add_state_core = 1293
			transfer_state = 1293
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.367
				days = 1512
			}
		}
	}
}
country_event = {
	id = usa.367
	title = usa.367.t
	desc = usa.367.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.367.a
			add_state_core = 1262
			transfer_state = 1262
			add_state_core = 1301
			transfer_state = 1301
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
			country_event = {
				id = usa.368
				days = 39
			}
		}
	}
}
country_event = {
	id = usa.368
	title = usa.368.t
	desc = usa.368.desc
	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.368.a
			add_state_core = 1297
			transfer_state = 1297
			add_state_core = 377
			transfer_state = 377
		hidden_effect = {
			set_country_flag = USA_Add_State_Manual_Flag
		}
	}
}
#Captians of Industry events
country_event = {
	id = usa.151
	title = usa.151.t
	desc = usa.151.d
	picture = GFX_report_event_german_reichstag_gathering

	trigger = {########### this should be triggered differently
		has_global_flag = USA_gilded_age_ft
		tag = USA
		OR = {
			check_variable = {
				var = USA_steel_opinion
				value = 40
				compare = less_than_or_equals
			}
			check_variable = {
				var = USA_standard_oil_opinion
				value = 40
				compare = less_than_or_equals
			}
		}
		OR = {
			AND = {
				date > 1876.1.1
				date < 1877.1.1
			}
			AND = {
				date > 1880.1.1
				date < 1881.1.1
			}
			AND = {
				date > 1884.1.1
				date < 1885.1.1
			}
			AND = {
				date > 1888.1.1
				date < 1889.1.1
			}
			AND = {
				date > 1892.1.1
				date < 1893.1.1
			}
			AND = {
				date > 1896.1.1
				date < 1897.1.1
			}
			AND = {
				date > 1900.1.1
				date < 1900.1.1
			}
		}
	}

	mean_time_to_happen = {
		days = 150
		modifier = {
			factor = 0.75
			OR = {
				check_variable = {
					var = USA_steel_opinion
					value = 30
					compare = less_than_or_equals
				}
				check_variable = {
					var = USA_standard_oil_opinion
					value = 30
					compare = less_than_or_equals
				}
			}
		}
		modifier = {
			factor = 0.5
			AND = {
				check_variable = {
					var = USA_steel_opinion
					value = 30
					compare = less_than_or_equals
				}
				check_variable = {
					var = USA_standard_oil_opinion
					value = 30
					compare = less_than_or_equals
				}
			}
		}
	}

	option = {
		name = usa.151.a
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_steel_opinion
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 20
						compare = less_than_or_equals
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = -0.01
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = -0.01
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = -0.01
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = -0.01
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_steel_opinion
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 20
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = -0.02
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = -0.02
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = -0.02
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = -0.02
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_steel_opinion
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 60
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 40
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = -0.03
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = -0.03
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = -0.03
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = -0.03
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_steel_opinion
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 80
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 60
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = -0.04
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = -0.04
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = -0.04
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = -0.04
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_steel_opinion
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 100
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 80
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = -0.05
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = -0.05
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = -0.05
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = -0.05
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_standard_oil_opinion
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 20
						compare = less_than_or_equals
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = -0.01
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = -0.01
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = -0.01
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = -0.01
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_standard_oil_opinion
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 20
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = -0.02
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = -0.02
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = -0.02
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = -0.02
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_standard_oil_opinion
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 60
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 40
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = -0.03
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = -0.03
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = -0.03
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = -0.03
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_standard_oil_opinion
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 80
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 60
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = -0.04
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = -0.04
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = -0.04
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = -0.04
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_standard_oil_opinion
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 100
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 80
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = -0.05
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = -0.05
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = -0.05
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = -0.05
				}
			}
		}
	}
}
country_event = { #Recurring Event Check for Person dies from conditions
	id = usa.322
	title = usa.322.t
	desc = usa.322.desc
	hidden = yes
	picture = placeholder

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				USA = {
					#NOT = {
					#	has_idea = eight_hour_work_day
					#}
					has_idea = cl_illegal
				}
			}
			country_event = usa.152
			country_event = {
				id = usa.322
				days = 30
			}
		}
		else_if = {
			limit = {
				USA = {
					NOT = {
						has_idea = cl_illegal
					}
					#has_idea = eight_hour_work_day
				}
			}
			country_event = usa.153
			country_event = {
				id = usa.322
				days = 30
			}
		}
		else_if = {
			limit = {
				USA = {
					NOT = {
						has_idea = cl_illegal
						#has_idea = eight_hour_work_day
					}
				}
			}
			random_list = {
				50 = {
					country_event = usa.152
				}
				50 = {
					country_event = usa.153
				}
			}
			country_event = {
				id = usa.322
				days = 30
			}
		}
		else_if = {
			limit = {
				USA = {
					has_idea = cl_illegal
					#has_idea = eight_hour_work_day
				}
			}
		}
		else = {
			country_event = {
				id = usa.322
				days = 30
			}
		}
	}
}
#Person dies from conditions
country_event = {
	id = usa.152
	title = usa.152.t
	desc = usa.152.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			random_owned_controlled_state = {
				limit = {
					is_core_of = USA
				}
				save_event_target_as = USA_gilded_facdeath_state
			}
		}
	}

	option = {
		name = usa.152.a
		ai_chance = {
			factor = 60
		}
		add_to_variable = {
			var = USA_steel_opinion
			value = 2
		}
		clamp_variable = {
			var = USA_steel_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_increase_opinion_steel_2
		add_to_variable = {
			var = USA_standard_oil_opinion
			value = 2
		}
		clamp_variable = {
			var = USA_steel_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_increase_opinion_oil_2
		add_political_power = 25
		clear_global_event_target = USA_gilded_facdeath_state
	}
	option = {
		name = usa.152.b
		ai_chance = {
			factor = 40
		}
		subtract_from_variable = {
			var = USA_steel_opinion
			value = 2
		}
		clamp_variable = {
			var = USA_steel_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_opinion_steel_2
		subtract_from_variable = {
			var = USA_standard_oil_opinion
			value = 2
		}
		clamp_variable = {
			var = USA_standard_oil_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_opinion_oil_2
		subtract_from_variable = {
			var = USA_steel_popularity
			value = 2
		}
		clamp_variable = {
			var = USA_steel_popularity
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_popularity_steel_2
		subtract_from_variable = {
			var = USA_standard_oil_popularity
			value = 2
		}
		clamp_variable = {
			var = USA_standard_oil_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_popularity_oil_2
		clear_global_event_target = USA_gilded_facdeath_state
	}
}
#Child Labor problems
country_event = {
	id = usa.153
	title = usa.153.t
	desc = usa.153.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			random_owned_controlled_state = {
				limit = {
					is_core_of = USA
				}
				save_event_target_as = USA_gilded_childlab_state
			}
		}
	}

	option = {
		name = usa.153.a
		ai_chance = {
			factor = 60
		}
		add_to_variable = {
			var = USA_steel_opinion
			value = 2
		}
		clamp_variable = {
			var = USA_steel_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_increase_opinion_steel_2
		add_to_variable = {
			var = USA_standard_oil_opinion
			value = 2
		}
		clamp_variable = {
			var = USA_standard_oil_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_increase_opinion_oil_2
		add_stability = -0.02
		clear_global_event_target = USA_gilded_childlab_state
	}
	option = {
		name = usa.153.b
		ai_chance = {
			factor = 40
		}
		subtract_from_variable = {
			var = USA_steel_opinion
			value = 2
		}
		clamp_variable = {
			var = USA_steel_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_opinion_steel_2
		subtract_from_variable = {
			var = USA_standard_oil_opinion
			value = 2
		}
		clamp_variable = {
			var = USA_standard_oil_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_opinion_oil_2
		subtract_from_variable = {
			var = USA_steel_popularity
			value = 2
		}
		clamp_variable = {
			var = USA_steel_popularity
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_popularity_steel_2
		subtract_from_variable = {
			var = USA_standard_oil_popularity
			value = 2
		}
		clamp_variable = {
			var = USA_standard_oil_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_popularity_oil_2
		clear_global_event_target = USA_gilded_childlab_state
	}
}
country_event = {
	id = usa.323
	title = usa.323.t
	desc =  usa.323.desc
	picture = placeholder
	hidden = yes

	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				has_global_flag = USA_gilded_age_ft
				OR = {
					check_variable = {
						var = USA_steel_opinion
						value = 60
						compare = greater_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_opinion
						value = 60
						compare = greater_than_or_equals
					}
				}
				OR = {
					AND = {
						date > 1876.1.1
						date < 1877.1.1
					}
					AND = {
						date > 1880.1.1
						date < 1881.1.1
					}
					AND = {
						date > 1884.1.1
						date < 1885.1.1
					}
					AND = {
						date > 1888.1.1
						date < 1889.1.1
					}
					AND = {
						date > 1892.1.1
						date < 1893.1.1
					}
					AND = {
						date > 1896.1.1
						date < 1897.1.1
					}
					AND = {
						date > 1900.1.1
						date < 1900.1.1
					}
				}
			}
			country_event = {
				id = usa.154
				days = 30
				random_days = 90
			}
		}
		else = {
			country_event = {
				id = usa.323
				days = 15
			}
		}
	}
}
country_event = {
	id = usa.154
	title = usa.154.t
	desc = usa.154.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.154.a
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_steel_opinion
						value = 60
						compare = greater_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 20
						compare = less_than_or_equals
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.01
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = 0.01
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = 0.01
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = 0.01
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_steel_opinion
						value = 60
						compare = greater_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 20
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.02
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = 0.02
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = 0.02
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = 0.02
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_steel_opinion
						value = 60
						compare = greater_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 60
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 40
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.03
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = 0.03
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = 0.03
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = 0.03
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_steel_opinion
						value = 60
						compare = greater_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 80
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 60
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.04
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = 0.04
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = 0.04
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = 0.04
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_steel_opinion
						value = 60
						compare = greater_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 100
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_steel_influence
						value = 80
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.05
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = 0.05
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = 0.05
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = 0.05
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_standard_oil_opinion
						value = 60
						compare = greater_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 20
						compare = less_than_or_equals
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.01
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = 0.01
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = 0.01
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = 0.01
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_standard_oil_opinion
						value = 60
						compare = greater_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 40
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 20
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.02
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = 0.02
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = 0.02
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = 0.02
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_standard_oil_opinion
						value = 60
						compare = greater_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 60
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 40
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.03
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = 0.03
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = 0.03
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = 0.03
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_standard_oil_opinion
						value = 60
						compare = greater_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 80
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 60
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.04
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = 0.04
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = 0.04
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = 0.04
				}
			}
		}
		if = {
			limit = {
				AND = {
					check_variable = {
						var = USA_standard_oil_opinion
						value = 60
						compare = greater_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 100
						compare = less_than_or_equals
					}
					check_variable = {
						var = USA_standard_oil_influence
						value = 80
						compare = greater_than
					}
				}
			}
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.05
				}
			}
			else_if = {
				limit = {
					has_government = centrism
				}
				add_popularity = {
					ideology = centrism
					popularity = 0.05
				}
			}
			else_if = {
				limit = {
					has_government = social_egalitarianism
				}
				add_popularity = {
					ideology = social_egalitarianism
					popularity = 0.05
				}
			}
			else_if = {
				limit = {
					has_government = radical_democracy
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = 0.05
				}
			}
		}
	}
}
#Conflict between the two monopolies
country_event = {
	id = usa.155
	title = usa.155.t
	desc = usa.155.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.155.a
		add_to_variable = {
			var = USA_steel_opinion
			value = 2
		}
		clamp_variable = {
			var = USA_steel_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_increase_opinion_steel_2
		subtract_from_variable = {
			var = USA_standard_oil_opinion
			value = 2
		}
		clamp_variable = {
			var = USA_steel_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_opinion_oil_2
	}
	option = {
		name = usa.155.b
		subtract_from_variable = {
			var = USA_steel_opinion
			value = 2
		}
		clamp_variable = {
			var = USA_steel_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_opinion_steel_2
		add_to_variable = {
			var = USA_standard_oil_opinion
			value = 2
		}
		clamp_variable = {
			var = USA_standard_oil_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_increase_opinion_oil_2
	}
	option = {
		name = usa.155.c
	}
}
country_event = {
	id = usa.324
	title = usa.324.t
	desc = usa.324.desc
	hidden = yes
	picture = placeholder
	
	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				has_global_flag = USA_gilded_age_ft
				OR = {
					check_variable = {
						var = USA_steel_popularity
						value = 40
						compare = less_than
					}
					check_variable = {
						var = USA_standard_oil_popularity
						value = 40
						compare = less_than
					}
				}
			}
			country_event = usa.156
		}
		else_if = {
			limit = { NOT = { has_global_flag = USA_gilded_age_ft } }
		}
		else = {
			country_event = {
				id = usa.324
				days = 30
			}
		}
	}
}
#Strike at a Factory
country_event = {
	id = usa.156
	title = usa.156.t
	desc = usa.156.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			random_owned_controlled_state = {
				limit = {
					is_core_of = USA
				}
				save_event_target_as = USA_gilded_strike_state
			}
			country_event = {
				id = usa.324
				days = 1
				random_days = 500
			}
		}
	}

	#mean_time_to_happen = {
	#	days = 500
	#	modifier = {
	#		factor = 0.75
	#		AND = {
	#			check_variable = {
	#				var = USA_steel_popularity
	#				value = 40
	#				compare = less_than
	#	#		}
	#			check_variable = {
	#				var = USA_standard_oil_popularity
	#				value = 40
	#				compare = less_than
	#			}
	#		}
	#	}
	#}

	option = {
		name = usa.156.a
		subtract_from_variable = {
			var = USA_steel_opinion
			value = 4
		}
		clamp_variable = {
			var = USA_steel_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_opinion_steel_4
		subtract_from_variable = {
			var = USA_standard_oil_opinion
			value = 4
		}
		clamp_variable = {
			var = USA_standard_oil_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_opinion_oil_4
		subtract_from_variable = {
			var = USA_standard_oil_influence
			value = 3
		}
		clamp_variable = {
			var = USA_standard_oil_influence
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_decrease_influence_oil_3
		subtract_from_variable = {
			var = USA_steel_influence
			value = 3
		}
		clamp_variable = {
			var = USA_steel_influence
			min = 0
			max = 100
		}
		clear_global_event_target = USA_gilded_strike_state
		custom_effect_tooltip = USA_decrease_influence_steel_3
	}
	option = {
		name = usa.156.b
		add_to_variable = {
			var = USA_steel_opinion
			value = 4
		}
		clamp_variable = {
			var = USA_steel_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_increase_opinion_steel_4
		add_to_variable = {
			var = USA_standard_oil_opinion
			value = 4
		}
		clamp_variable = {
			var = USA_standard_oil_opinion
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_increase_opinion_oil_4
		add_to_variable = {
			var = USA_standard_oil_influence
			value = 3
		}
		clamp_variable = {
			var = USA_standard_oil_influence
			min = 0
			max = 100
		}
		custom_effect_tooltip = USA_increase_influence_oil_3
		add_to_variable = {
			var = USA_steel_influence
			value = 3
		}
		clamp_variable = {
			var = USA_steel_influence
			min = 0
			max = 100
		}
		clear_global_event_target = USA_gilded_strike_state
		custom_effect_tooltip = USA_increase_influence_steel_3
	}
}
### Spanish American War ###
#USS Maine Explodes
country_event = {
	id = usa.157
	title = usa.157.t
	desc = usa.157.d
	picture = GFX_report_event_german_reichstag_gathering

	trigger = {########### this should be triggered differently
		tag = USA
		USA = {
			OR = {
				owns_state = 378
				owns_state = 385
				owns_state = 386
			}
			OR = {
				owns_state = 366
				owns_state = 371
				owns_state = 362
				owns_state = 358
				owns_state = 357
			}
		}
		315 = {
			OR = {
				is_owned_by = SPR
				owner = {
					is_puppet_of = SPR
				}
				owner = {
					is_subject_of = SPR
				}
			}
		}
		date > 1898.1.1
		date < 1900.1.1
	}
	immediate={
		set_global_flag = USS_maine_exploded
	}

	fire_only_once = yes

	mean_time_to_happen = {
		days = 40
	}

	option = {
		name = usa.157.a
		ai_chance = {
			factor = 95
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				strength_ratio = {
					tag = SPR
					ratio < 0.5
				}
			}
		}
		hidden_effect = {
			SPR = {
				country_event = {
					id = usa.158
					days = 60
				}
			}
			set_country_flag = blame_maine_on_spain
			news_event = {
				id = usa_news.26
			}
		}
		add_war_support = 0.1
	}
	option = {
		name = usa.157.b
		ai_chance = {
			factor = 5
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 100
				strength_ratio = {
					tag = SPR
					ratio < 0.5
				}
			}
		}
	}
}
#US Ultimatum
country_event = {
	id = usa.158
	title = usa.158.t
	desc = usa.158.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.158.a
		ai_chance = {
			factor = 75
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		USA = {
			country_event = {
				id = usa.159
				days = 1
			}
		}
	}
	option = {
		name = usa.158.b
		ai_chance = {
			factor = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		USA = {
			transfer_state = 315
			transfer_state = 1350
			if = {
				limit = {
					1022 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 1022
			}
			if = {
				limit = {
					686 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 686
			}
			if = {
				limit = {
					319 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 319
			}
			if = {
				limit = {
					1318 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 1318
			}
			if = {
				limit = {
					1319 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 1319
			}
			if = {
				limit = {
					638 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 638
			}
			if = {
				limit = {
					1022 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 1022
			}
			if = {
				limit = {
					627 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 627
			}
			if = {
				limit = {
					628 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 628
			}
			if = {
				limit = {
					625 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 625
			}
			if = {
				limit = {
					624 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 624
			}
			if = {
				limit = {
					327 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 327
			}
			if = {
				limit = {
					623 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 623
			}
			if = {
				limit = {
					626 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 626
			}
		}
	}
}
#War Declared
country_event = {
	id = usa.159
	title = usa.159.t
	desc = usa.159.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.159.a
		ai_chance = {
			factor = 100
		}
		declare_war_on = {
			target = SPR
			type = annex_everything
		}
		news_event = { id = usa_news.27 }
		set_global_flag = Spanish_American_War_Occured
	}
	option = {
		name = usa.159.b
		ai_chance = {
			factor = 0
		}
		add_political_power = -100
		add_stability = -0.05
		add_war_support = 0.05
	}
}
#Victory for USA, send peace?
country_event = {
	id = usa.160
	title = usa.160.t
	desc = usa.160.d
	picture = GFX_report_event_german_reichstag_gathering

	trigger = {########### this should be triggered differently
		tag = USA
		AND = {
			controls_state = 1022
			controls_state = 327
		}
		has_war_with = SPR
		has_global_flag = Spanish_American_War_Occured
	}

	fire_only_once = yes

	option = {
		name = usa.160.a
		ai_chance = {
			factor = 100
		}
		SPR = {
			country_event = {
				id = usa.161
				days = 1
			}
		}
	}
	option = {
		name = usa.160.b
		ai_chance = {
			factor = 0
		}
		add_political_power = -50
		add_stability = -0.05
		add_war_support = -0.1
	}
}
#Spain receives Peace Treaty
country_event = {
	id = usa.161
	title = usa.161.t
	desc = usa.161.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.161.a
		ai_chance = {
			factor = 100
		}
		USA = {
			white_peace = SPR
			transfer_state = 315
			transfer_state = 1350
			if = {
				limit = {
					1022 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 1022
			}
			if = {
				limit = {
					686 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 686
			}
			if = {
				limit = {
					319 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 319
			}
			if = {
				limit = {
					1318 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 1318
			}
			if = {
				limit = {
					1319 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 1319
			}
			if = {
				limit = {
					638 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 638
			}
			if = {
				limit = {
					1022 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 1022
			}
			if = {
				limit = {
					627 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 627
			}
			if = {
				limit = {
					628 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 628
			}
			if = {
				limit = {
					625 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 625
			}
			if = {
				limit = {
					624 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 624
			}
			if = {
				limit = {
					327 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 327
			}
			if = {
				limit = {
					623 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 623
			}
			if = {
				limit = {
					626 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 626
			}
		}
	}
	option = {
		name = usa.161.b
		ai_chance = {
			factor = 0
		}
		add_political_power = -100
		add_stability = -0.1
		add_war_support = -0.1
	}
}
#Forced Peace Treaty
country_event = {
	id = usa.162
	title = usa.162.t
	desc = usa.162.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.162.a
		ai_chance = {
			factor = 100
		}
		add_political_power = -100
		add_stability = -0.1
		add_war_support = -0.1
		USA = {
			white_peace = SPR
			transfer_state = 315
			if = {
				limit = {
					1022 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 1022
			}
			if = {
				limit = {
					686 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 686
			}
			if = {
				limit = {
					319 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 319
			}
			if = {
				limit = {
					1318 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 1318
			}
			if = {
				limit = {
					1319 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 1319
			}
			if = {
				limit = {
					638 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 638
			}
			if = {
				limit = {
					1022 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 1022
			}
			if = {
				limit = {
					627 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 627
			}
			if = {
				limit = {
					628 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 628
			}
			if = {
				limit = {
					625 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 625
			}
			if = {
				limit = {
					624 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 624
			}
			if = {
				limit = {
					327 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 327
			}
			if = {
				limit = {
					623 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 623
			}
			if = {
				limit = {
					626 = {
						OR = {
							is_owned_by = SPR
							owner = {
								is_puppet_of = SPR
							}
							owner = {
								is_subject_of = SPR
							}
						}
					}
				}
				transfer_state = 626
			}
		}
	}
}
#Victory for Spain, send peace?
country_event = {
	id = usa.163
	title = usa.163.t
	desc = usa.163.d
	picture = GFX_report_event_german_reichstag_gathering

	trigger = {########### this should be triggered differently
		tag = SPR
		date > 1900.1.1
		surrender_progress < 0.01
		has_war_with = USA
		has_global_flag = Spanish_American_War_Occured
	}

	fire_only_once = yes

	option = {
		name = usa.163.a
		ai_chance = {
			factor = 100
		}
		USA = {
			country_event = {
				id = usa.164
				days = 1
			}
		}
	}
	option = {
		name = usa.163.b
		ai_chance = {
			factor = 0
		}
	}
}
#Spain forces US to peace
country_event = {
	id = usa.164
	title = usa.164.t
	desc = usa.164.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.164.a
		ai_chance = {
			factor = 100
		}
		USA = {
			white_peace = SPR
		}
	}
	option = {
		name = usa.164.b
		ai_chance = {
			factor = 0
		}
		add_stability = -0.1
		add_war_support = -0.1
		add_political_power = -100
	}
}
#US Requests Peace
country_event = {
	id = usa.165
	title = usa.165.t
	desc = usa.165.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = usa.165.a
		ai_chance = {
			factor = 100
		}
		USA = {
			white_peace = SPR
		}
	}
	option = {
		name = usa.165.b
		ai_chance = {
			factor = 0
		}
	}
}
#Statue of Liberty
country_event = {
	id = usa.166
	title = usa.166.t
	desc = usa.166.d
	picture = GFX_report_event_german_reichstag_gathering

	# trigger = {
	# 	tag = USA
	# 	has_elections = yes #######This will never fire as we have diabled elections for the US because code is not dynamic enough
	#to handle US elections. By dint this event serves only to lag the game and needs fixing. Also this should be a french controlled
	#event
	# 	date > 1885.1.1
	# 	date < 1895.1.1
	# }
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = usa.166.a
		add_political_power = 50
		add_stability = 0.05
		set_country_flag = USA_statue_of_liberty
	}
}
#The Annexation of Santo Domingo
country_event = {
	id = usa.167
	title = usa.167.t
	desc = usa.167.d
	picture = GFX_santo_domingo

	fire_only_once = yes

	trigger = {########### this should be triggered differently
		tag = USA
		date > 1869.01.01
		date < 1872.12.31
	}

	option = { #Annex
		name = usa.167.a
		ai_chance = {
			factor = 20
			modifier = {
				has_government = social_egalitarianism
				factor = 80
			}
		}
		add_political_power = -200
		annex_country = {
			target = DOM
		}
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.04
		}
		add_popularity = {
			ideology = centrism
			popularity = -0.02
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = -0.04
		}
		add_to_variable = {
			var = reconstruction_points
			value = 4
		}
		custom_effect_tooltip = USA_reconstruction_add_4
	}
	option = { #Sphere of Inf
		name = usa.167.b
		ai_chance = {
			factor = 20
		}
		add_political_power = -100
		puppet = DOM
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.02
		}
		add_popularity = {
			ideology = centrism
			popularity = 0.02
		}
		add_to_variable = {
			var = reconstruction_points
			value = 2
		}
		custom_effect_tooltip = USA_reconstruction_add_2
	}
	option = { # Refuse (Historical)
		name = usa.167.c
		ai_chance = {
			factor = 60
			modifier = {
				is_historical_focus_on = yes
				factor = 100
			}
		}
		add_political_power = 50
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.04
		}
		add_popularity = {
			ideology = centrism
			popularity = 0.02
		}
		add_popularity = {
			ideology = social_egalitarianism
			popularity = -0.02
		}
		add_to_variable = {
			var = reconstruction_points
			value = -2
		}
		custom_effect_tooltip = USA_reconstruction_remove_2
	}
}

#The Radical-Liberal Split
country_event = {
	id = usa.168
	title = usa.168.t
	desc = usa.168.d
	picture = GFX_republican_split

	fire_only_once = yes

	trigger = {############## This should be KDE
		tag = USA
		date > 1870.01.01
		date < 1872.01.01
	}

	option = { #Dangit
		name = usa.168.a
		add_political_power = -100
		set_party_name = {
			ideology = centrism
			long_name = USA_liberal_republican_party_long
			name = USA_liberal_republican_party
		}
		hidden_effect = {
			create_country_leader = {
				name = "Horace Greeley"
				desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
				picture = "Portrait_Europe_generic_leader_politician_17.png"
				expire = "1947.1.1"
				ideology = market_liberal
				traits = {
				}
			}
			create_country_leader = {
				name = "Ulysses S. Grant"
				desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
				picture = "Portrait_USA_Ulysses_grant.dds"
				expire = "1947.1.1"
				ideology = liberal_social
				traits = {
					war_veteran
					eoanb_trait_military_leader
				}
			}
		}
	}
}

#Formation of the Half-Breed Faction
country_event = {
	id = usa.169
	title = usa.169.t
	desc = usa.169.d
	picture = GFX_half_breeds

	fire_only_once = yes

	trigger = { #####################Whatever assigns that flag should trigger this event
		tag = USA
		date > 1872.3.1
		date < 1872.12.31
		has_country_flag = USA_Grant_1872
	}

	option = { #Traitors!
		name = usa.19.a
		add_political_power = -20
		set_party_name = {
			ideology = centrism
			long_name = USA_half_breed_party_long
			name = USA_half_breed_party
		}
	}
}

##Alabama Claims Event Chain##
#Help the Confederates?
country_event = {
	id = usa.171
	title = usa.171.t
	desc = usa.171.d
	picture = GFX_report_event_generic_rally2

	fire_only_once = yes

	trigger = {################# This should be triggered differently
		TAG = ENG
		date > 1862.1.1
		if = {
			limit = { country_exists = CSA }
			has_completed_focus = ENG_focus_the_cotton_issue
		}
	}

	option = {
		name = usa.171.a
		ai_chance = {
			factor = 50
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		#add_timed_idea = { idea = USA_csa_ship_payments days = 140 }
		add_opinion_modifier = {
			target = CSA
			modifier = small_increase
		}
		reverse_add_opinion_modifier = {
			target = CSA
			modifier = small_increase
		}
		hidden_effect = { USA = { set_country_flag = USA_uk_alabama_claims_flag } }
		hidden_effect = { USA = { country_event = { days = 2922 id = usa.172 } } }
	}
	option = {
		name = usa.171.b
		ai_chance = {
			factor = 50
		}
		add_opinion_modifier = {
			target = CSA
			modifier = small_decrease
		}
		reverse_add_opinion_modifier = {
			target = CSA
			modifier = small_decrease
		}
	}
}
#The Alabama Claims
country_event = {
	id = usa.172
	title = usa.172.t
	desc = usa.172.d
	picture = GFX_report_event_generic_rally2

	fire_only_once = yes
	is_triggered_only = yes

	trigger = { ##### USA_reconstruction should trigger this
		if = {
			limit = { has_completed_focus = USA_reconstruction }
			NOT = { country_exists = CSA }
		}
	}

	option = { #Demand annexation of British Columbia
		name = usa.172.a
		ai_chance = {
			factor = 20
		}
		add_opinion_modifier = {
			target = ENG
			modifier = medium_decrease
		}
		ENG = { country_event = { days = 10 id = usa.173 } }
	}
	option = { #Demand arbitration with a Great Power
		name = usa.172.b
		ai_chance = {
			factor = 60
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		add_opinion_modifier = {
			target = ENG
			modifier = small_decrease
		}
		ENG = { country_event = { days = 10 id = usa.177 } }
	}
	option = { #Restore relations with the British instead
		name = usa.172.c
		ai_chance = {
			factor = 20
		}
		add_opinion_modifier = {
			target = ENG
			modifier = small_increase
		}
	}
}

#Ultimatum from the Americans
country_event = {
	id = usa.173
	title = usa.173.t
	desc = usa.173.d
	picture = GFX_report_event_generic_rally2

	fire_only_once = yes

	is_triggered_only = yes

	option = { #Accept the ultimatum fully
		name = usa.173.a
		ai_chance = {
			factor = 10
		}
		USA = { annex_country = {
			target = BCO
			transfer_troops = yes
			}
		}

		hidden_effect = { set_global_flag = USA_annexation_of_british_columbia }
		add_opinion_modifier = {
			target = USA
			modifier = medium_increase
		}
		USA = { country_event = { days = 10 id = usa.174 } }
	}
	option = { #Pay compensations instead
		name = usa.173.b
		ai_chance = {
			factor = 80
		}
		add_opinion_modifier = {
			target = USA
			modifier = small_decrease
		}
		USA = { country_event = { days = 10 id = usa.175 } }
	}
	option = { #Never!
		name = usa.173.c
		ai_chance = {
			factor = 10
		}
		add_opinion_modifier = {
			target = USA
			modifier = medium_decrease
		}
		USA = { country_event = { days = 10 id = usa.176 } }
	}
}
#The British gives everything
country_event = {
	id = usa.174
	title = usa.174.t
	desc = usa.174.d
	picture = GFX_report_event_generic_sign_treaty2

	fire_only_once = yes

	is_triggered_only = yes

	option = { #Excellent
		name = usa.174.a
		add_opinion_modifier = {
			target = ENG
			modifier = medium_increase
		}
	}
}
#The British gives partially
country_event = {
	id = usa.175
	title = usa.175.t
	desc = usa.175.d
	picture = GFX_report_event_generic_sign_treaty2

	fire_only_once = yes

	is_triggered_only = yes

	option = { #Declare war
		name = usa.175.a
		ai_chance = {
			factor = 10
		}
		declare_war_on = {
			target = ENG
			type = annex_everything
		}
		declare_war_on = {
			target = BCO
			type =  annex_everything
		}
		add_state_claim = 473
		hidden_effect = {
			BCO = { set_country_flag = USA_operation_annex_british_columbia_flag }
			ENG = { set_country_flag = USA_operation_annex_british_columbia_flag }
			USA = { set_country_flag = USA_operation_annex_british_columbia_flag }
		}
	}

	option = { #Accept the revised demands
		name = usa.175.b
		ai_chance = {
			factor = 90
		}
		#add_timed_idea = { idea = USA_AlabamaClaims_compensation  days = 140 }
		#ENG = {
		#	add_timed_idea = {
		#		idea = USA_AlabamaPayments
		#		days = 140
		#	}
		#}
		add_opinion_modifier = {
			target = ENG
			modifier = medium_increase
		}
	}
}
#The British rejection
country_event = {
	id = usa.176
	title = usa.176.t
	desc = usa.176.d
	picture = GFX_report_event_generic_sign_treaty2

	fire_only_once = yes

	is_triggered_only = yes

	option = { #Declare war
		name = usa.176.a
		ai_chance = {
			factor = 70
		}
		declare_war_on = {
			target = ENG
			type =  annex_everything
		}
		declare_war_on = {
			target = BCO
			type =  annex_everything
		}
		add_state_claim = 473
		hidden_effect = {
			BCO = { set_country_flag = USA_operation_annex_british_columbia_flag }
			ENG = { set_country_flag = USA_operation_annex_british_columbia_flag }
			USA = { set_country_flag = USA_operation_annex_british_columbia_flag }
		}
	}

	option = { #Leave the British be
		name = usa.176.b
		ai_chance = {
			factor = 30
		}
		reverse_add_opinion_modifier = {
			target = ENG
			modifier = medium_decrease
		}
	}
}
#USA requests an arbitration for the Alabama Claims
country_event = {
	id = usa.177
	title = usa.177.t
	desc = usa.177.d
	picture = GFX_report_event_generic_sign_treaty2

	fire_only_once = yes

	is_triggered_only = yes

	option = { #Of course!
		name = usa.177.a
		ai_chance = {
			factor = 80
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		add_opinion_modifier = {
			target = USA
			modifier = small_increase
		}
		if = {
			limit = {
				PIE = { exists = yes }
				ITA = { exists = no }
			}
			PIE = { country_event = { days = 30 id = usa.178 } }
		}
		if = {
			limit = {
				ITA = { exists = yes }
			}
			ITA = { country_event = { days = 30 id = usa.178 } }
		}
	}

	option = { #Never!
		name = usa.177.b
		ai_chance = {
			factor = 20
		}
		add_opinion_modifier = {
			target = USA
			modifier = medium_decrease
		}
	}
}
#Italian Response (Treaty of Washington)
country_event = {
	id = usa.178
	title = usa.178.t
	desc = usa.178.d
	picture = GFX_GFX_report_event_royal_visit

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = usa.178.a
		ai_chance = {
			factor = 50
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		USA = { country_event = { days = 30 id = usa.179 } }
		ENG = { country_event = { days = 30 id = usa.179 } }
		CAN = { country_event = { days = 30 id = usa.179} }
		hidden_effect = {
			HBC = { country_event = { days = 30 id = usa.179 } }
			BRK = { country_event = { days = 30 id = usa.179 } }
			NVS = { country_event = { days = 30 id = usa.179 } }
			NFL = { country_event = { days = 30 id = usa.179 } }
			BCO = { country_event = { days = 30 id = usa.179 } }
		}
	}
	option = {
		name = usa.178.b
		ai_chance = {
			factor = 50
		}
		USA = { country_event = { days = 30 id = usa.180 } }
		ENG = { country_event = { days = 30 id = usa.180 } }
		CAN = { country_event = { days = 30 id = usa.180 } }
		hidden_effect = {
			HBC = { country_event = { days = 30 id = usa.180 } }
			BRK = { country_event = { days = 30 id = usa.180 } }
			NVS = { country_event = { days = 30 id = usa.180 } }
			NFL = { country_event = { days = 30 id = usa.180 } }
			BCO = { country_event = { days = 30 id = usa.180 } }
		}
	}
}

#Treaty of Washington - US Victory (Historical)
country_event = {
	id = usa.179
	title = usa.179.t
	desc = usa.179.d
	picture = GFX_report_event_generic_sign_treaty2

	is_triggered_only = yes

	option = {
		trigger = {
			TAG = USA
		}
		name = usa.179.a
		add_political_power = 50
		#add_timed_idea = { idea = USA_AlabamaClaims_compensation days = 140 }
	}
	option = {
		trigger = {
			TAG = ENG
		}
		name = usa.179.b
		add_political_power = -50
		#add_timed_idea = { idea = USA_AlabamaPayments days = 140 }
	}
	option = {
		trigger = {
			OR = {
				TAG = CAN
				TAG = HBC
				TAG = BRK
				TAG = NVS
				TAG = NFL
				TAG = BCO
			}
		}
		name = usa.179.c
		add_autonomy_ratio = {
			value = 0.05
		}
	}
}

#Treaty of Washington - British Victory
country_event = {
	id = usa.180
	title = usa.180.t
	desc = usa.180.d
	picture = GFX_report_event_generic_sign_treaty2

	is_triggered_only = yes

	option = {
		trigger = {
			TAG = USA
		}
		name = usa.180.a
		add_political_power = -50
	}
	option = {
		trigger = {
			TAG = ENG
		}
		name = usa.180.b
		add_political_power = 50
	}
	option = {
		trigger = {
			OR = {
				TAG = CAN
				TAG = HBC
				TAG = BRK
				TAG = NVS
				TAG = NFL
				TAG = BCO
			}
		}
		name = usa.180.c
		add_autonomy_ratio = {
			value = -0.05
		}
	}
}
## WIP Scripted Treaties for transfer of British Columbia or some parts of Oregon, or status Quo##
#Treaty of London - US Victory
#country_event = {
#		title = usa.181.t
#		desc = usa.181.d
#		picture = GFX_report_event_generic_sign_treaty2
#
#		is_triggered_only = yes
#
#		option = {

##Hayes Presidency##
#Compromise of 1877
country_event = {
	id = usa.185
	title = usa.185.t
	desc = usa.185.d
	picture = GFX_report_event_generic_rally2

	fire_only_once = yes

	trigger = { ######win_end_reconstruction should trigger this
		has_completed_focus = USA_win_end_reconstruction
		NOT = {
			has_idea = full_equality
		}
	}

	option = { #Satisfy Democratic demands fully
		name = usa.185.a
		ai_chance = {
			factor = 40
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		add_political_power = -200
		add_stability = 0.04
		add_popularity = {
			ideology = social_egalitarianism
			popularity = -1
		}
		add_popularity = {
			ideology = centrism
			popularity = 0.4
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.3
		}
		hidden_effect = { set_country_flag = USA_democrats_assume_south_fully }
		hidden_effect = { set_country_flag = USA_radical_republicans_collapse}
		hidden_effect = { country_event = { days = 20 id = usa.186 } }
	}

	option = { #Satisfy some demands
		name = usa.185.b
		ai_chance = {
			factor = 40
		}
		add_political_power = -100
		add_popularity = {
			ideology = social_egalitarianism
			popularity = -0.05
		}
		add_popularity = {
			ideology = centrism
			popularity = 0.25
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.25
		}
		hidden_effect = { set_country_flag = USA_democrats_assume_south_partially }
		hidden_effect = { set_country_flag = USA_radical_republicans_collapse }
		hidden_effect = { country_event = { days = 20 id = usa.186 } }
	}

	option = { # Never compromise with Democrats!
		name = usa.185.c
		ai_chance = {
			factor = 20
		}
		add_political_power = 50
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.02
		}
		add_popularity = {
			ideology = centrism
			popularity = 0.04
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.02
		}
		set_politics = {
			ruling_party = traditional_conservatism
			election_frequency = 48
			elections_allowed = yes
		}
		hidden_effect = { set_country_flag = USA_republicans_control_south }
		hidden_effect = { set_country_flag = USA_prolonged_radical_republican_era }
		hidden_effect = { country_event = { days = 10 id = usa.187 } }
	}
}

country_event = { # Radical Republican collapse
	id = usa.186
	title = usa.186.t
	desc = usa.186.d
	picture = GFX_report_event_generic_rally2

	fire_only_once = yes

	is_triggered_only = yes

	option = { #Oh no
		name = usa.186.a
		add_political_power = -50
		add_popularity = {
			ideology = social_egalitarianism
			popularity = -0.2
		}
		hidden_effect = {
			create_country_leader = {
				name = "Roscoe Conkling"
				desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
				picture = "Portrait_USA_Roscoe_Conkling.dds"
				expire = "1912.11.03"
				ideology = liberal_social
				traits = {
				}
			}
			set_party_name = {
				ideology = social_egalitarianism
				long_name = USA_stalwarts_long
				name = USA_stalwarts
			}
		}
	}
}

country_event = { #The Radical Era
	id = usa.187
	title = usa.187.t
	desc = usa.187.d
	picture = GFX_report_event_generic_rally2

	fire_only_once = yes

	is_triggered_only = yes

	option = { #Nice
		name = usa.187.a
		add_political_power = 50
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.3
		}
	}
}
##National Union Party Events##
country_event = { # Divided Democratic Party
	id = usa.189
	title = usa.189.t
	desc = usa.189.d
	picture = GFX_split_democrats

	fire_only_once = yes

	trigger = {############focus should trigger event
		CSA = { exists = yes }
		has_war_with = CSA
		has_completed_focus = USA_Focus_American_Civil_War
	}

	option = { #Drats!
		name = usa.189.a
		add_stability = -0.02
		hidden_effect = {
			set_party_name = {
				ideology = traditional_conservatism
				long_name = USA_war_democrats_long
				name = USA_war_democrats
			}
			set_party_name = {
				ideology = radical_democracy
				long_name = USA_copperhead_democrats_long
				name = USA_copperhead_democrats
			}
		}
	}
}

country_event = { #Creation of the National Union Party
	id = usa.190
	title = usa.190.t
	desc = usa.190.d
	picture = GFX_Lincoln_Johnson

	fire_only_once = yes

	trigger = {########## This should be triggered differently
		TAG = USA
		date > 1864.1.1
		date < 1864.4.1
		has_war_with = CSA
		has_country_flag = USA_LincolnElected
	}

	option = { #Form the Union Ticket
		name = usa.190.a
		ai_chance = {
			factor = 60
		}
		set_party_name = {
			ideology = centrism
			long_name = USA_national_union_party_long
			name = USA_national_union_party
		}

		set_party_name = {
			ideology = traditional_conservatism
			long_name = USA_national_union_party_long
			name = USA_national_union_party
		}

		add_popularity = {
			ideology = centrism
			popularity = 0.07
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.04
		}
		add_popularity = {
			ideology = radical_democracy
			popularity = 0.04
		}
		add_stability = -0.02
		add_war_support = 0.05
		hidden_effect = { set_country_flag = USA_national_union_party_created }
		hidden_effect = {
			set_party_name = {
				ideology = social_egalitarianism
				long_name =  USA_radical_republican_party_long
				name =  USA_radical_republican_party
			}
		}
	}
	option = { # Decline the Union Ticket
		name = usa.190.b
		ai_chance = {
			factor = 60
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.04
		}
		add_popularity = {
			ideology = centrism
			popularity = -0.04
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.04
		}
		add_popularity = {
			ideology = radical_democracy
			popularity = 0.02
		}
		add_stability = 0.02
		add_war_support = -0.05
		hidden_effect = {
			set_party_name = {
				ideology = radical_democracy
				long_name = USA_democratic_party_radical_long
				name = USA_democratic_party_radical
			}
			set_party_name = {
				ideology = traditional_conservatism
				long_name = USA_democratic_party_moderate_long
				name = USA_democratic_party_moderate
			}
		}
	}
}

country_event = { # National Union Convention
	id = usa.191
	title = usa.191.t
	desc = usa.191.d
	picture = GFX_Lincoln_Johnson

	fire_only_once = yes

	trigger = {###### This should be triggered differently
		tag = USA
		date > 1864.6.6
		date < 1864.6.9
		has_country_flag = USA_national_union_party_created
	}

	option = { # Andrew Johnson
		name = usa.191.a
		ai_chance = {
			factor = 60
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.02
		}
		add_popularity = {
			ideology = centrism
			popularity = 0.02
		}
		add_popularity = {
			ideology = social_egalitarianism
			popularity = -0.02
		}
		add_popularity = {
			ideology = radical_democracy
			popularity = -0.04
		}
		add_war_support = 0.05
		add_stability = -0.02
		hidden_effect = { set_country_flag = USA_andrew_johnson }
	}

	option = { # Hannibal Hamlin
		name = usa.191.b
		ai_chance = {
			factor = 40
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.04
		}
		add_popularity = {
			ideology = centrism
			popularity = -0.04
		}
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.02
		}
		add_popularity = {
			ideology = radical_democracy
			popularity = 0.02
		}
		add_war_support = -0.05
		add_stability = 0.02
		hidden_effect = { set_country_flag = USA_hannibal_hamlin }
		hidden_effect = { country_event = { days = 20 id = usa.193 } }
	}
}

country_event =  { # Collapse of the National Union Party (Choosing Hannibal)
	id = usa.193
	title = usa.193.t
	desc = usa.193.d
	picture = GFX_Collapse_party

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = usa.193.a
		add_war_support = -0.08
		add_stability = -0.05
		hidden_effect = {
			set_party_name = {
				ideology = social_egalitarianism
				long_name = USA_social_egalitarianism_party_long
				name = USA_social_egalitarianism_party
			}
			set_party_name = {
				ideology = traditional_conservatism
				long_name = USA_democratic_party_moderate_long
				name = USA_democratic_party_moderate
			}
			set_party_name = {
				ideology = centrism
				long_name = USA_centrism_party_long
				name = USA_centrism_party
			}
			set_party_name = {
				ideology = radical_democracy
				long_name = USA_democratic_party_radical_long
				name = USA_democratic_party_radical
			}
		}
	}
}

country_event =  { # Collapse of the National Union Party (Andrew `John`son)
	id = usa.194
	title = usa.194.t
	desc = usa.194.d
	picture = GFX_Collapse_party

	fire_only_once = yes

	is_triggered_only = yes

	trigger = {########### this should be triggered differently
		TAG = USA
		date > 1868.11.01
		date < 1868.11.04
		has_country_flag = USA_national_union_party_created
		has_country_flag = Lincoln_Assassinated
		has_country_flag = USA_andrew_johnson
	}

	option = { # It was doomed from the start anyway.
		name = usa.194.a
		add_war_support = -0.08
		add_stability = 0.02
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.05
		}
		add_popularity = {
			ideology = centrism
			popularity = -0.03
		}
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.05
		}
		hidden_effect = {
			set_party_name = {
				ideology = social_egalitarianism
				long_name = USA_social_egalitarianism_party_long
				name = USA_social_egalitarianism_party
			}
			set_party_name = {
				ideology = traditional_conservatism
				long_name = USA_democratic_party_moderate_long
				name = USA_democratic_party_moderate
			}
			set_party_name = {
				ideology = centrism
				long_name = USA_centrism_party_long
				name = USA_centrism_party
			}
			set_party_name = {
				ideology = radical_democracy
				long_name = USA_democratic_party_radical_long
				name = USA_democratic_party_radical
			}
		}
	}
}

country_event = { # Collapse of the National Union Party (Infighting between the Republicans and Democrats)
	id = usa.195
	title = usa.195.t
	desc = usa.195.d
	picture = GFX_Collapse_party

	fire_only_once = yes

	is_triggered_only = yes

	trigger = {###################### this should be triggered differently
		TAG = USA
		date > 1868.05.01
		date < 1868.10.01
		tag = USA
		has_country_flag = USA_national_union_party_created
		NOT = {
			has_country_flag = Lincoln_Assassinated
		}
	}

	option = { # It was doomed from the start anyway.
		name = usa.195.a
		add_war_support = -0.08
		add_stability = 0.02
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.05
		}
		add_popularity = {
			ideology = centrism
			popularity = -0.03
		}
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.05
		}
		hidden_effect = {
			set_party_name = {
				ideology = social_egalitarianism
				long_name = USA_social_egalitarianism_party_long
				name = USA_social_egalitarianism_party
			}
			set_party_name = {
				ideology = traditional_conservatism
				long_name = USA_democratic_party_moderate_long
				name = USA_democratic_party_moderate
			}
			set_party_name = {
				ideology = centrism
				long_name = USA_centrism_party_long
				name = USA_centrism_party
			}
			set_party_name = {
				ideology = radical_democracy
				long_name = USA_democratic_party_radical_long
				name = USA_democratic_party_radical
			}
		}
	}
}

##Minor Party Events##

country_event = { # Creation of the Prohibition Party
	id = usa.196
	title = usa.196.t
	desc = usa.196.d
	picture = GFX_Prohibition_Party

	fire_only_once = yes

	trigger = {########### this should be triggered differently
		TAG = USA
		date > 1869.09.01
	}

	option = { #Great
		name = usa.196.a
		set_party_name = {
			ideology = fundamentalism
			long_name = USA_prohibitionist_party_long
			name = USA_prohibitionist_party
		}
		add_popularity = {
			ideology = fundamentalism
			popularity = 0.02
		}
		hidden_effect = { set_country_flag = USA_prohibition_movement_created }
		hidden_effect = {
			create_country_leader = {
				name = "John Russell"
				desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
				picture = "Portrait_USA_John_Russell.dds"
				expire = "1912.11.03"
				ideology = christian
				traits = {
					fundamentalist
				}
			}
		}
	}
}

## WIP Prohibition Party events usa.199-205
country_event = {
	id = usa.200
	title = usa.200.t
	desc = usa.200.d

	is_triggered_only = yes

	immediate = {
		# log = "manpower: [?manpower]"
		# log = "manpower_k: [?manpower_k]"
		# log = "max_available_manpower: [?max_available_manpower]"
		# log = "max_available_manpower_k: [?max_available_manpower_k]"
		# log = "max_manpower: [?max_manpower]"
		# log = "max_manpower_k: [?max_manpower_k]"
		if = {
			limit = {always = yes}
		set_temp_variable = {
			lower_limit = num_of_naval_factories
		}
		if = {
			limit = {
				num_of_naval_factories < 2
			}
			set_temp_variable = {
				lower_limit = 5
			}
		}
		if = {
			limit = {
				has_war = yes
			}
			if = {
				limit = {
					is_insignificant_power = yes
					has_war = yes
				}
				multiply_temp_variable = {
					lower_limit = 5.0
				}
			}
			else_if = {
				limit = {
					is_minor_power = yes
					has_war = yes
				}
				multiply_temp_variable = {
					lower_limit = 2.75
				}
			}
			else_if = {
				limit = {
					is_secondary_power = yes
					has_war = yes
				}
				multiply_temp_variable = {
					lower_limit = 2.0
				}
			}
			if = {
				limit = {
					manpower_per_military_factory < 1000
				}
				multiply_temp_variable = {
					lower_limit = 0.5
				}
			}
			else_if = {
				limit = {
					has_manpower < 2500
				}
				multiply_temp_variable = {
					lower_limit = 0.0
				}
			}
			if = {
				limit = {
					alliance_naval_strength_ratio > 5.0
				}
				multiply_temp_variable = {
					lower_limit = 0.1
				}
			}
			else_if = {
				limit = {
					alliance_naval_strength_ratio > 2.0
				}
				multiply_temp_variable = {
					lower_limit = 0.33
				}
			}
			else_if = {
				limit = {
					enemies_naval_strength_ratio > 5.0
				}
				multiply_temp_variable = {
					lower_limit = 5.0
				}
			}
			else_if = {
				limit = {
					enemies_naval_strength_ratio > 2.0
				}
				multiply_temp_variable = {
					lower_limit = 3.0
				}
			}
			# if = {
			# 	limit = {
			# 		ai_wants_divisions > lower_limit
			# 	}
			# 	multiply_temp_variable = {
			# 		lower_limit = 2.0
			# 	}
			# }
		}
		else = {

		}
		set_temp_variable = {
			lineship_var = lower_limit
		}
		set_temp_variable = {
			frigate_var = lower_limit
		}
		set_temp_variable = {
			gunboat_var = lower_limit
		}
		set_temp_variable = {
			corvette_var = lower_limit
		}

		multiply_temp_variable = {
			frigate_var = 2.0
		}
		multiply_temp_variable = {
			gunboat_var = 4.0
		}
		multiply_temp_variable = {
			corvette_var = 8.0
		}
		if = {
			limit = {
		OR = {
			
			check_variable = {
				num_ships_with_type@lineship < lineship_var
			}
			check_variable = {
				num_ships_with_type@frigate < frigate_var
			}
			check_variable = {
				num_ships_with_type@gunboat < gunboat_var
			}
			check_variable = {
				num_ships_with_type@corvette < corvette_var
			}
		}}
		log = "lineship_var: [?lineship_var]"
		log = "frigate_var: [?frigate_var]"
		log = "gunboat_var: [?gunboat_var]"
		log = "corvette_var: [?corvette_var]"
	}
	
	}
log = "lineship_var: [?lineship_var]"
		log = "frigate_var: [?frigate_var]"
		log = "gunboat_var: [?gunboat_var]"
		log = "corvette_var: [?corvette_var]"
	}

	option = {
		name = usa.200.a
	}
}


country_event = { # The formation of the Greenback Party
	id = usa.206
	title = usa.206.t
	desc = usa.206.d
	picture = GFX_Greenback_Party

	fire_only_once = yes

	trigger = {########### this should be triggered differently
		TAG = USA
		date > 1874.01.01
		date < 1874.12.31
	}

	option = {
		name = usa.206.a
		set_party_name = {
			ideology = ideology_radical_socialism
			long_name = USA_greenback_party_long
			name = USA_greenback_party
		}
		add_popularity = {
			ideology = ideology_radical_socialism
			popularity = .01
		}
		hidden_effect = {
			create_country_leader ={
				name = "Peter Cooper"
				desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
				picture = "Portrait_USA_Peter_Cooper"
				expire = "1883.04.04"
				ideology = syndicalism
				traits = {
					#
				}
			}
		}
	}
}

#WIP Greenback National Conventions, 1876, 1880, 1884

#Collapse of the Greenback Party and the establishment of the Populist Party
country_event = {
	id = usa.210
	title = usa.210.t
	desc = usa.210.d
	picture = GFX_Greenback_Party

	fire_only_once = yes

	trigger = {########### this should be triggered differently
		TAG = USA
		date > 1892.01.01
		date < 1892.06.31
	}

	option = {
		name = usa.210.a
		set_party_name = {
			ideology = ideology_radical_socialism
			long_name = USA_greenback_party_long
			name = USA_greenback_party
		}
		add_popularity = {
			ideology = ideology_radical_socialism
			popularity = .04
		}
		hidden_effect = {
			create_country_leader ={
				name = "James B. Weaver"
				desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
				picture = "Portrait_USA_James_Weaver"
				expire = "1883.04.04"
				ideology = syndicalism
				traits = {
					#
				}
			}
		}
	}
}

# #Alaska Purchase
# country_event = { #but for mormons
# 	id = usa.211
# 	title = usa.211.t
# 	desc = usa.211.d
# 	picture = GFX_report_event_german_reichstag_gathering

# 	is_triggered_only = yes

# 	option = {
# 		name = usa.211.a
# 		ai_chance = {
# 			factor = 90
# 			modifier = {
# 				factor = 100
# 				is_historical_focus_on = yes
#       		}
#     	}
# 		every_country = {
# 			limit = {
# 				owns_state = 463
# 			}
# 			country_event = { id = usa.212 hours = 1 }
# 		}
# 	}
# }

#Alaska Russia Mormons
country_event = {
	id = usa.212
	title = usa.212.t
	desc = usa.212.d
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.212.a
		USA = { country_event = { id = usa.213 hours = 1 } }
		ROOT = { add_timed_idea = { idea = USA_idea_alaska_sale_2 days = 365 } }
		if = {
			limit = {
				NOT = { tag = RUS }
			}
			save_global_event_target_as = sold_alaska_target
			set_global_flag = alaska_sold_not_by_rus
		}
		set_global_flag = USA_Alaska_Purchased_flag
		ai_chance = {
			factor = 90
			modifier = {
				factor = 100
				is_historical_focus_on = yes
			}
    	}
	}
	option = {
		name = usa.212.b
		add_political_power = -25
		USA = { country_event = { id = usa.213 hours = 1 } }
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}
#Alaska Result
country_event = {
	id = usa.213
	title = usa.213.t
	desc = {
		text = usa.213.d1
		trigger = { has_global_flag = USA_Alaska_Purchased_flag }
	}
	desc = {
		text = usa.213.d2
		trigger = { NOT = { has_global_flag = USA_Alaska_Purchased_flag } }
	}
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.213.a
		trigger = {
			has_global_flag = USA_Alaska_Purchased_flag
		}
		news_event = { id = usa_news.29 }#check if needs new loc
		USA = { add_timed_idea = { idea = USA_idea_alaska_purchase days = 365 } }
		USA = { transfer_state = 463 }
		USA = {
			unlock_national_focus = USA_diplomacy_alaska #######################
		}
		add_to_variable = {
			var = USA_mormon_unrest
    		value = -5
		}
	}
	option = {
		name = usa.213.b
		trigger = {
			NOT = { has_global_flag = USA_Alaska_Purchased_flag }
		}
	}
}

# country_event = {
# 	id = usa.214
# 	title = usa.214.t
# 	desc = usa.214.d

# 	picture = GFX_report_event_german_reichstag_gathering

# 	is_triggered_only = yes

# 	option = {
# 		name = usa.214.a
# 		news_event = { id = usa_news.17 }#check if needs new loc
# 		USA = { add_timed_idea = { idea = USA_idea_alaska_purchase days = 365 } }
# 		USA = { transfer_state = 463 }
# 		USA = {
# 			unlock_national_focus = USA_diplomacy_alaska #######################
# 		}
# 	}
# }

#Cuba Purchase by Buchanan
country_event = {
	id = usa.215
	title = usa.215.t
	desc = usa.215.d

	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.215.a
		every_country = {
			limit = {
				owns_state = 315
			}
			country_event = { id = usa.216 hours = 1 }
		}
	}
}

country_event = {
	id = usa.216
	title = usa.216.t
	desc = usa.216.d

	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.216.a
		USA = { country_event = { id = usa.217 hours = 1 } }
		#ROOT = { add_timed_idea = { idea = USA_cuba_purchase_usa days = 5475 } }
		if = {
			limit = {
				NOT = { tag = SPR }
			}
			save_global_event_target_as = sold_cuba_target
			set_global_flag = cuba_sold_not_by_spain
		}
		set_global_flag = USACuba_Purchased
		if = { 
			limit = { TAG = SPR }
			add_stability = -0.10
		}
		ai_chance = {
			base = 10
			modifier = {
				add = -9
				TAG = SPR
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
    	}
	}
	option = {
		name = usa.216.b
		add_political_power = -25
		USA = { country_event = { id = usa.217 hours = 1 } }
		ai_chance = {
			base = 90
			modifier = {
				add = 9
				TAG = SPR
			}
		}
	}
}

country_event = {
	id = usa.217
	title = usa.217.t
	desc = {
		text = usa.217.d1
		trigger = { has_global_flag = USACuba_Purchased }
	}
	desc = {
		text = usa.217.d2
		trigger = { NOT = { has_global_flag = USACuba_Purchased } }
	}
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.217.a
		trigger = {
			has_global_flag = USACuba_Purchased
		}
		#news_event = { id = usa_news.29 }#check if needs new loc
		USA = { add_timed_idea = { idea = USA_cuba_purchase_usa days = 7300 } }
		USA = { transfer_state = 315 }
		USA = { transfer_state = 1350 }
		news_event = { id = usa_news.30 }#check if needs new loc
		if = {
			limit = {has_global_flag = cuba_sold_not_by_spain}
			#nothing
		}
		else = {
			hidden_effect = {
				SPR = {
					country_event = {id = spain_caribbean.23 days = 1}
					set_variable = {
						var = USA_installments_to_SPR_left
						value = 20
					}
				}
			}
		}
	}
	option = {
		name = usa.217.b
		trigger = {
			NOT = { has_global_flag = USACuba_Purchased }
		}
	}
}

#Cuba Purchase by Buchanan
country_event = {
	id = usa.2155
	title = usa.215.t
	picture = GFX_report_event_german_reichstag_gathering
	desc = {
		text = usa.215.d
		trigger = { 
			USA = {
				NOT = {
					has_country_flag = SPR_declined_selling_cuba_100 
					has_country_flag = SPR_declined_selling_cuba_150
					has_country_flag = SPR_declined_selling_cuba_200
				}
			}
		}
	}
	desc = {
		text = usa.215.e
		trigger = { 
			USA = {
				AND = {
					has_country_flag = SPR_declined_selling_cuba_100 
					has_country_flag = SPR_declined_selling_cuba_150
					has_country_flag = SPR_declined_selling_cuba_200
				}
			}
		}
	}
	desc = {
		text = usa.215.f
		trigger = { 
			USA = {
				OR = {
					has_country_flag = SPR_declined_selling_cuba_100 
					has_country_flag = SPR_declined_selling_cuba_150
					has_country_flag = SPR_declined_selling_cuba_200
				}
			}
		}
	}

	is_triggered_only = yes

	option = {
		name = usa.215.a
		trigger = { NOT = { has_country_flag = SPR_declined_selling_cuba_100 } }
		315 = { OWNER = { country_event = { id = usa.216 hours = 1 } } }
		set_country_flag = SPR_declined_selling_cuba_100
	}
	option = {
		name = usa.215.b
		trigger = { NOT = { has_country_flag = SPR_declined_selling_cuba_150 } }
		315 = { OWNER = { country_event = { id = usa.216 hours = 1 } } }
		set_country_flag = SPR_declined_selling_cuba_150
	}
	option = {
		name = usa.215.c
		trigger = { NOT = { has_country_flag = SPR_declined_selling_cuba_200 } }
		315 = { OWNER = { country_event = { id = usa.216 hours = 1 } } }
		set_country_flag = SPR_declined_selling_cuba_200
	}
	option = {
		name = usa.215.g
		trigger = {
			has_country_flag = SPR_declined_selling_cuba_100
			has_country_flag = SPR_declined_selling_cuba_150
			has_country_flag = SPR_declined_selling_cuba_200
		}
		hidden_effect = {
			USA = {
				clr_country_flag = SPR_declined_selling_cuba_100 
				clr_country_flag = SPR_declined_selling_cuba_150
				clr_country_flag = SPR_declined_selling_cuba_200
			}
		}
	}
}

country_event = {
	id = usa.2166
	title = usa.216.t
	picture = GFX_report_event_german_reichstag_gathering
	desc = {
		text = usa.216.d
		trigger = { 
			USA = {
				NOT = {
					has_country_flag = SPR_declined_selling_cuba_100 
					has_country_flag = SPR_declined_selling_cuba_150
					has_country_flag = SPR_declined_selling_cuba_200
				}
			}
		}
	}
	desc = {
		text = usa.216.e
		trigger = { 
			USA = {
				AND = {
					has_country_flag = SPR_declined_selling_cuba_100 
					has_country_flag = SPR_declined_selling_cuba_150
					has_country_flag = SPR_declined_selling_cuba_200
				}
			}
		}
	}
	desc = {
		text = usa.216.f
		trigger = { 
			USA = {
				OR = {
					has_country_flag = SPR_declined_selling_cuba_100 
					has_country_flag = SPR_declined_selling_cuba_150
					has_country_flag = SPR_declined_selling_cuba_200
				}
			}
		}
	}
	is_triggered_only = yes

	option = { #Yes
		name = usa.216.a
		ai_chance = {
			base = 0
			modifier = {
				add = 5
				TAG = SPR
				USA = { has_country_flag = SPR_declined_selling_cuba_100 } 				#150
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_150 } }
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_200 } }
			}
			modifier = {
				add = 7
				TAG = SPR
				USA = { has_country_flag = SPR_declined_selling_cuba_100 }
				USA = { has_country_flag = SPR_declined_selling_cuba_150 } 				#150
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_200 } }
			}
			modifier = {
				add = 10
				TAG = SPR
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_100 } }
				USA = { has_country_flag = SPR_declined_selling_cuba_150 } 				#150
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_200 } }
			}
			modifier = {
				add = 15
				TAG = SPR
				USA = { has_country_flag = SPR_declined_selling_cuba_100 }
				USA = { has_country_flag = SPR_declined_selling_cuba_150 }
				USA = { has_country_flag = SPR_declined_selling_cuba_200 } 				#200
			}
			modifier = {
				add = 15
				TAG = SPR
				USA = { has_country_flag = SPR_declined_selling_cuba_100 }
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_150 } }
				USA = { has_country_flag = SPR_declined_selling_cuba_200 } 				#200
			}
			modifier = {
				add = 20
				TAG = SPR
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_100 } }
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_150 } }
				USA = { has_country_flag = SPR_declined_selling_cuba_200 } 				#200
			}
			modifier = {
				factor = 0
				TAG = SPR
				is_historical_focus_on = yes
			}
    	}
		USA = { country_event = { id = usa.217 hours = 1 } }
		hidden_effect = {
			USA = {
				if = { 
					limit = { has_country_flag = SPR_declined_selling_cuba_200 }
					clr_country_flag = SPR_declined_selling_cuba_100
					clr_country_flag = SPR_declined_selling_cuba_150
				}
				else_if = { 
					limit = { has_country_flag = SPR_declined_selling_cuba_150 }
					clr_country_flag = SPR_declined_selling_cuba_100
					clr_country_flag = SPR_declined_selling_cuba_200
				}
				else_if = { 
					limit = { has_country_flag = SPR_declined_selling_cuba_100 }
					clr_country_flag = SPR_declined_selling_cuba_150
					clr_country_flag = SPR_declined_selling_cuba_200
				}
			}
		}
	}
	option = { #Nope
		name = usa.216.b
		ai_chance = {
			base = 0
			modifier = {
				add = 95
				TAG = SPR
				USA = { has_country_flag = SPR_declined_selling_cuba_100 } 				#150
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_150 } }
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_200 } }
			}
			modifier = {
				add = 93
				TAG = SPR
				USA = { has_country_flag = SPR_declined_selling_cuba_100 }
				USA = { has_country_flag = SPR_declined_selling_cuba_150 } 				#150
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_200 } }
			}
			modifier = {
				add = 90
				TAG = SPR
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_100 } }
				USA = { has_country_flag = SPR_declined_selling_cuba_150 } 				#150
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_200 } }
			}
			modifier = {
				add = 85
				TAG = SPR
				USA = { has_country_flag = SPR_declined_selling_cuba_100 }
				USA = { has_country_flag = SPR_declined_selling_cuba_150 }
				USA = { has_country_flag = SPR_declined_selling_cuba_200 } 				#200
			}
			modifier = {
				add = 85
				TAG = SPR
				USA = { has_country_flag = SPR_declined_selling_cuba_100 }
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_150 } }
				USA = { has_country_flag = SPR_declined_selling_cuba_200 } 				#200
			}
			modifier = {
				add = 80
				TAG = SPR
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_100 } }
				USA = { NOT = { has_country_flag = SPR_declined_selling_cuba_150 } }
				USA = { has_country_flag = SPR_declined_selling_cuba_200 } 				#200
			}
			modifier = {
				add = 100
				TAG = SPR
				is_historical_focus_on = yes
			}
    	}
		USA = { country_event = { id = usa.215 hours = 1 } }
		
	}
}


# country_event = {
# 	id = usa.218
# 	title = usa.218.t
# 	desc = usa.218.d

# 	picture = GFX_report_event_german_reichstag_gathering

# 	is_triggered_only = yes

# 	option = {
# 		name = usa.218.a
# 	}
# }
#picking Buchanan's sucessor
country_event = {
	id = usa.219
	title = usa.219.t
	desc = {
		text = usa.219.d1
		trigger = {
			has_completed_focus = USA_covode_committee
		}
	}

	desc = {
		text = usa.219.d2
		trigger = {
			has_completed_focus = USA_close_ranks
		}
	}

	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = usa.219.a
		trigger = {
			has_completed_focus = USA_covode_committee
		}
		set_country_flag = breckinridge_sucessor
		add_political_power = 100
		if = {
			limit = {
				has_completed_focus = USA_covode_committee
			}
			add_popularity = {
				ideology = radical_democracy
				popularity = -0.05
			}
		}
		else = {
			add_popularity = {
				ideology = radical_democracy
				popularity = -0.025
			}
		}
	}
	# option = {
	# 	name = usa.219.b
	# 	trigger = {
	# 		has_completed_focus = USA_close_ranks
	# 	}
	# 	set_country_flag = douglas_successor
	# 	add_political_power = 100
	# 	if = {
	# 		limit = {
	# 			has_completed_focus = USA_covode_committee
	# 		}
	# 		add_popularity = {
	# 			ideology = traditional_conservatism
	# 			popularity = 0.05
	# 		}
	# 	}
	# 	else = {
	# 		add_popularity = {
	# 			ideology = traditional_conservatism
	# 			popularity = 0.025
	# 		}
	# 	}
	# }
# 	option = {
# 		name = usa.219.c
# 		set_country_flag = buchanan_successor
# 		add_political_power = -100
# 		if = {
# 			limit = {
# 				has_completed_focus = USA_covode_committee
# 			}
# 			add_popularity = {
# 				ideology = radical_democracy
# 				popularity = -0.05
# 			}
# 		}
# 		else = {
# 			add_popularity = {
# 				ideology = radical_democracy
# 				popularity = -0.025
# 			}
# 		}
# 	}
}
#mexican protectorate
country_event = { #USA wins
	id = usa.220
	title = usa.220.t
	desc = usa.220.d
	picture = GFX_report_event_chinese_army_training

	is_triggered_only = yes

	option = {
		name = usa.220.a
		army_experience = 5
		add_political_power = 25
	}
}
country_event = { #USA loses
	id = usa.221
	title = usa.221.t
	desc = usa.221.d
	picture = GFX_report_event_chinese_army_training

	is_triggered_only = yes

	option = {
		name = usa.221.a
		add_political_power = -50
	}
}
country_event = { #USA cancels
	id = usa.222
	title = usa.222.t
	desc = usa.222.d
	picture = GFX_report_event_chinese_army_training

	is_triggered_only = yes

	option = {
		name = usa.222.a
		add_political_power = -50
	}
}
country_event = { #Mexico Wins
	id = usa.223
	title = usa.223.t
	desc = usa.223.d
	picture = GFX_report_event_chinese_army_training

	is_triggered_only = yes

	option = {
		name = usa.223.a
		army_experience = 5
		add_political_power = 50
	}
}
country_event = { #Mexico loses
	id = usa.224
	title = usa.224.t
	desc = usa.224.d
	picture = GFX_report_event_chinese_army_training

	is_triggered_only = yes

	option = {
		name = usa.224.a
		add_political_power = -75
		USA = {
			transfer_state = FROM
		}
	}
}
country_event = { #Mexico cancels
	id = usa.225
	title = usa.225.t
	desc = usa.225.d
	picture = GFX_report_event_chinese_army_training

	is_triggered_only = yes

	option = {
		name = usa.225.a
		add_political_power = 50
	}
}
country_event = { #USA sends support to Mexican Liberals Mid-Civil-War
	id = usa.226
	title = usa.226.t
	desc = usa.226.d
	picture = GFX_report_event_chinese_army_training

	is_triggered_only = yes

	immediate = {
		set_variable = {
			var = inf_equip_total
			value = num_equipment@infantry_equipment
		}
		set_variable = {
			var = uni_equip_total
			value = num_equipment@uniform_equipment
		}
		multiply_variable = {
			var = inf_equip_total
			value = 0.5
		}
		multiply_variable = {
			var = uni_equip_total
			value = 0.5
		}
	}

	option = {
		name = usa.226.a
		set_country_flag = USA_sends_small_support_flag
		send_equipment = {
			type = infantry_equipment
			amount = 1000
			target = MEX
		}
		send_equipment = {
			type = uniform_equipment
			amount = 650
			target = MEX
		}
		MEX = {
			add_opinion_modifier = {
				target = USA
				modifier = usa_helped_liberals_1
			}
			country_event = {
				id = usa.227
				hours = 1
			}
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	option = {
		name = usa.226.b
		set_country_flag = USA_sends_medium_support_flag
		send_equipment = {
			type = infantry_equipment
			amount = 2500
			target = MEX
		}
		send_equipment = {
			type = uniform_equipment
			amount = 1500
			target = MEX
		}
		MEX = {
			add_opinion_modifier = {
				target = USA
				modifier = usa_helped_liberals_2
			}
			country_event = {
				id = usa.227
			}
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	option = {
		name = usa.226.c
		set_country_flag = USA_sends_large_support_flag
		send_equipment = {
			type = infantry_equipment
			amount = 4000
			target = MEX
		}
		send_equipment = {
			type = uniform_equipment
			amount = 2500
			target = MEX
		}
		MEX = {
			add_opinion_modifier = {
				target = USA
				modifier = usa_helped_liberals_3
			}
			country_event = {
				id = usa.227
			}
		}
		ai_chance = {
			factor = 100
		}
	}
	option = {
		name = usa.226.e
		trigger = {
			MEC = {
				is_subject_of = SPR
			}
		}
		set_country_flag = USA_send_monroe_support
		
		# subtract_from_variable = {
		# 	var = inf_equip_total
		# 	value = num_equipment_in_armies@infantry_equipment
		# }
		# subtract_from_variable = {
		# 	var = uni_equip_total
		# 	value = num_equipment_in_armies@uniform_equipment
		# }
		
		send_equipment = {
			type = infantry_equipment
			amount = inf_equip_total
			target = MEX
		}
		send_equipment = {
			type = uniform_equipment
			amount = uni_equip_total
			target = MEX
		}
		MEX = {
			add_opinion_modifier = {
				target = USA
				modifier = usa_helped_liberals_4
			}
			country_event = {
				id = usa.227
			}
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}
country_event = {
	id = usa.227
	title = usa.227.t
	desc = usa.227.d
	picture = GFX_report_event_chinese_army_training

	is_triggered_only = yes

	option = {
		name = usa.227.a
		trigger = {
			USA = { has_country_flag = USA_send_small_support_flag }
		}
		USA = {
			clr_country_flag = USA_send_small_support_flag
		}
		custom_effect_tooltip = usa.227.a1
	}
	option = {
		name = usa.227.b
		trigger = {
			USA = { has_country_flag = USA_send_medium_support_flag }
		}
		USA = {
			clr_country_flag = USA_send_medium_support_flag
		}
		custom_effect_tooltip = usa.227.b1
	}
	option = {
		name = usa.227.c
		trigger = {
			USA = { has_country_flag = USA_send_large_support_flag }
		}
		USA = {
			clr_country_flag = USA_send_large_support_flag
		}
		custom_effect_tooltip = usa.227.c1
	}
	option = {
		name = usa.227.e
		trigger = {
			USA = { has_country_flag = USA_send_monroe_support }
		}
		USA = {
			clr_country_flag = USA_send_monroe_support
		}
		custom_effect_tooltip = usa.227.e1
	}
}
##Central park events
country_event = {
	id = usa.228
	title = usa.228.a
	desc = usa.228.b
	picture = GFX_report_event_a_republica
	is_triggered_only = yes
	fire_only_once = yes
	trigger = {
		TAG = USA
	}
	option = {
		name = usa.228.c
		hidden_effect = { country_event = { id = usa.231 days = 15 } }
	}
}

country_event = {
	id = usa.229
	title = usa.229.a
	desc = usa.229.b
	picture = GFX_report_event_a_republica
	is_triggered_only = yes
	
	fire_only_once = yes
	option = {
		name = usa.229.c
	}
}

country_event = {#midway atoll #631
	id = usa.269
	title = usa.269.t
	desc = usa.269.d
	#picture = 

	is_triggered_only = yes

	option = {
		name = usa.269.a
		USA = {
			transfer_state = 631
		}
		631 = {
			if = {
				limit = { has_dlc = "La Resistance" }
				add_state_modifier = {
					modifier = {
						required_garrison_factor = -0.9
					}
				}
			}
		}
	}
}

country_event = {#Navassa Island
	id = usa.270
	title = usa.270.t
	desc = usa.270.d
	#picture = 

	is_triggered_only = yes

	option = {
		name = usa.269.a
	}
}

country_event = {
	id = usa.271
	title = usa.271.t
	desc = usa.271.d
	#picture = 

	is_triggered_only = yes

	option = {
		name = usa.269.a
	}
}

country_event = {
	id = usa.272
	title = usa.272.t
	desc = usa.272.d
	#picture = 

	is_triggered_only = yes

	option = {
		name = usa.269.a
	}
}

country_event = {#johnston atoll #630
	id = usa.273
	title = usa.273.t
	desc = usa.273.d
	#picture = 

	is_triggered_only = yes

	option = {
		name = usa.269.a
		
	}
}

country_event = {
	id = usa.274
	title = usa.274.t
	desc = usa.274.d
	#picture = 

	is_triggered_only = yes

	option = {
		name = usa.269.a
		USA = {
			transfer_state = 630
		}
		630 = {
			if = {
				limit = { has_dlc = "La Resistance" }
				add_state_modifier = {
					modifier = {
						required_garrison_factor = -0.9
					}
				}
			}
		}
	}
}



################## Events detailing Mormon Exodux to Alaska ##############

# country_event = { 
# 	id = usa.220
# 	title = usa.220.t
# 	desc = usa.220.d

# 	#picture = 

# 	is_triggered_only = yes

# 	option = {
# 		name = usa.220.a
# 		set_temp_variable = { type_temp = 447 }#culture id
# 		set_temp_variable = { percentage_temp = 1.00 }#percentage to add
# 		pops_decrease_culture = yes
# 	}
# }



#News Events

#Civil War Avoided
news_event = {
	id = usa_news.8
	title = usa_news.8.t
	desc = usa_news.8.d
	picture = GFX_news_event_acw_avoided

	major = no

	is_triggered_only = yes

	option = {
		trigger = {
			NOT = {
				TAG = USA
			}
		}
		name = usa_news.8.a
	}
	option = {
		trigger = {
			TAG = USA
		}
		name = usa_news.8.b
	}
}
#Drake Well
news_event = {
		id = usa_news.9
		title = usa_news.9.t
		desc = usa_news.9.d
		picture = GFX_news_event_drake_well

		major = yes

		is_triggered_only = yes

		option = {
			trigger = {
				NOT = {
					TAG = USA
				}
			}
			name = usa_news.9.a
		}
		option = {
			trigger = {
				TAG = USA
			}
			name = usa_news.9.b
		}
}
#Socialist Revolution
news_event = {
		id = usa_news.10
		title = usa_news.10.t
		desc = usa_news.10.d
		picture = GFX_news_event_generic_socialist_revolution

		major = yes

		is_triggered_only = yes

		option = {
			trigger = {
				NOT = {
					TAG = USA
					has_government = social_egalitarianism
					has_government = ideology_radical_socialism
				}
			}
			name = usa_news.10.a
		}
		option = {
			trigger = {
				NOT = {
					TAG = USA
				}
				has_government = social_egalitarianism
				has_government = ideology_radical_socialism
				}
			name = usa_news.10.b
			}
		option = {
			trigger = {
				TAG = USA
			}
			name = usa_news.10.c
		}
}
#Monarchist Revolution
news_event = {
		id = usa_news.11
		title = usa_news.11.t
		desc = usa_news.11.d
		picture = GFX_news_event_white_house_storm

		major = yes

		is_triggered_only = yes

		option = {
			trigger = {
				NOT = {
					TAG = USA
					has_government = autocracy
				}
			}
			name = usa_news.11.a
		}
		option = {
			trigger = {
				NOT = {
					TAG = USA
				}
				has_government = autocracy
				}
			name = usa_news.11.b
			}
		option = {
			trigger = {
				TAG = USA
			}
			name = usa_news.11.c
		}
}
#1864 Election - Lincoln
news_event = {
		id = usa_news.13
		title = usa_news.13.t
		desc = {
            text = usa_news.13.d
            trigger = { has_war_with = CSA }
        }
        desc = {
            text = usa_news.13.d_a
            trigger = { CSA = { exists = yes } }
            trigger = { NOT = { has_war_with = CSA } }
        }
        desc = {
            text = usa_news.13.d_b
            trigger = { CSA = { exists = no } }
        }

		picture = GFX_news_event_lincoln_elected_2

		major = yes

		is_triggered_only = yes

		option = {
				name = usa_news.13.a
		}
}
#1864 Election - Stephen
# news_event = {
# 		id = usa_news.14
# 		title = usa_news.14.t
# 		desc = {
#             text = usa_news.14.d
#             trigger = { has_war_with = CSA }
#         }
#         desc = {
#             text = usa_news.14.d_a
#             trigger = { CSA = { exists = yes } }
#             trigger = { NOT = { has_war_with = CSA } }
#         }
#         desc = {
#             text = usa_news.14.d_b
#             trigger = { CSA = { exists = no } }
#         }

# 		picture = GFX_news_event_douglas_elected_1

# 		major = yes

# 		is_triggered_only = yes

# 		option = {
# 				name = usa_news.14.a
# 		}
# }
#1864 Election - McClellan
news_event = {
		id = usa_news.15
		title = usa_news.15.t
		desc = usa_news.15.d

		picture = GFX_news_event_mcclellan_elected

		major = yes

		is_triggered_only = yes

		option = {
				name = usa_news.15.a
		}
}
#1864 Election - Pendelton
news_event = {
		id = usa_news.16
		title = usa_news.16.t
		desc = usa_news.16.d

		picture = GFX_news_event_usa_pendelton_elected

		major = yes

		is_triggered_only = yes

		option = {
				name = usa_news.16.a
		}
}
#Alaska Purchase
news_event = {
		id = usa_news.17
		title = usa_news.17.t
		desc = {
			text = usa_news.17.d
			trigger = { NOT = { has_global_flag = alaska_sold_not_by_rus } }
		}
		desc = {
			text = usa_news.17.d_notrus
			trigger = { has_global_flag = alaska_sold_not_by_rus }
		}

		picture = GFX_news_event_usa_alaska

		major = yes

		is_triggered_only = yes

		option = {
			trigger = {
				tag = USA
			}
			name = usa_news.17.a
			clr_global_flag = alaska_sold_not_by_rus
			clear_global_event_target = alaska_sold_not_by_rus
		}
		option = {
			trigger = {
				tag = RUS
			}
			name = usa_news.17.b
		}
		option = {
			trigger = {
				NOT = { tag = USA }
				NOT = { tag = RUS }
			}
			name = usa_news.17.c
		}
}
#Lincoln Assassinated
news_event = {
		id = usa_news.18
		title = usa_news.18.t
		desc = usa_news.18.d

		picture = GFX_news_event_lincoln_ford

		major = yes

		is_triggered_only = yes

		option = {
			trigger = {
				tag = USA
			}
			name = usa_news.18.a
		}
		option = {
			trigger = {
				NOT = { tag = USA }
			}
			name = usa_news.18.b
		}
}
#Lincoln Saved
news_event = {
		id = usa_news.19
		title = usa_news.19.t
		desc = usa_news.19.d

		picture = GFX_news_event_lincoln_ford

		major = yes

		is_triggered_only = yes

		option = {
			trigger = {
				tag = USA
			}
			name = usa_news.19.a
		}
		option = {
			trigger = {
				NOT = { tag = USA }
			}
			name = usa_news.19.b
		}
}
#Texas Revolt
news_event = {
		id = usa_news.20
		title = usa_news.20.t
		desc = usa_news.20.d

		picture = GFX_news_event_usa_texas

		major = yes

		is_triggered_only = yes

		option = {
			trigger = {
				NOT = {
					tag = USA
					tag = CSA
					tag = TEX
				}
			}
			name = usa_news.20.a
		}
		option = {
			trigger = {
				tag = USA
			}
			name = usa_news.20.b
		}
		option = {
			trigger = {
				tag = CSA
			}
			name = usa_news.20.c
		}
		option = {
			trigger = {
				tag = TEX
			}
			name = usa_news.20.e
		}
}
#Death of Stephen A. Douglas
#news_event = {
#		id = usa_news.21
#		title = usa_news.21.t
#		desc = usa_news.21.d
#
#		picture = GFX_news_event_douglas_elected_2
#
#		major = yes
#
#		is_triggered_only = yes
#
#		option = {
#			trigger = {
#				NOT = {
#					tag = USA
#				}
#			}
#			name = usa_news.21.a
#		}
#		option = {
#			trigger = {
#				tag = USA
#			}
#			name = usa_news.21.b
#		}
#}
#Assassination of Herschel
#news_event = {
#		id = usa_news.22
#		title = usa_news.22.t
#		desc = usa_news.22.d
#
#		picture = GFX_news_event_usa_washington_rally
#
#		major = yes
#
#		is_triggered_only = yes
#
#		option = {
#			trigger = {
#				NOT = {
#					tag = USA
#				}
#			}
#			name = usa_news.22.a
#		}
#		option = {
#			trigger = {
#				tag = USA
#			}
#			name = usa_news.22.b
#		}
#}
#Death of William Pennington
#Collapse of the Union!
#news_event = {
#		id = usa_news.23
#		title = usa_news.23.t
#		desc = usa_news.23.d
#
#		picture = GFX_news_event_congress_vote
#
#		major = yes
#
#		is_triggered_only = yes
#
#		option = {
#			trigger = {
#				NOT = {
#					has_government = autocracy
#				}
#			}
#			name = usa_news.23.a
#		}
#		option = {
#			trigger = {
#				has_government = autocracy
#			}
#			name = usa_news.23.b
#		}
#}
#Bell Elected
news_event = {
		id = usa_news.24
		title = usa_news.24.t
		desc = usa_news.24.d

		picture = GFX_news_event_bell_elected

		major = yes

		is_triggered_only = yes

		option = {
			name = usa_news.24.a
		}
}
#Purchase of Iceland and/or Greenland
news_event = {
		id = usa_news.25
		title = usa_news.25.t
		desc = {
			text = usa_news.25.d
			trigger = { has_global_flag = USA_DEN_sold_icegreen }
		}
		desc = {
			text = usa_news.25.d_ice
			trigger = { has_global_flag = USA_DEN_sold_ice }
		}
		desc = {
			text = usa_news.25.d_green
			trigger = { has_global_flag = USA_DEN_sold_green }
		}

		picture = GFX_news_event_usa_alaska

		major = yes

		is_triggered_only = yes

		option = {
			name = usa_news.25.a
			trigger = {
				NOT = { tag = USA }
			}
		}
		option = {
			name = usa_news.25.b
			trigger = {
				tag = USA
			}
		}
}
#Destruction of the USS Maine
news_event = {
    id = usa_news.26
    title = usa_news.26.t
    desc = {
        text = usa_news.26.d
        trigger = {
            USA = {
                has_country_flag = blame_maine_on_spain
            }
        }
    }
    desc = {
        text = usa_news.26.d_nowar
        trigger = {
            NOT = {
                USA = {
                    has_country_flag = blame_maine_on_spain
                }
            }
        }
    }
    picture = GFX_news_event_usa_maine
    major = yes
    is_triggered_only = yes

    option = {
        name = usa_news.26.a
        trigger = {
            NOT = {
                tag = USA
            }
            NOT = {
                tag = SPR
                USA = { has_country_flag = blame_maine_on_spain }
            }
        }
    }

    option = {
        name = usa_news.26.b
        trigger = {
            tag = USA
        }
    }

    option = {
        name = usa_news.26.c
        trigger = {
            tag = SPR
            USA = { has_country_flag = blame_maine_on_spain }
        }
    }

    # Default option
    option = {
        name = usa_news.26.d
        # No trigger condition, this will always be available
    }
}
#Spanish American War
news_event = {
	id = usa_news.27
	title = usa_news.27.t
	desc = usa_news.27.d

	picture = GFX_news_event_usa_spanish_american_war

	major = yes

	is_triggered_only = yes

	option = {
		name = usa_news.27.a
		trigger = {
			NOT = {
				tag = USA
				tag = SPR
			}
		}
	}
	option = {
		name = usa_news.27.b
		trigger = {
			tag = USA
		}
	}
	option = {
		name = usa_news.27.c
		trigger = {
			tag = SPR
		}
	}
}

# Columbus Riots
news_event = {
	id = usa_news.28
	title = usa_news.28.t
	desc = usa_news.28.d

	picture = GFX_report_event_worker_protests

	major = yes

	is_triggered_only = yes

	option = {
		name = usa_news.28.a
		trigger = {
			NOT = {
				tag = USA
			}
		}
	}
	option = {
		name = usa_news.27.b
		trigger = {
			tag = USA
		}
	}
}

#Alaska Purchase
news_event = {
	id = usa_news.29
	title = usa_news.17.t
	desc = {
		text = usa_news.29.d
		trigger = { NOT = { has_global_flag = alaska_sold_not_by_rus } }
	}
	desc = {
		text = usa_news.29.d_notrus
		trigger = { has_global_flag = alaska_sold_not_by_rus }
	}

	picture = GFX_news_event_usa_alaska

	major = yes

	is_triggered_only = yes

	option = {
		trigger = {
			tag = USA
		}
		name = usa_news.17.a
		clr_global_flag = alaska_sold_not_by_rus
		clear_global_event_target = alaska_sold_not_by_rus
	}
	option = {
		trigger = {
			tag = RUS
		}
		name = usa_news.17.b
	}
	option = {
		trigger = {
			NOT = { tag = USA }
			NOT = { tag = RUS }
		}
		name = usa_news.17.c
	}
}

#Cuba Purchase
news_event = {
	id = usa_news.30
	title = usa_news.30.t
	desc = usa_news.30.d

	#picture = GFX_news_event_usa_alaska

	major = yes

	is_triggered_only = yes

	option = {
		trigger = {
			tag = USA
		}
		name = usa_news.30.a
		clr_global_flag = cuba_sold_not_by_spain
		clear_global_event_target = cuba_sold_not_by_spain
	}
	option = {
		trigger = {
			tag = SPR
		}
		name = usa_news.30.b
	}
	option = {
		trigger = {
			NOT = { tag = USA }
			NOT = { tag = SPR }
		}
		name = usa_news.30.c
	}
}

#Cuba Purchase #2
country_event = {
	id = usa.255
	title = usa.255.t
	desc = usa.255.desc

	picture = placeholder

	is_triggered_only = yes

	option = { # Send the offer!
		name = usa.255.a
		SPR = {
			country_event = {
				id = usa.256
				days = 10
			}
		}
	}
}
country_event = { # USA Asks To Buy Cuba Again (Spain Perspective)
	id = usa.256
	title = usa.256.t
	desc = usa.256.desc

	picture = placeholder

	is_triggered_only = yes

	option = { # We can agree to these terms
		name = usa.256.a
		ai_chance = {
			base = 1
			modifier = {
				strength_ratio = {
					tag = USA
					ratio > 1
				}
				add = 21
			}
			modifier = {
				naval_strength_ratio = {
					tag = USA
					ratio > 1
				}
				add = 21
			}
			modifier = {
				set_temp_variable = { loan_size_to_check = 30 }
				has_less_than_specific_loan_size = no
				add = 23
			}
		}
	}

	option = { # Absolutely not
		name = usa.256.b
		ai_chance = {
			base = 99
		}
	}
}
country_event = { # Spain Accepts Terms! (USA Perspective)
	id = usa.257
	title = usa.257.t
	desc = usa.257.desc

	picture = placeholder

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			CUB = {
				transfer_state = 315
				transfer_state = 1350
				add_state_core = 315
				add_state_core = 1350
				set_capital = { state = 1350 }
			}
			USA = {
				puppet = CUB
			}
		}
	}

	option = { # Yay! :D
		name = usa.257.a
		USA = {
			transfer_state = 1022
		}
		1022 = {
			add_building_construction = {
				type = bunker
				level = 1
				instant_build = yes
				province = 13527
			}
		}
		hidden_effect = {
			news_event = usa.259
		}
	}
}
country_event = {
	id = usa.258
	title = usa.258.t
	desc = usa.258.desc

	picture = placeholder

	is_triggered_only = yes

	option = { # Awww :(
		name = usa.258.a
	}
}
news_event = {
	id = usa.259
	title = usa.259.t
	desc = usa.259.desc

	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.259.a
	}
}
country_event = { #Sardinia Repeal
	id = usa.260
	title = usa.260.t
	desc = usa.260.desc

	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.260.a
		add_political_power = -10
		unlock_decision_tooltip = USA_sardinia_equipment
		unlock_decision_tooltip = USA_sardinia_denounce_austria
		unlock_decision_tooltip = USA_sardinia_invest_textile
	}
	option = {
		name = usa.260.b
		add_political_power = 50
	}
}
country_event = { #Sardinia Renew
	id = usa.261
	title = usa.261.t
	desc = usa.261.desc

	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.261.a
		add_political_power = 30
	}
}

country_event = {#britain accepts clayton-bulwer treaty
	id = usa.262
	title = usa.262.t
	desc = usa.262.d

	#picture

	is_triggered_only = yes

	option = {
		name = usa.262.a
		add_political_power = 100
	}
}

country_event = {#britain refutes clayton-bulwer treaty
	id = usa.263
	title = usa.263.t
	desc = usa.263.d

	#picture

	is_triggered_only = yes

	option = {
		name = usa.263.a
		add_political_power = -50
	}
}

news_event = { #Honduras, Nicuragua, and Guatemala hear about the results
#of the clayton-bulwer treaty
	id = usa.264
	title = {
		text = usa.264.t1
		trigger = {
			ENG = {
				has_country_flag = clayton_bulwer_treaty_passed
			}
		}
	}
	title = {
		text = usa.264.t2
		trigger = {
			ENG = {
				has_country_flag = clayton_bulwer_treaty_failed
			}
		}
	}
	#desc = {
	#	text = usa.264.d1
	#	trigger = {
	#		tag = GUA
	#		ENG = {
	#			has_country_flag = clayton_bulwer_treaty_passed
	#		}
	#	}
	#}
	#desc = {
	#	text = usa.264.d2
	#	trigger = {
	#		tag = GUA
	#		ENG = {
	#			has_country_flag = clayton_bulwer_treaty_failed
	#		}
	#	}
	#}
	desc = {
		text = usa.264.d3
		trigger = {
			OR = {
				tag = NIC
				tag = HON
			}
			ENG = {
				has_country_flag = clayton_bulwer_treaty_passed
			}
		}
	}
	desc = {
		text = usa.264.d4
		trigger = {
			OR = {
				tag = NIC
				tag = HON
			}
			ENG = {
				has_country_flag = clayton_bulwer_treaty_passed
			}
		}
	}

	is_triggered_only = yes

	option = { #treaty of managua (UK/Nicuragua),
		#honduran UK treaty https://www.jstor.org/stable/3020338 why is this so hard to find
		#the treaty of no name https://en.wikipedia.org/wiki/History_of_Honduras_(1838%E2%80%931932)#Development_of_an_independent_nation_(1838%E2%80%9399)
		name = usa.264.a
		trigger = {
			OR = {
				tag = NIC
				tag = HON
			}
		}
	}
	option = {
		name = usa.264.b
		trigger = {
			tag = GUA
		}
	}


}

# Independence Day #
country_event = {
	id = usa.266
	title = usa.266.t
	desc = usa.266.desc
	
	picture = GFX_report_event_usa_independence_day

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			country_event = {
				id = usa.266
				days = 365
			}
		}
	}

	option = {
		name = usa.266.a
		trigger = {
			ROOT = {
				OR = {
					is_puppet = no
					is_subject = no
				}
			}
		}
		add_stability = 0.01
		add_political_power = 25
	}
	option = {
		name = usa.266.b
		trigger = {
			ROOT = {
				OR = {
					is_puppet = yes
					is_subject = yes
				}
			}
		}
		add_stability = -0.01
		add_political_power = -25
		add_popularity = {
			ideology = centrism
			popularity = 0.01
		}
		add_popularity = {
			ideology = traditional_conservatism
			popularity = 0.01
		}
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.01
		}
	}
}

### Flag Events ###
country_event = { # U.S. Commonwealth System
	id = usa.265
	title = usa.265.t
	desc = usa.265.desc

	picture = placeholder

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			set_cosmetic_tag = USA_commonwealth_system
		}
	}

	option = {
		name = usa.265.a
	}
}

### DEBUG EVENTS ###
country_event = {
	id = usa.901
	title = usa.901.t
	desc = usa.901.desc

	picture = placeholder

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			set_variable = { usa_state_count = 69 }
		}
	}

	option = {
		name = usa.901.a
		USA_admit_state_add_stars = yes
	}
}
country_event = {
	id = usa.902
	title = usa.902.t
	desc = usa.902.desc

	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.902.a
		USA_admit_state_add_stars = yes
	}
}
country_event = {
	id = usa.903
	title = usa.903.t
	desc = usa.903.desc

	picture = placeholder

	is_triggered_only = yes

	option = {
		name = usa.903.a
		USA_csa_independence_state_loss = yes
	}
}

# You may change the event ID to whatever you want it to be

news_event = { #The Great Chicago Fire
	id = usa.275
	title = usa.275.t
	desc = usa.275.desc
	picture = GFX_news_event_great_chicago_fire
	is_triggered_only = yes
	
	fire_only_once = yes
	option = {
		name = usa.275.a
		395 = {
			add_manpower = -300
			damage_building = {
				type = infrastructure
				damage = 2
			}
			damage_building = {
				type = arms_factory
				damage = 1
			}
		}
	}
}

news_event = { #The Creation of The National Weather Service
	id = usa.276
	title = usa.276.t
	desc = usa.276.desc
	#picture = GFX_
	picture = placeholder
	is_triggered_only = yes
	
	fire_only_once = yes
	option = {
		name = usa.276.a
	}
}

news_event = { #The Founding of AT&T
	id = usa.277
	title = usa.277.t
	desc = usa.277.desc
	#picture = GFX_
	picture = placeholder
	is_triggered_only = yes
	
	fire_only_once = yes
	option = {
		name = usa.277.a
	}
}

# news_event = { #1906 San Francisco Earthquake
# 	id = usa.278
# 	title = usa.278.t
# 	desc = usa.278.desc
# 	#picture = GFX_
# 	picture = placeholder
# 	is_triggered_only = yes
	
# 	fire_only_once = yes
# 	option = {
# 		name = usa.278.a
# 		1343 = {
# 			add_manpower = -2000
# 			damage_building = {
# 				type = infrastructure
# 				damage = 2
# 			}
# 		}
# 	}
# }

#THE 1860 AND 1864 ELECTIONS ARE IN THE REGULAR USA EVENTS
#Election of 1868
country_event = {
		id = usa.230
		title = usa.230.t
		desc = {
			text = usa.230.d
			trigger = { NOT = { has_global_flag = ACW_American_Civil_War_Avoided } }
		}
		desc = {
			text = usa.230.d_a
			trigger = { has_global_flag = ACW_American_Civil_War_Avoided }
		}
		picture = GFX_report_event_election_vote
		
		fire_only_once = yes

		is_triggered_only = yes
		
		trigger = {
			TAG = USA
			date > 1868.1.1
			date < 1869.1.1
			has_elections = yes
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}
		
		option = {
				name = usa.230.a
				trigger = {
					NOT = { has_global_flag = ACW_American_Civil_War_Avoided }
				}
				ai_chance = {
					factor = 50

					modifier = {
						add = 45
						has_country_flag = USASoaring_Eagle
					}

					modifier = {
						add = -20
						has_country_flag = USABroken_Eagle
					}
				}
				set_country_flag = USA_Grant_1868
				add_popularity = { ideology = social_egalitarianism popularity = 0.02 }
				add_popularity = { ideology = centrism popularity = 0.03 }
				hidden_effect = { news_event = { id = usa.245 } }
		}
		option = {
				name = usa.230.b
				ai_chance = {
					factor = 50

					modifier = {
						add = -45
						has_country_flag = USASoaring_Eagle
					}

					modifier = {
						add = 20
						has_country_flag = USABroken_Eagle
					}

					modifier = {
						factor = 0
						is_historical_focus_on = yes
					}
				}
				set_country_flag = USA_Seymour_1868
				add_popularity = { ideology = traditional_conservatism popularity = 0.05 }
				hidden_effect = { news_event = { id = usa.246 } }
		}
		option = {
				name = usa.230.c
				trigger = {
					has_country_flag = USA_Civil_War_Avoided
				}
				ai_chance = {
					factor = 50
				}
				set_country_flag = USA_Colfax_1868
				add_popularity = { ideology = centrism popularity = 0.05 }
				hidden_effect = { news_event = { id = usa.247 } }
		}
}
#Grant Inaugerated
country_event = {
		id = usa.231
		title = usa.231.t
		desc = usa.231.d
		picture = GFX_report_event_german_reichstag_gathering
		
		fire_only_once = yes
		
		trigger = {
			tag = USA
			OR = {
				has_country_flag = USA_Grant_1868
				date > 1868.3.4
			}
			OR = {
				has_country_flag = USA_Grant_1872
				date > 1872.3.4
			}
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}

		mean_time_to_happen = { days = 20 }
		
		option = {
			name = usa.231.a
			retire_ideology_leader = social_egalitarianism
			USA_character_ulysses_s_grant = {
				add_country_leader_role = {
					promote_leader = yes
					country_leader = {
						ideology = liberal_social
						expire = "1885.7.23.1"
						traits = {
							war_veteran
							eoanb_trait_military_leader
						}
					}
				}
			}
			set_politics = {
				ruling_party = social_egalitarianism
				election_frequency = 48
    			elections_allowed = yes
			}
		}
}
#Seymour Inaugerated
country_event = {
		id = usa.232
		title = usa.232.t
		desc = usa.232.d
		picture = GFX_report_event_german_reichstag_gathering
		
		fire_only_once = yes
		
		trigger = {
			tag = USA
			has_country_flag = USA_Seymour_1868
			date > 1868.3.4
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}

		mean_time_to_happen = { days = 20 }
		
		option = {
			name = usa.231.a
			retire_ideology_leader = traditional_conservatism
			USA_character_horatio_seymour = {
				add_country_leader_role = {
					promote_leader = yes
					country_leader = {
						ideology = federal
						expire = "1886.2.12.1"
						traits = { }
					}
				}
			}
			set_politics = {
				ruling_party = traditional_conservatism
				election_frequency = 48
    			elections_allowed = yes
			}
		}
}
#Colfax Inaugerated
country_event = {
		id = usa.233
		title = usa.233.t
		desc = usa.233.d
		picture = GFX_report_event_german_reichstag_gathering
		
		fire_only_once = yes
		
		trigger = {
			tag = USA
			has_country_flag = USA_Colfax_1868
			date > 1868.3.4
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}

		mean_time_to_happen = { days = 20 }
		
		option = {
			name = usa.233.a
			retire_ideology_leader = centrism
			USA_character_schuyler_colfax = {
				add_country_leader_role = {
					promote_leader = yes
					country_leader = {
						ideology = market_liberal
						expire = "1885.1.13.1"
						traits = { }
					}
				}
			}
			set_politics = {
				ruling_party = centrism
				election_frequency = 48
    			elections_allowed = yes
			}
		}
}
##From Now On, Candidates are selected by event
#Republican Candidate Selection 1872
country_event = {
		id = usa.234
		title = usa.234.t
		desc = usa.234.d
		picture = GFX_report_event_german_reichstag_gathering
		
		fire_only_once = yes
		
		trigger = {
			tag = USA
			date > 1872.1.1
			has_elections = yes
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}

		mean_time_to_happen = { days = 50 }
		
		option = {
			name = usa.234.a
			ai_chance = {
				factor = 100
			}
			set_country_flag = USA_1872_candidate_rep_grant
		}
		option = {
			name = usa.234.b
			ai_chance =  {
				factor = 0
			}
			set_country_flag = USA_1872_candidate_rep_generic
		}
}
#Republican Split in 1872
country_event = {
		id = usa.235
		title = usa.235.t
		desc = usa.235.d
		picture = GFX_report_event_german_reichstag_gathering
		
		fire_only_once = yes
		
		is_triggered_only = yes
		
		option = {
			name = usa.235.a
			ai_chance = {
				factor = 50
			}
			set_country_flag = USA_1872_candidate_dem_greely
		}
		option = {
			name = usa.235.b
			trigger = {
				has_country_leader = {
				    name = "Horatio Seymour"
				    ruling_only = yes
				}
			}
			ai_chance = {
				factor = 50
			}
			set_country_flag = USA_1872_candidate_dem_seymour
		}
		option = {
			name = usa.235.c
			trigger = {
				has_country_leader = {
				    name = "Schuyler Colfax"
				    ruling_only = yes
				}
			}
			ai_chance = {
				factor = 50
			}
			set_country_flag = USA_1872_candidate_dem_colfax
		}
		option = {
			name = usa.235.e
			ai_chance = {
				factor = 0
			}
			set_country_flag = USA_1872_candidate_dem_generic
		}
}
#Election of 1872
country_event = {
		id = usa.236
		title = usa.236.t
		desc = usa.236.d
		picture = GFX_report_event_election_vote
		
		fire_only_once = yes

		is_triggered_only = yes
		
		trigger = {
			TAG = USA
			date > 1872.1.1
			date < 1873.1.1
			has_elections = yes
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}
		
		option = {
			name = usa.236.a
			trigger = {
				has_country_flag = USA_1872_candidate_rep_grant
			}
			set_country_flag = USA_Grant_1872
		}
		option = {
			name = usa.236.b
			trigger = {
				has_country_flag = USA_1872_candidate_dem_greely
			}
			clr_country_flag = USA_1872_candidate_dem_greely
			set_country_flag = USA_1872_greely_win
		}
		option = {
			name = usa.236.c
			trigger = {
				has_country_flag = USA_1872_candidate_dem_seymour
			}
			clr_country_flag = USA_1872_candidate_dem_seymour
		}
		option = {
			name = usa.236.e
			trigger = {
				has_country_flag = USA_1872_candidate_dem_colfax
			}
			clr_country_flag = USA_1872_candidate_dem_colfax
		}
		option = {
			name = usa.236.f
			trigger = {
				has_country_flag = USA_1872_candidate_rep_generic
			}
			set_country_flag = USA_1872_generic_rep_elected
		}
		option = {
			name = usa.236.g
			trigger = {
				has_country_flag = USA_1872_candidate_dem_generic
			}
			set_country_flag = USA_1872_generic_dem_elected
		}
}
#Inaugeration of Generic 1872
country_event = {
		id = usa.237
		title = usa.237.t
		desc = usa.237.d
		picture = GFX_report_event_german_reichstag_gathering
		
		fire_only_once = yes
		
		is_triggered_only = yes
		
		option = {
			name = usa.237.a
			trigger = {
				has_country_flag = USA_1872_generic_rep_elected
			}
			retire_country_leader = yes
			set_politics = {
				ruling_party = centrism
				election_frequency = 48
    			elections_allowed = yes
			}
			retire_country_leader = yes
		}
		option = {
			name = usa.237.a
			trigger = {
				has_country_flag = USA_1872_generic_dem_elected
			}
			retire_country_leader = yes
			set_politics = {
				ruling_party = traditional_conservatism
				election_frequency = 48
    			elections_allowed = yes
			}
			retire_country_leader = yes
		}
}
#Inaugeration of Greely
country_event = {
		id = usa.238
		title = usa.238.t
		desc = usa.238.d
		picture = GFX_report_event_german_reichstag_gathering
		
		fire_only_once = yes
		
		trigger = {
			tag = USA
			has_country_flag = USA_1872_greely_win
			date > 1872.3.4
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}
		
		option = {
			name = usa.238.a
			retire_ideology_leader = centrism
			USA_character_horace_greeley = {
				add_country_leader_role = {
					promote_leader = yes
					country_leader = {
						ideology = market_liberal
						expire = "1872.11.29.1"
						traits = { }
					}
				}
			}
			set_politics = {
				ruling_party = centrism
				election_frequency = 48
    			elections_allowed = yes
			}
		}
}
#Republican Candidate Selection 1876
country_event = {
		id = usa.239
		title = usa.239.t
		desc = usa.239.d
		picture = GFX_report_event_german_reichstag_gathering
		
		fire_only_once = yes
		
		trigger = {
			tag = USA
			date > 1876.1.1
			has_elections = yes
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}

		mean_time_to_happen = { days = 50 }
		
		option = {
			name = usa.239.a
			ai_chance = {
				factor = 40
				modifier = {
					factor = 100
					is_historical_focus_on = yes
				}
			}
			set_country_flag = USA_election_1876_hayes
		}
		option = {
			name = usa.239.b
			ai_chance = {
				factor = 30
				modifier = {
					factor = 0
					is_historical_focus_on = yes
				}
			}
			set_country_flag = USA_election_1876_wheel
		}
}
#Democratic Candidate Selection 1876
country_event = {
		id = usa.240
		title = usa.240.t
		desc = usa.240.d
		picture = GFX_report_event_german_reichstag_gathering
		
		fire_only_once = yes
		
		trigger = {
			tag = USA
			date > 1876.1.1
			has_elections = yes
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}

		mean_time_to_happen = { days = 50 }
		
		option = {
			name = usa.240.a
			ai_chance = {
				factor = 40
				modifier = {
					factor = 100
					is_historical_focus_on = yes
				}
			}
			set_country_flag = USA_election_1876_tilden
		}
		option = {
			name = usa.240.b
			ai_chance = {
				factor = 30
				modifier = {
					factor = 0
					is_historical_focus_on = yes
				}
			}
			set_country_flag = USA_election_1876_hendricks
		}
}
#Election of 1876
country_event = {
		id = usa.241
		title = usa.241.t
		desc = usa.241.d
		picture = GFX_report_event_election_vote
		
		fire_only_once = yes

		is_triggered_only = yes
		
		trigger = {
			TAG = USA
			date > 1876.1.1
			date < 1877.1.1
			has_elections = yes
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}
		
		option = {
			name = usa.241.a
			if = {
				limit = {
					has_country_flag = USA_election_1876_hayes
				}
				clr_country_flag = USA_election_1876_hayes
				set_country_flag = USA_1876_hayes_win
			}
			if = {
				limit = {
					has_country_flag = USA_election_1876_wheel
				}
				clr_country_flag = USA_election_1876_wheel
				set_country_flag = USA_1876_wheel_win
			}
		}
		option = {
			name = usa.241.b
			if = {
				limit = {
					has_country_flag = USA_election_1876_tilden
				}
				clr_country_flag = USA_election_1876_tilden
				set_country_flag = USA_1876_tilden_win
			}
			if = {
				limit = {
					has_country_flag = USA_election_1876_hendricks
				}
				clr_country_flag = USA_election_1876_hendricks
				set_country_flag = USA_1876_hendricks_win
			}
		}
}
#1876 Inaugeration
country_event = {
		id = usa.242
		title = usa.242.t
		desc = usa.242.d
		picture = GFX_report_event_election_vote
		
		fire_only_once = yes

		trigger = {
			tag = USA
			OR = {
				has_country_flag = USA_1876_hayes_win
				has_country_flag = USA_1876_tilden_win
				has_country_flag = USA_1876_hendricks_win
				has_country_flag = USA_1876_wheel_win
			}
			date > 1876.3.4
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}
		
		option = {
			name = usa.242.a
			hidden_effect = {
				set_party_name = {
					ideology = centrism
					long_name = USA_centrism_party
					name = USA_centrism_party
				}
				set_party_name = {
					ideology = traditional_conservatism
					long_name = USA_traditional_conservatism_party
					name = USA_traditional_conservatism_party
				}
				set_party_name = {
					ideology = social_egalitarianism
					long_name = USA_progressive_republican_party
					name = USA_progressive_republican_party
				}
			}
			if = {
				limit = {
					has_country_flag = USA_1876_hayes_win
				}
				retire_ideology_leader = centrism
				create_country_leader = {
	    			name = "Rutherford B. Hayes"
	    			desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
	    			picture = "Portrait_USA_Rutherford_Hayes.dds"
	    			expire = "1947.1.1"
	    			ideology = market_liberal
	  			}
				set_politics = {
					ruling_party = centrism
					election_frequency = 48
	    			elections_allowed = yes
				}
			}
			if = {
				limit = {
					has_country_flag = USA_1876_wheel_win
				}
				retire_country_leader = yes
				create_country_leader = {
	    			name = "William A. Wheeler"
	    			desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
	    			picture = "GFX_Portrait_EUROPE_Generic_Politician_39"
	    			expire = "1947.1.1"
	    			ideology = market_liberal
	  			}
				set_politics = {
					ruling_party = centrism
					election_frequency = 48
	    			elections_allowed = yes
				}
			}
			if = {
				limit = {
					has_country_flag = USA_1876_tilden_win
				}
				retire_country_leader = yes
				create_country_leader = {
	    			name = "Samuel J. Tilden"
	    			desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
	    			picture = "Portrait_Europe_generic_leader_politician_14.png"
	    			expire = "1947.1.1"
	    			ideology = federal
	  			}
				set_politics = {
					ruling_party = traditional_conservatism
					election_frequency = 48
	    			elections_allowed = yes
				}
			}
			if = {
				limit = {
					has_country_flag = USA_1876_hendricks_win
				}
				retire_country_leader = yes
				create_country_leader = {
	    			name = "Thomas A. Hendricks"
	    			desc = "POLITICS_FRANKLIN_DELANO_ROOSEVELT_DESC"
	    			picture = "Portrait_Europe_generic_leader_politician_33.png"
	    			expire = "1947.1.1"
	    			ideology = federal
	  			}
				set_politics = {
					ruling_party = traditional_conservatism
					election_frequency = 48
	    			elections_allowed = yes
				}
			}
		}
}
#New Congress Beginning
country_event = {
		id = usa.243
		title = usa.243.t
		desc = usa.243.d
		picture = GFX_report_event_german_reichstag_gathering
		
		trigger = {
			tag = USA
			has_usa_congress = yes
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}

		is_triggered_only = yes

		immediate = {
			#usa_congress_election = yes
		}
		
		option = {
			name = usa.243.a
			custom_effect_tooltip = USA_CONGRESS_ELECTION_TT
		}
}
#Generic USA Election
country_event = {
		id = usa.244
		title = usa.244.t
		desc = usa.244.d
		picture = GFX_report_event_german_reichstag_gathering
		
		is_triggered_only = yes
		
		trigger = {
			tag = USA
			date > 1877.1.1
			NOT={
				has_country_leader = {
					name = "Joseph Norton"
					ruling_only = yes
				}
			}
		}
		
		option = {
			trigger = {
				centrism > traditional_conservatism
			}
			name = usa.244.a
			retire_country_leader = yes
			set_politics = {
				ruling_party = centrism
				election_frequency = 48
    			elections_allowed = yes
			}
			add_popularity = {
				ideology = traditional_conservatism
				popularity = 0.03
			}
			clr_country_flag = USA_generic_president_reelected
		}
		option = {
			trigger = {
				centrism < traditional_conservatism
			}
			name = usa.244.b
			retire_country_leader = yes
			set_politics = {
				ruling_party = traditional_conservatism
				election_frequency = 48
    			elections_allowed = yes
			}
			add_popularity = {
				ideology = centrism
				popularity = 0.03
			}
			clr_country_flag = USA_generic_president_reelected
		}
		option = {
			name = usa.244.c
			trigger = {
				NOT = { has_country_flag = USA_generic_president_reelected }
			}
			set_country_flag = USA_generic_president_reelected
			random_list = {
				50 = {
					add_popularity = {
						ideology = centrism
						popularity = 0.03
					}
				}
				50 = {
					add_popularity = {
						ideology = traditional_conservatism
						popularity = 0.03
					}
				}
			}
		}
}

#1868 Election - Grant
news_event = {
		id = usa.245
		title = usa.245.t
		desc = usa.245.d

		picture = GFX_news_event_grant_elected

		major = yes

		is_triggered_only = yes

		option = {
			name = usa.245.a
		}
}
#1868 Election - Seymour
news_event = {
		id = usa.246
		title = usa.246.t
		desc = {
			text = usa.246.d
			trigger = { NOT = { has_country_flag = USA_Civil_War_Avoided } }
		}
		desc = {
			text = usa.246.d_a
			trigger = { has_country_flag = USA_Civil_War_Avoided }
		}

		picture = GFX_news_event_seymour_elected

		major = yes

		is_triggered_only = yes

		option = {
			name = usa.246.a
		}
}
#1868 Election - Colfax
news_event = {
		id = usa.247
		title = usa.247.t
		desc = usa.247.d

		picture = GFX_news_event_colfax_elected

		major = yes

		is_triggered_only = yes

		option = {
			name = usa.247.a
		}
}

# Crash of the SS Central America
country_event = {
	id = usa.341
	title = usa.341.t
	desc = usa.341.d
	picture = GFX_report_event_merchant_ship_01
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = usa.341.a
		add_political_power = -20
	}
}

# Oil Creek Pennsylvania
state_event = {
	id = usa.342
	is_triggered_only = yes
	fire_only_once = yes
	hidden = yes

	immediate = {
		hidden_effect = {
			OWNER = {
				country_event = usa.343
			}
		}
	}
}

country_event = {
	id = usa.343
	title = usa.342.t
	desc = usa.342.d
	picture = GFX_report_event_usa_oil_creek

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = usa.342.a
		if = {
			limit = { tag = USA }
			complete_national_focus = USA_pennsylvanian_oil
		}
		360 = {
			add_resource = {
				type = oil
				amount = 16
			}
		}
	}
}

country_event = {
	id = usa.344
	title = usa.344.t
	desc = usa.344.d
	picture = GFX_report_event_rusk_suicide
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = usa.344.a
	}
}

country_event = {
	id = usa.345
	title = usa.345.t
	desc = usa.345.d
	picture = GFX_report_event_jones_suicide
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = usa.345.a
	}
}

country_event = {
	id = usa.346
	title = usa.346.t
	desc = usa.346.d
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = usa.346.a
	}
}

country_event = {
	id = usa.347
	title = usa.347.t
	desc = usa.347.d
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = usa.347.a
		add_political_power = -20
	}
}

country_event = {
	id = usa.348
	title = usa.348.t
	desc = usa.348.d
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = usa.348.a
		add_political_power = -20
	}
}
#Pony Express
country_event = {
	id = usa.349
	title = usa.349.t
	desc = usa.349.d
	is_triggered_only = yes
	fire_only_once = yes
	picture = GFX_report_event_pony_express
	option = {
		name = usa.349.a
	}
}
#First Continetal Telegraph
country_event = {
	id = usa.350
	title = usa.350.t
	desc = usa.350.d
	is_triggered_only = yes
	fire_only_once = yes
	#picture = 
	option = {
		name = usa.350.a
	}
}
#First Kentucky Derby
country_event = {
	id = usa.351
	title = usa.351.t
	desc = usa.351.d
	is_triggered_only = yes
	fire_only_once = yes
	#picture = 
	option = {
		name = usa.351.a
	}
}
#Jingle Bells
country_event = {
	id = usa.352
	title = usa.352.t
	desc = usa.352.d
	is_triggered_only = yes
	fire_only_once = yes
	#picture = 
	option = {
		name = usa.352.a
	}
}
#Ford Automobile
country_event = {
	id = usa.353
	title = usa.353.t
	desc = usa.353.d
	is_triggered_only = yes
	fire_only_once = yes
	picture = GFX_report_event_flavour_car_model_T
	option = {
		name = usa.353.a
	}
}

#North Chicago Rolling Mill Introduces Steel 1865
state_event = {
	id = usa.354
	title = usa.354.t
	desc = usa.354.d
	#picture = GFX_event_flavor_trans_railway_telegraph
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = usa.354.a
		OWNER = { 
			if = { 
				limit = { NOT = { has_tech = industrial_blast_furnace } }
				set_technology = {
					industrial_blast_furnace = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = hot_blast_furnaces } }
				set_technology = {
					hot_blast_furnaces = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = cast_iron_industrialization } }
				set_technology = {
					cast_iron_industrialization = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = industrial_finery_forge } }
				set_technology = {
					industrial_finery_forge = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = wrought_iron_industrialization } }
				set_technology = {
					wrought_iron_industrialization = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = inorganic_chemistry } }
				set_technology = {
					inorganic_chemistry = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = chemical_vapor_deposition } }
				set_technology = {
					chemical_vapor_deposition = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = dry_puddling_process } }
				set_technology = {
					dry_puddling_process = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = bessemer_process } }
				set_technology = {
					bessemer_process = 1
				}
			}
		}
		add_resource = {
			type = steel
			amount = 20
			state = 395
		}
		add_resource = {
			type = iron
			amount = 10
			state = 395
		}
		add_victory_points = {
			province = 9450
			value = 5
		}
	}
}

#The Union Iron Company 1872 (estimated time)
#founded in 1863, confirmed 1877 ad for selling steel. Steel mills common in chicago around 1870
state_event = {
	id = usa.355
	title = usa.355.t
	desc = usa.355.d
	#picture = GFX_event_flavor_trans_railway_telegraph
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = usa.355.a
		OWNER = { 
			if = { 
				limit = { NOT = { has_tech = industrial_blast_furnace } }
				set_technology = {
					industrial_blast_furnace = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = hot_blast_furnaces } }
				set_technology = {
					hot_blast_furnaces = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = cast_iron_industrialization } }
				set_technology = {
					cast_iron_industrialization = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = industrial_finery_forge } }
				set_technology = {
					industrial_finery_forge = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = wrought_iron_industrialization } }
				set_technology = {
					wrought_iron_industrialization = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = inorganic_chemistry } }
				set_technology = {
					inorganic_chemistry = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = chemical_vapor_deposition } }
				set_technology = {
					chemical_vapor_deposition = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = dry_puddling_process } }
				set_technology = {
					dry_puddling_process = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = bessemer_process } }
				set_technology = {
					bessemer_process = 1
				}
			}
		}
		add_resource = {
			type = steel
			amount = 20
			state = 395
		}
		add_resource = {
			type = iron
			amount = 10
			state = 395
		}
		add_victory_points = {
			province = 9450
			value = 5
		}
	}
}

#Joliet Iron and Steel Company Steel 1879
#Started 1869, recorganized 1873, actually openes after Panic in 1879
state_event = {
	id = usa.356
	title = usa.356.t
	desc = usa.356.d
	#picture = GFX_event_flavor_trans_railway_telegraph
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = usa.356.a
		OWNER = { 
			if = { 
				limit = { NOT = { has_tech = industrial_blast_furnace } }
				set_technology = {
					industrial_blast_furnace = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = hot_blast_furnaces } }
				set_technology = {
					hot_blast_furnaces = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = cast_iron_industrialization } }
				set_technology = {
					cast_iron_industrialization = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = industrial_finery_forge } }
				set_technology = {
					industrial_finery_forge = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = wrought_iron_industrialization } }
				set_technology = {
					wrought_iron_industrialization = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = inorganic_chemistry } }
				set_technology = {
					inorganic_chemistry = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = chemical_vapor_deposition } }
				set_technology = {
					chemical_vapor_deposition = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = dry_puddling_process } }
				set_technology = {
					dry_puddling_process = 1
				}
			}
			if = { 
				limit = { NOT = { has_tech = bessemer_process } }
				set_technology = {
					bessemer_process = 1
				}
			}
		}
		395 = { add_manpower = 2500 }
		add_resource = {
			type = steel
			amount = 20
			state = 395
		}
		add_resource = {
			type = iron
			amount = 10
			state = 395
		}
		add_victory_points = {
			province = 9450
			value = 5
		}
	}
}
