@DEBUG

@BEGINEVENTS

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

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

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

@IF
RECEIVEDTECHNOLOGY
technology=11
receiver=ANYBODY
@THEN
JUSTONCE
GIVETECHNOLOGY
receiver=TRIGGERRECEIVER
technology=13
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=13
receiver=Euphrattis
@THEN
TEXT
A great knight, Lord Vladimir, arrives in Euphrattia to lead the Quest and defeat the evil Stygians.
He also brings plans for a warship capable of defeating the sea monsters which infest the oceans.
ENDTEXT
CREATEUNIT
unit=Lord Vladimir
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
87,37
92,30
97,31
endlocations
JUSTONCE
GIVETECHNOLOGY
receiver=TRIGGERRECEIVER
technology=78
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=13
receiver=Teutogoths
@THEN
TEXT
A great knight, Lord Vladimir, arrives in Teutogothia to lead the Quest and defeat the evil
Stygians. He also brings plans for a warship capable of defeating the sea monsters which infest the
oceans.
ENDTEXT
CREATEUNIT
unit=Lord Vladimir
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
79,117
84,116
75,125
endlocations
JUSTONCE
GIVETECHNOLOGY
receiver=TRIGGERRECEIVER
technology=78
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=13
receiver=Praetorians
@THEN
TEXT
A great knight, Lord Vladimir, arrives in Praetorium to lead the Quest and defeat the evil
Stygians.
He also brings plans for a warship capable of defeating the sea monsters which infest the oceans.
ENDTEXT
CREATEUNIT
unit=Lord Vladimir
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
108,134
109,125
100,66
endlocations
JUSTONCE
GIVETECHNOLOGY
receiver=TRIGGERRECEIVER
technology=78
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=13
receiver=Illubaboris
@THEN
TEXT
A great knight, Lord Vladimir, arrives in Illubabor to lead the Quest and defeat the evil Stygians.
He also brings plans for a warship capable of defeating the sea monsters which inhabit the oceans.
ENDTEXT
CREATEUNIT
unit=Lord Vladimir
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
51,99
55,107
56,98
endlocations
JUSTONCE
GIVETECHNOLOGY
receiver=TRIGGERRECEIVER
technology=78
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=13
receiver=Xingchang
@THEN
TEXT
A great knight, Lord Vladimir, arrives in Xingchang to lead the Quest and defeat the evil Stygians.
He also brings plans for a warship capable of defeating the sea monsters infesting the oceans.
ENDTEXT
CREATEUNIT
unit=Lord Vladimir
owner=Xingchang
veteran=yes
homecity=none
locations
95,75
102,76
100,66
endlocations
JUSTONCE
GIVETECHNOLOGY
receiver=TRIGGERRECEIVER
technology=78
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=13
receiver=Trivanipore
@THEN
TEXT
A great knight, Lord Vladimir, arrives in Trivanipore to lead the Quest and defeat the evil
Stygians. He also brings plans for a warship capable of defeating the sea monsters which infest the
oceans.
ENDTEXT
CREATEUNIT
unit=Lord Vladimir
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
28,62
34,60
42,62
endlocations
JUSTONCE
GIVETECHNOLOGY
receiver=TRIGGERRECEIVER
technology=78
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=13
receiver=ANYBODY
@THEN
TEXT
The king tells Lord Vladimir, "Your first task is to seek the counsel of the Chaldean Circle. They
will advise you. They are prisoners of the barbarian Prince Igor in the city of Quinsay."
ENDTEXT
CREATEUNIT
unit=Spy Birds
owner=TRIGGERRECEIVER
veteran=no
homecity=none
locations
115,97
111,101
111,95
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Drang Dungeon
attacker=ANYBODY
defender=Stygians
@THEN
TEXT
Marsutan thanks you for his rescue. But he warns, "The Stygians grow strong. There is no time to
lose. We must seek the counsel of the Hermit in the mountains of the Barbarian Kingdom north of
Trivanipore.
ENDTEXT
CREATEUNIT
unit=Marsutan
owner=TRIGGERATTACKER
veteran=yes
homecity=none
locations
71,85
73,87
69,87
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Drang Dungeon
attacker=ANYBODY
defender=Stygians
@THEN
CREATEUNIT
unit=Spy Birds
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
16,24
16,20
17,25
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Quinsay
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The Grand Master of the Chaldean Circle adresses you: "Thank-you for freeing us. Go now to
the Isle of Brimstone. Free our brother, the Wizard Marsutan, from Drang Dungeon. He alone
knows the path ahead. But beware of the fire of the Great Dragon!"
ENDTEXT
CREATEUNIT
unit=Spy Birds
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
73,87
69,87
72,88
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Hermit
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The Hermit lays dying. His last words are: "You must first journey to the city of Nippur, far to the
south. Then travel beyond to the city of Kahun. There you will find a boat. Sail to the Isle of
Mhyrr. Then you must...arrghhh!"
ENDTEXT
CREATEUNIT
unit=Spy Birds
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
25,99
29,99
24,102
endlocations
@ENDIF

