<?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="Flood puzzles" el:subtitle="" el:id="raoul38"/>
      <el:version el:score="1" el:release="3" el:revision="3" el:status="released"/>
      <el:author  el:name="Raoul Bourquin, Jacob Scott" el:email=""/>
      <el:copyright>Copyright © 2009 Raoul Bourquin</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.10"/>
      <el:modes el:easy="false" el:single="true" el:network="false"/>
      <el:comments>
        <el:credits el:showinfo="true">Initially based on an old (probably unfinished) level from Jacob Scott</el:credits>
      </el:comments>
      <el:score el:easy="-" el:difficult="-"/>
    </el:info>
    <el:luamain><![CDATA[
ti[" "] = {"fl_rough", floodable=true}
ti["-"] = {"fl_rough"}

ti["~"] = {"fl_water"}
ti["."] = {"fl_water_source", interval=0.5}

ti[":"] = {"fl_space", floodable=true}

ti["="] = {"fl_wood_framed"}
ti["_"] = {"fl_wood_framed", floodable=false}

ti["<"] = {"fl_slope_pw", floodable=false}
ti["V"] = {"fl_slope_ps", floodable=false}
ti[">"] = {"fl_slope_pe", floodable=false}
ti["^"] = {"fl_slope_pn", floodable=false}

ti["#"] = {"st_granite"}
--ti["#"] = {"st_rawglass"}


ti["M"] = {"st_granite_movable"}
ti["H"] = {"st_granite_hollow"}

ti["D"] = {"st_door", flavor="a", name="door#"}

ti["B"] = {"st_brownie"}
ti["X"] = {"st_grate_cross"}

ti["R"] = {"st_rawglass"}
ti["r"] = {"st_rawglass_quad"}

ti["P"] = {"st_plop"}

ti["x"] = ti[":"] .. ti["X"]

ti["+"] = {"st_box"}
ti["*"] = ti[":"] .. {"st_box"}

ti["?"] = ti["~"] .. {"st_puzzle", cluster=1}
ti["!"] = {"st_puzzle", cluster=1}
ti["m"] = ti["M"] .. {"it_magicwand"}

ti["t"] = {"it_trigger", target="@door#*", action="open"}
ti["T"] = ti["-"] .. {"it_trigger", target="@door#*", action="open"}

ti["s"] = {"it_spring_keep"}
ti["e"] = {"it_extralife"}
ti["f"] = {"it_flag"}
ti["u"] = {"it_seed"}


ti["E"] = ti["M"] .. ti["e"]
ti["S"] = ti["u"] .. {"st_rawglass_movable"}

ti["G"] = ti["R"] .. ti["e"]


ti["F"] = ti["H"] .. ti["e"]

ti["O"] = {"st_oxyd", flavor="a"}

ti["@"] = ti({"it_strip"}) .. {"#ac_marble_black"}

wo(ti, " ", {
    "##########################################################",
    ".O?# > #   #       ~+~     +~     ~    +~  +  #      t D.#",
    ".#   #  X# #VMM##########################s###   ######V###",
    ".#+# # m # # M   ~~   + ~  t  ~  P~   T-###~#####    #   #",
    ".#   #  @#.Dt  ######~~~###D###??###e##-D         ## ###~#",
    ".###t###########   #######   ###??#####~# ######### X###+#",
    ".D               +      ~  #   +    ~     +     ~+ BB< ~t#",
    ".# ##G##e#######rrr#######   ######H###~# #########X #D###",
    ".#E##F##M###r####r###++####D##!!XRRS###-#           ##.#?O",
    ".# ~+~>:::::*:x:::::<~= + t~+~! PX>~+ t Df###########..#V#",
    ".#u###########?############################~  u# !?X##D#!#",
    ".D  t   <::x::x:*::::>~+~+~+~+~+~ ??  X<   ~~+~< ~M ~ t ^#",
    "################################################### ######"})
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
