@BEGINEVENTS

@IF
randomturn
denominator=3
@THEN
createunit
unit=Bulgar Horse
owner=Barbarians
veteran=yes
homecity=none
locations
43,30
43,30
endlocations
@ENDIF

@IF
UNITKILLED
unit=Latin Epilect
attacker=Anybody
defender=Empireof Constantinople
@THEN
createunit
unit=Lombard
owner=Barbarians
veteran=no
homecity=none
locations
89,47
91,47
endlocations
@ENDIF

@IF
UNITKILLED
unit=Defender
attacker=Empireof Constantinople
defender=Empireof Constantinople
@THEN
TEXT
Civil war in Thessalonike, Emperor Henry is driving the lombards out!
ENDTEXT
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Phillipoupolis
attacker=Empireof Constantinople
defender=ANYBODY
@THEN
TEXT
It is the year 1205, Renier de Trit takes Philippoupolis and becomes a duke there. In southern
Greece Bonfiace of Montferrat takes Thebes and Athens and Corinth. In Morea Geoffrey of
Villehardouin lands at Methone.
ENDTEXT
JUSTONCE
@ENDIF

@IF
TURN
turn=13
@THEN
TEXT
Naxos and most of the Cyclades are capsured by Marco Sanudo, the nephew of the Doge, in
1207. He now calls himself "Duke of the Aegean Sea". Meanwhile, in Bulgaria, the civil war 
seems more imminent than ever...
ENDTEXT
CREATEUNIT
unit=Peasant rebels
owner=Barbarians
veteran=no
homecity=none
locations
84,12
84,8
endlocations
@ENDIF

@IF
TURN
turn=14
@THEN
TEXT
Henry is crowned Emperor of the Latin Empire of Constantinople!
ENDTEXT
CREATEUNIT
unit=templar
owner=Empireof Constantinople
veteran=yes
homecity=Constantinople
locations
70,70
70,70
endlocations
MAKEAGGRESSION
who=Empireof Constantinople
whom=Minor latin kingdoms
@ENDIF

@IF
TURN
turn=16
@THEN
TEXT
Emperor Henry manages to secure (for the time being) his position in the north of asia minor.
Nicaea maintains the lands south of Pergamos, but loses utterly control of the Bosporus.
ENDTEXT
CREATEUNIT
unit=Latin Knight
owner=Empireof Constantinople
veteran=yes
homecity=Constantinople
locations
73,71
73,69
endlocations
@ENDIF

@IF
TURN
turn=17
@THEN
CREATEUNIT
unit=Mounted Knight
owner=Empireof Constantinople
veteran=yes
homecity=none
locations
71,71
73,71
endlocations
@ENDIF

@IF
CITYTAKEN
city=Attramytion
attacker=Empireof Constantinople
defender=Byzantine Empire
@THEN
TEXT
Attramytion is conquered by the latin empire of Constantinople!
ENDTEXT
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Dyrrachion
attacker=Empire of Thessalonike
defender=Minor latin kingdoms
@THEN
TEXT
Theodore of Epiros liberates Dyrrachion! The despotate of Epiros grows in size and power.
ENDTEXT
CREATEUNIT
unit=Stratiotai
owner=Empire of Thessalonike
veteran=yes
homecity=none
locations
14,56
12,56
endlocations
CHANGEMONEY
receiver=Empire of Thessalonike
amount=60
JUSTONCE
@ENDIF

@IF
TURN
turn=21
@THEN
TEXT
Emperor Henry dies at the age of forty. The barons choose Peter of Courtenay as the new
emperor, and Conon of Bthune to serve as bailie until Peter should arrive from Europe. He went
to Rome and was crowned there by  the pope. With an army of 6,000 he crosses the Adriatic
and besieges Durrachion.
ENDTEXT
CREATEUNIT
unit=Templar
owner=Empireof Constantinople
veteran=no
homecity=none
locations
6,48
endlocations
@ENDIF

@IF
UNITKILLED
unit=Templar
attacker=Empire of Thessalonike
defender=Empireof Constantinople
@THEN
TEXT
Peter of Courtheney, seing that the siege of Dyrrachion took more time than anticipated, decided to
march overland to Constantinople. However he was captured by Theodore, and improsoned in
Epiros untill his death, in 1219.
ENDTEXT
JUSTONCE
@ENDIF

@IF
TURN
turn=19
@THEN
CREATEUNIT
unit=Pyrophoroi
owner=Empire of Thessalonike
veteran=yes
homecity=Ioannena
locations
5,51
endlocations
MAKEAGGRESSION
who=Empire of Bulgaria
whom=Empire of Thessalonike
@ENDIF

