### 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 = BAN }
	}
	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 = BAN value = 671 }
         	command = { type = secedeprovince which = BAN value = 1548 }
         	command = { type = secedeprovince which = BAN value = 1547 }
         	command = { type = secedeprovince which = BAN value = 1545 }
         	command = { type = secedeprovince which = BAN value = 1553 }
	}
}
event = { #The Toungoo dynasty
	id = 230064
	random = no
	country = MYA
	trigger = {
		owned = { province = 1546 data = -1 }
		event = 230063
	}
	name = "The Taungu 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 = 1546 }
         	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 }
		command = { type = flagname which = "" }
	}         
}


### 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 = FEZ }
	}
	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 = CAT }
	}
	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 = YOR }
	}
	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 = SHA }
	}
	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 = 566 value = 8 }
		command = { type = desertion   which = 566 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 = 566 }
		command = { type = revolt which = 566 }
		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 = FEZ 
		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 = FEZ value = 1964 }
         	command = { type = secedeprovince which = FEZ value = 1981 }
         	command = { type = secedeprovince which = FEZ value = 1984 }
	}
}

event = { #Bijapur independent
	id = 230082
	random = no
	country = HYD
	trigger = {
		exists = CAT
		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 = CAT value = 1774 }
         	command = { type = secedeprovince which = CAT value = 1980 }
         	command = { type = secedeprovince which = CAT value = 568 }
	}
}

event = { #Berar independent
	id = 230083
	random = no
	country = HYD
	trigger = {
		exists = YOR
		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 = YOR value = 1775 }
         	command = { type = secedeprovince which = YOR value = 1982 }
	}
}

event = { #Golconda independent
	id = 230084
	random = no
	country = HYD
	trigger = {
		exists = SHA
		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 = SHA value = 566 }
         	command = { type = secedeprovince which = SHA value = 1770 }
         	command = { type = secedeprovince which = SHA value = 1983 }
	}
}



#Deccan is subjugated
event = {
	id = 230085
	trigger = {
		NOT = {
			exists = FEZ
			exists = YOR
			exists = CAT
			exists = SHA
		}
		owned = { province = 1964 data = -1 }
		owned = { province = 1774 data = -1 }
		owned = { province = 1775 data = -1 }
		owned = { province = 566 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 = 566 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 = CAT

	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 = FEZ value = -100 }
         	command = { type = relation which = YOR value = 50 }
         	command = { type = relation which = SHA 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 = FEZ value = 100 }
         	command = { type = relation which = YOR value = -50 }
         	command = { type = relation which = SHA value = -100 }
	}
}

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

	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 = CAT value = 100 }
         	command = { type = relation which = YOR value = 50 }
         	command = { type = relation which = SHA 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 = CAT value = -100 }
         	command = { type = relation which = YOR value = -50 }
         	command = { type = relation which = SHA 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 = CAT value = -200 }
         	command = { type = relation which = YOR value = -200 }
         	command = { type = relation which = SHA value = -200 } 
         	command = { type = relation which = FEZ value = -200 }
	}
	action_b ={		
		name = "We cannot risk a war with the muslims"
         	command = { type = relation which = HYD value = 50 }
         	command = { type = relation which = CAT value = 50 }
         	command = { type = relation which = YOR value = 50 }
         	command = { type = relation which = SHA value = 50 } 
         	command = { type = relation which = FEZ 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 = 300 }
         	command = { type = relation which = YOR value = 300 }
         	command = { type = relation which = SHA value = 300 }
         	command = { type = relation which = FEZ value = 300 }
         	command = { type = relation which = CAT value = 300 }
         	command = { type = alliance which = FEZ }
         	command = { type = alliance which = CAT }
         	command = { type = alliance which = YOR }
         	command = { type = alliance which = SHA }
         	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 = CAT }
		control = { province = 567 data = SHA }
		control = { province = 567 data = HYD }
		control = { province = 567 data = FEZ }
		control = { province = 567 data = YOR }
		}
	}
	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 = CAT value = 1979 }
         	command = { type = secedeprovince which = SHA value = 1986 }
         	command = { type = secedeprovince which = SHA value = 1770 }
         	command = { type = secedeprovince which = CAT 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 = CRE
		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 = CRE value = 572 }
         	command = { type = secedeprovince which = CRE value = 1966 }
         	command = { type = secedeprovince which = CRE value = 1771 }
	}
}
event = { #Travancore independent
	id = 230093
	random = no
	country = VIJ
	trigger = {
		exists = ASU
		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 = ASU value = 569 }
         	command = { type = secedeprovince which = ASU value = 574 }
         	command = { type = secedeprovince which = ASU 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 = FRC
		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 = FRC value = 1521 }
         	command = { type = secedeprovince which = FRC value = 1522 }
         	command = { type = secedeprovince which = FRC value = 1997 }
	}
}

#Multan is subjugated
event = {
	id = 230099
	trigger = {
		NOT = {
			exists = FRC
		}
		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 }
	}
}


### OPPELN INHERITANCE

