### Additional WATK3 events

#### COLONIAL REVOLTER EVENTS ####

event = { #Mexico
	id = 230001
	random = no
	country = MEX
	trigger = {
		event = 220002
	}
	name = "Independence"
	desc = "."
	style = 2

	date = { day = 1 month = january year = 1750 }
	offset = 0
	deathdate = { day = 1 month = january year = 1850 }

	action_a ={		#Establish it#
		name = "Great!"
		command = { type = capital which = 1880 }
		command = { type = cash value = 1000 }
		command = { type = land value = 2000 }
		command = { type = INF which = 1880 value = 25000 }
		command = { type = INF which = -1 value = 10000 }
		command = { type = provincereligion   which = 1880 value = catholic }
		command = { type = provinceculture   which = 1880 value = iberian }
		command = { type = provincemanpower   which = 1880 value = 3 }
		command = { type = provincetax   which = 1880 value = 3 }
		command = { type = provincereligion   which = -1 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincereligion   which = -1 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
	}
}

event = { #Colombia
	id = 230002
	random = no
	country = COL
	trigger = {
		event = 220003
	}
	name = "Independence"
	desc = "."
	style = 2

	date = { day = 1 month = january year = 1750 }
	offset = 0
	deathdate = { day = 1 month = january year = 1850 }

	action_a ={		#Establish it#
		name = "Great!"
		command = { type = capital which = 160 }
		command = { type = cash value = 1000 }
		command = { type = land value = 2000 }
		command = { type = INF which = 160 value = 25000 }
		command = { type = INF which = -1 value = 10000 }
		command = { type = provincereligion   which = 160 value = catholic }
		command = { type = provinceculture   which = 160 value = iberian }
		command = { type = provincemanpower   which = 160 value = 3 }
		command = { type = provincetax   which = 160 value = 3 }
		command = { type = provincereligion   which = -1 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincereligion   which = -1 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
	}
}

event = { #Peru
	id = 230003
	random = no
	country = PEU
	trigger = {
		event = 220004
	}
	name = "Independence"
	desc = "."
	style = 2

	date = { day = 1 month = january year = 1750 }
	offset = 0
	deathdate = { day = 1 month = january year = 1850 }

	action_a ={		#Establish it#
		name = "Great!"
		command = { type = capital which = 1876 }
		command = { type = cash value = 1000 }
		command = { type = land value = 2000 }
		command = { type = INF which = 1876 value = 25000 }
		command = { type = INF which = -1 value = 10000 }
		command = { type = provincereligion   which = 1876 value = catholic }
		command = { type = provinceculture   which = 1876 value = iberian }
		command = { type = provincemanpower   which = 1876 value = 3 }
		command = { type = provincetax   which = 1876 value = 3 }
		command = { type = provincereligion   which = -1 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincereligion   which = -1 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
	}
}

event = { #Argentina
	id = 230004
	random = no
	country = LAP
	trigger = {
		event = 220005
	}
	name = "Independence"
	desc = "."
	style = 2

	date = { day = 1 month = january year = 1750 }
	offset = 0
	deathdate = { day = 1 month = january year = 1850 }

	action_a ={		#Establish it#
		name = "Great!"
		command = { type = capital which = 223 }
		command = { type = cash value = 1000 }
		command = { type = land value = 2000 }
		command = { type = INF which = 223 value = 25000 }
		command = { type = INF which = -1 value = 10000 }
		command = { type = provincereligion   which = 223 value = catholic }
		command = { type = provinceculture   which = 223 value = iberian }
		command = { type = provincemanpower   which = 223 value = 3 }
		command = { type = provincetax   which = 223 value = 3 }
		command = { type = provincereligion   which = -1 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincereligion   which = -1 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
	}
}

event = { #Chile
	id = 230005
	random = no
	country = U05
	trigger = {
		event = 220006
	}
	name = "Independence"
	desc = "."
	style = 2

	date = { day = 1 month = january year = 1800 }
	offset = 0
	deathdate = { day = 1 month = january year = 1850 }

	action_a ={		#Establish it#
		name = "Great!"
		command = { type = capital which = 174 }
		command = { type = cash value = 500 }
		command = { type = land value = 1000 }
		command = { type = INF which = 174 value = 20000 }
		command = { type = INF which = -1 value = 5000 }
		command = { type = provincereligion   which = 174 value = catholic }
		command = { type = provinceculture   which = 174 value = iberian }
		command = { type = provincemanpower   which = 174 value = 3 }
		command = { type = provincetax   which = 174 value = 3 }
		command = { type = provincereligion   which = -1 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincereligion   which = -1 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
	}
}

event = { #Bolivia
	id = 230006
	random = no
	country = U06
	trigger = {
		event = 220007
	}
	name = "Independence"
	desc = "."
	style = 2

	date = { day = 1 month = january year = 1800 }
	offset = 0
	deathdate = { day = 1 month = january year = 1850 }

	action_a ={		#Establish it#
		name = "Great!"
		command = { type = capital which = 1835 }
		command = { type = cash value = 750 }
		command = { type = land value = 1500 }
		command = { type = INF which = 1835 value = 20000 }
		command = { type = INF which = -1 value = 10000 }
		command = { type = provincereligion   which = 1835 value = catholic }
		command = { type = provinceculture   which = 1835 value = iberian }
		command = { type = provincemanpower   which = 1835 value = 3 }
		command = { type = provincetax   which = 1835 value = 3 }
		command = { type = provincereligion   which = -1 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincereligion   which = -1 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
		command = { type = provincemanpower   which = -1 value = 1 }
		command = { type = provincetax   which = -3 value = 1 }
	}
}

event = { #Paraguay
	id = 230007
	random = no
	country = U07
	trigger = {
		event = 220008
	}
	name = "Independence"
	desc = "."
	style = 2

	date = { day = 1 month = january year = 1800 }
	offset = 0
	deathdate = { day = 1 month = january year = 1850 }

	action_a ={		#Establish it#
		name = "Great!"
		command = { type = capital which = 1846 }
		command = { type = cash value = 500 }
		command = { type = land value = 1000 }
		command = { type = INF which = 1846 value = 20000 }
		command = { type = provincereligion   which = 1846 value = catholic }
		command = { type = provinceculture   which = 1846 value = iberian }
		command = { type = provincemanpower   which = 1846 value = 3 }
		command = { type = provincetax   which = 1846 value = 3 }
		command = { type = provincereligion   which = 1847 value = catholic }
		command = { type = provinceculture   which = -3 value = iberian }
		command = { type = provincemanpower   which = -3 value = 2 }
		command = { type = provincetax   which = -3 value = 2 }
	}
}


### BELGIAN EVENTS, from AoI, modified

#Belgian Independence#
event = {
	id = 230021
	country = U00
	trigger = {
		event = 220023
	}
	random = no
	style = 5
	name = "Independence"
	desc = "As part of the nationalistic movements sweeping trough Europe, the Belgian people - who had never before had their own, united country - started to get increasingly unsettled in the southern part of the Netherlands. In 1830, Belgium wrested its independence from the Dutch as a result of an uprising."
	date = { day = 1 month = january year = 1815 }
	offset = 3
	deathdate = { day = 1 month = january year = 1850 }
	action_a = { 
		name = "Let us celebrate our freedom!"
		command = { type = breakvassal which = HOL }
		command = { type = inf which = -2 value = 15000 }
        	command = { type = cav which = -2 value = 10000 }
        	command = { type = art which = -2 value = 20 }
        	command = { type = diplomats value = 2 }
        	command = { type = capital which = 378 }
		command = { type = add_countryculture which = french }
		command = { type = add_countryculture which = dutch }
		command = { type = cash value = 200 }
	    }
	}

#Belgian Constitution#
event = {
	id = 230022
	country = U00
	random = no

	style = 5
	name = "Belgian Constitution"
	desc = "One of the last decisions made by the Voorlopig Bewind was to write a constitution for the state of Belgium. The first Belgian constitution was considered very liberal as freedom of speech, person and religion was guaranteed. Many concessions were granted to the catholics as well. They held their influence on the education system."
	date = { year = 1831 month = december day = 21 }
	deathdate = { year = 1865}
	action_a = {
		name = "The Unionists rule Belgium" 
		command = { type = domestic which = aristocracy value = 1 } 
		command = { type = domestic which = innovative value = 1 } 
		command = { type = domestic which = centralization value = -1 } 
		command = { type = stability value = 1 } 
	    } 
 	action_b ={ 
		name = "Favor Catholics" 
		command = { type = domestic which = aristocracy value = 1 } 
		command = { type = domestic which = innovative value = -2 } 
		command = { type = domestic which = centralization value = 1 } 
		command = { type = stability value = -1 } 
		command = { type = revoltrisk which = 60 value = 5 } 
	    } 
 	action_c ={ 
		name = "Favor Liberals" 
		command = { type = domestic which = aristocracy value = -1 } 
		command = { type = domestic which = innovative 	value = 2 } 
		command = { type = domestic which = centralization value = -2 } 
		command = { type = stability value = -1 } 
		command = { type = revoltrisk which = 60 value = 5 } 
	} 
}



### GERMAN UNIFICATION EVENTS ###


#The German Empire# Post 1800
event = {
  	id = 230041
  	random = no
	trigger = {
		NOT = { exists = GER }
		owned = { province = 302 data = -1 }
		owned = { province = 304 data = -1 }
		owned = { province = 305 data = -1 }
		owned = { province = 306 data = -1 }
		owned = { province = 310 data = -1 }
		owned = { province = 311 data = -1 }
		owned = { province = 312 data = -1 }
		owned = { province = 313 data = -1 }
		owned = { province = 314 data = -1 }
		owned = { province = 331 data = -1 }
		owned = { province = 332 data = -1 }
		owned = { province = 333 data = -1 }
		owned = { province = 334 data = -1 }
		owned = { province = 335 data = -1 }
		owned = { province = 336 data = -1 }
		owned = { province = 343 data = -1 }
		owned = { province = 344 data = -1 }
		owned = { province = 345 data = -1 }
		owned = { province = 346 data = -1 }
		owned = { province = 347 data = -1 }
		owned = { province = 348 data = -1 }
		owned = { province = 349 data = -1 }
		owned = { province = 372 data = -1 }
		owned = { province = 373 data = -1 }
		owned = { province = 1935 data = -1 }
		owned = { province = 1936 data = -1 }
		owned = { province = 1937 data = -1 }
		owned = { province = 1926 data = -1 }
		owned = { province = 1934 data = -1 }
		owned = { province = 1930 data = -1 }
		owned = { province = 1931 data = -1 }
		owned = { province = 1933 data = -1 }
		owned = { province = 1939 data = -1 }
		owned = { province = 1940 data = -1 }
		owned = { province = 1941 data = -1 }
		owned = { province = 1942 data = -1 }
		owned = { province = 1943 data = -1 }
	}
  	province = 1941
	name = "The German Empire"
  	desc = "The legitimacy of the German kingdom dated back to the medieval age. However, till the Napoleonic era an unique German state seemed an impossibility. But the issues of selfdetermination raised by the French revolution, and the subsequent increase of a common national identity within Germany, opened eventually a way to unification. Which of course still had to be brought about militarily." 
	date = { month = march year = 1419 }
 	deathdate = { month = march year = 1800 }
	style = 5
  	
	action_a = {
		name = "Germany is united"
		command = { type = country which = GER }
		command = { type = addcore which = 302 }
		command = { type = addcore which = 304 }
		command = { type = addcore which = 305 }
		command = { type = addcore which = 306 }
		command = { type = addcore which = 310 }
		command = { type = addcore which = 311 }
		command = { type = addcore which = 312 }
		command = { type = addcore which = 313 }
		command = { type = addcore which = 314 }
		command = { type = addcore which = 331 }
		command = { type = addcore which = 332 }
		command = { type = addcore which = 333 }
		command = { type = addcore which = 334 }
		command = { type = addcore which = 335 }
		command = { type = addcore which = 336 }
		command = { type = addcore which = 343 }
		command = { type = addcore which = 344 }
		command = { type = addcore which = 345 }
		command = { type = addcore which = 346 }
		command = { type = addcore which = 347 }
		command = { type = addcore which = 348 }
		command = { type = addcore which = 349 }
		command = { type = addcore which = 372 }
		command = { type = addcore which = 373 }
		command = { type = addcore which = 374 }
		command = { type = addcore which = 377 }
		command = { type = addcore which = 1935 }
		command = { type = addcore which = 1936 }
		command = { type = addcore which = 1937 }
		command = { type = addcore which = 1926 }
		command = { type = addcore which = 1934 }
		command = { type = addcore which = 1930 }
		command = { type = addcore which = 1931 }
		command = { type = addcore which = 1933 }
		command = { type = addcore which = 1939 }
		command = { type = addcore which = 1940 }
		command = { type = addcore which = 1941 }
		command = { type = addcore which = 1942 }
		command = { type = addcore which = 1943 }
		command = { type = addcore which = 1938 }
		command = { type = stability value = -5 }
		command = { type = domestic which = CENTRALIZATION value = -5 }
		command = { type = relation which = -1 value = -100 }
		command = { type = relation which = -1 value = -100 }
		command = { type = relation which = -1 value = -100 }
		command = { type = revoltrisk which = 120 value = 5 }
	}

	action_b = {
		name = "Let us remain an independant principality instead"
		command = { type = stability value = 2 }
		command = { type = relation which = -1 value = 100 }
		command = { type = relation which = -1 value = 100 }
		command = { type = relation which = -1 value = 100 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
	}
}

#The German Empire# Post 1800
event = {
  	id = 230042
  	random = no
	trigger = {
		NOT = { exists = GER }
		owned = { province = 302 data = -1 }
		owned = { province = 304 data = -1 }
		owned = { province = 305 data = -1 }
		owned = { province = 306 data = -1 }
		owned = { province = 310 data = -1 }
		owned = { province = 311 data = -1 }
		owned = { province = 312 data = -1 }
		owned = { province = 313 data = -1 }
		owned = { province = 314 data = -1 }
		owned = { province = 331 data = -1 }
		owned = { province = 332 data = -1 }
		owned = { province = 333 data = -1 }
		owned = { province = 334 data = -1 }
		owned = { province = 335 data = -1 }
		owned = { province = 336 data = -1 }
		owned = { province = 343 data = -1 }
		owned = { province = 344 data = -1 }
		owned = { province = 345 data = -1 }
		owned = { province = 346 data = -1 }
		owned = { province = 347 data = -1 }
		owned = { province = 348 data = -1 }
		owned = { province = 349 data = -1 }
		owned = { province = 372 data = -1 }
		owned = { province = 373 data = -1 }
		owned = { province = 1935 data = -1 }
		owned = { province = 1936 data = -1 }
		owned = { province = 1937 data = -1 }
		owned = { province = 1926 data = -1 }
		owned = { province = 1934 data = -1 }
		owned = { province = 1930 data = -1 }
		owned = { province = 1931 data = -1 }
		owned = { province = 1933 data = -1 }
		owned = { province = 1939 data = -1 }
		owned = { province = 1940 data = -1 }
		owned = { province = 1941 data = -1 }
		owned = { province = 1942 data = -1 }
		owned = { province = 1943 data = -1 }
	}
  	province = 1941
	name = "The German Empire"
  	desc = "The legitimacy of the German kingdom dated back to the medieval age. However, till the Napoleonic era an unique German state seemed an impossibility. But the issues of selfdetermination raised by the French revolution, and the subsequent increase of a common national identity within Germany, opened eventually a way to unification. Which of course still had to be brought about militarily." 
	date = { month = march year = 1800 }
 	deathdate = { month = march year = 1850 }
	style = 5
  	
	action_a = {
		name = "Germany is united"
		#command = { type = country which = GER }
		command = { type = addcore which = 302 }
		command = { type = addcore which = 304 }
		command = { type = addcore which = 305 }
		command = { type = addcore which = 306 }
		command = { type = addcore which = 310 }
		command = { type = addcore which = 311 }
		command = { type = addcore which = 312 }
		command = { type = addcore which = 313 }
		command = { type = addcore which = 314 }
		command = { type = addcore which = 331 }
		command = { type = addcore which = 332 }
		command = { type = addcore which = 333 }
		command = { type = addcore which = 334 }
		command = { type = addcore which = 335 }
		command = { type = addcore which = 336 }
		command = { type = addcore which = 343 }
		command = { type = addcore which = 344 }
		command = { type = addcore which = 345 }
		command = { type = addcore which = 346 }
		command = { type = addcore which = 347 }
		command = { type = addcore which = 348 }
		command = { type = addcore which = 349 }
		command = { type = addcore which = 372 }
		command = { type = addcore which = 373 }
		command = { type = addcore which = 374 }
		command = { type = addcore which = 377 }
		command = { type = addcore which = 1935 }
		command = { type = addcore which = 1936 }
		command = { type = addcore which = 1937 }
		command = { type = addcore which = 1926 }
		command = { type = addcore which = 1934 }
		command = { type = addcore which = 1930 }
		command = { type = addcore which = 1931 }
		command = { type = addcore which = 1933 }
		command = { type = addcore which = 1939 }
		command = { type = addcore which = 1940 }
		command = { type = addcore which = 1941 }
		command = { type = addcore which = 1942 }
		command = { type = addcore which = 1943 }
		command = { type = addcore which = 1938 }
	}
##
#	action_b = {
#		name = "Let us keep the name Kingdom of Prussia instead"
#		command = { type = stability value = 1 }
#		command = { type = relation which = HAB value = 100 }
#		command = { type = relation which = FRA value = 100 }
#		command = { type = relation which = DAN value = 100 }
#		command = { type = domestic which = CENTRALIZATION value = -2 }
#		command = { type = desertion which = -1 value = 25000 }
#	}
}


### OTHER REVOLTS EVENTS ###

event = { #Breakup Lan Chang
	id = 230061
	random = no
	country = LUA
	trigger = {
		exists = VIE
	}
	name = "The fall of Lan Chang"
	desc = "After 13 years of internal strive caused by succession problems in 1694, the Laotian kingdom of Lan Chang fell apart in 1707. Two prominent kingdoms would succeed it from then, one based around Lunag Prabang and the other around Vientianne."
	style = 2

	date = { day = 1 month = january year = 1695 }
	offset = 10
	deathdate = { day = 1 month = january year = 1860 }

	action_a ={		#Darn!#
		name = "Darn!"
		command = { type = capital which = 1552 }
         	command = { type = secedeprovince which = VIE value = 669 }
         	command = { type = secedeprovince which = VIE value = 668 }
         	command = { type = secedeprovince which = VIE value = 1791 }
	}
}
event = { #independence of Vientianne
	id = 230062
	random = no
	country = VIE
	trigger = {
		event = 230061
	}
	name = "Independence"
	desc = "."
	style = 2

	date = { day = 1 month = january year = 1695 }
	offset = 0
	deathdate = { day = 1 month = january year = 1860 }

	action_a ={		#Establish it#
		name = "Great!"
		command = { type = capital which = 669 }
		command = { type = cash value = 100 }
		command = { type = breakvassal which = LUA }
		command = { type = INF which = -2 value = 10000 }
	}
}

event = { #The fall of Myanmar
	id = 230063
	random = no
	country = MYA
	trigger = {
		control = { province = 1547 data = U38 }
	}
	name = "The fall of Myanmar"
	desc = "After the fall of Pagan, two kingdoms were established in Burma. Then northern one in Myanmar was however overran by the Shan in 1527"
	style = 2

	date = { day = 1 month = january year = 1419 }
	offset = 10
	deathdate = { day = 1 month = january year = 1550 }

	action_a ={		
		name = "Darn!"
		command = { type = capital which = 669 }
         	command = { type = secedeprovince which = U38 value = 671 }
         	command = { type = secedeprovince which = U38 value = 1547 }
         	command = { type = secedeprovince which = U38 value = 1549 }
         	command = { type = secedeprovince which = U38 value = 1545 }
         	command = { type = secedeprovince which = U38 value = 1553 }
	}
}
event = { #The Toungoo dynasty
	id = 230064
	random = no
	country = MYA
	trigger = {
		owned = { province = 1546 data = -1 }
		event = 230063
	}
	name = "The Toungoo kingdom"
	desc = "Following the destruction of Ava by the Shan, the Burmanese reestablished themselves in the south, in Taungu. The new kingdom rised to become a vast empire during the 16th century, before it fell apart around 1600."
	style = 2

	date = { day = 1 month = january year = 1550 }
	offset = 10
	deathdate = { day = 1 month = january year = 1560 }

	action_a ={		
		name = "Establish the new kingdom"
		command = { type = country which = TAU }
		command = { type = capital which = 669 }
         	command = { type = addcore which = 1545 }
		command = { type = addcore which = 1548 }
         	command = { type = addcore which = 1785 }
         	command = { type = addcore which = 1789 }
         	command = { type = addcore which = 1549 }
		command = { type = addcore which = 1550 }
		command = { type = INF which = -2 value = 10000 }
		command = { type = stability value = 2 }
		command = { type = cash value = 200 }
	}         
}


### DECCAN kingdom events

event = { #Draught of 1423
	id = 230071
	random = no
	country = HYD

	name = "Draught"
	desc = "In 1423 the Deccan was hit by draught which caused famine. How should we react sire?" 
	style = 2

	date = { day = 1 month = june year = 1423 }
	offset = 100
	deathdate = { day = 1 month = january year = 1425 }

	action_a ={		
		name = "Try to alleviate the effects to prevent unrest"
		command = { type = population which = -1 value = -1000 }
		command = { type = population which = -1 value = -1000 }
		command = { type = population which = -1 value = -1000 }
		command = { type = manpower value = -10 }
		command = { type = stability value = -1 }
		command = { type = cash value = -200 }
	}    
	action_b ={		
		name = "A just punishments for the idolworshippers!"
		command = { type = population which = -1 value = -2000 }
		command = { type = provincemanpower which = -3 value = -1 }
		command = { type = population which = -1 value = -2000 }
		command = { type = provincemanpower which = -3 value = -1 }
		command = { type = population which = -1 value = -2000 }
		command = { type = provincemanpower which = -3 value = -1 }
		command = { type = manpower value = -20 }
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 36 value = 5 }
	}        
}

event = { #Telingana revolt
	id = 230072
	random = no
	country = HYD
	trigger = {
		OR = {
		owned = { province = 1983 data = -1 }
		owned = { province = 1773 data = -1 }
		owned = { province = 565 data = -1 }
		owned = { province = 563 data = -1 }
		}
	}
	name = "Telingana revolt"
	desc = "In 1432/33 the Deccan was struck by a fierce revolt in the Telingana region on the lower Krishna river. The unrest continued for about 2 years before Bahmani forces managed to restore royal authority."
	style = 2

	date = { day = 1 month = january year = 1432 }
	offset = 100
	deathdate = { day = 1 month = january year = 1440 }

	action_a ={		
		name = "Darn!"
		command = { type = revolt which = 1983 }
		command = { type = revolt which = 1983 }
		command = { type = revolt which = 1773 }
		command = { type = revolt which = 563 }
		command = { type = revolt which = 565 }
		command = { type = revolt which = 563 }
		command = { type = stability value = -1 }
		command = { type = revoltrisk which = 24 value = 3 }
	}           
}

event = { #pacification of Konkan
	id = 230073
	random = no
	country = HYD
	trigger = {
		OR = {
		owned = { province = 1964 data = -1 }
		owned = { province = 1774 data = -1 }
		owned = { province = 568 data = -1 }
		}
	}

	name = "Pacification of Konkan"
	desc = "Till 1437 the Konkan was only losely controlled by the Bahmanids. Since some chieftains exploited the situation and refused their payments of tribute, the Bahmanids finally started a full campaign to restore full control of the province. This 'pacification' of Konkan was finalized in 1437."
	style = 2

	date = { day = 1 month = january year = 1437 }
	offset = 100
	deathdate = { day = 1 month = january year = 1440 }

	action_a ={		
		name = "Bring it gradually under stricter control"
		command = { type = provincetax which = 568 value = 1 }
		command = { type = provincemanpower which = -3 value = 1 }
		command = { type = provincetax which = 1964 value = 1 }
		command = { type = provincemanpower which = -3 value = 1 }
		command = { type = provincetax which = 1774 value = 1 }
		command = { type = provincemanpower which = -3 value = 1 }
		command = { type = revolt which = 568 }
		command = { type = stability value = -1 }
		command = { type = revoltrisk which = 60 value = 1 }
		command = { type = domestic   which = centralization value = 1 }
	}         
	action_b ={		
		name = "Punish the disobedience of these serfs with new tax!"
		command = { type = provincetax which = 568 value = 2 }
		command = { type = provincemanpower which = -3 value = -1 }
		command = { type = provincetax which = 1964 value = 2 }
		command = { type = provincemanpower which = -3 value = -1 }
		command = { type = provincetax which = 1774 value = 2 }
		command = { type = provincemanpower which = -3 value = -1 }
		command = { type = revolt which = 568 }
		command = { type = revolt which = 568 }
		command = { type = revolt which = 1774 }
		command = { type = revolt which = 1964 }
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 60 value = 5 }
		command = { type = cash value = 100 }
		command = { type = domestic   which = centralization value = 2 }
		command = { type = domestic   which = serfdom value = 2 }
	}   
	action_c ={		
		name = "Great, more cannonfodder!"
		command = { type = provincemanpower which = 1964 value = 2 }
		command = { type = provincemanpower which = 1774 value = 2 }
		command = { type = provincemanpower which = 568 value = 2 }
		command = { type = manpower value = 5 }
	} 
}

event = { #Humayuns tyranny
	id = 230074
	random = no
	country = HYD
	trigger = {
		monarch = 7223
	}
	name = "Humayuns tiranny"
	desc = "Sultan Humayun (1458-61) was not content with the loose construction that the Bahmani kingdom was. Regarding himself a great reformer he aimed for an increase of royal power and efficiency of the administration. Unfortunately most of his subjects not only didn't appreciate his centralizing efforts, they appreciated even less the way he tried to impose them. Making more enemies with every step he took, the sultan became a greater tiran by day, ending up being hated by everyone."
	style = 2

	date = { day = 1 month = january year = 1458 }
	offset = 100
	deathdate = { day = 1 month = january year = 1462 }

	action_a ={		
		name = "I am the state!"
		command = { type = domestic   which = centralization value = 3 }
		command = { type = domestic   which = serfdom value = 2 }
		command = { type = domestic   which = aristocracy value = -2 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = revolt which = -2 }
		command = { type = revolt which = -2 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 36 value = 8 }
	}           
	action_b ={		
		name = "A holiday seems suddenly a good idea..."
		command = { type = stability value = 1 }
	} 
}


event = { #Partition of provinces
	id = 230075
	random = no
	country = HYD

	name = "Mahmud Gavan's 'Partition of Provinces'"
	desc = "The able minister of Muhammad Shah, Mahmud Gavan, aimed for an increase of the military efficiency of the Bahmani kingdom by a structural change of the provinceadministration. The plan was to increase maintenance of troops capacity and get a tighter control of the regiments. An additional and not unimportant benefit of the measures was however also that the power of the local governors would be limited, bringing more power to the royal court." 
	style = 2

	date = { day = 1 month = january year = 1479 }
	offset = 100
	deathdate = { day = 1 month = january year = 1482 }

	action_a ={		
		name = "Carry out balanced reforms"
		command = { type = provincetax which = -2 value = 1 }
		command = { type = provincemanpower which = -3 value = 2 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincemanpower which = -3 value = 2 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincemanpower which = -3 value = 2 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincemanpower which = -3 value = 2 }
		command = { type = stability value = -2 }
		command = { type = manpower value = 5 }
		command = { type = land value = 500 }
		command = { type = revoltrisk which = 144 value = 2 }
		command = { type = domestic   which = centralization value = 1 }
		command = { type = domestic   which = land value = 1 }
	}         
	action_b ={		
		name = "Emphasize the importance of military reform"
		command = { type = provincemanpower which = -3 value = 2 }
		command = { type = provincemanpower which = -3 value = 2 }
		command = { type = provincemanpower which = -3 value = 2 }
		command = { type = provincemanpower which = -3 value = 2 }
		command = { type = provincemanpower which = -3 value = 2 }
		command = { type = manpower value = 10 }
		command = { type = land value = 1500 }
		command = { type = domestic   which = aristocracy value = 1 }
		command = { type = domestic   which = land value = 2 }
	}   
	action_c ={		
		name = "Emphasize the importance of administrative reform"
		command = { type = provincetax which = -2 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincemanpower which = -3 value = 1 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincemanpower which = -3 value = 1 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = stability value = -4 }
		command = { type = revoltrisk which = 144 value = 4 }
		command = { type = domestic   which = centralization value = 2 }
		command = { type = domestic   which = aristocracy value = -1 }
	} 
	action_d ={		
		name = "Do not reform"
		command = { type = stability value = 1 }
		command = { type = domestic   which = aristocracy value = 1 }
		command = { type = domestic   which = centralization value = -1 }
	} 
}


event = { #Decentralization fo the Empire
	id = 230076
	random = no
	country = HYD
	trigger = {
		monarch = 7226
	}
	name = "Decentralization of the empire"
	desc = "Mahmud Gavan's reforms were unpopular among the local governors and in the royal court and they wanted to get rid of the minister. Forging a letter that accused Gavan of treason they got the sultan to behead the minister. His death, together with the inability of sultan Mahmud to properly rule his country, proved to be a disaster. Petty wars broke out within the now ungoverned kingdom and the position of the king was undermined by his rash and badly thought out actions. The decentralization was eventually culminated with a breakup of the Bahmani kingdom after 1487."   
	style = 2

	date = { day = 1 month = january year = 1482 }
	offset = 100
	deathdate = { day = 1 month = january year = 1490 }

	action_a ={		
		name = "Ignore the situation"
		command = { type = domestic   which = centralization value = -3 }
		command = { type = domestic   which = serfdom value = 1 }
		command = { type = domestic   which = aristocracy value = 3 }
		command = { type = province_revoltrisk which = 1964 value = 5 }
		command = { type = provincetax which = -3 value = -1 }
		command = { type = revolt which = -3 }
		command = { type = province_revoltrisk which = 1981 value = 3 }
		command = { type = province_revoltrisk which = 1984 value = 3 }
		command = { type = province_revoltrisk which = 1980 value = 3 }
		command = { type = province_revoltrisk which = 1774 value = 5 }
		command = { type = provincetax which = -3 value = -1 }
		command = { type = revolt which = -3 }
		command = { type = province_revoltrisk which = 568 value = 3 }
		command = { type = province_revoltrisk which = 1775 value = 5 }
		command = { type = revolt which = -3 }
		command = { type = province_revoltrisk which = 1982 value = 3 }
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 120 value = 3 }
	}           
	action_b ={		
		name = "Reassert the royal authority by sword"
		command = { type = domestic   which = centralization value = 2 }
		command = { type = domestic   which = aristocracy value = -2 }
		command = { type = province_revoltrisk which = 1964 value = 10 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
		command = { type = province_revoltrisk which = 1981 value = 6 }
		command = { type = province_revoltrisk which = 1984 value = 6 }
		command = { type = province_revoltrisk which = 1980 value = 6 }
		command = { type = province_revoltrisk which = 1774 value = 10 }
		command = { type = provincetax which = -3 value = -1 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
		command = { type = province_revoltrisk which = 568 value = 6 }
		command = { type = province_revoltrisk which = 1775 value = 10 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
		command = { type = province_revoltrisk which = 1982 value = 6 }
		command = { type = stability value = -5 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -3 }
		command = { type = revoltrisk which = 120 value = 6 }
	} 
	action_c ={		
		name = "Try to buy the discontented governors off"
		command = { type = domestic   which = centralization value = -1 }
		command = { type = domestic   which = serfdom value = 2 }
		command = { type = domestic   which = aristocracy value = 2 }
		command = { type = province_revoltrisk which = 1964 value = 3 }
		command = { type = provincetax which = -3 value = -2 }
		command = { type = revolt which = -3 }
		command = { type = province_revoltrisk which = 1981 value = 1 }
		command = { type = province_revoltrisk which = 1984 value = 1 }
		command = { type = province_revoltrisk which = 1980 value = 1 }
		command = { type = province_revoltrisk which = 1774 value = 3 }
		command = { type = provincetax which = -3 value = -2 }
		command = { type = revolt which = -3 }
		command = { type = province_revoltrisk which = 568 value = 1 }
		command = { type = province_revoltrisk which = 1775 value = 3 }
		command = { type = provincetax which = -3 value = -1 }
		command = { type = revolt which = -3 }
		command = { type = province_revoltrisk which = 1982 value = 1 }
		command = { type = cash value = -500 }
		command = { type = revoltrisk which = 120 value = 1 }
	}
}


event = { #Ahmadnagar revolts
	id = 230077
	random = no
	country = HYD
	trigger = {
		OR = {
		owned = { province = 1964 data = -1 }
		owned = { province = 1981 data = -1 }
		owned = { province = 1984 data = -1 }
		}
	NOT = { exists = ABB }
	}
	name = "Ahmadnagar revolts"
	desc = "In 1490 a local governor Malik Ahmed, avenging the murder of his father Nizam-ul-Mulk Bahri, revolted against the Bahmani king."
	style = 2

	date = { day = 1 month = january year = 1485 }
	offset = 1000
	deathdate = { day = 1 month = january year = 1500 }

	action_a ={		
		name = "Darn!"
		command = { type = province_revoltrisk which = 1964 value = 5 }
		command = { type = desertion   which = 1964 value = 8000 }
		command = { type = province_revoltrisk which = 1981 value = 3 }
		command = { type = desertion   which = 1981 value = 4000 }
		command = { type = province_revoltrisk which = 1984 value = 3 }
		command = { type = desertion   which = 1984 value = 4000 }
		command = { type = revolt which = 1964 }
		command = { type = revolt which = 1964 }
		command = { type = revolt which = 1981 }
		command = { type = revolt which = 1984 }
		command = { type = stability value = -1 }
	}           
}


event = { #Bijar revolts
	id = 230078
	random = no
	country = HYD
	trigger = {
		OR = {
		owned = { province = 1774 data = -1 }
		owned = { province = 568 data = -1 }
		owned = { province = 1980 data = -1 }
		}
	NOT = { exists = ALM }
	}
	name = "Bijapur revolts"
	desc = "In 1489 the ambitious governor of Bijapur, Yusuf 'Adil Shah revolted against the Bahmanid king."
	style = 2

	date = { day = 1 month = january year = 1485 }
	offset = 1000
	deathdate = { day = 1 month = january year = 1500 }

	action_a ={		
		name = "Darn!"
		command = { type = province_revoltrisk which = 1774 value = 5 }
		command = { type = desertion   which = 1774 value = 8000 }
		command = { type = province_revoltrisk which = 568 value = 3 }
		command = { type = desertion   which = 568 value = 4000 }
		command = { type = province_revoltrisk which = 1980 value = 3 }
		command = { type = desertion   which = 1980 value = 4000 }
		command = { type = revolt which = 1774 }
		command = { type = revolt which = 1774 }
		command = { type = revolt which = 568 }
		command = { type = revolt which = 1980 }
		command = { type = stability value = -1 }
	}           
}


event = { #Berar revolts
	id = 230079
	random = no
	country = HYD
	trigger = {
		OR = {
		owned = { province = 1775 data = -1 }
		owned = { province = 1982 data = -1 }
		}
	NOT = { exists = APU }
	}
	name = "Berar revolts"
	desc = "In 1487 the governor of Berar, Fathullah Imad, declared himself independent of the Bahmani king."
	style = 2

	date = { day = 1 month = january year = 1485 }
	offset = 1000
	deathdate = { day = 1 month = january year = 1500 }

	action_a ={		
		name = "Darn!"
		command = { type = province_revoltrisk which = 1775 value = 5 }
		command = { type = desertion   which = 1775 value = 8000 }
		command = { type = province_revoltrisk which = 1982 value = 3 }
		command = { type = desertion   which = 1982 value = 4000 }
		command = { type = revolt which = 1775 }
		command = { type = revolt which = 1775 }
		command = { type = revolt which = 1982 }
		command = { type = stability value = -1 }
	}           
}


event = { #Golconda revolts
	id = 230080
	random = no
	country = HYD
	trigger = {
		OR = {
		owned = { province = 566 data = -1 }
		owned = { province = 1770 data = -1 }
		owned = { province = 1983 data = -1 }
		}
	NOT = { exists = ALT }
	}
	name = "Golconda revolts"
	desc = "Following the total collapse of the Bahmanid kingdom, as well as the religious persecution of shiites, the governor of Golconda, Quli Qutb-ul-Mulik revolted in 1512 against the Bahmanid king."
	style = 2

	date = { day = 1 month = january year = 1500 }
	offset = 1000
	deathdate = { day = 1 month = january year = 1520 }

	action_a ={		
		name = "Darn!"
		command = { type = province_revoltrisk which = 556 value = 8 }
		command = { type = desertion   which = 556 value = 8000 }
		command = { type = province_revoltrisk which = 1770 value = 5 }
		command = { type = desertion   which = 1770 value = 4000 }
		command = { type = province_revoltrisk which = 1983 value = 5 }
		command = { type = desertion   which = 1983 value = 4000 }
		command = { type = revolt which = 556 }
		command = { type = revolt which = 556 }
		command = { type = revolt which = 1770 }
		command = { type = revolt which = 1983 }
		command = { type = stability value = -1 }
	}         
}


event = { #Ahmadnagar independent
	id = 230081
	random = no
	country = HYD
	trigger = {
		exists = ABB
		OR = {
		owned = { province = 1964 data = -1 }
		owned = { province = 1981 data = -1 }
		owned = { province = 1984 data = -1 }
		}
	}
	name = "Independence of Ahmadnagar"
	desc = "Sire, the rebels in Ahmadnagar declared independence!"
	style = 2

	date = { day = 1 month = january year = 1480 }
	offset = 10
	deathdate = { day = 1 month = january year = 1530 }

	action_a ={		
		name = "Darn!"
		command = { type = capital which = 1978 }
         	command = { type = secedeprovince which = ABB value = 1964 }
         	command = { type = secedeprovince which = ABB value = 1981 }
         	command = { type = secedeprovince which = ABB value = 1984 }
	}
}

event = { #Bijapur independent
	id = 230082
	random = no
	country = HYD
	trigger = {
		exists = ALM
		OR = {
		owned = { province = 1774 data = -1 }
		owned = { province = 568 data = -1 }
		owned = { province = 1980 data = -1 }
		}
	}
	name = "Independence of Bijapur"
	desc = "Sire, the rebels in Bijapur declared independence!"
	style = 2

	date = { day = 1 month = january year = 1480 }
	offset = 10
	deathdate = { day = 1 month = january year = 1530 }

	action_a ={		
		name = "Darn!"
		command = { type = capital which = 1978 }
         	command = { type = secedeprovince which = ALM value = 1774 }
         	command = { type = secedeprovince which = ALM value = 1980 }
         	command = { type = secedeprovince which = ALM value = 568 }
	}
}

event = { #Berar independent
	id = 230083
	random = no
	country = HYD
	trigger = {
		exists = APU
		OR = {
		owned = { province = 1775 data = -1 }
		owned = { province = 1982 data = -1 }
		}
	}
	name = "Independence of Berar"
	desc = "Sire, the rebels in Bijapur declared independence!"
	style = 2

	date = { day = 1 month = january year = 1480 }
	offset = 10
	deathdate = { day = 1 month = january year = 1530 }

	action_a ={		
		name = "Darn!"
		command = { type = capital which = 1978 }
         	command = { type = secedeprovince which = APU value = 1775 }
         	command = { type = secedeprovince which = APU value = 1982 }
	}
}

event = { #Golconda independent
	id = 230084
	random = no
	country = HYD
	trigger = {
		exists = ALT
		OR = {
		owned = { province = 566 data = -1 }
		owned = { province = 1770 data = -1 }
		owned = { province = 1983 data = -1 }
		}
	}
	name = "Independence of Golconda"
	desc = "Sire, the rebels in Golconda declared independence!"
	style = 2

	date = { day = 1 month = january year = 1500 }
	offset = 10
	deathdate = { day = 1 month = january year = 1530 }

	action_a ={		
		name = "Darn!"
		command = { type = capital which = 1978 }
         	command = { type = secedeprovince which = ALT value = 566 }
         	command = { type = secedeprovince which = ALT value = 1770 }
         	command = { type = secedeprovince which = ALT value = 1983 }
	}
}



#Deccan is subjugated
event = {
	id = 230085
	trigger = {
		NOT = {
			exists = ALT
			exists = APU
			exists = ABB
			exists = ALM
		}
		owned = { province = 1964 data = -1 }
		owned = { province = 1774 data = -1 }
		owned = { province = 1775 data = -1 }
		owned = { province = 556 data = -1 }
	}
	random = no
	country = HYD
	name = "Deccan is subjugated"
	desc = "The revolters are defeated!"
	style = 3

	date = { day = 1 month = january year = 1550 }
	offset = 10
	deathdate = { day = 1 month = january year = 1552 }

	action_a ={			#The Deccan is Subjugated#
		name = "Great!"
		command = { type = province_revoltrisk which = 1981 value = -9 }
		command = { type = province_revoltrisk which = 1984 value = -9 }
		command = { type = province_revoltrisk which = 1980 value = -9 }
		command = { type = province_revoltrisk which = 1774 value = -15 }
		command = { type = province_revoltrisk which = 1775 value = -15 }
		command = { type = province_revoltrisk which = 568 value = -9 }
		command = { type = province_revoltrisk which = 1982 value = -9 }
		command = { type = province_revoltrisk which = 1964 value = -5 }
		command = { type = province_revoltrisk which = 556 value = -8 }
		command = { type = province_revoltrisk which = 1770 value = -5 }
		command = { type = province_revoltrisk which = 1983 value = -5 }
		command = { type = stability value = 2 }
	}
}


event = { #Bijapur becomes shiite
	id = 230086
	random = no
	country = ALM

	name = "Bijapur becomes Shiite"
	desc = "In 1504 sultan Yusuf, who has been a longtime supporter of the shiite sect, established the shiite islam as statereligion in Bijapur. This move led to a new war in the Deccan, when Ahmadnagar and the restant of the Bahmani kingdom felt compelled to bring the 'heresy' down."
	style = 2

	date = { day = 1 month = january year = 1504 }
	offset = 100
	deathdate = { day = 1 month = january year = 1506 }

	action_a ={		
		name = "Adopt the shiite teachings"
		command = { type = religion which = shiite }
         	command = { type = relation which = HYD value = -100 }
         	command = { type = relation which = ABB value = -100 }
         	command = { type = relation which = APU value = 50 }
         	command = { type = relation which = ALT value = 100 } #if it exists already, since Golconda was shiite as well
		command = { type = provincereligion which = -1 value = shiite }
	}
	action_b ={		
		name = "Defend the sunni teachings!"
         	command = { type = relation which = HYD value = 100 }
         	command = { type = relation which = ABB value = 100 }
         	command = { type = relation which = APU value = -50 }
         	command = { type = relation which = ALT value = -100 }
	}
}

event = { #Ahmadnagar becomes shiite
	id = 230087
	random = no
	country = ABB

	name = "Ahmadnagar becomes Shiite"
	desc = "In 1537 sultan Burhan, previously an enemy of the shiite heresy, 'saw the light' himself and established the shiite islam as statereligion in his kingdom."
	style = 2

	date = { day = 1 month = january year = 1537 }
	offset = 100
	deathdate = { day = 1 month = january year = 1539 }

	action_a ={		
		name = "Adopt the shiite teachings"
		command = { type = religion which = shiite }
         	command = { type = relation which = HYD value = -100 }
         	command = { type = relation which = ALM value = 100 }
         	command = { type = relation which = APU value = 50 }
         	command = { type = relation which = ALT value = 100 } #if it exists already, since Golconda was shiite as well
		command = { type = provincereligion which = -1 value = shiite }
	}
	action_b ={		
		name = "Defend the sunni teachings!"
         	command = { type = relation which = HYD value = 100 }
         	command = { type = relation which = ALM value = -100 }
         	command = { type = relation which = APU value = -50 }
         	command = { type = relation which = ALT value = -100 }
	}
}


### VIJAYANAGAR EVENTS 

event = { #The Deccan wars
	id = 230088
	random = no
	trigger = {
		NOT = { owned = { province = 1979 data = -1 }}
	}
	
	country = VIJ

	name = "Vijayanagari demands"
	desc = "During the 1550's Deccan was hit by internal warfare, mostly caused by the constant agression of Ahmadnagar against its antagonist Bijapur. While keeping eachothers power in balance, both kingdoms became severely weakened over time, giving the edge to the old opponent of the Deccani sultanates, the hindu kingdom of Vijayanagar. Vijayanagar was by times allied with Ahmadnagar against Bijapur, but its last kings started to treat the Deccani kingdoms as their vassals. In 1563 the Raja Sadashiva managed to offend all the Deccani kingdoms with his irresonsible territorial demands, which had as effect that for the first time in history the sultanates allied themselves against Vijayanagar and invaded the kingdom together in 1564."
	style = 2

	date = { day = 1 month = january year = 1563 }
	offset = 50
	deathdate = { day = 1 month = january year = 1564 }

	action_a ={		
		name = "Demand the restitutions in Deccan"
         	command = { type = relation which = HYD value = -200 }
         	command = { type = relation which = ALM value = -200 }
         	command = { type = relation which = APU value = -200 }
         	command = { type = relation which = ALT value = -200 } 
         	command = { type = relation which = ABB value = -200 }
	}
	action_b ={		
		name = "We cannot risk a war with the muslims"
         	command = { type = relation which = HYD value = 50 }
         	command = { type = relation which = ALM value = 50 }
         	command = { type = relation which = APU value = 50 }
         	command = { type = relation which = ALT value = 50 } 
         	command = { type = relation which = ABB value = 50 }
		command = { type = sleepevent which = 230089 }
	}
}

event = { #The Deccan wars
	id = 230089
	random = no
	trigger = {
		OR = {
			religion = sunni
			religion = shiite
		}
		exists = VIJ
	}
	
	province = 1979

	name = "Vijayanagari demands"
	desc = "During the 1550's Deccan was hit by internal warfare, mostly caused by the constant agression of Ahmadnagar against its antagonist Bijapur. While keeping eachothers power in balance, both kingdoms became severely weakened over time, giving the edge to the old opponent of the Deccani sultanates, the hindu kingdom of Vijayanagar. Vijayanagar was by times allied with Ahmadnagar against Bijapur, but its last kings started to treat the Deccani kingdoms as their vassals. In 1563 the Raja Sadashiva managed to offend all the Deccani kingdoms with his irresonsible territorial demands, which had as effect that for the first time in history the sultanates allied themselves against Vijayanagar and invaded the kingdom together in 1564."
	style = 2

	date = { day = 3 month = january year = 1564 }
	offset = 50
	deathdate = { day = 1 month = january year = 1565 }

	action_a ={		
		name = "They will pay for their insolence!"
         	command = { type = relation which = HYD value = 200 }
         	command = { type = relation which = APU value = 200 }
         	command = { type = relation which = ALT value = 200 } 
         	command = { type = relation which = ABB value = 200 }
         	command = { type = relation which = ALM value = 200 }
         	command = { type = alliance which = ABB }
         	command = { type = alliance which = ALM }
         	command = { type = alliance which = APU }
         	command = { type = alliance which = ALT }
         	command = { type = alliance which = HYD }
         	command = { type = war which = VIJ }
		command = { type = CAV   which = 1979 value = 15000 }
		command = { type = CAV   which = -2 value = 10000 }
		command = { type = INF   which = 1979 value = 10000 }
	}
	action_b ={		
		name = "Grant them their wishes"
         	command = { type = relation which = VIJ value = 100 }
         	command = { type = secedeprovince which = VIJ value = 1979 }
	}
}

event = { #Vijayanagar captured!
	id = 230090
	random = no
	country = VIJ
	trigger = {
		atwar = yes
		OR = {
		control = { province = 567 data = REB }
		control = { province = 567 data = ALM }
		control = { province = 567 data = ALT }
		control = { province = 567 data = HYD }
		control = { province = 567 data = ABB }
		control = { province = 567 data = APU }
		}
	}
	name = "The fall of Vijayanagar"
	desc = "Sire, the city of Vijayanagar has been captured by the enemy!"
	style = 2

	date = { day = 1 month = january year = 1564 }
	offset = 10
	deathdate = { day = 1 month = january year = 1575 }

	action_a ={		
		name = "Darn!"
		command = { type = capital which = 573 }
         	command = { type = secedeprovince which = ALM value = 1979 }
         	command = { type = secedeprovince which = ALT value = 1986 }
         	command = { type = secedeprovince which = ALT value = 1770 }
         	command = { type = secedeprovince which = ALM value = 567 }
		command = { type = stability value = -1 }
	}
}

event = { #Mysore independent
	id = 230091
	random = no
	country = VIJ
	trigger = {
		exists = MYS
		OR = {
		owned = { province = 570 data = -1 }
		owned = { province = 1987 data = -1 }
		owned = { province = 1772 data = -1 }
		owned = { province = 569 data = -1 }
		}
	}
	name = "Independence of Mysore"
	desc = "Sire, the rebels in Mysore declared independence!"
	style = 2

	date = { day = 1 month = january year = 1564 }
	offset = 10
	deathdate = { day = 1 month = january year = 1580 }

	action_a ={		
		name = "Darn!"
         	command = { type = secedeprovince which = MYS value = 570 }
         	command = { type = secedeprovince which = MYS value = 1987 }
         	command = { type = secedeprovince which = MYS value = 1772 }
	}
}

event = { #Thanjore independent
	id = 230092
	random = no
	country = VIJ
	trigger = {
		exists = KRE
		OR = {
		owned = { province = 1771 data = -1 }
		owned = { province = 1966 data = -1 }
		owned = { province = 572 data = -1 }
		}
	}
	name = "Independence of Thanjore"
	desc = "Sire, the rebels in Thanjore declared independence!"
	style = 2

	date = { day = 1 month = january year = 1564 }
	offset = 10
	deathdate = { day = 1 month = january year = 1580 }

	action_a ={		
		name = "Darn!"
         	command = { type = secedeprovince which = KRE value = 572 }
         	command = { type = secedeprovince which = KRE value = 1966 }
         	command = { type = secedeprovince which = KRE value = 1771 }
	}
}
event = { #Travancore independent
	id = 230093
	random = no
	country = VIJ
	trigger = {
		exists = U37
		OR = {
		owned = { province = 569 data = -1 }
		owned = { province = 574 data = -1 }
		owned = { province = 1965 data = -1 }
		}
	}
	name = "Independence of Travancore"
	desc = "Sire, the rebels in Travancore declared independence!"
	style = 2

	date = { day = 1 month = january year = 1564 }
	offset = 10
	deathdate = { day = 1 month = january year = 1580 }

	action_a ={		
		name = "Darn!"
         	command = { type = secedeprovince which = U37 value = 569 }
         	command = { type = secedeprovince which = U37 value = 574 }
         	command = { type = secedeprovince which = U37 value = 1965 }
	}
}

event = { #Narasimhas revolt
	id = 230094
	random = no
	country = VIJ

	name = "Narasimha's revolt"
	desc = "Virupaksha was a poor administrator and he let the coastal provinces almost independent. Unhappy with the decline of the control of the empire, the ambitious officer Narasimha revolted against Vijayanagar until he managed to get the control of the empire for himself in 1487."
	style = 2

	date = { day = 1 month = january year = 1480 }
	offset = 10
	deathdate = { day = 1 month = january year = 1481 }

	action_a ={		
		name = "The country is in revolt!"
         	command = { type = desertion   which = -1 value = 8000 }
		command = { type = revolt which = -3 }
         	command = { type = desertion   which = -1 value = 4000 }
		command = { type = revolt which = -3 }
         	command = { type = desertion   which = -1 value = 4000 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 96 value = 6 }
	}
}

event = { #Civil war of 1505
	id = 230095
	random = no
	country = VIJ

	name = "Civil war of 1505"
	desc = "The incapable Narasimha II got deposed in 1505 by a coup which brought the even less capable Vira Narasimha to power. In effect all the country fell into rebellions which lasted until the accession of the great Krishnadevaraja who eventually restored the order."
	style = 2

	date = { day = 1 month = january year = 1505 }
	offset = 50
	deathdate = { day = 1 month = january year = 1506 }

	action_a ={		
		name = "The country is in revolt!"
         	command = { type = desertion   which = -1 value = 8000 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
         	command = { type = desertion   which = -1 value = 4000 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
         	command = { type = desertion   which = -1 value = 4000 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -3 }
		command = { type = stability value = -5 }
		command = { type = revoltrisk which = 84 value = 5 }
		command = { type = revoltrisk which = 53 value = 5 }
	}
}

event = { #Vira Narasimhas revolt
	id = 230096
	random = no
	country = VIJ

	name = "Vira Narasimha's revolt"
	desc = "Vijayanagar was struck by rebellion again in 1528 when Vira Narasimha rebelled in the south-western region, aided by the nayak-king of Travancore."
	style = 2

	date = { day = 1 month = january year = 1528 }
	offset = 100
	deathdate = { day = 1 month = january year = 1529 }

	action_a ={		
		name = "The country is in revolt!"
         	command = { type = desertion   which = 574 value = 8000 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
         	command = { type = desertion   which = 575 value = 4000 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
         	command = { type = desertion   which = 569 value = 4000 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 48 value = 3 }
	}
}


### DELHI EVENTS

event = { #Multan revolt
	id = 230097
	random = no
	country = DLH

	name = "Revolt in the Multan"
	desc = "In 1431 and again in 1436 the governor of Multan revolted against the sultan of Delhi. Unable to defeat his forces Delhi had to eventually acknowledge the new independent kingdom."
	style = 2

	date = { day = 1 month = january year = 1431 }
	offset = 100
	deathdate = { day = 1 month = january year = 1433 }

	action_a ={		
		name = "Multan is in revolt!"
         	command = { type = desertion   which = 1521 value = 10000 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
         	command = { type = desertion   which = 1522 value = 5000 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
         	command = { type = desertion   which = 1997 value = 5000 }
		command = { type = revolt which = -3 }
		command = { type = revolt which = -3 }
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 72 value = 5 }
		command = { type = province_revoltrisk which = 1521 value = 12 }
		command = { type = province_revoltrisk which = 1522 value = 8 }
		command = { type = province_revoltrisk which = 1997 value = 8 }
	}

	action_b ={		
		name = "Try to buy them off!"
		command = { type = revolt which = 1521 }
		command = { type = revolt which = -3 }
		command = { type = revoltrisk which = 48 value = 2 }
		command = { type = cash value = -300 }
		command = { type = provincetax which = 1521 value = -1 }
		command = { type = provincetax which = 1522 value = -1 }
		command = { type = provincetax which = 1997 value = -1 }
		command = { type = province_revoltrisk which = 1521 value = 3 }
		command = { type = province_revoltrisk which = 1522 value = 2 }
		command = { type = province_revoltrisk which = 1997 value = 2 }
	}
}

event = { #Multan independent
	id = 230098
	random = no
	country = DLH
	trigger = {
		exists = LEO
		OR = {
		owned = { province = 1521 data = -1 }
		owned = { province = 1522 data = -1 }
		owned = { province = 1997 data = -1 }
		}
	}
	name = "Independence of Multan"
	desc = "Sire, the rebels in Multan declared independence!"
	style = 2

	date = { day = 1 month = january year = 1431 }
	offset = 10
	deathdate = { day = 1 month = january year = 1440 }

	action_a ={		
		name = "Darn!"
         	command = { type = secedeprovince which = LEO value = 1521 }
         	command = { type = secedeprovince which = LEO value = 1522 }
         	command = { type = secedeprovince which = LEO value = 1997 }
	}
}

#Multan is subjugated
event = {
	id = 230099
	trigger = {
		NOT = {
			exists = LEO
		}
		owned = { province = 1521 data = -1 }
	}
	random = no
	country = DLH
	name = "Multan is subjugated"
	desc = "The revolters in Multan are defeated!"
	style = 3

	date = { day = 1 month = january year = 1460 }
	offset = 10
	deathdate = { day = 1 month = january year = 1462 }

	action_a ={			#Multan is Subjugated#
		name = "Great!"
		command = { type = province_revoltrisk which = 1521 value = -12 }
		command = { type = province_revoltrisk which = 1522 value = -8 }
		command = { type = province_revoltrisk which = 1997 value = -8 }
		command = { type = stability value = 1 }
	}
}


### MASOVIAN INHERITANCE

#The Polish Inheritance of Masovia#
event = {

	id = 230100

	random = no
	country = POL
	name = "Death of Janusz of Masovia"
	desc = "Sire, Duke Janusz of Masovia died and his lands now belong to Poland."
	style = 2

	action_a ={		#Make it a personal royal fiefdom#
		name = "OK"
		command = { type = inherit which = POD }

	}
}
event = {

	id = 230101
	trigger = {
		exists = POL
		}
	random = no
	country = POD
	name = "Death of Janusz of Masovia"
	desc = "EVENTHIST3473"
	style = 2

	date = { day = 29 month = december year = 1525 }

	action_a ={		
		name = "Polish inheritance (GAME OVER)"
		command = { type = trigger which = 230100 }
	}
	action_b ={		#Make it a personal royal fiefdom#
		name = "Janusz had a heir after all"
		command = { type = relation which = POL value = -50 }
	}
}


### OPPELN INHERITANCE

event = {	#Oppeln inheritance -> Bohemia

	id = 230102
	trigger = {
		exists = BOH
		}
	random = no
	country = SEL
	name = "Death of Jan 'the Good'"
	desc = "Jan II 'the Good' of Oppeln-Ratibor died heirless in 1532. By the rules of vassalship with the Bohemian crown the lands of any Silesian principality would 'return' to Bohemia at the moment of the extinction of a Silesian dynasty. However already during the reign of king Vladislav certain agreements were made about Hohenzollern succesion to Oppeln once Jan died."
	style = 2

	date = { day = 22 month = march year = 1532 }

	action_a ={		
		name = "Bohemian inheritance (GAME OVER)"
		command = { type = trigger which = 230106 }
	}
	action_b ={		
		name = "Hohenzollern inheritance (GAME OVER)"
		command = { type = trigger which = 230108 }
	}
	action_c ={	
		name = "Jan had a heir after all"
		command = { type = relation which = BOH value = -25 }
		command = { type = relation which = BRA value = -25 }
	}
}
event = {	#Oppeln inheritance -> Austria

	id = 230103
	trigger = {
		NOT = { event = 230102 } 
		exists = HAB 
		}
	random = no
	country = SEL
	name = "Death of Jan 'the Good'"
	desc = "Jan II 'the Good' of Oppeln-Ratibor died heirless in 1532. By the rules of vassalship with the Bohemian crown the lands of any Silesian principality would 'return' to Bohemia at the moment of the extinction of a Silesian dynasty. However already during the reign of king Vladislav certain agreements were made about Hohenzollern succesion to Oppeln once Jan died."
	style = 2

	date = { day = 23 month = march year = 1532 }

	action_a ={		
		name = "Hapsburg inheritance (GAME OVER)"
		command = { type = trigger which = 230107 }
	}
	action_b ={		
		name = "Hohenzollern inheritance (GAME OVER)"
		command = { type = trigger which = 230108 }
	}
	action_c ={	
		name = "Jan had a heir after all"
		command = { type = relation which = HAB value = -25 }
		command = { type = relation which = BRA value = -25 }
	}
}
event = {	#Oppeln inheritance

	id = 230104
	trigger = {
		NOT = { event = 230102 }
		NOT = { event = 230103 }
		exists = BRA
	}
	random = no
	country = SEL
	name = "Death of Jan 'the Good'"
	desc = "Jan II 'the Good' of Oppeln-Ratibor died heirless in 1532, but before that he agreed on Hohenzollern succession in his duchy. However also the crown of Poland had valid claims on the Upper-Silesian principality."
	style = 2

	date = { day = 24 month = march year = 1532 }

	action_a ={		
		name = "Hohenzollern inheritance (GAME OVER)"
		command = { type = trigger which = 230108 }
	}
	action_b ={		
		name = "Polish inheritance (GAME OVER)"
		command = { type = trigger which = 230109 }
	}
	action_c ={	
		name = "Jan had a heir after all"
		command = { type = relation which = POL value = -25 }
		command = { type = relation which = BRA value = -25 }
	}
}
event = {	#Oppeln inheritance

	id = 230105
	trigger = {
		NOT = { event = 230102 }
		NOT = { event = 230103 }
		NOT = { event = 230104 }
		exists = POL
		}
	random = no
	country = SEL
	name = "Death of Jan 'the Good'"
	desc = "Jan II 'the Good' of Oppeln-Ratibor died heirless in 1532, upon which Poland exerted a claim to inherit the principality."
	style = 2

	date = { day = 25 month = march year = 1532 }

	action_a ={		
		name = "Polish inheritance (GAME OVER)"
		command = { type = trigger which = 230109 }
	}
	action_b ={	
		name = "Jan had a heir after all"
		command = { type = relation which = POL value = -25 }
	}
}

event = { #Bohemia inherits Oppeln

	id = 230106			
	random = no
	country = BOH
	name = "Death of Jan 'the Good' of Oppeln"
	desc = "Jan II 'the Good' of Oppeln-Ratibor died heirless in 1532. By the rules of vassalship with the Bohemian crown the lands of any Silesian principality would 'return' to Bohemia at the moment of the extinction of a Silesian dynasty."
	style = 1

	action_a ={				#Incorporate them#
		name = "OK"
		command = { type = inherit which = SEL }
		command = { type = addcore which = 1943 }
	}
}

event = { #Austria inherits Oppeln

	id = 230107			
	random = no
	country = HAB
	name = "Death of Jan 'the Good' of Oppeln"
	desc = "Jan II 'the Good' of Oppeln-Ratibor died heirless in 1532. By the rules of vassalship with the Bohemian crown the lands of any Silesian principality would 'return' to Bohemia at the moment of the extinction of a Silesian dynasty."
	style = 1

	action_a ={				#Incorporate them#
		name = "OK"
		command = { type = inherit which = SEL }
		command = { type = addcore which = 1943 }
	}
}

event = { #Brandenburg inherits Oppeln

	id = 230108			
	random = no
	country = BRA
	name = "Death of Jan 'the Good' of Oppeln"
	desc = "Jan II 'the Good' of Oppeln-Ratibor died heirless in 1532, but before that he agreed on Hohenzollern succession in his duchy. However also the crown of Poland had valid claims on the Upper-Silesian principality."
	style = 1

	action_a ={				#Incorporate them#
		name = "OK"
		command = { type = inherit which = SEL }
		command = { type = addcore which = 1943 }
	}
}

event = { #Poland inherits Oppeln

	id = 230109			
	random = no
	country = POL
	name = "Death of Jan 'the Good' of Oppeln"
	desc = "Jan II 'the Good' of Oppeln-Ratibor died heirless in 1532, upon which Poland exerted a claim to inherit the principality."
	style = 1

	action_a ={				#Incorporate them#
		name = "OK"
		command = { type = inherit which = SEL }
		command = { type = addcore which = 1943 }
	}
}


### SALE OF NEW MARK

event = {

	id = 230110
	trigger = {
		exists = BRA
		owned = { province = 313 data = LAT }
		war = { country = POL country = LAT }
		NOT = { war = { country = BRA country = LAT }}
		}
	random = no
	country = LAT
	name = "Sale of the New Mark"
	desc = "Lacking funds for the war against Poland-Lithuania, the Grand Master of the Teutonic Order offered to mortgage the New Mark which the Order acquired in 1402 to Brandenburg. Pursuing an expansive foreign policy and seeing a chance for a closer anti-Polish alliance a deal was soon struck."
	style = 2

	date = { day = 4 month = january year = 1419 }
	offset = 100
	deathdate = { day = 4 month = january year = 1500 }

	action_a ={		
		name = "Offer the sale"
		command = { type = trigger which = 230111 }
		command = { type = relation which = BRA value = 50 }
	}
	action_b ={	
		name = "We rather keep these lands"
		command = { type = relation which = BRA value = -50 }
	}
}

event = {

	id = 230111

	random = no
	country = BRA
	name = "Purchase of the New Mark"
	desc = "Lacking funds for the war against Poland-Lithuania, the Grand Master of the Teutonic Order offered to mortgage the New Mark which the Order acquired in 1402 to Brandenburg. Pursuing an expansive foreign policy and seeing a chance for a closer anti-Polish alliance a deal was soon struck."
	style = 2


	action_a ={		
		name = "Purchase New Mark"
		command = { type = trigger which = 230112 }
		command = { type = relation which = POL value = -50 }
		command = { type = cash value = -200 }
	}
	action_b ={	
		name = "We don't have the cash"
		command = { type = relation which = LAT value = -100 }
		command = { type = relation which = POL value = 50 }
	}
}

event = {

	id = 230112

	random = no
	country = LAT
	name = "Purchase of the New Mark"
	desc = "Sire, Brandenburg accepted to purchase New Mark from us."
	style = 2


	action_a ={		
		name = "OK"
		command = { type = secedeprovince which = BRA value = 313 }
		command = { type = relation which = BRA value = 50 }
		command = { type = cash value = 200 }
	}
}