#####The Palatinate (KurPfalz) Major Events#####
#########By Joakim 'Greven' Bergqwist ##########
#########   Hvard Moe                ##########
#########   Tom 'Demetrios' Rinschler ##########
################################################

#The League of Augsburg#
event = {

	id = 3664				#triggered by FRA3127#
	random = no
	country = PFA
	name = "EVENTNAME3664"
	desc = "EVENTHIST3664"
	style = 3

	action_a ={					#Defy French claims#
		name = "ACTIONNAME3664A"
		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 = KLE value = 100 }
		command = { type = relation which = KOL value = 100 }
		command = { type = relation which = BAD value = 100 }
		command = { type = relation which = THU value = 100 }
	}

	action_b ={					#Ignore it#
		name = "ACTIONNAME3664B"
		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 = KLE value = -50 }
		command = { type = relation which = KOL value = -50 }
		command = { type = relation which = BAD value = -50 }
		command = { type = relation which = THU value = -50 }
	}
}

#The Winterking of Prague#
event = {

	id = 3665			#Triggered by BOH3643#
	random = no
	country = PFA
	name = "EVENTNAME3665"
	desc = "EVENTHIST3665"
	style = 3

	action_a ={
		name = "I accept the crown"
		command = { type = inherit which = BOH }
		command = { type = stability value = 1 }
		command = { type = relation which = BOH value = 150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = INF which = -1 value = 10000 }
		command = { type = addcore which = 314 }
		command = { type = addcore which = 315 }
		command = { type = addcore which = 328 }
		command = { type = addcore which = 329 }
		command = { type = addcore which = 330 }
		command = { type = addcore which = 840 }
		command = { type = addcore which = 881 }
		command = { type = addcore which = 1003 }
		command = { type = addcore which = 1940 }
		command = { type = addcore which = 1943 }
	}
	action_b ={
		name = "I accept, but let them have a governor"
		command = { type = vassal which = BOH }
		command = { type = stability value = 2 }
		command = { type = relation which = BOH value = 150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = INF which = -1 value = 10000 }
		command = { type = alliance which = BOH }
	}
}

event = {

	id = 12345620
	trigger = {
		 exists = HAB 
                 owned   = { province = 328 data = -1 } 
		 	AND = { 
				OR = {
					religion = protestant
					religion = reformed
						}
                                NOT = {
                                      control  = { province = 328 data = -1 }
                                      control  = { province = 328 data = REB }  
                                      event = 12345621  
                                }

			}

	}
	random = no
	country = PFA
	name = "The winter king is dead"
	desc = "With the Czech army destroyed, Tilly entered Prague and the revolt broke down. King Frederick with his wife Elizabeth fled the country. Twenty-seven noble leaders of the insurrection were executed at Prague's Old Town Square, along with an untold number of common people."
	style = 3
	
	date = { day = 8 month = november year = 1620 }
	offset = 7
	deathdate = { day = 1 month = january year = 1621 }

	action_a ={
		name = "Run like a coward"
		command = { type = stability value = 1 }
		command = { type = removecore which = 314 }
		command = { type = removecore which = 315 }
		command = { type = removecore which = 328 }
		command = { type = removecore which = 329 }
		command = { type = removecore which = 330 }
		command = { type = removecore which = 840 }
		command = { type = removecore which = 881 }
		command = { type = removecore which = 1003 }
		command = { type = removecore which = 1940 }
		command = { type = removecore which = 1943 }
		command = { type = secedeprovince which = HAB value = 314 }
		command = { type = secedeprovince which = HAB value = 315 }
		command = { type = secedeprovince which = HAB value = 328 }
		command = { type = secedeprovince which = HAB value = 329 }
		command = { type = secedeprovince which = HAB value = 330 }
		command = { type = secedeprovince which = HAB value = 840 }
		command = { type = secedeprovince which = HAB value = 881 }
		command = { type = secedeprovince which = HAB value = 1003 }
		command = { type = secedeprovince which = HAB value = 1940 }
		command = { type = secedeprovince which = HAB value = 1943 }
		command = { type = trigger   which = 12345623 }
	}
	action_b ={
		name = "Fight to last man standing"
		command = { type = stability value = -2 }
		command = { type = relation which = HAB value = -150 }
		command = { type = INF which = -1 value = 10000 }
		command = { type = monarch   which = 92340 }
		command = { type = wakemonarch  which = 92341 }
		command = { type = sleepmonarch  which = 06072 }
	}
}

