<?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 ="Hot Meditation" el:id="20060527ral010"/>
      <el:version el:score="1" el:release="2" el:revision="$Revision: 167 $" el:status="released"/>
      <el:author  el:name="Ronald Lamprecht" el:email="ral@users.berlios.de"/>
      <el:copyright>Copyright © 2006,2009 Ronald Lamprecht</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:27" el:difficult="0:50"/>
    </el:info>
    <el:luamain><![CDATA[
wo["ConserveLevel"] = false

ti["."] = {"fl_hay"}
ti[" "] = {"it_burnable"}
ti["*"] = {"it_burnable_ignited"}
ti["#"] = {"st_redbrown"} .. ti[" "]
ti[","] = {"fl_wood"}
ti[";"] = {"it_burnable"} .. ti[","]
ti["o"] = {"it_meditation"}
ti["1"] = {"#ac_pearl", essential=INDISPENSABLE}

if wo["IsDifficult"] then
    ti["O"] = ti["o"]
    ti["3"] = ti["1"]
    ti["2"] = ti[" "]
else
    ti["O"] = ti[" "]
    ti["2"] = ti["1"]
    ti["3"] = ti[" "]
end

mymaze = res.maze(ti, {area ={po(1,1), 9, 6}, render = {".", ",", "."}})

wo(mymaze, ".", {
    "####################",
    "#o                O#",
    "#                 ;#",
    "#        o o      2#",
    "#                 ;#",
    "#1 3           3 32#",
    "#        ***      ;#",
    "#1 3           3 32#",
    "#                 ;#",
    "#2       o o       #",
    "#                 ;#",
    "#O                o#",
    "####################"
})
    ]]></el:luamain>
    <el:i18n>
    </el:i18n>
  </el:protected>
</el:level>

