#####Burgundy Major Events#######
#By Joakim 'Greven' Bergqwist   #
#   Kristof 'BiB' Haekens       #
#   Henrik 'Doomdark' Fåhraeus  #
#   Petter 'Carolus Rex' Carnbro#
#################################

#The Marriage of Anne of Burgundy#
event = {
	id = 3597
	trigger = {
		exists = FRA
		exists = HAB
		atwar = no
	}
	random = no
	country = BUR
	name = "EVENTNAME3597"
	desc = "EVENTHIST3597"
	style = 1

	date = { day = 3 month = june year = 1476 }
	offset = 0
	deathdate = { day = 4 month = june year = 1484 }

	action_a ={
		name = "ACTIONNAME3597A"	#Maximilian of Austria#
		command = { type = independence which = GEL }
		command = { type = independence which = FRI }
		command = { type = independence which = KLE }
		command = { type = independence which = HAN }
		command = { type = independence which = KOL }
		command = { type = independence which = LOR }
                command = { type = independence which = PFA }
                command = { type = revolt which = 334 }
		command = { type = revolt which = 334 }
		command = { type = revolt which = 335 }
		command = { type = revolt which = 335 }
		command = { type = revolt which = 336 }
		command = { type = revolt which = 336 }
                command = { type = secedeprovince which = FRA value = 376 }
		command = { type = secedeprovince which = FRA value = 379 }
		command = { type = secedeprovince which = FRA value = 382 }
		command = { type = secedeprovince which = FRA value = 383 }
		command = { type = secedeprovince which = FRA value = 384 }
		command = { type = secedeprovince which = FRA value = 386 }
		command = { type = secedeprovince which = FRA value = 387 }
		command = { type = secedeprovince which = FRA value = 405 }
		command = { type = secedeprovince which = FRA value = 407 }
		command = { type = secedeprovince which = FRA value = 408 }
		command = { type = secedeprovince which = FRA value = 409 }
		command = { type = secedeprovince which = FRA value = 410 }
		command = { type = secedeprovince which = FRA value = 411 }
		command = { type = secedeprovince which = FRA value = 412 }
		command = { type = secedeprovince which = FRA value = 419 }
		command = { type = secedeprovince which = FRA value = 420 }
		command = { type = secedeprovince which = FRA value = 421 }
		command = { type = trigger which = 3178 } # HAB
		command = { type = trigger which = 3320 } # FRA
	}

	action_b ={
		name = "ACTIONNAME3597B"	#Charles of France#
		command = { type = independence which = GEL }
		command = { type = independence which = FRI }
		command = { type = independence which = KLE }
		command = { type = independence which = HAN }
		command = { type = independence which = KOL }
		command = { type = independence which = LOR }
                command = { type = independence which = PFA }
                command = { type = revolt which = 334 }
		command = { type = revolt which = 334 }
		command = { type = revolt which = 335 }
		command = { type = revolt which = 335 }
		command = { type = revolt which = 336 }
		command = { type = revolt which = 336 }
                command = { type = secedeprovince which = HAB value = 333 }
		command = { type = secedeprovince which = HAB value = 343 }
		command = { type = secedeprovince which = HAB value = 344 }
		command = { type = secedeprovince which = HAB value = 345 }
		command = { type = secedeprovince which = HAB value = 346 }
		command = { type = secedeprovince which = HAB value = 374 }
		command = { type = secedeprovince which = HAB value = 375 }
		command = { type = secedeprovince which = HAB value = 387 }
		command = { type = trigger which = 3319 } # FRA
		command = { type = trigger which = 3180 } # HAB
	}

	action_c ={
		name = "ACTIONNAME3597C"	#Charles the Bold never died#
		command = { type = stability value = 2 }
		command = { type = land value = 1000 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = domestic which = SERFDOM value = -2 }
		command = { type = relation which = ENG value = 50 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = HAB value = -150 }
	        command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
                command = { type = revoltrisk which = 48 value = 4 }

        }

}

