@BEGINEVENTS

; Basics

@IF
SCENARIOLOADED
@THEN
PLAYCDTRACK
21
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

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

; Atmosphere

@IF
RANDOMTURN
denominator=5
@THEN
PLAYWAVEFILE
storm.wav
@ENDIF

; Generals

@IF
RANDOMTURN
denominator=64
@THEN
JUSTONCE
TEXT
Jebe Noyan, the most feared Mongol military commander leads his horsemen to battle.
ENDTEXT
CREATEUNIT
owner=Mongols
unit=Jebe Noyan
veteran=no
homecity=NONE
locations
71,51
70,44
70,48
71,47
68,48
64,50
64,46
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=32
@THEN
TEXT
A brilliant Roman general leads the Roman legions.
ENDTEXT
CREATEUNIT
owner=Romans
unit=R. General
veteran=no
homecity=NONE
locations
51,51
51,61
61,51
41,51
51,41
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=32
@THEN
TEXT
An outstanding Viking Hero volunteers to lead his fellow warriors.
ENDTEXT
CREATEUNIT
owner=Vikings
unit=V. General
veteran=no
homecity=NONE
locations
51,31
57,33
38,30
46,26
63,31
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=32
@THEN
TEXT
A valiant general leads the Punians to battle.
ENDTEXT
CREATEUNIT
owner=Punians
unit=P. General
veteran=no
homecity=NONE
locations
31,51
33,57
32,44
25,47
30,38
endlocations
@ENDIF

; Reinforcements

@IF
TURN
turn=16
@THEN
TEXT
People from across the country offer their
services. After a short training period,
these men are assigned to new auxiliary
cohorts.
ENDTEXT
CREATEUNIT
owner=Romans
unit=Auxiliaries
veteran=no
homecity=NONE
locations
51,51
51,61
61,51
41,51
51,41
endlocations
@ENDIF

@IF
TURN
turn=16
@THEN
CREATEUNIT
owner=Romans
unit=Auxiliaries
veteran=no
homecity=NONE
locations
51,51
51,61
61,51
41,51
51,41
endlocations
@ENDIF

@IF
TURN
turn=16
@THEN
CREATEUNIT
owner=Romans
unit=Auxiliaries
veteran=no
homecity=NONE
locations
51,51
51,61
61,51
41,51
51,41
endlocations
@ENDIF

@IF
TURN
turn=16
@THEN
CREATEUNIT
owner=Romans
unit=Auxiliaries
veteran=no
homecity=NONE
locations
51,51
51,61
61,51
41,51
51,41
endlocations
@ENDIF

@IF
TURN
turn=16
@THEN
CREATEUNIT
owner=Romans
unit=Slingers
veteran=no
homecity=NONE
locations
51,51
51,61
61,51
41,51
51,41
endlocations
@ENDIF

@IF
TURN
turn=16
@THEN
CREATEUNIT
owner=Romans
unit=Slingers
veteran=no
homecity=NONE
locations
51,51
51,61
61,51
41,51
51,41
endlocations
@ENDIF

@IF
TURN
turn=16
@THEN
CREATEUNIT
owner=Romans
unit=Peasants
veteran=no
homecity=NONE
locations
51,51
51,61
61,51
41,51
51,41
endlocations
@ENDIF


@IF
RANDOMTURN
denominator=8
@THEN
CREATEUNIT
owner=Zulus
unit=Impis
veteran=yes
homecity=Zimbabwe
locations
51,71
50,68
49,71
52,72
56,70
52,68
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Zulus
unit=Impis
veteran=yes
homecity=Ulundi
locations
44,70
43,69
48,68
42,72
48,70
46,72
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Zulus
unit=Mounted Braves
veteran=yes
homecity=Bapedi
locations
55,77
55,75
58,76
56,74
51,77
54,74
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Zulus
unit=Mounted Braves
veteran=yes
homecity=Hlobane
locations
58,70
56,70
59,69
60,72
55,69
57,73
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
owner=Zulus
unit=Impis
veteran=no
homecity=Isandhlwana
locations
47,77
47,75
45,77
45,75
50,76
49,73
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=24
@THEN
CREATEUNIT
owner=Zulus
unit=Sorcerer
veteran=no
homecity=NONE
locations
51,71
44,70
58,70
55,77
47,77
36,74
66,74
61,77
41,77
endlocations
@ENDIF


