<?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="Deathbridge" el:subtitle="" el:id="20090416ais523003"/>
      <el:version el:score="1" el:release="1" el:revision="9" el:status="released"/>
      <el:author  el:name="Alex Smith" el:email="ais523@bham.ac.uk" el:homepage=""/>
      <el:copyright>Copyright © 2009 Alex Smith</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.10"/>
      <el:modes el:easy="true" el:single="true" el:network="false"/>
      <el:score el:easy="0:55" el:difficult="0:44"/>
    </el:info>
    <el:luamain><![CDATA[
wo["ConserveLevel"] = false

ti[" "] = {"fl_space", force_y=30}
ti["."] = {"fl_rock", force_y=30}
ti["#"] = ti["."] .. {"st_granite"}
ti["!"] = {"st_death"}
ti["^"] = ti["."] .. {"st_oneway_black", orientation=NORTH}
ti["<"] = {"st_oneway_black", orientation=WEST}
ti[">"] = {"st_oneway_black", orientation=EAST}
ti["="] = {"st_rawglass_movable"} .. ti({"it_death"})
ti["o"] = ti["."] .. {"st_oxyd_e", "leftoxyd_#"}
ti["O"] = ti["."] .. {"st_oxyd_e", "rightoxyd_#"}
ti["@"] = ti["."] .. {"#ac_marble"}
if wo["IsDifficult"] then
    ti["t"] = {"it_trigger", action="callback", target="growdeath"}
else
    ti["t"] = ti[" "]
end

wo(ti," ",{
    "#####!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#####",
    "#...   <                                          >   ...#",
    "#^^^<  <                                          >  >^^^#",
    "#@..<                                                >...#",
    "#...<                                                >...#",
    "#...<                                                >...#",
    "#...<                                                >...#",
    "#...<                                                >...#",
    "o...<                                                >...O",
    "o...<                                                >...O",
    "o...<                                                >...O",
    "o...<                                                >...O",
    "#####================================================#####",
    "#####tttttttttttttttttttttttttttttttttttttttttttttttt#####"})

wo:shuffleOxyd({"leftoxyd_#*", "rightoxyd_#*", min=4})
no["leftoxyd_#*"][1]:peepall()

function growdeath(state,caller)
    wo[caller + N] = ti["!"]
end
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
