<?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="1" el:revision="0" 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="0.92" el:engine="oxyd.magnum">
       <el:dependency el:path="lib/ant" el:id="lib/ant" el:release="1" el:preload="true"/>
      </el:compatibility>
      <el:modes el:easy="false" el:single="true" el:network="true"/>
      <el:comments>
        <el:code>Lua 5.1 and XML converted by Leveladministrators</el:code>
      </el:comments>
      <el:score el:easy="-" el:difficult="-"/>
    </el:info>
    <el:luamain><![CDATA[
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
multiplayer_mode();

cells={}
use_cells(cells, "2")

cells[" "]=cell{floor="fl-wood"}
cells["_"]=cell{floor="fl-normal"}
cells["#"]=cell{stone="st-brick"}
cells["s"]=cell{item= "it-spring1"}

holes={}
targets={}
worm_hole_pair(cells, "A", "a", cells[" "], cells[" "], holes, targets, 1)
worm_hole_pair(cells, "B", "b", cells["_"], cells["_"], holes, targets, 2)
worm_hole_pair(cells, "C", "c", cells["_"], cells["_"], holes, targets, 3)
worm_hole_pair(cells, "D", "d", cells["_"], cells["_"], holes, targets, 4)
worm_hole_pair(cells, "E", "e", cells["_"], cells["_"], holes, targets, 5)
cells["d"]=cell{{cells["2"], cells["d"]}} -- add an actor to cell "d"

slopes={}
pivots={}
cells["*"]=cell{{{add_multicell, slopes, 1}}}
cells["&"]=cell{{{add_multicell, pivots, slopes}, cells["_"]}}

level = {
   "....................",
   "....................",
   "....................",
   "....................",
   "##########.....##0##",
   "#         .....#   #",
   "#s       1.. A.# a #",
   "#         .....#   #",
   "##########.....##0##",
   "....................",
   "....................",
   "....................",
   "....................", -- screen edge
   "....................",
   ".*******....*******.",
   ".*B_&e0*....*0b&_C*.",
   ".*******....*******.",
   "....................",
   "....................",
   ".*******....*******.",
   ".*E_&d0*....*0c&_D*.",
   ".*******....*******.",
   "....................",
   "....................",
   "...................."
}
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
set_default_parent(cells[" "])
oxyd_default_flavor = "c"
create_world_by_map(level)
render_wormholes(holes, targets, {strength=10, range=5})
spread_tag(pivots)
render_slopes(slopes, 1)
oxyd_shuffle()
    ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
