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

« back to all changes in this revision

Viewing changes to data/levels/siegfried81.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-greenbrown")
9
 
enigma.ConserveLevel = FALSE
10
 
oxyd_default_flavor = "a"
11
 
fill_floor("fl-abyss")
12
 
 
13
 
function renderLine( line, pattern)
14
 
    for i=1, strlen(pattern) do
15
 
      local c = strsub( pattern, i, i)
16
 
      if c =="t" then
17
 
         set_stone("st-turnstile",i-1,line)
18
 
      elseif c == "n" then
19
 
         set_stone("st-turnstile-n",i-1,line)
20
 
      elseif c == "s" then
21
 
         set_stone("st-turnstile-s",i-1,line)
22
 
      elseif c == "e" then
23
 
         set_stone("st-turnstile-e",i-1,line)
24
 
      elseif c == "x" then
25
 
         set_stone("st-turnstile-w",i-1,line)
26
 
      elseif c == "b" then
27
 
         set_stone("st-greenbrown",i-1,line)
28
 
      elseif c == "w" then
29
 
         set_floor("fl-wood",i-1,line)
30
 
      elseif c == "o" then
31
 
         oxyd( i-1, line)
32
 
        end
33
 
    end
34
 
end
35
 
renderLine(00, " o                  ")
36
 
renderLine(01, " wwnwwwwwnwwwwww  o ")
37
 
renderLine(02, "   t     t   o  t w ")
38
 
renderLine(03, " ww wwwww ww   wsww ")
39
 
renderLine(04, "  w wwwww ww   ww w ")
40
 
renderLine(05, "  wbwwwwwnwwwwwww w ")
41
 
renderLine(06, "  bw     t       t  ")
42
 
renderLine(07, "  nwwwwww wwww wwsw ")
43
 
renderLine(08, "  te     t  ww ww w ")
44
 
renderLine(09, "  wwwwwwwsw ww ww w ")
45
 
renderLine(10, "  w       w  xt   w ")
46
 
renderLine(11, " ow       wwww ww o ")
47
 
renderLine(12, "               o    ")
48
 
 
49
 
oxyd_shuffle()
50
 
 
51
 
set_actor("ac-blackball", 5.5, 4.5)