~ubuntu-branches/ubuntu/edgy/enigma/edgy

« back to all changes in this revision

Viewing changes to data/levels/ss_esp25.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
 
levelw = 20
3
 
levelh = 13
4
 
create_world(levelw, levelh)
5
 
oxyd_default_flavor = "b"
6
 
set_actor("ac-blackball", 4,6.5)
7
 
fill_floor( "fl-brick", 0, 0,levelw,levelh)
8
 
 
9
 
function renderLine( line, pattern)
10
 
    for i=1, strlen(pattern) do
11
 
      local c = strsub( pattern, i, i)
12
 
      if c ==   "#" then
13
 
         set_stone("st-marble", i-1,line)
14
 
      elseif c=="S" then
15
 
         set_item("it-umbrella",i-1,line)
16
 
      elseif c=="D" then                                                                
17
 
         set_stone("st-death", i-1,  line)
18
 
      elseif c=="G" then                                                                
19
 
         set_stone("st-grate2",i-1,line)
20
 
      elseif c=="O" then
21
 
         oxyd(i-1,line)
22
 
        end
23
 
    end  
24
 
end
25
 
renderLine(00 , "####################")
26
 
renderLine(01 , "#      S ##        #")
27
 
renderLine(02 , "# O      ##      O #")
28
 
renderLine(03 , "#    O   ##   O    #")
29
 
renderLine(04 , "#        ##        #")  
30
 
renderLine(05 , "#    DDDDDDDDDD    #")
31
 
renderLine(06 , "#    GGGGGGGGGG    #")
32
 
renderLine(07 , "#    DDDDDDDDDD    #")
33
 
renderLine(08 , "#        ##        #")
34
 
renderLine(09 , "#    O   ##   O    #")
35
 
renderLine(10 , "# O      ##      O #")
36
 
renderLine(11 , "#        ##S       #")
37
 
renderLine(12 , "####################")
38
 
 
39
 
oxyd_shuffle()