<?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="The wrong Place?" el:subtitle="" el:id="just17"/>
      <el:version el:score="2" el:release="2" el:revision="2" el:status="released"/>
      <el:author  el:name="JuSt" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2007 JuSt</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.10"/>
      <el:modes el:easy="false" el:single="true" el:network="false"/>
      <el:comments><el:code>New API converted by R. Bourquin</el:code></el:comments>
      <el:score el:easy="-" el:difficult="1:32"/>
    </el:info>
    <el:luamain><![CDATA[
wo["ConserveLevel"] = false

ti[" "] = {"fl_ivory"}
ti["~"] = {"fl_water"}
ti["#"] = {"st_darkglass"}
ti["%"] = ti["#"] .. {"it_pipe", connections="e"}
ti["^"] = {"st_laser", state=ON, orientation=NORTH}
ti[">"] = {"st_laser", state=ON, orientation=EAST}
ti["V"] = {"st_laser", state=ON, orientation=SOUTH}
ti["<"] = {"st_laser", state=ON, orientation=WEST}
ti["P"] = {"st_lightpassenger"}
ti["M"] = {"st_mail", orientation=EAST}
ti["D"] = {"st_door", flavor="d", faces="ew", name="door%%"}
ti["t"] = {"it_trigger", target="door%%", action="open"}
ti["|"] = {"it_pipe", connections="ns"}
ti["-"] = {"it_pipe", connections="ew"}
ti["7"] = {"it_pipe", connections="es"}
ti["9"] = {"it_pipe", connections="sw"}
ti["1"] = {"it_pipe", connections="ne"}
ti["3"] = {"it_pipe", connections="wn"}
ti["."] = {"it_seed"}
ti["O"] = {"st_oxyd"}
ti["@"] = {"#ac_marble_black"}

wo(res.autotile(ti, {"A", "B", "D"}, {"a", "b", "t"}), " ", {
    "########V#########b#",
    "#--%               <",
    "#--%     ######### #",
    "#||%     #       # #",
    "#||%     ~       # #",
    "#||%     #       # #",
    "#77M     #       # #",
    "#99%     ####    # #",
    "#11A     #OO#      #",
    "#33%     #  B    # #",
    "#..%     ######### #",
    "#.@>          P    #",
    "########a#########^#"})
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
