<?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="Brittle Floor!" el:subtitle="" el:id="martin91"/>
      <el:version el:score="1" el:release="1" el:revision="0" el:status="released"/>
      <el:author  el:name="Martin Hawlisch" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2003 Martin Hawlisch</el:copyright>
      <el:license el:type="GPL version 2" el:open="true"/>
      <el:compatibility el:enigma="0.92">
       <el:dependency el:path="lib/ant" el:id="lib/ant" el:release="1" el:preload="true"/>
      </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[
create_world(39, 25)
fill_floor("fl-abyss")

if (not difficult) then
    enigma.Brittleness = 0.0
end

f1=cell{floor="fl-stone"}
f2=cell{floor="fl-rock"}
f3=cell{floor="fl-himalaya"}
f4=cell{floor="fl-gravel"}
f5=cell{floor="fl-leaves"}
f6=cell{floor="fl-rough-blue"}
f7=cell{floor="fl-rough-red"}
floor=cell{{{randomfloor, {f4,f2}}}}
fill_world_func(floor,1,1,37,23)

i0=cell{item="it-crack0"}
i1=cell{item="it-crack1"}
i2=cell{item="it-crack2"}
i3=cell{item="it-crack3"}
if difficult then
    items=cell{{{randomfloor, {i0,i1,i2,i3}}}}
else
    items=cell{{{randomfloor, {i0,i0,i0,i1,i2,i3}}}}
end

fill_world_func(items,1,1,37,23)

oxyd_default_flavor = "d"

oxyd( 5, 5)
oxyd(33, 5)
oxyd( 5,19)
oxyd(33,19)
oxyd(14,12)
oxyd(24,12)

oxyd_shuffle()

set_actor("ac-blackball", 17.5,6.5)

enigma.ConserveLevel = FALSE
    ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
