<?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="Out of Hand" el:subtitle="Or is it out of control?" el:id="Hairball_004"/>
      <el:version el:score="1" el:release="1" el:revision="2" el:status="released"/>
      <el:author el:name="Hairball" el:email="hairball@ramblemuse.com"/>
      <el:copyright>Copyright c 2009 Hairball</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:score el:easy="-" el:difficult="0:09"/>
    </el:info>
    <el:luamain><![CDATA[
ti[" "] = {"fl_bast"}
ti["#"] = {"st_greenbrown"}
ti["o"] = {"st_oxyd", "ox#"}
ti["."] = {"#ac_marble_black"}
ti["t"] = {"st_timer"}

wo(ti, " ", {
    "to################ot",
    "o                  o",
    "# .                #",
    "#                  #",
    "#                  #",
    "#                  #",
    "#                  #",
    "#                  #",
    "#                  #",
    "#                  #",
    "#                  #",
    "o                  o",
    "to################ot"})

type = 0

function eval()
   if type == 0 then
      wo[{10,6}]={"ac_rotor",0,0.5,range=30}
   else
      wo[{10,6}]={"ac_top",0,0.5,range=30}
   end
   type = 1-type
end

wo[{0,0}]={"st_timer",action="callback",target="eval"}

wo:shuffleOxyd({no["ox#*"]:sort("circular"), circular=true})
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
