;   CIV II EVENTS - (1283 BC)
;   "The Odyssey" Scenario, v1.0 (10/00)
;
;
@DEBUG

@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
PLAYWAVEFILE
Odyssey.wav
@ENDIF

@IF
SCENARIOLOADED
@THEN
DONTPLAYWONDERS
@ENDIF

@IF
NEGOTIATION
talker=Anybody
talkertype=HumanOrComputer
listener=Anybody
listenertype=HumanOrComputer
@THEN

@ENDIF

@IF
receivedtechnology
receiver=Olympians
technology=60
@THEN
justonce
text
The Phaeacians leave the sleeping Odysseus and his treasures on the shores
of Ithaca and sail away. When he awakens, Odysseus finds the goddess Athena
standing next to him.
endtext
CREATEUNIT
unit=Odysseus
owner=Ithacans
veteran=no
homecity=None
locations
116,38
endlocations
CHANGETERRAIN
terraintype=8
maprect
0,0,109,1,109,115,0,114
@ENDIF

@IF
receivedtechnology
receiver=Olympians
technology=60
@THEN
justonce
PLAYWAVEFILE
Odyssey.wav
CHANGETERRAIN
terraintype=8
maprect
111,41,171,41,171,115,111,115
@ENDIF

@IF
receivedtechnology
receiver=Olympians
technology=60
@THEN
justonce
CHANGETERRAIN
terraintype=8
maprect
105,81,113,81,113,115,105,115
@ENDIF

@IF
receivedtechnology
receiver=Olympians
technology=60
@THEN
justonce
CHANGETERRAIN
terraintype=8
maprect
105,41,113,41,113,79,105,79
@ENDIF

@IF
UNITKILLED
unit=Odysseus
attacker=Olympians
defender=Ithacans
@THEN
text
^Athena warns Odysseus that the Suitors are many in number, and grow more surly and
^dangerous by the day. "They will surely kill you if given the chance, so you must
^be cautious." Athena changes his appearance to that of an Old Man, and together they
^concoct a plan to take the suitors by surprise. "Begin by using this disguise to
^separate your true friends from the false," she suggests. 
endtext
CREATEUNIT
unit=Old Man
owner=Ithacans
veteran=yes
homecity=None
locations
118,36
endlocations
@ENDIF

@IF
UNITKILLED
unit=Message1
attacker=Ithacans
defender=Oceans
@THEN
text
^After a trek across the wooded hills of Ithaca, Odysseus spots the home of the
^swineherd, Eumaeus. He was a loyal servant in the past, but is he still?
endtext
CREATEUNIT
unit=Eumaeus
owner=Ithacans
veteran=yes
homecity=None
locations
114,26
endlocations
@ENDIF

@IF
UNITKILLED
unit=Message2
attacker=Ithacans
defender=Oceans
@THEN
text
^Pretending to be a poor traveler from Crete, Odysseus is invited into the home
^of Eumaeus. The generous swineherd professes his love for the lost Odysseus and
^cannot disguise his loathing for the Suitors. Here is a worthy companion!
^
^Meanwhile, the Black Ship slips quietly into the town harbor. Realizing the
^Suitors are in hot pursuit, Telemachus takes the back roads out of town, seeking
^refuge at the house of Eumaeus.
endtext
CREATEUNIT
unit=Door
owner=Oceans
veteran=no
homecity=None
locations
117,27
endlocations
@ENDIF

@IF
UNITKILLED
unit=Message2
attacker=Ithacans
defender=Oceans
@THEN
CREATEUNIT
unit=Telemachus 
owner=Ithacans
veteran=yes
homecity=None
locations
142,32
endlocations
@ENDIF

@IF
UNITKILLED
unit=Message2
attacker=Ithacans
defender=Oceans
@THEN
CREATEUNIT
unit=Black Ship 
owner=Ithacans
veteran=no
homecity=None
locations
142,34
141,33
endlocations
@ENDIF

