#####Ukrainian Major Events######### 
#By BarristerBoy, edited by Chimera# 
#################################### 

#The Union of Brest# 
event = { 
	id = 25000 
	trigger = { provincereligion = { province = 297 data = orthodox } 
		provincereligion = { province = 298 data = orthodox } 
		religion = catholic 
		owned = { province = 297 data = -1 } 
		owned = { province = 298 data = -1 } 
		NOT = { exists = BYZ } 
} 
	random = no 
	country = POL 
	name = "EVENTNAME25000" 
	desc = "EVENTHIST25000"
	style = 2 
	date = { day = 1 month = january year = 1595 } 
	offset = 600 
	deathdate = { day = 1 month = january year = 1620 } 
	action_a = { #Accept the Union# 
		name = "ACTIONNAME25000A" 
		command = { type = conversion which = 297 } 
		command = { type = conversion which = 298 } 
		command = { type = revoltrisk which = 24 value = 2 } 
		} 
	action_b = { #Reject the Union# 
		name = "ACTIONNAME25000B" 
		command = { type = stability value = -1 } 
		} 
} 

#Khmelnytsky's Revolt# 
event = { 
	id = 25001 
	trigger = { domestic = { type = aristocracy value = 7 } 
		owned = { province = 295 data = -1 } 
} 
	random = no 
	country = POL 
	name = "EVENTNAME25001" 
	desc = "EVENTHIST25001"
	style = 3 
	date = { day = 1 month = january year = 1646 } 
	offset = 1200 
	action_a = { #Fight the traitorous Cossacks!# 
		name = "ACTIONNAME25001A" 
		command = { type = revolt which = 460 } 
		command = { type = revolt which = 460 } 
		command = { type = revolt which = 460 } 
		command = { type = revolt which = 461 } 
		command = { type = revolt which = 461 } 
		command = { type = revolt which = 461 } 
		command = { type = revolt which = 462 } 
		command = { type = revolt which = 462 } 
		command = { type = revolt which = 462 } 
		command = { type = revolt which = 295 } 
		command = { type = revolt which = 295 } 
		command = { type = revolt which = 295 } 
		command = { type = revolt which = 294 } 
		command = { type = revolt which = 294 } 
		command = { type = revolt which = 294 } 
		command = { type = revolt which = 296 } 
		command = { type = revolt which = 296 } 
		command = { type = revolt which = 296 } 
		command = { type = revolt which = 297 } 
		command = { type = revolt which = 298 } 
		command = { type = province_revoltrisk which = 460 value = 8 } 
		command = { type = province_revoltrisk which = 461 value = 8 } 
		command = { type = province_revoltrisk which = 462 value = 8 } 
		command = { type = province_revoltrisk which = 296 value = 8 } 
		command = { type = province_revoltrisk which = 295 value = 8 } 
		command = { type = province_revoltrisk which = 294 value = 8 } 
		command = { type = province_revoltrisk which = 297 value = 4 } 
		command = { type = province_revoltrisk which = 298 value = 4 } 
		command = { type = stability value = -4 } 
		command = { type = revoltrisk which = 60 value = 2 } 
		} 

	action_b = { #Let the Cossacks live in freedom# 
		name = "ACTIONNAME25001B" 
		command = { type = independence which = UKR } 
		command = { type = secedeprovince which = UKR value = 294 } 
		command = { type = secedeprovince which = UKR value = 295 } 
		command = { type = secedeprovince which = UKR value = 296 } 
		command = { type = secedeprovince which = UKR value = 460 } 
		command = { type = secedeprovince which = UKR value = 461 } 
		command = { type = secedeprovince which = UKR value = 462 } 
		command = { type = domestic which = ARISTOCRACY value = -1 } 
		command = { type = sleepevent which = 25002 } #Sleeps the End of the revolts event 
		command = { type = stability value = 1 } 
		} 
} 

#End of the revolts# 
event = { 
	id = 25002 
	trigger = { event = 25001 #Khmelnytsky's revolt 
} 
	random = no 
	country = POL 
	name = "EVENTNAME25002" 
	desc = "EVENTHIST25002" 
	style = 3 

	date = { day = 1 month = january year = 1646 } 
	offset = 3600 
	deathdate = { day = 1 month = january year = 1820 } 
	action_a = { #The revolt is over.# 
		name = "ACTIONNAME25002A" 
		command = { type = province_revoltrisk which = 460 value = -8 } 
		command = { type = province_revoltrisk which = 461 value = -8 } 
		command = { type = province_revoltrisk which = 462 value = -8 } 
		command = { type = province_revoltrisk which = 296 value = -8 } 
		command = { type = province_revoltrisk which = 295 value = -8 } 
		command = { type = province_revoltrisk which = 294 value = -8 } 
		command = { type = province_revoltrisk which = 297 value = -4 } 
		command = { type = province_revoltrisk which = 298 value = -4 } 
		} 
} 

