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

« back to all changes in this revision

Viewing changes to data/levels/enigma_iii/duffy28_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="Black Diamond Course" el:subtitle="" el:id="duffy28"/>
6
 
      <el:version el:score="1" el:release="1" el:revision="2" el:status="released"/>
7
 
      <el:author  el:name="Jacob Scott" el:email="" el:homepage=""/>
8
 
      <el:copyright>Copyright © 2003 Jacob Scott</el:copyright>
9
 
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
10
 
      <el:compatibility el:enigma="0.92">
11
 
      </el:compatibility>
12
 
      <el:modes el:easy="true" el:single="true" el:network="false"/>
13
 
      <el:comments>
14
 
        <el:code>Lua 5.1 and XML converted by Leveladministrators</el:code>
15
 
      </el:comments>
16
 
      <el:score el:easy="-" el:difficult="-"/>
17
 
    </el:info>
18
 
    <el:luamain><![CDATA[
19
 
levelw=80
20
 
levelh=40
21
 
 
22
 
create_world( levelw, levelh)
23
 
 
24
 
fill_floor("fl-abyss", 0,0,levelw,levelh)
25
 
 
26
 
function renderLine( line, pattern)
27
 
    for i=1, strlen(pattern) do
28
 
        local c = strsub( pattern, i, i)
29
 
        if c =="#" then
30
 
            set_stone( "st-death", i-1, line)
31
 
        elseif c == "o" then
32
 
            oxyd( i-1, line)
33
 
        elseif c == "!" then
34
 
            abyss(i-1,line)
35
 
        elseif c=="z" then
36
 
            set_actor("ac-blackball", i-.5,line+.5)
37
 
            fill_floor("fl-leaves", i-1,line,1,1)
38
 
        elseif c==" " then
39
 
            abyss(i-1,line)
40
 
        elseif c == "s" then
41
 
            set_item("it-spring1",i-1,line)
42
 
            fill_floor("fl-leaves", i-1,line,1,1)
43
 
        elseif c=="+" then
44
 
            set_stone( "st-wood", i-1, line)
45
 
        elseif c=="*" then
46
 
            set_stone( "st-greenbrown", i-1, line)
47
 
        elseif c=="H" then
48
 
            set_stone("st-stone_break", i-1,line)
49
 
        elseif c=="9" then
50
 
            set_stone( "st-floppy", i-1,line,{action="openclose",target="unimportantdoor"})
51
 
        elseif c=="a" then
52
 
            fill_floor("fl-leaves", i-1,line,1,1)
53
 
        elseif c=="b" then
54
 
            fill_floor("fl-sand", i-1,line,1,1)
55
 
        elseif c=="B" then
56
 
            fill_floor("fl-sand", i-1,line,1,1)
57
 
            if not difficult then
58
 
                set_item("it-flagblack",i-1,line)
59
 
            end
60
 
        elseif c=="c" then
61
 
            fill_floor("fl-bluegreen", i-1,line,1,1)
62
 
        elseif c=="C" then
63
 
            fill_floor("fl-bluegreen", i-1,line,1,1)
64
 
            if not difficult then
65
 
                set_item("it-extralife",i-1,line)
66
 
            end
67
 
        elseif c=="d" then
68
 
            fill_floor("fl-inverse", i-1,line, 1,1)
69
 
        elseif c=="e" then
70
 
            fill_floor("fl-ice", i-1,line, 1,1)
71
 
        elseif c=="E" then
72
 
            fill_floor("fl-ice", i-1,line, 1,1)
73
 
            if not difficult then
74
 
                set_item("it-extralife",i-1,line)
75
 
            end
76
 
        elseif c=="f" then
77
 
            fill_floor("fl-marble", i-1,line, 1,1)
78
 
        elseif c=="g" then
79
 
            fill_floor("fl-wood", i-1,line, 1,1)
80
 
        elseif c=="h" then
81
 
            fill_floor("fl-hay", i-1,line, 1,1)
82
 
        elseif c=="i" then
83
 
            fill_floor("fl-dunes", i-1,line, 1,1)
84
 
        elseif c=="j" then
85
 
            fill_floor("fl-brick", i-1,line, 1,1)
86
 
        elseif c=="k" then
87
 
            fill_floor("fl-gray", i-1,line, 1,1)
88
 
        elseif c=="l" then
89
 
            fill_floor("fl-plank", i-1,line, 1,1)
90
 
        elseif c=="m" then
91
 
            fill_floor("fl-metal",i-1,line, 1,1)
92
 
        elseif c=="n" then
93
 
            fill_floor("fl-normal", i-1,line, 1,1)
94
 
        elseif c=="O" then
95
 
            fill_floor("fl-rough", i-1,line, 1,1)
96
 
        elseif c=="." then
97
 
            fill_floor("fl-rough", i-1,line, 1,1)
98
 
            if not difficult then
99
 
                set_item("it-flagblack",i-1,line)
100
 
            end
101
 
        elseif c=="p" then
102
 
            fill_floor("fl-space", i-1,line, 1,1)
103
 
        elseif c=="q" then
104
 
            fill_floor("fl-bluegreenx", i-1,line, 1,1)
105
 
        elseif c=="r" then
106
 
            fill_floor("fl-leaves", i-1,line, 1,1)
107
 
            set_stone("st-chameleon", i-1,line)
108
 
        elseif c=="S" then
109
 
            fill_floor("fl-floor_001", i-1,line, 1,1)    
110
 
        end
111
 
    end    
112
 
end
113
 
 
114
 
                   
115
 
renderLine(00,"##########################################################")
116
 
renderLine(01,"#            c   #       jjj              #           ff #")
117
 
renderLine(02,"# aaaa bb  ccccc #     jjj j   kkkk   iii #   gg     fff #")
118
 
renderLine(03,"# azsa bBb ccccc #   jjj jjj   kk k   iii # gggg    ffff #")
119
 
renderLine(04,"# aaaa     ccc c #   j jjj j   kkkk   ii  #   ggg    fff #")
120
 
renderLine(05,"#                #   jjj jjj   kkk           d        ff #")
121
 
renderLine(06,"######    ddd     #    jjj j    k      h    ddd          #")
122
 
renderLine(07,"#     ee   ddd    #      jjj           hhh ddddd  #    p #")
123
 
renderLine(08,"#fff eeee dddd    #                         ddd   #   pp #")
124
 
renderLine(09,"#fff eeee  ddd    #   ll       ##########    d    #   pp #")
125
 
renderLine(10,"#f   eee      #####   lllll    #         #        #   pp #")
126
 
renderLine(11,"#ff  eeEe  ###    #   olllo   ##  O.OOOO  #####          #")
127
 
renderLine(12,"#fff      #   j    #        ## #  OOOOOO                 #")
128
 
renderLine(13,"#       ##  jjj     #######*  r * OO  OO  jjjjjjj   # dd #")
129
 
renderLine(14,"#ggg   #  jjjjj   #    kkk rrrrr* OO  OO  jjjjj     # dd #")
130
 
renderLine(15,"#ggg  #    jjjjj #   kkkkk rrrrr* OOOOOO   jjj  aa  # dd #")
131
 
renderLine(16,"#gg  # OO   jjjj #    kkkk rrrrr* OOOOOO   j    aaa # dd #")
132
 
renderLine(17,"#gg # OOOO    jj                        e      aaaa #    #")
133
 
renderLine(18,"#gg   OOOO  # jj       qqq #SSSSS#  eeeeee        a #    #")
134
 
renderLine(19,"#      OOO #    #     qqqq #SSSSS# eeeeee #              #")
135
 
renderLine(20,"#      OO  #     pppp  qqq # SSSS#  eeeee #  bbbbb   ccc #")
136
 
renderLine(21,"#mmm      # iiii pppp  qqqq#l  S# nn      #  bbbb   cccc #")
137
 
renderLine(22,"#mmmmmmm # iiiii pppp  qqq #lll nnnnnn    #    bb   ccCc #")
138
 
renderLine(23,"#mmmmmm  #  iii           # lll nnnn      #    bb  ccccc #")
139
 
renderLine(24,"##########################################################")
140
 
 
141
 
oxyd_shuffle()
142
 
    ]]></el:luamain>
143
 
    <el:i18n>
144
 
      <el:string el:key="title">
145
 
        <el:english el:translate="false"/>
146
 
      </el:string>
147
 
    </el:i18n>
148
 
  </el:protected>
149
 
</el:level>