<?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="Troy" el:subtitle="" el:id="andreas37"/>
      <el:version el:score="1" el:release="1" el:revision="0" el:status="released"/>
      <el:author  el:name="Andreas Lochmann" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2006 Andreas Lochmann</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.0">
       <el:dependency el:path="lib/ant" el:id="lib/ant" el:release="1" el:preload="true"/>
      </el:compatibility>
      <el:modes el:easy="false" el:single="true" el:network="false"/>
      <el:comments>
        <el:code>Lua 5.1 and XML converted by Leveladministrators</el:code>
      </el:comments>
      <el:score el:easy="-" el:difficult="02:26"/>
    </el:info>
    <el:luamain><![CDATA[
-- Created with the help of BBE 1.05

levelh=25
levelw=20
enigma.FlatForce=30
enigma.SlopeForce=30
enigma.ElectricForce=30

function file_oxyd(x,y,f)
    oxyd_default_flavor=f
    oxyd(x,y)
end

cells={}
items={}
actors={}
stones={}

actors[" "]=cell{}
stones[" "]=cell{}
cells[" "]=cell{}
items[" "]=cell{}

cells["!"]=cell{floor="fl-water"}
cells["#"]=cell{floor="fl-normal"}
cells["$"]=cell{floor="fl-swamp"}
cells["%"]=cell{floor="fl-sand"}
cells["&"]=cell{floor="fl-sand"}
cells["'"]=cell{floor="fl-bluegray"}

items["!"]=cell{} --{item="it-cherry"}
items["#"]=cell{item={"it-trigger", {action = "open", target="door1"}}}

actors["!"]=cell{parent={{ac_blackball}}}

stones["!"]=cell{stone="st-chess_black"}
stones["#"]=cell{stone="st-yellow"}
stones["$"]=cell{parent={{file_oxyd,"d"}}}
stones["%"]=cell{stone={"st-door-h", {name = "door1"}}}

level={"!!!!!!!!!!!!!!!!!!!!",
       "!!$$%!!!!!!!%%!!!!!!",
       "!$%%%$%!!!&%%$$$$!!!",
       "!%!&%$$!!!!$%%$%%%!!",
       "!$%$%%$$$!!!&%!$%%$!",
       "!$$%%%$%%$!!!%%$$$%!",
       "!%&$%!$$&!!!!&%%%!%!",
       "!%%$$&$%%&&!!!$%$%$!",
       "!&!&%%%&%%!!!!!%$$$!",
       "!$%!$$%!$$!!$!!%%$$!",
       "!%$%$$$%$!!$%$!!!$%!",
       "!!$$$$$$!!%$&%%%!$!!",
       "!!%$%&%!!%&!%%&%$$!!",
       "!&%&%%$!$$!$$$%%$$$!",
       "!&%!$$$%%$%$!$%&!$%!",
       "!!&%$$%&%%&%$$$%%&%!",
       "!$&$$$%%&$%&%%$$$$&!",
       "!&!&$$!'''''''%%&!&!",
       "!$$&&$%'''''''%$!!!!",
       "!$&!&$$'''''''$&%$!!",
       "!%$$&$%'''''''$!%$$!",
       "!$$$!&&'''''''&$&%$!",
       "!!%&!$%'''''''%%%%!!",
       "!!!!$&&&%!!!!&$$!!!!",
       "!!!!!!!!!!!!!!!!!!!!"}
  itmap={"                    ",
         "                    ",
         "                    ",
         "                    ",
         "            !       ",
         "          !         ",
         "        !    !      ",
         "     !              ",
         "       !      !     ",
         "                    ",
         "          !    !    ",
         "        !   !       ",
         "     !        !     ",
         "   !   !            ",
         "            !       ",
         "  !       !         ",
         "        !  !        ",
         "   !  !             ",
         "    !     #         ",
         "  !                 ",
         "                    ",
         "                    ",
         "                    ",
         "                    ",
         "                    "}
 stmap={"                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "    !               ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "       ###%###      ",
        "       #     #      ",
        "       # $$$ #      ",
        "       #  $  #      ",
        "       #$   $#      ",
        "       #######      ",
        "                    ",
        "                    "}
create_world_by_map(level)
draw_map(0,0,stmap,stones)
draw_map(0,0,itmap,items)
oxyd_shuffle()
set_actor("ac-blackball",3.5,3.5,{player=0,mouseforce=1.667})
display.SetFollowMode(display.FOLLOW_SCROLLING)
    ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
