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

« back to all changes in this revision

Viewing changes to data/levels/enigma_v/mp02_1.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="Gods of Enigma II" el:subtitle="" el:id="mp02"/>
6
 
      <el:version el:score="1" el:release="1" el:revision="3" el:status="released"/>
7
 
      <el:author  el:name="moonpearl" el:email="" el:homepage=""/>
8
 
      <el:copyright>Copyright © 2005 moonpearl</el:copyright>
9
 
      <el:license el:type="GPL v2.0 or above" 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="false" 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
 
 
21
 
function file_oxyd(x,y,f)
22
 
    oxyd_default_flavor=f
23
 
    oxyd(x,y)
24
 
end
25
 
levelh=61
26
 
levelw=58
27
 
 
28
 
enigma.SlopeForce=30
29
 
enigma.ElectricForce=30
30
 
cells={}
31
 
items={}
32
 
stones={}
33
 
stones[" "]=cell{}
34
 
cells[" "]=cell{}
35
 
items[" "]=cell{}
36
 
cells["!"]=cell{floor="fl-normal"}
37
 
--------------------------------------------------------------------
38
 
cells[" "]=cell{floor="fl-abyss"}
39
 
cells["+"]=cell{floor="fl-sand"}
40
 
cells["*"]=cell{floor="fl-water"}
41
 
cells[")"]=cell{floor="fl-light"}
42
 
cells["("]=cell{floor="fl-wood"}
43
 
cells["'"]=cell{floor="fl-leavesb"}
44
 
cells["&"]=cell{floor="fl-rough-red"}
45
 
cells["%"]=cell{floor="fl-bumps"}
46
 
cells["$"]=cell{floor="fl-rough-blue"}
47
 
level={"!!!              !!!                  %%%%%%%%%%%%%%%%%%%%",
48
 
       "!$!!!!      !!!!!!$!                  %%%%%%%%%%%%%%%%%%%%",
49
 
       "!$$$$!      !$$$$$$!                  %%%%%%%%%%%%%%%%%%%%",
50
 
       "!$!!!!!!!!  !$!!!!$!                  %%%%%%%%%%%%%%%%%%%%",
51
 
       "!!!   !$$!  !$!  !!!                  &%%%%%%%%%%%%%%%%%%%",
52
 
       "      !$$!  !$!                       %%%%%%%%%%%%%%%%%%%%",
53
 
       "      !!!!  !$!                       %%%%%%%%%%%%%%%%%%%%",
54
 
       "            !$!                       %%%%%%%%%%%%%%%%%%%%",
55
 
       "!!!         !$!  !!!                  %%%%%%%%%%%%%%%%%%%%",
56
 
       "!$  !!!!!!!!!$!!!!$!                  %%%%%%%%%%%%%%%%%%%%",
57
 
       "!$ $$$$$$$$$$$$$$$$!                  %%%%%%%%%%%%%%%%%%%%",
58
 
       "!$ !!!!!!!!!!!!!!!$!                  %%%%%%%%%%%%%%%%%%%%",
59
 
       "!!               !!!                  %%%%&%%%%%%%%%%%%%%%",
60
 
       "                                                          ",
61
 
       "                                                          ",
62
 
       "                                                          ",
63
 
       "                                                          ",
64
 
       "                                                          ",
65
 
       "                                                          ",
66
 
       "                                                          ",
67
 
       "                                                          ",
68
 
       "                                                          ",
69
 
       "                                                          ",
70
 
       "                                                          ",
71
 
       "''''''''''''''''''''                   ))))               ",
72
 
       "''' '' '' ''' ''   '                   )))) ))))     )))) ",
73
 
       "'''('' '' '''(''('''                   )))) ))))     )))) ",
74
 
       "'''        (     '''                   )))) )))) ))) )))) ",
75
 
       "'(  '' ''' ''('' '''                             )))      ",
76
 
       "'''('' ''' '' ''                       )))) )))) ))) )))) ",
77
 
       "'''        '' (  '''                   )))) )))) ))) )))) ",
78
 
       "' ( '''(''    ''(''!                   )))) ))))     )))) ",
79
 
       "''' ''' '' '' '' '''                             )))      ",
80
 
       "'''  (( (  ''  (   '                   )))) )))) ))) )))) ",
81
 
       "'    '' ''     ''' '                   )))) )))) ))) )))) ",
82
 
       "'''' '' ''(''' ''' '                   )))) )))) ))) )))) ",
83
 
       "''''''''''''''''''''                                 )))) ",
84
 
       "                                                          ",
85
 
       "                                                          ",
86
 
       "                                                          ",
87
 
       "                                                          ",
88
 
       "                                                          ",
89
 
       "                                                          ",
90
 
       "                                                          ",
91
 
       "                                                          ",
92
 
       "                                                          ",
93
 
       "                                                          ",
94
 
       "                                                          ",
95
 
       "                                      ********************",
96
 
       "                                      ***********++++*****",
97
 
       "                                      **+++***+++++++++***",
98
 
       "                                      **+++***++++***++***",
99
 
       "                                      **+++**+++****++++**",
100
 
       "                                      **+++**++*++++++++**",
101
 
       "                                      **+++*++****+***++**",
102
 
       "                                      **++**+++******+++**",
103
 
       "                                      **++**+++*****++++**",
104
 
       "                                      **++****++***++++++*",
105
 
       "                                      ***+++++++***++++++*",
106
 
       "                                      *****++++*****+++***",
107
 
       "                                      ***************+****"}