@IF
RANDOMTURN
denominator=8
@THEN
CREATEUNIT
owner=Vikings
unit=Dragon Boat
veteran=yes
homecity=Trondheim
locations
51,31
50,32
51,33
53,35
56,34
50,36
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=8
@THEN
CREATEUNIT
owner=Vikings
unit=Dragon Boat
veteran=no
homecity=Kaupang
locations
57,33
55,35
58,34
54,36
57,35
60,34
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Vikings
unit=V. Heavy Cavalry
veteran=no
homecity=Uppsala
locations
38,30
38,28
41,31
37,29
40,28
42,32
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
owner=Vikings
unit=Heroes
veteran=no
homecity=Hladir
locations
46,26
44,26
48,24
48,28
46,28
43,25
endlocations
@ENDIF


@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Punians
unit=Quinquereme
veteran=no
homecity=Carthage
locations
31,51
32,50
33,53
35,49
35,55
36,48
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Punians
unit=Chariots
veteran=no
homecity=Utica
locations
33,57
31,59
33,55
30,56
31,53
34,52
endlocations
@ENDIF


@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Mongols
unit=Junk
veteran=no
homecity=Karakorum
locations
71,51
70,52
69,51
67,49
66,54
67,43
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
owner=Mongols
unit=Shaman
veteran=yes
homecity=Samarkand
locations
70,44
70,46
70,48
68,48
69,43
72,42
endlocations
@ENDIF

; Auxiliaries

@IF
UNITKILLED
unit=B. Infantry
attacker=Romans
defender=ANYBODY
@THEN
TEXT
Rebels are suppressed and trained to become Roman auxiliary troops.
ENDTEXT
CREATEUNIT
owner=Romans
unit=Auxiliaries
veteran=no
homecity=NONE
locations
51,51
51,61
61,51
41,51
51,41
endlocations
@ENDIF

; Leaders

@IF
UNITKILLED
unit=Canute
attacker=Romans
defender=Vikings
@THEN
PLAYWAVEFILE
horns.wav
TEXT
Canute, pride of the Vikings, falls in battle.
While the Viking nation mourns, Romans
celebrate. A pillar is erected in Praetorium in
memory of their victory.
Vikings continue their war ever more fierce to
take revenge.
ENDTEXT
CREATEUNIT
owner=Vikings
unit=Heroes
veteran=yes
homecity=Trondheim
locations
49,29
49,31
53,31
52,34
56,32
54,34
endlocations
@ENDIF

@IF
UNITKILLED
unit=Canute
attacker=Romans
defender=Vikings
@THEN
CREATEUNIT
owner=Vikings
unit=Heroes
veteran=yes
homecity=Uppsala
locations
52,34
49,29
49,31
53,31
56,32
54,34
endlocations
@ENDIF

@IF
UNITKILLED
unit=Canute
attacker=Romans
defender=Vikings
@THEN
CREATEUNIT
owner=Vikings
unit=Heroes
veteran=no
homecity=Hladir
locations
56,32
52,34
49,29
49,31
53,31
54,34
endlocations
@ENDIF

@IF
UNITKILLED
unit=Canute
attacker=Romans
defender=Vikings
@THEN
CREATEUNIT
owner=Vikings
unit=Heroes
veteran=no
homecity=Viborg
locations
49,31
56,32
52,34
49,29
53,31
54,34
endlocations
@ENDIF

@IF
UNITKILLED
unit=Canute
attacker=Romans
defender=Vikings
@THEN
CREATEUNIT
owner=Vikings
unit=V. Heavy Cavalry
veteran=yes
homecity=Kaupang
locations
54,34
53,31
52,34
56,32
49,29
49,31
endlocations
@ENDIF

@IF
UNITKILLED
unit=Canute
attacker=Romans
defender=Vikings
@THEN
CREATEUNIT
owner=Vikings
unit=V. Heavy Cavalry
veteran=yes
homecity=Aarhus
locations
53,31
54,34
52,34
56,32
49,29
49,31
endlocations
@ENDIF

@IF
UNITKILLED
unit=Canute
attacker=Romans
defender=Vikings
@THEN
CREATEUNIT
owner=Vikings
unit=V. Heavy Cavalry
veteran=no
homecity=Lindholm
locations
49,29
53,31
54,34
52,34
56,32
49,31
endlocations
@ENDIF

@IF
UNITKILLED
unit=Canute
attacker=Romans
defender=Vikings
@THEN
CREATEUNIT
owner=Vikings
unit=V. Heavy Cavalry
veteran=no
homecity=Roskilde
locations
52,34
49,29
53,31
54,34
56,32
49,31
endlocations
@ENDIF


