#####Bayern Major Events########
#By Joakim 'Greven' Bergqwist  #
#   Håvard Moe                 #
#   Tom 'Demetrios' Rinschler  #
#   Henrik 'Doomdark' Fåhraeus #
################################

#The League of Schmalkalden#
event = {

	id = 3613
	trigger = {
		 exists = HAB
		 	AND = {
				OR = {
					religion = protestant
					religion = reformed
						}
			}
	}
	random = no
	country = BAY
	name = "EVENTNAME3613"
	desc = "EVENTHIST3613"
	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 = "ACTIONNAME3613A"
		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 ={					#Ignore it#
		name = "ACTIONNAME3613B"
		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 Evangelic Union#
event = {

	id = 3614
	trigger = {
		 OR = {
			religion = protestant
			religion = reformed
				}
			}
	random = no
	country = BAY
	name = "EVENTNAME3614"
	desc = "EVENTHIST3614"
	style = 3

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

	action_a ={					#Prepare to Join#
		name = "ACTIONNAME3614A"
		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 = "ACTIONNAME3614B"
		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 = 3615
	trigger = {
		 OR = {
			religion = catholic
			religion = counterreform
				}
			}
	random = no
	country = BAY
	name = "EVENTNAME3615"
	desc = "EVENTHIST3615"
	style = 3

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

	action_a ={					#Prepare to Join#
		name = "ACTIONNAME3615A"
		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 = KLE 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 = "ACTIONNAME3615B"
		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 Effects of the Pragmatic Sanction#
event = {

	id = 3616
	random = no
	country = BAY
	name = "EVENTNAME3616"
	desc = "EVENTHIST3616"
	style = 4

	date = { day = 1 month = january year = 1741 }
	offset = 10
	deathdate = { day = 1 month = june year = 1741 }

	action_a ={				#Anti-Habsburg#
		name = "ACTIONNAME3616A"
		command = { type = casusbelli which = HAB value = 36 }
		command = { type = stability value = -1 }
		command = { type = relation which = PRU value = 150 }
		command = { type = relation which = SAC value = 150 }
		command = { type = relation which = GEN value = 50 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = ENG value = -100 }
		command = { type = relation which = HOL value = -100 }
		command = { type = relation which = RUS value = -100 }
		command = { type = relation which = HES value = -50 }
		command = { type = relation which = HAN value = -50 }
		command = { type = relation which = HAB value = -150 }
	}

	action_b ={				#Neutral#
		name = "ACTIONNAME3616B"
		command = { type = relation which = PRU value = -50 }
		command = { type = relation which = SAC value = -50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = ENG value = 100 }
		command = { type = relation which = HOL value = 100 }
		command = { type = relation which = RUS value = 50 }
		command = { type = relation which = HES value = 100 }
		command = { type = relation which = HAN value = 100 }
		command = { type = relation which = HAB value = 100 }
		command = { type = stability value = 1 }
	}
	action_c ={				#Pro-Habsburg#
		name = "ACTIONNAME3616C"
		command = { type = relation which = PRU value = -150 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = HOL value = 100 }
		command = { type = relation which = RUS value = 50 }
		command = { type = relation which = HES value = 150 }
		command = { type = relation which = HAN value = 150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = stability value = -2 }
		command = { type = casusbelli which = PRU value = 12 }
	}
}

#The Bavarian Succession of 1777#
event = {

	id = 3617				#Triggered by HAB3207#
	random = no
	country = BAY
	name = "EVENTNAME3617"
	desc = "EVENTHIST3617"
	style = 4

	action_a ={				#Defend you Throne#
		name = "ACTIONNAME3617A"
		command = { type = casusbelli which = HAB value = 24 }
		command = { type = casusbelli which = PFA value = 24 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = PFA value = -150 }
		command = { type = relation which = PRU value = 200 }
		command = { type = dynastic which = PRU }
		command = { type = stability value = 1 }
		command = { type = inflation value = -5 }
		command = { type = treasury value = 300 }
		command = { type = INF which = -1 value = 25000 }
		command = { type = CAV which = -3 value = 12000 }
		command = { type = ART which = -3 value = 35 }
	}
}

event = {
	id = 3853

	# Triggered by COL 3852

	random = no
	country = BAY
	name = "EVENTNAME3853"
	desc = "EVENTHIST3853"
	style = 2

	action_a = {		#Bavarian influence in Cologne#
		name = "ACTIONNAME3853A"
		command = { type = vassal which = KOL }
		command = { type = dynastic which = KOL }
	}
}

#Events from AoN modified by Hive

#The Cultural Capital of München#
event = {
	id = 15103
	trigger = { monarch = 15042 }
	random = no
	country = BAY
	name = "The Cultural Capital of München"
	desc = "During the reign of Ludwig I, München quickly became the cultural centre of Germany. Poets, painters, architects and scientists gathered in the Bavarian capital, because of promotional efforts by Ludwig I."
	style = 5
	date = { year = 1825 }
	offset = 100
	deathdate = { year = 1845 }
	action_a ={
		name = "Promote München"
		command = { type = provincetax which = -2 value = 5 }
                command = { type = domestic which = innovative value = 1 }
                command = { type = infra value = 1000 }
                command = { type = trade value = 1000 }
                command = { type = gainmanufactory which = -2 value = luxury }
		command = { type = treasury value = -400 }
                command = { type = stability value = 1 }        
	}
	action_b ={
		name = "It has no interest"
		command = { }
	}

}

#Reactionary Rule#
event = {
	id = 15104
	random = no
	trigger = { monarch = 15042 }
	country = BAY
	name = "Reactionary Rule"
	desc = "In the beginning of his reign, Ludwig I was very liberal and promoted free trade and industry. As time passed by, however, he became more and more reactionary, which began to turn his popularity into the opposite in large portions of the population."
	style = 5
	date = { month = april year = 1830 }
	offset = 1000
	deathdate = { month = april year = 1838 }
	action_a ={
		name = "Reactionary policies!"
		command = { type = domestic which = INNOVATIVE value = -1 } 
		command = { type = domestic which = CENTRALIZATION value = 1 } 
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = domestic which = MERCANTILISM value = 1 }          
		command = { type = stability value = -2 }     
		command = { type = ADM which = -1 value = 100 } 
		command = { type = MIL which = 1 value = 100 }              
	}
	action_b ={
		name = "Remain liberal"   
		command = { type = stability value = 1 } 
	}

}

#Revolution of 1848#
event = {
	id = 15428
	trigger = { 
		event = 15104
		event = 15253
	}
	random = no
	country = BAY
	name = "Revolution of 1848"
	desc = "The revolt year of 1848 did not go unnoticed in Germany, and Bavaria was no exception. Liberal sentiment swept through the lands, and the monarchs had at least temporarily no other choice but to agree to the demands. In Bavaria, the revolutionary year resulted in the abdication of Ludwig I. Moreover, the abolishment of the guild restriction opened the way for industrialization."
	style = 5
	date = { month = may year = 1848 }
	action_a ={
		name = "Remove Ludwig"
		command = { type = sleepmonarch which = 15042 }  
		command = { type = wakemonarch which = 15043 } 
		command = { type = provincetax which = -2 value = 1 } 
		command = { type = provincetax which = -1 value = 1 }   
		command = { type = domestic which = INNOVATIVE value = 2 } 
		command = { type = domestic which = CENTRALIZATION value = -1 } 
		command = { type = domestic which = SERFDOM value = -1 } 
		command = { type = stability value = -2 }    
	}
	action_b ={
		name = "Ignore the revolters" 
		command = { type = revolt which = -2 }   
		command = { type = revolt which = -2 }   
		command = { type = revolt which = -2 }
		command = { type = revolt which = -2 }   
	}

}

#Events by Hive

#Franco-Prussian War#
event = {
	id = 15380
	country = BAY
	random = no
	name = "Franco-Prussian War"
	desc = "After Bismarck provoked France to declare war in 1870, the southern German states, viewing France as the aggressor, joined the North German Confederation."
	
	action_a = {
		name = "A clear French aggression! Join our German brothers!"
		command = { type = trigger which = 15384 }
	}

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