@BEGINEVENTS

@IF
TURN
turn=2
@THEN
TEXT
Bulan, Bek (King) of the Khazars, has arranged a disputation between the three major
monotheistic faiths. After listening to the Muslim and Christian scholars, he is convinced by Rabbi
Isaac Sangari to convert to the Jewish faith.
ENDTEXT
GIVETECHNOLOGY
receiver=Khazar Khaganate
technology=90
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

@IF
CITYTAKEN
city=Baghdat
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Baghdat, the center of the Islamic world and the seat of the Abbasid Caliphate, has fallen! The
nonbelievers loot the treasury and make off with priceless works of Arab and Persian artwork!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=2000
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=40
@ENDIF

@IF
CITYTAKEN
city=Baghdat
attacker=ANYBODY
defender=ANYBODY
@THEN
GIVETECHNOLOGY
receiver=TRIGGERDEFENDER
technology=0
@ENDIF

@IF
CITYTAKEN
city=Constantinople
attacker=ANYBODY
defender=East Roman Empire
@THEN
TEXT
The Christian world is stunned as the Queen of Cities, holy Constantinople, falls to barbarian
invaders! It is a dark day for the followers of the Nazarene...
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=3000
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=5
@ENDIF

@IF
CITYTAKEN
city=Constantinople
attacker=ANYBODY
defender=East Roman Empire
@THEN
GIVETECHNOLOGY
receiver=East Roman Empire
technology=5
@ENDIF

@IF
TURN
turn=4
@THEN
TEXT
The Islamic Caliphate is rocked by civil war. The Abbasid clan overthrows the Ummayyad
dynasty at the battle of al-Zab. A lone Ummayyad prince, Abd er-Rahman, escapes to Spain,
there to found his own, independent emirate. (Henceforth, the Muslim player will represent the
Abbasids. Spain, if the program is working properly, will be under the domination of
non-player, Barbarian, forces.)
ENDTEXT
CREATEUNIT
unit=Berbers
owner=TRIGGERATTACKER
veteran=yes
homecity=none
locations
35,87
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
CREATEUNIT
unit=Berbers
owner=TRIGGERATTACKER
veteran=yes
homecity=none
locations
35,87
36,86
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
CREATEUNIT
unit=Berbers
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
35,87
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
CREATEUNIT
unit=Berbers
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
36,86
endlocations
@ENDIF

@IF
CITYTAKEN
city=Roma
attacker=Frankish Empire
defender=ANYBODY
@THEN
TEXT
The victorious Franks enter the ancient and holy city of Rome, driving out the Lombard attackers
and restoring the city to the Patriarch of Rome, Pope Gregory. The Pope anoints Charlemagne
Emperor of the Romans in addition to King of the Franks and charges him with the protection of
church and faith.
ENDTEXT
CREATEUNIT
unit=Patriarch
owner=Frankish Empire
veteran=yes
homecity=Roma
locations
54,84
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=500
JUSTONCE
@ENDIF

@IF
TURN
turn=4
@THEN
CREATEUNIT
unit=Berbers
owner=TRIGGERATTACKER
veteran=yes
homecity=none
locations
35,83
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
CREATEUNIT
unit=Arab Infantry
owner=TRIGGERATTACKER
veteran=yes
homecity=none
locations
29,83
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
CREATEUNIT
unit=Arab Infantry
owner=TRIGGERATTACKER
veteran=yes
homecity=none
locations
39,89
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
CREATEUNIT
unit=Arab Infantry
owner=TRIGGERATTACKER
veteran=yes
homecity=none
locations
38,92
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
CREATEUNIT
unit=Arab Infantry
owner=TRIGGERATTACKER
veteran=yes
homecity=none
locations
33,89
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
CREATEUNIT
unit=Knights
owner=Frankish Empire
veteran=yes
homecity=Aachen
locations
44,78
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
CREATEUNIT
unit=Spearmen
owner=Frankish Empire
veteran=yes
homecity=Aachen
locations
44,80
endlocations
@ENDIF

