#Created by Aaron Seltzer
#The Safavid Heresy#
event = {

	id = 3999
	trigger = {
				exists = PER
		}

	random = no
         country = UZB
	name = "EVENTNAME3999"
	desc = "EVENTHIST3999"
	style = 2

	date = { day = 1 month = january year = 1440 }
	offset = 30
	deathdate = { day = 1 month = january year = 1800 }

         action_a ={				#The Safavid Heresy#
                 name = "ACTIONNAME3999A"
                 command = { type = secedeprovince which = PER value = 529 }
                 command = { type = secedeprovince which = PER value = 533 }
                 command = { type = secedeprovince which = PER value = 531 }
                 command = { type = secedeprovince which = PER value = 532 }
                 command = { type = secedeprovince which = PER value = 525 }
                 command = { type = secedeprovince which = PER value = 535 }
                 command = { type = secedeprovince which = PER value = 534 }
                 command = { type = secedeprovince which = PER value = 528 }
      }
     action_b = {				#Crush Them#
                 name = "ACTIONNAME3999B"
                 command = { type = stability value = -6 }
                 command = { type = cash value = -1000 }
	}

}

event = {

	id = 3997
	trigger = {
			exists = PER
		}

	random = no
         country = TIM
	name = "EVENTNAME3999"
	desc = "EVENTHIST3999"
	style = 2

	date = { day = 1 month = january year = 1440 }
	offset = 30
	deathdate = { day = 1 month = january year = 1800 }

         action_a ={				#The Safavid Heresy#
                 name = "ACTIONNAME3999A"
                 command = { type = secedeprovince which = PER value = 529 }
                 command = { type = secedeprovince which = PER value = 533 }
                 command = { type = secedeprovince which = PER value = 531 }
                 command = { type = secedeprovince which = PER value = 532 }
                 command = { type = secedeprovince which = PER value = 525 }
                 command = { type = secedeprovince which = PER value = 535 }
                 command = { type = secedeprovince which = PER value = 534 }
                 command = { type = secedeprovince which = PER value = 528 }
      }
     action_b = {				#Crush Them#
                 name = "ACTIONNAME3999B"
                 command = { type = stability value = -6 }
                 command = { type = cash value = -1000 }
	}

}

#Tribesmen Join the Safavid Cause#
event = {

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

        date = { day = 1 month = january year = 1440 }
	offset = 30
	deathdate = { day = 1 month = December year = 1491 }

        action_a = {					#Tribesmen Join#
		name = "ACTIONNAME3998"
		command = { type = INF which = -1 value = 4000 }
                command = { type = CAV which = -1 value = 6000 }
                command = { type = addcore which = PER value = 529 }
                command = { type = addcore which = PER value = 533 }
                command = { type = addcore which = PER value = 531 }
                command = { type = addcore which = PER value = 532 }
                command = { type = addcore which = PER value = 525 }
                command = { type = addcore which = PER value = 535 }
                command = { type = addcore which = PER value = 534 }
                command = { type = addcore which = PER value = 528 }
	}
}
