<?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="Black Holes" el:subtitle="Oxyd Magnum 23" el:id="oxm023"/>
      <el:version el:score="1" el:release="2" el:revision="1" el:status="released"/>
      <el:author el:name="Petr Machata" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2003 Petr Machata</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.20" el:engine="oxyd.magnum"/>
      <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[
wo["WormholeStrength"] = 8.0
wo["WormholeRange"] = 5.0

ti[" "] = {"fl_wood"}
ti["."] = {"fl_metal_7"}
ti["~"] = {"fl_abyss"}
ti["#"] = {"st_brick"}
ti["7"] = {"fl_slope_ose"}
ti["8"] = {"fl_slope_ps"}
ti["9"] = {"fl_slope_osw"}
ti["6"] = {"fl_slope_pw"}
ti["3"] = {"fl_slope_onw"}
ti["2"] = {"fl_slope_pn"}
ti["1"] = {"fl_slope_one"}
ti["4"] = {"fl_slope_pe"}
ti["s"] = {"it_spring"}
ti["dests"] = {"fl_metal_7", name="dest%%"}
ti["wormholes"] = ti["."] .. {"it_wormhole", destination="dest%%"}
ti["e"] = {"it_wormhole", destination="destE"}
ti["E"] = {"fl_wood", name="destE"}
ti["O"] = {"st_oxyd", flavor="c"}
ti["*"] = ti["."] .. {"#ac_marble_white", 1,0, 0.0,  owner=YANG, controllers=CTRL_YANG, essential=INDISPENSABLE}
ti["@"] = {"#ac_marble_black", owner=YIN, controllers=CTRL_YIN, essential=INDISPENSABLE}

wo(res.autotile(ti, {"a", "d", "wormholes"}, {"A", "D", "dests"})," ", {
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~",
    "##########~~~~~##O##",
    "#         ~~~~~#   #",
    "#s       @~~ e~# E #",
    "#         ~~~~~#   #",
    "##########~~~~~##O##",
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~7888889~~~~7888889~",
    "~4b..AO6~~~~4OB..c6~",
    "~1222223~~~~1222223~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~7888889~~~~7888889~",
    "~4a.*DO6~~~~4OC..d6~",
    "~1222223~~~~1222223~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~"})

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