108
 
--------------------------------------------------------------------
109
 
stones["!"]=cell{parent={{file_oxyd,"d"}}}
110
 
stones["."]=cell{stone="st-glass"}
111
 
stones["'"]=cell{stone="st-rock3_break"}
112
 
stones["("]=cell{stone="st-oneway-e"}
113
 
stones["+"]=cell{stone="st-bombs"}
114
 
stones[")"]=cell{stone="st-stone2"}
115
 
stones[","]=cell{stone="st-block"}
116
 
stones["*"]=cell{stone="st-oneway-s"}
117
 
stones["-"]=cell{stone="st-wood"}
118
 
stones["#"]=cell{stone="st-black1"}
119
 
stones["$"]=cell{stone="st-grate1"}
120
 
stones["%"]=cell{stone="st-white1"}
121
 
stones["&"]=cell{stone="st-yinyang1"}
122
 
stones["1"]=cell{stone="st-blue-sand"}
123
 
stones["2"]=cell{stone="st-knight"}
124
 
stones["/"]=cell{stone="st-death_invisible"}
125
 
stones["0"]=cell{stone="st-laser-e"}
126
 
stones["O"]=cell{stone="st-invisible"}
127
 
stmap={"!#$              $!$O                 ))))))))))))))))))))",--0
128
 
       "# $&            $$ $O                 ) )   '  )  '  )  !)",
129
 
       "$  &            $  (O                O( )   )  '  )  '   )",
130
 
       "% $&    !       $$ $O                 )*)   ))')  )))))'))",
131
 
       "!%$              $$$O                 )     )  )))))     )",
132
 
       "                    O                 )     )  )+++)     )",--5
133
 
       "                    O                 )     )'))+ +)))))))",
134
 
       "                    O                 )$$$  )  '+ +)  )  )",
135
 
       "$$$              $$$O                 )  $  )  )+++'  )  )",
136
 
       "$!$$            '$ $O                 )  $  )))))))))'))')",
137
 
       "$  $            '  $O                 )  $  '  )   )  '  )",--10
138
 
       "$ $$            '$!$O                 )  $  )  '   '  )  )",
139
 
       "$$$              $$$O                 ))))))))))))))))))))",
140
 
       "OOOOOOOOOOOOOOOOOOOOO                                     ",
141
 
       "                                                          ",
142
 
       "                                                          ",--15
143
 
       "                                                          ",
144
 
       "                                                          ",
145
 
       "                                                          ",
146
 
       "                                                          ",
147
 
       "                                                          ",--20
148
 
       "                                                          ",
149
 
       "                                                          ",
150
 
       ",,,,,,,,,,,,,,,,,,,,,                OOOOOOOOOOOOOOOOOOOOO",
151
 
       ",,,,,,,,,,,,,,,,,,,,,                O ....               ",
152
 
       ",    -  -          ,,                O .  . ....     .... ",--25
153
 
       ",                  ,,                O .  . .!            ",
154
 
       ",            -     ,,                O .  . .    .        ",
155
 
       ",   -   -  -  -   -,,                O           .        ",
156
 
       ",                  ,,                O .  . .    .   .  . ",
157
 
       ",           -      ,,                O .  . .    .   .  . ",--30
158
 
       ",    -             ,,                O .  . .        .  . ",
159
 
       ",                  ,,                O             .      ",
160
 
       ",                  ,,                O .    ....   . .  . ",
161
 
       ",               -  ,,                O .           . .  . ",
162
 
       ",!   -             ,,                O ....        . .  . ",--35
163
 
       ",,,,,,,,,,,,,,,,,,,,,                O               .... ",
164
 
       ",,,,,,,,,,,,,,,,,,,,,                OOOOOOOOOOOOOOOOOOOOO",
165
 
       "                                                          ",
166
 
       "                                                          ",
167
 
       "                                                          ",--40
168
 
       "                                                          ",
169
 
       "                                                          ",
170
 
       "                                                          ",
171
 
       "                                                          ",
172
 
       "                                                          ",--45
173
 
       "                                                          ",
174
 
       "                                                          ",
175
 
       "                                      ////////////////////",
176
 
       "                                      /     /            /",
177
 
       "                                      /     /            /",--50
178
 
       "                                      /     /  ///////   /",
179
 
       "                                      /     /  /!        /",
180
 
       "                                      /0   1/  /         /",
181
 
       "                                      /     /  /  ////   /",
182
 
       "                                      /     /  /  /      /",--55
183
 
       "                                      /     /  /  /      /",
184
 
       "                                      /     /  /  /222222/",
185
 
       "                                      /           /      /",
186
 
       "                                      /           /      /",
187
 
       "                                      ////////////////////"}--60
