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

#-------------------------------------------------#
# Full range      : 993900 - 993999               #
#-------------------------------------------------#

#-------------------------------------------------#
# 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.              #
#-------------------------------------------------#

#-------------------------------------------------#
# 1420-1517 AI                                    #
#-------------------------------------------------#
event = { 
	id = 993900
	Trigger = { ai = yes }
	country = ARG
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1419 }
	offset = 10
	deathdate = { day = 30 month = December year = 1516 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Aragon_1419.ai }}}

#-------------------------------------------------#
# 1517-1600 AI                                    #
#-------------------------------------------------#
event = { 
	id = 993901
	Trigger = { ai = yes }
	country = ARG
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1517 }
	offset = 10
	deathdate = { day = 30 month = December year = 1599 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Aragon_1517.ai }}}

#-------------------------------------------------#
# 1600-1700 AI                                    #
#-------------------------------------------------#
event = { 
	id = 993902
	Trigger = { ai = yes }
	country = ARG
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1600 }
	offset = 10
	deathdate = { day = 30 month = December year = 1699 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Aragon_1600.ai }}}

#-------------------------------------------------#
# 1700-1795 AI                                    #
#-------------------------------------------------#
event = { 
	id = 993903
	Trigger = { ai = yes }
	country = ARG
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1700 }
	offset = 10
	deathdate = { day = 30 month = December year = 1794 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Aragon_1700.ai }}}

#-------------------------------------------------#
# 1795-1820 AI                                    #
#-------------------------------------------------#
event = { 
	id = 993904
	Trigger = { ai = yes }
	country = ARG
	name = "AI_EVENT"
	date = { day = 10 month = december year = 1795 }
	offset = 10
	deathdate = { day = 30 month = December year = 1820 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Aragon_1795.ai }}}



# free to 993909!!!
# end.