#####Cologne Major Events#####
#By Joakim 'Greven' Bergqwist#
##############################

#The League of Augsburg#
event = {

	id = 3663				#triggered by FRA3127#
	random = no
	country = KOL
	name = "EVENTNAME3663"
	desc = "EVENTHIST3663"
	style = 3

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

	action_b ={					#Ignore it#
		name = "ACTIONNAME3663B"
		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 = BAD value = -50 }
		command = { type = relation which = PFA value = -50 }
		command = { type = relation which = THU value = -50 }
	}
}
#The League of Schmalkalden#
event = {

	id = 3673
	trigger = {
		 exists = HAB  
		 	AND = { 
				OR = {
					religion = protestant
					religion = reformed
						}
			}
	}
	random = no
	country = KOL
	name = "EVENTNAME3673"
	desc = "EVENTHIST3673"
	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 = "ACTIONNAME3673A"
		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 = "ACTIONNAME3673B"
		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 = BAY value = 50 }
	}
}

# The Bavarian Archbishops #
event = {

	id = 3852
	random = no
	country = KOL
	name = "EVENTNAME3852"
	desc = "EVENTHIST3852"
	style = 2

	date = { day = 1 month = april year = 1583 }

	action_a ={		#Allow Bavarian influence#
		name = "ACTIONNAME3852A"
		command = { type = trigger which = 3853 }
		command = { type = relation which = BAY value = 200 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = innovative value = -1 }
	}

	action_b ={		#We will go our own way#
		name = "ACTIONNAME3852B"
		command = { type = relation which = BAY value = -50 }
		command = { type = domestic which = innovative value = 1 }
		command = { type = stability value = -1 }
	}
}

#The Evangelic Union#
event = {

	id = 3674
	trigger = {
		 OR = {
			religion = protestant
			religion = reformed
				}
			}
	random = no
	country = KOL
	name = "EVENTNAME3674"
	desc = "EVENTHIST3674"
	style = 3

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

	action_a ={						#Prepare to Join#
		name = "ACTIONNAME3674A"
		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 = "ACTIONNAME3674B"
		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 = BAY value = 50 }
	}
}

#The Catholic League#
event = {

	id = 3675
	trigger = {
		 OR = {
			religion = catholic
			religion = counterreform
				}
			}
	random = no
	country = KOL
	name = "EVENTNAME3675"
	desc = "EVENTHIST3675"
	style = 3

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

	action_a ={						#Prepare to Join#
		name = "ACTIONNAME3675A"
		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 = BAY 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 = "ACTIONNAME3675B"
		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 }
	}
}


#Feud of Soest
event = {
       id = 202000
       trigger = {
                   domestic = { type = centralization value = 4 }
                   exists = KLE 
                   NOT = { vassal = { country = KOL country = KLE } }
                 }
       random = no
       country = KOL
       name = "Вражда направленная против Соеста"
       desc = "EVENTHIST200001"
       style = 1

       date = { day = 5 month = june year = 1444 }
       offset = 0
       
       action_a = {
                 name = "Боротся с непослушными городами и гецогством Клеве"
                 command = { type = provincetax which = -2 value = -1 }
                 command = { type = provincemanpower which = -2 value = -1 }
                 command = { type = population which = -2 value = -1000 }
                 command = { type = province_revoltrisk which = -2 value = 5 }
                 command = { type = relation which = KLE value = -100 }
                 command = { type = casusbelli which = KLE value = 60 }
                 command = { type = domestic which = centralization value = 1 }
                 command = { type = domestic which = serfdom value = 1 }
                 command = { type = trigger which = 200001 } #KLE: Feud of Soest
                 command = { type = relation which = BAY value = 50 }
                 command = { type = relation which = BRA value = 50 }
                 command = { type = relation which = SAC value = 50 }
                 command = { type = relation which = BUR value = -50 }
                  } 
       action_b = {
                 name = "Предотавить больше привилегий городам"
                 command = { type = provincetax which = -2 value = -1 }
                 command = { type = domestic which = centralization value = -2 }
                 command = { type = domestic which = aristocracy value = -1 }
                 command = { type = domestic which = serfdom value = -1 }
                 command = { type = relation which = KLE value = -50 }
                 command = { type = sleepevent which = 202001 }
                  }
}

