
######Kleve Major Events#######
#By Joakim 'Greven' Bergqwist #
#   Hеvard Moe                #
#   Tom 'Demetrios' Rinschler #
###############################

#The League of Augsburg#
event = {

	id = 3676				#triggered by FRA3127#
	random = no
	country = KLE
	name = "EVENTNAME3676"
	desc = "EVENTHIST3676"
	style = 3

	action_a ={					#Defy French claims#
		name = "ACTIONNAME3676A"
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = PRU value = 150 }
		command = { type = relation which = HOL value = 150 }
		command = { type = relation which = HAN value = 100 }
		command = { type = relation which = SPA value = 100 }
		command = { type = relation which = HES value = 100 }
		command = { type = relation which = BAD value = 100 }
		command = { type = relation which = KOL value = 100 }
		command = { type = relation which = PFA value = 100 }
		command = { type = relation which = THU value = 100 }
	}

	action_b ={					#Ignore it#
		name = "ACTIONNAME3676B"
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = -100 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = HOL value = -100 }
		command = { type = relation which = HAN value = -50 }
		command = { type = relation which = SPA value = -50 }
		command = { type = relation which = HES value = -50 }
		command = { type = relation which = BAD value = -50 }
		command = { type = relation which = KOL value = -50 }
		command = { type = relation which = PFA value = -50 }
		command = { type = relation which = THU value = -50 }
	}
}

#The League of Schmalkalden#
event = {

	id = 3677
	trigger = {
		 exists = HAB  
		 	AND = { 
				OR = {
					religion = protestant
					religion = reformed
						}
			}
	}
	random = no
	country = KLE
	name = "EVENTNAME3677"
	desc = "EVENTHIST3677"
	style = 2

	date = { day = 1 month = january year = 1527 }
	offset = 30
	deathdate = { day = 1 month = january year = 1529 }

	action_a ={						#Give it your support#
		name = "ACTIONNAME3677A"
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = 50 }
		command = { type = relation which = BRA value = 100 }
		command = { type = relation which = HAN value = 100 }
		command = { type = relation which = HES value = 100 }
		command = { type = relation which = PFA value = 100 }
		command = { type = relation which = SAC value = 100 }
		command = { type = relation which = THU value = 100 }
		command = { type = relation which = BAD value = 100 }
		command = { type = relation which = PAP value = -100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = relation which = HAB value = -150 }
	}

	action_b ={						#Ignore it#
		name = "ACTIONNAME3677B"
		command = { type = relation which = BRA value = -150 }
		command = { type = relation which = HAN value = -150 }
		command = { type = relation which = HES value = -150 }
		command = { type = relation which = PFA value = -150 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = THU value = -150 }
		command = { type = relation which = HAB value = 50 }
	}
}

#The Evangelic Union#
event = {

	id = 3678
	trigger = {
		 OR = {
			religion = protestant
			religion = reformed
				}
			}
	random = no
	country = KLE
	name = "EVENTNAME3678"
	desc = "EVENTHIST3678"
	style = 3

	date = { day = 1 month = january year = 1605 }
	offset = 30
	deathdate = { day = 1 month = january year = 1609 }

	action_a ={						#Prepare to Join#
		name = "ACTIONNAME3678A"
		command = { type = relation which = BRA value = 50 }
		command = { type = relation which = HAN value = 50 }
		command = { type = relation which = HES value = 50 }
		command = { type = relation which = PFA value = 50 }
		command = { type = relation which = SAC value = 50 }
		command = { type = relation which = THU value = 50 }
		command = { type = relation which = BAD value = 50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = SPA value = -50 }
		command = { type = relation which = HAB value = -100 }
	}

	action_b ={						#Stay Neutral#
		name = "ACTIONNAME3678B"
		command = { type = relation which = BRA value = -150 }
		command = { type = relation which = HAN value = -150 }
		command = { type = relation which = HES value = -150 }
		command = { type = relation which = PFA value = -150 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = THU value = -150 }
		command = { type = relation which = BAD value = -150 }
		command = { type = relation which = HAB value = 50 }
		command = { type = relation which = KOL value = 50 }
	}
}

#The Catholic League#
event = {

	id = 3679
	trigger = {
		 OR = {
			religion = catholic
			religion = counterreform
				}
			}
	random = no
	country = KLE
	name = "EVENTNAME3679"
	desc = "EVENTHIST3679"
	style = 3

	date = { day = 1 month = january year = 1607 }
	offset = 30
	deathdate = { day = 1 month = january year = 1609}

	action_a ={						#Prepare to Join#
		name = "ACTIONNAME3679A"
		command = { type = relation which = BRA value = -100 }
		command = { type = relation which = HAN value = -100 }
		command = { type = relation which = HES value = -100 }
		command = { type = relation which = PFA value = -100 }
		command = { type = relation which = SAC value = -100 }
		command = { type = relation which = THU value = -100 }
		command = { type = relation which = BAD value = -100 }
		command = { type = relation which = KOL value = 100 }
		command = { type = relation which = BAY value = 100 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = HAB value = 150 }
	}

	action_b ={						#Stay Neutral#
		name = "ACTIONNAME3679B"
		command = { type = relation which = BRA value = 50 }
		command = { type = relation which = HAN value = 50 }
		command = { type = relation which = HES value = 50 }
		command = { type = relation which = PFA value = 50 }
		command = { type = relation which = SAC value = 50 }
		command = { type = relation which = THU value = 50 }
		command = { type = relation which = BAD value = 50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = SPA value = -50 }
		command = { type = relation which = HAB value = -100 }
	}
}

# The Kleve Inheritance #
event = {
	id = 3854
	random = no
	country = KLE
	name = "EVENTNAME3854"
	desc = "EVENTHIST3854"
	style = 3

	date = { day = 25 month = march year = 1609 }

	action_a = {		#Brandenburg#
		name = "ACTIONNAME3854A"
		command = { type = trigger which = 3855 }
	}
	action_b = {		#Palatinate#
		name = "ACTIONNAME3854B"
		command = { type = trigger which = 3858 }
	}
	action_c = {		#Local lad#
		name = "ACTIONNAME3854C"
		command = { type = domestic which = centralization value = 1 }
		command = { type = trigger which = 3857 }
		command = { type = trigger which = 3860 }
	}
}

#(1435) Marriage of Maria of Kleve with Charles d'Orlйans
event = {
	id = 211100
	trigger = {
		event = 1000042 # Treaty of Arras
		dynastic = { country = KLE country = BUR }
		relation = { country = BUR data = 100 }
	}
	random = no
	country = KLE
	name = "Maria of Kleve is married to Charles d'Orlйans" 
	desc = "EVENTHIST200000"
	date = { day = 1 month = september year = 1435 }
	offset = 50
	deathdate = { day = 1 month = january year = 1436 }

	action_a = {
		name = "Fine!" 
		command = { type = dynastic which = FRA }
		command = { type = dynastic which = ORL }
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = BUR value = 20 }
	}
}

#Kleves events by Twoflower
#Feud of Soest
event = {
       id = 200001 #triggered by KOL: The Feud of Soest
       random = no
       country = KLE
       name = "Вражда направленная против Соеста"
       desc = "EVENTHIST200001"
       style = 1
 
       action_a = {
                 name = "Защитить Соест" 
                 command = { type = domestic which = centralization value = -1 }
                 command = { type = population which = -2 value = 1000 }
                 command = { type = provincemanpower which = -2 value = 1 }
                 command = { type = casusbelli which = KOL value = 60 }
                 command = { type = relation which = BUR value = 50 }
                 command = { type = relation which = MUN value = 50 }
                 command = { type = relation which = BAY value = -50 }
                 command = { type = relation which = BRA value = -50 }
                 command = { type = relation which = SAC value = -50 }
                 command = { type = trigger which = 200002 }                 
                  }
}

}
#(1444) Johann, the Lion of Lippstadt and Soest
event = {
	id = 200002 #triggered by KLE_200001
	random = no
	country = KLE
	name = "E#Johann, the Lion of Lippstadt and Soest" 
	desc = "EVENTHIST200002"
	action_a = {
		name = "ACTIONNAME200002A" #Send Johann to Soest
		command = { type = leader which = 069301 } #Johann I. (KLE)
		command = { type = land value = 200 }
		command = { type = INF which = -2 value = 2400 }
		command = { type = CAV which = -2 value = 800 }
		command = { type = ART which = -2 value = 10 }
	}
}


