##############################
##Russian Unification events##
### by Tanone & Demian     ###
##############################

#Lithuania claims Kievan heritage#
event = {
      id = 89900
      trigger = { 
        OR = {  event = 89999 
                NOT = { exists = MOS } 
        } 
        NOT = { exists = RUS } 
        } 
      random = no
      country = LIT
      name = "EVENTNAME89900"
      desc = "EVENTHIST89900"
      style = 1
      date = { day = 1 month = january year = 1419 }
      offset = 60
      deathdate = { day = 30 month = december year = 1430 }
      action_a = { 
        name = "ACTIONNAME89900A"
        command = { type = addcore which = 277 }
        command = { type = addcore which = 280 }
        command = { type = addcore which = 274 }
        command = { type = addcore which = 267 }
        command = { type = addcore which = 450 }
        command = { type = addcore which = 278 }
        command = { type = addcore which = 272 }
        command = { type = addcore which = 270 }
        command = { type = addcore which = 271 }
        command = { type = addcore which = 279 }
        command = { type = addcore which = 1424 }
        command = { type = addcore which = 447 }
        command = { type = addcore which = 467 }
        command = { type = addcore which = 268 }
        command = { type = addcore which = 448 }
        command = { type = addcore which = 1962 }
        command = { type = addcore which = 275 }
        command = { type = addcore which = 266 }
        command = { type = addcore which = 269 }
        command = { type = addcore which = 262 }
        command = { type = addcore which = 1470 }
command = { type = addcore which = 1401 }
 command = { type = addcore which = 1433 }
        command = { type = addcore which = 1455 }
        command = { type = addcore which = 1458 }
command = { type = addcore which = 452 }
command = { type = addcore which = 1570 }
 command = { type = addcore which = 451 }
command = { type = addcore which = 459 }
        command = { type = casusbelli which = MOS  value = 120 }
        command = { type = trigger which = 89901 }
        command = { type = trigger which = 89902 }
        command = { type = trigger which = 89903 }
        command = { type = trigger which = 191919 }
        } 
      action_b = { 
        name = "ACTIONNAME89900B"
        command = { type = sleepevent which = 89901 }
        command = { type = sleepevent which = 89902 }
        command = { type = sleepevent which = 89903 }
        command = { type = sleepevent which = 89910 }
        } 
} 

#Vladimir-Suzdal reaction to Lithuanian claims#
event = {
      id = 89901
      trigger = { 
        event = 89900 
        } 
      random = no
      country = SUZ
      name = "EVENTNAME89901"
      desc = "EVENTHIST89901"
      style = 1
      date = { day = 1 month = january year = 1419 }
      offset = 60
      deathdate = { day = 30 month = december year = 1430 }
      action_a = { 
        name = "ACTIONNAME89901A"
        command = { type = casusbelli which = LIT  value = 120 }
        command = { type = relation which = LIT  value = -100 }
        command = { type = sleepevent which = 89905 }
        command = { type = sleepevent which = 89904  }
        } 
      action_b = { 
        name = "ACTIONNAME89901B"
        command = { type = trigger which = 89904 }
        command = { type = sleepevent which = 89905 }
        } 
      action_c = { 
        name = "ACTIONNAME89901C"
        command = { type = trigger which = 89905 }
        command = { type = sleepevent which = 89904 }
        } 
} 


#Moscow reaction to Lithuanian claims#
event = {
      id = 89902
      trigger = { 
        event = 89900 
        } 
      random = no
      country = MOS
      name = "EVENTNAME89902"
      desc = "EVENTHIST89902"
      style = 1
      date = { day = 1 month = january year = 1419 }
      offset = 60
      deathdate = { day = 30 month = december year = 1430 }
      action_a = { 
        name = "ACTIONNAME89901A"
        command = { type = casusbelli which = LIT value = 120 }
        command = { type = relation which = LIT value = -200 }
        command = { type = sleepevent which = 89907 }
        command = { type = sleepevent which = 89906 }
        } 
      action_b = { 
        name = "ACTIONNAME89901B"
        command = { type = trigger which = 89906 }
        command = { type = sleepevent which = 89907 }
        } 
      action_c = { 
        name = "ACTIONNAME89901C"
        command = { type = trigger which = 89907 }
        command = { type = sleepevent which = 89906 }
        } 
} 

#Tver reaction to Lithuanian claims#
event = {
      id = 89903
      trigger = { 
        event = 89900 
        } 
      random = no
      country = TVE
      name = "EVENTNAME89903"
      desc = "EVENTHIST89903"
      style = 1
      date = { day = 1 month = january year = 1419 }
      offset = 60
      deathdate = { day = 30 month = december year = 1430 }
      action_a = { 
        name = "ACTIONNAME89901B"
        command = { type = trigger which = 89908  }
        command = { type = sleepevent which = 89909 }
        } 
      action_b = { 
        name = "ACTIONNAME89901A"
        command = { type = casusbelli which = LIT value = 120 }
        command = { type = relation which = LIT value = -100 }
        command = { type = sleepevent which = 89909 }
        command = { type = sleepevent which = 89908 }
        } 
      action_c = { 
        name = "ACTIONNAME89901C"
        command = { type = trigger which = 89909 }
        command = { type = sleepevent which = 89908  }
        } 
} 

#Vassalization of Vladimir#
event = {
      id = 89904
      trigger = { 
        event = 89901 
        } 
      random = no
      country = LIT
      name = "EVENTNAME89904"
      desc = "EVENTHIST89904"
      style = 1
      date = { day = 1 month = january year = 1419 }
      offset = 60
      deathdate = { day = 30 month = december year = 1430 }
      action_a = { 
        name = "ACTIONNAME89904A"
        command = { type = vassal which = SUZ }
        command = { type = relation which = SUZ value = 100 }
        } 
      action_b = { 
        name = "ACTIONNAME89901A"
        command = { type = war which = SUZ }
        } 
} 

