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

#The Sudebnik Laws#
event = {

	id = 3402
	random = no
	country = MOS
	name = "EVENTNAME3402"
	desc = "EVENTHIST3402"
	style = 1

	date = { day = 1 month = january year = 1495 }
	offset = 30
	deathdate = { day = 1 month = january year = 1501 }

	action_a = {				#Introduce it#
		name = "ACTIONNAME3402A"
		command = { type = domestic which = ARISTOCRACY value = 1 }

		command = { type = stability value = 1 }
		command = { type = infra value = 800 }
		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 = SERFDOM value = -1 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = stability value = -4 }
		command = { type = revoltrisk which = 60 value = 8 }
		command = { type = manpower value = 2 }
	}
}

#############################
######  Muscowy Events ######
######    by Crook     ######
#############################
##EEP RUS corrections##
####   by Tanone  #####
#######################

#Succession of Vasili I#
event = {
	id = 40001
	random = no
	country = MOS
	name = "EVENTNAME40001"
	desc = "EVENTHIST40001"
	style = 1

	action_a = {
	name = "ACTIONNAME40001A"
		command = { type = domestic which = centralization value = -1 }	
		command = { type = treasury value = -50 }
		command = { type = CAV which = -2 value = 8000 }
		command = { type = stability value = -1 }
	}
}

#Succession of Vasili I#
event = {
	id = 40002
	random = no
	country = MOS
	name = "EVENTNAME40002"
	desc = "EVENTHIST40002"
	style = 1

	action_a = {
	name = "ACTIONNAME40002A"
	command = { type = vassal which = SUZ }
	command = { type = alliance which = SUZ  }	
	command = { type = treasury value = -50 }
	command = { type = stability value = 1 }
	}
}

#Beginning of Feud#
event = {
	id = 40004
	random = no
	country = MOS
	name = "EVENTNAME40004"
	desc = "EVENTHIST40004"
	style = 1

	action_a = {
	name = "ACTIONNAME40004A"
	command = { type = stability value = -2 }	
	command = { type = treasury value = -50 }
	command = { type = CAV which = -1 value = 8000 }
	}
}

#Vasili II captured by Tartars#
#Edited by Sirius#
event = {
	id = 40005
	random = no
	country = MOS
	trigger = { OR = { exists = KAZ 
			exists = STE } }
	name = "EVENTNAME40005"
	desc = "EVENTHIST40005"
	style=1
	
	date = {day = 1 month = april year = 1445}
	offset = 8
	deathdate = {day = 15 month = april year = 1445}
	action_a = {
		name = "ACTIONNAME40005A"
		command = { type = stability value = -2 }
	        command = { type = revoltrisk which = 12 value = 4 }
	        command = { type = casusbelli which = KAZ value = 372 }
		command = { type = casusbelli which = STE value = 48 }
		command = { type = relation which = KAZ value = -50 }
		command = { type = relation which = STE value = -50 }
		command = { type = treasury value = -200 }
	}
}

#Shemiaka rebels!#
event = {
	id = 40007
	random = no
	country = MOS
	name = "EVENTNAME40007"
	desc = "EVENTHIST40007"
	style = 1

	action_a = {
	name = "ACTIONNAME40007A"
	command = { type = stability value = -2 }	
	command = { type = treasury value = -50 }
	command = { type = domestic which = centralization value = -1 }
	command = { type = CAV which = -1 value = 9000 }
	command = { type = inf which = -3 value = 9000 }
	command = { type = relation which = NVG value = -50 }
	}
}

#Co-rule of Vasili II and his son Ivan#
event = {
	id = 40008
	trigger = { monarch = 05171 }
	random = no
	country = MOS
	name = "EVENTNAME40008"
	desc = "EVENTHIST40008"
	style = 1

	date = { day = 1 month = january year = 1449 }
	offset = 30
	deathdate = { day = 1 month = july year = 1449 }


	action_a = {		#An Excellent Minister!#
		name = "ACTIONNAME40008A"
		command = { type = DIP which = 3 value = 157 }
		command = { type = ADM which = 4 value = 157 }
		command = { type = MIL which = 3 value = 157 }
		command = { type = provincetax which = -2 value = 1 }
	}
}