@IF
UNITKILLED
unit=Black Ship
attacker=Oceans
defender=Ithacans
@THEN
text
^Soon after Telemachus departs, the Suitors' ship returns to Ithaca. They are
^angry and disappointed that he's escaped their ambush. "Let us seek him out
^and kill him!", cry several of the men. But one of the leaders, Amphinomus
^counsels patience. "We don't want to offend his mother just yet. Wait until
^after the wedding, and then we'll have our revenge!"
endtext
CREATEUNIT
unit=Door 
owner=Ithacans
veteran=no
homecity=None
locations
117,21
endlocations
givetechnology
technology=90
receiver=Oceans
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=90
@THEN
justonce
text
^Telemachus meets the old man at Eumaeus' hut and they exchange travelers
^tales. After Eumaeus leaves to tend his animals, Athena reveals the true
^form of Odysseus to his son. Telemachus is overcome with joy, and listens
^carefully as Odysseus outlines the next part of the plan. "We will
^travel to the palace, where the Suitors will certainly mistreat me.
^You MUST NOT react! When the time is right, we will take our revenge!"
^
^When Eumaeus returns from feeding the pigs, the three men set off for
^the palace, traveling along the northeast road.
endtext
CHANGETERRAIN
terraintype=7
maprect
117,27,117,27,117,27,117,27
PLAYWAVEFILE
Odyssey1.wav
@ENDIF

@IF
UNITKILLED
unit=Message3
attacker=Ithacans
defender=Oceans
@THEN
text
^Surrounded by a grove of sacred Poplar trees, the fountain of Ithaca
^lies ahead. Clear, cold water bubbles up, and the dusty travelers
^look forward to slaking their thirsts.
^
^But the goatherd Melanthius stands in their way. Believing Odysseus 
^to be an old beggar, he hurls insults and aims a kick at his shins!
endtext
@ENDIF

@IF
UNITKILLED
unit=Melanthius
attacker=Ithacans
defender=Oceans
@THEN
text
^Odysseus takes the blow, and summons all his willpower to keep from
^killing the goatherd on the spot! Eumaeus scolds Melanthius, warning
^him that "Those who would harm a defenseless old man shall surely
^come to a bad end! The Gods will not forgive such insolence!"
^
^Leaving a string of curses in his wake, Melanthius drives the herd of
^goats - animals belonging to Odysseus - on toward the palace, there
^to feed the insatiable appetites of the Suitors.
endtext
givetechnology
technology=91
receiver=Oceans
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=91
@THEN
justonce
text
^As they near the palace, the party encounters the stockman Philoetius.
^An old friend of Eumaeus, the two bemoan the absence of Odysseus and
^the resulting deluge of Suitors. "I pray night and day for his return,
^Eumaeus. Whether he asked it or no, I would gladly join him in purging
^these bloodsuckers from our land!"
^
^As he departs, Odysseus smiles inwardly and asks Philotieus to visit
^them the next day. Another worthy companion is found!
endtext
@ENDIF

@IF
UNITKILLED
unit=Message4
attacker=Ithacans
defender=Oceans
@THEN
text
^At long last the walls of his palace rise up before the eyes of Odysseus.
^How often has he dreamed of this moment?! Within the outer courtyard all
^is just as he remembers it, including the sight of his hunting dog 
^Argos, snoozing near the stable door.
^
^Suddenly, unbelievably, the now ancient animal rises to his feet and
^sniffs the air. Despite the disguise, Argos turns toward his long lost
^master and slowly begins to wag his tail!
endtext
CREATEUNIT
unit=Argos 
owner=Ithacans
veteran=no
homecity=None
locations
139,7
endlocations
@ENDIF

@IF
UNITKILLED
unit=Message4
attacker=Ithacans
defender=Oceans
@THEN
CREATEUNIT
unit=Gate 
owner=Ithacans
veteran=no
homecity=None
locations
150,4
endlocations
@ENDIF

@IF
UNITKILLED
unit=Message4
attacker=Ithacans
defender=Oceans
@THEN
CREATEUNIT
unit=Door 
owner=Ithacans
veteran=no
homecity=None
locations
143,3
endlocations
@ENDIF

@IF
UNITKILLED
unit=Argos
attacker=Oceans
defender=Ithacans
@THEN
text
^But the shock of recognition is too much for the faithful old heart.
^Argos takes one step toward his master and drops dead. Oh, cruel fate!
^
^With growing emotion, Odysseus and his companions continue on toward the
^palace doors. "What lies within?", he wonders. 
endtext
CREATEUNIT
unit=Door 
owner=Ithacans
veteran=no
homecity=None
locations
139,7
endlocations
@ENDIF

