<name>Ladob</name>
<profession>Cartographer</profession>
<faction>Serenity</faction>
<dialogue>
  <greeting>
    <reply>
      <if>
        <key>rescuedBaleminotu</key>
        <key>rescuedLadob</key>
        <key>rescuedRustavius</key>
      </if>
      <text>Thank you so much for rescuing me! If you ever decide to settle down, I'll help you map the premises.</text>
      <return>afterall</return>
    </reply>
    <reply>
      <if>
        <key>rescuedLadob</key>
      </if>
      <text>Thank you so much for rescuing me! If you ever decide to settle down, I'll help you map the premises.</text>
      <return>afterone</return>
    </reply>
    <reply>
      <if>
        <key>monksbooked</key>
      </if>
      <text>Help! I'm trapped in this bottle.</text>
      <return>bottle</return>
    </reply>
    <reply>
      <text>Hello there! Have you come to see our wines?</text>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>What is so special about this Wine Cellar?</text>
      <npc>
        <reply>
          <text>We found it here abandoned when we settled in this place. I think it must have been built by ancient monks who lived here long ago. The cellar has a very interesting construction, and often I think that we haven't seen all of it yet. One of these days, I'm going to map the place, and who knows what secrets I will find.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>You have a very nice collection of wines. How did you get such a variety?</text>
      <npc>
        <reply>
          <text>We bottle our own, but we also trade for plumwine from the Eftling, and sometimes a caravan arrives from Jadame with a crate of exotic southern wines.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Would you rather tell us about mapmaking?</text>
      <npc>
        <reply>
          <text>When you are exploring, it is very important to make accurate maps as you go along. I'd say it should be an automatism. And check them regularly, or you may get lost in the wilderness or trapped inside a dungeon.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Have a nice day!</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
  <afterall>
    <option>
      <text>You're most welcome, brother Ladob. May the gods be kinder to you from now on.</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 with brothers Rustavius and Baleminotu.
Please rescue them both, too!</text>
          <return>afterone</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>You're most welcome, brother Ladob. May the gods be kinder to you from now on.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </afterone> 
  <bottle>
    <option>
      <text>How did this happen?</text>
      <npc>
        <reply>
          <text>The three of us, brothers Rustavius, Baleminotu and I, talked to the genie that lives in a bottle in one of the storerooms. He told us about a special case of wines and when we, hmmm, checked them out, we went all thin and dizzy. The next thing I knew, we floated through walls and floors like they weren't there, and then these ghosts came and corked us. We have been trapped inside these bottles ever since.</text>
          <return>bottle</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Is there a way that we can free you?</text>
      <npc>
        <reply>
          <text>Please break the bottle!</text>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Cover your eyes, there we go!</text>
      <npc>
        <reply>
          <script>
            <key>rescuedLadob</key>
            <summon>Ladob</summon>
            <reputation>1</reputation>
            <quest>Missing Monks|You have rescued brother Ladob</quest>
            <log>Rescued Ladob, the missing monk</log>
          </script>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Do not despair, we will come back for you.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </bottle>
</dialogue>