@IF
TURN
turn=4
@THEN
CREATEUNIT
unit=Khalifa
owner=TRIGGERATTACKER
veteran=yes
homecity=None
locations
36,88
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
TEXT
Berber uprising in the Maghrib!
ENDTEXT
CREATEUNIT
unit=Berbers
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
44,118
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=15
@THEN
TEXT
Unruly Bedouin tribes in Arabia rebel!
ENDTEXT
CREATEUNIT
unit=Bedouin
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
97,117
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
TEXT
Nubian mercenaries from the Kingdom of Makkura, to the south of Egypt, have enlisted in the
Muslim army.
ENDTEXT
CREATEUNIT
unit=Zanj Mercenary
owner=Great Islamic Caliphate
veteran=yes
homecity=none
locations
101,107
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
TEXT
Driven by dreams of restoring the glorious Roman Empire in the West, new recruits enlist in the
Frankish army.
ENDTEXT
CREATEUNIT
unit=Knights
owner=Frankish Empire
veteran=yes
homecity=none
locations
46,54
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
TEXT
Viking raiders from the Northlands arrive in Constantinople, which they call Miklagard, "the
Great Court". Awed by the magnificance of the Queen of Cities, they enlist in the Emperor's unit
of elite Varangian Guards.
ENDTEXT
CREATEUNIT
unit=Jomsviking
owner=East Roman Empire
veteran=yes
homecity=NONE
locations
72,82
endlocations
@ENDIF

@IF
CITYTAKEN
city=Batum
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Batum, the stronghold of Caucasic resistance, has fallen. Caucasic mercenaries begin to swell the
conqueror's army.
ENDTEXT
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=32
@ENDIF

@IF
CITYTAKEN
city=Darial
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Darial, the capital of the Alan kingdom, has fallen. Alan mercenaries begin to swell the ranks of
the conqueror's army.
ENDTEXT
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=17
@ENDIF

@IF
CITYTAKEN
city=Benevento
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Benevento, the stronghold of Lombard Italy, has fallen. Lombard and Gothic mercenaries begin
to swell the ranks of the conqueror's army.
ENDTEXT
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=19
@ENDIF

@IF
UNITKILLED
unit=Village
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Village plundered! Soldiers loot 50 gold from helpless barbarians.
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=50
@ENDIF

@IF
RANDOMTURN
denominator=40
@THEN
TEXT
A great general has arisen to lead the Byzantines!
ENDTEXT
CREATEUNIT
unit=General
owner=East Roman Empire
veteran=no
homecity=none
locations
72,82
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=40
@THEN
CREATEUNIT
unit=Amir
owner=Great Islamic Caliphate
veteran=no
homecity=none
locations
95,97
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Horse Archers
owner=Turkic Khanates
veteran=no
homecity=none
locations
113,29
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=7
@THEN
CREATEUNIT
unit=Ordu
owner=Turkic Khanates
veteran=no
homecity=none
locations
113,29
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=300
@THEN
TEXT
Word arrives of a plague which threatens the Black Sea region! Constantinopolitans, Crimeans,
and Bulgars alike are terrified!
ENDTEXT
CREATEUNIT
unit=Plague
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
76,76
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=200
@THEN
TEXT
A plague begins to appear on the Atlantic coast!
ENDTEXT
CREATEUNIT
unit=Plague
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
33,65
endlocations
@ENDIF

@IF
TURNINTERVAL
interval=5
@THEN
TEXT
Khazars receive tribute from subject tribes. This amount, and the tolls collected on Khazaria's
trade routes, are added to the treasury.
ENDTEXT
CHANGEMONEY
receiver=Khazar Khaganate
amount=50
@ENDIF

@IF
CITYTAKEN
city=Sura-Pumbedita
attacker=Khazar Khaganate
defender=Great Islamic Caliphate
@THEN
TEXT
Jews around the world rejoice as the Khazar hordes enter Sura and Pumbedita, home of the
great Talmudic acadamies. Funds begin pouring into the Khazar treasury in the hopes that the
Khagan Bek Bulan's armies will liberate the Holy Land.
ENDTEXT
CHANGEMONEY
receiver=Khazar Khaganate
amount=300
@ENDIF