#The Succession in Luxembourgh#
event = {

	id = 3598				#Triggered by LUX3605#
	random = no
	country = BUR
	name = "EVENTNAME3598"
	desc = "EVENTHIST3598"
	style = 1

	action_a ={				#Incorporate them#
		name = "ACTIONNAME3598A"
		command = { type = inherit which = LUX }
		command = { type = stability value = 2 }
		command = { type = addcore which = 377 }
		command = { type = DIP which = 3 value = 36 }
	}
}
#The Succession in Luxembourgh#
event = {

	id = 3599				#Triggered by LUX3605#
	random = no
	country = BUR
	name = "EVENTNAME3599"
	desc = "EVENTHIST3599"
	style = 1

	action_a ={				#Vassalize them#
		name = "ACTIONNAME3599A"
		command = { type = vassal which = LUX }
		command = { type = stability value = 1 }
		command = { type = relation which = LUX value = 50 }
		command = { type = DIP which = 1 value = 36 }
		command = { type = alliance which = LUX }
	}
}

#The Succession in Luxembourgh#
event = {

	id = 3600				#Triggered by LUX3605#
	random = no
	country = BUR
	name = "EVENTNAME3600"
	desc = "EVENTHIST3600"
	style = 1

	action_a ={				#Let them regret this defiance#
		name = "ACTIONNAME3600A"
		command = { type = stability value = -1 }
		command = { type = relation which = LUX value = -150 }
		command = { type = casusbelli which = LUX value = 120 }
		command = { type = addcore which = 377 }
		command = { type = DIP which = -3 value = 36 }
	}
}



#The Duke of Gloucester and the Countess of Hainaut#
event = {
	id = 3893
	trigger = {
		owned = { province = 379 data = -1 }
		}
	random = no
	country = BUR
	name = "EVENTNAME3893"
	desc = "EVENTHIST3893"
	style = 1

	date = { day = 1 month = january year = 1423 }
	offset = 300

	action_a ={ #How dare they!#
		name = "ACTIONNAME3893A"
		command = { type = relation which = ENG value = -100 }
		command = { type = revolt which = 379 }
	}
}

#The Treaty of Arras#
event = {
	id = 3894
	trigger = {
                         exists = FRA
                         exists = ENG
                         }
	random = no
	country = BUR
	name = "EVENTNAME3894"
	desc = "EVENTHIST3894"
	style = 1

	date = { day = 21 month = september year = 1435 }
	offset = 0

	action_a ={#Side with the French#
		name = "ACTIONNAME3894A"
		command = { type = relation which = ENG value = -200 }
		command = { type = relation which = FRA value = 200 }
		command = { type = stability value = -1 }
	}
	action_b ={#Side with the English#
		name = "ACTIONNAME3894B"
		command = { type = relation which = FRA value = -200 }
		command = { type = relation which = ENG value = 200 }
	}
}
#The Dutch Revolt is successful!#
#This event reduces the revoltrisk in the Southern Netherlands after then Northern Netherlands achieves independence.  
event = {
	id = 3931
	trigger = {
		exists = HOL
		event = 3864 #Dutch Nobility Demands General Estates
		event = 3900 #creation of Dutch Republic
		NOT = { event = 3867} # Repatriation of the Netherlands
		OR = {
			owned = { province = 377 data = -1 } #Luxemburg
			owned = { province = 378 data = -1 } #Brabant
			owned = { province = 379 data = -1 } #Artois
			owned = { province = 380 data = -1 } #Flanders
			}
	}
	random = no
	country = BUR
	name = "EVENTNAME3819"#text from 'Dutch Revolt Sucessful'#
	desc = "EVENTHIST3819"#text from 'Dutch Revolt Sucessful'#
	style = 2

	date = { day = 1 month = january year = 1585 }
	offset = 30
	deathdate = { day = 1 month = january year = 1648 }

     action_a = { # Curses!
         name = "ACTIONNAME4980A" # ="OK"#
	command = { type = province_revoltrisk which = 377 value = -27 } #Luxemburg
	command = { type = province_revoltrisk which = 378 value = -27 } #Brabant
	command = { type = province_revoltrisk which = 379 value = -27 } #Artois
	command = { type = province_revoltrisk which = 380 value = -27 } #Flanders
	command = { type = conversion which = 380 }
         }
}
