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

#The Succession in Brabant#
event = {

	id = 3776				#Triggered by HAU3775#
	random = no
	country = BUR
	name = "EVENTNAME3776"
	desc = "EVENTHIST3776"

	action_a ={				#Incorporate them#
		name = "ACTIONNAME3776A"
		command = { type = inherit which = HAU }
		command = { type = addcore_national which = 339 } # Greater Brabant
		command = { type = addcore_national which = 340 }
		command = { type = addcore_national which = 378 }
		command = { type = stability value = 2 }
		command = { type = DIP which = 3 value = 36 }
	}
}

#The Succession in Brabant#
event = {

	id = 3777				#Triggered by HAU3775#
	random = no
	country = BUR
	name = "EVENTNAME3777"
	desc = "EVENTHIST3777"

	action_a ={				#Vassalize them#
		name = "ACTIONNAME3777A"
		command = { type = vassal which = HAU }
		command = { type = addcore_claim which = 339 } # Greater Brabant
		command = { type = addcore_claim which = 340 }
		command = { type = addcore_claim which = 378 }
		command = { type = stability value = 1 }
		command = { type = relation which = HAU value = 50 }
		command = { type = DIP which = 1 value = 36 }
	}
}

#The Succession in Brabant#
event = {

	id = 3778				#Triggered by HAU3775#
	random = no
	country = BUR
	name = "EVENTNAME3778"
	desc = "EVENTHIST3778"

	action_a ={				#Let them regret this defiance#
		name = "ACTIONNAME3778A"
		command = { type = stability value = -1 }
		command = { type = relation which = HAU value = -150 }
		command = { type = addcore_claim which = 339 } # Greater Brabant
		command = { type = addcore_claim which = 340 }
		command = { type = addcore_claim which = 378 }
		command = { type = DIP which = -3 value = 36 }
	}
}

###############################
# Expanded Burgundy sequence for BUR - 1.3 #
###############################

