###################
##Crusader Events##
####by Annibale####
###################


#Fall of Constantinople# 
event = { 

	id = 160000 
	trigger = { 
		control = { province = 357 data = TUR } 
	} 
	random = no 
	country = KNI 
	name = "EVENTNAME160000" 
	desc = "EVENTHIST160000" 
	style = 1 

	date = { day = 1 month = january year = 1419 } 
	deathdate = { day = 1 month = january year = 1570 }

	action_a ={ #Encourage Other Nations to Crusade# 
		name = "ACTIONNAME160000A" 
		command = { type = relation which = TUR value = -20 } 
		command = { type = relation which = MAM value = -20 } 
		command = { type = relation which = MOR value = -20 } 
		command = { type = relation which = FEZ value = -20 } 
		command = { type = relation which = ALD value = -20 } 
		command = { type = relation which = ARA value = -20 } 
		command = { type = relation which = TUN value = -20 } 
		command = { type = relation which = GRA value = -20 } 
		command = { type = relation which = PER value = -20 }
		command = { type = sleepevent  which = 160001 }
		command = { type = sleepevent  which = 160002 }
		command = { type = sleepevent  which = 160003 }
		command = { type = sleepevent  which = 160004 }
		command = { type = sleepevent  which = 160005 }
		command = { type = sleepevent  which = 160007 }
 		command = { type = sleepevent  which = 160008 }
 
	}
	action_b ={ #Let there be Peace with Muslim nations# 
		name = "ACTIONNAME160000B" 
		command = { type = relation which = TUR value = 20 } 
		command = { type = relation which = MAM value = 20 } 
		command = { type = relation which = MOR value = 20 } 
		command = { type = relation which = FEZ value = 20 } 
		command = { type = relation which = ALD value = 20 } 
		command = { type = relation which = ARA value = 20 } 
		command = { type = relation which = TUN value = 20 } 
		command = { type = relation which = GRA value = 20 } 
		command = { type = relation which = PER value = 20 }
		command = { type = sleepevent  which = 160001 }
		command = { type = sleepevent  which = 160002 }
		command = { type = sleepevent  which = 160003 }
		command = { type = sleepevent  which = 160004 }
		command = { type = sleepevent  which = 160005 }
		command = { type = sleepevent  which = 160007 }
 		command = { type = sleepevent  which = 160008 }
	} 
	action_c ={ #Let there be War with the Infidel# 
		name = "ACTIONNAME160000C" 
		command = { type = relation which = TUR value = -200 } 
		command = { type = relation which = MAM value = -200 } 
		command = { type = relation which = MOR value = -200 } 
		command = { type = relation which = FEZ value = -200 } 
		command = { type = relation which = ALD value = -200 } 
		command = { type = relation which = ARA value = -200 } 
		command = { type = relation which = TUN value = -200 } 
		command = { type = relation which = GRA value = -200 } 
		command = { type = relation which = PER value = -200 } 
		command = { type = casusbelli which = TUR value = 2000 } 
		command = { type = casusbelli which = MAM value = 2000 } 
		command = { type = casusbelli which = MOR value = 2000 } 
		command = { type = casusbelli which = FEZ value = 2000 } 
		command = { type = casusbelli which = ALD value = 2000 } 
		command = { type = casusbelli which = ARA value = 2000 } 
		command = { type = casusbelli which = TUN value = 2000 } 
		command = { type = casusbelli which = GRA value = 2000 } 
		command = { type = casusbelli which = PER value = 2000 }
		command = { type = addcore  which = 485 }
		command = { type = addcore  which = 491 }
		command = { type = addcore  which = 492 }
		command = { type = addcore  which = 493 }  
		command = { type = relation which = FRA value = 50 } 
		command = { type = relation which = ENG value = 50 } 
		command = { type = relation which = SPA value = 50 } 
		command = { type = relation which = POR value = 50 } 
		command = { type = relation which = PAP value = 50 } 
		command = { type = relation which = HAB value = 50 } 
		command = { type = relation which = CAS value = 50 } 
		command = { type = relation which = HUN value = 50 } 
		command = { type = relation which = ARG value = 50 }
		command = { type = fortress  which = -2  value = 1 } 
	} 
} 

#Reconquest of County of Tripoli (Lebanon)#
event = {

	id = 160001
	trigger = {
		event = 160000
		owned = { province = 491 data = -1 }
	}
	random = no
	country = KNI
	name = "EVENTNAME160001"
	desc = "EVENTHIST160001"
	style = 1
	
	date = { day = 1 month = january year = 1420 }
	deathdate = { day = 1 month = january year = 1571 }	

	action_a ={		#Stay in Rhodes#
		name = "ACTIONNAME160001A"
		command = { type = vp  value = 10 }
		command = { type =  stability  value = 3 }
		command = { type =  domestic  which = CENTRALIZATION value = 1 }
		command = { type = population  which = 491  value = -2000 }
		command = { type = losebuilding  which = 491  value = bailiff }
		command = { type = province_revoltrisk  which = 491 value = 6 }
	}

	action_b ={		#Move to Beirut#
		name = "ACTIONNAME160001B"
		command = { type = vp  value = 10 }
		command = { type = capital  which = 491 }
		command = { type = addcore  which = 491 }
		command = { type = fortress  which = 491 value = 1 }
		command = { type = stability  value = -2 }
		command = { type =  domestic  which = CENTRALIZATION value = -1 }
		command = { type = population  which = 491  value = -2000 }
		command = { type = losebuilding  which = 491  value = bailiff }
		command = { type = province_revoltrisk  which = 491 value = 6 }
	}
}