#The Pomjestija Reform#
event = {

	id = 40009
	random = no
	country = MOS
	name = "EVENTNAME3401"
	desc = "EVENTHIST3401"
	style = 1

	date = { day = 1 month = january year = 1470 }
	offset = 30
	deathdate = { day = 1 month = january year = 1480 }

	action_a = {				#Let us reform#
		name = "ACTIONNAME3401A"
		command = { type = domestic which = Aristocracy value = 1 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = LAND value = 1  }
		command = { type = land value = 800 }
		command = { type = CAV which = -1 value = 10000 }
		command = { type = CAV which = -1 value = 5000 }
		command = { type = domestic which = quality value = 1 }
		command = { type = gainbuilding which = -2 value = barrack }
	}

	action_b = {				#Let us become like Novgorod#
		name = "ACTIONNAME3401B"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = trade value = 1000 }
		command = { type = domestic which = LAND value = -2 }
		command = { type = merchants value = 6 }
		command = { type = domestic which = quality value = -2 }
		command = { type = domestic which = serfdom value = -1 }
	}
}

#The Empire of Russia#
event = {

	id = 40010
	trigger = {
		owned = { province = 270 data = -1 } # Moscow
		owned = { province = 271 data = -1 } # Vladimir
		owned = { province = 268 data = -1 } # Vologda
		
		OR = { owned = { province = 274 data = -1 } # Novgorod
		       owned = { province = 278 data = -1 } # Tver
		       owned = { province = 448 data = -1 } # Ryazan
}
		
		NOT = { exists = RUS }
		atwar = no
		}
	random = no
	country = MOS
	name = "EVENTNAME3403"
	desc = "EVENTHIST40010"
	style = 1

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

	action_a = {				#Take over the Byzantine Mantle#
		name = "ACTIONNAME3403A"
		command = { type = vp value = 200 }
		command = { type = stability value = 2 }
		command = { type = population which = 270 value = 3000 }
		command = { type = country which = RUS }
		command = { type = ai which = "russia1.ai" }
	}
}

#Expulsion of Hansa merchants#
event = {
	id = 40044
	trigger = {
			owned = { province = 274 data = -1 }
			NOT = { event = 40045 }
		}
	random = no
	country = MOS
	name = "EVENTNAME40044"
	desc = "EVENTHIST40044"
	style = 1
	date = { day = 1 month = january year = 1484}
	offset = 160
	deathdate = { day = 1 month = january year = 1540 }

	action_a = {
		name = "ACTIONNAME40044A"
		command = { type = treasury value = 100 }
		command = { type = merchants value = 3 }
		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 = population which = 274 value = -35000 }
		command = { type = sleepevent which = 40045 }
		command = { type = provincetax which = 274 value = -2 }
	}
	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 = 40045 }
	}
}

#Strigolniks#
event = {
	id = 40069
	random = no
	country = MOS
	name = "EVENTNAME40069"
	desc = "EVENTHIST40069"
	style = 1
	date = { day = 1 month = january year = 1422 }
	offset = 300
	deathdate = { day = 1 month = january year = 1423 }

        action_a = { #Stamp them out#
                name = "ACTIONNAME40069A"
                command = { type = revolt which = -1 }
                command = { type = stability value = 1 }
        }
        action_b = { #Ignore them#
       	    name = "ACTIONNAME40069B"
                command = { type = stability value = -2 }
        }
}

#Tver#
event = {
	id = 40079
	trigger = { exists = TVE 
		NOT = { exists = SUZ }
		owned = { province = 271 data = -1 }
		NOT = { vassal = { country = MOS country = TVE } }
	}
	random = no
	country = MOS
	name = "EVENTNAME40079"
	desc = "EVENTHIST40079"
	style = 1

	date = { day = 1 month = january year = 1452}
	offset = 100
	deathdate = { day = 1 month = january year = 1454 }

	action_a = {			
		name = "ACTIONNAME40079A"
		command = { type = trigger which = 40080 }
	}
	action_b = {			
		name = "ACTIONNAME40079B"
		command = { type = stability value = -1 }
		command = { type = relation which = LIT value = 35 }
	}
}

