<?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="- Meditation -" el:subtitle="" el:id="raoul04"/>
      <el:version el:score="1" el:release="1" el:revision="1" el:status="released"/>
      <el:author  el:name="Raoul Bourquin" el:email="raoul@users.berlios.de" el:homepage=""/>
      <el:copyright>Copyright © 2005 Raoul Bourquin</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="0.92">
      </el:compatibility>
      <el:modes el:easy="true" el:single="true" el:network="false"/>
      <el:comments>
        <el:code>Lua 5.1 and XML converted by Leveladministrators</el:code>
      </el:comments>
      <el:score el:easy="-" el:difficult="0:10"/>
    </el:info>
    <el:luamain><![CDATA[
-- GENERAL --
levelw = 20
levelh = 13
create_world(levelw, levelh)
enigma.ConserveLevel = FALSE

-- DESIGN
rand = "st-glass"
boden = "fl-abyss"
ring = "fl-sahara"

-- FLOOR --
fill_floor(boden, 0,0,20,13)

--ecken aussen
set_floor("fl-gradient5",1,1)
set_floor("fl-gradient7",1,11)
set_floor("fl-gradient6",18,1)
set_floor("fl-gradient8",18,11)

--ecken innen
set_floor("fl-gradient12",3,3)
set_floor("fl-gradient11",3,9)
set_floor("fl-gradient10",16,3)
set_floor("fl-gradient9",16,9)

--rand aussen
draw_floor("fl-gradient3",{1,2},{0,1},9)
draw_floor("fl-gradient4",{18,2},{0,1},9)
draw_floor("fl-gradient1",{2,1},{1,0},16)
draw_floor("fl-gradient2",{2,11},{1,0},16)

--rand innen
draw_floor("fl-gradient4",{3,4},{0,1},5)
draw_floor("fl-gradient3",{16,4},{0,1},5)
draw_floor("fl-gradient2",{4,3},{1,0},12)
draw_floor("fl-gradient1",{4,9},{1,0},12)

--boden
draw_floor(ring,{2,2},{0,1},9)
draw_floor(ring,{17,2},{0,1},9)
draw_floor(ring,{3,2},{1,0},14)
draw_floor(ring,{3,10},{1,0},14)

if difficult then
  x1=random(13)
  x2=random(13)
  x3=random(6)
  x4=random(6)
  --oben
  set_floor("fl-gradient3",2+x1,2)
  set_floor("fl-gradient4",2+x1+1,2)
  --unten
  set_floor("fl-gradient3",2+x2,10)
  set_floor("fl-gradient4",2+x2+1,10)
  --links
  set_floor("fl-gradient1",2,2+x3)
  set_floor("fl-gradient2",2,2+x3+1)
  --rechts
  set_floor("fl-gradient1",17,2+x4)
  set_floor("fl-gradient2",17,2+x4+1)
end

-- ITEMS --
set_item("it-hollow", 2, 2);
set_item("it-hollow", 2, 10);
set_item("it-hollow", 17, 2);
set_item("it-hollow", 17, 10);

set_actor("ac-whiteball-small", 10,2.5, {player=0, essential=1})
set_actor("ac-whiteball-small", 10,10.5, {player=0, essential=1})
set_actor("ac-whiteball-small", 2.5,6.5, {player=0, essential=1})
set_actor("ac-whiteball-small", 17.5,6.5, {player=0, essential=1})
    ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
