<?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="Crabwise IV" el:subtitle="" el:id="devnull45"/>
      <el:version el:score="1" el:release="1" el:revision="5" 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:dependency el:path="lib/libpuzzle" el:id="lib/libpuzzle" el:release="3" el:preload="true"/>
      </el:compatibility>
      <el:modes el:easy="true" el:single="true" el:network="false"/>
      <el:comments>
        <el:credits el:showinfo="true" el:showstart="false">Level idea: Ronald Lamprecht. Thanks alot.</el:credits>
      </el:comments>
      <el:score el:easy="6:00" el:difficult="8:00"/>
    </el:info>
    <el:luamain><![CDATA[
wo["AllowSuicide"] = false
wo["ProvideExtralifes"] = not wo["IsDifficult"]
wo["FallenPuzzle"] = "= "

ti[" "] = {"fl_rock"}
ti["."] = {"fl_abyss"}
ti["X"] = ti["."] .. {"st_grate"}
ti["#"] = ti({"fl_bridge"}) .. {"st_redrock"}
ti["n"] = {"st_puzzle_blue", "pa", connections = "n", intensity = 0}
ti["e"] = {"st_puzzle_blue", "pb", connections = "e", intensity = 0}
ti["i"] = {"st_puzzle_blue_nw", intensity = 0}
ti["E"] = {"st_puzzle_blue", "pA", connections = "e", intensity = 0}
ti["C"] = {"st_puzzle_blue", "pC", connections = "nw", intensity = 0}
ti["c"] = {"st_puzzle_blue", "pc", connections = "sw", intensity = 0}
ti["S"] = {"st_puzzle_blue", "pB", connections = "s", intensity = 0}
ti["-"] = {"st_puzzle_blue_ew", intensity = 0}
ti["^"] = {"st_puzzle_blue_s", intensity = 0}
ti["<"] = {"st_puzzle_blue_e", intensity = 0}
ti["1"] = {"st_pull", "nav01"}
ti["2"] = {"st_pull", "nav02"}
ti["O"] = {"st_oxyd_a", oxydcolor = OXYD_RED, static = true}
ti["@"] = {"#ac_marble_black"}

wo(ti, " ", {
    "####################",
    "#        ..X       #",
    "#        ...  n    #",
    "# 1@     ...  i  - O",
    "#        ...  e    #",
    "#        ..#       #",
    "##^########X########",
    "#<.      ..#       #",
    "#..      ...  E    #",
    "# 2      ...  Cc-  O",
    "#        ...  S    #",
    "#        ..X       #",
    "####################"})

if wo["IsDifficult"] then
    wo:add({"ot_wire", anchor1 = "nav01", anchor2 = "pb"})
    wo:add({"ot_wire", anchor1 = "nav02", anchor2 = "pC"})
else
    wo:add({"ot_wire", anchor1 = "nav01", anchor2 = "pa"})
    wo:add({"ot_wire", anchor1 = "nav01", anchor2 = "pb"})
    wo:add({"ot_wire", anchor1 = "nav02", anchor2 = "pc"})
    wo:add({"ot_wire", anchor1 = "nav02", anchor2 = "pC"})
end

wo:add(YIN, {"it_magicwand"})
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="true"/>
        <el:translation el:lang="de">Hintenrum IV</el:translation>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
