~ubuntu-branches/ubuntu/raring/enigma/raring

« back to all changes in this revision

Viewing changes to data/levels/enigma_ii/ant16_3.xml

  • Committer: Bazaar Package Importer
  • Author(s): Erich Schubert
  • Date: 2010-05-26 02:27:26 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100526022726-7tnbf65s6btbibu2
Tags: 1.10~~pre-alpha+r2100-1
* New SVN checkout, shortly after upstream "pre-alpha" release
* Target unstable, to get more testing for enigma
* Remove spelling patches included upstream

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 -" el:subtitle="" el:id="ant16"/>
 
6
      <el:version el:score="2" el:release="3" el:revision="3" el:status="released"/>
 
7
      <el:author  el:name="Petr Machata" el:email="" el:homepage=""/>
 
8
      <el:copyright>Copyright © 2003 Petr Machata</el:copyright>
 
9
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
 
10
      <el:compatibility el:enigma="1.10">
 
11
        <el:dependency el:path="lib/libmaze" el:id="lib/libmaze" el:release="2" el:preload="true"/>
 
12
      </el:compatibility>
 
13
      <el:modes el:easy="false" el:single="true" el:network="false"/>
 
14
      <el:comments><el:code>New API converted by R. Bourquin</el:code></el:comments>
 
15
      <el:score el:easy="-" el:difficult="-"/>
 
16
    </el:info>
 
17
    <el:luamain><![CDATA[
 
18
ti[" "] = {"fl_bluegray"}
 
19
ti["-"] = {"fl_samba"}
 
20
ti["~"] = {"fl_water"}
 
21
ti["="] = ti["~"] .. {"st_death"}      -- no maze water
 
22
ti["#"] = {"st_granite"}
 
23
ti["o"] = {"it_meditation_hollow"}
 
24
ti["@"] = {"it_magnet", state=ON} .. ti({"#ac_pearl", essential=INDISPENSABLE})
 
25
 
 
26
maze = res.maze(ti, {area={"~"}, render={"-", "~", "-"}})
 
27
 
 
28
map = wo:newMap(" ", {
 
29
    "####################",
 
30
    "#   ~~~~~~~~~~~~~  #",
 
31
    "# @ ~~~~~~~~~~~~~ o#",
 
32
    "#   ~~~~~~~~~~~~~  #",
 
33
    "#   ~~~~~~~~~~~~~  #",
 
34
    "#   ~~~~~~~~~~~~~  #",
 
35
    "# @ ~~~~~~~~~~~~~ o#",
 
36
    "#   ~~~~~~~~~~~~~  #",
 
37
    "#   ~~~~~~~~~~~~~  #",
 
38
    "#   ~~~~~~~~~~~~~  #",
 
39
    "# @ ~~~~~~~~~~~~~ o#",
 
40
    "#   ~~~~~~~~~~~~~  #",
 
41
    "####################"})
 
42
 
 
43
-- prohibit straight west-east paths
 
44
columns = lib.lua.shuffle({5,7,9,11,13,15})
 
45
for i=1,6 do
 
46
    map[{columns[i], 2*i - 1}] = "="
 
47
end
 
48
 
 
49
wo(maze, map)
 
50
 ]]></el:luamain>
 
51
    <el:i18n>
 
52
      <el:string el:key="title">
 
53
        <el:english el:translate="false"/>
 
54
      </el:string>
 
55
    </el:i18n>
 
56
  </el:protected>
 
57
</el:level>