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

« back to all changes in this revision

Viewing changes to data/levels/ant28.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
 
 
4
 
 
5
 
cells={}
6
 
cells[" "]=cell{floor="fl-metal"}
7
 
cells["#"]=cell{stone="st-rock1"}
8
 
cells["S"]=cell{stone="st-rock1"}
9
 
 
10
 
actors={}
11
 
cells["O"]=cell{{{add_multiactor, "ac-blackball", actors, {player=0}}}}
12
 
cells["Q"]=cell{{{add_multiactor, "ac-whiteball", actors, {player=1}}}}
13
 
cells["0"]=oxyd
14
 
 
15
 
cells["V"]=cell{{{gradient, 1}}}
16
 
cells["^"]=cell{{{gradient, 2}}}
17
 
cells[">"]=cell{{{gradient, 3}}}
18
 
cells["<"]=cell{{{gradient, 4}}}
19
 
cells["T"]=cell{{{gradient, 5}}}
20
 
cells["L"]=cell{{{gradient, 7}}}
21
 
cells["R"]=cell{{{gradient, 6}}}
22
 
cells["/"]=cell{{{gradient, 8}}}
23
 
 
24
 
level = {
25
 
   "####################",
26
 
   "#TVVVVVVVVVVVVVVVVR#",
27
 
   "0>                <0",
28
 
   "#>                <#",
29
 
   "0>                <0",
30
 
   "#>       Q        <#",
31
 
   "0>                <0",
32
 
   "#>        O       <#",
33
 
   "0>                <0",
34
 
   "#>                <#",
35
 
   "0>                <0",
36
 
   "#L^^^^^^^^^^^^^^^^/#",
37
 
   "####################"
38
 
}
39
 
 
40
 
oxyd_default_flavor = "a"
41
 
set_default_parent(cells[" "])
42
 
create_world_by_map(level)
43
 
add_rubber_bands(actors, actors, 100, 0)
44
 
oxyd_shuffle()