#(1444-1450) Victory in the Feud of Soest
event = {
	id = 200024
	trigger = {
		event = 200001
		OR = {
			vassal = { country = KLE country = KOL }
			AND = {	control = { province = 344 data = -1 }
				control = { province = 1937 data = -1 } }
		}
	}
	random = no
	country = KLE
	name = "Victory in the Feud of Soest"
	desc = "We have managed to defeat the Archbishop of Cologne and protect Westphalian towns. Hence, we have achieved hegemony in our region by defeating our archenemy and we are now able to consolidate and expand our authority."

	date = { day = 4 month = june year = 1444 }
	offset = 10
	deathdate = { day = 1 month = january year = 1450 }

	action_a = {
		name = "ACTIONNAME202001A" #Great
		command = { type = vp value = 30 }
		command = { type = independence which = KOL }
		command = { type = province_revoltrisk which = 1937 value = -5 }
		command = { type = sleepevent which = 202001 }
		command = { type = trigger which = 202019 }
	}
}

#(1444-1450) Loss in the Feud of Soest
event = {
	id = 200025
	random = no
	country = KLE
	name = "Loss in the Feud of Soest" 
	desc = "We have lost the war against Archbishop of Cologne and now we have to renounce our claims."

	action_a = {
		name = "Damn" 
		command = { type = vp value = -20 }
		command = { type = removecore which = 1937 }
	}
}

#(1447 or 1463) Burgundian Claims on Munster - Ahistorical
event = {
	id = 20317 #triggered by BUR_28006
	random = no
	country = KLE
	name = "EVENTNAME20317" #Burgundian Claims on Munster
	desc = "EVENTHIST20313"
	#-#The Emperor has made Philip the Good of Burgundy King of Lotharingia, reviving the ninth century kingdom of Lothar. The emperor has granted some of our lands to Burgundy!

	action_a = {
		name = "OK"
		command = { type = casusbelli which = BUR value = 2500 }
		command = { type = relation which = HAB value = -50 }
		command = { type = CAV which = -2 value = 3000 }
	}
}

#(1477-1482) The marriage with Mary of Burgundy - Ahistorical
#by Bordic
event = {
	id = 200023 #triggered by BUR_137038 C
	random = no
	country = KLE
	name = "EVENTNAME313003" #The marriage with Mary of Burgundy
	desc = "EVENTHIST200023"
	#-#Johann of Kleve, son of Johann I der Kriegerische, Duke of Kleve and Mark, has been 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 imperial fiefs of Kleve and Mark with the Valois dominions.

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


#(1481-1482) The Kleve inheritance - Ahistorical
#by Bordic
event = {
	id = 200018
	trigger = {
		event = 137038 #BUR: Mary's suitors: the imperial candidate
		ai = yes
	}
	random = no
	country = KLE
	name = "The Kleve inheritance" 
	desc = "EVENTHIST200018"
	date = { day = 5 month = September year = 1481 } #Johann I's death
	offset = 11
	deathdate = { day = 26  month = March year = 1482 } #Mary's death

	action_a = {
		name = "Burgundy will annex the duchy (End Game)" 
		command = { type = trigger which = 137041 } #BUR: Kleve unified with Burgundy
	}
	action_b = {
		name = "Burgundy will rule over our duchy" #
		command = { type = trigger which = 137042 } #BUR: Kleve fief of Burgundy
	}
}

#(1482) The inheritance of Burgundy - Ahistorical
#by Bordic
event = {
	id = 200019	#triggered by BUR_137046
	trigger = {
		ai = no
		NOT = { vassal = { country = BUR country = KLE } }
	}
	random = no
	country = KLE
	name = "The inheritance of Burgundy" #
	desc = "EVENTHIST200019"
	action_a = {
		name = "We will rule over Burgundy" #
		command = { type = relation which = HAB value = 50 }
		command = { type = add_countryculture which = dutch }
		command = { type = addcore which = 337 } #Friesen
		command = { type = addcore which = 338 } #Geldre
		command = { type = addcore which = 1927 } 
command = { type = addcore which = 1997 }
command = { type = addcore which = 1947 }
command = { type = addcore which = 1903 }
		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 } #Hainaut (if imperial fief)
		command = { type = addcore which = 380 } #Flandern
		command = { type = addcore which = 377 } #Luxemburg
		command = { type = addcore which = 387 } #Franche-Comtй (needed for the Dutch revolts)
		command = { type = inherit which = BUR } #(no cores on French fiefs)
	}
	action_b = {
		name = "We will remain Kleve" #
		command = { type = relation which = HAB value = -50 }
		command = { type = vassal which = BUR }
	}
}


#(1490-1501) Duke Johann II
event = {
	id = 200003
	random = no
	country = KLE
	name = "Johann II's bastards" 
	desc = "EVENTHIST200003"
	date = { day = 1 month = january year = 1490 }
	offset = 1500
	deathdate = { day = 1 month = january year = 1501 }

	action_a = {
		name = "Support all illegitimate children" 
		command = { type = treasury value = -150 }
		command = { type = provincetax which = -2 value = -1 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = population which = -2 value = 65 }
	}
	action_b = {
		name = "Refuse to pay for the Duke's bastards" 
		command = { type = stability value = -3 }
		command = { type = sleepevent which = 200004 } #KLE: Control is imposed on the Duke
	}
}

#(1501) Control is imposed on the Duke
event = {
	id = 200004
	trigger = { event = 200003 }
	random = no
	country = KLE
	name = "EControl is imposed on the Duke" 
	desc = "EVENTHIST200004"
	date = { day = 1 month = january year = 1501 }
	offset = 200
	deathdate = { day = 29 month = december year = 1501 }

	action_a = {
		name = "Fulfil the estates' demands" 
		command = { type = stability value = 1 }
		command = { type = domestic which = aristocracy value = 2 }
		command = { type = ADM which = 2 value = 240 }
	}
	action_b = {
		name = "Don't give in to the estates"
		command = { type = stability value = -2 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = aristocracy value = -1 }
	}
}

#(1521) The united Duchies
event = {
	id = 200006
	trigger = {
		OR = {
			ai = no
			AND = {
				ai = yes
				OR = {
					event = 235002
					event = 235003
					event = 235004
				}
			}
		}
		exists = MUN
	}
	random = no
	country = KLE
	name = "The united Duchies" 
	desc = "EVENTHIST200006"
	date = { day = 15 month = january year = 1521 }

	action_a = {
		name = "Unite the low rhine duchies" 
		command = { type = addcore which = 1404 } 
		command = { type = inherit which = MUN }
	}
}
   