@IF
UNITKILLED
unit=Hannibal
attacker=Romans
defender=Punians
@THEN
PLAYWAVEFILE
horns.wav
TEXT
Hannibal is slain after a fierce battle.
Although deeply grieved, the Punians continue
their quest to reach the center of the world.
The Romans build a triumphal arch in
Praetorium to commemorate this great victory.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Shaka
attacker=Romans
defender=Zulus
@THEN
PLAYWAVEFILE
horns.wav
TEXT
Deadly wounded, Shaka is taken captive and
fed to the lions in an over-crowded Colosseum!
The Roman people forget the war for one day to
celebrate.
Totally demoralised, the Zulus continue their fight.
Predicting a safe return for their King, Zulu
sorcerers are lynched throughout the country.
ENDTEXT
GIVETECHNOLOGY
technology=96
receiver=Zulus
@ENDIF

@IF
UNITKILLED
unit=Caesar
attacker=ANYBODY
defender=Romans
@THEN
PLAYWAVEFILE
killed.wav
TEXT
He fought in the front lines and defended his
country valiantly. The greatest Roman emperor
since the beginning of time has left this world.
While the entire country mourns, a lonely farmer
spots a new star in the heavenly firmament.
^
Caesar is dead!
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Genghis Khan
attacker=Romans
defender=Mongols
@THEN
PLAYWAVEFILE
horns.wav
TEXT
Genghis Khan, the wrath of the Orient has
finally met his match.
In a victory march through the capital,
Roman legionaires show their exotic booty
to impress the cheering crowd.
While the Mongols mourn, Subedei Bahadur,
Genghis' most valued general, advisor and
friend, swears to take revenge.
ENDTEXT
GIVETECHNOLOGY
technology=97
receiver=Mongols
CREATEUNIT
owner=Mongols
unit=Subedei Bahadur
veteran=no
homecity=NONE
locations
71,51
70,44
70,48
71,47
68,48
64,50
64,46
endlocations
@ENDIF

; Capitals

@IF
CITYTAKEN
city=Praetorium
attacker=ANYBODY
defender=Romans
@THEN
JUSTONCE
PLAYWAVEFILE
killed.wav
TEXT
The mighty city of Praetorium is sacked!
The center of the world is lost to the greedy
hands of the barbarian invaders. Roman
citizens from all over the country vow to
liberate their capital.
^
Now the Center of the World is lost, the
alliance of Mongols, Punians, Vikings and
Zulus falls apart.
ENDTEXT
CREATEUNIT
owner=Romans
unit=Legionaires
veteran=yes
homecity=NONE
locations
51,53
51,49
53,51
49,51
53,49
49,49
49,53
53,53
endlocations
MAKEAGGRESSION
who=ANYBODY
whom=TRIGGERATTACKER
@ENDIF

@IF
CITYTAKEN
city=Praetorium
attacker=ANYBODY
defender=Romans
@THEN
JUSTONCE
CREATEUNIT
owner=Romans
unit=Legionaires
veteran=yes
homecity=NONE
locations
51,49
53,51
49,51
51,53
54,54
47,51
52,48
49,55
endlocations
@ENDIF

@IF
CITYTAKEN
city=Praetorium
attacker=ANYBODY
defender=Romans
@THEN
JUSTONCE
CREATEUNIT
owner=Romans
unit=R. Heavy Cavalry
veteran=yes
homecity=NONE
locations
53,51
49,51
51,53
51,49
48,48
50,54
54,50
54,48
endlocations
@ENDIF

@IF
CITYTAKEN
city=Praetorium
attacker=ANYBODY
defender=Romans
@THEN
JUSTONCE
CREATEUNIT
owner=Romans
unit=R. Heavy Cavalry
veteran=yes
homecity=NONE
locations
49,51
51,53
51,49
53,51
52,46
49,47
48,54
53,55
endlocations
@ENDIF

@IF
CITYTAKEN
city=Praetorium
attacker=ANYBODY
defender=Romans
@THEN
JUSTONCE
CREATEUNIT
owner=Romans
unit=Auxiliaries
veteran=yes
homecity=NONE
locations
55,51
49,47
53,47
49,51
51,49
53,51
51,53
53,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Praetorium
attacker=ANYBODY
defender=Romans
@THEN
JUSTONCE
CREATEUNIT
owner=Romans
unit=Auxiliaries
veteran=yes
homecity=NONE
locations
51,47
49,55
48,50
53,51
49,51
51,49
51,53
52,54
endlocations
@ENDIF


@IF
CITYTAKEN
city=Zimbabwe
attacker=Romans
defender=Zulus
@THEN
JUSTONCE
PLAYWAVEFILE
horns.wav
TEXT
Zimbabwe has fallen to the Romans. Roman
citizens rejoice and materialize their
celebrations with a grand temple in honor
of Victoria, the godess of victory.
ENDTEXT
CHANGEMONEY
receiver=Romans
amount=250
@ENDIF

@IF
CITYTAKEN
city=Zimbabwe
attacker=Romans
defender=Zulus
@THEN
JUSTONCE
CHANGEMONEY
receiver=Zulus
amount=-500
@ENDIF

