#####Russian Major Events#####
#By Joakim 'Greven' Bergqwist#
##############################
#Livonian & Byzantine Events##
#    by Raudex & Chimera     #
##############################

#The Fate of the Livonian Order#
event = {

    id = 3407
    trigger = { event = 3620 }
    random = no
    country = RUS
    name = "EVENTNAME3407"
    desc = "EVENTHIST3407"
    style = 2

    action_a = {                    #Defy the Agreement#
        name = "ACTIONNAME3407A"
        command = { type = addcore which = 276 }
        command = { type = addcore which = 282 }
        command = { type = addcore which = 1429 }
command = { type = addcore which = 1326 }
        command = { type = relation which = KUR value = -50 }
        command = { type = relation which = DAN value = 150 }
        command = { type = relation which = POL value = -150 }
        command = { type = relation which = SWE value = -150 }
        command = { type = casusbelli which = POL value = 60 }
        command = { type = casusbelli which = SWE value = 60 }
        command = { type = stability value = -2 }
    }

    action_b = {                    #Accept the Agreement#
        name = "ACTIONNAME3407B"
        command = { type = relation which = KUR value = 150 }
        command = { type = relation which = DAN value = -50 }
        command = { type = relation which = POL value = 100 }
        command = { type = relation which = SWE value = 100 }
        command = { type = stability value = 1 }
        command = { type = treasury value = 200 }
    }
}

#The Fate of the Livonian Order#
event = {

    id = 3408
    trigger = { event = 3620 }                  
    random = no
    country = RUS
    name = "EVENTNAME3408"
    desc = "EVENTHIST3408"
    style = 2

    action_a = {                    #Accept Agreement#
        name = "ACTIONNAME3408A"
        command = { type = addcore which = 276 }
        command = { type = addcore which = 1326 }
        command = { type = addcore which = 282 }
        command = { type = relation which = KUR value = 150 }
        command = { type = relation which = DAN value = 100 }
        command = { type = stability value = 1 }
    }

    action_b = {                    #Only Accept your part of the Agreement#
        name = "ACTIONNAME3408B"
        command = { type = addcore which = 282 }
        command = { type = addcore which = 1429 }
        command = { type = addcore which = 276 }
        command = { type = addcore which = 1009 }
command = { type = addcore which = 1326 }
        command = { type = relation which = KUR value = 100 }
        command = { type = relation which = DAN value = -100 }
        command = { type = stability value = -2 }
    }
}

#The Fate of the Livonian Order#
event = {

    id = 3409   
    trigger = { event = 3620 }              
    random = no
    country = RUS
    name = "EVENTNAME3409"
    desc = "EVENTHIST3409"
    style = 2

    action_a = {                    #Defy the Knights#
        name = "ACTIONNAME3409A"
        command = { type = addcore which = 276 }
        command = { type = addcore which = 282 }
        command = { type = addcore which = 1429 }
command = { type = addcore which = 1326 }
        command = { type = casusbelli which = LIV value = 60 }
        command = { type = stability value = -2 }
        command = { type = relation which = LIV value = -150 }
        command = { type = relation which = POL value = 50 }
        command = { type = relation which = SWE value = 50 }
        command = { type = relation which = DAN value = 50 }
    }

    action_b = {                    #Accept this Government#
        name = "ACTIONNAME3409B"
        command = { type = stability value = 1 }
        command = { type = treasury value = 200 }
        command = { type = relation which = LIV value = 150 }
        command = { type = relation which = POL value = -50 }
        command = { type = relation which = SWE value = -50 }
        command = { type = relation which = DAN value = -50 }
    }
}

#The Russian Orthodox Church declared independent of Constantinople#
event = {

    id = 3415
    trigger = {
            NOT = {
                exists = BYZ
                }
        }
    random = no
    country = RUS
    name = "EVENTNAME3415"
    desc = "EVENTHIST3415"
    style = 2

    date = { day = 1 month = january year = 1588 }
    offset = 374
    deathdate = { day = 1 month = january year = 1591 }

    action_a = {                #Let us lead the True Faith from Moscow#
        name = "ACTIONNAME3415A"
        command = { type = domestic which = CENTRALIZATION value = 1 }
        command = { type = domestic which = INNOVATIVE value = 2 }
        command = { type = relation which = PSK value = 150 }
        command = { type = relation which = GEO value = 150 }
        command = { type = relation which = SER value = 150 }
        command = { type = relation which = WAL value = 150 }
        command = { type = relation which = MOL value = 150 }
        command = { type = relation which = NVG value = 150 }
        command = { type = relation which = SUZ value = 150 }
        command = { type = relation which = RAG value = 150 }
        command = { type = relation which = RYA value = 150 }
        command = { type = relation which = TVE value = 150 }
        command = { type = relation which = ARM value = 150 }
        command = { type = relation which = AMI value = 150 }
        command = { type = relation which = TRE value = 150 }
        command = { type = relation which = CYP value = 150 }
command = { type = relation which = BAE value = 150 }
command = { type = relation which = SEL value = 150 }
        command = { type = stability value = 1 }
    }

    action_b = {                #No we need Constantinople to lead the True Faith#
        name = "ACTIONNAME3415B"
        command = { type = domestic which = CENTRALIZATION value = -2 }
        command = { type = domestic which = INNOVATIVE value = -1 }
        command = { type = DIP which = -3 value = 277 }
        command = { type = ADM which = -2 value = 277 }
        command = { type = MIL which = -1 value = 277 }
        command = { type = addcore which = 479 }
        command = { type = addcore which = 1416 }
        command = { type = addcore which = 1953 }
        command = { type = addcore which = 357 }
        command = { type = addcore which = 358 }
        command = { type = addcore which = 359 }
        command = { type = addcore which = 360 }
        command = { type = addcore which = 1956 }
command = { type = addcore which = 1960 }
        command = { type = add_countryculture which = greek }
        command = { type = stability value = -3 }
    }
}


#Nikons Reform and the Raskolniks#
event = {

    id = 3418
    random = no
    country = RUS
    name = "EVENTNAME3418"
    desc = "EVENTHIST3418"
    style = 3

    date = { day = 1 month = january year = 1653 }
    offset = 127
    deathdate = { day = 1 month = january year = 1654 }

    action_a = {                #Let us Modernize the Church#
        name = "ACTIONNAME3418A"
        command = { type = domestic which = CENTRALIZATION value = 1 }
        command = { type = domestic which = INNOVATIVE value = 1 }
        command = { type = revoltrisk which = 60 value = 2 }
        command = { type = ADM which = 1 value = 240 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
        command = { type = stability value = -1 }
    }

    action_b = {                #Follow the heed of the Raskolniks#
        name = "ACTIONNAME3418B"
        command = { type = domestic which = CENTRALIZATION value = -2 }
        command = { type = domestic which = INNOVATIVE value = -3 }
        command = { type = conversion which = -1 }
        command = { type = conversion which = -1 }
        command = { type = conversion which = -1 }
        command = { type = stability value = 1 }
    }
}

#Fjodor Baikov's Diplomatic Incident#
event = {

    id = 3419
    trigger = {
            exists = CHI
            }
    random = no
    country = RUS
    name = "EVENTNAME3419"
    desc = "EVENTHIST3419"
    style = 3

    date = { day = 1 month = january year = 1656 }
    offset = 121
    deathdate = { day = 1 month = january year = 1657 }

    action_a = {                #Pretend to be a Chinese Vassal#
        name = "ACTIONNAME3419A"
        command = { type = vp value = -50 }
        command = { type = relation which = CHI value = 100 }
        command = { type = stability value = -1 }
    }

    action_b = {                #Pretend to be a Chinese Vassal and pay Tribute#
        name = "ACTIONNAME3419B"
        command = { type = vp value = -50 }
        command = { type = relation which = CHI value = 200 }
        command = { type = dynastic which = CHI }
        command = { type = treasury value = -200 }
        command = { type = stability value = -2 }
    }

    action_c = {                #Send back the Head of the Chinese Minister#
        name = "ACTIONNAME3419C"
        command = { type = relation which = CHI value = -300 }
        command = { type = DIP which = -1 value = 240 }
        command = { type = colonists value = -6 }
        command = { type = merchants value = -3 }
    }

}

#The Treaty of Nerchiinsk#
event = {

    id = 3421
    trigger = {
            NOT = {
                war = {
                    country = RUS
                    country = CHI
                    }
                }
        }
    random = no
    country = RUS
    name = "EVENTNAME3421"
    desc = "EVENTHIST3421"
    style = 3

    date = { day = 1 month = january year = 1689 }
    offset = 131
    deathdate = { day = 1 month = january year = 1690 }

    action_a = {                    #Accept the Treaty#
        name = "ACTIONNAME3421A"
        command = { type = trigger which = 3705 }
        command = { type = secedeprovince which = CHI value = 618 }
        command = { type = secedeprovince which = CHI value = 631 }
        command = { type = secedeprovince which = CHI value = 632 }
        command = { type = secedeprovince which = CHI value = 635 }
        command = { type = secedeprovince which = CHI value = 636 }
        command = { type = secedeprovince which = CHI value = 639 }
        command = { type = secedeprovince which = CHI value = 640 }
        command = { type = secedeprovince which = CHI value = 607 }
        command = { type = secedeprovince which = CHI value = 634 }      
command = { type = addcore which = 612 }
command = { type = addcore which = 614 }
command = { type = addcore which = 617 }
command = { type = addcore which = 619 }
command = { type = addcore which = 621 }
command = { type = addcore which = 622 }
command = { type = addcore which = 623 }
command = { type = addcore which = 624 }
command = { type = addcore which = 625 }
command = { type = addcore which = 626 }
command = { type = addcore which = 627 }
command = { type = addcore which = 628 }
command = { type = addcore which = 629 }
command = { type = addcore which = 630 }
command = { type = addcore which = 1587 }
        command = { type = relation which = CHI value = 250 }
        command = { type = treasury value = -600 }
        command = { type = stability value = 1 }
command = { type = badboy value = -2 }
    }

    action_b = {                    #Reject the Treaty as Preposterous#
        name = "ACTIONNAME3421B"
        command = { type = trigger which = 3793 }
        command = { type = addcore which = 612 }
command = { type = addcore which = 614 }
command = { type = addcore which = 617 }
command = { type = addcore which = 619 }
command = { type = addcore which = 621 }
command = { type = addcore which = 622 }
command = { type = addcore which = 623 }
command = { type = addcore which = 624 }
command = { type = addcore which = 625 }
command = { type = addcore which = 626 }
command = { type = addcore which = 627 }
command = { type = addcore which = 628 }
command = { type = addcore which = 629 }
command = { type = addcore which = 630 }
command = { type = addcore which = 1587 }
command = { type = addcore which = 631 }
command = { type = addcore which = 632 }
command = { type = addcore which = 635 }
command = { type = addcore which = 636 }
command = { type = addcore which = 639 }
command = { type = addcore which = 607 }
command = { type = addcore which = 634 }
        command = { type = relation which = CHI value = -250 }
        command = { type = relation which = -1 value = -250 }
        command = { type = relation which = -1 value = -250 }
        command = { type = relation which = -1 value = -250 }
        command = { type = DIP which = -1 value = 240 }
        command = { type = casusbelli which = CHI value = 60 }
        command = { type = stability value = 1 }
    }
}

#The Great Northern Conflict#
event = {

    id = 3422
    trigger = {
            OR = {
                owned = { province = 282 data =SWE }
                owned = { province = 283 data =SWE }
                owned = { province = 275 data =SWE }
                owned = { province = 276 data =SWE }
                owned = { province = 1429 data =SWE }
                owned = { province = 1009 data =SWE }
                owned = { province = 265 data =SWE }
                owned = { province = 1470 data =SWE }
                owned = { province = 266 data =SWE }
                owned = { province = 269 data =SWE }
                owned = { province = 262 data =SWE }
                owned = { province = 882 data =SWE }
                owned = { province = 277 data =SWE }
                owned = { province = 274 data =SWE }
                }
        }
    random = no
    country = RUS
    name = "EVENTNAME3422"
    desc = "EVENTHIST3422"
    style = 4

    date = { day = 15 month = june year = 1697 }
    offset = 1
    deathdate = { day = 1 month = april year = 1700 }

    action_a = {                #Create a Grand Alliance#
        name = "ACTIONNAME3422A"
        command = { type = casusbelli which = SWE value = 36 }
        command = { type = relation which = SWE value = -150 }
        command = { type = relation which = DAN value = 150 }
        command = { type = relation which = POL value = 150 }
        command = { type = relation which = SAC value = 150 }
        command = { type = alliance which = DAN }
        command = { type = alliance which = POL }
        command = { type = alliance which = SAC }
        command = { type = stability value = -1 }
        command = { type = treasury value = -800 }
        command = { type = addcore which = 276 }
        command = { type = addcore which = 282 }
command = { type = addcore which = 265 }
        command = { type = addcore which = 1429 }
command = { type = addcore which = 1963 }
        command = { type = addcore which = 1009 }
command = { type = addcore which = 1326 }
command = { type = badboy value = -5 }
    }

    action_b = {                #Let the others bleed first#
        name = "ACTIONNAME3422B"
        command = { type = casusbelli which = SWE value = 12 }
        command = { type = relation which = SWE value = -150 }
        command = { type = relation which = DAN value = 50 }
        command = { type = relation which = POL value = 100 }
        command = { type = relation which = SAC value = 100 }
        command = { type = stability value = -1 }
    }
}

#Mazepa's Ukrainian Uprising#
event = {

    id = 3425
    trigger = {
            OR = {
                atwar = yes
                NOT = {
                    stability = 1
                    }
                }
            }
    random = no
    country = RUS
    name = "EVENTNAME3425"
    desc = "EVENTHIST3425"
    style = 4

    date = { day = 1 month = january year = 1707 }
    offset = 119
    deathdate = { day = 30 month = december year = 1710 }

    action_a = {                #We have dealt with separatists before#
        name = "ACTIONNAME3425A"
        command = { type = domestic which = CENTRALIZATION value = -1 }
        command = { type = relation which = UKR value = -50 }
        command = { type = casusbelli which = UKR value = 120 }
        command = { type = revolt which = 1394 }
        command = { type = revolt which = 1394 }
        command = { type = treasury value = -200 }
        command = { type = stability value = -1 }
    }
}

#Governmental Reforms and the Absolutism#
event = {

    id = 3426
    trigger = {
            atwar = yes
            }
    random = no
    country = RUS
    name = "EVENTNAME3426"
    desc = "EVENTHIST3426"
    style = 4

    date = { day = 1 month = january year = 1711 }
    offset = 1
    deathdate = { day = 30 month = december year = 1820 }

    action_a = {                #Governmental Reforms and the Absolutism#
        name = "ACTIONNAME3426A"
        command = { type = domestic which = CENTRALIZATION value = 2 }
        command = { type = domestic which = ARISTOCRACY value = -1 }
        command = { type = domestic which = INNOVATIVE value = 2 }
        command = { type = domestic which = MERCANTILISM value = 2 }
        command = { type = domestic which = SERFDOM value = 2 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = gainmanufactory which = -1 value = weapons }
        command = { type = gainmanufactory which = -1 value = goods }
        command = { type = gainmanufactory which = -1 value = refinery }
        command = { type = infra value = 1000 }
        command = { type = trade value = 1000 }
        command = { type = treasury value = -1000 }
        command = { type = stability value = -4 }
        command = { type = revoltrisk which = 240 value = 3 }
    }

    action_b = {                #Only Absolutism#
        name = "ACTIONNAME3426B"
        command = { type = domestic which = CENTRALIZATION value = 2 }
        command = { type = domestic which = ARISTOCRACY value = -2 }
        command = { type = domestic which = INNOVATIVE value = 2 }
        command = { type = domestic which = MERCANTILISM value = 3 }
        command = { type = domestic which = SERFDOM value = 1 }
        command = { type = revoltrisk which = 240 value = 2 }
        command = { type = stability value = -2 }
    }

    action_c = {                # Only Governmental Reforms#
        name = "ACTIONNAME3426C"
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = domestic which = INNOVATIVE value = 1 }
        command = { type = gainmanufactory which = -1 value = weapons }
        command = { type = gainmanufactory which = -1 value = goods }
        command = { type = gainmanufactory which = -1 value = refinery }
        command = { type = infra value = 1000 }
        command = { type = trade value = 1000 }
        command = { type = treasury value = -1200 }
        command = { type = stability value = -1 }
    }

}