#Tver#
event = {
	id = 40081
	random = no
	country = MOS
	name = "EVENTNAME40081"
	trigger = { event = 40080 }
	desc = "EVENTHIST40081"
	style = 1
	date = { day = 1 month = january year = 1452 }
	offset = 40
	deathdate = { day = 1 month = january year = 1460 }

	action_a = {			
		name = "ACTIONNAME40116A"
		command = { type = alliance which = TVE }
		command = { type = vassal which = TVE }
		command = { type = relation which = TVE value = 100 }
	}
}
#Tver#
event = {
	id = 40082
	random = no
	country = MOS
	name = "EVENTNAME40082"
	trigger = { event = 40080 }
	desc = "EVENTHIST40082"
	style = 1
	date = { day = 1 month = january year = 1452 }
	offset = 40
	deathdate = { day = 1 month = january year = 1460 }

	action_a = {			
		name = "ACTIONNAME40098A"
		command = { type = casusbelli which = TVE value = 240 }
		command = { type = relation which = TVE value = -150 }
	}
}

#Ryazan#
event = {
	id = 40083
	trigger = { exists = RYA 
		NOT = { exists = SUZ }
		owned = { province = 271 data = -1 }
		NOT = { vassal = { country = MOS country = RYA } }
	}
	random = no
	country = MOS
	name = "EVENTNAME40083"
	desc = "EVENTHIST40083"
	style = 1
	date = { day = 1 month = january year = 1455}
	offset = 400
	deathdate = { day = 1 month = january year = 1457 }
	action_a = {			
		name = "ACTIONNAME40079A"
		command = { type = trigger which = 40084 }
	}
	action_b = {			
		name = "ACTIONNAME40079B"
		command = { type = stability value = -1 }
		command = { type = relation which = LIT value = 35 }
	}
}

#Ryazan#
event = {
	id = 40085
	random = no
	country = MOS
	trigger = { event = 40084 }
	name = "EVENTNAME40085"
	desc = "EVENTHIST40085"
	style = 1
	date = { day = 1 month = january year = 1453 }
	offset = 40
	deathdate = { day = 1 month = january year = 1460 }

	action_a = {			
		name = "ACTIONNAME40116A"
		command = { type = alliance which = RYA }
		command = { type = relation which = RYA value = 100 }
		command = { type = vassal which = RYA }
		command = { type = stability value = 1 }
	}
}

#Ryazan#
event = {

	id = 40086
	random = no
	country = MOS
	name = "EVENTNAME40086"
	trigger = { event = 40084 }
	desc = "EVENTHIST40086"
	style = 1
	date = { day = 1 month = january year = 1453}
	offset = 40
	deathdate = { day = 1 month = january year = 1460 }

	action_a = {			
		name = "ACTIONNAME40098A"
		command = { type = casusbelli which = RYA value = 240 }
		command = { type = relation which = RYA value = -150 }
	}
}

#Novgorod#
event = {

	id = 40087
	trigger = { exists = NVG 
		NOT = { exists = SUZ }
		owned = { province = 271 data = MOS }
		control = { province = 274 data = MOS }
	}
	random = no
	country = MOS
	name = "EVENTNAME40087"
	desc = "EVENTHIST40087"
	style = 1

	date = { day = 1 month = january year = 1450}
	offset = 400
	deathdate = { day = 1 month = january year = 1475 }

	action_a = {			
		name = "ACTIONNAME40079A"
		command = { type = trigger which = 40088 }
	}
	action_b = {			
		name = "ACTIONNAME40079B"
		command = { type = stability value = -1 }
		command = { type = relation which = NVG value = 30 }
	}
}

#Novgorod#
event = {

	id = 40089
	random = no
	country = MOS
	name = "EVENTNAME40089"
	desc = "EVENTHIST40089"
	style = 1

	action_a = {			
		name = "ACTIONNAME40116A"
		command = { type = relation which = NVG value = 90 }
		command = { type = vassal which = NVG }
		command = { type = stability value = 1 }
		command = { type = treasury value = 100 }
		command = { type = provincetax which = -1 value = 1 }
	}
}
#Novgorod#
event = {

	id = 40090
	random = no
	country = MOS
	name = "EVENTNAME40090"
	desc = "EVENTHIST40090"
	style = 1

	action_a = {			
		name = "ACTIONNAME40098A"
		command = { type = casusbelli which = NVG value = 240 }
		command = { type = relation which = NVG value = -150 }
	}
}