#(1521) The united Duchies
event = {
	id = 200022
	trigger = {
		ai = yes
		event = 235008
		exists = MUN
	}
	random = no
	country = KLE
	name = "The united Duchies" #The united Duchies
	desc = "EVENTHIST200022"
	date = { day = 15 month = january year = 1521 }

	action_a = {
		name = "#Unite with Jьlich-Berg (End Game)" 
		command = { type = trigger which = 235009 } #MUN: Union with Kleve-Mark
	}


#(1523) Konrad Heresbach
event = {
	id = 200009
	random = no
	country = KLE
	name = "Konrad Heresbach"
	desc = "EVENTHIST200009"
	date = { day = 1 month = september year = 1523 }
	offset = 60
	deathdate = { day = 29 month = december year = 1523 }

	action_a = {
		name = "Let Heresbach educate Wilhelm" 
		command = { type = domestic which = innovative value = 1 }
		command = { type = relation which = PAP value = -25 }
	}
	action_b = {
		name = "Don't allow him to teach his dangerous thoughts to the future Duke" 
		command = { type = domestic which = innovative value = -1 }
		command = { type = sleepevent which = 200007 } #KLE: The church constitution of 1532
		command = { type = sleepevent which = 200010 } #KLE: Konrad Heresbach becomes ducal adviser
	}
}


#(1532) The ecclesiastical constitution of 1532
event = {
	id = 200007
	trigger = {
		domestic = { type = innovative value = 5 }
	}
	random = no
	country = KLE
	name = "The church constitution of 1532" 
	desc = "EVENTHIST200007"
	date = { day = 1 month = january year = 1532 }
	offset = 200
	deathdate = { day = 29 month = december year = 1532 }

	action_a = {
		name = "ACTIONNAME200007A" #Try to find a third way
		command = { type = domestic which = innovative value = 2 }
		command = { type = stability value = 1 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = SAC value = -50 }
		command = { type = relation which = PFA value = -50 }
		command = { type = relation which = HES value = -50 }
		command = { type = relation which = HAB value = -50 }
		command = { type = relation which = SPA value = -50 }
	}
	action_b = {
		name = "ACTIONNAME200007B" #Embrace protestant teachings
		command = { type = stability value = -2 }
		command = { type = provincereligion which = -2 value = protestant }
		command = { type = religion which = protestant }
		command = { type = relation which = PAP value = -100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = SAC value = 50 }
		command = { type = relation which = PFA value = 50 }
		command = { type = relation which = HES value = 50 }
	}
	action_c = {
		name = "ACTIONNAME200007C" #Stick with a conservative catholicism
		command = { type = stability value = -1 }
		command = { type = provincereligion which = -2 value = catholic }
		command = { type = religion which = catholic }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = SPA value = 100 }
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = SAC value = -50 }
		command = { type = relation which = PFA value = -50 }
		command = { type = relation which = HES value = -50 }
		command = { type = domestic which = innovative value = -1 }
	}
}

