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

  <dialogue id="1">
    <wait value="1"/>
    <mood value="1"/>
    <enter id="1" image="0" left="1"/>
    <skip id="1"/>
    <text id="1" text="Spring Valley... Sure feels good to come home again. And this place hasn't changed at all while I've been away!"/>
    <text id="1" text="The same old store, the same old inn..."/>
    <enter id="2" image="1011" right="1" pitch="0.95"/>
    <mood value="2"/>
    <text id="2" text="$NAME$! When did ye get here, ye li'l brat?!"/>
    <mood value="1"/>
    <text id="1" text="...same friendly old Austin."/>
    <move id="1" x="340" frames="25"/>
    <text id="1" text="I got homesick, and I wanted to see my parents again. Tell me, how are they?"/>
    <move id="2" x="790" frames="25"/>
    <text id="2" text="Errr... Oooh..."/>
    <move id="1" x="380" frames="25"/>
    <text id="1" text="I bet dad's tending the animals and mom's preparing lunch."/>
    <move id="2" x="810" frames="25"/>
    <text id="2" text="Welll... Uuuh..."/>
    <text id="1" text="They're going to be thrilled to see me again!"/>
    <text id="2" text="About yer parents..."/>
    <text id="1" text="I hope they haven't changed my room. Mom's always so anxious to redecorate!"/>
    <text id="2" text="Well, yer mom hasn't done any redecoratin' at all lately..."/>
    <text id="1" text="That's a relief! Phew, I was afraid a lot had changed while I was away."/>
    <mood value="2"/>
    <music path="Data/Music/NewBeginning.ogg"/>
    <move id="2" x="770" frames="25"/>
    <text id="2" text="Yer parents are missing! All the animals are gone! The ranch is destroyed!"/>
    <wait value="1"/>
    <text id="1" text="Oh..."/>
    <wait value="1"/>
    <text id="2" text="Maybe I coulda broken it to ye more gently. 'Ere, let me take ye to what's left of Wildhollow so ye can see fer yerself."/>
    <label id="1"/>
    <exit id="1"/>
    <exit id="2"/>
    <wait value="1"/>
    <flag name="SkipMusic" value="1"/>
    <flag name="T1" value="1"/>
    <location id="3"/>
  </dialogue>

  <dialogue id="2">
    <music path="Data/Music/NewBeginning.ogg"/>
    <mood value="2"/>
    <enter id="1" image="0" left="1"/>
    <skip id="2"/>
    <text id="1" text="What... What happened here?!"/>
    <mood value="4"/>
    <text id="1" text="Wildhollow is destroyed! Mom and dad worked so hard on this place, and it's all...ruined."/>
    <enter id="2" image="1011" right="1" pitch="0.95"/>
    <text id="2" text="I'm sorry, $NAME$... It happened two nights ago. I saw dazzlin' lights and heard strange noises, but when I got here..."/>
    <text id="2" text="...it was too late. Yer parents were gone, the place was burned down and all the poor beasties had run away."/>
    <text id="2" text="$NAME$... What're ye goin' to do?"/>
    <label id="4"/>
    <choices text="Response">
      <choice text="Cry like a baby.">
        <goto id="3"/>
      </choice>
      <choice text="Run away in despair.">
        <goto id="3"/>
      </choice>
      <choice text="Build up Wildhollow again and find my parents!">
        <goto id="1"/>
      </choice>
    </choices>
    <label id="3"/>
    <text id="2" text="What's the matter with ye?! Is that how ye'd like to begin yer adventure?"/>
    <text id="2" text="Now gimme a proper response!"/>
    <goto id="4"/>
    <label id="1"/>
    <mood value="3"/>
    <music path="Data/Music/MySpace.ogg"/>
    <text id="1" text="I can't give up now! I need to find out what happened to my parents, and rebuild the ranch!"/>
    <mood value="0"/>
    <text id="2" text="Ye'll need money t' repair the place. Ye could check with people in town if they need help with anythin'."/>
    <mood value="1"/>
    <text id="1" text="Sounds like a good plan! And if I ask around I might find some clues about my parents as well."/>
    <enter id="5" info="2"/>
    <exit id="5"/>
    <label id="2"/>
    <music path="Data/Music/MySpace.ogg"/>
    <flag name="Quest-Parents" value="1"/>
    <flag name="Quest-Repair" value="1"/>
    <flag name="AdventurersTown" value="1"/>
    <flag name="T2" value="1"/>
    <mood value="0"/>
    <text id="1" text="Alright! Let's go!"/>
    <exit id="1"/>
    <exit id="2"/>
    <wait value="1"/>
    <flag name="SkipMusic" value="1"/>
    <location id="1"/>
  </dialogue>

  <dialogue id="4">
    <mood value="1"/>
    <enter id="1" image="0" left="1" block="0"/>
    <enter id="2" image="1011" right="1" pitch="0.95"/>

    <goto id="6" flag="Quest-Apple" value="1"/>
    <label id="8"/>

    <text id="2" text="'Ello there, $NAME$. What can I do fer ye today?"/>
    <goto id="1000" flag="Misc-GameOver"/>
    <label id="9"/>
    <choices>
      <choice text="Is the litter gone now?" flag="Quest-Litter" value="1">
        <mood value="0"/>
        <text id="1" text="Hey Austin, is Spring Valley clean yet?"/>
        <text id="2" text="No way, kiddo - my litter sense is tingling. There's still trash in town an' ye agreed to get rid of it all."/>
        <mood value="1"/>
      </choice>
      <choice text="What do you know about my parents?" name="D1-C1">
        <mood value="0"/>
        <text id="1" text="Austin, could you tell me anything else about my parents' disappearance?"/>
        <text id="2" text="Sorry, kiddo. I just stood here the whole day an' never saw what happened until it was too late."/>
        <mood value="1"/>
      </choice>
      <choice text="Why do you stand here?" name="D1-C2">
        <text id="1" text="Why do you stand here all day? Don't you have a job?"/>
        <text id="2" text="This IS my job! I'm the town greeter!"/>
        <text id="2" text="It's a terribly important job, too. I greet travelers an' make 'em feel welcome. Vital for tourism, ye know."/>
      </choice>
      <choice text="Show me how you greet people!" name="D1-C3" flag="D1-C2">
        <text id="1" text="Let's pretend I'm a complete stranger. How would you greet me?"/>
        <text id="2" text="Ahem..."/>
        <text id="2" text="'Welcome t' Spring Valley! In our fair town ye'll find everythin' ye need - we have a general store, an inn an' even a barbershop.'"/>
        <mood value="2"/>
        <move id="1" x="232" frames="25"/>
        <text id="2" text="'Now go spend a few bucks or I'm gonna have to rough ye up!'"/>
        <mood value="1"/>
        <move id="1" x="256" frames="25"/>
      </choice>
      <choice text="A grumpy old codger as town greeter?!" name="D1-C4" flag="D1-C2">
        <text id="1" text="So... Um... Town greeter. Do you really think that's a job that suits you?"/>
        <text id="2" text="Well, I wasn't sure 'bout it at first. But the town council insisted that I take the job."/>
        <mood value="2"/>
        <move id="1" x="232" frames="25"/>
        <text id="1" text="Really?"/>
        <text id="2" text="It must be my cheery disposition an' friendly mood."/>
        <move id="1" x="208" frames="25"/>
        <text id="1" text="Really?!"/>
        <text id="2" text="Or maybe because I threatened t' punch 'em in the face if they said no."/>
        <text id="1" text="Okay, I'm just leaving the subject now."/>
        <move id="1" x="256" frames="25"/>
        <mood value="1"/>
      </choice>
      <choice text="Do you need any help?" flag="Quest-Apple" value="0">
        <text id="1" text="Do you need anything? Can I do something for you?"/>
        <text id="2" text="Well... Now that ye mention it, I really fancy an apple."/>
        <text id="2" text="I can't leave me post as town greeter, but you could run off an' look fer an apple."/>
        <text id="2" text="I know that ye need money so there's a reward in it fer ye!"/>
        <text id="1" text="Say no more! I'm on it right away."/>
        <enter id="5" info="2"/>
        <exit id="5"/>
        <flag name="Quest-Apple" value="1"/>
        <text id="2" text="When ye find an apple tree, make sure ye pick a few spare apples fer yer animals. Most of 'em like apples too."/>
        <goto id="20" item="Apple"/>
      </choice>
      <choice text="So, what's new?" name="D1-C5">
        <text id="1" text="Seen anything new here lately?"/>
        <text id="2" text="Nah. Nothing interesting has happened in ages."/>
        <mood value="2"/>
        <text id="2" text="Well, apart from the Wildhollow tragedy, a new owner at the general store, adventurers in town, yer returnin' to town and barber Jack losing his glasses, that is."/>
        <text id="1" text="If that's what you call nothing interesting I don't think I want to see the alternative!"/>
        <mood value="1"/>
      </choice>
      <choice text="So, what's new?" flag="D1-C5" name="D1-C8">
        <text id="1" text="Seen anything new lately?"/>
        <text id="2" text="I already told ye no!"/>
      </choice>
      <choice text="So, what's new?" flag="D1-C8" name="D1-C9">
        <text id="1" text="So... Seen anything new lately?"/>
        <text id="2" text="Stop asking me that, ye little brat!"/>
      </choice>
      <choice text="So, what's new?" flag="D1-C9" name="D1-C10">
        <text id="1" text="Hey, seen anything new lately?"/>
        <text id="2" text="I swear, if ye ask me one more time I'll slap ye silly!"/>
      </choice>
      <choice text="So, what's new?" flag="D1-C10" name="D1-C11">
        <text id="1" text="Um... Seen anything new lately?"/>
        <text id="2" text="Kiddo, yer really trying my patience..."/>
      </choice>
      <choice text="So, what's new?" flag="D1-C11" name="D1-C12">
        <text id="1" text="So... Um... Seen anything new lately?"/>
        <text id="2" text="Shut it right now, ye brat!"/>
      </choice>
      <choice text="So, what's new?" flag="D1-C12">
        <text id="1" text="Seen anything new lately?"/>
        <text id="2" text="I'm not talking to ye!"/>
        <flag name="D1-C12" value="0"/>
        <flag name="D1-C11" value="0"/>
        <flag name="D1-C10" value="0"/>
        <flag name="D1-C9" value="0"/>
        <flag name="D1-C8" value="0"/>
        <goto id="1"/>
      </choice>
      <choice text="How about a smile?" flag="D1-C4" name="D1-C7">
        <text id="1" text="Why do you frown all the time? Shouldn't you try smiling now and then?"/>
        <mood value="2"/>
        <text id="2" text="I AM smiling!"/>
        <text id="1" text="Oo-kay..."/>
        <mood value="1"/>
      </choice>
      <choice text="What happened to your eye?" flag="D1-C4" name="D1-C6">
        <text id="1" text="Austin, what happened to your eye?"/>
        <text id="2" text="Well, I was picking my nose when..."/>
        <text id="2" text="Hey! That's none o' yer business!"/>
      </choice>
      <choice text="Have you heard of a dragon?" name="DR3" flag="Quest-Receipt" value="2">
        <text id="1" text="Austin, have you heard of a dragon somewhere around here?"/>
        <text id="2" text="Sorry. Haven't heard o' any beasties like that 'ere."/>
        <flag name="DragonRumor" add="1"/>
      </choice>
      <choice text="Bye!">
        <goto id="1"/>
      </choice>
    </choices>

    <label id="20"/>
    <mood value="1"/>
    <text id="1" text="Come to think of it, I think I already have an apple..."/>
    <goto id="21"/>

    <label id="6"/>
    <goto id="7" item="Apple"/>
    <goto id="8"/>
    <label id="7"/>
    <text id="1" text="Austin, here's a juicy apple for you!"/>
    <label id="21"/>
    <text id="2" text="That's the spirit! Well done, $NAME$."/>
    <enter id="5" item="Apple" remove="1"/>
    <exit id="5"/>
    <item name="Apple" number="-1"/>
    <text id="2" text="And here's some money fer ye in return."/>
    <enter id="5" message="1"/>
    <text id="5" text="You received $20!"/>
    <flag name="Money" add="20"/>
    <exit id="5"/>
    <enter id="5" info="4"/>
    <exit id="5"/>
    <flag name="Quest-Apple" value="2"/>
    <text id="2" text="So, what can I do fer ye today?"/>
    <goto id="9"/>

    <label id="1000"/>
    <mood value="1"/>
    <text id="1" text="Austin! I did it! I rescued my parents and made sure that Blunderbuss got locked up for his deeds!" flag="Misc-Endgame" value="2"/>
    <text id="2" text="Blunderbuss? You mean that weird guy who used to hang out with your parents?" flag="Misc-Endgame" value="2"/>
    <text id="1" text="Yeah, he was the one behind all of this." flag="Misc-Endgame" value="2"/>
    <text id="2" text="Good job, $NAME$! I never did trust the look of him." flag="Misc-Endgame" value="2"/>
    <text id="1" text="Austin! I did it! I rescued my parents and got Wildhollow back to its former glory!" flag="Misc-Endgame" value="1"/>
    <text id="2" text="So what are yer plans now?" flag="Misc-GameOver"/>
    <text id="1" text="Mom and dad left the ranch to me, and I intend to become the best rancher ever!" flag="Misc-GameOver"/>
    <text id="2" text="That's the spirit. I... I..." flag="Misc-GameOver"/>
    <text id="1" text="Just spit it out!" flag="Misc-GameOver"/>
    <text id="2" text="I'm proud of ye!" flag="Misc-GameOver"/>
    <text id="1" text="Awww, chucks... You're a real sweetie deep inside, Austin!" flag="Misc-GameOver"/>
    <mood value="2"/>
    <text id="2" text="I'll kill ye if ye tell anyone!" flag="Misc-GameOver"/>

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

</dialogues>
