#####Luxemburg Major Events#####
###By Joakim 'Greven' Bergqwist###
##################################

#The Succession in Luxemburg#
event = {

	id = 3605
	trigger = {
		exists = BUR
		atwar = no
	}
	random = no
	country = LUX
	name = "EVENTNAME3605"
	desc = "EVENTHIST3605"
	style = 1

	date = { day = 1 month = august year = 1451 }
	offset = 0
	deathdate = { day = 2 month = august year = 1500 }

	action_a ={				#Let us be a part of Great Burgundy#
		name = "ACTIONNAME3605A"
		command = { type = trigger which = 3598 }
	}
	action_b ={				#Let the Burgundian monarch become our Duke#
		name = "ACTIONNAME3605B"
		command = { type = trigger which = 3599 }
		command = { type = dynastic which = BUR }
#		command = { type = alliance which = BUR }
		command = { type = stability value = 3 }
	}
	action_c ={				#Let us elect a local Count as Duke#
		name = "ACTIONNAME3605C"
		command = { type = trigger which = 3600 }
		command = { type = stability value = -3 }
		command = { type = revolt which = -1 }
	}
}

event = {
	id = 723480
	trigger = {
	OR = {
		control  = { province = 315 data = REB }
		control  = { province = 328 data = REB }
		control  = { province = 329 data = REB }
		control  = { province = 330 data = REB }
		control  = { province = 1003 data = REB }
	}
        }
	random = no
	country = LUX
	name = "EVENTNAME3801"
	desc = "EVENTHIST3801"
	style = 1   
        
	date = { day = 16 month = august year = 1419 }
	offset = 0

	action_a ={
		name = "ACTIONNAME3801A"
		command = { type = stability value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = trigger which = 3801 }
	}
}

event = {

	id = 723481
	trigger = {
		event   = 723480
	}
	random = no
	country = LUX
	name = "Albert II Habsburg"
	desc = "When Sigismund died in 1437, Albert II Habsburg, Duke of Austria, was crowned king of Bohemia on July 1st, 1438"
	style = 3

	date = { day = 6 month = december year = 1437 }
	offset = 0
	deathdate = { day = 7 month = december year = 1437 }

	action_a ={
		name = "Accept the Habsburgs as Hereditary Kings"
		command = { type = trigger which = 3733 }
		command = { type = secedeprovince which = HAB value = 314 }
		command = { type = secedeprovince which = HAB value = 315 }
		command = { type = secedeprovince which = HAB value = 328 }
		command = { type = secedeprovince which = HAB value = 329 }
		command = { type = secedeprovince which = HAB value = 330 }
		command = { type = secedeprovince which = HAB value = 840 }
		command = { type = secedeprovince which = HAB value = 881 }
		command = { type = secedeprovince which = HAB value = 1003 }
		command = { type = secedeprovince which = HAB value = 1940 }
		command = { type = secedeprovince which = HAB value = 1943 }
		command = { type = removecore which = 314 }
		command = { type = removecore which = 315 }
		command = { type = removecore which = 328 }
		command = { type = removecore which = 329 }
		command = { type = removecore which = 330 }
		command = { type = removecore which = 840 }
		command = { type = removecore which = 881 }
		command = { type = removecore which = 1003 }
		command = { type = removecore which = 1940 }
		command = { type = removecore which = 1943 }
		command = { type = relation which = HAB value = 100 }
	}

	action_b ={
		name = "Let Bohemia stay in the dynasty"
		command = { type = stability value = -1 }
		command = { type = relation which = HAB value = -200 }
	}
}

event = {

	id = 9756401
	trigger = {
	NOT = {	monarch = 17843
        war   = { country = BOH country = LUX } }
	exists = BOH
	}
	random = no
	country = LUX
	name = "The death of Wenceslaus I"
	desc = "Wenceslaus I was captured and suffered 11 months of captivity. He died in Luxemburg and was succeeded by Wenceslaus II as duke of Luxemburg. There are speculations that he might have died of leprosy (Joanna stayed in Brussels). His last wish was his heart to be displaced from his dead body and sent to his wife."
	style = 3

	date = { day = 0 month = december year = 1383 }
	offset = 2
	deathdate = { day = 29 month = december year = 1383 }

	action_a ={
		name = "Wenceslaus II inherits"
 		command = { type = trigger which = 9756402 }# BOH : The inheritance of Luxemburg
		command = { type = sleepevent which = 9756413 }
	}

	action_b ={
		name = "Make him rule it in a personal union"
		command = { type = stability value = -4 }
		command = { type = trigger which = 9756412 }# BOH : The Personal Union with Luxemburg
		command = { type = sleepevent which = 9756413 }
	}
}

event = {

	id = 9756413
	trigger = {
	NOT = {	monarch = 17843 }
	exists = BOH
	war   = { country = BOH country = LUX }
	}
	random = no
	country = LUX
	name = "The death of Wenceslaus I"
	desc = "Wenceslaus I was captured and suffered 11 months of captivity. He died in Luxemburg and was succeeded by Wenceslaus II as duke of Luxemburg. There are speculations that he might have died of leprosy (Joanna stayed in Brussels). His last wish was his heart to be displaced from his dead body and sent to his wife."
	style = 3

	date = { day = 0 month = december year = 1383 }
	offset = 2
	deathdate = { day = 29 month = december year = 1383 }

	action_a ={
		name = "Wenceslaus II inherits"
 		command = { type = trigger which = 9756402 }# BOH : The inheritance of Luxemburg
		command = { type = sleepevent which = 9756401 }
	}

}