<?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="Fight of Elements" el:subtitle="" el:id="20090403ral538"/>
      <el:version el:score="1" el:release="1" el:revision="$Revision: 172 $" el:status="released"/>
      <el:author el:name="Ronald Lamprecht" el:email="ral@users.berlios.de" el:homepage=""/>
      <el:copyright>Copyright © 2009 Ronald Lamprecht</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.10">
      </el:compatibility>
      <el:modes el:easy="true" el:single="true" el:network="false"/>
      <el:score el:easy="2:18" el:difficult="4:59"/>
    </el:info>
    <el:luamain><![CDATA[

wo["ConserveLevel"] = true

ti[","] = {"fl_tigris"}
ti[" "] = {"fl_lawn", secure=true}
ti["+"] = {"fl_water_source"}
ti["="] = {"fl_hay", floodable=true}
ti["~"] = ti["="] .. ti{"it_crack_s"}
ti["$"] = {"fl_lawn", initfire=true, eternal=true} 
ti["#"] = {"st_granite"}
ti["@"] = {"#ac_marble"} .. ti[" "]
ti["."] = {"it_crack_m"}
ti["*"] = {"st_oxyd_d", "oxyd#"}

if wo["IsDifficult"] then
    ti["p"] = {"it_puller_s"}
    ti["r"] = {"it_puller_n"}
    ti["s"] = {"it_seed", secure=true}
    ti["O"] = {"st_pull"} .. ti[" "]
    ti["-"] = {"st_window_e", secure=true} .. ti["~"]
    ti["|"] = {"st_window_w", secure=true} .. {"fl_lawn", secure=true, eternal=true} .. ti{"it_burnable_oil"}
else
    ti["p"] = {"it_puller_e"}
    ti["r"] = {"it_ring"}
    ti["s"] = {"it_seed"}
    ti["O"] = {"st_lightglass_hollow"} .. ti[" "]
    ti["-"] = {"st_window_e", secure=true} .. ti["="]
    ti["|"] = {"st_window_w", secure=true} .. ti[" "]
end
w, h = wo(ti, ",", {
 -- 01234567890123456789
   "                   ",
   "         @         ",
   "  ~~~~~~~~~~~~~~~  ",
   "  ~.............~  ",
   "  ~.*.*.*.*.*.*.~  ",
   "# ~.............~ #",
   "$|~.*..r.s.p..*.~-+",
   "# ~.............~ #",
   "  ~.*.*.*.*.*.*.~  ",
   "  ~.............~  ",
   "  ~~~~~~~~~~~~~~~  ",
   "         O         ",
   "                   "
})

wo:shuffleOxyd({no["oxyd#*"]:sort("circular"), circular=true})

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