event = {	#Oppeln inheritance -> Bohemia

	id = 230102
	trigger = {
		exists = BOH
		}
	random = no
	country = SIL
	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 = SIL
	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 = SIL
	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 = SIL
	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 = SIL }
		command = { type = addcore which = 314 }
		command = { type = addcore which = 840 }
		command = { type = addcore which = 881 }
		command = { type = addcore which = 1940 }
		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 = SIL }
		command = { type = addcore which = 314 }
		command = { type = addcore which = 840 }
		command = { type = addcore which = 881 }
		command = { type = addcore which = 1940 }
		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 = SIL }
		command = { type = addcore which = 314 }
		command = { type = addcore which = 840 }
		command = { type = addcore which = 881 }
		command = { type = addcore which = 1940 }
		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 = SIL }
		command = { type = addcore which = 314 }
		command = { type = addcore which = 840 }
		command = { type = addcore which = 881 }
		command = { type = addcore which = 1940 }
		command = { type = addcore which = 1943 }
	}
}

### SALE OF NEUMARK

event = {

	id = 78793705
	trigger = {
		exists = LAT
		owned = { province = 313 data = BRA }
		NOT = { war = { country = BRA country = LAT } }
		NOT = {
		    OR = {
                       owned = { province = 303 data = BRA }
                       owned = { province = 1945 data = BRA }
                    }
                }
		}
	random = no
	country = BRA
	name = "Sale of Neumark"
	desc = "With the extinction of the Ascanian line in 1320 Brandenburg's interest in the Neumark decreased. Neither the margraves of the Wittelsbach (1323-1373) or Luxembourg dynasties concerned themselves with developing their eastern-most territory further. The political vacuum allowed Poland to reassert its influence in the area, while robber barons terrorized the populace. The Neumark was pawned to the Teutonic Knights in 1402."
	style = 2

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

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

event = {

	id = 78793706

	random = no
	country = LAT
	name = "Purchase of Neumark"
	desc = "With the extinction of the Ascanian line in 1320 Brandenburg's interest in the Neumark decreased. Neither the margraves of the Wittelsbach (1323-1373) or Luxembourg dynasties concerned themselves with developing their eastern-most territory further. The political vacuum allowed Poland to reassert its influence in the area, while robber barons terrorized the populace. The Neumark was pawned to the Teutonic Knights in 1402."
	style = 2


	action_a ={		
		name = "Purchase Neumark"
		command = { type = trigger which = 78793707 }
		command = { type = cash value = -200 }
	}
	action_b ={	
		name = "We don't have the cash"
		command = { type = relation which = BRA value = -100 }
	}
}

event = {

	id = 78793707

	random = no
	country = BRA
	name = "Teutonic Order Purchases Neumark"
	desc = "Sire, Brandenburg accepted to purchase Neumark from us."
	style = 2


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


### SALE OF NEUMARK

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 Neumark"
	desc = "Lacking funds for the war against Poland-Lithuania, the Grand Master of the Teutonic Order offered to mortgage Neumark 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 = -10 }
	}
}

event = {

	id = 230111

	random = no
	country = BRA
	name = "Purchase of Neumark"
	desc = "Lacking funds for the war against Poland-Lithuania, the Grand Master of the Teutonic Order offered to mortgage Neumark 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 Neumark"
		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 = "Brandenburg Purchases Neumark"
	desc = "Sire, Brandenburg accepted to purchase Neumark 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 }
	}
}

### Grand Duchy of Finland

#Grand Duchy of Finland#
event = { 
	id = 684897000  # Triggered by 15468
	random = no
	country = FIN
	name = "Grand Duchy of Finland"
	desc = "After Russia had captured Finland from Sweden, it was made an autonomous Duchy within the Russian empire. The actual degree of autonomy During the years of Russian rule varied, though. Also periods of censorship, political prosecution, and the likes occurred, 	particularly in the last two decades of Russian control. But essentially, the Finnish peasantry was much more free than their counterparts in other regions of the Russian empire, as they were allowed to retain Swedish laws."
	style = 5

	action_a = { 
		name = "Great we shall obey the Tsars"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = ARISTOCRACY value = 3 }
		command = { type = domestic which = SERFDOM value = 3 }
		command = { type = gainmanufactory which = -1 value = -1 }
		command = { type = stability value = -1 }
		command = { type = sleepmonarch which = 16220 }
		command = { type = sleepmonarch which = 16221 }
		command = { type = sleepmonarch which = 16222 }
		command = { type = sleepmonarch which = 65046 }
		command = { type = wakemonarch which = 16211 }
		command = { type = wakemonarch which = 16212 }
		command = { type = wakemonarch which = 16213 }
		command = { type = wakemonarch which = 16214 }
		command = { type = wakemonarch which = 16215 }
		command = { type = wakemonarch which = 16216 }
		command = { type = wakemonarch which = 16217 }
		command = { type = wakemonarch which = 16218 }
		command = { type = wakemonarch which = 16219 }
		command = { type = wakemonarch which = 65040 }
		command = { type = wakemonarch which = 65041 }
		command = { type = wakemonarch which = 65042 }
		command = { type = wakemonarch which = 65043 }
		command = { type = wakemonarch which = 65044 }
	}
	action_b = {
		name = "Lets install our brothers as rulers"
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = SERFDOM 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 = relation which = RUS value = -300 }
		command = { type = stability value = 2 }
	} 
}