#Events for Hussite Bohemia

#The Hussite Wars
event = { #triggered by 129001A
         id = 401000
         random = no
         country = SIL
         name = "Гуситские войны"
         desc = "Долой папистов!"
         style = 1
         
         action_a = {
                      name = "Ok"
                      command = { type = breakvassal which = ROM }
                      command = { type = relation which = ROM value = -400 } 
                      command = { type = relation which = HUN value = -200 } 
                      command = { type = relation which = HAB value = -100 } 
                      command = { type = relation which = LAT value = -100 } 
                      command = { type = relation which = LIV value = -100 } 
                      command = { type = relation which = PAP value = -100 } 
                      command = { type = relation which = BRA value = -100 } 
                      command = { type = relation which = CRO value = -100 } 
                      command = { type = relation which = SAC value = -100 } 
                      command = { type = relation which = BAY value = -100 } 
                      command = { type = relation which = THU value = -100 } 
                      command = { type = relation which = PFA value = -100 } 
                      command = { type = relation which = MAI value = -100 } 
                      command = { type = treasury value = 100}
                      command = { type = INF which = -2 value = 10000 }
                      command = { type = CAV which = -2 value = 5000 }
command = { type = province_revoltrisk which = 992 value = 4 }
                      command = { type = province_revoltrisk which = 329 value = 4}
                      command = { type = province_revoltrisk which = 330 value = 4}
                      command = { type = province_revoltrisk which = 328 value = 4 }#Bohemia
command = { type = removecore which = 314 } 
		command = { type = removecore which = 1998 } 
		command = { type = removecore which = 1940 } 
		command = { type = removecore which = 1943 } 
                      command = { type = stability value = -3 }
                      
                        }
}
#The community of Tabor
event = {
      id = 401001
      random = no 
      country = SIL
      name = "Тамбуринское сообщество"
      desc = "EVENTHIST129001"
      style = 1
      
      date = { day = 21 month = february year = 1420 }
      offset = 1

      action_a = { 
               name = "Ok"      
               command = { type = INF which = -2 value = 10000 }
               command = { type = land value = 3000 }
               command = { type = provincemanpower which = 330 value = 4 }
               command = { type = provincemanpower which = 328 value = 2 }
               command = { type = population which = 330 value = 20000 } #to bump it over the 20k limit 
               command = { type = stability value = -2 }
               command = { type = domestic which = offensive value = 4 }	
               command = { type = domestic which = quality value = 2 }
               command = { type = domestic which = serfdom value = -2 }       
                }
}
#Diet at Caslav
event = {
      id = 401002
      random = no 
      country = SIL 
      name = "Каславская диета"
      desc = "Остановив наступление первой армии Сигизмунда, гуситы установили контроль  над большей частью Богемии. 1 июня 1421 года дворяне Богемии и Моравии собрали совет в Каславе, который формально сверг Сигизмунда  и принял  меры по укреплению позиций гуситов в королевстве. От всех жителей Богемии потребовали либо принять Четыре Догмата Вероисповедания, составленных в Праге, либо покинуть пределы государства. В городах учредили должности главы города и капитана, которые наделялись королевскими полномочиями. Наряду с этим было организовано временное правительство, состоящее из 20 членов, представлявших различные фракции."
      style = 1 
      
      date = { day = 1 month = june year = 1421 }
      offset = 1   
      
      action_a = {
               name = "Ok"
               command = { type = stability value = 2 }
               command = { type = domestic which = centralization value = 1 }
                 }
}
#Battle of Malesov
event = {
      id = 401003
      random = no
      country = SIL
      name = "Битва под Малешов"
      desc = "Практически с самого основания религиозного движения гуситов не прекращались конфликты между его радикальными и более умеренными сторонниками. В 1423 году такой конфликт перерос в открытые стычки  между таборитами, которых возглавлял  блистательный Ян Жижка, пражским союзом и верхушкой чашников. Жестокое внутриусобное  кровопролитие стоило многих жизней и существенно ослабило мощь гуситов. В решающей битве у Малешова 7 июня 1424 года победу одержали гуситы. Как следствие, в Богемии усилилось влияние таборитов на религию гуситов, что привело к радикализации всего движения, более враждебному отношению к Сигизмунду и его сторонникам-католикам, а так же к более агрессивной политике. Конечно, результат сражения мог быть иным..."
      style = 1
      
      date = { day = 7 month = june year = 1424 }
      offset = 1
      
      action_a = {
               name = "Победа таборитов"
               command = { type = setflag which = Taborites }
               command = { type = domestic which = aristocracy value = 1 }	
               command = { type = domestic which = centralization value = -1 }
               command = { type = domestic which = innovative value = -1 }
               command = { type = domestic which = serfdom value = -2 }
               command = { type = population which = 328 value = -7000 }
               command = { type = population which = 315 value = -4000 }
               command = { type = stability value = -2 }
               command = { type = INF which = -2 value = 10000 }
               command = { type = wakeleader which = 34033 } #Prokop Holэ
               command = { type = wakeleader which = 34034 } #Prokupek
                 }
      action_b = {
               name = "Победа пражан"
               command = { type = setflag which = Utraquists }
               command = { type = domestic which = aristocracy value = -1 }
               command = { type = domestic which = innovative value = 1 }
               command = { type = domestic which = mercantilism value = -2 }
               command = { type = domestic which = offensive value = -2 }
               command = { type = domestic which = land value = -1 }
               command = { type = domestic which = quality value = -1 }
               command = { type = domestic which = serfdom value = 2 }
               command = { type = provincemanpower which = 330 value = -2 }
               command = { type = provincemanpower which = 328 value = -1 }
               command = { type = population which = 330 value = -15000 } 
               command = { type = population which = 328 value = -7000 }
               command = { type = population which = 315 value = -4000 }
command = { type = population which = 992 value = -4000 }
               command = { type = desertion which = -1 value = 10000 }
               command = { type = stability value = -2 }
               command = { type = wakeleader which = 34035 } #Borek
               command = { type = wakeleader which = 34036 } #Ptacek
                  }
}
#Early settlement for the AI
event = { 
      id = 401004
      trigger = { flag = Utraquists 
                  exists = ROM 
                  ai = yes }
      random = no
      country = SIL
      name = "Проявление инициативы"
      desc = "Война с союзниками Сигизмунда среди католиков в Богемии, внутренний конфликт движения гуситов и вторжение армии крестоносцев – все это имело катастрофические последствия для экономики Богемии. Среди сторонних наблюдателей бытовало мнение, что только компромиссом с католиками и признанием Сигизмунда королем Богемии можно обеспечить неприкосновенность веры гуситов. Следует ли нам предложить мир католикам и, тем самым, положить конец этой разрушительной войне?"
      style = 1
      
      date = { day = 1 month = june year = 1424 }
      offset = 900
      
      action_a = {
               name = "Мы не пойдём на компромисс с предателями!"
               command = { type = stability value = 1 }
                 }
      action_b = {
               name = "Попытаться договориться о мире"
               command = { type = trigger which = 398004 }
               command = { type = province_revoltrisk which = 315 value = -4 }#Moravia
               command = { type = province_revoltrisk which = 329 value = -4} #Ostmarch
               command = { type = province_revoltrisk which = 328 value = -4 }#Bohemia
               command = { type = province_revoltrisk which = 1940 value = -4 }#Sudeten
                command = { type = province_revoltrisk which = 330 value = -4 }
command = { type = province_revoltrisk which = 992 value = -4 }
command = { type = province_revoltrisk which = 1987 value = -4 }
command = { type = province_revoltrisk which = 327 value = -4 }
command = { type = province_revoltrisk which = 316 value = -6 } 
command = { type = province_revoltrisk which = 326 value = -6 } 
command = { type = province_revoltrisk which = 1999 value = -6 }
               command = { type = stability value = -2 }
               command = { type = secedeprovince which = BRA value = 312 } #Brandenburg
               command = { type = secedeprovince which = BRA value = 313 } #Kьstrin
               command = { type = secedeprovince which = BRA value = 1942 } #Kьstrin
               command = { type = independence which = SAC }
               command = { type = independence which = BAY }
               command = { type = independence which = THU }
               command = { type = independence which = MAI }
               command = { type = secedeprovince which = SAC value = 332 } 
                command = { type = secedeprovince which = SAC value = 331 } 
                command = { type = secedeprovince which = SAC value = 1939 } 
               command = { type = secedeprovince which = THU value = 1933 } 
               command = { type = secedeprovince which = THU value = 347 }
               command = { type = secedeprovince which = BAY value = 1931 } 
               command = { type = secedeprovince which = BAY value = 349 } 
               command = { type = secedeprovince which = BAY value = 348 } 
               command = { type = independence which = HAB }
               command = { type = secedeprovince which = HAB value = 350 }  
               command = { type = secedeprovince which = HAB value = 351 }  

command = { type = secedeprovince which = BAY value = 1929 }  
command = { type = secedeprovince which = WUR value = 1985 } 

command = { type = secedeprovince which = WUR value = 1985 } 

command = { type = secedeprovince which = HAB value = 1403 }
command = { type = secedeprovince which = HUN value = 1999 } 
command = { type = secedeprovince which = SAC value = 1915 }
command = { type = secedeprovince which = HUN value = 1402 }

command = { type = secedeprovince which = HAB value = 351 }  
command = { type = secedeprovince which = HAB value = 369 }  
command = { type = secedeprovince which = HAB value = 1932 }  
command = { type = secedeprovince which = HAB value = 371 }  
command = { type = secedeprovince which = HUN value = 352 }  
command = { type = secedeprovince which = HUN value = 326 } 
command = { type = secedeprovince which = HUN value = 316 } 
command = { type = secedeprovince which = HUN value = 325 } 
command = { type = secedeprovince which = HUN value = 353 } 
                 }
}
#Early settlement for a player
event = { 
      id = 401005
      trigger = { flag = Utraquists 
                  exists = ROM 
                  ai = no }
      random = no
      country = SIL
      name = "Проявление инициативы"
      desc = "Война с союзниками Сигизмунда среди католиков в Богемии, внутренний конфликт движения гуситов и вторжение армии крестоносцев – все это имело катастрофические последствия для экономики Богемии. Среди сторонних наблюдателей бытовало мнение, что только компромиссом с католиками и признанием Сигизмунда королем Богемии можно обеспечить неприкосновенность веры гуситов. Следует ли нам предложить мир католикам и, тем самым, положить конец этой разрушительной войне?"
      style = 1
      
      date = { day = 1 month = june year = 1424 }
      offset = 900

      action_a = {
               name = "Мы не пойдём на компромисс с предателями!"
               command = { type = stability value = 1 }
                 }
      action_b = {
               name = "Попытаться договориться о мире"
               command = { type = trigger which = 398005 }
               command = { type = stability value = -2 }
                 }
}
event = { #triggered by ROM event 398005
      id = 401006
      random = no
      country = SIL
      name = "Выбор романистов"
      desc = "Король Сигизмунд и лидер движения католиков приняли наше предложение положить конец конфликту с гуситами. Мы признаем Сигизмунда королем Богемии, взамен на признание основных положений нашей веры Церковью. Это положит конец сражениям и позволит вере гуситов на равных сосуществовать с католичеством в воссоединенной Богемии."
       style = 1
       
       action_a = {
                name = "Отлично"
                command = { type = inherit which = ROM }
                command = { type = religion which = catholic }
                command = { type = add_countryculture which = german }
                command = { type = setflag which = settlement }
                command = { type = clrflag which = Utraquists }
                command = { type = domestic which = aristocracy value = 2 }
                command = { type = domestic which = centralization value = 1 }
                command = { type = domestic which = innovative value = 2 }
                command = { type = domestic which = offensive value = -1 }
                command = { type = domestic which = serfdom value = 1 } 
                command = { type = relation which = HUN value = 200 }
                command = { type = relation which = PAP value = 100 }                 
                command = { type = relation which = HAB value = 100 } 
                command = { type = relation which = LAT value = 100 } 
                command = { type = relation which = BRA value = 100 }
                command = { type = relation which = U16 value = 100 }
                command = { type = relation which = LUX value = 100 }
                command = { type = relation which = BAY value = 100 }
command = { type = province_revoltrisk which = 327 value = -4 }
                command = { type = province_revoltrisk which = 315 value = -4 }#Moravia
                command = { type = province_revoltrisk which = 329 value = -4} #Ostmarch
                command = { type = province_revoltrisk which = 328 value = -4 }#Bohemia
                command = { type = province_revoltrisk which = 1940 value = -4 }#Sudeten
                command = { type = province_revoltrisk which = 330 value = -4 }
command = { type = province_revoltrisk which = 992 value = -4 }
command = { type = province_revoltrisk which = 1987 value = -4 }
command = { type = province_revoltrisk which = 316 value = -6 } 
command = { type = province_revoltrisk which = 326 value = -6 } 
command = { type = province_revoltrisk which = 1999 value = -6 }
                  }
}
#Economic consequences of endless warfare
event = {
      id = 401007
      trigger = { atwar = yes }
      random = no
      country = SIL
      name = "Экономические последствия бесконечной войны"
      desc = "Войны гуситов разрушили экономику Богемии. Опустели ранее густонаселенные территории, немецкие купцы были разорены, фактически прекратилась торговая деятельность, а крестьяне сражались на стороне гуситов. Даже после окончания конфликта Богемия так и не смогла оправиться от нанесенного ущерба."
      style = 1
      
      date = { day = 1 month = january year = 1426 }
      offset = 900
      deathdate = { day = 31 month = december year = 1430 }
      
      action_a = {
               name = "Какой ужас"
               command = { type = population which = 328 value = -8000 }
               command = { type = population which = 329 value = -4000 }
               command = { type = population which = 330 value =  -4000  }
command = { type = population which = 1987 value =  -4000  }
command = { type = population which = 992 value =  -4000  }
               command = { type = population which = 315 value = -3000 }
               command = { type = population which = 1940 value = -3000 }
               command = { type = provincetax which = 328 value = -2 }
               command = { type = provincetax which = 1940 value = -1 }
command = { type = provincetax which = 1987 value = -1 }
               command = { type = provincetax which = 330 value = -1 }
               command = { type = provincetax which = 315 value = -1 }
               command = { type = provincetax which = 329 value = -1 } 
               command = { type = provincetax which = 1940 value = -1 }
                }
}
#Prokop's offensive
event = {
      id = 401008
      trigger = { atwar= yes
                  exists = ROM
                }
      random = no  
      country = SIL
      name = "Великое наступление Прокопа" 
      desc = "Поскольку Император Сигизмунд проявил упорство и отказался от переговоров по примирению с гуситами, когда Прокоп Великий в 1429 году сам пытался сблизиться с ним, Прокоп на собрании лидеров движения гуситов убедил их взяться за оружие. Всем фракциям – таборитам, оребиты, пражанам и чашникам – полагалось предоставить своих воинов для 5 армий, которые создавались в кратчайшие сроки численностью более 40000 пехоты и 5000 конницы. Так начались нападения на немецкие владения Саксонии и Лужице, цитаделей врагов гуситов – католиков."
      style = 1
       
      date = { day = 1 month = january year = 1429 }
      offset = 200
      
      action_a = {
               name = "Для чашников!"
               command = { type = INF which = -2 value = 10000 }
               command = { type = CAV which = -2 value = 5000 }
               command = { type = casusbelli which = SAC value = 12 }
                 }
}

