#####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 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 }
			}
	}
	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 }
         }
}

#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 }
			}
		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 = 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 = 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 }
			}
		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 = 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 = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#The Count of Maçon 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 }
			}
		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 = 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 = 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 = 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 = 3931 }
	}
	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 = 379 value = -27 }
		command = { type = province_revoltrisk which = 380 value = -27 }
		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 = 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 }
         }
}
