#####The Palatinate (KurPfalz) Major Events#####
#########By Joakim 'Greven' Bergqwist ##########
#########   Hеvard 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 ={				#I will stay longer than a Winter!#
		name = "ACTIONNAME3665A"
		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 = secedeprovince which = BAY value = 1929 } 
		command = { type = INF which = -1 value = 10000 }
		command = { type = alliance which = BOH }
	}
}

#The Bavarian Succession of 1777#
event = {

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

	action_a = {
                 name = "Acknowledge the Austrian claims"
                 command = { type = alliance which = HAB }
                 command = { type = relation which = HAB value = 50 }
                 command = { type = sleepevent which = 666225 }
                   }
        action_b = { 
                 name = "Defend Straubing against Habsburg"
                 command = { type = alliance which = PRU }
                 command = { type = relation which = PRU value = 150 }
                 command = { type = casusbelli which = HAB value = 24 }
                   }     
}
#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 }
	}
}

# Palatinate Events #

event = {
	id = 29001
	random = no
	country = PFA
	name = "EVENTNAME29001"
	desc = "EVENTHIST29001"
	style = 1
	date = { day = 1 month = january year = 1449 }
	deathdate = { day = 1 month = february year = 1449 }
	action_a = {
		name = "ACTIONNAME29001A"
		command = { type = infra value = 100 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = provincetax which = 345 value = 1 }
	}
	action_b = {
		name = "ACTIONNAME29001B"
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = SERFDOM value = -2 }
	}
}
event = {
	id = 29002
	random = no
	country = PFA
	name = "EVENTNAME29002"
	desc = "EVENTHIST29002"
	style = 2
	date = { day = 1 month = january year = 1508 }
	deathdate = { day = 2 month = february year = 1510 }
	action_a = {
		name = "ACTIONNAME29002A"
		command = { type = fortress which = 345 value = 1 }
		command = { type = treasury value = -100 }		
	}
	action_b = {
		name = "ACTIONNAME29002B"
		command = { type = vp value = -5 }
	}
}
event = {
	id = 29003
	random = no
	country = PFA
	name = "EVENTNAME29003"
	desc = "EVENTHIST29003"
	style = 2
	date = { day = 1 month = may year = 1537 }
	deathdate = { day = 1 month = september year = 1537 }
	action_a = {
		name = "ACTIONNAME40098A"
		command = { type = stability value = -3 }
		command = { type = infra value = -50 }
	}
}
event = {
	id = 29004
	random = no
	country = PFA
	name = "EVENTNAME29004"
	desc = "EVENTHIST29004"
	style = 2
	date = { day = 1 month = january year = 1556 }
	deathdate = { day = 1 month = february year = 1556 }
	action_a = {
		name = "ACTIONNAME40120A"
		command = { type = relation which = -1 value = 30 }
		command = { type = relation which = -1 value = 25 }
		command = { type = relation which = -1 value = 20 }
		command = { type = relation which = -1 value = 15 }
	}
}
event = {
	id = 29005
	random = no
	country = PFA
	name = "EVENTNAME29005"
	desc = "EVENTHIST29005"
	style = 3
	date = { day = 1 month = january year = 1620 }
	deathdate = { day = 1 month = february year = 1620 }
	action_a = {
		name = "ACTIONNAME29005A"
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = sleepevent which = 29006 }
		command = { type = sleepevent which = 29007 }
	}
	action_b = {
		name = "ACTIONNAME29005B"
		command = { type = stability value = -1 }
		command = { type = sleepevent which = 29011 }
	}
}
event = { 
        id = 29006 
        trigger = { war = { country = PFA country = BAY } 
                    control = { province = 345 data = BAY }                    
        }
        random = NO 
        country = PFA 
        name = "EVENTNAME29006" 
        desc = "EVENTHIST29006"
        date = { day = 2 month = january year = 1620 } 
	  deathdate = { day = 1 month = january year = 1648 }
        style = 3 
        action_a = { 
        	   name = "ACTIONNAME29006A" 
                   command = { type = domestic which = INNOVATIVE value = -2 }
                   command = { type = provincetax which = 345 value = -1 }
                   command = { type = infra value = -500 }
                   command = { type = trade value = -500 }
                   command = { type = sleepevent which = 29007 }
	}
}
event = { 
        id = 29007 
        trigger = { war = { country = PFA country = FRA } 
                    control = { province = 345 data = FRA }                     
        }
        random = NO 
        country = PFA 
        name = "EVENTNAME29007" 
        desc = "EVENTHIST29007"
        date = { day = 2 month = january year = 1620 } 
	deathdate = { day = 1 month = january year = 1648 }
        style = 3 
        action_a = { 
        	   name = "ACTIONNAME29006A" 
                   command = { type = domestic which = INNOVATIVE value = -2 }
                   command = { type = provincetax which = 345 value = -1 }
                   command = { type = infra value = -500 }
                   command = { type = trade value = -500 }
                   command = { type = sleepevent which = 29006 }
	}
}
event = { 
	id = 29008 
	trigger = { war = { country = PFA country = BAY } 
                  control = { province = 345 data = BAY }
                  exists = PAP                    
	} 
	random = NO 
	country = BAY
	name = "EVENTNAME29008" 
	desc = "EVENTHIST29008"
	date = { day = 2 month = january year = 1620 } 
	deathdate = { day = 1 month = january year = 1648 }
	style = 3 
	action_a = { 
        	name = "ACTIONNAME29008A" 
		command = { type = relation which = PFA value = -100 }
		command = { type = relation which = PAP value = 100 }
		command = { type = trigger which = 29009 }              
	}
	action_b = {
		name = "ACTIONNAME29008B"
		command = { type = relation which = PFA value = 100 }
            	command = { type = relation which = PAP value = -100 }
            	command = { type = sleepevent which = 29009 }
        }
}
event = {
	id = 29009
	trigger = { event = 29008 }
	random = no
	country = PFA
	name = "EVENTNAME29009"
	desc = "EVENTNAME29009"
	style = 3
	date = { day = 2 month = january year = 1620 }
	deathdate = { day = 1 month = january year = 1648 }
	action_a = {
		name = "ACTIONNAME29009A"
		command = { type = stability value = -1 }
		command = { type = sleepevent which = 29010}
	}
	action_b = {
		name = "ACTIONNAME29009B"
		command = { type = casusbelli which = PAP value = 144 }
	}
}
event = { 
	id = 29010 
	trigger = { war = { country = PFA country = PAP } 
                    control = { province = 399 data = PFA }
                    event = 29009                    
        } 
	random = NO 
	country = PFA
	name = "EVENTNAME29010" 
	desc = "EVENTHIST29010"
	date = { day = 2 month = january year = 1620 } 
	deathdate = { day = 1 month = january year = 1670 }
	style = 3 
	action_a = { 
        	name = "ACTIONNAME29010A" 
                command = { type = vp value = 30 }
                command = { type = relation which = PAP value = -100 }             
	}
}
event = {
	id = 29011
	random = no
	country = PFA
	name = "EVENTNAME29011"
	desc = "EVENTHIST29011"
	style = 3
	date = { day = 1 month = january year = 1652 }
	deathdate = { day = 1 month = february year = 1652 }
	action_a = {
		name = "ACTIONNAME29011A"
		command = { type = domestic which = INNOVATIVE value = 1 }
	}
}
event = {
	id = 29012
	random = no
	trigger = {
		   religion = reformed
			}	
	country = PFA
	name = "EVENTNAME29012"
	desc = "EVENTHIST29012"
	style = 1
	date = { day = 1 month = january year = 1653 }
	deathdate = { day = 1 month = december year = 1653 }
	action_a = {
		name = "ACTIONNAME40120A"
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = relation which = SCO value = 50 }
		command = { type = relation which = HES value = 75 }
		command = { type = relation which = HOL value = 75 }
		command = { type = stability value = 1 }
		
	}
}
event = {
	id = 29013
	random = no
	country = PFA
	name = "EVENTNAME29013"
	desc = "EVENTHIST29013"
	style = 1
	date = { day = 1 month = january year = 1709 }
	deathdate = { day = 1 month = march year = 1709 }
	action_a = {
		name = "ACTIONNAME29013A"
		command = { type = population which = 345 value = -10000 }
		command = { type = population which = 345 value = -10000 }
		command = { type = revoltrisk which = 24 value = 3 }
	}
	action_b = {
		name = "ACTIONNAME29013B"
		command = { type = population which = 345 value = -2500 }
		command = { type = population which = 345 value = -1000 }
		command = { type = provincetax which = 345 value = -1 }
		command = { type = revoltrisk which = 24 value = -1 }
	}
}
event = {
	id = 29014
	random = no
	country = PFA
	name = "EVENTNAME29014"
	desc = "EVENTHIST29014"
	style = 4
	date = { day = 1 month = may year = 1750 }
	deathdate = { day = 1 month = august year = 1750 }
	action_a = {
		name = "ACTIONNAME29014A"
		command = { type = relation which = -1 value = 30 }
		command = { type = relation which = -1 value = 30 }
		command = { type = relation which = -1 value = 30 }
		command = { type = relation which = -1 value = 30 }
		command = { type = treasury value = -50}
	}
	action_b = {
		name = "ACTIONNAME29014B"
		command = { type = vp value = -5 }
	}
}
event = {
	id = 29015
	random = no
	country = PFA
	name = "EVENTNAME29015"
	desc = "EVENTHIST29015"
	style = 5
	date = { day = 1 month = may year = 1764 }
	deathdate = { day = 1 month = september year = 1764 }
	action_a = {
		name = "ACTIONNAME40098A"
		command = { type = stability value = -3 }
		command = { type = infra value = -50 }
	}
}
event = {
	id = 29016
	random = no
	country = PFA
	name = "EVENTNAME29016"
	desc = "EVENTHIST29016"
	style = 5
	date = { day = 1 month = january year = 1803 }
	deathdate = { day = 1 month = december year = 1803 }
	action_a = {
		name = "ACTIONNAME29016A"
		command = { type = domestic which = INNOVATIVE value = 1 }
	}
}





