<?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 Locksmith" el:subtitle="esprit 88" el:id="ss_esp88"/>
      <el:version el:score="1" el:release="2" el:revision="2" el:status="released"/>
      <el:author el:name="Sven Siggelkow" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2003 Sven Siggelkow</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.20"/>
      <el:modes el:easy="false" el:single="true" el:network="false"/>
      <el:comments>
        <el:code>New API converted by /dev/null, January 2014</el:code>
      </el:comments>
      <el:score el:easy="-" el:difficult="-"/>
    </el:info>
    <el:luamain><![CDATA[
ti[" "] = {"fl_bluegray"}
ti["~"] = {"fl_abyss"}
ti["#"] = {"st_door_b"}
ti["keys1"] = {"st_key", code=1, target="door1%%"}
ti["keys2"] = {"st_key", code=2, target="door2%%"}
ti["keys3"] = {"st_key", code=3, target="door3%%"}
ti["1"] = {"st_key", code=1}
ti["2"] = {"st_key", code=2}
ti["3"] = {"st_key", code=3}
ti["doors1"] = {"st_door_c", name="door1%%"}
ti["doors2"] = {"st_door_c", name="door2%%"}
ti["doors3"] = {"st_door_c", name="door3%%"}
ti["x"] = {"it_key", code=1}
ti["y"] = {"it_key", code=2}
ti["z"] = {"it_key", code=3}
ti["O"] = {"st_oxyd"}
ti["*"] = {"#ac_pearl_white", 0, -9.0}
ti["@"] = {"#ac_marble"}

wo(res.autotile(ti, {"A", "C", "keys1"}, {"a", "c", "doors1"}, {"D", "F", "keys2"},
                    {"d", "f", "doors2"}, {"G", "I", "keys3"}, {"g", "i", "doors3"}), " ", {
    "#########~~####~#######~####~~#########",
    "#O  f  O#~~#x #~# y#  #~# z#~~#O  b  O#",
    "#   #   #~~#  #~#  #  #~#  #~~#   #   #",
    "#   #   #~~#  #~#  #  #~#  #~~#   #   #",
    "##e######~~#  #~#  #  #~#  #~~##i##dg##",
    "#O  a  O#~~#  #~#  #  #~#  #~~#O  h  O#",
    "#   #   #~~#  #~#  #  #~#  #~~#   #   #",
    "#   #   #~~#  #~#  #  #~#  #~~#   c   #",
    "#2A1D313BG2#  ###  #  ###  #E1H2F3IC32#",
    "#                                     #",
    "# @                                   #",
    "# *                                 * #",
    "#######################################"})

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