#Battle of Lipany
event = {
      id = 401009
      trigger = { 
		flag = Taborites 
		exists = ROM
		}
      random = no
      country = SIL
      name = "Битва под Липаной"
      desc = "EVENTHIST401009"
      style = 1
      
      date = { day = 30 month = may year = 1434 }
      offset = 1
  
      action_a = {
               name = "Чашники победили"
               command = { type = clrflag which = Taborites }
               command = { type = setflag which = Utraquists }
               command = { type = provincemanpower which = 330 value = -2 }
               command = { type = provincemanpower which = 328 value = -1 }
               command = { type = population which = 330 value = -15000 } 
               command = { type = domestic which = aristocracy value = 2 }
               command = { type = domestic which = centralization value = 1 }
               command = { type = domestic which = innovative value = 1 }
               command = { type = domestic which = offensive value = -2 }
               command = { type = domestic which = quality value = -1 }
               command = { type = domestic which = serfdom value = 3 }
               command = { type = relation which = ROM value = 100 } 
               command = { type = stability value = -1 }
               command = { type = INF which = -2 value = 8000 }
               command = { type = CAV which = -2 value = 4000 }
               command = { type = wakeleader which = 34035 } #Borek
               command = { type = wakeleader which = 34036 } #Ptacek
               command = { type = sleepmonarch which = 19240 } #Hussite regency
               command = { type = wakemonarch which = 19242 } #Utraquist regency
                 }
      action_b = {
               name = "Табориты победили"
               command = { type = domestic which = aristocracy value = -1 }
               command = { type = domestic which = innovative value = -1 }
               command = { type = domestic which = quality value = 1 }
               command = { type = domestic which = serfdom value = -1 }
               command = { type = capital which = 330 } #Ostmarch (Tбbor)
               command = { type = land value = 3000 }           
               command = { type = stability value = -3 }
               command = { type = revoltrisk which = 48 value = 5 }
               command = { type = revolt which = 328 }
               command = { type = revolt which = 328 }
               command = { type = wakeleader which = 34037 } #Prokop Holэ (second version)
               command = { type = wakeleader which = 34038 } #Prokupek (second version) 
               command = { type = sleepmonarch which = 19240 } #Hussite regency
               command = { type = wakemonarch which = 19243 } #Taborite regency
                 }
}