#Ruprecht von der Pfalz elected Archbishop-Elector of Cologne
event = {
          id = 255000
          random = no
          country = PFA
          name = "Рупрехт фон дер Пфальц избран архиепископом Кёльна"          
          desc = "В 1463 году Рупрехт, брат Фридриха Палатинатского, был избран новым архиепископом Кёльна и герцогства Вестфалии. При помощью брата он сумел стабилизировать финансовую ситуацию в стране после бедственной войны и возвратить некоторые из территорий, которые пришлось заложить под проценты его предшественниками."
          style = 1

          action_a ={
                      name = "OK"
		      command = { type = relation which = KOL value = 50 }
		      command = { type = vassal which = KOL }
		      command = { type = alliance which = KOL }
                      command = { type = treasury value = -50 }
                      }
   }
#Landshut succession
event = {
      id = 255001
      random = no 
      country = PFA 
      name = "Война за Ландсхут"
 desc = "1 декабря 1503 года герцог Баварии-Ландсхут умер, не оставив наследника. Не принимая во внимание некоторые соглашения, заключенные еще в XV веке, которые должны были гарантировать право унаследования Баварией-Мюнхен, он провозгласил свою дочь Элизабет и ее мужа пфальцграфа Рупрехта наследниками своего герцогства. Это стало причиной начала войны между пфальцграфом и баварскими Виттельсбахами за право наследования."
      style = 2
      
      action_a = {
               name = "Предоставить наши требования"
               command = { type = casusbelli which = BAY value = 36 }
               command = { type = relation which = BAY value = -100 }
                 }
      action_b = {
               name = "Признать требования между Мюнхеном и Ландсхутом"
               command = { type = relation which = BAY value = 100 } 
               command = { type = trigger which = 125007 } #BAY: Inheritance of Landshut              
               command = { type = sleepevent which = 179001 } #HAB: Rewards of Mediation
                 }
}
event = {
      id = 255002
      trigger = { NOT = { exists = BAY }}
      random = no
      country = PFA
      name = "Наследование Баварии-Ландсхута"
      desc = "1 декабря 1503 года герцог Баварии-Ландсхут умер, не оставив наследника. Не принимая во внимание некоторые соглашения, заключенные еще в XV веке, которые должны были гарантировать право унаследования Баварией-Мюнхен, он провозгласил свою дочь Элизабет и ее мужа пфальцграфа Рупрехта наследниками своего герцогства. Это стало причиной начала войны между пфальцграфом и баварскими Виттельсбахами за право наследования. В конечном счёте Палатинат выиграл и удержал Ландсхут."
      style = 2

      date = { day = 1 month = december year = 1503 }      
      
      action_a = {
               name = "устрашить"
               command = { type = provincetax which = 348 value = 2 }
               command = { type = provincemanpower which = 348 value = 1 }
               command = { type = population which = 348 value = 2000 }
                 }
}    
        
