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

#-------------------------------------------------#
# Full range      : 992700 - 992799               #
#-------------------------------------------------#

#-------------------------------------------------#
# 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-1473 AI                                    #
#-------------------------------------------------#
event = { 
	id = 992700
	Trigger = { ai = yes }
	country = MOR
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1419 }
	offset = 10
	deathdate = { day = 30 month = December year = 1472 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Moroccan_1419.ai }}}

#-------------------------------------------------#
# 1473-1545 AI                                    #
#-------------------------------------------------#
event = { 
	id = 992701
	Trigger = { ai = yes }
	country = MOR
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1473 }
	offset = 10
	deathdate = { day = 30 month = December year = 1544 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Moroccan_1473.ai }}}

#-------------------------------------------------#
# 1545-1580 AI                                    #
#-------------------------------------------------#
event = { 
	id = 992702
	Trigger = { ai = yes }
	country = MOR
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1545 }
	offset = 10
	deathdate = { day = 30 month = December year = 1579 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Moroccan_1545.ai }}}

#-------------------------------------------------#
# 1580-1750 AI                                    #
#-------------------------------------------------#
event = { 
	id = 992703
	Trigger = { ai = yes }
	country = MOR
	name = "AI_EVENT"
	date = { day = 10 month = January year = 1580 }
	offset = 10
	deathdate = { day = 30 month = December year = 1749 }
	action_a = {
		name = "AI shift"
		command = { type = ai which = Moroccan_1580.ai }}}

#-------------------------------------------------#
# 1750-1820 AI                                    #
#-------------------------------------------------#
event = { 
	id = 992704
	Trigger = { ai = yes }
	country = MOR
	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 = Moroccan_1750.ai }}}



# free to 992706!!!
# end.