#Compactates of Jihlava for the AI
event = {
      id = 401011
      trigger = { flag = Utraquists
                  ai = yes 
                  exists = ROM }
      random = no
      country = SIL
      name = "Йиглавский компромисс"
      desc = "После победы чашников и устранения влияния радикальных гуситов, которые ранее помешали подписанию договора Сигизмунда и Церкви, из-за чего переговоры относительно политических и религиозных вопросов затянулись на два года. По истечении этого времени стороны все же пришли к компромиссу. 5 июля Богемский парламент, собранный в Моравском городе  Йиглава, принял пакт, - четыре статьи, содержащие уступки постулатам гуситов, которые были одобрены Базельским Советом. Этот Совет подчинялся Церкви и признавал Сигизмунда королем Богемии. Это, наконец, установило мир в Богемии и позволило чашникам  избежать отлучения от Церкви. Сигизмунд вошел в Богемию, а 23 августа 1436 года в Праге он был коронован."
      style = 1
      
      date = { day = 5 month = july year = 1436 }
      offset = 1
      
      action_a = {
               name = "Согласиться с предложением" 
               command = { type = province_revoltrisk which = 315 value = -4 }#Moravia
               command = { type = province_revoltrisk which = 329 value = -4} #Ostmarch
               command = { type = province_revoltrisk which = 328 value = -4 }#Bohemia
               command = { type = province_revoltrisk which = 330 value = -4 }
               command = { type = province_revoltrisk which = 327 value = -4 }
command = { type = population which = 992 value =  -4000  }
command = { type = province_revoltrisk which = 1987 value = -4 }
 command = { type = province_revoltrisk which = 1940 value = -4 }#Sudeten
command = { type = province_revoltrisk which = 316 value = -6 } 
command = { type = province_revoltrisk which = 326 value = -6 } 
command = { type = province_revoltrisk which = 1999 value = -6 }
               command = { type = stability value = -2 }
               command = { type = secedeprovince which = BRA value = 312 } #Brandenburg
               command = { type = secedeprovince which = BRA value = 313 } #Kьstrin
               command = { type = secedeprovince which = BRA value = 1942 } #Kьstrin
               command = { type = independence which = SAC }
               command = { type = independence which = BAY }
               command = { type = independence which = THU }
               command = { type = independence which = MAI }
               command = { type = secedeprovince which = SAC value = 332 } 
                command = { type = secedeprovince which = SAC value = 331 } 
                command = { type = secedeprovince which = SAC value = 1939 } 
               command = { type = secedeprovince which = THU value = 1933 } 
               command = { type = secedeprovince which = THU value = 347 }
               command = { type = secedeprovince which = BAY value = 1931 } 
               command = { type = secedeprovince which = BAY value = 349 } 
               command = { type = secedeprovince which = BAY value = 348 } 
               command = { type = independence which = HAB }
               command = { type = secedeprovince which = HAB value = 350 }  
               command = { type = secedeprovince which = HAB value = 351 }  
command = { type = secedeprovince which = BAY value = 1929 }  
command = { type = secedeprovince which = WUR value = 1985 } 
command = { type = secedeprovince which = HAB value = 351 }  
command = { type = secedeprovince which = HAB value = 369 }  
command = { type = secedeprovince which = HAB value = 1932 }  
command = { type = secedeprovince which = HAB value = 371 }  
command = { type = secedeprovince which = HUN value = 352 }  
command = { type = secedeprovince which = HUN value = 326 } 
command = { type = secedeprovince which = HUN value = 316 } 
command = { type = secedeprovince which = HUN value = 325 } 
command = { type = secedeprovince which = HUN value = 353 } 
command = { type = secedeprovince which = HAB value = 1403 }
command = { type = secedeprovince which = HUN value = 1999 } 
command = { type = secedeprovince which = SAC value = 1915 }
command = { type = secedeprovince which = HUN value = 1402 }
    
               command = { type = trigger which = 398010 } #ROM: Hussites accept Sigismund
                 }
      action_b = { 
               name = "Отклонить"
               command = { type = war which = ROM }
               command = { type = stability value = -3 }
               command = { type = revoltrisk which = 48 value = 4 }
               command = { type = desertion which = -1 value = 10000 }
               command = { type = revolt which = -1 }
                 }
}

