<name>Daksha</name>
<profession>Magicker</profession>
<faction>Serenity</faction>
<dialogue>
  <greeting>
    <reply>
      <if><gold>3000</gold></if>
      <text>Hi! Shall I see if I have some nice enchanted rings for you?</text>
      <return>main</return>
    </reply>
    <reply>
      <if><gold>300</gold></if>
      <text>I knew you would want some spellbooks.</text>
      <return>main</return>
    </reply>
    <reply>
      <text>Looking for some easy scrolls?</text>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>What can we do with magic scrolls?</text>
      <npc>
        <reply>
          <text>With magic scrolls, you can cast spells even if you haven't learned them. A scroll can only be used once, however. The more fancy magic shops also sell wands, which have a number of charges. 
If you want to learn to cast all those spells yourself, visit my mother Aditu. Personally, I'm more into orbs.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <if>
        <key>chestsbooked</key>
        <item>Fluffy</item>
      </if>
      <text>We have found this magic bunny in one of the chests that was lost in the storm.</text>
      <npc>
        <reply>
          <text>Joy in heaven! That is Kadru's birthday present. I had almost ordered another one. If there was some money left, keep it!</text>
          <script>
            <give>Fluffy</give>
            <expall>500</expall>
            <reputation>1</reputation>
            <key>fluffydelivered</key>
            <quest>Lost Chests|You have delivered Fluffy, the magic bunny</quest>
            <log>Delivered Fluffy</log>
          </script>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>We would like to do some shopping.</text>
      <npc>
        <reply>
          <if><hour>!8</hour></if>
          <text>Not now, [gender], it is way too early! Come back after eight.</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><hour>20</hour></if>
          <text>I will gladly serve you tomorrow, [gender].</text>
          <return>main</return> 
        </reply>
        <reply>
          <text>Baubles and trinkets from lands afar, look!</text>
          <script><shop>Mistress of Chants</shop></script>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Stay pure!</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
</dialogue>