<?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="Diamonds" el:subtitle="Valuable?" el:id="hairball14"/>
      <el:version el:score="1" el:release="1" el:revision="0" el:status="released"/>
      <el:author el:name="Hairball" el:email="hairball@ramblemuse.com" el:homepage=""/>
      <el:copyright>Copyright © 2009 Hairball </el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.01"/>
      <el:modes el:easy="true" el:single="true" el:network="false"/>
      <el:score el:easy="00:49" el:difficult="01:39"/>
    </el:info>
    <el:luamain><![CDATA[
create_world(20, 13)

fill_floor("fl-abyss",  0,  0, 20, 13)

if not difficult then
   fill_floor("fl-darkgray",  1, 1,11,11)
else
   fill_floor("fl-inverse2", 1, 1,11,11)
end

set_floor("fl-abyss", 4, 1)
set_floor("fl-abyss", 8, 1)
set_floor("fl-abyss", 1, 4)
set_floor("fl-abyss",11, 4)
set_floor("fl-abyss", 1, 8)
set_floor("fl-abyss",11, 8)
set_floor("fl-abyss", 4,11)
set_floor("fl-abyss", 8,11)

if not difficult then
   set_floor("fl-darkgray", 2, 0)
else
   set_floor("fl-inverse2", 2, 0)
end

if not difficult then
   set_floor("fl-darkgray", 6, 0)
else
   set_floor("fl-inverse2", 6, 0)
end

if not difficult then
   set_floor("fl-darkgray",10, 0)
else
   set_floor("fl-inverse2",10, 0)
end

if not difficult then
   set_floor("fl-darkgray", 0, 2)
else
   set_floor("fl-inverse2", 0, 2)
end

if not difficult then
   set_floor("fl-darkgray",12, 2)
else
   set_floor("fl-inverse2",12, 2)
end

if not difficult then
   set_floor("fl-darkgray", 0, 6)
else
   set_floor("fl-inverse2", 0, 6)
end

if not difficult then
   set_floor("fl-darkgray",12, 6)
else
   set_floor("fl-inverse2",12, 6)
end

if not difficult then
   set_floor("fl-darkgray", 0,10)
else
   set_floor("fl-inverse2", 0,10)
end

if not difficult then
   set_floor("fl-darkgray",12,10)
else
   set_floor("fl-inverse2",12,10)
end

if not difficult then
   set_floor("fl-darkgray", 2,12)
else
   set_floor("fl-inverse2", 2,12)
end

if not difficult then
   set_floor("fl-darkgray", 6,12)
else
   set_floor("fl-inverse2", 6,12)
end

if not difficult then
   set_floor("fl-darkgray",10,12)
else
   set_floor("fl-inverse2",10,12)
end

set_stones("st-glass", {
              { 0, 2}, { 0, 6}, { 0,10}, { 1, 1}, { 1, 3}, { 1, 5}, { 1, 7}, { 1, 9}, { 1,11},
              { 2, 0}, { 2, 4}, { 2, 8}, { 2,12}, { 3, 1}, { 3, 3}, { 3, 5}, { 3, 7}, { 3, 9},
              { 3,11}, { 4, 2}, { 4, 6}, { 4,10}, { 5, 1}, { 5, 3}, { 5, 5}, { 5, 7}, { 5, 9},
              { 5,11}, { 6, 0}, { 6, 4}, { 6, 8}, { 6,12}, { 7, 1}, { 7, 3}, { 7, 5}, { 7, 7},
              { 7, 9}, { 7,11}, { 8, 2}, { 8, 6}, { 8,10}, { 9, 1}, { 9, 3}, { 9, 5}, { 9, 7},
              { 9, 9}, { 9,11}, {10, 0}, {10, 4}, {10, 8}, {10,12}, {11, 1}, {11, 3}, {11, 5},
              {11, 7}, {11, 9}, {11,11}, {12, 2}, {12, 6}, {12,10}
})

if not difficult then
   set_stones("st-fakeoxyd", {{ 1, 6}, { 6, 1}, {11, 6}, {6,11}})
else
   set_stones("st-fart", {{ 1, 6}, { 6, 1}, {11, 6}, {6,11}})
end

set_item("it-vortex-open", 3, 2)
set_item("it-vortex-open", 5, 2)
set_item("it-vortex-open", 7, 2)
set_item("it-vortex-open", 9, 2)
set_item("it-vortex-open", 2, 3)
set_item("it-vortex-open", 6, 3)
set_item("it-vortex-open",10, 3)
set_item("it-vortex-open", 5, 4)
set_item("it-vortex-open", 7, 4)
set_item("it-vortex-open", 2, 5)
set_item("it-vortex-open", 4, 5)
set_item("it-vortex-open", 6, 5)
set_item("it-vortex-open", 8, 5)
set_item("it-vortex-open",10, 5)
set_item("it-vortex-open", 3, 6)
set_item("it-vortex-open", 5, 6)
set_item("it-vortex-open", 7, 6)
set_item("it-vortex-open", 9, 6)
set_item("it-vortex-open", 2, 7)
set_item("it-vortex-open", 4, 7)
set_item("it-vortex-open", 6, 7)
set_item("it-vortex-open", 8, 7)
set_item("it-vortex-open",10, 7)
set_item("it-vortex-open", 5, 8)
set_item("it-vortex-open", 7, 8)
set_item("it-vortex-open", 2, 9)
set_item("it-vortex-open", 6, 9)
set_item("it-vortex-open",10, 9)
set_item("it-vortex-open", 3,10)
set_item("it-vortex-open", 5,10)
set_item("it-vortex-open", 7,10)
set_item("it-vortex-open", 9,10)

Signal ("it(3 2)", "it(5 2)")
Signal ("it(5 2)", "it(3 2)")
Signal ("it(7 2)", "it(9 2)")
Signal ("it(9 2)", "it(7 2)")
Signal ("it(2 3)", "it(2 5)")
Signal ("it(2 5)", "it(2 3)")
Signal ("it(2 7)", "it(2 9)")
Signal ("it(2 9)", "it(2 7)")
Signal ("it(10 3)", "it(10 5)")
Signal ("it(10 5)", "it(10 3)")
Signal ("it(10 7)", "it(10 9)")
Signal ("it(10 9)", "it(10 7)")
Signal ("it(3 10)", "it(5 10)")
Signal ("it(5 10)", "it(3 10)")
Signal ("it(7 10)", "it(9 10)")
Signal ("it(9 10)", "it(7 10)")
Signal ("it(3 6)", "it(5 6)")
Signal ("it(5 6)", "it(3 6)")
Signal ("it(7 6)", "it(9 6)")
Signal ("it(9 6)", "it(7 6)")
Signal ("it(6 3)", "it(6 5)")
Signal ("it(6 5)", "it(6 3)")
Signal ("it(6 7)", "it(6 9)")
Signal ("it(6 9)", "it(6 7)")
Signal ("it(5 4)", "it(7 4)")
Signal ("it(7 4)", "it(5 4)")
Signal ("it(5 8)", "it(7 8)")
Signal ("it(7 8)", "it(5 8)")
Signal ("it(4 5)", "it(4 7)")
Signal ("it(4 7)", "it(4 5)")
Signal ("it(8 5)", "it(8 7)")
Signal ("it(8 7)", "it(8 5)")

oxyd( 2, 1)
oxyd(10, 1)
oxyd( 1, 2)
oxyd(11, 2)
oxyd( 4, 3)
oxyd( 8, 3)
oxyd( 3, 4)
oxyd( 9, 4)
oxyd( 3, 8)
oxyd( 9, 8)
oxyd( 4, 9)
oxyd( 8, 9)
oxyd( 1,10)
oxyd(11,10)
oxyd( 2,11)
oxyd(10,11)

oxyd_shuffle()

set_actor("ac-blackball", 6.5, 6.5)
set_item("it-yinyang", 6, 6)
set_actor("ac-whiteball", 4.5, 4.5)
set_item("it-yinyang", 4, 4)
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