@IF
TURN
turn=27
@THEN
TEXT
The Nicaean emperor Theodore Lascaris dies in August 1222, and is succeeded by his
daughter's husband, John Ducas Vatatzes.
ENDTEXT
@ENDIF

@IF
TURN
turn=35
@THEN
TEXT
Theodore of Epirus had gone to war with Bulgaria. In 1230, at Klokotnitsa, John Asen
completely defeated the Epirotes and captured Theodore. The Bulgarians swept across western
Thrace, conquered Thessaly and much of Albania. In command of most of the Balkans and
northern Greece, John Asen now began to call himself Emperor of the Bulgars and the Greeks.
He was now openly trying to drive the Latins out, and made a treaty to this effect with the
Nicaean emperor Vatatzes in 1235.
ENDTEXT
CREATEUNIT
unit=Bulgar Epilect
owner=Empire of Bulgaria
veteran=yes
homecity=none
locations
43,43
39,43
39,45
37,45
endlocations
CHANGEMONEY
receiver=Empire of Bulgaria
amount=600
MAKEAGGRESSION
who=Empire of Bulgaria
whom=Empire of Thessalonike
@ENDIF

@IF
TURN
turn=34
@THEN
CREATEUNIT
unit=Bulgar Epilect
owner=Empire of Bulgaria
veteran=yes
homecity=none
locations
51,43
49,43
47,43
45,43
endlocations
MAKEAGGRESSION
who=Empire of Bulgaria
whom=Empire of Thessalonike
@ENDIF

@IF
CITYTAKEN
city=Thessalonike
attacker=Empire of Thessalonike
defender=Empireof Constantinople
@THEN
TEXT
Theodore liberates the old byzantine co-capital, the city of Thessalonike! The despotate of Epiros
becomes the Empire of Thessalonike! Now the "AYTOKPATOPIA THs 8ECCA^ONIKHs" is 
the dominant power in Macedonia, Epiros and the lower balcans.
ENDTEXT
CREATEUNIT
unit=Stratiotai
owner=Empire of Thessalonike
veteran=yes
homecity=Thessalonike
locations
37,47
39,47
endlocations
CHANGEMONEY
receiver=Empire of Thessalonike
amount=400
MAKEAGGRESSION
who=Byzantine Empire
whom=Empire of Thessalonike
JUSTONCE
GIVETECHNOLOGY
receiver=Empire of Thessalonike
technology=72
@ENDIF

@IF
TURN
turn=79
@THEN
TEXT
Michael Palaiologos wanted an alliance with the papacy, which finally led to a formal union of the
two churches in 1274; the emperor and his clergy agreed to accept papal supremacy at the
Council of Lyons.
A large proportion of the Byzantines, however, rejected the union and a party opposed to the
emperor's religious policy gathered around the so-called Arsenites.
ENDTEXT
CREATEUNIT
unit=Epanastat
owner=Barbarians
veteran=no
homecity=none
locations
74,84
74,82
74,80
endlocations
CHANGEMONEY
receiver=Byzantine Empire
amount=-400
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Serb Horseman
owner=Kingdom of Serbia
veteran=yes
homecity=none
locations
10,18
10,20
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=16
@THEN
TEXT
A new latin king is crowned in Frankish Hellas!
ENDTEXT
CREATEUNIT
unit=Latin King
owner=Minor latin kingdoms
veteran=no
homecity=none
locations
31,85
endlocations
@ENDIF

@IF
TURN
turn=87
@THEN
TEXT
Andronikos II Palaiologos ascends to the Byzantine throne.
In most affairs Andonikos' policy differed radically from that of his father, Michael. He repudiated
the union of Lyons and returned to "orthodoxy;" some of the more radical Arsenites, however,
rejected communion with members of the government and the old zealot-moderate controversy
broke out anew.
Andronikos based his naval policy on alliance with the Genoese alone.
In the Balkans he made a treaty with King Milutin of Serbia, but he had to face continued
pressure from Bulgaria.
In the center of the empire the Catalan Company, a body of Spanish mercenaries, established
themselves as an independent power.
In Asia Minor the Ottoman Turks continued their advance.
ENDTEXT
CREATEUNIT
unit=Peasant Rebels
owner=Barbarians
veteran=no
homecity=none
locations
74,82
74,80
endlocations
CHANGEMONEY
receiver=Byzantine Empire
amount=-800
MAKEAGGRESSION
who=Empire of Bulgaria
whom=Byzantine Empire
GIVETECHNOLOGY
receiver=Byzantine Empire
technology=94
@ENDIF

@IF
TURN
turn=88
@THEN
MAKEAGGRESSION
who=Kingdom of Serbia
whom=Empire of Bulgaria
@ENDIF

