<branchDB>
  <!--

DUNGEONS OF DREDMOR
(C) 2006 Breadbrothers

Do Not Look In This File Unless You Want Spoilers!

HOW TO EDIT:

- Tiles are specified in terms of a start, end (ranging from (0,0) to whatever)


0 : Dungeon
1 : Crypt
2 : Moonbase Dredmor Alpha
3 : Marble
4 : Wood
5 : Fungal
6 : Frozen
7 : Mines
8 : Lava
9 : Pandemonium

ROTDG:

Level 11: Deeper Dungeon 10
Level 12: Stygian Dojo 11
Level 13: The Mechanarium 12
Level 14: Underground Forest 13
Level 15: The Ossuary 14

-->

<!-- The Dungeon:

Branch #0
Generator: #1
Music: SPELUNK

Monsters:

- Lots?

-->

  <!--
  
  -->
  

  <branch name="The Dungeon" id="0" length="20" generator="1" corners="1">

    <tileset name="tilesets/basic.png"/>
    <leveldata min="0" max="0" genLakes="1" genShops="1" genZoo="1"/>
    <music name="tunes/SPELUNK.IT"/>    
    

    <!-- these need to be in all tilesets. This is a hack. Deal with it! -->

    <tile name="fluid_ice" startx="0" starty="0" numframes="4" skip="0" framerate="280"/>
    <tile name="fluid_lava" startx="0" starty="1" numframes="6" skip="0" framerate="280"/>
    <tile name="fluid_water" startx="0" starty="2" numframes="3" skip="0" framerate="250"/>
    <tile name="fluid_goo" startx="0" starty="3" numframes="3" skip="0" framerate="300"/>

  <!-- walls...  -->
	 
  <tile name="top_ul" startx="0" starty="0"/>
  <tile name="top_u" startx="1" starty="0"/>
  <tile name="top_ur" startx="2" starty="0"/>
  <tile name="top_l" startx="0" starty="1"/>
  <tile name="top_c" startx="1" starty="1"/>
  <tile name="top_r" startx="2" starty="1"/>
  <tile name="top_dl" startx="0" starty="2"/>
  <tile name="top_d" startx="1" starty="2"/>
  <tile name="top_dr" startx="2" starty="2"/>
  <tile name="top_ud" startx="3" starty="2"/>
  <tile name="top_lr" startx="4" starty="2"/>
  
  <tile name="top_cup_ldr" startx="8" starty="2"/>
  <tile name="top_cup_lur" startx="7" starty="2"/>
  <tile name="top_cup_dlu" startx="6" starty="2"/>
  <tile name="top_cup_dru" startx="5" starty="2"/>
  
    <!-- these are:
    
     ####
     #
     #
     #  #
     
     tiles
    -->
    
  <tile name="top_adj_ul" startx="5" starty="0"/>
  <tile name="top_adj_ur" startx="6" starty="0"/>
  <tile name="top_adj_dl" startx="5" starty="1"/>
  <tile name="top_adj_dr" startx="6" starty="1"/>
  
  <!-- these are: 
				 
		 #
		 
  tiles
  -->
  <tile name="top_dia_dl_dr" startx="9" starty="4"/>
  <tile name="top_dia_ur_dr" startx="10" starty="3"/>
  <tile name="top_dia_ul_dl" startx="10" starty="4"/>
  <tile name="top_dia_ul_ur" startx="9" starty="3"/>
  <tile name="top_dia_dl" startx="4" starty="0"/>
  <tile name="top_dia_dr" startx="3" starty="0"/>
  <tile name="top_dia_ul" startx="4" starty="1"/>
  <tile name="top_dia_ur" startx="3" starty="1"/>
  <tile name="top_allfour" startx="11" starty="3"/>

  <!-- these are wall tiles with a diagonal square filler -->
  <tile name="top_r_add_u" startx="11" starty="1"/>
  <tile name="top_r_add_d" startx="11" starty="0"/>
  <tile name="top_r_add_ud" startx="10" starty="0"/>
  <tile name="top_l_add_u" startx="7" starty="1"/>
  <tile name="top_l_add_d" startx="7" starty="0"/>
  <tile name="top_l_add_ud" startx="8" starty="0"/>
  <tile name="top_u_add_r" startx="11" starty="2"/>
  <tile name="top_u_add_l" startx="10" starty="1"/>
  <tile name="top_u_add_lr" startx="10" starty="2"/>
  <tile name="top_d_add_r" startx="9" starty="2"/>
  <tile name="top_d_add_l" startx="9" starty="1"/>
  <tile name="top_d_add_lr" startx="9" starty="0"/>
  <tile name="wall" startx="1" starty="3" endy="4"/>
  <tile name="wall_l" startx="0" starty="3" endy="4"/>
  <tile name="wall_r" startx="2" starty="3" endy="4"/>
  <tile name="wall_lr" startx="3" starty="3" endy="4"/>

<!-- basic floors -->
  <tile name="floor" startx="0" starty="5"/>
  <tile name="floor" startx="0" starty="6"/>
  <tile name="floor" startx="0" starty="7"/>
  <tile name="floor" startx="1" starty="5"/>
  <tile name="floor" startx="1" starty="6"/>
  <tile name="floor" startx="1" starty="7"/>
  <tile name="floor" startx="2" starty="5"/>
  <tile name="floor" startx="2" starty="6"/>
  <tile name="floor" startx="2" starty="7"/>
  <tile name="floor" startx="3" starty="5"/>
  <tile name="floor" startx="3" starty="6"/>
  <tile name="floor" startx="3" starty="7"/>
  <tile name="floor" startx="4" starty="5"/>
  <tile name="floor" startx="4" starty="6"/>
  <tile name="floor" startx="4" starty="7"/>
  <tile name="floor" startx="5" starty="5"/>
  <tile name="floor" startx="5" starty="6"/>
  <tile name="floor" startx="5" starty="7"/>
  <tile name="floor" startx="6" starty="5"/>
  <tile name="floor" startx="6" starty="6"/>
  <tile name="floor" startx="6" starty="7"/>
  <tile name="floor" startx="7" starty="5"/>
  <tile name="floor" startx="7" starty="6"/>
  <tile name="floor" startx="7" starty="7"/>
  <tile name="floor" startx="8" starty="5"/>
  <tile name="floor" startx="8" starty="6"/>
  <tile name="floor" startx="8" starty="7"/>
  <tile name="floor" startx="9" starty="5"/>
  <tile name="floor" startx="9" starty="6"/>
  <tile name="floor" startx="9" starty="7"/>
  <tile name="floor" startx="10" starty="5"/>
  <tile name="floor" startx="10" starty="6"/>
  <tile name="floor" startx="10" starty="7"/>
  <tile name="floor" startx="11" starty="5"/>
  <tile name="floor" startx="11" starty="6"/>
  <tile name="floor" startx="11" starty="7"/>
  <!-- Lower section of tiles -->
  <tile name="floor" startx="0" starty="17"/>
  <tile name="floor" startx="0" starty="18"/>
  <tile name="floor" startx="0" starty="19"/>
  <tile name="floor" startx="1" starty="17"/>
  <tile name="floor" startx="1" starty="18"/>
  <tile name="floor" startx="1" starty="19"/>
  <tile name="floor" startx="2" starty="17"/>
  <tile name="floor" startx="2" starty="18"/>
  <tile name="floor" startx="2" starty="19"/>
  <tile name="floor" startx="3" starty="17"/>
  <tile name="floor" startx="3" starty="18"/>
  <tile name="floor" startx="3" starty="19"/>
  <tile name="floor" startx="4" starty="17"/>
  <tile name="floor" startx="4" starty="18"/>
  <tile name="floor" startx="4" starty="19"/>
  <tile name="floor" startx="5" starty="17"/>
  <tile name="floor" startx="5" starty="18"/>
  <tile name="floor" startx="5" starty="19"/>
  <tile name="floor" startx="6" starty="17"/>
  <tile name="floor" startx="6" starty="18"/>
  <tile name="floor" startx="6" starty="19"/>
  <tile name="floor" startx="7" starty="17"/>
  <tile name="floor" startx="7" starty="18"/>
  <tile name="floor" startx="7" starty="19"/>
  <tile name="floor" startx="8" starty="17"/>
  <tile name="floor" startx="8" starty="18"/>
  <tile name="floor" startx="8" starty="19"/>
  <tile name="floor" startx="9" starty="17"/>
  <tile name="floor" startx="9" starty="18"/>
  <tile name="floor" startx="9" starty="19"/>
  <tile name="floor" startx="10" starty="18"/>
  <tile name="floor" startx="10" starty="19"/>
  <tile name="floor" startx="11" starty="18"/>
  <tile name="floor" startx="11" starty="19"/>
  <!-- water tiles -->
  <tile name="water_ul" startx="0" starty="8" />
  <tile name="water_u" startx="1" starty="8" />
  <tile name="water_ur" startx="2" starty="8" />
  <tile name="water_l" startx="0" starty="9" />
  <tile name="water" startx="8" starty="3" />
  <tile name="water_r" startx="2" starty="9" />
  <tile name="water_dl" startx="0" starty="10" />
  <tile name="water_d" startx="1" starty="10" />
  <tile name="water_dr" startx="2" starty="10" />
  <tile name="water_l_ur" startx="7" starty="9"/>
  <tile name="water_l_dr" startx="7" starty="8"/>
  <tile name="water_r_ul" startx="11" starty="9"/>
  <tile name="water_r_dl" startx="11" starty="8"/>
  <tile name="water_l_ur_dr" startx="8" starty="8"/>
  <tile name="water_r_ul_dl" startx="10" starty="8"/>
  <tile name="water_u_dl_dr" startx="10" starty="10"/>
  <tile name="water_d_ul_ur" startx="9" starty="8"/>
  <tile name="water_corner_ul_ur" startx="0" starty="15"  />
  <tile name="water_corner_dl_dr" startx="1" starty="15"  />
  <tile name="water_corner_ul_dl" startx="2" starty="15"  />
  <tile name="water_corner_ur_dr" startx="3" starty="15"  />
  <tile name="water_cap_corner_dr" startx="5" starty="8"  />
  <tile name="water_cap_corner_dl" startx="6" starty="8"  />
  <tile name="water_cap_corner_ur" startx="5" starty="9"  />
  <tile name="water_cap_corner_ul" startx="6" starty="9"  />
  <tile name="water_corner_dr" startx="3" starty="8"  />
  <tile name="water_corner_dl" startx="4" starty="8"  />
  <tile name="water_corner_ur" startx="3" starty="9"  />
  <tile name="water_corner_ul" startx="4" starty="9"  />
  <tile name="water_vert_cap_t" startx="7" starty="10"  />
  <tile name="water_vert" startx="4" starty="10"  />
  <tile name="water_vert_cap_b" startx="8" starty="10"  />
  <tile name="water_horiz_cap_l" startx="6" starty="10" />
  <tile name="water_horiz" startx="3" starty="10"  />
  <tile name="water_horiz_cap_r" startx="5" starty="10"  />
  
  <!-- Row 1 of wall variations -->
  <tile name="wallDecor" startx="0" starty="11" endy="12"/>
  <tile name="wallDecor" startx="1" starty="11" endy="12"/>
  <tile name="wallDecor" startx="2" starty="11" endy="12"/>
  <tile name="wallDecor" startx="3" starty="11" endy="12"/>
  <tile name="wallDecor" startx="4" starty="11" endy="12"/>
  <tile name="wallDecor" startx="5" starty="11" endy="12"/>
  <tile name="wallDecor" startx="6" starty="11" endy="12"/>
  <tile name="wallDecor" startx="7" starty="11" endy="12"/>
  <tile name="wallDecor" startx="8" starty="11" endy="12"/>
  <tile name="wallDecor" startx="9" starty="11" endy="12"/>
  <tile name="wallDecor" startx="10" starty="11" endy="12"/>
  <tile name="wallDecor" startx="11" starty="11" endy="12"/>
  <!-- Row 2 of wall variations -->
  <tile name="wallDecor" startx="0" starty="13" endy="14"/>
  <tile name="wallDecor" startx="1" starty="13" endy="14"/>
  <tile name="wallDecor" startx="2" starty="13" endy="14"/>
  <tile name="wallDecor" startx="3" starty="13" endy="14"/>
  <tile name="wallDecor" startx="4" starty="13" endy="14"/>
  <tile name="wallDecor" startx="5" starty="13" endy="14"/>
  <tile name="wallDecor" startx="6" starty="13" endy="14"/>
  <tile name="wallDecor" startx="7" starty="13" endy="14"/>
  <tile name="wallDecor" startx="8" starty="13" endy="14"/>
  <tile name="wallDecor" startx="9" starty="13" endy="14"/>
  <tile name="wallDecor" startx="10" starty="13" endy="14"/>
  <tile name="wallDecor" startx="11" starty="13" endy="14"/>

  <tile name="stairsup" startx="10" starty="15" endy="17" />
  <tile name="stairsdown" startx="11" starty="15" endy="17" />

    <chestinfo
  open="dungeon/chest0_open.png"
  closed="dungeon/chest0_closed.png"
  broken="dungeon/chest0_broken.png"/>

<breakable
  name="Wooden Crate" vis="1"
  png="dungeon/crate.png" pngBroken="dungeon/chest1_broken.png" 
  pngSeriesBreak="dungeon/cratebreak/cratebreak" 
  pngBreakFirst="1" pngBreakNum="4" pngBreakRate="60"/>
<breakable
  name="Wooden Barrel" vis="1"
  png="dungeon/barrelA.png" pngBroken="dungeon/barrelA_break/barrelA_break0002.png" 
  pngSeriesBreak="dungeon/barrelA_break/barrelA_break" 
  pngBreakFirst="0" pngBreakNum="3" pngBreakRate="60" />

    <!-- note: this is an animated sprite so it gets the pngSprite tag -->
		
		<!-- EXAMPLE
    <blocker name="Exploding Cannon" pngSprite="dungeon/cannon_left_fire/cannon_left_fire" pngFirst="0" pngNum="6" pngRate="50" passable="0" animate="1"/> -->
    
    <!-- note: this is NOT an animated sprite so it does not get the pngSprite tag, instead it gets the png tag -->
<!--
    <blocker name="Crafting Forge" png="dungeon/crafting_forge.png" passable="0" animate="0"/>
  -->  

  <blocker name="firey brazier" pngSprite="dungeon/brazierA/brazierA" pngFirst="0" pngNum="4" pngRate="100" passable="0" animate="1"/>
  <blocker name="lit candelabra" pngSprite="dungeon/candelabra/candelabra" pngFirst="0" pngNum="4" pngRate="100" passable="0" animate="1" />
  <blocker name="unlit candelabra" png="dungeon/candelabra_unlit.png" passable="0" animate="0" description="These candles need a light." />
  <blocker name="empty candelabra" png="dungeon/candelabra_empty.png" passable="0" animate="0" />
  <blocker name="wooden table" png="dungeon/table_wood.png" passable="0" animate="0" />

  <blocker name="some bones" sprite="dungeon/bones0.png" passable="1"/>
  <blocker name="more bones" sprite="dungeon/bones1.png" passable="1"/>
  <blocker name="even more bones" sprite="dungeon/bones2.png" passable="1"/>

