<?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="Turn Around" el:subtitle="" el:id="andreas07"/>
      <el:version el:score="1" el:release="2" el:revision="5" el:status="released"/>
      <el:author  el:name="Andreas Lochmann" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2006, 2009 Andreas Lochmann</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="true" el:single="true" el:network="false"/>
      <el:comments>
        <el:code>Thanks to Raoul for libpuzzle.</el:code>
      </el:comments>
      <el:score el:easy="02:19" el:difficult="03:31"/>
    </el:info>
    <el:luamain><![CDATA[

ti["  "] = {"fl_metal_7", friction = 4.0}
ti["# "] = {"st_metal"}
ti["O "] = {"st_oxyd", flavor = "a"}
ti["d "] = {"it_document", text = "text1"}
ti["e "] = {"it_document", text = "text2"}
ti["@ "] = {"#ac_marble", adhesion = 1}
ti["P"] = {"st_puzzle_yellow", intensity=0}

if wo["IsDifficult"] then
    ti["Q"] = {"st_puzzle_yellow", intensity=0}
    ti["RO"] = ti["# "]
    ti["i "] = ti["d "]
else
    ti["Q"] = {"st_puzzle_yellow", hollow=true, connections="nesw", intensity=0}
    ti["R"] = {"st_puzzle_yellow", intensity=0}
    ti["i "] = ti["e "]
end

wo(res.puzzle(ti, "P", "Q", "R"), "  ",
       {"# # # # # # # # # # # # # # # # # # # # ",
        "#                                     # ",
        "#       PiPjPmPjPmPjPmPjPl            # ",
        "#       PeO PeO PeO PeO Pe      i     # ",
        "#       PkPjQOPjQoPjQOPjPn            # ",
        "#       PeO PeO PeO PeO Pe            # ",
        "#       PkPjQoPjROPjQoPjPn            # ",
        "#       PeO PeO PeO PeO Pe            # ",
        "#       PkPjQOPjQoPjQOPjPn            # ",
        "#       PeO PeO PeO PeO Pe      @     # ",
        "#       PcPjPgPjPgPjPgPjPf            # ",
        "#                                     # ",
        "# # # # # # # # # # # # # # # # # # # # "})

wo:shuffleOxyd()

    ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
      <el:string el:key="text1">
        <el:english el:translate="true">Just a hint: Try the easy-mode first ...</el:english>
      </el:string>
      <el:string el:key="text2">
        <el:english el:translate="true">Don't think too long ... it's easy!</el:english>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
