#Californian events from AoN modified by Hive


#Gold Rush in California#
event = {
	id = 15287
	trigger = { 
		OR = {
			owned  = { province = 8 data = -1 }
			owned  = { province = 9 data = -1 }
			owned  = { province = 10 data = -1 }
			owned  = { province = 11 data = -1 }
			owned  = { province = 14 data = -1 }
			owned  = { province = 16 data = -1 }
			owned  = { province = 18 data = -1 }
			owned  = { province = 19 data = -1 }
			owned  = { province = 1474 data = -1 }
			owned  = { province = 1475 data = -1 }
			owned  = { province = 1476 data = -1 }
			owned  = { province = 1477 data = -1 }
			owned  = { province = 1478 data = -1 }
			owned  = { province = 1479 data = -1 }
			}
}
	random = no
	country = U18
	name = "Gold Rush in California"
	desc = "With the discovery of Gold in California people around the world settled the region, hoping to find a rich ore. The vast majority of these hopeful gold diggers were Americans."
	date = { day = 1 month = january year = 1849 }
	offset = 50
	style = 5
		
	action_a = {
		name = "Excellent!"
		command = { type = cot which = 9 }
		command = { type = provinceculture which = 6 value = anglosaxon }
		command = { type = provincereligion which = 6 value = reformed }
		command = { type = provinceculture which = 7 value = anglosaxon }
		command = { type = provincereligion which = 7 value = reformed }
		command = { type = provinceculture which = 8 value = anglosaxon }
		command = { type = provincereligion which = 8 value = reformed }  
		command = { type = provinceculture which = 9 value = anglosaxon }
		command = { type = provincereligion which = 9 value = reformed }
		command = { type = provinceculture which = 10 value = anglosaxon }
		command = { type = provincereligion which = 10 value = reformed }
		command = { type = provinceculture which = 11 value = anglosaxon }
		command = { type = provincereligion which = 11 value = reformed }
		command = { type = provinceculture which = 16 value = anglosaxon }
		command = { type = provincereligion which = 16 value = reformed }
		command = { type = provinceculture which = 14 value = anglosaxon }
		command = { type = provincereligion which = 14 value = reformed }
		command = { type = provinceculture which = 18 value = anglosaxon }
		command = { type = provincereligion which = 18 value = reformed }
		command = { type = provinceculture which = 19 value = anglosaxon }
		command = { type = provincereligion which = 19 value = reformed }
		command = { type = provinceculture which = 1473 value = anglosaxon }
		command = { type = provincereligion which = 1473 value = reformed }  
		command = { type = provinceculture which = 1474 value = anglosaxon }
		command = { type = provincereligion which = 1474 value = reformed }
		command = { type = provinceculture which = 1475 value = anglosaxon }
		command = { type = provincereligion which = 1475 value = reformed }
		command = { type = provinceculture which = 1476 value = anglosaxon }
		command = { type = provincereligion which = 1476 value = reformed }
		command = { type = provinceculture which = 1477 value = anglosaxon }
		command = { type = provincereligion which = 1477 value = reformed }
		command = { type = provinceculture which = 1478 value = anglosaxon }
		command = { type = provincereligion which = 1478 value = reformed }
		command = { type = provinceculture which = 1479 value = anglosaxon }
		command = { type = provincereligion which = 1479 value = reformed }
		command = { type = provinceculture which = 1480 value = anglosaxon }
		command = { type = provincereligion which = 1480 value = reformed }
		command = { type = population which = 6 value = 1000 }
		command = { type = population which = 7 value = 1000 }
		command = { type = population which = 8 value = 5000 }
		command = { type = population which = 9 value = 20000 } 
		command = { type = population which = 10 value = 5000 } 
		command = { type = population which = 11 value = 5000 } 
		command = { type = population which = 14 value = 1000 }
		command = { type = population which = 16 value = 1000 }
		command = { type = population which = 18 value = 1000 }
		command = { type = population which = 19 value = 1000 }
		command = { type = population which = 1473 value = 1000 }
		command = { type = population which = 1474 value = 1000 } 
		command = { type = population which = 1475 value = 1000 } 
		command = { type = population which = 1476 value = 1000 } 
		command = { type = population which = 1477 value = 1000 }
		command = { type = population which = 1478 value = 1000 } 
		command = { type = population which = 1479 value = 1000 }
		command = { type = population which = 1480 value = 1000 }
	}
}

#Annexation of California into United States#
event = {
	id = 15288
	random = no
	country = U18
	name = "Annexation of California into United States"
	desc = "Because California was threatened by possible 
Mexican invasion, it urgently demanded admission into the United States."
	style = 5
	date = { day = 10 month = march year = 1844 }
	offset = 150
	
	action_a = {
		name = "Ask The United States for annexation"
		command = { type = trigger  which = 15289 }
	}
	action_b = {
		name = "Remain independent at all costs"
		command = { type = stability value = -3 }
		command = { type = relation  which = USA value  = -50 }
		command = { type = relation  which = MEX value  = 50 }
	}
}

#U.S. Protection#
event = {
	id = 15290
	random = no
	country = U18
	name = "U.S. Protection"
	desc = "The United States has rejected our plee for annexation, but promised us protection."

	action_a = {
		name = "Ok"
		command = { type = stability value = 2 }
	}
}