#####Siebenbürgen Major Events#####
####By Joakim 'Greven' Bergqwist###
###################################

#The Death of King Lajos of Hungary#		#SIE#
event = {

	id = 3644				#Triggered by HUN3639#
	random = no
	country = SIE
	name = "EVENTNAME3644"
	desc = "EVENTHIST3644"
	style = 2

	action_a ={				#I will be crowned King of Hungary#
		name = "ACTIONNAME3644A"
		command = { type = vassal which = HUN }
		command = { type = relation which = HUN value = 150 }
		command = { type = relation which = TUR value = 150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = stability value = 1 }
	}
}

#The Death of King Lajos of Hungary#		#HAB#
event = {

	id = 3645				#Triggered by HUN3639#
	random = no
	country = SIE
	name = "EVENTNAME3645"
	desc = "EVENTHIST3645"
	style = 2

	action_a ={				#No! It is mine!#
		name = "ACTIONNAME3645A"
		command = { type = alliance which = TUR  }
		command = { type = relation which = TUR value = 200 }
		command = { type = relation which = HAB value = -150 }
		command = { type = casusbelli which = HUN value = 36 }
		command = { type = casusbelli which = HAB value = 36 }
		command = { type = addcore which = 317 }
	}

	action_b ={				#Let him have it#
		name = "ACTIONNAME3645B"
		command = { type = relation which = HUN value = 100 }
		command = { type = relation which = TUR value = 100 }
		command = { type = relation which = HAB value = 100 }
		command = { type = addcore which = 317 }
	}
}

#The Zapolya Inheritance of Hungary#
event = {

	id = 3732
	trigger = {
				exists = HUN
			NOT = {
				exists = HAB
				}
		}
	random = no
	country = SIE
	name = "EVENTNAME3732"
	desc = "EVENTHIST3732"
	style = 2

	date = { day = 28 month = august year = 1526 }
	offset = 0
	deathdate = { day = 29 month = august year = 1526 }

	action_a ={				#Outstanding!#
		name = "ACTIONNAME3732A"
		command = { type = inherit which = HUN }
		command = { type = stability value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = addcore which = 326 }
		command = { type = addcore which = 352 }
		command = { type = addcore which = 367 }
		command = { type = addcore which = 316 }
		command = { type = addcore which = 353 }
		command = { type = addcore which = 317 }
		command = { type = addcore which = 325 }
		command = { type = addcore which = 354 }
		command = { type = addcore which = 366 }
	}
}

#The Death of Johan Zapolya#
event = {

	id = 3646				#Triggered by HUN3640#
	random = no
	country = SIE
	name = "EVENTNAME3646"
	desc = "EVENTHIST3646"
	style = 2

	action_a ={				#I will become King of Hungary#
		name = "ACTIONNAME3646A"
		command = { type = vassal which = HUN }
		command = { type = relation which = HUN value = 150 }
		command = { type = relation which = TUR value = 150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = stability value = 1 }
	}
}

# The Council of Florence and the Union of the Churches
event = { 
	id = 3838
	
	# Triggered by BYZ 3833
	
	random = no
	country = SIE
	name = "EVENTNAME3838"
	desc = "EVENTHIST3838"
	style = 1 
	
	action_a ={ #Gain CB on Ottomans#
		name = "ACTIONNAME3838A"
		command = { type = casusbelli which = TUR value = 60 }
	}
}