<?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="Laser Squad" el:subtitle="Fight the Light" el:id="duffy153"/>
      <el:version el:score="2" el:release="2" el:revision="3" el:status="released"/>
      <el:author  el:name="Jacob Scott" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2007 Jacob Scott</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 /dev/null (July 2009)</el:code></el:comments>
      <el:score el:easy="-" el:difficult="-"/>
    </el:info>
    <el:luamain><![CDATA[
ti[" "] = {"fl_bluegreen"}
ti["#"] = {"st_greenbrown"}
ti["X"] = {"st_rawglass"}
ti["7"] = {"st_mirror", orientation = EAST, movable = true}
ti["9"] = {"st_mirror", orientation = WEST, movable = true}
ti["L"] = {"st_laser_w", "laser", state = ON}
ti["switches"] = {"st_switch", target = "door%%"}
ti["doors"] = {"st_door", "door%%", faces ="ew", state = CLOSED}
ti["triggers"] = {"it_trigger", target = "laser%%", action = "on"}
ti["lasers"] = {"st_laser_n", "laser%%", state = OFF}
ti["o"] = {"st_oxyd", "north#"}
ti["O"] = {"st_oxyd", "south#"}
ti["@"] = {"#ac_marble_black"}

wo(res.autotile(ti, {"a", "b", "switches"}, {"A", "B", "doors"}, {"c", "d", "triggers"}, {"C", "D", "lasers"})," ", {
    "79################o#",
    "9X                 L",
    "#  # ## ## ## ## # #",
    "# ##o##o##o##o##o#o#",
    "#  #################",
    "# ###O###O###O###O##",
    "#  ## ### ### ### ##",
    "7X                 #",
    "97# ### ### ### ## #",
    "###O###O###O###O## #",
    "################## #",
    "#aB@          cd A #",
    "########CD######b#o#"})

wo:shuffleOxyd({"north#*", max=0}, {"south#*", max=0})
wo:add({"ot_timer", interval=1.25, target="laser"})
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
