<name>Fabrice Lunasouris</name>
<profession>Saviour of heroes</profession>
<faction>Serenity</faction>
<dialogue>
<!--           -->
<!-- GREETINGS -->
<!--           -->
  <greeting>
    <reply>
      <if>
        <key>metFabrice</key>
      </if>
      <text>Great to see you back!</text>
      <return>main</return>
    </reply>
    <reply>
      <if>
        <key>metAylena</key>
      </if>
      <text>Hi! I believe you met my sister, Aylena?</text>
      <script>
        <key>metFabrice</key>
      </script>
      <return>main</return>
    </reply>
    <reply>
      <text>Hi! You're new in town, I believe.</text>
      <script>
        <key>metFabrice</key>
      </script>
      <return>main</return>
    </reply>
  </greeting>
<!--      -->
<!-- MAIN -->
<!--      -->
  <main>
    <option>
      <if>
        <key>vassagodone</key>
      </if>
      <text>How is it with Vassago?</text>
      <npc>
        <reply>
          <text>He seems to be his old, meditating self again, [name]. I'm so glad you helped me with my quest.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <if>
        <key>visioncheesedone</key>
        <item>Vision Cheese</item>
        <key>!vassagodone</key>
      </if>
      <text>We have the special cheese from the Epicurean.</text>
      <npc>
        <reply>
          <if>
            <key>visioncheesenote</key>
          </if>
          <text>You told me so already. Bring it to Lopamudra, with my note!</text>
          <return>main</return> 
        </reply>
        <reply>
          <text>That is fantastic! Lopamudra will be so pleased. Here is a note, please deliver it to her with the cheese.</text>
          <script>
            <key>visioncheesenote</key>
            <item>Fabrice's note for Lopamudra</item>
            <quest>Heal Vassago|Fabrice gave you a note for Lopamudra</quest>
            <log>Received note for Lopamudra from Fabrice</log>
          </script>
          <return>main</return>
        </reply>
      </npc>    
    </option>
    <option>
      <if>
        <key>visioncheesebooked</key>
        <key>!visioncheesedone</key>
      </if>
      <text>We forgot what to do with the midnight water.</text>
      <npc>
        <reply>
          <text>You must bring it so Sister Marion, the Epicurean.</text>
          <return>main</return>
        </reply>
      </npc>
    </option>
    <option>
      <if>
        <key>midnightwaterdone</key>
        <key>!visioncheesebooked</key>
      </if>
      <text>We have clear midnight water from the well.</text>
      <npc>
        <reply>
          <text>Good! Now, in the monk community north of town there lives a lady Epicurean by the name of Marion. With the midnight water, she can make a vision cheese that should cure Vassago.</text>
          <script>
            <give>Midnight Water</give>
            <key>visioncheesebooked</key>
            <quest>Heal Vassago|Fabrice sent you to Marion with the midnight water</quest>
            <log>Sent by Fabrice to the lady Marion with the midnight water</log>
          </script>
          <return>main</return>
        </reply>
      </npc>
    </option>
    <option>
      <if>
        <key>vassagobooked</key>
        <key>!midnightwaterbooked</key>
      </if>
      <text>Lopamudra has sent us to help you with your quest to restore Vassago's powers.</text>
      <npc>
        <reply>
          <text>That is very kind. What I'd like you to do is to get some water from the well.
There is a bucket at the back of my house. It must be done at midnight, because then it has a special quality. But first, you must kill the serpents in the south that sometimes pollute the water, or I'm afraid it won't be soft enough.</text>
          <script>
            <key>midnightwaterbooked</key>
            <quest>Heal Vassago|You are to get clear midnight water from the well</quest>
          </script>
          <return>main</return>
        </reply>
      </npc>
    </option>
    <option>
      <text>What is the best way to test heroes?</text>
      <text_original>What can you tell us about questing?</text_original>
      <npc>
        <reply>
          <text>By doing quests, you can earn a reward and build yourself a reputation. But the experience counts for something, too, I always say.</text>
          <return>main</return>
        </reply>
      </npc>
    </option>
    <option>
      <text>Give me five!</text>
      <npc>
        <reply>
          <return>exit</return>
        </reply>
      </npc>
    </option>
  </main>
</dialogue>