<?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="West Wind" el:subtitle="" el:id="andreas67"/>
      <el:version el:score="1" el:release="1" el:revision="1" el:status="released"/>
      <el:author el:name="Andreas Lochmann" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2014 Andreas Lochmann</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="1:38" el:difficult="1:24"/>
    </el:info>
    <el:luamain><![CDATA[
wo["ConserveLevel"] = false
wo["ProvideExtralifes"] = false
wo["GlobalForce"] = cond(wo["IsDifficult"], po(4.0, 0.0), po(0.8, 0.0))

ti[" "] = {"fl_dark"}
ti["-"] = {"it_crack_l", spreading = 0}
ti["@"] = {"#ac_marble_black"}
ti["#"] = {"st_camouflage"}
ti["O"] = {"st_oxyd", oxydcolor = OXYD_PINE}
ti["Q"] = {"st_oxyd", oxydcolor = OXYD_GREEN}

ti["N"] = {"st_oneway", orientation = NORTH}
ti["S"] = {"st_oneway", orientation = SOUTH}
ti["E"] = {"st_oneway", orientation = EAST}
ti["W"] = {"st_oneway", orientation = WEST}
ti["P"] = {"st_puzzle", cluster = 1}
ti["B"] = {"st_plop"}
ti["p"] = ti["-"] .. ti["P"]

ti["1"] = {"it_trigger", target = "doorA"}
ti["a"] = {"st_door", "doorA", flavor = "a"}
ti["2"] = {"it_trigger", target = "doorB"}
ti["b"] = {"st_door", "doorB", flavor = "a"}
ti["3"] = {"it_trigger", target = "doorC"}
ti["c"] = {"st_door", "doorC", flavor = "a"}
ti["4"] = {"it_trigger", target = {"doorD", "doorF"}}
ti["d"] = {"st_door", "doorD", flavor = "a"}
if wo["IsDifficult"] then
    ti["f"] = {"st_door", "doorF", flavor = "a", state = OPEN}
else
    ti["f"] = {"st_door", "doorF", flavor = "a", state = CLOSED}
end
ti["5"] = {"it_trigger", target = "doorE"}
ti["e"] = {"st_door", "doorE", flavor = "a"}
ti["k"] = {"it_key"} .. ti["f"]
ti["L"] = {"st_key", target = "doorL"}
ti["l"] = {"st_door", "doorL", flavor = "a"}

wo(ti, " ", {
    "####################",
    "#     4    a d     #",
    "# # ####### ##-#O# #",
    "# - #Q#@#Q#  -   - #",
    "#B- #e# # E ##PP # #",
    "# -B#   # #  EPp # #",
    "#3# ## ##c#PP# E B #",
    "#1- E PP   PP# #-#2#",
    "# ### PP### ####b#k#",
    "#        E   EPP ###",
    "# #B##O#PP ###PP  5#",
    "#    -  PP   l     L",
    "####################"})
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