#Compactates of Jihlava for a human
event = {
      id = 401012
      trigger = { flag = Utraquists
                  ai = no 
                  exists = ROM }
      random = no
      country = SIL
      name = "Йиглавский компромисс"
      desc = "После победы чашников и устранения влияния радикальных гуситов, которые ранее помешали подписанию договора Сигизмунда и Церкви, из-за чего переговоры относительно политических и религиозных вопросов затянулись на два года. По истечении этого времени стороны все же пришли к компромиссу. 5 июля Богемский парламент, собранный в Моравском городе  Йиглава, принял пакт, - четыре статьи, содержащие уступки постулатам гуситов, которые были одобрены Базельским советом. Этот Совет подчинялся Церкви и признавал Сигизмунда королем Богемии. Принятие Компактат, наконец, позволило установить мир в Богемии и позволило чашникам  избежать отлучения от Церкви. Сигизмунд вошел в Богемию, а 23 августа 1436 года в Праге он был коронован."
      style = 1
      
      date = { day = 5 month = july year = 1436 }
      offset = 1
      
      action_a = {
               name = "Согласиться с предложением"
               command = { type = inherit which = ROM }
               command = { type = religion which = catholic }
               command = { type = add_countryculture which = german }
               command = { type = clrflag which = Utraquists }
               command = { type = setflag which = settlement }
               command = { type = domestic which = centralization value = 1 }
               command = { type = domestic which = innovative value = 2 }
               command = { type = domestic which = offensive value = -1 }
               command = { type = domestic which = land value = -1 }
               command = { type = domestic which = serfdom value = 2 }
               command = { type = province_revoltrisk which = 315 value = -4 }#Moravia
               command = { type = province_revoltrisk which = 329 value = -4} #Ostmarch
               command = { type = province_revoltrisk which = 328 value = -4 }#Bohemia
               command = { type = province_revoltrisk which = 330 value = -4 }
command = { type = province_revoltrisk which = 992 value = -4 }
command = { type = province_revoltrisk which = 1987 value = -4 }
command = { type = province_revoltrisk which = 327 value = -4 }            
command = { type = stability value = -2 }
 command = { type = province_revoltrisk which = 1940 value = -4 }#Sudeten
command = { type = province_revoltrisk which = 316 value = -6 } 
command = { type = province_revoltrisk which = 326 value = -6 } 
command = { type = province_revoltrisk which = 1999 value = -6 }
               command = { type = independence which = SAC }
               command = { type = independence which = BAY }
               command = { type = independence which = THU }
               command = { type = independence which = MAI }
               command = { type = independence which = BRA }
               command = { type = secedeprovince which = BRA value = 312 } #Brandenburg
               command = { type = secedeprovince which = BRA value = 313 } #Kьstrin
               command = { type = secedeprovince which = BRA value = 1942 } #Kьstrin
               command = { type = secedeprovince which = SAC value = 332 } 
                command = { type = secedeprovince which = SAC value = 331 } 
                command = { type = secedeprovince which = SAC value = 1939 } 
               command = { type = secedeprovince which = THU value = 1933 } 
               command = { type = secedeprovince which = THU value = 347 }
               command = { type = secedeprovince which = BAY value = 1931 } 
               command = { type = secedeprovince which = BAY value = 349 } 
               command = { type = secedeprovince which = BAY value = 348 } 
               command = { type = independence which = HAB }
               command = { type = secedeprovince which = HAB value = 350 }  
               command = { type = secedeprovince which = HAB value = 351 } 
command = { type = secedeprovince which = BAY value = 1929 }  
command = { type = secedeprovince which = WUR value = 1985 }  
command = { type = secedeprovince which = HAB value = 351 }  
command = { type = secedeprovince which = HAB value = 369 }  
command = { type = secedeprovince which = HAB value = 1932 }  
command = { type = secedeprovince which = HAB value = 371 }  
command = { type = secedeprovince which = HUN value = 352 }  
command = { type = secedeprovince which = HUN value = 326 } 
command = { type = secedeprovince which = HUN value = 316 } 
command = { type = secedeprovince which = HUN value = 325 } 
command = { type = secedeprovince which = HUN value = 353 } 
command = { type = secedeprovince which = HAB value = 1403 }
command = { type = secedeprovince which = HUN value = 1999 } 
command = { type = secedeprovince which = SAC value = 1915 }
command = { type = secedeprovince which = HUN value = 1402 }
 command = { type = remove_countryculture which = slovak } 
               command = { type = clrflag which = Hussite_Slovakia }
                 }
      action_b = { 
               name = "Отклонить"                
               command = { type = war which = ROM }
               command = { type = stability value = -3 }
               command = { type = revoltrisk which = 48 value = 4 }
               command = { type = desertion which = -1 value = 10000 }
               command = { type = revolt which = -1 }
               command = { type = sleepevent which = 401015 } #SIL: Coronation in Prague
                 }
}