188
 
--------------------------------------------------------------------
189
 
--ITEMS
190
 
items["!"]=cell{item="it-extralife"}
191
 
items["#"]=cell{item="it-document"}
192
 
items["$"]=cell{item="it-dynamite"}
193
 
items["%"]=cell{item="it-hammer"}
194
 
items["&"]=cell{item="it-spade"}
195
 
items["'"]=cell{item="it-crack3"}
196
 
items["("]=cell{item="it-seed"}
197
 
items[")"]=cell{item="it-spring2"}
198
 
items["*"]=cell{item="it-spring1"}
199
 
items["+"]=cell{item="it-trigger"}
200
 
items[","]=cell{item="it-yinyang"}
201
 
itmap={"                                                          ",--0
202
 
       " !                                     #                  ",
203
 
       "                                                          ",
204
 
       " ,                                                        ",
205
 
       "        !                                                 ",
206
 
       "                                                     $$$  ",--5
207
 
       "                                                 %        ",
208
 
       "                                                       &$ ",
209
 
       "                                       $$              $  ",
210
 
       "                                       $$                 ",
211
 
       " !         #      !                    $$                 ",--10
212
 
       "                                       $$                 ",
213
 
       "                                                          ",
214
 
       "                                                          ",
215
 
       "                                                          ",
216
 
       "                                                          ",--15
217
 
       "                                                          ",
218
 
       "                                                          ",
219
 
       "                                                          ",
220
 
       "                                                          ",
221
 
       "                                                          ",--20
222
 
       "                                                          ",
223
 
       "                                                          ",
224
 
       "                                                          ",
225
 
       "                                                          ",
226
 
       "                                                          ",--25
227
 
       "   '         '  '                        #             )  ",
228
 
       "  #        '                             )                ",
229
 
       " '           '                                     )      ",
230
 
       "   '                                                      ",
231
 
       "              '                               )       )   ",--30
232
 
       "  '    '        '                       )                 ",
233
 
       " #      (                                         )       ",
234
 
       "     '' '      '                          )           *   ",
235
 
       "                                               )          ",
236
 
       "          '                                               ",--35
237
 
       "          '                                               ",
238
 
       "                                                          ",
239
 
       "                                                          ",
240
 
       "                                                          ",
241
 
       "                                                          ",--40
242
 
       "                                                          ",
243
 
       "                                                          ",
244
 
       "                                                          ",
245
 
       "                                                          ",
246
 
       "                                                          ",--45
247
 
       "                                                          ",
248
 
       "                                                          ",
249
 
       "                                                          ",
250
 
       "                                                          ",
251
 
       "                                                          ",--50
252
 
       "                                         #                ",
253
 
       "                                                          ",
254
 
       "                                                          ",
255
 
       "                                                          ",
256
 
       "                                         +                ",--55
257
 
       "                                                          ",
258
 
       "                                                          ",
259
 
       "                                                     ,    ",
260
 
       "                                                          ",
261
 
       "                                                          "}--60
262
 
