<?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="Venice II" el:subtitle="" el:id="raoul17"/>
      <el:version el:score="1" el:release="2" el:revision="3" el:status="released"/>
      <el:author  el:name="Raoul Bourquin" el:email="raoul@users.berlios.de" el:homepage=""/>
      <el:copyright>Copyright © 2006 Raoul Bourquin</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.10"/>
      <el:modes el:easy="false" el:single="true" el:network="false"/>
      <el:score el:easy="-" el:difficult="0:57"/>
    </el:info>
    <el:luamain><![CDATA[
ti[" "] = {"fl_water"}
ti["-"] = {"fl_concrete"}
ti["G"] = ti["-"] .. {"st_rawglass"}
ti["O"] = {"st_oxyd"}
ti["r"] = ti["G"] .. {"it_ring"}
ti["y"] = ti["G"] .. {"it_yinyang"}
ti["1"] = ti["-"] .. ti({"it_cherry"}) .. {"#ac_marble_black"}
ti["2"] = ti["-"] .. ti({"it_cherry"}) .. {"#ac_marble_white"}

local r = 2*math.random(0,1)
local col = math.random(0,1)

ti["a"] = ti["-"] .. {"st_oneway", color=col, orientation= (SOUTH + r) % 4 }       -- south || north
ti["d"] = ti["-"] .. {"st_oneway", color=col, orientation= (EAST + r) % 4 }        -- east  || west
ti["f"] = ti["-"] .. {"st_oneway", color=WHITE-col, orientation= (WEST +r) % 4 }   -- west  || east
ti["g"] = ti["-"] .. {"st_oneway", color=WHITE-col, orientation= (NORTH +r) % 4 }  -- north || south

wo(ti, " ",
   {"                    ",
    "  GOG GOG  GOG GrG  ",
    "  O-ddd-ffff-ddd1y  ",
    "  GgG GaG  GgG GaG  ",
    "   g   a    g   a   ",
    "  GgG GaG  GgG GaG  ",
    "  O-fff-dddd-fff-O  ",
    "  GaG GgG  GaG GgG  ",
    "   a   g    a   g   ",
    "  GaG GgG  GaG GgG  ",
    "  y2ddd-ffff-ddd-O  ",
    "  GrG GOG  GOG GOG  ",
    "                    "})

wo:shuffleOxyd()
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