#Hussites defeated
event = {
      id = 401013
      trigger = {
         	OR = {
			AND = {
				NOT = { owned = { province = 329 data = -1 } } 
				NOT = { owned = { province = 315 data = -1 } } 
				OR = {
					NOT = { owned = { province = 330 data = -1 } } 
					NOT = { owned = { province = 328 data = -1 } } #Bohemia
				}
			} #This whole trigger means that the Hussites do not own any Romanist province and have lost one of their starting provinces
			religion = catholic
			vassal = { country = ROM country = SIL }
			vassal = { country = HUN country = SIL }
			vassal = { country = HAB country = SIL }
			vassal = { country = MLL country = SIL }
			vassal = { country = BRA country = SIL }
		}
		exists = ROM
                }
      random = no
      country = SIL
      name = "Победа Романистов"
      desc = "Благодаря недавним успехам католиков и унизительному миру, который нам пришлось подписать, мотивы гуситов быстро теряют свои основания. Надежда на то, что наша вера выживет, тает с каждым днем. Сейчас было бы мудрее безоговорочно сдаться, дабы избежать дальнейшего кровопролития."
      style = 1
      
      date = { day = 18 month = august year = 1419 }
      offset = 1
      deathdate = { day = 31 month = december year = 1499 }
      
      action_a = {
               name = "Гуситы сдались (конец игры)"
               command = { type = desertion which = -1 value = 30000 }
               command = { type = independence which = SAC }
               command = { type = independence which = BAY }
               command = { type = independence which = THU }
               command = { type = independence which = MAI }
               command = { type = independence which = BRA }
               command = { type = secedeprovince which = BRA value = 312 } #Brandenburg
               command = { type = secedeprovince which = BRA value = 313 } #Kьstrin
               command = { type = secedeprovince which = BRA value = 1942 } #Kьstrin
             
               command = { type = secedeprovince which = SAC value = 332 } 
               command = { type = secedeprovince which = SAC value = 331 } 
               command = { type = secedeprovince which = SAC value = 1939 } 
               command = { type = secedeprovince which = THU value = 1933 } 
               command = { type = secedeprovince which = THU value = 347 }
               command = { type = secedeprovince which = BAY value = 1931 } 
               command = { type = secedeprovince which = BAY value = 349 } 
               command = { type = secedeprovince which = BAY value = 348 } 
               command = { type = independence which = HAB }
               command = { type = secedeprovince which = HAB value = 350 }  
               command = { type = secedeprovince which = HAB value = 351 }  
command = { type = secedeprovince which = BAY value = 1929 }  
command = { type = secedeprovince which = WUR value = 1985 }
command = { type = secedeprovince which = HAB value = 351 }  
command = { type = secedeprovince which = HAB value = 369 }  
command = { type = secedeprovince which = HAB value = 1932 }  
command = { type = secedeprovince which = HAB value = 371 }  
command = { type = secedeprovince which = HUN value = 352 }  
command = { type = secedeprovince which = HUN value = 326 } 
command = { type = secedeprovince which = HUN value = 316 } 
command = { type = secedeprovince which = HUN value = 325 } 
command = { type = secedeprovince which = HUN value = 353 } 

command = { type = secedeprovince which = HAB value = 1403 }
command = { type = secedeprovince which = HUN value = 1999 } 
command = { type = secedeprovince which = SAC value = 1915 }
command = { type = secedeprovince which = HUN value = 1402 }
 command = { type = independence which = MLL }           
               command = { type = trigger which = 398011 }
                  }
      action_b = {
               name = "Мы не сдадимся без боя!"
               command = { type = religion which = reformed }
               command = { type = war which = ROM }
                 }
}