</branch>


  <branch name="The Crypts" id="1" length="6" generator="1" corners="1">
    <tileset name="tilesets/crypt.png"/>
    <leveldata min="1" max="1" genLakes="0" banner="dngidents/crypts.png"/>
    <music name="tunes/TEMPLE.IT"/>

    <doorinfo
      ew_top="dungeon/door_cryptwood3x3_ew_top.spr"
      ew_bottom="dungeon/door_cryptwood3x3_ew_bottom.spr"
      ns_left="dungeon/door_cryptwood3x3_ns_left.spr"
      ns_right="dungeon/door_cryptwood3x3_ns_right.spr"
      />
    
    <!-- these need to be in all tilesets. This is a hack. Deal with it! -->

    <tile name="fluid_ice" startx="0" starty="0" numframes="4" skip="0" framerate="280"/>
    <tile name="fluid_lava" startx="0" starty="1" numframes="6" skip="0" framerate="280"/>
    <tile name="fluid_water" startx="0" starty="2" numframes="3" skip="0" framerate="250"/>
    <tile name="fluid_goo" startx="0" starty="3" numframes="3" skip="0" framerate="300"/>

    <tile name="stairsup" startx="10" starty="15" endy="17" />
    <tile name="stairsdown" startx="11" starty="15" endy="17" />

    <!-- walls...  -->
	 
  <tile name="top_ul" startx="0" starty="0"/>
  <tile name="top_u" startx="1" starty="0"/>
  <tile name="top_ur" startx="2" starty="0"/>
  <tile name="top_l" startx="0" starty="1"/>
  <tile name="top_c" startx="1" starty="1"/>
  <tile name="top_r" startx="2" starty="1"/>
  <tile name="top_dl" startx="0" starty="2"/>
  <tile name="top_d" startx="1" starty="2"/>
  <tile name="top_dr" startx="2" starty="2"/>
  <tile name="top_ud" startx="3" starty="2"/>
  <tile name="top_lr" startx="4" starty="2"/>
  
  <tile name="top_cup_ldr" startx="8" starty="2"/>
  <tile name="top_cup_lur" startx="7" starty="2"/>
  <tile name="top_cup_dlu" startx="6" starty="2"/>
  <tile name="top_cup_dru" startx="5" starty="2"/>
  
    <!-- these are:
    
     ####
     #
     #
     #  #
     
     tiles
    -->
    
  <tile name="top_adj_ul" startx="5" starty="0"/>
  <tile name="top_adj_ur" startx="6" starty="0"/>
  <tile name="top_adj_dl" startx="5" starty="1"/>
  <tile name="top_adj_dr" startx="6" starty="1"/>
  
  <!-- these are: 
				 
		 #
		 
  tiles
  -->
  <tile name="top_dia_dl_dr" startx="9" starty="4"/>
  <tile name="top_dia_ur_dr" startx="10" starty="3"/>
  <tile name="top_dia_ul_dl" startx="10" starty="4"/>
  <tile name="top_dia_ul_ur" startx="9" starty="3"/>
  <tile name="top_dia_dl" startx="4" starty="0"/>
  <tile name="top_dia_dr" startx="3" starty="0"/>
  <tile name="top_dia_ul" startx="4" starty="1"/>
  <tile name="top_dia_ur" startx="3" starty="1"/>
  <tile name="top_allfour" startx="11" starty="3"/>

  <!-- these are wall tiles with a diagonal square filler -->
  <tile name="top_r_add_u" startx="11" starty="1"/>
  <tile name="top_r_add_d" startx="11" starty="0"/>
  <tile name="top_r_add_ud" startx="10" starty="0"/>
  <tile name="top_l_add_u" startx="7" starty="1"/>
  <tile name="top_l_add_d" startx="7" starty="0"/>
  <tile name="top_l_add_ud" startx="8" starty="0"/>
  <tile name="top_u_add_r" startx="11" starty="2"/>
  <tile name="top_u_add_l" startx="10" starty="1"/>
  <tile name="top_u_add_lr" startx="10" starty="2"/>
  <tile name="top_d_add_r" startx="9" starty="2"/>
  <tile name="top_d_add_l" startx="9" starty="1"/>
  <tile name="top_d_add_lr" startx="9" starty="0"/>
  <tile name="wall" startx="1" starty="3" endy="4"/>
  <tile name="wall_l" startx="0" starty="3" endy="4"/>
  <tile name="wall_r" startx="2" starty="3" endy="4"/>
  <tile name="wall_lr" startx="3" starty="3" endy="4"/>

<!-- basic floors -->
  <tile name="floor" startx="0" starty="5"/>
  <tile name="floor" startx="0" starty="6"/>
  <tile name="floor" startx="0" starty="7"/>
  <tile name="floor" startx="1" starty="5"/>
  <tile name="floor" startx="1" starty="6"/>
  <tile name="floor" startx="1" starty="7"/>
  <tile name="floor" startx="2" starty="5"/>
  <tile name="floor" startx="2" starty="6"/>
  <tile name="floor" startx="2" starty="7"/>
  <tile name="floor" startx="3" starty="5"/>
  <tile name="floor" startx="3" starty="6"/>
  <tile name="floor" startx="3" starty="7"/>
  <tile name="floor" startx="4" starty="5"/>
  <tile name="floor" startx="4" starty="6"/>
  <tile name="floor" startx="4" starty="7"/>
  <tile name="floor" startx="5" starty="5"/>
  <tile name="floor" startx="5" starty="6"/>
  <tile name="floor" startx="5" starty="7"/>
  <tile name="floor" startx="6" starty="5"/>
  <tile name="floor" startx="6" starty="6"/>
  <tile name="floor" startx="6" starty="7"/>
  <tile name="floor" startx="7" starty="5"/>
  <tile name="floor" startx="7" starty="6"/>
  <tile name="floor" startx="7" starty="7"/>
  <tile name="floor" startx="8" starty="5"/>
  <tile name="floor" startx="8" starty="6"/>
  <tile name="floor" startx="8" starty="7"/>
  <tile name="floor" startx="9" starty="5"/>
  <tile name="floor" startx="9" starty="6"/>
  <tile name="floor" startx="9" starty="7"/>
  <tile name="floor" startx="10" starty="5"/>
  <tile name="floor" startx="10" starty="6"/>
  <tile name="floor" startx="10" starty="7"/>
  <tile name="floor" startx="11" starty="5"/>
  <tile name="floor" startx="11" starty="6"/>
  <tile name="floor" startx="11" starty="7"/>
  <!-- Lower section of tiles -->
  <tile name="floor" startx="0" starty="17"/>
  <tile name="floor" startx="0" starty="18"/>
  <tile name="floor" startx="0" starty="19"/>
  <tile name="floor" startx="1" starty="17"/>
  <tile name="floor" startx="1" starty="18"/>
  <tile name="floor" startx="1" starty="19"/>
  <tile name="floor" startx="2" starty="17"/>
  <tile name="floor" startx="2" starty="18"/>
  <tile name="floor" startx="2" starty="19"/>
  <tile name="floor" startx="3" starty="17"/>
  <tile name="floor" startx="3" starty="18"/>
  <tile name="floor" startx="3" starty="19"/>
  <tile name="floor" startx="4" starty="17"/>
  <tile name="floor" startx="4" starty="18"/>
  <tile name="floor" startx="4" starty="19"/>
  <tile name="floor" startx="5" starty="17"/>
  <tile name="floor" startx="5" starty="18"/>
  <tile name="floor" startx="5" starty="19"/>
  <tile name="floor" startx="6" starty="17"/>
  <tile name="floor" startx="6" starty="18"/>
  <tile name="floor" startx="6" starty="19"/>
  <tile name="floor" startx="7" starty="17"/>
  <tile name="floor" startx="7" starty="18"/>
  <tile name="floor" startx="7" starty="19"/>
  <tile name="floor" startx="8" starty="17"/>
  <tile name="floor" startx="8" starty="18"/>
  <tile name="floor" startx="8" starty="19"/>
  <tile name="floor" startx="9" starty="17"/>
  <tile name="floor" startx="9" starty="18"/>
  <tile name="floor" startx="9" starty="19"/>
  <tile name="floor" startx="10" starty="18"/>
  <tile name="floor" startx="10" starty="19"/>
  <tile name="floor" startx="11" starty="18"/>
  <tile name="floor" startx="11" starty="19"/>
  <!-- water tiles -->
  <tile name="water_ul" startx="0" starty="8" />
  <tile name="water_u" startx="1" starty="8" />
  <tile name="water_ur" startx="2" starty="8" />
  <tile name="water_l" startx="0" starty="9" />
  <tile name="water" startx="8" starty="3" />
  <tile name="water_r" startx="2" starty="9" />
  <tile name="water_dl" startx="0" starty="10" />
  <tile name="water_d" startx="1" starty="10" />
  <tile name="water_dr" startx="2" starty="10" />
  <tile name="water_l_ur" startx="7" starty="9"/>
  <tile name="water_l_dr" startx="7" starty="8"/>
  <tile name="water_r_ul" startx="11" starty="9"/>
  <tile name="water_r_dl" startx="11" starty="8"/>
  <tile name="water_l_ur_dr" startx="8" starty="8"/>
  <tile name="water_r_ul_dl" startx="10" starty="8"/>
  <tile name="water_u_dl_dr" startx="10" starty="10"/>
  <tile name="water_d_ul_ur" startx="9" starty="8"/>
  <tile name="water_corner_ul_ur" startx="0" starty="15"  />
  <tile name="water_corner_dl_dr" startx="1" starty="15"  />
  <tile name="water_corner_ul_dl" startx="2" starty="15"  />
  <tile name="water_corner_ur_dr" startx="3" starty="15"  />
  <tile name="water_cap_corner_dr" startx="5" starty="8"  />
  <tile name="water_cap_corner_dl" startx="6" starty="8"  />
  <tile name="water_cap_corner_ur" startx="5" starty="9"  />
  <tile name="water_cap_corner_ul" startx="6" starty="9"  />
  <tile name="water_corner_dr" startx="3" starty="8"  />
  <tile name="water_corner_dl" startx="4" starty="8"  />
  <tile name="water_corner_ur" startx="3" starty="9"  />
  <tile name="water_corner_ul" startx="4" starty="9"  />
  <tile name="water_vert_cap_t" startx="7" starty="10"  />
  <tile name="water_vert" startx="4" starty="10"  />
  <tile name="water_vert_cap_b" startx="8" starty="10"  />
  <tile name="water_horiz_cap_l" startx="6" starty="10" />
  <tile name="water_horiz" startx="3" starty="10"  />
  <tile name="water_horiz_cap_r" startx="5" starty="10"  />
  
  <!-- Row 1 of wall variations -->
  <tile name="wallDecor" startx="0" starty="11" endy="12"/>
  <tile name="wallDecor" startx="1" starty="11" endy="12"/>
  <tile name="wallDecor" startx="2" starty="11" endy="12"/>
  <tile name="wallDecor" startx="3" starty="11" endy="12"/>
  <tile name="wallDecor" startx="4" starty="11" endy="12"/>
  <tile name="wallDecor" startx="5" starty="11" endy="12"/>
  <tile name="wallDecor" startx="6" starty="11" endy="12"/>
  <tile name="wallDecor" startx="7" starty="11" endy="12"/>
  <tile name="wallDecor" startx="8" starty="11" endy="12"/>
  <tile name="wallDecor" startx="9" starty="11" endy="12"/>
  <tile name="wallDecor" startx="10" starty="11" endy="12"/>
  <tile name="wallDecor" startx="11" starty="11" endy="12"/>
  <!-- Row 2 of wall variations -->
  <tile name="wallDecor" startx="0" starty="13" endy="14"/>
  <tile name="wallDecor" startx="1" starty="13" endy="14"/>
  <tile name="wallDecor" startx="2" starty="13" endy="14"/>
  <tile name="wallDecor" startx="3" starty="13" endy="14"/>
  <tile name="wallDecor" startx="4" starty="13" endy="14"/>
  <tile name="wallDecor" startx="5" starty="13" endy="14"/>
  <tile name="wallDecor" startx="6" starty="13" endy="14"/>
  <tile name="wallDecor" startx="7" starty="13" endy="14"/>
  <tile name="wallDecor" startx="8" starty="13" endy="14"/>
  <tile name="wallDecor" startx="9" starty="13" endy="14"/>
  <tile name="wallDecor" startx="10" starty="13" endy="14"/>
  <tile name="wallDecor" startx="11" starty="13" endy="14"/>

<breakable
  name="Fancy Urn" vis="1"
  png="dungeon/fancy_urn.png" pngBroken="dungeon/fancy_urn_break/fancy_urn_break0002.png" 
  pngSeriesBreak="dungeon/fancy_urn_break/fancy_urn_break" 
  pngBreakFirst="0" pngBreakNum="3" pngBreakRate="60" />

<breakable
  name="Wooden Barrel" vis="1"
  png="dungeon/barrelA.png" pngBroken="dungeon/barrelA_break/barrelA_break0002.png" 
  pngSeriesBreak="dungeon/barrelA_break/barrelA_break" 
  pngBreakFirst="0" pngBreakNum="3" pngBreakRate="60" />
	 
  <blocker name="lit candelabra" pngSprite="dungeon/candelabra/candelabra" pngFirst="0" pngNum="4" pngRate="100" passable="0" animate="1"/>
  <blocker name="unlit candelabra" png="dungeon/candelabra_unlit.png" passable="0" animate="0" description="These candles need a light." />
  <blocker name="empty candelabra" png="dungeon/candelabra_empty.png" passable="0" animate="0" />
  <blocker name="some bones" sprite="dungeon/bones0.png" passable="1"/>
  <blocker name="more bones" sprite="dungeon/bones1.png" passable="1"/>
  <blocker name="even more bones" sprite="dungeon/bones2.png" passable="1"/>

</branch>

  <branch name="Moonbase Dredmor-Alpha" id="2" length="20" generator="1" corners="1">

    <tileset name="tilesets/moonbase.png"/>
    <doorinfo
      ew_top="dungeon/techdoor_ew_top"
      ew_bottom="dungeon/techdoor_ew_bot"
      ns_left="dungeon/techdoor_ns_left"
      ns_right="dungeon/techdoor_ns_right"
      />

    <leveldata min="2" max="2" genLakes="1" genShops="1" genZoo="1"/>
    <music name="tunes/SPELUNK.IT"/>

    <seed name="John Romero's Head Is Hidden Here Somewhere"/>
	 <seed name="Computer Lab"/>

    <!-- these need to be in all tilesets. This is a hack. Deal with it! -->

    <tile name="fluid_ice" startx="0" starty="0" numframes="4" skip="0" framerate="280"/>
    <tile name="fluid_lava" startx="0" starty="1" numframes="6" skip="0" framerate="280"/>
    <tile name="fluid_water" startx="0" starty="2" numframes="3" skip="0" framerate="250"/>
    <tile name="fluid_goo" startx="0" starty="3" numframes="3" skip="0" framerate="300"/>

    <tile name="stairsup" startx="10" starty="15" endy="17" />
    <tile name="stairsdown" startx="11" starty="15" endy="17" />

    <!-- walls...  -->
	 
  <tile name="top_ul" startx="0" starty="0"/>
  <tile name="top_u" startx="1" starty="0"/>
  <tile name="top_ur" startx="2" starty="0"/>
  <tile name="top_l" startx="0" starty="1"/>
  <tile name="top_c" startx="1" starty="1"/>
  <tile name="top_r" startx="2" starty="1"/>
  <tile name="top_dl" startx="0" starty="2"/>
  <tile name="top_d" startx="1" starty="2"/>
  <tile name="top_dr" startx="2" starty="2"/>
  <tile name="top_ud" startx="3" starty="2"/>
  <tile name="top_lr" startx="4" starty="2"/>
  
  <tile name="top_cup_ldr" startx="8" starty="2"/>
  <tile name="top_cup_lur" startx="7" starty="2"/>
  <tile name="top_cup_dlu" startx="6" starty="2"/>
  <tile name="top_cup_dru" startx="5" starty="2"/>

  <tile name="top_adj_ul" startx="5" starty="0"/>
  <tile name="top_adj_ur" startx="6" starty="0"/>
  <tile name="top_adj_dl" startx="5" starty="1"/>
  <tile name="top_adj_dr" startx="6" starty="1"/>
  
  <tile name="top_dia_dl_dr" startx="9" starty="4"/>
  <tile name="top_dia_ur_dr" startx="10" starty="3"/>
  <tile name="top_dia_ul_dl" startx="10" starty="4"/>
  <tile name="top_dia_ul_ur" startx="9" starty="3"/>
  <tile name="top_dia_dl" startx="4" starty="0"/>
  <tile name="top_dia_dr" startx="3" starty="0"/>
  <tile name="top_dia_ul" startx="4" starty="1"/>
  <tile name="top_dia_ur" startx="3" starty="1"/>
  <tile name="top_allfour" startx="11" starty="3"/>

  <!-- these are wall tiles with a diagonal square filler -->
  <tile name="top_r_add_u" startx="11" starty="1"/>
  <tile name="top_r_add_d" startx="11" starty="0"/>
  <tile name="top_r_add_ud" startx="10" starty="0"/>
  <tile name="top_l_add_u" startx="7" starty="1"/>
  <tile name="top_l_add_d" startx="7" starty="0"/>
  <tile name="top_l_add_ud" startx="8" starty="0"/>
  <tile name="top_u_add_r" startx="11" starty="2"/>
  <tile name="top_u_add_l" startx="10" starty="1"/>
  <tile name="top_u_add_lr" startx="10" starty="2"/>
  <tile name="top_d_add_r" startx="9" starty="2"/>
  <tile name="top_d_add_l" startx="9" starty="1"/>
  <tile name="top_d_add_lr" startx="9" starty="0"/>
  <tile name="wall" startx="1" starty="3" endy="4"/>
  <tile name="wall_l" startx="0" starty="3" endy="4"/>
  <tile name="wall_r" startx="2" starty="3" endy="4"/>
  <tile name="wall_lr" startx="3" starty="3" endy="4"/>

