<?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="Growing Boxes" el:subtitle="" el:id="luc26"/>
      <el:version el:score="1" el:release="2" el:revision="2" el:status="released"/>
      <el:author  el:name="Lukas Schüller" el:email="Lucky_Luc@web.de" el:homepage=""/>
      <el:copyright>Copyright © 2006 Lukas Schüller</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:code>New API converted by R. Bourquin</el:code></el:comments>
      <el:score el:easy="-" el:difficult="-"/>
    </el:info>
    <el:luamain><![CDATA[
wo["ConserveLevel"] = false

ti[" "] = {"fl_tigris"}
ti["."] = {"fl_abyss"}
ti["-"] = {"fl_bridge", name="bridge"}
ti["#"] = {"st_redbrown"}
ti["H"] = {"st_redbrown_hollow"}
ti["X"] = {"st_grate", flavor="cross"} .. ti({"it_meditation_bump"})
ti["+"] = {"st_box"}
ti["G"] = {"st_greenbrown"}
ti["V"] = {"st_flat"}
ti["D"] = {"st_door", flavor="a", name="door", state=OPEN}
ti["S"] = {"st_switch", target={"bridge", "door"}}
ti["s"] = {"it_seed"}
ti["n"] = {"it_seed", flavor="greenbrown"}
ti["v"] = {"it_seed", flavor="volcano"}
ti["doc"] = {"it_document", text="text%%"}
ti["O"] = {"st_oxyd"}
ti["@"] = {"#ac_marble"}

wo(res.autotile(ti, {"1", "5", "doc"}), " ", {
    "...................#########################+GV###########",
    "...................#..................#     snv        #O#",
    "...................H.     #..       ..#                # #",
    "...................H. + + #..       ..#                # #",
    "...................H.     #..       ..#                # #",
    "...................H.     #..s####  ..#                # #",
    "..................sH. @5+ X1.sD3S#  ..-4               . #",
    "..................2H.     #..s####  ..#                # #",
    "...................H.     #..       ..#                # #",
    "...................H. + + #..       ..#                # #",
    "...................H.     #..       ..#                # #",
    "...................#..................#                #O#",
    "...................#######################################"})
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
      <el:string el:key="text%1">
        <el:english el:translate="true">You'd need a portable box!</el:english>
      </el:string>
      <el:string el:key="text%2">
        <el:english el:translate="true">Congratulations! You found a seed! Try to use it behind the grate (and move away quickly)</el:english>
      </el:string>
      <el:string el:key="text%3">
        <el:english el:translate="true">Remember that you can't fill a closed bridge with a box ...                                           but maybe you can use the 3rd seed differently!</el:english>
      </el:string>
      <el:string el:key="text%4">
        <el:english el:translate="true">There are different kinds of seeds ... Try to use them!</el:english>
      </el:string>
      <el:string el:key="text%5">
        <el:english el:translate="true" el:comment="read from the right">Noitcerid etisoppo eht yrt! Tuo syaw owt? Rorrim, rorrim ...</el:english>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