event = {

	id = 12345621
	trigger = {
                 owned   = { province = 328 data = -1 }
		 	AND = { 
				OR = {
					religion = protestant
					religion = reformed
						}
				OR = {
                                      control  = { province = 328 data = -1 }
                                      control  = { province = 328 data = REB }    
                                                 }
                                    NOT = {   event = 12345620    }
			}

	}
	random = no
	country = PFA
	name = "The winter king is still alive"
	desc = "With the Catholic League's army destroyed, King Frederick can now take back our country."
	style = 3

        date = { day = 8 month = november year = 1620 }
	offset = 7
	deathdate = { day = 1 month = january year = 1621 }

	action_a ={
		name = "Fight to last man standing"
		command = { type = stability value = 1 }
		command = { type = relation which = HAB value = -150 }
		command = { type = INF which = -1 value = 10000 }
		command = { type = CAV which = -1 value = 10000 }
                command = { type = vp   value = 100 }
 		command = { type = monarch   which = 92340 }
		command = { type = wakemonarch  which = 92341 }
		command = { type = sleepmonarch  which = 06072 }
	}
	action_b ={
		name = "Run like a coward"
		command = { type = stability value = -2 }
		command = { type = removecore which = 314 }
		command = { type = removecore which = 315 }
		command = { type = removecore which = 328 }
		command = { type = removecore which = 329 }
		command = { type = removecore which = 330 }
		command = { type = removecore which = 840 }
		command = { type = removecore which = 881 }
		command = { type = removecore which = 1003 }
		command = { type = removecore which = 1940 }
		command = { type = removecore which = 1943 }
		command = { type = secedeprovince which = HAB value = 314 }
		command = { type = secedeprovince which = HAB value = 315 }
		command = { type = secedeprovince which = HAB value = 328 }
		command = { type = secedeprovince which = HAB value = 329 }
		command = { type = secedeprovince which = HAB value = 330 }
		command = { type = secedeprovince which = HAB value = 840 }
		command = { type = secedeprovince which = HAB value = 881 }
		command = { type = secedeprovince which = HAB value = 1003 }
		command = { type = secedeprovince which = HAB value = 1940 }
		command = { type = secedeprovince which = HAB value = 1943 }
		command = { type = trigger   which = 12345623 }
	}
}
event = {

	id = 12345623
	random = no
	country = PFA
	name = "The imperial edict"
	desc = "After Count Tilly had devestated the Palatinate, an imperial edict was signed, giving Maximilian I of Bavaria the Prince Electorship."
	style = 3

	action_a ={
		name = "Well we did what we could"
		command = { }
	}
}

#The Bavarian Succession of 1777#
event = {

	id = 3666			#Triggered by HAB3207#
	random = no
	country = PFA
	name = "EVENTNAME3666"
	desc = "EVENTHIST3666"
	style = 4

	action_a ={				#Make legal claims on Bayern#
		name = "ACTIONNAME3666A"
		command = { type = casusbelli which = BAY value = 24 }
		command = { type = relation which = BAY value = -150 }
		command = { type = relation which = PRU value = -150 }
		command = { type = relation which = HAB value = 200 }
	}

	action_b ={				#Withdraw from this unhealth affair#
		name = "ACTIONNAME3666B"
		command = { type = relation which = BAY value = 50 }
		command = { type = relation which = PRU value = 50 }
		command = { type = relation which = HAB value = -100 }
		command = { type = stability value = 1 }
		command = { type = trade value = 1000 }
	}
}
#The League of Schmalkalden#
event = {

	id = 3667
	trigger = {
		 exists = HAB  
		 	AND = { 
				OR = {
					religion = protestant
					religion = reformed
						}
			}
	}
	random = no
	country = PFA
	name = "EVENTNAME3667"
	desc = "EVENTHIST3667"
	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 = "ACTIONNAME3667A"
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = ENG value = 100 }
		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 = BAD value = 150 }
		command = { type = relation which = SAC value = 150 }
		command = { type = relation which = THU value = 150 }
		command = { type = relation which = KLE value = 100 }
		command = { type = relation which = KOL value = 50 }
		command = { type = relation which = BAY value = 50 }
		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 = "ACTIONNAME3667B"
		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 = BAD value = -100 }
		command = { type = relation which = SAC value = -100 }
		command = { type = relation which = THU value = -100 }
		command = { type = relation which = HAB value = 50 }
	}
}