<!-- basic floors -->
  <tile name="floor" startx="0" starty="5"/>
  <tile name="floor" startx="0" starty="6"/>
  <tile name="floor" startx="0" starty="7"/>
  <tile name="floor" startx="1" starty="5"/>
  <tile name="floor" startx="1" starty="6"/>
  <tile name="floor" startx="1" starty="7"/>
  <tile name="floor" startx="2" starty="5"/>
  <tile name="floor" startx="2" starty="6"/>
  <tile name="floor" startx="2" starty="7"/>
  <tile name="floor" startx="3" starty="5"/>
  <tile name="floor" startx="3" starty="6"/>
  <tile name="floor" startx="3" starty="7"/>
  <tile name="floor" startx="4" starty="5"/>
  <tile name="floor" startx="4" starty="6"/>
  <tile name="floor" startx="4" starty="7"/>
  <tile name="floor" startx="5" starty="5"/>
  <tile name="floor" startx="5" starty="6"/>
  <tile name="floor" startx="5" starty="7"/>
  <tile name="floor" startx="6" starty="5"/>
  <tile name="floor" startx="6" starty="6"/>
  <tile name="floor" startx="6" starty="7"/>
  <tile name="floor" startx="7" starty="5"/>
  <tile name="floor" startx="7" starty="6"/>
  <tile name="floor" startx="7" starty="7"/>
  <tile name="floor" startx="8" starty="5"/>
  <tile name="floor" startx="8" starty="6"/>
  <tile name="floor" startx="8" starty="7"/>
  <tile name="floor" startx="9" starty="5"/>
  <tile name="floor" startx="9" starty="6"/>
  <tile name="floor" startx="9" starty="7"/>
  <tile name="floor" startx="10" starty="5"/>
  <tile name="floor" startx="10" starty="6"/>
  <tile name="floor" startx="10" starty="7"/>
  <tile name="floor" startx="11" starty="5"/>
  <tile name="floor" startx="11" starty="6"/>
  <tile name="floor" startx="11" starty="7"/>
  <!-- Lower section of tiles -->
  <tile name="floor" startx="0" starty="17"/>
  <tile name="floor" startx="0" starty="18"/>
  <tile name="floor" startx="0" starty="19"/>
  <tile name="floor" startx="1" starty="17"/>
  <tile name="floor" startx="1" starty="18"/>
  <tile name="floor" startx="1" starty="19"/>
  <tile name="floor" startx="2" starty="17"/>
  <tile name="floor" startx="2" starty="18"/>
  <tile name="floor" startx="2" starty="19"/>
  <tile name="floor" startx="3" starty="17"/>
  <tile name="floor" startx="3" starty="18"/>
  <tile name="floor" startx="3" starty="19"/>
  <tile name="floor" startx="4" starty="17"/>
  <tile name="floor" startx="4" starty="18"/>
  <tile name="floor" startx="4" starty="19"/>
  <tile name="floor" startx="5" starty="17"/>
  <tile name="floor" startx="5" starty="18"/>
  <tile name="floor" startx="5" starty="19"/>
  <tile name="floor" startx="6" starty="17"/>
  <tile name="floor" startx="6" starty="18"/>
  <tile name="floor" startx="6" starty="19"/>
  <tile name="floor" startx="7" starty="17"/>
  <tile name="floor" startx="7" starty="18"/>
  <tile name="floor" startx="7" starty="19"/>
  <tile name="floor" startx="8" starty="17"/>
  <tile name="floor" startx="8" starty="18"/>
  <tile name="floor" startx="8" starty="19"/>
  <tile name="floor" startx="9" starty="17"/>
  <tile name="floor" startx="9" starty="18"/>
  <tile name="floor" startx="9" starty="19"/>
  <tile name="floor" startx="10" starty="18"/>
  <tile name="floor" startx="10" starty="19"/>
  <tile name="floor" startx="11" starty="18"/>
  <tile name="floor" startx="11" starty="19"/>
  <!-- water tiles -->
  <tile name="water_ul" startx="0" starty="8" />
  <tile name="water_u" startx="1" starty="8" />
  <tile name="water_ur" startx="2" starty="8" />
  <tile name="water_l" startx="0" starty="9" />
  <tile name="water" startx="8" starty="3" />
  <tile name="water_r" startx="2" starty="9" />
  <tile name="water_dl" startx="0" starty="10" />
  <tile name="water_d" startx="1" starty="10" />
  <tile name="water_dr" startx="2" starty="10" />
  <tile name="water_l_ur" startx="7" starty="9"/>
  <tile name="water_l_dr" startx="7" starty="8"/>
  <tile name="water_r_ul" startx="11" starty="9"/>
  <tile name="water_r_dl" startx="11" starty="8"/>
  <tile name="water_l_ur_dr" startx="8" starty="8"/>
  <tile name="water_r_ul_dl" startx="10" starty="8"/>
  <tile name="water_u_dl_dr" startx="10" starty="10"/>
  <tile name="water_d_ul_ur" startx="9" starty="8"/>
  <tile name="water_corner_ul_ur" startx="0" starty="15"  />
  <tile name="water_corner_dl_dr" startx="1" starty="15"  />
  <tile name="water_corner_ul_dl" startx="2" starty="15"  />
  <tile name="water_corner_ur_dr" startx="3" starty="15"  />
  <tile name="water_cap_corner_dr" startx="5" starty="8"  />
  <tile name="water_cap_corner_dl" startx="6" starty="8"  />
  <tile name="water_cap_corner_ur" startx="5" starty="9"  />
  <tile name="water_cap_corner_ul" startx="6" starty="9"  />
  <tile name="water_corner_dr" startx="3" starty="8"  />
  <tile name="water_corner_dl" startx="4" starty="8"  />
  <tile name="water_corner_ur" startx="3" starty="9"  />
  <tile name="water_corner_ul" startx="4" starty="9"  />
  <tile name="water_vert_cap_t" startx="7" starty="10"  />
  <tile name="water_vert" startx="4" starty="10"  />
  <tile name="water_vert_cap_b" startx="8" starty="10"  />
  <tile name="water_horiz_cap_l" startx="6" starty="10" />
  <tile name="water_horiz" startx="3" starty="10"  />
  <tile name="water_horiz_cap_r" startx="5" starty="10"  />
  
  <!-- Row 1 of wall variations -->
  <tile name="wallDecor" startx="0" starty="11" endy="12"/>
  <tile name="wallDecor" startx="1" starty="11" endy="12"/>
  <tile name="wallDecor" startx="2" starty="11" endy="12"/>
  <tile name="wallDecor" startx="3" starty="11" endy="12"/>
  <tile name="wallDecor" startx="4" starty="11" endy="12"/>
  <tile name="wallDecor" startx="5" starty="11" endy="12"/>
  <tile name="wallDecor" startx="6" starty="11" endy="12"/>
  <tile name="wallDecor" startx="7" starty="11" endy="12"/>
  <tile name="wallDecor" startx="8" starty="11" endy="12"/>
  <tile name="wallDecor" startx="9" starty="11" endy="12"/>
  <tile name="wallDecor" startx="10" starty="11" endy="12"/>
  <tile name="wallDecor" startx="11" starty="11" endy="12"/>
  <!-- Row 2 of wall variations -->
  <tile name="wallDecor" startx="0" starty="13" endy="14"/>
  <tile name="wallDecor" startx="1" starty="13" endy="14"/>
  <tile name="wallDecor" startx="2" starty="13" endy="14"/>
  <tile name="wallDecor" startx="3" starty="13" endy="14"/>
  <tile name="wallDecor" startx="4" starty="13" endy="14"/>
  <tile name="wallDecor" startx="5" starty="13" endy="14"/>
  <tile name="wallDecor" startx="6" starty="13" endy="14"/>
  <tile name="wallDecor" startx="7" starty="13" endy="14"/>
  <tile name="wallDecor" startx="8" starty="13" endy="14"/>
  <tile name="wallDecor" startx="9" starty="13" endy="14"/>
  <tile name="wallDecor" startx="10" starty="13" endy="14"/>
  <tile name="wallDecor" startx="11" starty="13" endy="14"/>

<chestinfo
  open="dungeon/techchest_open.png"
  closed="dungeon/techchest_closed.png"
  broken="dungeon/techchest_broken.png" />

<breakable
  name="Crate" vis="1"
  png="dungeon/techcrate.png" pngBroken="dungeon/techcrate_break/techcrate_break0002.png" 
  pngSeriesBreak="dungeon/techcrate_break/techcrate_break" 
  pngBreakFirst="0" pngBreakNum="3" pngBreakRate="60"/>

  <blocker name="flickering techlamp" pngSprite="dungeon/techlamp_flicker/techlamp_flicker" pngFirst="0" pngNum="9" pngRate="80" passable="0" animate="1" />
  <blocker name="techlamp" png="dungeon/techlamp.png" passable="0" animate="0" />

  <blocker name="rusty rubble" sprite="dungeon/rust_rubble0.png" passable="1"/>
  <blocker name="some bones" sprite="dungeon/bones0.png" passable="1"/>
  <blocker name="more bones" sprite="dungeon/bones1.png" passable="1"/>
  <blocker name="even more bones" sprite="dungeon/bones2.png" passable="1"/>
  <blocker name="rusty computer" sprite="dungeon/computer0.png" />

  </branch>

  <branch name="The Sauna Of Despair" id="3" length="10" generator="1" corners="1">
    <tileset name="tilesets/marble.png"/>
    <leveldata min="3" max="3" genLakes="1"/>
    <music name="tunes/SUBTER.IT"/>

    <!-- these need to be in all tilesets. This is a hack. Deal with it! -->

    <tile name="fluid_ice" startx="0" starty="0" numframes="4" skip="0" framerate="280"/>
    <tile name="fluid_lava" startx="0" starty="1" numframes="6" skip="0" framerate="280"/>
    <tile name="fluid_water" startx="0" starty="2" numframes="3" skip="0" framerate="250"/>
    <tile name="fluid_goo" startx="0" starty="3" numframes="3" skip="0" framerate="300"/>

    <tile name="stairsup" startx="10" starty="15" endy="17" />
    <tile name="stairsdown" startx="11" starty="15" endy="17" />

    <!-- walls...  -->
	 
  <tile name="top_ul" startx="0" starty="0"/>
  <tile name="top_u" startx="1" starty="0"/>
  <tile name="top_ur" startx="2" starty="0"/>
  <tile name="top_l" startx="0" starty="1"/>
  <tile name="top_c" startx="1" starty="1"/>
  <tile name="top_r" startx="2" starty="1"/>
  <tile name="top_dl" startx="0" starty="2"/>
  <tile name="top_d" startx="1" starty="2"/>
  <tile name="top_dr" startx="2" starty="2"/>
  <tile name="top_ud" startx="3" starty="2"/>
  <tile name="top_lr" startx="4" starty="2"/>
  
  <tile name="top_cup_ldr" startx="8" starty="2"/>
  <tile name="top_cup_lur" startx="7" starty="2"/>
  <tile name="top_cup_dlu" startx="6" starty="2"/>
  <tile name="top_cup_dru" startx="5" starty="2"/>

  <tile name="top_adj_ul" startx="5" starty="0"/>
  <tile name="top_adj_ur" startx="6" starty="0"/>
  <tile name="top_adj_dl" startx="5" starty="1"/>
  <tile name="top_adj_dr" startx="6" starty="1"/>
  
  <tile name="top_dia_dl_dr" startx="9" starty="4"/>
  <tile name="top_dia_ur_dr" startx="10" starty="3"/>
  <tile name="top_dia_ul_dl" startx="10" starty="4"/>
  <tile name="top_dia_ul_ur" startx="9" starty="3"/>
  <tile name="top_dia_dl" startx="4" starty="0"/>
  <tile name="top_dia_dr" startx="3" starty="0"/>
  <tile name="top_dia_ul" startx="4" starty="1"/>
  <tile name="top_dia_ur" startx="3" starty="1"/>
  <tile name="top_allfour" startx="11" starty="3"/>

  <!-- these are wall tiles with a diagonal square filler -->
  <tile name="top_r_add_u" startx="11" starty="1"/>
  <tile name="top_r_add_d" startx="11" starty="0"/>
  <tile name="top_r_add_ud" startx="10" starty="0"/>
  <tile name="top_l_add_u" startx="7" starty="1"/>
  <tile name="top_l_add_d" startx="7" starty="0"/>
  <tile name="top_l_add_ud" startx="8" starty="0"/>
  <tile name="top_u_add_r" startx="11" starty="2"/>
  <tile name="top_u_add_l" startx="10" starty="1"/>
  <tile name="top_u_add_lr" startx="10" starty="2"/>
  <tile name="top_d_add_r" startx="9" starty="2"/>
  <tile name="top_d_add_l" startx="9" starty="1"/>
  <tile name="top_d_add_lr" startx="9" starty="0"/>
  <tile name="wall" startx="1" starty="3" endy="4"/>
  <tile name="wall_l" startx="0" starty="3" endy="4"/>
  <tile name="wall_r" startx="2" starty="3" endy="4"/>
  <tile name="wall_lr" startx="3" starty="3" endy="4"/>

