#####Knights of St:John Major Events#####
#######By Joakim 'Greven' Bergqwist######
#########################################
#######EEP RUS ADDITIONS#################
###    by Chimera and Korall          ###
#########################################

#Pierre d'Aubusson#
event = {

	id = 3535
	random = no
	country = KNI
	name = "EVENTNAME3535"
	desc = "EVENTHIST3535"
	style = 1

	date = { day = 1 month = january year = 1483 }
	offset = 360
	deathdate = { day = 1 month = january year = 1484 }

	action_a ={		#Hostage to Papacy for gold and Cardinal appointment#
		name = "ACTIONNAME3535A"
		command = { type = relation  which = PAP  value = 100 }
		command = { type = relation  which = HUN  value = -20 }
		command = { type = relation  which = VEN  value = -20 }
		command = { type = relation  which = TUR  value = -100 }
		command = { type = treasury  value = 200 }
		command = { type = domestic  which = ARISTOCRACY  value = 1 }
	}

	action_b ={		#Hostage to Hungary for gold#
		name = "ACTIONNAME3535B"
		command = { type = relation  which = PAP  value = -20 }
		command = { type = relation  which = HUN  value = 100 }
		command = { type = relation  which = VEN  value = -20 }
		command = { type = relation  which = TUR  value = -100 }
		command = { type = treasury  value = 200 }
	}

	action_c ={		#Hostage to Venice for gold and traderights#
		name = "ACTIONNAME3535C"
		command = { type = relation  which = PAP  value = -20 }
		command = { type = relation  which = HUN  value = -20 }
		command = { type = relation  which = VEN  value = 100 }
		command = { type = relation  which = TUR  value = -100 }
		command = { type = treasury  value = 200 }
		command = { type = merchants  value = 6 }
	}

	action_d ={		#Keep Our Word with the Turks#
		name = "Keep Our Word with the Turks"
		command = { type = relation  which = PAP  value = -100 }
		command = { type = relation  which = HUN  value = -100 }
		command = { type = relation  which = VEN  value = -100 }
		command = { type = relation  which = TUR  value = 100 }
		command = { type = treasury  value = 200 }
	}
}

#Rhodians and other Greeks accepted into the Order#
event = {

	id = 3536
	random = no
	country = KNI
	name = "EVENTNAME3536"
	desc = "EVENTHIST3536"
	style = 2

	date = { day = 1 month = january year = 1501 }
	offset = 360
	deathdate = { day = 1 month = january year = 1502 }


	action_a ={		#Welcome the Greeks to Our Order#
		name = "ACTIONNAME3536A"
		command = { type = add_countryculture which = greek }
		command = { type = domestic  which = QUALITY  value = -2 }
		command = { type = domestic  which = SERFDOM  value = -1 }
		}
	action_b ={		#Do not rely on the Greeks#
		name = "ACTIONNAME3536B"
		command = { type = domestic  which = SERFDOM value = 1 }
		command = { type = domestic  which = INNOVATIVE  value = -1 }
	}
}

