<?xml version="1.0" encoding="UTF-8"?>
<game title="Fabled Caves of R'th-nylch!" author="Pat vickers">
  <monster number="0">
     <name>Adventurer</name>
     <adj>heroic</adj>
     <noun>adventurer</noun>
     <desc>You are a mighty hero on a quest for Gold!</desc>
     <hp>50</hp>
     <hitchance>50</hitchance>
     <dodgechance>30</dodgechance>
     <ldamage>5</ldamage>
     <hdamage>10</hdamage>
     <loc>1</loc>
  </monster>
  <room number="9999">
     <name>Vault</name>
     <desc>Here is the antichamber of the caves! If you can bring the treasures of the cave to here you will be known as the greatest hero of all time!</desc>
     <lighted />
     <score>2</score>
     <sounddesc>It's quiet.</sounddesc>
  </room>
  <room number="1">
     <name>Cave Entrance</name>
     <desc>At last! The entrance to the fabled caves of R'th-nlych! A deep dark passage descends into darkness.</desc>
     <lighted />
  </room>
  <room number="2">
     <name>Cave Passage</name>
     <desc>It's a gloomy passage leading into the darkness.</desc>
     <lighted />
  </room>
  <winmessage>You did it! You have recovered all the treasures of the great Caves and now you can retire in victory forever!</winmessage>
  <losemessage>You're quest has failed!!!</losemessage>
  <maxscore>150</maxscore>
  <connection number="3">
     <from>1</from>
     <to>2</to>
     <dir>n</dir>
  </connection>
  <connection number="4">
     <to>1</to>
     <from>2</from>
     <dir>s</dir>
  </connection>
  <connection number="5">
     <from>2</from>
     <to>9999</to>
     <dir>n</dir>
  </connection>
  <connection number="6">
     <from>9999</from>
     <to>2</to>
     <dir>s</dir>
  </connection>
  <room number="7">
     <name>Goblin Lair</name>
     <desc>This room stinks of goblins and is full of bones.</desc>
     <lighted />
     <smelldesc>Ugh! Goblins!</smelldesc>
  </room>
  <connection number="8">
     <from>9999</from>
     <to>7</to>
     <dir>e</dir>
  </connection>
  <connection number="9">
     <from>7</from>
     <to>9999</to>
     <dir>w</dir>
  </connection>
  <monster number="10">
     <name>Goblin</name>
     <adj>nasty</adj>
     <noun>goblin</noun>
     <desc>A short green humanoid with a knife!</desc>
     <hp>8</hp>
     <value>3</value>
     <hitchance>20</hitchance>
     <dodgechance>50</dodgechance>
     <ldamage>3</ldamage>
     <hdamage>6</hdamage>
     <loc>7</loc>
     <turnstofight>2</turnstofight>
     <challenge>The goblin hisses!</challenge>
     <attack>The goblin attacks you with it's knife!</attack>
     <death>You have Killed the goblin.</death>
     <visible />
     <dodgemsg>The goblin dodges!</dodgemsg>
     <painmsg>The goblin screams in agony!</painmsg>
     <missmsg>The goblin missed!</missmsg>
     <hitmsg>The goblin stabbed you in the heart!</hitmsg>
     <corpse>11</corpse>
  </monster>
  <thing number="11">
     <name>iron key</name>
     <adj>iron</adj>
     <noun>key</noun>
     <desc>a small key</desc>
     <hp>1</hp>
     <weight>1</weight>
     <size>1</size>
     <carryease>1</carryease>
     <value>1</value>
     <pickupable />
     <visible />
     <loc>89</loc>
  </thing>
  <room number="12">
     <name>green room</name>
     <desc>The walls of this room are made of slimy green stone.</desc>
     <smelldesc>it smells like cabbages!</smelldesc>
     <lighted />
  </room>
  <connection number="13">
     <from>7</from>
     <to>12</to>
     <dir>n</dir>
     <key>11</key>
     <locked />
  </connection>
  <connection number="14">
     <from>12</from>
     <to>7</to>
     <dir>s</dir>
     <key>11</key>
  </connection>
  <connection number="15">
     <from>12</from>
     <dir>d</dir>
     <deadly>As you climb down into the hole in the floor your grip slips on the ladder! Just as you think you are about to plummet into the inky blackness something reaches up out of the darkness and grabs around you're waist! "thank god" you think to yourself ---but then you see it is a tentacle! You are pulled down into the murk and the horrible slime monster that lives below the dungeon devores you alive!!</deadly>
  </connection>
  <thing number="16">
     <name>bone</name>
     <adj>old</adj>
     <noun>bone</noun>
     <desc>An old bone</desc>
     <hp>1</hp>
     <size>1</size>
     <weight>1</weight>
     <carryease>1</carryease>
     <loc>7</loc>
     <pickupable />
     <visible />
  </thing>
  <thing number="17">
     <name>water</name>
     <adj>wet</adj>
     <noun>water</noun>
     <desc>A flask of cool clear water.</desc>
     <hp>1</hp>
     <size>4</size>
     <carryease>5</carryease>
     <weight>8</weight>
     <pickupable />
     <visible />
     <drink />
     <loc>12</loc>
  </thing>
  <room number="18">
     <name>Little Shrine</name>
     <score>4</score>
     <desc>This is a dimly lit shrine lit by torches.</desc>
     <smelldesc>Smells of some kind of incense.</smelldesc>
     <lighted />
     <sounddesc>Ommmmmm....................</sounddesc>
  </room>
  <connection number="19">
     <from>12</from>
     <to>18</to>
     <dir>e</dir>
  </connection>
  <connection number="20">
     <from>18</from>
     <to>12</to>
     <dir>w</dir>
  </connection>
  <thing number="21">
     <name>silver statue</name>
     <adj>silver</adj>
     <noun>statue</noun>
     <desc>A little statue of an elephant or something made out of some kind fo silver metal which appears to be platinum.</desc>
     <value>7</value>
     <hp>1000</hp>
     <weight>20</weight>
     <size>3</size>
     <carryease>10</carryease>
     <loc>18</loc>
     <pickupable />
     <visible />
     <treasure />
  </thing>
  <thing number="22">
     <name>wooden torch</name>
     <adj>wooden</adj>
     <noun>torch</noun>
     <desc>A torch made out of wood and some rags.</desc>
     <hp>500</hp>
     <value>1</value>
     <carryease>25</carryease>
     <size>10</size>
     <weight>10</weight>
     <ammo>100</ammo>
     <loc>18</loc>
     <pickupable />
     <visible />
     <flammable />
     <onfire />
     <weapon />
  </thing>
  <room number="23">
     <name>Sandy corridor</name>
     <desc>This is a narrow corridor where the floor is covered with sand.</desc>
     <lighted />
  </room>
  <connection number="24">
     <from>9999</from>
     <to>23</to>
     <dir>w</dir>
  </connection>
  <connection number="25">
     <from>23</from>
     <to>9999</to>
     <dir>e</dir>
  </connection>
  <room number="26">
     <name>Egyptian Tomb</name>
     <desc>This room is sandy and the walls are covered with heirogliphs.</desc>
     <lighted />
  </room>
  <connection number="27">
     <from>23</from>
     <to>26</to>
     <dir>w</dir>
  </connection>
  <connection number="28">
     <from>26</from>
     <to>23</to>
     <dir>e</dir>
  </connection>
  <monster number="29">
     <name>Mummy</name>
     <adj>bandaged</adj>
     <noun>mummy</noun>
     <desc>A rotting human wrapped in bone-dry bandages.</desc>
     <hp>200</hp>
     <value>5</value>
     <hitchance>40</hitchance>
     <dodgechance>15</dodgechance>
     <ldamage>15</ldamage>
     <hdamage>20</hdamage>
     <loc>26</loc>
     <turnstofight>4</turnstofight>
     <challenge>The mummy lumbers towards you with arms outstretched....</challenge>
     <attack>The mummy grabs at you!</attack>
     <hitmsg>The mummy grasps you!</hitmsg>
     <missmsg>The mummy fails to hit</missmsg>
     <dodgemsg>You dummy! You couldn't even hit a slow old mummy!</dodgemsg>
     <painmsg>The mummy gurgles!</painmsg>
     <inflammable />
     <flammable />
     <visible />
  </monster>
  <thing number="30">
     <name>Ankh</name>
     <adj>gold</adj>
     <noun>ankh</noun>
     <desc>A cross with a loop instead of the top stick, made of jeweled gold.</desc>
     <hp>1000</hp>
     <value>5</value>
     <size>5</size>
     <weight>20</weight>
     <carryease>3</carryease>
     <pickupable />
     <treasure />
     <visible />
     <loc>89</loc>
  </thing>
  <thing number="31">
     <name>knife</name>
     <noun>knife</noun>
     <desc>Your trusty knife.</desc>
     <hp>1</hp>
     <size>5</size>
     <carryease>15</carryease>
     <weight>5</weight>
     <ammo>9999</ammo>
     <loc>0</loc>
     <pickupable />
     <visible />
     <weapon />
  </thing>
  <room number="32">
     <name>Treasure Chamber</name>
     <score>4</score>
     <desc>A luxurious treasure chamber full of gold and gems.</desc>
     <lighted />
  </room>
  <connection number="33">
     <from>26</from>
     <to>32</to>
     <dir>s</dir>
  </connection>
  <connection number="34">
     <from>32</from>
     <to>26</to>
     <dir>n</dir>
  </connection>
  <thing number="35">
     <name>Sarcofogus</name>
     <noun>sarcofogus</noun>
     <hp>500</hp>
     <size>100</size>
     <carryease>100</carryease>
     <weight>100</weight>
     <loc>32</loc>
     <visible />
     <box />
  </thing>
  <thing number="36">
     <name>gold mask</name>
     <adj>gold</adj>
     <noun>mask</noun>
     <hp>100</hp>
     <value>7</value>
     <size>30</size>
     <weight>50</weight>
     <carryease>30</carryease>
     <loc>35</loc>
     <pickupable />
     <visible />
     <treasure />
  </thing>
  <thing number="37">
     <name>poison dagger</name>
     <adj>poison</adj>
     <noun>dagger</noun>
     <hp>10</hp>
     <value>1</value>
     <size>10</size>
     <weight>10</weight>
     <carryease>10</carryease>
     <ammo>9999</ammo>
     <loc>35</loc>
     <pickupable />
     <visible />
     <poisonous />
     <weapon />
  </thing>
  <room number="38">
     <name>murky cave</name>
     <lighted />
  </room>
  <connection number="39">
     <from>12</from>
     <to>38</to>
     <dir>n</dir>
  </connection>
  <connection number="40">
     <from>38</from>
     <to>12</to>
     <dir>s</dir>
  </connection>
  <thing number="41">
     <name>toadstools</name>
     <noun>toadstools</noun>
     <hp>1</hp>
     <weight>1</weight>
     <size>1</size>
     <carryease>1</carryease>
     <pickupable />
     <visible />
     <poisonous />
     <food />
     <loc>12</loc>
  </thing>
  <thing number="42">
     <name>anti-poison potion</name>
     <noun>potion</noun>
     <desc>A small flask of blue liquid.</desc>
     <hp>1</hp>
     <weight>4</weight>
     <size>4</size>
     <carryease>4</carryease>
     <ammo>1</ammo>
     <loc>0</loc>
     <pickupable />
     <visible />
     <drink />
     <adj>anti-poison</adj>
     <food />
  </thing>
  <countdown number="43">
     <triggers>
        <ondrink target="42" />
     </triggers>
     <conditions logic="and" />
     <event>
        <esuna target="0" />
     </event>
  </countdown>
  <monster number="44">
     <name>half-orc</name>
     <noun>half-orc</noun>
     <value>5</value>
     <hp>20</hp>
     <hitchance>40</hitchance>
     <dodgechance>30</dodgechance>
     <ldamage>10</ldamage>
     <hdamage>12</hdamage>
     <loc>38</loc>
     <turnstofight>2</turnstofight>
     <visible />
  </monster>
  <countdown number="45">
     <triggers>
        <onwield target="37" />
     </triggers>
     <conditions logic="and" />
     <event>
        <changehitchance target="0" amount="5" />
     </event>
  </countdown>
  <room number="46">
     <name>Cavern</name>
     <score>3</score>
     <smelldesc>Yuck! Rotting vegetables!</smelldesc>
     <lighted />
  </room>
  <connection number="47">
     <from>7</from>
     <to>46</to>
     <dir>e</dir>
  </connection>
  <connection number="48">
     <from>46</from>
     <to>7</to>
     <dir>w</dir>
  </connection>
  <monster number="49">
     <name>Giant centipede</name>
     <adj>giant</adj>
     <noun>centipede</noun>
     <value>5</value>
     <hitchance>80</hitchance>
     <hp>1</hp>
     <dodgechance>20</dodgechance>
     <ldamage>2</ldamage>
     <hdamage>4</hdamage>
     <loc>46</loc>
     <turnstofight>2</turnstofight>
     <visible />
     <pickupable />
     <poisonous />
  </monster>
  <monster number="50">
     <name>orc</name>
     <noun>orc</noun>
     <desc>Green and ugly.</desc>
     <value>4</value>
     <hitchance>50</hitchance>
     <dodgechance>50</dodgechance>
     <ldamage>12</ldamage>
     <hdamage>16</hdamage>
     <loc>9999</loc>
     <turnstofight>2</turnstofight>
     <visible />
     <challenge>The orc growls!</challenge>
     <attack>The orc slashes at you with an orc sword!</attack>
     <hitmsg>The sword strikes you!</hitmsg>
     <missmsg>The sword slices by your head!</missmsg>
     <dodgemsg>The orc jumps aside!</dodgemsg>
     <painmsg>The orc growls in anger!</painmsg>
     <death>The orc collapses on the floor and writhes horribly for a few moments. The it is still.</death>
     <corpse>51</corpse>
  </monster>
  <thing number="51">
     <name>orc corpse</name>
     <adj>orc</adj>
     <noun>corpse</noun>
     <desc>A dead orc.</desc>
     <weight>80</weight>
     <carryease>80</carryease>
     <size>50</size>
     <hp>1</hp>
     <pickupable />
     <visible />
     <poisonous />
     <food />
     <loc>89</loc>
  </thing>
  <thing number="53">
     <name>jeweled bracelet</name>
     <adj>jeweled</adj>
     <noun>bracelet</noun>
     <hp>10</hp>
     <value>5</value>
     <size>5</size>
     <carryease>5</carryease>
     <weight>5</weight>
     <loc>46</loc>
     <pickupable />
     <visible />
     <treasure />
  </thing>
  <room number="54">
     <name>Bottom of the Great Stairs</name>
     <score>4</score>
     <desc>A huge flight of stairs leads up</desc>
     <lighted />
  </room>
  <room number="55">
     <name>Top of the great stairs</name>
     <desc>You are at the top of the great stairs.</desc>
     <lighted />
  </room>
  <connection number="56">
     <from>9999</from>
     <to>54</to>
     <dir>n</dir>
     <locked />
     <key>60</key>
  </connection>
  <connection number="57">
     <from>54</from>
     <to>32</to>
     <dir>s</dir>
  </connection>
  <connection number="58">
     <from>54</from>
     <to>55</to>
     <dir>u</dir>
  </connection>
  <connection number="59">
     <from>55</from>
     <to>54</to>
     <dir>d</dir>
  </connection>
  <thing number="60">
     <name>silver key</name>
     <adj>silver</adj>
     <noun>key</noun>
     <hp>1</hp>
     <value>1</value>
     <size>1</size>
     <carryease>1</carryease>
     <weight>1</weight>
     <pickupable />
     <visible />
     <treasure />
     <loc>74</loc>
  </thing>
  <thing number="61">
     <name>gold key</name>
     <adj>gold</adj>
     <noun>key</noun>
     <hp>1</hp>
     <size>1</size>
     <carryease>1</carryease>
     <value>1</value>
     <weight>1</weight>
     <pickupable />
     <visible />
     <treasure />
     <loc>89</loc>
  </thing>
  <room number="62">
     <name>Dragon Room</name>
     <score>10</score>
     <lighted />
  </room>
  <connection number="63">
     <from>55</from>
     <to>62</to>
     <dir>n</dir>
     <key>61</key>
     <locked />
  </connection>
  <connection number="64">
     <from>62</from>
     <to>55</to>
     <dir>s</dir>
     <key>61</key>
     <locked />
  </connection>
  <monster number="65">
     <name>Dragon</name>
     <adj>Mighty</adj>
     <noun>dragon</noun>
     <desc>It is a mighty and fearsome dragon!</desc>
     <value>25</value>
     <hp>200</hp>
     <hitchance>70</hitchance>
     <dodgechance>30</dodgechance>
     <ldamage>25</ldamage>
     <hdamage>40</hdamage>
     <loc>62</loc>
     <turnstofight>3</turnstofight>
     <challenge>The dragon roars!</challenge>
     <visible />
     <attack>The dragon breathes fire at you!</attack>
     <hitmsg>The fire burns you!</hitmsg>
     <missmsg>The fire missed you</missmsg>
     <dodgemsg>The dragon easily dodges you're clumsy attack</dodgemsg>
     <painmsg>The dragon screeches in pain!</painmsg>
     <death>The dragon emits a gastly roar and falls to the ground in death!</death>
     <corpse>66</corpse>
  </monster>
  <thing number="66">
     <name>horde of treasure</name>
     <noun>horde</noun>
     <adj>treasure</adj>
     <desc>More Treasure than you have ever seen!</desc>
     <hp>99</hp>
     <value>10</value>
     <size>60</size>
     <weight>80</weight>
     <carryease>80</carryease>
     <pickupable />
     <visible />
     <treasure />
     <loc>89</loc>
  </thing>
  <room number="67">
     <name>long corridor</name>
     <desc>this is a long corridor</desc>
     <lighted />
  </room>
  <connection number="68">
     <from>46</from>
     <to>67</to>
     <dir>d</dir>
  </connection>
  <connection number="69">
     <to>46</to>
     <from>67</from>
     <dir>u</dir>
  </connection>
  <room number="70">
     <name>Pit Room</name>
     <desc>This room is lined with dirt and filth.</desc>
     <lighted />
  </room>
  <connection number="71">
     <from>67</from>
     <to>70</to>
     <dir>d</dir>
  </connection>
  <connection number="72">
     <from>70</from>
     <to>67</to>
     <dir>w</dir>
  </connection>
  <monster number="73">
     <name>Floating eye</name>
     <adj>floating</adj>
     <noun>eye</noun>
     <desc>An evil eye floats above the ground!!!</desc>
     <hp>20</hp>
     <value>3</value>
     <hitchance>30</hitchance>
     <dodgechance>80</dodgechance>
     <ldamage>5</ldamage>
     <hdamage>30</hdamage>
     <loc>70</loc>
     <turnstofight>3</turnstofight>
     <challenge>The floating eye swoops threateningly!</challenge>
     <attack>The floating eye shoots lightning at you!!!</attack>
     <hitmsg>You are frazzled by lightning!</hitmsg>
     <missmsg>The narrowly scoots by your head!</missmsg>
     <dodgemsg>The floating eye is too evasive for you</dodgemsg>
     <painmsg>The floating eye leaks eye juice over the floor of the cave!</painmsg>
     <death>The floating eye explodes in a smell cloud of green gas</death>
     <visible />
     <pickupable />
     <inflammable />
     <flammable />
  </monster>
  <room number="74">
     <name>Small Room</name>
     <score>2</score>
     <desc>This room is small and not very interesing.</desc>
     <lighted />
  </room>
  <connection number="75">
     <from>70</from>
     <to>74</to>
     <dir>n</dir>
     <locked />
     <key>11</key>
  </connection>
  <connection number="76">
     <from>74</from>
     <to>70</to>
     <dir>s</dir>
  </connection>
  <countdown number="77">
     <triggers>
        <oncommand firstonly="true">gaze into the crystal orb</oncommand>
     </triggers>
     <conditions logic="or">
        <isin containee="78" container="0" />
     </conditions>
     <event>
        <desc>You see visions of your future exploits!</desc>
        <changedodgechance target="0" amount="25" />
        <deadly />
     </event>
  </countdown>
  <thing number="78">
     <name>orb</name>
     <noun>orb</noun>
     <desc>A glittery crystal orb</desc>
     <value>4</value>
     <hp>100</hp>
     <weight>5</weight>
     <size>5</size>
     <carryease>5</carryease>
     <loc>54</loc>
     <pickupable />
     <visible />
     <treasure />
  </thing>
  <countdown number="79">
     <triggers>
        <oncommand>gaze into the crystal orb</oncommand>
     </triggers>
     <conditions logic="or">
        <isin containee="78" container="0" not="true" />
     </conditions>
     <event>
        <desc>You don't have it!!</desc>
     </event>
  </countdown>
  <room number="80">
     <name>jungle room</name>
     <desc>A subteranian jungle full of exotic plants.</desc>
     <lighted />
  </room>
  <monster number="81">
     <name>jaguar</name>
     <noun>jaguar</noun>
     <hp>10</hp>
     <value>3</value>
     <hitchance>70</hitchance>
     <dodgechance>50</dodgechance>
     <hdamage>11</hdamage>
     <ldamage>11</ldamage>
     <loc>80</loc>
     <attack>the puma bites at you!</attack>
     <hitmsg>the puma's jaws close around your waist!</hitmsg>
     <missmsg>the puma missed!</missmsg>
     <dodgemsg>the puma lithly jumps out of the way!</dodgemsg>
     <painmsg>the puma meows in anger!</painmsg>
     <death>the puma died.</death>
     <visible />
  </monster>
  <room number="82">
     <name>Big Shrine</name>
     <desc>This room is like the last shrine, only it's much bigger!</desc>
     <lighted />
  </room>
  <connection number="83">
     <from>80</from>
     <to>82</to>
     <dir>w</dir>
  </connection>
  <connection number="84">
     <from>82</from>
     <to>80</to>
     <dir>e</dir>
  </connection>
  <monster number="85">
     <name>kobold1</name>
     <noun>kobold1</noun>
     <hp>5</hp>
     <hitchance>10</hitchance>
     <ldamage>40</ldamage>
     <hdamage>10</hdamage>
     <loc>82</loc>
     <turnstofight>2</turnstofight>
     <visible />
  </monster>
  <monster number="86">
     <name>kobold2</name>
     <noun>kobold2</noun>
     <hitchance>10</hitchance>
     <ldamage>5</ldamage>
     <hdamage>5</hdamage>
     <loc>82</loc>
     <visible />
  </monster>
  <monster number="87">
     <name>super kobold</name>
     <adj>super</adj>
     <noun>kobold</noun>
     <hp>40</hp>
     <value>5</value>
     <hitchance>20</hitchance>
     <dodgechance>20</dodgechance>
     <ldamage>10</ldamage>
     <hdamage>10</hdamage>
     <loc>82</loc>
     <turnstofight>1</turnstofight>
     <corpse>61</corpse>
     <visible />
  </monster>
  <countdown number="88">
     <triggers>
        <oneveryturn />
     </triggers>
     <conditions logic="and">
        <isvisible target="87" from="0" />
        <isprob chance="20" />
     </conditions>
     <event>
        <deadly />
        <desc>The super kobold casts a spell! Youre arms and legs turn into poisonous snakes. The snakes fangs draw closer to youre head.....</desc>
     </event>
  </countdown>
  <instructions>Welcome to "caves of Rth-n'ylch", a AAS game by Pat Samuel Vickers! With over 60 rooms, items and monsters, you're in for the adventure of a life time!!</instructions>
  <countdown number="52">
     <triggers>
        <oncommand firstonly="false">xyzzy</oncommand>
     </triggers>
     <conditions logic="or" />
     <event>
        <desc>Nothing happens................oh, wait, a huge gang of monsters just appeared!</desc>
        <movetosameroomas target="10" loc="0" />
        <movetosameroomas target="29" loc="0" />
        <movetosameroomas target="44" loc="0" />
        <movetosameroomas target="49" loc="0" />
        <movetosameroomas target="50" loc="0" />
        <movetosameroomas target="65" loc="0" />
        <movetosameroomas target="73" loc="0" />
        <movetosameroomas target="81" loc="0" />
        <movetosameroomas target="85" loc="0" />
        <movetosameroomas target="86" loc="0" />
        <movetosameroomas target="87" loc="0" />
     </event>
  </countdown>
  <room number="89">
     <name>NO WHERE</name>
  </room>
</game>