<!-- basic floors -->
  <tile name="floor" startx="0" starty="5"/>
  <tile name="floor" startx="0" starty="6"/>
  <tile name="floor" startx="0" starty="7"/>
  <tile name="floor" startx="1" starty="5"/>
  <tile name="floor" startx="1" starty="6"/>
  <tile name="floor" startx="1" starty="7"/>
  <tile name="floor" startx="2" starty="5"/>
  <tile name="floor" startx="2" starty="6"/>
  <tile name="floor" startx="2" starty="7"/>
  <tile name="floor" startx="3" starty="5"/>
  <tile name="floor" startx="3" starty="6"/>
  <tile name="floor" startx="3" starty="7"/>
  <tile name="floor" startx="4" starty="5"/>
  <tile name="floor" startx="4" starty="6"/>
  <tile name="floor" startx="4" starty="7"/>
  <tile name="floor" startx="5" starty="5"/>
  <tile name="floor" startx="5" starty="6"/>
  <tile name="floor" startx="5" starty="7"/>
  <tile name="floor" startx="6" starty="5"/>
  <tile name="floor" startx="6" starty="6"/>
  <tile name="floor" startx="6" starty="7"/>
  <tile name="floor" startx="7" starty="5"/>
  <tile name="floor" startx="7" starty="6"/>
  <tile name="floor" startx="7" starty="7"/>
  <tile name="floor" startx="8" starty="5"/>
  <tile name="floor" startx="8" starty="6"/>
  <tile name="floor" startx="8" starty="7"/>
  <tile name="floor" startx="9" starty="5"/>
  <tile name="floor" startx="9" starty="6"/>
  <tile name="floor" startx="9" starty="7"/>
  <tile name="floor" startx="10" starty="5"/>
  <tile name="floor" startx="10" starty="6"/>
  <tile name="floor" startx="10" starty="7"/>
  <tile name="floor" startx="11" starty="5"/>
  <tile name="floor" startx="11" starty="6"/>
  <tile name="floor" startx="11" starty="7"/>
  <!-- Lower section of tiles -->
  <tile name="floor" startx="0" starty="17"/>
  <tile name="floor" startx="0" starty="18"/>
  <tile name="floor" startx="0" starty="19"/>
  <tile name="floor" startx="1" starty="17"/>
  <tile name="floor" startx="1" starty="18"/>
  <tile name="floor" startx="1" starty="19"/>
  <tile name="floor" startx="2" starty="17"/>
  <tile name="floor" startx="2" starty="18"/>
  <tile name="floor" startx="2" starty="19"/>
  <tile name="floor" startx="3" starty="17"/>
  <tile name="floor" startx="3" starty="18"/>
  <tile name="floor" startx="3" starty="19"/>
  <tile name="floor" startx="4" starty="17"/>
  <tile name="floor" startx="4" starty="18"/>
  <tile name="floor" startx="4" starty="19"/>
  <tile name="floor" startx="5" starty="17"/>
  <tile name="floor" startx="5" starty="18"/>
  <tile name="floor" startx="5" starty="19"/>
  <tile name="floor" startx="6" starty="17"/>
  <tile name="floor" startx="6" starty="18"/>
  <tile name="floor" startx="6" starty="19"/>
  <tile name="floor" startx="7" starty="17"/>
  <tile name="floor" startx="7" starty="18"/>
  <tile name="floor" startx="7" starty="19"/>
  <tile name="floor" startx="8" starty="17"/>
  <tile name="floor" startx="8" starty="18"/>
  <tile name="floor" startx="8" starty="19"/>
  <tile name="floor" startx="9" starty="17"/>
  <tile name="floor" startx="9" starty="18"/>
  <tile name="floor" startx="9" starty="19"/>
  <tile name="floor" startx="10" starty="18"/>
  <tile name="floor" startx="10" starty="19"/>
  <tile name="floor" startx="11" starty="18"/>
  <tile name="floor" startx="11" starty="19"/>
  <!-- water tiles -->
  <tile name="water_ul" startx="0" starty="8" />
  <tile name="water_u" startx="1" starty="8" />
  <tile name="water_ur" startx="2" starty="8" />
  <tile name="water_l" startx="0" starty="9" />
  <tile name="water" startx="8" starty="3" />
  <tile name="water_r" startx="2" starty="9" />
  <tile name="water_dl" startx="0" starty="10" />
  <tile name="water_d" startx="1" starty="10" />
  <tile name="water_dr" startx="2" starty="10" />
  <tile name="water_l_ur" startx="7" starty="9"/>
  <tile name="water_l_dr" startx="7" starty="8"/>
  <tile name="water_r_ul" startx="11" starty="9"/>
  <tile name="water_r_dl" startx="11" starty="8"/>
  <tile name="water_l_ur_dr" startx="8" starty="8"/>
  <tile name="water_r_ul_dl" startx="10" starty="8"/>
  <tile name="water_u_dl_dr" startx="10" starty="10"/>
  <tile name="water_d_ul_ur" startx="9" starty="8"/>
  <tile name="water_corner_ul_ur" startx="0" starty="15"  />
  <tile name="water_corner_dl_dr" startx="1" starty="15"  />
  <tile name="water_corner_ul_dl" startx="2" starty="15"  />
  <tile name="water_corner_ur_dr" startx="3" starty="15"  />
  <tile name="water_cap_corner_dr" startx="5" starty="8"  />
  <tile name="water_cap_corner_dl" startx="6" starty="8"  />
  <tile name="water_cap_corner_ur" startx="5" starty="9"  />
  <tile name="water_cap_corner_ul" startx="6" starty="9"  />
  <tile name="water_corner_dr" startx="3" starty="8"  />
  <tile name="water_corner_dl" startx="4" starty="8"  />
  <tile name="water_corner_ur" startx="3" starty="9"  />
  <tile name="water_corner_ul" startx="4" starty="9"  />
  <tile name="water_vert_cap_t" startx="7" starty="10"  />
  <tile name="water_vert" startx="4" starty="10"  />
  <tile name="water_vert_cap_b" startx="8" starty="10"  />
  <tile name="water_horiz_cap_l" startx="6" starty="10" />
  <tile name="water_horiz" startx="3" starty="10"  />
  <tile name="water_horiz_cap_r" startx="5" starty="10"  />
  
  <!-- Row 1 of wall variations -->
  <tile name="wallDecor" startx="0" starty="11" endy="12"/>
  <tile name="wallDecor" startx="1" starty="11" endy="12"/>
  <tile name="wallDecor" startx="2" starty="11" endy="12"/>
  <tile name="wallDecor" startx="3" starty="11" endy="12"/>
  <tile name="wallDecor" startx="4" starty="11" endy="12"/>
  <tile name="wallDecor" startx="5" starty="11" endy="12"/>
  <tile name="wallDecor" startx="6" starty="11" endy="12"/>
  <tile name="wallDecor" startx="7" starty="11" endy="12"/>
  <tile name="wallDecor" startx="8" starty="11" endy="12"/>
  <tile name="wallDecor" startx="9" starty="11" endy="12"/>
  <tile name="wallDecor" startx="10" starty="11" endy="12"/>
  <tile name="wallDecor" startx="11" starty="11" endy="12"/>
  <!-- Row 2 of wall variations -->
  <tile name="wallDecor" startx="0" starty="13" endy="14"/>
  <tile name="wallDecor" startx="1" starty="13" endy="14"/>
  <tile name="wallDecor" startx="2" starty="13" endy="14"/>
  <tile name="wallDecor" startx="3" starty="13" endy="14"/>
  <tile name="wallDecor" startx="4" starty="13" endy="14"/>
  <tile name="wallDecor" startx="5" starty="13" endy="14"/>
  <tile name="wallDecor" startx="6" starty="13" endy="14"/>
  <tile name="wallDecor" startx="7" starty="13" endy="14"/>
  <tile name="wallDecor" startx="8" starty="13" endy="14"/>
  <tile name="wallDecor" startx="9" starty="13" endy="14"/>
  <tile name="wallDecor" startx="10" starty="13" endy="14"/>
  <tile name="wallDecor" startx="11" starty="13" endy="14"/>

    <breakable name="Vase" vis="0" sprite="sprites/breakable/vase1.spr" sfx="vasebreak"/>
    <breakable name="Barrel" vis="1" sprite="sprites/breakable/barrel1.spr"/>
    <breakable name="Crate" vis="1" sprite="sprites/breakable/crate1.spr"/>

  <blocker name="unlit candelabra" png="dungeon/candelabra_unlit.png" passable="0" animate="0" description="These candles need a light." />
  <blocker name="empty candelabra" png="dungeon/candelabra_empty.png" passable="0" animate="0" />

  <blocker name="some bones" sprite="dungeon/bones0.png" passable="1"/>
  <blocker name="more bones" sprite="dungeon/bones1.png" passable="1"/>
  <blocker name="even more bones" sprite="dungeon/bones2.png" passable="1"/>

  </branch>


  <branch name="The Halls of Wood" id="4" length="10" generator="1" corners="1">
    <tileset name="tilesets/wood.png"/>
    <leveldata min="4" max="4" genLakes="0" banner="dngidents/mysticmines.png"/>
    <music name="tunes/SUBTER.IT"/>
	 <seed name="The Donut of Study" />

    <!-- walls...  -->

    <!-- these need to be in all tilesets. This is a hack. Deal with it! -->

    <tile name="fluid_ice" startx="0" starty="0" numframes="4" skip="0" framerate="280"/>
    <tile name="fluid_lava" startx="0" starty="1" numframes="6" skip="0" framerate="280"/>
    <tile name="fluid_water" startx="0" starty="2" numframes="3" skip="0" framerate="250"/>
    <tile name="fluid_goo" startx="0" starty="3" numframes="3" skip="0" framerate="300"/>

    <tile name="stairsup" startx="10" starty="15" endy="17" />
    <tile name="stairsdown" startx="11" starty="15" endy="17" />

    <!-- walls...  -->
	 
  <tile name="top_ul" startx="0" starty="0"/>
  <tile name="top_u" startx="1" starty="0"/>
  <tile name="top_ur" startx="2" starty="0"/>
  <tile name="top_l" startx="0" starty="1"/>
  <tile name="top_c" startx="1" starty="1"/>
  <tile name="top_r" startx="2" starty="1"/>
  <tile name="top_dl" startx="0" starty="2"/>
  <tile name="top_d" startx="1" starty="2"/>
  <tile name="top_dr" startx="2" starty="2"/>
  <tile name="top_ud" startx="3" starty="2"/>
  <tile name="top_lr" startx="4" starty="2"/>
  
  <tile name="top_cup_ldr" startx="8" starty="2"/>
  <tile name="top_cup_lur" startx="7" starty="2"/>
  <tile name="top_cup_dlu" startx="6" starty="2"/>
  <tile name="top_cup_dru" startx="5" starty="2"/>

  <tile name="top_adj_ul" startx="5" starty="0"/>
  <tile name="top_adj_ur" startx="6" starty="0"/>
  <tile name="top_adj_dl" startx="5" starty="1"/>
  <tile name="top_adj_dr" startx="6" starty="1"/>
  
  <tile name="top_dia_dl_dr" startx="9" starty="4"/>
  <tile name="top_dia_ur_dr" startx="10" starty="3"/>
  <tile name="top_dia_ul_dl" startx="10" starty="4"/>
  <tile name="top_dia_ul_ur" startx="9" starty="3"/>
  <tile name="top_dia_dl" startx="4" starty="0"/>
  <tile name="top_dia_dr" startx="3" starty="0"/>
  <tile name="top_dia_ul" startx="4" starty="1"/>
  <tile name="top_dia_ur" startx="3" starty="1"/>
  <tile name="top_allfour" startx="11" starty="3"/>

  <!-- these are wall tiles with a diagonal square filler -->
  <tile name="top_r_add_u" startx="11" starty="1"/>
  <tile name="top_r_add_d" startx="11" starty="0"/>
  <tile name="top_r_add_ud" startx="10" starty="0"/>
  <tile name="top_l_add_u" startx="7" starty="1"/>
  <tile name="top_l_add_d" startx="7" starty="0"/>
  <tile name="top_l_add_ud" startx="8" starty="0"/>
  <tile name="top_u_add_r" startx="11" starty="2"/>
  <tile name="top_u_add_l" startx="10" starty="1"/>
  <tile name="top_u_add_lr" startx="10" starty="2"/>
  <tile name="top_d_add_r" startx="9" starty="2"/>
  <tile name="top_d_add_l" startx="9" starty="1"/>
  <tile name="top_d_add_lr" startx="9" starty="0"/>
  <tile name="wall" startx="1" starty="3" endy="4"/>
  <tile name="wall_l" startx="0" starty="3" endy="4"/>
  <tile name="wall_r" startx="2" starty="3" endy="4"/>
  <tile name="wall_lr" startx="3" starty="3" endy="4"/>