#(1609) The Cleves succession
event = {
	id = 200101
	trigger = {
		countrysize = 2
		exists = BRA
		exists = SAC
		NOT = { exists = MUN }
	}
	random = no
	country = KLE
	name = "The Cleves succession" #The Cleves succession
	desc = "EVENTHIST200101"


	date = { day = 25 month = march year = 1609 }

	action_a = {
		name = "Brandenburg and Palatinate-Neuburg seize the Duchies" #
		command = { type = trigger which = 132201 } #BRA: The Cleves succession
		command = { type = trigger which = 273032 } #SAC: The Cleves succession
		command = { type = domestic which = centralization value = -1 }
		command = { type = domestic which = aristocracy value = -2 }
		command = { type = domestic which = innovative value = 2 }
		command = { type = setflag which = historical_succession }
		command = { type = religion which = protestant }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = stability value = 3 }
	}
	action_b = {
		name = "The Elector of Saxony inherits (End Game)" #
		command = { type = secedeprovince which = HOL value = 337 } #Friesen
		command = { type = secedeprovince which = HOL value = 339 } #Holland
		command = { type = secedeprovince which = HOL value = 340 } #Zeeland
		command = { type = secedeprovince which = HOL value = 1927 } 
		command = { type = secedeprovince which = HOL value = 1925 } 
		command = { type = secedeprovince which = HOL value = 1924 } 
		command = { type = secedeprovince which = HOL value = 338 } 
		command = { type = secedeprovince which = HOL value = 377 } #Luxembourg
		command = { type = secedeprovince which = HOL value = 378 } #Brabant
		command = { type = secedeprovince which = HOL value = 379 } #Artois
		command = { type = secedeprovince which = HOL value = 380 } #Flandern
		command = { type = independence which = KOL }
command = { type = secedeprovince which = HOL value = 1947 } 
		command = { type = secedeprovince which = HOL value = 1903 } 
		command = { type = secedeprovince which = HOL value = 1997 } 
                command = { type = secedeprovince which = KOL value = 1934 } 
                command = { type = independence which = TOX }
		command = { type = independence which = HLL }
		command = { type = secedeprovince which = KOL value = 1926 } 
		command = { type = independence which = HES }
		command = { type = independence which = OLD }
		command = { type = independence which = PFA }
		command = { type = independence which = HAN }
		command = { type = secedeprovince which = HAN value = 310 } 
		command = { type = secedeprovince which = HAN value = 1935 } 
		command = { type = secedeprovince which = HAN value = 1936 } 
		command = { type = trigger which = 273031 } #SAC: Inheritance of Cleves
		command = { type = trigger which = 132202 } #BRA_The Cleves succession
	}
	action_c = {
		name = "Cleves-Nevers inherits" #
		command = { type = addcore which = 386 } 
		command = { type = setflag which = Nevers }
		command = { type = religion which = catholic }
		command = { type = stability value = -3 }
		command = { type = trigger which = 170031 } #FRA: Nevers-Rethel inherits Cleves
		command = { type = trigger which = 132202 } #BRA: The Cleves succession
		command = { type = trigger which = 273032 } #SAC: The Cleves succession
	}
	action_d = {
		name = "The Emperor seizes the Duchies (End Game)" #
		command = { type = secedeprovince which = HOL value = 337 } #Friesen
		command = { type = secedeprovince which = HOL value = 339 } #Holland
		command = { type = secedeprovince which = HOL value = 340 } #Zeeland
		command = { type = secedeprovince which = HOL value = 1927 } 
		command = { type = secedeprovince which = HOL value = 1925 } 
		command = { type = secedeprovince which = HOL value = 1924 } 
		command = { type = secedeprovince which = HOL value = 338 } 
		command = { type = secedeprovince which = HOL value = 377 } #Luxembourg
		command = { type = secedeprovince which = HOL value = 378 } #Brabant
		command = { type = secedeprovince which = HOL value = 379 } #Artois
		command = { type = secedeprovince which = HOL value = 380 } #Flandern
		command = { type = independence which = KOL }
command = { type = secedeprovince which = HOL value = 1947 } 
		command = { type = secedeprovince which = HOL value = 1903 } 
		command = { type = secedeprovince which = HOL value = 1997 } 
                command = { type = secedeprovince which = KOL value = 1934 } 
                command = { type = independence which = TOX }
		command = { type = independence which = HLL }
		command = { type = secedeprovince which = KOL value = 1926 } 
		command = { type = independence which = HES }
		command = { type = independence which = OLD }
		command = { type = independence which = PFA }
		command = { type = independence which = HAN }
		command = { type = secedeprovince which = HAN value = 310 } 
		command = { type = secedeprovince which = HAN value = 1935 } 
		command = { type = secedeprovince which = HAN value = 1936 } 
		command = { type = trigger which = 179202 } #HAB: Confiscation of Cleves
		command = { type = trigger which = 132202 } #BRA: The Cleves succession
		command = { type = trigger which = 273032 } #SAC: The Cleves succession
	}
}
event = {
	id = 200102
	trigger = {
		countrysize = 2
		exists = BRA
		NOT = { exists = SAC }
		NOT = { exists = MUN }
	}
	random = no
	country = KLE
	name = "The Cleves succession" #
	desc = "EVENTHIST200101"
	#-#
	date = { day = 25 month = march year = 1609 }

	action_a = {
		name = "Brandenburg and Palatinate-Neuburg seize the Duchies" 

		command = { type = trigger which = 132201 } #BRA: The Cleves succession
		command = { type = domestic which = centralization value = -1 }
		command = { type = domestic which = aristocracy value = -2 }
		command = { type = domestic which = innovative value = 2 }
		command = { type = religion which = protestant }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = religion which = protestant }
		command = { type = stability value = 3 }
		command = { type = setflag which = historical_succession }
	}
	action_b = {
		name = "Cleves-Nevers inherits" #Cleves-Nevers inherits
		command = { type = addcore which = 386 } #Nivernais
		command = { type = setflag which = Nevers }
		command = { type = religion which = catholic }
		command = { type = stability value = -3 }
		command = { type = trigger which = 170031 } #FRA: Nevers-Rethel inherits Cleves
		command = { type = trigger which = 132202 } #BRA: The Cleves succession
	}
	action_c = {
		name = "The Emperor seizes the Duchies (End Game)" #
		command = { type = secedeprovince which = HOL value = 337 } #Friesen
		command = { type = secedeprovince which = HOL value = 339 } #Holland
		command = { type = secedeprovince which = HOL value = 340 } #Zeeland
		command = { type = secedeprovince which = HOL value = 1927 } 
		command = { type = secedeprovince which = HOL value = 1925 } 
		command = { type = secedeprovince which = HOL value = 1924 } 
		command = { type = secedeprovince which = HOL value = 338 } 
		command = { type = secedeprovince which = HOL value = 377 } #Luxembourg
		command = { type = secedeprovince which = HOL value = 378 } #Brabant
		command = { type = secedeprovince which = HOL value = 379 } #Artois
		command = { type = secedeprovince which = HOL value = 380 } #Flandern
		command = { type = independence which = KOL }
command = { type = secedeprovince which = HOL value = 1947 } 
		command = { type = secedeprovince which = HOL value = 1903 } 
		command = { type = secedeprovince which = HOL value = 1997 } 
                command = { type = secedeprovince which = KOL value = 1934 } 
                command = { type = independence which = TOX }
		command = { type = independence which = HLL }
		command = { type = secedeprovince which = KOL value = 1926 } 
		command = { type = independence which = HES }
		command = { type = independence which = OLD }
		command = { type = independence which = PFA }
		command = { type = independence which = HAN }
		command = { type = secedeprovince which = HAN value = 310 } 
		command = { type = secedeprovince which = HAN value = 1935 } 
		command = { type = secedeprovince which = HAN value = 1936 } 
		command = { type = trigger which = 179202 } #HAB: Confiscation of Cleves
		command = { type = trigger which = 132202 } #BRA: The Cleves succession
	}
}
event = {
	id = 200103
	trigger = {
		countrysize = 2
		NOT = { exists = BRA }
		exists = SAC
		NOT = { exists = MUN }
	}
	random = no
	country = KLE
	name = "The Cleves succession" #
	desc = "EVENTHIST200103"
	

	date = { day = 25 month = march year = 1609 }

	action_a = {
		name = "Palatinate-Neuburg inherits" #
		command = { type = domestic which = centralization value = 2 }
		command = { type = domestic which = aristocracy value = -2 }
		command = { type = domestic which = innovative value = 2 }
		command = { type = religion which = protestant }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = religion which = protestant }
		command = { type = stability value = 3 }
		command = { type = flagname which = "" }
		command = { type = country which = MUN }
		command = { type = dynastic which = BAY }
		command = { type = dynastic which = PFA }
		command = { type = dynastic which = KOL }
		command = { type = trigger which = 273032 } #SAC: The Cleves succession
	}
	action_b = {
		name = "AThe Elector of Saxony inherits (End Game)" #
		command = { type = secedeprovince which = HOL value = 337 } #Friesen
		command = { type = secedeprovince which = HOL value = 339 } #Holland
		command = { type = secedeprovince which = HOL value = 340 } #Zeeland
		command = { type = secedeprovince which = HOL value = 1927 } 
		command = { type = secedeprovince which = HOL value = 1925 } 
		command = { type = secedeprovince which = HOL value = 1924 } 
		command = { type = secedeprovince which = HOL value = 338 } 
		command = { type = secedeprovince which = HOL value = 377 } #Luxembourg
		command = { type = secedeprovince which = HOL value = 378 } #Brabant
		command = { type = secedeprovince which = HOL value = 379 } #Artois
		command = { type = secedeprovince which = HOL value = 380 } #Flandern
		command = { type = independence which = KOL }
command = { type = secedeprovince which = HOL value = 1947 } 
		command = { type = secedeprovince which = HOL value = 1903 } 
		command = { type = secedeprovince which = HOL value = 1997 } 
                command = { type = independence which = TOX }
		command = { type = independence which = HLL }
		command = { type = secedeprovince which = KOL value = 1926 } 
command = { type = secedeprovince which = KOL value = 1934 } 
		command = { type = independence which = HES }
		command = { type = independence which = OLD }
		command = { type = independence which = PFA }
		command = { type = independence which = HAN }
		command = { type = secedeprovince which = HAN value = 310 } 
		command = { type = secedeprovince which = HAN value = 1935 } 
		command = { type = secedeprovince which = HAN value = 1936 } 
		command = { type = trigger which = 273031 } #SAC_Inheritance of Cleves
	}
	action_c = {
		name = "Cleves-Nevers inherits" #
		command = { type = addcore which = 386 } #Nivernais
		command = { type = setflag which = Nevers }
		command = { type = religion which = catholic }
		command = { type = stability value = -3 }
		command = { type = trigger which = 170031 } #FRA: Nevers-Rethel inherits Cleves
		command = { type = trigger which = 273032 } #SAC: The Cleves succession
	}
	action_d = {
		name = "The Emperor seizes the Duchies (End Game)" 
		command = { type = secedeprovince which = HOL value = 337 } #Friesen
		command = { type = secedeprovince which = HOL value = 339 } #Holland
		command = { type = secedeprovince which = HOL value = 340 } #Zeeland
		command = { type = secedeprovince which = HOL value = 1927 } 
		command = { type = secedeprovince which = HOL value = 1925 } 
		command = { type = secedeprovince which = HOL value = 1924 } 
		command = { type = secedeprovince which = HOL value = 338 } 
		command = { type = secedeprovince which = HOL value = 377 } #Luxembourg
		command = { type = secedeprovince which = HOL value = 378 } #Brabant
		command = { type = secedeprovince which = HOL value = 379 } #Artois
		command = { type = secedeprovince which = HOL value = 380 } #Flandern
		command = { type = independence which = KOL }
		command = { type = secedeprovince which = KOL value = 1926 } 
command = { type = secedeprovince which = HOL value = 1947 } 
		command = { type = secedeprovince which = HOL value = 1903 } 
		command = { type = secedeprovince which = HOL value = 1997 } 
                command = { type = secedeprovince which = KOL value = 1934 } 
                command = { type = independence which = TOX }
		command = { type = independence which = HLL }
		command = { type = independence which = HES }
		command = { type = independence which = OLD }
		command = { type = independence which = PFA }
		command = { type = independence which = HAN }
		command = { type = secedeprovince which = HAN value = 310 } 
		command = { type = secedeprovince which = HAN value = 1935 } 
		command = { type = secedeprovince which = HAN value = 1936 } 
		command = { type = trigger which = 179202 } #HAB: Confiscation of Cleves
		command = { type = trigger which = 273032 } #SAC: The Cleves succession
	}
}