#The Great Carrack of Alexandria#
event = {

	id = 3537
	trigger = {
		exists = TUR 
		NOT = { 
			alliance = { country = KNI country = TUR }  
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME3537"
	desc = "EVENTHIST3537"
	style = 2
	
	date = { day = 1 month = april year = 1564 }
	offset = 180
	deathdate = { day = 1 month = september year = 1564 }

	action_a ={		#Praise the Lord!!#
		name = "ACTIONNAME3537A"
		command = { type = treasury  value = 1500 }
		command = { type = relation  which = TUR  value = -200 }
		command = { type = galleys  which = -1  value = 1 }
	}
	action_b ={		#Refrain from our Piracy#
		name = "ACTIONNAME3537B"
		command = { type = relation  which = TUR  value = 60 }
	}
}

#Gabriele Tadini de Martinengo#
event = {

	id = 3539
	random = no
	country = KNI
	name = "EVENTNAME3539"
	desc = "EVENTHIST3539"
	style = 2

	date = { day = 1 month = january year = 1566 }
	offset = 360
	deathdate = { day = 1 month = january year = 1567 }

	action_a ={		#Improve our defenses#
		name = "ACTIONNAME3539A"
		command = { type = fortress  which = -1  value = 1 }
		command = { type = domestic  which = OFFENSIVE  value = -2 }
		command = { type = infra  value = 400 }
	}
}

#Jean Parisot de la Valette#
event = {

	id = 3541
	trigger = { leader = 08661 }
	random = no
	country = KNI
	name = "EVENTNAME3541"
	desc = "EVENTHIST3541"
	style = 2

	date = { day = 1 month = january year = 1565 }
	offset = 360
	deathdate = { day = 1 month = january year = 1566 }

	action_a ={
		name = "ACTIONNAME3541A"
		command = { type = fortress  which = -1  value = 1 }
		command = { type = domestic  which = OFFENSIVE  value = -2 }
		command = { type = infra  value = 250 }
	}
}

#The Holy League#
event = {

	id = 3542
	trigger = {
			exists = TUR
			AND = {
				event = 3549 
				} 
		}
	random = no
	country = KNI
	name = "EVENTNAME3542"
	desc = "EVENTHIST3542"
	style = 2

	date = { day = 1 month = january year = 1568 }
	offset = 30
	deathdate = { day = 1 month = january year = 1571 }


	action_a ={					#Support the Holy League#
		name = "ACTIONNAME3542A"
		command = { type = casusbelli which = TUR value = 72 }
		command = { type = relation which = TUR value = -150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = TOS value = 150 }
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = NAP value = 150 }
		command = { type = relation which = SAV value = 150 }
	}

	action_b ={					#Let the matter fall#
		name = "ACTIONNAME3542B"
		command = { type = relation which = TUR value = 50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = SPA value = -50 }
		command = { type = relation which = TOS value = -50 }
		command = { type = relation which = VEN value = -50 }
		command = { type = relation which = NAP value = -50 }
		command = { type = relation which = SAV value = -50 }
	}
}

#############################
#####  Events by Crook  #####
#############################

#Spain give Malta to the Order#
event = {

	id = 3540			#Triggered by SPA3156#
	random = no
	country = KNI
	name = "EVENTNAME3540"
	desc = "EVENTHIST3540"
	style = 2

	action_a ={				#Accept Malta and become a Spanish vassal#
		name = "ACTIONNAME3540A"
		command = { type = relation which = PAP value = 100 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
		command = { type = removecore which = 481 }
		command = { type = add_countryculture which = maltese }
		command = { type = add_countryculture which = italian }
	}

	action_b ={				#Accept Malta, but not to become a vassal#
		name = "ACTIONNAME3540B"
		command = { type = breakvassal which = SPA }
		command = { type = relation which = SPA value = -150 }
		command = { type = relation which = PAP value = -100 }
		command = { type = stability value = -1 }
		command = { type = removecore which = 481 }
		command = { type = add_countryculture which = maltese }
		command = { type = add_countryculture which = italian }
	}
}

#Spain give Malta to the Order#
event = {

	id = 24001			#Triggered by SPA3156#
	random = no
	country = KNI
	name = "EVENTNAME3540"
	desc = "EVENTHIST3540"
	style = 2

	action_a ={				#Accept Malta and become a Spanish vassal#
		name = "ACTIONNAME24001A"
		command = { type = relation which = PAP value = 100 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
		command = { type = removecore which = 481 }
		command = { type = add_countryculture which = maltese }
		command = { type = add_countryculture which = italian }
	}

	action_b ={				#Accept Malta, but not to become a vassal#
		name = "ACTIONNAME24001B"
		command = { type = breakvassal which = ARG }
		command = { type = relation which = ARG value = -150 }
		command = { type = relation which = PAP value = -100 }
		command = { type = stability value = -1 }
		command = { type = removecore which = 481 }
		command = { type = add_countryculture which = maltese }
		command = { type = add_countryculture which = italian }
	}
}

#Spain give Malta to the Order#
event = {

	id = 24003			#Triggered by SPA3156#
	random = no
	country = KNI
	name = "EVENTNAME3540"
	desc = "EVENTHIST3540"
	style = 2

	action_a ={				#Accept Malta and become a Spanish vassal#
		name = "ACTIONNAME24003A"
		command = { type = relation which = PAP value = 100 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
		command = { type = removecore which = 481 }
		command = { type = add_countryculture which = maltese }
		command = { type = add_countryculture which = italian }
	}

	action_b ={				#Accept Malta, but not to become a vassal#
		name = "ACTIONNAME24003B"
		command = { type = breakvassal which = CAS }
		command = { type = relation which = CAS value = -150 }
		command = { type = relation which = PAP value = -100 }
		command = { type = stability value = -1 }
		command = { type = removecore which = 481 }
		command = { type = add_countryculture which = maltese }
		command = { type = add_countryculture which = italian }
	}
}

#Order contemplates a move to Tripoli#
event = {
	id = 24004
	random = no
	trigger = { owned = { province = 740 data = -1 } 
			owned = { province = 819 data = -1 }
			exists = SPA 
			NOT = { exists = CAS } }
	country = KNI
	name = "EVENTNAME24004"
	desc = "EVENTHIST24004"
	style = 2
	date = { day = 1 month = january year = 1530 }
	offset = 30
	deathdate = { day = 1 month = january year = 1610 }

	action_a ={
		name = "ACTIONNAME24004A"
		command = { type = provincetax which = 740 value = -1 }
		command = { type = relation which = SPA value = 50 }
		command = { type = treasury value = 50 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 24055 }
	}

	action_b ={
		name = "ACTIONNAME24004B"
		command = { type = remove_countryculture which = maltese }
		command = { type = capital which = 740 }
		command = { type = addcore which = 740 }
		command = { type = removecore which = 819 }
		command = { type = secedeprovince which = SPA value = 819 }
		command = { type = relation which = SPA value = -50 }
		command = { type = relation which = TUR value = -50 }
		command = { type = stability value = -1 }
		command = { type = provincetax which = 740 value = 1 }
		command = { type = sleepevent which = 24055 }
		command = { type = sleepevent which = 24056 }
	}
}

#Order contemplates a move to Tripoli#
event = {
	id = 24055
	random = no
	trigger = { owned = { province = 740 data = -1 } 
			owned = { province = 819 data = -1 }
			exists = CAS 
			NOT = { exists = SPA } }
	country = KNI
	name = "EVENTNAME24004"
	desc = "EVENTHIST24004"
	style = 2
	date = { day = 1 month = january year = 1530 }
	offset = 30
	deathdate = { day = 1 month = january year = 1610 }

	action_a ={
		name = "ACTIONNAME24004A"
		command = { type = provincetax which = 740 value = -1 }
		command = { type = relation which = CAS value = 50 }
		command = { type = treasury value = 50 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 24004 }
	}

	action_b ={
		name = "ACTIONNAME24004B"
		command = { type = remove_countryculture which = maltese }
		command = { type = capital which = 740 }
		command = { type = addcore which = 740 }
		command = { type = removecore which = 819 }
		command = { type = secedeprovince which = CAS value = 819 }
		command = { type = relation which = CAS value = -50 }
		command = { type = relation which = TUR value = -50 }
		command = { type = stability value = -1 }
		command = { type = provincetax which = 740 value = 1 }
		command = { type = sleepevent which = 24004 }
		command = { type = sleepevent which = 24056 }
	}
}
##########################
#####   Events by    #####
#####  by Annibale   #####
##########################

#Knights of Rhodes#
event = {
	id = 24009
	random = no
	country = KNI
	name = "EVENTNAME24009"
	desc = "EVENTHIST24009"
	style = 1
	
	date = { day = 19 month = may year = 1419 }

	action_a ={		#Praise the lord!!#
		name = "ACTIONNAME3537A"
		command = { type = relation  which = AUV  value = 20 }
		command = { type = relation  which = PRO  value = 20 }
		command = { type = relation  which = FRA  value = 20 }
		command = { type = relation  which = ARG  value = 20 }
		command = { type = relation  which = CAS  value = 20 }
		command = { type = relation  which = POR  value = 20 }
		command = { type = relation  which = ENG  value = 20 }
		command = { type = relation  which = SCO  value = 20 }
		command = { type = relation  which = HAB  value = 20 }
		command = { type = relation  which = BAY  value = 20 }
		command = { type = relation  which = BOH  value = 20 }
		command = { type = relation  which = LOR  value = 20 }
		command = { type = relation  which = SAC  value = 20 }
		command = { type = relation  which = LAT  value = 20 }	
		command = { type = relation  which = PAP  value = 20 }
		command = { type = relation  which = TOS  value = 20 }
		command = { type = relation  which = MLO  value = 20 }
		command = { type = relation  which = NAP  value = 20 }
		command = { type = relation  which = MAN  value = 20 }
		command = { type = relation  which = PAR  value = 20 }
		command = { type = relation  which = GEN  value = 20 }
		command = { type = diplomats  value = 2 }
		command = { type = provincetax  which = -2 value = 3 }
	}
}

#Crusade that Never Was#
event = {
	id = 24010
	random = no
	country = KNI
	name = "EVENTNAME24010"
	desc = "EVENTHIST24010"
	style = 1

	date = { day = 14 month = august year = 1464 }

	action_a ={		#Damn!#
		name = "ACTIONNAME40098A"
		command = { type = stability  value = -1 }
		command = { type = relation  which = PAP  value = 40 }
		command = { type = relation  which = VEN  value = 40 }
		command = { type = relation  which = BUR  value = -40 }
	}
}

#Earthquake in Rhodes#
event = {
	id = 24011
	random = no
	country = KNI
	trigger = { owned = { province = 481 data = -1 }}
	name = "EVENTNAME24011"
	desc = "EVENTHIST24011"
	style = 1
	
	date = { day = 15  month = march  year = 1481 }

	action_a ={		#Thy Will Be Done#
		name = "ACTIONNAME24011A"
		command = { type = population  which = 481 value = -1000 }
		command = { type = stability  value = -1 }
	}
}

#We've Captured Dublin?#
event = {
	id = 24012
	random = no
	country = KNI
	name = "EVENTNAME24012"
	desc = "EVENTHIST24012"
	style = 1
	
	date = { day = 1 month = january year = 1482 }
	offset = 360
	deathdate = { day = 1 month = january year = 1483 }

	action_a ={		#Replace Keating#
		name = "ACTIONNAME24012A"
		command = { type = stability  value = -1 }
		command = { type = relation  which = EIR  value = -40 }
		command = { type = relation  which = ENG  value = -40 }
		command = { type = provincetax  which = -2  value = 1 }
	}
	action_b ={		#Give up Irish Commandery#
		name = "ACTIONNAME24012B"
		command = { type = stability  value = 1 }
		command = { type = relation  which = EIR  value = 40 }
		command = { type = relation  which = ENG  value = 40 }
		command = { type = provincetax  which = -2  value = -1 }
	}
}

#Grant of Wealth from Dissolved Knightly Orders#
event = {
	id = 24013
	random = no
	country = KNI
	name = "EVENTNAME24013"
	desc = "EVENTHIST24013"
	style = 1
	
	date = { day = 1 month = january year = 1485 }

	action_a ={		#Bless St. Lazarus#
		name = "ACTIONNAME24013A"
		command = { type = provincetax  which = -2 value = 1 }	
	}
}

#Paolo's Angels#
event = {
	id = 24014
	random = no
	country = KNI
	name = "EVENTNAME24014"
	desc = "EVENTHIST24014"
	style = 2

	date = { day = 1 month = april year = 1503 }
	offset = 180
	deathdate = { day = 1 month = september year = 1503 }

	action_a ={		#Ha!#
		name = "ACTIONNAME24014A"
		command = { type = vp  value = 5 }
	}
}

#Capture of the Morgarbina#
event = {
	id = 24015
	trigger = { 
		exists = MAM 
		NOT = { 
			alliance = { country = KNI country = MAM }  
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME24015"
	desc = "EVENTHIST24015"
	style = 2
	
	date = { day = 1 month = april year = 1507 }
	offset = 180
	deathdate = { day = 1 month = september year = 1507 }

	action_a ={		#Praise the lord!!#
		name = "ACTIONNAME24015A"
		command = { type = treasury  value = 150 }
		command = { type = relation  which = MAM  value = -300 }
		command = { type = galleys which = -1 value = 1 }
		command = { type = transports which = -3 value = 1 }
	}
	action_b ={		#Refrain from our Piracy#
		name = "ACTIONNAME24015B"
		command = { type = relation  which = MAM  value = 60 }
		command = { type = sleepevent which = 24032 }
	}
}

#Andreas d'Amaral#
event = {
	id = 24016
	random = no
	country = KNI
	name = "EVENTNAME24016"
	desc = "EVENTHIST24016"
	style = 2
	date = { day = 1 month = january year = 1521 }
	offset = 100
	deathdate = { day = 1 month = january year = 1522 }

	action_a ={ #Execute the Traitor!# 
		name = "ACTIONNAME24016A"  
		command = { type = stability value = 2 } 
	}
 
	action_b ={ #Free d'Amaral# 
		name = "ACTIONNAME24016B"  
		command = { type = desertion which = -1 value = 3000 } 
		command = { type = stability value = -2 }
		command = { type = leader  which = 08677 } 
	}
}
#Dragut's Raid#
event = {
	id = 24017
	random = no
	country = KNI
	trigger = { leader = 09709 }
	name = "EVENTNAME24017"
	desc = "EVENTHIST24017"
	style = 2
	date = { day = 1 month = april year = 1551 }
	offset = 180
	deathdate = { day = 1 month = september year = 1551 }
	action_a ={		#Infidel!#
		name = "ACTIONNAME24017A"
		command = { type = treasury  value = -100 }
		command = { type = population  which = -2  value = -200 }
		command = { type = infra  value = -250 }
	}
}

#Dissolution of English Langue#
event = {
	id = 24018
	random = no
	country = KNI
	name = "EVENTNAME24018"
	desc = "EVENTHIST24018"
	style = 2
	date = { day = 1 month = january year = 1559 }
	offset = 360
	deathdate = { day = 1 month = january year = 1560 }

	action_a ={		#Thy Will Be Done#
		name = "ACTIONNAME24011A"
		command = { type = provincetax  which = -2 value = -1 }
		command = { type = relation  which = ENG  value = -100 }
		command = { type = relation  which = EIR  value = -100 }
		command = { type = relation  which = SCO  value = -100 }
	}
}

#Knight's Inquisition#
event = {
	id = 24019
	random = no
	country = KNI
	name = "EVENTNAME24019"
	desc = "EVENTHIST24019"
	style = 2
	
	date = { day = 13 month = september year = 1562 }

	action_a ={		#Institute the Inquisition#
		name = "ACTIONNAME24019A"
		command = { type = domestic  which = innovative  value = -2 }
		command = { type = domestic  which = centralization  value = 1 }
		command = { type = relation  which = PAP  value = 40 }
		command = { type = relation  which = SPA  value = 40 }
	}
	action_b ={		#Do Not Institute the Inquisition#
		name = "ACTIONNAME24019B"
		command = { type = domestic  which = innovative  value = 1 }
		command = { type = domestic  which = serfdom  value = -1 }
		command = { type = relation  which = PAP  value = -40 }
		command = { type = relation  which = SPA  value = -40 }
	}
}

#Sacra Infermeria Built#
event = {
	id = 24020
	random = no
	country = KNI
	name = "EVENTNAME24020"
	desc = "EVENTHIST24020"
	style = 2
	date = { day = 19 month = may year = 1575 }
	action_a ={		#Praise the lord!!#
		name = "ACTIONNAME3537A"
		command = { type = infra  value = 250 }
		command = { type = population which = -2 value = 300 }
	}
}

#Jesuit Medical School#
event = {
	id = 24021
	random = no
	country = KNI
	name = "EVENTNAME24021"
	desc = "EVENTHIST24021"
	style = 2
	date = { day = 4 month = august year = 1595 }
	action_a ={		#Praise the lord!!#
		name = "ACTIONNAME3537A"
		command = { type = infra  value = 200 }
		command = { type = domestic  which = INNOVATIVE  value = 1 }
	}
}

#Grand Master Created Prince of Holy Roman Empire#
event = {
	id = 24022
	random = no
	country = KNI
	name = "EVENTNAME24022"
	desc = "EVENTHIST24022"
	style = 3
	date = { day = 1 month = january year = 1607 }
	action_a ={		#Praise the lord!!#
		name = "ACTIONNAME3537A"
		command = { type = relation  which = HAB  value = 60 }	
		command = { type = diplomats  value = 3 }
	}
}

#Magnificent Pulic Library Completed#
event = {
	id = 24023
	random = no
	country = KNI
	name = "EVENTNAME24023"
	desc = ""
	style = 4
	date = { day = 1 month = january year = 1761 }
	action_a ={		#Praise the lord!!#
		name = "ACTIONNAME3537A"
		command = { type = infra  value = 250 }
		command = { type = domestic  which = INNOVATIVE  value = 1 }
	}
}

#Schools of Mathematics and Nautical Sciences Opened#
event = {
	id = 24024
	random = no
	country = KNI
	name = "EVENTNAME24024"
	desc = ""
	style = 4
	date = { day = 1 month = january year = 1786 }
	action_a ={		#Praise the lord!!#
		name = "ACTIONNAME3537A"
		command = { type = infra  value = 250 }
		command = { type = naval  value = 500 }
	}
}

#Loss of French Grand Priories#
event = {
	id = 24025
	random = no
	country = KNI
	name = "EVENTNAME24025"
	desc = "EVENTHIST24025"
	style = 4
	date = { day = 1 month = january year = 1791 }
	action_a ={		#Thy Will Be Done#
		name = "ACTIONNAME24011A"
		command = { type = provincetax  which = -2 value = -1 }
		command = { type = relation  which = FRA  value = -100 }
	}
}

######################################
#Events by Greebo; scripted by Korath#
######################################

#The Knights Leave Malta#
event = {
	id = 24026
	trigger = { owned = { province = 819 data = -1 }
			exists = ENG
			countrysize = 2
			NOT = { event = 24057 }
                OR = { event = 3342 # French Revolution - Radical Republic
                       event = 3379 # French Revolution - Republican Monarchy
                }
        }
	random = no
	country = KNI
	name = "EVENTNAME24026"
	desc = "EVENTHIST24026"
	style = 4
	date = { day = 15 month = june year = 1802 }
	action_a = { 		#Ask for Armistice#
		name = "ACTIONNAME24026A"
		command = { type = relation  which = FRA  value = -100 }
		command = { type = secedeprovince which = ENG value = 819 }
        }
	action_b = { 		#Withdraw into Fortress#
		name = "ACTIONNAME24026B"
		command = { type = monarch  which = 13017 }
		command = { type = sleepmonarch  which = 7018 }
		command = { type = sleepmonarch  which = 7019 }
		command = { type = revolt which = 819 }
		command = { type = stability value = -3 }
		command = { type = trigger which = 24027 }
        }
}

#The Knights Leave Malta#
event = {
	id = 24057
	trigger = { owned = { province = 819 data = -1 }
			exists = ENG
			countrysize = 1
			NOT = { countrysize = 2 }
			NOT = { event = 24026 }
                OR = { event = 3342 # French Revolution - Radical Republic
                       event = 3379 # French Revolution - Republican Monarchy
                }
        }
	random = no
	country = KNI
	name = "EVENTNAME24026"
	desc = "EVENTHIST24026"
	style = 4
	date = { day = 15 month = june year = 1802 }
	action_a = { 		#Ask for Armistice#
		name = "ACTIONNAME24026A"
		command = { type = relation  which = FRA  value = -100 }
		command = { type = trigger which = 24058 }
        }
	action_b = { 		#Withdraw into Fortress#
		name = "ACTIONNAME24026B"
		command = { type = monarch  which = 13017 }
		command = { type = sleepmonarch  which = 7018 }
		command = { type = sleepmonarch  which = 7019 }
		command = { type = revolt which = 819 }
		command = { type = stability value = -3 }
		command = { type = trigger which = 24027 }
        }
}
#The Knights Stand at Malta#
event = {
      id = 24027
      random = no
      country = FRA
      name = "EVENTNAME24027"
      desc = "EVENTHIST24027"
      style = 4

      action_a = {		#Damn Impudence!#
            name = "ACTIONNAME24027A"
            command = { type = casusbelli which = KNI value = 60 } 
        }
}

#The Knights Stand at Malta#
event = {
      id = 24058
      random = no
      country = ENG
      name = "EVENTNAME24027"
      desc = "EVENTHIST24027"
      style = 4

      action_a = {		#Damn Impudence!#
            name = "ACTIONNAME40116A"
            command = { type = inherit which = KNI } 
        }
}
#A New Protector#
event = {
        id = 24028
        trigger = {
                exists = RUS
		owned = { province = 819 data = -1 } 
                NOT = { war = { country = KNI country = RUS } }
                OR = {
                        event = 3342 # French Revolution - Radical Republic
                        event = 3379 # French Revolution - Republican Monarchy
                }
        }
        random = no
        country = KNI
        name = "EVENTNAME24028"
        desc = "EVENTHIST24028"
        style = 5

        date = { day = 1 month = january year = 1797 }
        offset = 365
        date = { day = 1 month = january year = 1820 }

        action_a = {
                name = "ACTIONNAME24028A"
                command = { type = breakvassal which = SPA }
                command = { type = relation which = RUS value = 100 }
                command = { type = treasury value = 200 }
                command = { type = trigger which = 24029 }
        }
        action_b = {
                name = "ACTIONNAME24028B"
                command = { type = relation which = RUS value = -150 }
                command = { type = treasury value = -200 }
                command = { type = trigger which = 24030 }
        }
}

#Order moves to Malta#
event = {
	id = 24031			
	random = no
	country = KNI
	trigger = { owned = { province = 819 data = -1 }
			owned = { province = 481 data = -1 }
			exists = TUR
}
	name = "EVENTNAME24031"
	desc = "EVENTHIST3540"
	style = 2
	date = { day = 1 month = january year = 1419 }
	offset = 2
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={				
		name = "ACTIONNAME24031A"
		command = { type = capital which = 819 }
		command = { type = secedeprovince which = TUR value = 481 }
		command = { type = stability value = 2 }
		command = { type = inf which = 819 value = 3000 }
		command = { type = removecore which = 481 }
		command = { type = addcore which = 819 }
		command = { type = add_countryculture which = maltese }
		command = { type = remove_countryculture which = greek }
	}
	action_b ={			
		name = "ACTIONNAME24031B"
		command = { type = capital which = 819 }
		command = { type = relation which = TUR value = -150 } 		
		command = { type = stability value = -1 }
		command = { type = removecore which = 481 }
	}
	action_c ={			
		name = "ACTIONNAME24031C"
		command = { type = relation which = TUR value = -200 } 		
		command = { type = removecore which = 481 }
	}
}

event = {
	id = 24052
	trigger = {
		exists = TRI
		OR = { exists = SPA
			exists = CAS }
		OR = { event = 7156
			event = 7157 }
		NOT = { vassal = { country = SPA country = TRI } }
		NOT = { vassal = { country = CAS country = TRI } }
		NOT = { alliance = { country = SPA country = TRI } }
		NOT = { alliance = { country = CAS country = TRI } }
		NOT = { vassal = { country = KNI country = TRI } }
		NOT = { vassal = { country = KNI country = TRI } }
		NOT = { alliance = { country = KNI country = TRI } }
		NOT = { alliance = { country = KNI country = TRI } }
	}
	random = no
	country = KNI
	name = "EVENTNAME24052"
	desc = "EVENTHIST24052"
	style = 1
	date = { day = 1 month = november year = 1528 }
	offset = 30
	deathdate = { day = 1 month = january year = 1560 }
	action_a = {
		name = "ACTIONNAME24052A"
		command = { type = relation which = TRI value = -200 }
		command = { type = relation which = SPA value = 20 }
		command = { type = war which = TRI }
		command = { type = addcore which = 740 }
		}
	action_b = {
		name = "ACTIONNAME24052B"
		command = { type = stability value = 1 }
		command = { type = relation which = SPA value = -75 }
		}
}

event = {
	id = 24053
	random = no
	country = KNI
	name = "EVENTNAME7158"
	desc = "EVENTHIST24053"
	style = 1
	action_a = {
		name = "ACTIONNAME24053A"
		command = { type = relation which = SPA value = 50 }
		}
	action_b = {
		name = "ACTIONNAME24053B"
		command = { type = relation which = TUR value = -200 }
		command = { type = relation which = SPA value = 100 }
		}
}

event = {
	id = 24054
	random = no
	country = KNI
	name = "EVENTNAME7158"
	desc = "EVENTHIST24053"
	style = 1
	action_a = {
		name = "ACTIONNAME24053A"
		command = { type = relation which = CAS value = 50 }
		}
	action_b = {
		name = "ACTIONNAME24053B"
		command = { type = relation which = TUR value = -200 }
		command = { type = relation which = CAS value = 100 }
		}
}


event = {
	id = 24056
	trigger = {
		owned = { province = 740 data = -1 }
		OR = {
			owned = { province = 741 data = TUR }
			owned = { province = 742 data = TUR }
		}
		NOT = { alliance = { country = TUR country = KNI } }
	}
	random = no
	country = KNI
	name = "EVENTNAME24056"
	desc = "EVENTHIST24056"
	style = 1
	date = { day = 1 month = november year = 1550 }
	offset = 360
	deathdate = { day = 1 month = january year = 1620 }
	action_a = {
		name = "ACTIONNAME24056A"
		command = { type = secedeprovince which = TUR value = 740 }
		}
	action_b = {
		name = "ACTIONNAME24056B"
		command = { type = relation which = TUR value = -100 }
		command = { type = war which = TUR }
		}
}

# Despot sells Morea #
event = { 
	id = 95479
	trigger = { 
		event = 95450 
		exists = u19
	}
	random = no
	country = KNI
	name = "EVENTNAME95479"
	desc = "EVENTHIST95479"
	style = 1

	action_a = { #Buy despotate#
		   name = "ACTIONNAME95479A"
		   command = { type = treasury value = -300 }
		   command = { type = inherit which = u19 }
	}
}

# The Hospitallers are ousted #
event = {
	id = 95480
	trigger = { event = 95479
		owned = { province = 360 data = -1 } 
                control = { province = 360 data = -1 }
		NOT = {
			exists = u19
		}		 
	}
	random = NO
	country = KNI
	name = "EVENTNAME95480"
	desc = "EVENTHIST95480"
	date = { day = 1 month = january year = 1423 }
	style = 1
	
	action_a = { #The people don't like our rule!#
		   name = "ACTIONNAME95480A"
		   command = { type = independence which = u19 }		
		   command = { type = treasury value = 300 }
		   command = { type = stability value = 2 }
		   command = { type = inflation value = 2 }
		   command = { type = relation which = u19 value = -50 }
		   command = { type = provincetax which = -2 value = -2 }
		   command = { type = domestic which = quality value = -1 }
		   command = { type = domestic which = serfdom value = -3 }
		   command = { type = domestic which = aristocracy value = 2 }
		   command = { type = trigger which = 95451 } # u19
	}
	action_b = { #Chastise them all!#
		   name = "ACTIONNAME95480B"
		   command = { type = independence which = u19 }
		   command = { type = war which = u19 }
		   command = { type = stability value = -5 }
		   command = { type = domestic which = quality value = -2 }
		   command = { type = domestic which = serfdom value = 2 }
		   command = { type = domestic which = centralization value = -3 }
		   command = { type = domestic which = offensive value = -2 }		
		   command = { type = INF which = -2 value = 3000 }
		   command = { type = warships which = -2 value = 3 }
	}
}
# Turks take Rhodes #
event = { 
	id = 95481
	random = no
	country = TUR
	name = "EVENTNAME24031"
	desc = "EVENTHIST3540"
	style = 2

	action_a = { #We take it at length!#
		   name = "ACTIONNAME95481A"
		   command = { type = provincetax which = 481 value = -3 } # Rhodes
	}
}