@IF
UNITKILLED
unit=Message5
attacker=Ithacans
defender=Oceans
@THEN
text
^The gates swing open, and Odysseus is home at last. To his amazement, the
^inner courtyard is filled with men! Some are playing at draughts and others
^engaged in tests of strength, but most are seated at tables eating and drinking
^HIS food! The cursed goatherd Melanthius has just delivered several beasts,
^and all are being readied for the knife. Odysseus steadies himself, and enters
^in the guise of ragged beggar.
endtext
CREATEUNIT
unit=Palace Door 
owner=Ithacans
veteran=no
homecity=None
locations
147,11
endlocations
@ENDIF

@IF
UNITKILLED
unit=Message5
attacker=Ithacans
defender=Oceans
@THEN
CREATEUNIT
unit=Palace Gate 
owner=Ithacans
veteran=no
homecity=None
locations
143,23
endlocations
@ENDIF

@IF
UNITKILLED
unit=Message5
attacker=Ithacans
defender=Oceans
@THEN
CREATEUNIT
unit=Palace Gate 
owner=Ithacans
veteran=yes
homecity=None
locations
150,32
endlocations
@ENDIF

@IF
UNITKILLED
unit=Message5
attacker=Ithacans
defender=Oceans
@THEN
CREATEUNIT
unit=Sheep 
owner=Ithacans
veteran=no
homecity=None
locations
157,17
158,18
endlocations
@ENDIF

@IF
UNITKILLED
unit=Message6
attacker=Ithacans
defender=Oceans
@THEN
text
^The town bully, Irus, swaggers into the courtyard. Seeking to curry favor with
^the Suitors, in particular the rich Ctesippus, he approaches the Old Man and
^takes a swing at him! For Odysseus, this is too much. "You mistake age for
^weakness, young fool," he cries!
endtext
CREATEUNIT
unit=Irus 
owner=Oceans
veteran=no
homecity=None
locations
149,11
150,12
154,10
endlocations
@ENDIF

@IF
UNITKILLED
unit=Irus
attacker=Ithacans
defender=Oceans
@THEN
text
^After beating Irus into submission, Odysseus seeks an audience with Penelope.
^Although he isn't recognized, she senses a kindred spirit and shares her tale
^of woe. "I can no longer fend them off, I'm afraid. Tomorrow I shall set them
^a final test - the Tournament of Axes. Whosoever shall string my husbands Bow
^and then send an arrow through the handles of 12 axes in a row - that man may
^have my hand in marriage. Although," she adds in a whisper, "I doubt that any
^of them are man enough for the challenge!"
endtext
CREATEUNIT
unit=Penelope 
owner=Ithacans
veteran=no
homecity=None
locations
163,3
endlocations
givetechnology
technology=92
receiver=Oceans
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=92
@THEN
justonce
text
^The next morning, Penelope summons the suitors and announces the Tournament of Axes.
^While she explains the rules, Odysseus slips outside and meets Philoetius and Eumaeus in
^the outer courtyard. He reveals his true identity and confirms it by displaying the old
^boar-scar on his thigh. Both men are overcome with joy, and swear to follow his lead.
^
^The ruin of the Suitors is nigh!
endtext
CREATEUNIT
unit=Philoetius 
owner=Ithacans
veteran=yes
homecity=None
locations
146,10
endlocations
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=92
@THEN
justonce
CREATEUNIT
unit=Bow of Odysseus 
owner=Ithacans
veteran=no
homecity=None
locations
155,19
156,20
endlocations
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=92
@THEN
CREATEUNIT
unit=Spear 
owner=Ithacans
veteran=yes
homecity=None
locations
142,24
endlocations
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=92
@THEN
justonce
CREATEUNIT
unit=Shield 
owner=Ithacans
veteran=yes
homecity=None
locations
142,24
endlocations
@ENDIF