#The Cleves succession
event = { 
      id = 200104
      trigger = { 
                  countrysize = 2 
                  NOT = { exists = BRA }
                  NOT = { exists = SAC }
                }
      random = no
      country = KLE
      name = "Наследование Клеве"
      desc = "EVENTHIST200103"
      style = 3
      
      date = { day = 25 month = march year = 1609 }
      offset = 0
      
      action_a = {
               name = "Палатинат-Неуберг наследует"
               command = { type = domestic which = centralization value = 2 }
               command = { type = domestic which = aristocracy value = -2 }
               command = { type = domestic which = innovative value = 2 }
               command = { type = religion which = protestant }
               command = { type = relation which = HAB value = -100 }
               command = { type = relation which = SPA value = -100 }
               command = { type = stability value = 3 }
               command = { type = country which = MUN } 
               command = { type = dynastic which = BAY }
               command = { type = dynastic which = PFA }
               command = { type = dynastic which = KOL }
                 }
      action_b = {
               name = "Клевес-Неверс наследует"
               command = { type = addcore which = 386 } #Nivernais
               command = { type = setflag which = Nevers }
               command = { type = trigger which = 170031 } #FRA: Nevers-Rethel inherits Cleves
               command = { type = religion which = catholic }
               command = { type = stability value = -3 }
                 }
      action_c = {
               name = "Император захватывает герцогства (конец игры)"
                    command = { type = secedeprovince which = HOL value = 337 }
               command = { type = secedeprovince which = HOL value = 339 }
                command = { type = secedeprovince which = HOL value = 338 }
                command = { type = secedeprovince which = HOL value = 382 }
               command = { type = secedeprovince which = HOL value = 340 }
               command = { type = secedeprovince which = HOL value = 377 }
               command = { type = secedeprovince which = HOL value = 378 }
               command = { type = secedeprovince which = HOL value = 379 }
               command = { type = secedeprovince which = HOL value = 380 }
               command = { type = secedeprovince which = HOL value = 1924 }
               command = { type = secedeprovince which = HOL value = 1927 }
               command = { type = secedeprovince which = HOL value = 1925 }
               command = { type = independence which = KOL }
               command = { type = independence which = KOL }
               command = { type = independence which = HES }
               command = { type = independence which = OLD }
               command = { type = independence which = PFA }
               command = { type = independence which = HAN }
command = { type = secedeprovince which = HOL value = 1947 } 
		command = { type = secedeprovince which = HOL value = 1903 } 
		command = { type = secedeprovince which = HOL value = 1997 } 
                command = { type = secedeprovince which = KOL value = 1934 } 
                command = { type = independence which = TOX }
		command = { type = independence which = HLL }
                command = { type = independence which = MUN }
 command = { type = secedeprovince which = MUN value = 334 }
               command = { type = secedeprovince which = MUN value = 1984 }
 command = { type = secedeprovince which = MUN value = 1937 }
               command = { type = secedeprovince which = KOL value = 1926 }
               command = { type = trigger which = 179202 } #HAB: Confiscation of Cleves 
                 }
}
#The Cleves succession
event = {
      id = 200105
      trigger = { NOT = { countrysize = 2 } #Cleves has only one province
                  exists = BRA 
                  exists = SAC 
                }
      random = no
      country = KLE
      name = "Наследование Клевеса"
      desc = "EVENTHIST200105"
      style = 3
      
      date = { day = 25 month = march year = 1609 }
      offset = 0
      
      action_a = {
               name = "Бранденьбург наследует (конец игры)"
command = { type = independence which = HOL }
                     command = { type = secedeprovince which = HOL value = 337 }
               command = { type = secedeprovince which = HOL value = 339 }
                command = { type = secedeprovince which = HOL value = 338 }
                command = { type = secedeprovince which = HOL value = 382 }
               command = { type = secedeprovince which = HOL value = 340 }
               command = { type = secedeprovince which = HOL value = 377 }
               command = { type = secedeprovince which = HOL value = 378 }
               command = { type = secedeprovince which = HOL value = 379 }
               command = { type = secedeprovince which = HOL value = 380 }
               command = { type = secedeprovince which = HOL value = 1924 }
               command = { type = secedeprovince which = HOL value = 1927 }
               command = { type = secedeprovince which = HOL value = 1925 }
               command = { type = independence which = KOL }
               command = { type = independence which = HES }
               command = { type = independence which = OLD }
               command = { type = independence which = PFA }
               command = { type = independence which = HAN }
                command = { type = independence which = MUN }
 command = { type = secedeprovince which = MUN value = 334 }
               command = { type = secedeprovince which = MUN value = 1984 }
 command = { type = secedeprovince which = MUN value = 1937 }
               command = { type = secedeprovince which = KOL value = 1926 }
               command = { type = trigger which = 132203 } #BRA: Inheritance of Cleves
               command = { type = trigger which = 273032 } #SAC: The Cleves succession
                 }
      action_b = {
               name = "Палатинат-Неуберг наследует"
               command = { type = domestic which = centralization value = 2 }
               command = { type = domestic which = aristocracy value = -2 }
               command = { type = domestic which = innovative value = 2 }
               command = { type = religion which = protestant }
               command = { type = relation which = HAB value = -100 }
               command = { type = relation which = SPA value = -100 }
               command = { type = stability value = 3 }
               command = { type = country which = MUN } 
               command = { type = dynastic which = BAY }
               command = { type = dynastic which = PFA }
               command = { type = dynastic which = KOL }
               command = { type = trigger which = 132202 } #BRA: The Cleves succession 
               command = { type = trigger which = 273032 } #SAC: The Cleves succession
                 }
      action_c = {
               name = "Саксония наследует (конец игры)"
command = { type = independence which = HOL }
                  command = { type = secedeprovince which = HOL value = 337 }
               command = { type = secedeprovince which = HOL value = 339 }
                command = { type = secedeprovince which = HOL value = 338 }
                command = { type = secedeprovince which = HOL value = 382 }
               command = { type = secedeprovince which = HOL value = 340 }
               command = { type = secedeprovince which = HOL value = 377 }
               command = { type = secedeprovince which = HOL value = 378 }
               command = { type = secedeprovince which = HOL value = 379 }
               command = { type = secedeprovince which = HOL value = 380 }
               command = { type = secedeprovince which = HOL value = 1924 }
               command = { type = secedeprovince which = HOL value = 1927 }
               command = { type = secedeprovince which = HOL value = 1925 }
               command = { type = independence which = KOL }
               command = { type = independence which = HES }
               command = { type = independence which = OLD }
               command = { type = independence which = PFA }
               command = { type = independence which = HAN }
                command = { type = independence which = MUN }
 command = { type = secedeprovince which = MUN value = 334 }
               command = { type = secedeprovince which = MUN value = 1984 }
 command = { type = secedeprovince which = MUN value = 1937 }
               command = { type = secedeprovince which = KOL value = 1926 }
               command = { type = trigger which = 273031 } #SAC: Inheritance of Cleves
               command = { type = trigger which = 132202 } #BRA: The Cleves succession
                 }
      action_d = {
               name = "Клевес-Неверс наследует"
               command = { type = addcore which = 386 } #Nivernais
               command = { type = setflag which = Nevers }
               command = { type = trigger which = 170031 } #FRA: Nevers-Rethel inherits Cleves
               command = { type = trigger which = 132202 } #BRA: The Cleves succession 
               command = { type = trigger which = 273032 } #SAC: The Cleves succession
               command = { type = religion which = catholic }
               command = { type = stability value = -3 }
                 }
}
#The Cleves succession
event = {
      id = 200106
      trigger = { NOT = { countrysize = 2 } #Cleves has only one province
                  exists = BRA 
                  NOT = { exists = SAC }
                }
      random = no
      country = KLE
      name = "Наследование Клевеса"
      desc = "EVENTHIST200105"
      style = 3
      
      date = { day = 25 month = march year = 1609 }
      offset = 0
      
      action_a = {
               name = "Бургундия получает наследство(конец игры)"
command = { type = independence which = HOL }
                     command = { type = secedeprovince which = HOL value = 337 }
               command = { type = secedeprovince which = HOL value = 339 }
                command = { type = secedeprovince which = HOL value = 338 }
                command = { type = secedeprovince which = HOL value = 382 }
               command = { type = secedeprovince which = HOL value = 340 }
               command = { type = secedeprovince which = HOL value = 377 }
               command = { type = secedeprovince which = HOL value = 378 }
               command = { type = secedeprovince which = HOL value = 379 }
               command = { type = secedeprovince which = HOL value = 380 }
               command = { type = secedeprovince which = HOL value = 1924 }
               command = { type = secedeprovince which = HOL value = 1927 }
               command = { type = secedeprovince which = HOL value = 1925 }
command = { type = independence which = HOL }
               command = { type = independence which = KOL }
               command = { type = independence which = HES }
               command = { type = independence which = OLD }
               command = { type = independence which = PFA }
               command = { type = independence which = HAN }
                command = { type = independence which = MUN }
 command = { type = secedeprovince which = MUN value = 334 }
               command = { type = secedeprovince which = MUN value = 1984 }
 command = { type = secedeprovince which = MUN value = 1937 }
               command = { type = secedeprovince which = KOL value = 1926 }
               command = { type = trigger which = 132203 } #BRA: Inheritance of Cleves
                 }
      action_b = {
               name = "Палатинат-Неуберг получает наследство"
               command = { type = domestic which = centralization value = 2 }
               command = { type = domestic which = aristocracy value = -2 }
               command = { type = domestic which = innovative value = 2 }
               command = { type = religion which = protestant }
               command = { type = relation which = HAB value = -100 }
               command = { type = relation which = SPA value = -100 }
               command = { type = stability value = 3 }
               command = { type = country which = MUN } 
               command = { type = dynastic which = BAY }
               command = { type = dynastic which = PFA }
               command = { type = dynastic which = KOL }


               command = { type = trigger which = 132202 } #BRA: The Cleves succession
                 }
      action_c = {
               name = "Клевес-Неверс получает наледство"
               command = { type = addcore which = 386 } #Nivernais
               command = { type = setflag which = Nevers }
               command = { type = trigger which = 170031 } #FRA: Nevers-Rethel inherits Cleves
               command = { type = trigger which = 132202 } #BRA: The Cleves succession
               command = { type = religion which = catholic }
               command = { type = stability value = -3 }
                 }
      action_d = {
               name = "Император захватывает герцогства (конец игры)"
 command = { type = independence which = HOL }
                     command = { type = secedeprovince which = HOL value = 337 }
               command = { type = secedeprovince which = HOL value = 339 }
                command = { type = secedeprovince which = HOL value = 338 }
                command = { type = secedeprovince which = HOL value = 382 }
               command = { type = secedeprovince which = HOL value = 340 }
               command = { type = secedeprovince which = HOL value = 377 }
               command = { type = secedeprovince which = HOL value = 378 }
               command = { type = secedeprovince which = HOL value = 379 }
               command = { type = secedeprovince which = HOL value = 380 }
               command = { type = secedeprovince which = HOL value = 1924 }
               command = { type = secedeprovince which = HOL value = 1927 }
               command = { type = secedeprovince which = HOL value = 1925 }
               command = { type = independence which = KOL }
               command = { type = independence which = HES }
               command = { type = independence which = OLD }
               command = { type = independence which = PFA }
               command = { type = independence which = HAN }
                command = { type = independence which = MUN }
 command = { type = secedeprovince which = MUN value = 334 }
               command = { type = secedeprovince which = MUN value = 1984 }
 command = { type = secedeprovince which = MUN value = 1937 }
               command = { type = secedeprovince which = KOL value = 1926 }
               command = { type = trigger which = 179202 } #HAB: Confiscation of Cleves 
               command = { type = trigger which = 132202 } #BRA: The Cleves succession
                 }
}  
#The Cleves succession
event = {
      id = 200107
      trigger = { NOT = { countrysize = 2 } #Cleves has only one province
                  NOT = { exists = BRA }
                  exists = SAC 
                }
      random = no
      country = KLE
      name = "Наследование Клевеса"
      desc = "EVENTHIST200107"
      style = 3
      
      date = { day = 25 month = march year = 1609 }
      offset = 0
      
      action_a = {
               name = "Палатинат-Неуберг получает наследство"
               command = { type = domestic which = centralization value = 2 }
               command = { type = domestic which = aristocracy value = -2 }
               command = { type = domestic which = innovative value = 2 }
               command = { type = religion which = protestant }
               command = { type = relation which = HAB value = -100 }
               command = { type = relation which = SPA value = -100 }
               command = { type = stability value = 3 }
               command = { type = country which = MUN } 
               command = { type = dynastic which = BAY }
               command = { type = dynastic which = PFA }
               command = { type = dynastic which = KOL }
               command = { type = trigger which = 273032 } #SAC: The Cleves succession
                 }
      action_b = {
               name = "Саксония получает наследство (конец игры)"
     command = { type = independence which = HOL }
                     command = { type = secedeprovince which = HOL value = 337 }
               command = { type = secedeprovince which = HOL value = 339 }
                command = { type = secedeprovince which = HOL value = 338 }
                command = { type = secedeprovince which = HOL value = 382 }
               command = { type = secedeprovince which = HOL value = 340 }
               command = { type = secedeprovince which = HOL value = 377 }
               command = { type = secedeprovince which = HOL value = 378 }
               command = { type = secedeprovince which = HOL value = 379 }
               command = { type = secedeprovince which = HOL value = 380 }
               command = { type = secedeprovince which = HOL value = 1924 }
               command = { type = secedeprovince which = HOL value = 1927 }
               command = { type = secedeprovince which = HOL value = 1925 }
               command = { type = independence which = KOL }
               command = { type = independence which = HES }
               command = { type = independence which = OLD }
               command = { type = independence which = PFA }
               command = { type = independence which = HAN }
                command = { type = independence which = MUN }
 command = { type = secedeprovince which = MUN value = 334 }
               command = { type = secedeprovince which = MUN value = 1984 }
 command = { type = secedeprovince which = MUN value = 1937 }
               command = { type = secedeprovince which = KOL value = 1926 }
               command = { type = trigger which = 273031 } #SAC: Inheritance of Cleves
                 }
      action_c = {
               name = "Клевес-Неверс получает наледство"
               command = { type = addcore which = 386 } #Nivernais
               command = { type = setflag which = Nevers }
               command = { type = trigger which = 170031 } #FRA: Nevers-Rethel inherits Cleves
               command = { type = trigger which = 273032 } #SAC: The Cleves succession
               command = { type = religion which = catholic }
               command = { type = stability value = -3 }
                 }
      action_d = {
               name = "Император захватывает герцогства (конец игры)"
               command = { type = independence which = HOL }
                     command = { type = secedeprovince which = HOL value = 337 }
               command = { type = secedeprovince which = HOL value = 339 }
                command = { type = secedeprovince which = HOL value = 338 }
                command = { type = secedeprovince which = HOL value = 382 }
               command = { type = secedeprovince which = HOL value = 340 }
               command = { type = secedeprovince which = HOL value = 377 }
               command = { type = secedeprovince which = HOL value = 378 }
               command = { type = secedeprovince which = HOL value = 379 }
               command = { type = secedeprovince which = HOL value = 380 }
               command = { type = secedeprovince which = HOL value = 1924 }
               command = { type = secedeprovince which = HOL value = 1927 }
               command = { type = secedeprovince which = HOL value = 1925 }
               command = { type = independence which = KOL }
               command = { type = independence which = HES }
               command = { type = independence which = OLD }
               command = { type = independence which = PFA }
               command = { type = independence which = HAN }
                command = { type = independence which = MUN }
 command = { type = secedeprovince which = MUN value = 334 }
               command = { type = secedeprovince which = MUN value = 1984 }
 command = { type = secedeprovince which = MUN value = 1937 }
               command = { type = secedeprovince which = KOL value = 1926 }
               command = { type = trigger which = 179202 } #HAB: Confiscation of Cleves 
               command = { type = trigger which = 273032 } #SAC: The Cleves succession
                 }
}  
#The Cleves succession
event = {
      id = 200108
      trigger = { NOT = { countrysize = 2 } #Cleves has only one province
                  NOT = { exists = BRA }
                  NOT = { exists = SAC }
                }
      random = no
      country = KLE
      name = "Наследование Клевеса"
      desc = "EVENTHIST200107"
      style = 3
      
      date = { day = 25 month = march year = 1609 }
      offset = 0
      
      action_a = {
               name = "Палатинат-Неуберг получает наследство"
               command = { type = domestic which = centralization value = 2 }
               command = { type = domestic which = aristocracy value = -2 }
               command = { type = domestic which = innovative value = 2 }
               command = { type = religion which = protestant }
               command = { type = relation which = HAB value = -100 }
               command = { type = relation which = SPA value = -100 }
               command = { type = stability value = 3 }
               command = { type = country which = MUN } 
               command = { type = dynastic which = BAY }
               command = { type = dynastic which = PFA }
               command = { type = dynastic which = KOL }
                 }
      action_b = {
               name = "Клевес-Неверс получает наледство"
               command = { type = addcore which = 386 } #Nivernais
               command = { type = setflag which = Nevers }
               command = { type = trigger which = 170031 } #FRA: Nevers-Rethel inherits Cleves
               command = { type = religion which = catholic }
               command = { type = stability value = -3 }
                 }
      action_c = {
               name = "Император захватывает герцогства (конец игры)"
             command = { type = independence which = HOL }
                     command = { type = secedeprovince which = HOL value = 337 }
               command = { type = secedeprovince which = HOL value = 339 }
                command = { type = secedeprovince which = HOL value = 338 }
                command = { type = secedeprovince which = HOL value = 382 }
               command = { type = secedeprovince which = HOL value = 340 }
               command = { type = secedeprovince which = HOL value = 377 }
               command = { type = secedeprovince which = HOL value = 378 }
               command = { type = secedeprovince which = HOL value = 379 }
               command = { type = secedeprovince which = HOL value = 380 }
               command = { type = secedeprovince which = HOL value = 1924 }
               command = { type = secedeprovince which = HOL value = 1927 }
               command = { type = secedeprovince which = HOL value = 1925 }
               command = { type = independence which = KOL }
               command = { type = independence which = HES }
               command = { type = independence which = OLD }
               command = { type = independence which = PFA }
               command = { type = independence which = HAN }
                command = { type = independence which = MUN }
 command = { type = secedeprovince which = MUN value = 334 }
               command = { type = secedeprovince which = MUN value = 1984 }
 command = { type = secedeprovince which = MUN value = 1937 }
               command = { type = secedeprovince which = KOL value = 1926 }
               command = { type = trigger which = 179202 } #HAB: Confiscation of Cleves 
                 }
}
#Partition of Xanten
event = {
      id = 200109
      trigger = { flag = historical_succession 
                  countrysize = 2 
                  exists = BRA }
      random = no
      country = KLE 
      name = "Раздел Ксантена"
      desc = "EVENTHIST200109" 	 
      style = 3
      
      date = { day = 14 month = november year = 1614 }
      offset = 0
      
      action_a = {
               name = "Разделить герцогство"
               command = { type = religion which = counterreform }
               command = { type = country which = MUN } 
               command = { type = breakvassal which = BRA }
	       command = { type = capital which = 925 }
               command = { type = stability value = 4 }
               command = { type = dynastic which = BAY }
               command = { type = dynastic which = KOL }
               command = { type = relation which = BAY value = 100 }
               command = { type = relation which = SPA value = 100 }
               command = { type = relation which = HAB value = 100 }
               command = { type = relation which = KOL value = 100 }
               command = { type = domestic which = centralization value = 2 }       
               command = { type = domestic which = innovative value = -1 }
               command = { type = desertion which = -1 value = 5000 }
               command = { type = trigger which = 132204 } #Treaty of Xanten
               #command = { type = secedeprovince which = BRA value = 334 } #capital shouldn't be seceded
               command = { type = secedeprovince which = BRA value = 310 }
               command = { type = secedeprovince which = BRA value = 311 }
               command = { type = secedeprovince which = BRA value = 331 }
               command = { type = secedeprovince which = BRA value = 332 }
               command = { type = secedeprovince which = BRA value = 333 }
               command = { type = secedeprovince which = BRA value = 335 }
               command = { type = secedeprovince which = BRA value = 336 }
               command = { type = secedeprovince which = BRA value = 1937 }
               command = { type = secedeprovince which = BRA value = 1926 }
               command = { type = secedeprovince which = BRA value = 1934 }
                 command = { type = secedeprovince which = HOL value = 337 }
               command = { type = secedeprovince which = HOL value = 339 }
                command = { type = secedeprovince which = HOL value = 338 }
                command = { type = secedeprovince which = HOL value = 382 }
               command = { type = secedeprovince which = HOL value = 340 }
               command = { type = secedeprovince which = HOL value = 377 }
               command = { type = secedeprovince which = HOL value = 378 }
               command = { type = secedeprovince which = HOL value = 379 }
               command = { type = secedeprovince which = HOL value = 380 }
               command = { type = secedeprovince which = HOL value = 1924 }
               command = { type = secedeprovince which = HOL value = 1927 }
               command = { type = secedeprovince which = HOL value = 1925 }
               command = { type = independence which = KOL }
                 }
      action_b = {
               name = "Бранденбург получает всё (конец игры)"
         command = { type = independence which = HOL }
                     command = { type = secedeprovince which = HOL value = 337 }
               command = { type = secedeprovince which = HOL value = 339 }
                command = { type = secedeprovince which = HOL value = 338 }
                command = { type = secedeprovince which = HOL value = 382 }
               command = { type = secedeprovince which = HOL value = 340 }
               command = { type = secedeprovince which = HOL value = 377 }
               command = { type = secedeprovince which = HOL value = 378 }
               command = { type = secedeprovince which = HOL value = 379 }
               command = { type = secedeprovince which = HOL value = 380 }
               command = { type = secedeprovince which = HOL value = 1924 }
               command = { type = secedeprovince which = HOL value = 1927 }
               command = { type = secedeprovince which = HOL value = 1925 }
               command = { type = independence which = KOL }
               command = { type = independence which = HES }
               command = { type = independence which = OLD }
               command = { type = independence which = PFA }
               command = { type = independence which = HAN }
                command = { type = independence which = MUN }
 command = { type = secedeprovince which = MUN value = 334 }
               command = { type = secedeprovince which = MUN value = 1984 }
 command = { type = secedeprovince which = MUN value = 1937 }
               command = { type = secedeprovince which = KOL value = 1926 }
               command = { type = revolt which = -1 }
               command = { type = revolt which = -1 }
               command = { type = trigger which = 132203 } #BRA: Inheritance of Cleves
                 }
      action_c = {
               name = "Палатинат-Неуберг получает всё"
               command = { type = religion which = counterreform }
               command = { type = country which = MUN } 
               command = { type = breakvassal which = BRA }
	       command = { type = capital which = 925 }
               command = { type = war which = BRA } 
               command = { type = stability value = -3 }
               command = { type = revolt which = -1 }
               command = { type = desertion which = -1 value = 8000 }
               command = { type = dynastic which = BAY }
               command = { type = dynastic which = KOL }
               command = { type = relation which = BAY value = 100 }
               command = { type = relation which = SPA value = 100 }
               command = { type = relation which = HAB value = 100 }
               command = { type = relation which = KOL value = 100 }
               command = { type = domestic which = centralization value = 2 }       
               command = { type = domestic which = innovative value = -1 }
               command = { type = independence which = KOL }
               command = { type = trigger which = 132205 } #BRA: War over Cleves
                }
}
#Partition of Xanten
event = {
      id = 200110
      trigger = { flag = historical_succession 
                  NOT = { countrysize = 2 }
                  exists = BRA }
      random = no
      country = KLE 
      name = "Раздел Ксантена"
      desc = "EVENTHIST200110"
      style = 3
      
      date = { day = 14 month = november year = 1614 }
      offset = 0
      
      action_a = {
               name = "Бранденбург получает всё (конец игры)"
               command = { type = revolt which = -1 }
               command = { type = revolt which = -1 }
               command = { type = trigger which = 132203 } #BRA: Inheritance of Cleves
                 }
      action_b = {
               name = "Палатинат-Неуберг получает всё"
               command = { type = religion which = counterreform }
               command = { type = country which = MUN } 
               command = { type = breakvassal which = BRA }
               command = { type = war which = BRA } 
	       command = { type = capital which = 925 }
               command = { type = stability value = -3 }
               command = { type = revolt which = -1 }
               command = { type = desertion which = -1 value = 8000 }
               command = { type = dynastic which = BAY }
               command = { type = dynastic which = KOL }
               command = { type = relation which = BAY value = 100 }
               command = { type = relation which = SPA value = 100 }
               command = { type = relation which = HAB value = 100 }
               command = { type = relation which = KOL value = 100 }
               command = { type = domestic which = centralization value = 2 }       
               command = { type = domestic which = innovative value = -1 }
               command = { type = independence which = KOL }
               command = { type = trigger which = 132205 } #BRA: War over Cleves
                }
}
#Partition of Xanten
event = {
      id = 200111
      trigger = { flag = historical_succession 
                  NOT = { exists = BRA }}
      random = no
      country = KLE 
      name = "Раздел Ксантена"
      desc = "Так как Бранденбург потерял своё наследство, он находится не в лучшем положении для выступления против Вольфганга Вильгельма Палатинат-Неубергского и герцогств Джулич, Слевес и Берга."
      style = 3
      
      date = { day = 14 month = november year = 1614 }
      offset = 0
      
      action_a = {
               name = "Палатинат-Неуберг получает всё"
               command = { type = religion which = counterreform }
               command = { type = country which = MUN } 
	       command = { type = capital which = 1404 }
               command = { type = stability value = -3 }
               command = { type = revolt which = -1 }
               command = { type = desertion which = -1 value = 10000 }
               command = { type = dynastic which = BAY }
               command = { type = dynastic which = KOL }
               command = { type = relation which = BAY value = 100 }
               command = { type = relation which = SPA value = 100 }
               command = { type = relation which = HAB value = 100 }
               command = { type = relation which = KOL value = 100 }
               command = { type = domestic which = centralization value = 2 }       
               command = { type = domestic which = innovative value = -1 }
               command = { type = independence which = KOL }
                }
}


