#####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 = 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
	name = "EVENTNAME3823"
	desc = "EVENTHIST3823"
	style = 2
	
	date = { day = 2 month = january year = 1565 }
    offset = 10

	action_a = { # Cut our losses and regroup
		name = "ACTIONNAME3823A"
		command = { type = stability value = 3 }
		command = { type = revoltrisk which = 60 value = 10 }
		command = { type = domestic which = centralization value = -3 }
		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 = casusbelli which = MYS value = 60 } #5 years CB on MYS
	      	command = { type = casusbelli which = HYD value = 60 } #5 years CB on HYD
		command = { type = secedeprovince which = MOG value = 545 } #Bundelkhand
	      	command = { type = secedeprovince which = MOG value = 546 } #Malwa
      		command = { type = secedeprovince which = MOG value = 547 } #Gujarat
	      	command = { type = secedeprovince which = MOG value = 552 } #Gondwana
	      	command = { type = secedeprovince which = MOG value = 553 } #Raipur
      		command = { type = secedeprovince which = BGL value = 560 } #Odisa
	      	command = { type = secedeprovince which = BGL value = 561 } #Berhampur
	      	command = { type = secedeprovince which = BGL value = 562 } #Sambalpur
	      	command = { type = secedeprovince which = HYD value = 548 } #Bombay
	      	command = { type = secedeprovince which = HYD value = 549 } #Goa
	      	command = { type = secedeprovince which = HYD value = 550 } #Maharashtra
	      	command = { type = secedeprovince which = HYD value = 551 } #Khandesh
	      	command = { type = secedeprovince which = HYD value = 563 } #Bastar
	      	command = { type = secedeprovince which = HYD value = 564 } #Palakimedi
		command = { type = secedeprovince which = MYS value = 569 } #Kerala
		command = { type = secedeprovince which = MYS value = 570 } #Mysore
		command = { type = secedeprovince which = MYS value = 572 } #Pondicherry
		command = { type = secedeprovince which = MYS value = 573 } #Cochin
		command = { type = secedeprovince which = MYS value = 574 } #Trivandrum
		command = { type = secedeprovince which = MYS value = 575 } #Madurai
		command = { type = secedeprovince which = MYS value = 576 } #Colombo
		command = { type = secedeprovince which = MYS value = 577 } #Jaffna
	}
	action_b = { # Protect the whole nation!
		name = "ACTIONNAME3823B"
		command = { type = stability value = -8 }
		command = { type = treasury value = -400 }
		command = { type = infra value = -1000 }
		command = { type = trade value = -1000 }
		command = { type = relation which = HYD value = -400 }
		command = { type = relation which = MYS value = -400 }
		command = { type = revoltrisk which = 60 value = 11 }
		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 = 546 } # Malwa
		command = { type = revolt which = 546 }
		command = { type = revolt which = 547 } # Gujarat
		command = { type = revolt which = 547 }
	}
}