event = {
       id = 202001
       trigger = { OR = { 
                        vassal = { country = KOL country = KLE }
                        owned = { province = 343 data = -1 }
                        }
                   event = 200001
                 }
       random = no
       country = KOL
       name = "Победа Соеста"
       desc = "Нам удалось одержать победу над герцогом Клеве и восставшими вестфальскими городами. Мы одержали победу над нашим главным врагом и получили господство в нашем регионе. Теперь мы можем укрепить и увеличить наше влияние."
       style = 1
   
       date = { day = 6 month = june year = 1444 }
       offset = 5 
       deathdate = { day = 1 month = january year = 1450 }
       
       action_a = {
                name = "Отлично!"
                command = { type = vp value = 30 }
                command = { type = independence which = KLE }
                command = { type = provincetax which = -2 value = 1 }
                command = { type = domestic which = centralization value = 1 }
                command = { type = domestic which = serfdom value = 1 }
                command = { type = province_revoltrisk which = -2 value = -5 }
                  }
}

#Ruprecht von der Pfalz is elected Archbishop-Elector of Cologne
event = {
      id = 202002
      trigger = { exists = PFA
                  NOT = { war = { country = KOL country = PFA } }
                }
      random = no
      country = KOL
      name = "Рупрехт фон дер Пфальц выбран архиепископом Кёльна"
      desc = "В 1463 году Рупрехт, брат пфальцграфа Фридриха, был избран новым архиепископом Кельна и герцогом Вестфалии. С помощью своего брата ему удалось стабилизировать экономическое положение страны после длительных междоусобиц в Зосте и вернуть некоторые территории, которые заложили его предшественники."
      style = 1
      date = { day = 14 month = february year = 1463 }
       
      action_a = {
               name = "Ok"
               command = { type = dynastic which = PFA }
               command = { type = relation which = PFA value = 50 }
               command = { type = trigger which = 255000 } ###PFA: Ruprecht von der Pfalz is elected Archbishop of Cologne
               command = { type = treasury value = 50 }
                 }
}
event = {
          id = 202003
          trigger = {
		event = 255000 #PFA: Ruprecht von der Pfalz elected Archbishop of Cologne
		NOT = { alliance = { country = KOL country = PFA }}
		}
          random = no
          country = KOL
          name = "Рупрехт фон дер Пфальц стал архиепископом"
          desc = "С возможностями своего высокого положения Рупрехт добился того, что пфальцграфство стало союзником Кельна."
          style = 1
          date = { day = 30 month = february year = 1463 }

          action_a ={
                      name = "OK"
	    	      command = { type = alliance which = PFA }
                      }
  }
#Hermann of Hessen elected Archbishop-Elector
event = {
      id = 202004
      trigger = { exists = HES
                  NOT = { war = { country = KOL country = HES }}
                }
      random = no
      country = KOL
      name = "Герман Гёссенский выбран архиепископом Кёльна"
      desc = "После Рупрехта фон дер Пфальца кафедральный собор избрал младшего брата Ладнграфа Гёссенского. Герман близко сотрудничал со своими родственниками в Гессене и был заинтересован в использовании своего высокого поста в интересах своей семьи."
      style = 1
      date = { day = 16 month = july year = 1480 }
       
      action_a = {
               name = "Ok"
               command = { type = breakvassal which = PFA }
               command = { type = breakdynastic which = PFA }
               command = { type = dynastic which = HES }
               command = { type = relation which = PFA value = -50 }
               command = { type = relation which = HES value = 50 }
               command = { type = trigger which = 185002 } #HES: Hermann of Hessen elected Archbishop of Cologne
                 }
}
event = {
          id = 202005
          trigger = {
		event = 185002 #HES: Hermann of Hessen elected Archbishop of Cologne
		NOT = { alliance = { country = KOL country = HES }}
		}
          random = no
          country = KOL
          name = "Герман Гёссенский стал архиепископом"
          desc = "С возможностями своего нового высокого положения Герман добился того, что Гёссен стал союзником Кельна."
          style = 1
          date = { day = 30 month = july year = 1480 }

          action_a ={
                      name = "OK"
	    	      command = { type = alliance which = HES }
                      }
  }
