@BEGINEVENTS
@INITFLAG

IF
Negotiation
talker=anybody
talkertype=humanorcomputer
listener=anybody
listenertype=humanorcomputer

@IF
Negotiation
talker=anybody
talkertype=humanorcomputer
listener=anybody
listenertype=humanorcomputer


; Important Dates

@IF
Turn
turn=1
@THEN
text
^^THE LEGACY OF DRACULA
^
^King Matthias of Hungary, and Prince Vlad of Wallachia launch a Crusade
against the Ottoman Empire. The world's attention is drawn to southern
Wallachia where Vlad hopes to drive away the Sultan's forces. Matthias,
wanting a piece of the action, prepares to lead his army across the Sava
and into Bosnia...
endtext
playwavefile
organ.wav
@ENDIF

@IF
Turn
turn=6
@THEN
text
^Vlad's forces are repelled on the opposite side of the Danube, and the
Turks chase his troops back into the heart of Wallachia.
endtext
createunit
owner=Ottoman Turks
unit=Janissaries
count=5
veteran=yes
homecity=none
locations
88,76
90,74
87,75
90,76
92,74
endlocations
playwavefile
adagio.wav
@ENDIF

@IF
citytaken
city=Bucuresti
attacker=Ottoman Turks
defender=Wallachians
@THEN
text
^It appears the tides have turned and things are not going the way Vlad
had planned them. Turkish troops are marching unchallenged across the
country and are headed straight for his capital, Tirgoviste.
endtext
justonce
playwavefile
adagio.wav
@ENDIF

@IF
Turn
turn=8
@THEN
text
^A brilliant victory for the Prince of Wallachia. The Turksih invaders
stop short of Tirgoviste when they see a fightening display. The bodies
of thousands of their comrades who had been taken prisoner rest impaled,
hinting at their fate if they enter the city. The commander gives the
signal for retreat and they lose no time in departing Wallachia.
endtext
createunit
owner=Wallachians
unit=Shadow Knights
count=10
veteran=yes
homecity=none
locations
88,72
87,73
89,73
88,70
87,71
endlocations
playwavefile
adagio.wav
@ENDIF

@IF
citytaken
city=Bucuresti
attacker=Wallachians
defender=Ottoman Turks
@THEN
text
^Vlad chases out the remaining Turks from his country. Wallachian
peasants celebrate their victory and Dracula calls off all further
attacks.
endtext
playwavefile
brandenburg.wav
@ENDIF

@IF
turn
turn=13
@THEN
text
^Although King Matthias is pleased that Wallachia didn't fall to the
Turks, he is very disapointed with the failure of Vlad's original plans
and his order to back out of pursuing the enemy. Matthias himself feels
pressured by the limited success he has had in Bosnia, and blames his
failure of a decisive victory on the Wallachian Prince. Matthias calls
Vlad to one of his estates in Transylvania where an official will demand
tribute from Vlad for his shortcommings.
endtext
playwavefile
bourree.wav
@ENDIF

@IF
turn
turn=15
@THEN
text
^A disastor for Matthias. Dracula showed up to the estate and refused to
pay tribute to the King. When the King's officials tried to arrest
Vlad, he simply vanished into thin air! Confused, the officials didn't
really know what to do. They wrote a letter to Matthias and gave it to a
servant who departed to Brasso where the letter would be mailed to Buda.
When the servant completed his tasked he returned to the estate to find
it burnt down and the bodies missing...
endtext
organ.wav
@ENDIF

@IF
turn
turn=16
@THEN
text
^Matthias feels embarressed by the recent incident and wishes to hide it
from the public's eye, but deep down inside he feels the demand for
satisfaction. He has no proof that Vlad commited the crime, and he does
not want to declare war on Wallachia for no reason, lest the country turn
their support to the Turkish Empire. Matthias decides to send men
throughout Transylvania in search of the bodies of his officials for
proof that foul play has been committed.
endtext
createunit
owner=Brigands
unit=Impaled Bodies
veteran=no
homecity=none
randomize
locations
73,63
73,53
69,63
81,49
81,39
70,52
74,56
endlocations
playwavefile
bourree.wav
@ENDIF

