~ubuntu-branches/ubuntu/intrepid/enigma/intrepid

« back to all changes in this revision

Viewing changes to data/levels/siegfried75.lua

  • Committer: Bazaar Package Importer
  • Author(s): Erich Schubert
  • Date: 2005-08-28 15:30:09 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050828153009-sky64kb6tcq37xt5
Tags: 0.92.1-1
* New upstream subversion checkout
* Remove menu.s3m, which we are allowed to distributed but not to modify
  also copyright notice is confusing... (Closes: #321669)
* Rebuild with new libzipios (Closes: #325405)
  I hope this works without a versioned build-dependency
* Added "enigma replaces enigma-data" for upgrades (Closes: #308558)
* Added notes about the fonts copyright.
* updated to policy 3.6.2.1 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--
2
 
--
3
 
 
4
 
levelw = 20
5
 
levelh = 13
6
 
 
7
 
create_world(levelw, levelh)
8
 
draw_border("st-wood")
9
 
enigma.ConserveLevel = FALSE
10
 
enigma.SetCompatibility("oxyd1")
11
 
oxyd_default_flavor = "d"
12
 
fill_floor("fl-wood")
13
 
function renderLine( line, pattern)
14
 
    for i=1, strlen(pattern) do
15
 
      local c = strsub( pattern, i, i)
16
 
      if c =="#" then
17
 
         set_floor("fl-abyss",i-1,line)
18
 
      elseif c == "o" then
19
 
         oxyd( i-1, line)
20
 
      elseif c == "b" then
21
 
         set_stone("st-bombs",i-1,line)
22
 
      elseif c == "x" then
23
 
         set_item("it-blackbomb",i-1,line)
24
 
      elseif c == "a" then
25
 
         set_actor("ac-blackball",i-.5,line+.5)
26
 
      elseif c == "e" then
27
 
         set_item("it-extralife",i-1,line)
28
 
      elseif c == "c" then
29
 
         set_item("it-crack3",i-1,line)
30
 
      elseif c == "w" then
31
 
         set_stone("st-wood",i-1,line)
32
 
      elseif c == "d" then
33
 
         dynamite(i-1,line)
34
 
        end
35
 
    end
36
 
end
37
 
renderLine(00, "                    ")
38
 
renderLine(01, " o   b    #####o### ")
39
 
renderLine(02, "   ##x### ##### ### ")
40
 
renderLine(03, "  # #x### ##### ### ")
41
 
renderLine(04, " d# #x### ##### ### ")
42
 
renderLine(05, "  #  xx  a d  #b  o ")
43
 
renderLine(06, "  #######cc##  d# o ")
44
 
renderLine(07, "    #bxxxxxe##### # ")
45
 
renderLine(08, " o### ########### # ")
46
 
renderLine(09, " #### ########### # ")
47
 
renderLine(10, " #### ########### # ")
48
 
renderLine(11, " ###o             # ")
49
 
renderLine(12, "                    ")
50
 
 
51
 
oxyd_shuffle()
52
 
set_stones("st-wood", {{ 3, 6}})