########################################
#####County_of_Holland Major Events##### 
########By James 'Mad King' Dahl######## 
######################################## 

#Jan IV, and the Treaty of Woudrichem# 
event = { 	
	id = 88000 
	random = no 
	country = U10 
	name = "EVENTNAME88000" 
	desc = "EVENTHIST88000" 
	style = 1 
	date = { day = 1 month = march year = 1419 } 
	offset = 300 

	action_a ={ #Jan wins# 
		name = "ACTIONNAME88000A" 
		command = { type = relation which = BUR value = 50 } 
		command = { type = secedeprovince which = BUR value = 1924 }
		command = { type = trigger which = 88003 } 
		} 
	action_b ={ #Jaqueline wins# 
		name = "ACTIONNAME88000B" 
		command = { type = relation which = BUR value = -100 } 
		command = { type = relation which = PAP value = -25 } 
		command = { type = relation which = HAB value = -50 } 
		command = { type = relation which = HUN value = -50 } 
		command = { type = MIL   which = 3 value = 200 } 
		command = { type = ADM   which = 3 value = 200 } 
		command = { type = DIP   which = 3 value = 200 } 
		command = { type = sleepevent which = 88001 } 
		command = { type = sleepevent which = 88002 } 
		command = { type = sleepevent which = 88004 } 
		command = { type = sleepevent which = 88005 } 
		command = { type = sleepevent which = 88014 } 
		command = { type = sleepevent which = 3893 } 
		command = { type = war which = BUR } 
		} 
} 

#Jacqueline's divorce of Jan IV of Brabant# 
event = { 
	id = 88001 
	random = no 
	country = U10 
	name = "EVENTNAME88001" 
	desc = "EVENTHIST88001" 
	style = 1 
	date = { day = 1 month = january year = 1421 } 
	offset = 300 

	action_a ={ #Jaqueline ditches John and marries Humphrey# 
		name = "ACTIONNAME88001A" 
		command = { type = dynastic which = ENG } 
		command = { type = relation which = ENG value = 75 } 
		command = { type = relation which = BUR value = -50 } 
		command = { type = relation which = HAU value = -75 } 
		command = { type = sleepevent which = 88014 } 
		} 

	action_b ={ #Jaqueline stays with Jan IV# 
		name = "ACTIONNAME88001B" 
		command = { type = wakemonarch which = 13000 } 
		command = { type = sleepevent which = 88002 } 
		command = { type = sleepevent which = 88005 } 
		command = { type = relation which = HAU value = 50 } 
		command = { type = sleepevent which = 3893 } 
		} 
} 

#Jacqueline's invasion of Hainaut# 
event = { 
	id = 88002 
	random = no 
	country = U10 
	name = "EVENTNAME88002" 
	desc = "EVENTHIST88002" 
	style = 1 

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

	action_a ={ #Jacky and Humphrey lose# 
		name = "ACTIONNAME88002A"
		command = { type = relation which = BUR value = 50 } 
		command = { type = sleepevent which = 88013 }
		} 
} 

#The Death of Jan VI# 
event = { 
	id = 88014 
	random = no 
	country = U10 
	date = { day = 11 month = april year = 1428 } 
	offset = 0 
	deathdate = { day = 12 month = april year = 1428 } 
	name = "EVENTNAME88014" 
	desc = "EVENTHIST88014" 
	style = 1 

	action_a = { 
		name = "ACTIONNAME88014A" 
		command = { type = trigger which = 88010 } 
		} 

	action_b = { 
		name = "ACTIONNAME88014B" 
		command = { type = sleepevent which = 88005 } 
		command = { type = MIL   which = 3 value = 100 } 
		command = { type = ADM   which = 3 value = 100 } 
		command = { type = DIP   which = 3 value = 100 } 
		} 
} 

