<?xml version="1.0"?>
<dialogues>

  <dialogue id="17">
    <mood value="0"/>
    <goto id="2" flag="D17-C1" value="0"/>
    <enter id="1" image="0" left="1" block="0"/>
    <enter id="2" image="1021" right="1" pitch="0.75"/>
    <text id="2" text="What do you want this time?"/>
    <goto id="3"/>
    <label id="2"/>
    <enter id="1" image="0" left="1"/>
    <mood value="1"/>
    <text id="1" text="Ooh, now that's a big pile of gold!"/>
    <text id="1" text="The dragon doesn't seem to be around, so I'll just help myself to-"/>
    <music path="Data/Music/FinalMission.ogg"/>
    <mood value="2"/>
    <enter id="2" image="1021" right="1"/>
    <text id="2" text="Aaaaaaaaaaaaargh!" block="0"/>
    <text id="1" text="Aaaaaaaaaaaaaaah!"/>
    <text id="2" text="AAAAAAAAAAAARGH!!" block="0"/>
    <text id="1" text="AAAAAAAAAAAAAAH!!"/>
    <text id="2" text="AAAAAAAAAAAARGHHHHH!!!" block="0"/>
    <text id="1" text="AAAAAAAAAAARRRGGHHH!!!"/>
    <wait value="1"/>
    <text id="2" text="Could you please stop screaming like that? You're frightening the bejeezus out of me!"/>
    <music path="Data/Music/DeepBlue.ogg"/>
    <choices>
      <choice text="AAAAAARGGHHHHH!">
        <goto id="4"/>
      </choice>
      <choice text="EEEEEEEEEEEEEEK!">
        <goto id="4"/>
      </choice>
      <choice text="SQUEEEEEEEEE!">
        <goto id="4"/>
      </choice>
    </choices>
    <label id="4"/>
    <text id="1" text="D-d-d-d-d-d-d-dragon!!!"/>
    <text id="2" text="Yes, quite observant of you!"/>
    <mood value="0"/>
    <flag name="D17-C1"/>
    <label id="3"/>
    <choices>
      <choice text="Don't eat me!" name="D17-C2">
        <mood value="2"/>
        <text id="1" text="Please don't eat me! I taste really bad!"/>
        <mood value="0"/>
        <text id="2" text="Eat you? Why would I want to do that?"/>
        <text id="1" text="I thought that was what dragons did."/>
        <text id="1" text="Hoard gold, kidnap princesses, burn down thatch-roofed cottages and eat innocent villagers - you know, things like that."/>
        <text id="2" text="What? I've never heard such preposterous notions!"/>
        <text id="2" text="What would I do with a princess? And I have nothing against villagers or their cottages."/>
        <text id="2" text="And this pile of gold was already here when I moved into this cave!"/>
      </choice>
      <choice text="Have you met two adventurers?" name="D17-C4" flag="D17-C2">
        <text id="1" text="Have you met Chantoya and Carn? They are two adventurers-"/>
        <text id="2" text="I sure have! They came here wielding swords and bows and whatnot, and almost killed me!"/>
        <mood value="2"/>
        <text id="1" text="Really?"/>
        <text id="2" text="Yes! I almost had a heart attack when I saw them sneaking around here."/>
        <mood value="0"/>
        <text id="2" text="I tried to hide as best as I could but they found me. I must have screamed my lungs out in fear!"/>
        <text id="2" text="I barely escaped their murderous clutches!"/>
        <text id="1" text="Hm... Are you sure they tried to kill you?"/>
        <mood value="1"/>
        <text id="1" text="When I saw them they were running for their lives from YOU!"/>
        <mood value="0"/>
        <text id="2" text="No way! I know adventurers - they all want to hurt and maim innocent dragons like me!"/>
        <enter id="5" info="3"/>
        <exit id="5"/>
        <flag name="Quest-Dragon" value="2"/>
      </choice>
      <choice text="The adventurers are afraid of you!" flag="Quest-Dragon" value="3">
        <text id="1" text="You know, those adventurers are just as afraid of you as you are of them!"/>
        <text id="2" text="Phah! I don't believe that for a second."/>
        <text id="1" text="Hm... Looks like we have a stalemate here."/>
        <text id="1" text="I won't get the information I need until the adventurers have disposed of you."/>
        <text id="1" text="But they are too afraid to approach you."/>
        <text id="2" text="And I would prefer not to be disposed of, thank you very much!"/>
        <text id="1" text="Hm..."/>
        <wait value="1"/>
        <text id="1" text="What if we could work something out?"/>
        <text id="2" text="Anything that doesn't include the words dispose, dispatch, slay, kill, hurt or rhododendron!"/>
        <mood value="2"/>
        <text id="1" text="Why rhododendron?!"/>
        <text id="2" text="I just hate the sound of it."/>
        <mood value="0"/>
        <text id="1" text="Okay, but how about this..."/>
        <text id="1" text="If I can get the adventurers to guarantee not to harm you..."/>
        <text id="2" text="I'm in! I like this plan!"/>
        <text id="1" text="...And you offer them your hoard as proof that they have slain you..."/>
        <text id="2" text="Why not? I have no use for gold anyway!"/>
        <mood value="1"/>
        <text id="1" text="Then everyone wins! They can tell people that they defeated you, and they have the dragon's hoard to prove it!"/>
        <text id="2" text="And I get to live! Yes, this sounds like a brilliant plan!"/>
        <enter id="5" info="3"/>
        <exit id="5"/>
        <flag name="Quest-Dragon" value="4"/>
        <text id="1" text="Okay then! I'll see if I can convince Chantoya and Carn to go along with this."/>
        <text id="2" text="I must see some proof that they are in on the plan before I can agree to it, though."/>
        <text id="2" text="Bring me some token of their cooperation!"/>
        <goto id="1"/>
      </choice>
      <choice text="The adventurers agree to our plan!" flag="Quest-Dragon" value="5">
        <mood value="1"/>
        <text id="1" text="Carn and Chantoya agree to our plan! They'll leave you alone in exchange for treasure."/>
        <text id="2" text="Excellent news! Do you have a token of their cooperation as well?"/>
        <mood value="0"/>
        <text id="1" text="Well... Not just yet..."/>
        <text id="2" text="What are you waiting for? Go get it, and return to me afterwards!"/>
      </choice>
      <choice text="The adventurers agree to our plan!" item="Barbed arrow">
        <mood value="1"/>
        <text id="1" text="Carn and Chantoya agree to our plan! They'll leave you alone in exchange for treasure."/>
        <text id="2" text="Excellent news! Do you have a token of their cooperation as well?"/>
        <text id="1" text="But of course... How about this special barbed dragon-slaying arrow?"/>
        <enter id="5" item="Barbed arrow" remove="1"/>
        <exit id="5"/>
        <item name="Barbed arrow" number="-1"/>
        <text id="2" text="Oooh... This is most definitely an adventurer's arrow!"/>
        <text id="2" text="Such an evil looking weapon! I shiver when I look at it."/>
        <text id="2" text="I accept this as proof that those bloodthirsty adventurers agree to our plan!"/>
        <text id="1" text="Yay! At last!"/>
        <text id="2" text="They can drop by whenever they're ready. But tell them to knock first!"/>
        <text id="2" text="I don't want to get a fright like the last time!"/>
        <enter id="5" info="3"/>
        <exit id="5"/>
        <flag name="Quest-Dragon" value="7"/>
        <goto id="1"/>
      </choice>
      <choice text="Do you have some ash?" name="D17-C5" flag="Quest-Potion" value="1">
        <goto id="5"/>
      </choice>
      <choice text="Do you have some ash?" name="D17-C5" flag="Quest-Potion" value="2">
        <goto id="5"/>
      </choice>
      <choice text="I need a certificate of heroics..." name="D17-C6" flag="Quest-Guild" value="1">
        <mood value="1"/>
        <text id="1" text="I'm trying to become a member of the Adventurers Guild but I need a certificate that I've done a heroic deed."/>
        <text id="1" text="I thought, since I helped... Um... Dispatch of you..."/>
        <mood value="0"/>
        <text id="2" text="Let me stop you right there!"/>
        <text id="2" text="First of all, if you had dispatched of me I couldn't very well sign any certificate could I?"/>
        <mood value="4"/>
        <text id="1" text="Oh! Didn't think of that!"/>
        <text id="2" text="Secondly, I have NO wish whatsoever to see more adventurers roaming about!"/>
        <text id="2" text="So don't expect any help from me."/>
        <mood value="0"/>
      </choice>
      <choice text="You sound like a strange dragon." name="D17-C3" flag="D17-C2">
        <mood value="1"/>
        <text id="1" text="You sound like a pretty strange dragon!"/>
        <text id="2" text="No, not at all! It's just a few bad dragons who spoil our reputation. The rest of us are actually pretty nice."/>
        <mood value="2"/>
        <text id="1" text="A FEW bad dragons?"/>
        <mood value="0"/>
        <text id="1" text="There are heaps of nasty dragons!"/>
        <text id="1" text="Smaug, Glaurung, Icefyre, Tintaglia, Flamestrike..."/>
        <text id="2" text="Yes, I admit that there are a couple of evil ones..."/>
        <text id="1" text="Tiamat, Bahamut, Fafnir, Vermithrax Pejorative..."/>
        <text id="2" text="Granted, maybe more than just a couple..."/>
        <text id="1" text="Trogdor, Ancalagon, Nidhugg, Hungarian Horntails..."/>
        <text id="2" text="Yes yes, I get your point!"/>
        <text id="1" text="Katla, Kalessin, Orm Embar, Villentretenmerth..."/>
        <text id="2" text="Enough! All right, I admit it!"/>
        <text id="2" text="There's a whole bunch of horrible dragons in the world, but most of us really are nice!"/>
      </choice>
      <choice text="Are the adventurers treating you well?" flag="Quest-Dragon" value="8">
        <mood value="1"/>
        <text id="1" text="Hey there, dragon! Are Chantoya and Carn treating you well?"/>
        <text id="2" text="I guess... They have kept their end of the bargain so far."/>
        <text id="2" text="I just wish they'd hurry up and be gone!"/>
        <text id="1" text="Don't worry, I'm sure they'll be finished soon!"/>
        <mood value="0"/>
      </choice>
      <choice text="What do you do all day?" flag="D17-C2">
        <mood value="1"/>
        <text id="1" text="It must get pretty boring all by yourself in this cave."/>
        <text id="2" text="Not in the least! I do a lot of reading and crocheting."/>
        <text id="2" text="And I love catching a few fish from the nearby lake."/>
        <mood value="0"/>
      </choice>
      <choice text="Bye!">
        <goto id="1"/>
      </choice>
    </choices>

    <label id="5"/>
    <text id="1" text="You're a fire breathing dragon aren't you?"/>
    <text id="2" text="Not at all."/>
    <text id="1" text="No? I thought I smelt sulphur and brimstone..."/>
    <wait value="2"/>
    <mood value="2"/>
    <text id="1" text="Oh no... Please don't tell me that it's coming from the other end!"/>
    <mood value="0"/>
    <text id="2" text="Nothing of the sort! I just meant that the term fire breathing is pretty misleading."/>
    <text id="2" text="I don't breathe fire. I spew it out in enormous bursts of blazing flames!"/>
    <mood value="1"/>
    <text id="1" text="Oh, I see!"/>
    <text id="1" text="Well then, maybe you can help me after all. I'm looking for some sulphurous ash."/>
    <text id="2" text="No problem there. This place is covered in ash, and I daresay that it's all pretty dang sulphurous."/>
    <enter id="5" item="Sulphurous ash"/>
    <exit id="5"/>
    <item name="Sulphurous ash"/>
    <text id="1" text="Woohoo! That's one of the reagents I need!"/>
    <mood value="0"/>
    <goto id="1"/>

    <label id="1"/>
    <exit id="1"/>
    <exit id="2"/>
  </dialogue>

</dialogues>
