File: m_tut01_2.xml

package info (click to toggle)
enigma 1.20-dfsg.1-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 64,620 kB
  • ctags: 16,428
  • sloc: xml: 153,614; cpp: 63,581; ansic: 31,088; sh: 4,825; makefile: 1,858; yacc: 288; perl: 84; sed: 16
file content (68 lines) | stat: -rw-r--r-- 2,241 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?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="Oxyd Stones 1" el:subtitle="" el:id="m_tutor/m_tut1"/>
      <el:version el:score="2" el:release="3" el:revision="2" 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:compatibility>
      <el:modes el:easy="true" el:single="true" el:network="false"/>
      <el:comments>
        <el:code>API 2 version by Andreas, February 2009. Thanks to Martin for the clean code!</el:code>
      </el:comments>
      <el:score el:easy="-" el:difficult="-"/>
    </el:info>
    <el:luamain><![CDATA[

ti[" "] = {"fl_lawn_b"}
ti["1"] = {"fl_lawn"}
ti["2"] = {"fl_lawn_c1"}
ti["3"] = {"fl_lawn_c2"}
ti["4"] = {"fl_lawn_c3"}
ti["5"] = {"fl_lawn_c4"}
ti["6"] = {"fl_lawn_d1"}
ti["7"] = {"fl_lawn_d2"}
ti["8"] = {"fl_lawn_d3"}
ti["9"] = {"fl_lawn_d4"}
ti["#"] = {"st_fake_oxyda"}
ti["d"] = {"it_document", text = "text1"}
ti["o"] = {"#ac_marble"}
ti["0"] = {"st_oxyd", flavor = "d"}

if not wo["IsDifficult"] then
    ti["Q"] = ti["1"]
else
    ti["Q"] = ti["0"]
end

wo(ti, "1", {
   "####################",
   "#                  #",
   "#       2111111114 #",
   "#       1011111101 #",
   "# 214   1111111111 #",
   "# 1d17 91111111111 #", 
   "# 1o11111111QQ1111 #",
   "# 1d16 81111111111 #",
   "# 315   1111111111 #",
   "#       1011111101 #",
   "#       3111111115 #",
   "#                  #",
   "####################"})

wo:shuffleOxyd()

    ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="false"/>
      </el:string>
      <el:string el:key="text1">
        <el:english el:translate="true">The blue stones are Oxyd stones. Open them by touching them with your black marble.</el:english>
      </el:string> 
    </el:i18n>
  </el:protected>
</el:level>