#The Palatinate inherits Bavaria
event = {
       	id = 255003
       	random = no
       	country = PFA
       	name = "Палатинат унаследовал Баварию"
       	desc = "30 декабря 1777 года  скончался Максимилиан III Иосиф, последний из династии Виттельсбахов. На основании соглашения, подписанного в 1724 году, в случае если одна из линий рода Виттельсбахов закончит свое существование, пфальцграф курфюрст Карл Теодор становится законным наследником, с условием, что он переместит свой двор в Мюнхен, с тем, чтобы Бавария могла остаться главной страной Виттельсбахов."
       	style = 4 

       	action_a = {
                name = "Принять соглашение и уехать в Мюнхен (конец игры)"
                command = { type = independence which = MAI }
                command = { type = independence which = KOL } 
                command = { type = independence which = HES }
                command = { type = independence which = BAD }
                command = { type = independence which = WUR } 
                command = { type = independence which = THU }
                command = { type = independence which = HEL }
                command = { type = independence which = SAC }
                command = { type = independence which = MUN }
                command = { type = independence which = OLD }
                command = { type = independence which = HAN }
                command = { type = independence which = BRE }
                command = { type = independence which = SUZ }
  command = { type = independence which = TOX }
                command = { type = secedeprovince which = HAB value = 374 } 
                command = { type = secedeprovince which = HAB value = 1930 }
                command = { type = secedeprovince which = HAB value = 387 }
                command = { type = secedeprovince which = HAB value = 377 }
                command = { type = secedeprovince which = HAB value = 378 } 
                command = { type = secedeprovince which = HAB value = 1924 }
                command = { type = secedeprovince which = HAB value = 380 } 
                command = { type = secedeprovince which = FRA value = 379 }
                command = { type = secedeprovince which = FRA value = 375 }
                command = { type = secedeprovince which = FRA value = 376 } 
                command = { type = secedeprovince which = FRA value = 409 }
                command = { type = secedeprovince which = PRU value = 343 }
                command = { type = secedeprovince which = HOL value = 337 }
                command = { type = secedeprovince which = HOL value = 338 } 
                command = { type = secedeprovince which = HOL value = 340 }
                command = { type = secedeprovince which = HOL value = 1925 }
                command = { type = secedeprovince which = HOL value = 1927 }
     command = { type = secedeprovince which = HOL value = 1903 }
                command = { type = secedeprovince which = HOL value = 1947 }
                command = { type = secedeprovince which = HOL value = 1997 }
                command = { type = trigger which = 125021 }
                }

       	action_b = {
                name = "Проигнорировать соглашение и остаться в Мангейме"
                command = { type = inherit which = BAY }
                command = { type = addcore which = 349 }
                command = { type = addcore which = 1931 }
       command = { type = addcore which = 1929 }
                command = { type = relation which = KOL value = -200 }
                command = { type = relation which = HAB value = -100 }
                command = { type = stability value = -2 }
                }
}