#The State take control of the Russian Church#
event = {

    id = 3427
    random = no
    country = RUS
    name = "EVENTNAME3427"
    desc = "EVENTHIST3427"
    style = 4

    date = { day = 1 month = january year = 1719 }
    offset = 299
    deathdate = { day = 30 month = december year = 1723 }

    action_a = {                #Yes#
        name = "ACTIONNAME3427A"
        command = { type = gainmanufactory which = 271 value = luxury }
        command = { type = domestic which = CENTRALIZATION value = 1 }
        command = { type = stability value = -2 }
    }

    action_b = {                #No#
        name = "ACTIONNAME3427B"
        command = { type = stability value = 1 }
    }
}

#The Polish Succession of 1733#
event = {

    id = 3429               #Triggered by SAC3628#
    random = no
    country = RUS
    name = "EVENTNAME3429"
    desc = "EVENTHIST3429"
    style = 4

    action_a = {                #Secure Poland for the Wettins#
        name = "ACTIONNAME3429A"
        command = { type = casusbelli which = FRA value = 24 }
        command = { type = casusbelli which = PRU value = 24 }
        command = { type = alliance which = SAC }
        command = { type = alliance which = HAB }
        command = { type = relation which = POL value = 100 }
        command = { type = relation which = SAC value = 150 }
        command = { type = relation which = HAB value = 150 }
        command = { type = relation which = FRA value = -150 }
        command = { type = relation which = PRU value = -150 }
        command = { type = relation which = SWE value = -150 }
        command = { type = stability value = 1 }
    }

    action_b = {                #Give the Wettins a helping hand#
        name = "ACTIONNAME3429B"
        command = { type = casusbelli which = FRA value = 12 }
        command = { type = alliance which = SAC }
        command = { type = alliance which = HAB }
        command = { type = relation which = POL value = 50 }
        command = { type = relation which = SAC value = 50 }
        command = { type = relation which = HAB value = 50 }
        command = { type = relation which = FRA value = -100 }
        command = { type = relation which = PRU value = -100 }
        command = { type = relation which = SWE value = -100 }
        command = { type = stability value = -1 }
    }
}

#The Courland Succession of 1726#
event = {

    id = 3430
    trigger = {
        exists = KUR
    }
    random = no
    country = RUS
    name = "EVENTNAME3430"
    desc = "EVENTHIST3430"
    style = 4

    date = { day = 13 month = january year = 1726 }
    offset = 0
    deathdate = { day = 14 month = january year = 1726 }

    action_a = {                #Prepare to grab Kurland#
        name = "ACTIONNAME3430A"
        command = { type = addcore which = 283 }
        command = { type = addcore which = 289 }
        command = { type = relation which = PRU value = -150 }
        command = { type = relation which = KUR value = -150 }
        command = { type = relation which = POL value = -100 }
        command = { type = relation which = SWE value = -50 }
        command = { type = casusbelli which = SWE value = 3 }
        command = { type = casusbelli which = POL value = 3 }
        command = { type = casusbelli which = PRU value = 3 }
        command = { type = casusbelli which = KUR value = 3 }
        command = { type = stability value = -1 }
    }

    action_b = {                #Ignore this petty matter#
        name = "ACTIONNAME3430B"
        command = { type = stability value = -2 }
        command = { type = relation which = PRU value = 100 }
        command = { type = relation which = KUR value = 100 }
        command = { type = relation which = SWE value = 50 }
        command = { type = relation which = POL value = 100 }
        command = { type = vp value = -50 }
    }
}

#The Effects of the Pragmatic Sanction#
event = {

    id = 3431
    random = no
    country = RUS
    name = "EVENTNAME3431"
    desc = "EVENTHIST3431"
    style = 4

    date = { day = 1 month = september year = 1742 }
    offset = 10
    deathdate = { day = 1 month = april year = 1746 }


    action_a = {                #Pro-Habsburg#
        name = "ACTIONNAME3431A"
        command = { type = casusbelli which = FRA value = 36 }
        command = { type = casusbelli which = PRU value = 36 }
        command = { type = relation which = BAY value = -150 }
        command = { type = relation which = SAC value = -150 }
        command = { type = relation which = PRU value = -150 }
        command = { type = relation which = FRA value = -150 }
        command = { type = relation which = HOL value = 150 }
        command = { type = relation which = ENG value = 150 }
        command = { type = relation which = HES value = 100 }
        command = { type = relation which = HAN value = 100 }
        command = { type = relation which = HAB value = 150 }
        command = { type = stability value = 1 }

    }

    action_b = {                #Neutral#
        name = "ACTIONNAME3431B"
        command = { type = relation which = BAY value = 50 }
        command = { type = relation which = SAC value = 50 }
        command = { type = relation which = PRU value = 100 }
        command = { type = relation which = FRA value = 100 }
        command = { type = relation which = ENG value = -100 }
        command = { type = relation which = HOL value = -50 }
        command = { type = relation which = RUS value = -50 }
        command = { type = relation which = HES value = -100 }
        command = { type = relation which = HAN value = -100 }
        command = { type = relation which = HAB value = -100 }
        command = { type = relation which = SWE value = -100 }
        command = { type = stability value = -1 }
        command = { type = casusbelli which = SWE value = 12 }

    }

    action_c = {                #Anti-Habsburg#
        name = "ACTIONNAME3431C"
        command = { type = casusbelli which = HAB value = 12 }
        command = { type = casusbelli which = ENG value = 12 }
        command = { type = relation which = BAY value = 150 }
        command = { type = relation which = SAC value = 150 }
        command = { type = relation which = PRU value = 150 }
        command = { type = relation which = FRA value = 150 }
        command = { type = relation which = HOL value = -100 }
        command = { type = relation which = ENG value = -150 }
        command = { type = relation which = HES value = -100 }
        command = { type = relation which = HAN value = -100 }
        command = { type = relation which = HAB value = -150 }
        command = { type = stability value = 1 }

    }

}

#The Duma and the Legislative Reform#
event = {

    id = 3432
    random = no
    country = RUS
    name = "EVENTNAME3432"
    desc = "EVENTHIST3432"
    style = 4

    date = { day = 1 month = january year = 1767 }
    offset = 102
    deathdate = { day = 1 month = january year = 1768 }

    action_a = {                #Talk about the Injustice in Society#
        name = "ACTIONNAME3432A"
        command = { type = domestic which = CENTRALIZATION value = -2 }
        command = { type = domestic which = ARISTOCRACY value = 6 }
        command = { type = domestic which = INNOVATIVE value = -1 }
        command = { type = domestic which = SERFDOM value = 3 }
        command = { type = revoltrisk which = 240 value = 3 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
 command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = stability value = 1 }
    }

    action_b = {                #Do something about the Injustice in Society#
        name = "ACTIONNAME3432B"
        command = { type = domestic which = CENTRALIZATION value = -3 }
        command = { type = domestic which = ARISTOCRACY value = -2 }
        command = { type = domestic which = INNOVATIVE value = 2 }
        command = { type = domestic which = SERFDOM value = -4 }
        command = { type = treasury value = -1500 }
        command = { type = stability value = -5 }
    }
}

#The Election of a Swedish Crownprince#     #Russian Candidate#
event = {

    id = 3433                   #Triggered by SWE3252#
    random = no
    country = RUS
    name = "EVENTNAME3433"
    desc = "EVENTHIST3433"
    style = 4

    action_a = {                #They made a wise choice#
        name = "ACTIONNAME3433A"
        command = { type = dynastic which = SWE }
        command = { type = relation which = SWE value = 100 }
        command = { type = stability value = 1 }
    }
}
#The Election of a Swedish Crownprince#     #Danish Candidate#
event = {

    id = 3792               #Triggered by SWE3252#
    random = no
    country = RUS
    name = "EVENTNAME3792"
    desc = "EVENTHIST3792"
    style = 4

    action_a = {                #We have been gravely insulted#
        name = "ACTIONNAME3792A"
        command = { type = casusbelli which = SWE value = 12 }
        command = { type = casusbelli which = DAN value = 12 }
        command = { type = relation which = SWE value = -200 }
        command = { type = relation which = DAN value = -200 }
        command = { type = stability value = -1 }
    }

    action_b = {                #They are not worth it#
        name = "ACTIONNAME3792B"
        command = { type = relation which = SWE value = 100 }
        command = { type = relation which = DAN value = 100 }
        command = { type = stability value = -1 }
    }
}

#The Mercantilistic Reforms#
event = {

    id = 3434
    random = no
    country = RUS
    name = "EVENTNAME3434"
    desc = "EVENTHIST3434"
    style = 4

    date = { day = 1 month = january year = 1770 }
    offset = 1902
    deathdate = { day = 1 month = january year = 1780 }

    action_a = {                #Yes, Reform#
        name = "ACTIONNAME3434A"
        command = { type = domestic which = MERCANTILISM value = 2 }
        command = { type = domestic which = CENTRALIZATION value = -1 }
         command = { type = treasury value = 300 }
        command = { type = trade value = 500 }
    }

    action_b = {                #No, Do Nothing#
        name = "ACTIONNAME3434B"
        command = { type = domestic which = CENTRALIZATION value = -1 }
        command = { type = trade value = 1000 }
    }

    action_c = {                #No, Opt for Free Trade#
        name = "ACTIONNAME3434C"
        command = { type = domestic which = CENTRALIZATION value = -1 }
        command = { type = domestic which = MERCANTILISM value = -2 }
        command = { type = trade value = 1500 }
    }

}

#Tsar Paul I:s Liberal Legislation#
event = {

    id = 3437
    random = no
    country = RUS
    name = "EVENTNAME3437"
    desc = "EVENTHIST3437"
    style = 4

    date = { day = 1 month = january year = 1797 }
    offset = 121
    deathdate = { day = 1 month = january year = 1798 }

    action_a = {                #Restrict Serfdom#
        name = "ACTIONNAME3437A"
        command = { type = domestic which = ARISTOCRACY value = -1 }
        command = { type = domestic which = INNOVATIVE value = 1 }
        command = { type = domestic which = SERFDOM value = -1 }
        command = { type = stability value = -1 }
    }

    action_b = {                #It is perfect as it is#
        name = "ACTIONNAME3437B"
        command = { type = stability value = 1 }
    }
}

#Tsar Alexander I:s Liberal Legislation#
event = {

    id = 3438
    random = no
    country = RUS
    name = "EVENTNAME3438"
    desc = "EVENTHIST3438"
    style = 5

    date = { day = 1 month = january year = 1801 }
    offset = 121
    deathdate = { day = 1 month = january year = 1802 }

    action_a = {                #Minimal reforms#
        name = "ACTIONNAME3438A"
        command = { type = domestic which = INNOVATIVE value = 1 }
        command = { type = domestic which = SERFDOM value = -1 }
        command = { type = stability value = -1 }
    }

    action_b = {                #Full Reform#
        name = "ACTIONNAME3438B"
        command = { type = domestic which = CENTRALIZATION value = -2 }
        command = { type = domestic which = ARISTOCRACY value = -2 }
        command = { type = domestic which = INNOVATIVE value = 1 }
        command = { type = domestic which = SERFDOM value = -3 }
        command = { type = stability value = -4 }
    }
}

#The Anjala League#
event = {

    id = 3439                       #Triggered by SWE3263#
    random = no
    country = RUS
    name = "EVENTNAME3439"
    desc = "EVENTHIST3439"
    style = 4

    action_a = {                #Promise independence to Finnish Nobility#
        name = "ACTIONNAME3439A"
        command = { type = trigger which = 3259 }
        command = { type = relation which = SWE value = -150 }
        command = { type = stability value = 1 }
    }

    action_b = {                #Reject and disclose them to Gustavus III#
        name = "ACTIONNAME3439B"
        command = { type = relation which = SWE value = 150 }
        command = { type = vp value = 30 } #For being consistent with reactionary policies#
    }
}

#The Partition of Poland#   #1st#
event = {

    id = 3440               #Triggered by POL3499#
    random = no
    country = RUS
    name = "EVENTNAME3440"
    desc = "EVENTHIST3440"
    style = 4

    action_a = {            #Poland is trying to reform and it must be stopped#
        name = "ACTIONNAME3440A"
        command = { type = casusbelli which = POL value = 60 }
        command = { type = relation which = POL value = -150 }
        command = { type = stability value = 3 }
        command = { type = treasury  value = 250 }
        command = { type = addcore which = 281 }
        command = { type = addcore which = 1361 }
command = { type = addcore which = 295 }
        command = { type = addcore which = 287 }
    command = { type = addcore which = 1461 }
    command = { type = addcore which = 1462 }
    }
}

#The Partition of Poland#   #2nd#
event = {

    id = 3441           #Triggered by POL3500#
    random = no
    country = RUS
    name = "EVENTNAME3441"
    desc = "EVENTHIST3441"
    style = 4

    action_a = {                #Poland is trying to reform and it must be stopped#
        name = "ACTIONNAME3441A"
        command = { type = casusbelli which = POL value = 60 }
        command = { type = relation which = POL value = -150 }
        command = { type = stability value = 3 }
        command = { type = treasury  value = 250 }
        command = { type = addcore which = 284 }
        command = { type = addcore which = 288 }
        command = { type = addcore which = 283 }
        command = { type = addcore which = 1425 }
        command = { type = addcore which = 1426 }
        command = { type = addcore which = 1428 }
        command = { type = addcore which = 293 }
        command = { type = addcore which = 294 }
        command = { type = addcore which = 297 }
        command = { type = addcore which = 295 }
  command = { type = addcore which = 449 }
        command = { type = addcore which = 461 }
        command = { type = addcore which = 1394 }
        command = { type = addcore which = 462 }
  command = { type = addcore which = 1430 }
        command = { type = addcore which = 462 }
 command = { type = addcore which = 1397 }
    }
}

#The Silent Sejm#
event = {

    id = 3442           #Triggered by POL3498#
    random = no
    country = RUS
    name = "EVENTNAME3442"
    desc = "EVENTHIST3442"
    style = 4

    action_a = {            #Poland is trying to reform and it must be stopped#
        name = "ACTIONNAME3442A"
        command = { type = casusbelli which = POL value = 60 }
        command = { type = relation which = POL value = -150 }
        command = { type = stability value = 1 }
    }
}

#The Contest with Poland#
event = {

    id = 3443               #Triggered by POL3497#
    random = no
    country = RUS
    name = "EVENTNAME3443"
    desc = "EVENTHIST3443"
    style = 3

    action_a = {            #Poland is trying to reform and it must be stopped#
        name = "ACTIONNAME3443A"
        command = { type = casusbelli which = POL value = 60 }
        command = { type = relation which = POL value = -150 }
        command = { type = stability value = 1 }
command = { type = badboy value = -2 }
    }
}

#In the Face of Napoleon#
event = {

    id = 3444
    trigger = { 
            owned = {
                province = 270 
                data = -1
                }
            owned = {
                province = 275 
                data = -1
                }
            war = {
                country = RUS
                country = FRA
                }
            event = 3148
        }
    random = no
    country = RUS
    name = "EVENTNAME3444"
    desc = "EVENTHIST3444"
    style = 5

    date = { day = 1 month = january year = 1803 }
    offset = 30
    deathdate = { day = 1 month = january year = 1820 }

    action_a = {            #Moscow shall be the capital#
        name = "ACTIONNAME3444A"
        command = { type = capital which = 270 }
        command = { type = stability value = 1 }
        command = { type = domestic which = CENTRALIZATION value = -1 }
    }

    action_b = {            #St:Petersburg shall be the capital#
        name = "ACTIONNAME3444B"
        command = { type = capital which = 275 }
        command = { type = stability value = -1 }
        command = { type = domestic which = CENTRALIZATION value = 1 }
    }
}

