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

  <dialogue id="7">
    <mood value="0"/>
    <enter id="1" image="0" left="1" block="0"/>
    <enter id="2" image="1014" right="1" x="866" block="0" pitch="0.85"/>
    <enter id="3" image="1013" right="1" x="640" pitch="1.15"/>
    <label id="7"/>
    <goto id="5" flag="Quest-Receipt" value="3"/>
    <goto id="6" flag="Quest-Backpack" value="2"/>
    <mood value="1"/>
    <text id="1" text="Hi there! Are you guys adventurers?" flag="D5-C1" value="0"/>
    <mood value="0"/>
    <text id="3" text="Of course we are adventurers, you ignorant child! Why else would we be dressed as adventurers, wielding adventurer gear?!" flag="D5-C1" value="0"/>
    <text id="3" text="What did you think we were? Pig farmers?" flag="D5-C1" value="0"/>
    <mood value="2"/>
    <text id="2" text="Chantoya, I wanna be a pig farmer! It sounds like fun!" flag="D5-C1" value="0"/>
    <text id="3" text="Quiet, Carn! We are adventurers, and nothing else!" flag="D5-C1" value="0"/>
    <mood value="0"/>
    <text id="1" text="Hi again, guys!" flag="D5-C1"/>
    <flag name="D5-C1"/>
    <label id="3"/>
    <choices>
      <choice text="How do you become an adventurer?" name="D5-C2">
	    <mood value="1"/>
        <text id="1" text="Say, is it hard to become an adventurer? I guess you need a lot of fighting skills?"/>
        <text id="3" text="Actually, that is not required at all, although it is beneficial."/>
        <text id="3" text="All one has to do is to register with the Adventurers Guild and pay the membership fee."/>
        <text id="2" text="Don't forget the test!"/>
        <text id="2" text="There's a very difficult test to take as well! I barely passed..."/>
        <mood value="2"/>
        <text id="3" text="Carn, they merely asked you to sign your name."/>
        <mood value="0"/>
      </choice>
      <choice text="Adventurers Guild?" flag="D5-C2" name="D5-C3">
        <text id="1" text="The Adventurers Guild? What do they do?"/>
        <text id="3" text="They regulate quest-to-adventurer ratios, ensure that prices on rope and torches stay low, and offer aid in legal disputes."/>
        <text id="1" text="Legal disputes?"/>
	    <mood value="2"/>
        <text id="2" text="I accidentally killed a goblin out of season once. The Guild saved me from a humongous fine!"/>
	    <mood value="0"/>
      </choice>
      <choice text="Where is the Adventurers Guild?" flag="D5-C3" name="D5-C7">
        <text id="1" text="Where's the guild located?"/>
        <text id="3" text="Their main office is located in Sturmdrang, far to the north."/>
        <text id="2" text="That's close to my home town!"/>
        <text id="3" text="Indeed, they are located suitably close to barbarian territories due to the influx of new members from those areas. But they also have branches in all major cities."/>
        <mood value="1"/>
        <text id="1" text="I wonder if I'll ever come across one of these Adventurers Guild offices. Wouldn't it be amazing if I somehow ended up an adventurer?"/>
        <wait value="1"/>
        <text id="1" text="It could happen, right?"/>
        <wait value="1"/>
        <mood value="0"/>
        <text id="1" text="Right, guys?"/>
        <text id="2" text="We don't wanna hurt your feelings."/>
        <mood value="4"/>
        <text id="3" text="Indeed. Better to keep quiet than utter derogatory and hurtful things."/>
        <mood value="0"/>
      </choice>
      <choice text="How's business?" name="D5-C4">
	      <mood value="1"/>
        <text id="1" text="So, how's the adventuring business? All fun and profit?"/>
        <text id="3" text="Well... It could be better, I suppose."/>
        <text id="2" text="We haven't earned a single coin yet! No loot at all! And I still have five more payments on this broadsword."/>
        <text id="3" text="Our last quest was especially abysmal."/>
	      <mood value="2"/>
        <text id="2" text="I got sorta confused. I really THOUGHT we were supposed to slay the princess and rescue the dark wizard..."/>
	      <mood value="0"/>
      </choice>
      <choice text="What are you doing here?" name="D5-C5">
  	    <mood value="1"/>
        <text id="1" text="What brings you to these parts? Looking for danger and glory and loot?"/>
  	    <mood value="0"/>
        <text id="3" text="Well, two of the three certainly sound appealing. But we are actually on a mission to dispatch a dragon."/>
        <text id="3" text="Alas, we have been thwarted in our quest! SOMEONE has misplaced our backpack with important adventurer tools."/>
        <text id="2" text="I said I was sorry!"/>
        <text id="3" text="Would you help us look for our backpack? My clumsy friend and I have looked all over to no avail."/>
  	    <mood value="1"/>
        <text id="1" text="It seems like the tables are turned... The adventurers are giving me a quest!"/>
	      <mood value="0"/>
        <text id="1" text="What's my reward if I do this thing?"/>
        <text id="3" text="You fiend! Would you take advantage of our position and demand compensation?"/>
        <text id="2" text="Yeah! You're behaving just like we do! No fair!"/>
        <text id="3" text="Well, we could spare some coins. Just find our equipment!"/>
        <enter id="5" info="2"/>
        <exit id="5"/>
        <flag name="Quest-Backpack"/>
        <text id="1" text="Don't you have any idea at all where it could be?"/>
        <text id="3" text="Carn is the one who was in charge of our equipment. Where did you last see it, Carn?"/>
        <text id="2" text="...I dunno. I got distracted watching butterflies."/>
        <text id="2" text="Maybe somewhere up the road?"/>
        <text id="3" text="We camped up north along the road... It might be there."/>
        <enter id="5" info="1"/>
        <exit id="5"/>
        <flag name="Location-Campsite"/>
        <flag name="Location-Campsite-Show"/>
      </choice>
      <choice text="Have you seen a receipt?" flag="Quest-Receipt" value="1">
        <text id="1" text="The new shopkeeper in town has lost his receipt. Have you seen it anywhere?"/>
        <text id="3" text="Short balding man, annoyingly big smile?"/>
        <text id="2" text="Looks like a fat weasel?"/>
        <text id="1" text="That's him."/>
        <text id="3" text="We met him on the way south, and appropriated his receipt after he clumsily dropped it."/>
        <text id="3" text="Bring us information about a local dragon's whereabouts and we will give it to you."/>
        <enter id="5" info="3"/>
        <exit id="5"/>
        <flag name="Quest-Receipt" value="2"/>
      </choice>
      <choice text="Bye!">
        <goto id="1"/>
      </choice>
    </choices>

    <label id="2"/>
    <flag name="AdventurersTown" value="0"/>
    <goto id="1"/>

    <label id="4"/>
    <text id="3" text="How fortunate! Now we shall depart on the next stage on our glorious quest."/>
    <goto id="2" flag="Quest-Backpack" value="3"/>
    <text id="3" text="As soon as we retrieve our lost backpack, that is."/>
    <goto id="7" flag="Quest-Backpack" value="2"/>
    <goto id="3"/>

    <label id="5"/>
    <text id="1" text="Hey, I think I know where you can find a dragon."/>
    <text id="2" text="Really?! That's awesome!"/>
    <text id="3" text="Indeed, that is excellent news!"/>
    <text id="1" text="I heard some rumors that a big nasty dragon lives in a cave up north."/>
    <text id="1" text="Somewhere to the west. North-west. Like, due north-west."/>
    <text id="2" text="Really?"/>
    <text id="1" text="Really!"/>
    <text id="3" text="Sure?"/>
    <text id="1" text="Uh... Yes, of course!"/>
    <text id="2" text="Really sure?"/>
    <text id="1" text="Um..."/>
    <text id="1" text="Yes...?"/>
    <text id="3" text="Well then, thank you very much! Here is the receipt, as promised."/>
    <enter id="5" item="Receipt"/>
    <exit id="5"/>
    <item name="Receipt"/>
    <enter id="5" info="3"/>
    <exit id="5"/>
    <flag name="Quest-Receipt" value="4"/>
    <goto id="4"/>

    <label id="6"/>
    <mood value="1"/>
    <text id="1" text="Hey guys, guess what I found!"/>
    <text id="2" text="Ooh, a game? I'll go first! My guess is... ...A magic ring!"/>
    <text id="1" text="Nope! Guess again!"/>
    <text id="3" text="Our backpack."/>
    <text id="1" text="Ka-ching, Chantoya is the winner!"/>
    <text id="2" text="Oh man! That was going to be my next guess..."/>
    <enter id="5" item="Backpack" remove="1"/>
    <exit id="5"/>
    <enter id="5" info="4"/>
    <exit id="5"/>
    <text id="3" text="Thank you very much for your aid. Now we can get started on our quest to dispose of that dragon!"/>
    <text id="3" text="Here is a reward."/>
    <enter id="5" message="1"/>
    <text id="5" text="You received $70!"/>
    <flag name="Money" add="70"/>
    <exit id="5"/>
    <mood value="0"/>
    <item name="Backpack" number="-1"/>
    <flag name="Quest-Backpack" value="3"/>
    <goto id="7" flag="Quest-Receipt" value="3"/>
    <goto id="4" flag="Quest-Receipt" value="4"/>
    <goto id="4" flag="Quest-Receipt" value="5"/>
    <goto id="3"/>

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

</dialogues>