#Podiebrad's bid for power
event = {
      id = 401014
      trigger = { flag = Utraquists 
                  atwar = no }
      random = no
      country = SIL
      name = "Предложение Иржи Подебрата"
      desc = "Отказ чашников подписать соглашение с католиками спровоцировал дальнейшие религиозные столкновения гуситов и католиков, чашников против выживших радикалов, а так же внутри движения чашников. Не смотря на успехи Богемии в борьбе против короля Сигизмунд и в отражении попыток церкви подчинить их силой, государство в данный момент находится под угрозой воцарения анархии. На этом этапе, лидер движения чашников Иржи Подебрат решает, что Богемия, как и его влияние, могут быть спасены исключительно в том случае, если он будет избран королем, и примет бразды правления в свои руки. Найдя множество сторонников, идея о восхождении национальной династии на Богемский трон столкнулась с бурным сопротивлением: многие  чашников категорически противились попыткам нового короля ограничить их власть, а потому предпочитали направить Богемию в русло аристократической республики, при которой давление государственных органов практически не существовало."
      style = 1
      
      date = { day = 1 month = january year = 1440 }
      offset = 1
      deathdate = { day = 31 month = december year = 1500 }

      action_a = {
               name = "коронация Подебрата"
               command = { type = domestic which = centralization value = 1 }
               command = { type = stability value = 1 }
               command = { type = revoltrisk which = 60 value = 5 }
               command = { type = sleepmonarch which = 19242 } #Utraquist regency
               command = { type = wakemonarch which = 19244 } #Jiri z Podiebrad
               command = { type = wakemonarch which = 19245 } #Viktorin I
               command = { type = wakemonarch which = 19246 } #Vavrinec I
               command = { type = wakemonarch which = 19247 } #Bartolomej
               command = { type = wakemonarch which = 19248 } #Karel II Vojtech
               command = { type = wakemonarch which = 19249 } #Jindrich II
               command = { type = wakemonarch which = 19250 } #Jindrich III
               command = { type = wakemonarch which = 19251 } #Karel III
               command = { type = wakemonarch which = 19252 } #Jindrich IV Vaclaw
               command = { type = wakemonarch which = 19253 } #Karel IV Bedrich
               command = { type = setflag which = Utraquist_Podiebrad }
                 }
      action_b = {
               name = "Установить аристократическую династию" 
               command = { type = domestic which = aristocracy value = 4 }
               command = { type = domestic which = centralization value = -1 }
               command = { type = domestic which = serfdom value = 1 }
               command = { type = stability value = -2 }
               command = { type = setflag which = Utraquist_republic }
                 }
}

