// creator  : weidu.exe (version 23100)
// argument : TAMOKO.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~TAMOKO~

IF ~Global("TamokoMove","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #11064 /* ~But don't we extend life, and even return the dead to living with faithful incantations?  Magic, god-borne or otherwise, is a tool.  The user alone must be judged.~ */
  IF ~~ THEN REPLY #11066 /* ~Aye, and ye can stride into the forefront, ye hound.  I'll just hang around in the back awhile, truly enough.~ [HAERDA59] */ GOTO 1
  IF ~~ THEN REPLY #11072 /* ~I make claim that you are an affront to all nature.  You are a disruption that will not be allowed, and I will fight with the power of my faith and conviction.~ */ GOTO 3
  IF ~~ THEN REPLY #11073 /* ~I hardly thought I'd see you timid, Haer'Dalis.~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 2.0 0.0
  SAY #11067 /* ~I must say, ye bard, that I find the use of your musical abilities during combat to be most effective.  Play on, I say.~ [KELDOR56] */
  IF ~~ THEN REPLY #11068 /* ~Ahh, Cernd. Come to investigate for the Grand Druid, have you? You may tell him that his way is dead. We are the Druids of Shadow and he can do nothing.~ */ GOTO 4
  IF ~~ THEN REPLY #11069 /* ~We shall see, Faldorn. You are not invulnerable just yet, though I sense the filthy ritual you have performed.  You drain from the land like some vile parasite.~ */ GOTO 5
  IF ~~ THEN REPLY #11071 /* ~A name I remember for some reason, though not one I fear. Do you make claim to know better than Faldorn what should be done here?~ */ GOTO 3
END

IF ~~ THEN BEGIN 2 // from: 0.2
  SAY #11074 /* ~More bored than timid, Lord Keldorn.  With your blade a'glittering in the sun like that, you leave few foes for me to challenge.~ */
  IF ~~ THEN REPLY #11080 /* ~We are his possessions.~ */ GOTO 1
  IF ~~ THEN REPLY #11087 /* ~His servants.~ */ GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.1 1.2 0.1
  SAY #11088 /* ~His concubines. Please help us to escape!~ */
  IF ~~ THEN REPLY #11136 /* ~He has kidnapped us and kept us here for more time than I can count.~ */ GOTO 5
  IF ~~ THEN REPLY #11137 /* ~Nay, good man, they flee not from the brightness of my sword but from the sheer wretchedness of your playing!~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.1 1.0
  SAY #11100 /* ~But you must help us get free of this... creature Irenicus!~ */
  IF ~~ THEN REPLY #11665 /* ~I am no Master of yours.  How is it that you have been imprisoned so?~ */ GOTO 7
  IF ~~ THEN REPLY #11666 /* ~It is burning me!  My skin is afire with the crawling of ants!  Oh, please, Master, save me!  I am not like your djinni to be coiled within a bottle for, for, ahhh!!~ */ GOTO 6
END

IF ~~ THEN BEGIN 5 // from: 3.0 1.1
  SAY #11135 /* ~Please, <PRO_SIRMAAM>! His dungeon is death all around!~ */
  IF ~~ THEN REPLY #11138 /* ~Ha!  'Twill be music to my ears to wrap this lute about your head, someday, my aging hound.  Now go out there with your blade once again and make yourself useful, aye?~ */ GOTO 7
  IF ~~ THEN REPLY #11139 /* ~I will speak for myself!  Faldorn, you perpetrate gross crimes here!  You are unfit!  I challenge you, and by the rites laid down ages ago you cannot refuse!~ */ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.1 4.1
  SAY #11140 /* ~Of course I do, Aerie.  What is it?~ [KELDOR49] */
  IF ~~ THEN DO ~SetGlobal("TamokoMove","GLOBAL",1)
EscapeArea()
~ JOURNAL #7167 /* ~Rescue Garren's child from Firkraag.

Inside Firkraag's dungeon I have encountered a woman by the name of Samia... a relic hunter, of sorts, who is searching for texts relating to a dead Tethyrian king.  I have agreed to take her key and find the texts she needs from the king's burial chamber... which is supposedly protected by a mysterious, invisible creature, the last of seven guardians, according to the legends.  Once I have the texts I am to return to Samia.~ */ EXIT
END

IF ~~ THEN BEGIN 7 // from: 5.0 4.0
  SAY #11141 /* ~What makes you think I would wish to refuse? I took this grove by force and I shall keep it in the same manner. Did you think I would retreat? Oh no, Cernd, this is your end. Prepare!~ [CEFALD13] */
  IF ~~ THEN DO ~SetGlobal("TamokoMove","GLOBAL",1)
EscapeArea()
~ JOURNAL #7167 /* ~Rescue Garren's child from Firkraag.

Inside Firkraag's dungeon I have encountered a woman by the name of Samia... a relic hunter, of sorts, who is searching for texts relating to a dead Tethyrian king.  I have agreed to take her key and find the texts she needs from the king's burial chamber... which is supposedly protected by a mysterious, invisible creature, the last of seven guardians, according to the legends.  Once I have the texts I am to return to Samia.~ */ EXIT
END

IF ~Global("TamokoMove","GLOBAL",1)
~ THEN BEGIN 8 // from:
  SAY #11142 /* ~Keldorn, do --  do you have a moment?~ [AERIE56] */
  IF ~Global("RescuedEltan","GLOBAL",1)
~ THEN DO ~SetGlobal("TamokoMove","GLOBAL",3)
~ GOTO 9
  IF ~Global("RescuedEltan","GLOBAL",0)
~ THEN DO ~SetGlobal("TamokoMove","GLOBAL",3)
~ GOTO 10
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #1662 /* ~Ohh, Jaheira, you misunderstand me. Belgrade, he's... he's dead.~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 9.0 8.1
  SAY #1680 /* ~Thank you for keeping her safe. I will do what I can to find the person who cursed her.~ */
  IF ~~ THEN REPLY #11060 /* ~You're a man of the Church, Keldorn.  How can you stay so calm amidst such a constant display of magic in this group?   I feel most unsettled at the sight of it.~ [VALYGA47] */ GOTO 12
  IF ~~ THEN REPLY #11061 /* ~~ */ GOTO 13
  IF ~~ THEN REPLY #11062 /* ~I find it hard to believe that anything tainted with the scent of lichdom or Lavok's necromancy can lead to anything good.~ */ GOTO 11
END

IF ~~ THEN BEGIN 11 // from: 13.1 10.2
  SAY #11143 /* ~How can I help you?~ */
  IF ~~ THEN REPLY #11172 /* ~Please stay and help us! We must escape from this... this Irenicus!~ */ GOTO 12
  IF ~~ THEN REPLY #11173 /* ~You are mistaken, of course. I revel in the combat of the rituals, and I welcome the chance to end your miserable existence. Come, to your death!~ [CEFALD12] */ GOTO 14
END

IF ~~ THEN BEGIN 12 // from: 16.0 15.0 14.0 13.0 11.0 10.0
  SAY #11157 /* ~Still, I care not. Goodbye.~ */
  IF ~~ THEN DO ~SetGlobal("TamokoMove","GLOBAL",2)
EscapeArea()
~ JOURNAL #11667 /* ~~ */ EXIT
END

IF ~~ THEN BEGIN 13 // from: 10.1
  SAY #1683 /* ~The caster must have a personal item of hers.  The caster could remove the spell, or killing him might work.  Perhaps even retrieving the item would help.~ */
  IF ~~ THEN REPLY #11170 /* ~You will accept this challenge and we will proceed!  I will not have this place remain in your 'care'! By the great mother, you will not leave the duel alive!~ */ GOTO 12
  IF ~~ THEN REPLY #11171 /* ~You must excuse me, ladies. I have no time to speak with you.~ */ GOTO 11
END

IF ~~ THEN BEGIN 14 // from: 11.1
  SAY #11184 /* ~You dare to quote the rules of our rituals to me? You who are barely a natural creature yourself? Oh yes, I can sense that about you. It will be a pleasure to wipe your scourge from the land!~ [CEFALD10] */
  IF ~~ THEN REPLY #11174 /* ~If you can escape, you must take our acorns to the Queen. Tell her of our plight in this creature's lair.~ */ GOTO 12
  IF ~~ THEN REPLY #11185 /* ~Cause Serious Wounds (Necromancy) 
Level: 4
Sphere: Healing 
Range: Touch 
Duration: Permanent 
Casting Time: 7 
Area of Effect: Creature touched 
Saving Throw: None 

This spell is the reverse of cure serious wounds.  Instead of healing the creature touched, it causes damage.  On a successful touch from the priest, the spell inflicts 17 damage upon the target.  The next attack that the priest makes will inflict this effect, however he only has 2 rounds to make the attack before the spell fizzles.  Also, if the priest misses the target creature the spell is wasted.  There is no saving throw.~ */ GOTO 15
END

IF ~~ THEN BEGIN 15 // from: 14.1
  SAY #11187 /* ~Who? Is this worthy of my time? I doubt it is so. I will face this fool under the old rules, and when they are dead I will be secure. Come; let us seal your fate... and your mouth.~ [CEFALD11] */
  IF ~~ THEN REPLY #11189 /* ~Who? Is this worthy of my time? I doubt it is so. I will face this fool under the old rules, and when they are dead I will be secure. Come; let us seal your fate... and your mouth.~ [CEFALD11] */ GOTO 12
  IF ~~ THEN REPLY #11190 /* ~Who? Is this worthy of my time? I doubt it is so.  I will face this fool under the old rules, and when they are dead I will be secure. Come; let us seal your fate... and your mouth.~ [CEFALD11] */ GOTO 16
  IF ~~ THEN REPLY #11191 /* ~Who? Is this worthy of my time? I doubt it is so. I will face this fool under the old rules, and when they are dead I will be secure. Come; let us seal your fate... and your mouth.~ [CEFALD11] */ GOTO 17
END

IF ~~ THEN BEGIN 16 // from: 15.1
  SAY #11192 /* ~Who? Is this worthy of my time? I doubt it is so. I will face this fool under the old rules, and when they are dead I will be secure. Come; let us seal your fate... and your mouth.~ [CEFALD11] */
  IF ~~ THEN REPLY #11193 /* ~Cause Critical Wounds~ */ GOTO 12
  IF ~~ THEN REPLY #11194 /* ~Cause Critical Wounds (Necromancy) 
Level: 5
Sphere: Healing 
Range: Touch 
Duration: Permanent 
Casting Time: 8
Area of Effect: Creature touched 
Saving Throw: None 

This spell is the reverse of cure critical wounds.  Instead of healing the creature touched, it causes damage.  On a successful touch from the priest, the spell inflicts 27 damage upon the target.  The next attack that the priest makes will inflict this effect, however he only has 2 rounds to make the attack before the spell fizzles.  Also, if the priest misses the target creature the spell is wasted.  There is no saving throw.~ */ GOTO 17
END

IF ~~ THEN BEGIN 17 // from: 16.1 15.2
  SAY #11195 /* ~Take them to the Fairy Queen who lives in the south end of the Windspear Hills. This will be our deliverance from this... this Irenicus and his dungeon!~ */
  IF ~~ THEN REPLY #11199 /* ~Dead and dead as they should be! The rest of you will leave and return at your peril! Speak of this to your kind! All shall bow before the Druids of Shadow!~ [CEFALD08] */ GOTO 18
  IF ~~ THEN REPLY #11200 /* ~Harm~ */ GOTO 19
END

IF ~~ THEN BEGIN 18 // from: 17.0
  SAY #11196 /* ~You can foil his plans for us at least. If you take the acorns to the Fairy Queen then she can regrow our trees and free us!~ */
  IF ~~ THEN DO ~SetGlobal("TamokoMove","GLOBAL",2)
EscapeArea()
~ JOURNAL #11668 /* ~~ */ EXIT
END

IF ~~ THEN BEGIN 19 // from: 17.1
  SAY #11202 /* ~Harm (Necromancy) 
Level: 6
Sphere: Healing 
Range: Touch 
Duration: Permanent 
Casting Time: 1 round
Area of Effect: Creature touched 
Saving Throw: None 

This spell is the reverse of Heal.  Instead of healing the creature touched, it causes damage.  On a successful touch from the priest, the spell reduces the target to 1 hit point.  The next attack that the priest makes will inflict this effect, however he only has 2 rounds to make the attack before the spell fizzles.  Also, if the priest misses the target creature, the spell is wasted.  There is no saving throw.~ */
  IF ~~ THEN DO ~SetGlobal("TamokoMove","GLOBAL",2)
EscapeArea()
~ JOURNAL #11668 /* ~~ */ EXIT
END

IF ~Global("TamokoMove","GLOBAL",2)
~ THEN BEGIN 20 // from:
  SAY #11203 /* ~You have come back! Such insolence matched only by stupidity! Even the smallest-brained of nature's creatures learn from pain, but you insist on provoking me!~ [CEFALD09] */
  IF ~~ THEN REPLY #11204 /* ~The scourge has been purged? I can tell that the deed is done, for even now the land sighs relief. This has been a great service to nature and she shall not forget.~ [CERND72] */ GOTO 22
  IF ~~ THEN REPLY #11205 /* ~Harm~ */ GOTO 21
  IF ~~ THEN REPLY #11206 /* ~~ */ GOTO 23
END

IF ~~ THEN BEGIN 21 // from: 23.0 22.1 22.0 20.1
  SAY #11207 /* ~Now to repair the land after the ritual that Faldorn performed.  Her invulnerability was at great cost; her loss will cause the land to suffer immeasurably.~ */
  IF ~~ THEN DO ~Enemy()
~ JOURNAL #11689 /* ~Getting Inside the Asylum

I have convinced the cook and her helper to give the sleeping draught to Rerdes and the guards at the door to the cellar.  The cook warned me that Galvena has her pet wizard with her, and that both will have to be killed.~ */ EXIT
END

IF ~~ THEN BEGIN 22 // from: 20.0
  SAY #11211 /* ~I will be happy to help you.~ */
  IF ~~ THEN REPLY #11212 /* ~I will help you if you help me. I am looking for a flask in order to free a djinni who is trapped in the Plane of Air. Have you seen one?~ */ GOTO 21
  IF ~~ THEN REPLY #11213 /* ~I refuse to help you.~ */ GOTO 21
  IF ~~ THEN REPLY #11214 /* ~I... Quayle taught me to be a cleric but -- but I know so little of the world... He taught me to worship Baervan Wildwanderer, god of the gnomes...~ */ GOTO 23
END

IF ~~ THEN BEGIN 23 // from: 22.2 20.2
  SAY #11215 /* ~Baervan Wildwanderer: the Masked Leaf, the Forest Gnome.  I have heard of him, but know little.  I have dedicated my studies to the human pantheon, I fear.~ */
  IF ~~ THEN REPLY #11216 /* ~Verthan will serve as challenge master and Great Druid until all the healing is done. His reverence for the land will not allow him to be corrupted.~ */ GOTO 21
  IF ~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #11217 /* ~Why do you not simply leave? You do not seem to be chained or caged as I was.~ */ GOTO 25
  IF ~ReactionLT(LastTalkedToBy,FRIENLY_LOWER)
ReactionGT(LastTalkedToBy(),HOSTILE_UPPER)
~ THEN REPLY #11218 /* ~When the scars are healed things will be as they were... or very nearly.  A new Great Druid will need to be chosen. More turmoil ahead, but for now we can rest.~ */ GOTO 24
END

IF ~~ THEN BEGIN 24 // from: 23.2
  SAY #11219 /* ~What of you, <CHARNAME>?  Are you off to travel?  If ever you need help, you may find me standing amidst the beauty of nature that is our druid grove.~ */
  IF ~~ THEN DO ~Enemy()
~ JOURNAL #11686 /* ~Getting Inside the Asylum

It appears that Perth the Adept was under some kind of magical domination, and he attacked without provocation.  Hopefully this wardstone that is on his person will allow entry to the asylum.~ */ EXIT
END

IF ~~ THEN BEGIN 25 // from: 23.1
  SAY #11220 /* ~Please do not forget about us! I have been so long away from the sun! I do not know how much longer I can stand it...~ */
  IF ~~ THEN DO ~SetGlobal("TamokoMove","GLOBAL",4)
EscapeArea()
~ JOURNAL #11681 /* ~Getting Inside the Asylum

I found where the 'Pirate King', Desharik, is... and bribed a guard to allow me entrance to his office.~ */ EXIT
END
