<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<el:level xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://enigma-game.org/schema/level/1 level.xsd" xmlns:el="http://enigma-game.org/schema/level/1">
  <el:protected>
    <el:info el:type="level">
      <el:identity el:title="Mazelets" el:subtitle="" el:id="raoul34"/>
      <el:version el:score="1" el:release="1" el:revision="2" el:status="released"/>
      <el:author  el:name="Raoul Bourquin" el:email=""/>
      <el:copyright>Copyright © 2009 Raoul Bourquin</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.10">
        <el:dependency el:path="lib/libmaze" el:id="lib/libmaze" el:release="2" el:preload="true"/>
      </el:compatibility>
      <el:modes el:easy="true" el:single="true" el:network="false"/>
      <el:score el:easy="0:45" el:difficult="0:33"/>
    </el:info>
    <el:luamain><![CDATA[
ti[" "] = {"fl_water"}
ti["-"] = {"fl_water"}
ti["O"] = {"st_oxyd"}
ti["B"] = cond(wo["IsDifficult"], {"st_oxyd", oxydcolor=OXYD_BOLD}, ti["O"])
ti["Q"] = cond(wo["IsDifficult"], {"st_oxyd", oxydcolor=OXYD_QUAKE}, ti["O"])
ti["@"] = {"#ac_marble_black"}

maze = res.maze(ti, {area={"-", "@"}, kernel={0,0}})

wo(maze, " ", {
    "                   ",
    "  ---   ---   ---  ",
    " ----- ----- ----- ",
    " --O-----Q-----O-- ",
    " ----- ----- ----- ",
    "  ---   ---   ---  ",
    "   -     @     -   ",
    "  ---   ---   ---  ",
    " ----- ----- ----- ",
    " --O-----B-----O-- ",
    " ----- ----- ----- ",
    "  ---   ---   ---  ",
    "                   "})

maze:render(lib.maze.renderer_strip, "-")
wo:shuffleOxyd()
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
