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

« back to all changes in this revision

Viewing changes to data/levels/martin15.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
 
 
9
 
fill_floor("fl-concrete", 0,0,levelw,levelh)
10
 
 
11
 
function renderLine( line, pattern)
12
 
    for i=1, strlen(pattern) do
13
 
        local c = strsub( pattern, i, i)
14
 
        if c =="#" then
15
 
            set_stone( "st-glass1", i-1, line)
16
 
        elseif c == "o" then
17
 
            oxyd( i-1, line)
18
 
        elseif c == "x" then
19
 
            fakeoxyd( i-1, line)
20
 
        elseif c == "$" then
21
 
            set_stone( "st-death", i-1, line)
22
 
        end
23
 
    end
24
 
end
25
 
 
26
 
 
27
 
renderLine(  0, "####o###o##o###o####")
28
 
renderLine(  1, "#x    x      x    x#")
29
 
renderLine(  2, "# xx xxx xx xxx xx #")
30
 
renderLine(  3, "# x   x      x   x #")
31
 
renderLine(  4, "o   $   x  x   $   o")
32
 
renderLine(  5, "# x   x      x   x #")
33
 
renderLine(  6, "#xxx    $$$$    xxx#")
34
 
renderLine(  7, "# x   x      x   x #")
35
 
renderLine(  8, "o   $   x  x   $   o")
36
 
renderLine(  9, "# x   x      x   x #")
37
 
renderLine( 10, "# xx xxx xx xxx xx #")
38
 
renderLine( 11, "#x    x      x    x#")
39
 
renderLine( 12, "####o###o##o###o####")
40
 
 
41
 
oxyd_shuffle()
42
 
 
43
 
set_actor("ac-blackball", 10.5, 5)