@IF
CITYTAKEN
city=Cordova
attacker=ANYBODY
defender=Great Islamic Caliphate
@THEN
TEXT
Cordova falls to the Ummayad rebels!
ENDTEXT
JUSTONCE
HASTRIGGERED
@ENDIF

@IF
SCENARIOLOADED
@THEN
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

@IF
TURN
turn=1
@THEN
GIVETECHNOLOGY
receiver=East Roman Empire
technology=37
@ENDIF

@IF
TURN
turn=1
@THEN
GIVETECHNOLOGY
receiver=East Roman Empire
technology=24
@ENDIF

@IF
UNITKILLED
unit=King
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
King killed! 500 Gold plundered
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=500
@ENDIF

@IF
UNITKILLED
unit=Khalifa
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The Khalifa al-Mutamid, Commander of the Faithful, has been slain! 1000 Gold plundered!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=1000
@ENDIF

@IF
UNITKILLED
unit=Khagan
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
A Khagan is slain in battle! Victors plunder his tent for 1000 gold!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=1000
@ENDIF

@IF
UNITKILLED
unit=Emperor
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The Emperor has fallen in battle! This is a sad day for the Empire, which has obviously fallen from
God's grace!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=1000
@ENDIF

@IF
UNITKILLED
unit=Khagan Bek
attacker=ANYBODY
defender=Khazar Khaganate
@THEN
TEXT
The Khagan Bek, supreme warlord of the Khazars, has been slain! A hastily called council elects
a new Bek in Itil.
In the confusion, trade revenues are lost as merchants avoid the Bek's tax officials.
ENDTEXT
CREATEUNIT
unit=Khagan Bek
owner=Khazar Khaganate
veteran=no
homecity=none
locations
96,62
endlocations
CHANGEMONEY
receiver=Khazar Khaganate
amount=-100
@ENDIF

@IF
CITYTAKEN
city=Aachen
attacker=ANYBODY
defender=Frankish Empire
@THEN
TEXT
Aachen, the capitol of the Carolingian dynasty, has fallen to the barbarian hordes!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=500
@ENDIF

@IF
NEGOTIATION
talker=Turkic Khanates
talkertype=Computer
listener=ANYBODY
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=Computer
listener=Turkic Khanates
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=East Roman Empire
talkertype=Computer
listener=Great Islamic Caliphate
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Great Islamic Caliphate
talkertype=Computer
listener=East Roman Empire
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Slavic Tribes
talkertype=Computer
listener=ANYBODY
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Norse Kingdoms
talkertype=Computer
listener=Great Islamic Caliphate
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Frankish Empire
talkertype=Computer
listener=Great Islamic Caliphate
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Great Islamic Caliphate
talkertype=Computer
listener=Khazar Khaganate
listenertype=Computer
@THEN
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
TEXT
A new warlord rises among the Slavs!
ENDTEXT
CREATEUNIT
unit=Warlord
owner=Slavic Tribes
veteran=yes
homecity=none
locations
60,52
endlocations
@ENDIF

@IF
CITYTAKEN
city=Baghdat
attacker=Turkic Khanates
defender=Great Islamic Caliphate
@THEN
@ENDIF

@IF
CITYTAKEN
city=Baghdat
attacker=Turkic Khanates
defender=Great Islamic Caliphate
@THEN
GIVETECHNOLOGY
receiver=Turkic Khanates
technology=91
@ENDIF

@IF
CITYTAKEN
city=Jerusalem
attacker=Khazar Khaganate
defender=ANYBODY
@THEN
TEXT
Jews around the world rejoice as the Khazar horde enters the holy city of Jerusalem. The 
Khagan Bek offers prayers at the Western Wall and is crowned King of Zion by the exultant 
Jews.
ENDTEXT
CHANGEMONEY
receiver=Khazar Khaganate
amount=300
JUSTONCE
@ENDIF

@ENDEVENTS