@IF
unitkilled
unit=Impaled Bodies
attacker=Hungarians
defender=Brigands
@THEN
text
^The search party finds more than they bargained for. The
officials missing on that fateful night are found impaled on stakes in
a secluded forest. Matthias never had a problem with Vlad impaling common
enemies but this enrages him. He promptly declares war on Vlad and meets
with his high council to discuss a course of action. They suggest the "Turul".
endtext
makeaggression
who=Wallachians
whom=Hungarians
givetechnology
technology=12
receiver=Hungarians
continuous
playwavefile
organ.wav
@ENDIF

@IF
cityproduction
builder=Hungarians
improvement=62
@THEN
text
^The "Turul" is a giant mythical falcon, a messenger of God in Hungarian mythology. God has
given the Hungarians 3 quests that will bring them to victory:
1)7 young monks have been chosen to become mighty crusaders. These monks must make a pilgrimage
to a Holy Monastary outside Rome.
2)Someone must travel to Mt. Olympus in Greece. Sitting on top of the mountain are not the gods
of Greek mythology, but a warrior angel named Tündér-Ilona who will help you in defeating Vlad.
3)Matthias himself must led the battle against Vlad. The most renowned blacksmiths of the world
reside in Bohemia. Only they can make armor fine enough for Matthias to use.
^Once all the quests are completed, Matthias, Ilona, and the Crusaders must
enter into Bran Castle, seek out Dracula, and put him to the sword.
endtext
createunit
owner=Hungarians
unit=Monk
count=7
veteran=no
homecity=none
locations
45,31
endlocations
playwavefile
brandenburg.wav
@ENDIF

@IF
turn
turn=40
@THEN
text
^The Turksih Sultan decides to take advantage of the conflict between Hungary and Wallachia.
He devotes most of Empires resources to sending a major invasion force to strike at Matthias'
southern flank.
endtext
flag
who=Ottoman Turks
state=on
flag=1
continuous
playwavefile
organ.wav
@ENDIF

@IF
turn
Turn=57
@THEN
givetechnology
technology=60
receiver=Wallachians
continuous
playwavefile
organ.wav
@ENDIF

@IF
turn
Turn=58
@THEN
text
^The rumors of Vlad's pact with Satan are confirmed by reports of the living dead
terrorizing villages. The Church realizes the severity of the situation and the
Pope once again calls on Hungary to save Europe. This time the enemy isn't Islam,
but the evil is the threat of hell on earth. Poland offers it's military assistance to
the situation, but the Holy Roman Empire refuses to believe the threat is real. The Pope
asks Matthias to send troops to defend Rome, for if the Holy City falls to the forces
of evil the Church will be destroyed. Matthias must hurry and defeat Vlad face to face,
for the military situation is looking grim.
endtext
makeaggression
who=Catholic States
whom=Hungarians
givetechnology
technology=86
receiver=Hungarians
playwavefile
organ.wav
flag
who=Wallachians
state=on
flag=1
continuous
@ENDIF

@IF
turn
Turn=58
@THEN
makeaggression
who=Wallachians
whom=Polish
@ENDIF

; quests

@IF
unitkilled
unit=Treasure
attacker=Hungarians
defender=Brigands
@THEN
text
^A Hungarian sentry finds a stockpile of stolen treasure. He presents the
treasure to the King who is pleased to find the goods worth 300 gold.
endtext
changemoney
receiver=Hungarians
amount=300
@ENDIF

@IF
unitkilled
unit=Chest
attacker=Hungarians
defender=Brigands
@THEN
text
^The Bohemian blacksmiths agree to forging Matthias a powerful suit of armor.
It is brought back to Buda to wait for Matthias to make some final preparations
before he launches his Crusade. The blacksmiths also donate a gift of 500 florins
to the Hungarian King to his struggle against Vlad.
endtext
changemoney
receiver=Hungarians
amount=500
givetechnology
technology=11
receiver=Hungarians
playwavefile
brandenburg.wav
justonce
@ENDIF

@IF
cityproduction
builder=Hungarians
improvement=48
@THEN
text
^^QUEST COMPLETED
^Matthias is suited up and ready to fight! He has appointed a governer to run the
kingdom while he leds his army to Castle Bran.
endtext
createunit
owner=Hungarians
unit=Matthias
veteran=yes
homecity=none
locations
45,31
endlocations
playwavefile
Hallelujah.wav
justonce
@ENDIF