@IF
TURN
turn=125
@THEN
TEXT
For essentially unimportant reasons a quarrel broke out between Andronikos II and his grandson
Andronikos III The civil was which followed soon took on important political, social, and even
religious connections.
In general, the aristocracy opposed the elder Andronikos.
ENDTEXT
CHANGEMONEY
receiver=Byzantine Empire
amount=-1000
createunit
unit=Epanastat
owner=Barbarians
veteran=no
homecity=none
locations
90,86
90,84
78,80
78,78
72,84
72,82
endlocations
@ENDIF

@IF
CITYTAKEN
city=Athena
attacker=Empire of Thessalonike
defender=Minor latin kingdoms
@THEN
TEXT
Athena, one of the most ancient cities of Europe and the world, is taken by the Empire of
Thessalonike!
ENDTEXT
CHANGEMONEY
receiver=Empire of Thessalonike
amount=200
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Kastoria
attacker=Empire of Thessalonike
defender=ANYBODY
@THEN
TEXT
One of the most important byzantine cities in Macedonia, Kastoria falls to the Epirotan advance!
ENDTEXT
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Templar
attacker=Empireof Constantinople
defender=Minor latin kingdoms
@THEN
TEXT
The latin empire of Constantinople has attacked the border of the southern greek latin conquest!
ENDTEXT
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Latin King
attacker=ANYBODY
defender=Minor latin kingdoms
@THEN
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=200
CREATEUNIT
unit=Peasant rebels
owner=Barbarians
veteran=no
homecity=none
locations
34,84
36,84
endlocations
@ENDIF

@IF
UNITKILLED
unit=Kastro
attacker=Empireof Constantinople
defender=Minor latin kingdoms
@THEN
TEXT
The Latin empire of Constantinople is moving against the dutchy of Athens!
ENDTEXT
MAKEAGGRESSION
who=Empire of Bulgaria
whom=Empireof Constantinople
JUSTONCE
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
unit=Hungarian
owner=Minor latin kingdoms
veteran=yes
homecity=none
locations
24,4
14,2
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
unit=Wallachian
owner=Barbarians
veteran=no
homecity=none
locations
84,14
86,14
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ottoman Auxiliary
attacker=ANYBODY
defender=Byzantine Empire
@THEN
TEXT
The ottomans become even more mixed into Anatolian politics.
ENDTEXT
CREATEUNIT
unit=Ottoman
owner=Barbarians
veteran=no
homecity=none
locations
119,97
119,99
119,101
endlocations
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

@IF
CITYTAKEN
city=Beograd
attacker=Kingdom of Serbia
defender=ANYBODY
@THEN
TEXT
The kingdom of Serbia has liberated Beograd! Perhaps now it will become a really accountable
antagonist in the central balcan scene.
ENDTEXT
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Bar
attacker=Kingdom of Serbia
defender=ANYBODY
@THEN
TEXT
By Conquering Bar, the Serbs now have an exit to the sea.
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Kingdom of Serbia
technology=97
@ENDIF

@IF
TURN
turn=18
@THEN
TEXT
Theodore I marches to the south-eastern balcans!
ENDTEXT
CREATEUNIT
unit=Theodoros
owner=Empire of Thessalonike
veteran=no
homecity=none
locations
6,44
endlocations
@ENDIF

@IF
TURN
turn=36
@THEN
TEXT
The Bulgarians, under John Asen, storm Macedonia!
ENDTEXT
CREATEUNIT
unit=John Ashen
owner=Empire of Bulgaria
veteran=no
homecity=none
locations
51,43
endlocations
@ENDIF

@IF
UNITKILLED
unit=Serb Knight
attacker=ANYBODY
defender=Empire of Thessalonike
@THEN
TEXT
Serb merceneries are slaughtered for the Empire of Thessalonike cause!
ENDTEXT
MAKEAGGRESSION
who=Kingdom of Serbia
whom=Empire of Thessalonike
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Bulgar Epilect
owner=Empire of Bulgaria
veteran=yes
homecity=none
locations
99,23
endlocations
@ENDIF

@IF
NEGOTIATION
talker=Empireof Constantinople
talkertype=Computer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Kingdom of Serbia
talkertype=Computer
listener=Empire of Bulgaria
listenertype=Computer
@THEN
@ENDIF

@IF
TURN
turn=36
@THEN
TEXT
The immediate effect of the disastrous defeat at Klokonitsa was the collapse of any organisation in 
the Empire of Thessalonike.
ENDTEXT
CREATEUNIT
unit=Peasant Rebels
owner=Barbarians
veteran=no
homecity=none
locations
14,66
12,66
endlocations
@ENDIF