#The Marriage of Mary of Burgundy#
#This is an expanded version of the main event for if England exists and the Yorkists usurped the throne, as historically they had a marriage alliance with Burgundy and an interest in its survival
event = {
	id = 3597
	trigger = {
		exists = ENG
		ENG = { monarch = 04033 } # Edward IV
		NOT = { event = 15015 }
	}
	random = no
	country = BUR
	name = "EVENTNAME3597"
	desc = "EVENTHIST3597"

	date = { day = 5 month = january year = 1477 } # Charles the Bold's death
	offset = 30
	deathdate = { day = 27 month = march year = 1482 } # Mary's death

	action_a ={
		name = "ACTIONNAME3597A"	# The Archduke of Austria #
		trigger = {
			exists = HAB
		}
		command = { type = independence which = BRI } # Just in case...
		command = { type = independence which = HEL }
		command = { type = independence which = KLE }
		command = { type = independence which = BRU }
		command = { type = independence which = KOL }
		command = { type = independence which = TRR }
		command = { type = independence which = LOR }
		command = { type = independence which = MUN }
		command = { type = independence which = BAD }
		command = { type = independence which = STR }
		command = { type = independence which = OLD }
		command = { type = independence which = BRE }
		command = { type = independence which = PRO }
		command = { type = independence which = SAV }
		command = { type = revolt which = 339 } # Holland
		command = { type = revolt which = 339 }
		command = { type = revolt which = 340 } # Zeeland
		command = { type = revolt which = 340 }
		command = { type = cedeprovince which = FRA value = 376 } # France
		command = { type = cedeprovince which = FRA value = 382 }
		command = { type = cedeprovince which = FRA value = 383 }
		command = { type = cedeprovince which = FRA value = 384 }
		command = { type = cedeprovince which = FRA value = 386 }
		command = { type = cedeprovince which = FRA value = 407 }
		command = { type = cedeprovince which = FRA value = 408 }
		command = { type = cedeprovince which = FRA value = 409 }
		command = { type = cedeprovince which = FRA value = 410 }
		command = { type = cedeprovince which = FRA value = 411 }
		command = { type = cedeprovince which = FRA value = 412 }
		command = { type = cedeprovince which = FRA value = 413 }
		command = { type = cedeprovince which = FRA value = 417 }
		command = { type = cedeprovince which = FRA value = 418 }
		command = { type = cedeprovince which = FRA value = 419 }
		command = { type = cedeprovince which = FRA value = 420 }
		command = { type = cedeprovince which = FRA value = 421 }
		command = { type = cedeprovince which = FRA value = 422 }
		command = { type = cedeprovince which = FRA value = 423 }
		command = { type = cedeprovince which = FRA value = 424 }
		command = { type = cedeprovince which = FRA value = 425 }
		command = { type = cedeprovince which = FRA value = 426 }
		command = { type = trigger which = 3178 } # HAB
		command = { type = trigger which = 3320 } # FRA
		command = { type = trigger which = 15013 } # ENG
	}

	action_b ={
		name = "ACTIONNAME3597B"	# The Dauphin of France #
		trigger = {
			exists = FRA
		}
		command = { type = independence which = BRI } # Just in case...
		command = { type = independence which = HEL }
		command = { type = independence which = KLE }
		command = { type = independence which = BRU }
		command = { type = independence which = KOL }
		command = { type = independence which = TRR }
		command = { type = independence which = LOR }
		command = { type = independence which = MUN }
		command = { type = independence which = BAD }
		command = { type = independence which = STR }
		command = { type = independence which = OLD }
		command = { type = independence which = BRE }
		command = { type = independence which = PRO }
		command = { type = independence which = SAV }
		command = { type = revolt which = 339 } # Holland
		command = { type = revolt which = 339 }
		command = { type = revolt which = 340 } # Zeeland
		command = { type = revolt which = 340 }
		command = { type = cedeprovince which = HAB value = 337 } # Netherlands, Luxemburg and Burgundy (county)
		command = { type = cedeprovince which = HAB value = 338 }
		command = { type = cedeprovince which = HAB value = 339 }
		command = { type = cedeprovince which = HAB value = 340 }
		command = { type = cedeprovince which = HAB value = 377 }
		command = { type = cedeprovince which = HAB value = 378 }
		command = { type = cedeprovince which = HAB value = 379 }
		command = { type = cedeprovince which = HAB value = 380 }
		command = { type = cedeprovince which = HAB value = 387 }
		command = { type = trigger which = 3319 } # FRA
		command = { type = trigger which = 3180 } # HAB
		command = { type = trigger which = 15006 } # ENG
	}

	action_c ={
		name = "ACTIONNAME3597C"	# The Duke of Clarence #
		trigger = {
			exists = ENG
		}
		command = { type = independence which = BRI } # Just in case...
		command = { type = independence which = HEL }
		command = { type = independence which = KLE }
		command = { type = independence which = BRU }
		command = { type = independence which = KOL }
		command = { type = independence which = TRR }
		command = { type = independence which = LOR }
		command = { type = independence which = MUN }
		command = { type = independence which = BAD }
		command = { type = independence which = STR }
		command = { type = independence which = OLD }
		command = { type = independence which = BRE }
		command = { type = independence which = PRO }
		command = { type = independence which = SAV }
		command = { type = revolt which = 339 } # Holland
		command = { type = revolt which = 339 }
		command = { type = revolt which = 340 } # Zeeland
		command = { type = revolt which = 340 }
		command = { type = cedeprovince which = HAB value = 387 } # Burgundy (county)
		command = { type = trigger which = 15007 } # FRA
		command = { type = trigger which = 15008 } # HAB
		command = { type = trigger which = 15009 } # ENG
	}

	action_d ={
		name = "ACTIONNAME3597D"	# The Archduke, but we are to remain independent #
		command = { type = wakeleader which = 09896 } # Maximilien
		command = { type = relation which = HAB value = 200 }
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = ENG value = -100 }
		command = { type = trigger which = 15010 } # HAB
		command = { type = trigger which = 15011 } # FRA
		command = { type = trigger which = 15012 } # ENG
	}
}

#The Marriage of Mary of Burgundy#
event = {
	id = 15014
	trigger = {
		NOT = {
			exists = HAB
			event = 3597
			event = 15015
		}
	}
	random = no
	country = BUR
	name = "EVENTNAME15014"
	desc = "EVENTHIST15014"

	date = { day = 26 month = march year = 1482 } # the day before Mary's death

	action_a ={
		name = "ACTIONNAME15014A"	# House of Habsburg #
		command = { type = wakeleader which = 09896 } # Maximilien
		command = { type = DIP which = 3 value = 36 }
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = 50 }
		command = { type = stability value = 1 }
	}
}