#The Restoration of the French Monarchy#
event = {

    id = 3783
    trigger = {
        monarch = 04018#Napoleon#
        control = {
            province = 385
            data = -1
        }
    }
    random = no
    country = RUS
    name = "EVENTNAME3783"
    desc = "EVENTHIST3783"
    style = 5
    
    date = { day = 1 month = january year = 1809 }
    offset = 10
    deathdate = { day = 1 month = january year = 1821 }

    action_a = {                #The Bourbons are reinstalled#
        name = "ACTIONNAME3783A"
        command = { type = vp value = 500 }
        command = { type = treasury value = 500 }
        command = { type = relation which = FRA value = 200 }
        command = { type = stability value = 3 }
        command = { type = trigger which = 3789 }
    }
}

############################
#####  Russian Events  #####
#####     by Crook     #####
############################


#Russian claims in the East#
event = {

    id = 40018
    trigger = {
            owned = { province = 447 data = -1 }
            owned = { province = 448 data = -1 }
            owned = { province = 452 data = -1 }
            owned = { province = 451 data = -1 }
        }
    random = no
    country = RUS
    name = "EVENTNAME3404"
    desc = "EVENTHIST3404"
    style = 2

    date = { day = 1 month = january year = 1487 }
    offset = 3000
    deathdate = { day = 1 month = january year = 1600 }

    action_a = {                #It all belongs to Mother Russia#
        name = "ACTIONNAME3404A"
        command = { type = INF which = -2 value = 10000 }
        command = { type = CAV which = -2 value = 10000 }
        command = { type = addcore which = 453 }
        command = { type = addcore which = 459 }
        command = { type = addcore which = 1460 }
        command = { type = addcore which = 460 }
        command = { type = addcore which = 458 }
        command = { type = addcore which = 455 }
        command = { type = addcore which = 457 }
        command = { type = addcore which = 446 }
        command = { type = addcore which = 1571 }
        command = { type = addcore which = 1422 }
        command = { type = addcore which = 454 }
        command = { type = addcore which = 1438 }
command = { type = addcore which = 510 }
command = { type = addcore which = 512 }
command = { type = addcore which = 1459 }
command = { type = addcore which = 456 }
        command = { type = stability value = 1 }
    }
}

#Russian claims on Lithuania#
event = {

    id = 40019
    trigger = {

NOT = {  event = 89910 }

            owned = { province = 270 data = -1 }
            owned = { province = 279 data = -1 }
            owned = { province = 450 data = -1 }
          
        }
    country = RUS
    name = "EVENTNAME40019"
    desc = "EVENTHIST40019"
    style = 2

    date = { day = 1 month = january year = 1487 }
    offset = 500
    deathdate = { day = 1 month = january year = 1600 }

    action_a = {    
        name = "ACTIONNAME40019A"
        command = { type = INF which = -2 value = 5000 }
        command = { type = CAV which = -2 value = 5000 }
        command = { type = ART which = -2 value = 10 }

        command = { type = addcore which = 285 }
        command = { type = addcore which = 1401 }
        command = { type = addcore which = 459 }
        command = { type = addcore which = 449 }
        command = { type = addcore which = 451 }
command = { type = addcore which = 1433 }

        command = { type = stability value = 1 }    
    }
}

#Russian claims on the Sibir 1 #
event = {

    id = 40020
    trigger = {
            owned = { province = 270 data = -1 }

            owned = { province = 446 data = -1 }
            owned = { province = 1570 data = -1 }
            owned = { province = 1571 data = -1 }
            owned = { province = 457 data = -1 }
            owned = { province = 458 data = -1 }
            owned = { province = 455 data = -1 }
            owned = { province = 459 data = -1 }
        }
    random = no
    country = RUS
    name = "EVENTNAME40020"
    desc = "EVENTHIST3406"
    style = 2

    date = { day = 1 month = january year = 1550 }
    offset = 3000
    deathdate = { day = 1 month = january year = 1700 }

    action_a = {            
        name = "ACTIONNAME40020A"
        command = { type = INF which = 1570 value = 12000 }
        command = { type = CAV which = 446 value = 8000 }
command = { type = missionaries value = 4 }
        command = { type = colonists value = 2 }
        command = { type = addcore which = 456 }
command = { type = addcore which = 578 }
command = { type = addcore which = 583 }
command = { type = addcore which = 1573 }
command = { type = addcore which = 1574 }
command = { type = addcore which = 1578 }
command = { type = addcore which = 1579 }
command = { type = addcore which = 1575}
command = { type = addcore which = 1583 }
command = { type = addcore which = 1572 }
command = { type = addcore which = 1582 }
command = { type = addcore which = 514 }
command = { type = addcore which = 1580 }
command = { type = addcore which = 511 }
command = { type = addcore which = 1581 }
command = { type = addcore which = 513 }
command = { type = addcore which = 516 }
command = { type = addcore which = 1584 }
command = { type = addcore which = 1577 }
command = { type = addcore which = 1971 }
command = { type = addcore which = 1576 }
command = { type = addcore which = 516 }
command = { type = addcore which = 589 }
        command = { type = stability value = 1 }
        command = { type = casusbelli which = SIB value = 240 }
        command = { type = casusbelli which = NOG value = 240 }
command = { type = relation which = SIB value = -150 }
command = { type = relation which = NOG value = -150 }
command = { type = badboy value = -5 } 
    }
}

#Russian claims on Siberia 2#
event = {

    id = 40021
    trigger = {
            owned = { province = 270 data = -1 }
            owned = { province = 514 data = -1 }
            owned = { province = 1583 data = -1 }
            owned = { province = 1570 data = -1 }
            owned = { province = 1573 data = -1 }
              owned = { province = 578 data = -1 }
            owned = { province = 583 data = -1 }
            owned = { province = 457 data = -1 }
             owned = { province = 511 data = -1 }
        }
    random = no
    country = RUS
    name = "EVENTNAME40021"
    desc = "EVENTHIST40021"
    style = 3

    date = { day = 1 month = january year = 1610}
    offset = 12000
    deathdate = { day = 1 month = january year = 1750 }

    action_a = {            
        name = "ACTIONNAME40021A"
        command = { type = INF which = 1583 value = 10000 }
        command = { type = CAV which = 583 value = 5000 }
command = { type = conquistador which = 583 }
        command = { type = colonists value = 3 }
command = { type = missionaries value = 4 }
        command = { type = addcore which = 587 }
command = { type = addcore which = 585 }
command = { type = addcore which = 601 }
command = { type = addcore which = 593 }
command = { type = addcore which = 595 }
command = { type = addcore which = 594 }
command = { type = addcore which = 606 }
command = { type = addcore which = 609 }
command = { type = addcore which = 598 }
command = { type = addcore which = 597 }
command = { type = addcore which = 600 }
command = { type = addcore which = 603 }
command = { type = addcore which = 604 }
command = { type = addcore which = 605 }
command = { type = addcore which = 589 }
command = { type = addcore which = 590 }
command = { type = addcore which = 592 }
command = { type = addcore which = 586 }
command = { type = addcore which = 588 }
command = { type = addcore which = 599 }
command = { type = addcore which = 591 }
command = { type = addcore which = 596 }
command = { type = addcore which = 613 }
command = { type = addcore which = 615 }
command = { type = addcore which = 620 }
command = { type = addcore which = 608 }
command = { type = addcore which = 591 }
command = { type = addcore which = 611 }
        command = { type = stability value = 1 }
command = { type = badboy value = -5 } 
    }
}

event = {

    id = 40022
    random = no
    country = RUS
    name = "EVENTNAME40022"
    desc = "EVENTHIST40022"
    style = 2

    date = { day = 1 month = january year = 1551 }
    offset = 350
    deathdate = { day = 1 month = january year = 1556 }

    action_a = {
        name = "ACTIONNAME40022A"
        command = { type = treasury  value = 100 }
        command = { type = gainbuilding which = -1 value = courthouse }
        command = { type = provincetax  which = -1 value = 1 }
        command = { type = provincetax  which = -1 value = 1 }
        command = { type = provincetax  which = -1 value = 1 }
        command = { type = provincetax  which = -1 value = 1 }
        command = { type = provincetax  which = -1 value = 1 }
        command = { type = provincetax  which = -1 value = 1 }
        command = { type = domestic which = centralization value = 1 }
        command = { type = infra value = 800 }
    }
}
#The Chosen Council#
event = {

    id = 3410
    random = no
    country = RUS
    name = "EVENTNAME3410"
    desc = "EVENTHIST3410"
    style = 2

    date = { day = 1 month = january year = 1550 }
    offset = 130
    deathdate = { day = 1 month = january year = 1550 }

    action_a = {                #An Excellent Minister!#
        name = "ACTIONNAME3410A"
        command = { type = DIP which = 1 value = 110 }
        command = { type = ADM which = 3 value = 110 }
        command = { type = MIL which = 2 value = 110 }
        command = { type = stability value = 1 }
    }
}

event = {

    id = 40023
    random = no
    country = RUS
    name = "EVENTNAME40023"
    desc = "EVENTHIST40023"
    style = 2

    date = { day = 1 month = january year = 1539 }
    offset = 140
    deathdate = { day = 1 month = january year = 1540 }

    action_a = {
        name = "ACTIONNAME40023A"
        command = { type = stability  value = 1 }
        command = { type = gainbuilding which = -1 value = courthouse }
        command = { type = gainbuilding which = -1 value = courthouse }
        command = { type = gainbuilding which = -1 value = cityrights }
        command = { type = gainbuilding which = -1 value = cityrights }
    }
}

event = {

    id = 40024
    random = no
    country = RUS
    name = "EVENTNAME40024"
    desc = "EVENTHIST40024"
    style = 2

    date = { day = 1 month = january year = 1550 }
    offset = 300
    deathdate = { day = 1 month = january year = 1552 }

    action_a = {
        name = "ACTIONNAME40024A"
        command = { type = revoltrisk which = 24 value = -1 }
        command = { type = domestic which = centralization value = 1 }
        command = { type = stability value = 1 }
        command = { type = domestic which = INNOVATIVE value = 1 }
    }
}

event = {

    id = 40025
    random = no
    country = RUS
    name = "EVENTNAME40025"
    desc = "EVENTHIST40025"
    style = 2

    date = { day = 1 month = january year = 1550 }
    offset = 500
    deathdate = { day = 1 month = january year = 1552 }

    action_a = {
        name = "ACTIONNAME40025A"
        command = { type = INF which = -2 value = 8000 }
        command = { type = ART which = -2 value = 10 }
        command = { type = land value = 1000 }
        command = { type = domestic which = land value = 1 }
    }
}

#The Terror of the Oprichnina#
event = {
    id = 40026
    random = no
    country = RUS
    name = "EVENTNAME40026"
    desc = "EVENTHIST3412"
    style = 2
    trigger = { 


atwar = yes
NOT = { leader = 09171 }
}
    date = { day = 1 month = january year = 1562 }
    offset = 800
    deathdate = { day = 1 month = january year = 1572 }

    action_a = {    
        name = "ACTIONNAME40026A"
        command = { type = domestic which = CENTRALIZATION value = 1 }
        command = { type = domestic which = ARISTOCRACY value = -2 }
        command = { type = domestic which = INNOVATIVE value = -1 }
        command = { type = domestic which = quality value = -2 }
        command = { type = trade value = -500 }
        command = { type = infra value = -500 }
        command = { type = stability value = -3 }
        command = { type = population  which = -1 value = -3000 }
        command = { type = population  which = -1 value = -3000 }
        command = { type = population  which = -1 value = -3000 }
        command = { type = provincemanpower which = -1 value = -2 }
        command = { type = domestic which = SERFDOM value = 1 }
        command = { type = ADM which = -2 value = 72 }
        command = { type = losebuilding which = -2 value = barrack }
    }

    action_b = {    
        name = "ACTIONNAME40026B"
        command = { type = domestic which = CENTRALIZATION value = -4 }
        command = { type = domestic which = ARISTOCRACY value = 4 }
        command = { type = domestic which = INNOVATIVE value = -2 }
        command = { type = stability value = -2 }
        command = { type = treasury value = -1000 }
        command = { type = sleepevent which = 40027 }
    }
}

#The Sacking of Moscow#
event = {

    id = 40027
      trigger = { 

         
            NOT = {              alliance = { country = RUS country = CRI }
                                 vassal = { country = RUS country = CRI }  
                                 vassal = { country = CRI country = RUS }  
                  }
 
     event = 40026
    exists = CRI 
    }
    random = no
    country = RUS
    name = "EVENTNAME40027"
    desc = "EVENTHIST3411"
    style = 2
    date = { day = 1 month = january year = 1571 }
    offset = 130
    deathdate = { day = 1 month = january year = 1578 }

    action_a = {                
        name = "ACTIONNAME40027A"
        command = { type = relation which = CRI value = -100 }
        command = { type = casusbelli which = CRI value = 60 }
        command = { type = population  which = -2 value = -6000 }
        command = { type = domestic which = aristocracy value = 1 } 
        command = { type = treasury value = -500 }
    }

    action_b = {                
        name = "ACTIONNAME40027B"
        command = { type = relation which = CRI value = -100 }
        command = { type = casusbelli which = CRI value = 60 }
        command = { type = population  which = -2 value = -6000 }
        command = { type = stability value = -1 }
        command = { type = treasury value = -300 }
    }
}

#Death of Tsarevitch Dmitry#
event = {
    id = 40028
    random = no
    country = RUS
    name = "EVENTNAME40028"
    desc = "EVENTHIST40028"
    style = 2
    
    date = { day = 15 month = may year = 1591 }
    deathdate = {day = 16 month = may  year = 1591 } 
    action_a = {
            name = "ACTIONNAME40028A"
            command = { type = domestic which = CENTRALIZATION value = -1 }
            command = { type = domestic which = ARISTOCRACY value = 1 }
            command = { type = treasury value = -100 }
            command = { type = revoltrisk which = 12 value = 3 }
    }
 
    action_b = {
            name = "ACTIONNAME40028B"
            command = { type = stability value = -2 }
            command = { type = revoltrisk which = 18 value = 4 }
    }
}

#Boris Godunov's Advisory#
event = {

    id = 40029
    random = no
    country = RUS
    name = "EVENTNAME40029"
    desc = "EVENTHIST40029"
    style = 2

    date = { day = 1 month = january year = 1585 }
    offset = 30
    deathdate = { day = 1 month = january year = 1591 }

    action_a = {        #An Excellent Minister!#
        name = "ACTIONNAME40029A"
        command = { type = DIP which = 3 value = 156 }
        command = { type = ADM which = 6 value = 156 }
        command = { type = MIL which = 3 value = 156 }
        command = { type = stability value = 2 }
        command = { type = fortress which = -2 value = 1 }
        command = { type = conquistador which = -4 }
        command = { type = population which = -3 value = 250 }
    }
}

#Military Reforms of Mikhail Romanov#
event = {

    id = 40030
    random = no
    country = RUS
    name = "EVENTNAME40030"
    desc = "EVENTHIST40030"
    style = 3

    date = { day = 1 month = january year = 1630 }
    offset = 450
    deathdate = { day = 1 month = january year = 1632 }

    action_a = {
        name = "ACTIONNAME40030A"
        command = { type = INF which = -2 value = 10000 }
        command = { type = ART which = -2 value = 20 }
        command = { type = CAV which = -2 value = 3000 }
        command = { type = domestic which = quality value = 1 }
        command = { type = domestic which = offensive value = 1 }
        command = { type = land value = 2000 }
        command = { type = treasury value = -300 }
        command = { type = domestic which = land value = 1 }
        command = { type = manpower value = 5 }
    }
}

