#####Hungary Major Events######
#By Joakim 'Greven' Bergqwist #
#   Håvard Moe                #
#   Tom 'Demetrios' Rinschler #
###############################

# Religious Rebellion #
event = {

	id = 3641
	random = no
	country = HUN
	name = "EVENTNAME3641"
	desc = "EVENTHIST3641"

	date = { day = 1 month = january year = 1604 }
	offset = 30
	deathdate = { day = 1 month = january year = 1605 }

	action_a ={				#Fight for the cause of the Reformed Faith#
		name = "ACTIONNAME3641A"
		command = { type = revoltrisk which = 36 value = 6 }
		command = { type = religion which = reformed }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -4 value = 5000 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = PAP value = -100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = relation which = SWE value = 100 }
		command = { type = relation which = LIT value = 100 }
		command = { type = relation which = PRU value = 100 }
		command = { type = relation which = DAN value = 100 }
		command = { type = relation which = HOL value = 100 }
		command = { type = domestic which = INNOVATIVE value = 2 }
		command = { type = stability value = -2 }
	}

	action_b ={				#Fight for the cause of the Catholic Faith#
		name = "ACTIONNAME3641B"
		command = { type = revoltrisk which = 36 value = 6 }
		command = { type = religion which = counterreform }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -4 value = 5000 }
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = SPA value = 100 }
		command = { type = relation which = SWE value = -100 }
		command = { type = relation which = ENG value = -100 }
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = DAN value = -100 }
		command = { type = relation which = HOL value = -100 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = stability value = -2 }
	}
}

# The Council of Florence and the Union of the Churches
event = { 
	id = 3835
	
	# Triggered by BYZ 3833
	
	random = no
	country = HUN
	name = "EVENTNAME3835"
	desc = "EVENTHIST3835"
	
	action_a ={ #Gain CB on Ottomans#
		name = "ACTIONNAME3835A"
		command = { type = casusbelli which = TUR value = 60 }
	}
}

# The Death of King Vaclav IV
event = {
	id = 3851		# Triggered from BOH3801
	random = no
	country = HUN
	name = "EVENTNAME3851"
	desc = "EVENTHIST3851"

	action_a ={ # They reject!
		name = "ACTIONNAME3851A"
		command = { type = casusbelli which = BOH value = 215 }
	}
}

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

	id = 3639	
	trigger = {
			exists = HAB
			exists = TUR
		    	owned = { province = 324 data = HUN }
		    	owned = { province = 325 data = HUN }
		    	owned = { province = 353 data = HUN }
		    	control = { province = 324 data = TUR }
		    	control = { province = 325 data = TUR }
		    	control = { province = 353 data = TUR }
		}
	random = no
	country = HUN
	name = "EVENTNAME3639"
	desc = "EVENTHIST3639"

	date = { day = 13 month = march year = 1516 }
	offset = 0
	deathdate = { day = 21 month = july year = 1540 }

	action_a ={
		name = "ACTIONNAME3639B"
		command = { type = cedeprovince which = HAB value = 314 } # Greater Austria, Bohemia, Slovakia and Royal Hungary
		command = { type = cedeprovince which = HAB value = 315 }
		command = { type = cedeprovince which = HAB value = 316 }
		command = { type = cedeprovince which = HAB value = 326 }
		command = { type = cedeprovince which = HAB value = 327 }
		command = { type = cedeprovince which = HAB value = 328 }
		command = { type = cedeprovince which = HAB value = 329 }
		command = { type = cedeprovince which = HAB value = 330 }
		command = { type = cedeprovince which = HAB value = 350 }
		command = { type = cedeprovince which = HAB value = 352 }
		command = { type = cedeprovince which = HAB value = 367 }
		command = { type = cedeprovince which = HAB value = 368 }
		command = { type = cedeprovince which = HAB value = 369 }
		command = { type = cedeprovince which = HAB value = 371 }
		command = { type = cedeprovince which = TUR value = 317 } # Bosnia, Serbia, Croatia, Romania and Hungary
		command = { type = cedeprovince which = TUR value = 318 }
		command = { type = cedeprovince which = TUR value = 319 }
		command = { type = cedeprovince which = TUR value = 322 }
		command = { type = cedeprovince which = TUR value = 323 }
		command = { type = cedeprovince which = TUR value = 324 }
		command = { type = cedeprovince which = TUR value = 353 }
		command = { type = cedeprovince which = TUR value = 354 }
		command = { type = cedeprovince which = TUR value = 355 }
		command = { type = cedeprovince which = TUR value = 362 }
		command = { type = cedeprovince which = TUR value = 363 }
		command = { type = cedeprovince which = TUR value = 364 }
		command = { type = cedeprovince which = TUR value = 365 }
		command = { type = cedeprovince which = TUR value = 366 }
		command = { type = trigger which = 3645 }
		command = { type = trigger which = 3185 }
	}

	action_b ={
		name = "ACTIONNAME3639A"
		command = { type = relation which = HAB value = -200 }
		command = { type = desertion which = -1 value = 15000 }
		command = { type = desertion which = -4 value = 10000 }
		command = { type = desertion which = -4 value = 10000 }
		command = { type = desertion which = -4 value = 5000 }
		command = { type = desertion which = -4 value = 5000 }
		command = { type = stability value = -3 }
	}
}
