# Event by Dark Knight
# Text by Henrik 'Doomdark' Fåhraeus

#Restore Byzantium#
event = {
	id = 3874
	trigger = {
		owned = {
			province = 357 # Constantinople
			data = -1
		}
		religion = orthodox
		NOT = {
			exists = BYZ
		}
		atwar = no
	}
	random = no
	country = TRE
	name = "EVENTNAME3874"
	desc = "EVENTHIST3874"
	style = 1
	
	date = { day = 1 month = january year = 1419 }
	offset = 30
	deathdate = { day = 1 month = january year = 1821 }

	action_a = { #Move to Byzantium and Restore the Empire#
		name = "ACTIONNAME3874A"
		command = { type = capital which = 357 }
		command = { type = conversion which = 357 }
		command = { type = provinceculture which = 357 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 = country which = BYZ }
	}
	action_b = { #Let Trebizond Remain the Capital of a New Empire#
		name = "ACTIONNAME3874B"
		command = { type = conversion which = 357 }
		command = { type = provinceculture which = 357 value = greek }
		command = { type = domestic which = CENTRALIZATION value = 2 } 
		command = { type = population which = 475 value = 30000 }
		command = { type = missionaries value = 3 }	
		command = { type = merchants value = 2 }
		command = { type = provincetax which = 475 value = 3 }
		command = { type = provincetax which = 357 value = -2 }
	}
}

#########
#By MKJ##
#########

#Fall of Constantinople, the Trebizond reaction#
event = {
	id = 89015
	trigger = {
		event = 3353
    }
	random = no
	country = TRE
	name = "EVENTNAME89015"
	desc = "EVENTHIST89015"
	style = 1
	date = { day = 1 month = january year = 1419 }
	offset = 0
	deathdate = { day = 1 month = january year = 1491 }
	
	action_a = { #
		name = "ACTIONNAME89015A"
		command = { type = relation which = TUR value = -200 } 
		command = { type = add_countryculture which = slavonic } 
		command = { type = addcore which = 320 } 
		command = { type = addcore which = 321 } 
		command = { type = addcore which = 355 } 
		command = { type = addcore which = 356 } 
		command = { type = addcore which = 358 } 
		command = { type = addcore which = 359 } 
		command = { type = addcore which = 360 } 
		command = { type = addcore which = 361 } 
		command = { type = addcore which = 362 }
		command = { type = addcore which = 363 }  
		command = { type = addcore which = 479 } 
		command = { type = addcore which = 480 } 
		command = { type = addcore which = 481 } 
		command = { type = addcore which = 484 } 
		command = { type = addcore which = 820 } 
	}

	action_b = { #
		name = "ACTIONNAME89015B"
		command = { type = relation which = TUR value = 100 }
		command = { type = sleepevent which = 89039 }
	}
}

event = { 
	id = 89039
	trigger = {
		exists = TUR
		event = 89015
	}
	random = no 
	country = TRE 
	name = "EVENTNAME89039" 
	desc = "EVENTHIST89039" 
	style = 1 
	date = { day = 1 month = april year = 1419 } 
	offset = 1000 
	deathdate = { day = 1 month = april year = 1820 } 

	action_a = { 
		name = "ACTIONNAME89039A" 
		command = { type = stability value = 1 } 
		command = { type = war which = TUR } 
		command = { type = relation which = AKK value = 100 } 
		command = { type = alliance which = AKK }  
		command = { type = dynastic which = AKK } 
		command = { type = relation which = GEO value = 100 } 
		command = { type = alliance which = GEO }  
		command = { type = dynastic which = GEO } 
		command = { type = relation which = DUL value = 100 } 
		command = { type = alliance which = DUL }  
		command = { type = dynastic which = DUL } 
	} 

	action_b = { 
		name = "ACTIONNAME89039B" 
		command = { type = relation which = TUR value = 100 } 
	} 
}

#########
#By V/M##
#########

#The pinnacle of the Trebizond Empire# 
event = { 
	id = 95300
	random = no 
	country = TRE 
	name = "EVENTNAME95300" 
	desc = "EVENTHIST95300" 

	style = 1 
	date = { month = october year = 1419 } 
	offset = 1900 
	deathdate = { month = may year = 1461 } 

	action_a = { 
		name = "ACTIONNAME95300A" 
		command = { type = domestic which = mercantilism value = -1 } 
		command = { type = relation which = VEN value = 50 } 
		command = { type = relation which = GEN value = 50 } 
		command = { type = cash value = 200 } 
		command = { type = trade value = 500 } 
		command = { type = infra value = 700 } 
		command = { type = merchants value = 1 } 
	} 
	action_b = { 
		name = "ACTIONNAME95300B" 
		command = { type = domestic which = quality value = 1 } 
		command = { type = cash value = 100 } 
		command = { type = land value = 500 } 
		command = { type = naval value = 500 } 
		command = { type = manpower value = 2 } 
	} 
} 