<game=Dastardly Dungeons of Doom v0.3>
<dimensions=5,5>
#
#
# <choice> is followed by options picked by player typing what is on the left of the option
# the right hand side is the prompt
#
#
<npc key=ferryCaptain name=Bardman type=Friendly hpmax=15 strengthmax=17 points=0>
<desc>
The ferry captain, lying on the deck of his ferry leaning against the mast looks
up from under his hat, eyeing you with suspicion.

The ferry captain mumbles, "what can I do for ye?... want to cross do you?"
"I don't just let anyone cross for nuthin, you know!"
</desc>
</npc>

<npc key=dragon name=Ignis type=Monster hpmax=30 strengthmax=20 points=0>
<dead>
A slain dragon lies at your feet. Your battle with the great beast was epic
but there's no time to loot the treasure - you must warn the King!
</dead>
<alive>
A dragon - the famed Ignis atop its hoard of treasure!
For now, the dragon sleeps - steam emanating from its great nostrils,
scales the size of dinner plates glisten along the beast's flank and
razor sharp talons the size of tree branches adorn its feet.

As you try to sneak past, you step on an old adventurer's bone, and the mighty crunch
wakes the giant lizard!!!
With a flick of its tail, it whips to turn toward you, fire bellowing
from its open maw - it rears up on its hind legs and stretches out its
wings with an almighty shriek that could wake the dead!
What would you like to do?
</alive>
<choice=What would you like to do?>
   <attack=Attack the bear>
      <win=70># % chance of success
        <desc>
          A slain dragon lies at your feet. Your battle with the great beast was epic
          but there's no time to loot the treasure - you must warn the King!
        </desc>
        <addpoints=4>
      </win>
      <loss=30>#% chance of loss
        <desc>
          The dragon has wounded you!
          Your score just went down!
        </desc>
       <addpoints=-3>
    </loss>
    </attack>
    <run=Turn and run away >
      <win=70># % chance of success
        <desc>
         You have escaped the dragon with some minor damage!
        </desc>
      </win>
      <loss=30># % chance of loss
        <desc>
          Ignis attacks you as you try to run and you suffer 8 damage!
        </desc>
         <addpoints=-8>
        </loss> 
      </run>
</choice>
</npc>

<npc key=bear name=Saevuclaw type=Monster hpmax=10 strengthmax=20 points=0>
<dead>
<desc>
A slain bear lies on the ground at your feet. It seems to have been involved
in a bloody dispute!
</desc>
</dead>
<alive>
  <desc>
    As you reach a clearing in the trail you see a giant brown bear!
  </desc>
  <choice=What would you like to do?>
    <attack=Attack the bear>
      <win=70># % chance of success
        <desc>
          You have successfully killed the bear!
          Your score just went up!
        </desc>
        <addpoints=3>
      </win>
      <loss=30># % chance of loss
        <desc>
          The bear has wounded you!
          Your score just went down!
        </desc>
       <addpoints=-3>
    </loss>
    </attack>
    <sneak=Try and sneak past>
      <win=70># % chance of success
        <desc>
          You successfully sneak past the grazing bear!
        </desc>
      </win>
      <loss=30>#% chance of loss
        <desc>
          The bear attacks you as you try to sneak past and you suffer 4 damage!
        </desc>
         <addpoints=-4>
        </loss> 
      </sneak>
    </choice>
  </alive>
</npc>

<item key=sword name=Acernath type=Weapon weight=8 damagefactor=3 strengthadd=10>
<item key=lamp name=Lantern type=Utility weight=2 damagefactor=2 strengthadd=10>
<item key=shell name=Shell type=Artefact weight=1 damagefactor=1 strengthadd=10>

<player strengthmax=30 hpmax=30 points=0 row=2 col=2 status=0>
<init>
<desc>
You wake, startled by a weird dream - somehow you were in the mystical world of
<sleep=500>
magic and make believe, Aerendora... a courageous adventurer armed only
<sleep=500>
with wit, cunning, an adventurous spirit and your trusty sword Acernath. Bards
<sleep=500>
write songs of your historic adventures and your deeds are known far and wide...
<sleep=500>
Wait! This is no dream! I AM <playerName> ...
<br>
<sleep=500>
Where am I?
<br>
<sleep=1000>
"What has happened?
<br>
<sleep=2000>
Where are all of my belongings?
<br>
<sleep=3000>
I remember now!
<sleep=500>
I must  locate and retrieve my belongings and return to the castle
<sleep=500>
at once to warn the King of the impending doom from the barbarous hordes of
<sleep=500>
the Dark Mountains and save the people of Aerendora before darkness descends
<sleep=500>
on this land!
<br>
</desc>
</init>
</player>

<scene name="Enchanted Woods" row=2 col=2>
<desc>
ENCHANTED WOODS: You are in an enchanted wood... the air hangs heavy under the yoke
of some strange magic. Fog envelops you and it is difficult to breathe. Although
it is difficult to see beyond the nearest branch you give your eyes a few moments
to become accustomed to the strange light in this place and can eventually make out
a winding path leading downward to the north, and a forest trail ambling to the east
</desc>
</scene>

