#####Al-Djazaïr Major Events#####
#By Joakim 'Greven' Bergqwist###
################################

#The Ottoman Vassalization of Al-Djazaïr#
event = {

	id = 3651
	trigger = {
			exists = TUR
			leader = 08593
		}
	random = no
	country = ALD
	name = "EVENTNAME3651"
	desc = "EVENTHIST3651"

	date = { day = 1 month = january year = 1520 }
	offset = 30
	deathdate = { day = 30 month = december year = 1524 }

	action_a ={					#Accept the Protection of the Grand Sultan#
		name = "ACTIONNAME3651A"
		command = { type = trigger which = 3372 }
		command = { type = dynastic which = TUR }
		command = { type = treasury value = 500 }
		command = { type = relation which = TUR value = 100 }
		command = { type = stability value = 1 }
	}

	action_b ={					#Decline the Sultan's Offer#
		name = "ACTIONNAME3651B"
		command = { type = sleepleader which = 08593 } # Barberus
		command = { type = relation which = TUR value = -100 }
		command = { type = galleys which = -1 value = 30 }
		command = { type = transports which = -3 value = 5 }
		command = { type = stability value = -2 }
	}
}

#Morisque Refugees from Al-Andalus#
event = {

	id = 3653					#Triggered by SPA3167#
	random = no
	country = ALD
	name = "EVENTNAME3653"
	desc = "EVENTHIST3653"

	action_a ={					#This is a Black Day for Islam!#
		name = "ACTIONNAME3653A"
		command = { type = populationpercent which = -1 value = 15 }
		command = { type = populationpercent which = -4 value = 15 }
		command = { type = trade value = 1200 }
		command = { type = land value = 1200 }
		command = { type = merchants value = 6 }
		command = { type = treasury value = 500 }
		command = { type = stability value = -2 }
		command = { type = inflation value = -1 }
	}
}