#The Tatar alliance# 
event = { 
	id = 25003 
	trigger = { war = { country = UKR country = POL } 
		exists = CRI 
} 
	random = no 
	country = UKR 
	name = "EVENTNAME25003" 
	desc = "EVENTHIST25003"
	style = 3 
	date = { day = 1 month = january year = 1646 } 
	offset = 100 
	deathdate = { day = 1 month = january year = 1820 } 
	action_a = { #Put aside our old hatreds to fight the Poles.# 
		name = "ACTIONNAME25003A" 
		command = { type = CAV which = -1 value = 4000 } 
		command = { type = relation which = CRI value = 50 } 
		} 
	action_b = { #Do not seek help from the barbaric Tartars.# 
		name = "ACTIONNAME25003B" 
		command = { type = INF which = -1 value = 4000 } 
		command = { type = relation which = CRI value = -50 } 
		} 
} 

#The Periaslav Agreement# 
event = { 
	id = 25004 
	trigger = { event = 25001 #Khmelnitsky's revolt event. 
		exists = POL 
		exists = RUS 
		NOT = { 
			vassal = { country = POL country = UKR } 
			vassal = { country = RUS country = UKR } 
			vassal = { country = TUR country = UKR } 
		} 
} 
	random = no 
	country = UKR 
	name = "EVENTNAME25004" 
	desc = "EVENTHIST25004"
	style = 3 
	date = { day = 1 month = january year = 1646 } 
	offset = 3600 
	deathdate = { day = 1 month = january year = 1820 } 

	action_a = { #The Orthodox Tsar of Russia shall be our protector.# 
		name = "ACTIONNAME25004A" 
		command = { type = trigger which = 25005 } 
		command = { type = relation which = RUS value = 50 } 
		command = { type = relation which = POL value = -100 } 
		command = { type = relation which = TUR value = -25 } 
		} 
	action_b = { #Reconcile with the Polish King.# 
		name = "ACTIONNAME25004B" 
		command = { type = trigger which = 25006 } 
		command = { type = relation which = POL value = 50 } 
		command = { type = relation which = RUS value = -100 } 
		command = { type = relation which = TUR value = -25 } 
		} 
	action_c = { #Seek the aid of the Ottoman Sultan.# 
		name = "ACTIONNAME25004C" 
		command = { type = trigger which = 25007 } 
		command = { type = relation which = TUR value = 50 } 
		command = { type = relation which = RUS value = -100 } 
		command = { type = relation which = POL value = -100 } 
		} 
	action_d = { #None of the above.# 
		name = "ACTIONNAME25004D" 
		command = { type = stability value = -2 } 
		command = { type = relation which = TUR value = -25 } 
		command = { type = relation which = RUS value = -100 } 
		command = { type = relation which = POL value = -100 } 
		} 
} 

event = { 
	id = 25005 
	random = no 
	country = RUS 
	name = "EVENTNAME25005" 
	desc = "EVENTHIST25005"
	style = 3 
	action_a = { #Become overlord of the Cossacks.# 
		name = "ACTIONNAME25005A" 
		command = { type = vassal which = UKR } 
		command = { type = relation which = POL value = -200 } 
		command = { type = add_countryculture which = ukrainian }
		} 
	action_b = { #Do not get involved with the troublesome Cossacks.# 
		name = "ACTIONNAME25005B" 
		command = { type = relation which = UKR value = -100 } 
		command = { type = trigger which = 25008 }
		} 
} 

event = { 
	id = 25006
	random = no 
	country = POL 
	name = "EVENTNAME25006" 
	desc = "EVENTHIST25006"
	style = 3 
	action_a = { #Accept the demands of the Cossacks.# 
		name = "ACTIONNAME25006A" 
		command = { type = inherit which = UKR } 
		command = { type = domestic which = aristocracy value = -2 } 
		command = { type = stability value = -3 } 
		} 
	action_b = { #We will not bow to the demands of these rebels.# 
		name = "ACTIONNAME25006B" 
		command = { type = relation which = UKR value = -100 } 
		} 
} 

event = { 
	id = 25007 
	random = no 
	country = TUR 
	name = "EVENTNAME25005" 
	desc = "EVENTHIST25007"
	style = 3 
	action_a = { #Become overlord of the Cossacks.# 
		name = "ACTIONNAME25005A" 
		command = { type = vassal which = UKR } 
		command = { type = relation which = POL value = -200 } 
		} 
	action_b = { #Do not get involved with the troublesome Cossacks.# 
		name = "ACTIONNAME25005B" 
		command = { type = relation which = UKR value = -100 } 
		} 
}

event = { 
	id = 25008 
	trigger = { 
		event = 25005  
	} 
	random = no 
	country = RUS 
	name = "EVENTNAME25008" 
	desc = "EVENTHIST25008"
	date = { day = 1 month = january year = 1654 } 
	offset = 1200 
	deathdate = { day = 1 month = january year = 1764 } 
	style = 3 
	action_a = { #Accept Ukrainians.# 
		name = "ACTIONNAME24020A" 
		command = { type = relation which = POL value = -200 } 
		command = { type = add_countryculture which = ukrainian }
		command = { type = relation which = UKR value = 100 } 
		} 
} 

event = { 
	id = 25009 
	trigger = { 
		religion = orthodox
	} 
	random = no 
	country = RUS 
	name = "EVENTNAME25008" 
	desc = "EVENTHIST25008"
	date = { day = 1 month = january year = 1654 } 
	offset = 1200 
	deathdate = { day = 1 month = january year = 1764 } 
	style = 3 
	action_a = { #Accept Ukrainians.# 
		name = "ACTIONNAME24020A" 
		command = { type = relation which = POL value = -200 } 
		command = { type = add_countryculture which = ukrainian }
		} 
} 