# American quest for independence
country_event = {

	id = 1021
	
	trigger = {
		NOT = { exists = USA }
		NOT = { has_country_flag = american_revolution }
		USA = {
			NOT = {
				OR = {
					is_core = 970			# Pennacook
					is_core = 971			# Abnaki
					is_core = 968			# Massachusetts
					is_core = 967			# Narraganset
					is_core = 966			# Connecticut
					is_core = 965			# Manhattan
					is_core = 962			# Unami
					is_core = 956			# Lenape
					is_core = 955			# Susquehanna
					is_core = 957			# Delaware
					is_core = 953			# Conoy
					is_core = 952			# Manahoac
					is_core = 950			# Powhatan
					is_core = 938			# Pamlico
					is_core = 937			# Tuscarora
					is_core = 936			# Cheraw
					is_core = 932			# Santee
					is_core = 929			# Muskogee
					is_core = 933			# Catawba
				}
			}
		}
		year = 1750
		OR = {
			owns = 955		# Susquehanna
			owns = 963		# Mahican
			owns = 965		# Manhattan
			owns = 966		# Connecticut
			owns = 968		# Massachusetts
		}
	}
	
	mean_time_to_happen = {
		months = 120

		modifier = {
			factor = 0.9
			NOT = { centralization_decentralization = 0 }
		}
		modifier = {
			factor = 0.9
			NOT = { centralization_decentralization = -2 }
		}
		modifier = {
			factor = 0.9
			NOT = { centralization_decentralization = -4 }
		}
		modifier = {
			factor = 1.1
			centralization_decentralization = 1
		}
		modifier = {
			factor = 1.1
			centralization_decentralization = 3
		}
		modifier = {
			factor = 1.1
			centralization_decentralization = 5
		}
		modifier = {
			factor = 0.9
			NOT = { stability = 0 }
		}
		modifier = {
			factor = 0.9
			NOT = { stability = -1 }
		}
		modifier = {
			factor = 0.9
			NOT = { stability = -2 }
		}
		modifier = {
			factor = 1.1
			stability = 1
		}
		modifier = {
			factor = 1.1
			stability = 2
		}
		modifier = {
			factor = 1.1
			stability = 3
		}
		modifier = {
			factor = 0.95
			NOT = { ADM = 5 }
		}
		modifier = {
			factor = 0.85
			NOT = { ADM = 4 }
		}
		modifier = {
			factor = 0.95
			year = 1760
		}
		modifier = {
			factor = 0.85
			year = 1780
		}
	}
	
	title = "EVTNAME1021"
	desc = "EVTDESC1021"
	
	option = {
		name = "EVTOPTA1021"
		set_country_flag = american_revolution
		USA = {
			add_core = 970			# Pennacook
			add_core = 971			# Abnaki
			add_core = 968			# Massachusetts
			add_core = 967			# Narraganset
			add_core = 966			# Connecticut
			add_core = 965			# Manhattan
			add_core = 962			# Unami
			add_core = 956			# Lenape
			add_core = 955			# Susquehanna
			add_core = 957			# Delaware
			add_core = 953			# Conoy
			add_core = 952			# Manahoac
			add_core = 950			# Powhatan
			add_core = 938			# Pamlico
			add_core = 937			# Tuscarora
			add_core = 936			# Cheraw
			add_core = 932			# Santee
			add_core = 929			# Muskogee
			add_core = 933			# Catawba
		}
		colonists = -5
	}
}


# Trade restrictions
province_event = {

	id = 1022
	
	trigger = {
		owner = { 
			has_country_flag = american_revolution
			NOT = { has_country_flag = trade_restrictions }
			NOT = { mercantilism_freetrade = 0 }
		}
		NOT = { exists = USA }
		
		USA = {
			OR = {
				is_core = 971			# Abnaki
				is_core = 970			# Pennacook
				is_core = 968			# Massachusetts
				is_core = 967			# Narraganset
				is_core = 966			# Connecticut
				is_core = 965			# Manhattan
				is_core = 962			# Unami
				is_core = 956			# Lenape
				is_core = 955			# Susquehanna
				is_core = 957			# Delaware
				is_core = 953			# Conoy
				is_core = 952			# Manahoac
				is_core = 950			# Powhatan
				is_core = 929			# Muskogee
				is_core = 932			# Santee
				is_core = 933			# Catawba
				is_core = 936			# Cheraw
				is_core = 937			# Tuscarora
				is_core = 938			# Pamlico
			}
		}
	}
	
	mean_time_to_happen = {
		months = 24
		
		modifier = {
			factor = 0.9
			owner = { NOT = { mercantilism_freetrade = -2  } }
		}
		modifier = {
			factor = 0.8
			owner = { NOT = { mercantilism_freetrade = -3  } }
		}
		modifier = {
			factor = 0.8
			owner = { NOT = { mercantilism_freetrade = -4  } }
		}
		modifier = {
			factor = 0.8
			owner = { idea = shrewd_commerce_practise }
		}
	}
	
	title = "EVTNAME1022"
	desc = "EVTDESC1022"
	
	option = {
		name = "EVTOPTA1022"				# Send troops
		owner = {
			set_country_flag = trade_restrictions
			
			random_owned = {
				limit = { is_core = USA }
				create_revolt = 2
			}
			random_owned = {
				limit = { is_core = USA }
				create_revolt = 3
			}
			random_owned = {
				limit = { is_core = USA }
				create_revolt = 2
			}
			random_owned = {
				limit = { is_core = USA }
				create_revolt = 3
			}
			random_owned = {
				limit = { is_core = USA }
				create_revolt = 2
			}
			random_owned = {
				limit = { is_core = USA }
				create_revolt = 3
			}		}
		add_province_modifier = {
			name = "military_reinforcement"
			duration = 120
		}
	}
		
	option = {
		name = "EVTOPTB1022"				# Restrict export
		owner = {
			add_country_modifier = {
				name = "export_restrictions"
				duration = 120
			}
			set_country_flag = trade_restrictions
		}
	}
}


# Colonial assembly
province_event = {

	id = 1023
	
	trigger = {
		is_colony = yes
		owner = {
			has_country_flag = american_revolution
			NOT = { stability = 0 }
			NOT = { advisor = colonial_governor }
		}
	}
	
	mean_time_to_happen = {
		months = 60

		modifier = {
			factor = 0.9
			owner = { NOT = { stability = -1 } }
		}
		modifier = {
			factor = 0.9
			owner = { NOT = { stability = -2 } }
		}
		modifier = {
			factor = 0.9
			owner = { NOT = { advisor = statesman } }
		}
		modifier = {
			factor = 0.9
			owner = { NOT = { ADM = 4 } }
		}
		modifier = {
			factor = 0.9
			owner = { NOT = { DIP = 4 } }
		}
		modifier = {
			factor = 1.1
			owner = { ADM = 8 }
		}
		modifier = {
			factor = 1.1
			owner = { DIP = 8 }
		}
		modifier = {
			factor = 1.1
			owner = { advisor = statesman }
		}
	}
	
	title = "EVTNAME1023"
	desc = "EVTDESC1023"
	
	option = {
		name = "EVTOPTA1023"		# Attempt to find a diplomatic solution
		owner = {
			clr_country_flag = american_revolution
			add_country_modifier = {
				name = "diplomatic_negotiation"
				duration = 300
			}
		}
	}
		
	option = {
		name = "EVTOPTB1023"		# The days of diplomacy are over
		owner = { stability = -1 }
		add_province_modifier = {
			name = "colonial_tensions"
			duration = 300
		}
	}
}