<!-- basic floors -->
  <tile name="floor" startx="0" starty="5"/>
  <tile name="floor" startx="0" starty="6"/>
  <tile name="floor" startx="0" starty="7"/>
  <tile name="floor" startx="1" starty="5"/>
  <tile name="floor" startx="1" starty="6"/>
  <tile name="floor" startx="1" starty="7"/>
  <tile name="floor" startx="2" starty="5"/>
  <tile name="floor" startx="2" starty="6"/>
  <tile name="floor" startx="2" starty="7"/>
  <tile name="floor" startx="3" starty="5"/>
  <tile name="floor" startx="3" starty="6"/>
  <tile name="floor" startx="3" starty="7"/>
  <tile name="floor" startx="4" starty="5"/>
  <tile name="floor" startx="4" starty="6"/>
  <tile name="floor" startx="4" starty="7"/>
  <tile name="floor" startx="5" starty="5"/>
  <tile name="floor" startx="5" starty="6"/>
  <tile name="floor" startx="5" starty="7"/>
  <tile name="floor" startx="6" starty="5"/>
  <tile name="floor" startx="6" starty="6"/>
  <tile name="floor" startx="6" starty="7"/>
  <tile name="floor" startx="7" starty="5"/>
  <tile name="floor" startx="7" starty="6"/>
  <tile name="floor" startx="7" starty="7"/>
  <tile name="floor" startx="8" starty="5"/>
  <tile name="floor" startx="8" starty="6"/>
  <tile name="floor" startx="8" starty="7"/>
  <tile name="floor" startx="9" starty="5"/>
  <tile name="floor" startx="9" starty="6"/>
  <tile name="floor" startx="9" starty="7"/>
  <tile name="floor" startx="10" starty="5"/>
  <tile name="floor" startx="10" starty="6"/>
  <tile name="floor" startx="10" starty="7"/>
  <tile name="floor" startx="11" starty="5"/>
  <tile name="floor" startx="11" starty="6"/>
  <tile name="floor" startx="11" starty="7"/>
  <!-- Lower section of tiles -->
  <tile name="floor" startx="0" starty="17"/>
  <tile name="floor" startx="0" starty="18"/>
  <tile name="floor" startx="0" starty="19"/>
  <tile name="floor" startx="1" starty="17"/>
  <tile name="floor" startx="1" starty="18"/>
  <tile name="floor" startx="1" starty="19"/>
  <tile name="floor" startx="2" starty="17"/>
  <tile name="floor" startx="2" starty="18"/>
  <tile name="floor" startx="2" starty="19"/>
  <tile name="floor" startx="3" starty="17"/>
  <tile name="floor" startx="3" starty="18"/>
  <tile name="floor" startx="3" starty="19"/>
  <tile name="floor" startx="4" starty="17"/>
  <tile name="floor" startx="4" starty="18"/>
  <tile name="floor" startx="4" starty="19"/>
  <tile name="floor" startx="5" starty="17"/>
  <tile name="floor" startx="5" starty="18"/>
  <tile name="floor" startx="5" starty="19"/>
  <tile name="floor" startx="6" starty="17"/>
  <tile name="floor" startx="6" starty="18"/>
  <tile name="floor" startx="6" starty="19"/>
  <tile name="floor" startx="7" starty="17"/>
  <tile name="floor" startx="7" starty="18"/>
  <tile name="floor" startx="7" starty="19"/>
  <tile name="floor" startx="8" starty="17"/>
  <tile name="floor" startx="8" starty="18"/>
  <tile name="floor" startx="8" starty="19"/>
  <tile name="floor" startx="9" starty="17"/>
  <tile name="floor" startx="9" starty="18"/>
  <tile name="floor" startx="9" starty="19"/>
  <tile name="floor" startx="10" starty="18"/>
  <tile name="floor" startx="10" starty="19"/>
  <tile name="floor" startx="11" starty="18"/>
  <tile name="floor" startx="11" starty="19"/>
  <!-- water tiles -->
  <tile name="water_ul" startx="0" starty="8" />
  <tile name="water_u" startx="1" starty="8" />
  <tile name="water_ur" startx="2" starty="8" />
  <tile name="water_l" startx="0" starty="9" />
  <tile name="water" startx="8" starty="3" />
  <tile name="water_r" startx="2" starty="9" />
  <tile name="water_dl" startx="0" starty="10" />
  <tile name="water_d" startx="1" starty="10" />
  <tile name="water_dr" startx="2" starty="10" />
  <tile name="water_l_ur" startx="7" starty="9"/>
  <tile name="water_l_dr" startx="7" starty="8"/>
  <tile name="water_r_ul" startx="11" starty="9"/>
  <tile name="water_r_dl" startx="11" starty="8"/>
  <tile name="water_l_ur_dr" startx="8" starty="8"/>
  <tile name="water_r_ul_dl" startx="10" starty="8"/>
  <tile name="water_u_dl_dr" startx="10" starty="10"/>
  <tile name="water_d_ul_ur" startx="9" starty="8"/>
  <tile name="water_corner_ul_ur" startx="0" starty="15"  />
  <tile name="water_corner_dl_dr" startx="1" starty="15"  />
  <tile name="water_corner_ul_dl" startx="2" starty="15"  />
  <tile name="water_corner_ur_dr" startx="3" starty="15"  />
  <tile name="water_cap_corner_dr" startx="5" starty="8"  />
  <tile name="water_cap_corner_dl" startx="6" starty="8"  />
  <tile name="water_cap_corner_ur" startx="5" starty="9"  />
  <tile name="water_cap_corner_ul" startx="6" starty="9"  />
  <tile name="water_corner_dr" startx="3" starty="8"  />
  <tile name="water_corner_dl" startx="4" starty="8"  />
  <tile name="water_corner_ur" startx="3" starty="9"  />
  <tile name="water_corner_ul" startx="4" starty="9"  />
  <tile name="water_vert_cap_t" startx="7" starty="10"  />
  <tile name="water_vert" startx="4" starty="10"  />
  <tile name="water_vert_cap_b" startx="8" starty="10"  />
  <tile name="water_horiz_cap_l" startx="6" starty="10" />
  <tile name="water_horiz" startx="3" starty="10"  />
  <tile name="water_horiz_cap_r" startx="5" starty="10"  />
  
  <!-- Row 1 of wall variations -->
  <tile name="wallDecor" startx="0" starty="11" endy="12"/>
  <tile name="wallDecor" startx="1" starty="11" endy="12"/>
  <tile name="wallDecor" startx="2" starty="11" endy="12"/>
  <tile name="wallDecor" startx="3" starty="11" endy="12"/>
  <tile name="wallDecor" startx="4" starty="11" endy="12"/>
  <tile name="wallDecor" startx="5" starty="11" endy="12"/>
  <tile name="wallDecor" startx="6" starty="11" endy="12"/>
  <tile name="wallDecor" startx="7" starty="11" endy="12"/>
  <tile name="wallDecor" startx="8" starty="11" endy="12"/>
  <tile name="wallDecor" startx="9" starty="11" endy="12"/>
  <tile name="wallDecor" startx="10" starty="11" endy="12"/>
  <tile name="wallDecor" startx="11" starty="11" endy="12"/>
  <!-- Row 2 of wall variations -->
  <tile name="wallDecor" startx="0" starty="13" endy="14"/>
  <tile name="wallDecor" startx="1" starty="13" endy="14"/>
  <tile name="wallDecor" startx="2" starty="13" endy="14"/>
  <tile name="wallDecor" startx="3" starty="13" endy="14"/>
  <tile name="wallDecor" startx="4" starty="13" endy="14"/>
  <tile name="wallDecor" startx="5" starty="13" endy="14"/>
  <tile name="wallDecor" startx="6" starty="13" endy="14"/>
  <tile name="wallDecor" startx="7" starty="13" endy="14"/>
  <tile name="wallDecor" startx="8" starty="13" endy="14"/>
  <tile name="wallDecor" startx="9" starty="13" endy="14"/>
  <tile name="wallDecor" startx="10" starty="13" endy="14"/>
  <tile name="wallDecor" startx="11" starty="13" endy="14"/>

  <breakable name="Barrel" vis="1" sprite="sprites/breakable/barrel1.spr"/>
  <breakable name="Crate" vis="1" sprite="sprites/breakable/crate1.spr"/>
	 
  <blocker name="lit candelabra" pngSprite="dungeon/candelabra/candelabra" pngFirst="0" pngNum="4" pngRate="100" passable="0" animate="1" />
  <blocker name="unlit candelabra" png="dungeon/candelabra_unlit.png" passable="0" animate="0" description="These candles need a light." />
  <blocker name="empty candelabra" png="dungeon/candelabra_empty.png" passable="0" animate="0" />
  <blocker name="wood table" png="dungeon/table_wood.png" passable="0" animate="0" />

  <blocker name="some bones" sprite="dungeon/bones0.png" passable="1"/>
  <blocker name="more bones" sprite="dungeon/bones1.png" passable="1"/>
  <blocker name="even more bones" sprite="dungeon/bones2.png" passable="1"/>

  </branch>

  <branch name="The Fungal Regions" id="5" length="20" generator="1" corners="1">

    <tileset name="tilesets/fungus.png"/>
    <leveldata min="5" max="5" genLakes="1" genShops="1" genZoo="1"/>
    <music name="tunes/SPELUNK.IT"/>

    <!-- these need to be in all tilesets. This is a hack. Deal with it! -->

    <tile name="fluid_ice" startx="0" starty="0" numframes="4" skip="0" framerate="280"/>
    <tile name="fluid_lava" startx="0" starty="1" numframes="6" skip="0" framerate="280"/>
    <tile name="fluid_water" startx="0" starty="2" numframes="3" skip="0" framerate="250"/>
    <tile name="fluid_goo" startx="0" starty="3" numframes="3" skip="0" framerate="300"/>

    <tile name="stairsup" startx="10" starty="15" endy="17" />
    <tile name="stairsdown" startx="11" starty="15" endy="17" />

    <!-- walls...  -->
    <tile name="top_ul" startx="0" starty="0"/>
    <tile name="top_u" startx="1" starty="0"/>
    <tile name="top_ur" startx="2" starty="0"/>
    <tile name="top_l" startx="0" starty="1"/>
    <tile name="top_c" startx="1" starty="1"/>
    <tile name="top_r" startx="2" starty="1"/>
    <tile name="top_dl" startx="0" starty="2"/>
    <tile name="top_d" startx="1" starty="2"/>
    <tile name="top_dr" startx="2" starty="2"/>
    <tile name="top_ud" startx="3" starty="2"/>
    <tile name="top_lr" startx="4" starty="2"/>
    
    <tile name="top_cup_ldr" startx="8" starty="2"/>
    <tile name="top_cup_lur" startx="7" starty="2"/>
    <tile name="top_cup_dlu" startx="6" starty="2"/>
    <tile name="top_cup_dru" startx="5" starty="2"/>
    
    <!-- these are:
    
     ####
     #
     #
     #  #
     
     tiles
    -->
    
    <tile name="top_adj_ul" startx="5" starty="0"/>
    <tile name="top_adj_ur" startx="6" starty="0"/>
    <tile name="top_adj_dl" startx="5" starty="1"/>
    <tile name="top_adj_dr" startx="6" starty="1"/>
    
    <!-- these are: 
               
         #
         
    tiles
    -->

    <tile name="top_dia_dl_dr" startx="9" starty="4"/>
    <tile name="top_dia_ur_dr" startx="10" starty="3"/>
    <tile name="top_dia_ul_dl" startx="10" starty="4"/>
    <tile name="top_dia_ul_ur" startx="9" starty="3"/>

    <tile name="top_dia_dl" startx="4" starty="0"/>
    <tile name="top_dia_dr" startx="3" starty="0"/>
    <tile name="top_dia_ul" startx="4" starty="1"/>
    <tile name="top_dia_ur" startx="3" starty="1"/>

    <tile name="top_allfour" startx="11" starty="3"/>

    <!-- these are wall tiles with a diagonal square filler -->

    <tile name="top_r_add_u" startx="11" starty="1"/>
    <tile name="top_r_add_d" startx="11" starty="0"/>
    <tile name="top_r_add_ud" startx="10" starty="0"/>

    <tile name="top_l_add_u" startx="7" starty="1"/>
    <tile name="top_l_add_d" startx="7" starty="0"/>
    <tile name="top_l_add_ud" startx="8" starty="0"/>

    <tile name="top_u_add_r" startx="11" starty="2"/>
    <tile name="top_u_add_l" startx="10" starty="1"/>
    <tile name="top_u_add_lr" startx="10" starty="2"/>

    <tile name="top_d_add_r" startx="9" starty="2"/>
    <tile name="top_d_add_l" startx="9" starty="1"/>
    <tile name="top_d_add_lr" startx="9" starty="0"/>

    <tile name="wall" startx="1" starty="3" endy="4"/>
    <tile name="wall_l" startx="0" starty="3" endy="4"/>
    <tile name="wall_r" startx="2" starty="3" endy="4"/>
    <tile name="wall_lr" startx="3" starty="3" endy="4"/>

<!-- basic floors -->
    <tile name="floor" startx="0" starty="5"/>
    <tile name="floor" startx="0" starty="6"/>
    <tile name="floor" startx="0" starty="7"/>
    <tile name="floor" startx="1" starty="5"/>
    <tile name="floor" startx="1" starty="6"/>
    <tile name="floor" startx="1" starty="7"/>
    <tile name="floor" startx="2" starty="5"/>
    <tile name="floor" startx="2" starty="6"/>
    <tile name="floor" startx="2" starty="7"/>
    <tile name="floor" startx="3" starty="5"/>
    <tile name="floor" startx="3" starty="6"/>
    <tile name="floor" startx="3" starty="7"/>
    <tile name="floor" startx="4" starty="5"/>
    <tile name="floor" startx="4" starty="6"/>
    <tile name="floor" startx="4" starty="7"/>
    <tile name="floor" startx="5" starty="5"/>
    <tile name="floor" startx="5" starty="6"/>
    <tile name="floor" startx="5" starty="7"/>
    <tile name="floor" startx="6" starty="5"/>
    <tile name="floor" startx="6" starty="6"/>
    <tile name="floor" startx="6" starty="7"/>
    <tile name="floor" startx="7" starty="5"/>
    <tile name="floor" startx="7" starty="6"/>
    <tile name="floor" startx="7" starty="7"/>
    <tile name="floor" startx="8" starty="5"/>
    <tile name="floor" startx="8" starty="6"/>
    <tile name="floor" startx="8" starty="7"/>
    <tile name="floor" startx="9" starty="5"/>
    <tile name="floor" startx="9" starty="6"/>
    <tile name="floor" startx="9" starty="7"/>
    <tile name="floor" startx="10" starty="5"/>
    <tile name="floor" startx="10" starty="6"/>
    <tile name="floor" startx="10" starty="7"/>
    <tile name="floor" startx="11" starty="5"/>
    <tile name="floor" startx="11" starty="6"/>
    <tile name="floor" startx="11" starty="7"/>
	
  <tile name="water_ul" startx="0" starty="8" />
  <tile name="water_u" startx="1" starty="8" />
  <tile name="water_ur" startx="2" starty="8" />
  <tile name="water_l" startx="0" starty="9" />
  
  <tile name="water" startx="8" starty="3" />                   <!-- this is a temporary parameter -->
  <tile name="water_r" startx="2" starty="9" />
  <tile name="water_dl" startx="0" starty="10" />
  <tile name="water_d" startx="1" starty="10" />
  <tile name="water_dr" startx="2" starty="10" />

  <tile name="water_l_ur" startx="7" starty="9"/>
  <tile name="water_l_dr" startx="7" starty="8"/>
  <tile name="water_r_ul" startx="11" starty="9"/>
  <tile name="water_r_dl" startx="11" starty="8"/>
  <tile name="water_l_ur_dr" startx="8" starty="8"/>
  <tile name="water_r_ul_dl" startx="10" starty="8"/>
  <tile name="water_u_dl_dr" startx="10" starty="10"/> <!-- I think? -->
  <tile name="water_d_ul_ur" startx="9" starty="8"/>

  <tile name="water_corner_ul_ur" startx="0" starty="15"  />
  <tile name="water_corner_dl_dr" startx="1" starty="15"  />

  <tile name="water_corner_ul_dl" startx="2" starty="15"  />
  <tile name="water_corner_ur_dr" startx="3" starty="15"  />

  <tile name="water_cap_corner_dr" startx="5" starty="8"  />
  <tile name="water_cap_corner_dl" startx="6" starty="8"  />
  <tile name="water_cap_corner_ur" startx="5" starty="9"  />
  <tile name="water_cap_corner_ul" startx="6" starty="9"  />

  <tile name="water_corner_dr" startx="3" starty="8"  />
  <tile name="water_corner_dl" startx="4" starty="8"  />
  <tile name="water_corner_ur" startx="3" starty="9"  />
  <tile name="water_corner_ul" startx="4" starty="9"  />

  <tile name="water_vert_cap_t" startx="7" starty="10"  />
  <tile name="water_vert" startx="4" starty="10"  />
  <tile name="water_vert_cap_b" startx="8" starty="10"  />

  <tile name="water_horiz_cap_l" startx="6" starty="10" />
  <tile name="water_horiz" startx="3" starty="10"  />
  <tile name="water_horiz_cap_r" startx="5" starty="10"  />

    <!-- wall decors: torch, lit-->
    <!-- Oh, the hell with this animated thing. Put it into a blocker.
    <tile name="wallDecor" startx="0" starty="13" endy="14" numframes="2" skip="1" framerate="200"/>
    -->
		<!-- setting numframes to 2 is a stupid hack. frames = x-1. -->

    <!-- non-animated wall decors: 2 cracks, vines, post, hole -->

    <tile name="wallDecor" startx="0" starty="11" endy="12"/>
    <tile name="wallDecor" startx="1" starty="11" endy="12"/>
    <tile name="wallDecor" startx="2" starty="11" endy="12"/>
    <tile name="wallDecor" startx="3" starty="11" endy="12"/>
    <tile name="wallDecor" startx="4" starty="11" endy="12"/>
    <tile name="wallDecor" startx="5" starty="11" endy="12"/>
    <tile name="wallDecor" startx="6" starty="11" endy="12"/>
    <tile name="wallDecor" startx="7" starty="11" endy="12"/>
    <tile name="wallDecor" startx="8" starty="11" endy="12"/>
    <tile name="wallDecor" startx="9" starty="11" endy="12"/>
    <tile name="wallDecor" startx="10" starty="11" endy="12"/>
    <tile name="wallDecor" startx="11" starty="11" endy="12"/>

    <breakable name="Vase" vis="0" sprite="sprites/breakable/vase1.spr" sfx="vasebreak"/>
    <breakable name="Barrel" vis="1" sprite="sprites/breakable/barrel1.spr"/>
    <breakable name="Crate" vis="1" sprite="sprites/breakable/crate1.spr"/>

  <blocker name="lit candelabra" pngSprite="dungeon/candelabra/candelabra" pngFirst="0" pngNum="4" pngRate="100" passable="0" animate="1"/>
  <blocker name="Fungal Lamp" pngSprite="dungeon/fungal_lamp/fungal_lamp" pngFirst="0" pngNum="4" pngRate="200" passable="0" animate="1"/>

  <blocker name="some bones" sprite="dungeon/bones0.png" passable="1"/>
  <blocker name="more bones" sprite="dungeon/bones1.png" passable="1"/>
  <blocker name="even more bones" sprite="dungeon/bones2.png" passable="1"/>

  </branch>



  <branch name="The Frozen Regions" id="6" generator="1" corners="1">
    <leveldata min="6" max="6" genLakes="0" banner="dngidents/mysticmines.png"/>

    <tileset name="tilesets/frozen.png"/>
    <!-- these need to be in all tilesets. This is a hack. Deal with it! -->

    <tile name="fluid_ice" startx="0" starty="0" numframes="4" skip="0" framerate="280"/>
    <tile name="fluid_lava" startx="0" starty="1" numframes="6" skip="0" framerate="280"/>
    <tile name="fluid_water" startx="0" starty="2" numframes="3" skip="0" framerate="250"/>
    <tile name="fluid_goo" startx="0" starty="3" numframes="3" skip="0" framerate="300"/>

    <tile name="stairsup" startx="10" starty="15" endy="17" />
    <tile name="stairsdown" startx="11" starty="15" endy="17" />

    <!-- walls...  -->
	 
  <tile name="top_ul" startx="0" starty="0"/>
  <tile name="top_u" startx="1" starty="0"/>
  <tile name="top_ur" startx="2" starty="0"/>
  <tile name="top_l" startx="0" starty="1"/>
  <tile name="top_c" startx="1" starty="1"/>
  <tile name="top_r" startx="2" starty="1"/>
  <tile name="top_dl" startx="0" starty="2"/>
  <tile name="top_d" startx="1" starty="2"/>
  <tile name="top_dr" startx="2" starty="2"/>
  <tile name="top_ud" startx="3" starty="2"/>
  <tile name="top_lr" startx="4" starty="2"/>
  
  <tile name="top_cup_ldr" startx="8" starty="2"/>
  <tile name="top_cup_lur" startx="7" starty="2"/>
  <tile name="top_cup_dlu" startx="6" starty="2"/>
  <tile name="top_cup_dru" startx="5" starty="2"/>
  
    <!-- these are:
    
     ####
     #
     #
     #  #
     
     tiles
    -->
    
  <tile name="top_adj_ul" startx="5" starty="0"/>
  <tile name="top_adj_ur" startx="6" starty="0"/>
  <tile name="top_adj_dl" startx="5" starty="1"/>
  <tile name="top_adj_dr" startx="6" starty="1"/>
  
  <!-- these are: 
				 
		 #
		 
  tiles
  -->
  <tile name="top_dia_dl_dr" startx="9" starty="4"/>
  <tile name="top_dia_ur_dr" startx="10" starty="3"/>
  <tile name="top_dia_ul_dl" startx="10" starty="4"/>
  <tile name="top_dia_ul_ur" startx="9" starty="3"/>
  <tile name="top_dia_dl" startx="4" starty="0"/>
  <tile name="top_dia_dr" startx="3" starty="0"/>
  <tile name="top_dia_ul" startx="4" starty="1"/>
  <tile name="top_dia_ur" startx="3" starty="1"/>
  <tile name="top_allfour" startx="11" starty="3"/>

  <!-- these are wall tiles with a diagonal square filler -->
  <tile name="top_r_add_u" startx="11" starty="1"/>
  <tile name="top_r_add_d" startx="11" starty="0"/>
  <tile name="top_r_add_ud" startx="10" starty="0"/>
  <tile name="top_l_add_u" startx="7" starty="1"/>
  <tile name="top_l_add_d" startx="7" starty="0"/>
  <tile name="top_l_add_ud" startx="8" starty="0"/>
  <tile name="top_u_add_r" startx="11" starty="2"/>
  <tile name="top_u_add_l" startx="10" starty="1"/>
  <tile name="top_u_add_lr" startx="10" starty="2"/>
  <tile name="top_d_add_r" startx="9" starty="2"/>
  <tile name="top_d_add_l" startx="9" starty="1"/>
  <tile name="top_d_add_lr" startx="9" starty="0"/>
  <tile name="wall" startx="1" starty="3" endy="4"/>
  <tile name="wall_l" startx="0" starty="3" endy="4"/>
  <tile name="wall_r" startx="2" starty="3" endy="4"/>
  <tile name="wall_lr" startx="3" starty="3" endy="4"/>