#Full Serfdom enforced by Sobornoe Ulozhenie#
event = {

    id = 40031
    trigger = {
            NOT = {
                domestic = {
                        type = serfdom
                        value = 8
                        }
                }
        }
    random = no
    country = RUS
    name = "EVENTNAME3417"
    desc = "EVENTHIST3417"
    style = 3

    date = { day = 1 month = january year = 1649 }
    offset = 121
    deathdate = { day = 1 month = january year = 1650 }

    action_a = {                #Enforce#
        name = "ACTIONNAME40031A"
        command = { type = domestic which = ARISTOCRACY value = 1 }
        command = { type = domestic which = SERFDOM value = 1 }
        command = { type = infra value = 1000 }
        command = { type = stability value = 1 }
    }

    action_b = {            
        name = "ACTIONNAME40031B"
        command = { type = sleepevent which = 40032 }   
        command = { type = sleepevent which = 40033 }
        command = { type = domestic which = CENTRALIZATION value = -2 }
        command = { type = domestic which = ARISTOCRACY value = -1 }
        command = { type = domestic which = INNOVATIVE value = -2 }
        command = { type = domestic which = SERFDOM value = -1 }
        command = { type = trade value = -1000 }
        command = { type = infra value = -1000 }
        command = { type = revoltrisk which = 60 value = 8 }
        command = { type = stability value = -4 }
    }
}

#Stepan Rasin's Cossack Uprising#
event = {

    id = 40032
    trigger = {      

domestic = {
                        type = serfdom
                        value = 5
                        }
            owned = { province = 460 data = -1 }
            owned = { province = 458 data = -1 }
            owned = { province = 1438 data = -1 }
            owned = { province = 455 data = -1 }
            owned = { province = 456 data = -1 }
            owned = { province = 457 data = -1 }
            owned = { province = 453 data = -1 }
}
    random = no
    country = RUS
    name = "EVENTNAME3420"
    desc = "EVENTHIST3420"
    style = 3

    date = { day = 1 month = may year = 1669 }

    action_a = {    
        name = "ACTIONNAME40032A"
        command = { type = stability value = -2 }
        command = { type = province_revoltrisk which = 457 value = 6 }
        command = { type = province_revoltrisk which = 458 value = 6 }
        command = { type = province_revoltrisk which = 460 value = 6 }
        command = { type = province_revoltrisk which = 1438 value = 6 }
        command = { type = province_revoltrisk which = 455 value = 6 }
        command = { type = province_revoltrisk which = 456 value = 6 }
        command = { type = province_revoltrisk which = 453 value = 6 }
   command = { type = province_revoltrisk which = 1459 value = 6 }
        command = { type = revolt which = 459 }
        command = { type = revolt which = 458 }
        command = { type = revolt which = 457 }
        command = { type = revolt which = 1438 }
        command = { type = revolt which = 456 }
        command = { type = revolt which = 455 }
        command = { type = revolt which = 460 }
command = { type = revolt which = 458 }
        command = { type = revolt which = 457 }
        command = { type = revolt which = 1438 }
        command = { type = revolt which = 456 }
        command = { type = revolt which = 455 }
        command = { type = revolt which = 460 }
        command = { type = revolt which = 459 }
        command = { type = revolt which = 458 }
        command = { type = revolt which = 457 }
        command = { type = revolt which = 1438 }
        command = { type = revolt which = 456 }
        command = { type = revolt which = 455 }
        command = { type = revolt which = 460 }
command = { type = revolt which = 458 }
        command = { type = revolt which = 457 }
        command = { type = revolt which = 1438 }
        command = { type = revolt which = 456 }
        command = { type = revolt which = 455 }
        command = { type = revolt which = 460 }
    }
}

#Stepan Rasin's been captured#
event = {

    id = 40033
    trigger = { event = 40032 }
    random = no
    country = RUS
    name = "EVENTNAME40033"
    desc = "EVENTHIST40033"
    style = 3

    date = { day = 6 month = june year = 1671 }

    action_a = {    
        name = "ACTIONNAME40033A"
        command = { type = stability value = 1 }
command = { type = province_revoltrisk which = 1459 value = -6 }
        command = { type = province_revoltrisk which = 457 value = -6 }
        command = { type = province_revoltrisk which = 458 value = -6 }
        command = { type = province_revoltrisk which = 460 value = -6 }
        command = { type = province_revoltrisk which = 1438 value = -6 }
        command = { type = province_revoltrisk which = 455 value = -6 }
        command = { type = province_revoltrisk which = 456 value = -6 }
        command = { type = province_revoltrisk which = 453 value = -6 }
    }
}

event = {

    id = 40034
    random = no
    country = RUS
    name = "EVENTNAME40034"
    desc = "EVENTHIST40034"
    style = 3

    date = { day = 1 month = january year = 1653 }
    offset = 1600
    deathdate = { day = 1 month = january year = 1667 }

    action_a = {
        name = "ACTIONNAME40034A"
        command = { type = domestic which = mercantilism value = 2 }
        command = { type = trade value = 1000 }
        command = { type = mine which = 2 value = -1 }
        command = { type = merchants value = 3 }
    }
}

#The Abolishment of the System of Precedence#
event = {
    id = 40035
    random = no
    country = RUS
    name = "EVENTNAME40035"
    desc = "EVENTHIST40035"
    style = 3
    
    date = { day = 1 month = january year = 1679 }
    offset = 300
    deathdate = { day = 12 month = january year = 1682 }
    
    action_a = {    
        name = "ACTIONNAME40035A"
        command = { type = treasury value = 100 }
        command = { type = infra value = 300 }
        command = { type = provincetax  which = -1 value = 1 }
        command = { type = provincetax  which = -1 value = 1 }
command = { type = provincetax  which = -1 value = 1 }
        command = { type = provincetax  which = -1 value = 1 }
command = { type = provincetax  which = -1 value = 1 }
        command = { type = provincetax  which = -1 value = 1 }
    }

}

#Vasili Golitsyn's Advisory#
event = {

    id = 40036
    random = no
    country = RUS
    name = "EVENTNAME40036"
    desc = "EVENTHIST40036"
    style = 3

    date = { day = 29 month = april year = 1682 }


    action_a = {        #An Excellent Minister!#
        name = "ACTIONNAME40036A"
        command = { type = DIP which = 1 value = 88 }
        command = { type = ADM which = 5 value = 88 }
        command = { type = MIL which = 3 value = 88 }
        command = { type = stability value = 1 }
        command = { type = mine which = 2 value = -1 }
    }
}

#Miloslavsky's and Golitsyn's Advisory#
event = {

    id = 40037
    random = no
    country = RUS
    name = "EVENTNAME40037"
    desc = "EVENTHIST40037"
    style = 3

    date = { day = 2 month = february year = 1676 }

    action_a = {        #An Excellent Minister!#
        name = "ACTIONNAME40037A"
        command = { type = DIP which = 3 value = 74 }
        command = { type = ADM which = 5 value = 74 }
        command = { type = MIL which = 4 value = 74 }
        command = { type = stability value = 1 }
        command = { type = mine which = 2 value = -1 }
        command = { type = colonists value = 2 }
        command = { type = conquistador which = -4 }
        command = { type = population which = -3 value = 300 }
    }
}

#Anna Ivanovna appoints Cabinet of Ministers#
event = {

    id = 40038
    random = no
    country = RUS
    name = "EVENTNAME40038"
    desc = "EVENTHIST40038"
    style = 4

    date = { day = 25 month = february year = 1730 }

    action_a = {        #An Excellent Minister!#
        name = "ACTIONNAME40038A"
        command = { type = DIP which = 4 value = 127 }
        command = { type = ADM which = 3 value = 127 }
        command = { type = MIL which = 3 value = 127 }
        command = { type = stability value = 1 }
        command = { type = mine which = 2 value = -1 }
        command = { type = provincetax which = -1 value = 1 }
        command = { type = relation which = HAB value = 150 }
        command = { type = infra value = 500 }
        command = { type = domestic which = aristocracy value = 1 }
        command = { type = colonists value = 1 }
        command = { type = conquistador which = -4 }
        command = { type = population which = -3 value = 250 }
    }
}

#The Pugatchev Uprising#
event = {

    id = 40039
    trigger = {
            domestic = { type = serfdom value = 6 }
            domestic = { type = aristocracy value = 6 }
             owned = { province = 460 data = -1 }
            owned = { province = 458 data = -1 }
            owned = { province = 1438 data = -1 }
            owned = { province = 455 data = -1 }
            owned = { province = 456 data = -1 }
            owned = { province = 457 data = -1 }
            owned = { province = 453 data = -1 }
            owned = { province = 514 data = -1 }
            owned = { province = 510 data = -1 }
            owned = { province = 1571 data = -1 }
            owned = { province = 454 data = -1 }
            owned = { province = 1422 data = -1 }
            owned = { province = 1460 data = -1 }
        }
    random = no
    country = RUS
    name = "EVENTNAME3435"
    desc = "EVENTHIST3435"
    style = 4

    date = { day = 1 month = may year = 1770 }
    offset = 1000
    deathdate = { day = 1 month = january year = 1780 }

    action_a = {                #The Masses are moving...Sire#
        name = "ACTIONNAME40039A"
        command = { type = stability value = -2 }
          command = { type = province_revoltrisk which = 457 value = 7 }
        command = { type = province_revoltrisk which = 458 value = 7 }
        command = { type = province_revoltrisk which = 460 value = 7 }
        command = { type = province_revoltrisk which = 1438 value = 7 }
        command = { type = province_revoltrisk which = 455 value = 7 }
        command = { type = province_revoltrisk which = 456 value = 7 }
        command = { type = province_revoltrisk which = 453 value = 7 }
        command = { type = province_revoltrisk which = 514 value = 7 }
        command = { type = province_revoltrisk which = 510 value = 7 }
        command = { type = province_revoltrisk which = 1571 value = 7 }
        command = { type = province_revoltrisk which = 454 value = 7 }
        command = { type = province_revoltrisk which = 1422 value = 7 }
        command = { type = province_revoltrisk which = 1460 value = 7 }
      command = { type = province_revoltrisk which = 1459 value = 7 }
  command = { type = revolt which = 1459 }
  command = { type = revolt which = 458 }
        command = { type = revolt which = 457 }
        command = { type = revolt which = 1438 }
        command = { type = revolt which = 456 }
        command = { type = revolt which = 455 }
        command = { type = revolt which = 460 }
        command = { type = revolt which = 514 }
        command = { type = revolt which = 510 }
 command = { type = revolt which = 1571 }
        command = { type = revolt which = 454 }
        command = { type = revolt which = 1422 }
        command = { type = revolt which = 1460 }
  command = { type = revolt which = 458 }
        command = { type = revolt which = 457 }
        command = { type = revolt which = 1438 }
        command = { type = revolt which = 456 }
        command = { type = revolt which = 455 }
        command = { type = revolt which = 460 }
        command = { type = revolt which = 514 }
        command = { type = revolt which = 510 }
 command = { type = revolt which = 1571 }
        command = { type = revolt which = 454 }
        command = { type = revolt which = 1422 }
        command = { type = revolt which = 1460 }
    }
}

#Emelyan Pugatchev has been captured#
event = {

    id = 40040
    trigger = { event = 40039 }
    random = no
    country = RUS
    name = "EVENTNAME40040"
    desc = "EVENTHIST40040" #New Desk :)#
    style = 4

    date = { day = 1 month = june year = 1774 }
    offset = 360
    deathdate = { day = 1 month = june year = 1784 }

    action_a = {    
        name = "ACTIONNAME40040A"
        command = { type = stability value = 1 }
command = { type = province_revoltrisk which = 1459 value = -7 }
        command = { type = province_revoltrisk which = 457 value = -7 }
        command = { type = province_revoltrisk which = 458 value = -7 }
        command = { type = province_revoltrisk which = 460 value = -7 }
        command = { type = province_revoltrisk which = 1438 value = -7 }
        command = { type = province_revoltrisk which = 455 value = -7 }
        command = { type = province_revoltrisk which = 456 value = -7 }
        command = { type = province_revoltrisk which = 453 value = -7 }
        command = { type = province_revoltrisk which = 514 value = -7 }
        command = { type = province_revoltrisk which = 510 value = -7 }
        command = { type = province_revoltrisk which = 1571 value = -7 }
        command = { type = province_revoltrisk which = 454 value = -7 }
        command = { type = province_revoltrisk which = 1422 value = -7 }
        command = { type = province_revoltrisk which = 1460 value = -7 }
    }
}

event = {

    id = 40041
    trigger = { event = 40040 }
    random = no
    country = RUS
    name = "EVENTNAME3436"
    desc = "EVENTHIST3436"
    style = 4

    date = { day = 1 month = january year = 1776 }
    offset = 400
    deathdate = { day = 1 month = january year = 1791 }

    action_a = {                #Keep the Masses in Chains#
        name = "ACTIONNAME3436A"
        command = { type = domestic which = CENTRALIZATION value = -1 }
        command = { type = domestic which = ARISTOCRACY value = 1 }
        command = { type = domestic which = INNOVATIVE value = -1 }
        command = { type = domestic which = SERFDOM value = 1 }
        command = { type = stability value = 1 }
    }

    action_b = {                #Let introduce an idea called 'Freedom'#
        name = "ACTIONNAME3436B"
        command = { type = domestic which = CENTRALIZATION value = -2 }
        command = { type = domestic which = ARISTOCRACY value = -3 }
        command = { type = domestic which = INNOVATIVE value = 3 }
        command = { type = domestic which = SERFDOM value = -3 }
        command = { type = stability value = -6 }
        command = { type = revoltrisk which = 120 value = 10 }
    }
}   

event = {
    id = 40042
    random = no
    country = RUS
    name = "EVENTNAME40042"
    desc = "EVENTHIST40042"
    style = 3

    date = { day = 1 month = february year = 1725 }
    offset = 1
    deathdate = { day = 4 month = february year = 1725 }

    action_a = {
        name = "ACTIONNAME40042A"
        command = { type = ADM which = 3 value = 27 }
        command = { type = MIL which = 3 value = 27 }
        command = { type = DIP which = 1 value = 27 }
        command = { type = revoltrisk which = 27 value = 3 }
        command = { type = stability value = 1 }
    }
}

#The Sudebnik Laws#
event = {

    id = 40043
    trigger = {
            NOT = { event = 3402 }
}
    random = no
    country = RUS
    name = "EVENTNAME3402"
    desc = "EVENTHIST3402"
    style = 1

    date = { day = 1 month = january year = 1495 }
    offset = 800
    deathdate = { day = 1 month = january year = 1505 }

    action_a = {                #Introduce it#
        name = "ACTIONNAME3402A"
        command = { type = domestic which = ARISTOCRACY value = 1 }
        command = { type = stability value = 1 }
        command = { type = infra value = 1000 }
        command = { type = gainmanufactory which = -2 value = luxury }
    }
    action_b = {                #Encourage a Free Peasantry#
        name = "ACTIONNAME3402B"
        command = { type = domestic which = ARISTOCRACY value = -2 }
        command = { type = domestic which = centralization value = -1 }
        command = { type = domestic which = SERFDOM value = -1 }
        command = { type = stability value = -4 }
        command = { type = revoltrisk which = 60 value = 8 }
        command = { type = manpower value = 2 }
    }
}

