~ubuntu-branches/ubuntu/trusty/enigma/trusty-proposed

« back to all changes in this revision

Viewing changes to data/levels/enigma_tutorial/m_med2.xml

  • Committer: Package Import Robot
  • Author(s): Erich Schubert
  • Date: 2013-04-06 14:54:02 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130406145402-jgjrtk7hac8gtvza
Tags: 1.20-dfsg.1-1
* New upstream release (Closes: #704595)
  (Repacked: dropped zipios++ source and main menu music)
* Update watch file, sf.net again.
* Fix documentation links (Closes: #653508)
* Conflict with enigma-level-previews to encourage deinstallation
  (Pregenerated level previews were only used with version 1.01)
* Use dh7 for building instead of CDBS
* Update to policy 3.9.4.0 (no changes)
* Register documentation with doc-base

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
2
 
<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">
3
 
  <el:protected>
4
 
    <el:info el:type="level">
5
 
      <el:identity el:title="Meditation 2" el:subtitle="" el:id="m_tutor/m_med2"/>
6
 
      <el:version el:score="2" el:release="2" el:revision="0" el:status="released"/>
7
 
      <el:author  el:name="Martin Hawlisch" el:email="" el:homepage=""/>
8
 
      <el:copyright>Copyright © 2003 Martin Hawlisch</el:copyright>
9
 
      <el:license el:type="GPL version 2" el:open="true"/>
10
 
      <el:compatibility el:enigma="0.92">
11
 
       <el:dependency el:path="lib/ant" el:id="lib/ant" el:release="1" el:preload="true"/>
12
 
      </el:compatibility>
13
 
      <el:modes el:easy="true" el:single="true" el:network="false"/>
14
 
      <el:comments>
15
 
        <el:code>Lua 5.1 and XML converted by Leveladministrators</el:code>
16
 
      </el:comments>
17
 
      <el:score el:easy="-" el:difficult="-"/>
18
 
    </el:info>
19
 
    <el:luamain><![CDATA[
20
 
cells={}
21
 
cells[" "]=cell{floor="fl-leavesb"}
22
 
cells["1"]=cell{floor="fl-leaves"}
23
 
cells["2"]=cell{floor="fl-leavesc1"}
24
 
cells["3"]=cell{floor="fl-leavesc2"}
25
 
cells["4"]=cell{floor="fl-leavesc3"}
26
 
cells["5"]=cell{floor="fl-leavesc4"}
27
 
cells["6"]=cell{floor="fl-leavesd1"}
28
 
cells["7"]=cell{floor="fl-leavesd2"}
29
 
cells["8"]=cell{floor="fl-leavesd3"}
30
 
cells["9"]=cell{floor="fl-leavesd4"}
31
 
cells["#"]=cell{stone="st-likeoxyda"}
32
 
cells["o"]=cell{actor={"ac-whiteball-small", {player=0}}}
33
 
cells["+"]=cell{item="it-hollow"}
34
 
 
35
 
if (not difficult) then 
36
 
    cells["q"]=cells["1"]
37
 
    cells["*"]=cells["1"]
38
 
else
39
 
    cells["q"]=cell{actor={"ac-whiteball-small", {player=0}}}
40
 
    cells["*"]=cell{item="it-hollow"}
41
 
end
42
 
 
43
 
level = {
44
 
   "####################",
45
 
   "#                  #",
46
 
   "# 2111111111111114 #",
47
 
   "# 1*16  8116  81*1 #",
48
 
   "# 311  # 11 #  115 #",
49
 
   "#  81  # 11 #  16  #", 
50
 
   "### 1 ## 11 ## 1 ###",
51
 
   "#  91 #  11  # 17  #",
52
 
   "# 211 # 2qq4 # 114 #",
53
 
   "# 1+1 # 1oo1 # 1+1 #",
54
 
   "# 315 # 3115 # 315 #",
55
 
   "#     #      #     #",
56
 
   "####################"
57
 
}
58
 
 
59
 
set_default_parent(cells["1"])
60
 
create_world_by_map(level,cells)
61
 
    ]]></el:luamain>
62
 
    <el:i18n>
63
 
      <el:string el:key="title">
64
 
        <el:english el:translate="false"/>
65
 
      </el:string>
66
 
    </el:i18n>
67
 
  </el:protected>
68
 
</el:level>