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

« back to all changes in this revision

Viewing changes to data/levels/ss_esp07.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"       -- Default flavor for oxyd stones.
6
 
 
7
 
set_actor("ac-blackball", 2.5,6.5)
8
 
 
9
 
fill_floor("fl-ice_001")
10
 
function renderLine( line, pattern)
11
 
    for i=1, strlen(pattern) do
12
 
      local c = strsub( pattern, i, i)
13
 
      if c ==     "#" then
14
 
         set_stone("st-glass",i-1,line)
15
 
      elseif c=="L" then
16
 
         set_item("it-extralife",i-1,line)
17
 
      elseif c=="D" then
18
 
         set_stone("st-death",i-1,line)
19
 
      elseif c=="B" then
20
 
         set_stone("st-actorimpulse",i-1,line)
21
 
      elseif c=="O" then
22
 
         oxyd(i-1,line)
23
 
      elseif c=="C" then
24
 
         set_item("it-crack2", i-1,line)
25
 
      elseif c=="c" then
26
 
         set_item("it-crack1", i-1,line)
27
 
      elseif c=="N" then
28
 
         document(i-1,line,"Watch out, slippery!")
29
 
      elseif c=="F" then
30
 
         set_item("it-flagblack", i-1,line)
31
 
        end
32
 
    end
33
 
end
34
 
renderLine(00, "                    ")
35
 
renderLine(01, "####################")
36
 
renderLine(02, "#L                 #")
37
 
renderLine(03, "# D  B B BB B B  D #")
38
 
renderLine(04, "#                  #")  
39
 
renderLine(05, "#      O    O   C  #")
40
 
renderLine(06, "# cN B B BB B B    #")
41
 
renderLine(07, "#      O    O      #")
42
 
renderLine(08, "#                  #")
43
 
renderLine(09, "# D  B B BB B B cD #")
44
 
renderLine(10, "#F                 #")
45
 
renderLine(11, "####################")
46
 
renderLine(12, "                    ")
47
 
oxyd_shuffle()