#Expulsion of Hansa merchants#
event = {
    id = 40045
    trigger = {
            owned = { province = 274 data = -1 }
        NOT = { event = 40044 
            event = 3582 }
        }
    random = no
    country = RUS
    name = "EVENTNAME40045"
    desc = "EVENTHIST40045"
    style = 1
    date = { day = 1 month = january year = 1484}
    offset = 160
    deathdate = { day = 1 month = january year = 1540 }
    action_a = {
        name = "ACTIONNAME40045A"
        command = { type = treasury value = 200 }
        command = { type = trade value = -500 }
        command = { type = domestic which = mercantilism value = 2 }
        command = { type = domestic which = centralization value = 1 }
        command = { type = relation which = MEC value = -100 }
        command = { type = relation which = BRE value = -100 }
        command = { type = relation which = SHL value = -100 }
        command = { type = relation which = POM value = -100 }
        command = { type = relation which = DAN value = 100 }
        command = { type = provincetax which = 274 value = -2 }
        command = { type = population which = 274 value = -5000 }
        command = { type = sleepevent which = 40044 }
    }
    action_b = {
        name = "ACTIONNAME40044B"
        command = { type = domestic which = mercantilism value = -1 }
        command = { type = domestic which = centralization value = -2 }
        command = { type = stability value = -1 }
        command = { type = relation which = MEC value = 50 }
        command = { type = relation which = BRE value = 50 }
        command = { type = relation which = SHL value = 50 }
        command = { type = relation which = POM value = 50 }
        command = { type = relation which = DAN value = -50 }
        command = { type = sleepevent which = 40092 }
        command = { type = sleepevent which = 40044 }
    }
}

#The Muscowy Trade Company#
event = {
    id = 40046
    random = no
    country = RUS
    name = "EVENTNAME3015"
    desc = "EVENTHIST3015"
    style = 2

    action_a = {            #We will exploit this!#
        name = "ACTIONNAME40046A"
        command = { type = treasury value = 100 }
        command = { type = merchants value = 2 }
        command = { type = trade value = 200 }
        command = { type = domestic which = mercantilism value = -1 }
        command = { type = population which = 269 value = 500 }
        command = { type = relation which = ENG value = 100 }
        command = { type = provincetax  which = 269 value = 3 } 
    }
}

#Election of Mikhail I#
event = {
    id = 40047
    trigger = { OR = { monarch = 05137 
            monarch = 05136
            monarch = 99407 } }
    random = no
    country = RUS
    name = "EVENTNAME40047"
    desc = "EVENTHIST40047"
    style = 3
    date = { day = 1 month = may year = 1612 }
    offset = 400
    deathdate = { day = 1 month = january year = 1630 }

    action_a = {
        name = "ACTIONNAME40047A"
        command = { type = stability value = 3 }
        command = { type = wakemonarch which = 05138 }
        command = { type = revoltrisk which = 12 value = -3 }   
    }
}



#Events 40050-40053#
#Natural Disasters during the reign of Godunov - Prelude to the Time of Troubles#

event = {

    id = 40050
    random = no
    country = RUS
    name = "EVENTNAME40050"
    desc = "EVENTHIST40050"
    style = 3

    date = { day = 1 month = june year = 1601 }
    offset = 15
    deathdate = { day = 1 month = july year = 1601 }

    action_a = {
        name = "ACTIONNAME40050A"
        command = { type = treasury value = -100 }
        command = { type = stability  value = -1 }
    }
}

event = {

    id = 40051
    random = no
    country = RUS
    name = "EVENTNAME40051"
    desc = "EVENTHIST40051"
    style = 3

    date = { day = 1 month = february year = 1602 }
    offset = 100
    deathdate = { day = 1 month = august year = 1602 }

    action_a = {
        name = "ACTIONNAME40051A"
        command = { type = population  which = -1 value = -2000 }
        command = { type = population  which = -1 value = -2000 }
        command = { type = population  which = -2 value = -5000 }
        command = { type = population  which = -1 value = -1000 }
        command = { type = treasury value = -300 }
        command = { type = stability  value = -2 }  
    }
}

