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

« back to all changes in this revision

Viewing changes to data/levels/ss15.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
 
dofile(enigma.FindDataFile("levels/ant.lua"))
3
 
cells={}
4
 
 
5
 
cells[" "]=cell{floor="fl-leaves"}
6
 
cells["b"]=cell{floor="fl-gravel"}
7
 
cells["#"]=cell{stone="st-rock1"}
8
 
cells["h"]=cell{parent=cells["b"],item="it-hollow"}
9
 
cells["+"]=cell{stone="st-chargeplus"}
10
 
cells["-"]=cell{stone="st-chargeminus"}
11
 
cells["0"]=cell{stone="st-chargezero"}
12
 
 
13
 
level = {
14
 
   "#########-########0#",     
15
 
   "#                  #",     
16
 
   "#                  #",     
17
 
   "#                  #",     
18
 
   "#      bhhhb       #",     
19
 
   "#      hbbbh       #",     
20
 
   "+      hb+bh       +",     
21
 
   "#      hbbbh       #",     
22
 
   "#      bhhhb       #",     
23
 
   "#                  #",     
24
 
   "#                  #",     
25
 
   "#                  #",     
26
 
   "#0#######-##########"      
27
 
}   
28
 
set_default_parent(cells[" "])
29
 
    
30
 
create_world_by_map(level,cells)
31
 
 
32
 
local ac1=set_actor("ac-whiteball-small", 6,1.5, {player=0})
33
 
local ac2=set_actor("ac-whiteball-small", 8,9, {player=0})                                          
34
 
local ac3=set_actor("ac-whiteball-small", 5,3, {player=0})                                          
35
 
local ac4=set_actor("ac-whiteball-small", 8,8, {player=0})                                          
36
 
local ac5=set_actor("ac-whiteball-small", 10,5, {player=0})
37
 
local ac6=set_actor("ac-whiteball-small", 8,6, {player=0})
38
 
local ac7=set_actor("ac-whiteball-small", 9,7, {player=0})
39
 
local ac8=set_actor("ac-whiteball-small", 8,4, {player=0})
40
 
local ac9=set_actor("ac-whiteball-small", 8,2, {player=0})
41
 
local ac10=set_actor("ac-whiteball-small", 9,5, {player=0})
42
 
local ac11=set_actor("ac-whiteball-small", 9,4, {player=0})
43
 
local ac12=set_actor("ac-whiteball-small", 9,3, {player=0})
44
 
 
45
 
                                          
46
 
AddRubberBand(ac1, ac2, 6, 1)
47
 
AddRubberBand(ac2, ac3, 6, 1)
48
 
AddRubberBand(ac3, ac4, 6, 1)    
49
 
AddRubberBand(ac4, ac5, 6, 1)    
50
 
AddRubberBand(ac5, ac6, 6, 1)
51
 
AddRubberBand(ac6, ac7, 6, 1)
52
 
AddRubberBand(ac7, ac8, 6, 1)    
53
 
AddRubberBand(ac8, ac9, 6, 1) 
54
 
AddRubberBand(ac9, ac10, 6, 1)
55
 
AddRubberBand(ac10, ac11, 6, 1)
56
 
AddRubberBand(ac11, ac12, 6, 1)    
57
 
AddRubberBand(ac12, ac1, 6, 1) 
58
 
                               
59
 
                                 
60
 
                                 
61
 
                                 
 
 
b'\\ No newline at end of file'