<!-- basic floors -->
  <tile name="floor" startx="0" starty="5"/>
  <tile name="floor" startx="0" starty="6"/>
  <tile name="floor" startx="0" starty="7"/>
  <tile name="floor" startx="1" starty="5"/>
  <tile name="floor" startx="1" starty="6"/>
  <tile name="floor" startx="1" starty="7"/>
  <tile name="floor" startx="2" starty="5"/>
  <tile name="floor" startx="2" starty="6"/>
  <tile name="floor" startx="2" starty="7"/>
  <tile name="floor" startx="3" starty="5"/>
  <tile name="floor" startx="3" starty="6"/>
  <tile name="floor" startx="3" starty="7"/>
  <tile name="floor" startx="4" starty="5"/>
  <tile name="floor" startx="4" starty="6"/>
  <tile name="floor" startx="4" starty="7"/>
  <tile name="floor" startx="5" starty="5"/>
  <tile name="floor" startx="5" starty="6"/>
  <tile name="floor" startx="5" starty="7"/>
  <tile name="floor" startx="6" starty="5"/>
  <tile name="floor" startx="6" starty="6"/>
  <tile name="floor" startx="6" starty="7"/>
  <tile name="floor" startx="7" starty="5"/>
  <tile name="floor" startx="7" starty="6"/>
  <tile name="floor" startx="7" starty="7"/>
  <tile name="floor" startx="8" starty="5"/>
  <tile name="floor" startx="8" starty="6"/>
  <tile name="floor" startx="8" starty="7"/>
  <tile name="floor" startx="9" starty="5"/>
  <tile name="floor" startx="9" starty="6"/>
  <tile name="floor" startx="9" starty="7"/>
  <tile name="floor" startx="10" starty="5"/>
  <tile name="floor" startx="10" starty="6"/>
  <tile name="floor" startx="10" starty="7"/>
  <tile name="floor" startx="11" starty="5"/>
  <tile name="floor" startx="11" starty="6"/>
  <tile name="floor" startx="11" starty="7"/>
  <!-- Lower section of tiles -->
  <tile name="floor" startx="0" starty="17"/>
  <tile name="floor" startx="0" starty="18"/>
  <tile name="floor" startx="0" starty="19"/>
  <tile name="floor" startx="1" starty="17"/>
  <tile name="floor" startx="1" starty="18"/>
  <tile name="floor" startx="1" starty="19"/>
  <tile name="floor" startx="2" starty="17"/>
  <tile name="floor" startx="2" starty="18"/>
  <tile name="floor" startx="2" starty="19"/>
  <tile name="floor" startx="3" starty="17"/>
  <tile name="floor" startx="3" starty="18"/>
  <tile name="floor" startx="3" starty="19"/>
  <tile name="floor" startx="4" starty="17"/>
  <tile name="floor" startx="4" starty="18"/>
  <tile name="floor" startx="4" starty="19"/>
  <tile name="floor" startx="5" starty="17"/>
  <tile name="floor" startx="5" starty="18"/>
  <tile name="floor" startx="5" starty="19"/>
  <tile name="floor" startx="6" starty="17"/>
  <tile name="floor" startx="6" starty="18"/>
  <tile name="floor" startx="6" starty="19"/>
  <tile name="floor" startx="7" starty="17"/>
  <tile name="floor" startx="7" starty="18"/>
  <tile name="floor" startx="7" starty="19"/>
  <tile name="floor" startx="8" starty="17"/>
  <tile name="floor" startx="8" starty="18"/>
  <tile name="floor" startx="8" starty="19"/>
  <tile name="floor" startx="9" starty="17"/>
  <tile name="floor" startx="9" starty="18"/>
  <tile name="floor" startx="9" starty="19"/>
  <tile name="floor" startx="10" starty="18"/>
  <tile name="floor" startx="10" starty="19"/>
  <tile name="floor" startx="11" starty="18"/>
  <tile name="floor" startx="11" starty="19"/>
  <!-- water tiles -->
  <tile name="water_ul" startx="0" starty="8" />
  <tile name="water_u" startx="1" starty="8" />
  <tile name="water_ur" startx="2" starty="8" />
  <tile name="water_l" startx="0" starty="9" />
  <tile name="water" startx="8" starty="3" />
  <tile name="water_r" startx="2" starty="9" />
  <tile name="water_dl" startx="0" starty="10" />
  <tile name="water_d" startx="1" starty="10" />
  <tile name="water_dr" startx="2" starty="10" />
  <tile name="water_l_ur" startx="7" starty="9"/>
  <tile name="water_l_dr" startx="7" starty="8"/>
  <tile name="water_r_ul" startx="11" starty="9"/>
  <tile name="water_r_dl" startx="11" starty="8"/>
  <tile name="water_l_ur_dr" startx="8" starty="8"/>
  <tile name="water_r_ul_dl" startx="10" starty="8"/>
  <tile name="water_u_dl_dr" startx="10" starty="10"/>
  <tile name="water_d_ul_ur" startx="9" starty="8"/>
  <tile name="water_corner_ul_ur" startx="0" starty="15"  />
  <tile name="water_corner_dl_dr" startx="1" starty="15"  />
  <tile name="water_corner_ul_dl" startx="2" starty="15"  />
  <tile name="water_corner_ur_dr" startx="3" starty="15"  />
  <tile name="water_cap_corner_dr" startx="5" starty="8"  />
  <tile name="water_cap_corner_dl" startx="6" starty="8"  />
  <tile name="water_cap_corner_ur" startx="5" starty="9"  />
  <tile name="water_cap_corner_ul" startx="6" starty="9"  />
  <tile name="water_corner_dr" startx="3" starty="8"  />
  <tile name="water_corner_dl" startx="4" starty="8"  />
  <tile name="water_corner_ur" startx="3" starty="9"  />
  <tile name="water_corner_ul" startx="4" starty="9"  />
  <tile name="water_vert_cap_t" startx="7" starty="10"  />
  <tile name="water_vert" startx="4" starty="10"  />
  <tile name="water_vert_cap_b" startx="8" starty="10"  />
  <tile name="water_horiz_cap_l" startx="6" starty="10" />
  <tile name="water_horiz" startx="3" starty="10"  />
  <tile name="water_horiz_cap_r" startx="5" starty="10"  />
  
  <!-- Row 1 of wall variations -->
  <tile name="wallDecor" startx="0" starty="11" endy="12"/>
  <tile name="wallDecor" startx="1" starty="11" endy="12"/>
  <tile name="wallDecor" startx="2" starty="11" endy="12"/>
  <tile name="wallDecor" startx="3" starty="11" endy="12"/>
  <tile name="wallDecor" startx="4" starty="11" endy="12"/>
  <tile name="wallDecor" startx="5" starty="11" endy="12"/>
  <tile name="wallDecor" startx="6" starty="11" endy="12"/>
  <tile name="wallDecor" startx="7" starty="11" endy="12"/>
  <tile name="wallDecor" startx="8" starty="11" endy="12"/>
  <tile name="wallDecor" startx="9" starty="11" endy="12"/>
  <tile name="wallDecor" startx="10" starty="11" endy="12"/>
  <tile name="wallDecor" startx="11" starty="11" endy="12"/>
  <!-- Row 2 of wall variations -->
  <tile name="wallDecor" startx="0" starty="13" endy="14"/>
  <tile name="wallDecor" startx="1" starty="13" endy="14"/>
  <tile name="wallDecor" startx="2" starty="13" endy="14"/>
  <tile name="wallDecor" startx="3" starty="13" endy="14"/>
  <tile name="wallDecor" startx="4" starty="13" endy="14"/>
  <tile name="wallDecor" startx="5" starty="13" endy="14"/>
  <tile name="wallDecor" startx="6" starty="13" endy="14"/>
  <tile name="wallDecor" startx="7" starty="13" endy="14"/>
  <tile name="wallDecor" startx="8" starty="13" endy="14"/>
  <tile name="wallDecor" startx="9" starty="13" endy="14"/>
  <tile name="wallDecor" startx="10" starty="13" endy="14"/>
  <tile name="wallDecor" startx="11" starty="13" endy="14"/>

    <!-- <breakable name="Snowman" vis="1" sprite="sprites/breakable/snowman.spr" sfx="organic"/> -->
	<breakable name="Vase" vis="0" sprite="sprites/breakable/vase1.spr" sfx="vasebreak"/>
	
  <blocker name="frozen candelabra" sprite="dungeon/candelabra_frozen.png"/>

  <blocker name="some bones" sprite="dungeon/bones0.png" passable="1"/>
  <blocker name="more bones" sprite="dungeon/bones1.png" passable="1"/>
  <blocker name="even more bones" sprite="dungeon/bones2.png" passable="1"/>

  </branch>


  <branch name="The Mystic Mines" id="7" length="7" generator="1" corners="1">
    <tileset name="tilesets/mine.png"/>
    <leveldata min="7" max="7" genLakes="0" banner="dngidents/mysticmines.png"/>
    <music name="tunes/SUBTER.IT"/>

    <!-- these need to be in all tilesets. This is a hack. Deal with it! -->

    <tile name="fluid_ice" startx="0" starty="0" numframes="4" skip="0" framerate="280"/>
    <tile name="fluid_lava" startx="0" starty="1" numframes="6" skip="0" framerate="280"/>
    <tile name="fluid_water" startx="0" starty="2" numframes="3" skip="0" framerate="250"/>
    <tile name="fluid_goo" startx="0" starty="3" numframes="3" skip="0" framerate="300"/>
    <tile name="stairsup" startx="10" starty="15" endy="17" />
    <tile name="stairsdown" startx="11" starty="15" endy="17" />

    <!-- walls...  -->
	 
  <tile name="top_ul" startx="0" starty="0"/>
  <tile name="top_u" startx="1" starty="0"/>
  <tile name="top_ur" startx="2" starty="0"/>
  <tile name="top_l" startx="0" starty="1"/>
  <tile name="top_c" startx="1" starty="1"/>
  <tile name="top_r" startx="2" starty="1"/>
  <tile name="top_dl" startx="0" starty="2"/>
  <tile name="top_d" startx="1" starty="2"/>
  <tile name="top_dr" startx="2" starty="2"/>
  <tile name="top_ud" startx="3" starty="2"/>
  <tile name="top_lr" startx="4" starty="2"/>
  
  <tile name="top_cup_ldr" startx="8" starty="2"/>
  <tile name="top_cup_lur" startx="7" starty="2"/>
  <tile name="top_cup_dlu" startx="6" starty="2"/>
  <tile name="top_cup_dru" startx="5" starty="2"/>
  
    <!-- these are:
    
     ####
     #
     #
     #  #
     
     tiles
    -->
    
  <tile name="top_adj_ul" startx="5" starty="0"/>
  <tile name="top_adj_ur" startx="6" starty="0"/>
  <tile name="top_adj_dl" startx="5" starty="1"/>
  <tile name="top_adj_dr" startx="6" starty="1"/>
  
  <!-- these are: 
				 
		 #
		 
  tiles
  -->
  <tile name="top_dia_dl_dr" startx="9" starty="4"/>
  <tile name="top_dia_ur_dr" startx="10" starty="3"/>
  <tile name="top_dia_ul_dl" startx="10" starty="4"/>
  <tile name="top_dia_ul_ur" startx="9" starty="3"/>
  <tile name="top_dia_dl" startx="4" starty="0"/>
  <tile name="top_dia_dr" startx="3" starty="0"/>
  <tile name="top_dia_ul" startx="4" starty="1"/>
  <tile name="top_dia_ur" startx="3" starty="1"/>
  <tile name="top_allfour" startx="11" starty="3"/>

  <!-- these are wall tiles with a diagonal square filler -->
  <tile name="top_r_add_u" startx="11" starty="1"/>
  <tile name="top_r_add_d" startx="11" starty="0"/>
  <tile name="top_r_add_ud" startx="10" starty="0"/>
  <tile name="top_l_add_u" startx="7" starty="1"/>
  <tile name="top_l_add_d" startx="7" starty="0"/>
  <tile name="top_l_add_ud" startx="8" starty="0"/>
  <tile name="top_u_add_r" startx="11" starty="2"/>
  <tile name="top_u_add_l" startx="10" starty="1"/>
  <tile name="top_u_add_lr" startx="10" starty="2"/>
  <tile name="top_d_add_r" startx="9" starty="2"/>
  <tile name="top_d_add_l" startx="9" starty="1"/>
  <tile name="top_d_add_lr" startx="9" starty="0"/>
  <tile name="wall" startx="1" starty="3" endy="4"/>
  <tile name="wall_l" startx="0" starty="3" endy="4"/>
  <tile name="wall_r" startx="2" starty="3" endy="4"/>
  <tile name="wall_lr" startx="3" starty="3" endy="4"/>

