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

  <dialogue id="6">
    <mood value="0"/>
    <enter id="1" image="0" left="1" block="0"/>
    <enter id="2" image="1015" right="1" block="0" pitch="1.10"/>
    <add_image id="2" image="566" x="-60" y="0" flag="Quest-Glasses" value="3"/>
    <wait value="0.5"/>
    <goto id="2" item="Glasses"/>
    <text id="2" text="Uh... Hi! Need a haircut?" flag="D4-C1" value="0"/>
    <text id="2" text="Uh... Hi there!" flag="D4-C1"/>
    <label id="5"/>
    <choices>
      <choice text="Haircut?" name="D4-C1">
        <text id="1" text="Do I look like a I need a haircut?"/>
        <mood value="2"/>
        <text id="2" text="Uh... To be honest I can't tell. I've lost my glasses and I'm blind as a bat without them!"/>
	    <mood value="0"/>
        <text id="2" text="Would you be so kind as to help me look for them?"/>
	    <mood value="1"/>
        <text id="1" text="A barber without his glasses... I'd better accept this glorious quest in order to save the innocent ears of Spring Valley!"/>
        <text id="2" text="Bless you, child! You're an angel!"/>
	    <mood value="0"/>
        <enter id="5" info="2"/>
        <exit id="5"/>
        <flag name="Quest-Glasses"/>
        <text id="1" text="Where did you last see them?"/>
        <text id="2" text="Uh... Not sure. Maybe somewhere in town, or maybe I dropped them at Zachary's place."/>
        <text id="1" text="Zachary's place?"/>
        <text id="2" text="Yes, Zachary is a rancher who lives a little to the south. Uh... I was there to help him style his animals."/>
        <enter id="5" info="1"/>
        <exit id="5"/>
        <flag name="Location-Zachary"/>
        <flag name="Location-Zachary-Show"/>
        <text id="2" text="I'd be terribly grateful if you'd find my glasses for me!"/>
      </choice>
      <choice text="Seen my parents?" name="D4-C2">
        <text id="1" text="Have you seen my parents?"/>
        <mood value="1"/>
        <text id="2" text="Uh... Yes, yes, I have actually!"/>
        <text id="1" text="Really?!"/>
        <text id="2" text="Yes, I definitely saw them the day before they disappeared and the ranch was destroyed."/>
        <mood value="4"/>
        <text id="1" text="Oh. I meant after that..."/>
        <text id="2" text="Uh... Sorry, then no, I haven't."/>
        <mood value="0"/>
      </choice>
      <choice text="Have you heard of a dragon?" name="DR1" flag="Quest-Receipt" value="2">
        <text id="1" text="Say, have you heard of a dragon somewhere around here?"/>
        <text id="2" text="Uh... Can't say that I do. Sorry!"/>
        <flag name="DragonRumor" add="1"/>
      </choice>
      <choice text="What's the difference..." name="D4-C4">
	    <mood value="1"/>
        <text id="1" text="I have a riddle for you!"/>
        <text id="1" text="What's the difference between an angry circus owner and a Roman barber?"/>
        <text id="2" text="Uh... Go on."/>
        <text id="1" text="One is a raving showman, and the other is a shaving Roman!"/>
        <text id="1" text="Haha! That was a good one, right?"/>
	    <mood value="0"/>
        <text id="2" text="Uh... Sorry, not sure if I got it..."/>
      </choice>
      <choice text="What's the difference..." flag="D4-C4" value="1">
	    <mood value="1"/>
        <text id="1" text="I have another riddle for you!"/>
        <text id="1" text="What's the difference between the death of a barber and the death of a sculptor?"/>
        <text id="2" text="Uh... Go on."/>
        <text id="1" text="One curls up and dies, and the other makes faces and busts!"/>
	    <mood value="0"/>
        <text id="2" text="Uh... Oh, how morbid! Was that supposed to be a joke?"/>
        <flag name="D4-C4" value="2"/>
      </choice>
      <choice text="What's the difference..." flag="D4-C4" value="2">
        <text id="1" text="It's no use. He wouldn't know a good joke if it jumped up and polished his glasses."/>
        <text id="2" text="Uh... To whom were you talking?"/>
	    <mood value="1"/>
        <text id="1" text="No one in particular, Jack. Just hacking away a bit at that fourth wall."/>
	    <mood value="0"/>
        <flag name="D4-C4" value="3"/>
      </choice>
      <choice text="How's business?" flag="Quest-Glasses" value="3">
        <mood value="1"/>
        <text id="1" text="How's the barbing business?"/>
        <text id="2" text="Uh... Very fine, thank you! I'm cutting hair like a veritable reaper man. Heehee!"/>
        <text id="1" text="Just be careful with those scissors, right!"/>
        <mood value="0"/>
      </choice>
      <choice text="Do you have any hair?" flag="Quest-DwarfLord" value="5">
        <text id="1" text="Jack, do you have any spare hair?"/>
        <text id="2" text="Uh... This IS a barbershop, $NAME$. Of course I have hair."/>
        <mood value="1"/>
        <text id="1" text="That's great! See, I have this wireframe for a false beard that I'd like to attach hair to."/>
        <text id="2" text="Uh... I see."/>
        <text id="2" text="Uh... I have this lovely red hair that could work. Should I glue it on?"/>
        <text id="1" text="Please do!"/>
        <enter id="5" item="Beard mesh" remove="1"/>
        <exit id="5"/>
        <item name="Beard mesh" number="-1"/>
        <enter id="5" item="False beard"/>
        <exit id="5"/>
        <item name="False beard"/>
        <enter id="5" info="3"/>
        <exit id="5"/>
        <flag name="Quest-DwarfLord" value="6"/>
        <text id="1" text="Wow, this looks great! Thank you so much!"/>
        <text id="2" text="Uh... No problem at all!"/>
        <mood value="0"/>
      </choice>
      <choice text="Bye!">
        <goto id="1"/>
      </choice>
    </choices>

    <label id="2"/>
    <mood value="1"/>
    <text id="1" text="Hey, Mister! Look what I found!"/>
    <text id="2" text="Uh... Are... Are those my glasses?!"/>
    <text id="1" text="Why don't you try them on and see for yourself?"/>
    <enter id="5" item="Glasses" remove="1"/>
    <exit id="5"/>
    <add_image id="2" image="566" x="-60" y="0"/>
    <text id="2" text="Why... Thank you so much! This is marvelous - I can see again!"/>
    <enter id="5" info="4"/>
    <exit id="5"/>
    <text id="2" text="Uh... How can I ever thank you?"/>
    <text id="1" text="Well, I don't really want to appear greedy, but cash works very well."/>
    <text id="2" text="By all means, you really deserve a reward!"/>
    <enter id="5" message="1"/>
    <text id="5" text="You received $40!"/>
    <exit id="5"/>
    <flag name="Money" add="40"/>
    <item name="Glasses" number="-1"/>
    <flag name="Quest-Glasses" value="3"/>
    <text id="1" text="Spring Valley's ears are safe yet again!"/>
    <mood value="0"/>
    <goto id="5"/>

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

</dialogues>