#Annexation of Vladimir#
event = {
      id = 89905
      trigger = { 
        event = 89901 
        } 
      random = no
      country = LIT
      name = "EVENTNAME89905"
      desc = "EVENTHIST89905"
      style = 1
      date = { day = 1 month = january year = 1419 }
      offset = 60
      deathdate = { day = 30 month = december year = 1430 }
      action_a = { 
        name = "ACTIONNAME89905A"
        command = { type = inherit which = SUZ }
        } 
} 


#Vassalization of Moscow#
event = {
      id = 89906
      trigger = { 
        event = 89902 
        } 
      random = no
      country = LIT
      name = "EVENTNAME89906"
      desc = "EVENTHIST89906"
      style = 1
      date = { day = 1 month = january year = 1419 }
      offset = 60
      deathdate = { day = 30 month = december year = 1430 }
      action_a = { 
        name = "ACTIONNAME89904A"
        command = { type = vassal which = MOS }
        command = { type = relation which = MOS value = 100 }
        } 
      action_b = { 
        name = "ACTIONNAME89901A"
        command = { type = war which = MOS }
        } 
} 

#Annexation of Moscow#
event = {
      id = 89907
      trigger = { 
        event = 89902 
        } 
      random = no
      country = LIT
      name = "EVENTNAME89907"
      desc = "EVENTHIST89907"
      style = 1
      date = { day = 1 month = january year = 1419 }
      offset = 60
      deathdate = { day = 30 month = december year = 1430 }
      action_a = { 
        name = "ACTIONNAME89905A"
        command = { type = inherit which = MOS }
        } 
} 

#Vassalization of Tver#
event = {
      id = 89908
      trigger = { 
        event = 89903 
        } 
      random = no
      country = LIT
      name = "EVENTNAME89908"
      desc = "EVENTHIST89908"
      style = 1
      date = { day = 1 month = january year = 1419 }
      offset = 60
      deathdate = { day = 30 month = december year = 1430 }
      action_a = { 
        name = "ACTIONNAME89904A"
        command = { type = vassal which = TVE }
        command = { type = relation which = TVE value = 100 }
        } 
      action_b = { 
        name = "ACTIONNAME89901A"
        command = { type = war which = TVE }
        } 
} 

#Annexation of Tver#
event = {
      id = 89909
      trigger = { 
        event = 89903 
        } 
      random = no
      country = LIT
      name = "EVENTNAME89909"
      desc = "EVENTHIST89909"
      style = 1
      date = { day = 1 month = january year = 1419 }
      offset = 60
      deathdate = { day = 30 month = december year = 1430 }
      action_a = { 
        name = "ACTIONNAME89905A"
        command = { type = inherit which = TVE }
        } 
} 

#Unification of Rus by Lithuinia#
event = {
      id = 89910
 trigger = { 
        atwar = no 
        NOT = { 
        exists = RUS 
        } 
        OR = { 
        NOT = { 
        exists = MOS 
        } 
        vassal = { country = LIT country = MOS }
        } 
        OR = { 
        NOT = { 
        exists = NVG 
        } 
        vassal = { country = LIT country = NVG }
        } 
     } 
      random = no
      country = LIT
      name = "EVENTNAME89910"
      desc = "EVENTHIST89910"
      style = 1
      date = { day = 1 month = january year = 1424 }
      offset = 300
      deathdate = { day = 31 month = december year = 1492 }
      action_a = { 
        name = "ACTIONNAME89910A"
        command = { type = remove_countryculture which = baltic }
        command = { type = add_countryculture which = russian }
        command = { type = capital which = 1462 }
        command = { type = country which = RUS }
        command = { type = sleepevent which = 40065 }
        command = { type = vp value = 200 }
        } 
      action_b = { 
        name = "ACTIONNAME89910B"
        command = { type = remove_countryculture which = baltic }
        command = { type = add_countryculture which = russian }
        command = { type = capital which = 285 }
        command = { type = country which = RUS }
        command = { type = sleepevent which = 40065 }
        command = { type = vp value = 100 }
        } 
      action_c = { 
        name = "ACTIONNAME89910C"
        command = { type = country which = RUS }
        command = { type = sleepevent which = 40065 }
        command = { type = vp value = 50 }
        } 
} 

