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

#-------------------------------------------------#
# Full range      : 990000 - 990099               #
#-------------------------------------------------#

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

#-------------------------------------------------#
# Portugal 1420-1460 AI                           #
#-------------------------------------------------#
event = { 
	id = 990000
	Trigger = { ai = yes }
	country = POR
	name = "AI_EVENT"
	date = { day = 1 month = January year = 1419 }
	offset = 10
	deathdate = { 30 month = December year = 1459 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Portugual_1419.ai }}}

#-------------------------------------------------#
# Portugal 1460-1480 AI                           #
#-------------------------------------------------#
event = { 
	id = 990001
	Trigger = { ai = yes }
	country = POR
	name = "AI_EVENT"
	date = { day = 1 month = January year = 1460 }
	offset = 10
	deathdate = { 30 month = December year = 1438 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Portugual_1460.ai }}}

#-------------------------------------------------#
# Portugal 1480-1490 AI                           #
#-------------------------------------------------#
event = { 
	id = 990002
	Trigger = { ai = yes }
	country = POR
	name = "AI_EVENT"
	date = { day = 1 month = January year = 1460 }
	offset = 10
	deathdate = { 30 month = December year = 1479 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Portugual_1480.ai }}}

#-------------------------------------------------#
# Portugal 1490-1500 AI                           #
#-------------------------------------------------#
event = { 
	id = 990003
	Trigger = { ai = yes }
	country = POR
	name = "AI_EVENT"
	date = { day = 1 month = January year = 1490 }
	offset = 10
	deathdate = { 30 month = December year = 1499 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Portugual_1490.ai }}}

#-------------------------------------------------#
# Portugal 1500-1550 AI                           #
#-------------------------------------------------#
event = { 
	id = 990004
	Trigger = { ai = yes }
	country = POR
	name = "AI_EVENT"
	date = { day = 1 month = January year = 1500 }
	offset = 10
	deathdate = { 30 month = December year = 1549 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Portugual_1500.ai }}}

#-------------------------------------------------#
# Portugal 1550-1580 AI                           #
#-------------------------------------------------#
event = { 
	id = 990005
	Trigger = { ai = yes }
	country = POR
	name = "AI_EVENT"
	date = { day = 1 month = January year = 1550 }
	offset = 10
	deathdate = { 30 month = December year = 1579 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Portugual_1550.ai }}}

#-------------------------------------------------#
# Portugal 1580-1640 AI                           #
#-------------------------------------------------#
event = { 
	id = 990006
	Trigger = { ai = yes }
	country = POR
	name = "AI_EVENT"
	date = { day = 1 month = January year = 1580 }
	offset = 10
	deathdate = { 30 month = December year = 1639 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Portugual_1580.ai }}}

#-------------------------------------------------#
# Portugal 1640-1750 AI                           #
#-------------------------------------------------#
event = { 
	id = 990007
	Trigger = { ai = yes }
	country = POR
	name = "AI_EVENT"
	date = { day = 1 month = January year = 1640 }
	offset = 10
	deathdate = { day = 30 month = December year = 1749 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Portugual_1640.ai }}}

#-------------------------------------------------#
# Portugal 1750-1820 AI                           #
#-------------------------------------------------#
event = { 
	id = 990008
	Trigger = { ai = yes }
	country = POR
	name = "AI_EVENT"
	date = { day = 1 month = January year = 1721 }
	offset = 10
	deathdate = { day = 30 month = December year = 1820 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Portugual_1750.ai }}}



# free to 990013
# end.