@IF
unitkilled
unit=Monk
attacker=Barbarians
defender=Hungarians
@THEN
text
^^QUEST COMPLETED
^After a long journey, the monks complete their pilgrimage to Rome.
They meet the Pope in a secluded monastary outside the city and he gives
them his blessings. The return to Buda as crusaders eager to face Vlad
and anything he may throw at them. They meet with King Matthias and present
him 300 florins that they collected on their quest.
endtext
changemoney
receiver=Hungarians
amount=300
playwavefile
Hallelujah.wav
justonce
@ENDIF

@IF
unitkilled
unit=Monk
attacker=Barbarians
defender=Hungarians
@THEN
createunit
owner=Hungarians
unit=Crusader
veteran=yes
homecity=none
locations
45,31
endlocations
@ENDIF

@IF
unitkilled
unit=Olympus
attacker=Hungarians
defender=Brigands
@THEN
text
^A band of Hungarian warriors ascend Mt. Olympus and find the angel Ilona
mentioned by the Turul. They explain the situation to her and she agrees to help.
Ilona tells the warriors to return home and that she will meet Matthias in Buda.
endtext
givetechnology
technology=8
receiver=Hungarians
playwavefile
brandenburg.wav
justonce
@ENDIF

@IF
cityproduction
builder=Hungarians
improvement=42
@THEN
text
^^^QUEST COMPLETED
^Ilona descends from the Heavens down towards Buda. She is prepared to fight
under Matthias' command.
endtext
createunit
owner=Hungarians
unit=Ilona
veteran=yes
homecity=none
locations
45,31
endlocations
givetechnology
technology=10
receiver=Hungarians
playwavefile
Hallelujah.wav
justonce
@ENDIF

@IF
cityproduction
builder=Hungarians
improvement=47
@THEN
text
^Ilona notices the poor shape the Hungarian army is in so she decides to devote
herself to training them for battle. The men learn a lot from her and they
march into battle not as vulnerable rookies but as experienced veterans of
war.
endtext
playwavefile
brandenburg.wav
justonce
@ENDIF

@IF
unitkilled
unit=Matthias
attacker=anybody
defender=Hungarians
@THEN
text
^The Hungarian King lays dead on the battlefield. His weak successors vow to
fight on, but they lose the confidence and support of many important nobles
in the royal court at Buda.
endtext
givetechnology
technology=82
receiver=Hungarians
playwavefile
adagio.wav
justonce
@ENDIF

@IF
unitkilled
unit=Ilona
attacker=anybody
defender=Hungarians
@THEN
text
^The warrior angel Ilona has fallen in battle. Morale among the soldiers she
trained suffers tremendously.
endtext
givetechnology
technology=83
receiver=Hungarians
playwavefile
adagio.wav
justonce
@ENDIF

; conquests

@IF
citytaken
city=Firenze
attacker=Hungarians
defender=anybody
@THEN
text
^The merchants of Florence offer their skills of banking to the Hungarian King in
an effort to improve his kingdom's economy.
endtext
givetechnology
technology=6
receiver=Hungarians
changemoney
receiver=Hungarians
amount=200
playwavfile
bourree.wav
justonce
@ENDIF

@IF
citytaken
city=Brassó
attacker=Wallachians
defender=Hungarians
@THEN
text
^The fall of Brassó marks a major turning point in the war. No longer does Hungary
have the protection of the Carpathian mountains to guard against the hellish
onslaught. The war will now be fought in their own country.
endtext
createunit
owner=Wallachians
unit=Shadow Knights
count=10
veteran=yes
homecity=none
locations
81,61
endlocations
givetechnology
technology=87
receiver=Hungarians
playwavefile
adagio.wav
justonce
@ENDIF

@IF
citytaken
city=Nándorfehérvár
attacker=anybody
defender=Hungarians
@THEN
text
^The mighty fortress at Nándorfehérvár has been smashed by the enemy.
The upper Danube is no longer safe and the Hungarian proper lays open.
endtext
createunit
owner=triggerattacker
unit=Castle Garrison
veteran=no
homecity=none
locations
58,70
endlocations
playwavefile
adagio.wav
@ENDIF