#Lithuanian Rus chooses the Faith#
event = {
      id = 89911
      trigger = { 
        atwar = no 
        OR = { event = 3833 
               event = 23020 
               NOT = { exists = BYZ }
        } 
        event = 89910 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89911"
      desc = "EVENTHIST89911"
      style = 1
      date = { day = 1 month = january year = 1435 }
      offset = 600
      deathdate = { day = 30 month = december year = 1530 }
      action_a = { 
        name = "ACTIONNAME89911A"
        command = { type = religion  which = orthodox }
        command = { type = provincereligion which = 1426 value = orthodox }
        command = { type = trigger which = 89912 }
        command = { type = sleepevent which = 89914 }
        command = { type = sleepevent which = 89936 }
        command = { type = sleepmonarch which = 99406 }
        command = { type = wakemonarch which = 05138 }
        } 
      action_b = { 
        name = "ACTIONNAME89911B"
        command = { type = gainmanufactory which = 287 value = luxury }
        command = { type = provincereligion which = 1425 value = catholic }
        command = { type = provincereligion which = 1426 value = catholic }
        command = { type = provincereligion which = 287 value = catholic }
        command = { type = provincereligion which = 1423 value = catholic }
        command = { type = provincereligion which = 286 value = catholic }
        command = { type = sleepevent which = 40018 }
        command = { type = sleepevent which = 40019 }
        command = { type = sleepevent which = 40020 }
        command = { type = sleepevent which = 40021 }
        command = { type = sleepevent which = 40024 }
        command = { type = sleepevent which = 40043 }
        command = { type = sleepevent which = 40045 }
        command = { type = sleepevent which = 40047 }
        command = { type = sleepevent which = 40073 }
        command = { type = sleepevent which = 3414 }
        command = { type = sleepevent which = 3415 }
        command = { type = sleepevent which = 3792 }
        command = { type = sleepevent which = 89916 }
        command = { type = sleepevent which = 89917 }
        command = { type = sleepevent which = 89918 }
        command = { type = sleepevent which = 89919 }
        command = { type = sleepevent which = 89920 }
        command = { type = sleepevent which = 89921 }
        command = { type = sleepevent which = 89922 }
        command = { type = sleepevent which = 89923 }
        } 
      action_c = { 
        name = "ACTIONNAME89911C"
        command = { type = capital which = 284 }
        command = { type = provincereligion which = 1428 value = catholic }
        command = { type = provincereligion which = 1425 value = catholic }
        command = { type = provincereligion which = 1426 value = catholic }
        command = { type = provincereligion which = 287 value = catholic }
        command = { type = provincereligion which = 1423 value = catholic }
        command = { type = provincereligion which = 286 value = catholic }
        command = { type = provincereligion which = 285 value = catholic }
        command = { type = sleepevent which = 40018 }
        command = { type = sleepevent which = 40019 }
        command = { type = sleepevent which = 40020 }
        command = { type = sleepevent which = 40021 }
        command = { type = sleepevent which = 40024 }
        command = { type = sleepevent which = 40043 }
        command = { type = sleepevent which = 40045 }
        command = { type = sleepevent which = 40047 }
        command = { type = sleepevent which = 40073 }
        command = { type = sleepevent which = 3414 }
        command = { type = sleepevent which = 3415 }
        command = { type = sleepevent which = 3792 }
        command = { type = sleepevent which = 89916 }
        command = { type = sleepevent which = 89917 }
        command = { type = sleepevent which = 89918 }
        command = { type = sleepevent which = 89919 }
        command = { type = sleepevent which = 89920 }
        command = { type = sleepevent which = 89921 }
        command = { type = sleepevent which = 89922 }
        command = { type = sleepevent which = 89923 }
        } 
} 

#Catholics are trying to secede#
event = {
      id = 89912
      trigger = { 
        event = 89911 
        religion = orthodox
        } 
      random = no
      country = RUS
      name = "EVENTNAME89912"
      desc = "EVENTHIST89912"
      style = 1
      date = { day = 1 month = january year = 1460 }
      offset = 600
      deathdate = { day = 30 month = december year = 1520 }
      action_a = { 
        name = "ACTIONNAME89912A"
        command = { type = province_revoltrisk which = 284 value = 15 }
        command = { type = religiousrevolt which = 284 }
        command = { type = relation which = POL value = -100 }
        command = { type = relation which = LAT value = -100 }
        } 
      action_b = { 
        name = "ACTIONNAME89912B"
        command = { type = independence which = LIT }
        command = { type = vassal which = LIT }
        command = { type = relation which = POL value = 100 }
        command = { type = relation which = LAT value = 100 }
        } 
} 

#Lithuanian Secession#
event = {
      id = 89913
      trigger = { 
        event = 89912 
        control = { province = 284 data = REB }
        } 
      random = no
      country = RUS
      name = "EVENTNAME89913"
      desc = "EVENTHIST89913"
      style = 1
      date = { day = 1 month = january year = 1460 }
      offset = 30
      deathdate = { day = 30 month = december year = 1600 }
      action_a = { 
        name = "ACTIONNAME89912B"
        command = { type = independence which = LIT }
        } 
} 

#Uprise of Ivan Vasilievich of Moscow#
event = {
      id = 89914
      trigger = { 
        event = 89910 
        religion = catholic
        NOT = { 
        exists = MOS 
        } 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89914"
      desc = "EVENTHIST89914"
      style = 1
      date = { day = 1 month = january year = 1460 }
      offset = 600
      deathdate = { day = 30 month = december year = 1520 }
      action_a = { 
        name = "ACTIONNAME89914A"
        command = { type = province_revoltrisk which = 270 value = 15 }
        command = { type = religiousrevolt which = 270 }
        } 
      action_b = { 
        name = "ACTIONNAME89914B"
        command = { type = independence which = MOS }
        command = { type = vassal which = MOS }
        } 
} 

#Moscow Secession#
event = {
      id = 89915
      trigger = { 
        event = 89914 
        control = { province = 270 data = REB }
        } 
      random = no
      country = RUS
      name = "EVENTNAME89915"
      desc = "EVENTHIST89915"
      style = 1
      date = { day = 1 month = january year = 1480 }
      offset = 30
      deathdate = { day = 30 month = december year = 1600 }
      action_a = { 
        name = "ACTIONNAME89912B"
        command = { type = independence which = MOS }
        } 
} 

#Death of Fedor IV#
event = {
      id = 89916
      trigger = { 
        NOT = { 
        monarch = 04804 
        } 
        } 
      random = no
      country = RYA
      name = "EVENTNAME89916"
      desc = "EVENTHIST89916"
      style = 1
      date = { day = 1 month = january year = 1503 }
      offset = 60
      deathdate = { day = 30 month = december year = 1505 }
      action_a = { 
        name = "ACTIONNAME89916A"
        command = { type = trigger which = 89924 }
        command = { type = relation which = RUS value = 200 }
        } 
      action_b = { 
        name = "ACTIONNAME89916B"
        command = { type = trigger which = 89925 }
        command = { type = relation which = RUS value = -100 }
        } 
} 

#Annexation of Ryazan'#
event = {
      id = 89917
      trigger = { 
        event = 89916 
        } 
      random = no
      country = RYA
      name = "EVENTNAME89917"
      desc = "EVENTHIST89917"
      style = 1
      date = { day = 1 month = january year = 1515 }
      offset = 60
      deathdate = { day = 30 month = december year = 1521 }
      action_a = { 
        name = "ACTIONNAME89904A"
        command = { type = trigger which = 89926 }
        } 
      action_b = { 
        name = "ACTIONNAME89917B"
        command = { type = trigger which = 89927 }
        command = { type = relation which = RUS value = -200 }
        } 
} 

#End of the Republic#
event = {
      id = 89919
      trigger = { 
        event = 89918 
        } 
      random = no
      country = PSK
      name = "EVENTNAME89919"
      desc = "EVENTHIST89919"
      style = 1
      date = { day = 1 month = january year = 1510 }
      offset = 60
      deathdate = { day = 30 month = december year = 1600 }
      action_a = { 
        name = "ACTIONNAME89904A"
        command = { type = trigger which = 89929 }
        } 
      action_b = { 
        name = "ACTIONNAME89917B"
        command = { type = trigger which = 89930 }
        command = { type = relation which = RUS value = -200 }
        } 
} 

#Brethren of Grand Prince seek for Protection#
event = {
      id = 89920
      trigger = { 
        NOT = { 
        vassal = { country = NVG country = RUS }
        } 
        } 
      random = no
      country = NVG
      name = "EVENTNAME89920"
      desc = "EVENTHIST89920"
      style = 1
      date = { day = 1 month = january year = 1465 }
      offset = 60
      deathdate = { day = 30 month = december year = 1500 }
      action_a = { 
        name = "ACTIONNAME89920A"
        command = { type = casusbelli which = RUS value = 120 }
        command = { type = relation which = RUS value = -100 }
        command = { type = trigger which = 89933 }
        } 
      action_b = { 
        name = "ACTIONNAME89920B"
        command = { type = trigger which = 89934 }
        } 
} 

#End of the Republic#
event = {
      id = 89921
      trigger = { 
        vassal = { country = NVG country = RUS }
        } 
      random = no
      country = NVG
      name = "EVENTNAME89919"
      desc = "EVENTHIST89921"
      style = 1
      date = { day = 1 month = january year = 1478 }
      offset = 30
      deathdate = { day = 30 month = december year = 1500 }
      action_a = { 
        name = "ACTIONNAME89921A"
        command = { type = trigger which = 89935 }
        } 
      action_b = { 
        name = "ACTIONNAME89921B"
        command = { type = relation which = RUS value = -100 }
        command = { type = breakvassal which = RUS }
        } 
} 

#Battle on Shelon'#
event = {
      id = 89922
      trigger = { 
        event = 89933 
        war = { country = NVG country = RUS }
        control = { province = 274 data = RUS }
        } 
      random = no
      country = NVG
      name = "EVENTNAME89922"
      desc = "EVENTHIST89922"
      style = 1
      date = { day = 1 month = january year = 1471 }
      offset = 30
      deathdate = { day = 30 month = december year = 1471 }
      action_a = { 
        name = "ACTIONNAME89922A"
        command = { type = trigger which = 89937 }
        } 
      action_b = { 
        name = "ACTIONNAME89922B"
        } 
} 

#Expeditions to Polar lands#
event = {
      id = 89923
      trigger = { 
        OR = { 
        owned = { province = 269 data = -1 }
        owned = { province = 1570 data = -1 }
        } 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89923"
      desc = "EVENTHIST89923"
      style = 1
      date = { day = 1 month = january year = 1495 }
      offset = 30
      deathdate = { day = 30 month = december year = 1505 }
      action_a = { 
        name = "ACTIONNAME89923A"
        command = { type = wakeleader which = 09228 }
        } 
      action_b = { 
        name = "ACTIONNAME89923B"
        command = { type = wakeleader which = 09207 }
        } 
} 

#Vassalization of Ryazan'#
event = {
      id = 89924
      trigger = { 
        event = 89916 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89924"
      desc = "EVENTHIST89924"
      style = 1
      date = { day = 1 month = january year = 1503 }
      offset = 30
      deathdate = { day = 30 month = december year = 1505 }
      action_a = { 
        name = "ACTIONNAME89924A"
        command = { type = vassal which = RYA }
        } 
} 

#Rejected will#
event = {
      id = 89925
      trigger = { 
        event = 89916 
        NOT = { 
        vassal = { country = RUS country = RYA }
        } 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89925"
      desc = "EVENTHIST89925"
      style = 1
      date = { day = 1 month = january year = 1503 }
      offset = 30
      deathdate = { day = 30 month = december year = 1515 }
      action_a = { 
        name = "ACTIONNAME89925A"
        command = { type = casusbelli which = RYA value = 120 }
        command = { type = relation which = RYA value = -200 }
        } 
} 

#Ordinance to abolish Ryazan's appanage#
event = {
      id = 89926
      trigger = { 
        event = 89917 
        vassal = { country = RUS country = RYA }
        } 
      random = no
      country = RUS
      name = "EVENTNAME89926"
      desc = "EVENTHIST89926"
      style = 1
      date = { day = 1 month = january year = 1515 }
      offset = 30
      deathdate = { day = 30 month = december year = 1521 }
      action_a = { 
        name = "ACTIONNAME89926A"
        command = { type = inherit which = RYA }
        } 
} 

#Suppression of the Rebels#
event = {
      id = 89927
      trigger = { 
        event = 89917 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89927"
      desc = "EVENTHIST89927"
      style = 1
      date = { day = 1 month = january year = 1515 }
      offset = 30
      deathdate = { day = 30 month = december year = 1521 }
      action_a = { 
        name = "ACTIONNAME89925A"
        command = { type = war which = RYA }
        } 
} 

#Vassalization of Pskov#
event = {
      id = 89928
      trigger = { 
        event = 89918 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89928"
      desc = "EVENTHIST89928"
      style = 1
      date = { day = 1 month = january year = 1510 }
      offset = 30
      deathdate = { day = 30 month = december year = 1515 }
      action_a = { 
        name = "ACTIONNAME89924A"
        command = { type = vassal which = PSK }
        } 
} 

#Ordinance to abolish the Republic of Pskov#
event = {
      id = 89929
      trigger = { 
        event = 89919 
        vassal = { country = RUS country = PSK }
        } 
      random = no
      country = RUS
      name = "EVENTNAME89929"
      desc = "EVENTHIST89929"
      style = 1
      date = { day = 1 month = january year = 1515 }
      offset = 30
      deathdate = { day = 30 month = december year = 1600 }
      action_a = { 
        name = "ACTIONNAME89926A"
        command = { type = inherit which = PSK }
        } 
} 

#Suppression of the Rebels#
event = {
      id = 89930
      trigger = { 
        event = 89919 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89927"
      desc = "EVENTHIST89930"
      style = 1
      date = { day = 1 month = january year = 1510 }
      offset = 30
      deathdate = { day = 30 month = december year = 1600 }
      action_a = { 
        name = "ACTIONNAME89925A"
        command = { type = war which = PSK }
        } 
} 

#Election of the Successor#
event = {
      id = 89931
      trigger = { 
        NOT = { 
        monarch = 05151 
        } 
        event = 89910 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89931"
      desc = "EVENTHIST89931"
      style = 1
      date = { day = 1 month = january year = 1429 }
      offset = 30
      deathdate = { day = 30 month = december year = 1440 }
      action_a = { 
        name = "ACTIONNAME89931A"
        command = { type = monarch which = 05152 }
        command = { type = technology which = latin }
        command = { type = sleepevent which = 40025 }
        command = { type = sleepevent which = 40026 }
        command = { type = sleepevent which = 40027 }
        command = { type = sleepevent which = 40028 }
        command = { type = wakemonarch which = 05153 }
        command = { type = wakemonarch which = 05154 }
        command = { type = wakemonarch which = 05155 }
        command = { type = wakemonarch which = 05156 }
        command = { type = wakemonarch which = 05157 }
        command = { type = sleepmonarch which = 05130 }
        command = { type = sleepmonarch which = 05131 }
        command = { type = sleepmonarch which = 05132 }
        command = { type = sleepmonarch which = 05133 }
        command = { type = sleepmonarch which = 05134 }
        command = { type = sleepmonarch which = 05135 }
        command = { type = sleepmonarch which = 05136 }
        command = { type = sleepmonarch which = 05137 }
        command = { type = sleepmonarch which = 05138 }
        command = { type = sleepmonarch which = 04117 }
        command = { type = sleepmonarch which = 04118 }
        command = { type = sleepmonarch which = 04119 }
        } 
      action_b = { 
        name = "ACTIONNAME89931B"
        command = { type = monarch which = 05167 }
        command = { type = capital which = 270 }
        command = { type = trigger which = 89911 }
        command = { type = sleepevent which = 89948 }
        } 
} 

#Heritage of the Ostrozhsky#
event = {
      id = 89932
      trigger = { 
        NOT = { 
        monarch = 05157 
        } 
        event = 89931 
        religion = catholic 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89932"
      desc = "EVENTHIST89932"
      style = 1
      date = { day = 1 month = january year = 1619 }
      offset = 30
      deathdate = { day = 30 month = december year = 1621 }
      action_a = { 
        name = "ACTIONNAME89932A"
        command = { type = monarch which = 05158 }
        command = { type = wakemonarch which = 05159 }
        command = { type = wakemonarch which = 05160 }
        command = { type = wakemonarch which = 05161 }
        command = { type = wakemonarch which = 05162 }
        command = { type = wakemonarch which = 05163 }
        command = { type = wakemonarch which = 05164 }
        command = { type = wakemonarch which = 05165 }
        command = { type = wakemonarch which = 05166 }
        command = { type = sleepmonarch which = 05139 }
        command = { type = sleepmonarch which = 05140 }
        command = { type = sleepmonarch which = 05141 }
        command = { type = sleepmonarch which = 05142 }
        command = { type = sleepmonarch which = 05143 }
        command = { type = sleepmonarch which = 05144 }
        command = { type = sleepmonarch which = 05145 }
        command = { type = sleepmonarch which = 05146 }
        command = { type = sleepmonarch which = 05147 }
        command = { type = sleepmonarch which = 05148 }
        command = { type = sleepmonarch which = 05149 }
        command = { type = sleepmonarch which = 05150 }
        command = { type = sleepevent which = 40034 }
        command = { type = sleepevent which = 40038 }
        command = { type = sleepevent which = 40067 }
        command = { type = sleepevent which = 40030 }
        command = { type = sleepevent which = 40031 }
        command = { type = sleepevent which = 40032 }
        command = { type = sleepevent which = 40033 }
        command = { type = sleepevent which = 40039 }
        command = { type = sleepevent which = 40040 }
        command = { type = sleepevent which = 40048 }
        command = { type = sleepevent which = 40049 }
        command = { type = sleepevent which = 40068 }
        command = { type = sleepevent which = 3418 }
        command = { type = sleepevent which = 3419 }
        command = { type = sleepevent which = 3421 }
        command = { type = sleepevent which = 3427 }
        command = { type = sleepevent which = 3433 }
        command = { type = sleepevent which = 3437 }
        command = { type = sleepevent which = 3438 }
        command = { type = land value = 1500 }
        command = { type = naval value = 1000 }
        command = { type = domestic which = ARISTOCRACY value = -1 }
        command = { type = domestic which = OFFENSIVE value = 1 }
        command = { type = domestic which = land value = 1 }
        command = { type = domestic which = QUALITY value = 2 }
        command = { type = gainmanufactory which = -1 value = weapons }
        command = { type = gainmanufactory which = -1 value = navalequipment }
        command = { type = INF which = -2 value = 20000 }
        command = { type = CAV which = -2 value = 10000 }
        command = { type = ART which = -2 value = 30 }
        command = { type = manpower value = 20 }
        command = { type = stability value = -3 }
        command = { type = domestic which = serfdom  value = 2 }
        command = { type = technology which = latin }
        } 
} 

#Novgorod shall be Punished#
event = {
      id = 89933
      trigger = { 
        event = 89920 
        NOT = { 
        vassal = { country = NVG country = RUS }
        } 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89933"
      desc = "EVENTHIST89933"
      style = 1
      date = { day = 1 month = january year = 1468 }
      offset = 30
      deathdate = { day = 30 month = december year = 1470 }
      action_a = { 
        name = "ACTIONNAME89933A"
        command = { type = war which = NVG }
        command = { type = INF which = -2 value = 10000 }
        command = { type = CAV which = -2 value = 10000 }
        } 
      action_b = { 
        name = "ACTIONNAME89933B"
        command = { type = casusbelli which = NVG  value = 120 }
        } 
} 

#Recognition of Novgorod's Vassalization#
event = {
      id = 89934
      trigger = { 
        event = 89920 
        NOT = { 
        vassal = { country = NVG country = RUS }
        } 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89934"
      desc = "EVENTHIST89934"
      style = 1
      date = { day = 1 month = january year = 1468 }
      offset = 30
      deathdate = { day = 30 month = december year = 1470 }
      action_a = { 
        name = "ACTIONNAME89934A"
        command = { type = vassal which = NVG }
        } 
} 

#Removal of the Veche Bell#
event = {
      id = 89935
      trigger = { 
        event = 89921 
        vassal = { country = NVG country = RUS }
        } 
      random = no
      country = RUS
      name = "EVENTNAME89935"
      desc = "EVENTHIST89935"
      style = 1
      date = { day = 1 month = january year = 1478 }
      offset = 30
      deathdate = { day = 30 month = december year = 1480 }
      action_a = { 
        name = "ACTIONNAME89935A"
        command = { type = inherit which = NVG }
        } 
      action_b = { 
        name = "ACTIONNAME89935B"
        command = { type = vp value = -100 }
        } 
} 

#Spread of the True Faith#
event = {
      id = 89936
      trigger = { 
        event = 89911 
        religion = catholic 
        } 
      random = yes
      country = RUS
      name = "EVENTNAME89936"
      desc = "EVENTHIST89936"
      style = 1
      date = { day = 1 month = january year = 1450 }
      offset = 30
      deathdate = { day = 30 month = december year = 1800 }
      action_a = { 
        name = "ACTIONNAME89936A"
        command = { type = conversion which = -1 }
        } 
} 

#Battle on Shelon'#
event = {
      id = 89937
      trigger = { 
        event = 89933 
        event = 89922 
        war = { country = RUS country = NVG }
        control = { province = 274 data = RUS }
        } 
      random = no
      country = RUS
      name = "EVENTNAME89922"
      desc = "EVENTHIST89922"
      style = 1
      date = { day = 1 month = january year = 1471 }
      offset = 30
      deathdate = { day = 30 month = december year = 1471 }
      action_a = { 
        name = "ACTIONNAME89937A"
        command = { type = inherit which = NVG }
        } 
} 

#Heritage of the Ostrozhsky#
event = {
      id = 89938
      trigger = { 
        NOT = { 
        monarch = 05157 
        } 
        event = 89931 
        religion = orthodox 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89932"
      desc = "EVENTHIST89938"
      style = 1
      date = { day = 1 month = january year = 1620 }
      offset = 30
      deathdate = { day = 30 month = december year = 1621 }
      action_a = { 
        name = "ACTIONNAME89938A"
        command = { type = monarch which = 05138 }
        command = { type = technology which = torthodox }
        } 
} 

#Union of Tver and Lithuania#
event = {
      id = 89939
      trigger = { 
        monarch = 5124 
        alliance = { country = TVE country = LIT }
        } 
      random = no
      country = RUS
      name = "EVENTNAME89939"
      desc = "EVENTHIST89939"
      style = 1
      date = { day = 1 month = january year = 1480 }
      offset = 60
      deathdate = { day = 30 month = december year = 1485 }
      action_a = { 
        name = "ACTIONNAME89939A"
        command = { type = trigger which = 89940 }
        } 
      action_b = { 
        name = "ACTIONNAME89939B"
        command = { type = relation which = TVE value = 100 }
        } 
} 

#Tver's Response to Ultimatum#
event = {
      id = 89940
      trigger = { 
        event = 89939 
        } 
      random = no
      country = TVE
      name = "EVENTNAME89940"
      desc = "EVENTHIST89940"
      style = 1
      date = { day = 1 month = january year = 1480 }
      offset = 60
      deathdate = { day = 30 month = december year = 1485 }
      action_a = { 
        name = "ACTIONNAME89940A"
        command = { type = relation which = RUS value = 200 }
        command = { type = relation which = LIT value = -200 }
        command = { type = trigger which = 89941 }
        } 
      action_b = { 
        name = "ACTIONNAME89940B"
        command = { type = trigger which = 89942 }
        command = { type = relation which = RUS value = -200 }
        } 
} 

#Vassalization of Tver'#
event = {
      id = 89941
      trigger = { 
        event = 89940 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89941"
      desc = "EVENTHIST89941"
      style = 1
      date = { day = 1 month = january year = 1480 }
      offset = 60
      deathdate = { day = 30 month = december year = 1485 }
      action_a = { 
        name = "ACTIONNAME89941A"
        command = { type = vassal which = TVE }
        } 
} 

#War!#
event = {
      id = 89942
      trigger = { 
        event = 89940 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89942"
      desc = "EVENTHIST89942"
      style = 1
      date = { day = 1 month = january year = 1480 }
      offset = 60
      deathdate = { day = 30 month = december year = 1485 }
      action_a = { 
        name = "ACTIONNAME89942A"
        command = { type = INF which = -1 value = 10000 }
        command = { type = CAV which = -1 value = 5000 }
        command = { type = war which = TVE }
        } 
      action_b = { 
        name = "ACTIONNAME89942B"
        command = { type = relation which = TVE value = 100 }
        command = { type = sleepevent which = 89943 }
        } 
} 

#Surrender of Tver'#
event = {
      id = 89943
      trigger = { 
        war = { country = RUS country = TVE }
        control = { province = 278 data = RUS } 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89943"
      desc = "EVENTHIST89943"
      style = 1
      date = { day = 1 month = january year = 1480 }
      offset = 60
      deathdate = { day = 30 month = december year = 1500 }
      action_a = { 
        name = "ACTIONNAME89943A"
        command = { type = inherit which = TVE }
        } 
      action_b = { 
        name = "ACTIONNAME89943B"
        command = { type = vassal which = TVE }
        } 
} 

#Annexation of Tver'#
event = {
      id = 89944
      trigger = { 
        vassal = { country = RUS country = TVE } 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89944"
      desc = "EVENTHIST89944"
      style = 1
      date = { day = 1 month = january year = 1480 }
      offset = 60
      deathdate = { day = 30 month = december year = 1500 }
      action_a = { 
        name = "ACTIONNAME89943A"
        command = { type = inherit which = TVE }
        } 
      action_b = { 
        name = "ACTIONNAME89944B"
        command = { type = relation which = TVE value = 100 }
        } 
} 

#Annexation of Vladimir-Suzdal#
event = {
      id = 89945
      trigger = { 
        vassal = { country = RUS country = SUZ } 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89945"
      desc = "EVENTHIST89945"
      style = 1
      date = { day = 1 month = january year = 1460 }
      offset = 60
      deathdate = { day = 30 month = december year = 1500 }
      action_a = { 
        name = "ACTIONNAME89945A"
        command = { type = inherit which = SUZ }
        } 
      action_b = { 
        name = "ACTIONNAME89944B"
        command = { type = relation which = SUZ value = 100 }
        } 
} 

#End of the Jagellons#
event = {
    id = 89948
    trigger = {
        event = 89931 
        NOT = {
            monarch = 04116
            }
        }
    random = no
    country = POL
    name = "EVENTNAME89948"
    desc = "EVENTHIST89948"
    style = 1
    date = { day = 1 month = january year = 1570 }
    offset = 1
    deathdate = { day = 1 month = january year = 1573 }
    action_a = {        
        name = "ACTIONNAME89948A"
        command = { type = monarch which = 04117 }
        command = { type = domestic which = ARISTOCRACY value = 4 }
        command = { type = domestic which = CENTRALIZATION value = -4 }
        command = { type = stability value = -1 }
    }
    action_b = {        
        name = "ACTIONNAME89948B"
        command = { type = monarch which = 04119 }
        command = { type = domestic which = ARISTOCRACY value = 1 }
        command = { type = domestic which = CENTRALIZATION value = -1 }
        command = { type = stability value = 1 }
    }
    action_c = {        
        name = "ACTIONNAME89948C"
        command = { type = domestic which = ARISTOCRACY value = 3 }
        command = { type = domestic which = CENTRALIZATION value = 2 }
        command = { type = stability value = 2 }
        command = { type = trigger which = 89954 }
    }
}

#Kievan Union#
event = {
      id = 89949
      trigger = { 
        event = 89954  
        religion = catholic 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89949"
      desc = "EVENTHIST89949"
      style = 1
      date = { day = 1 month = january year = 1570 }
      offset = 1
      deathdate = { day = 30 month = december year = 1587 }
      action_a = { 
        name = "ACTIONNAME89949A"
        command = { type = inherit which = POL }
        } 
      action_b = { 
        name = "ACTIONNAME89949B"
        command = { type = relation which = POL value = 200 }
        command = { type = vassal which = POL }
        command = { type = trigger which = 89950 }
        } 
} 

#Russo-Polish Confederacy#
event = {
    id = 89950
    trigger = {
        OR = {
             event = 89949
             event = 89951
            }
        }
    random = no
    country = POL
    name = "EVENTNAME89950"
    desc = "EVENTHIST89950"
    style = 1
    date = { day = 1 month = january year = 1570 }
    offset = 1
    deathdate = { day = 1 month = january year = 1573 }
    action_a = {        
        name = "ACTIONNAME89950A"
        command = { type = monarch which = 04118 }
        command = { type = domestic which = ARISTOCRACY value = 2 }
        command = { type = domestic which = CENTRALIZATION value = 4 }
        command = { type = stability value = 2 }
    }
}

#Kievan Union#
event = {
      id = 89951
      trigger = { 
        event = 89954  
        religion = orthodox 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89949"
      desc = "EVENTHIST89951"
      style = 1
      date = { day = 1 month = january year = 1570 }
      offset = 1
      deathdate = { day = 30 month = december year = 1587 }
      action_a = { 
        name = "ACTIONNAME89951A"
        command = { type = relation which = POL value = 200 }
        command = { type = vassal which = POL }
        command = { type = trigger which = 89950 }
        } 
} 

#Escape of Henry Valois#
event = {
    id = 89952
    trigger = {
        monarch = 04117 
        NOT = { event = 89950 }
        }
    random = no
    country = POL
    name = "EVENTNAME89952"
    desc = "EVENTHIST89952"
    style = 1
    date = { day = 1 month = january year = 1573 }
    offset = 1
    deathdate = { day = 1 month = january year = 1576 }
    action_a = {        
        name = "ACTIONNAME89950A"
        command = { type = monarch which = 04118 }
        command = { type = domestic which = ARISTOCRACY value = 2 }
        command = { type = domestic which = CENTRALIZATION value = 2 }
        command = { type = stability value = 2 }
        command = { type = land value = 500 }
    }
    action_b = {        
        name = "ACTIONNAME89948B"
        command = { type = monarch which = 04119 }
        command = { type = domestic which = ARISTOCRACY value = 1 }
        command = { type = domestic which = CENTRALIZATION value = -1 }
        command = { type = stability value = 1 }
    }
    action_c = {        
        name = "ACTIONNAME89948C"
        command = { type = domestic which = ARISTOCRACY value = 3 }
        command = { type = domestic which = CENTRALIZATION value = 2 }
        command = { type = stability value = 2 }
        command = { type = trigger which = 89954 }
    }
}

#Death of Stefan Batory#
event = {
    id = 89953
    trigger = {
        monarch = 04118 
        NOT = { event = 89950 }
        }
    random = no
    country = POL
    name = "EVENTNAME89953"
    desc = "EVENTHIST89953"
    style = 1
    date = { day = 1 month = january year = 1585 }
    offset = 1
    deathdate = { day = 1 month = january year = 1587 }
    action_b = {        
        name = "ACTIONNAME89953A"
        command = { type = monarch which = 04119 }
        command = { type = domestic which = ARISTOCRACY value = 3 }
        command = { type = domestic which = CENTRALIZATION value = -2 }
        command = { type = stability value = 1 }
    }
    action_c = {        
        name = "ACTIONNAME89948C"
        command = { type = domestic which = ARISTOCRACY value = 3 }
        command = { type = domestic which = CENTRALIZATION value = 2 }
        command = { type = stability value = 2 }
        command = { type = trigger which = 89958 }
    }
}

#Election of Vasily II Ostrozhsky#
event = {
      id = 89954
#     trigger = { 
#       OR = { event = 89948 
#             event = 89952
#             event = 89953  
#          }
#       } 
      random = no
      country = RUS
      name = "EVENTNAME89954"
      desc = "EVENTHIST89954"
      style = 1
#     date = { day = 1 month = january year = 1570 }
      offset = 1
#     deathdate = { day = 30 month = december year = 1587 }
      action_a = { 
        name = "ACTIONNAME89905A"
        command = { type = relation which = POL value = 200 }
        } 
} 

#Grand Prince of Russia becomes Czar of All Russia#
event = {
      id = 89955
      trigger = { 
event = 89910
        countrysize = 15
        NOT = { exists = PSK }
        NOT = { exists = NVG }
        NOT = { exists = SUZ }
        NOT = { exists = MOS }
        NOT = { exists = TVE }
        NOT = { exists = RYA }
        NOT = { exists = SMO }
        } 
      random = no
      country = RUS
      name = "EVENTNAME89955"
      desc = "EVENTHIST89955"
      style = 1
      date = { day = 1 month = january year = 1500 }
      offset = 1
      deathdate = { day = 30 month = december year = 1600 }
      action_a = { 
        name = "ACTIONNAME89905A"
        command = { type = vp value = 500 }
        command = { type = badboy value = -10 }
        command = { type = domestic which = CENTRALIZATION value = 2 }
        command = { type = stability value = 2 }
        command = { type = loansize which = 200 }
        command = { type = relation which = STE value = -200 }
        command = { type = relation which = BYZ value = -100 }
        command = { type = relation which = HAB value = -50 }
        } 
} 

#Decline of Technologies#
event = {
      id = 89956
      trigger = { 
        event = 89931
        religion = orthodox
        NOT = { domestic = { type = innovative value = 5 } }
        domestic = { type = serfdom value = 7 }
        domestic = { type = aristocracy value = 7 }
        NOT = { domestic = { type = centralization value = 7 } }
        } 
      random = no
      country = RUS
      name = "EVENTNAME89956"
      desc = "EVENTHIST89956"
      style = 1
      date = { day = 1 month = january year = 1500 }
      offset = 1
      deathdate = { day = 30 month = december year = 1620 }
      action_a = { 
        name = "ACTIONNAME89905A"
        command = { type = technology which = torthodox }
        } 
} 

#Death of Stefan Batory#
event = {
    id = 89957
    trigger = {
        monarch = 04118 
        event = 89950
        }
    random = no
    country = POL
    name = "EVENTNAME89953"
    desc = "EVENTHIST89957"
    style = 1
    date = { day = 1 month = january year = 1585 }
    offset = 1
    deathdate = { day = 1 month = january year = 1587 }
    action_a = {        
        name = "ACTIONNAME89957A"
        command = { type = monarch which = 04119 }
        command = { type = domestic which = ARISTOCRACY value = 2 }
        command = { type = domestic which = CENTRALIZATION value = -2 }
    }
}

#Election of Vasily II Ostrozhsky#
event = {
      id = 89958
#     trigger = { 
#        event = 89953  
#     } 
      random = no
      country = RUS
      name = "EVENTNAME89954"
      desc = "EVENTHIST89954"
      style = 1
#     date = { day = 1 month = january year = 1585 }
      offset = 1
#     deathdate = { day = 30 month = december year = 1587 }
      action_a = { 
        name = "ACTIONNAME89905A"
        command = { type = relation which = POL value = 200 }
        } 
} 

#Kievan Union#
event = {
      id = 89959
      trigger = { 
        event = 89958  
        religion = orthodox 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89949"
      desc = "EVENTHIST89951."
      style = 1
      date = { day = 1 month = january year = 1585 }
      offset = 1
      deathdate = { day = 30 month = december year = 1587 }
      action_a = { 
        name = "ACTIONNAME89949B"
        command = { type = relation which = POL value = 200 }
        command = { type = vassal which = POL }
        command = { type = trigger which = 89961 }
        } 
}

#Kievan Union#
event = {
      id = 89960
      trigger = { 
        event = 89958  
        religion = catholic 
        } 
      random = no
      country = RUS
      name = "EVENTNAME89949"
      desc = "EVENTHIST89951"
      style = 1
      date = { day = 1 month = january year = 1585 }
      offset = 1
      deathdate = { day = 30 month = december year = 1587 }
      action_a = { 
        name = "ACTIONNAME89949A"
        command = { type = inherit which = POL }
        } 
      action_b = { 
        name = "ACTIONNAME89949B"
        command = { type = relation which = POL value = 200 }
        command = { type = vassal which = POL }
        command = { type = trigger which = 89961 }
        } 
} 

#Russo-Polish Confederacy#
event = {
    id = 89961
    trigger = {
        OR = {
             event = 89959
             event = 89960
            }
        }
    random = no
    country = POL
    name = "EVENTNAME89961"
    desc = "EVENTHIST89961"
    style = 1
    date = { day = 1 month = january year = 1585 }
    offset = 1
    deathdate = { day = 1 month = january year = 1587 }
    action_a = {        
        name = "ACTIONNAME89953A"
        command = { type = monarch which = 04119 }
        command = { type = domestic which = ARISTOCRACY value = 3 }
        command = { type = domestic which = CENTRALIZATION value = -2 }
        command = { type = stability value = 1 }
    }
}

#Alexandras I Vitautas is recognized as Grand Prince of All Russia#
event = {
      id = 89962
      trigger = { 
         event = 89910 
     } 
      random = no
      country = RUS
      name = "EVENTNAME89962"
      desc = "EVENTHIST89962"
      style = 1
      date = { day = 1 month = january year = 1420 }
      offset = 1
      deathdate = { day = 30 month = december year = 1431 }
      action_a = { 
        name = "ACTIONNAME89962A"
        command = { type = sleepmonarch which = 05167 }
        command = { type = wakemonarch which = 05152 }
        command = { type = population which = -2 value = 10000 }
        } 
} 

#Death of Vasily I#
event = {
      id = 89999
      trigger = { 
        NOT = { monarch = 05170 } 
        } 
      random = no
      country = MOS
      name = "EVENTNAME89999"
      desc = "EVENTHIST89999"
      style = 1
      date = { day = 1 month = january year = 1419 }
      offset = 60
      deathdate = { day = 30 month = december year = 1430 }
      action_a = { 
        name = "ACTIONNAME89905A"
        command = { type = trigger which = 89900 }
        } 
} 