@IF
UNITKILLED
unit=Bow of Odysseus
attacker=Oceans
defender=Ithacans
@THEN
text
^One by one, each of the Suitors tries and fails to string the Bow of Odysseus.
^Realizing what's happening, the leaders Antinous, Eurymachus, and Agelaus refuse
^the test. "Today is a feast day of the Gods, and thus they raise their hands
^against this defilement. Perhaps we'll try again some other day, but I suspect
^this "tournament" is just another delaying tactic. Decide amongst us Penelope,
^and do so this very day!" declares Antinous. As the other Suitors murmur their
^assent, the old beggar reaches for the Bow!
endtext
CREATEUNIT
unit=Spear 
owner=Ithacans
veteran=yes
homecity=None
locations
142,24
endlocations
givetechnology
technology=93
receiver=Oceans
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=93
@THEN
justonce
text
^Eurymachus snatches the Bow before the Old Man can claim it. "Would you mock us
^old father?" he sneers. "Fancy you walking off with this prize after all we've
^been through!"
^
^"Do you fear such a one as he?" needles Telemachus. "Come, even if he succeeds
^all he shall gain from it will be a warm cloak and a stout staff. Agreed?"
^
^As the suitors debate, Odysseus takes his place near the Front Door weapons rack.
^He knows he must IMMEDIATELY make a mighty JUMP toward Bow of Odysseus!
endtext
CREATEUNIT
unit=Bow of Odysseus 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
givetechnology
technology=94
receiver=Oceans
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=93
@THEN
justonce
CREATEUNIT
unit=Suitor5 
owner=Oceans
veteran=yes
homecity=None
locations
152,22
endlocations
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=93
@THEN
justonce
CREATEUNIT
unit=Shield 
owner=Ithacans
veteran=yes
homecity=None
locations
142,24
endlocations
@ENDIF

@IF
UNITKILLED
unit=Old Man
attacker=anybody
defender=Ithacans
@THEN
text
^With a wave of her hand, Athena restores the true appearance of Odysseus.
^Something is deeply wrong...the suitors know that now!
endtext
CREATEUNIT
unit=Odysseus 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=94
@THEN
justonce
text
^The suitors relent, and allow Eumaeus to give the Bow to the Old Man.
^With a practiced ease he strings it and takes aim at the axes.....
endtext
CREATEUNIT
unit=Arrow 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=94
@THEN
CREATEUNIT
unit=Arrow 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
@ENDIF

@IF
UNITKILLED
unit=Row of Axes
attacker=Ithacans
defender=Oceans
@THEN
text
^...and shoots a single arrow straight through the twelve axe handles!
^
^The Suitors are amazed and then horrified as Odysseus draws another
^arrow and shoots a Suitor in the throat!
endtext
CREATEUNIT
unit=Arrow 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
givetechnology
technology=95
receiver=Oceans
PLAYWAVEFILE
Odyssey5.wav
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=95
@THEN
justonce
text
^As the battle begins, Eumaeus and Telemachus race to the Armory
^and gather up spears and shields!
endtext
CREATEUNIT
unit=Arrow 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
CHANGETERRAIN
terraintype=7
maprect
142,20,142,20,142,20,142,20
givetechnology
technology=96
receiver=Oceans
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=95
@THEN
CREATEUNIT
unit=Arrow 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=95
@THEN
CREATEUNIT
unit=Spear 
owner=Ithacans
veteran=yes
homecity=None
locations
142,24
endlocations
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=96
@THEN
justonce
text
^Melanthius spots Telemachus returning from the Armory and runs there to get
^weapons for the Suitors! Meanwhile one of the suitors attacks the back door
^with an axe. If he can break through, escape may still be possible!
endtext
CREATEUNIT
unit=Melenthius 
owner=Greeks
veteran=no
homecity=None
locations
154,26
endlocations
givetechnology
technology=97
receiver=Oceans
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=97
@THEN
CREATEUNIT
unit=Axe 
owner=Greeks
veteran=no
homecity=None
locations
153,31
endlocations
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=97
@THEN
CREATEUNIT
unit=Spears 
owner=Greeks
veteran=no
homecity=None
locations
154,26
endlocations
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=97
@THEN
CREATEUNIT
unit=Spears 
owner=Greeks
veteran=no
homecity=None
locations
144,26
endlocations
@ENDIF

