<?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="Meditation Sorting" el:subtitle="" el:id="20080821wcr001"/>
      <el:version el:score="2" el:release="2" el:revision="4" el:status="released"/>
      <el:author el:name="Helge Blohmer" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2008 Helge Blohmer</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.10"/>
      <el:modes el:easy="true" el:single="true" el:network="false"/>
      <el:score el:easy="-" el:difficult="11:00"/>
    </el:info>
    <el:luamain><![CDATA[
ti[" "] = {"fl_metal_7", friction=4.0}
ti["-"] = {"fl_space", name="space#"}
ti["#"] = {"st_granite"}
ti["o"] = {"it_meditation"}
ti["+"] = ti["-"] .. {"#ac_pearl", essential=INDISPENSABLE}

if wo["IsDifficult"] then
    ti["x"] = ti["-"] .. {"#ac_killer_white", adhesion=0.95}
    ti["X"] = ti["x"]
    ti["*"] = ti["+"]
    ti["O"] = ti["o"]
    ti["E"] = ti[" "]
else
    ti["x"] = ti["-"] .. {"#ac_killer_black", adhesion=0.95}
    ti["X"] = ti[" "]
    ti["*"] = ti[" "]
    ti["O"] = ti[" "]
    ti["E"] = ti["o"]
end

wo(ti, " ", {
    "####################",
    "#                  #",
    "# o              o #",
    "#                  #",
    "#  OE   *x+X   EO  #",
    "#       x+x+       #",
    "#   O   +x+x   O   #",
    "#       x+x+       #",
    "#  OE   *x+X   EO  #",
    "#                  #",
    "# o              o #",
    "#                  #",
    "####################"})

wo:add({"ot_timer", target="remove_space", interval=2, loop=false})

function remove_space()
    wo[no["space#*"]] = ti[" "]
end
 ]]></el:luamain>
    <el:i18n>
    </el:i18n>
  </el:protected>
</el:level>