@IF
citytaken
city=Kolozsvár
attacker=Wallachians
defender=Hungarians
@THEN
text
^The Transylvanian capital lays in ruins. Time is running short
for Matthias.
endtext
createunit
owner=Wallachians
unit=Shadow Knights
count=10
veteran=yes
homecity=none
locations
76,46
endlocations
playwavefile
adagio.wav
@ENDIF

@IF
citytaken
city=Sarajevo
attacker=Hungarians
defender=anybody
@THEN
text
^Matthias scores a brilliant victory and captures the Bosnian capital
of Sarajevo! Hungary is well on its way to destroying the Turkish threat.
endtext
changemoney
receiver=Hungarians
amount=200
createunit
owner=Hungarians
unit=Castle Garrison
veteran=no
homecity=none
locations
50,74
endlocations
playwavefile
brandenburg.wav
justonce
@ENDIF

@IF
citytaken
city=Kamyanets
attacker=Wallachians
defender=Polish
@THEN
createunit
owner=Wallachians
unit=Trolls
count=12
veteran=yes
homecity=none
locations
82,0
82,2
81,3
83,3
82,4
84,0
endlocations
@ENDIF

@IF
citytaken
city=Kamyanets
attacker=Wallachians
defender=Polish
@THEN
createunit
owner=Wallachians
unit=Trolls
count=12
veteran=yes
homecity=none
locations
88,28
87,27
87,29
86,26
89,27
endlocations
@ENDIF

@IF
citytaken
city=Lemberg
attacker=Wallachians
defender=Polish
@THEN
text
^The Polish army suffers defeat after defeat against Vlad's forces.
The Wallachian forces seem to be surrounding Hungary. How much
longer can the Hungarians hold the narrow passes over the Carpathian 
barrier?
endtext
createunit
owner=Wallachians
unit=Trolls
count=6
veteran=yes
homecity=none
locations
72,18
72,16
73,15
72,14
80,28
81,29
47,7
endlocations
playwavefile
adagio.wav
justonce
@ENDIF

@IF
citytaken
city=Rzeszów
attacker=Wallachians
defender=Polish
@THEN
createunit
owner=Wallachians
unit=Trolls
count=8
veteran=yes
homecity=none
locations
83,11
84,12
82,10
83,13
81,11
85,11
endlocations
@ENDIF

@IF
citytaken
city=Craców
attacker=Wallachians
defender=Polish
@THEN
text
^Southern Poland completely falls under Vlad's thumb. What is left of Poland's
armies are no longer a factor in determining the outcome of this war. Hungary is
completely encircled by the enemy who is ready to move in for the kill. An enourmous
army departs Craców to take the northern Carpathian passes into Hungary.
endtext
createunit
owner=Wallachians
unit=Dead Assassain
count=5
veteran=yes
homecity=none
locations
47,9
47,7
47,5
48,6
47,3
48,4
endlocations
playwavefile
organ.wav
justonce
@ENDIF

@IF
citytaken
city=Craców
attacker=Wallachians
defender=Polish
@THEN
createunit
owner=Wallachians
unit=Trolls
count=15
veteran=yes
homecity=none
locations
47,9
47,7
47,5
48,6
47,3
48,4
endlocations
@ENDIF

@IF
citytaken
city=Messina
attacker=Wallachians
defender=anybody
@THEN
text
^The armies of Darkness swallow up Sicily. They begin to march
unopposed up the Italian peninsula towards Rome. Matthias must
hurry and send a garrison to defend the city before all is lost!
endtext
createunit
owner=Wallachians
unit=Shadow Knights
count=15
veteran=yes
homecity=none
locations
33,109
32,108
34,110
34,108
35,109
endlocations
playwavefile
organ.wav
@ENDIF

@IF
citytaken
city=Táranto
attacker=Wallachians
defender=anybody
@THEN
createunit
owner=Wallachians
unit=Castle Garrison
veteran=no
homecity=none
locations
17,95
8,80
26,92
38,108
endlocations
@ENDIF

@IF
citytaken
city=Nápoli
attacker=Wallachians
defender=anybody
@THEN
createunit
owner=Wallachians
unit=Castle Garrison
veteran=no
homecity=none
locations
17,101
endlocations
@ENDIF