#The Marriage of Mary of Burgundy#
#This is an alternative version of the main event for if England has been annexed or the Lancastrians retained the throne, as otherwise the event text for the duke of Clarence makes no sense
event = {
	id = 15015
	trigger = {
		OR = {
			NOT = { exists = ENG }
			ENG = { monarch = 04032 } # Henry VI
		}
		NOT = { event = 3597 }
	}
	random = no
	country = BUR
	name = "EVENTNAME15015"
	desc = "EVENTHIST15015"

	date = { day = 5 month = january year = 1477 } # Charles the Bold's death
	offset = 30
	deathdate = { day = 27 month = march year = 1482 } # Mary's death

	action_a ={
		name = "ACTIONNAME15015A"	# The Archduke of Austria #
		trigger = {
			exists = HAB
		}
		command = { type = independence which = BRI } # Just in case...
		command = { type = independence which = HEL }
		command = { type = independence which = KLE }
		command = { type = independence which = BRU }
		command = { type = independence which = KOL }
		command = { type = independence which = TRR }
		command = { type = independence which = LOR }
		command = { type = independence which = MUN }
		command = { type = independence which = BAD }
		command = { type = independence which = STR }
		command = { type = independence which = OLD }
		command = { type = independence which = BRE }
		command = { type = independence which = PRO }
		command = { type = independence which = SAV }
		command = { type = revolt which = 339 } # Holland
		command = { type = revolt which = 339 }
		command = { type = revolt which = 340 } # Zeeland
		command = { type = revolt which = 340 }
		command = { type = cedeprovince which = FRA value = 376 } # France
		command = { type = cedeprovince which = FRA value = 382 }
		command = { type = cedeprovince which = FRA value = 383 }
		command = { type = cedeprovince which = FRA value = 384 }
		command = { type = cedeprovince which = FRA value = 386 }
		command = { type = cedeprovince which = FRA value = 407 }
		command = { type = cedeprovince which = FRA value = 408 }
		command = { type = cedeprovince which = FRA value = 409 }
		command = { type = cedeprovince which = FRA value = 410 }
		command = { type = cedeprovince which = FRA value = 411 }
		command = { type = cedeprovince which = FRA value = 412 }
		command = { type = cedeprovince which = FRA value = 413 }
		command = { type = cedeprovince which = FRA value = 417 }
		command = { type = cedeprovince which = FRA value = 418 }
		command = { type = cedeprovince which = FRA value = 419 }
		command = { type = cedeprovince which = FRA value = 420 }
		command = { type = cedeprovince which = FRA value = 421 }
		command = { type = cedeprovince which = FRA value = 422 }
		command = { type = cedeprovince which = FRA value = 423 }
		command = { type = cedeprovince which = FRA value = 424 }
		command = { type = cedeprovince which = FRA value = 425 }
		command = { type = cedeprovince which = FRA value = 426 }
		command = { type = trigger which = 3178 } # HAB
		command = { type = trigger which = 3320 } # FRA
		command = { type = trigger which = 15013 } # ENG
	}

	action_b ={
		name = "ACTIONNAME15015B"	# The Dauphin of France #
		trigger = {
			exists = FRA
		}
		command = { type = independence which = BRI } # Just in case...
		command = { type = independence which = HEL }
		command = { type = independence which = KLE }
		command = { type = independence which = BRU }
		command = { type = independence which = KOL }
		command = { type = independence which = TRR }
		command = { type = independence which = LOR }
		command = { type = independence which = MUN }
		command = { type = independence which = BAD }
		command = { type = independence which = STR }
		command = { type = independence which = OLD }
		command = { type = independence which = BRE }
		command = { type = independence which = PRO }
		command = { type = independence which = SAV }
		command = { type = revolt which = 339 } # Holland
		command = { type = revolt which = 339 }
		command = { type = revolt which = 340 } # Zeeland
		command = { type = revolt which = 340 }
		command = { type = cedeprovince which = HAB value = 337 } # Netherlands, Luxemburg and Burgundy (county)
		command = { type = cedeprovince which = HAB value = 338 }
		command = { type = cedeprovince which = HAB value = 339 }
		command = { type = cedeprovince which = HAB value = 340 }
		command = { type = cedeprovince which = HAB value = 377 }
		command = { type = cedeprovince which = HAB value = 378 }
		command = { type = cedeprovince which = HAB value = 379 }
		command = { type = cedeprovince which = HAB value = 380 }
		command = { type = cedeprovince which = HAB value = 387 }
		command = { type = trigger which = 3319 } # FRA
		command = { type = trigger which = 3180 } # HAB
		command = { type = trigger which = 15006 } # ENG
	}

	action_c ={
		name = "ACTIONNAME15015C"	# The Archduke, but we are to remain independent #
		command = { type = wakeleader which = 09896 } # Maximilien
		command = { type = relation which = HAB value = 200 }
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = ENG value = -100 }
		command = { type = trigger which = 15010 } # HAB
		command = { type = trigger which = 15011 } # FRA
		command = { type = trigger which = 15012 } # ENG
	}
}