#Reconquest of County of Edessa (Aleppo)#
event = {

	id = 160002
	trigger = {
		event = 160000
		owned = { province = 485 data = -1 }
	}
	random = no
	country = KNI
	name = "EVENTNAME160002"
	desc = "EVENTHIST160002"
	style = 1
	
	date = { day = 1 month = january year = 1420 }
	deathdate = { day = 1 month = january year = 1571 }	

	action_a ={		#Praise the Lord!#
		name = "ACTIONNAME160002A"
		command = { type = vp  value = 10 }
		command = { type = population  which = 485  value = -2000 }
		command = { type = losebuilding  which = 485  value = bailiff }
		command = { type = province_revoltrisk  which = 485 value = 6 }
	}
}

#Reconquest of Samaria (Sidon, Tyre, and Acre)#
event = {

	id = 160003
	trigger = {
		event = 160000
		owned = { province = 492 data = -1 }
	}
	random = no
	country = KNI
	name = "EVENTNAME160003"
	desc = "EVENTHIST160003"
	style = 1
	
	date = { day = 1 month = january year = 1420 }
	deathdate = { day = 1 month = january year = 1571 }	

	action_a ={		#Praise the Lord!#
		name = "ACTIONNAME160003A"
		command = { type = vp  value = 10 }
		command = { type = population  which = 492  value = -2000 }
		command = { type = losebuilding  which = 492  value = bailiff }
		command = { type = province_revoltrisk  which = 492 value = 6 }
	}
}

#Reconquest of Judea (Jaffa, Ascalon, and Jerusalem)#
event = {

	id = 160004
	trigger = {
		event = 160000
		owned = { province = 493 data = -1 }
	}
	random = no
	country = KNI
	name = "EVENTNAME160004"
	desc = "EVENTHIST160004"
	style = 1
	
	date = { day = 1 month = january year = 1420 }
	deathdate = { day = 1 month = january year = 1571 }	

	action_a ={		#Praise the Lord!#
		name = "ACTIONNAME160004A"
		command = { type = vp  value = 50 }
		command = { type = population  which = 493  value = -2000 }
		command = { type = losebuilding  which = 493  value = bailiff }
		command = { type = province_revoltrisk  which = 493 value = 6 }
	}
}

#Reconquest of Outremer#
event = {

	id = 160005
	trigger = {
		owned = { province = 485 data = -1 }		
		owned = { province = 491 data = -1 }
		owned = { province = 492 data = -1 }
		owned = { province = 493 data = -1 }
		}
	random = no
	country = KNI
	name = "EVENTNAME160005"
	desc = "EVENTHIST160005"
	style = 1
	
	date = { day = 1 month = january year = 1420 }
	deathdate = { day = 1 month = january year = 1571 }

	action_a ={		#Praise the lord!!#
		name = "ACTIONNAME160005A"
		command = { type = vp  value = 80 }
		command = { type = treasury  value = 800 }
		command = { type = relation  which = TUR  value = -200 }
		command = { type = relation  which = MAM  value = -200 }
		command = { type = relation  which = MOR  value = -200 }
		command = { type = relation  which = FEZ  value = -200 }
		command = { type = relation  which = ALD  value = -200 }
		command = { type = relation  which = ARA  value = -200 }
		command = { type = relation  which = TUN  value = -200 }
		command = { type = relation  which = GRA  value = -200 }
		command = { type = relation  which = PER  value = -200 }
		command = { type = relation  which = CYP  value = 50 }
		command = { type = relation  which = FRA  value = 50 }
		command = { type = relation  which = ENG  value = 50 }
		command = { type = relation  which = SPA  value = 50 }
		command = { type = relation  which = POR  value = 50 }
		command = { type = relation  which = PAP  value = 50 }
		command = { type = relation  which = HAB  value = 50 }
		command = { type = relation  which = CAS  value = 50 }
		command = { type = relation  which = HUN  value = 50 }
		command = { type = relation  which = ARG  value = 50 }
		command = { type = relation  which = VEN  value = 50 }
		command = { type = relation  which = AUV  value = 50 }
		command = { type = relation  which = PRO  value = 50 }
		command = { type = INF  which = -1  value = 8000 }
		command = { type = CAV  which = -1  value = 2000 }
		command = { type = fortress  which = 493 value = 1 }
	}
}