#Independence restored
event = {
      id = 202006
      trigger = { OR = { vassal = { country = HES country = KOL }
                         vassal = { country = PFA country = KOL }}
                }
      random = no
      country = KOL
      name = "Смерть Германа Гёссенского"
      desc = "В 1508 году после смерти Германа Гёссенского, собор решил избрать на пост архиепископа не члена крупной династии, а местного дворянина. После шести архиепископов-курфюрстов, которые ничем не отличились и не влияли на политику Кельна, Филипп II фон Даун-Оберштейн взошел на трон Кёльна и Вестфалии."
      style = 2
      
      date = { day = 20 month = october year = 1508 }
      
      action_a = {
               name = "Мы снова свободны!"
               command = { type = breakvassal which = HES }
               command = { type = breakdynastic which = HES }
               command = { type = relation which = HES value = -50 }
               command = { type = breakvassal which = PFA }
                 }
}
event = {
      id = 202007
      trigger = { event = 3853 } #Bavarian Archbishops
      random = no
      country = KOL
      name = "Конец царствования династии Виттельсбахов"
      desc = "В 1761 году, после пяти успешных архиепископов из династии Виттельсбахов и расширение страны почти до Баварии, кафедральный собор Кёльна избрал не представителя династии Виттельсбахов, а Максимилиана Фридриха фон Канигсегг-Роттенфельса, члена небольшой династии."
      style = 4
      
      date = { day = 6 month = february year = 1761 }
      
      action_a = {
               name = "Выбрать Максимилиана Фридриха"
               command = { type = breakvassal which = BAY }
               command = { type = breakdynastic which = BAY }
               command = { type = relation which = BAY value = -100 }
               command = { type = stability value = -2 }
                 }
}
#The Habsburg Archbishops
event = {
      id = 202008
      trigger = { exists = HAB
                  NOT = { war = { country = KOL country = HAB }}
                }
      random = no
      country = KOL
      name = "Правление Габсбургов в Кёльне"
      desc = "Попытка Кёльна добиться независимости от династического влияния не удалась. Когда Максимилиан Фридрих умер, кафедральный собор уступил право императору назначить архиепископа из династии Габсбургов и был избран Максимилиан Франц Австрийский. Последующий архиепископ, Антон Виктор, был также из династии Габсбургов. Казалось, что император добился влияния на Рейне."
      style = 4
      date = { day = 15 month = april year = 1784 }
       
      action_a = {
               name = "Ok"
               command = { type = dynastic which = HAB }
               command = { type = relation which = HAB value = 50 }
               command = { type = trigger which = 179018 } #HAB: Hapsburg Archbishops in Cologne
                 }
}
event = {
          id = 202009
          trigger = {
		event = 179018
		NOT = { alliance = { country = KOL country = HAB }}
		}
          random = no
          country = KOL
          name = "Максимилиан Франц Австрийский выбран новым архиепископом"
          desc = "На своём новом положении Максимилиан Франц смог сделать Австрию союзником Кёльна."
          style = 1
          date = { day = 30 month = april year = 1784 }

          action_a ={
                      name = "OK"
	    	      command = { type = alliance which = HAB }
                      }
  }      
#Duke Ernst I, Bishop of Mьnster
event = {
          id = 202010
          random = no
          country = KOL
          name = "Эрнст избран новым епископом Мюнстера."
          desc = "В 1585 году Эрнест Баварский, архиепископ Кёльна был избран епископом Мюнстера. До конца своего правления он занимал эти посты."
          style = 2

          action_a ={
                      name = "OK"
	    	      command = { type = dynastic which = BAY }
		      command = { type = relation which = BAY value = 50 }
		      ###command = { type = relation which = MUN value = 50 }
		      ###command = { type = vassal which = MUN }
		      ###command = { type = alliance which = MUN }
                      }
  }
#Elector Ferdinand I, Bishop of Munster
event = {
          id = 202011
          random = no
          country = KOL
          name = "Фердинанд избран новым епископом Мюнстера."
          desc = "В 1612 году Фердинанд Баварский, архиепископ Кёльна был избран епископом Мюнстера. До конца своего правления он занимал эти посты."
          style = 3

          action_a ={
                      name = "OK"
	    	      command = { type = dynastic which = BAY }
		      command = { type = relation which = BAY value = 50 }
		      ###command = { type = relation which = MUN value = 50 }
		      ###command = { type = vassal which = MUN }
		      ###command = { type = alliance which = MUN }
                      }
  }
#Elector Maximilian Heinrich, Bishop of Munster
event = {
          id = 202012
          random = no
          country = KOL
          name = "Максимилиан избран новым епископом Мюнстера."
          desc = "В 1683 году Максимилиан Генрих Баварский, архиепископ Кёльна был избран епископом Мюнстера. До конца своего правления он занимал эти посты."
          style = 3

          action_a ={
                      name = "OK"
	    	      command = { type = dynastic which = BAY }
		      command = { type = relation which = BAY value = 50 }
		      ###command = { type = relation which = MUN value = 50 }
		      ###command = { type = vassal which = MUN }
		      ###command = { type = alliance which = MUN }
                      }
  }
#Elector Klemens August, Bishop of Munster
event = {
          id = 202013
          random = no
          country = KOL
          name = "Клеменс Август избран новым епископом Мюнстера."
          desc = "В 1718 году Клеменс Август Баварский, архиепископ Кёльна был избран епископом Мюнстера. До конца своего правления он занимал эти посты."
          
	style = 4

          action_a ={
                      name = "OK"
	    	      command = { type = dynastic which = BAY }
		      command = { type = relation which = BAY value = 50 }
		      ###command = { type = relation which = MUN value = 50 }
		      ###command = { type = vassal which = MUN }
		      ###command = { type = alliance which = MUN }
                      }
  }
