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

« back to all changes in this revision

Viewing changes to data/levels/enigma_advent_10/andreas60_2.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="Pac Marble II" el:subtitle="" el:id="andreas60"/>
 
6
      <el:version el:score="1" el:release="2" el:revision="2" el:status="released"/>
 
7
      <el:author el:name="Andreas Lochmann" el:email="" el:homepage=""/>
 
8
      <el:copyright>Copyright © 2010 Andreas Lochmann</el:copyright>
 
9
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
 
10
      <el:compatibility el:enigma="1.0">
 
11
        <el:dependency el:path="lib/ant" el:id="lib/ant" el:release="1" el:preload="true"/>
 
12
        <el:dependency el:path="lib/andreas_ghosts" el:id="lib/andreas_ghosts" el:release="1" el:preload="true"/>
 
13
      </el:compatibility>
 
14
      <el:modes el:easy="false" el:single="true" el:network="false"/>
 
15
      <el:score el:easy="-" el:difficult="05:31"/>
 
16
    </el:info>
 
17
    <el:luamain><![CDATA[
 
18
levelh = 25
 
19
levelw = 39
 
20
 
 
21
function file_oxyd(x,y,f)
 
22
    oxyd_default_flavor=f
 
23
    oxyd(x,y)
 
24
    set_floor("fl-normal",x,y)
 
25
end
 
26
 
 
27
function ac_blackball(x,y)
 
28
    set_actor("ac-blackball",x+0.5,y+0.5)
 
29
    set_floor("fl-normal",x,y)
 
30
end
 
31
 
 
32
cells={}
 
33
cells["#"] = cell{stone="st-brick", floor="fl-normal"}
 
34
cells["O"] = cell{parent={{file_oxyd,"d"}}}
 
35
cells[" "] = cell{parent={{ghosts_set_rail,1,"fl-gray"}}, floor="fl-normal"}
 
36
cells["g"] = cell{parent={{ghosts_set_ghost,"ac-top",1, ghosts_direction_intelligent,{range=0,force=5,gohome=FALSE}}}, floor = "fl-normal"}
 
37
cells["@"] = cell{parent={{ac_blackball}}}
 
38
cells["e"] = cell{item="it-extralife", floor="fl-normal"}
 
39
cells["u"] = cell{item="it-umbrella", floor="fl-normal"}
 
40
 
 
41
level={"#######################################",
 
42
       "#     #    #    # O#   O##           ##",
 
43
       "# O##    O    #   ## #  #  #########  #",
 
44
       "# #    # g  #    # # g# #    g    O#  #",
 
45
       "# # ##    #    #   # #  # # ##  ####  #",
 
46
       "# # ####     #    ##  # # #          ##",
 
47
       "#      ######### ##  #  # #  #######  #",
 
48
       "#####        #          # ##      ##  #",
 
49
       "#   g  # ##  #  #    #  # e##### g #  #",
 
50
       "# ######  #  #  #u  u#  ##            #",
 
51
       "# #O   ## #     ######  ############# #",
 
52
       "# ## #  # #  #                 g   O# #",
 
53
       "#  # #    #  ################  ###  # #",
 
54
       "#  #   # ##                      #  # #",
 
55
       "#  # ### #O    g  #####  #   #   #  # #",
 
56
       "#    #   ######## #      # # ##     # #",
 
57
       "# #  # # g   #    #  O####    g #O# # #",
 
58
       "# #  # ##### # #  #      #O##       # #",
 
59
       "# ## #    O# # #  #####  ###  #  #  # #",
 
60
       "# O# #     # #    #      #O  ##  #  # #",
 
61
       "#  # #O    # ###  # ######  ##      # #",
 
62
       "#  # ##### #            #  ##   # ### #",
 
63
       "#  #     # ###   ###### # ##    #     #",
 
64
       "#     @               #         #  O  #",
 
65
       "#######################################"}
 
66
 
 
67
create_world_by_map(level)
 
68
oxyd_shuffle()
 
69
ghosts_init(0,0)
 
70
 ]]></el:luamain>
 
71
    <el:i18n>
 
72
      <el:string el:key="title">
 
73
        <el:english el:translate="false"/>
 
74
      </el:string>
 
75
    </el:i18n>
 
76
  </el:protected>
 
77
</el:level>