<?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="Mid-Night-Sun" el:subtitle="Light and Movement" el:id="mecke60"/>
      <el:version el:score="1" el:release="1" el:revision="4" el:status="released"/>
      <el:author el:name="mecke" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2010 Thomas Bernhardt</el:copyright>
      <el:license el:type="Donated to Enigma under the projects license" 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="10:18"/>
    </el:info>
    <el:luamain><![CDATA[
ti["  "] = {"fl_blueslab"}
ti[" !"] = {"fl_abyss"}
ti["! "] = {"st_actorimpulse_invisible"}
ti["m "] = {"it_magicwand"}
ti["oo"] = ti[" !"] .. {"it_magicwand"}
ti[" #"] = {"fl_space"}
ti[" $"] = {"fl_blueslab"}
ti["# "] = {"st_oxyd_a"}
ti["$ "] = {"st_quake"}
ti[" %"] = {"fl_sahara"}
ti[" &"] = {"fl_metal_7"}
ti[" '"] = {"fl_red"}
ti["% "] = {"st_brownmarble"}
ti[" ("] = {"fl_water"}
ti["~~"] = ti[" ("] .. {"it_magicwand"}
ti["& "] = {"st_grate_cross"}
ti["? "] = {"it_strip_ew"}
ti[" )"] = {"fl_bright"}
ti["XX"] = ti[" )"] .. {"st_grate_cross"}
ti["=="] = ti["XX"] .. {"it_wrench"}
ti["( "] = {"st_boulder_s"}
ti[") "] = {"st_boulder_e"}
ti["* "] = {"st_boulder_w"}
ti["+ "] = {"st_boulder_n"}
ti[" *"] = {"fl_redslab"}
ti[", "] = {"st_box_wood"}
ti["- "] = {"st_panel"}
ti["V "] =  ti[" ("] .. {"it_strip_ns"}
ti["Z "] = {"it_puller_n"}
ti["c "] = {"it_cherry"}
ti["bb"] = ti["V "] .. {"st_grate_cross"}
ti[". "] = {"st_puzzle_yellow", connections = "sw"}
ti["0 "] = {"st_puzzle_yellow", connections = "e"}
ti["1 "] = {"st_puzzle_yellow", connections = "nsw"}
ti["2 "] = {"st_puzzle_yellow", connections = "esw"}
ti["3 "] = {"st_puzzle_yellow", connections = "ne"}
ti["4 "] = {"st_puzzle_yellow", connections = "nesw"}
ti["5 "] = {"st_puzzle_yellow", connections = "n"}
ti["/ "] = {"st_rotator_cw", movable=true}
ti[" +"] = {"fl_bluegray"}
ti["nn"] = ti["oo"] .. {"st_actorimpulse_invisible"}
ti["NN"] = ti["~~"] .. {"st_actorimpulse_invisible"}
ti["@ "] = ti[" '"] .. {"#ac_marble_black"}
ti["aa"] = ti["@ "] .. {"st_grate_cross"}
ti["uu"] = ti[" %"] .. {"it_vortex", name="a1", destination="a2"}
ti["vv"] = ti[" %"] .. {"it_vortex", name="a2", destination="a1"}
ti["GG"] = ti[" )"] .. {"st_grate_cross"}
ti["Ptemplate"] = ti["GG"] .. {"it_trigger", target="uhu%%"}
ti["ptemplate"] = ti[" $"] .. {"st_laser_s", name="uhu%%"}
ti["Ftemplate"] = ti["GG"] .. {"it_trigger", target="puhu%%"}
ti["ftemplate"] = ti[" $"] .. {"st_laser_w", name="puhu%%"}

wo(res.composer(res.autotile(ti, {"P", "Ptemplate"}, {"p", "ptemplate"}, {"F", "Ftemplate"}, {"f", "ftemplate"})), "  ", {
    "nn #p0p1p2p3p4p5p6p7p8p9-$-$-$-$-$-$ #vv",
    " #%'================================&' #",
    "#$&(($*$)$*$)$*$)$($)$($$$ $.$0$2$2$==f1",
    "#$&()$)$*$($*$)$($*$)$($ $$$/*1$3$4$==f2",
    "#$&(*$*$($)$*$($)$($($*$ $,*$$,*1$3$==f3",
    "#$&(+$+$+$+$+$+$+$+$+$+$,* $ $$$,*5$==f4",
    "$$aa $ $ $ $ $ $ $ $ $,*Z( ( ( ( ( (&+-$",
    "$$F1 $ $ $ $,* $ $ $,* $ ( (c(c( ( (&+-$",
    "$$F2 $ $ $ $ $,* $,* $ $ (c(NNNNc( (&+-$",
    "$$F3 $ $ $ $ $ $,* $ $ $ ( (c(c( ( (&+-$",
    "$$F4 $ $ $ $ $ $ $ $ $ $ ( ( ( ( ( (&+-$",
    " #&'P0P1P2P3P4P5P6P7P8P9bbbbbbbbbbbb%' #",
    "uu #$$$$$$$$$$$$$$$$$$$$#$#$#$#$#$#$ #nn"})

wo:shuffleOxyd()
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