#Elector Maximilian Friedrich, Bishop of Munster
event = {
          id = 202014
          random = no
          country = KOL
          name = "Максимилиан Фридрих избран новым епископом Мюнстера."
          desc = "В 1761 году Максимилиан Фридрих из Каниксек-Ротенфелс, архиепископ Кёльна был избран епископом Мюнстера. До конца своего правления он занимал эти посты."
          style = 4

          action_a ={
                      name = "OK"
		      ###command = { type = relation which = MUN value = 50 }
		      ###command = { type = vassal which = MUN }
		      ###command = { type = alliance which = MUN }
			command = { type = stability value = 1 } 
                      }
  }
#Elector Maximilian Franz, Bishop of Munster
event = {
          id = 202015
          random = no
          country = KOL
          name = "Максимилиан Франц избран новым епископом Мюнстера."
          desc = "В 1784 году австриец Максимилиан Франц, архиепископ Кёльна был избран епископом Мюнстера. До конца своего правления он занимал эти посты."
          style = 4

          action_a ={
                      name = "OK"
		      command = { type = dynastic which = HAB }
		      command = { type = relation which = HAB value = 50 }
		      command = { type = stability value = 1 }
		      ###command = { type = relation which = MUN value = 50 }
		      ###command = { type = vassal which = MUN }
		      ###command = { type = alliance which = MUN }
                      }
  }
#Elector Anton Viktor, Bishop of Munster
event = {
          id = 202016
          random = no
          country = KOL
          name = "Антон Виктор избран новым епископом Мюнстера."
          desc = "В 1801 году Антон Виктор был выбран архиепископом и электоратом Кёльна и епископом Мюнстера. Он был неспособен принять епархию, так как Кёльн был частью Франции и пруссаки не дали бы ему войти в Мюнстер, который они хотели секуляризовать."
          style = 4

          action_a ={
                      name = "OK"
			command = { type = stability value = 1 }
		      ###command = { type = relation which = MUN value = 50 }
		      ###command = { type = vassal which = MUN }
		      ###command = { type = alliance which = MUN }
                      }
  }
#Elector Dietrich von Mцrs, Bishop of Munster
event = {
          id = 202017
          random = no
          country = KOL
          name = "Дитрих избран новым епископом Мюнстера."
          desc = "В 1450 году электорат Кёльна был избран на трон Мюнстера и Папа одобрил это. Однако некоторые их кафедрального собора и большинство населения города поддержали другого претендента и началась война между двумя группировками. Они захватили город и не признают нашу власть."
          style = 4

          action_a ={
                      name = "OK"
			command = { type = stability value = -1 }
		      ###command = { type = relation which = MUN value = 50 }
		      ###command = { type = vassal which = MUN }
		      ###command = { type = alliance which = MUN }
                      }
  }

#Elector Dietrich von Mцrs, Bishop of Munster
event = {
          id = 202018
          random = no
          country = KOL
          name = "Дитрих, епископ Мюнстера."
          desc = "В 1450 году электорат Кёльна был избран на трон Мюнстера и Папа одобрил это. Однако некоторые их кафедрального собора и большинство населения города поддержали другого претендента и началась война между двумя группировками. Они захватили город и не признают нашу власть."
          style = 4

          action_a ={
                      name = "OK"
			command = { type = stability value = -1 }
		      ###command = { type = relation which = MUN value = -50 }
		      ###command = { type = casusbelli   which = MUN value = 76 }
                      }
  }

event = {
          id = 20313
          random = no
          country = KOL
          name = "EVENTNAME20313"
          desc = "EVENTHIST20313"
          style = 1
          action_a ={
                  name = "ACTIONNAME20313A"
 		      command = { type = casusbelli   which = BUR value = 2500 }
 		      command = { type = CAV   which = -2 value = 6000 }	
		      command = { type = relation   which = HAB value = -50 }
		      command = { type = alliance   which = KLE }
		      command = { type = alliance   which = OLD }
		      command = { type = alliance   which = PFA }
		      command = { type = alliance   which = MUN }
	}
}

event = {
          id = 20314
          random = no
          country = KLE
          name = "EVENTNAME20314"
          desc = "EVENTHIST20314"
          style = 1

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

event = {
          id = 20315
          random = no
          country = OLD
          name = "EVENTNAME20315"
          desc = "EVENTHIST20315"
          style = 1

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

event = {
          id = 20316
          random = no
          country = PFA
          name = "EVENTNAME20316"
          desc = "EVENTHIST20316"
          style = 1

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

event = {
          id = 20317
          random = no
          country = MUN
          name = "EVENTNAME20317"
          desc = "EVENTHIST20317"
          style = 1

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