<!-- basic floors -->
  <tile name="floor" startx="0" starty="5"/>
  <tile name="floor" startx="0" starty="6"/>
  <tile name="floor" startx="0" starty="7"/>
  <tile name="floor" startx="1" starty="5"/>
  <tile name="floor" startx="1" starty="6"/>
  <tile name="floor" startx="1" starty="7"/>
  <tile name="floor" startx="2" starty="5"/>
  <tile name="floor" startx="2" starty="6"/>
  <tile name="floor" startx="2" starty="7"/>
  <tile name="floor" startx="3" starty="5"/>
  <tile name="floor" startx="3" starty="6"/>
  <tile name="floor" startx="3" starty="7"/>
  <tile name="floor" startx="4" starty="5"/>
  <tile name="floor" startx="4" starty="6"/>
  <tile name="floor" startx="4" starty="7"/>
  <tile name="floor" startx="5" starty="5"/>
  <tile name="floor" startx="5" starty="6"/>
  <tile name="floor" startx="5" starty="7"/>
  <tile name="floor" startx="6" starty="5"/>
  <tile name="floor" startx="6" starty="6"/>
  <tile name="floor" startx="6" starty="7"/>
  <tile name="floor" startx="7" starty="5"/>
  <tile name="floor" startx="7" starty="6"/>
  <tile name="floor" startx="7" starty="7"/>
  <tile name="floor" startx="8" starty="5"/>
  <tile name="floor" startx="8" starty="6"/>
  <tile name="floor" startx="8" starty="7"/>
  <tile name="floor" startx="9" starty="5"/>
  <tile name="floor" startx="9" starty="6"/>
  <tile name="floor" startx="9" starty="7"/>
  <tile name="floor" startx="10" starty="5"/>
  <tile name="floor" startx="10" starty="6"/>
  <tile name="floor" startx="10" starty="7"/>
  <tile name="floor" startx="11" starty="5"/>
  <tile name="floor" startx="11" starty="6"/>
  <tile name="floor" startx="11" starty="7"/>
  <!-- Lower section of tiles -->
  <tile name="floor" startx="0" starty="17"/>
  <tile name="floor" startx="0" starty="18"/>
  <tile name="floor" startx="0" starty="19"/>
  <tile name="floor" startx="1" starty="17"/>
  <tile name="floor" startx="1" starty="18"/>
  <tile name="floor" startx="1" starty="19"/>
  <tile name="floor" startx="2" starty="17"/>
  <tile name="floor" startx="2" starty="18"/>
  <tile name="floor" startx="2" starty="19"/>
  <tile name="floor" startx="3" starty="17"/>
  <tile name="floor" startx="3" starty="18"/>
  <tile name="floor" startx="3" starty="19"/>
  <tile name="floor" startx="4" starty="17"/>
  <tile name="floor" startx="4" starty="18"/>
  <tile name="floor" startx="4" starty="19"/>
  <tile name="floor" startx="5" starty="17"/>
  <tile name="floor" startx="5" starty="18"/>
  <tile name="floor" startx="5" starty="19"/>
  <tile name="floor" startx="6" starty="17"/>
  <tile name="floor" startx="6" starty="18"/>
  <tile name="floor" startx="6" starty="19"/>
  <tile name="floor" startx="7" starty="17"/>
  <tile name="floor" startx="7" starty="18"/>
  <tile name="floor" startx="7" starty="19"/>
  <tile name="floor" startx="8" starty="17"/>
  <tile name="floor" startx="8" starty="18"/>
  <tile name="floor" startx="8" starty="19"/>
  <tile name="floor" startx="9" starty="17"/>
  <tile name="floor" startx="9" starty="18"/>
  <tile name="floor" startx="9" starty="19"/>
  <tile name="floor" startx="10" starty="18"/>
  <tile name="floor" startx="10" starty="19"/>
  <tile name="floor" startx="11" starty="18"/>
  <tile name="floor" startx="11" starty="19"/>
  <!-- water tiles -->
  <tile name="water_ul" startx="0" starty="8" />
  <tile name="water_u" startx="1" starty="8" />
  <tile name="water_ur" startx="2" starty="8" />
  <tile name="water_l" startx="0" starty="9" />
  <tile name="water" startx="8" starty="3" />
  <tile name="water_r" startx="2" starty="9" />
  <tile name="water_dl" startx="0" starty="10" />
  <tile name="water_d" startx="1" starty="10" />
  <tile name="water_dr" startx="2" starty="10" />
  <tile name="water_l_ur" startx="7" starty="9"/>
  <tile name="water_l_dr" startx="7" starty="8"/>
  <tile name="water_r_ul" startx="11" starty="9"/>
  <tile name="water_r_dl" startx="11" starty="8"/>
  <tile name="water_l_ur_dr" startx="8" starty="8"/>
  <tile name="water_r_ul_dl" startx="10" starty="8"/>
  <tile name="water_u_dl_dr" startx="10" starty="10"/>
  <tile name="water_d_ul_ur" startx="9" starty="8"/>
  <tile name="water_corner_ul_ur" startx="0" starty="15"  />
  <tile name="water_corner_dl_dr" startx="1" starty="15"  />
  <tile name="water_corner_ul_dl" startx="2" starty="15"  />
  <tile name="water_corner_ur_dr" startx="3" starty="15"  />
  <tile name="water_cap_corner_dr" startx="5" starty="8"  />
  <tile name="water_cap_corner_dl" startx="6" starty="8"  />
  <tile name="water_cap_corner_ur" startx="5" starty="9"  />
  <tile name="water_cap_corner_ul" startx="6" starty="9"  />
  <tile name="water_corner_dr" startx="3" starty="8"  />
  <tile name="water_corner_dl" startx="4" starty="8"  />
  <tile name="water_corner_ur" startx="3" starty="9"  />
  <tile name="water_corner_ul" startx="4" starty="9"  />
  <tile name="water_vert_cap_t" startx="7" starty="10"  />
  <tile name="water_vert" startx="4" starty="10"  />
  <tile name="water_vert_cap_b" startx="8" starty="10"  />
  <tile name="water_horiz_cap_l" startx="6" starty="10" />
  <tile name="water_horiz" startx="3" starty="10"  />
  <tile name="water_horiz_cap_r" startx="5" starty="10"  />
  
  <!-- Row 1 of wall variations -->
  <tile name="wallDecor" startx="0" starty="11" endy="12"/>
  <tile name="wallDecor" startx="1" starty="11" endy="12"/>
  <tile name="wallDecor" startx="2" starty="11" endy="12"/>
  <tile name="wallDecor" startx="3" starty="11" endy="12"/>
  <tile name="wallDecor" startx="4" starty="11" endy="12"/>
  <tile name="wallDecor" startx="5" starty="11" endy="12"/>
  <tile name="wallDecor" startx="6" starty="11" endy="12"/>
  <tile name="wallDecor" startx="7" starty="11" endy="12"/>
  <tile name="wallDecor" startx="8" starty="11" endy="12"/>
  <tile name="wallDecor" startx="9" starty="11" endy="12"/>
  <tile name="wallDecor" startx="10" starty="11" endy="12"/>
  <tile name="wallDecor" startx="11" starty="11" endy="12"/>
  <!-- Row 2 of wall variations -->
  <tile name="wallDecor" startx="0" starty="13" endy="14"/>
  <tile name="wallDecor" startx="1" starty="13" endy="14"/>
  <tile name="wallDecor" startx="2" starty="13" endy="14"/>
  <tile name="wallDecor" startx="3" starty="13" endy="14"/>
  <tile name="wallDecor" startx="4" starty="13" endy="14"/>
  <tile name="wallDecor" startx="5" starty="13" endy="14"/>
  <tile name="wallDecor" startx="6" starty="13" endy="14"/>
  <tile name="wallDecor" startx="7" starty="13" endy="14"/>
  <tile name="wallDecor" startx="8" starty="13" endy="14"/>
  <tile name="wallDecor" startx="9" starty="13" endy="14"/>
  <tile name="wallDecor" startx="10" starty="13" endy="14"/>
  <tile name="wallDecor" startx="11" starty="13" endy="14"/>


  <blocker name="some bones" sprite="dungeon/bones0.png" passable="1"/>
  <blocker name="more bones" sprite="dungeon/bones1.png" passable="1"/>
  <blocker name="even more bones" sprite="dungeon/bones2.png" passable="1"/>

    <breakable name="Vase" vis="0" sprite="sprites/breakable/vase1.spr" sfx="vasebreak"/>
    <breakable name="Barrel" vis="1" sprite="sprites/breakable/barrel1.spr"/>
    <breakable name="Crate" vis="1" sprite="sprites/breakable/crate1.spr"/>

  </branch>

  <branch name="The Lava Pits" id="8" length="7" generator="3" corners="1">
    <tileset name="tilesets/lava.png"/>
    <leveldata min="8" max="8" genLakes="1" banner="dngidents/mysticmines.png"/>
    <music name="tunes/SUBTER.IT"/>

    <!-- these need to be in all tilesets. This is a hack. Deal with it! -->
    <tile name="stairsup" startx="10" starty="15" endy="17" />
    <tile name="stairsdown" startx="11" starty="15" endy="17" />

    <tile name="fluid_ice" startx="0" starty="0" numframes="4" skip="0" framerate="280"/>
    <tile name="fluid_lava" startx="0" starty="1" numframes="6" skip="0" framerate="280"/>
    <tile name="fluid_water" startx="0" starty="2" numframes="3" skip="0" framerate="250"/>
    <tile name="fluid_goo" startx="0" starty="3" numframes="3" skip="0" framerate="300"/>

  <!-- walls...  -->
	 
  <tile name="top_ul" startx="0" starty="0"/>
  <tile name="top_u" startx="1" starty="0"/>
  <tile name="top_ur" startx="2" starty="0"/>
  <tile name="top_l" startx="0" starty="1"/>
  <tile name="top_c" startx="1" starty="1"/>
  <tile name="top_r" startx="2" starty="1"/>
  <tile name="top_dl" startx="0" starty="2"/>
  <tile name="top_d" startx="1" starty="2"/>
  <tile name="top_dr" startx="2" starty="2"/>
  <tile name="top_ud" startx="3" starty="2"/>
  <tile name="top_lr" startx="4" starty="2"/>
  
  <tile name="top_cup_ldr" startx="8" starty="2"/>
  <tile name="top_cup_lur" startx="7" starty="2"/>
  <tile name="top_cup_dlu" startx="6" starty="2"/>
  <tile name="top_cup_dru" startx="5" starty="2"/>
  
    <!-- these are:
    
     ####
     #
     #
     #  #
     
     tiles
    -->
    
  <tile name="top_adj_ul" startx="5" starty="0"/>
  <tile name="top_adj_ur" startx="6" starty="0"/>
  <tile name="top_adj_dl" startx="5" starty="1"/>
  <tile name="top_adj_dr" startx="6" starty="1"/>
  
  <!-- these are: 
				 
		 #
		 
  tiles
  -->
  <tile name="top_dia_dl_dr" startx="9" starty="4"/>
  <tile name="top_dia_ur_dr" startx="10" starty="3"/>
  <tile name="top_dia_ul_dl" startx="10" starty="4"/>
  <tile name="top_dia_ul_ur" startx="9" starty="3"/>
  <tile name="top_dia_dl" startx="4" starty="0"/>
  <tile name="top_dia_dr" startx="3" starty="0"/>
  <tile name="top_dia_ul" startx="4" starty="1"/>
  <tile name="top_dia_ur" startx="3" starty="1"/>
  <tile name="top_allfour" startx="11" starty="3"/>

  <!-- these are wall tiles with a diagonal square filler -->
  <tile name="top_r_add_u" startx="11" starty="1"/>
  <tile name="top_r_add_d" startx="11" starty="0"/>
  <tile name="top_r_add_ud" startx="10" starty="0"/>
  <tile name="top_l_add_u" startx="7" starty="1"/>
  <tile name="top_l_add_d" startx="7" starty="0"/>
  <tile name="top_l_add_ud" startx="8" starty="0"/>
  <tile name="top_u_add_r" startx="11" starty="2"/>
  <tile name="top_u_add_l" startx="10" starty="1"/>
  <tile name="top_u_add_lr" startx="10" starty="2"/>
  <tile name="top_d_add_r" startx="9" starty="2"/>
  <tile name="top_d_add_l" startx="9" starty="1"/>
  <tile name="top_d_add_lr" startx="9" starty="0"/>
  <tile name="wall" startx="1" starty="3" endy="4"/>
  <tile name="wall_l" startx="0" starty="3" endy="4"/>
  <tile name="wall_r" startx="2" starty="3" endy="4"/>
  <tile name="wall_lr" startx="3" starty="3" endy="4"/>

