<?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="Floppy Swapping" el:subtitle="" el:id="martin19"/>
      <el:version el:score="1" el:release="2" el:revision="1" 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="1.10"/>
      <el:modes el:easy="false" el:single="true" el:network="false"/>
      <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_hay"}
ti["#"] = {"st_greenbrown"}
ti["M"] = {"st_greenbrown_movable"} --, movable=true}
ti["H"] = {"st_greenbrown_hollow"} --, hollow=true}
ti["B"] = {"st_box"}
ti["I"] = {"st_stoneimpulse"}
ti["V"] = {"st_oneway", orientation=SOUTH}
ti["D"] = {"st_door", flavor="d", faces="ew", name="floppyswv#"}
ti["d"] = {"st_door", flavor="d", faces="ns", name="floppyswh#"}
ti["E"] = {"st_door", flavor="d", faces="ew", name="switchsw#"}
ti["F"] = {"st_floppy", target="@floppysw?#*"}
ti["S"] = {"st_switch", target="@switchsw#*"}
ti["t"] = {"it_trigger", target="@switchsw#*", action="open"}
ti["s"] = {"it_trigger", invisible=true, target="@switchsw#*", action="close"}
ti["m"] = ti["M"] .. {"it_magicwand"}
ti["f"] = ti["M"] .. {"it_floppy"}
ti["O"] = {"st_oxyd"}
ti["@"] = {"#ac_marble_black"}

wo(ti, " ", {
    "####################",
    "# O#     #      #O #",
    "# f      #       m #",
    "#M       #        M#",
    "#        F         #",
    "#    @   D         #",
    "#        #         #",
    "#        #         #",
    "#        #######H###",
    "#        #         #",
    "#        #         #",
    "#        SO        #",
    "###M##########I##Fd#",
    "#  M  #      EM    #",
    "# O   #      #    O#",
    "#     #      #     #",
    "##V####d######     #",
    "#     #      F     #",
    "#     #      #BBBBB#",
    "#    ###     #     #",
    "#    s Et    #BBBBB#",
    "#    ###     #     #",
    "#     #      #     #",
    "# O   #    O #   O #",
    "####################"})

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