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

« back to all changes in this revision

Viewing changes to data/levels/ss_esp99.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",9.5,5.5)
7
 
set_actor("ac-rotor", 1.5,2.5, {range=25, force=33})
8
 
set_actor("ac-rotor", 18.5,2.5, {range=25, force=33}) 
9
 
enigma.AddConstantForce(0,30)
10
 
fill_floor("fl-floor_001",0,0,levelw,levelh)
11
 
 
12
 
function renderLine( line, pattern)
13
 
    for i=1, strlen(pattern) do
14
 
      local c = strsub( pattern, i, i)
15
 
      if c ==   "#" then
16
 
         set_stone("st-invisible", i-1,line)
17
 
      elseif c=="b" then
18
 
         set_stone("st-actorimpulse_invisible", i-1,line)
19
 
      elseif c=="O" then
20
 
         oxyd(i-1,line)
21
 
        end
22
 
    end  
23
 
end
24
 
renderLine(00 , "####################")
25
 
renderLine(01 , "####################")
26
 
renderLine(02 , "#     O      O     #")
27
 
renderLine(03 , "#  O            O  #")
28
 
renderLine(04 , "#                  #")  
29
 
renderLine(05 , "#      O    O      #")
30
 
renderLine(06 , "#                  #")
31
 
renderLine(07 , "#                  #")
32
 
renderLine(08 , "#  O            O  #")
33
 
renderLine(09 , "#                  #")
34
 
renderLine(10 , "#                  #")
35
 
renderLine(11 , "#bbbbbbbbbbbbbbbbbb#")
36
 
renderLine(12 , "####################")
37
 
 
38
 
oxyd_shuffle()
 
 
b'\\ No newline at end of file'