# Canada's quest for independence
country_event = {

	id = 1025
	
	trigger = {
		NOT = { exists = CAN }
		NOT = { has_country_flag = canadian_nationalism }
		CAN = {
			NOT = {
				is_core = 991			# Ottawa
				is_core = 992			# Algonquin
				is_core = 999			# Nunavik
				is_core = 1000			# Cree
				is_core = 1001			# Sault
				is_core = 1002			# Abitbi
				is_core = 1003			# Moose Cree
				is_core = 1007			# Ojibwa
				is_core = 1004			# Attawapiskat
			}
		}		
		OR = {
			owns = 1000		# Cree
			owns = 1001		# Sault
			owns = 1002		# Abitbi
			owns = 1003		# Moose Cree
		}
		year = 1750
	}
	
	mean_time_to_happen = {
		months = 480

		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.9
			year = 1760
		}
		modifier = {
			factor = 0.8
			year = 1780
		}
	}
	
	title = "EVTNAME1025"
	desc = "EVTDESC1025"
	
	option = {
		name = "EVTOPTA1025"
		set_country_flag = canadian_nationalism
		CAN = {
			add_core = 991			# Ottawa
			add_core = 992			# Algonquin
			add_core = 999			# Nunavik
			add_core = 1000			# Cree
			add_core = 1001			# Sault
			add_core = 1002			# Abitbi
			add_core = 1003			# Moose Cree
			add_core = 1007			# Ojibwa
			add_core = 1004			# Attawapiskat
		}
		colonists = -1
		random_owned = {
			limit = { is_colony = yes }
			create_revolt = 1
		}
	}
}


# Colonial assembly
province_event = {

	id = 1034
	
	trigger = {
		is_colony = yes
		owner = {
			has_country_flag = canadian_nationalism
			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 = canadian_nationalism
			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
		}
	}
}