<name>D'Owl</name>
<profession>Scholar</profession>
<faction>Serenity</faction>
<portrait>monk_male01</portrait>
<dialogue>
  <greeting>
    <reply>
      <if><company>D'Owl</company></if>
      <text>You desire my council?</text>
      <return>inparty</return>
    </reply>
    <reply>
      <text>The knowledge of a man of the cloth can greatly aid you on your travels.</text>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>How could you assist us?</text>
      <npc>
        <reply>
          <text>You need only to pay for my expenses with 500 gold now and 5% of the gold you find, and I will help identify all your items.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Your fee is acceptable.</text>
      <npc>
        <reply>
          <if><company>full</company></if>
          <text>There is no room in your party. If you wish to hire me, you must fire someone else.</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><gold>!500</gold></if>
          <text>You are too poor at the moment.</text>
          <return>main</return> 
        </reply>
        <reply>
          <script>
            <gold>-500</gold>
            <company>hire</company>
            <log>Hired D'Owl, the Scholar</log>
          </script>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Next time, perhaps!</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
  <inparty> 
    <option>
      <text>What is it you do again?</text>
      <npc>
        <reply>
          <text>For 5% of the gold you find, I identify all your items.</text>
          <return>inparty</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>We have no further use for you.</text>
      <npc>
        <reply>
          <text>I'm sorry to hear that. If you need me again, you know where to find me in Serenity.</text>
          <script>
            <company>dismiss</company>
            <log>Dismissed D'Owl, the Scholar</log>
          </script>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Just happy to have you along!</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </inparty> 
</dialogue>