@BEGINEVENTS
@DEBUG

@IF
TURN
turn=39
@THEN
TEXT
Athens, ripped apart by the revolution, sees little chances of survival.
Kleisthenes recognizes that the Persians are gaining more and more influence
in Hellas. 
Shortly afterwards, an alliance is formed.
Shall the Athenians stay loyal?
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Anausha
attacker=ANYBODY
defender=Persians
@THEN
TEXT
A part of the Immortal 10,000 is killed! Heavy loss of respect in the Persian army!
The recrution of a new garrison eats up a heavy amount of Persian reserves!
ENDTEXT
CREATEUNIT
unit=Anausha
owner=TRIGGERDEFENDER
veteran=yes
homecity=none
locations
108,56
99,55
98,46
106,52
66,44
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver=TRIGGERDEFENDER
amount=-500
@ENDIF

@IF
RANDOMTURN
denominator=25
@THEN
TEXT
A brilliant General appears to lead the Persians into victory!
ENDTEXT
CREATEUNIT
unit=Hazarapatish
owner=Persians
veteran=yes
homecity=none
locations
108,56
99,55
98,46
106,52
66,44
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=25
@THEN
TEXT
A brilliant General appears to lead the Athenians into victory!
ENDTEXT
CREATEUNIT
unit=Strategos
owner=Athenians
veteran=yes
homecity=none
locations
57,43
58,40
54,40
73,25
60,38
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=9
@THEN
TEXT
A new Phalanx squadron is recruited in Athens.
ENDTEXT
CREATEUNIT
unit=Athenian Phalanx
owner=Athenians
veteran=yes
homecity=none
locations
57,43
0,0
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=7
@THEN
CREATEUNIT
unit=Spartan Hoplites
owner=Spartans
veteran=yes
homecity=none
locations
54,48
53,45
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=9
@THEN
TEXT
A new Phalanx squadron is recruited in Sparta.
ENDTEXT
CREATEUNIT
unit=Heavy Phalanx
owner=Spartans
veteran=yes
homecity=none
locations
54,48
0,0
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=13
@THEN
CREATEUNIT
unit=Ionians
owner=Ionians
veteran=yes
homecity=none
locations
63,47
62,44
63,51
59,47
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
CITYTAKEN
city=Athinai
attacker=Spartans
defender=Athenians
@THEN
TEXT
The revolt,initated by Sparta and the Athenian riots is successful! Hippias is
hunted out of the city, and flees to Ionia!
The Spartans give Isagoras, a Spartan-friendly archont the power over the state.
Although not quite happy with the policy of Sparta, the Athenians at first accept
the (for them) provisoric government. The most important thing is that the despotic
tyrant Hippias is out.
ENDTEXT
@ENDIF

@IF
TURN
turn=34
@THEN
TEXT
Once again, the outer walls of the Akropolis see an Athenian mob rise up. The
rioters seek to dethrone Isagoras, under whom the situation of Athens got even
worse than before, as it is obviously only for the favour of the Spartans.
Coincidentally, the Spartan king Kleomenes is als present, and he and Isagoras
flee into the safe walls of the Akropolis. 
The Athenians cry for Democracy, and by all gods, they will do everything toget it!
ENDTEXT
CREATEUNIT
owner=Athenians
veteran=yes
homecity=NONE
unit=Athenian Phalanx
locations
56,44
58,44
56,42
endlocations
@ENDIF

@IF
TURN
turn=34
@THEN
MAKEAGRESSION
who=Athenians
whom=Spartans
CREATEUNIT
owner=Athenians
veteran=yes
homecity=NONE
unit=Athenian Phalanx
locations
56,44
58,44
56,42
endlocations
@ENDIF

@IF
CITYTAKEN
city=Athinai
attacker=Athenians
defender=Spartans
@THEN
TEXT
Isagoras and Kleomenes surrender. The Spartans are permitted by the Athenians to
safely get out of the city, Isagoras secretly flees with them, but his staff
and followers are caught and executed.  
The Spartans, who successfully besieged and conquered the Akropolis 2 years before,
and now found themselves besieged and defeated, decide to overthink political
actions in Athens in the future.
Kleisthenes now takes over the lead in the Athenian state, and begins a series
of democratic reforms.
ENDTEXT
GIVETECHNOLOGY
technology=17
receiver=Athenians
@ENDIF

@IF
CITYTAKEN
city=Susa
attacker=ANYBODY
defender=Persians
@THEN
TEXT
Susa falls! The great city is being burned down and members of the royal staff captured and
executed! Persia loses all riches and it is uncertain wether they can capture back both the city and
its ancient glory!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERDEFENDER
amount=-1000
@ENDIF

