<?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="Diving" el:id="20061203joona500"/>
      <el:version el:score="1" el:release="1" el:revision="0" el:status="released"/>
      <el:author el:name="Joona Laire" el:email="joona.laire@gmail.com"/>
      <el:copyright>Copyright © 2006 Joona Laire</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.00">
        <el:dependency el:path="lib/ant" el:id="lib/ant" el:release="1" el:preload="true"/>
      </el:compatibility>
      <el:modes el:easy="true" el:single="true" el:network="false"/>
      <el:score el:easy="-" el:difficult="-"/>
    </el:info>
    <el:luamain><![CDATA[
cells={}
cells[" "]=cell{floor={"fl-water",{force_y=-5}}}
cells["X"]=cell{stone="st-bumps"}
cells["+"]=cell{actor="ac-blackball"}
cells["0"]=cell{oxyd}
cells["a"]=cell{floor={"fl-abyss_fake",{force_y=17}}}
cells["g"]=cell{floor={"fl-darkgray",{force_y=17}}}
cells["L"]=cell{stone="st-rock5"}
cells["S"]=cell{stone="st-stone2"}
cells["*"]=cell{actor={"ac-top", {controllers=0,force=30,range=10}}, floor="fl-water"}
cells["P"]=cell{stone="st-camouflage"}

if difficult then
    cells["o"]=cell{oxyd}
else
    cells["o"]=cell{floor={"fl-water",{force_y=-5}}}
end

level = {
--                     !                  !
   "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
   "XaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaX",
   "XaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaX",
   "XaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaX",
   "XaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaX",
   "XaaaaaaaaaaaaaaaaaaaaaaLLLLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaX",
   "XaaaaaaaaaaaaaaaaaaaaaaLgggaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaX",
   "XaaaaaaaaaaaaaaaaaLLgggL0+LgggggggggLLaaaaaaaaaaaaaaaaaaaX",
   "XaaaaaaaaaaaaaaaaaaLLLLLLLLLLLLLgLLLLaaaaaaaaaaaaaaaaaaaaX",
   "X                   LL0gggggggggggLL                     X",
   "X                    LLLLLLLLLLLLLL                      X",
   "X                                                        X",
   "X                                                        X", -- !!
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X             *                                          X", -- !!
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                 P                      X",
   "X                                P P    PP               X",
   "X      P    PPPP                P   PPPP                 X",
   "X     P0PPPP    PP             P                         X",
   "X  PPP            PP          P                          X",
   "XPP                 P        P                           X",
   "X                    PP     P                            X", -- !!
   "X                    PP    P                             X",
   "X                      P   P                             X",
   "X                      PPPP                              X",
   "X                         P                              X",
   "X                         P                              X",
   "X                         P                              X",
   "X                         P                              X",
   "X                         P     *                        X",
   "X                         P                              X",
   "X                         P                              X",
   "X                                                        X",
   "X                                                        X", -- !!
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                                        X",
   "X                                         S              X",
   "X                                         S              X",
   "X        PPPP                      S     SS              X",
   "X     PPP    P                    S     SS               X", -- !!
   "X   PP                           S     S      XXXXXXXXXXXX",
   "XPPP                            S     S   SXXXXXXXXXXXXXXX",
   "X               P                S   S  SSS         XXXXXX",
   "X              P P     PPP        SSSS  SS  XXXXXXX XXXXXX",
   "X             P   PP  P   P       S    SS  XXXXXXXX  XXXXX",
   "X          P        PP     PPP    S SSSS0 XXXXXXXXXX  XXXX",
   "X P P    PP PP                P  SS  SSXXXXXXXXXXXXXX  XXX",
   "XP P PPPPP    PPP              PS   SSXXXXXXXXXXXXXXXX  XX",
   "X                             SSS SSSXXXXXXXXXXXXXXXXXX XX",
   "X                               S  X0 XXXXXXXXXXXXXX     X",
   "X                               XX    XXXXXXXXXX         X",
   "X                                XXXXXXXXXXX             X", -- !!
   "X                                                        X",
   "X                                                        X",
   "X        *                                               X",
   "X                                SS                      X",
   "X                               S  S                  S  X",
   "X                              S    S               SS   X",
   "X                                    S             SS    X",
   "X                                     S     SSSSSSSS     X",
   "X                                     SSSSSS     SS      X",
   "X                          SS   SSSSSSS  S   S  SS       X",
   "X                           SSS  S    SS    S           XX",
   "X                            SS  S  S0S  SSSSSSSX      XXX", -- !!
   "X                             SS    SSS SSS    XXX    XXXX",
   "X                              SSSSSS0  XXXXXXXXXXXX  XXXX",
   "X                               XXXXXXXXXXXXXXXXXXXXXXXXXX",
   "X                              XXXXXXXXXXXXXXX   XXXXXXXXX",
   "X                             XXXXXXXXXXX          XXXXXXX",
   "X                               XXXXXX               XXXXX",
   "X                                                      XXX",
   "X                  P                                   XXX",
   "X                   P                                  XXX",
   "X                   P                                   XX",
   "X                   P                                   XX",
   "X                  P                                    XX", -- !!
   "X                 P                                     XX",
   "X      PP        PP                                     XX",
   "X     P   PPPP  PP                                       X",
   "X     P PP   P PP              S                         X",
   "X     P  P S  PPP             S                          X",
   "X    P   P S    PPPP         S   P  P                    X",
   "X     P    SS      PP       S    P   P                   X",
   "X      P   SS       PP     S    P  P P                   X",
   "X   PP  PP SSSSS     PP   S    P PP   P                  X",
   "X    P    PSS0 SSSS  P   S     PP     P                  X",
   "X PP  P    SS  S  S SS  S     P   PP  P                  X",
   "XP P   PPP SS  S     SSSS   SSS     PP                   X", -- !!
   "X  P      PSSS   S  S   SSSS   SPP  PP   P   PP          X",
   "X   P     PXX SSSS    S   S   So   SS   P   P  P         X",
   "X P      XXXXXX  SSSSS   S  S SSSSSS   PP  PPPPPP        X",
   "X  P XXXXXXXXXXXXXX SSSS   S   SSS   PPP  P      P       X",
   "X XXXXXXXXXXXXXXXXXX   SSSSo SSS    P    P  PP PP P      X",
   "X XXXXXXXXXXXXXXXXXXXXXX  SSSS     P   PP  P  P  P P XXXXX",
   "X   XXXXXXXXXXXXXXXXXXXXXXXXX     P  PPPP P      XXXXXXXXX",
   "XPP   XXXXXXXXXXXXXXXXXXXXXXXXXXXXX         XXXX   XXXXXXX",
   "X     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX  XXXXXX",
   "X XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   XXXX",
   "X  oXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   oX",
   "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
--                     !                  !
}

oxyd_default_flavor = "c"
set_default_parent(cells["g"])
create_world_by_map(level,cells)
oxyd_shuffle()

if difficult then
    enigma.WaterSinkSpeed = 0.18
else
    enigma.WaterSinkSpeed = 0.10
end

display.SetFollowMode(display.FOLLOW_SMOOTH)

    ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
