<?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="Friction Nightmare" el:subtitle="" el:id="luc01"/>
      <el:version el:score="1" el:release="1" el:revision="0" el:status="released"/>
      <el:author  el:name="Lukas Schüller" el:email="Lucky_Luc@web.de" el:homepage=""/>
      <el:copyright>Copyright © 2005 Lukas Schüller</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="0.92">
      </el:compatibility>
      <el:modes el:easy="true" 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="-"/>
    </el:info>
    <el:luamain><![CDATA[
-- Dec.05: Changed floor and friction to match Jacobs Nightmare-pattern, Andreas

function writeLine( line, cells)
  for i=1, strlen(cells) do
    local c = strsub(cells,i,i)
    if(c =="a") then
      set_stone("st-death",i-1,line)
    elseif(c =="o") then
      oxyd(i-1,line)
    end
  end
end

CreateWorld(20,13)
--fill_floor("fl-leaves",0,0,20,13)
fill_floor("fl-rough-blue",0,0,20,13)
--enigma.FrictionFactor=-0.5
if difficult then
  enigma.FrictionFactor=-0.4
else
  enigma.FrictionFactor=-0.25
end
writeLine(00,"aaaaaaaaaaaaaaaaaaaa")
writeLine(01,"o                  o")
writeLine(02,"a  a               a")
writeLine(03,"a        a         a")
writeLine(04,"a              a   a")
writeLine(05,"a                  a")
writeLine(06,"a     a    a       a")
writeLine(07,"a                  a")
writeLine(08,"a       a          a")
writeLine(09,"a            a     a")
writeLine(10,"a     a            a")
writeLine(11,"o                  o")
writeLine(12,"aaaaaaaaaaaaaaaaaaaa")
set_actor("ac-blackball",1.5,1.5,{player=0})
oxyd_shuffle()
    ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