@IF
TURN
turn=63
@THEN
TEXT
^^Miletos, 499 BC
^
^Civil disorder against the Persians grow. Outraged to the far because of the
despotic leadership of the Lydian satrap Artaphernes and Dareios' hellenic policy,
the asian Greeks demand independence.
The struggle escalates when Aristagoras, the son-in-law of Histiaios, tyrant of
Miletos, has a personal disagreement with the satrap.
A sudden wave of patriotism arrives in Greece. Athens and Eretria immediately
take party for the Greeks of Asia Minor, and Sparta, head of the Pelopponesian
League, at least shows sympathy for the rebels. 
^
^Betrayal to the king, this is what the Greeks want. And this doesen't seem to 
far. Histiaios has travelled to the Great King in Susa. From here, he seeks to
direct Aristagoras what to do next...
ENDTEXT
@ENDIF

@IF
TURN
turn=63
@THEN
TEXT
^^"I hear, Histiaios, that your representative, whom you gave the power over
Miletos, has uprised against me. He is leading a force from the other mainland
against me at this moment, and his followers include Ionians, who will have to
pay for this treachery. He convinced the Ionians to follow him and has taken 
Sardeis. Now, explain to me, how you can approve that! How could this have happened
without your consultation? Be careful, so that you don't have to admit your guilt!"
^
^^-Dareios (Herodotos, Book V, 106)
ENDTEXT
@ENDIF

@IF
TURN
turn=63
@THEN
TEXT
^^PART THREE: EAST AGAINST WEST
^
^Please install the file "Events3.txt"
ENDTEXT
@ENDIF

@IF
TURN
turn=-1
@THEN
CHANGEMONEY
receiver=Persians
amount=100
@ENDIF
@IF
RANDOMTURN
denominator=10
@THEN
CHANGEMONEY
receiver=Persians
amount=200
@ENDIF

@IF
UNITKILLED
unit=Miltiades
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Miltiades, one of the greatest heroes of Greece dies in battle. All of Greece goes into mourning.
ENDTEXT
@ENDIF

@IF
RANDOMTURN
denominator=7
@THEN
CREATEUNIT
unit=Medians
owner=Persians
veteran=yes
homecity=none
locations
98,40
99,43
97,43
97,45
96,46
97,47
99,47
99,45
96,44
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Mounted Archers
owner=Independent Tribes
veteran=yes
homecity=none
locations
123,21
121,21
121,25
123,25
123,31
117,31
114,32
120,18
124,18
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Scythian Cavalry
owner=Independent Tribes
veteran=yes
homecity=none
locations
112,34
111,35
110,36
110,34
110,32
108,30
110,26
112,26
111,27
endlocations
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=Ionians
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Carthaginians
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Ionians
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=Carthaginians
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Independent Tribes
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=Independent Tribes
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=Vassals
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Vassals
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Spartans
talkertype=HumanOrComputer
listener=Persians
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Persians
talkertype=HumanOrComputer
listener=Spartans
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Persians
talkertype=HumanOrComputer
listener=Athenians
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Athenians
talkertype=HumanOrComputer
listener=Persians
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
TURN
turn=63
@THEN
MAKEAGGRESSION
who=Ionians
whom=Persians
@ENDIF

@IF
TURN
turn=63
@THEN
CREATEUNIT
unit=Aristagoras
owner=Ionians
veteran=yes
homecity=Miletos
locations
65,45
64,44
66,46
67,43
67,45
68,44
endlocations
@ENDIF

@IF
TURN
turn=63
@THEN
CREATEUNIT
unit=Ionians
owner=Ionians
veteran=no
homecity=none
locations
63,47
endlocations
@ENDIF

@IF
TURN
turn=63
@THEN
CREATEUNIT
unit=Ionians
owner=Ionians
veteran=no
homecity=none
locations
63,47
endlocations
@ENDIF

@IF
TURN
turn=63
@THEN
CREATEUNIT
unit=Phrygians
owner=Ionians
veteran=no
homecity=none
locations
63,47
endlocations
@ENDIF

@IF
TURN
turn=63
@THEN
CREATEUNIT
unit=Phrygians
owner=Ionians
veteran=no
homecity=none
locations
63,47
endlocations
@ENDIF

@IF
TURN
turn=63
@THEN
CREATEUNIT
unit=Phrygians
owner=Ionians
veteran=no
homecity=none
locations
63,47
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
TEXT
Saith Dareios the King: May Ahura Mazda bear me aid, with the gods of the royal
house; and may Ahura Mazda protect this country from a hostile army, from famine,
from the Lie! Upon this country may there not come an army, nor famine nor the
Lie; this I pray as a boon from Ahura Mazda together with the gods of the loyal
house. This boon may Ahura Mazda together with the gods of the royal house give me!
ENDTEXT
JUSTONCE
@ENDIF

@ENDEVENTS