#The Evangelic Union#
event = {

	id = 3668
	trigger = {
		 OR = {
			religion = protestant
			religion = reformed
				}
			}	
	random = no
	country = PFA
	name = "EVENTNAME3668"
	desc = "EVENTHIST3668"
	style = 3

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


	action_a ={					#Prepare to Join#
		name = "ACTIONNAME3668A"
		command = { type = relation which = FRA value = 100 }
		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 = BAD value = 150 }
		command = { type = relation which = SAC value = 150 }
		command = { type = relation which = THU value = 150 }
		command = { type = relation which = SHL value = 150 }
		command = { type = relation which = KLE value = 100 }
		command = { type = relation which = KOL value = 50 }
		command = { type = relation which = BAY value = 50 }
		command = { type = relation which = PAP value = -100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = relation which = HAB value = -150 }
	}

	action_b ={					#Stay Neutral#
		name = "ACTIONNAME3668B"
		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 = BAD value = -100 }
		command = { type = relation which = SAC value = -100 }
		command = { type = relation which = THU value = -100 }
		command = { type = relation which = HAB value = 50 }
	}
}

#The Catholic League#
event = {

	id = 3669
	trigger = {
		 OR = {
			religion = catholic
			religion = counterreform
				}
			}	
	random = no
	country = PFA
	name = "EVENTNAME3669"
	desc = "EVENTHIST3669"
	style = 3

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

	action_a ={					#Prepare to Join#
		name = "ACTIONNAME3669A"
		command = { type = relation which = FRA value = -100 }
		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 = BAD value = -150 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = THU value = -150 }
		command = { type = relation which = SHL value = -150 }
		command = { type = relation which = KLE value = 50 }
		command = { type = relation which = KOL value = 100 }
		command = { type = relation which = BAY 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 ={					#Stay Neutral#
		name = "ACTIONNAME3669B"
		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 = BAD value = 50 }
		command = { type = relation which = SAC value = 50 }
		command = { type = relation which = THU value = 50 }
		command = { type = relation which = BAY value = -50 }
		command = { type = relation which = KLE value = -50 }
		command = { type = relation which = KOL value = -50 }
		command = { type = relation which = HAB value = -100 }
	}
}

#The Kleve Inheritance#
event = {
	id = 3858
	
	# Triggered by KLE 3854
	
	random = no
	country = PFA
	name = "EVENTNAME3855" # Re-use text.
	desc = "EVENTHIST3855"
	style = 3

	action_a = {		#Inherit Kleves#
		name = "ACTIONNAME3855A"
		command = { type = inherit which = KLE }
		command = { type = trigger which = 3856 }
	}
}

event = {
	id = 3859
	
	# Triggered by BRA 3855
	
	random = no
	country = PFA
	name = "EVENTNAME3856" # Re-use text.
	desc = "EVENTHIST3856"
	style = 3

	action_a = {		#No inheritance of Kleves#
		name = "ACTIONNAME3856A"
		command = { type = casusbelli which = BRA value = 60 }
		command = { type = relation which = BRA value = -100 }
	}
}

event = {
	id = 3860
	
	# Triggered by KLE 3854
	
	random = no
	country = PFA
	name = "EVENTNAME3856" # Re-use text.
	desc = "EVENTHIST3856"
	style = 3

	action_a = {		#No inheritance of Kleves#
		name = "ACTIONNAME3856A"
		command = { type = casusbelli which = KLE value = 60 }
		command = { type = relation which = KLE value = -50 }
	}
}

#Events by Hive

#The North German Confederation#
event = {
	id = 15352
	country = PFA
	random = no
	name = "The North German Confederation"
	desc = "Prussian premier Otto von Bismarck acquired Schleswig-Holstein after defeating Denmark with the help of Austria in a short war fought during 1864. In 1866 he attacked and defeated Austria, leading to the formation of the North German Confederation which excluded Austria. After Bismarck provoked France, the Franco-Prussian War broke out in 1870 and the southern German states, viewing France as the aggressor, joined the North German Confederation."
	
	action_a = {
		name = "Join"
		command = { type = trigger which = 15368 }
	}

	action_b = {
		name = "Stay out"
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = HAB value = 100 }
		command = { type = stability value = -2 }
	}
}