--------------------------------------------------------------------
263
 
--CREATE WORLD
264
 
create_world_by_map(level)
265
 
draw_map(0,0,stmap,stones)
266
 
draw_map(0,0,itmap,items)
267
 
--OXYDS
268
 
SetAttrib(enigma.GetStone(0,0),"color","0")
269
 
SetAttrib(enigma.GetStone(48,52),"color","0")
270
 
SetAttrib(enigma.GetStone(18,11),"color","1")
271
 
SetAttrib(enigma.GetStone(56,1),"color","1")
272
 
SetAttrib(enigma.GetStone(1,9),"color","2")
273
 
SetAttrib(enigma.GetStone(1,35),"color","2")
274
 
SetAttrib(enigma.GetStone(8,3),"color","3")
275
 
SetAttrib(enigma.GetStone(45,26),"color","3")
276
 
SetAttrib(enigma.GetStone(0,4),"color","6")
277
 
SetAttrib(enigma.GetStone(18,0),"color","6")
278
 
--TEXTE
279
 
SetAttrib(enigma.GetItem(11,10),"text","text1")
280
 
SetAttrib(enigma.GetItem(39,1),"text","text2")
281
 
SetAttrib(enigma.GetItem(1,32),"text","text3")
282
 
SetAttrib(enigma.GetItem(2,27),"text","text4")
283
 
SetAttrib(enigma.GetItem(41,26),"text","text5")
284
 
SetAttrib(enigma.GetItem(41,51),"text","text6")
285
 
--LASER
286
 
SetAttrib(enigma.GetItem(41,55),"invisible",FALSE)
287
 
Signal ("it(41 55)","st(39 53)")
288
 
--TUNNELS
289
 
set_item("it-vortex-open", 49, 7, {targetx = 13.5, targety =  10.5, name="vortex0"})
290
 
set_item("it-vortex-open", 9, 31, {targetx = 13.5, targety =  10.5, name="vortex1"})
291
 
set_item("it-vortex-open", 55, 35, {targetx = 13.5, targety =  10.5, name="vortex2"})
292
 
set_item("it-vortex-open", 54, 58, {targetx = 13.5, targety =  10.5, name="vortex3"})
293
 
set_item("it-wormhole", 19, 2, {targetx = 38.5, targety =  2.5, name="vortex4", strength=0})
294
 
set_item("it-vortex-open", 18, 9, {targetx = 1.5, targety =  25.5, name="vortex5"})
295
 
set_item("it-vortex-open", 1, 11, {targetx = 40.5, targety =  25.5, name="vortex6"})
296
 
set_item("it-vortex-open", 7, 5, {targetx = 41.5, targety =  50.5, name="vortex7"})
297
 
set_actor("ac-whiteball",1.5,3.5)
298
 
set_actor("ac-blackball",13.5,10.5,{player=0})
299
 
    ]]></el:luamain>
300
 
    <el:i18n>
301
 
      <el:string el:key="title">
302
 
        <el:english el:translate="false"/>
303
 
      </el:string>
304
 
      <el:string el:key="text1">
305
 
        <el:english el:translate="true">You again! We won't let you pass this time! See these Oxyds? You can't reach them unless you rob our Four Holy Items! But they are well guarded! Bwahahahaha!</el:english>
306
 
      </el:string>
307
 
      <el:string el:key="text2">
308
 
        <el:english el:translate="true">Fire burns and destroys ... Want to remove blocking stones? Then dig your way to the Holy Hammer!</el:english>
309
 
      </el:string> 
310
 
      <el:string el:key="text3">
311
 
        <el:english el:translate="true">Try again! Bwahahahaha!</el:english>
312
 
      </el:string> 
313
 
      <el:string el:key="text4">
314
 
        <el:english el:translate="true">Earth fills and lasts ... Want to replace missing floors? Then build your way to the Holy Seed!</el:english>
315
 
      </el:string> 
316
 
      <el:string el:key="text5">
317
 
        <el:english el:translate="true">Air blows and goes by ... Want to jump across the void? Then make your way to the Holy Spring!</el:english>
318
 
      </el:string> 
319
 
      <el:string el:key="text6">
320
 
        <el:english el:translate="true">Water waves and shifts ... Want to trade minds with your partner? Then find your way to the Holy Yin-Yang!</el:english>
321
 
      </el:string> 
322
 
    </el:i18n>
323
 
  </el:protected>
324
 
</el:level>