@IF
citytaken
city=Rome
attacker=Wallachians
defender=anybody
@THEN
text
^The Holy City has fallen to the evil that stalks the land. There is no
hope left to stand up to the forces of hell. Terror shall forever reign
supreme.
endtext
destroyacivilization
whom=Hungarians
playwavefile
organ.wav
@ENDIF

@IF
citytaken
city=Pest
attacker=anybody
defender=Hungarians
@THEN
text
^Pest falls to the enemy invaders. The remenants of the Hungarian army
entrench themselves on the other side of the Danube to await their fate.
endtext
createunit
owner=triggerattacker
unit=Siege Tower
count=2
veteran=yes
homecity=none
locations
47,33
endlocations
playwavefile
organ.wav
@ENDIF

@IF
citytaken
city=Pest
attacker=anybody
defender=Hungarians
@THEN
createunit
owner=triggerattacker
unit=Heavy Artillery
count=5
veteran=yes
homecity=none
locations
47,33
endlocations
@ENDIF

@IF
citytaken
city=Buda
attacker=anybody
defender=Hungarians
@THEN
text
^In an epic battle, the Hungarians armies are utterly destroyed in the
battle for Buda. With them goes Europe's hope for a military victory
in her hour of desperation.
endtext
destroyacivilization
whom=Hungarians
playwavefile
organ.wav
@ENDIF


; units

@IF
receivedtechnology
receiver=Hungarians
technology=91
@THEN
text
^Instead of relying on Hungary's nobles to raise armies, Matthias hires
a troop of mercenaries that swear loyalty directly to him. They are called the
"Black Army" for the dark colors they wear into battle.
endtext
justonce
@ENDTEXT

@IF
receivedtechnology
receiver=Hungarians
technology=91
@THEN
createunit
owner=Hungarians
unit=Black Army
veteran=yes
homecity=none
locations
45,31
endlocations
@ENDIF

;

brigand units

@IF
turn
turn=-1
@THEN
createunit
owner=Brigands
unit=Bandit
veteran=yes
homecity=none
randomize
locations
8,80
14,42
18,4
69,109
26,92
27,9
41,15
58,44
endlocations
@ENDIF

@IF
turn
turn=-1
@THEN
createunit
owner=Brigands
unit=Long Boat
veteran=yes
homecity=none
randomize
locations
13,61
36,68
28,92
81,149
94,98
0,20
endlocations
@ENDIF

; turkish units

@IF
randomturn
denominator=2
@THEN
createunit
owner=Ottoman Turks
unit=Gazi
veteran=yes
homecity=none
randomize
locations
95,109
92,106
45,63
42,70
52,68
56,82
63,83
74,84
70,128
89,85
endlocations
@ENDIF

@IF
turn
turn=-1
@THEN
createunit
owner=Ottoman Turks
unit=Lancers
veteran=yes
homecity=none
randomize
locations
45,63
52,68
58,70
42,70
50,74
41,75
56,82
63,83
75,107
endlocations
@ENDIF

@IF
turn
turn=-1
@THEN
createunit
owner=Ottoman Turks
unit=Archers
veteran=yes
homecity=none
randomize
locations
45,63
52,68
58,70
42,70
50,74
41,75
56,82
63,83
75,107
endlocations
@ENDIF

@IF
turn
turn=-1
@THEN
createunit
owner=Ottoman Turks
unit=Spahis
veteran=yes
homecity=none
randomize
locations
45,63
52,68
58,70
42,70
50,74
41,75
56,82
63,83
75,107
endlocations
@ENDIF

@IF
randomturn
denominator=15
@THEN
text
^The Turks raise a large army and send it after Matthias.
endtext
createunit
owner=Ottoman Turks
unit=Janissaries
count=20
veteran=yes
homecity=none
locations
52,60
58,70
63,83
64,90
68,90
64,102
95,109
endlocations
@ENDIF

@IF
randomturn
denominator=12
@THEN
createunit
owner=Ottoman Turks
unit=Heavy Artillery
count=6
veteran=yes
homecity=none
locations
52,60
58,70
63,83
64,90
68,90
64,102
95,109
endlocations
playwavefile
boom.wav
@ENDIF

