#####Persian Major Events#####
#			By   #
# Joakim 'Greven' Bergqwist  #
#			     #
# 			and  #
#			     #
# Henrik 'Doomdark' Fåhraeus #
##############################

#The Reforms of Ismail#
event = {
	id = 3559
	random = no
	country = PER
	name = "EVENTNAME3559"
	desc = "EVENTHIST3559"
	style = 2
	
	date = { day = 1 month = january year = 1512 }
	offset = 3649
	
	action_a ={ # Reform trade and infrastructure
		name = "ACTIONNAME3559A"
		command = { type = infra value = 600 }
		command = { type = trade value = 600 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = provincetax which = -2 value = 2 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
                command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
                command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
	}
	action_b ={ # Reform the army
		name = "ACTIONNAME3559B"
		command = { type = land value = 2000 }
		command = { type = manpower value = 20 }
	}
	action_c ={ # Fortify the realm.
		name = "ACTIONNAME3559C"
		command = { type = fortress which = -1 value = 1 } # Random province
		command = { type = fortress which = -1 value = 1 } # Random province
		command = { type = fortress which = -1 value = 1 } # Random province
		command = { type = fortress which = -1 value = 1 } # Random province
		command = { type = fortress which = -1 value = 1 } # Random province
		command = { type = fortress which = -1 value = 1 } # Random province
		command = { type = fortress which = -1 value = 1 } # Random province
	}
}

#The Turko-Persian Conflicts: Shiite rebels.#
event = {
	id = 3560
	trigger = {
		exists = TUR
	}
	random = no
	country = PER
	name = "EVENTNAME3560"
	desc = "EVENTHIST3560"
	style = 2
	
	date = { day = 1 month = may year = 1512 }
	offset = 700
	
	action_a ={	# Support the Turkish Shiites.
		name = "ACTIONNAME3560A"
		command = { type = trigger which = 3360 }
		command = { type = relation which = TUR value = -100 }
		command = { type = stability value = 1 }
		command = { type = land value = 500 }
                command = { type = treasury value = -200 }
		command = { type = casusbelli which = TUR value = 120 }
                command = { type = INF which = -2 value = 12000 }
                command = { type = CAV which = -2 value = 14000 }
                command = { type = addcore which = 485 }
                command = { type = addcore which = 1806 }
                command = { type = addcore which = 1432 }
	}
	action_b ={ # Ignore them.
		name = "ACTIONNAME3560B"
		command = { type = stability value = -1 }
	}
	action_c ={ # Betray the Turkish rebels.
		name = "ACTIONNAME3560C"
		command = { type = relation which = TUR value = 150 }
		command = { type = stability value = -2 }
	}
}

#The Turko-Persian Conflicts: Prince Beyazid flees to Persia.#
event = {
	id = 3561
	random = no
	country = PER
	name = "EVENTNAME3561"
	desc = "EVENTHIST3561"
	style = 2

# Triggered by Turkish event 3361

	action_a ={ # Deliver Prince Beyazid to the Turks.
		name = "ACTIONNAME3561A"
		command = { type = treasury value = 200 }
		command = { type = DIP which = 8 value = 24 }
	}
	action_b ={ # Refuse to hand him over.
		name = "ACTIONNAME3561B"
		command = { type = relation which = TUR value = -100 }
		command = { type = stability value = 1 }
	}
	action_c ={ # Actively support Beyazid's claim.
		name = "ACTIONNAME3561C"
		command = { type = casusbelli which = TUR value = 120 }
		command = { type = relation which = TUR value = -200 }
		command = { type = land value = 200 }
	}
}

#The Turko-Persian Conflicts: Murad III's campaigns against Persia.#
event = {

	id = 3562
	random = no
	country = PER
	name = "EVENTNAME3562"
	desc = "EVENTHIST3562"
	style = 2

# Triggered by Turkish event 3362

	action_a ={ # Teach the Sultan a lesson!
		name = "ACTIONNAME3562A"
		command = { type = war which = TUR }
		command = { type = land value = 200 }
		command = { type = stability value = 1 }
                command = { type = INF which = -2 value = 12000 }
command = { type = CAV which = -2 value = 16000 }
command = { type = treasury value = -200 }
	}
	action_b ={ # Ignore the Turkish threats.
		name = "ACTIONNAME3562B"
		command = { type = casusbelli which = TUR value = 60 }
		command = { type = stability value = -1 }
	}
	action_c ={ # Seek diplomatic solution.
		name = "ACTIONNAME3562C"
		command = { type = DIP which = 8 value = 24 }
		command = { type = relation which = TUR value = 50 }
	}
}

#The Turko-Persian Conflicts: Persians take advantage of Ottoman instability.#
event = {
	id = 3563
	trigger = {
		exists = TUR
	}
	random = no
	country = PER
	name = "EVENTNAME3563"
	desc = "EVENTHIST3563"
	style = 3
	
	date = { day = 1 month = december year = 1603 }
	offset = 29

	action_a ={ # Support the Turkish rebels and prepare for war.
		name = "ACTIONNAME3563A"
		command = { type = casusbelli which = TUR value = 120 }
		command = { type = relation which = TUR value = -200 }
		command = { type = land value = 500 }
		command = { type = trigger which = 3363 }
command = { type = INF which = -2 value = 18000 }
command = { type = CAV which = -2 value = 8000 }
command = { type = treasury value = -400 }
command = { type = ART which = -1 value = 30 }
	}
	action_b ={ # Concentrate on internal issues.
		name = "ACTIONNAME3563B"
		command = { type = infra value = 300 }
		command = { type = stability value = 1 }
	}
}

#Political Turmoil#
event = {
	id = 3566

trigger = {	
NOT = {  domestic = { type = centralization value = 7 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3566"
	desc = "EVENTHIST3566"
	style = 3

	date = { day = 1 month = december year = 1582 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3566A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b ={
		name = "ACTIONNAME3566B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {
	id = 3567
trigger = {	
NOT = {  domestic = { type = centralization value = 7 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3567"
	desc = "EVENTHIST3567"
	style = 3

	date = { day = 1 month = december year = 1640 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3567A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b ={
		name = "ACTIONNAME3567B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {

	id = 3568
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3568"
	desc = "EVENTHIST3568"
	style = 3
	
	date = { day = 1 month = december year = 1665 }
	offset = 720
	
	action_a ={
		name = "ACTIONNAME3568A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}

	action_b ={
		name = "ACTIONNAME3568B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {

	id = 3569
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3569"
	desc = "EVENTHIST3569"
	style = 3
	
	date = { day = 1 month = december year = 1690 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3569A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}

	action_b ={
		name = "ACTIONNAME3569B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {
	id = 3570
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3570"
	desc = "EVENTHIST3570"
	style = 4
	
	date = { day = 1 month = december year = 1715 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3570A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}

	action_b ={
		name = "ACTIONNAME3570B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {
	id = 3571
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3571"
	desc = "EVENTHIST3571"
	style = 4
	
	date = { day = 1 month = december year = 1740 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3571A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}

	action_b ={
		name = "ACTIONNAME3571B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {
	id = 3572
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3572"
	desc = "EVENTHIST3572"
	style = 4
	
	date = { day = 1 month = december year = 1765 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3572A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b ={
		name = "ACTIONNAME3572B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {
	id = 3573
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3573"
	desc = "EVENTHIST3573"
	style = 4
	
	date = { day = 1 month = december year = 1790 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3573A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b ={
		name = "ACTIONNAME3573B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Fragmentation#
event = {
	id = 3574
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3574"
	desc = "EVENTHIST3574"
	style = 3
	
	date = { day = 1 month = december year = 1635 }
	offset = 720

	action_a ={ # Let the factions conspire
		name = "ACTIONNAME3574A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
command = { type = treasury value = -200 }
	}
	action_b ={ # Tighten state control
		name = "ACTIONNAME3574B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
	}
}

#Political Fragmentation#
event = {
	id = 3575
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3575"
	desc = "EVENTHIST3575"
	style = 3
	
	date = { day = 1 month = december year = 1655 }
	offset = 720
	
	action_a ={ # Tighten state control
		name = "ACTIONNAME3575A"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
	action_b ={ # Let the factions conspire
		name = "ACTIONNAME3575B"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
command = { type = treasury value = -100 }
	}
}

#Political Fragmentation#
event = {
	id = 3576
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3576"
	desc = "EVENTHIST3576"
	style = 3
	
	date = { day = 1 month = december year = 1675 }
	offset = 720

	action_a ={ # Let the factions conspire
		name = "ACTIONNAME3576A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
command = { type = treasury value = -200 }
	}
	action_b ={ # Tighten state control
		name = "ACTIONNAME3576B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
	}
}

#Political Fragmentation#
event = {
	id = 3577
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3577"
	desc = "EVENTHIST3577"
	style = 3
	
	date = { day = 1 month = december year = 1695 }
	offset = 720

	action_a ={ # Let the factions conspire
		name = "ACTIONNAME3577A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = treasury value = -200 }
	}
	action_b ={ # Tighten state control
		name = "ACTIONNAME3577B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
				command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
	}
}

#Political Fragmentation#
event = {
	id = 3578
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3578"
	desc = "EVENTHIST3578"
	style = 4

	date = { day = 1 month = december year = 1715 }
	offset = 720

	action_a ={ # Let the factions conspire
		name = "ACTIONNAME3578A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = treasury value = -200 }
	}
	action_b ={ # Tighten state control
		name = "ACTIONNAME3578B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
				command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
	}
}

#Political Fragmentation#
event = {
	id = 3579
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3579"
	desc = "EVENTHIST3579"
	style = 4
	
	date = { day = 1 month = december year = 1735 }
	offset = 720

	action_a ={ # Tighten state control
		name = "ACTIONNAME3579A"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
	action_b ={ # Let the factions conspire
		name = "ACTIONNAME3579B"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = treasury value = -100 }
	}
}

#Political Fragmentation#
event = {
	id = 3580
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3580"
	desc = "EVENTHIST3580"
	style = 4
	
	date = { day = 1 month = december year = 1755 }
	offset = 720

	action_a ={ # Let the factions conspire
		name = "ACTIONNAME3580A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -1 }
                command = { type = provincetax which = -1 value = -1 }
	}
	action_b ={ # Tighten state control
		name = "ACTIONNAME3580B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#Political Fragmentation#
event = {
	id = 3581
trigger = {	
NOT = {  domestic = { type = centralization value = 8 } }
	}
	random = no
	country = PER
	name = "EVENTNAME3581"
	desc = "EVENTHIST3581"
	style = 4
	
	date = { day = 1 month = december year = 1780 }
	offset = 720

	action_a ={ # Let the factions conspire
		name = "ACTIONNAME3581A"
		name = "ACTIONNAME3580A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -1 }
                command = { type = provincetax which = -1 value = -1 }
	}
	action_b ={ # Tighten state control
		name = "ACTIONNAME3581B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#The Afghan Rebellions#
event = {
	id = 6907
	trigger = {          
		OR = {  
			owned = { province = 1524 data = -1 }
			owned = { province = 1525 data = -1 }
                        owned = { province = 1526 data = -1 }
			owned = { province = 1527 data = -1 }
			owned = { province = 1528 data = -1 }
                         owned = { province = 1801 data = -1 }
			owned = { province = 1800 data = -1 }
			owned = { province = 1591 data = -1 }
		}
		NOT = {
			exists = AFG
		}
	}
	
	random = no
	country = PER
	name = "EVENTNAME6907"
	desc = "EVENTHIST6907"
	style = 5
	
	date = { day = 1 month = january year = 1707 }
	offset = 100
	deathdate = { day = 1 month = january year = 1708 }
	
	action_a = {     #Curses!#
		name = "ACTIONNAME6907A"
		command = { type = province_revoltrisk which = 1524 value = 5 }
		command = { type = province_revoltrisk which = 1525 value = 5 }
                command = { type = province_revoltrisk which = 1526 value = 5 }
		command = { type = province_revoltrisk which = 1527 value = 5 }
		command = { type = province_revoltrisk which = 1528 value = 5 }
                command = { type = province_revoltrisk which = 1591 value = 5 }
		command = { type = province_revoltrisk which = 1800 value = 5 }
		command = { type = province_revoltrisk which = 1801 value = 5 }
	}
}

#The Afghan Rebellions End#
event = {
	id = 6908
	trigger = {          
		OR = {  
			owned = { province = 1524 data = -1 }
			owned = { province = 1525 data = -1 }
                        owned = { province = 1526 data = -1 }
			owned = { province = 1527 data = -1 }
			owned = { province = 1528 data = -1 }
                         owned = { province = 1801 data = -1 }
			owned = { province = 1800 data = -1 }
			owned = { province = 1591 data = -1 }
		}
	}
	
	random = no
	country = PER
	name = "EVENTNAME6908"
	desc = "EVENTHIST6908"
	style = 5
	
	date = { day = 1 month = january year = 1730 }
	offset = 100
	deathdate = { day = 1 month = january year = 1731 }
	
	action_a = {     #Great!#
		name = "ACTIONNAME6908A"
		command = { type = province_revoltrisk which = 1524 value = -5 }
		command = { type = province_revoltrisk which = 1525 value = -5 }
                command = { type = province_revoltrisk which = 1526 value = -5 }
		command = { type = province_revoltrisk which = 1527 value = -5 }
		command = { type = province_revoltrisk which = 1528 value = -5 }
                command = { type = province_revoltrisk which = 1591 value = -5 }
		command = { type = province_revoltrisk which = 1800 value = -5 }
		command = { type = province_revoltrisk which = 1801 value = -5 }
	}
}

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

event = {
      id = 62001
      random = no
	country = PER
      name = "EVENTNAME62001"
      desc = "EVENTHIST62001"
      style = 4

      action_a = {
            name = "ACTIONNAME62001A"
		command = { type = inherit which = U01 }
		command = { type = stability value = 1 }
		command = { type = cash value = -100 }
		command = { type = vp value = 25 }
		command = { type = trigger which = 62004 }
		}
      action_b = {
            name = "ACTIONNAME62001B"
		command = { type = vassal which = U01 }
		command = { type = cash value = 50 }
		command = { type = vp value = 15 }
		command = { type = relation which = UZB value = -50 }
		command = { type = relation which = MOG value = -50 }
		}
      action_c = {
		name = "ACTIONNAME62001C"
		command = { type = stability value = -1 }
		command = { type = vp value = -15 }
		command = { type = relation which = UZB value = 50 }
		command = { type = relation which = MOG value = 50 }
		}
	}


#Tribesmen Join the Safavid Cause#
event = {

	id = 3998
	random = no 
	country = PER
	name = "EVENTNAME3998"
	desc = "EVENTHIST3998"
	style = 2

        date = { day = 1 month = january year = 1490 }
	offset = 30
	deathdate = { day = 1 month = December year = 1551 }

        action_a = {					#Tribesmen Join#
		name = "ACTIONNAME3998"
		command = { type = INF which = -1 value = 18000 }
                command = { type = CAV which = -3 value = 22000 }
                command = { type = addcore which = 529 }
                command = { type = addcore which = 528 }
                command = { type = addcore which = 531 }
                command = { type = addcore which = 532 }
                command = { type = addcore which = 487 }
                command = { type = addcore which = 530 }
                command = { type = addcore which = 534 }
                command = { type = addcore which = 533 }
		command = { type = addcore which = 526 }
		command = { type = addcore which = 527 }
		command = { type = addcore which = 1454 }
		command = { type = addcore which = 489 }
		command = { type = addcore which = 1530 }
		command = { type = addcore which = 1453 }
		command = { type = addcore which = 508 }
		command = { type = addcore which = 471 }
		command = { type = addcore which = 472 }#Armenia
		command = { type = addcore which = 1961 }
		command = { type = addcore which = 1529 }
                command = { type = addcore which = 535 }
                command = { type = addcore which = 1528 }
                command = { type = addcore which = 1531 }
                command = { type = addcore which = 1526 }
                command = { type = addcore which = 536 }

command = { type = addcore which = 1961 }
 command = { type = addcore which = 1060 }
command = { type = addcore which = 1327 }
 command = { type = addcore which = 1437 }
                command = { type = addcore which = 1062 }
command = { type = add_countryculture which = canary }
command = { type = independence which = U04 }	
command = { type = vassal which = U04 }
command = { type = alliance   which = U04 }
	}
}

#The Advisors of Abbas the Great#
event = {
	id = 3565
	random = no
	country = PER
	name = "EVENTNAME3565"
	desc = "EVENTHIST3565"
	style = 3
	
	date = { day = 1 month = december year = 1599 }
	offset = 720

	action_a ={ # Hire the English advisors
		name = "ACTIONNAME3565A"
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = stability value = -1 }
		command = { type = land value = 1000 }
		command = { type = domestic which = land value = 2 }
		command = { type = domestic which = offensive value = 2 }
                command = { type = addcore which = 1802 }
	}
	action_b ={ # Rely on domestic ones
		name = "ACTIONNAME3565B"
		command = { type = stability value = 2 }
		command = { type = domestic which = land value = 1 }
		command = { type = domestic which = offensive value = 1 }
	}
}

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

#Move to Qazvin#
event = {
	id = 65050
	random = no
	country = PER
	trigger = { owned = { province = 529 data = -1 } }
	name = "EVENTNAME65050"
	desc = "EVENTHIST65050"
	style = 2
	
	date = { day = 3 month = january year = 1547 }
	offset = 720
	deathdate = { day = 1 month = january year = 1580 }

	action_a ={ # Move the Capital to Qazvin
		name = "ACTIONNAME65050A"
		command = { type = capital which = 529 }
		command = { type = population which = 529 value = 5000 }
		command = { type = population which = 530 value = -5000 }
		command = { type = stability value = 1 }
	}
	action_b ={ # Retain the old capital
		name = "ACTIONNAME65050B"
		command = { type = stability value = -2 }
	}
}

#Karim Shah#
event = {
	id = 65055
	random = no
	country = PER
	trigger = { monarch = 03710 }
	name = "EVENTNAME65055"
	desc = "EVENTHIST65055"
	style = 2
	
	date = { day = 1 month = january year = 1756 }

	action_a ={ # Appoint him
		name = "ACTIONNAME48024A"
		command = { type = ADM which = 4 value = 204 }
		command = { type = MIL which = 3 value = 204 }
		command = { type = DIP which = 3 value = 204 }
		command = { type = gainbuilding which = -1 value = courthouse }
		command = { type = gainbuilding which = -1 value = courthouse }
		command = { type = infra value = 500 }
		command = { type = trade value = 500 }
		command = { type = stability value = 2 }
	}
}

#The Reforms of Abbas the Great#
event = {
	id = 3564
	random = no
	country = PER
	trigger = { owned = { province = 533 data = -1 }
		cot = 533 } 
	name = "EVENTNAME3564"
	desc = "EVENTHIST3564"
	style = 2
	
	date = { day = 1 month = december year = 1597 }
	offset = 720

	action_a ={ # Move the Capital to Isfahan
		name = "ACTIONNAME3564A"
		command = { type = capital which = 528 }
		command = { type = population which = 528 value = 10000 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
command = { type = remove_countryculture which = canary }
                command = { type = add_countryculture which = canary }
		command = { type = infra value = 1000 }
		command = { type = trade value = 1000 }
		command = { type = land value = 1000 }
		command = { type = naval value = 1000 }
		command = { type = provincetax which = -2 value = 2 }
		command = { type = provincetax which = 487 value = 1 }
		command = { type = provincetax which = 1327 value = 1 }
		command = { type = provincetax which = 1437 value = 1 }
                command = { type = provincetax which = 1062 value = 1 }
		command = { type = provincetax which = 530 value = 1 }
		command = { type = provincetax which = 531 value = 1 }
                command = { type = provincetax which = 529 value = 1 }
		command = { type = provincetax which = 528 value = 1 }
		command = { type = provincetax which = 533 value = 1 }
                command = { type = provincetax which = 534 value = 1 }
		command = { type = provincetax which = 525 value = 1 }
		command = { type = provincetax which = 526 value = 1 }
                command = { type = provincetax which = 527 value = 1 }
command = { type = provincetax which = 535 value = 1 }
		command = { type = stability value = -1 }
	}
	action_b ={ # Retain the old capital
		name = "ACTIONNAME3564B"
		command = { type = infra value = 1000 }
		command = { type = trade value = 1000 }
		command = { type = land value = 1000 }
		command = { type = naval value = 1000 }
		command = { type = provincetax which = 487 value = 1 }
		command = { type = provincetax which = 1327 value = 1 }
		command = { type = provincetax which = 1437 value = 1 }
                command = { type = provincetax which = 1062 value = 1 }
		command = { type = provincetax which = 530 value = 1 }
		command = { type = provincetax which = 531 value = 1 }
                command = { type = provincetax which = 529 value = 1 }
		command = { type = provincetax which = 528 value = 1 }
		command = { type = provincetax which = 533 value = 1 }
                command = { type = provincetax which = 534 value = 1 }
		command = { type = provincetax which = 525 value = 1 }
		command = { type = provincetax which = 526 value = 1 }
                command = { type = provincetax which = 527 value = 1 }
command = { type = provincetax which = 535 value = 1 }
		command = { type = stability value = 2 }
	}
}


##################################################

# Persia is Resurrected
event = {
	id = 45316
	trigger = {
		exists = PER
		OR = {
			owned = { province = 525 data = -1 }
			owned = { province = 530 data = -1 }
			owned = { province = 531 data = -1 }
			owned = { province = 528 data = -1 }
			owned = { province = 529 data = -1 }
			owned = { province = 526 data = -1 }
			owned = { province = 527 data = -1 }
			owned = { province = 532 data = -1 }
			owned = { province = 533 data = -1 }
			owned = { province = 534 data = -1 }
			owned = { province = 535 data = -1 }
			owned = { province = 1529 data = -1 }
			owned = { province = 1530 data = -1 }
                        owned = { province = 487 data = -1 }
owned = { province = 1437 data = -1 }
owned = { province = 1327 data = -1 }
owned = { province = 1060 data = -1 }
owned = { province = 1062 data = -1 }
owned = { province = 1961 data = -1 }

owned = { province = 1454 data = -1 }
owned = { province = 1004 data = -1 }
owned = { province = 486 data = -1 }
owned = { province = 488 data = -1 }
owned = { province = 1432 data = -1 }
owned = { province = 1806 data = -1 }

owned = { province = 469 data = -1 }
owned = { province = 473 data = -1 }
owned = { province = 1058 data = -1 }
owned = { province = 470 data = -1 }
		}
	}
	random = no
	country = BAL
	name = "EVENTNAME3817"
	desc = "EVENTHIST3817"
	style = 2
	
	date = { day = 1 month = january year = 1497 }
	offset = 60
	deathdate = { day = 1 month = january year = 1530 }

	action_a = { # Let them be.
		name = "ACTIONNAME3817A"
		command = { type = relation which = PER value = 400 }
		command = { type = secedeprovince which = PER value = 525 }
		command = { type = secedeprovince which = PER value = 530 }
		command = { type = secedeprovince which = PER value = 531 }
		command = { type = secedeprovince which = PER value = 528 }
		command = { type = secedeprovince which = PER value = 529 }
		command = { type = secedeprovince which = PER value = 526 }
		command = { type = secedeprovince which = PER value = 527 }
		command = { type = secedeprovince which = PER value = 532 }
		command = { type = secedeprovince which = PER value = 533 }
		command = { type = secedeprovince which = PER value = 534 }
		command = { type = secedeprovince which = PER value = 535 }
		command = { type = secedeprovince which = PER value = 487 }
		command = { type = secedeprovince which = PER value = 1529 }
		command = { type = secedeprovince which = PER value = 1530 }
command = { type = secedeprovince which = PER value = 1437 }
command = { type = secedeprovince which = PER value = 1327 }
command = { type = secedeprovince which = PER value = 1060 }
command = { type = secedeprovince which = PER value = 1062 }
command = { type = secedeprovince which = PER value = 1961 }


command = { type = secedeprovince which = PER value = 1454 }
command = { type = secedeprovince which = PER value = 488 }
command = { type = secedeprovince which = PER value = 486 }
command = { type = secedeprovince which = PER value = 1004 }
command = { type = secedeprovince which = PER value = 1432 }
command = { type = secedeprovince which = PER value = 1806 }

command = { type = independence  which = SEL }
command = { type = independence  which = U16 }
command = { type = secedeprovince which = U16 value = 1058 }
command = { type = secedeprovince which = U16 value = 470 }
command = { type = secedeprovince which = SEL value = 473 }
command = { type = secedeprovince which = SEL value = 469 }
	}
	action_b = { # Crush the rebellion.
		name = "ACTIONNAME3817B"
		command = { type = revoltrisk which = 120 value = 8 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -6 }
	}
}


# Persia is Resurrected
event = {
	id = 200261
	trigger = {
		exists = PER
		OR = {
			owned = { province = 525 data = -1 }
			owned = { province = 530 data = -1 }
			owned = { province = 531 data = -1 }
			owned = { province = 528 data = -1 }
			owned = { province = 529 data = -1 }
			owned = { province = 526 data = -1 }
			owned = { province = 527 data = -1 }
			owned = { province = 532 data = -1 }
			owned = { province = 533 data = -1 }
			owned = { province = 534 data = -1 }
			owned = { province = 535 data = -1 }
			owned = { province = 1529 data = -1 }
			owned = { province = 1530 data = -1 }
                        owned = { province = 487 data = -1 }
owned = { province = 1437 data = -1 }
owned = { province = 1327 data = -1 }
owned = { province = 1060 data = -1 }
owned = { province = 1062 data = -1 }
owned = { province = 1961 data = -1 }

owned = { province = 1454 data = -1 }
owned = { province = 1004 data = -1 }
owned = { province = 486 data = -1 }
owned = { province = 488 data = -1 }
owned = { province = 1432 data = -1 }
owned = { province = 1806 data = -1 }

owned = { province = 469 data = -1 }
owned = { province = 473 data = -1 }
owned = { province = 1058 data = -1 }
owned = { province = 470 data = -1 }

		}
	}
	random = no
	country = IRA
	name = "EVENTNAME3817"
	desc = "EVENTHIST3817"
	style = 2
	
	date = { day = 1 month = january year = 1497 }
	offset = 60
	deathdate = { day = 1 month = january year = 1530 }

	action_a = { # Let them be.
		name = "ACTIONNAME3817A"
		command = { type = relation which = PER value = 400 }
		command = { type = secedeprovince which = PER value = 525 }
		command = { type = secedeprovince which = PER value = 530 }
		command = { type = secedeprovince which = PER value = 531 }
		command = { type = secedeprovince which = PER value = 528 }
		command = { type = secedeprovince which = PER value = 529 }
		command = { type = secedeprovince which = PER value = 526 }
		command = { type = secedeprovince which = PER value = 527 }
		command = { type = secedeprovince which = PER value = 532 }
		command = { type = secedeprovince which = PER value = 533 }
		command = { type = secedeprovince which = PER value = 534 }
		command = { type = secedeprovince which = PER value = 535 }
		command = { type = secedeprovince which = PER value = 487 }
		command = { type = secedeprovince which = PER value = 1529 }
		command = { type = secedeprovince which = PER value = 1530 }
command = { type = secedeprovince which = PER value = 1437 }
command = { type = secedeprovince which = PER value = 1327 }
command = { type = secedeprovince which = PER value = 1060 }
command = { type = secedeprovince which = PER value = 1062 }
command = { type = secedeprovince which = PER value = 1961 }


command = { type = secedeprovince which = PER value = 1454 }
command = { type = secedeprovince which = PER value = 488 }
command = { type = secedeprovince which = PER value = 486 }
command = { type = secedeprovince which = PER value = 1004 }
command = { type = secedeprovince which = PER value = 1432 }
command = { type = secedeprovince which = PER value = 1806 }

command = { type = independence  which = SEL }
command = { type = independence  which = U16 }
command = { type = secedeprovince which = U16 value = 1058 }
command = { type = secedeprovince which = U16 value = 470 }
command = { type = secedeprovince which = SEL value = 473 }
command = { type = secedeprovince which = SEL value = 469 }

	}
	action_b = { # Crush the rebellion.
		name = "ACTIONNAME3817B"
		command = { type = revoltrisk which = 120 value = 8 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -6 }
	}
}

# Persia is Resurrected
event = {
	id = 200262
	trigger = {
		exists = PER
		OR = {
			owned = { province = 525 data = -1 }
			owned = { province = 530 data = -1 }
			owned = { province = 531 data = -1 }
			owned = { province = 528 data = -1 }
			owned = { province = 529 data = -1 }
			owned = { province = 526 data = -1 }
			owned = { province = 527 data = -1 }
			owned = { province = 532 data = -1 }
			owned = { province = 533 data = -1 }
			owned = { province = 534 data = -1 }
			owned = { province = 535 data = -1 }
			owned = { province = 1529 data = -1 }
			owned = { province = 1530 data = -1 }
                        owned = { province = 487 data = -1 }
owned = { province = 1437 data = -1 }
owned = { province = 1327 data = -1 }
owned = { province = 1060 data = -1 }
owned = { province = 1062 data = -1 }
owned = { province = 1961 data = -1 }

owned = { province = 1454 data = -1 }
owned = { province = 1004 data = -1 }
owned = { province = 486 data = -1 }
owned = { province = 488 data = -1 }
owned = { province = 1432 data = -1 }
owned = { province = 1806 data = -1 }

owned = { province = 469 data = -1 }
owned = { province = 473 data = -1 }
owned = { province = 1058 data = -1 }
owned = { province = 470 data = -1 }

		}
	}
	random = no
	country = UZB
	name = "EVENTNAME3817"
	desc = "EVENTHIST3817"
	style = 2
	
	date = { day = 1 month = january year = 1497 }
	offset = 60
	deathdate = { day = 1 month = january year = 1530 }

	action_a = { # Let them be.
		name = "ACTIONNAME3817A"
		command = { type = relation which = PER value = 400 }
		command = { type = secedeprovince which = PER value = 525 }
		command = { type = secedeprovince which = PER value = 530 }
		command = { type = secedeprovince which = PER value = 531 }
		command = { type = secedeprovince which = PER value = 528 }
		command = { type = secedeprovince which = PER value = 529 }
		command = { type = secedeprovince which = PER value = 526 }
		command = { type = secedeprovince which = PER value = 527 }
		command = { type = secedeprovince which = PER value = 532 }
		command = { type = secedeprovince which = PER value = 533 }
		command = { type = secedeprovince which = PER value = 534 }
		command = { type = secedeprovince which = PER value = 535 }
		command = { type = secedeprovince which = PER value = 487 }
		command = { type = secedeprovince which = PER value = 1529 }
		command = { type = secedeprovince which = PER value = 1530 }
command = { type = secedeprovince which = PER value = 1437 }
command = { type = secedeprovince which = PER value = 1327 }
command = { type = secedeprovince which = PER value = 1060 }
command = { type = secedeprovince which = PER value = 1062 }
command = { type = secedeprovince which = PER value = 1961 }


command = { type = secedeprovince which = PER value = 1454 }
command = { type = secedeprovince which = PER value = 488 }
command = { type = secedeprovince which = PER value = 486 }
command = { type = secedeprovince which = PER value = 1004 }
command = { type = secedeprovince which = PER value = 1432 }
command = { type = secedeprovince which = PER value = 1806 }

command = { type = independence  which = SEL }
command = { type = independence  which = U16 }
command = { type = secedeprovince which = U16 value = 1058 }
command = { type = secedeprovince which = U16 value = 470 }
command = { type = secedeprovince which = SEL value = 473 }
command = { type = secedeprovince which = SEL value = 469 }
	}
	action_b = { # Crush the rebellion.
		name = "ACTIONNAME3817B"
		command = { type = revoltrisk which = 120 value = 8 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -6 }
	}
}

# Persia is Resurrected
event = {
	id = 200263
	trigger = {
		exists = PER
		OR = {
			owned = { province = 525 data = -1 }
			owned = { province = 530 data = -1 }
			owned = { province = 531 data = -1 }
			owned = { province = 528 data = -1 }
			owned = { province = 529 data = -1 }
			owned = { province = 526 data = -1 }
			owned = { province = 527 data = -1 }
			owned = { province = 532 data = -1 }
			owned = { province = 533 data = -1 }
			owned = { province = 534 data = -1 }
			owned = { province = 535 data = -1 }
			owned = { province = 1529 data = -1 }
			owned = { province = 1530 data = -1 }
                        owned = { province = 487 data = -1 }
owned = { province = 1437 data = -1 }
owned = { province = 1327 data = -1 }
owned = { province = 1060 data = -1 }
owned = { province = 1062 data = -1 }
owned = { province = 1961 data = -1 }

owned = { province = 1454 data = -1 }
owned = { province = 1004 data = -1 }
owned = { province = 486 data = -1 }
owned = { province = 488 data = -1 }
owned = { province = 1432 data = -1 }
owned = { province = 1806 data = -1 }

owned = { province = 469 data = -1 }
owned = { province = 473 data = -1 }
owned = { province = 1058 data = -1 }
owned = { province = 470 data = -1 }
		}
	}
	random = no
	country = U00
	name = "EVENTNAME3817"
	desc = "EVENTHIST3817"
	style = 2
	
	date = { day = 1 month = january year = 1497 }
	offset = 60
	deathdate = { day = 1 month = january year = 1530 }

	action_a = { # Let them be.
		name = "ACTIONNAME3817A"
		command = { type = relation which = PER value = 400 }
		command = { type = secedeprovince which = PER value = 525 }
		command = { type = secedeprovince which = PER value = 530 }
		command = { type = secedeprovince which = PER value = 531 }
		command = { type = secedeprovince which = PER value = 528 }
		command = { type = secedeprovince which = PER value = 529 }
		command = { type = secedeprovince which = PER value = 526 }
		command = { type = secedeprovince which = PER value = 527 }
		command = { type = secedeprovince which = PER value = 532 }
		command = { type = secedeprovince which = PER value = 533 }
		command = { type = secedeprovince which = PER value = 534 }
		command = { type = secedeprovince which = PER value = 535 }
		command = { type = secedeprovince which = PER value = 487 }
		command = { type = secedeprovince which = PER value = 1529 }
		command = { type = secedeprovince which = PER value = 1530 }
command = { type = secedeprovince which = PER value = 1437 }
command = { type = secedeprovince which = PER value = 1327 }
command = { type = secedeprovince which = PER value = 1060 }
command = { type = secedeprovince which = PER value = 1062 }
command = { type = secedeprovince which = PER value = 1961 }


command = { type = secedeprovince which = PER value = 1454 }
command = { type = secedeprovince which = PER value = 488 }
command = { type = secedeprovince which = PER value = 486 }
command = { type = secedeprovince which = PER value = 1004 }
command = { type = secedeprovince which = PER value = 1432 }
command = { type = secedeprovince which = PER value = 1806 }

command = { type = independence  which = SEL }
command = { type = independence  which = U16 }
command = { type = secedeprovince which = U16 value = 1058 }
command = { type = secedeprovince which = U16 value = 470 }
command = { type = secedeprovince which = SEL value = 473 }
command = { type = secedeprovince which = SEL value = 469 }
	}
	action_b = { # Crush the rebellion.
		name = "ACTIONNAME3817B"
		command = { type = revoltrisk which = 120 value = 8 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -6 }
	}
}


# Persia is Resurrected
event = {
	id = 298810
	trigger = {
		exists = PER
		OR = {
			owned = { province = 525 data = -1 }
			owned = { province = 530 data = -1 }
			owned = { province = 531 data = -1 }
			owned = { province = 528 data = -1 }
			owned = { province = 529 data = -1 }
			owned = { province = 526 data = -1 }
			owned = { province = 527 data = -1 }
			owned = { province = 532 data = -1 }
			owned = { province = 533 data = -1 }
			owned = { province = 534 data = -1 }
			owned = { province = 535 data = -1 }
			owned = { province = 1529 data = -1 }
			owned = { province = 1530 data = -1 }
                        owned = { province = 487 data = -1 }
owned = { province = 1437 data = -1 }
owned = { province = 1327 data = -1 }
owned = { province = 1060 data = -1 }
owned = { province = 1062 data = -1 }
owned = { province = 1961 data = -1 }

owned = { province = 1454 data = -1 }
owned = { province = 1004 data = -1 }
owned = { province = 486 data = -1 }
owned = { province = 488 data = -1 }
owned = { province = 1432 data = -1 }
owned = { province = 1806 data = -1 }

owned = { province = 469 data = -1 }
owned = { province = 473 data = -1 }
owned = { province = 1058 data = -1 }
owned = { province = 470 data = -1 }
		}
	}
	random = no
	country = U04
	name = "EVENTNAME3817"
	desc = "EVENTHIST3817"
	style = 2
	
	date = { day = 1 month = january year = 1497 }
	offset = 60
	deathdate = { day = 1 month = january year = 1530 }

	action_a = { # Let them be.
		name = "ACTIONNAME3817A"
		command = { type = relation which = PER value = 400 }
		command = { type = secedeprovince which = PER value = 525 }
		command = { type = secedeprovince which = PER value = 530 }
		command = { type = secedeprovince which = PER value = 531 }
		command = { type = secedeprovince which = PER value = 528 }
		command = { type = secedeprovince which = PER value = 529 }
		command = { type = secedeprovince which = PER value = 526 }
		command = { type = secedeprovince which = PER value = 527 }
		command = { type = secedeprovince which = PER value = 532 }
		command = { type = secedeprovince which = PER value = 533 }
		command = { type = secedeprovince which = PER value = 534 }
		command = { type = secedeprovince which = PER value = 535 }
		command = { type = secedeprovince which = PER value = 487 }
		command = { type = secedeprovince which = PER value = 1529 }
		command = { type = secedeprovince which = PER value = 1530 }
command = { type = secedeprovince which = PER value = 1437 }
command = { type = secedeprovince which = PER value = 1327 }
command = { type = secedeprovince which = PER value = 1060 }
command = { type = secedeprovince which = PER value = 1062 }
command = { type = secedeprovince which = PER value = 1961 }


command = { type = secedeprovince which = PER value = 1454 }
command = { type = secedeprovince which = PER value = 488 }
command = { type = secedeprovince which = PER value = 486 }
command = { type = secedeprovince which = PER value = 1004 }
command = { type = secedeprovince which = PER value = 1432 }
command = { type = secedeprovince which = PER value = 1806 }

command = { type = independence  which = SEL }
command = { type = independence  which = U16 }
command = { type = secedeprovince which = U16 value = 1058 }
command = { type = secedeprovince which = U16 value = 470 }
command = { type = secedeprovince which = SEL value = 473 }
command = { type = secedeprovince which = SEL value = 469 }
	}
	action_b = { # Crush the rebellion.
		name = "ACTIONNAME3817B"
		command = { type = revoltrisk which = 120 value = 8 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
                command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = stability value = -6 }
	}
}
