<name>Aditu</name>
<profession>Expert Teacher of Spellcasting</profession>
<faction>Serenity</faction>
<dialogue>
  <greeting>
    <reply>
      <if>
        <reputation>70</reputation>
      </if>
      <text>Salut, brave ones. What can I do to help?</text>
      <return>main</return>
    </reply>
    <reply>
      <text>Children, what is it you want of me?</text>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>Can you tell us more about magic?</text>
      <npc>
        <reply>
          <text>There are many different schools of magic in Karigor. But before you can study one, you must become an expert at spellcasting.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>I would like to become a Spellcasting Expert.</text>
      <npc>
        <reply>
          <if><grandmaster>Spellcasting</grandmaster></if>
          <text>You already are a grandmaster!!</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><master>Spellcasting</master></if>
          <text>You already are a master!</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><expert>Spellcasting</expert></if>
          <text>You already are an expert, [name].</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><skill>!Spellcasting</skill></if>
          <text>You do not know the skill, [name].</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><expertlevel>!Spellcasting</expertlevel></if>
          <text>You are not good enough yet.</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><gold>!1500</gold></if>
          <text>You cannot afford the fee.</text>
          <return>main</return> 
        </reply>
        <reply>
          <text>Congratulations, [name]!</text>
          <return>main</return> 
          <script>
            <gold>-1500</gold>
            <expert>Spellcasting</expert>
            <log>[name] Spellcasting Expert</log>
          </script>
        </reply>
      </npc>
    </option>
    <option>
      <text>Where does the Master Teacher of Spellcasting live?</text>
      <npc>
        <reply>
          <text>Look for Teleboas in the town of Volos.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Goodbye!</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
</dialogue>

