##===============================================##
## SPA ~ AI SHIFTING ~ EVENTS                    ##
## Kingdom of Spain                              ##
## AI by Templar - eep-rus   for RW-EEP          ##
## Date: november 2007  made by Rau A.           ##
##  using AGCEEP fails and events id              ##
##===============================================##

#-------------------------------------------------#
# Full range      : 990100 - 990199               #
#-------------------------------------------------#

#-------------------------------------------------#
# These are designed as continually checking      #
# events so that it catches revolting nations.    #
# The problem arises if a country does load its   #
# ai, then gets defeated, just to revolt again,   #
# in which case it does not load its correct ai,  #
# until the next load comes around, which can be  #
# a while for some nations.                       #
# Stock Paradox will then be loaded.              #
#-------------------------------------------------#

#-------------------------------------------------#
# Spanish 1480-1492 AI                            #
#-------------------------------------------------#
event = { 
	id = 990100
	Trigger = { ai = yes }
	country = SPA
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1480 }
	offset = 10
	deathdate = { day = 30 month = December year = 1491 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Spain_1480.ai }}}

#-------------------------------------------------#
# Spanish 1492-1500 AI                            #
#-------------------------------------------------#
event = { 
	id = 990101
	Trigger = { ai = yes }
	country = SPA
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1492 }
	offset = 10
	deathdate = { day = 30 month = December year = 1499 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Spain_1492.ai }}}

#-------------------------------------------------#
# Spanish 1500-1515 AI                            #
#-------------------------------------------------#
event = { 
	id = 990102
	Trigger = { ai = yes }
	country = SPA
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1500 }
	offset = 10
	deathdate = { day = 30 month = December year = 1514 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Spain_1500.ai }}}

#-------------------------------------------------#
# Spanish 1515-1530 AI                            #
#-------------------------------------------------#
event = { 
	id = 990103
	Trigger = { ai = yes }
	country = SPA
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1515 }
	offset = 10
	deathdate = { day = 30 month = December year = 1529 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Spain_1515.ai }}}

#-------------------------------------------------#
# Spanish 1530-1550 AI                            #
#-------------------------------------------------#
event = { 
	id = 990104
	Trigger = { ai = yes }
	country = SPA
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1530 }
	offset = 10
	deathdate = { day = 30 month = December year = 1549 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Spain_1530.ai }}}

#-------------------------------------------------#
# Spanish 1550-1580 AI                            #
#-------------------------------------------------#
event = { 
	id = 990105
	Trigger = { ai = yes }
	country = SPA
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1550 }
	offset = 10
	deathdate = { day = 30 month = December year = 1579 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Spain_1550.ai }}}

#-------------------------------------------------#
# Spanish 1580-1640 AI                            #
#-------------------------------------------------#
event = { 
	id = 990106
	Trigger = { ai = yes }
	country = SPA
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1580 }
	offset = 10
	deathdate = { day = 30 month = December year = 1639 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Spain_1580.ai }}}

#-------------------------------------------------#
# Spanish 1525-1530 AI                            #
#-------------------------------------------------#
event = { 
	id = 990107
	Trigger = { ai = yes }
	country = SPA
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1525 }
	offset = 10
	deathdate = { day = 30 month = December year = 1530 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Spain_1640.ai }}}


#-------------------------------------------------#
# Spanish 1640-1750 AI                            #
#-------------------------------------------------#
event = { 
	id = 990108
	Trigger = { ai = yes }
	country = SPA
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1640 }
	offset = 10
	deathdate = { day = 30 month = December year = 1749 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = France_1799.ai }}}

#-------------------------------------------------#
# Spanish 1750-1820 AI                            #
#-------------------------------------------------#
event = { 
	id = 990109
	Trigger = { ai = yes }
	country = SPA
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1750 }
	offset = 10
	deathdate = { day = 30 month = December year = 1820 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Spain_1795.ai }}}



# free to 990110!!!!
# end.