#The Ransoming of Jacqueline # 
event = { 
	id = 88013 
	random = no 
	country = U10 
	name = "EVENTNAME88013" 
	desc = "EVENTHIST88013"
	style = 1 

	action_a ={ #cha-ching!# 
		name = "ACTIONNAME88013A" 
		command = { type = sleepevent which = 88005 } 
		command = { type = MIL   which = 3 value = 100 } 
		command = { type = ADM   which = 3 value = 100 } 
		command = { type = DIP   which = 3 value = 100 } 
		command = { type = relation which = BUR value = 75 } 
		command = { type = treasury value = -100 }
		} 
} 

#The Annexation of Holland# 
event = { 
	id = 88005 
	trigger = { exists = BUR } 
	random = no 
	country = U10 
	name = "EVENTNAME88005" 
	desc = "EVENTHIST88005" 
	style = 1 

	date = { day = 11 month = april year = 1433 } 
	offset = 0 
	deathdate = { day = 12 month = april year = 1433 } 


	action_a ={ #Surrender to Burgundy# 
		name = "ACTIONNAME88005A" 
		command = { type = trigger which = 88006 } 
		command = { type = revolt which = 339 } 
		} 

	action_b ={ #Defy Burgundy# 
		name = "ACTIONNAME88005B" 
		command = { type = MIL   which = 3 value = 36 } 
		command = { type = ADM   which = 3 value = 36 } 
		command = { type = DIP   which = 3 value = 36 } 
		command = { type = trigger which = 88007 } 
		command = { type = breakvassal which = BUR } 
		command = { type = revolt which = 339 } 
		command = { type = relation which = BUR value = -150 } 
		} 
} 

#The Death of Jacoba# 
event = { 
	id = 88008 
	random = no 
	country = U10 
	date = { day = 9 month = october year = 1436 } 
	offset = 0 
	name = "EVENTNAME88008" 
	desc = "EVENTHIST88008" 
	style = 1 

	action_a = { 
		name = "ACTIONNAME88008A" 
		command = { type = trigger which = 88009 } 
		} 

	action_b = { 
		name = "ACTIONNAME88008B" 
		command = { type = stability value = 1 } 
		command = { type = domestic which = serfdom value = -3 } 
		command = { type = domestic which = aristocracy value = -3 } 
		command = { type = wakemonarch which = 13002 } 
		} 
} 