@IF
CITYTAKEN
city=Nippur
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The High Chamberlain of Nippur warns you of the journey to Kahun. "It is frought with peril, a
long trek over dragon-infested mountains. It is certain death. But there is the ancient legend of a
hidden way. No one alive knows the secret."
ENDTEXT
CREATEUNIT
unit=Spy Birds
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
30,118
34,118
32,118
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Kahun
attacker=ANYBODY
defender=ANYBODY
@THEN
CREATEUNIT
unit=Boat
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
32,116
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Castle of Mhyrr
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The Count of Mhyrr asks you to capture the Prince of Corsairs, Capitan Valasquez." He preys on
our commerce and kills our subjects. He has dealings with the Stygians, that we know. His fleet is
now active in the Gigian Sea, south of this continent."
ENDTEXT
CREATEUNIT
unit=Corsair
owner=Stygians
veteran=yes
homecity=none
locations
49,139
49,135
54,135
endlocations
JUSTONCE
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=19
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=19
receiver=ANYBODY
@THEN
CREATEUNIT
unit=Castle of Mhyrr
owner=TRIGGERRECEIVER
veteran=no
homecity=none
locations
41,107
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=19
receiver=ANYBODY
@THEN
TEXT
Local merchants tell you of the appearance of  Wraiths at Styx! "You must raise an army and
prevent the capture of the Great Library at Tugalete," they warn, "for it contains many ancient
scrolls the Stygians desire for their evil scheme."
ENDTEXT
CREATEUNIT
unit=Spy Birds
owner=TRIGGERRECEIVER
veteran=no
homecity=none
locations
21,143
25,143
23,137
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=19
receiver=ANYBODY
@THEN
CREATEUNIT
unit=Wraith
owner=Stygians
veteran=yes
homecity=none
locations
8,126
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Tugalete
attacker=Stygians
defender=ANYBODY
@THEN
TEXT
The Great Library of Tugalete is captured by the Stygians. It contains the missing incantations
needed to create the Chamber of Black Arts! Your doom is approaching!
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=62
@ENDIF

@IF
CITYTAKEN
city=Tugalete
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Various spells are discovered amongst the scrolls of the Great Library. By candlelight the
conqueror studies long into the night. But only a wizard can master them.
ENDTEXT
CREATEUNIT
unit=Blitzen Spell
owner=TRIGGERATTACKER
veteran=yes
homecity=none
locations
23,141
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Corsair
attacker=ANYBODY
defender=Stygians
@THEN
TEXT
Capitan Valasquez is captured, his fleet sunk. "The Stygians enchanted me. But I remember
this: far to the north of the Land of the Euphrattis is the Sea of Illusion. Beware of it! Hidden
within is the Seer of Illbab. He knows many secrets you desire. I can teach you Heroic Arms."
ENDTEXT
CREATEUNIT
unit=Spy Birds
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
101,1
100,2
100,0
endlocations
JUSTONCE
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=33
@ENDIF

@IF
UNITKILLED
unit=Seer of Illbab
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The Seer of Illbab grants the secret of True Faith. "I will teach you also the Spell of Conflagration.
Do not squander this gift. It may only be used once. Go now, there is little time to lose!"
ENDTEXT
CREATEUNIT
unit=Conflagration Spell
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
96,6
98,4
94,4
endlocations
JUSTONCE
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=0
@ENDIF

@IF
UNITKILLED
unit=Seer of Illbab
attacker=Trivanipore
defender=ANYBODY
@THEN
TEXT
"Learn Holy War from the Praetorian King."
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Praetorians
technology=2
@ENDIF

@IF
UNITKILLED
unit=Seer of Illbab
attacker=Euphrattis
defender=ANYBODY
@THEN
TEXT
"Learn Holy War from the King of Xinchang."
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Xingchang
technology=2
@ENDIF

@IF
UNITKILLED
unit=Seer of Illbab
attacker=Teutogoths
defender=ANYBODY
@THEN
TEXT
"Learn Holy War from the King of Illubabor."
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Illubaboris
technology=2
@ENDIF

@IF
UNITKILLED
unit=Seer of Illbab
attacker=Praetorians
defender=ANYBODY
@THEN
TEXT
"Learn Holy War from the King of Trivanipore."
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Trivanipore
technology=2
@ENDIF

