###Despotate of Morea Major Events###
#                                   #
#  By Cool-Toxic                    #
#                                   #
#####################################

#Restore Byzantium#
event = {
	id = 784536101
	trigger = {
		owned = {
			province = 1953 # Constantinople
			data = -1
		}
		religion = orthodox
		NOT = {
			exists = BYZ
		}
		atwar = no
	}
	random = no
	country = TRE
	name = "EVENTNAME3875"
	desc = "EVENTHIST3875"
	style = 1

	date = { day = 1 month = january year = 1337 }
	offset = 30
	deathdate = { day = 1 month = january year = 1500 }

	action_a = { #Restore the Roman Empire!#
		name = "ACTIONNAME3875A"
		command = { type = capital which = 1953 }
		command = { type = country which = BYZ }
		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 = domestic which = ARISTOCRACY value = 1 }
		command = { type = setflag which = Byzantine_2 }
		command = { type = flagname which = "Morea" }
	}
	action_b = { #Create a new Empire!#
		name = "ACTIONNAME3875B"
		command = { type = conversion which = 1953 }
		command = { type = provinceculture which = 1953 value = greek }
		command = { type = domestic which = CENTRALIZATION value = 2 } 
		command = { type = population which = 360 value = 30000 }
		command = { type = missionaries value = 3 }	
		command = { type = merchants value = 2 }
		command = { type = provincetax which = 360 value = 3 }
		command = { type = provincetax which = 1953 value = -2 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
	}
}

event = {
	id = 784536100 #Triggered by BYZ 643280A
	random = no
	country = SLO
	name = "John VI Kantakouzenos"
	desc = "In 1348 John VI Kantakouzenos son, Manuel, was named governor of Morea by his father, and arrived in his province in 1349. Manuel was the first of a series of long-ruling governors of the province who bore the title of despotes and were closely related to the emperors at Constantinople."
	style = 1
	
	date = { day = 1 month = january year = 1353 }
	offset = 30
	deathdate = { day = 29 month = december year = 1376 }

	action_a ={
		name = "Great"
                      command = { type = addcore   which = 357 }
                      command = { type = addcore   which = 358 }
                      command = { type = addcore   which = 1953 }
                      command = { type = addcore   which = 1956 }

	}
}

event = {
	id = 643281
	random = no
	trigger = {
                event = 643280
                monarch = 04699
	}
	country = SLO
	name = "The deposition of John VI Kantakouzenos"
	desc = "John VI Kantakouzenos was far too ready to invoke the aid of foreigners in his European quarrels; and as he had no money to pay them, this gave them a ready pretext for seizing upon a European town. The financial burdens imposed by him had long been displeasing to his subjects, and a strong party had always favoured John V Palaiologos. Hence, when the latter entered Constantinople at the end of 1354, his success was easy."
	style = 1
	
	date = { day = 1 month = january year = 1353 }
	offset = 30
	deathdate = { day = 29 month = december year = 1376 }

	action_a ={
		name = "We shall fight for Kantakouzenos' honour"
                      command = { type = relation   which = BYZ value = -200 }
                      command = { type = breakvassal  which = BYZ }
                      command = { type = casusbelli   which = BYZ value = 60 }
	}
	action_b ={
		name = "Settle peace with Palaiologos"
                      command = { type = relation   which = BYZ value = 100 }
                      command = { type = removecore   which = 357 }
                      command = { type = removecore   which = 358 }
                      command = { type = removecore   which = 1953 }
                      command = { type = removecore   which = 1956 }

	}
}

event = {
	id = 1234709
	random = no
	country = SLO
	name = "Morea conquest of Achaea"
	desc = "After making a treaty with the Byzantines, his domains passed to the despotate of Morea and into Byzantine hands."
	style = 1


	action_a = {
		name = "Finally the land is ours"
		command = { type = addcore which = 1369 } 
		command = { type = inherit which = ALE }
		command = { type = stability value = 1 }

	}
}
