<?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="Blocking Puzzles I" el:subtitle="" el:id="devnull126"/>
      <el:version el:score="1" el:release="1" el:revision="1" el:status="released"/>
      <el:author el:name="/dev/null" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2012 /dev/null</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/libpuzzle" el:id="lib/libpuzzle" el:release="3" el:preload="true"/>
      </el:compatibility>
      <el:modes el:easy="false" el:single="true" el:network="true"/>
      <el:score el:easy="-" el:difficult="4:04"/>
    </el:info>
    <el:luamain><![CDATA[
wo["AutoRespawn"] = true
wo["AllowSuicide"] = false
wo["FallenPuzzle"] = "=  "

ti["  "] = {"fl_concrete"}
ti[" ."] = {"fl_abyss"}
ti["* "] = {"st_grate"}
ti["B "] = {"st_passage_black", flavor="frame"}
ti["W "] = {"st_passage_white", flavor="frame"}
ti["v "] = {"it_puller_s"}
ti["P"] = {"st_puzzle"}
ti["Q"] = ti[" ."] .. {"st_puzzle", intensity=0}
ti["X"] = ti({"it_magicwand"}) .. {"st_puzzle_yellow", intensity=0}
ti["Y"] = {"st_puzzle_yellow", intensity=0}
ti["Z"] = ti[" ."] .. {"st_puzzle_yellow", intensity=1}
ti["z"] = ti[" ."] .. ti({"it_death"}) .. {"st_puzzle_yellow", intensity=0}
ti["O "] = {"st_oxyd"}
ti["@0"] = {"#ac_pearl_black", owner=YIN, controllers=CTRL_YIN, essential=INDISPENSABLE}
ti["@1"] = {"#ac_pearl_white", owner=YANG, controllers=CTRL_YANG, essential=INDISPENSABLE}

wo(res.composer(res.puzzle(ti, "P", "Q", "X", "Y", "Z", "z")), "  ", {
    " . . . . . . . . . . . . . . . . .",
    " .         . . . . . .       . . .",
    " .Pl . .Qj*. . . . .  @1       . .",
    " .   .O. . . . . .PcPiY1PcPd  B  .",
    " .  QbQdQe*. . . .PlPjY1PePh  B O.",
    " . . . . . .*. . .Y1Y1Z1X1Y1  B O.",
    " .Qb . . .O. .*.*.*.*.z1*.*.*. . .",
    "O. . .O. . .*. . .Y1Y1Z1X1Y1  W O.",
    " . . . . .*. . . .PfPeY1PjPa  W O.",
    " . .Pj .Ph . . . .PhPaY1PbPe  W  .",
    " . .  v    . . . . .  @0       . .",
    " . . . . . . . . . . .       . . .",
    " . . . . . . . . . . . . . . . . ."})

wo:shuffleOxyd()
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
