<?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="Lotsa Triggers" el:subtitle="" el:id="wb3"/>
      <el:version el:score="1" el:release="1" el:revision="0" el:status="released"/>
      <el:author  el:name="Jon 'WB' Sneyers" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2003 Jon 'WB' Sneyers</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="0.92">
       <el:dependency el:path="lib/ant" el:id="lib/ant" el:release="1" el:preload="true"/>
      </el:compatibility>
      <el:modes el:easy="true" el:single="true" el:network="false"/>
      <el:comments>
        <el:code>Lua 5.1 and XML converted by Leveladministrators</el:code>
      </el:comments>
      <el:score el:easy="-" el:difficult="-"/>
    </el:info>
    <el:luamain><![CDATA[
cells={}

cells[" "]=cell{floor="fl-tigris"}
cells[";"]=cell{floor="fl-samba"}
cells[":"]=cell{floor="fl-stone"}
cells["w"]=cell{stone="st-wood"}
cells["i"]=cell{stone="st-stoneimpulse"}

cells["="]=cell{stone="st-rock5"}
cells["#"]=cell{stone="st-rock6"}
cells["."]=cell{floor="fl-abyss"}

cells["H"]=cell{stone="st-chameleon"}

cells["&"]=cell{{{oneway, EAST}}}
cells["%"]=cell{{{oneway, WEST}}}

cells["V"]=cell{parent=cells[" "], stone="st-bolder-s"}
cells[">"]=cell{parent=cells[" "], stone="st-bolder-e"}
cells["<"]=cell{parent=cells[" "], stone="st-bolder-w"}
cells["^"]=cell{parent=cells[" "], stone="st-bolder-n"}

cells["a"]=cell{stone={face="st-door", attr={name="doorA", type="v"}}}
cells["c"]=cell{stone={face="st-door", attr={name="doorC", type="h"}}}
cells["A"]=cell{item= {face="it-trigger", attr={action="open", target="doorA"}}}
cells["B"]=cell{item= {face="it-trigger", attr={action="close", target="doorA"}}}
cells["C"]=cell{item= {face="it-trigger", attr={action="open", target="doorC"}}}
cells["D"]=cell{item= {face="it-trigger", attr={action="close", target="doorC"}}}
cells["O"]=cell{actor={face="ac-blackball", attr={player=0}}}
cells["0"]=oxyd

if not difficult then
    cells["1"]=cells[";"]
    cells["2"]=cells["#"]
else
    cells["1"]=oxyd
    cells["2"]=oxyd
end

level = {      
   "####################",
   "#OAABDA0############",
   "###A################",
   "###A################",
   "###A##0#0###0###C###",
   "###A##B#D###D#0DBB0#",
   "###A##B#DD##B#DD#BB#",
   "###A##B#BBB2D#D2#2B#",
   "###A##B#B2BBB#DDDDB#",
   "###A##B#B##BB#D2#2B#",
   "###A##B#c##2B#D###B#",
   "##1;;;;D;;a;;B;;;;A#",
   "####################",
}
--  01234567890123456789

oxyd_default_flavor = "c"
set_default_parent(cells[" "])
create_world_by_map(level)
oxyd_shuffle()
set_item("it-magicwand", 15,3)
    ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