@IF
checkflag
who=Ottoman Turks
flag=1
state=on
@AND
randomturn
denominator=10
@THEN
createunit
owner=Ottoman Turks
unit=Janissaries
count=15
veteran=yes
homecity=none
locations
52,60
58,70
63,83
64,90
68,90
64,102
95,109
endlocations
@ENDIF

@IF
checkflag
who=Ottoman Turks
flag=1
state=on
@AND
randomturn
denominator=12
@THEN
createunit
owner=Ottoman Turks
unit=Spahis
count=8
veteran=yes
homecity=none
locations
52,60
58,70
63,83
64,90
68,90
64,102
95,109
endlocations
@ENDIF

@IF
checkflag
who=Ottoman Turks
flag=1
state=on
@AND
randomturn
denominator=12
@THEN
createunit
owner=Ottoman Turks
unit=Archers
count=8
veteran=yes
homecity=none
locations
52,60
58,70
63,83
64,90
68,90
64,102
95,109
endlocations
@ENDIF

@IF
checkflag
who=Ottoman Turks
flag=1
state=on
@AND
randomturn
denominator=10
@THEN
createunit
owner=Ottoman Turks
unit=Heavy Artillery
count=8
veteran=yes
homecity=none
locations
52,60
58,70
63,83
64,90
68,90
64,102
95,109
endlocations
@ENDIF

@IF
unitkilled
unit=anyunit
attacker=anybody
defender=anybody
@THEN
moveunit
unit=anyunit
owner=Ottoman Turks
maprect
41,57,67,57,67,91,41,91
moveto
45,31
numbertomove=all
@ENDIF

@IF
unitkilled
unit=anyunit
attacker=anybody
defender=anybody
@THEN
moveunit
unit=anyunit
owner=Ottoman Turks
maprect
68,78,94,78,94,104,68,104
moveto
63,83
numbertomove=all
@ENDIF

; Wallachian units

@IF
receivedtechnology
receiver=Hungarians
technology=12
@THEN
createunit
owner=Wallachians
unit=Shadow Knights
count=3
veteran=yes
homecity=none
randomize
locations
87,67
68,72
77,71
92,52
endlocations
@ENDIF

@IF
receivedtechnology
receiver=Hungarians
technology=12
@THEN
createunit
owner=Wallachians
unit=Death Guard
count=3
veteran=yes
homecity=none
randomize
locations
86,28
79,63
77,71
87,67
92,52
96,42
85,45
98,26
79,29
endlocations
@ENDIF

