<?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="Oxyd 30" el:id="meditation9"/>
      <el:version el:score="1" el:release="1" el:revision="0" el:status="released"/>
      <el:author  el:name="Siegfried Fennig" el:email="" el:homepage=""/>
      <el:copyright>Copyright © Siegfried Fennig</el:copyright>
      <el:license el:type="Donated to Enigma under the projects license" el:open="true"/>
      <el:compatibility el:enigma="0.92" el:engine="oxyd1">
      </el:compatibility>
      <el:modes el:easy="false" 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="-"/>
    </el:info>
    <el:luamain><![CDATA[
levelw = 20
levelh = 13

create_world(levelw, levelh)
draw_border("st-metal")
fill_floor("fl-bluegreen", 0,0, levelw,levelh)

draw_stones("st-metal", {4,1}, {0,1},2)
draw_stones("st-metal", {4,4}, {0,1},2)
draw_stones("st-metal", {4,7}, {0,1},5)
draw_stones("st-metal", {15,1}, {0,1},5)
draw_stones("st-metal", {15,7}, {0,1},5)
draw_stones("st-metal", {1,5}, {1,0},3)
set_stones("st-metal", {{1,7},{3,7},{16,5},{16,7},{18,5},{18,7}})

set_floor("fl-bridge",  4,3, {name="bridge1"})
set_floor("fl-bridge",  2,7, {name="bridge2"})
set_floor("fl-bridge", 17,5, {name="bridge3"})
set_floor("fl-bridge", 17,7, {name="bridge4"})

function sdot1()
    SendMessage("bridge1", "openclose")
    SendMessage("bridge2", "openclose")
end

function sdot2()
    SendMessage("bridge3", "openclose")
    SendMessage("bridge4", "openclose")
end

shogundot1(4,6, {action="callback", target="sdot1"})
shogundot1(15,6, {action="callback", target="sdot2"})

set_stone("st-shogun", 6,6)
set_stone("st-shogun", 13,6)

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",  7.5, 3.5, {player=0, mouseforce=1, essential=1})
set_actor("ac-whiteball-small",  13.5,2.5, {player=0, mouseforce=1, essential=1})
set_actor("ac-whiteball-small", 8.5, 9.5, {player=0, mouseforce=1, essential=1})
set_actor("ac-whiteball-small", 11.5,10.5, {player=0, mouseforce=1, essential=1})
    ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
