<?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="Oneway for White" el:subtitle="One Way for White" el:id="duffy157"/>
      <el:version el:score="1" el:release="2" el:revision="2" el:status="released"/>
      <el:author el:name="Jacob Scott" el:email="" el:homepage=""/>
      <el:copyright>Copyright © 2007 Jacob Scott</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="true"/>
      <el:comments><el:code>New API converted by R. Bourquin</el:code></el:comments>
      <el:score el:easy="-" el:difficult="-"/>
    </el:info>
    <el:luamain><![CDATA[
ti[" "] = {"fl_bluegreen"}
ti["~"] = {"fl_water"}
ti["#"] = {"st_greenbrown"}
ti["X"] = {"st_grate", flavor="cross"}
ti["B"] = {"st_passage", flavor="frame", color=BLACK}
ti["W"] = {"st_passage", flavor="frame", color=WHITE}
ti["^"] = {"st_oneway", orientation=NORTH}
ti[">"] = {"st_oneway", orientation=EAST}
ti["V"] = {"st_oneway", orientation=SOUTH}
ti["<"] = {"st_oneway", orientation=WEST}
ti["="] = {"st_door", flavor="d", faces="ns", name="door"}
ti["S"] = {"st_switch", target="door"}
ti["."] = {"it_seed"}
ti["x"] = ti["X"] .. ti["."]
ti["O"] = {"st_oxyd"}
ti["A"] = {"#ac_marble_white"}
ti["a"] = cond(wo["CreatingPreview"], ti["#"] .. {"#ac_marble_black"}, ti["#"])
ti["@"] = cond(wo["CreatingPreview"], ti[" "], {"#ac_marble_black"})

wo(ti, " ", {
    "####################",
    "#XXXXXXXxXXXXXX>   #",
    "#XXXxXXXXXxXXXX> A #",
    "#xXXXXXXXXXXXXX>   #",
    "#XXXXXXXXXXXXXX#^^^#",
    "#XXXXXxXXXXXXXXXxXX#",
    "#XXXXXXXXXXXXXXXXXX#",
    "#XXXXXXXXXXxXXXXXXX#",
    "#XXXXXXxXXXXXXX#^^^#",
    "#XXxXXXXXXXXXXX<   #",
    "#XXXXXXXXxXXXXX< @ #",
    "#XXXXXXXXXXXXXX<   #",
    "#x##################",
    "a X<   BB  B  <  #O#",
    "#  #X X<<  <  #  #B#",
    "#^B##^###^BBB^B^BB #",
    "#^BB X<    >  B  > #",
    "#  <  #V#V##^BB^BB^#",
    "#X #X > < X# #   B #",
    "#VBBBV#^#BBBVB^#VB^#",
    "# > < < >  < # # < #",
    "# #^B^#^BV#B^B # #W#",
    "# B   # # BXX< # #=#",
    "# > XXBXBX<  B < #O#",
    "####### ############",
    "#       #~~~~~~~~~~~",
    "# WWWWW #~~~~~~~~~~~",
    "# WBBBW #~~~~~~~~~~~",
    "# WBSBW #~~~~~~~~~~~",
    "# WBBBW #~~~~~~~~~~~",
    "# WWWWW #~~~~~~~~~~~",
    "#       #~~~~~~~~~~~",
    "#########~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~",
    "~~~~~~~~~~~~~~~~~~~~"})
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
