<name>Dionnah</name>
<profession>Expert Teacher of Staff</profession>
<faction>Serenity</faction>
<dialogue>
  <greeting>
    <reply>
      <if>
        <reputation>70</reputation>
      </if>
      <text>Glad you came here! Most people underestimate the value of my teachings.</text>
      <return>main</return>
    </reply>
    <reply>
      <text>Don't trip!</text>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>What good is a Staff as a weapon?</text>
      <npc>
        <reply>
          <text>A Staff is the best defensive weapon. It's the weapon of choice for the true adventurer or mage. Once you get to know the more advanced techniques, you will be able to score some offensive points, too.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>I would like to become a Staff Expert.</text>
      <npc>
        <reply>
          <if><grandmaster>Staff</grandmaster></if>
          <text>You already are a grandmaster!!</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><master>Staff</master></if>
          <text>You already are a master!</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><expert>Staff</expert></if>
          <text>You already are an expert, [name].</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><skill>!Staff</skill></if>
          <text>You do not know the skill, [name].</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><expertlevel>!Staff</expertlevel></if>
          <text>You are not good enough yet.</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><gold>!1000</gold></if>
          <text>You cannot afford the fee.</text>
          <return>main</return> 
        </reply>
        <reply>
          <text>Congratulations, [name]!</text>
          <return>main</return> 
          <script>
            <gold>-1000</gold>
            <expert>Staff</expert>
            <log>[name] Staff Expert</log>
          </script>
        </reply>
      </npc>
    </option>
    <option>
      <text>Where can we meet the Master Teacher of Staff?</text>
      <npc>
        <reply>
          <text>Visit Ephiny in the Tavern of Harlotry north of the Brass Sea.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Goodbye!</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
</dialogue>