#Coronation in Prague
event = {
      id = 401015 
      trigger = { 
              OR = {
                  event = 401012 #SIL: Compactates for human Hussites
                  event = 398005 #ROM: Hussites offer early settlement, human Hussites version
                   }
              owned = { province = 328 data = -1 }
              atwar = no 
                }
      random = no
      country = SIL 
      name = "Коронация в Праге"
      desc = "Поскольку борьба за раздел нашего королевства и религиозные трения, наконец, закончились, теперь все готово для коронации повелителя всей Богемии в Праге короной святого  Вацлава."
      style = 1 
     
      date = { day = 17 month = august year = 1419 }
      offset = 10
      deathdate = { day = 31 month = december year = 1450 }
      
      action_a = {
               name = "Отлично"
               command = { type = country which = BOH }
               command = { type = loansize which = 100 } 
               command = { type = capital which = 328 }
               command = { type = stability value = 1 }
                 }
}

#Permanent establishment of the Hussite republic
#Taborites
event = {
      id = 401016
      trigger = { 
              NOT = { exists = ROM }
              NOT = { exists = BOH }
              atwar = no
              flag = Taborites                     
                }
      random = no 
      country = SIL 
      name = "Влияние гуситских кругов на королевство"
      desc = "Ладислав Постум, претендент Габсбургов на богемский трон и законный преемник романистов, умер. Хотя его родственник, император Фридрих III и поддерживает требования Габсбургов на сомнительных основаниях, это означает, что без законного католического короля, табориты врядли будут эффективно управлять страной. (Настоятельно рекомендуется как можно скорей сохраниться и перезапустить сценарий после этого евента.)"
      style = 1
      
      date = { day = 23 month = november year = 1457 }
      offset = 1
      deathdate = { day = 31 month = december year = 1500 }
      
      action_a = {
               name = "Отлично"
               command = { type = country which = BOH }
               command = { type = stability value = 2 } 
command = { type = province_revoltrisk which = 327 value = -4 }
               command = { type = province_revoltrisk which = 315 value = -4 }#Moravia
               command = { type = province_revoltrisk which = 329 value = -4} #Ostmarch
               command = { type = province_revoltrisk which = 328 value = -4 }#Bohemia
               command = { type = province_revoltrisk which = 330 value = -4 }
               command = { type = province_revoltrisk which = 1987 value = -4 }
command = { type = province_revoltrisk which = 992 value = -4 }
 command = { type = province_revoltrisk which = 1940 value = -4 }#Sudeten
command = { type = province_revoltrisk which = 316 value = -6 } 
command = { type = province_revoltrisk which = 326 value = -6 } 
command = { type = province_revoltrisk which = 1999 value = -6 }
               command = { type = trigger which = 129051 } #BOH: Taborite republic - event to set up monarchs
                 }
}
#Permanent establishment of the Hussite republic
#Utraquist republic
event = {
      id = 401017
      trigger = { 
              NOT = { exists = ROM }
              NOT = { exists = BOH }
              atwar = no
              flag = Utraquist_republic               
                }
      random = no 
      country = SIL 
      name = "Влияние гуситских кругов на королевство"
      desc = "Ладислав Постум, претендент Габсбургов на богемский трон и законный преемник романистов, умер. Хотя его родственник, император Фридрих III и поддерживает требования Габсбургов на сомнительных основаниях, это означает, что без законного католического короля, табориты врядли будут эффективно управлять страной. (Настоятельно рекомендуется как можно скорей сохраниться и перезапустить сценарий после этого евента.)"
      style = 1
      
      date = { day = 23 month = november year = 1457 }
      offset = 1
      deathdate = { day = 31 month = december year = 1500 }
      
      action_a = {
               name = "Отлично"
               command = { type = country which = BOH }
               command = { type = stability value = 2 } 
command = { type = province_revoltrisk which = 327 value = -4 }
               command = { type = province_revoltrisk which = 315 value = -4 }#Moravia
               command = { type = province_revoltrisk which = 329 value = -4} #Ostmarch
               command = { type = province_revoltrisk which = 328 value = -4 }#Bohemia
               command = { type = province_revoltrisk which = 1940 value = -4 }#Sudeten
               command = { type = province_revoltrisk which = 330 value = -4 }
               command = { type = province_revoltrisk which = 1987 value = -4 }
command = { type = province_revoltrisk which = 992 value = -4 }
command = { type = province_revoltrisk which = 316 value = -6 } 
command = { type = province_revoltrisk which = 326 value = -6 } 
command = { type = province_revoltrisk which = 1999 value = -6 }
               command = { type = trigger which = 129052 } #BOH: Utraquist republic - event to set up monarchs
                 }
}
#Permanent establishment of the Hussite Kingdom
event = {
      id = 401018
      trigger = { 
              NOT = { exists = ROM }
              NOT = { exists = BOH }
              atwar = no
              flag = Utraquist_Podiebrad               
                }
      random = no 
      country = SIL 
      name = "Влияние гуситских кругов на королевство"
      desc = "Ладислав Постум, претендент Габсбургов на богемский трон и законный преемник романистов, умер. Хотя его родственник, император Фридрих III и поддерживает требования Габсбургов на сомнительных основаниях, это означает, что без законного католического короля, табориты врядли будут эффективно управлять страной. (Настоятельно рекомендуется как можно скорей сохраниться и перезапустить сценарий после этого евента.)"
      style = 1
      
      date = { day = 23 month = november year = 1457 }
      offset = 1
      deathdate = { day = 31 month = december year = 1500 }
      
      action_a = {
               name = "Отлично"
               command = { type = country which = BOH }
               command = { type = stability value = 2 } 
command = { type = province_revoltrisk which = 327 value = -4 }
               command = { type = province_revoltrisk which = 315 value = -4 }#Moravia
               command = { type = province_revoltrisk which = 329 value = -4} #Ostmarch
               command = { type = province_revoltrisk which = 328 value = -4 }#Bohemia
               command = { type = province_revoltrisk which = 1940 value = -4 }#Sudeten
               command = { type = province_revoltrisk which = 330 value = -4 }
                command = { type = province_revoltrisk which = 1987 value = -4 }
command = { type = province_revoltrisk which = 992 value = -4 }
command = { type = province_revoltrisk which = 316 value = -6 } 
command = { type = province_revoltrisk which = 326 value = -6 } 
command = { type = province_revoltrisk which = 1999 value = -6 }
               command = { type = trigger which = 129053 } #BOH: Podiebrad dynasty - event to set up monarchs
                 }
} 