@IF
receivedtechnology
receiver=Hungarians
technology=12
@AND
randomturn
denominator=10
@THEN
createunit
owner=Wallachians
unit=Shadow Knights
count=15
veteran=yes
homecity=none
randomize
locations
87,67
79,65
80,66
87,45
88,46
80,28
81,29
endlocations
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@AND
unitkilled
unit=anyunit
attacker=Wallachians
defender=Hungarians
@THEN
createunit
owner=Wallachians
unit=Undead
veteran=yes
homecity=none
locations
47,33
76,46
81,61
79,63
85,45
87,67
76,66
88,74
endlocations
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@AND
unitkilled
unit=anyunit
attacker=Wallachians
defender=Hungarians
@THEN
text
^Vlad's spells have caused havoc on the living and now on the dead.
Soldiers on the battle watch in horror as their fallen comrades come to
life as undead slaves serving the evil one. Any soldier that dies fighting
against Vlad will be resurrected as his slave.
endtext
playwavefile
adagio.wav
justonce
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@THEN
createunit
owner=Wallachians
unit=Trolls
count=5
veteran=yes
homecity=none
randomize
locations
86,28
79,63
77,71
87,67
92,52
96,42
85,45
98,26
79,29
endlocations
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@THEN
createunit
owner=Wallachians
unit=Dead Assassain
count=2
veteran=yes
homecity=none
randomize
locations
80,28
79,65
80,66
87,67
87,45
89,45
85,45
95,9
76,46
endlocations
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@AND
randomturn
denominator=8
@THEN
createunit
owner=Wallachians
unit=Heavy Artillery
count=8
veteran=yes
homecity=none
randomize
locations
80,28
79,65
80,66
87,67
87,45
89,45
85,45
95,9
76,46
endlocations
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@AND
randomturn
denominator=8
@THEN
createunit
owner=Wallachians
unit=Siege Tower
count=2
veteran=yes
homecity=none
randomize
locations
80,28
79,65
80,66
87,67
87,45
89,45
85,45
95,9
76,46
endlocations
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@THEN
createunit
owner=Wallachians
unit=Gargoyle
veteran=yes
homecity=none
randomize
locations
86,28
79,63
77,71
87,67
92,52
96,42
85,45
98,26
79,29
endlocations
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@AND
randomturn
denominator=20
@THEN
text
^Vlad summons a deadly Dragon fom the depths of hell.
endtext
createunit
owner=Wallachians
unit=Great Dragon
veteran=yes
homecity=none
randomize
locations
80,28
79,65
80,66
87,67
87,45
89,45
85,45
95,9
76,46
endlocations
playwavefile
dragon.wav
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@AND
randomturn
denominator=8
@THEN
createunit
owner=Wallachians
unit=Trolls
count=20
veteran=yes
homecity=none
randomize
locations
80,28
79,65
80,66
87,67
87,45
89,45
85,45
95,9
76,46
endlocations
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@THEN
createunit
owner=Wallachians
unit=Trolls
count=4
veteran=no
homecity=none
locations
47,33
60,28
73,31
72,18
82,12
81,1
86,28
93,9
endlocations
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@AND
randomturn
denominator=8
@THEN
text
^Vlad summons a giant Kracken!
endtext
createunit
owner=Wallachians
unit=Vampyroteuthis
veteran=yes
homecity=none
locations
23,43
58,68
57,45
43,25
20,86
72,74
endlocations
playwavefile
kracken.wav
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@THEN
createunit
owner=Wallachians
unit=Trolls
count=4
veteran=yes
homecity=none
locations
11,141
31,109
17,101
9,89
endlocations
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@AND
randomturn
denominator=5
@THEN
createunit
owner=Wallachians
unit=Dead Assassain
count=3
veteran=yes
homecity=none
locations
11,141
31,109
17,101
9,89
endlocations
@ENDIF

@IF
ReceivedTechnology
receiver=Wallachians
technology=60
continuous
@THEN
createunit
owner=Wallachians
unit=Heavy Artillery
count=2
veteran=yes
homecity=none
locations
47,33
52,42
58,44
68,46
76,46
79,63
87,45
89,45
endlocations
@ENDIF

; moveunits

@IF
unitkilled
unit=anyunit
attacker=anybody
defender=anybody
@THEN
moveunit
unit=anyunit
owner=Wallachians
maprect
74,48,94,48,94,68,74,68
moveto
76,46
numbertomove=all
@ENDIF

@IF
unitkilled
unit=anyunit
attacker=anybody
defender=anybody
@THEN
moveunit
unit=anyunit
owner=Wallachians
maprect
48,8,88,8,88,46,48,46
moveto
47,33
numbertomove=all
@ENDIF

@IF
unitkilled
unit=anyunit
attacker=anybody
defender=anybody
@THEN
moveunit
unit=anyunit
owner=Wallachians
maprect
95,11,99,11,99,27,95,27
moveto
93,9
numbertomove=all
@ENDIF

@IF
unitkilled
unit=anyunit
attacker=anybody
defender=anybody
@THEN
moveunit
unit=anyunit
owner=Wallachians
maprect
62,0,86,0,86,2,62,2
moveto
60,0
numbertomove=all
@ENDIF

@IF
unitkilled
unit=anyunit
attacker=anybody
defender=anybody
@THEN
moveunit
unit=anyunit
owner=Wallachians
maprect
44,0,60,0,60,22,44,22
moveto
45,31
numbertomove=all
@ENDIF

@IF
unitkilled
unit=anyunit
attacker=anybody
defender=anybody
@THEN
moveunit
unit=anyunit
owner=Wallachians
maprect
0,90,38,90,38,148,0,148
moveto
9,89
numbertomove=all
@ENDIF

; Castle Bran

@IF
unitkilled
unit=Castle Bran
attacker=Hungarians
defender=Wallachians
@THEN
text
^The band of Hungarian crusaders make their way past the castle guards
and into Vlad's stronghold.
endtext
createunit
owner=Wallachians
unit=Gate Keeper
count=4
veteran=yes
homecity=none
locations
69,59,1
68,60,1
70,60,1
endlocations
playwavefile
bourree.wav
@ENDIF

