<name>Marion</name>
<profession>Epicurean</profession>
<faction>Serenity</faction>
<dialogue>
  <greeting>
    <reply>
      <text>Hello! Have you come to try my new dish?</text>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <if><food>!20</food></if>
      <text>We would like to try that new dish.</text>
      <npc>
        <reply>
          <text>Here you go, then. Enjoy!</text>
          <script>
            <food>20</food>
            <hours>1</hours>
            <reputation>1</reputation>
            <log>Tried Marion's new dish</log>
          </script>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Where can we get enough food for our travels?</text>
      <npc>
        <reply>
          <text>You can buy food at any tavern, and if you're lucky you may find fruitbearing trees. Of course, you're always welcome here with us in Robin's Nest, too!</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <if>
        <key>visioncheesebooked</key>
        <key>!visioncheeseordered</key>
      </if>
      <text>Fabrice Lunasouris from the Seers village has sent us to you. We have clear midnight water from the well. Could you use that to make a Vision Cheese to heal poor Vassago?</text>
      <npc>
        <reply>
          <text>I'm happy to help. The Seers have always been nice to us monks. If you return after one full day, the cheese will be ready.</text>
          <script>
            <key>visioncheeseordered</key>
<!-- still to do: start clock for 1 day -->
            <quest>Heal Vassago|You have asked Marion to make a Vision Cheese</quest>
            <log>Asked the Epicurean to make a Vision Cheese</log>
          </script>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <if>
        <key>visioncheeseordered</key>
        <key>!visioncheesedone</key>
      </if>
      <text>We have returned for the Vision Cheese.</text>
      <npc>
<!-- still to do: check clock -->
        <reply>
          <text>Here you are. I hope it will do the job!</text>
          <script>
            <key>visioncheesedone</key>
            <item>Vision Cheese</item>
            <quest>Heal Vassago|Marion has given you a Vision Cheese</quest>
            <log>Got a Vision Cheese from the Epicurean</log>
          </script>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Have a nice day!</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
</dialogue>