#Raids to Upper Hungary
event = { 
      id = 401021
      trigger = { flag = Taborites }
      random = no
      country = SIL
      name = "Набеги на Верхнюю Венгрию"
      desc = "Влияние гуситов не было ограничено только Богемией. Гуситские проповедники, главным образом табориты и оребиты, пропитывали своими учениями все соседние территории. В то время, как их воздействие на немецкие земли были главным образом минимальны, тем не менее они получили огромный положительный эффект в Венгрии, где закрепощённое крестьянство  было восприимчиво к их про-народным идеям и даже больше среди словакского крестьянства Верхней Венгрии. В 1428 году, гуситские отряды начали систематически проводить набеги на Верхнюю Венгрию, в которой обеспечили себя небольшим количеством словакской поддержки, позволившая эффективно управлять этими землями до 1434 года."
      style = 1

      date = { day = 1 month = january year = 1428 }
      offset = 30
      
      action_a = {
               name = "Совершить набеги"
               command = { type = casusbelli which = HUN value = 60 }
               command = { type = INF whicH = 330 value = 10000 } #Raiding parties created in Ostmarch
                 }
}

#
event = {
      id = 200224
      trigger = {
              owned = { province = 327 data = -1 } #Ostmark
            
                }
      random = no
      country = SIL
      name = "Освобождение Остмарка от немцев"
      desc = "В XIII века Австрия входила в состав Чешского королевства, но теперь эти земли под властью немцев Габсбургов. В Остмарке ещё сохранилось славяянское население, хотя и изрядно онемеченное. Как нам следует поступить с новым владением?"
      style = 1
      
      date = { day = 1 month = january year = 1427 }
      offset = 5 
      deathdate = { day = 31 month = december year = 1450 }

      action_a ={				
		name = "Нам не удержать Остмарк. Разграбим и уйдём!"
		command = { type = secedeprovince which = HAB value = 327 }
		command = { type = treasury value = 200 }
	}      

      action_b = {
               name = "Изгнать немцев и восстановить власть Чешской короны!"
               command = { type = provinceculture which = 327 value = czech }
               command = { type = population which = 327 value = -3000 }
               command = { type = treasury value = 50 }
               command = { type = vp value = 20 }
               command = { type = province_revoltrisk which = 327 value = 4}
               command = { type = addcore which = 327 }
                  }
}

#(1429-1450) Liberation of our Slovak brethren
event = {
	id = 401022
	trigger = {
		owned = { province = 316 data = -1 } #Carpathia
		owned = { province = 326 data = -1 } #Presburg
owned = { province = 1999 data = -1 } #Presburg
	}
	random = no
	country = SIL
	name = "Liberation of our Slovak brethren"
	desc = "We have managed to establish permanent Hussite control of the territories inhabited by Slovaks which formerly formed Upper Hungary. The part of the Slovak populace that has embraced the Hussite faith willingly supports us, however there is strong resistance from the catholics. If we just manage to keep our hold on Slovakia and let our preachers spread our doctrines, we might be able to convert the majority of Slovakia to the Hussite faith and establish a permanent union between Bohemia and former Upper Hungary."
	date = { day = 1 month = january year = 1429 }
	offset = 15
	deathdate = { day = 29 month = december year = 1450 }

	action_a = {
		name = "ACTIONNAME401022A" #Welcome our Slovak brothers in faith
		command = { type = add_countryculture which = slovak }
		command = { type = setflag which = Hussite_Slovakia }
		command = { type = province_revoltrisk which = 316 value = 6 } 
		command = { type = province_revoltrisk which = 326 value = 6 } 
command = { type = province_revoltrisk which = 1999 value = 6 }
		command = { type = vp value = 20 }
	}
}

#(1430-1480) Loss of Slovakia
event = {
	id = 401023
	trigger = {
		flag = Hussite_Slovakia
		NOT = { owned = { province = 316 data = -1 } } #Carpathia
		NOT = { owned = { province = 326 data = -1 } } #Presburg
		NOT = { event = 129055 } #BOH: Addition of Slovakia to the Kingdom of Bohemia
	}
	random = no
	country = SIL
	name = "Loss of Slovakia"
	desc = "We have lost the Slovak territories again. All hope of forming a united Hussite nation of Czechs and Slovaks is gone, and our Hussite brethren in Slovakia will be exposed to harsh persecution."
	date = { day = 1 month = january year = 1430 }
	offset = 1
	deathdate = { day = 29 month = december year = 1480 }

	action_a = {
		name = "ACTIONNAME401023A" #Arrrgh
		command = { type = clrflag which = Hussite_Slovakia }
		command = { type = remove_countryculture which = slovak }
		command = { type = vp value = -20 }
	}
}