#Kleves events by Twoflower

#Inheritance of Gelre
event = {
        id = 75001
        random = no
        country = KLE
        name = "EVENTNAME75001"
        desc = "EVENTHIST75001"
        style = 1

        action_a ={
                 name = "ACTIONNAME10027A"
                 command = { type = inherit which = GEL }
                 command = { type = addcore which = 338 }
                 command = { type = addcore which = 337 }
                 command = { type = addcore which = 1927 }
                  }
}     

event = {
        id = 75006
        random = no
        country = KLE 
        name = "EVENTNAME75006"
        desc = "EVENTHIST75006"
        style = 2
        
        action_a ={
                  name = "ACTIONNAME75006A"
                  command = { type = inherit which = GEL }
                  command = { type = addcore which = 338 }
                    command = { type = addcore which = 337 }
                 command = { type = addcore which = 1927 }
                  command = { type = trigger which = 75007 }
                  }
        action_b ={ 
                  name = "ACTIONNAME75006B" 
                  command = { type = trigger which = 75008 }
                  command = { type = relation which = HAB value = 100 }
                  command = { type = stability value = -1 }
                  } 
}

event = {
        id = 75011
        random = no
        country = KLE 
        name = "EVENTNAME75006"
        desc = "EVENTHIST75011"
        style = 2
        
        action_a ={
                  name = "ACTIONNAME75011A"
                  command = { type = inherit which = GEL }
                  command = { type = addcore which = 338 }
                    command = { type = addcore which = 337 }
                 command = { type = addcore which = 1927 }
                  }           
}

