#####Vijayanagar Major Events#####
# By Henrik 'Doomdark' Fåhraeus  #
##################################

#Mysore Revolts
event = {
	id = 4446
	trigger = {
		owned = {
			province = 570 # Mysore
			data = -1
		}
	}
	random = no
	country = VIJ
	name = "EVENTNAME4446"
	desc = "EVENTHIST4446"
	style = 2
	
	date = { day = 1 month = january year = 1559 }
	offset = 0
	deathdate = { day = 1 month = january year = 1565 }
	
	action_a = { # Try to surpress revolt
		name = "ACTIONNAME4446A"
		command = { type = revolt which = 570 }
		command = { type = revolt which = 570 }
		command = { type = revolt which = 570 }
		command = { type = revolt which = 1772 }
		command = { type = revolt which = 1772 }
		command = { type = stability value = -5 }
	}
	action_b = { # Make Concessions
		name = "ACTIONNAME4446B"
		command = { type = stability value = -1 }
		command = { type = vp value = -100 }
		command = { type = treasury value = -200 }
	}
}
# The Fall of the City of Victory
event = {
	id = 3823
	random = no
	country = VIJ
	trigger = { 
		atwar = yes
	}
	name = "The Great revolt"
	desc = "EVENTHIST3823"
	style = 2
	
	date = { day = 2 month = january year = 1565 }
    offset = 10

	action_a = { # Cut our losses and regroup
		name = "The Nayaks are revolting!"
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 60 value = 15 }
		command = { type = domestic which = centralization value = -2 }
		command = { type = revolt which = 566 } # Hyderabad
		command = { type = revolt which = 566 } # Hyderabad
		command = { type = revolt which = 566 } # Hyderabad
		command = { type = revolt which = 570 } # Mysore
		command = { type = revolt which = 570 } # Mysore
		command = { type = revolt which = 570 } # Mysore
		command = { type = revolt which = 1964 } # Mysore
		command = { type = revolt which = 1964 } # Mysore
		command = { type = revolt which = 1964 } # Mysore
		command = { type = revolt which = 1772 } # Mysore
		command = { type = revolt which = 1772 } # Mysore
		command = { type = revolt which = 1966 } # Mysore
		command = { type = revolt which = 1966 } # Mysore
		command = { type = revolt which = 1771 } # Mysore
		command = { type = revolt which = 1986 } # Mysore
		command = { type = revolt which = 569 } # Mysore
		command = { type = revolt which = 574 } # Mysore
		command = { type = revolt which = 574 } # Mysore
		command = { type = revolt which = 574 } # Mysore
		command = { type = revolt which = 575 } # Mysore
		command = { type = revolt which = 575 } # Mysore
		command = { type = revolt which = -1 } # Mysore
		command = { type = revolt which = -1 } # Mysore
		command = { type = revolt which = -1 } # Mysore
		command = { type = revolt which = -2 } # Mysore
		command = { type = revolt which = -2 } # Mysore
		command = { type = revolt which = -2 } # Mysore
		command = { type = casusbelli which = MYS value = 60 } #5 years CB on MYS
	      	command = { type = casusbelli which = HYD value = 60 } #5 years CB on HYD
	}
}