<!-- basic floors -->
  <tile name="floor" startx="0" starty="5"/>
  <tile name="floor" startx="0" starty="6"/>
  <tile name="floor" startx="0" starty="7"/>
  <tile name="floor" startx="1" starty="5"/>
  <tile name="floor" startx="1" starty="6"/>
  <tile name="floor" startx="1" starty="7"/>
  <tile name="floor" startx="2" starty="5"/>
  <tile name="floor" startx="2" starty="6"/>
  <tile name="floor" startx="2" starty="7"/>
  <tile name="floor" startx="3" starty="5"/>
  <tile name="floor" startx="3" starty="6"/>
  <tile name="floor" startx="3" starty="7"/>
  <tile name="floor" startx="4" starty="5"/>
  <tile name="floor" startx="4" starty="6"/>
  <tile name="floor" startx="4" starty="7"/>
  <tile name="floor" startx="5" starty="5"/>
  <tile name="floor" startx="5" starty="6"/>
  <tile name="floor" startx="5" starty="7"/>
  <tile name="floor" startx="6" starty="5"/>
  <tile name="floor" startx="6" starty="6"/>
  <tile name="floor" startx="6" starty="7"/>
  <tile name="floor" startx="7" starty="5"/>
  <tile name="floor" startx="7" starty="6"/>
  <tile name="floor" startx="7" starty="7"/>
  <tile name="floor" startx="8" starty="5"/>
  <tile name="floor" startx="8" starty="6"/>
  <tile name="floor" startx="8" starty="7"/>
  <tile name="floor" startx="9" starty="5"/>
  <tile name="floor" startx="9" starty="6"/>
  <tile name="floor" startx="9" starty="7"/>
  <tile name="floor" startx="10" starty="5"/>
  <tile name="floor" startx="10" starty="6"/>
  <tile name="floor" startx="10" starty="7"/>
  <tile name="floor" startx="11" starty="5"/>
  <tile name="floor" startx="11" starty="6"/>
  <tile name="floor" startx="11" starty="7"/>
  <!-- Lower section of tiles -->
  <tile name="floor" startx="0" starty="17"/>
  <tile name="floor" startx="0" starty="18"/>
  <tile name="floor" startx="0" starty="19"/>
  <tile name="floor" startx="1" starty="17"/>
  <tile name="floor" startx="1" starty="18"/>
  <tile name="floor" startx="1" starty="19"/>
  <tile name="floor" startx="2" starty="17"/>
  <tile name="floor" startx="2" starty="18"/>
  <tile name="floor" startx="2" starty="19"/>
  <tile name="floor" startx="3" starty="17"/>
  <tile name="floor" startx="3" starty="18"/>
  <tile name="floor" startx="3" starty="19"/>
  <tile name="floor" startx="4" starty="17"/>
  <tile name="floor" startx="4" starty="18"/>
  <tile name="floor" startx="4" starty="19"/>
  <tile name="floor" startx="5" starty="17"/>
  <tile name="floor" startx="5" starty="18"/>
  <tile name="floor" startx="5" starty="19"/>
  <tile name="floor" startx="6" starty="17"/>
  <tile name="floor" startx="6" starty="18"/>
  <tile name="floor" startx="6" starty="19"/>
  <tile name="floor" startx="7" starty="17"/>
  <tile name="floor" startx="7" starty="18"/>
  <tile name="floor" startx="7" starty="19"/>
  <tile name="floor" startx="8" starty="17"/>
  <tile name="floor" startx="8" starty="18"/>
  <tile name="floor" startx="8" starty="19"/>
  <tile name="floor" startx="9" starty="17"/>
  <tile name="floor" startx="9" starty="18"/>
  <tile name="floor" startx="9" starty="19"/>
  <tile name="floor" startx="10" starty="18"/>
  <tile name="floor" startx="10" starty="19"/>
  <tile name="floor" startx="11" starty="18"/>
  <tile name="floor" startx="11" starty="19"/>
  <!-- water tiles -->
  <tile name="water_ul" startx="0" starty="8" />
  <tile name="water_u" startx="1" starty="8" />
  <tile name="water_ur" startx="2" starty="8" />
  <tile name="water_l" startx="0" starty="9" />
  <tile name="water" startx="8" starty="3" />
  <tile name="water_r" startx="2" starty="9" />
  <tile name="water_dl" startx="0" starty="10" />
  <tile name="water_d" startx="1" starty="10" />
  <tile name="water_dr" startx="2" starty="10" />
  <tile name="water_l_ur" startx="7" starty="9"/>
  <tile name="water_l_dr" startx="7" starty="8"/>
  <tile name="water_r_ul" startx="11" starty="9"/>
  <tile name="water_r_dl" startx="11" starty="8"/>
  <tile name="water_l_ur_dr" startx="8" starty="8"/>
  <tile name="water_r_ul_dl" startx="10" starty="8"/>
  <tile name="water_u_dl_dr" startx="10" starty="10"/>
  <tile name="water_d_ul_ur" startx="9" starty="8"/>
  <tile name="water_corner_ul_ur" startx="0" starty="15"  />
  <tile name="water_corner_dl_dr" startx="1" starty="15"  />
  <tile name="water_corner_ul_dl" startx="2" starty="15"  />
  <tile name="water_corner_ur_dr" startx="3" starty="15"  />
  <tile name="water_cap_corner_dr" startx="5" starty="8"  />
  <tile name="water_cap_corner_dl" startx="6" starty="8"  />
  <tile name="water_cap_corner_ur" startx="5" starty="9"  />
  <tile name="water_cap_corner_ul" startx="6" starty="9"  />
  <tile name="water_corner_dr" startx="3" starty="8"  />
  <tile name="water_corner_dl" startx="4" starty="8"  />
  <tile name="water_corner_ur" startx="3" starty="9"  />
  <tile name="water_corner_ul" startx="4" starty="9"  />
  <tile name="water_vert_cap_t" startx="7" starty="10"  />
  <tile name="water_vert" startx="4" starty="10"  />
  <tile name="water_vert_cap_b" startx="8" starty="10"  />
  <tile name="water_horiz_cap_l" startx="6" starty="10" />
  <tile name="water_horiz" startx="3" starty="10"  />
  <tile name="water_horiz_cap_r" startx="5" starty="10"  />
  
  <!-- Row 1 of wall variations -->
  <tile name="wallDecor" startx="0" starty="11" endy="12"/>
  <tile name="wallDecor" startx="1" starty="11" endy="12"/>
  <tile name="wallDecor" startx="2" starty="11" endy="12"/>
  <tile name="wallDecor" startx="3" starty="11" endy="12"/>
  <tile name="wallDecor" startx="4" starty="11" endy="12"/>
  <tile name="wallDecor" startx="5" starty="11" endy="12"/>
  <tile name="wallDecor" startx="6" starty="11" endy="12"/>
  <tile name="wallDecor" startx="7" starty="11" endy="12"/>
  <tile name="wallDecor" startx="8" starty="11" endy="12"/>
  <tile name="wallDecor" startx="9" starty="11" endy="12"/>
  <tile name="wallDecor" startx="10" starty="11" endy="12"/>
  <tile name="wallDecor" startx="11" starty="11" endy="12"/>
  <!-- Row 2 of wall variations -->
  <tile name="wallDecor" startx="0" starty="13" endy="14"/>
  <tile name="wallDecor" startx="1" starty="13" endy="14"/>
  <tile name="wallDecor" startx="2" starty="13" endy="14"/>
  <tile name="wallDecor" startx="3" starty="13" endy="14"/>
  <tile name="wallDecor" startx="4" starty="13" endy="14"/>
  <tile name="wallDecor" startx="5" starty="13" endy="14"/>
  <tile name="wallDecor" startx="6" starty="13" endy="14"/>
  <tile name="wallDecor" startx="7" starty="13" endy="14"/>
  <tile name="wallDecor" startx="8" starty="13" endy="14"/>
  <tile name="wallDecor" startx="9" starty="13" endy="14"/>
  <tile name="wallDecor" startx="10" starty="13" endy="14"/>
  <tile name="wallDecor" startx="11" starty="13" endy="14"/>

  <blocker name="some bones" sprite="dungeon/bones0.png" passable="1"/>
  <blocker name="more bones" sprite="dungeon/bones1.png" passable="1"/>
  <blocker name="even more bones" sprite="dungeon/bones2.png" passable="1"/>

    <breakable name="Vase" vis="0" sprite="sprites/breakable/vase1.spr" sfx="vasebreak"/>
    <breakable name="Barrel" vis="1" sprite="sprites/breakable/barrel1.spr"/>
    <breakable name="Crate" vis="1" sprite="sprites/breakable/crate1.spr"/>

  </branch>


  <branch name="The Shrine of Pandemonium" id="9" length="10" generator="1" corners="1">

    <tileset name="tilesets/pandemonium.png"/>
    <leveldata min="9" max="9" genLakes="0" banner="dngidents/mysticmines.png"/>
    <music name="tunes/SUBTER.IT"/>

    <!-- these need to be in all tilesets. This is a hack. Deal with it! -->

    <tile name="fluid_ice" startx="0" starty="0" numframes="4" skip="0" framerate="280"/>
    <tile name="fluid_lava" startx="0" starty="1" numframes="6" skip="0" framerate="280"/>
    <tile name="fluid_water" startx="0" starty="2" numframes="3" skip="0" framerate="250"/>
    <tile name="fluid_goo" startx="0" starty="3" numframes="3" skip="0" framerate="300"/>

    <!-- walls...  -->
    <tile name="stairsup" startx="10" starty="15" endy="17" />
    <tile name="stairsdown" startx="11" starty="15" endy="17" />
    <!-- walls...  -->

    <tile name="top_ul" startx="0" starty="0"/>
    <tile name="top_u" startx="1" starty="0"/>
    <tile name="top_ur" startx="2" starty="0"/>
    <tile name="top_l" startx="0" starty="1"/>
    <tile name="top_c" startx="1" starty="1"/>
    <tile name="top_r" startx="2" starty="1"/>
    <tile name="top_dl" startx="0" starty="2"/>
    <tile name="top_d" startx="1" starty="2"/>
    <tile name="top_dr" startx="2" starty="2"/>
    <tile name="top_ud" startx="3" starty="2"/>
    <tile name="top_lr" startx="4" starty="2"/>
    
    <tile name="top_cup_ldr" startx="8" starty="2"/>
    <tile name="top_cup_lur" startx="7" starty="2"/>
    <tile name="top_cup_dlu" startx="6" starty="2"/>
    <tile name="top_cup_dru" startx="5" starty="2"/>
    
    <!-- these are:
    
     ####
     #
     #
     #  #
     
     tiles
    -->
    
    <tile name="top_adj_ul" startx="5" starty="0"/>
    <tile name="top_adj_ur" startx="6" starty="0"/>
    <tile name="top_adj_dl" startx="5" starty="1"/>
    <tile name="top_adj_dr" startx="6" starty="1"/>
    
    <!-- these are: 
               
         #
         
    tiles
    -->

    <tile name="top_dia_dl_dr" startx="9" starty="4"/>
    <tile name="top_dia_ur_dr" startx="10" starty="3"/>
    <tile name="top_dia_ul_dl" startx="10" starty="4"/>
    <tile name="top_dia_ul_ur" startx="9" starty="3"/>

    <tile name="top_dia_dl" startx="4" starty="0"/>
    <tile name="top_dia_dr" startx="3" starty="0"/>
    <tile name="top_dia_ul" startx="4" starty="1"/>
    <tile name="top_dia_ur" startx="3" starty="1"/>

    <tile name="top_allfour" startx="11" starty="3"/>

    <!-- these are wall tiles with a diagonal square filler -->

    <tile name="top_r_add_u" startx="11" starty="1"/>
    <tile name="top_r_add_d" startx="11" starty="0"/>
    <tile name="top_r_add_ud" startx="10" starty="0"/>

    <tile name="top_l_add_u" startx="7" starty="1"/>
    <tile name="top_l_add_d" startx="7" starty="0"/>
    <tile name="top_l_add_ud" startx="8" starty="0"/>

    <tile name="top_u_add_r" startx="11" starty="2"/>
    <tile name="top_u_add_l" startx="10" starty="1"/>
    <tile name="top_u_add_lr" startx="10" starty="2"/>

    <tile name="top_d_add_r" startx="9" starty="2"/>
    <tile name="top_d_add_l" startx="9" starty="1"/>
    <tile name="top_d_add_lr" startx="9" starty="0"/>

    <tile name="wall" startx="1" starty="3" endy="4"/>
    <tile name="wall_l" startx="0" starty="3" endy="4"/>
    <tile name="wall_r" startx="2" starty="3" endy="4"/>
    <tile name="wall_lr" startx="3" starty="3" endy="4"/>

<!-- basic floors, upper rank -->
  <tile name="floor" startx="0" starty="5"/>
  <tile name="floor" startx="0" starty="6"/>
  <tile name="floor" startx="0" starty="7"/>
  <tile name="floor" startx="1" starty="5"/>
  <tile name="floor" startx="1" starty="6"/>
  <tile name="floor" startx="1" starty="7"/>
  <tile name="floor" startx="2" starty="5"/>
  <tile name="floor" startx="2" starty="6"/>
  <tile name="floor" startx="2" starty="7"/>
  <tile name="floor" startx="3" starty="5"/>
  <tile name="floor" startx="3" starty="6"/>
  <tile name="floor" startx="3" starty="7"/>
  <tile name="floor" startx="4" starty="5"/>
  <tile name="floor" startx="4" starty="6"/>
  <tile name="floor" startx="4" starty="7"/>
  <tile name="floor" startx="5" starty="5"/>
  <tile name="floor" startx="5" starty="6"/>
  <tile name="floor" startx="5" starty="7"/>
  <tile name="floor" startx="6" starty="5"/>
  <tile name="floor" startx="6" starty="6"/>
  <tile name="floor" startx="6" starty="7"/>
  <tile name="floor" startx="7" starty="5"/>
  <tile name="floor" startx="7" starty="6"/>
  <tile name="floor" startx="7" starty="7"/>
  <tile name="floor" startx="8" starty="5"/>
  <tile name="floor" startx="8" starty="6"/>
  <tile name="floor" startx="8" starty="7"/>
  <tile name="floor" startx="9" starty="5"/>
  <tile name="floor" startx="9" starty="6"/>
  <tile name="floor" startx="9" starty="7"/>
  <tile name="floor" startx="10" starty="5"/>
  <tile name="floor" startx="10" starty="6"/>
  <tile name="floor" startx="10" starty="7"/>
  <tile name="floor" startx="11" starty="5"/>
  <tile name="floor" startx="11" starty="6"/>
  <tile name="floor" startx="11" starty="7"/>
  <!-- Lower section of floor tiles, 2 high -->
  <tile name="floor" startx="0" starty="18"/>
  <tile name="floor" startx="0" starty="19"/>
  <tile name="floor" startx="1" starty="18"/>
  <tile name="floor" startx="1" starty="19"/>
  <tile name="floor" startx="2" starty="18"/>
  <tile name="floor" startx="2" starty="19"/>
  <tile name="floor" startx="3" starty="18"/>
  <tile name="floor" startx="3" starty="19"/>
  <tile name="floor" startx="4" starty="18"/>
  <tile name="floor" startx="4" starty="19"/>
  <tile name="floor" startx="5" starty="18"/>
  <tile name="floor" startx="5" starty="19"/>
  <tile name="floor" startx="6" starty="18"/>
  <tile name="floor" startx="6" starty="19"/>
  <tile name="floor" startx="7" starty="18"/>
  <tile name="floor" startx="7" starty="19"/>
  <tile name="floor" startx="8" starty="18"/>
  <tile name="floor" startx="8" starty="19"/>
  <tile name="floor" startx="9" starty="18"/>
  <tile name="floor" startx="9" starty="19"/>
  <tile name="floor" startx="10" starty="18"/>
  <tile name="floor" startx="10" starty="19"/>
  <tile name="floor" startx="11" starty="18"/>
  <tile name="floor" startx="11" starty="19"/>
<!-- Watery Parts -->
  <tile name="water_ul" startx="0" starty="8" />
  <tile name="water_u" startx="1" starty="8" />
  <tile name="water_ur" startx="2" starty="8" />
  <tile name="water_l" startx="0" starty="9" />
  <tile name="water" startx="8" starty="3" />
  <tile name="water_r" startx="2" starty="9" />
  <tile name="water_dl" startx="0" starty="10" />
  <tile name="water_d" startx="1" starty="10" />
  <tile name="water_dr" startx="2" starty="10" />
  <tile name="water_l_ur" startx="7" starty="9"/>
  <tile name="water_l_dr" startx="7" starty="8"/>
  <tile name="water_r_ul" startx="11" starty="9"/>
  <tile name="water_r_dl" startx="11" starty="8"/>
  <tile name="water_l_ur_dr" startx="8" starty="8"/>
  <tile name="water_r_ul_dl" startx="10" starty="8"/>
  <tile name="water_u_dl_dr" startx="10" starty="10"/>
  <tile name="water_d_ul_ur" startx="9" starty="8"/>
  <tile name="water_corner_ul_ur" startx="0" starty="15"  />
  <tile name="water_corner_dl_dr" startx="1" starty="15"  />
  <tile name="water_corner_ul_dl" startx="2" starty="15"  />
  <tile name="water_corner_ur_dr" startx="3" starty="15"  />
  <tile name="water_cap_corner_dr" startx="5" starty="8"  />
  <tile name="water_cap_corner_dl" startx="6" starty="8"  />
  <tile name="water_cap_corner_ur" startx="5" starty="9"  />
  <tile name="water_cap_corner_ul" startx="6" starty="9"  />
  <tile name="water_corner_dr" startx="3" starty="8"  />
  <tile name="water_corner_dl" startx="4" starty="8"  />
  <tile name="water_corner_ur" startx="3" starty="9"  />
  <tile name="water_corner_ul" startx="4" starty="9"  />
  <tile name="water_vert_cap_t" startx="7" starty="10"  />
  <tile name="water_vert" startx="4" starty="10"  />
  <tile name="water_vert_cap_b" startx="8" starty="10"  />
  <tile name="water_horiz_cap_l" startx="6" starty="10" />
  <tile name="water_horiz" startx="3" starty="10"  />
  <tile name="water_horiz_cap_r" startx="5" starty="10"  />
<!-- non-animated wall decors -->
  <tile name="wallDecor" startx="0" starty="11" endy="12"/>
  <tile name="wallDecor" startx="1" starty="11" endy="12"/>
  <tile name="wallDecor" startx="2" starty="11" endy="12"/>
  <tile name="wallDecor" startx="3" starty="11" endy="12"/>
  <tile name="wallDecor" startx="4" starty="11" endy="12"/>
  <tile name="wallDecor" startx="5" starty="11" endy="12"/>
  <tile name="wallDecor" startx="6" starty="11" endy="12"/>
  <tile name="wallDecor" startx="7" starty="11" endy="12"/>
  <tile name="wallDecor" startx="8" starty="11" endy="12"/>
  <tile name="wallDecor" startx="9" starty="11" endy="12"/>
  <tile name="wallDecor" startx="10" starty="11" endy="12"/>
  <tile name="wallDecor" startx="11" starty="11" endy="12"/>
  <!-- second row of decor walls -->
  <tile name="wallDecor" startx="0" starty="13" endy="14"/>
  <tile name="wallDecor" startx="1" starty="13" endy="14"/>
  <tile name="wallDecor" startx="2" starty="13" endy="14"/>
  <tile name="wallDecor" startx="3" starty="13" endy="14"/>
  <tile name="wallDecor" startx="4" starty="13" endy="14"/>
  <tile name="wallDecor" startx="5" starty="13" endy="14"/>
  <tile name="wallDecor" startx="6" starty="13" endy="14"/>
  <tile name="wallDecor" startx="7" starty="13" endy="14"/>
  <tile name="wallDecor" startx="8" starty="13" endy="14"/>
  <tile name="wallDecor" startx="9" starty="13" endy="14"/>
  <tile name="wallDecor" startx="10" starty="13" endy="14"/>
  <tile name="wallDecor" startx="11" starty="13" endy="14"/>

  <breakable name="Oozy" vis="1" sprite="sprites/breakable/oozy_break.spr" sfx="organic"/>
<breakable
  name="Dark Urn" vis="1"
  png="dungeon/dark_urn.png" pngBroken="dungeon/dark_urn_break/dark_urn_break0002.png" 
  pngSeriesBreak="dungeon/dark_urn_break/dark_urn_break" 
  pngBreakFirst="0" pngBreakNum="3" pngBreakRate="60" />

    <chestinfo
  open="dungeon/chest2_open.png"
  closed="dungeon/chest2_closed.png"
  broken="dungeon/chest2_broken.png"/>


  <blocker name="lit candelabra" pngSprite="dungeon/candelabra/candelabra" pngFirst="0" pngNum="4" pngRate="100" passable="0" animate="1"/>

  <blocker name="some bones" sprite="dungeon/bones0.png" passable="1"/>
  <blocker name="more bones" sprite="dungeon/bones1.png" passable="1"/>
  <blocker name="even more bones" sprite="dungeon/bones2.png" passable="1"/>

  </branch>


</branchDB>
