<?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="Indoor Pool" el:subtitle="" el:id="nat1"/>
      <el:version el:score="1" el:release="1" el:revision="0" el:status="released"/>
      <el:author  el:name="Nat Pryce" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2002 Nat Pryce</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="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)
oxyd_default_flavor = "a"       -- Default flavor for oxyd stones.

draw_border("st-metal")    
fill_floor("fl-leaves")
fill_floor("fl-gray", 5,3, level_width-10, level_height-6 )
set_floor("fl-gray", level_width-5, level_height/2 )

draw_stones( "st-puzzle", {0, 6}, {1,0}, 6, {connections=PUZ_0101} )
set_stone( "st-puzzle", 6, 6, {connections=PUZ_0001} )
set_stone( "st-metal", 7, 6 )

draw_stones( "st-metal", {5,2}, {1,0}, 5 )
draw_stones( "st-metal", {9,3}, {1,0}, 6 )
draw_stones( "st-metal", {14,3}, {0,1}, 3 )
set_stone( "st-metal", 15, 5 )

draw_stones( "st-metal", {5,10}, {1,0}, 5 )
draw_stones( "st-metal", {9,9}, {1,0}, 6 )
draw_stones( "st-metal", {14,9}, {0,-1}, 3 )
set_stone( "st-metal", 15, 7 )

draw_stones( "st-metal", {5,4}, {1,0}, 3 )
draw_stones( "st-metal", {5,8}, {1,0}, 3 )

draw_stones( "st-metal", {10,5}, {1,0}, 3 )
draw_stones( "st-metal", {10,7}, {1,0}, 3 )

draw_floor( "fl-water", {9,6}, {1,0}, 4 )

draw_stones( "st-grate1", {6,3}, {0,2}, 4 )
draw_stones( "st-wood",   {7,3}, {0,2}, 4 )
draw_stones( "st-wood",   {8,5}, {0,2}, 2 )

set_stone( "st-wood", 14, 2 )
set_stone( "st-wood", 15, 3 )
set_stone( "st-wood", 14, level_height-3 )
set_stone( "st-wood", 15, level_height-4 )

set_item( "it-trigger", 11,4, {action="openclose", target="door1"})
set_item( "it-trigger", 11,8, {action="openclose", target="door2"})

oxyd(1,1)
set_stone( "st-metal", 2, 1 )
set_stone( "st-metal", 2, 2 )
doorv( 2, 3, {name="door1"} )
set_stone( "st-metal", 2, 4 )
set_stone( "st-metal", 2, 5 )
oxyd(1,5)

oxyd(1,level_height-2)
set_stone( "st-metal", 2, level_height-2 )
set_stone( "st-metal", 2, level_height-3 )
doorv( 2, level_height-4, {name="door2"} )
set_stone( "st-metal", 2, level_height-5 )
set_stone( "st-metal", 2, level_height-6 )
oxyd(1,level_height-6)

oxyd_shuffle()

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