#Austria is defeated
event = {
       id = 255004
       trigger = { event = 3666
                   OR = {  
                          AND = { control = { province = 329 data = -1 } 
                                  control = { province = 330 data = -1 } 
                                  control = { province = 314 data = -1 } 
                                }
                          AND = { owned = { province = 328 data = HAB }
                                  control = { province = 328 data = -1 } 
                                }
                          AND = { owned = { province = 351 data = HAB }
                                  control = { province = 351 data = -1 } 
                                }
                          AND = { owned = { province = 378 data = HAB }
                                  control = { province = 378 data = -1 } 
                                }
                          }
                   control = { province = 349 data = -1 } 
                 }
       random = no
       country = PFA
       name = "Австрия побеждена"
  desc = "После исчезновения династии Виттельсбах в Баварии (1777), Джозеф II попытался усилить влияние Австрии внутри Империи и вновь запросил старое Герцогство Штробинг в Нижней Баварии. Карл Тэодор, не имея большой привязанности к своему новому приобретению, вскоре уступил его за небольшую финансовую компенсацию. Однако, в июле 1778 года вмешалась Пруссия, для которой расширение границ Австрии представляло опасность. Действия велись от имени герцога Карла Цвайбрекена, предполагаемого наследника бездетного короля Карла Тэодора. Этот конфликт обошелся без широкомасштабных военных действий. Он начался с прусского вторжения в Богемию и продолжался до мая 1779 года, когда Императрица Мария Тэреза вынудила своего сына Джозефа II сдаться. Мир был заключен в Тешене 16 мая 1779 года. Австрия получила небольшой участок внутренней территории."         
       style = 4
       
       date = { day = 1 month = january year = 1778 }
       offset = 0
       deathdate = { day = 31 month = december year = 1783 }
       
       action_a = {
                 name = "Мы победили!" 
                 command = { type = vp value = 50 }
                 command = { type = relation which = PRU value = 100 }                
                  }
}
event = {
       id = 255005
       random = no
       country = PFA 
       name = "Шторинг передаётся Австрии"
       desc = "Несмотря на сопротивление Пруссии, Австрия сумела занять и аннексировать Штробинг, таким образом расширив свои владения в Южной Германии."
       style = 4
       
       action_a = {
                name = "Ok"
                command = { type = treasury value = 30 }
                command = { type = provincetax which = 349 value = -1 }
                command = { type = provincemanpower which = 349 value = -1 }
 command = { type = provincetax which = 1929 value = -1 }
                command = { type = population which = 349 value = -2000 }   
command = { type = population which = 1929 value = -2000 }     
                command = { type = relation which = HAB value = 50 }
                  }
}
#Dutch assistance by Alkar
event = {
	id = 255006
	random = no
	country = PFA
	name = "Помощь из Нидерландов"
	desc = "Нидерланды послали нам помощь, чтобы помочь нам в борьбе против Габсбургов."
	style = 3

	action_a = {
		name = "Отлично"
		command = { type = INF which = -2 value = 4000 }
		command = { type = CAV which = -2 value = 1000 }
		command = { type = treasury value = 50 }
		}
	}

		
#The Hussite Wars
event = {
         id = 255600
         trigger = { event = 129001 } #BOH: Death of Vaclav IV
         random = no
         country = PFA
         name = "Гуситские войны" 
         desc = "Уничтожим проклятых еретиков!"      
         style = 1
         
         date = { day = 17 month = august year = 1419 }        
         offset = 1
         
         action_a = {
                      name = "Ok"
                      command = { type = casusbelli which = SIL value = 120 }
                        }
}