@IF
UNITKILLED
unit=Seer of Illbab
attacker=Xingchang
defender=ANYBODY
@THEN
TEXT
"Learn Holy War from the King of the Euphrattis."
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Euphrattis
technology=2
@ENDIF

@IF
UNITKILLED
unit=Seer of Illbab
attacker=Illubaboris
defender=ANYBODY
@THEN
TEXT
"Learn Holy War from the King of the Teutogoths."
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Teutogoths
technology=2
@ENDIF

@IF
CITYTAKEN
city=Sidon
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The wizard Arzzune of Sidon offers a Tempest Spell.
ENDTEXT
CREATEUNIT
unit=Tempest Spell
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
114,40
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Gigia
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The wizard Dragnost of Gigia offers a Blitzen Spell.
ENDTEXT
CREATEUNIT
unit=Blitzen Spell
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
43,141
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Westness
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The wizard Arnaulf of Westness offers a Tempest Spell.
ENDTEXT
CREATEUNIT
unit=Tempest Spell
owner=TRIGGERATTACKER
veteran=no
homecity=none
locations
12,42
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
TEXT
Satan has been summoned! Your Doom is at hand!
ENDTEXT
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
58,2
endlocations
PLAYWAVEFILE
BEGIN.WAV
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
8,126
111,51
68,132
36,94
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
70,82
114,76
26,110
19,39
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Ghost Riders
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
101,15
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Ghost Riders
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
111,51
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Ghost Riders
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
96,116
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Ghost Legions
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
114,76
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Ghost Legions
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
96,153
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Ghost Legions
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
68,132
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Ghost Riders
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
67,151
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Ghost Riders
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
26,110
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Ghost Legions
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
32,106
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Ghost Riders
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
36,94
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Ghost Riders
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
19,39
endlocations
@ENDIF

@IF
UNITKILLED
unit=Gates of Hell
attacker=ANYBODY
defender=Stygians
@THEN
TEXT
The Gates of Hell are cast down!
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Stygians
technology=32
@ENDIF

@IF
CITYTAKEN
city=Malebolge
attacker=ANYBODY
defender=Stygians
@THEN
TEXT
Malebolge, Capital of the Stygians, has fallen to your heroic forces Victory is yours! Evil is
defeated, Satan banished. Congratulations, you have won the game!
ENDTEXT
PLAYWAVEFILE
CATHEDRL.WAV
DESTROYACIVILIZATION
whom=Stygians
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
101,15
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
111,51
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
96,116
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
114,76
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
95,153
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
68,132
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
67,151
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
26,110
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
32,106
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
36,94
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=Stygians
@THEN
CREATEUNIT
unit=Lucifer
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
19,39
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
unit=War Wolves
owner=Stygians
veteran=no
homecity=none
locations
36,36
57,41
37,45
endlocations
PLAYWAVEFILE
VPRIC.WAV
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
unit=War Wolves
owner=Stygians
veteran=no
homecity=none
locations
85,129
89,127
84,134
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
unit=War Wolves
owner=Stygians
veteran=no
homecity=none
locations
114,130
113,133
110,140
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
unit=War Wolves
owner=Stygians
veteran=no
homecity=none
locations
103,69
104,72
101,69
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
unit=War Wolves
owner=Stygians
veteran=no
homecity=none
locations
86,44
91,37
93,35
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
unit=War Wolves
owner=Stygians
veteran=no
homecity=none
locations
44,88
45,91
46,84
endlocations
@ENDIF

@IF
UNITKILLED
unit=Hermit
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Stygian ambush! The Undead rise from their graves!
ENDTEXT
CREATEUNIT
unit=Undead
owner=Stygians
veteran=no
homecity=none
locations
21,27
21,25
21,23
endlocations
@ENDIF

@IF
UNITKILLED
unit=Hermit
attacker=ANYBODY
defender=ANYBODY
@THEN
CREATEUNIT
unit=Undead
owner=Stygians
veteran=no
homecity=none
locations
14,24
16,22
16,20
endlocations
@ENDIF

@IF
UNITKILLED
unit=Seer of Illbab
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The warship's captain warns, "There's a storm brewing, sire.
And it doesn't look natural.
ENDTEXT
CREATEUNIT
unit=Tempest Spell
owner=Stygians
veteran=yes
homecity=none
locations
104,0
105,1
104,2
endlocations
@ENDIF

@IF
SCENARIOLOADED
@THEN
DONTPLAYWONDERS
@ENDIF

@IF
TURN
turn=0
@THEN
PLAYWAVEFILE
VPRIC.WAV
@ENDIF

@ENDEVENTS
