<?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="Land of the Doors" el:subtitle="Oxyd Link 2" el:id="martin65"/>
      <el:version el:score="1" el:release="2" el:revision="2" el:status="released"/>
      <el:author el:name="Martin Hawlisch" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2003 Martin Hawlisch</el:copyright>
      <el:license el:type="GPL version 2" el:open="true"/>
      <el:compatibility el:enigma="1.20" el:engine="oxyd1"/>
      <el:modes el:easy="false" el:single="true" el:network="true"/>
      <el:comments>
        <el:code>New API converted by /dev/null, April 2013</el:code>
      </el:comments>
      <el:score el:easy="-" el:difficult="-"/>
    </el:info>
    <el:luamain><![CDATA[
ti[" "] = {"fl_wood"}
ti["#"] = {"st_plaster"}
ti["X"] = {"st_grate"}
ti["doors"] = {"st_door", name="door%%", faces="ew"}
ti["triggers"] = {"it_trigger", target="door%%", invisible=true, action="open"}
ti["O"] = {"st_oxyd", flavor="d", name="oxydsBlack#"}
ti["0"] = {"st_oxyd", flavor="d", name="oxydsWhite#"}
ti["*"] = {"#ac_marble_white"}
ti["@"] = {"#ac_marble_black"}

wo(res.autotile(ti, {"A", "H", "doors"}, {"a", "h", "triggers"}), " ", {
    "####################",
    "#                  #",
    "#                  #",
    "#    #### ####     #",
    "#    eAO# #OBf   O #",
    "#    #### ####     #",
    "#        @         #",
    "#    #### ####     #",
    "#    gCO# #ODh   O #",
    "#    #### ####     #",
    "#                  #",
    "#                  #",
    "####################",
    "#                  #",
    "#                  #",
    "#    #### ####     #",
    "#    aE0# #0Fb   0 #",
    "#    #### ####     #",
    "#        *         #",
    "#    #### ####     #",
    "#    cG0# #0Hd   0 #",
    "#    #### ####     #",
    "#                  #",
    "#                  #",
    "####################"})

wo:shuffleOxyd({"oxydsBlack#*", max=0}, {"oxydsWhite#*", max=0})
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