@IF
UNITKILLED
unit=Bulgar Peon
attacker=ANYBODY
defender=Empire of Thessalonike
@THEN
TEXT
Bulgarian merceneries are slaughtered for Thessalonike! The Czar takes advantage of this to 
further fanatisize his troops.
ENDTEXT
CREATEUNIT
unit=Bulgar Epilect
owner=Empire of Bulgaria
veteran=no
homecity=none
locations
92,26
endlocations
MAKEAGGRESSION
who=Empire of Bulgaria
whom=Empire of Thessalonike
@ENDIF

@IF
RANDOMTURN
denominator=6
@THEN
CREATEUNIT
unit=Psilos Swordsman
owner=Byzantine Empire
veteran=no
homecity=none
locations
74,80
74,78
endlocations
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=Empireof Constantinople
listenertype=Computer
@THEN
@ENDIF

@IF
RANDOMTURN
denominator=8
@THEN
CREATEUNIT
unit=Serb Knight
owner=Empire of Thessalonike
veteran=yes
homecity=none
locations
14,56
12,56
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=16
@THEN
CREATEUNIT
unit=Strategos
owner=Kingdom of Serbia
veteran=no
homecity=none
locations
11,25
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=16
@THEN
CREATEUNIT
unit=Strategos
owner=Empire of Bulgaria
veteran=no
homecity=none
locations
69,19
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=15
@THEN
CREATEUNIT
unit=Strategos
owner=Empire of Thessalonike
veteran=no
homecity=none
locations
36,50
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=15
@THEN
CREATEUNIT
unit=Strategos
owner=Byzantine Empire
veteran=no
homecity=none
locations
88,84
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=6
@THEN
CREATEUNIT
unit=Venetian Galera
owner=Veneto
veteran=yes
homecity=none
locations
49,99
51,99
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=4
@THEN
CREATEUNIT
unit=Ottoman
owner=Barbarians
veteran=no
homecity=none
locations
119,95
119,97
endlocations
@ENDIF

@IF
TURN
turn=22
@THEN
CREATEUNIT
unit=Anatolian
owner=Barbarians
veteran=no
homecity=none
locations
119,95
endlocations
TEXT
The ottoman threat is awaking in Anatolia.
ENDTEXT
JUSTONCE

@IF
UNITKILLED
unit=Strategos
attacker=anybody
defender=anybody
@THEN
changemoney
receiver=triggerdefender
amount=-200
@ENDIF

@IF
randomturn
denominator=7
@THEN
createunit
unit=Staurophoroi
owner=Minor latin kingdoms
veteran=yes
homecity=none
locations
31,85
endlocations
@ENDIF

@IF
randomturn
denominator=7
@THEN
createunit
unit=Latin Epilect
owner=empireof Constantinople
veteran=yes
homecity=none
locations
100,54
endlocations
@ENDIF

@IF
Randomturn
denominator=4
@THEN
createunit
unit=Bulgar Horse
owner=Barbarians
veteran=no
homecity=none
locations
46,24
33,27
27,37
19,37
endlocations
@ENDIF

@IF
Randomturn
denominator=10
@THEN
createunit
unit=Phoideratoi
owner=Empire of Thessalonike
veteran=no
homecity=none
locations
36,50
endlocations
@ENDIF

@IF
unitkilled
unit=Bulgar Epilect
attacker=ANYBODY
defender=Empire of Bulgaria
@THEN
createunit
unit=Peasant Rebels
owner=Barbarians
veteran=no
homecity=none
locations
84,16
endlocations
@ENDIF

@IF
unitkilled
unit=Serb Horseman
attacker=anybody
defender=Kingdom of Serbia
@THEN
createunit
unit=Peasant Rebels
owner=Barbarians
veteran=no
homecity=none
locations
28,22
endlocations
@ENDIF

@IF
Randomturn
denominator=40
@THEN
TEXT
Nicaean pretender to the throne of Empire of Thessalonike!
ENDTEXT
Createunit
unit=Pretender Army
owner=Byzantine empire
veteran=no
homecity=none
locations
14,62
12,62
endlocations
@ENDIF

@IF
Randomturn
denominator=40
@THEN
TEXT
Empire of Thessalonike pretender to the throne of Nicaea!
ENDTEXT
Createunit
unit=Pretender Army
owner=Empire of Thessalonike
veteran=no
homecity=none
locations
101,69
100,70
endlocations
@ENDIF

@IF
unitkilled
unit=Psilos Swordsman
attacker=ANYBODY
defender=Byzantine Empire
@THEN
createunit
unit=Epanastat
owner=Barbarians
veteran=no
homecity=none
locations
83,85
80,90
endlocations
@ENDIF

@IF
unitkilled
unit=Phoideratoi
attacker=Anybody
defender=empire of Thessalonike
@THEN
createunit
unit=Epanastat
owner=Barbarians
veteran=no
homecity=none
locations
27,49
10,58
endlocations
@ENDIF

@ENDEVENTS