<?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="Serious Patching" el:subtitle="Per.Oxyd 73" el:id="level8f"/>
      <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 © 2003 Siegfried Fennig</el:copyright>
      <el:license el:type="GPL version 2" el:open="true"/>
      <el:compatibility el:enigma="0.92" el:engine="per.oxyd">
      </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[
create_world( 20, 13)
draw_border("st-rock4")
fill_floor("fl-himalaya")

oxyd_default_flavor = "d"

oxyd( 1, 0)
oxyd(12, 0)
oxyd(18, 0)
oxyd( 1,12)
oxyd( 4,12)
oxyd(18,12)

oxyd_shuffle()

fill_floor("fl-water", 4, 8, 1,1)
fill_floor("fl-water", 8, 6, 1,1)
fill_floor("fl-water",11, 4, 1,1)
fill_floor("fl-water",13,10, 1,2)
fill_floor("fl-water",14, 3, 1,1)

draw_stones( "st-stoneimpulse", { 2, 5}, {0,1}, 4)
draw_stones( "st-stoneimpulse", { 2, 9}, {1,0}, 2)
draw_stones( "st-stoneimpulse", { 4, 3}, {0,1}, 5)
draw_stones( "st-stoneimpulse", { 4, 9}, {0,1}, 2)
draw_stones( "st-stoneimpulse", { 6, 3}, {1,0}, 2)
draw_stones( "st-stoneimpulse", { 6, 5}, {0,1}, 4)
draw_stones( "st-stoneimpulse", { 6,10}, {0,1}, 2)
draw_stones( "st-stoneimpulse", { 7,10}, {1,0}, 2)
draw_stones( "st-stoneimpulse", { 8, 2}, {0,1}, 2)
draw_stones( "st-stoneimpulse", { 8, 5}, {1,0}, 2)
draw_stones( "st-stoneimpulse", { 8, 7}, {0,1}, 3)
draw_stones( "st-stoneimpulse", {10, 7}, {1,0}, 4)
draw_stones( "st-stoneimpulse", {10, 9}, {1,0}, 5)
draw_stones( "st-stoneimpulse", {11, 1}, {0,1}, 3)
draw_stones( "st-stoneimpulse", {13, 1}, {0,1}, 6)
draw_stones( "st-stoneimpulse", {15, 4}, {0,1}, 5)
draw_stones( "st-stoneimpulse", {17, 2}, {0,1},10)
set_stones("st-stoneimpulse", {{2,1},{2,11},{6,1},{11,5}})
draw_stones( "st-rock4", { 2, 3}, {1,0}, 2)
set_stones("st-rock4", {{10,5},{12,10},{15,3},{15,9}})
set_stones("st-wood", {{5,4},{8,4},{9,3},{10,2},{15,10}})
set_stones("st-block", {{5,3},{12,4},{12,11},{14,4}})

set_stone("st-door", 1, 1, {name="door1", type="h"})
set_item("it-trigger", 1, 9, {action="openclose", target="door1"})
set_stone("st-door", 2, 2, {name="door2", type="v"})
set_item("it-trigger",14, 8, {action="openclose", target="door2"})
set_stone("st-door",18,11, {name="door3", type="h"})
set_item("it-trigger",15,11, {action="callback", target="xx1"})
set_floor("fl-bridge",16, 3, {name="bridge1", type="y"})
set_floor("fl-bridge",18, 4, {name="bridge2", type="y"})

function xx1()
       doora=enigma.GetNamedObject("door3")
       bridgea=enigma.GetNamedObject("bridge1")
       bridgeb=enigma.GetNamedObject("bridge2")
       SendMessage(doora, "openclose")
       SendMessage(bridgea, "openclose")
       SendMessage(bridgeb, "openclose")
end

set_actor("ac-blackball", 3.5, 1.5)
    ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