#Isidore and the Council of Florence#
event = {

	id = 40093				#triggered by BYZ3833#
	random = no
	country = MOS
	trigger = { event = 3833 }
	name = "EVENTNAME40093"
	desc = "EVENTHIST40093"
	style = 1
	date = { day = 1 month = january year = 1440 }
	offset = 360
	deathdate = { day = 1 month = january year = 1442 }

	action_a = {				#Depose Isidore#
		name = "ACTIONNAME40093A"
		command = { type = relation which = BYZ value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = POL value = -50 }
		command = { type = relation which = LIT value = -50 }
		command = { type = relation which = PSK value = 25 }
		command = { type = relation which = RYA value = 25 }
		command = { type = relation which = SUZ value = 25 }
		command = { type = relation which = NVG value = 25 }
		command = { type = relation which = TVE value = 25 }
		command = { type = stability value = 1 }
	}
}

#Russian Church Autonomy#
event = {

	id = 40094
	random = no
	country = MOS
	trigger = { event = 40093 }
	name = "EVENTNAME40094"
	desc = "EVENTHIST40094"
	style = 1

	date = { day = 1 month = january year = 1448 }
	offset = 300

	action_a = {				#Autonomy#
		name = "ACTIONNAME40094A"
		command = { type = relation which = BYZ value = -50 }
		command = { type = relation which = PSK value = 25 }
		command = { type = relation which = RYA value = 25 }
		command = { type = relation which = SUZ value = 25 }
		command = { type = relation which = NVG value = 25 }
		command = { type = relation which = TVE value = 25 }
		command = { type = stability value = 1 }
	}
	action_b = {				#Remain dependent#
		name = "ACTIONNAME40094B"
		command = { type = relation which = BYZ value = 50 }
		command = { type = relation which = PSK value = -25 }
		command = { type = relation which = RYA value = -25 }
		command = { type = relation which = SUZ value = -25 }
		command = { type = relation which = NVG value = -25 }
		command = { type = relation which = TVE value = -25 }
		command = { type = stability value = -1 }
	}
}

#Vodka Monopoly#
event = {

	id = 40068
	random = no
	country = MOS
	trigger = { owned = { province = 272 data = -1 } 
			NOT = { event = 40017 } }
	name = "EVENTNAME40068"
	desc = "EVENTHIST40068"
	style = 1

	date = { day = 1 month = january year = 1474 }
	offset = 900
	deathdate = { day = 1 month = january year = 1520 }

	action_a = {
		name = "ACTIONNAME40068A"
		command = { type = provincetax which = -2 value = 5 }
		command = { type = stability value = 1 }
		command = { type = domestic which = serfdom value = 1 }
		command = { type = gainmanufactory which = 272 value = refinery }
		command = { type = provincemanpower which = 272 value = 2 }
		command = { type = sleepevent which = 40017 }
	}
}

#Vodka Monopoly#
event = {

	id = 40017
	random = no
	country = MOS
	trigger = { NOT = { owned = { province = 272 data = -1 } } 
			NOT = { event = 40068 } }
	name = "EVENTNAME40068"
	desc = "EVENTHIST40068"
	style = 1

	date = { day = 1 month = january year = 1474 }
	offset = 900
	deathdate = { day = 1 month = january year = 1520 }

	action_a = {
		name = "ACTIONNAME40068A"
		command = { type = provincetax which = -2 value = 5 }
		command = { type = stability value = 1 }
		command = { type = domestic which = serfdom value = 1 }
		command = { type = gainmanufactory which = -1 value = refinery }
		command = { type = provincemanpower which = -3 value = 2 }
		command = { type = sleepevent which = 40068 }
	}
}

#Pskov#
event = {

	id = 40015
	random = no
	country = MOS
	trigger = { event = 40011 }
	name = "EVENTNAME40015"
	desc = "EVENTHIST40015"
	style = 1
	date = { day = 1 month = january year = 1450}
	offset = 40
	deathdate = { day = 1 month = january year = 1475 }

	action_a = {			
		name = "ACTIONNAME40116A"
		command = { type = alliance which = PSK }
		command = { type = relation which = PSK value = 100 }
		command = { type = vassal which = PSK }
		command = { type = stability value = 1 }
	}
}

#Pskov#
event = {

	id = 40013
	random = no
	country = MOS
	trigger = { event = 40011 }
	name = "EVENTNAME40013"
	desc = "EVENTHIST40013"
	style = 1
	date = { day = 1 month = january year = 1450}
	offset = 40
	deathdate = { day = 1 month = january year = 1475 }

	action_a = {			
		name = "ACTIONNAME40013A"
		command = { type = casusbelli which = PSK value = 60 }
		command = { type = relation which = PSK value = -100 }
	}
}
