<?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="Snippet for One" el:subtitle="Polyommatus semiargus" el:id="devnull41"/>
      <el:version el:score="1" el:release="2" el:revision="4" el:status="released"/>
      <el:author el:name="/dev/null" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2009 dev0</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.10"/>
      <el:modes el:easy="true" el:single="true" el:network="false"/>
      <el:score el:easy="2:34" el:difficult="3:21"/>
    </el:info>
    <el:luamain>
    <![CDATA[
wo["ProvideExtralifes"] = false
wo["WormholeRange"] = 0.0

ti["  "] = {"fl_redslab"}
ti[" w"] = {"it_wormhole", destination = po(10.0,  1.5)}
ti[" ."] = {"it_trigger"}

if wo["IsDifficult"] then
    ti["# "] = {"st_flat"}
    ti["+ "] = {"st_flat_movable"}
    ti["= "] = {"st_door_b", name = "doorSouth#"}
    ti["> "] = {"st_oneway_e", color = BLACK}
    ti["V "] = {"st_oneway_s", color = BLACK}
    ti["< "] = {"st_oneway_w", color = BLACK}
    ti["doorE"] = {"st_door_b", name = "doorEast%%"}
    ti["doorW"] = {"st_door_b", name = "doorWest%%"}
    ti["triggerE"] = ti[" ."] .. {"it_trigger", target = {"toogleDoorSouth", "doorEast%%"}, action = "signal"}
    ti["triggerW"] = ti[" ."] .. {"it_trigger", target = {"toogleDoorSouth", "doorWest%%"}, action = "signal"}
    ti["O "] = {"st_oxyd", oxydcolor = OXYD_BLACK}
    ti["@ "] = {"ac_marble_black", 0.0, 0.5}

    wo(res.composer(res.autotile(ti, {"E", "doorE"}, {"W", "doorW"}, {"e", "triggerE"}, {"w", "triggerW"})), "  ", {
        "# # # # # # # # # # # # # # # # # # # # ",
        "#               <   @ >               # ",
        "#   # We# # # # # # # # # # # # Ea#   # ",
        "#   Ef+ #   Wa    ec#.        #   +   # ",
        "#   ef  #   #   #     #   #   #   #.  # ",
        "#   ee      #   + ed#.    #   +   #.  # ",
        "#   Wf      #     #.wf  Ec#           # ",
        "# Wb# + # # # #   # #   # # # # + # Eb# ",
        "#             +   #.wd    +           # ",
        "#       #     + eb#.wcwa+     #       # ",
        "# #.# V # # # V # # # # V # # # V # wb# ",
        "# ea w  + WcWd    #.we    + EdEe   w#.# ",
        "# # # # # # # # = # # = # # # # # # # # ",
        "O                 # #                 O ",
        "# # # # # # # # # # # # # # # # # # # # "})

    wo:add({"ot_counter", name = "toogleDoorSouth", state = 0, target = "doorSouth#*", action_12 = "open", action_11 = "close"})
else
    ti["# "] = {"st_granite"}
    ti["= "] = {"st_rawglass"}
    ti["+ "] = {"st_rawglass_movable"}
    ti["> "] = {"st_oneway_e", color = WHITE}
    ti["V "] = {"st_oneway_s", color = WHITE}
    ti["< "] = {"st_oneway_w", color = WHITE}
    ti[" :"] = ti[" ."] .. {"it_trigger", target = "toggleOxyds", action ="signal"}
    ti["O "] = {"st_oxyd", name = "oxyds#", oxydcolor = OXYD_WHITE}
    ti["@ "] = {"ac_marble_white", 0.0, 0.5, owner = YIN, controllers = YANG}

    wo(res.composer(ti), "  ", {
        "O # # # # # # # # # # # # # # # # # # O ",
        "#               <   @ >               # ",
        "#   # # # # # # # # # # # # # # # #   # ",
        "#       #          :=.        #   +   # ",
        "#    :  #   #   #     #   #   #   =.  # ",
        "#    :      #   +  :=.    #       =.  # ",
        "#           #     =. :    #     +     # ",
        "#   # + # # # #   # #   # # # # + #   # ",
        "#   +         +   =. :    +           # ",
        "#       #     +  :=. : :+     #       # ",
        "# =.# V # # # V # # # # V # # # V #  :# ",
        "#  : w  +         =. :        +    w=.# ",
        "O # # # # # # # # # # # # # # # # # # O "})

    wo:add({"ot_counter", name = "toggleOxyds", state = 0, target = "oxyds#*", action_12 = "open", action_11 = "close"})
end
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