@IF
unitkilled
unit=Doorway
attacker=Hungarians
defender=Wallachians
@THEN
createunit
owner=Wallachians
unit=Gate Keeper
count=3
veteran=yes
homecity=none
randomize
locations
91,79,1
83,75,1
88,70,1
85,73,1
88,76,1
endlocations
playwavefile
door.wav
@ENDIF

@IF
unitkilled
unit=Crate
attacker=Hungarians
defender=Wallachians
@THEN
text
^Inside the crate is a piece a paper that says "5rooD".
endtext
createunit
owner=Wallachians
unit=Gate Keeper
count=2
veteran=yes
homecity=none
randomize
locations
80,74,1
84,78,1
91,71,1
87,67,1
endlocations
playwavefile
bourree.wav
@ENDIF

@IF
unitkilled
unit=Manuscript
attacker=Hungarians
defender=Wallachians
@THEN
text
^The Manuscript reads:
^
^^Insides rests Dracula.
^^DO NOT DISTURB THE DEAD!"
endtext
createunit
owner=Wallachians
unit=Gate Keeper
count=5
veteran=yes
homecity=none
randomize
locations
58,64,1
57,63,1
56,62,1
55,61,1
endlocations
playwavefile
organ.wav
@ENDIF

@IF
unitkilled
unit=Coffin
attacker=Hungarians
defender=Wallachians
@THEN
text
^A trap! The coffin is opened and 4 Vampires are awakened!
endtext
createunit
owner=Wallachians
unit=Vampire
count=4
veteran=yes
homecity=none
randomize
locations
38,44,1
36,42,1
35,43,1
37,41,1
endlocations
playwavefile
organ.wav
@ENDIF

@IF
unitkilled
unit=Door1
attacker=Hungarians
defender=Brigands
@THEN
createunit
owner=Wallachians
unit=Vampire
veteran=yes
homecity=none
locations
23,67,1
endlocations
playwavefile
door.wav
@ENDIF

@IF
unitkilled
unit=Door2
attacker=Hungarians
defender=Brigands
@THEN
createunit
owner=Wallachians
unit=Vampire
veteran=yes
homecity=none
locations
20,64,1
endlocations
playwavefile
door.wav
@ENDIF

@IF
unitkilled
unit=Door3
attacker=Hungarians
defender=Brigands
@THEN
createunit
owner=Wallachians
unit=Vampire
veteran=yes
homecity=none
locations
17,61,1
endlocations
playwavefile
door.wav
@ENDIF

@IF
unitkilled
unit=Door4
attacker=Hungarians
defender=Brigands
@THEN
createunit
owner=Wallachians
unit=Vampire
count=4
veteran=yes
homecity=none
randomize
locations
31,37,1
33,45,1
39,39,1
39,45,1
endlocations
playwavefile
door.wav
@ENDIF

@IF
unitkilled
unit=Door5
attacker=Hungarians
defender=Brigands
@THEN
createunit
owner=Wallachians
unit=Dracula
veteran=yes
homecity=none
locations
55,23,1
endlocations
playwavefile
door.wav
@ENDIF

@IF
unitkilled
unit=Door6
attacker=Hungarians
defender=Brigands
@THEN
createunit
owner=Wallachians
unit=Vampire
veteran=yes
homecity=none
locations
58,26,1
endlocations
playwavefile
door.wav
@ENDIF

@IF
unitkilled
unit=Door7
attacker=Hungarians
defender=Brigands
@THEN
createunit
owner=Wallachians
unit=Vampire
veteran=yes
homecity=none
locations
61,29,1
endlocations
playwavefile
door.wav
@ENDIF

@IF
unitkilled
unit=Dracula
attacker=Hungarians
defender=Wallachians
@THEN
text
^The countless souls who have lost their lives in the conflict created by
Vlad have finally been avenged. Dracula has been slain and with his death
the gates of hell have been closed. Peace reigns across the land, the final
Crusade is over.
endtext
playwavefile
hallelujah.wav
endgame
endscreens=yes
@ENDIF