###############################

#The Succession in Luxemburg#
event = {

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

	action_a ={				#Incorporate them#
		name = "ACTIONNAME3598A"
		command = { type = inherit which = LUX }
		command = { type = addcore_national which = 377 } # Luxemburg
		command = { type = stability value = 2 }
		command = { type = DIP which = 3 value = 36 }
	}
}

#The Succession in Luxemburg#
event = {

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

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

#The Succession in Luxemburg#
event = {

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

	action_a ={				#Let them regret this defiance#
		name = "ACTIONNAME3600A"
		command = { type = stability value = -1 }
		command = { type = addcore_claim which = 377 } # Luxemburg
		command = { type = relation which = LUX value = -150 }
		command = { type = casusbelli which = LUX value = 120 }
		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"

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

	action_a = { # Curses!
		name = "ACTIONNAME3819A"
		command = { type = remove_countryculture which = dutch }
		command = { type = removecore_national which = 337 } # Netherlands (Northern)
		command = { type = removecore_national which = 338 }
		command = { type = removecore_national which = 339 }
		command = { type = removecore_national which = 340 }
		command = { type = cedeprovince which = HOL value = 337 }
		command = { type = cedeprovince which = HOL value = 338 }
		command = { type = cedeprovince which = HOL value = 339 }
		command = { type = cedeprovince 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 }
		}
		NOT = {
			domestic = {
				type = innovative
				value = 8
			}
		}
	}
	random = no
	country = BUR
	name = "EVENTNAME3864"
	desc = "EVENTHIST3864"

	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 }
		}
		NOT = {
			domestic = {
				type = innovative
				value = 8
			}
		}
	}
	random = no
	country = BUR
	name = "EVENTNAME3865"
	desc = "EVENTHIST3865"

	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 }
		}
		NOT = {
			domestic = {
				type = innovative
				value = 8
			}
		}
	}
	random = no
	country = BUR
	name = "EVENTNAME3866"
	desc = "EVENTHIST3866"

	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"

	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"

	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"

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

	action_a ={#Side with the French#
		name = "ACTIONNAME3894A"
		command = { type = breakvassal which = ENG }
		command = { type = addcore_claim which = 337 } # Friesland and Guelders
		command = { type = addcore_claim which = 338 }
		command = { type = addcore_claim which = 344 } # Rhine border, Lorraine and Champagne
		command = { type = addcore_claim which = 345 }
		command = { type = addcore_claim which = 374 }
		command = { type = addcore_claim which = 375 }
		command = { type = addcore_claim which = 376 }
		command = { type = relation which = FRA value = 200 }
		command = { type = relation which = ENG value = -200 }
		command = { type = stability value = 1 }
	}
	action_b ={#Side with the English#
		name = "ACTIONNAME3894B"
		command = { type = breakvassal which = FRA }
		command = { type = addcore_claim which = 337 } # Friesland and Guelders
		command = { type = addcore_claim which = 338 }
		command = { type = addcore_claim which = 344 } # Rhine border, Lorraine and Champagne
		command = { type = addcore_claim which = 345 }
		command = { type = addcore_claim which = 374 }
		command = { type = addcore_claim which = 375 }
		command = { type = addcore_claim which = 376 }
		command = { type = relation which = ENG value = 200 }
		command = { type = relation which = FRA value = -200 }
		command = { type = stability value = -1 }
	}
}

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

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