@IF
CITYTAKEN
city=Trondheim
attacker=Romans
defender=Vikings
@THEN
JUSTONCE
PLAYWAVEFILE
horns.wav
TEXT
Trondheim, the capital of a once powerful
empire has been captured.
Viking warriors from all over the country
gather to recapture their most important
haven.
ENDTEXT
MOVEUNIT
unit=ANYUNIT
owner=Vikings
maprect
41,21, 61,21, 61,35, 41,35
moveto
51,31
numbertomove=ALL
CHANGEMONEY
receiver=Romans
amount=250
@ENDIF

@IF
CITYTAKEN
city=Trondheim
attacker=Romans
defender=Vikings
@THEN
JUSTONCE
CHANGEMONEY
receiver=Vikings
amount=-500
@ENDIF

@IF
CITYTAKEN
city=Carthage
attacker=Romans
defender=Punians
@THEN
JUSTONCE
PLAYWAVEFILE
horns.wav
TEXT
Carthage, according to legend the oldest
city in the world, is conquered.
Romans loot the city and take Punian
monuments home.
ENDTEXT
CHANGEMONEY
receiver=Romans
amount=500
@ENDIF

@IF
CITYTAKEN
city=Carthage
attacker=Romans
defender=Punians
@THEN
JUSTONCE
CHANGEMONEY
receiver=Punians
amount=-1000
@ENDIF

@IF
CITYTAKEN
city=Karakorum
attacker=Romans
defender=Mongols
@THEN
JUSTONCE
PLAYWAVEFILE
horns.wav
TEXT
Stunned by the beautiful sculptures, gardens
and oriental architecture, Roman legionaires
march through Karakorum, a monumental
melting pot of oriental cultures.
The city is stripped to decorate the Roman
capital.
ENDTEXT
CHANGEMONEY
receiver=Romans
amount=750
CREATEUNIT
owner=Mongols
unit=Golden Horde
veteran=no
homecity=NONE
locations
71,49
72,50
70,48
74,50
71,53
70,46
73,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Karakorum
attacker=Romans
defender=Mongols
@THEN
JUSTONCE
CHANGEMONEY
receiver=Mongols
amount=-1500
CREATEUNIT
owner=Mongols
unit=Golden Horde
veteran=no
homecity=NONE
locations
72,50
70,48
74,50
71,53
70,46
73,53
71,49
endlocations
@ENDIF

@IF
CITYTAKEN
city=Karakorum
attacker=Romans
defender=Mongols
@THEN
JUSTONCE
CREATEUNIT
owner=Mongols
unit=Mounted Archers
veteran=no
homecity=NONE
locations
72,50
71,53
endlocations
@ENDIF

@IF
CITYTAKEN
city=Karakorum
attacker=Romans
defender=Mongols
@THEN
JUSTONCE
CREATEUNIT
owner=Mongols
unit=M. Cavalry
veteran=no
homecity=NONE
locations
73,51
70,48
72,48
70,54
endlocations
@ENDIF

@IF
CITYTAKEN
city=Karakorum
attacker=Romans
defender=Mongols
@THEN
JUSTONCE
CREATEUNIT
owner=Mongols
unit=M. Infantry
veteran=no
homecity=NONE
locations
72,52
71,49
71,53
72,50
73,51
70,48
71,51
endlocations
@ENDIF

; Other cities

@IF
CITYTAKEN
city=Meridiens
attacker=ANYBODY
defender=Romans
@THEN
CREATEUNIT
owner=Romans
unit=Legionaires
veteran=no
homecity=NONE
locations
48,60
54,60
50,60
51,59
52,60
51,57
51,51
endlocations
@ENDIF

@IF
CITYTAKEN
city=Occidens
attacker=ANYBODY
defender=Romans
@THEN
CREATEUNIT
owner=Romans
unit=Legionaires
veteran=no
homecity=NONE
locations
42,48
42,54
42,50
43,51
42,52
45,51
51,51
endlocations
@ENDIF

@IF
CITYTAKEN
city=Oriens
attacker=ANYBODY
defender=Romans
@THEN
CREATEUNIT
owner=Romans
unit=Legionaires
veteran=no
homecity=NONE
locations
60,54
60,48
60,52
59,51
60,50
57,51
51,51
endlocations
@ENDIF

@IF
CITYTAKEN
city=Septentrio
attacker=ANYBODY
defender=Romans
@THEN
CREATEUNIT
owner=Romans
unit=Legionaires
veteran=no
homecity=NONE
locations
48,42
54,42
52,42
50,42
51,43
51,45
51,51
endlocations
@ENDIF

@ENDEVENTS