event = {
        id = 75013
        random = no
        country = KLE 
        name = "EVENTNAME75006"
        desc = "EVENTHIST75013"
        style = 2
        
        action_a ={
                  name = "ACTIONNAME75013A"
                  command = { type = inherit which = GEL }
                  command = { type = addcore which = 338 }
                  command = { type = trigger which = 75014 }
                  }
        action_b ={ 
                  name = "ACTIONNAME75013B" 
                  command = { type = trigger which = 75015 }
                  command = { type = relation which = FRA value = 100 }
                  command = { type = stability value = -1 }
                  } 
}       


#(1539-1560) Loss of Geldre in 1543
event = {
	id = 200011
	trigger = {
		event = 75006 #Inheritance of Geldre
		owned = { province = 338 data = SPA }
	}
	random = no
	country = KLE
	name = "Treaty of Venlo" #
	desc = "EVENTHIST200011"

	date = { day = 1 month = january year = 1539 }
	offset = 5
	deathdate = { day = 29 month = december year = 1560 }

	action_a = {
		name = "Sign the treaty" #Sign the treaty
		command = { type = removecore which = 338 } #Geldre
		command = { type = relation which = SPA value = 100 }
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = SAC value = -50 }
		command = { type = relation which = HES value = -50 }
		command = { type = relation which = PFA value = -50 }
		command = { type = domestic which = innovative value = -2 }
		command = { type = religion which = catholic }
	}
	action_b = {
		name = "Reject the treaty" #Reject the treaty
		command = { type = relation which = SPA value = -200 }
		command = { type = war which = SPA }
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = SAC value = 50 }
		command = { type = relation which = HES value = 50 }
		command = { type = relation which = PFA value = 50 }
	}
}
#(1539-1560) Loss of Geldre (France inherited Burgundy)
event = {
	id = 200012
	trigger = {
		event = 75013 #Inheritance of Geldre (anti-French version)
		owned = { province = 338 data = FRA }
	}
	random = no
	country = KLE
	name = "Treaty of Venlo" 
	desc = "EVENTHIST200012"
	date = { day = 1 month = january year = 1539 }
	offset = 5
	deathdate = { day = 29 month = december year = 1560 }

	action_a = {
		name = "Sign the treaty" 
		command = { type = removecore which = 338 } #Geldre
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = SAC value = -50 }
		command = { type = relation which = HES value = -50 }
		command = { type = relation which = PFA value = -50 }
		command = { type = domestic which = innovative value = -2 }
		command = { type = religion which = catholic }
	}
	action_b = {
		name = "Reject the treaty" 
		command = { type = relation which = FRA value = -200 }
		command = { type = war which = FRA }
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = SAC value = 50 }
		command = { type = relation which = HES value = 50 }
		command = { type = relation which = PFA value = 50 }
	}
}

#(1539) Heresbach becomes adviser of the Duke
event = {
	id = 200010
	random = no
	country = KLE
	name = "Konrad Heresbach becomes ducal adviser" #
	desc = "EVENTHIST200010"

	date = { day = 6 month = february year = 1539 }

	action_a = {
		name = "ACTIONNAME200010A" #Appoint Heresbach adviser
		command = { type = DIP which = 2 value = 444 }
		command = { type = ADM which = 1 value = 444 }
		command = { type = infra value = 50 }
	}
	action_b = {
		name = "ACTIONNAME200010B" #Get rid of Heresbach
		command = { type = domestic which = innovative value = -1 }
		command = { type = stability value = 1 }
	}
}