<?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="Life Seed" el:subtitle="" el:id="zephyr06"/>
      <el:version el:score="1" el:release="1" el:revision="2" el:status="released"/>
      <el:author el:name="Zephyr" el:email=""/>
      <el:copyright>Copyright © 2009 Zephyr</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="true"/>
      <el:score el:easy="-" el:difficult="-"/>
    </el:info>
    <el:luamain><![CDATA[
wo["ProvideExtralifes"] = false

ti[" "] = {"fl_bright"}
ti["*"] = {"fl_red"} .. ti({"#ac_rotor", strength=100.0, prefercurrent=1.0, range=20.0})
ti["X"] = {"st_grate"}
ti["#"] = {"st_rawglass"}
ti["D"] = {"st_door", flavor="a", name="door#"}
ti["M"] = {"st_mail_w"}
ti["="] = ti["#"] .. {"it_pipe_ew"}
ti["L"] = ti["#"] .. {"it_pipe_ne"}
ti["N"] = ti["#"] .. {"it_pipe_sw"}
ti["a"] = ti["#"] .. {"it_seed_volcano", _product="it_seed_volcano", _stock=8}
ti["b"] = ti["#"] .. {"it_pipe_ne", _product="it_pipe_ne", _stock=1}
ti["c"] = ti["#"] .. {"it_pipe_ns", _product="it_pipe_ns", _stock=8}
ti["d"] = ti["#"] .. {"it_pipe_es", _product="it_pipe_es", _stock=1}
ti["e"] = ti["#"] .. {"it_pipe_ew", _product="it_pipe_ew", _stock=10}
ti["f"] = ti["#"] .. {"it_pipe_sw", _product="it_pipe_sw", _stock=1}
ti["S"] = {"st_switch", target="vendor"}
ti["s"] = {"st_switch", target="door#*", action="open"}
ti["O"] = {"st_oxyd"}
ti["@"] = {"#ac_marble_black"}
ti["A"] = {"#ac_marble_white"}

wo(ti, " ", {
    "####################",
    "###*DXXXD*##s     Sa",
    "####XXXXX####  @  ##",
    "#*###XXX###*#     Sb",
    "#DX#O#XDO#XD#     ##",
    "#XXXDXXX#XXX#     Sc",
    "#XXXXXAXXXXX#     ##",
    "#XXX#XXXDXXX#     Sd",
    "#DX#ODX#O#XD#     ##",
    "#*###XXX#N#*#     Se",
    "####XXXXXLN##     ##",
    "###*DXXXD*L=M     Sf",
    "####################"})

wo:shuffleOxyd()

function vendor(value, sender)
    store = it(sender + E)
    if store["_stock"] > 0 then
        store["_stock"] = store["_stock"] - 1
        wo[sender + W] = {store["_product"]}
    end
end
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