event = {

    id = 40052
    random = no
    country = RUS
    name = "EVENTNAME40052"
    desc = "EVENTHIST40052"
    style = 3

    date = { day = 15 month = october year = 1602 }
    offset = 12
    deathdate = { day = 1 month = november year = 1602 }

    action_a = {
        name = "ACTIONNAME40052A"
        command = { type = population  which = -2 value = -2000 }
        command = { type = provincetax  which = -2 value = -2 }
        command = { type = treasury value = -350 }
        command = { type = revoltrisk which = 36 value = 3 }
        command = { type = domestic which = SERFDOM value = -1 }
        command = { type = domestic which = centralization value = -1 }
    }
    action_b = {
        name = "ACTIONNAME40052B"
        command = { type = sleepevent which = 40054 }
        command = { type = sleepevent which = 40053 }
        command = { type = population  which = -2 value = -5500 }
        command = { type = provincetax  which = -2 value = -1 }
        command = { type = treasury value = -100 }
        command = { type = revoltrisk which = 60 value = 9 }
        command = { type = domestic which = SERFDOM value = 1 }
        command = { type = domestic which = centralization value = 1 }
        command = { type = stability  value = -5 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
 command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
 command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
    }
}

event = {

    id = 40053
    random = no
    country = RUS
    name = "EVENTNAME40053"
    desc = "EVENTHIST40053"
    style = 3

    date = { day = 15 month = march year = 1603 }
    offset = 130
    deathdate = { day = 1 month = october year = 1603 }

    action_a = {
        name = "ACTIONNAME40053A"
        command = { type = stability  value = -1 }
        command = { type = population  which = -2 value = -2000 }
        command = { type = revoltrisk which = 15 value = 3 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = domestic which = centralization value = 1 }
    }
    action_b = {
        name = "ACTIONNAME40053B"
        command = { type = stability  value = -2 }
        command = { type = population  which = -2 value = -2000 }
        command = { type = population  which = -1 value = -1000 }
        command = { type = revoltrisk which = 24 value = 9 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -1 }
        command = { type = revolt which = -2}
    }
}

event = {

    id = 40054
    random = no
    country = RUS
    name = "EVENTNAME40054"
    desc = "EVENTHIST40054"
    style = 3

    date = { day = 1 month = august year = 1604 }
    offset = 40
    deathdate = { day = 1 month = october year = 1604 }

    action_a = {
        name = "ACTIONNAME40054A"
        command = { type = population  which = -1 value = 500 }
        command = { type = population  which = -2 value = 500 }
        command = { type = provincetax  which = -1 value = 1 }
        command = { type = provincetax  which = -2 value = 1 }
    }
}



#Peter the Great and the Army Reform#
event = {

    id = 3423
    random = no
    country = RUS
    name = "EVENTNAME3423"
    desc = "EVENTHIST3423"
    style = 3

    date = { day = 1 month = january year = 1700 }
    offset = 600
    deathdate = { day = 1 month = january year = 1703 }

    action_a = {                #Reform the Army and Navy#
        name = "ACTIONNAME3423A"
        command = { type = DIP which = 1 value = 240 }
        command = { type = ADM which = 1 value = 240 }
        command = { type = MIL which = 3 value = 240 }
        command = { type = land value = 2000 }
        command = { type = naval value = 4000 }
        command = { type = domestic which = ARISTOCRACY value = -1 }
        command = { type = domestic which = LAND value = 1 }
        command = { type = domestic which = QUALITY value = -1 }
        command = { type = domestic which = offensive value = 3 }
        command = { type = gainbuilding which = -2 value = barrack }
        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 }
        command = { type = treasury value = -1200 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
    }

    action_b = {                #Only Reform Army#
        name = "ACTIONNAME3423B"
        command = { type = land value = 2000 }
        command = { type = domestic which = ARISTOCRACY value = -2 }
        command = { type = domestic which = OFFENSIVE value = 2 }
        command = { type = domestic which = LAND value = 2 }
        command = { type = domestic which = QUALITY value = -1 }
        command = { type = domestic which = offensive value = 1 }
        command = { type = gainmanufactory which = -1 value = weapons }
        command = { type = gainmanufactory which = -1 value = weapons }
        command = { type = gainbuilding which = -1 value = barrack }
        command = { type = INF which = -2 value = 20000 }
        command = { type = CAV which = -2 value = 10000 }
        command = { type = ART which = -2 value = 20 }
        command = { type = INF which = -1 value = 20000 }
        command = { type = CAV which = -3 value = 10000 }
        command = { type = ART which = -3 value = 20 }
        command = { type = stability value = -2 }
        command = { type = domestic which = serfdom value = 2 }
        command = { type = technology which = latin }
      command = { type = treasury value = -900 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
    }

    action_c = {                #Only Reform Navy#
        name = "ACTIONNAME3423C"
        command = { type = naval value = 5000 }
        command = { type = domestic which = ARISTOCRACY value = -1 }
        command = { type = domestic which = MERCANTILISM value = -2 }
        command = { type = domestic which = LAND value = -1 }
        command = { type = domestic which = offensive value = 1 }
        command = { type = gainmanufactory which = -1 value = navalequipment }
        command = { type = gainmanufactory which = -1 value = navalequipment }
        command = { type = warships which = -1 value = 20 }
        command = { type = transports which = -1 value = 10 }
        command = { type = galleys which = -1 value = 20 }
        command = { type = stability value = -1 }
        command = { type = domestic which = serfdom value = 2 }
        command = { type = technology which = latin }
      command = { type = treasury value = -1000 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
    }

}

#St.Petersburg#
event = {

    id = 3424
    trigger = {
            owned = { province = 275 data = -1 }
            owned = { province = 274 data = -1 }
            owned = { province = 270 data = -1 }
        }
    random = no
    country = RUS
    name = "EVENTNAME3424"
    desc = "EVENTHIST3424"
    style = 4

    date = { day = 27 month = april year = 1701 }
    offset = 1
    deathdate = { day = 28 month = january year = 1725 }

    action_a = {                #Move Capital to St:Petersburg#
        name = "ACTIONNAME3424A"
        command = { type = capital which = 275 }
        command = { type = treasury value = -1000 }
        command = { type = trade value = 1000 }
        command = { type = stability value = -1 }
        command = { type = fortress which = 275 value = 1 }
        command = { type = provincetax which = 275 value = 5 }
        command = { type = provincetax which = 270 value = -3 }
        command = { type = provinceculture which = 275 value = russian }
        command = { type = provincereligion which = 275 value = orthodox }
        command = { type = gainbuilding which = 275 value = shipyard }
    }

    action_b = {                #Keep Capital at Moscow#
        name = "ACTIONNAME3424B"
        command = { type = domestic which = ARISTOCRACY value = 1 }
        command = { type = provincetax which = 270 value = 2 }
        command = { type = stability value = 3 }
    }
}

#Dionysius#
event = {
    id = 40071
    random = no
    country = RUS
    name = "EVENTNAME40071"
    desc = "EVENTHIST40071"
    style = 1
    date = { day = 1 month = january year = 1481 }
    offset = 3000
    deathdate = { day = 30 month = december year = 1502 }
    action_a = { #Dionysius#
        name = "ACTIONNAME40071A"
        command = { type = infra value = 100 }
        command = { type = stability value = 1 }
        }
}

#Lomonosov#
event = {
    id = 40072
    random = no
    country = RUS
    name = "EVENTNAME40072"
    desc = "EVENTHIST40072"
    style = 4
    date = { day = 1 month = january year = 1741 }
    offset = 3000
    deathdate = { day = 30 month = december year = 1765 }
    action_a = { 
        name = "ACTIONNAME40072A"
        command = { type = infra value = 1000 }
        command = { type = domestic which = innovative value = 1 }
        }
}

#The Peasantry is brought into Serfdom#
event = {

    id = 3416
    trigger = {
            NOT = {
                stability = 1
                }
            domestic = { type = aristocracy value = 8 }
            NOT = { domestic = { type = serfdom value = 8 } }
            }
    random = no
    country = RUS
    name = "EVENTNAME3416"
    desc = "EVENTHIST3416"
    style = 2

    date = { day = 1 month = january year = 1596 }
    offset = 813
    deathdate = { day = 1 month = january year = 1605 }

    action_a = {                #Enserf the Peasants#
        name = "ACTIONNAME3416A"
        command = { type = provincemanpower which = -1 value = -1 }
        command = { type = provincemanpower which = -1 value = -1 }
        command = { type = provincemanpower which = -1 value = -1 }
        command = { type = provincemanpower which = -1 value = -1 }
        command = { type = domestic which = aristocracy value = 1 }
        command = { type = domestic which = SERFDOM value = 1 }
        command = { type = revoltrisk which = 24 value = 3 }
        command = { type = stability value = -2 }
    }

    action_b = {                #Do not enserf them#
        name = "ACTIONNAME3416B"
        command = { type = domestic which = ARISTOCRACY value = -1 }
        command = { type = domestic which = SERFDOM value = -1 }
        command = { type = stability value = -4 }
        command = { type = revoltrisk which = 24 value = 6 }
    }
}

#Russian Offer Accepted#
event = {
        id = 24029
        random = no
        country = RUS
        name = "EVENTNAME24029"
        desc = "EVENTHIST24029"
        style = 5

        action_a = {
                name = "ACTIONNAME24029A"
                command = { type = vassal which = KNI }
        }
}

#Russian Offer Rejected#
event = {

    id = 24030
    random = no
    country = RUS
    name = "EVENTNAME24030"
    desc = "EVENTHIST24030"
    style = 5

    action_a = {        #Damn Knights!#
        name = "ACTIONNAME24030A"
                command = { type = casusbelli  which = KNI value = 60 }
    }
}

#Russian trade#
event = {

    id = 40073
    trigger = {
            owned = { province = 1573 data = -1 }
            owned = { province = 1583 data = -1 }
            owned = { province = 578 data = -1 }
        }
    random = no
    country = RUS
    name = "EVENTNAME40073"
    desc = "EVENTHIST40073"
    style = 2

    date = { day = 1 month = january year = 1550}
    offset = 1000
    deathdate = { day = 1 month = january year = 1750 }

    action_a = {            
        name = "ACTIONNAME40073A"
        command = { type = cot which = 578 }
        command = { type = trade value = 500 }
        command = { type = colonists value = 2 }
        command = { type = merchants value = 3 }
        command = { type = gainbuilding which = 578 value = bailiff }
        command = { type = gainbuilding which = 578 value = courthouse }
        command = { type = population which = 578 value = 1000 }
        command = { type = fortress which = 578 value = 1 }
        command = { type = provincereligion which = 578 value = orthodox }
        command = { type = provinceculture which = 578 value = russian }
    }
}

# New emperor and new dynasty #
event = { 
        id = 95704 
        random = NO 
        country = RUS 
    trigger = { event = 95703 }
        style = 4 
        date = {day = 1 month = january year = 1780 } 

        name = "EVENTNAME95704"
    desc = "EVENTHIST95704" 

    action_a = { # Our beloved Konstantin Pavlovich will reign the empire! #
        name = "ACTIONNAME95704A"
        command = { type = relation which = BYZ value = 200 }
        command = { type = vassal which = BYZ }
        command = { type = stability value = 3 }
        command = { type = treasury value = 500 }
        command = { type = naval value = 1000 }
        command = { type = colonists value = 3 }
        command = { type = merchants value = 3 }
        command = { type = trigger which = 95706 } #BYZ
    }
    action_b = { # Kamytzes, princes of Thessaly #
        name = "ACTIONNAME95704B"
        command = { type = relation which = BYZ value = 150 }
        command = { type = vassal which = BYZ }
        command = { type = treasury value = 300 }
        command = { type = trade value = 1000 }
        command = { type = infra value = 500 }
        command = { type = stability value = 3 }
        command = { type = colonists value = 3 }
        command = { type = merchants value = 3 }
        command = { type = gainmanufactory which = -1 value = navalequipment }  
        command = { type = sleepevent which = 95706 } #BYZ
    }
}

# Restoration of Byzantine Empire #
event = {
    id = 95708
    trigger = {
        owned = {
            province = 1953 # Constantinople
            data = -1
        }
        religion = orthodox
        NOT = {
            exists = BYZ
        }
    }
    random = no
    country = RUS
    name = "EVENTNAME3874"
    desc = "EVENTHIST95708"
    style = 1
    
    date = { day = 1 month = january year = 1780 }
    offset = 14000
    deathdate = { day = 1 month = january year = 1821 }

    action_a = { #Restore Byzantium#
        name = "ACTIONNAME95708A"
        command = { type = conversion which = 357 }
        command = { type = provinceculture which = 357 value = greek }
    command = { type = conversion which = 1953 }
        command = { type = provinceculture which = 1953 value = greek }
        command = { type = conversion which = -1 }
        command = { type = conversion which = -1 }
        command = { type = missionaries value = 3 }
        command = { type = diplomats value = 2 }
        command = { type = merchants value = 2 }
        command = { type = independence which = BYZ }
        command = { type = sleepmonarch which = 04707 } # Ioannes XIII
        command = { type = sleepmonarch which = 04708 } # Alexandros II
        command = { type = sleepmonarch which = 04709 } # Demetrios III
        command = { type = wakemonarch which = 19518 } # Konstantin Pavlovich       
    }
}

#Peace of Stolbovo#
event = {

    id = 40074
    trigger = { OR = {
            owned = { province = 262 data = -1 }
            owned = { province = 1470 data = -1 }
            owned = { province = 269 data = -1 }
            owned = { province = 882 data = -1 }
            owned = { province = 274 data = -1 }
            owned = { province = 277 data = -1 }
            owned = { province = 268 data = -1 }
            owned = { province = 450 data = -1 }
            owned = { province = 280 data = -1 }
            owned = { province = 278 data = -1 }
            owned = { province = 267 data = -1 }
            owned = { province = 272 data = -1 }
        }
        event = 40078
}
    random = no
    country = SWE
    name = "EVENTNAME40074"
    desc = "EVENTHIST40074"
    style = 3
    date = { day = 1 month = january year = 1614 }
    offset = 300
    deathdate = { day = 1 month = january year = 1669 }

    action_a = {            
        name = "ACTIONNAME3143A"
        command = { type = secedeprovince which = RUS value = 262 }
        command = { type = secedeprovince which = RUS value = 1470 }
        command = { type = secedeprovince which = RUS value = 882 }
        command = { type = secedeprovince which = RUS value = 269 }
        command = { type = secedeprovince which = RUS value = 277 }
        command = { type = secedeprovince which = RUS value = 274 }
        command = { type = secedeprovince which = RUS value = 268 }
        command = { type = secedeprovince which = RUS value = 450 }
        command = { type = secedeprovince which = RUS value = 278 }
        command = { type = secedeprovince which = RUS value = 280 }
        command = { type = secedeprovince which = RUS value = 272 }
        command = { type = secedeprovince which = RUS value = 267 }
 command = { type = secedeprovince which = RUS value = 1455 }
        command = { type = secedeprovince which = RUS value = 1458 }
        command = { type = relation which = RUS value = 150 }
        command = { type = treasury value = 300 }
    }
    action_b = {            
        name = "ACTIONNAME3023B"
        command = { type = relation which = RUS value = -150 }
        command = { type = trigger which = 40075 }
    }
}

#Peace of Stolbovo#
event = {

    id = 40075
    random = no
    country = RUS
    name = "EVENTNAME40074"
    desc = "EVENTNAME40075"
    style = 3

    action_a = {            
        name = "ACTIONNAME65116A"
        command = { type = casusbelli which = SWE value = 1000 }
        command = { type = inf which = -1 value = 24000 }
        command = { type = cav which = -3 value = 12000 }
        command = { type = art which = -3 value = 20 }
        command = { type = addcore which = 282 }
        command = { type = addcore which = 276 }
 command = { type = addcore which = 1429 }
 command = { type = addcore which = 1326 }
        command = { type = addcore which = 1009 }
        command = { type = addcore which = 265 }
    }
    action_b = {            
        name = "ACTIONNAME40075B"
        command = { type = relation which = SWE value = 50 }
        command = { type = stability value = -1 }
    }
}

#Peace of Stolbovo#
event = {

    id = 40076
    trigger = { OR = {
            owned = { province = 262 data = -1 }
            owned = { province = 1470 data = -1 }
            owned = { province = 269 data = -1 }
            owned = { province = 882 data = -1 }
            owned = { province = 274 data = -1 }
            owned = { province = 277 data = -1 }
            owned = { province = 268 data = -1 }
            owned = { province = 450 data = -1 }
            owned = { province = 280 data = -1 }
            owned = { province = 278 data = -1 }
            owned = { province = 267 data = -1 }
            owned = { province = 272 data = -1 }
        }
        event = 40078
}
    random = no
    country = DAN
    name = "EVENTNAME40074"
    desc = "EVENTHIST40074"
    style = 3
    date = { day = 1 month = january year = 1614 }
    offset = 300
    deathdate = { day = 1 month = january year = 1669 }

    action_a = {            
        name = "ACTIONNAME3143A"
        command = { type = secedeprovince which = RUS value = 262 }
        command = { type = secedeprovince which = RUS value = 1470 }
        command = { type = secedeprovince which = RUS value = 882 }
        command = { type = secedeprovince which = RUS value = 269 }
        command = { type = secedeprovince which = RUS value = 277 }
        command = { type = secedeprovince which = RUS value = 274 }
        command = { type = secedeprovince which = RUS value = 268 }
        command = { type = secedeprovince which = RUS value = 450 }
        command = { type = secedeprovince which = RUS value = 278 }
        command = { type = secedeprovince which = RUS value = 280 }
        command = { type = secedeprovince which = RUS value = 272 }
        command = { type = secedeprovince which = RUS value = 267 }
     command = { type = secedeprovince which = RUS value = 1455 }
        command = { type = secedeprovince which = RUS value = 1458 }
        command = { type = relation which = RUS value = 150 }
command = { type = treasury value = 100 }
    }
    action_b = {            
        name = "ACTIONNAME3023B"
        command = { type = relation which = RUS value = -150 }
    }
}

#Peace of Stolbovo#
event = {

    id = 40077
    trigger = { OR = {
            owned = { province = 262 data = -1 }
            owned = { province = 1470 data = -1 }
            owned = { province = 269 data = -1 }
            owned = { province = 882 data = -1 }
            owned = { province = 274 data = -1 }
            owned = { province = 277 data = -1 }
            owned = { province = 268 data = -1 }
            owned = { province = 450 data = -1 }
            owned = { province = 280 data = -1 }
            owned = { province = 278 data = -1 }
            owned = { province = 267 data = -1 }
            owned = { province = 272 data = -1 }
        }
        event = 40078
}
    random = no
    country = NOR
    name = "EVENTNAME40074"
    desc = "EVENTHIST40074"
    style = 3
    date = { day = 1 month = january year = 1614 }
    offset = 300
    deathdate = { day = 1 month = january year = 1669 }

    action_a = {            
        name = "ACTIONNAME3143A"
       command = { type = secedeprovince which = RUS value = 262 }
        command = { type = secedeprovince which = RUS value = 1470 }
        command = { type = secedeprovince which = RUS value = 882 }
        command = { type = secedeprovince which = RUS value = 269 }
        command = { type = secedeprovince which = RUS value = 277 }
        command = { type = secedeprovince which = RUS value = 274 }
        command = { type = secedeprovince which = RUS value = 268 }
        command = { type = secedeprovince which = RUS value = 450 }
        command = { type = secedeprovince which = RUS value = 278 }
        command = { type = secedeprovince which = RUS value = 280 }
        command = { type = secedeprovince which = RUS value = 272 }
        command = { type = secedeprovince which = RUS value = 267 }
command = { type = secedeprovince which = RUS value = 1455 }
        command = { type = secedeprovince which = RUS value = 1458 }
        command = { type = relation which = RUS value = 150 }
    }
    action_b = {            
        name = "ACTIONNAME3023B"
        command = { type = relation which = RUS value = -150 }
    }
}

#Peace of Stolbovo#
event = {

    id = 40078
    random = no
    country = RUS
    trigger = { OR = {
             owned = { province = 262 data = SWE }
            owned = { province = 1470 data = SWE }
            owned = { province = 269 data = SWE }
            owned = { province = 882 data = SWE }
            owned = { province = 274 data = SWE }
            owned = { province = 277 data = SWE }
            owned = { province = 268 data = SWE }
            owned = { province = 450 data = SWE }
            owned = { province = 280 data = SWE }
            owned = { province = 278 data = SWE }
            owned = { province = 267 data = SWE }
            owned = { province = 272 data = SWE }
  owned = { province = 262 data = NOR }
            owned = { province = 1470 data = NOR }
            owned = { province = 269 data = NOR }
            owned = { province = 882 data = NOR }
            owned = { province = 274 data = NOR }
            owned = { province = 277 data = NOR }
            owned = { province = 268 data = NOR }
            owned = { province = 450 data = NOR }
            owned = { province = 280 data = NOR }
            owned = { province = 278 data = NOR }
            owned = { province = 267 data = NOR }
            owned = { province = 272 data = NOR }
  owned = { province = 262 data = DAN }
            owned = { province = 1470 data = DAN }
            owned = { province = 269 data = DAN }
            owned = { province = 882 data = DAN }
            owned = { province = 274 data = DAN }
            owned = { province = 277 data = DAN }
            owned = { province = 268 data = DAN }
            owned = { province = 450 data = DAN }
            owned = { province = 280 data = DAN }
            owned = { province = 278 data = DAN }
            owned = { province = 267 data = DAN }
            owned = { province = 272 data = DAN }
        }
            event = 40127
    }
    name = "EVENTNAME40074"
    desc = "EVENTHIST40074"
    style = 3

    date = { day = 1 month = january year = 1613 }
    offset = 900
    deathdate = { day = 1 month = january year = 1669 }

    action_a = {            
        name = "ACTIONNAME3143A"
        command = { type = treasury value = -200 }
        command = { type = removecore which = 282 }
        command = { type = removecore which = 276 }
command = { type = removecore which = 1429 }
        command = { type = removecore which = 1009 }
command = { type = removecore which = 265 }
command = { type = removecore which = 1326 }
        command = { type = stability value = 1 }
    }
    action_b = {            
        name = "ACTIONNAME3023B"
        command = { type = relation which = SWE value = -150 }
        command = { type = stability value = -1 }
        command = { type = sleepevent which = 40074 }
        command = { type = sleepevent which = 40076 }
        command = { type = sleepevent which = 40077 }
    }
}

#Hansa Let Back In#
event = {

    id = 40092
    trigger = {
        owned = { province = 274 data = -1 }
        NOT = { exists = NVG }
        AND = { OR = { event = 40045
                    event = 40044 } }
    }
    random = no
    country = RUS
    name = "EVENTNAME40092"
    desc = "EVENTHIST40092"
    style = 1

    date = { day = 1 month = january year = 1510 }
    offset = 700
    deathdate = { day = 1 month = january year = 1520 }

    action_a = {                #Let them in#
        name = "ACTIONNAME40092A"
        command = { type = relation which = SHL value = 20 }
        command = { type = relation which = MEC value = 20 }
        command = { type = relation which = POM value = 20 }
        command = { type = relation which = SHL value = 20 }
        command = { type = domestic which = mercantilism value = -1 }
        command = { type = treasury value = 100 }
        command = { type = trade value = 500 }
    }
    action_b = {                #Keep out#
        name = "ACTIONNAME40092B"
        command = { type = relation which = SHL value = -20 }
        command = { type = relation which = MEC value = -20 }
        command = { type = relation which = POM value = -20 }
        command = { type = relation which = SHL value = -20 }
        command = { type = trade value = -500 }
        command = { type = domestic which = mercantilism value = 2 }
    }
}

#Famine in Kazan#
event = {
    id = 40098
    random = no
    country = RUS
    trigger = { owned = { province = 446 data = -1 } }
    name = "EVENTNAME40098"
    desc = "EVENTHIST40098"
    style = 2
    date = { day = 1 month = october year = 1567 }
    offset = 30
    deathdate = { day = 1 month = august year = 1568 }

    action_a = {
        name = "ACTIONNAME40098A"
        command = { type = population which = 446 value = -2000 }
        command = { type = treasury value = -50 }
    }
}

#Plague in Novgorod#
event = {
    id = 40099
    random = no
    country = RUS
    trigger = { owned = { province = 274 data = -1 } 
            NOT = { event = 40101 } }
    name = "EVENTNAME40099"
    desc = "EVENTHIST40099"
    style = 2
    date = { day = 1 month = october year = 1552 }
    offset = 30
    deathdate = { day = 1 month = august year = 1553 }

    action_a = {
        name = "ACTIONNAME3726A"
        command = { type = population which = 274 value = -2000 }
        command = { type = treasury value = -50 }
    }
}

#Plague in Pskov#
event = {
    id = 40100
    random = no
    country = RUS
    trigger = { owned = { province = 277 data = -1 } 
            NOT = { event = 40102 } }
    name = "EVENTNAME40100"
    desc = "EVENTHIST40100"
    style = 2
    date = { day = 1 month = october year = 1552 }
    offset = 30
    deathdate = { day = 1 month = august year = 1553 }

    action_a = {
        name = "ACTIONNAME3726A"
        command = { type = population which = 277 value = -1000 }
        command = { type = treasury value = -50 }
    }
}

#Plague#
event = {
    id = 40103
    random = no
    country = RUS
    name = "EVENTNAME40103"
    desc = "EVENTHIST40103"
    style = 2
    date = { day = 1 month = october year = 1569 }
    offset = 130
    deathdate = { day = 1 month = august year = 1572 }

    action_a = {
        name = "ACTIONNAME6907A"
        command = { type = population which = -2 value = -2000 }
        command = { type = population which = -1 value = -1000 }
        command = { type = population which = -1 value = -1000 }
        command = { type = population which = -1 value = -1000 }
        command = { type = stability value = -1 }
        command = { type = treasury value = -100 }
    }
}

#St. Basil's Cathedral#
event = {
    id = 1507
    random = no
    country = RUS
    trigger = { owned = { province = 446 data = -1 }}
    name = "ENAME_F_1507"
    desc = "EDESC_F_1507"
    style = 2
    date = { day = 1 month = january year = 1539 }
    offset = 130
    deathdate = { day = 1 month = january year = 1570 }

    action_a = {
        name = "Ok"
        command = { type = stability value = 1 }
        command = { type = infra value = 250 }
        command = { type = treasury value = -50 }
    }
}

#Russian pretender#
event = {

    id = 40104
    trigger = { exists = RUS 
            NOT = { exists = LIT } }
    random = no
    country = POL
    name = "EVENTNAME40104"
    desc = "EVENTHIST40104"
    style = 3

    date = { day = 1 month = january year = 1604 }
    offset = 50
    deathdate = { day = 1 month = january year = 1605 }

    action_a = {
        name = "ACTIONNAME40104A"
        command = { type = treasury value = -100 }
        command = { type = relation which = RUS value = -200 }
        command = { type = relation which = SWE value = -70 }
        command = { type = sleepevent which = 40105 }
        command = { type = sleepevent which = 40108 }
    }

    action_b = {                
        name = "ACTIONNAME40104B"
        command = { type = treasury value = -200 }
        command = { type = relation which = RUS value = -400 }
        command = { type = relation which = SWE value = -300 }
        command = { type = casusbelli which = RUS value = 72 }
        command = { type = CAV which = -1 VALUE = 8000 }
        command = { type = stability value = -4 }
        command = { type = sleepevent which = 40108 }
    }

    action_c = {
        name = "ACTIONNAME40104C"
        command = { type = stability value = 1 }
        command = { type = relation which = RUS value = 100 }
        command = { type = relation which = SWE value = 50 }
        command = { type = sleepevent which = 3414 }
        command = { type = sleepevent which = 40105 }
        command = { type = sleepevent which = 40107 }
    }

}

#Russian pretender finds support at Polish court#
event = {

    id = 40105
    trigger = { exists = RUS 
        NOT = { exists = LIT }
            event = 40104 
        NOT = { event = 40107 } }
    random = no
    country = SWE
    name = "EVENTNAME40105"
    desc = "EVENTHIST40105"
    style = 3

    date = { day = 1 month = january year = 1604 }
    offset = 50
    deathdate = { day = 1 month = january year = 1605 }

    action_a = {
        name = "ACTIONNAME40105A"
        command = { type = relation which = RUS value = 200 }
        command = { type = casusbelli which = POL value = 72 }
    }

    action_b = {                
        name = "ACTIONNAME40105B"
        command = { type = relation which = RUS value = 50 }
    }

}

#Pretender#
event = {
    id = 3414
    trigger = { OR = { event = 40104 
        event = 40105 } }
    random = no
    country = RUS
    name = "EVENTNAME40106"
    desc = "EVENTHIST40106"
    style = 3

    date = { day = 1 month = january year = 1604 }
    offset = 50
    deathdate = { day = 1 month = january year = 1605 }

    action_a = {
        name = "ACTIONNAME40106A"
        command = { type = stability value = -3 }
        command = { type = revoltrisk which = 96 value = 7 }
        command = { type = domestic which = quality value = -2 }
        command = { type = domestic which = offensive value = -2 }
    }
}

#Russian pretender receives cautious support#
event = {
    id = 40107
    trigger = { exists = RUS 
            event = 40104 
        NOT = { exists = LIT }
        NOT = { event = 40105 } }
    random = no
    country = SWE
    name = "EVENTNAME40107"
    desc = "EVENTHIST40107"
    style = 3

    date = { day = 1 month = january year = 1604 }
    offset = 50
    deathdate = { day = 1 month = january year = 1605 }

    action_a = {
        name = "ACTIONNAME40105B"
        command = { type = relation which = RUS value = 30 }
    }

    action_b = {                
        name = "ACTIONNAME40105A"
        command = { type = relation which = RUS value = 100 }
        command = { type = casusbelli which = POL value = 72 }
    }

}

#Fire in Moscow#
event = {

    id = 40067
    trigger = { owned = { province = 270 data = -1 } }
    random = no
    country = RUS
    name = "EVENTNAME40067"
    desc = "EVENTHIST40067"
    style = 3

    date = { day = 1 month = january year = 1547 }
    offset = 50
    deathdate = { day = 1 month = january year = 1550 }

    action_a = {
        name = "ACTIONNAME6907A"
        command = { type = population which = 270 value = -1500 }
        command = { type = stability value = -1 }
        command = { type = treasury value = -50 }
    }
}

#Poland returns the pretender#
event = {

    id = 40108
    trigger = { event = 40104  
        NOT = { exists = LIT }}
    random = no
    country = RUS
    name = "EVENTNAME40108"
    desc = "EVENTHIST40108"
    style = 3

    date = { day = 1 month = january year = 1604 }
    offset = 50
    deathdate = { day = 1 month = january year = 1605 }

    action_a = {
        name = "ACTIONNAME40108A"
        command = { type = stability value = 1 }
        command = { type = sleepmonarch which = 05135 } #Dmitry#
    }
}

#Succession of Fedor Godunov#
event = {

    id = 40109
    trigger = { NOT = { exists = LIT }
            event = 40108  }
    random = no
    country = RUS
    name = "EVENTNAME40109"
    desc = "EVENTHIST40109"
    style = 3

    date = { day = 10 month = june year = 1605 }

    action_a = {
        name = "ACTIONNAME40109A"
        command = { type = stability value = 1 }
        command = { type = wakemonarch which = 99407 } #Ivan Godunov#
        command = { type = sleepmonarch which = 05136 } #Vasili Shuisky#
    }
    action_b = {
        name = "ACTIONNAME40109B"
        command = { type = stability value = 1 }
        command = { type = wakemonarch which = 05136 } #Vasili Shuisky#
        command = { type = sleepmonarch which = 99407 } #Ivan Godunov#
        command = { type = sleepevent which = 40131 }
    }
}
#Succession of Ivan Godunov#
event = {

    id = 40131
    trigger = { NOT = { exists = LIT }
            event = 40109  }
    random = no
    country = RUS
    name = "EVENTNAME40131"
    desc = "EVENTHIST40131"
    style = 3

    date = { day = 30 month = january year = 1610 }

    action_a = {
        name = "ACTIONNAME40131A"
        command = { type = stability value = 1 }
        command = { type = sleepmonarch which = 99407 } #Ivan Godunov#
        command = { type = wakemonarch which = 05138 } #Mikhail Romanov#
    }
}
#Death of Boris Godunov#
event = {

    id = 40110
    trigger = { event = 3414  }
    random = no
    country = RUS
    name = "EVENTNAME40110"
    desc = "EVENTHIST40110"
    style = 3

    date = { day = 9 month = june year = 1605 }

    action_a = {
        name = "ACTIONNAME40110A"
        command = { type = stability value = -2 }
        command = { type = domestic which = centralization value = -1 } 
        command = { type = treasury value = -50 }
    }
    action_b = {
        name = "ACTIONNAME40110B"
        command = { type = stability value = -4 }
        command = { type = sleepmonarch which = 05135 } #Dmitry#
        command = { type = wakemonarch which = 05136 } #Vasili Shuisky#
        command = { type = revoltrisk which = 36 value = 3 }
        command = { type = desertion which = -1 value = 5000 }
        command = { type = sleepevent which = 40111 }
    }
    action_c = {
        name = "ACTIONNAME40110C"
        command = { type = stability value = -6 }
        command = { type = sleepmonarch which = 05135 } #Dmitry#
        command = { type = wakemonarch which = 99407 } #Ivan Godunov#
        command = { type = revoltrisk which = 36 value = 6 }
        command = { type = desertion which = -1 value = 5000 }
        command = { type = sleepevent which = 40111 }
    }
}

#Boyars conspiracy against Dmitry#
event = {

    id = 40111
    trigger = { event = 40110  }
    random = no
    country = RUS
    name = "EVENTNAME40111"
    desc = "EVENTHIST40111"
    style = 3

    date = { day = 15 month = may year = 1606 }

    action_a = {
        name = "ACTIONNAME40111A"
        command = { type = stability value = 1 }
        command = { type = wakemonarch which = 05136 } #Vasili Shuisky#
        command = { type = sleepmonarch which = 05135 } #Dmitry#
    }
}

#Bolotnikov uprising#
event = {

    id = 40112
    trigger = { event = 40110 }
    random = no
    country = RUS
    name = "EVENTNAME40112"
    desc = "EVENTHIST40112"
    style = 3

    date = { day = 17 month = may year = 1606 }
    offset = 100
    deathdate = { day = 1 month = january year = 1607 }

    action_a = {
        name = "ACTIONNAME40112A"
        command = { type = stability value = -1 }
        command = { type = revoltrisk which = 13 value = 3 }
        command = { type = revolt which = 279 }
        command = { type = revolt which = 451 }
        command = { type = revolt which = 452 }
         command = { type = revolt which = 448 }
        command = { type = revolt which = 453 }
        command = { type = revolt which = 459 }

  command = { type = revolt which = 1459 }
        command = { type = inf which = -2 value = 8000 }
        command = { type = cav which = -2 value = 5000 }
    }
}

#Bolotnikov surrenders#
event = {

    id = 40113
    trigger = { 
            event = 40112
            NOT = { control = { province = 270 data = REB } }  }
    random = no
    country = RUS
    name = "EVENTNAME40113"
    desc = "EVENTHIST40113"
    style = 3

    date = { day = 1 month = march year = 1607 }
    offset = 100
    deathdate = { day = 1 month = january year = 1608 }

    action_a = {
        name = "ACTIONNAME40113A"
        command = { type = stability value = 1 }
        command = { type = revoltrisk value = -2 }
    }
}

#Dmitry retakes the throne#
event = {

    id = 40114
    trigger = { 
            event = 40112
            control = { province = 270 data = REB }  }
    random = no
    country = RUS
    name = "EVENTNAME40114"
    desc = "EVENTHIST40114"
    style = 3

    date = { day = 1 month = march year = 1607 }
    offset = 100
    deathdate = { day = 1 month = january year = 1608 }

    action_a = {
        name = "ACTIONNAME40114A"
        command = { type = stability value = -2 }
        command = { type = revoltrisk value = -2 }
        command = { type = wakemonarch which = 99406 } #Dmitry#
        command = { type = sleepmonarch which = 05136 } #Vasili Shuisky#
        command = { type = sleepmonarch which = 99407 } #Ivan Godunov#
    }
}

#Russo-Polish truce#
event = {

    id = 40115
    trigger = { NOT = { exists = LIT }
            event = 3414
            NOT = { event = 40114 } }
    random = no
    country = POL
    name = "EVENTNAME40115"
    desc = "EVENTHIST40115"
    style = 3

    date = { day = 25 month = july year = 1608 }
    
    action_a = {
        name = "ACTIONNAME40115A"
        command = { type = relation which = RUS value = 25 }
        command = { type = domestic which = aristocracy value = 1 }
        command = { type = trigger which = 40116 }
    }
    action_b = {
        name = "ACTIONNAME40115B"
        command = { type = relation which = RUS value = 90 }
        command = { type = domestic which = aristocracy value = -1 }
        command = { type = domestic which = centralization value = 1 }
        command = { type = stability value = -2 }
        command = { type = trigger which = 40116 }
    }
    action_c = {
        name = "ACTIONNAME40115C"
        command = { type = relation which = RUS value = -100 }
        command = { type = trigger which = 40117 }
    }
}

#Russo-Polish truce#
event = {

    id = 40116
    random = no
    country = RUS
    name = "EVENTNAME40116"
    desc = "EVENTHIST40115"
    style = 3

    action_a = {
        name = "ACTIONNAME40116A"
        command = { type = stability value = 1 }
    }
}

#Russo-Polish truce#
event = {

    id = 40117
    random = no
    country = RUS
    name = "EVENTNAME40117"
    desc = "EVENTHIST40115"
    style = 3
    
    action_a = {
        name = "ACTIONNAME40117A"
        command = { type = stability value = -1 }
        command = { type = casusbelli which = POL value = 120 }
        command = { type = inf which = -1 value = 5000 }
        command = { type = cav which = -3 value = 5000 }
    }
}

#Treaty of Vyborg#
event = {

    id = 40118
    trigger = { NOT = { exists = LIT }
            event = 3414
            NOT = { event = 40114 } }
    random = no
    country = SWE
    name = "EVENTNAME40118"
    desc = "EVENTHIST40118"
    style = 3

    date = { day = 2 month = february year = 1609 }
    
    action_a = {
        name = "ACTIONNAME40118A"
        command = { type = relation which = POL value = -30 }
    }
    action_b = {
        name = "ACTIONNAME40118B"
        command = { type = relation which = POL value = 30 }
    }
}

#Treaty of Vyborg#
event = {

    id = 40119
    random = no
    trigger = { event = 40118
            monarch = 05136 
        NOT = { exists = LIT }}
    country = RUS
    name = "EVENTNAME40118"
    desc = "EVENTHIST40118"
    style = 3

    date = { day = 2 month = february year = 1609 }
    offset = 30
    deathdate = { day = 1 month = june year = 1610 }
    
    action_a = {
        name = "ACTIONNAME40119A"
        command = { type = inf which = -1 value = 10000 }
        command = { type = cav which = -3 value = 5000 }
        command = { type = treasury value = -100 }
        command = { type = relation which = SWE value = 50 }
        command = { type = relation which = POL value = -100 }
    }
    action_b = {
        name = "ACTIONNAME40119B"
        command = { type = relation which = POL value = 30 }
        command = { type = relation which = SWE value = -25 }
        command = { type = sleepevent which = 40120 }
        command = { type = sleepevent which = 40121 }
    }
}

#Treaty of Vyborg#
event = {

    id = 40120
    trigger = { NOT = { exists = LIT }
            event = 40119
             }
    random = no
    country = SWE
    name = "EVENTNAME40120"
    desc = "EVENTHIST40118"
    style = 3

    date = { day = 2 month = february year = 1609 }
    offset = 30
    deathdate = { day = 1 month = june year = 1610 }
    
    action_a = {
        name = "ACTIONNAME40120A"
        command = { type = relation which = POL value = -100 }
        command = { type = treasury value = 100 }
    }
}

#Treaty of Vyborg#
event = {

    id = 40121
    trigger = { NOT = { exists = LIT }
            event = 40119
             }
    random = no
    country = POL
    name = "EVENTNAME40121"
    desc = "EVENTHIST40121"
    style = 3

    date = { day = 2 month = june year = 1609 }
    offset = 120
    deathdate = { day = 1 month = june year = 1610 }
    
    action_a = {
        name = "ACTIONNAME40121A"
        command = { type = war which = RUS }
    }
    action_b = {
        name = "ACTIONNAME40121B"
        command = { type = relation which = RUS value = 50 }
        command = { type = sleepevent which = 40122 }
        command = { type = sleepevent which = 40124 }
    }
}

#Treaty of Vyborg#
event = {

    id = 40122
    trigger = { NOT = { exists = LIT }
            event = 40121
             }
    random = no
    country = SWE
    name = "EVENTNAME40122"
    desc = "EVENTHIST40122"
    style = 3

    date = { day = 2 month = june year = 1609 }
    offset = 120
    deathdate = { day = 1 month = june year = 1610 }
    
    action_a = {
        name = "ACTIONNAME40122A"
        command = { type = war which = POL }
    }
    action_b = {
        name = "ACTIONNAME40122B"
        command = { type = relation which = RUS value = -50 }   
        command = { type = relation which = POL value = 50 }
        command = { type = stability value = -2 }
        command = { type = trigger which = 40123 }
    }
}

#Treaty of Vyborg#
event = {

    id = 40123
    random = no
    country = RUS
    name = "EVENTNAME40123"
    desc = "EVENTHIST40123"
    style = 3
    
    action_a = {
        name = "ACTIONNAME40123A"
        command = { type = casusbelli which = SWE value = 60 }
        command = { type = relation which = SWE value = -100 }  
    }
}

#Tsar Vladislav#
event = {

    id = 40124
    trigger = { control = { province = 270 data = POL } 
            NOT = { exists = LIT }
            OR = { event = 40121
                war = { country = POL country = RUS } }
             }
    random = no
    country = RUS
    name = "EVENTNAME40124"
    desc = "EVENTHIST40124"
    style = 3

    date = { day = 2 month = september year = 1609 }
    offset = 120
    deathdate = { day = 1 month = june year = 1613 }
    
    action_a = {
        name = "ACTIONNAME40124A"
        command = { type = sleepmonarch which = 05136 }#Shuiski
        command = { type = wakemonarch which = 05137 }#Vladislav
        command = { type = stability value = -1 }
        command = { type = trigger which = 40125 }
    }
    action_b = {
        name = "ACTIONNAME40124B"
        command = { type = sleepmonarch which = 05136 }#Shuiski
        command = { type = wakemonarch which = 05138 }  
        command = { type = relation which = POL value = -100 }
        command = { type = stability value = -4 }
        command = { type = sleepevent which = 40126 }
    }
}

#Tsar Vladislav#
event = {

    id = 40125
    random = no
    country = POL
    name = "EVENTNAME40125"
    desc = "EVENTHIST40125"
    style = 3
    
    action_a = {
        name = "ACTIONNAME40125A"
        command = { type = vassal which = RUS }
        command = { type = relation which = SWE value = -100 }
        command = { type = stability value = -1 }
        command = { type = trigger which = 40127 }
    }
}

#Tsar Mikhail#
event = {
    id = 40126
    trigger = { control = { province = 270 data = -1 } 
            event = 40124
             }
    random = no
    country = RUS
    name = "EVENTNAME40126"
    desc = "EVENTHIST40126"
    style = 3
    date = { day = 2 month = january year = 1610 }
    offset = 120
    deathdate = { day = 1 month = january year = 1618 }
    
    action_a = {
        name = "ACTIONNAME40126A"
        command = { type = sleepmonarch which = 05137 }#Vladislav
        command = { type = wakemonarch which = 05138 }#Mikhail
        command = { type = breakvassal which = POL }
        command = { type = stability value = 3 }
        command = { type = domestic which = quality value = 1 }
    }
    action_b = {
        name = "ACTIONNAME40126B"
        command = { type = sleepmonarch which = 05137 }#Vladislav
        command = { type = wakemonarch which = 05138 }#Mikhail  
        command = { type = relation which = POL value = -70 }
        command = { type = stability value = -1 }
    }
}

#Tsar Vladislav#
event = {

    id = 40127
    random = no
    country = SWE
    name = "EVENTNAME40127"
    desc = "EVENTHIST40127"
    style = 3
    
    action_a = {
        name = "ACTIONNAME40127A"
        command = { type = casusbelli which = RUS value = 36 }
        command = { type = relation which = RUS value = -100 }
    }
}

#People's war#
event = {

    id = 40128
    trigger = { OR = {
            control = { province = 270 data = POL }
            control = { province = 270 data = SWE } }
            event = 40124
             }
    random = no
    country = RUS
    name = "EVENTNAME40128"
    desc = "EVENTHIST40128"
    style = 3

    date = { day = 2 month = september year = 1609 }
    offset = 20
    deathdate = { day = 1 month = january year = 1620 }
    
    action_a = {
        name = "ACTIONNAME40128A"
        command = { type = INF which = -1 value = 20000 }
        command = { type = cav which = -3 value = 20000 }
        command = { type = treasury value = 100 }
    }
}

#People's war#
event = {

    id = 40129
    trigger = { OR = {
            control = { province = 270 data = POL }
            control = { province = 270 data = SWE } }
            event = 40128
             }
    random = no
    country = RUS
    name = "EVENTNAME40129"
    desc = "EVENTHIST40128"
    style = 3

    date = { day = 2 month = september year = 1610 }
    offset = 20
    deathdate = { day = 1 month = january year = 1620 }
    
    action_a = {
        name = "ACTIONNAME40128A"
        command = { type = INF which = -1 value = 30000 }
        command = { type = cav which = -3 value = 10000 }
        command = { type = treasury value = 100 }
    }
}

#People's war#
event = {

    id = 40130
    trigger = { OR = {
            control = { province = 270 data = POL }
            control = { province = 270 data = SWE } }
            event = 40128
             }
    random = no
    country = RUS
    name = "EVENTNAME40130"
    desc = "EVENTHIST40128"
    style = 3

    date = { day = 2 month = september year = 1611 }
    offset = 20
    deathdate = { day = 1 month = january year = 1620 }
    
    action_a = {
        name = "ACTIONNAME40128A"
        command = { type = INF which = -1 value = 30000 }
        command = { type = cav which = -3 value = 10000 }
        command = { type = treasury value = 100 }
    }
}

### Sabre Rattling ## RUS Event#

event = {
    id = 12118
    random = no
    country = RUS
    name = "EVENTNAME12114"
    desc = "EVENTHIST12114"
    style = 4
    action_a = {
        name = "ACTIONNAME12114A"
        command = { type = casusbelli which = FRA value = 80 } 
}
    action_b = {
        name = "ACTIONNAME12114B"
        command = { type = stability value = -1 } 
}
}

### War Again ## RUS Event#

event = {
    id = 12129
    random = no
    country = RUS
    name = "EVENTNAME12125"
    desc = "EVENTHIST12128"
    style = 5
    action_a = {
        name = "ACTIONNAME12126A"
        command = { type = casusbelli which = FRA value = 216 } 
        }
    action_b = {
        name = "ACTIONNAME12126B"
        command = { type = stability value = -1 } 
    }
} 

### The Russian Academy of Sciences
### By mfigueras
event = {
    id = 5900
    trigger = { stability = 0
            OR = { owned = { province = 275 data = -1 }
                    owned = { province = 270 data = -1 } } }
    random = no
    country = RUS
    name = "EVENTNAME5900"
    desc = "EVENTHIST5900"
    style = 4
    date = {day = 22 month = january year = 1724}
    offset = 3600
    deathdate = {day = 1 month = december year = 1750}
    action_a = {
        name = "ACTIONNAME5900A"
        command = { type = cash value = -75 }
        command = { type = DIP which = 2 value = 15 }
        command = { type = sleepevent which = 5901 }
         command = { type = infra value = 150 }
        }
    action_b = {
        name = "ACTIONNAME5900B"
        command = { type = MIL which = 1 value = 12 }
        command = { type = sleepevent which = 5902 }
        }
}


### Euler goes to Russia

event = {
    id = 5902
    trigger = { event = 5900
            atwar = no
            OR = { owned = { province = 275 data = -1 }
            owned = { province = 270 data = -1 } } }
    random = no
    country = RUS
    name = "EVENTNAME5902"
    desc = "EVENTHIST5902"
    style = 4
    date = {day = 1 month = april year = 1726}
    offset = 720
    deathdate = {day = 1 month = december year = 1752}
    action_a = {
        name = "ACTIONNAME5902A"
        command = { type = infra value = 150 }
        command = { type = land value = 75 }
        }
}

#Ivan Vyrodkov# 

event = { 

    id = 95591 
    random = no 
    country = RUS 
    name = "EVENTNAME95591" 
    desc = "EVENTHIST95591" 
    style = 2
    
    date = { day = 1 month = january year = 1538 } 

    action_a = { 
            name = "ACTIONNAME95591A" 
            command = { type = land value = 500 } 
            command = { type = fortress which = 277 value = 1 } 
            command = { type = fortress which = -1 value = 1 } 
            command = { type = domestic which = QUALITY value = 1 } 
            command = { type = domestic which = OFFENSIVE value = -1 }
    } 
}

#Greeks flee to Russia# 

event = { 

    id = 95592 
    trigger = {
            exists = TUR
            owned = { province = 1953 data = TUR }
            NOT = {
                    exists = BYZ 
                    exists = MOS
                    event = 95593
                }
    }
    random = no 
    country = RUS 
    name = "EVENTNAME95592" 
    desc = "EVENTHIST95592" 
    style = 1
    
    date = { day = 1 month = january year = 1485 } 
    offset = 100
    deathdate = { day = 1 month = january year = 1495 } 

    action_a = { 
            name = "ACTIONNAME95591A" 
            command = { type = infra value = 500 } 
            command = { type = treasury value = 100 } 
            command = { type = vp value = 20 } 
            command = { type = diplomats value = 6 }
            command = { type = DIP which = 3 value = 86 } 
    } 
}

#Greeks flee to Russia# 

event = { 

    id = 95593 
    trigger = {
            exists = TUR
            owned = { province = 1953 data = TUR }
            NOT = {
                    exists = BYZ 
                    exists = RUS
                    event = 95592
                }
    }
    random = no 
    country = MOS 
    name = "EVENTNAME95592" 
    desc = "EVENTHIST95592" 
    style = 1
    
    date = { day = 1 month = january year = 1485 } 
    offset = 100
    deathdate = { day = 1 month = january year = 1495 } 

    action_a = { 
            name = "ACTIONNAME95591A" 
            command = { type = infra value = 500 } 
            command = { type = treasury value = 100 } 
            command = { type = vp value = 20 } 
            command = { type = diplomats value = 6 }
            command = { type = DIP which = 3 value = 86 } 
    } 
}



##################################
###  Russian EEP RUS EVENTS    ###
# by Korall, corrected by Chimera#      
##################################

#Simeon Bekbulatovich#
event = { 
    id = 95583 
    trigger = {
            domestic = { type = aristocracy value = 5 }
    }
    random = no 
    country = RUS 
    name = "EVENTNAME95583" 
    desc = "EVENTHIST95583" 
    style = 2

    date = { day = 1 month = january year = 1575 } 
    offset = 50 
    deathdate = { day = 1 month = january year = 1576 } 

    action_a = { 
            name = "ACTIONNAME95583A" 
            command = { type = stability value = -1 } 
            command = { type = wakemonarch which = 15210 } # Ñèìåîí Áåêáóëàòîâè÷ # 
            command = { type = domestic which = CENTRALIZATION value = 1 } 
    } 
    action_b = { 
            name = "ACTIONNAME95583B" 
    } 
}


####################################################################################
###  Àçîâñêîå ñèäåíèå Êàçàêîâ
### Àâòîð - Slavophil
### 
###################################################################################


event = { 
id = 200524 
country = RUS 
trigger = { 
owned = { province = 1435 data = CRI } 
OR = { 
owned = { province = 1435 data = TUR } 
} 
owned = { province = 460 data = -1 } 
} 
random = no 
name = " Àçîâñêîå ñèäåíèå " 
desc = "Â 1637 ã. äîíñêèå è çàïîðîæñêèå êàçàêè îâëàäåëè òóðåöêîé êðåïîñòüþ Àçîâ, ñäåëàâ ýòî áåç íàøåãî ïîçâîëåíèÿ. Òåïåðü ñóëòàí ñîáðàë íåñìåòíîå âîéñêî, ÷òîáû îòíÿòü Àçîâ ó êàçàêîâ. Êàçà÷èé êðóã ðåøèë êëàíÿòñÿ Àçîâîì ðóññêîìó öàðþ. Åñëè ìû ïðèìåì èõ ïðåäëîæåíèå è ââåä¸ì ñâîé ãàðíèçîí â êðåïîñòü, òî ýòî ïðèâåä¸ò ê âîéíå ñ Õàíñòâîì è òóðêàìè. Îäíàêî Àçîâ ýòî âûõîä ê ×¸ðíîìó ìîðþ" 
style = 2 
date = { day = 1 month = may year = 1637 } 

action_a = { 
name = "Îòêàçàòü êàçàêàì â ïîìîùè" 
command = { type = relation which = CRI value = 50 } 
command = { type = relation which = TUR value = 50 } 
command = { type = fortress which = 460 value = -1 }#êàçàêè, óõîäÿ, ðàçðóøàþò óêðåïëåíèÿ Àçîâà 
} 
action_b = { # 
name = "Ïðèìåì Àçîâ ïîä ñâîþ âûñîêóþ öàðñêóþ ðóêó" 
command = { type = trigger which = 200525 }# Êðûìñêîå ñîáûòèå 
command = { type = trigger which = 200526 }# Òóðåöêîå ñîáûòèå 
command = { type = addcore which = 1435 }#Àçîâ 
command = { type = relation which = CRI value = -200 } 
command = { type = relation which = TUR value = -200 } 
} 
} 


event = { 
id = 200525 

country = CRI 
name = " Àçîâñêîå ñèäåíèå " 
desc = "Ìîñêîó â ñîþçå ñ íå÷åñòèâûìè êàçàêàìè îòíÿëè ó íàñ Àçîâ! " 
style = 2 
random = no 

action_a = { 
name = "Âîéíà íåâåðíûì!" 
command = { type = secedeprovince which = RUS value = 1435 }#Àçîâ 
command = { type = casusbelli which = RUS value = 360 }# 
command = { type = CAV which = -2 value = 10000 }# Òàòàðñêîå îïîë÷åíèå äëÿ ãðÿäóùåé âîéíû 
command = { type = CAV which = -2 value = 10000 }# Òàòàðñêîå îïîë÷åíèå äëÿ ãðÿäóùåé âîéíû 
} 
action_b = { # 
name = "Ñìèðèòüñÿ ñ ïîòåðåé" 
command = { type = secedeprovince which = RUS value = 1435 }#Àçîâ  
command = { type = removecore which = 1435 } #Àçîâ 
command = { type = relation which = RUS value = 50 } 
command = { type = relation which = TUR value = -50 } 
} 

} 

event = { 
id = 200526
country = TUR 
name = "Àçîâñêîå ñèäåíèå" 
desc = " Ìîñêâà â ñîþçå ñ íå÷åñòèâûìè êàçàêàìè îòíÿëè ó íàñ Àçîâ! " 
random = no
style = 2 

action_a = { 
name = "Âîéíà íåâåðíûì!" 
command = { type = secedeprovince which = RUS value = 1435 }# 
command = { type = casusbelli which = RUS value = 360 }# 
command = { type = CAV which = 1953 value = 10000 }# Êîííèöà ñïàãè äëÿ ãðÿäóùåé âîéíû 
command = { type = INF which = 1953 value = 10000 }# Ïåõîòà, íàáðàííàÿ äëÿ ãðÿäóùåé âîéíû 
} 
action_b = { # 
name = "Ñìèðèòüñÿ ñ ïîòåðåé" 
command = { type = secedeprovince which = RUS value = 1435 }#Àçîâ  
command = { type = removecore which = 1435 } #Àçîâ 
command = { type = relation which = RUS value = 50 } 
command = { type = relation which = CRI value = -50 } 
} 

}



# Restoration of St. Sophia #

event = {
    id = 200102
    trigger = { owned = { province = 1953 data = -1 }
    
 }
    random = NO
    country = RUS
    name = "Ñâÿòàÿ Ñîôèÿ - îäíà èç âåëè÷àéøèõ ñâÿòûíü õðèñòèàíñòâà, íå ïîðà ëè å¸ âîññòàíîâèòü?"
    desc = "EVENTHIST90001"
    date = { day = 1 month = june year = 1690 }
    deathdate = { day = 1 month = january year = 1860 }
    offset = 1800
    style = 1

    action_a = { # Restore it
        name = "ACTIONNAME90001A"
        command = { type = treasury value = -1000 }
        command = { type = gainmanufactory which = 1953 value = luxury }
        command = { type = infra value = 500 }
        command = { type = stability value = 1 }
        command = { type = relation which = TOS value = 100 }
        command = { type = relation which = PAP value = 100 }
        command = { type = relation which = PIS value = 100 }
        command = { type = relation which = PAR value = 100 }
        command = { type = relation which = MLO value = 100 }
    }
    action_b = { # What a waste
        name = "ACTIONNAME90001B"
        command = { type = treasury value = 250 }
        command = { type = land value = 550 }
        command = { type = naval value = 550 }
    }
}


event = {

    id = 200249
    trigger = {      


            owned = { province = 453 data = -1 }
            owned = { province = 460 data = -1 }
}
    random = no
    country = RUS
    name = "Âîññòàíèå Áóëàâèíà íà Äîíó"
    desc = "Â 1707 ãîäó öàðñêîå ïðàâèòåëüñòâî íàïðàâèëî âîåííóþ êîìèññèþ íà Äîí, ÷òîáû ñûñêàòü òàì áåãëûõ êðåñòüÿí, ÷òî âûçâàëî áóíò ñðåäè êàçàêîâ, êîòîðûé áûë ïîäàâëåí öàðñêèìè âëàñòÿìè ñ ïîìîùüþ áîãàòûõ êàçàêîâ. Ýòî áûë ïîñëåäíèé êðóïûíèé êîíôëèêò äîñêèõ êàçàêîâ ñ öàðñêîé âëàñòüþ."
    style = 3

   date = { day = 1 month = may year = 1707 }
    offset = 30
    deathdate = { day = 1 month = january year = 1708 }

    action_a = {    
        name = "ACTIONNAME40032A"
        command = { type = stability value = -1 }
        command = { type = add_countryculture which = inuit }
        command = { type = revolt which = 453 }
        command = { type = revolt which = 460 }
        command = { type = revolt which = 458 }
        command = { type = revolt which = 1460 }
        command = { type = revolt which = 1461 }
        command = { type = revolt which = 465 }
        command = { type = revolt which = 1435 }
 command = { type = revolt which = 453 }
        command = { type = revolt which = 460 }
        command = { type = revolt which = 458 }
        command = { type = revolt which = 1460 }
        command = { type = revolt which = 1461 }
        command = { type = revolt which = 465 }
        command = { type = revolt which = 1435 }
 command = { type = revolt which = 453 }
        command = { type = revolt which = 460 }
        command = { type = revolt which = 458 }
        command = { type = revolt which = 1460 }
        command = { type = revolt which = 1461 }
        command = { type = revolt which = 465 }
        command = { type = revolt which = 1435 }
    }
}
