<name>Dusk's Cave</name>
<profession>A small cave in Ogre land</profession>
<dialogue>
  <greeting>
    <reply>
      <text>This cave is to be found in the province of Etanasfeld, where the Ogres live. From Serenity, it can only be reached on foot.</text>
      <return>etanasfeld</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>Enter Dusk's Cave.</text>
      <npc>
        <reply>
          <text>Halfway through, you find that an enormous, sleeping giant is blocking your path.</text>
          <script>
            <scene>kumbhakarma</scene>
          </script>
          <return>kumbhakarma</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Return to Serenity.</text>
      <npc>
        <reply>
          <script>
            <days>5</days>
            <music>serenity</music>
          </script>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
  <etanasfeld>
    <option>
      <text>Travel on foot to Etanasfeld and locate Dusk's Cave.</text>
      <npc>
        <reply>
          <text>You are at the entrance of the cave. A faint sawing noise comes from within.</text>
          <script>
            <days>5</days>
            <music>peaceful</music>
          </script>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Remain in Serenity, for now.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </etanasfeld>
  <kumbhakarma>
    <option>
      <text>Try to awaken the giant.</text>
      <npc>
        <reply>
          <text>He does not stir.</text>
          <return>kumbhakarma</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Try digging a tunnel.</text>
      <npc>
        <reply>
          <if><item>!Shovel</item></if>
          <text>The ground is too hard for your hands. If only you had brought a shovel!</text>
          <return>kumbhakarma</return> 
        </reply>
        <reply>
          <if><key>!elementalorbfound</key></if>
          <text>It is a good thing that you brought that shovel, since the ground is hard. After considerable effort you have managed to dig a tunnel that is wide enough. On the other side of the sleeping giant, you find what you are looking for in a small alcove: the Elemental Orb! There is a little stash of gold as well, and a pile of old bones is lying on the ground. You find something inscribed in the rock:

"We have placed the orb. But there is no way out. The giant lies there, and we cannot get past. Does it all end here, then, after we have come so far?"</text>
          <script>
            <key>elementalorbfound</key>
            <gold>236</gold>
            <item>Elemental Orb</item>
            <hours>1</hours>
            <quest>Elemental Orb|You have the orb</quest>
            <log>Found the Elemental Orb in Dusk's Cave</log>
          </script>
          <return>kumbhakarma</return> 
        </reply>
        <reply>
          <text>Soon you can reopen the tunnel that you dug before, but there is nothing of interest to be found.</text>
          <return>kumbhakarma</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Try to climb over him.</text>
      <npc>
        <reply>
          <text>There is not enough room.</text>
          <return>kumbhakarma</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Return to the entrance of the cave.</text>
      <npc>
        <reply>
          <text>The sleeping giant remains.</text>
          <script><scene>duskscave</scene></script>
          <return>main</return> 
        </reply>
      </npc>
    </option>
  </kumbhakarma>
</dialogue>