@IF
UNITKILLED
unit=Antinous
attacker=Ithacans
defender=Greeks
@THEN
text
^An arrow catches Antinous in the throat, and he drops to to the floor in a welter of blood!
endtext
CREATEUNIT
unit=Arrow 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
@ENDIF

@IF
UNITKILLED
unit=Eurymachus
attacker=Ithacans
defender=Greeks
@THEN
text
^Eurymachus rushes toward Odysseus, but an arrow in the chest finishes him!
endtext
CREATEUNIT
unit=Arrow 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
@ENDIF

@IF
UNITKILLED
unit=Agelaus
attacker=Ithacans
defender=Greeks
@THEN
text
^Agelaus collapses, his skull cleaved in two!
endtext
CREATEUNIT
unit=Arrow 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ctesippus
attacker=Ithacans
defender=Greeks
@THEN
text
^Philoetius thrusts his spear into the chest of Ctesippus, killing him instantly!
endtext
CREATEUNIT
unit=Arrow 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
@ENDIF

@IF
UNITKILLED
unit=Amphinomus
attacker=Ithacans
defender=Greeks
@THEN
text
^As Amphinomus slashes at Odysseus, Telemachus drives a spear between his shoulder blades!
endtext
CREATEUNIT
unit=Arrow 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
@ENDIF

@IF
UNITKILLED
unit=Leocritus
attacker=Ithacans
defender=Greeks
@THEN
text
^Telemachus hurls a spear with such force it passes completely through the body of Leocritus!
endtext
CREATEUNIT
unit=Arrow 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
@ENDIF

@IF
UNITKILLED
unit=Melenthius
attacker=Ithacans
defender=Greeks
@THEN
text
^The traitorous goatherd Melanthius is chopped to pieces!
endtext
CREATEUNIT
unit=Arrow 
owner=Ithacans
veteran=yes
homecity=None
locations
150,18
endlocations
@ENDIF

@IF
UNITKILLED
unit=Palace Gate
attacker=Greeks
defender=Ithacans
@THEN
text
^The back Gate bursts open and the Suitors raise the alarm! A group of
^friends don armor and race to the scene. Things look grim for Odysseus!
endtext
CREATEUNIT
unit=Suitor Friends 
owner=Greeks
veteran=yes
homecity=None
locations
151,31
endlocations
@ENDIF

@IF
UNITKILLED
unit=Phemius
attacker=Ithacans
defender=Greeks
@THEN
text
^As Odysseus prepares to smite him, the minstrel Phemius begs
^for his life. At the urging of Telemachus, he alone is spared!
endtext
CREATEUNIT
unit=Phemius 
owner=Ithacans
veteran=yes
homecity=None
locations
153,3
endlocations
@ENDIF

@IF
UNITKILLED
unit=Leiodes
attacker=Ithacans
defender=Greeks
@THEN
text
^The sacrificing priest, Leiodes also begs to be spared. But Odysseus
^will have none of it. "You blessed the behaviour of these wicked men,
^now join them in Hades!"
^
^As the priest dies, Odysseus sees several servants run out the back door.
endtext
@ENDIF

@IF
UNITKILLED
unit=Insolent Servants
attacker=Ithacans
defender=Greeks
@THEN
text
^Having killed the last of the suitors, Odysseus turns his attention
^now to the servants. For those who were insolent and had cast their
^lot with the Suitors, revenge will be quick and fatal!
^
^With the bloodshed at an end, Odysseus now seeks out Penelope.
endtext
givetechnology
technology=98
receiver=Oceans
@ENDIF

@IF
receivedtechnology
receiver=Oceans
technology=98
@THEN
justonce
CHANGETERRAIN
terraintype=6
maprect
160,6,160,6,160,6,160,6
@ENDIF

@IF
UNITKILLED
unit=Message7
attacker=Ithacans
defender=Oceans
@THEN
text
^Finally face to face as man and wife, the two lovers are united at last!
^
^ CONGRATULATIONS!
^
^ IF YOU WANT TO LEARN MORE ABOUT
^ THIS EPIC TALE, THE INCLUDED FILE
^ "ODYSSEY.TXT" CONTAINS THE FULL STORY.
^
^ THANKS FOR PLAYING "THE ODYSSEY"!
endtext
PLAYWAVEFILE
leader.wav
@ENDIF

@ENDEVENTS