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

  <dialogue id="20">
    <mood value="0"/>
    <enter id="1" image="0" left="1" block="0"/>
    <enter id="2" image="1019" right="1" pitch="0.90"/>
    <goto id="5" flag="Misc-Endgame" value="2"/>
    <goto id="2" flag="D20-C1"/>
    <mood value="1"/>
    <text id="2" text="Halt!" flag="D20-C1" value="0"/>
    <text id="2" text="Who goes there?" flag="D20-C1" value="0"/>
    <text id="1" text="I was just looking around a bit!" flag="D20-C1" value="0"/>
    <mood value="0"/>
    <text id="2" text="Well, you're not getting in here while I'm on duty." flag="D20-C1" value="0"/>
    <text id="2" text="So just beat it!" flag="D20-C1" value="0"/>
    <label id="2"/>
    <text id="2" text="What do you want, kid?" flag="D20-C1"/>
    <flag name="D20-C1"/>
    <choices>
      <choice text="Who lives here?" name="D20-C2">
        <text id="1" text="Who lives in this mansion? It's huge!"/>
        <text id="2" text="Lord Blunderbuss, the wealthiest and most powerful man in Tawyn City."/>
        <mood value="1"/>
        <text id="1" text="Not to mention the most arrogant."/>
        <text id="2" text="Aye, that too."/>
        <text id="2" text="But he pays well, so I have no complaints."/>
        <mood value="0"/>
      </choice>
      <choice text="Let me in!" name="D20-C3">
        <mood value="1"/>
        <text id="1" text="Couldn't you let me in? I'd love to see the mansion!"/>
        <mood value="4"/>
        <text id="2" text="No chance. You won't get in here while I'm on guard!"/>
        <text id="1" text="I bet it's a real dump in there anyway."/>
        <text id="1" text="Wouldn't want to see that run-down mansion even if you paid me!"/>
        <mood value="0"/>
        <text id="2" text="What's that smell?"/>
        <text id="1" text="What smell? I don't smell anything."/>
        <text id="2" text="I smell something sour. Something with a touch of grapes too."/>
        <text id="1" text="Alright, alright!"/>
        <text id="1" text="I DO want to see the mansion after all!"/>
        <mood value="4"/>
        <text id="2" text="Well, you aren't. So get lost!"/>
        <enter id="5" info="3"/>
        <exit id="5"/>
        <flag name="Quest-Parents" value="10"/>
        <mood value="0"/>
      </choice>
      <choice text="Blunderbuss kidnapped my parents!" name="D20-C4" flag="D20-C3">
        <mood value="3"/>
        <text id="1" text="Lord Blunderbuss kidnapped my parents! You've got to let me in!"/>
        <text id="2" text="What, are you sure?"/>
        <mood value="1"/>
        <text id="2" text="That's awful! Let's go - I'll help you search the place for them."/>
        <text id="1" text="Really?"/>
        <mood value="4"/>
        <text id="2" text="Of course not, you cretin! You won't fool me with a story like that."/>
        <mood value="0"/>
      </choice>
      <choice text="Let me in!" flag="D20-C4">
        <goto id="4" flag="D20-C5"/>
        <goto id="3" flag="Quest-Squid" value="4"/>
        <text id="1" text="Come on, let me in!"/>
        <text id="2" text="Beat it, kid! Don't make me hurt you."/>
        <goto id="1"/>
      </choice>
      <choice text="Can I do something for you?" flag="Quest-Axe" value="0">
        <mood value="1"/>
        <text id="1" text="Say, do you need help with anything?"/>
        <text id="2" text="..."/>
        <mood value="2"/>
        <text id="2" text="What's your angle, kid? Trying to bribe me into letting you in?"/>
        <mood value="1"/>
        <text id="1" text="No, nothing like that! I just like helping random people."/>
        <text id="1" text="I realize that that sounded vaguely sarcastic, but I really mean it."/>
        <text id="2" text="Well, if you're so keen on helping me out I could actually use some help."/>
        <text id="2" text="Do you know anything about dwarven mythology?"/>
        <mood value="0"/>
        <text id="1" text="Noo, can't say that I do..."/>
        <text id="2" text="Our legends speak of a famous dwarven warrior named Ceres who in the olden days united all the dwarf clans."/>
        <text id="2" text="Ceres's axe is a priceless dwarven artifact that has been passed down through the ages."/>
        <mood value="1"/>
        <text id="1" text="Sounds fascinating!"/>
        <text id="2" text="Aye! Well, to make a long story short it ended up in my possession through a twist of fate involving ale, a wager and rubber petunias."/>
        <mood value="2"/>
        <text id="1" text="What?"/>
        <text id="2" text="The details don't matter. What matters is that I accidentally misplaced the axe before coming to Tawyn."/>
        <text id="1" text="You MISPLACED a priceless artifact? Isn't that kind of-"/>
        <text id="2" text="Aye, aye, I know! You could end that sentence with any kind of horrible adjective and I've already called myself thrice worse things."/>
        <mood value="0"/>
        <text id="2" text="If you could find Ceres's axe for me I'd be ever so grateful."/>
        <mood value="1"/>
        <text id="1" text="Leave it to me! I'm an expert in finding lost things."/>
        <enter id="5" info="2"/>
        <exit id="5"/>
        <flag name="Quest-Axe" value="1"/>
        <text id="1" text="Any idea where you could have lost it?"/>
        <mood value="0"/>
        <text id="2" text="Unfortunately, no. We traveled all over the world, my trusty axe and I."/>
        <text id="1" text="Hm... That doesn't exactly narrow it down."/>
        <mood value="1"/>
        <text id="1" text="Well, never mind. How hard could it be to locate one small axe somewhere in the entire world?"/>
        <goto id="1"/>
      </choice>
      <choice text="I found the axe!" flag="Quest-Axe" value="3">
        <mood value="1"/>
        <text id="1" text="Hey, Mr. Guard Dwarf! I found your axe!"/>
        <text id="2" text="Is it... Is it really true?"/>
        <text id="1" text="It sure is! Here, have a look."/>
        <enter id="5" item="Ceres's axe" remove="1"/>
        <exit id="5"/>
        <item name="Ceres's axe" number="-1"/>
        <text id="2" text="Praise the Valar, you really found Ceres's axe!"/>
        <text id="2" text="Thank you so very much, and let me repay you with the thing we dwarves hold most dear."/>
        <mood value="2"/>
        <text id="1" text="I hope that you're not talking about honor."/>
        <mood value="1"/>
        <text id="2" text="Don't be silly. I mean gold!"/>
        <enter id="5" message="1"/>
        <text id="5" text="You received $500!"/>
        <flag name="Money" add="500"/>
        <exit id="5"/>
        <enter id="5" info="4"/>
        <exit id="5"/>
        <flag name="Quest-Axe" value="4"/>
        <text id="2" text="At last I can return home to Steinheim Keep."/>
        <text id="2" text="Thanks to you I'm no longer an outcast."/>
        <text id="1" text="I guess that means you'll be heading off now?"/>
        <text id="2" text="Alas, no. I need to fulfil my three month contract with Lord Blunderbuss first."/>
        <text id="2" text="But after that I'm free as a bird!"/>
        <goto id="1"/>
      </choice>
      <choice text="Bye!">
        <goto id="1"/>
      </choice>
    </choices>

    <label id="5"/>
    <text id="2" text="Halt! You have no business here anymore."/>
    <text id="2" text="Lord Blunderbuss has been jailed and is no longer in the mansion."/>
    <goto id="1"/>

    <label id="4"/>
    <text id="1" text="Let me in! I need to deliver a squid to Lord Blunderbuss."/>
    <text id="2" text="Again? That Blunderbuss sure likes his squid."/>
    <location id="10"/>
    <goto id="1"/>

    <label id="3"/>
    <text id="1" text="Let me in! I've got a squid and I'm not afraid to use it!"/>
    <wait value="1"/>
    <text id="2" text="What?"/>
    <mood value="1"/>
    <text id="1" text="Sorry, I've always wanted to say that."/>
    <text id="1" text="But I really do have a squid. A squid that Lord Blunderbuss has ordered for tonight."/>
    <text id="2" text="Umm..."/>
    <text id="2" text="Well..."/>
    <text id="2" text="I guess you'd better get inside then."/>
    <text id="1" text="Thank you very much! You're an excellent guard."/>
    <flag name="D20-C5"/>
    <location id="10"/>

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

</dialogues>
