<name>Vasishta</name>
<profession>Merchant</profession>
<faction>Serenity</faction>
<portrait>human_female04</portrait>
<dialogue>
  <greeting>
    <reply>
      <if><company>Vasishta</company></if>
      <text>Hello! Will we go shopping today?</text>
      <return>inparty</return>
    </reply>
    <reply>
      <text>Are you offering me a job?</text>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>What is your profession?</text>
      <npc>
        <reply>
          <text>As a merchant, I know how to drive a bargain. If you can afford the 2000 gold now and 20% of the gold you find, I will make it worth your while.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Your price 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>!2000</gold></if>
          <text>And I'm sure that some day, you will be able to pay it, too.</text>
          <return>main</return> 
        </reply>
        <reply>
          <script>
            <gold>-2000</gold>
            <company>hire</company>
            <log>Hired Vasishta, the Merchant</log>
          </script>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>We'll have to come back for you.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
  <inparty> 
    <option>
      <text>What is it you do again?</text>
      <npc>
        <reply>
          <text>For 20% of the gold you find, I add 4 levels to your Merchant skill.</text>
          <return>inparty</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>We cannot afford you any longer.</text>
      <npc>
        <reply>
          <text>It's how it was to be, [name]. If you seek my services again, look for me in Serenity.</text>
          <script>
            <company>dismiss</company>
            <log>Dismissed Vasishta, the Merchant</log>
          </script>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Our purse is fuller than ever!</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </inparty> 
</dialogue>