<name>Baleminotu</name>
<profession>Carpenter</profession>
<faction>Serenity</faction>
<dialogue>
  <greeting>
    <reply>
      <if>
        <key>rescuedBaleminotu</key>
        <key>rescuedLadob</key>
        <key>rescuedRustavius</key>
      </if>
      <text>I am eternally grateful for saving me! If you ever decide to settle down, I'll help you build your home.</text>
      <return>afterall</return>
    </reply>
    <reply>
      <if>
        <key>rescuedBaleminotu</key>
      </if>
      <text>I am eternally grateful for saving me! If you ever decide to settle down, I'll help you build your home.</text>
      <return>afterone</return>
    </reply>
    <reply>
      <if>
        <key>monksbooked</key>
      </if>
      <text>I'm here! Please oh please get me out of this bottle.</text>
      <return>bottle</return>
    </reply>
    <reply>
      <text>Ho, ha. What do you think of our bamboo houses? Aren't they comfortable?</text>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>They look simple, but nice. How come the Wine Cellar is so different?</text>
      <npc>
        <reply>
          <text>Well, we did not build it, it was already here when we arrived. Who knows, it may even be older than the abandoned temple south of here. Now that's a well-designed building! The Wine Cellar, I do not know, sometimes I think that whoever built it tried to conceal something. I must inspect it more closely some day, but not right now. Father Tremayne will not let me.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Where did you get al that bamboo?</text>
      <npc>
        <reply>
          <text>There is plenty of it in the forest. The little bears eat it, but it grows back fast. And that while the Seers use it, too, they even make pantiles of it.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Hmmm, what can you teach us about buildings in Karigor?</text>
      <npc>
        <reply>
          <text>There are many great buildings in Karigor. You should see the divine temples of Sun and Moon, and the Lighthouse of Soronne! Unfortunately, in many cases you need to first get permission from the local authorities before you can see all of the inside, and they don't give that easily.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>See you again, soon!</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
  <afterall>
    <option>
      <text>It was our pleasure, brother Baleminotu. We hope you will fare better in the future.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </afterall> 
  <afterone>
    <option>
      <text>Are there any others still missing?</text>
      <npc>
        <reply>
          <text>I was in the company of brothers Rustavius and Ladob.
Please save them both, too!</text>
          <return>afterone</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>It was our pleasure, brother Baleminotu. We hope you will fare better in the future.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </afterone> 
  <bottle>
    <option>
      <text>How did you get trapped in there?</text>
      <npc>
        <reply>
          <text>We, that is brothers Rustavius, Ladob and I, were tricked by that genie-in-a-bottle Solmyr. We should have known better! He pointed out this special case of wines and when we tasted, umm, checked the quality, we became lightheaded, literally! We were blown through walls and floors like they were illusions, and then these ghosts attacked us and locked us up. And here we are, still, unable to free ourselves.</text>
          <return>bottle</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>What can we do to help you?</text>
      <npc>
        <reply>
          <text>Break the bottle!</text>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Cover your eyes, there we go!</text>
      <npc>
        <reply>
          <script>
            <key>rescuedBaleminotu</key>
            <summon>Baleminotu</summon>
            <reputation>1</reputation>
            <quest>Missing Monks|Rescued brother Baleminotu</quest>
            <log>Rescued Baleminotu, the missing monk</log>
          </script>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>We will be back in just a moment.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </bottle>
</dialogue>