<?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="FizzBuzz" el:subtitle="" el:id="ais10"/>
      <el:version el:score="1" el:release="1" el:revision="2" el:status="released"/>
      <el:author el:name="Alex Smith" el:email="ais523@bham.ac.uk" el:homepage=""/>
      <el:copyright>Copyright © 2009 Alex Smith</el:copyright>
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
      <el:compatibility el:enigma="1.10"/>
      <el:modes el:easy="true" el:single="true" el:network="false"/>
      <el:score el:easy="2:00" el:difficult="0:48"/>
    </el:info>
    <el:luamain><![CDATA[
wo["ConserveLevel"] = false

local slopestrength = cond(wo["IsDifficult"], 20, 10)
local frict = 500/slopestrength

ti[" "] = {"fl_brick"}
ti["#"] = {"st_brick", cluster=1}
ti["<"] = {"fl_slope_pw", friction=frict}
ti[">"] = {"fl_slope_pe", friction=frict}
ti["v"] = {"fl_slope_ps", friction=frict}
ti["W"] = {"fl_slope_ps", strength=28} .. ti({"st_oneway_s"})
ti["("] = {"fl_slope_pw", strength=slopestrength}
ti["b"] = {"st_oneway_black_w"}
ti["B"] = {"st_oneway_black_e"}
ti["o"] = {"#ac_pearl", essential=INDISPENSABLE, controllers=CTRL_NONE, owner=YANG} .. ti["<"]
ti["k"] = {"#ac_killer",  essential=DISPENSABLE, controllers=CTRL_NONE, owner=YANG} .. ti["<"]
ti["O"] = {"#ac_pearl", essential=INDISPENSABLE, controllers=CTRL_NONE, owner=YANG} .. ti[">"]
ti["p"] = {"ac_pearl", 0.75, 0.25, essential=INDISPENSABLE, controllers=CTRL_NONE, owner=YANG} .. ti{"fl_slope_tsr", friction=frict}
ti["K"] = {"#ac_killer",  essential=DISPENSABLE, controllers=CTRL_NONE, owner=YANG} .. ti[">"]
ti["q"] = {"ac_pearl", 0.75, 0.75, essential=INDISPENSABLE, controllers=CTRL_NONE, owner=YANG} .. ti{"fl_slope_twr", friction=frict}
ti["Q"] = {"#ac_killer",  essential=DISPENSABLE, controllers=CTRL_NONE, owner=YANG} .. ti["v"]
ti["P"] = {"ac_killer", 0.25, 0.75,  essential=DISPENSABLE, controllers=CTRL_NONE, owner=YANG} .. ti{"fl_slope_tel", friction=frict}
ti["h"] = {"it_meditation_hollow"}
ti["@"] = {"#ac_marble", essential=INDISPENSABLE} .. ti["("]
ti["2"] = {"#ac_marble", essential=INDISPENSABLE, controllers=CTRL_NONE} .. ti["<"]
ti["x"] = {"st_oxyd_a"}
ti["1"] = {"it_document",text="text1"} .. ti["("]

wo(ti," ",{
    "####################",
    "#qokkookokkokkoko<2#",
    "#Q##################",
    "#pKKOKKOKOOKKOOKOKP#",
    "##################W#",
    "#((((((((((((((((((#",
    "#((((((((1@((((((((#",
    "#((((((((((((((((((#",
    "#####WWWWWWWWWW#####",
    "#   #          #   #",
    "# x b          B x #",
    "#   #          #   #",
    "####################"})
 ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="true"/>
      </el:string>
      <el:string el:key="text1">
        <el:english el:translate="true">Counting the first pearl as 1, you must save every pearl that's a multiple of 3 or of 5 (or both).</el:english>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>