#Jean Calvin and William of Orange# 
event = { 
	id = 88011 
	random = no 
	country = U10 
	trigger = { religion = catholic 
			NOT = { event = 88015 }} 
	date = { year = 1550 month = june day = 14 } 
	offset = 0 
	name = "EVENTNAME88011" 
	desc = "EVENTHIST88011" 
	style = 2
 
	action_a = { 
		name = "ACTIONNAME88011A" 
		command = { type = religion which = reformed } 
		command = { type = stability value = 1 } 
		command = { type = domestic which = serfdom value = -2 } 
		command = { type = domestic which = aristocracy value = -2 } 
		command = { type = domestic which = centralization value = -2 } 
		} 

	action_b = { 
		name = "ACTIONNAME88011B" 
		command = { type = stability value = -2 } 
		command = { type = revolt which = -1 } 
		command = { type = domestic which = serfdom value = 1 } 
		command = { type = domestic which = aristocracy value = 1 } 
		command = { type = domestic which = centralization value = 1 } 
	} 
} 
#Creation of the Dutch Republic#
event = {

	id = 88016
	trigger = {
			owned = {
					province = 337
					data = -1
				}
			owned = {
					province = 338
					data = -1
				}
			owned = {
					province = 339
					data = -1
				}
			owned = {
					province = 340
					data = -1
				}
			owned = {
					province = 378
					data = -1
				}
			owned = {
					province = 380
					data = -1
				}
                        owned = {
					province = 1925
					data = -1
				}
			owned = {
					province = 1927
					data = -1
				}
			NOT = {
				exists = HOL
				}
		}
	random = no
	country = U10
	name = "EVENTNAME88016"
	desc = "EVENTHIST88016"
	style = 2

	date = { day = 1 month = january year = 1559 }
	offset = 3600
	deathdate = { day = 1 month = january year = 1648 }

	action_a ={
		name = "ACTIONNAME88016A"
		command = { type = vp value = 200 }
		command = { type = stability value = -2 }
		command = { type = revoltrisk   which = 48 value = 8 } 
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = gainbuilding   which = -1 value = bailiff } 
		command = { type = gainbuilding   which = -1 value = bailiff } 
		command = { type = gainbuilding   which = -1 value = bailiff }  
		command = { type = gainbuilding   which = -1 value = bailiff } 
		command = { type = gainbuilding   which = -1 value = courthouse }  
		command = { type = gainbuilding   which = -1 value = courthouse }
	}

	action_b ={
		name = "ACTIONNAME88016B"
		command = { type = vp value = -200 }
		command = { type = inflation value = 10 }
		command = { type = stability value = -1 }
		command = { type = country which = HOL }
		command = { type = religion   which = reformed } 
		command = { type = sleepevent   which = 3900 } 
		command = { type = domestic which = CENTRALIZATION value = -5 }
		command = { type = domestic which = ARISTOCRACY value = -3 }
		command = { type = domestic which = SERFDOM value = -2 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = domestic which = INNOVATIVE value = 2 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = domestic which = QUALITY value = -3 }
		command = { type = addcore which = 337 }
		command = { type = addcore which = 338 }
		command = { type = addcore which = 339 }
		command = { type = addcore which = 340 }
		command = { type = addcore which = 378 }
		command = { type = addcore which = 380 }
command = { type = addcore which = 1925 }
		command = { type = addcore which = 1927 }
command = { type = addcore which = 382 }
		command = { type = addcore which = 1924 }
	}
}
#Jacqueline's invasion of Hainaut# 
event = { 
	id = 88020 
	random = no 
	country = U10
	name = "EVENTNAME88003" 
	desc = "EVENTHIST88003"
	style = 1 
	action_a ={ #Jacky wins!# 
		name = "ACTIONNAME88005B" 
		command = { type = sleepevent which = 88014 } 
		command = { type = sleepevent which = 88004 } 
		command = { type = sleepevent which = 88005 } 
		command = { type = MIL   which = 3 value = 175 } 
		command = { type = ADM   which = 3 value = 175 } 
		command = { type = DIP   which = 3 value = 175 } 
		command = { type = relation which = BUR value = -75 } 
		command = { type = relation which = ENG value = 50 } 
		command = { type = sleepevent which = 88002 }
		command = { type = infantry which = 379 value = 6000 }
		command = { type = cavalry which = 379 value = 2000 }
	} 
}

##################################
###  County of Holland events  ###
###          by TheF           ###
###    modified by Twoflower   ###
##################################

#Jan and the Schieringers 1# 
event = { 
	id = 88017 
	random = no 
	country = U10 
	name = "EVENTNAME88017" 
	desc = "EVENTHIST88017"
	style = 1 
	trigger = { exists = FRI} 
	date = { day = 15 month = june year = 1420 } 
	offset = 14 
	deathdate = { day = 1 month = july year = 1420 } 

	action_a = { 
		name = "ACTIONNAME88017A" 
		command = { type = trigger which = 22011 } #Reconciliation effort of the Schieringers# 
		} 

	action_b = { 
		name = "ACTIONNAME88017B" 
		command = { type = war which = FRI } 
		command = { type = stability value = -2 } 
		command = { type = trigger which = 22012 } #Vetkoper reaction# 
		command = { type = sleepevent which = 88018 } #Jan and the Schieringers 2# 
		} 
} 
#Jan and the Schieringers 2# 
event = { 
	id = 88018 
	random = no 
	country = U10 
	name = "EVENTNAME88018" 
	desc = "EVENTHIST88018"
	style = 1 
	trigger = { exists = FRI } 
	date = { day = 4 month = october year = 1420 } 
	offset = 0 
	deathdate = { day = 4 month = november year = 1420 } 

	action_a = { 
		name = "ACTIONNAME88018A" 
		command = { type = vassal which = FRI } 
		command = { type = trigger which = 22013 } #Reaction to Jan becomming lord of Frisia# 
		} 
} 
#Jan loses control of the Schieringers# 
event = { 
	id = 88019 
	random = no 
	country = U10 
	name = "EVENTNAME88019" 
	desc = "EVENTHIST88019"
	style = 1 
	trigger = { vassal = { country = U10 country = FRI } } 
	date = { day = 17 month = august year = 1422 } 
	offset = 0 
	deathdate = { day = 18 month = august year = 1422 } 

	action_a = { 
		name = "ACTIONNAME40098A" 
		command = { type = trigger which = 22015 } #Breaking the vassalization# 
		} 
} 