#Kingdom of Jerusalem#
event = {

	id = 160006
	trigger = {
		owned = { province = 493 data = -1 }
		event =  160005 
		}
	random = no
	country = KNI
	name = "EVENTNAME160006"
	desc = "EVENTHIST160006"
	style = 1

	date = { day = 1 month = january year = 1480 }
	deathdate = { day = 1 month = january year = 1599 }

	action_a ={		#Re-instate Kingdom of Jerusalem#
		name = "ACTIONNAME160006A"
		command = { type = independence  which = JER }
		command = { type = relation  which = CYP  value = 50 }
		command = { type = relation  which = FRA  value = 50 }
		command = { type = relation  which = ENG  value = 50 }
		command = { type = relation  which = SPA  value = 50 }
		command = { type = relation  which = POR  value = 50 }
		command = { type = relation  which = PAP  value = 50 }
		command = { type = relation  which = HAB  value = 50 }
		command = { type = relation  which = CAS  value = 50 }
		command = { type = relation  which = HUN  value = 50 }
		command = { type = relation  which = ARG  value = 50 }
		command = { type = relation  which = VEN  value = 50 }
	}

	action_b ={		#Keep Jerusalem for the Order#
		name = "ACTIONNAME160006B"
		command = { type = relation  which = CYP  value = -200 }
		command = { type = war  which = CYP }
		command = { type = relation  which = FRA  value = -20 }
		command = { type = relation  which = ENG  value = -20 }
		command = { type = relation  which = SPA  value = -20 }
		command = { type = relation  which = POR  value = -20 }
		command = { type = relation  which = PAP  value = -100 }
		command = { type = relation  which = HAB  value = -20 }
		command = { type = relation  which = CAS  value = -20 }
		command = { type = relation  which = HUN  value = -20 }
		command = { type = relation  which = ARG  value = -20 }
		command = { type = relation  which = VEN  value = -20 }
	}

	action_c ={		#Proclaim Ourselves the Kingdom of Jerusalem#
		name = "ACTIONNAME160006C"
		command = { type = country  which = JER }
		command = { type = addcore  which = 484 }
		command = { type = addcore  which = 485 }
		command = { type = addcore  which = 491 }
		command = { type = addcore  which = 492 }
		command = { type = addcore  which = 493 }
           	command = { type = capital  which = 493 }
		command = { type = stability  value = -2 }
		command = { type =  domestic  which = CENTRALIZATION value = -1 }
		command = { type = relation  which = CYP  value = -200 }
		command = { type = war  which = CYP }
		command = { type = relation  which = FRA  value = -50 }
		command = { type = relation  which = ENG  value = -50 }
		command = { type = relation  which = SPA  value = -50 }
		command = { type = relation  which = POR  value = -50 }
		command = { type = relation  which = PAP  value = -100 }
		command = { type = relation  which = HAB  value = -50 }
		command = { type = relation  which = CAS  value = -50 }
		command = { type = relation  which = HUN  value = -50 }
		command = { type = relation  which = ARG  value = -50 }
		command = { type = relation  which = VEN  value = -50 }
		command = { type = sleepevent which = 3156 }
		command = { type = sleepevent which = 24002 }
		command = { type = sleepevent which = 24000 } 
	}
}

#End of Internal Strife in Outremer#
event = {

	id = 160007
	trigger = { event = 160000
		OR = {
			owned = { province = 485 data = -1 }
			owned = { province = 491 data = -1 }
			owned = { province = 492 data = -1 }
			owned = { province = 493 data = -1 }
			}
		}
	random = no
	country = KNI
	name = "EVENTNAME160007"
	desc = "EVENTHIST160007"
	style = 1
	
	date = { day = 1 month = january year = 1600 }

	action_a ={		#Praise the Lord!#
		name = "ACTIONNAME160007A"
		command = { type = province_revoltrisk  which = 485 value = -6 }
		command = { type = province_revoltrisk  which = 491 value = -6 }
		command = { type = province_revoltrisk  which = 492 value = -6 }
		command = { type = province_revoltrisk  which = 493 value = -6 }
	}
}

#End of Internal Strife in Outremer#
event = {

	id = 160008
	trigger = { event = 160000
		OR = {
			owned = { province = 485 data = -1 }
			owned = { province = 491 data = -1 }
			owned = { province = 492 data = -1 }
			owned = { province = 493 data = -1 }
			}
		}
	random = no
	country = JER
	name = "EVENTNAME160008"
	desc = "EVENTHIST160008"
	style = 1
	
	date = { day = 1 month = january year = 1600 }

	action_a ={		#Praise the Lord!#
		name = "ACTIONNAME160008A"
		command = { type = province_revoltrisk  which = 485 value = -6 }
		command = { type = province_revoltrisk  which = 491 value = -6 }
		command = { type = province_revoltrisk  which = 492 value = -6 }
		command = { type = province_revoltrisk  which = 493 value = -6 }
	}
}