<scene name="Forest Trail" row=2 col=3 npc=bear>
<desc>
FOREST TRAIL:  Eventually, the mist begins to clear and the air somehow
seems easier to breathe. The trail opens into a lovely forest trail that meanders
from the west and turns southward toward a small cottage you can see in the
distance.
</desc>
</scene>

<scene name="Cottage" row=3 col=3 item=sword>
<desc>
COTTAGE: After hours of hiking out of the forest trail that path opens up and
becomes wider and brighter. You descend into a valley which at its floor contains
an abandoned cottage. You approach the cottage carefully, unsure if you're alone and
after waiting a while and peering through the cottage windows carefully you are
sure the cottage is empty.
</desc>
</scene>

<scene name="Rocky Path" row=4 col=3>
<desc>
ROCKY PATH: As you make your way down from the cottage you come to an open
clearing along a rocky path.
This is a nice open and sunny spot - perfect for a lie down and rest in the
afternoon sun. To your north, a path leads toward a distant cottage. To the
east you see path leading to a vast mountain range, and to the west a trail
winds down toward a beautiful inland lake.
</desc>
</scene>

<scene name="Lake Shore" row=4 col=2 item=shell>
<desc>
LAKE SHORE: You feel the cool breeze of the wind on water as you approach
the beautiful eastern shore of Lake Alsus Aequor. A picturesque lake that
glistens in the late afternoon sunlight. Being here revives memories of childhood
days splashing in the frigid water on playful summer days with your family.
</desc>
</scene>

<scene name="Mountain Range" row=4 col=4>
<desc>
MOUNTAIN RANGE: Leaving the sunny rocky path behind you, you make your way
to a vast mountain range. You've heard of the strange lands beyond the
mountains, but you cannot see a path through. One day, brave adventurer
you might return to find a path beyond but for now you must focus your
efforts on getting to the castle and warning the King of the impending
attack from the hordes of the Dark Mountains so that we may prepare our
</desc>
</scene>

<scene name="River Crossing" row=1 col=2 need=shell npc=ferryCaptain> 
<desc>
RIVER CROSSING: You arrive at the wide River Daylsebrook Far too deep and wide
swim across, and even if you had the stamina the current would take you so far
downstream you might never return home again!
For centuries the river folk have manned the Daylesbrook Ferry and kept the
Kingdom of Aerendora safe from the south.

What would you like to do?
</desc>
</scene>

<scene name="Grassy Plain" row=1 col=1>
<desc>
GRASSY PLAIN: On the west side of the river once more, you feel one step
closer to home, King and country. You are on a wide grassy plain - the
grass grows waist high and you delight in brushing your open palm along the
windswept blades as you meander in the sun. The ferry captain can be seen in
the distance aboard his ferry waiting for passengers on the eastern shore. He
seems to be deeply engrossed in something white and shiny.

To the north you see a  cobblestone path forming as you approach ever-nearer
civilisation...
</desc>
</scene>

<scene name="Cobblestone Path" row=0 col=1>
<desc>
COBBLESTONE PATH: This cobblestone path is the first sign of civilisation leading
toward the Kingdom! It is a nondescript place, expertly hewn stones laid by the
local masons, this path has persisted for generations and will likely persist
for many more!
Looking west you see treacherous sharp rocks that seem to lead toward a cliff. To
the east there lies a darkened doorway and to the south, the grassy plain that leads
back to river country.
</desc>
</scene>

<scene name="Cliff's Edge" row=0 col=0 item=lamp>
<desc>
CLIFF'S EDGE: Be careful! The rocks here are loose and it would be easy to
lose your footing. The fate of the kingdom rests on your shoulders... this is
no time for curiosity. The cliff's edge descends into a sheer drop so deep
you can hardly see the valley floor below.
</desc>
</scene>

<scene name="Dark Dungeon" row=0 col=2 need=lamp>
<desc>
DARK DUNGEON: Holding your lamp well ahead, its soft warm glow lights the way
ahead casting hideous flickering shadows onto the rank walls.
The dark dungeon is littered with the bones of both human and beast...
Musty dampness fills the air with a kind of putrid stench you know you'll never
forget and you just know you don't want to stay in this place any longer than you have
to. You see a path leading back towards the light to the west and another way
to the east, beckoning with the smell of sulphur and a warm flickering light
of its own... Your eyes burn and your senses reel, but you know which path you
must choose.
</desc>
</scene>

<scene name="Dragon's Lair" row=0 col=3 npc=dragon>
<desc>
DRAGON'S LAIR: The stench of sulphur, steam rising from the ground, the bones and
rusted posessions of adventurers past strewn around this place don't prepare
you for what you see next...
</desc>
</scene>

<scene name=Castle row=0 col=4 win=1>
<desc>
CASTLE: Home at last! Being back among the pageantry of the Kingdom
is good! The castle stands invitingly atop the Hill of Aerendora,
and the drawbridge is open. As you approach the guards welcome you
as an old friend and you are brought before an audience with the King!
</desc>
</scene>

<scene name=default die=1>
<desc>
DEFAULT: You have entered a forbidden area and you are being shot at.
</desc>
</scene>

</game>
</game>