# The Dutch Republic for county of Holland
event = {
	id = 313000

	# Triggered by HOL 3900

	random = no
	country = U10 #county of Holland
	name = "EVENTNAME3810" #text for FLA
	desc = "EVENTHIST3810" #text for FLA
	style = 2

	action_a = { # Join
		name = "ACTIONNAME3810A"
		command = { type = trigger which = 186008 }
	}

	action_b = { # Stay out
		name = "ACTIONNAME3810B"
		command = { type = relation which = HOL value = -100 }
		command = { type = stability value = -2 }
	}
}

#(1477-1482) The Nassau rule in Burgundy - Ahistorical
#by Bordic
event = {
	id = 313001
	trigger = {
		event = 137038 #BUR: Mary's suitors: the imperial candidate
		ai = yes
	}
	random = no
	country = U10
	name = "The Nassau rule in Burgundy"
	desc = "EVENTHIST313001"
	#-#

	date = { day = 19 month = August year = 1477 }
	offset = 13
	deathdate = { day = 26  month = March year = 1482 } #Mary's death

	action_a = {
		name = "Бургундия анексирует нашу страну" #Burgundy will annex the county (End Game)
		command = { type = trigger which = 137039 } #BUR: Holland unified with Burgundy
	}
	action_b = {
		name = "Стать вассалом бургундии" #Burgundy will rule over the county
		command = { type = trigger which = 137040 } #BUR: Holland fief of Burgundy
	}
}
#(1477-1482) The marriage with Mary of Burgundy	- Ahistorical
#by Bordic
event = {
	id = 313003 #triggered by BUR_137038 B
	random = no
	country = U10
	name = "EVENTNAME313003" #The marriage with Mary of Burgundy
	desc = "EVENTHIST313003"
	#-#Jan V of Nassau-Dillenburg, also Jan III Count of Holland was chosen by Archduchess Mary of Burgundy as her husband in co-ruling the vast and rich possessions of Burgundy in the Low Countries. That marriage would mean the union of the Nassau imperial fiefs with the Valois dominions.

	action_a = {
		name = "Excellent!"
		command = { }
	}
}

#(1482) The inheritance of Burgundy - Ahistorical
#by Bordic
event = {
	id = 313002	#triggered by BUR_137044
	trigger = {
		ai = no
		NOT = { vassal = { country = BUR country = HLL } }
	}
	random = no
	country = U10
	name = "Поглощение Бургундиии" #The inheritance of Burgundy
	desc = "EVENTHIST313002"
	#-#

	action_a = {
		name = "Мы будем править вместо бургундцев" #We will rule over Burgundy
		command = { type = relation which = HAB value = 50 }
		command = { type = addcore which = 337 } #Friesen
		command = { type = addcore which = 338 } #Geldre
		command = { type = addcore which = 1927 }
		command = { type = addcore which = 339 } #Holland
		command = { type = addcore which = 340 } #Zeeland
		command = { type = addcore which = 1925 }
		command = { type = addcore which = 378 } #Brabant
		command = { type = addcore which = 1924 } #Artois (if imperial fief)
		command = { type = addcore which = 380 } #Flandern
		command = { type = inherit which = BUR } #(no cores on French and Burgundian fiefs)
	}
	action_b = {
		name = "Сделать бургундию вассалом" #We will remain Holland
		command = { type = relation which = HAB value = -50 }
		command = { type = vassal which = BUR }
	}
}