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

#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 Dutch Revolt is successful!#
event = {
	id = 3819
	trigger = {
		exists = HOL
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			}
	}
	random = no
	country = BUR
	name = "EVENTNAME3819"
	desc = "EVENTHIST3819"
	style = 2

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

     action_a = { # Curses!
         name = "ACTIONNAME3819A"
         command = { type = secedeprovince which = HOL value = 337 }
         command = { type = secedeprovince which = HOL value = 338 }
         command = { type = secedeprovince which = HOL value = 339 }
         command = { type = secedeprovince which = HOL value = 340 }
         command = { type = secedeprovince which = HOL value = 1925 }
         command = { type = secedeprovince which = HOL value = 1927 }
         }
}

#Dutch Nobility demands General Estates#
event = {
	id = 3864
	trigger = {
		OR = {
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 377 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
			owned = { province = 1424 data = -1 }
			owned = { province = 1924 data = -1 }
			owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = BUR
	name = "EVENTNAME3864"
	desc = "EVENTHIST3864"
	style = 2

	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1571 }

	action_a ={			#No Concessions#
		name = "ACTIONNAME3864A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
		command = { type = province_revoltrisk which = 377 value = 10 }
		command = { type = province_revoltrisk which = 378 value = 10 }
                command = { type = province_revoltrisk which = 379 value = 10 }
		command = { type = province_revoltrisk which = 380 value = 10 }
		command = { type = province_revoltrisk which = 1424 value = 10 }
		command = { type = province_revoltrisk which = 1924 value = 10 }
		command = { type = province_revoltrisk which = 1925 value = 10 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
		command = { type = revolt which = 380 } #Flandern
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b ={			#Lower the taxes#
		name = "ACTIONNAME3864B"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
		command = { type = province_revoltrisk which = 377 value = 5 }
		command = { type = province_revoltrisk which = 378 value = 5 }
		command = { type = province_revoltrisk which = 379 value = 5 }
		command = { type = province_revoltrisk which = 380 value = 5 }
		command = { type = province_revoltrisk which = 1424 value = 5 }
		command = { type = province_revoltrisk which = 1924 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
		command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#The Count of Charolais and the Edict of Blood#
event = {

	id = 3865
	trigger = {
		event = 3864
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 377 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
			owned = { province = 1424 data = -1 }
			owned = { province = 1924 data = -1 }
			owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = BUR
	name = "EVENTNAME3865"
	desc = "EVENTHIST3865"
	style = 2

	date = { day = 1 month = january year = 1565 }
	offset = 30
	deathdate = { day = 1 month = january year = 1576 }

	action_a ={			#No Concessions#
		name = "ACTIONNAME3865A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
		command = { type = province_revoltrisk which = 377 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
		command = { type = province_revoltrisk which = 1424 value = 7 }
		command = { type = province_revoltrisk which = 1924 value = 7 }
		command = { type = province_revoltrisk which = 1925 value = 10 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
		command = { type = revolt which = 380 } #Flandern
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b ={			#Don't introduce that Consumption Tax#
		name = "ACTIONNAME3865B"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
		command = { type = province_revoltrisk which = 377 value = 2 }
		command = { type = province_revoltrisk which = 378 value = 2 }
		command = { type = province_revoltrisk which = 379 value = 2 }
		command = { type = province_revoltrisk which = 380 value = 2 }
		command = { type = province_revoltrisk which = 1424 value = 2 }
		command = { type = province_revoltrisk which = 1924 value = 2 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
		command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#The Count of Maon and the Union of Arras#
event = {

	id = 3866
	trigger = {
		event = 3864
		event = 3865
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 377 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
			owned = { province = 1424 data = -1 }
			owned = { province = 1924 data = -1 }
			owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = BUR
	name = "EVENTNAME3866"
	desc = "EVENTHIST3866"
	style = 2

	date = { day = 1 month = january year = 1575 }
	offset = 30
	deathdate = { day = 1 month = january year = 1586 }

	action_a ={			#Sign the Union of Arras#
		name = "ACTIONNAME3866A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
		command = { type = province_revoltrisk which = 377 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = province_revoltrisk which = 1424 value = -7 }
		command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1925 value = 10 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
		command = { type = treasury value = -200 }
		command = { type = stability value = 1 }
	}

	action_b ={			#No Concessions#
		name = "ACTIONNAME3866B"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
		command = { type = province_revoltrisk which = 377 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
		command = { type = province_revoltrisk which = 1424 value = 7 }
		command = { type = province_revoltrisk which = 1924 value = 7 }
		command = { type = province_revoltrisk which = 1925 value = 10 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
		command = { type = revolt which = 380 } #Flandern
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}

	action_c ={			#Sign the Union of Arras and lower taxes#
		name = "ACTIONNAME3866C"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
		command = { type = province_revoltrisk which = 377 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = province_revoltrisk which = 1424 value = -7 }
		command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
		command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -1 }
	}
}

#The Repatriation of the Netherlands#
event = {

	id = 3867
	trigger = {
		OR = {
			event = 3864
			event = 3865
			event = 3866
		}
		NOT = { event = 3819 }
	}
	random = no
	country = BUR
	name = "EVENTNAME3867"
	desc = "EVENTHIST3867"
	style = 3

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 1 month = january year = 1649 }

	action_a ={			#The Netherlands is Subjugated#
		name = "ACTIONNAME3867A"
		command = { type = conversion which = 380 }
		command = { type = province_revoltrisk which = 337 value = -30 }
		command = { type = province_revoltrisk which = 338 value = -30 }
		command = { type = province_revoltrisk which = 339 value = -30 }
		command = { type = province_revoltrisk which = 340 value = -30 }
		command = { type = province_revoltrisk which = 377 value = -27 }
		command = { type = province_revoltrisk which = 378 value = -27 }
		command = { type = province_revoltrisk which = 380 value = -27 }
		command = { type = province_revoltrisk which = 379 value = -27 }
		command = { type = province_revoltrisk which = 1924 value = -27 }
		command = { type = province_revoltrisk which = 1925 value = -30 }
		command = { type = province_revoltrisk which = 1927 value = -30 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}
}

#The Duke of Gloucester and the Countess of Hainaut#
event = {
	id = 3893
	trigger = {
		owned = { province = 1924 data = -1 }
		owned = { province = 339 data = -1 }
		owned = { province = 340 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 = 380 data = -1 } #Flanders
			owned = { province = 379 data = -1 } #Artois
			owned = { province = 1424 data = -1 } #Lige
			owned = { province = 1924 data = -1 } #Hainaut
			}
	}
	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 = 380 value = -27 } #Flanders
	command = { type = province_revoltrisk which = 379 value = -27 } #Artois
	command = { type = province_revoltrisk which = 1424 value = -27 } #Lige
	command = { type = province_revoltrisk which = 1924 value = -27 } #Hainuat
	command = { type = conversion which = 380 }
         }
}

#The Crown of France#
event = {

	id = 15056
	trigger = {
			owned = {
					province = 385
					data = -1
				}
			NOT = {
				exists = FRA
				}
		}
	random = no
	country = BUR
	name = "EVENTNAME3589"
	desc = "EVENTHIST3589"
	style = 1

	date = { day = 1 month = january year = 1420 }
	offset = 30
	deathdate = { day = 1 month = january year = 1515 }

	action_a ={					#France is reborn with me#
		name = "ACTIONNAME3589A"
		command = { type = add_countryculture which = french }
		command = { type = remove_countryculture which = dutch }
		command = { type = vp value = 200 }
		command = { type = stability value = 3 }
		command = { type = country which = FRA }
		command = { type = INF which = 385 value = 15000 }
		command = { type = CAV which = 385 value = 10000 }
		command = { type = ART which = 385 value = 30 }
		command = { type = capital which = 385 }
		command = { type = addcore which = 192 }
		command = { type = addcore which = 374 }
		command = { type = addcore which = 375 }
		command = { type = addcore which = 376 }
		command = { type = addcore which = 379 }
		command = { type = addcore which = 383 }
		command = { type = addcore which = 384 }
		command = { type = addcore which = 385 }
		command = { type = addcore which = 386 }
		command = { type = addcore which = 387 }
		command = { type = addcore which = 405 }
		command = { type = addcore which = 406 }
		command = { type = addcore which = 407 }
		command = { type = addcore which = 408 }
		command = { type = addcore which = 409 }
		command = { type = addcore which = 410 }
		command = { type = addcore which = 411 }
		command = { type = addcore which = 412 }
		command = { type = addcore which = 413 }
		command = { type = addcore which = 414 }
		command = { type = addcore which = 415 }
		command = { type = addcore which = 416 }
		command = { type = addcore which = 417 }
		command = { type = addcore which = 418 }
		command = { type = addcore which = 419 }
		command = { type = addcore which = 420 }
		command = { type = addcore which = 421 }
		command = { type = addcore which = 422 }
		command = { type = addcore which = 423 }
		command = { type = addcore which = 424 }
		command = { type = addcore which = 425 }
		command = { type = addcore which = 426 }
		command = { type = addcore which = 877 }
	}

	action_b ={					#Let France rest in peace#
		name = "ACTIONNAME3589B"
		command = { type = vp value = -100 }
		command = { type = stability value = -2 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = SPA value = 150 }
	}
}

#Events from AGC modified by Hive

#John IV of Brabant pledges Holland to Burgundy#
event = {
	id = 15062
	random = no
	country = BUR
	name = "John IV of Brabant pledges Holland to Burgundy"
	desc = "Countess Jacqueline of Holland and Hainaut had married her cousin, John IV, Duke of Brabant, nephew of Philip the Good of Burgundy. However, she would find him useless in helping her recover Hainaut, which she by the Treaty of Woudrichem had been forced to cecede to Burgundy. Upon exspressing her displeasure, John pledged all of Jacqueline's territories to Burgundy."
	style = 1

	action_a ={
		name = "Excellent!"
		command = { type = addcore which = 339 }
		command = { type = addcore which = 340 }
		command = { type = addcore which = 1924 }
		command = { type = relation which = HLL value = -100 }
	}
}

#Holland accepts the Treaty of Delft# 

event = { 
	id = 15065 
	random = no 
	country = BUR  
	name = "Holland accepts the Treaty of Delft" 
	desc = "Jan VI of Holland died in 1428, leaving the former Countess Jacqueline with free hands to rule her realm once again. Jacqueline, however, was still a prisoner of Philip III in Ghent. Philip wished to avenge the indignity she caused his cousin, John IV of Brabant. Jacqueline escaped her prison, but submitted again after a short struggle. The treaty of Delft recognized her as nominal Countess of Holland, and Philip as her administrator and heir." 
	style = 1 

	action_a = { 
		name = "Excellent!" 
		command = { type = stability value = 1 }
		command = { type = vassal which = HLL }
		command = { type = relation which = HLL value = 100 } 	 
	} 
}

#Holland defies the Treaty of Delft# 

event = { 
	id = 15066 
	random = no 
	country = BUR  
	name = "Holland defies the Treaty of Delft" 
	desc = "Jan VI of Holland died in 1428, leaving the former Countess Jacqueline with free hands to rule her realm once again. Jacqueline, however, was still a prisoner of Philip III in Ghent. Philip wished to avenge the indignity she caused his cousin, John IV of Brabant. Jacqueline escaped her prison, but submitted again after a short struggle. The treaty of Delft recognized her as nominal Countess of Holland, and Philip as her administrator and heir." 
	style = 1 

	action_a = { 
		name = "This means war!" 
		command = { type = casusbelli which = HLL value = 120 }
		command = { type = stability value = -1 }
	}
	action_b = { 
		name = "Let it rest"
		command = { type = stability value = 1 }
		command = { type = relation which = HLL value = 100 } 	 
	} 
}

#The Succession of Holland# 

event = { 
	id = 15067 
	random = no 
	country = BUR  
	name = "The Succession of Holland" 
	desc = "Jan VI of Holland died in 1428, leaving the former Countess Jacqueline with free hands to rule her realm once again. Jacqueline, however, was still a prisoner of Philip III in Ghent. Philip wished to avenge the indignity she caused his cousin, John IV of Brabant. Jacqueline escaped her prison, but submitted again after a short struggle. Philip inherited Holland and promptly annexed it into Burgundy proper." 
	style = 1 

	action_a = { 
		name = "Excellent!" 
		command = { type = stability value = 2 }
		command = { type = inherit which = HLL }
		command = { type = addcore which = 339 }
		command = { type = addcore which = 340 }
		command = { type = addcore which = 1924 }
	} 
}

#The Succession of Holland# 

event = { 
	id = 15069 
	random = no 
	country = BUR  
	name = "The Succession of Holland" 
	desc = " Jacqueline died in 1436 of tuberculosis, leaving no heirs. Her closest blood relative and obvious heir was Philip III of Burgundy. Philip inherited Holland and promptly annexed it into Burgundy proper." 
	style = 1

	action_a = { 
		name = "Excellent!" 
		command = { type = stability value = 2 }
		command = { type = inherit which = HLL }
		command = { type = addcore which = 339 }
		command = { type = addcore which = 340 }
		command = { type = addcore which = 1924 }
	} 
}

#Events by Hive

#The Burgundian Succession#
event = {
	id = 15484
	trigger = {
		exists = HAB
		NOT = { 	
		        war = { country = BUR country = HAB }  
		 }
	}
	random = no
	country = BUR
	name = "The Burgundian Succession"
	desc = "When Charles the Bold, Duke of Burgundy, died under the walls of Nancy in 1477, his inheritance passed to his daughter Mary, the wife of Maximilian of Habsburg. The Duchy of Burgundy was one of the largest medieval states in Western Europe, covering most of the Low Countries (today's Belgium and Holland), Luxembourg and Franche-Comt. France had conquered the heart of the Duchy itself. Mary and Maximilian inheritance was transmitted to Philip the Fair, their son and husband of the Spanish heir. Their only son, Charles V, would reign over Spanish and Habsburg territories."
	style = 1

	date = { day = 5 month = january year = 1477 }
	offset = 0
	deathdate = { day = 5 month = january year = 1487 }

	action_a ={
		name = "Accept Maximilian as Mary's husband, and embrace his overlordship"
		command = { type = capital which = 380 }
		command = { type = stability value = 1 }
		command = { type = dynastic which = HAB }
		command = { type = alliance which = HAB }
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = FRA value = -200 }
		command = { type = trigger which = 15485 } # HAB
                command = { type = secedeprovince which = FRA value = 376 }
		command = { type = secedeprovince which = FRA value = 384 }
		command = { type = secedeprovince which = FRA value = 386 }
		command = { type = secedeprovince which = FRA value = 406 }
		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 = secedeprovince which = FRA value = 422 }
		command = { type = secedeprovince which = FRA value = 423 }
		command = { type = secedeprovince which = FRA value = 424 }
		command = { type = secedeprovince which = FRA value = 425 }
		command = { type = secedeprovince which = FRA value = 426 }
		command = { type = secedeprovince which = FRA value = 877 }
	}

	action_b ={
		name = "Accept Maximilian as Mary's husband, but reject his overlordship"
		command = { type = capital which = 380 }
		command = { type = stability value = -2 }
		command = { type = breakvassal which = HAB }
		command = { type = dynastic which = HAB }
		command = { type = relation which = HAB value = -200 }
		command = { type = casusbelli which = HAB value = 6 }
		command = { type = relation which = FRA value = -50 }
		command = { type = trigger which = 15486 } # HAB
		command = { type = secedeprovince which = FRA value = 376 }
		command = { type = secedeprovince which = FRA value = 384 }
		command = { type = secedeprovince which = FRA value = 386 }
		command = { type = secedeprovince which = FRA value = 406 }
		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 = secedeprovince which = FRA value = 422 }
		command = { type = secedeprovince which = FRA value = 423 }
		command = { type = secedeprovince which = FRA value = 424 }
		command = { type = secedeprovince which = FRA value = 425 }
		command = { type = secedeprovince which = FRA value = 426 }
		command = { type = secedeprovince which = FRA value = 877 }
	}
	action_c ={
		name = "Accept Maximilian as Mary's husband, and keep France"
		command = { type = capital which = 380 }
		command = { type = stability value = -3 }
		command = { type = dynastic which = HAB }
		command = { type = alliance which = HAB }
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = FRA value = -400 }
		command = { type = trigger which = 15485 } # HAB
	}

}

#The Ascendancy of Charles II on the Spanish throne#
event = {
	id = 15487
	trigger = {
		exists = SPA
		NOT = { 	
		        war = { country = BUR country = SPA }  
		 }
	}
	random = no
	country = BUR
	name = "The Ascendancy of Charles II on the Austrian throne"
	desc = "On january 24 1516, Charles II of Burgundy, Charles V of Austria, ascended the throne of Spain as Charles I and thus came to rule over a huge Habsburg empire. He abdicated in 1556 and his son Philip II inherited Spain and the low countries. But Philip II was mainly interested in the Spanish side of the empire, and neglected the low countries which he never even visited once - unlike his father, who was born and raised in Ghent. As Calvanism spread through the low countries, Philip II started to persecute the Protestants. These events lead to The Eighty Years War raging from 1568 to 1648, in which The Netherlands won their independence."
	style = 2

	date = { day = 24  month = january year = 1516 }
	offset = 0
	deathdate = { day = 24 month = january year = 1526 }

	action_a ={
		name = "Let Habsburg Spain inherit"
		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 = trigger which = 15488 } # SPA
	}

	action_b ={
		name = "Let Habsburg Spain vassalize"
		command = { type = country which = SPR }
		command = { type = remove_countryculture which = french }
		command = { type = addcore which = 377 }
		command = { type = addcore which = 378 }
		command = { type = addcore which = 380 }
		command = { type = addcore which = 337 }
		command = { type = addcore which = 338 }
		command = { type = addcore which = 339 }
		command = { type = addcore which = 340 }
		command = { type = addcore which = 1424 }
		command = { type = addcore which = 1924 }
		command = { type = addcore which = 1925 }
		command = { type = addcore which = 1927 }
		command = { type = stability value = 2 }
		command = { type = breakvassal which = HAB }
		command = { type = dynastic which = SPA }
		command = { type = relation which = SPA value = 100 }
		command = { type = trigger which = 15489 } # SPA
	}
	action_c ={
		name = "Burgundy stands alone!"
		command = { type = stability value = -6 }
		command = { type = breakvassal which = SPA }
		command = { type = breakvassal which = HAB }
		command = { type = relation which = SPA value = -200 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = ENG value = 100 }                     
		command = { type = trigger which = 15490 } # SPA
	}

}

event = {
	id = 773001 # Triggered by FLA 773000A
	random = no 
	country = BUR  
	name = "The Inheritance of Louis of Male"
	desc = "When Margaret of Dampierre's father, Louis of Male, died in 1384, she and Philip II the Bold inherited the counties of Artois, Franche-Comt, Flanders and Nevers."
	style = 1

	action_a = { 
		name = "Excellent!" 
		command = { type = stability value = 1 }
		command = { type = inherit which = FLA }
		command = { type = addcore which = 380 }
		command = { type = addcore which = 386 }
		command = { type = addcore which = 379 }
		command = { type = addcore which = 387 }
	} 
}

event = {
	id = 773074 # Triggered by JUT 773076A
	random = no
	country = BUR  
	name = "The Succession of Flandern"
	desc = "When Margaret of Dampierre's father, Louis of Male, died in 1384, she and Philip II the Bold inherited the counties of Artois, Franche-Comt, Flanders and Nevers."
	style = 1

	action_a = { 
		name = "Excellent!" 
		command = { type = stability value = 1 }
		command = { type = inherit which = JUT }
		command = { type = addcore which = 380 }
		command = { type = addcore which = 386 }
		command = { type = addcore which = 379 }
		command = { type = addcore which = 387 }
	}
}

event = {
	id = 773073 # Triggered by NRM 773075A
	random = no
	country = BUR  
	name = "The Inheritance of Louis of Male"
	desc = "When Margaret of Dampierre's father, Louis of Male, died in 1384, she and Philip II the Bold inherited the counties of Artois, Franche-Comt, Flanders and Nevers."
	style = 1

	action_a = { 
		name = "Excellent!" 
		command = { type = stability value = 1 }
		command = { type = inherit which = NRM }
		command = { type = addcore which = 380 }
		command = { type = addcore which = 386 }
		command = { type = addcore which = 379 }
		command = { type = addcore which = 387 }
	} 
}

event = {
	id = 773002
	random = no
	country = BUR
	name = "The Succession of Artois and Franche-Comt"
	desc = "Philip fell sick with the plague and died in 1361 at age 15, before he could consummate his marriage to his second cousin Margaret. With his death, the descent of his grandparents from both sides also became extinct. There being no one heir to the entirety of his possessions, they were divided up once more amongst the families from which they had descended to Philip."
	style = 1

	date = { day = 21 month = november year = 1361 }

	action_a ={
		name = "Give it to Margaret I, grandmother of Philip's wife"
                command = { type = independence  which = JUT } # County of Artois
		command = { type = removecore which = 379 }
		command = { type = removecore which = 387 }
		command = { type = trigger which = 773100 }  # JUT : The Succession of Artois and Franche-Comt
	}
	action_b ={
		name = "Keep it with the Duchy"
		command = { type = relation which = FRA value = -150 }
		command = { type = stability value = -2 }
		command = { type = DIP which = -2 value = 120 }
		command = { type = badboy value = 5 }
	}
	action_c ={
		name = "Give it to the King of France"
		command = { type = relation which = FRA value = 75 }
		command = { type = stability value = 1 }
		command = { type = secedeprovince   which = FRA value = 379 }
		command = { type = secedeprovince   which = FRA value = 387 }
		command = { type = removecore which = 379 }
		command = { type = removecore which = 387 }
	}

}

event = {
	id = 773003
	random = no 
	country = BUR
	name = "The Succession of Artois and Franche-Comt - Part 2"
	desc = "This is just due to EU2 scripting rules. Sorry. ;)"
	style = 1

	action_a = {
		name = "Give it all"
		command = { type = secedeprovince   which = JUT value = 387 }
		command = { type = alliance   which = JUT } # Just in case.
	}
}

event = {
	id = 773005 # Triggered by BUR 773004A
	random = no 
	country = BUR  
	name = "The Succession of Brabant"
	desc = "Because Philip of Saint-Pol, Duke of Brabant wife, Margaret, had borne him no children, his death in 1430 placed Brabant in the hands of Philip the Good, the next heir, whilst Saint-Pol and Ligny went to his great-aunt Jeanne, by proximity of blood. His wife was placed in the guardianship of Philip the Good."
	style = 1

	action_a = { 
		name = "Excellent!"
		command = { type = stability value = 1 }
		command = { type = inherit which = HAU }
		command = { type = addcore which = 378 }
		command = { type = addcore which = 1925 }
		command = { type = flagname which = "_Brabant" }
	}
}

event = {
	id = 773077
	random = no 
	country = BUR
	name = "The Crowning of Philip the Bold" #Artois
	desc = "When Philip I of Rouvres, Duke of Burgundy, died the 21th of November 1361 King John II of France succesfully claimed the Duchy as the nearest heir in proximity of blood to Philip I. In 1363 King John II of France granted the duchy to his youngest son, Philip, as Philip II the Bold."
	style = 1
	
	date = { day = 30 month = january year = 1363 }

	action_a = {
		name = "Great"
		command = { type = stability value = 1 }
		command = { type = relation which = FRA value = 50 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = flagname which = "_Quartered" }
	}
}

event = {
	id = 773079
	random = no 
	country = BUR
	name = "The Wedding of Margaret of Dampierre" #Artois
	desc = "In 1363 Philip the Bold, King John II of France's youngest son, was granted the duchy as Philip II, and subsequently married its former duchess in 1369."
	style = 1

	action_a = {
		name = "Great"
		command = { type = alliance   which = JUT }
		command = { type = relation   which = JUT value = 50 }
		command = { type = relation which = FRA value = -25 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
	}
}

event = {
	id = 773078
	trigger = {
	        OR = {
                        exists = FLA
                        exists = JUT
                        }
	}
	random = no
	country = BUR
	name = "The Inheritance of Margaret of Dampierre"
	desc = "When Margaret's father, Louis of Male, died in 1384, she and Philip inherited the counties of Artois, Franche-Comt, Flanders, Nevers, and Rethel."
	style = 1

	date = { day = 30 month = january year = 1384 }

	action_a ={
		name = "Oh dear father-in-law"
		command = { type = addcore which = 379 }
		command = { type = addcore which = 380 }
		command = { type = addcore which = 386 }
		command = { type = addcore which = 387 }
		command = { type = inherit  which = FLA }
		command = { type = inherit  which = JUT }
		command = { type = relation which = FRA value = -50 }
		command = { type = flagname which = "_Flanders" }
	}

	action_b ={
		name = "Give it to France"
		command = { type = relation  which = FRA value = 100 }
		command = { type = stability value = 1 }
		command = { type = trigger   which = 771031 }

	}
}
